/* Derby City Mineral Gallery - Light Lilac Gallery Theme */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f8f3fb;
  color: #30263a;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

header,
footer {
  background: linear-gradient(135deg, #eee2f7, #d8c1ea);
  color: #2d2037;
  text-align: center;
  padding: 28px 20px;
  border-bottom: 4px solid #b897d5;
}

header h1 {
  margin: 0;
  font-size: 2.4rem;
  letter-spacing: 1.5px;
  font-weight: normal;
}

header img {
  display: block;
  max-width: 85%;
  height: auto;
  margin: 18px auto 0;
  border: 5px solid #fffafd;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(85, 55, 110, 0.18);
}

.header-image-placeholder {
  width: 80%;
  min-height: 120px;
  margin: 18px auto 0;
  border: 2px dashed #b897d5;
  background: #fffafd;
  color: #75558a;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-style: italic;
}

.container {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr;
  gap: 24px;
  padding: 28px;
  max-width: 1180px;
  margin: 0 auto;
  min-height: 400px;
}

nav,
.column {
  background: #ffffff;
  padding: 22px;
  border: 1px solid #dcc9ea;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(85, 55, 110, 0.08);
}

nav h2,
.column h2 {
  margin-top: 0;
  color: #4b315d;
  font-weight: normal;
  border-bottom: 1px solid #e6d8ef;
  padding-bottom: 8px;
}

nav a {
  display: block;
  color: #5f3e78;
  text-decoration: none;
  margin-bottom: 8px;
  padding: 8px;
  border-bottom: 1px solid #eadff2;
  border-radius: 8px;
}

nav a:hover {
  background: #f0e5f7;
  color: #2d2037;
}

.column p {
  color: #45324f;
}

.image-placeholder {
  height: 250px;
  border: 2px dashed #b897d5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #75558a;
  background: #fffafd;
  margin-top: 15px;
  border-radius: 14px;
  font-style: italic;
}

footer {
  border-top: 4px solid #b897d5;
  border-bottom: none;
  margin-top: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #4b315d;
  background: #fffafd;
  border: 1px solid #cdb2df;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
}

.footer-links a:hover {
  background: #f0e5f7;
  text-decoration: underline;
}

@media (max-width: 850px) {
  .container {
    grid-template-columns: 1fr;
  }

  header h1 {
    font-size: 2rem;
  }
}


/* Storefront image used on The Story Behind Derby City Mineral Gallery page */
header img.storefront-header {
  display: block;
  width: 430px;
  max-width: 90%;
  height: auto;
  margin: 18px auto 0;
  border: 5px solid #fffafd;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(85, 55, 110, 0.18);
}

/* Gallery Night email sign-up form */
.email-signup {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.email-signup label {
  color: #4b315d;
  font-size: 1.05rem;
  font-weight: bold;
}

.email-signup input[type="email"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #cdb2df;
  border-radius: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.email-signup input[type="email"]:focus {
  outline: 2px solid #b897d5;
  border-color: #b897d5;
}

.email-signup button {
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  background: #6d4b82;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  cursor: pointer;
}

.email-signup button:hover {
  background: #4b315d;
}

.form-note {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #6c5a74;
}


/* Testimonials and comments form */
.comment-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.comment-form label {
  color: #4b315d;
  font-weight: bold;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cdb2df;
  border-radius: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: 2px solid #b897d5;
  border-color: #b897d5;
}

.comment-form button {
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  background: #6d4b82;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  cursor: pointer;
}

.comment-form button:hover {
  background: #4b315d;
}


/* Mailchimp form overrides */
#mc_embed_signup {
  background: transparent !important;
  width: 100% !important;
  max-width: 100% !important;
  font-family: Georgia, "Times New Roman", serif !important;
}

#mc_embed_signup form {
  margin: 0 !important;
  padding: 0 !important;
}

#mc_embed_signup h2 {
  color: #4b315d !important;
}

#mc_embed_signup .mc-field-group {
  width: 100% !important;
}

#mc_embed_signup input[type="email"] {
  width: 100% !important;
  padding: 12px !important;
  border: 1px solid #cdb2df !important;
  border-radius: 8px !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 1rem !important;
}

#mc_embed_signup .button {
  background: #6d4b82 !important;
  border-radius: 8px !important;
  font-family: Georgia, "Times New Roman", serif !important;
}

#mc_embed_signup .button:hover {
  background: #4b315d !important;
}


/* Derby City Mineral Gallery logo used in page headers */
header img.header-logo {
  display: block;
  width: 220px;
  max-width: 70%;
  height: auto;
  margin: 18px auto 0;
  border: 5px solid #fffafd;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(85, 55, 110, 0.18);
  background: #ffffff;
}


/* Unified site-wide typography and page styling */
body,
button,
input,
textarea,
select {
  font-family: Georgia, "Times New Roman", serif;
}

header h1,
nav h2,
.column h2,
footer,
.footer-links a {
  color: #4b315d;
}

nav,
.column {
  background: #ffffff;
  border: 1px solid #dcc9ea;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(85, 55, 110, 0.08);
}

nav a {
  color: #5f3e78;
}

nav a:hover {
  background: #f0e5f7;
  color: #2d2037;
}


/* Highlighted mineral collection acquisition column */
.acquisition-highlight {
  background: linear-gradient(135deg, #5a2f6f, #7b4b93);
  border: 3px solid #d8b86a;
  box-shadow: 0 10px 28px rgba(76, 38, 94, 0.28);
  color: #fff8e7;
}

.acquisition-highlight h2 {
  color: #ffffff;
  font-size: 1.7rem;
  font-weight: bold;
  border-bottom: 2px solid #d8b86a;
  padding-bottom: 12px;
}

.acquisition-highlight p {
  color: #f7edf9;
  font-size: 1.08rem;
}

.acquisition-highlight .image-placeholder {
  background: rgba(255, 255, 255, 0.10);
  color: #fff8e7;
  border: 2px dashed #e7cf8b;
}



/* Home décor specimen sales page */
.home-decor-page {
  grid-template-columns: 1fr 4fr;
}

.home-decor-shop {
  min-width: 0;
}

.shop-introduction {
  background: #ffffff;
  padding: 24px;
  border: 1px solid #dcc9ea;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(85, 55, 110, 0.08);
  margin-bottom: 24px;
}

.shop-introduction h2 {
  margin-top: 0;
  color: #4b315d;
  font-weight: normal;
  border-bottom: 1px solid #e6d8ef;
  padding-bottom: 8px;
}

.specimen-listings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.specimen-card {
  background: #ffffff;
  padding: 22px;
  border: 1px solid #dcc9ea;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(85, 55, 110, 0.10);
}

.specimen-card h2 {
  margin-top: 0;
  color: #4b315d;
  border-bottom: 1px solid #e6d8ef;
  padding-bottom: 8px;
}

.specimen-photo-grid {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.specimen-photo-grid-4 {
  grid-template-columns: repeat(2, 1fr);
}

.specimen-photo-grid-6 {
  grid-template-columns: repeat(3, 1fr);
}

.specimen-photo-placeholder {
  min-height: 110px;
  border: 2px dashed #b897d5;
  background: #fffafd;
  color: #75558a;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-style: italic;
  padding: 10px;
}

.specimen-details p {
  margin: 8px 0;
  color: #45324f;
}

.shopify-placeholder {
  display: inline-block;
  margin-top: 16px;
  padding: 11px 18px;
  border-radius: 999px;
  background: #e7dded;
  color: #6f5a79;
  text-decoration: none;
  border: 1px solid #cdb2df;
  cursor: not-allowed;
}

@media (max-width: 950px) {
  .home-decor-page {
    grid-template-columns: 1fr;
  }

  .specimen-listings {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .specimen-photo-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* Collector showcase specimen sales page */
.collector-showcase-page {
  grid-template-columns: 1fr 4fr;
}

.collector-showcase-shop {
  min-width: 0;
}

.collector-introduction {
  background: #ffffff;
  padding: 24px;
  border: 1px solid #dcc9ea;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(85, 55, 110, 0.08);
  margin-bottom: 24px;
}

.collector-introduction h2 {
  margin-top: 0;
  color: #4b315d;
  font-weight: normal;
  border-bottom: 1px solid #e6d8ef;
  padding-bottom: 8px;
}

.collector-specimen-listings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.collector-specimen-card {
  background: #ffffff;
  padding: 22px;
  border: 1px solid #dcc9ea;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(85, 55, 110, 0.10);
}

.collector-specimen-card h2 {
  margin-top: 0;
  color: #4b315d;
  border-bottom: 1px solid #e6d8ef;
  padding-bottom: 8px;
}

.collector-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.collector-photo-placeholder {
  min-height: 95px;
  border: 2px dashed #b897d5;
  background: #fffafd;
  color: #75558a;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-style: italic;
  padding: 8px;
}

@media (max-width: 950px) {
  .collector-showcase-page {
    grid-template-columns: 1fr;
  }

  .collector-specimen-listings {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .collector-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* Centered, wider email signup page */
.email-page {
  grid-template-columns: 220px minmax(0, 760px);
  justify-content: center;
  align-items: start;
}

.email-signup-column {
  width: 100%;
  max-width: 760px;
  justify-self: center;
}

@media (max-width: 850px) {
  .email-page {
    grid-template-columns: 1fr;
  }

  .email-signup-column {
    max-width: 100%;
  }
}


/* Collector specimen information fields */
.collector-specimen-details {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e6d8ef;
}

.collector-specimen-details p {
  margin: 8px 0;
  color: #45324f;
}


/* Gallery Night feature page */
.gallery-night-page {
  grid-template-columns: 220px minmax(0, 820px);
  justify-content: center;
  align-items: start;
}

.gallery-night-feature {
  min-width: 0;
}

.gallery-night-copy {
  background: #ffffff;
  padding: 26px;
  border: 1px solid #dcc9ea;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(85, 55, 110, 0.08);
  margin-bottom: 24px;
  text-align: center;
}

.gallery-night-copy h2 {
  margin-top: 0;
  color: #4b315d;
  font-weight: normal;
  border-bottom: 1px solid #e6d8ef;
  padding-bottom: 10px;
}

.gallery-night-photo-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.gallery-night-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #dcc9ea;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(85, 55, 110, 0.12);
  min-height: 260px;
}

.gallery-night-photo-large {
  grid-row: span 2;
  min-height: 538px;
}

.gallery-night-photo-wide {
  grid-column: span 2;
  min-height: 300px;
}

.gallery-night-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 900px) {
  .gallery-night-page {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .gallery-night-photo-layout {
    grid-template-columns: 1fr;
  }

  .gallery-night-photo-large,
  .gallery-night-photo-wide {
    grid-row: auto;
    grid-column: auto;
    min-height: 260px;
  }
}


/* Expanded and centered Our Story page */
.story-page {
  grid-template-columns: 220px minmax(0, 820px);
  justify-content: center;
  align-items: start;
}

.story-page .column {
  width: 100%;
}

.story-gallery-photo {
  margin: 24px 0 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #dcc9ea;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(85, 55, 110, 0.14);
}

.story-gallery-photo img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 850px) {
  .story-page {
    grid-template-columns: 1fr;
  }
}


/* Restored Our Gallery Experience column */
.story-page-two-column {
  grid-template-columns: 220px minmax(0, 1.7fr) minmax(280px, 1fr);
  max-width: 1240px;
}

.gallery-experience-highlight {
  background: linear-gradient(135deg, #5a2f6f, #7b4b93);
  border: 3px solid #d8b86a;
  box-shadow: 0 10px 28px rgba(76, 38, 94, 0.28);
  color: #ffffff;
}

.gallery-experience-highlight h2 {
  color: #ffffff;
  font-size: 1.7rem;
  font-weight: bold;
  border-bottom: 2px solid #d8b86a;
  padding-bottom: 12px;
}

.gallery-experience-highlight p {
  color: #f7edf9;
  font-size: 1.06rem;
}

@media (max-width: 1000px) {
  .story-page-two-column {
    grid-template-columns: 1fr;
  }
}


/* Section 508 / WCAG accessibility enhancements */
.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 1000;
  padding: 12px 16px;
  background: #ffffff;
  color: #2d2037;
  border: 3px solid #4b315d;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #1f5f8b;
  outline-offset: 3px;
}

nav a[aria-current="page"] {
  background: #e5d3f2;
  color: #24182d;
  font-weight: bold;
  border-left: 4px solid #5a2f6f;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

button,
input[type="submit"],
.footer-links a,
nav a {
  min-height: 44px;
}

input,
textarea,
select {
  color: #24182d;
  background: #ffffff;
}

::placeholder {
  color: #5f5365;
  opacity: 1;
}

.shopify-placeholder[role="status"] {
  cursor: default;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (forced-colors: active) {
  .acquisition-highlight,
  .gallery-experience-highlight {
    border: 2px solid CanvasText;
  }
}


/* Distinct charcoal navigation panel */
nav {
  background: #26222b;
  border: 3px solid #b897d5;
  box-shadow: 0 8px 22px rgba(38, 34, 43, 0.28);
}

nav h2 {
  color: #ffffff;
  border-bottom: 1px solid #8f77a3;
}

nav a {
  color: #ffffff;
  border-bottom: 1px solid #4b424f;
}

nav a:hover,
nav a:focus-visible {
  background: #3a3340;
  color: #ffffff;
}

nav a[aria-current="page"] {
  background: #e8dcf2;
  color: #2d2037;
  border-left: 4px solid #ffffff;
  font-weight: bold;
}


/* Non-purple current-page navigation highlight */
nav a[aria-current="page"] {
  background: #f4d35e;
  color: #211f24;
  border-left: 4px solid #8a6500;
  border-bottom-color: #8a6500;
  font-weight: bold;
}


/* Neutral navigation panel */
nav {
  background: #e7e1d8;
  border: 3px solid #6f8f86;
  box-shadow: 0 8px 22px rgba(74, 68, 60, 0.18);
}

nav h2 {
  color: #2f312f;
  border-bottom: 1px solid #9aa79f;
}

nav a {
  color: #2f312f;
  border-bottom: 1px solid #c8c0b5;
}

nav a:hover,
nav a:focus-visible {
  background: #d7ddd9;
  color: #1f2522;
}

nav a[aria-current="page"] {
  background: #f4d35e;
  color: #211f24;
  border-left: 4px solid #8a6500;
  border-bottom-color: #8a6500;
  font-weight: bold;
}


/* Final named-image connections and clean, uncropped photo presentation */
.home-page {
  grid-template-columns: 220px minmax(0, 820px);
  justify-content: center;
  align-items: start;
}

.home-welcome {
  width: 100%;
  text-align: center;
}

.section-photo {
  margin: 22px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  max-width: 100%;
}

.section-photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: 0 5px 16px rgba(85, 55, 110, 0.12);
}

.home-welcome-photo,
.email-list-photo,
.events-section-photo,
.acquisition-photo {
  max-width: 720px;
}

.portrait-section-photo {
  max-width: 470px;
}

/* Gallery Night collage: complete photographs, no crop, no grey frames */
.gallery-night-photo-layout {
  width: 100%;
  max-width: 790px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.gallery-night-photo,
.gallery-night-photo-feature,
.gallery-night-photo-final {
  margin: 0;
  padding: 0;
  min-height: 0;
  height: auto;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.gallery-night-photo-feature,
.gallery-night-photo-final {
  grid-column: 1 / -1;
  grid-row: auto;
}

.gallery-night-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: 0 5px 16px rgba(85, 55, 110, 0.12);
}

@media (max-width: 850px) {
  .home-page {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .gallery-night-photo-layout {
    grid-template-columns: 1fr;
  }

  .gallery-night-photo-feature,
  .gallery-night-photo-final {
    grid-column: auto;
  }
}

/* Final Gallery Night sizing: smaller full-width feature photos without cropping */
.gallery-night-photo-feature,
.gallery-night-photo-final {
  width: 33.333%;
  justify-self: center;
}

@media (max-width: 650px) {
  .gallery-night-photo-feature,
  .gallery-night-photo-final {
    width: 70%;
    justify-self: center;
  }
}


/* Home decor specimen photographs */
.specimen-photo {
  margin: 0;
  min-width: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fffafd;
  border: 1px solid #e6d8ef;
}

.specimen-photo img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #fffafd;
}


/* Distinct navigation heading */
nav h2 {
  font-family: "Trebuchet MS", "Gill Sans", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  padding-bottom: 12px;
}

/* Distinct typography for the full navigation column */
nav,
nav a,
nav h2 {
  font-family: "Trebuchet MS", "Gill Sans", Arial, sans-serif;
}

/* Click-to-enlarge specimen photo lightbox */
.specimen-photo-grid img.click-to-enlarge,
.collector-photo-grid img.click-to-enlarge {
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.specimen-photo-grid img.click-to-enlarge:hover,
.collector-photo-grid img.click-to-enlarge:hover,
.specimen-photo-grid img.click-to-enlarge:focus-visible,
.collector-photo-grid img.click-to-enlarge:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(60, 38, 72, 0.22);
  outline: 3px solid #8b5a9f;
  outline-offset: 3px;
}

body.lightbox-open {
  overflow: hidden;
}

.specimen-lightbox[hidden] {
  display: none;
}

.specimen-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 24px 28px;
  background: rgba(20, 15, 24, 0.92);
}

.specimen-lightbox-image {
  display: block;
  max-width: min(94vw, 1400px);
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.5);
  background: transparent;
}

.specimen-lightbox-close {
  position: fixed;
  top: 16px;
  right: 22px;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: 50%;
  background: rgba(45, 32, 55, 0.85);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.specimen-lightbox-close:hover,
.specimen-lightbox-close:focus-visible {
  background: #ffffff;
  color: #4b315d;
  outline: 3px solid #d8c1ea;
  outline-offset: 3px;
}

.specimen-lightbox-caption {
  max-width: 900px;
  margin: 14px 0 0;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  text-align: center;
}

@media (max-width: 600px) {
  .specimen-lightbox {
    padding: 62px 12px 20px;
  }

  .specimen-lightbox-image {
    max-width: 96vw;
    max-height: 78vh;
  }
}


/* Fifth Gallery Night photograph */
.gallery-night-photo-fifth {
  grid-column: 1 / -1;
  width: 58%;
  justify-self: center;
}

@media (max-width: 650px) {
  .gallery-night-photo-fifth {
    grid-column: auto;
    width: 85%;
  }
}


/* Active Shopify product links */
.shopify-product-link {
  display: inline-block;
  margin-top: 16px;
  padding: 11px 20px;
  border-radius: 999px;
  background: #5f3e78;
  color: #ffffff;
  border: 1px solid #4b315d;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(85, 55, 110, 0.18);
}

.shopify-product-link:hover,
.shopify-product-link:focus-visible {
  background: #4b315d;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(85, 55, 110, 0.24);
}


/* Collector Showcase: one large image per listing */
.collector-photo-grid {
  display: block;
  margin-top: 16px;
}

.collector-photo,
.collector-photo-placeholder {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.collector-photo {
  padding: 0;
  overflow: visible;
}

.collector-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: 0 5px 16px rgba(85, 55, 110, 0.14);
}

.collector-photo-placeholder {
  min-height: 280px;
}

/* Gallery Night: pair former top and bottom photos to save space */
.gallery-night-photo-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "feature final"
    "second third"
    "fifth fifth";
  gap: 14px;
  align-items: start;
}

.gallery-position-1 { grid-area: feature; }
.gallery-position-2 { grid-area: second; }
.gallery-position-3 { grid-area: third; }
.gallery-position-4 { grid-area: fifth; }
.gallery-position-5 { grid-area: final; }

.gallery-night-photo-feature,
.gallery-night-photo-final,
.gallery-night-photo-fifth {
  width: 100%;
  justify-self: stretch;
  grid-column: auto;
}

.gallery-night-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.gallery-night-photo-fifth {
  max-width: 58%;
  justify-self: center;
}

@media (max-width: 650px) {
  .gallery-night-photo-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "feature"
      "final"
      "second"
      "third"
      "fifth";
  }

  .gallery-night-photo-feature,
  .gallery-night-photo-final,
  .gallery-night-photo-fifth {
    width: 100%;
    max-width: 100%;
  }
}

/* Gallery Night refinement: integrate and enlarge the fifth photo */
.gallery-night-photo-layout {
  grid-template-areas:
    "feature final"
    "second fifth"
    "third fifth";
  align-items: start;
}

.gallery-night-photo-fifth {
  width: 100%;
  max-width: 100%;
  justify-self: stretch;
  align-self: center;
}

@media (max-width: 650px) {
  .gallery-night-photo-layout {
    grid-template-areas:
      "feature"
      "final"
      "second"
      "third"
      "fifth";
  }
}

/* Gallery Night correction: retain original order and tuck photo 5 upward */
.gallery-night-photo-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "feature final"
    "second third"
    "fifth fifth";
  gap: 6px;
  align-items: start;
}

.gallery-position-1 { grid-area: feature; }
.gallery-position-2 { grid-area: second; }
.gallery-position-3 { grid-area: third; }
.gallery-position-4 { grid-area: fifth; }
.gallery-position-5 { grid-area: final; }

.gallery-night-photo-fifth {
  width: 70%;
  max-width: 70%;
  justify-self: center;
  transform: translateY(-52px);
  margin-bottom: -52px;
}

@media (max-width: 650px) {
  .gallery-night-photo-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "feature"
      "final"
      "second"
      "third"
      "fifth";
    gap: 6px;
  }

  .gallery-night-photo-fifth {
    width: 100%;
    max-width: 100%;
    transform: none;
    margin-bottom: 0;
  }
}

/* Gallery Night: keep photo 5 beneath a single column */
.gallery-night-photo-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "feature final"
    "second third"
    "fifth .";
  gap: 6px;
  align-items: start;
}

.gallery-night-photo-fifth {
  grid-area: fifth;
  width: 100%;
  max-width: 100%;
  justify-self: stretch;
  transform: none;
  margin: 0;
}

.gallery-night-photo-fifth img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 650px) {
  .gallery-night-photo-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "feature"
      "final"
      "second"
      "third"
      "fifth";
  }
}


/* Gallery Night masonry-style columns: photo 5 directly below amethyst */
.gallery-night-photo-layout {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 6px !important;
  align-items: start !important;
}

.gallery-night-photo-column {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.gallery-night-photo-layout .gallery-night-photo {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  transform: none !important;
  grid-area: auto !important;
}

.gallery-night-photo-layout .gallery-night-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 650px) {
  .gallery-night-photo-layout {
    grid-template-columns: 1fr !important;
  }
}


/* Distinct top-of-page title typography */
header h1 {
  font-family: Baskerville, "Baskerville Old Face", "Hoefler Text", Garamond, serif;
  font-weight: 700;
}


/* Upcoming regional mineral shows */
.upcoming-shows-section .show-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 26px;
}

.show-listing {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid rgba(91, 57, 91, 0.24);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
}

.show-gem {
  font-size: 1.05rem;
  line-height: 1.35;
  color: #6b3f6b;
}

.show-listing h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
}

.show-listing p {
  margin: 0;
  line-height: 1.45;
}

.show-contact-callout {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(91, 57, 91, 0.32);
  border-radius: 12px;
  background: rgba(238, 229, 240, 0.72);
  text-align: center;
}

.show-contact-callout h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.show-contact-callout p {
  margin: 0 auto 16px;
  max-width: 650px;
}

.show-contact-button {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 7px;
  background: #6b3f6b;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.show-contact-button:hover,
.show-contact-button:focus {
  text-decoration: underline;
}


/* Testimonials and review cards */
.testimonials-section {
  grid-column: span 2;
}

.testimonials-intro {
  max-width: 760px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.review-card {
  background: #fffdf9;
  border: 2px solid #7b557f;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(62, 45, 65, 0.14);
  padding: 1.4rem;
}

.review-stars {
  color: #b8860b;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.8rem;
}

.review-card blockquote {
  margin: 0 0 1rem;
  font-style: italic;
  line-height: 1.65;
}

.review-author {
  margin: 0;
  font-weight: 700;
  color: #3f2944;
}

.review-source {
  margin: 0.2rem 0 0;
  font-size: 0.92rem;
  color: #6b5b6e;
}

.google-review-callout {
  grid-column: span 2;
  text-align: center;
  background: #f4edf7;
  border: 2px solid #7b557f;
}

.google-review-button {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.85rem 1.35rem;
  border-radius: 8px;
  background: #5b365f;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 5px 12px rgba(62, 45, 65, 0.2);
}

.google-review-button:hover,
.google-review-button:focus-visible {
  background: #744779;
  color: #ffffff;
}

@media (max-width: 760px) {
  .testimonials-section,
  .google-review-callout {
    grid-column: auto;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }
}


/* Testimonials page layout: review invitation first, sources side by side */
.review-top-callout {
  order: -1;
  margin-bottom: 0.25rem;
}

.testimonial-source-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.testimonial-source-group {
  min-width: 0;
}

.testimonial-source-group > h3 {
  margin: 0 0 1rem;
  padding-bottom: 0.55rem;
  text-align: center;
  font-family: Baskerville, "Baskerville Old Face", "Hoefler Text", Garamond, serif;
  font-size: 1.35rem;
  color: #3f2944;
  border-bottom: 2px solid rgba(123, 85, 127, 0.45);
}

.source-review-stack {
  display: grid;
  gap: 1.25rem;
}

@media (max-width: 760px) {
  .testimonial-source-columns {
    grid-template-columns: 1fr;
  }
}

/* Testimonials page: navigation stays at left, review invitation beside it */
.review-top-callout {
  grid-column: 2 / 4;
  order: initial;
  margin-bottom: 0;
}

.testimonials-section {
  grid-column: 2 / 4;
}

@media (max-width: 850px) {
  .review-top-callout,
  .testimonials-section {
    grid-column: auto;
  }
}

/* Narrower Google review invitation box */
.review-top-callout {
  width: min(100%, 520px);
  justify-self: start;
  box-sizing: border-box;
  padding: 1.35rem 1.5rem;
}

.review-top-callout p {
  max-width: 44ch;
  margin-bottom: 1rem;
}

@media (max-width: 850px) {
  .review-top-callout {
    width: 100%;
  }
}


/* Final testimonials layout: navigation at left, review invitation beside stacked testimonials */
.reviews-page-content {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.65fr);
  gap: 1.5rem;
  align-items: start;
}

.reviews-page-content .review-top-callout {
  grid-column: auto;
  width: 100%;
  justify-self: stretch;
  padding: 1.25rem 1.3rem;
  margin: 0;
}

.reviews-page-content .review-top-callout p {
  max-width: none;
  margin: 0 0 0.8rem;
}

.reviews-page-content .google-review-button {
  margin-top: 0.25rem;
}

.reviews-page-content .testimonials-section {
  grid-column: auto;
  margin: 0;
}

.reviews-page-content .testimonials-intro {
  margin: 0 0 1rem;
  text-align: left;
  max-width: none;
}

.testimonial-source-stack {
  display: grid;
  gap: 1.5rem;
}

.reviews-page-content .testimonial-source-group > h3 {
  text-align: left;
}

@media (max-width: 900px) {
  .reviews-page-content {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
}

/* Keep the Explore the Gallery navigation panel at its natural content height. */
.container > nav {
  align-self: start;
}

/* Compact testimonial typography and spacing */
.reviews-page-content .review-card {
  padding: 1.05rem 1.1rem;
}

.reviews-page-content .review-stars {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

.reviews-page-content .review-card blockquote {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.7rem;
}

.reviews-page-content .review-author {
  font-size: 0.86rem;
}

.reviews-page-content .review-source {
  font-size: 0.8rem;
  margin-top: 0.1rem;
}

.reviews-page-content .source-review-stack {
  gap: 0.9rem;
}


/* Contact page */
.contact-page-section {
  text-align: left;
}

.contact-photo {
  margin: 1.25rem auto;
  max-width: 720px;
}

.contact-photo img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  object-position: center;
}

.contact-details,
.gallery-hours {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(74, 45, 73, 0.28);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.62);
}

.contact-details h3,
.gallery-hours h3 {
  margin-top: 0;
}

.contact-details p,
.gallery-hours p {
  margin: 0.45rem 0;
}

.visit-note {
  font-style: italic;
}

.private-appointment-button {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.85rem 1.25rem;
  border: 2px solid #4a2d49;
  border-radius: 8px;
  background: #4a2d49;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.private-appointment-button:hover,
.private-appointment-button:focus-visible {
  background: #fff;
  color: #4a2d49;
}

/* Mobile responsiveness pass */
@media (max-width: 768px) {
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }

  img, video, iframe {
    max-width: 100%;
    height: auto;
  }

  .site-layout,
  .page-layout,
  .home-decor-page,
  .collector-page,
  .content-with-nav,
  .main-grid {
    display: block !important;
    grid-template-columns: 1fr !important;
  }

  nav,
  .side-nav,
  .sidebar,
  .left-nav,
  .navigation {
    width: 100% !important;
    max-width: 100% !important;
    position: static !important;
    margin: 0 0 1rem !important;
  }

  nav ul,
  .side-nav ul,
  .sidebar ul,
  .left-nav ul,
  .navigation ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: .35rem !important;
    padding-left: 0 !important;
  }

  nav li,
  .side-nav li,
  .sidebar li,
  .left-nav li,
  .navigation li {
    flex: 1 1 45% !important;
    list-style: none !important;
  }

  nav a,
  .side-nav a,
  .sidebar a,
  .left-nav a,
  .navigation a {
    display: block !important;
    padding: .55rem .65rem !important;
    text-align: center !important;
  }

  .image-grid,
  .specimen-photo-grid-6,
  .photo-grid,
  .gallery-grid,
  .collector-grid,
  .home-decor-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .65rem !important;
  }

  .specimen-photo img,
  .image-slot img,
  .gallery-grid img,
  .collector-grid img,
  .home-decor-gallery img {
    width: 100% !important;
    height: 150px !important;
    object-fit: cover !important;
  }

  .specimen-card,
  .collector-card,
  .content-section,
  main,
  .main-content {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .dcmg-shopify-button,
  .shopify-plum-button,
  .shopify-placeholder,
  .button-link {
    max-width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  h1 { font-size: clamp(1.7rem, 8vw, 2.3rem) !important; }
  h2 { font-size: clamp(1.25rem, 6vw, 1.7rem) !important; }
  p, li, a, label, input, textarea, button {
    overflow-wrap: anywhere;
  }

  input, textarea, select, button {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .contact-info,
  .contact-card,
  .form-container,
  .email-signup,
  .testimonial-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .image-grid,
  .specimen-photo-grid-6,
  .photo-grid,
  .gallery-grid,
  .collector-grid,
  .home-decor-gallery {
    grid-template-columns: 1fr !important;
  }

  .specimen-photo img,
  .image-slot img,
  .gallery-grid img,
  .collector-grid img,
  .home-decor-gallery img {
    height: 200px !important;
  }

  nav li,
  .side-nav li,
  .sidebar li,
  .left-nav li,
  .navigation li {
    flex-basis: 100% !important;
  }
}


/* Unified Shopify buttons */
.dcmg-shopify-button {
  display: inline-block !important;
  background: #6f315f !important;
  color: #ffffff !important;
  border: 2px solid #c7a34b !important;
  border-radius: 4px !important;
  padding: 0.5rem 0.85rem !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  box-sizing: border-box !important;
}
.dcmg-shopify-button:hover {
  filter: brightness(0.96);
}


/* Navigation integrity fix — keep the complete 10-link index visible on every page */
.container > nav,
nav[aria-label="Primary navigation"] {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}
nav[aria-label="Primary navigation"] a {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  white-space: normal !important;
}
@media (max-width: 768px) {
  nav[aria-label="Primary navigation"] {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  nav[aria-label="Primary navigation"] a {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Final mobile refinement: keep complete Home Decor specimens visible */
@media (max-width: 768px) {
  .home-decor-page .specimen-photo img {
    object-fit: contain !important;
  }
}
