:root {
  --bg: #ffffff;
  --text: #22304f;
  --muted: #5f6980;
  --red: #e11616;
  --promo-bar: #e11616;
  --blue: #1051cf;
  --cyan: #18d4ef;
  --violet: #b317d8;
  --navy: #1f3f7e;
  --footer-text: #f4f7ff;
  --shadow: 0 18px 50px rgba(24, 48, 95, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Barlow", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

body.products-page {
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1520px, calc(100% - 40px));
  margin: 0 auto;
}

.promo-bar {
  background: var(--promo-bar, var(--red));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
  overflow: hidden;
  border-radius: 18px;
}

.promo-track {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  min-width: 0;
}

.promo-marquee {
  display: inline-flex;
  min-width: 100%;
  animation: marquee 18s linear infinite;
}

.promo-marquee span {
  flex: 0 0 auto;
  padding: 8px 24px;
}

.site-header {
  background: var(--bg);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(31, 63, 126, 0.08);
  overflow-x: clip;
}

.header-top {
  padding: 18px 0 12px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  color: inherit;
  flex: 0 0 auto;
}

/* Codex final mobile headstone layout: fixed viewport columns, no drifting. */
@media (max-width: 720px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  html body .archive-home,
  html body .listing-page {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  html body .archive-home > .container,
  html body .listing-page > .container,
  html body .home-featured-products {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden !important;
  }

  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, calc((100vw - 18px) / 2)) !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: 0 !important;
    padding: 0 5px !important;
    gap: 22px 8px !important;
    justify-content: start !important;
    justify-items: stretch !important;
    align-items: start !important;
    box-sizing: border-box !important;
    transform: none !important;
    overflow: hidden !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card,
  html body .home-featured-products .product-card:nth-child(even),
  html body .listing-page .product-card:nth-child(even),
  html body .products-grid .product-card:nth-child(even) {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    aspect-ratio: 2 / 3 !important;
    margin: 0 !important;
    padding: 0 !important;
    zoom: 1 !important;
    transform: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  html body .home-featured-products .product-card::before,
  html body .listing-page .product-card::before,
  html body .products-grid .product-card::before {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-position: center !important;
    background-size: contain !important;
    transform: none !important;
  }

  html body .home-featured-products .product-card > .product-info,
  html body .listing-page .product-card > .product-info,
  html body .products-grid .product-card > .product-info {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
    overflow: visible !important;
  }

  html body .home-featured-products .product-image,
  html body .listing-page .product-image,
  html body .products-grid .product-image {
    top: 12.8% !important;
    left: 50% !important;
    width: 49% !important;
    height: 39.5% !important;
    transform: translateX(-50%) !important;
    border-width: 2px !important;
  }

  html body .home-featured-products .product-info h3,
  html body .listing-page .product-info h3,
  html body .products-grid .product-info h3 {
    top: 52% !important;
    left: 50% !important;
    width: 78% !important;
    max-width: 78% !important;
    transform: translateX(-50%) !important;
    font-size: clamp(16px, 5.2vw, 20px) !important;
    line-height: 0.9 !important;
    letter-spacing: 0 !important;
  }

  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 64.5% !important;
    left: 50% !important;
    width: 83% !important;
    max-width: 83% !important;
    transform: translateX(-50%) !important;
    gap: 1px !important;
  }

  html body .home-featured-products .product-life-dates span,
  html body .listing-page .product-life-dates span,
  html body .products-grid .product-life-dates span {
    display: grid !important;
    grid-template-columns: 57% 43% !important;
    gap: 1px !important;
    font-size: clamp(7px, 2.35vw, 9px) !important;
    line-height: 1.08 !important;
    white-space: nowrap !important;
    letter-spacing: 0 !important;
  }

  html body .home-featured-products .product-life-dates strong,
  html body .listing-page .product-life-dates strong,
  html body .products-grid .product-life-dates strong {
    font-size: inherit !important;
    letter-spacing: 0 !important;
  }

  html body .home-featured-products .product-card > .product-info .product-fatiha-cta,
  html body .listing-page .product-card > .product-info .product-fatiha-cta,
  html body .products-grid .product-card > .product-info .product-fatiha-cta {
    top: 80.3% !important;
    left: 55% !important;
    width: 66% !important;
    min-height: 15px !important;
    padding: 2px 4px !important;
    transform: translateX(-50%) !important;
    font-size: clamp(8px, 2.55vw, 9.5px) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    border-radius: 999px !important;
  }

  html body .home-featured-products .product-card > .product-info .product-comment-cta,
  html body .listing-page .product-card > .product-info .product-comment-cta,
  html body .products-grid .product-card > .product-info .product-comment-cta {
    top: 86.7% !important;
    left: 55% !important;
    width: 62% !important;
    min-height: 15px !important;
    padding: 2px 4px 3px !important;
    transform: translateX(-50%) !important;
    border-width: 1px !important;
    font-size: clamp(7.2px, 2.35vw, 8.8px) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    border-radius: 999px !important;
  }
}

/* Codex mobile fit lock: two large cards must stay inside the phone viewport. */
@media (max-width: 720px) {
  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: min(100%, 390px) !important;
    max-width: 390px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 6px !important;
    gap: 22px 8px !important;
    justify-content: center !important;
    justify-items: stretch !important;
    align-items: start !important;
    transform: none !important;
    overflow: visible !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card,
  html body .home-featured-products .product-card:nth-child(even),
  html body .listing-page .product-card:nth-child(even),
  html body .products-grid .product-card:nth-child(even) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    aspect-ratio: 2 / 3 !important;
    margin: 0 !important;
    transform: none !important;
    zoom: 1 !important;
  }

  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 64.8% !important;
    left: 51.5% !important;
    width: 76% !important;
    max-width: 76% !important;
  }

  html body .home-featured-products .product-life-dates span,
  html body .listing-page .product-life-dates span,
  html body .products-grid .product-life-dates span {
    grid-template-columns: 56% 44% !important;
    font-size: clamp(6.8px, 2.15vw, 8.4px) !important;
  }

  html body .home-featured-products .product-card > .product-info .product-fatiha-cta,
  html body .listing-page .product-card > .product-info .product-fatiha-cta,
  html body .products-grid .product-card > .product-info .product-fatiha-cta {
    top: 80.6% !important;
    left: 55.5% !important;
    width: 64% !important;
    font-size: clamp(7.6px, 2.35vw, 9px) !important;
  }

  html body .home-featured-products .product-card > .product-info .product-comment-cta,
  html body .listing-page .product-card > .product-info .product-comment-cta,
  html body .products-grid .product-card > .product-info .product-comment-cta {
    top: 86.9% !important;
    left: 55.5% !important;
    width: 60% !important;
    font-size: clamp(6.9px, 2.15vw, 8.2px) !important;
  }
}

/* Absolute final portrait size: make gravestone photos as large as possible. */
html body .home-featured-products .product-image,
html body .listing-page .product-image,
html body .products-grid .product-image {
  top: 24px !important;
  width: 150px !important;
  height: 178px !important;
}

html body .home-featured-products .product-card > .product-info,
html body .listing-page .product-card > .product-info,
html body .products-grid .product-card > .product-info {
  inset: 214px 40px 56px !important;
}

html body .home-featured-products .product-info h3,
html body .listing-page .product-info h3,
html body .products-grid .product-info h3 {
  font-size: clamp(22px, 2.7vw, 29px) !important;
  margin-bottom: 12px !important;
}

@media (max-width: 520px) {
  html body .home-featured-products .product-image,
  html body .listing-page .product-image,
  html body .products-grid .product-image {
    top: 22px !important;
    width: 132px !important;
    height: 156px !important;
  }

  html body .home-featured-products .product-card > .product-info,
  html body .listing-page .product-card > .product-info,
  html body .products-grid .product-card > .product-info {
    inset: 194px 35px 50px !important;
  }
}

html body .home-featured-products .product-card.is-filter-hidden,
html body .listing-page .product-card.is-filter-hidden,
html body .products-grid .product-card.is-filter-hidden,
html body .product-card.is-filter-hidden {
  display: none !important;
}

/* Last word for the public archive menu. */
html body .archive-nav .nav-links-window {
  overflow: visible !important;
}

html body .archive-nav .archive-nav-group {
  position: relative !important;
}

html body .archive-nav .archive-nav-group > summary {
  min-height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 14px !important;
  border: 1px solid rgba(47, 37, 25, 0.28) !important;
  border-radius: 0 !important;
  background: rgba(255, 250, 239, 0.52) !important;
  color: #1f1a14 !important;
  font-family: Barlow, Arial, sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body .archive-nav .archive-nav-group > summary::-webkit-details-marker {
  display: none !important;
}

html body .archive-nav .archive-nav-panel {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  right: 0 !important;
  z-index: 80 !important;
  min-width: 230px !important;
  max-width: min(520px, calc(100vw - 30px)) !important;
  max-height: min(430px, calc(100vh - 130px)) !important;
  overflow: auto !important;
  padding: 10px !important;
  border: 1px solid rgba(34, 28, 20, 0.38) !important;
  background: #f6eedf !important;
  box-shadow: 0 18px 34px rgba(43, 33, 22, 0.22) !important;
}

html body .archive-nav .archive-nav-panel.is-years {
  width: min(520px, calc(100vw - 30px)) !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 6px !important;
}

html body .archive-nav .archive-nav-panel a {
  min-height: 36px !important;
  display: flex !important;
  align-items: center !important;
  padding: 7px 10px !important;
  border: 1px solid rgba(52, 41, 28, 0.12) !important;
  background: rgba(255, 252, 245, 0.68) !important;
  color: #211a13 !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

@media (min-width: 761px) {
  html body .archive-header-inner {
    min-height: 82px !important;
    grid-template-columns: minmax(220px, auto) 1fr !important;
    grid-template-areas:
      "brand note"
      "nav nav" !important;
    row-gap: 10px !important;
  }

  html body .archive-menu-button,
  html body .site-header .menu-button {
    display: none !important;
  }

  html body .archive-nav,
  html body .archive-nav.is-open {
    grid-area: nav !important;
    display: block !important;
    width: 100% !important;
    justify-self: stretch !important;
    padding: 0 !important;
    border: 0 !important;
  }

  html body .archive-nav .nav-links-window {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
  }
}

@media (max-width: 760px) {
  html body .archive-header-inner {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "brand button"
      "nav nav" !important;
  }

  html body .archive-menu-button,
  html body .site-header .menu-button {
    grid-area: button !important;
    display: grid !important;
    position: static !important;
    justify-self: end !important;
    place-items: center !important;
  }

  html body .archive-nav,
  html body .archive-nav.is-open {
    grid-area: nav !important;
    display: none !important;
    width: 100% !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(47, 37, 25, 0.18) !important;
  }

  html body .archive-nav.is-open {
    display: block !important;
  }

  html body .archive-nav .nav-links-window {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  html body .archive-nav .archive-nav-group > summary {
    width: 100% !important;
    min-height: 42px !important;
    justify-content: space-between !important;
  }

  html body .archive-nav .archive-nav-panel,
  html body .archive-nav .archive-nav-panel.is-years {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    max-height: 260px !important;
    margin-top: 8px !important;
    grid-template-columns: 1fr !important;
    box-shadow: none !important;
  }
}

@media (min-width: 761px) {
  html body header.archive-header nav.main-nav.archive-nav,
  html body header.site-header nav.main-nav.archive-nav {
    display: block !important;
  }

  html body header.archive-header button.menu-button.archive-menu-button,
  html body header.site-header button.menu-button.archive-menu-button {
    display: none !important;
  }
}

/* Header final layout: logo and menu on one line. */
html body .archive-header-inner {
  min-height: 76px !important;
  grid-template-columns: minmax(230px, auto) 1fr !important;
  grid-template-areas: "brand nav" !important;
  align-items: center !important;
  gap: 18px !important;
  padding-block: 10px !important;
}

html body .archive-header-note {
  display: none !important;
}

html body .archive-nav {
  grid-area: nav !important;
  justify-self: end !important;
  width: auto !important;
  max-width: none !important;
}

html body .archive-nav .nav-links-window {
  justify-content: flex-end !important;
}

@media (min-width: 761px) {
  html body .archive-header-inner {
    grid-template-columns: minmax(230px, auto) 1fr !important;
    grid-template-areas: "brand nav" !important;
  }

  html body .archive-nav,
  html body .archive-nav.is-open {
    width: auto !important;
    justify-self: end !important;
  }
}

@media (max-width: 760px) {
  html body .archive-header-inner {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "brand button"
      "nav nav" !important;
  }
}

@media (min-width: 761px) {
  html body header.archive-header nav.main-nav.archive-nav,
  html body header.site-header nav.main-nav.archive-nav {
    display: block !important;
  }

  html body header.archive-header button.menu-button.archive-menu-button,
  html body header.site-header button.menu-button.archive-menu-button {
    display: none !important;
  }
}

/* Last word for the public archive menu. */
html body .archive-nav .nav-links-window {
  overflow: visible !important;
}

html body .archive-nav .archive-nav-group {
  position: relative !important;
}

html body .archive-nav .archive-nav-group > summary {
  min-height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 14px !important;
  border: 1px solid rgba(47, 37, 25, 0.28) !important;
  border-radius: 0 !important;
  background: rgba(255, 250, 239, 0.52) !important;
  color: #1f1a14 !important;
  font-family: Barlow, Arial, sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body .archive-nav .archive-nav-group > summary::-webkit-details-marker {
  display: none !important;
}

html body .archive-nav .archive-nav-panel {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  right: 0 !important;
  z-index: 80 !important;
  min-width: 230px !important;
  max-width: min(520px, calc(100vw - 30px)) !important;
  max-height: min(430px, calc(100vh - 130px)) !important;
  overflow: auto !important;
  padding: 10px !important;
  border: 1px solid rgba(34, 28, 20, 0.38) !important;
  background: #f6eedf !important;
  box-shadow: 0 18px 34px rgba(43, 33, 22, 0.22) !important;
}

html body .archive-nav .archive-nav-panel.is-years {
  width: min(520px, calc(100vw - 30px)) !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 6px !important;
}

html body .archive-nav .archive-nav-panel a {
  min-height: 36px !important;
  display: flex !important;
  align-items: center !important;
  padding: 7px 10px !important;
  border: 1px solid rgba(52, 41, 28, 0.12) !important;
  background: rgba(255, 252, 245, 0.68) !important;
  color: #211a13 !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

@media (min-width: 761px) {
  html body .archive-header-inner {
    min-height: 82px !important;
    grid-template-columns: minmax(220px, auto) 1fr !important;
    grid-template-areas:
      "brand note"
      "nav nav" !important;
    row-gap: 10px !important;
  }

  html body .archive-menu-button,
  html body .site-header .menu-button {
    display: none !important;
  }

  html body .archive-nav,
  html body .archive-nav.is-open {
    grid-area: nav !important;
    display: block !important;
    width: 100% !important;
    justify-self: stretch !important;
    padding: 0 !important;
    border: 0 !important;
  }

  html body .archive-nav .nav-links-window {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
  }
}

@media (max-width: 760px) {
  html body .archive-header-inner {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "brand button"
      "nav nav" !important;
  }

  html body .archive-menu-button,
  html body .site-header .menu-button {
    grid-area: button !important;
    display: grid !important;
    position: static !important;
    justify-self: end !important;
    place-items: center !important;
  }

  html body .archive-nav,
  html body .archive-nav.is-open {
    grid-area: nav !important;
    display: none !important;
    width: 100% !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(47, 37, 25, 0.18) !important;
  }

  html body .archive-nav.is-open {
    display: block !important;
  }

  html body .archive-nav .nav-links-window {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  html body .archive-nav .archive-nav-group > summary {
    width: 100% !important;
    min-height: 42px !important;
    justify-content: space-between !important;
  }

  html body .archive-nav .archive-nav-panel,
  html body .archive-nav .archive-nav-panel.is-years {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    max-height: 260px !important;
    margin-top: 8px !important;
    grid-template-columns: 1fr !important;
    box-shadow: none !important;
  }
}

/* Final archive masthead: compact desktop nav, tidy mobile drawer. */
html body .archive-header {
  background: rgba(239, 228, 207, 0.98) !important;
  border-bottom: 3px double rgba(31, 26, 20, 0.72) !important;
  box-shadow: 0 8px 18px rgba(49, 38, 25, 0.08) !important;
}

html body .archive-header-inner {
  min-height: 82px !important;
  padding-block: 12px !important;
  display: grid !important;
  grid-template-columns: minmax(240px, auto) 1fr auto !important;
  grid-template-areas: "brand note nav" !important;
  gap: 18px !important;
  align-items: center !important;
}

html body .archive-brand {
  grid-area: brand !important;
}

html body .archive-brand-seal {
  width: 54px !important;
  height: 54px !important;
}

html body .archive-brand-text strong {
  font-size: clamp(1.06rem, 1.7vw, 1.34rem) !important;
}

html body .archive-brand-text small {
  font-size: 0.7rem !important;
}

html body .archive-header-note {
  grid-area: note !important;
  display: block !important;
  max-width: 360px !important;
  justify-self: center !important;
  text-align: center !important;
  font-size: 0.78rem !important;
  line-height: 1.35 !important;
}

html body .archive-menu-button {
  grid-area: button !important;
  position: static !important;
  justify-self: end !important;
  order: initial !important;
}

html body .archive-nav {
  grid-area: nav !important;
  display: block !important;
  position: relative !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  border: 0 !important;
  justify-self: end !important;
}

html body .archive-nav .nav-links-window {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  overflow: visible !important;
}

html body .archive-nav .nav-item,
html body .archive-nav .nav-item:nth-child(n),
html body .archive-nav .archive-nav-group {
  display: block !important;
  position: relative !important;
  flex: 0 0 auto !important;
}

html body .archive-nav .nav-item > a,
html body .archive-nav .archive-nav-group > summary {
  min-height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 14px !important;
  border: 1px solid rgba(47, 37, 25, 0.28) !important;
  border-radius: 0 !important;
  background: rgba(255, 250, 239, 0.52) !important;
  color: #1f1a14 !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.32) !important;
  font-family: Barlow, Arial, sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body .archive-nav .archive-nav-group > summary::-webkit-details-marker {
  display: none !important;
}

html body .archive-nav .archive-nav-group > summary::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 8px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

html body .archive-nav .nav-item > a:hover,
html body .archive-nav .archive-nav-group[open] > summary,
html body .archive-nav .archive-nav-group > summary:hover {
  background: #211a13 !important;
  border-color: #211a13 !important;
  color: #f8efdf !important;
}

html body .archive-nav .archive-nav-panel {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  right: 0 !important;
  z-index: 80 !important;
  min-width: 230px !important;
  max-width: min(520px, calc(100vw - 30px)) !important;
  max-height: min(430px, calc(100vh - 130px)) !important;
  overflow: auto !important;
  padding: 10px !important;
  border: 1px solid rgba(34, 28, 20, 0.38) !important;
  background: #f6eedf !important;
  box-shadow: 0 18px 34px rgba(43, 33, 22, 0.22) !important;
}

html body .archive-nav .archive-nav-panel.is-years {
  width: min(520px, calc(100vw - 30px)) !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 6px !important;
}

html body .archive-nav .archive-nav-panel a {
  min-height: 36px !important;
  display: flex !important;
  align-items: center !important;
  padding: 7px 10px !important;
  border: 1px solid rgba(52, 41, 28, 0.12) !important;
  background: rgba(255, 252, 245, 0.68) !important;
  color: #211a13 !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

html body .archive-nav .archive-nav-panel a:hover {
  background: #211a13 !important;
  color: #f8efdf !important;
}

@media (min-width: 901px) {
  html body .archive-menu-button {
    display: none !important;
  }

  html body .archive-nav,
  html body .archive-nav.is-open {
    display: block !important;
  }
}

@media (max-width: 1180px) and (min-width: 901px) {
  html body .archive-header-inner {
    grid-template-columns: minmax(220px, auto) 1fr !important;
    grid-template-areas:
      "brand note"
      "nav nav" !important;
    row-gap: 10px !important;
  }

  html body .archive-nav {
    justify-self: stretch !important;
  }

  html body .archive-nav .nav-links-window {
    justify-content: center !important;
  }
}

@media (max-width: 900px) {
  html body .archive-header-inner {
    min-height: 72px !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "brand button"
      "nav nav" !important;
    gap: 10px 12px !important;
  }

  html body .archive-header-note {
    display: none !important;
  }

  html body .archive-brand {
    justify-self: start !important;
  }

  html body .archive-brand-seal {
    width: 46px !important;
    height: 46px !important;
  }

  html body .archive-menu-button {
    display: grid !important;
    place-items: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 0 !important;
    background: #f8efdf !important;
  }

  html body .archive-nav,
  html body .archive-nav.is-open {
    grid-area: nav !important;
    width: 100% !important;
    justify-self: stretch !important;
    display: none !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(47, 37, 25, 0.18) !important;
  }

  html body .archive-nav.is-open {
    display: block !important;
  }

  html body .archive-nav .nav-links-window {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  html body .archive-nav .nav-item > a,
  html body .archive-nav .archive-nav-group > summary {
    width: 100% !important;
    min-height: 42px !important;
    justify-content: space-between !important;
  }

  html body .archive-nav .archive-nav-panel,
  html body .archive-nav .archive-nav-panel.is-years {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    max-height: 260px !important;
    margin-top: 8px !important;
    grid-template-columns: 1fr !important;
    box-shadow: none !important;
  }
}

@media (min-width: 761px) {
  html body .archive-header-inner {
    grid-template-columns: minmax(220px, auto) 1fr !important;
    grid-template-areas:
      "brand note"
      "nav nav" !important;
    row-gap: 10px !important;
  }

  html body .archive-menu-button {
    display: none !important;
  }

  html body .archive-nav,
  html body .archive-nav.is-open {
    display: block !important;
    width: 100% !important;
    justify-self: stretch !important;
    padding: 0 !important;
    border: 0 !important;
  }

  html body .archive-nav .nav-links-window {
    display: flex !important;
    justify-content: center !important;
  }
}

/* FINAL CLEAN HEADSTONE LAYOUT - fixed text, no card ground/background. */
html body .home-featured-products .products-grid,
html body .listing-page .products-grid,
html body .products-grid {
  background: transparent !important;
  align-items: start !important;
  row-gap: 54px !important;
}

html body .home-featured-products .product-card,
html body .listing-page .product-card,
html body .products-grid .product-card {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 282px !important;
  aspect-ratio: 2 / 3 !important;
  min-height: 0 !important;
  margin: 14px auto 32px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  -webkit-mask: none !important;
  mask: none !important;
  isolation: isolate !important;
}

html body .home-featured-products .product-card::before,
html body .listing-page .product-card::before,
html body .products-grid .product-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  display: block !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: url("assets/gravestone-template-v2.png?v=20260528-0005") center / contain no-repeat !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

html body .home-featured-products .product-card::after,
html body .listing-page .product-card::after,
html body .products-grid .product-card::after {
  content: none !important;
  display: none !important;
}

html body .home-featured-products .product-card > *,
html body .listing-page .product-card > *,
html body .products-grid .product-card > * {
  position: absolute !important;
}

html body .home-featured-products .product-image,
html body .listing-page .product-image,
html body .products-grid .product-image {
  top: 18px !important;
  left: 50% !important;
  z-index: 3 !important;
  width: 160px !important;
  height: 190px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% / 56% !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden !important;
  transform: translateX(-50%) !important;
}

html body .home-featured-products .product-image-link,
html body .listing-page .product-image-link,
html body .products-grid .product-image-link,
html body .home-featured-products .product-main-image,
html body .listing-page .product-main-image,
html body .products-grid .product-main-image {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  border-radius: inherit !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body .home-featured-products .product-main-image,
html body .listing-page .product-main-image,
html body .products-grid .product-main-image {
  object-fit: cover !important;
  filter: contrast(1.05) saturate(0.72) sepia(0.08) !important;
}

html body .home-featured-products .product-card > .product-info,
html body .listing-page .product-card > .product-info,
html body .products-grid .product-card > .product-info {
  inset: 0 !important;
  z-index: 4 !important;
  display: block !important;
  padding: 0 !important;
  background: transparent !important;
  color: #e8dfcc !important;
  text-align: center !important;
  pointer-events: none !important;
}

html body .home-featured-products .product-info h3,
html body .listing-page .product-info h3,
html body .products-grid .product-info h3 {
  position: absolute !important;
  top: 218px !important;
  left: 50% !important;
  width: 202px !important;
  max-width: 202px !important;
  margin: 0 !important;
  transform: translateX(-50%) !important;
  color: #d7c391 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 26px !important;
  line-height: 1.02 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  text-shadow: 0 1px 0 rgba(255,255,255,0.14), 0 2px 5px rgba(0,0,0,0.85) !important;
}

html body .home-featured-products .product-title-link,
html body .listing-page .product-title-link,
html body .products-grid .product-title-link,
html body .home-featured-products .product-image-link,
html body .listing-page .product-image-link,
html body .products-grid .product-image-link {
  pointer-events: auto !important;
}

html body .home-featured-products .product-life-dates,
html body .listing-page .product-life-dates,
html body .products-grid .product-life-dates {
  position: absolute !important;
  top: 292px !important;
  left: 50% !important;
  width: 176px !important;
  margin: 0 !important;
  transform: translateX(-50%) !important;
  display: grid !important;
  gap: 7px !important;
  color: #e5dcc7 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 13px !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  text-align: left !important;
  text-shadow: 0 2px 5px rgba(0,0,0,0.9) !important;
}

html body .home-featured-products .product-life-dates span,
html body .listing-page .product-life-dates span,
html body .products-grid .product-life-dates span {
  display: block !important;
  white-space: nowrap !important;
}

html body .home-featured-products .product-life-dates strong,
html body .listing-page .product-life-dates strong,
html body .products-grid .product-life-dates strong {
  color: #d7c391 !important;
}

html body .home-featured-products .product-card-cta,
html body .listing-page .product-card-cta,
html body .products-grid .product-card-cta,
html body .home-featured-products .product-mobile-meta,
html body .listing-page .product-mobile-meta,
html body .products-grid .product-mobile-meta,
html body .home-featured-products .product-hover-meta,
html body .listing-page .product-hover-meta,
html body .products-grid .product-hover-meta,
html body .home-featured-products .product-thumbs,
html body .listing-page .product-thumbs,
html body .products-grid .product-thumbs,
html body .home-featured-products .product-zoom-button,
html body .listing-page .product-zoom-button,
html body .products-grid .product-zoom-button,
html body .home-featured-products .product-corner-badge,
html body .listing-page .product-corner-badge,
html body .products-grid .product-corner-badge,
html body .home-featured-products .product-inline-badge,
html body .listing-page .product-inline-badge,
html body .products-grid .product-inline-badge {
  display: none !important;
}

@media (max-width: 520px) {
  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    row-gap: 44px !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card {
    max-width: 252px !important;
    margin-bottom: 26px !important;
  }

  html body .home-featured-products .product-image,
  html body .listing-page .product-image,
  html body .products-grid .product-image {
    top: 16px !important;
    width: 142px !important;
    height: 168px !important;
  }

  html body .home-featured-products .product-info h3,
  html body .listing-page .product-info h3,
  html body .products-grid .product-info h3 {
    top: 194px !important;
    width: 182px !important;
    max-width: 182px !important;
    font-size: 23px !important;
  }

  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 262px !important;
    width: 158px !important;
    font-size: 12px !important;
    gap: 6px !important;
  }
}

.mobile-home-link {
  display: none;
}

.promo-bar-inline {
  flex: 1 1 auto;
}

.brand-mark {
  width: clamp(150px, 18vw, 240px);
  min-width: 150px;
  height: clamp(52px, 6vw, 76px);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  font-size: 2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.brand-mark.has-image {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.brand-logo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 16px;
  min-width: 0;
}

.menu-button {
  width: 56px;
  height: 56px;
  border: 0;
  background: transparent;
  display: none;
  gap: 0;
  padding: 0;
  cursor: pointer;
  color: #1f2a44;
  text-align: center;
}

.menu-button::after {
  content: none;
}

.menu-button .menu-label {
  display: none;
}

.menu-button .menu-icon {
  display: block;
  width: 56px;
  height: 56px;
  fill: #1f2a44;
  stroke: #1f2a44;
}

.menu-button .menu-icon-close {
  display: none;
}

.nav-mobile-scroll {
  display: none;
}

.menu-button.is-open .menu-icon-open {
  display: none;
}

.menu-button.is-open .menu-icon-close {
  display: block;
}


.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
  font-weight: 500;
  color: #1f2a44;
  position: relative;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}.nav-item {
  position: relative;
  padding: 0;
  flex: 0 0 auto;
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  font-size: 1.02rem;
}

.nav-item > a::after {
  display: none;
}

.nav-item-all {
  min-width: 132px;
  position: static;
}

.all-categories-link {
  gap: 12px;
}

.all-categories-icon {
  display: inline-grid;
  gap: 5px;
  width: 28px;
}

.all-categories-icon span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: #1f2a44;
}

.all-categories-label {
  display: grid;
  gap: 2px;
  line-height: 1.1;
}

.all-categories-label strong {
  font-size: 1rem;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 210px;
  max-width: min(980px, calc(100vw - 40px));
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 45px rgba(24, 48, 95, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.24s ease, transform 0.24s ease;
  z-index: 20;
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}

.dropdown-menu a {
  color: var(--muted);
}

.dropdown-menu a:hover {
  color: var(--blue);
}

.dropdown-group-title {
  font-weight: 800;
  color: #1e2a45;
  margin-top: 4px;
}

.dropdown-menu-all {
  left: 0;
  width: min(980px, 100%);
  min-width: 0;
  max-width: min(980px, 100%);
  max-height: min(70vh, 520px);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: start;
  gap: 18px 22px;
  overflow: auto;
  padding: 20px;
}

.mega-menu-group {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
}

.mega-menu-links {
  display: grid;
  gap: 10px;
}

.nav-item-measure {
  position: absolute;
  visibility: hidden;
  pointer-events: none;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-section {
  padding-top: 10px;
}

.hero-slider {
  position: relative;
}

.hero-track {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1;
  min-height: clamp(240px, 32vw, 600px);
  background:
    linear-gradient(90deg, rgba(16, 42, 95, 0.12) 0%, rgba(255, 255, 255, 0.55) 30%, rgba(255, 255, 255, 0.55) 70%, rgba(176, 24, 81, 0.12) 100%),
    linear-gradient(135deg, rgba(16, 42, 95, 0.08), rgba(176, 24, 81, 0.08));
  border-radius: 30px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  display: grid;
  place-items: center;
  background:
      radial-gradient(circle at center, rgba(255, 255, 255, 0.22), transparent 48%),
      linear-gradient(135deg, rgba(16, 42, 95, 0.16), rgba(176, 24, 81, 0.16));
}

.hero-slide.is-contained::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-slide-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  filter: blur(28px) saturate(0.9);
  opacity: 0.42;
}

.hero-slide.is-contained::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 42, 95, 0.14), rgba(255, 255, 255, 0.28) 24%, rgba(255, 255, 255, 0.28) 76%, rgba(176, 24, 81, 0.14)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.12));
}

.hero-slide.is-full-bleed {
  background: transparent;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-banner-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transform: translateZ(0);
  filter: drop-shadow(0 18px 30px rgba(20, 35, 70, 0.12));
}

.hero-slide.is-contained .hero-banner-image {
  width: auto;
  height: auto;
  max-width: min(72%, 1180px);
  max-height: 88%;
  border-radius: 24px;
  box-shadow: 0 26px 60px rgba(23, 40, 79, 0.18);
}

.hero-slide.is-contained.is-wide-contained .hero-banner-image {
  max-width: min(78%, 1280px);
  max-height: 82%;
}

.hero-slide.is-contained.is-square .hero-banner-image {
  max-width: min(34%, 430px);
  max-height: 84%;
}

.hero-slide.is-contained.is-portrait .hero-banner-image {
  max-width: min(28%, 360px);
  max-height: 88%;
}

.hero-slide.is-full-bleed .hero-banner-image {
  object-fit: cover;
  filter: none;
}

.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(44px, 4.2vw, 60px);
  height: clamp(44px, 4.2vw, 60px);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #1e335e;
  font-size: clamp(1.45rem, 1.8vw, 2rem);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 16px 36px rgba(18, 34, 74, 0.18);
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.slider-control:hover {
  transform: translateY(-50%) scale(1.05);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 42px rgba(18, 34, 74, 0.22);
  color: #102a5f;
}

.slider-control:active {
  transform: translateY(-50%) scale(0.98);
}

.slider-control.prev {
  left: clamp(12px, 1.8vw, 24px);
}

.slider-control.next {
  right: clamp(12px, 1.8vw, 24px);
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: clamp(14px, 2vw, 24px);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(17, 29, 59, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 3;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, width 0.22s ease;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.85);
}

.slider-dot.is-active {
  width: 28px;
  background: #ffffff;
}

.category-section {
  padding: 44px 0 60px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-image-link {
  display: block;
  min-height: 230px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.category-image {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.category-title-link {
  display: inline-block;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 800;
}

.category-title-link:hover {
  color: var(--red);
}

.campaign-note {
  margin: 12px 0 0;
  font-size: 1.6rem;
  font-weight: 800;
  color: #52617f;
  letter-spacing: 0.02em;
}

.site-footer {
  margin-top: 20px;
  background: linear-gradient(135deg, var(--navy), var(--blue) 55%, var(--violet));
  color: #f4f7ff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 42px 0;
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 14px;
}

.site-footer p,
.site-footer a,
.site-footer span {
  display: block;
  margin: 0 0 10px;
  color: var(--footer-text);
}

.products-main {
  padding: 28px 0 64px;
}

.products-toolbar {
  padding-bottom: 24px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #7a8498;
  font-size: 0.95rem;
}

.breadcrumb strong {
  color: var(--red);
}

.toolbar-row {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.sort-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: #51607f;
}

.sort-box select {
  min-width: 180px;
  height: 42px;
  border: 1px solid #d6dcea;
  border-radius: 10px;
  padding: 0 14px;
  background: #fff;
  color: #2c3855;
  font: inherit;
}

.products-summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #525f7d;
  font-weight: 600;
}

.products-summary strong {
  color: var(--text);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.product-card {
  border: 1px solid #e0e5f0;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(31, 63, 126, 0.06);
}

.product-image {
  position: relative;
  aspect-ratio: 2 / 3;
  min-height: 0;
  background: #f5f5f5;
}

.product-main-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 2 / 3;
}

.product-image-link {
  display: block;
}

.product-zoom-button {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 6;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(12, 21, 39, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: #1f2a44;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.15);
}

.product-zoom-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.product-corner-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  max-width: 132px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4d4f 0%, #d81b60 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(216, 27, 96, 0.32);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  backdrop-filter: blur(8px);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.product-corner-badge.is-star {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.32);
}

.product-corner-badge:hover {
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.24);
  filter: saturate(1.08);
}

.product-corner-badge.is-symbol {
  min-width: 38px;
  max-width: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: 999px;
  font-size: 20px;
  letter-spacing: 0;
}

.product-corner-badge.is-image {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  min-width: auto;
  max-width: none;
}

.product-corner-badge.is-image img {
  display: block;
  width: 76px;
  height: 76px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .product-corner-badge {
    top: 8px;
    right: 8px;
    max-width: 104px;
    min-height: 24px;
    padding: 4px 8px;
    font-size: 10px;
    letter-spacing: 0.01em;
  }

  .product-corner-badge.is-symbol {
    min-width: 30px;
    max-width: 30px;
    min-height: 30px;
    font-size: 16px;
  }

  .product-corner-badge.is-image img {
    width: 56px;
    height: 56px;
  }

  .product-corner-badge.is-pill {
    display: none !important;
  }

  .product-card .product-corner-badge:not(.is-image):not(.is-symbol) {
    display: none !important;
  }

  .product-inline-badge {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    margin-bottom: 8px;
    min-height: 24px;
    max-width: 100%;
    padding: 4px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff4d4f 0%, #d81b60 100%);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(216, 27, 96, 0.24);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
  }

  .product-inline-badge.badge-50-indirim,
  .product-inline-badge.badge-50-indirimli,
  .product-inline-badge.badge-indirim {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 8px 18px rgba(220, 38, 38, 0.24);
  }

  .product-inline-badge.badge-yeni {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.24);
  }

  .product-inline-badge.badge-cok-satan {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    box-shadow: 0 8px 18px rgba(234, 88, 12, 0.24);
  }
}

.product-corner-badge.is-pill.badge-50-indirim,
.product-corner-badge.is-pill.badge-50-indirimli,
.product-corner-badge.is-pill.badge-indirim {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.33);
}

.product-corner-badge.is-pill.badge-yeni {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.3);
}

.product-corner-badge.is-pill.badge-cok-satan {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.32);
}

.product-inline-badge {
  display: none;
}

.product-thumbs {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.thumb-dot {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.thumb-dot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-dot.is-active {
  outline: 2px solid #ff7c43;
  outline-offset: 1px;
}

.product-hover-meta {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 52px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.product-hover-brand {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.product-hover-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-mobile-meta {
  display: none;
  margin: 2px 0 2px;
  padding: 0;
}

.product-size-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d9e1ef;
  color: #33415c;
  font-size: 0.75rem;
  font-weight: 700;
}

.product-card:hover .product-hover-meta,
.product-card:focus-within .product-hover-meta {
  opacity: 1;
  transform: translateY(0);
}

.product-thumbs {
  transition: transform 0.2s ease;
}

.product-card:hover .product-thumbs,
.product-card:focus-within .product-thumbs {
  transform: translateX(-50%) scale(1.02);
}

.product-info {
  padding: 10px 12px 14px;
}

.product-info h3 {
  margin: 0 0 2px;
  font-size: 0.9rem;
  color: var(--text);
}

.product-title-link:hover {
  color: #d92d35;
}

.product-info p {
  margin: 0 0 6px;
  font-size: 0.82rem;
  color: var(--muted);
}

.product-price {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--red);
}

.loading-indicator {
  padding: 22px 0 6px;
  text-align: center;
  color: #65728e;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.loading-indicator.is-visible {
  opacity: 1;
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 10px;
  box-sizing: border-box;
}

.product-lightbox[hidden] {
  display: none !important;
}

.product-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 14, 27, 0.82);
}

.product-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(96vw, 1400px);
  height: min(96vh, 1100px);
  padding: 52px 70px 44px;
  box-sizing: border-box;
  display: grid;
  place-items: center;
}

.product-lightbox-image-shell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-lightbox-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
}

.product-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(10, 16, 30, 0.72);
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.product-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(10, 16, 30, 0.72);
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.product-lightbox-nav.is-prev {
  left: 10px;
}

.product-lightbox-nav.is-next {
  right: 10px;
}

body.lightbox-open {
  overflow: hidden;
}

.scroll-sentinel {
  height: 2px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes brand-logo-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1100px) {

  .cards {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1000px);
  }

  .header-top {
    align-items: center;
    gap: 10px;
    padding: 12px 0 10px;
  }

  .main-nav {
    gap: 14px;
    font-size: 0.95rem;
  }

  .dropdown-menu {
    min-width: 180px;
  }

  .brand {
    flex: 0 0 auto;
  }

  .brand-mark {
    width: 100px;
    min-width: 100px;
    height: 52px;
    border-radius: 16px;
  }

  .promo-bar-inline {
    flex: 1 1 auto;
    min-width: 0;
  }

  .promo-bar {
    border-radius: 14px;
  }

  .promo-marquee span {
    padding: 7px 18px;
    font-size: 0.78rem;
  }

  .hero-slide {
      border-radius: 24px;
    }

  .hero-track {
      min-height: 180px;
      border-radius: 24px;
    }

  .hero-banner-image {
      width: 100%;
      height: 100%;
    }

  .hero-slide.is-contained .hero-banner-image {
        max-width: min(72%, 620px);
        max-height: 78%;
        border-radius: 18px;
      }

  .hero-slide.is-contained.is-wide-contained .hero-banner-image {
    max-width: min(76%, 660px);
    max-height: 76%;
  }

  .hero-slide.is-contained.is-square .hero-banner-image {
    max-width: min(42%, 320px);
    max-height: 76%;
  }

  .hero-slide.is-contained.is-portrait .hero-banner-image {
    max-width: min(34%, 250px);
    max-height: 84%;
  }

  .slider-control {
      width: 44px;
      height: 44px;
      font-size: 1.4rem;
    }

  .slider-dots {
    bottom: 12px;
    gap: 8px;
    padding: 6px 10px;
  }

  .slider-dot {
    width: 9px;
    height: 9px;
  }

  .slider-dot.is-active {
    width: 24px;
  }

  .campaign-note {
    font-size: 1.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding: 34px 0;
  }

  .nav-row {
    padding-bottom: 10px;
  }

  .menu-button {
    display: grid;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    padding: 9px 7px;
  }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 0;
  }

  .main-nav.is-open {
    display: flex;
  }.nav-item {
    width: 100%;
    padding: 0;
    border-bottom: 1px solid #e7ebf4;
  }

  .nav-item > a {
    width: 100%;
    justify-content: space-between;
    padding: 14px 0;
  }

  .dropdown-menu {
    position: static;
    min-width: 100%;
    display: none;
    margin-bottom: 12px;
    padding: 10px 12px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    background: #f7f9ff;
  }

  .nav-item:hover .dropdown-menu {
    display: grid;
  }

  .toolbar-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .product-hover-meta {
    opacity: 1;
    transform: translateY(0);
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 10px 11px;
    gap: 6px;
    border-radius: 14px;
  }

  .product-hover-brand {
    font-size: 0.8rem;
  }

  .product-size-chip {
    min-width: 28px;
    height: 24px;
    padding: 0 8px;
    font-size: 0.72rem;
  }

  .product-thumbs {
    display: none;
  }
}

.hero-banner-link {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: clamp(20px, 3vw, 36px);
  position: relative;
  z-index: 2;
}

.hero-slide.is-full-bleed .hero-banner-link {
  padding: 0;
}

@media (max-width: 720px) {
  .nav-item.is-open .dropdown-menu {
    display: grid;
  }

  .main-nav .dropdown-menu {
    max-height: 50vh !important;
    overflow-y: auto !important;
    padding-right: 8px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
    box-shadow: inset 0 -18px 18px -18px rgba(15, 27, 51, 0.35);
  }
}

.admin-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(39, 92, 214, 0.14), transparent 28%),
    linear-gradient(180deg, #f4f7fd 0%, #ecf1f9 100%);
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  min-height: 100vh;
  padding: 28px 20px;
  background: linear-gradient(180deg, #132746 0%, #1b3560 100%);
  color: #fff;
  box-shadow: 18px 0 38px rgba(12, 28, 58, 0.14);
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 10px 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-sidebar-badge {
  width: 48px;
  height: 48px;
  display: none;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #21d4fd, #275bd6);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 14px 30px rgba(9, 21, 53, 0.34);
}

.admin-sidebar h1 {
  margin: 0 0 6px;
  font-size: 1.9rem;
}

.admin-sidebar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.5;
}

.admin-sidebar a {
  display: flex;
  align-items: center;
  min-height: 48px;
  margin-bottom: 8px;
  padding: 0 14px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.admin-sidebar a:hover,
.admin-sidebar a.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateX(2px);
}

.admin-content {
  padding: 30px;
}

.admin-topbar,
.admin-panel-section {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(213, 223, 240, 0.9);
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(25, 46, 86, 0.08);
  backdrop-filter: blur(10px);
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 26px 28px;
  margin-bottom: 22px;
}

.admin-topbar h2,
.section-heading h3 {
  margin: 0 0 6px;
}

.admin-topbar p {
  margin: 0;
  color: #63708c;
}

.admin-actions,
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.admin-panel-section {
  padding: 22px;
  margin-bottom: 20px;
}

.admin-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.admin-editor-grid > .admin-table-wrap {
  grid-column: 1 / -1;
  width: 100%;
}

.admin-table-wrap {
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid #dde4f0;
  border-radius: 16px;
  background: #fff;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 0;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #edf1f7;
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  background: #f8fbff;
  color: #61708d;
  font-size: 0.9rem;
  font-weight: 700;
}

.admin-table tbody tr:hover {
  background: #fafcff;
}

.admin-table-thumb {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e4eaf4;
  background: #f3f6fb;
}

.admin-table-actions {
  display: flex;
  gap: 10px;
}

.admin-icon-button,
.admin-delete-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.admin-icon-button {
  background: #1b8be0;
  color: #fff;
}

.admin-delete-button {
  background: #fff1f1;
  color: #cb2d2d;
}

.admin-bulk-button {
  width: auto;
  min-width: 130px;
}

.admin-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #42b95c;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-card {
  border: 1px solid #dde4f0;
  border-radius: 18px;
  padding: 16px;
  background: #fbfcff;
}

.admin-settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.admin-settings-section-title {
  grid-column: 1 / -1;
  margin: 6px 0 4px;
  padding: 8px 12px;
  background: #eef3fb;
  border: 1px solid #d6e0f0;
  border-radius: 10px;
  font-weight: 700;
  color: #1f3f7e;
}

.admin-card-full {
  grid-column: 1 / -1;
}

.admin-card h3 {
  margin: 0 0 8px;
}

.admin-card-meta {
  margin: 0 0 8px;
  color: #64718d;
}

.admin-preview {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 14px;
  background: #eef2fa;
}

.admin-preview-tall {
  height: 240px;
}

.admin-field {
  display: block;
  margin-bottom: 12px;
}

.admin-field span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #4e5b79;
}

.admin-input,
.admin-textarea,
.admin-file {
  width: 100%;
  border: 1px solid #d4dceb;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}

.admin-textarea {
  min-height: 120px;
  resize: vertical;
}

.admin-date-input {
  min-height: 48px;
  color-scheme: light;
  cursor: pointer;
}

.admin-date-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.75;
}

.admin-primary-button,
.admin-secondary-button,
.admin-danger-button {
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.admin-primary-button {
  background: #164ec9;
  color: #fff;
}

#save-data-button {
  display: none;
}

.admin-edit-page #save-data-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-link-button {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  text-decoration: none;
  margin-bottom: 10px;
}

.admin-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: #fff;
}

.admin-checkbox input {
  margin: 0;
}

.admin-assignment-list {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-assignment-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.admin-inline-delete {
  min-width: 68px;
  padding-inline: 14px;
}

.admin-helper-text {
  margin: 0;
  color: #64718d;
}

.admin-image-manager {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}

.admin-image-card {
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  background: #fff;
  padding: 12px;
  display: grid;
  gap: 10px;
  cursor: grab;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.admin-image-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(24, 48, 95, 0.08);
}

.admin-image-card.is-cover {
  border-color: #1d63d8;
  box-shadow: 0 0 0 3px rgba(29, 99, 216, 0.1);
}

.admin-image-card.is-drag-over {
  border-color: #ff8b3d;
  background: #fff8f2;
}

.admin-image-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-drag-handle {
  color: #64718d;
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-cover-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #164ec9;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
}

.admin-image-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  background: #eef2fa;
}

.admin-image-actions {
  display: flex;
  gap: 8px;
}

.admin-image-button {
  min-width: 0;
  width: 100%;
  padding: 10px 12px;
}

.admin-secondary-button {
  background: #edf2ff;
  color: #29447c;
}

.admin-filter-select {
  min-width: 220px;
}

.admin-color-input {
  width: 52px;
  height: 42px;
  padding: 4px;
  border: 1px solid #d8e0ef;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.admin-color-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.admin-color-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #d8e0ef;
  border-radius: 8px;
  background: #f8faff;
}

.admin-color-swatch {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(34, 48, 79, 0.18);
  border-radius: 8px;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.55);
}

.admin-color-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-color-copy strong {
  color: #22304f;
  font-size: 14px;
  font-weight: 800;
}

.admin-color-copy small {
  color: #6b7892;
  font-size: 12px;
  line-height: 1.35;
}

.admin-color-control {
  display: grid;
  gap: 6px;
  justify-items: center;
}

.admin-color-code {
  color: #5f6980;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.admin-danger-button {
  width: 100%;
  background: #fff1f1;
  color: #cb2d2d;
}

@media (max-width: 1280px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .admin-color-card {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .admin-color-control {
    grid-column: 1 / -1;
    grid-template-columns: auto 1fr;
    justify-items: start;
    align-items: center;
  }
}

@media (max-width: 980px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-editor-grid {
    grid-template-columns: 1fr;
  }

  .admin-topbar,
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-assignment-row {
    grid-template-columns: 1fr;
  }
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-nav-card {
  display: block;
  padding: 22px;
  border: 1px solid #dde4f0;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfcff, #f2f6ff);
}

.admin-nav-card h3 {
  margin: 0 0 8px;
  color: #21355e;
}

.admin-nav-card p {
  margin: 0;
  color: #64718d;
}

@media (max-width: 1280px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .admin-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

.admin-login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-login-card {
  width: min(440px, 100%);
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.admin-login-card h1 {
  margin: 0 0 8px;
}

.admin-login-card p {
  margin: 0 0 16px;
  color: #63708c;
}

.admin-login-form {
  display: grid;
  gap: 12px;
}

.admin-login-submit {
  width: 100%;
}

.admin-login-error {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff1f1;
  color: #cb2d2d;
  font-weight: 700;
}

.admin-login-note {
  margin-top: 14px;
  font-size: 0.92rem;
}







.admin-topbar-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(39, 91, 214, 0.1);
  color: #2149b8;
  font-weight: 800;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

.admin-dashboard-section {
  display: grid;
  gap: 20px;
}

.admin-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.admin-overview-card {
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f7faff);
  border: 1px solid #e1e8f4;
}

.admin-overview-label {
  display: block;
  margin-bottom: 10px;
  color: #64718d;
  font-size: 0.9rem;
  font-weight: 700;
}

.admin-overview-value {
  display: block;
  font-size: 2rem;
  line-height: 1;
  color: #152847;
}

.admin-overview-note {
  margin: 10px 0 0;
  color: #7a859d;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-nav-card {
  position: relative;
  display: block;
  padding: 24px;
  border: 1px solid #dfe7f4;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f4f8ff);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.admin-nav-card:hover {
  transform: translateY(-3px);
  border-color: #cfdcf3;
  box-shadow: 0 18px 38px rgba(21, 40, 71, 0.09);
}

.admin-nav-card-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #21d4fd, #275bd6);
  color: #fff;
  font-weight: 800;
}

.admin-nav-card h3 {
  margin: 0 0 10px;
  color: #1b2d4a;
}

.admin-nav-card p {
  margin: 0 0 18px;
  color: #64718d;
  line-height: 1.6;
}

.admin-nav-card-link {
  display: inline-flex;
  align-items: center;
  color: #1b4fc9;
  font-weight: 800;
}

.admin-table-wrap,
.admin-card {
  box-shadow: 0 14px 30px rgba(29, 48, 89, 0.04);
}

.admin-table th {
  background: linear-gradient(180deg, #f9fbff, #f2f6fd);
}

.admin-input,
.admin-textarea,
.admin-file {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.admin-input:focus,
.admin-textarea:focus,
.admin-file:focus {
  outline: none;
  border-color: #2b5ed6;
  box-shadow: 0 0 0 4px rgba(43, 94, 214, 0.12);
}

@media (max-width: 1180px) {
  .admin-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}











/* Admin premium polish */
.admin-content {
  padding: 34px;
}

.admin-topbar,
.admin-panel-section {
  border-radius: 28px;
  box-shadow: 0 24px 54px rgba(19, 37, 71, 0.08);
}

.admin-topbar {
  padding: 28px 30px;
}

.admin-topbar h2 {
  font-size: 1.9rem;
  letter-spacing: -0.02em;
  color: #1b2d4a;
}

.admin-topbar p {
  max-width: 680px;
  line-height: 1.6;
}

.admin-panel-section {
  padding: 24px;
}

.admin-sidebar {
  padding: 30px 22px;
  background: linear-gradient(180deg, #10233f 0%, #17325b 52%, #21457b 100%);
}

.admin-sidebar a {
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.admin-sidebar a:hover,
.admin-sidebar a.is-active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.12);
}

.admin-sidebar-title {
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.admin-sidebar-badge {
  display: none;
  box-shadow: none;
}

.admin-overview-card {
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(26, 46, 86, 0.06);
}

.admin-overview-value {
  letter-spacing: -0.03em;
}

.admin-nav-card {
  padding: 26px;
}

.admin-nav-card-link::after {
  content: " ->";
  margin-left: 6px;
}

.admin-card {
  border-radius: 20px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff, #f9fbff);
}

.admin-card h3 {
  margin-bottom: 10px;
  color: #213556;
}

.admin-card-meta {
  line-height: 1.6;
}

.admin-field {
  margin-bottom: 14px;
}

.admin-field span {
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: #445573;
}

.admin-input,
.admin-textarea,
.admin-file {
  min-height: 50px;
  border-radius: 14px;
  border-color: #d8e1ee;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
}

.admin-textarea {
  min-height: 120px;
}

.admin-input::placeholder,
.admin-textarea::placeholder {
  color: #8b97af;
}

.admin-primary-button,
.admin-secondary-button,
.admin-danger-button,
.admin-icon-button,
.admin-delete-button {
  min-height: 46px;
  border-radius: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.admin-primary-button {
  background: linear-gradient(135deg, #1d59d6, #1545b4);
  box-shadow: 0 14px 28px rgba(21, 69, 180, 0.22);
}

.admin-primary-button:hover,
.admin-secondary-button:hover,
.admin-danger-button:hover,
.admin-icon-button:hover,
.admin-delete-button:hover {
  transform: translateY(-1px);
}

.admin-secondary-button {
  background: linear-gradient(180deg, #f4f7ff, #e9f0ff);
  color: #24437d;
}

.admin-danger-button,
.admin-delete-button {
  background: linear-gradient(180deg, #fff7f7, #ffecec);
  color: #c23232;
}

.admin-icon-button,
.admin-delete-button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #dde5f1;
  background: #fff;
  font-weight: 700;
}

.admin-table-wrap {
  margin-top: 20px;
  border-radius: 20px;
  border-color: #e1e8f3;
}

.admin-table {
  min-width: 760px;
}

.admin-table th,
.admin-table td {
  padding: 16px 18px;
}

.admin-table th {
  position: sticky;
  top: 0;
  z-index: 5;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-table tbody tr {
  transition: background 0.18s ease, transform 0.18s ease;
}

.admin-table tbody tr:hover {
  background: #f8fbff;
}

.admin-table-thumb {
  width: 58px;
  height: 58px;
  border-radius: 14px;
}

.admin-table-actions {
  gap: 12px;
}

.admin-filter-select {
  min-width: 250px;
}

.admin-helper-text {
  color: #6b7893;
  line-height: 1.6;
}

.admin-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f1f5fd;
  border: 1px solid #dbe5f6;
  color: #26437b;
  font-weight: 600;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.admin-chip:hover {
  transform: translateY(-1px);
  border-color: #b9caec;
  box-shadow: 0 10px 20px rgba(20, 46, 95, 0.08);
}

@media (max-width: 1280px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .admin-content {
    padding: 20px;
  }

  .admin-topbar,
  .admin-panel-section {
    border-radius: 22px;
  }

  .admin-table {
    min-width: 680px;
  }
}

.admin-icon-button {
  color: #1b4fc9;
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
  border-color: #d7e3f8;
  box-shadow: 0 8px 18px rgba(28, 79, 201, 0.08);
}

.admin-icon-button:hover {
  background: linear-gradient(180deg, #f7faff, #edf4ff);
  color: #143f9f;
}




/* Site color overrides from panel */
body,
body.products-page,
.site-header {
  background: var(--bg);
  color: var(--text);
}

.dropdown-menu a,
.products-summary,
.product-info p,
.loading-indicator,
.category-title-link,
.site-footer p,
.site-footer a,
.site-footer span {
  color: var(--muted);
}

.dropdown-menu a:hover,
.category-title-link:hover {
  color: var(--blue);
}

.products-summary strong,
.product-info h3,
.main-nav a,
.dropdown-group-title {
  color: var(--text);
}

.breadcrumb strong,
.promo-bar {
  color: #fff;
}

.breadcrumb strong {
  color: var(--red);
}

.site-footer {
  background: linear-gradient(135deg, var(--navy), var(--blue) 55%, var(--violet));
}

.brand-mark {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.site-footer h3,
.site-footer h4 {
  color: var(--footer-text);
}

.site-footer p,
.site-footer a,
.site-footer span {
  color: var(--footer-text);
}









.admin-product-layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.admin-product-sidebar-column {
  position: sticky;
  top: 24px;
}
.admin-product-media-card,
.admin-product-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 247, 252, 0.94) 100%);
  border: 1px solid rgba(212, 223, 240, 0.92);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(17, 37, 74, 0.08);
}
.admin-product-media-card {
  padding: 18px;
}
.admin-product-media-frame {
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #eef3fb 0%, #dde7f7 100%);
  border: 1px solid rgba(206, 219, 239, 0.9);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.admin-product-media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.admin-product-media-empty {
  padding: 18px;
  text-align: center;
  color: #70809d;
  font-weight: 700;
}
.admin-product-media-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}
.admin-product-media-meta strong {
  color: #1b2d4a;
  font-size: 1rem;
}
.admin-product-media-meta span,
.admin-product-hint span {
  color: #6c7b95;
  line-height: 1.55;
  font-size: 0.92rem;
}
.admin-product-main {
  display: grid;
  gap: 18px;
}
.admin-product-card {
  padding: 22px;
}
.admin-product-card-head {
  margin-bottom: 16px;
}
.admin-product-card-head h3 {
  margin: 0 0 6px;
  color: #1b2d4a;
  font-size: 1.1rem;
}
.admin-product-card-head p {
  margin: 0;
  color: #6c7b95;
  line-height: 1.6;
}
.admin-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}
.admin-product-grid .admin-field {
  margin-bottom: 0;
}
.admin-product-grid-redirect {
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
}
.admin-checkbox-boxed {
  min-height: 50px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(206, 219, 239, 0.95);
  background: #fff;
}
.admin-checkbox-boxed span {
  margin: 0;
}
.admin-input,
.admin-textarea,
.admin-file {
  min-height: 46px;
  border-radius: 12px;
}
.admin-file {
  padding-top: 10px;
  padding-bottom: 10px;
}
.admin-assignment-list {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}
.admin-assignment-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 88px;
}
.admin-image-manager-compact {
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
}
.admin-image-card {
  border-radius: 18px;
}
.admin-image-thumb {
  height: 136px;
}
.admin-inline-delete,
.admin-image-button {
  min-height: 40px;
}
@media (max-width: 1180px) {
  .admin-product-layout {
    grid-template-columns: 1fr;
  }
  .admin-product-sidebar-column {
    position: static;
  }
}
@media (max-width: 780px) {
  .admin-product-card,
  .admin-product-media-card {
    padding: 18px;
    border-radius: 18px;
  }
  .admin-product-grid,
  .admin-product-grid-redirect {
    grid-template-columns: 1fr;
  }
  .admin-assignment-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }
}






.admin-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
}
.admin-check-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(34, 48, 79, 0.12);
  border-radius: 14px;
  background: #f7f9ff;
  color: #22304f;
  font-weight: 600;
}
.admin-check-option input {
  margin: 0;
  width: 16px;
  height: 16px;
}

.admin-size-dropdown {
  position: relative;
}

.admin-size-dropdown-toggle {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid #d8e1ee;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  color: #22304f;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.admin-size-dropdown-toggle:hover,
.admin-size-dropdown-toggle:focus-visible,
.admin-size-dropdown.is-open .admin-size-dropdown-toggle {
  outline: none;
  border-color: #2b5ed6;
  box-shadow: 0 0 0 4px rgba(43, 94, 214, 0.12);
}

.admin-size-token-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.admin-size-token {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(43, 94, 214, 0.08);
  color: #3159a6;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
}

.admin-size-placeholder {
  color: #6d7891;
  font-size: 0.95rem;
}

.admin-size-dropdown-arrow {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid #8b8f97;
  border-bottom: 2px solid #8b8f97;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.18s ease;
}

.admin-size-dropdown.is-open .admin-size-dropdown-arrow {
  transform: rotate(-135deg) translateY(-1px);
}

.admin-size-dropdown-panel {
  margin-top: 6px;
  border: 1px solid #d8e1ee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(17, 37, 74, 0.1);
  overflow: hidden;
}

.admin-size-select-all,
.admin-size-dropdown-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: 0.96rem;
}

.admin-size-select-all {
  border-bottom: 1px solid #e4e8ef;
  background: #fbfcff;
  font-weight: 500;
}

.admin-size-search-wrap {
  padding: 8px 12px;
  border-bottom: 1px solid #e4e8ef;
}

.admin-size-search {
  min-height: 38px;
  border-radius: 0;
  border-width: 0 0 1px 0;
  padding: 6px 0;
  background: transparent;
  box-shadow: none;
}

.admin-size-search:focus {
  box-shadow: none;
  border-color: #2b5ed6;
}

.admin-size-dropdown-list {
  max-height: 220px;
  overflow-y: auto;
}

.admin-size-dropdown-option {
  cursor: pointer;
  border-bottom: 1px solid #edf0f5;
  background: #fff;
}

.admin-size-dropdown-option:last-child {
  border-bottom: 0;
}

.admin-size-dropdown-option:hover {
  background: #f7faff;
}

.admin-size-dropdown-option.is-selected {
  color: #1848a3;
  background: rgba(43, 94, 214, 0.05);
}

.admin-size-dropdown-option input,
.admin-size-select-all input {
  margin: 0;
  width: 16px;
  height: 16px;
  accent-color: #3f7fc1;
}

.admin-size-empty {
  margin: 0;
  padding: 12px;
}



.admin-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 20px 6px 6px;
}

.admin-pagination-summary {
  flex: 1 1 280px;
  min-width: 220px;
  color: #5a6786;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.55;
}

.admin-pagination-controls {
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-pagination-pages {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-pagination-button {
  border: 1px solid #d7e2f1;
  background: #ffffff;
  color: #33415c;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.admin-pagination-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(31, 65, 187, 0.12);
  border-color: #9eb9ff;
}

.admin-pagination-button.is-active {
  background: linear-gradient(135deg, #ff8f2f, #ff6a00);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(255, 106, 0, 0.2);
}

.admin-pagination-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.admin-pagination-ellipsis {
  color: #7a87a6;
  font-weight: 700;
  padding: 0 4px;
}

.admin-pagination-size {
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  color: #5a6786;
  font-size: 0.92rem;
  font-weight: 600;
}

.admin-pagination-size .admin-input {
  width: auto;
  min-width: 86px;
  height: 40px;
  padding-right: 38px;
}

@media (max-width: 980px) {
  .admin-pagination {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .admin-pagination-summary,
  .admin-pagination-controls,
  .admin-pagination-size {
    width: 100%;
    justify-content: center;
  }
}

.admin-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.admin-list-search {
  flex: 1 1 280px;
  max-width: 420px;
}

.admin-list-search-input {
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(31, 63, 126, 0.12);
  background: #f8fbff;
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.admin-list-search-input:focus {
  border-color: rgba(16, 81, 207, 0.36);
  box-shadow: 0 0 0 4px rgba(16, 81, 207, 0.12);
  background: #fff;
}

.admin-list-toolbar-extra {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .admin-list-toolbar {
    align-items: stretch;
  }

  .admin-list-search {
    max-width: none;
  }
}

.admin-products-table .admin-inline-price {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 180px;
}

.admin-products-table .admin-home-toggle {
  width: 18px;
  height: 18px;
  accent-color: #1d4ed8;
  cursor: pointer;
}

.admin-products-table .admin-home-toggle.is-done {
  outline: 2px solid rgba(29, 78, 216, 0.35);
  outline-offset: 2px;
}

.admin-inline-input {
  width: 104px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid #d7e3f8;
  background: #f8fbff;
  color: var(--text);
  font: inherit;
  outline: none;
}

.admin-inline-input:focus {
  border-color: rgba(16, 81, 207, 0.36);
  box-shadow: 0 0 0 4px rgba(16, 81, 207, 0.12);
  background: #fff;
}

.admin-inline-save {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid #d7e3f8;
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
  color: #1b4fc9;
  font-weight: 700;
  cursor: pointer;
}

.admin-inline-save.is-done {
  color: #177245;
  border-color: rgba(23, 114, 69, 0.22);
  background: rgba(23, 114, 69, 0.08);
}

@media (max-width: 980px) {
  .admin-sidebar {
    position: static;
    min-height: auto;
    padding: 18px 16px 14px;
    box-shadow: none;
  }

  .admin-sidebar-brand {
    padding: 0 4px 10px;
    margin-bottom: 10px;
  }

  .admin-sidebar > a {
    display: inline-flex;
    min-height: 42px;
    margin: 0 8px 8px 0;
    padding: 0 14px;
  }

  .admin-content {
    padding: 16px;
  }

  .admin-topbar,
  .admin-panel-section {
    padding: 18px;
    border-radius: 20px;
  }

  .admin-actions {
    width: 100%;
    gap: 10px;
    flex-wrap: wrap;
  }

  .admin-actions > * {
    flex: 1 1 180px;
  }

  .section-heading {
    gap: 12px;
  }

  .admin-table {
    min-width: 680px;
  }
}

@media (max-width: 640px) {
  .admin-sidebar {
    border-radius: 0 0 20px 20px;
  }

  .admin-sidebar > a {
    width: calc(50% - 8px);
    justify-content: center;
    text-align: center;
  }

  .admin-topbar h2 {
    font-size: 1.45rem;
  }

  .admin-topbar p,
  .section-heading p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .admin-table {
    min-width: 560px;
  }

  .admin-filter-select,
  .admin-list-search,
  .admin-actions > *,
  .admin-primary-button,
  .admin-secondary-button,
  .admin-danger-button {
    width: 100%;
    min-width: 0;
    flex-basis: 100%;
    justify-content: center;
  }

  .admin-products-table .admin-inline-price {
    min-width: 150px;
  }

  .admin-inline-input {
    width: 90px;
  }
}

@media (max-width: 980px) {
  .admin-sidebar {
    position: static;
    min-height: auto;
    padding: 16px 14px 12px;
    box-shadow: none;
    border-radius: 0 0 22px 22px;
  }

  .admin-sidebar-brand {
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 12px;
  }

  .admin-sidebar > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 0 8px 8px 0;
    padding: 0 14px;
    border-radius: 14px;
  }

  .admin-content {
    padding: 16px;
  }

  .admin-topbar,
  .admin-panel-section,
  .admin-card {
    padding: 18px;
    border-radius: 20px;
  }

  .admin-actions {
    width: 100%;
    gap: 10px;
    flex-wrap: wrap;
  }

  .admin-actions > * {
    flex: 1 1 180px;
  }

  .admin-filter-select,
  .admin-list-search {
    width: 100%;
    max-width: none;
  }

  .admin-table {
    min-width: 720px;
  }
}

@media (max-width: 640px) {
  .admin-sidebar > a {
    width: calc(50% - 8px);
    margin-right: 8px;
    text-align: center;
  }

  .admin-topbar h2 {
    font-size: 1.55rem;
  }

  .admin-topbar p,
  .section-heading p {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .admin-actions > * {
    flex: 1 1 100%;
  }

  .admin-panel-section,
  .admin-card,
  .admin-topbar {
    padding: 16px;
  }

  .admin-products-table .admin-inline-price {
    min-width: 168px;
    flex-wrap: wrap;
  }

  .admin-inline-input,
  .admin-inline-save {
    width: 100%;
  }

  .admin-pagination {
    gap: 14px;
  }
}

.admin-drag-col {
  width: 56px;
}

.admin-drag-cell {
  width: 56px;
  text-align: center;
}

.admin-table td.admin-drag-cell,
.admin-table th.admin-drag-col {
  padding-left: 10px;
  padding-right: 10px;
}

.admin-drag-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid #d8e3f3;
  background: linear-gradient(180deg, #ffffff, #f5f8fe);
  color: #64718d;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: grab;
  touch-action: none;
}

.admin-draggable-row.is-dragging {
  opacity: 0.55;
}

.admin-draggable-row.is-drag-over {
  outline: 2px dashed rgba(37, 93, 214, 0.34);
  outline-offset: -6px;
}

.admin-draggable-row.is-dragging .admin-drag-handle {
  cursor: grabbing;
}

@media (max-width: 640px) {
  .admin-drag-col,
  .admin-drag-cell {
    width: 48px;
  }

  .admin-drag-handle {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 0.82rem;
  }
}


/* Navigation repair overrides */
.nav-all-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1f2a44;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.nav-all-toggle:hover,
.nav-all-toggle:focus-visible {
  color: var(--red);
  outline: none;
}

.nav-all-toggle:hover .all-categories-icon span,
.nav-all-toggle:focus-visible .all-categories-icon span {
  background: var(--red);
}

.dropdown-menu-all {
  width: min(980px, calc(100vw - 40px));
  max-width: min(980px, calc(100vw - 40px));
}

.dropdown-group {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
}

.dropdown-group a {
  display: block;
  line-height: 1.35;
  color: var(--muted);
  font-size: 0.96rem;
  white-space: normal;
  word-break: break-word;
}

.dropdown-group-title {
  display: block;
  margin: 0 0 2px;
  font-size: 1rem;
  font-weight: 800;
  color: #1e2a45;
}
/* Product card interaction repair */
.product-thumb,
.thumb-dot {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.96);
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
}

.product-thumb img,
.thumb-dot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumb.is-active,
.thumb-dot.is-active {
  outline: 2px solid #ff7c43;
  outline-offset: 1px;
}

.product-image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.product-thumbs {
  z-index: 6;
}

.product-hover-meta {
  z-index: 5;
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-hover-meta,
  .product-card:focus-within .product-hover-meta {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Mobile header layout repair */
@media (max-width: 720px) {
  .header-top {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px 0 10px;
  }

  .brand {
    display: block;
    max-width: 84px;
  }

  .brand-mark {
    width: 84px;
    min-width: 84px;
    height: 84px;
    border-radius: 22px;
    padding: 8px;
  }

  .promo-bar-inline {
    min-width: 0;
  }

  .promo-bar {
    border-radius: 14px;
  }

  .promo-marquee span {
    font-size: 0.72rem;
    padding: 8px 14px;
  }

  .nav-row {
    display: block;
    padding: 8px 0 12px;
  }

  .menu-button {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 8px;
  }

  .main-nav {
    display: none !important;
    width: 100%;
    flex-direction: column !important;
    gap: 0 !important;
    background: #fff;
    border: 1px solid rgba(31, 63, 126, 0.08);
    border-radius: 18px;
    box-shadow: 0 16px 30px rgba(17, 35, 71, 0.08);
    overflow: hidden;
  }

  .main-nav.is-open {
    display: flex !important;
  }

  .nav-item,
  .nav-item-all {
    width: 100%;
    border-bottom: 1px solid #eef2f8;
  }

  .nav-item:last-child,
  .nav-item-all:last-child {
    border-bottom: 0;
  }

  .nav-item > a,
  .nav-all-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    font-size: 0.98rem;
  }

  .all-categories-label {
    text-align: left;
  }

  .dropdown-menu,
  .dropdown-menu-all {
    position: static !important;
    display: none;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0;
    padding: 4px 0 10px;
    border: 0;
    border-top: 1px solid #eef2f8;
    border-radius: 0;
    box-shadow: none;
    background: #f7f9fd;
  }

  .nav-item.is-open > .dropdown-menu,
  .nav-item-all.is-open > .dropdown-menu-all {
    display: grid !important;
  }

  .dropdown-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 8px 16px 2px;
  }

  .dropdown-group-title,
  .dropdown-menu a {
    display: block;
    padding: 8px 0;
    white-space: normal;
    word-break: break-word;
  }

  .main-nav,
  .nav-links-window {
    align-items: flex-start !important;
    text-align: left !important;
  }

  .nav-item > a,
  .nav-all-toggle,
  .dropdown-menu a,
  .dropdown-group-title {
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .all-categories-label {
    justify-items: start;
    text-align: left !important;
  }
}
/* Vitrin and banner ratio repair */
.hero-slider {
  overflow: hidden;
}

.hero-track {
  aspect-ratio: 3 / 1;
  min-height: 0;
}

.hero-slide,
.hero-slide.is-full-bleed,
.hero-slide.is-contained {
  border-radius: 30px;
  overflow: hidden;
}

.hero-banner-link {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
}

.hero-banner-image {
  display: block;
  width: 100%;
  height: 100%;
  object-position: center;
}

.hero-slide.is-full-bleed .hero-banner-image {
  object-fit: cover;
}

.hero-slide.is-contained .hero-banner-image {
  object-fit: contain;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  padding: 20px;
  border-radius: 0;
  box-shadow: none;
}

.banner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.brand-logo-strip {
  margin: 0 0 14px;
  padding: 8px 0 10px;
  overflow: hidden;
  border-top: 0;
  border-bottom: 0;
}

.brand-logo-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: brand-logo-marquee 26s linear infinite;
}

.brand-logo-group {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
}

.brand-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  height: 38px;
  cursor: pointer;
  touch-action: manipulation;
}

.brand-logo-item img {
  display: block;
  max-height: 34px;
  width: auto;
  max-width: 132px;
  object-fit: contain;
}

.brand-logo-strip:hover .brand-logo-track {
  animation-play-state: paused;
}

.home-videos {
  position: relative;
  margin: 20px 0 16px;
  padding: 0 10px;
}

.home-videos-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0;
}

.home-videos-track::-webkit-scrollbar {
  display: none;
}

.home-video-card {
  position: relative;
  flex: 0 0 320px;
  width: 320px;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: start;
  background: #111;
}

.home-video-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.28) 35%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
  z-index: 1;
}

.home-video-card-media {
  position: absolute;
  inset: 0;
}

.home-video-card-media iframe {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.home-gallery-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none;
}

.home-video-card-link-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.home-video-card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 10px 12px 12px;
  background: rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(1.4px);
  -webkit-backdrop-filter: blur(1.4px);
  display: grid;
  gap: 8px;
  z-index: 3;
}

.home-video-card-overlay h3 {
  margin: 0;
  color: #fff;
  font-family: "Barlow", sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.22;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.home-video-card-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 38px;
  width: 100%;
  background: #fff;
  color: #1a1f31;
  border-radius: 8px;
  font-family: "Barlow", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  position: relative;
  z-index: 4;
}

.home-videos-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #121a2a;
  box-shadow: 0 8px 24px rgba(15, 28, 57, 0.22);
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-videos-nav-prev {
  left: -2px;
}

.home-videos-nav-next {
  right: -2px;
}

.banner-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(16, 42, 95, 0.08), rgba(176, 24, 81, 0.08));
  box-shadow: 0 14px 30px rgba(16, 42, 95, 0.10);
}

.banner-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 980px) {
  .banner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero-track {
    aspect-ratio: 3 / 1;
    border-radius: 22px;
  }

  .hero-slide,
  .hero-slide.is-full-bleed,
  .hero-slide.is-contained {
    border-radius: 22px;
  }

  .hero-slide.is-contained .hero-banner-image {
    padding: 10px;
  }

  .banner-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .brand-logo-strip {
    margin: 0 0 10px;
    padding: 6px 0 8px;
  }

  .brand-logo-track,
  .brand-logo-group {
    gap: 22px;
    padding-right: 22px;
  }

  .brand-logo-item {
    min-width: 72px;
    height: 30px;
  }

  .brand-logo-item img {
    max-height: 26px;
    max-width: 100px;
  }

  .home-videos {
    margin: 18px 0 12px;
    padding: 0;
  }

  .home-videos-track {
    gap: 12px;
  }

  .home-video-card {
    flex-basis: 76vw;
    width: 76vw;
    max-width: 320px;
    min-width: 220px;
  }

  .home-videos-nav-prev {
    left: -8px;
  }

  .home-videos-nav-next {
    right: -8px;
  }

  .home-videos-nav {
    display: inline-flex;
    width: 34px;
    height: 34px;
    font-size: 1.25rem;
    opacity: 0.96;
  }

  .home-videos-nav-prev {
    left: 4px;
  }

  .home-videos-nav-next {
    right: 4px;
  }
}

@media (max-width: 560px) {
  .home-video-card {
    flex-basis: 82vw;
    width: 82vw;
  }

  .home-videos-track {
    gap: 12px;
  }

  .home-videos-nav {
    display: inline-flex;
  }

  .banner-card {
    border-radius: 18px;
  }
}

/* Final stable navigation model */
@media (min-width: 901px) {
  html,
  body {
    overflow-x: hidden !important;
  }

  .site-header {
    overflow: visible !important;
    z-index: 1000;
  }

  .nav-row,
  .main-nav {
    min-width: 0;
    max-width: 100%;
    overflow: visible !important;
  }

  .main-nav {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 22px;
  }

  .nav-item-all {
    position: static !important;
    z-index: 4;
  }

  .nav-links-window {
    display: flex !important;
    align-items: center;
    gap: clamp(14px, 1.25vw, 24px);
    min-width: 0;
    max-width: 100%;
    overflow: hidden !important;
    white-space: nowrap;
  }

  .nav-links-window > .nav-item {
    flex: 0 0 auto;
  }

  .nav-links-window > .nav-item:nth-child(n + 8) {
    display: none !important;
  }

  .nav-links-window > .nav-item > a {
    display: inline-flex;
    max-width: 145px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-links-window > .nav-item > .dropdown-menu {
    display: none !important;
  }

  .dropdown-menu-all {
    position: absolute !important;
    left: 0 !important;
    top: calc(100% + 12px) !important;
    width: min(1120px, calc(100vw - 80px)) !important;
    max-width: min(1120px, calc(100vw - 80px)) !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px 20px;
    padding: 20px;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(10px) !important;
    z-index: 5000 !important;
  }

  .nav-item-all:hover > .dropdown-menu-all,
  .nav-item-all:focus-within > .dropdown-menu-all,
  .nav-item-all.is-open > .dropdown-menu-all {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }
}

@media (min-width: 901px) and (max-width: 1280px) {
  .nav-links-window > .nav-item:nth-child(n + 6) {
    display: none !important;
  }
}

/* Navigation emergency hard reset - 2026-04-11
   Keeps the header stable even with many categories. Closed menus are removed
   from layout completely, so they cannot overlay or corrupt the page render. */
@media (min-width: 901px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  .site-header,
  .header-top,
  .nav-row,
  .main-nav {
    max-width: 100%;
    min-width: 0;
    overflow: visible !important;
  }

  .site-header {
    position: relative;
    z-index: 1000;
  }

  .nav-row {
    position: relative;
    z-index: 1001;
  }

  .main-nav {
    position: relative;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    width: 100%;
  }

  .nav-item-all {
    position: relative !important;
    flex: 0 0 auto;
    z-index: 2;
  }

  .nav-links-window {
    display: flex !important;
    align-items: center;
    gap: clamp(14px, 1.25vw, 24px);
    min-width: 0;
    max-width: 100%;
    overflow: hidden !important;
    white-space: nowrap;
  }

  .nav-links-window > .nav-item {
    display: flex !important;
    flex: 0 0 auto;
    min-width: 0;
  }

  .nav-links-window > .nav-item:nth-child(n + 7) {
    display: none !important;
  }

  .nav-links-window > .nav-item > a {
    max-width: 135px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-links-window > .nav-item > .dropdown-menu,
  .nav-links-window > .nav-item:hover > .dropdown-menu,
  .nav-links-window > .nav-item:focus-within > .dropdown-menu,
  .nav-links-window > .nav-item.is-open > .dropdown-menu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .dropdown-menu-all,
  .nav-item-all:hover > .dropdown-menu-all,
  .nav-item-all:focus-within > .dropdown-menu-all {
    display: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .nav-item-all.is-open > .dropdown-menu-all {
    position: absolute !important;
    left: 0 !important;
    top: calc(100% + 10px) !important;
    display: grid !important;
    width: min(1080px, calc(100vw - 72px)) !important;
    max-width: min(1080px, calc(100vw - 72px)) !important;
    max-height: min(68vh, 520px) !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px 20px;
    padding: 20px !important;
    overflow: auto !important;
    border: 1px solid rgba(31, 63, 126, 0.08);
    border-radius: 22px;
    background: #fff !important;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
    z-index: 6000 !important;
  }

  .dropdown-menu-all::before {
    display: none !important;
  }

  .dropdown-menu-all .dropdown-group,
  .dropdown-menu-all .mega-menu-group {
    display: grid !important;
    align-content: start;
    gap: 8px;
    min-width: 0;
  }

  .dropdown-menu-all a {
    display: block;
    color: #475569;
    line-height: 1.35;
    white-space: normal;
    word-break: break-word;
  }

  .dropdown-menu-all .dropdown-group-title {
    color: #172033;
    font-weight: 800;
  }
}

@media (min-width: 901px) and (max-width: 1280px) {
  .nav-links-window > .nav-item:nth-child(n + 5) {
    display: none !important;
  }
}

/* Vitrin hard containment - 2026-04-11 */
.hero-slider,
.hero-track,
.hero-slide {
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.hero-slider {
  position: relative !important;
  isolation: isolate;
}

.hero-track {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 3 / 1 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: 600px !important;
}

.hero-slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: none !important;
}

.hero-slide.is-active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.hero-slide > a,
.hero-banner-link {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

.hero-banner-image,
.hero-slide.is-full-bleed .hero-banner-image,
.hero-slide.is-contained .hero-banner-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
}

.banner-grid {
  max-width: 100% !important;
  overflow: hidden !important;
}

.banner-card {
  aspect-ratio: 2 / 1 !important;
  overflow: hidden !important;
}

.banner-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* Final category navigation simplification - 2026-04-11
   One reliable entry point: all categories. Prevents overflow completely. */
@media (min-width: 901px) {
  .main-nav {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .nav-links-window {
    display: none !important;
  }

  .nav-item-all {
    position: relative !important;
    display: inline-block !important;
    width: auto !important;
  }

  .nav-all-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 8px 2px;
    border: 0;
    background: transparent;
    color: #1f2a44;
    cursor: pointer;
  }

  .dropdown-menu-all,
  .nav-item-all > .dropdown-menu-all {
    display: none !important;
    position: absolute !important;
    left: 0 !important;
    top: calc(100% + 10px) !important;
    width: min(1080px, calc(100vw - 56px)) !important;
    max-width: min(1080px, calc(100vw - 56px)) !important;
    max-height: min(68vh, 520px) !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px 20px;
    padding: 20px !important;
    overflow: auto !important;
    border: 1px solid rgba(31, 63, 126, 0.08) !important;
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    z-index: 7000 !important;
  }

  .nav-item-all:hover > .dropdown-menu-all,
  .nav-item-all:focus-within > .dropdown-menu-all,
  .nav-item-all.is-open > .dropdown-menu-all {
    display: grid !important;
  }
}

/* Product card hard containment - 2026-04-11 */
img {
  max-width: 100%;
}

.products-grid {
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
}

.product-card {
  position: relative !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.product-image {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  aspect-ratio: 2 / 3 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  background: #f5f5f5 !important;
}

.product-image-link {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

.product-main-image {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
}

.product-corner-badge,
.product-thumbs,
.product-hover-meta {
  position: absolute !important;
}

@media (max-width: 720px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .product-image {
    aspect-ratio: 2 / 3 !important;
  }
}
/* Image flow safety override - 2026-04-11
   Do not let product or slider images escape their own boxes. */
.hero-slide > a,
.hero-banner-link,
.product-image-link {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

.hero-banner-image,
.product-main-image {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.product-image,
.hero-slide,
.hero-track {
  contain: layout paint;
}
/* Vitrin automatic fit restore - 2026-04-11
   1800x600 fills the slider; other ratios stay proportional and centered. */
.hero-slider {
  overflow: hidden !important;
}

.hero-track {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 3 / 1 !important;
  min-height: 0 !important;
  max-height: 600px !important;
  overflow: hidden !important;
  border-radius: 30px !important;
  background:
    linear-gradient(90deg, rgba(16, 42, 95, 0.12), rgba(255, 255, 255, 0.58) 36%, rgba(255, 255, 255, 0.58) 64%, rgba(176, 24, 81, 0.14)),
    #f3f5f9 !important;
    margin-bottom:25px;
}

.hero-slide {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: none !important;
}

.hero-slide.is-active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.hero-slide > a,
.hero-banner-link {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  z-index: 1;
}

.hero-slide.is-full-bleed .hero-banner-image {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  box-shadow: none !important;
}

.hero-slide.is-contained {
  background:
    linear-gradient(90deg, rgba(16, 42, 95, 0.16), rgba(255, 255, 255, 0.48) 32%, rgba(255, 255, 255, 0.48) 68%, rgba(176, 24, 81, 0.18)),
    #f4f5fa !important;
}

.hero-slide.is-contained::before {
  content: "";
  position: absolute;
  inset: -8%;
  background-image: var(--hero-slide-image);
  background-size: cover;
  background-position: center;
  filter: blur(30px) saturate(0.85);
  opacity: 0.34;
  transform: scale(1.08);
}

.hero-slide.is-contained::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245, 247, 252, 0.25), rgba(255,255,255,0.08), rgba(245, 229, 239, 0.25));
}

.hero-slide.is-contained .hero-banner-image {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: min(78%, 1180px) !important;
  max-height: 86% !important;
  padding: 0 !important;
  border-radius: 22px !important;
  object-fit: contain !important;
  object-position: center center !important;
  box-shadow: 0 24px 58px rgba(23, 40, 79, 0.18) !important;
}

.hero-slide.is-contained.is-wide-contained .hero-banner-image {
  max-width: min(78%, 1280px) !important;
  max-height: 82% !important;
}

.hero-slide.is-contained.is-square .hero-banner-image {
  max-width: min(36%, 460px) !important;
  max-height: 84% !important;
}

.hero-slide.is-contained.is-portrait .hero-banner-image {
  max-width: min(30%, 380px) !important;
  max-height: 88% !important;
}

@media (max-width: 720px) {
  .hero-track {
    border-radius: 22px !important;
  }

  .hero-slide.is-contained .hero-banner-image {
    max-width: 82% !important;
    max-height: 82% !important;
    border-radius: 16px !important;
  }

  .hero-slide.is-contained.is-square .hero-banner-image {
    max-width: 44% !important;
  }

  .hero-slide.is-contained.is-portrait .hero-banner-image {
    max-width: 36% !important;
  }
}

/* Bizimbutik-style stable menu restore - 2026-04-11 */
@media (min-width: 901px) {
  .site-header {
    overflow: visible !important;
    z-index: 2000 !important;
  }

  .nav-row {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    overflow: visible !important;
  }

  .main-nav {
    position: relative !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .nav-item,
  .nav-item-all {
    position: relative !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
  }

  .nav-links-window {
    display: flex !important;
    align-items: center !important;
    gap: clamp(20px, 2.1vw, 42px) !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    white-space: nowrap !important;
  }

  .nav-links-window > .nav-item {
    display: flex !important;
  }

  .nav-links-window > .nav-item[hidden] {
    display: none !important;
  }

  .nav-links-window > .nav-item > a,
  .nav-all-toggle {
    color: #1459e8 !important;
    font-weight: 700 !important;
    letter-spacing: 0.015em;
    min-height: 52px !important;
    white-space: nowrap !important;
  }

  .nav-links-window > .nav-item > a {
    display: inline-flex !important;
    align-items: center !important;
    max-width: 190px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .nav-all-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    cursor: pointer !important;
  }

  .dropdown-menu,
  .dropdown-menu-all,
  .nav-links-window > .nav-item > .dropdown-menu,
  .nav-item-all > .dropdown-menu-all {
    position: absolute !important;
    top: calc(100% + 0px) !important;
    left: 0 !important;
    display: grid !important;
    min-width: 220px !important;
    max-width: min(980px, calc(100vw - 56px)) !important;
    padding: 16px !important;
    border: 1px solid rgba(31, 63, 126, 0.08) !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 24px 55px rgba(24, 48, 95, 0.14) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(8px) !important;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease !important;
    z-index: 7000 !important;
  }

  .dropdown-menu::before,
  .dropdown-menu-all::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: -14px !important;
    height: 14px !important;
  }

  .nav-links-window > .nav-item:hover > .dropdown-menu,
  .nav-links-window > .nav-item:focus-within > .dropdown-menu,
  .nav-links-window > .nav-item.is-open > .dropdown-menu,
  .nav-item-all:hover > .dropdown-menu-all,
  .nav-item-all:focus-within > .dropdown-menu-all,
  .nav-item-all.is-open > .dropdown-menu-all {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  .dropdown-menu a,
  .dropdown-menu-all a {
    display: block !important;
    color: #1459e8 !important;
    padding: 6px 0 !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  .dropdown-menu a:hover,
  .dropdown-menu-all a:hover {
    color: #e11616 !important;
  }

  .dropdown-menu-all,
  .nav-item-all > .dropdown-menu-all {
    width: min(1080px, calc(100vw - 64px)) !important;
    max-height: min(68vh, 520px) !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    gap: 14px 24px !important;
    overflow: auto !important;
  }

  .mega-menu-group,
  .dropdown-group {
    display: grid !important;
    gap: 8px !important;
    align-content: start !important;
  }

  .dropdown-group-title {
    color: #172033 !important;
    font-weight: 800 !important;
  }
}

/* Final menu fix - 2026-04-11
   Overrides old nth-child hiding and lets dropdowns escape the nav row. */
@media (min-width: 901px) {
  .site-header,
  .header-top,
  .nav-row,
  .main-nav,
  .nav-links-window {
    overflow: visible !important;
  }

  .main-nav {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    gap: clamp(18px, 2vw, 34px) !important;
    align-items: center !important;
  }

  .nav-links-window {
    display: flex !important;
    align-items: center !important;
    gap: clamp(20px, 2vw, 40px) !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: nowrap !important;
  }

  .nav-links-window > .nav-item,
  .nav-links-window > .nav-item:nth-child(n),
  .nav-links-window > .nav-item:nth-child(n + 5),
  .nav-links-window > .nav-item:nth-child(n + 6),
  .nav-links-window > .nav-item:nth-child(n + 7),
  .nav-links-window > .nav-item:nth-child(n + 8) {
    display: flex !important;
  }

  .nav-links-window > .nav-item[hidden],
  .nav-links-window > .nav-item[hidden]:nth-child(n) {
    display: none !important;
  }

  .nav-links-window > .nav-item > .dropdown-menu,
  .nav-links-window > .nav-item:hover > .dropdown-menu,
  .nav-links-window > .nav-item:focus-within > .dropdown-menu,
  .nav-links-window > .nav-item.is-open > .dropdown-menu {
    display: grid !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .nav-links-window > .nav-item:hover > .dropdown-menu,
  .nav-links-window > .nav-item:focus-within > .dropdown-menu,
  .nav-links-window > .nav-item.is-open > .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  .nav-links-window > .nav-item > .dropdown-menu {
    top: calc(100% + 0px) !important;
    left: 0 !important;
    min-width: 220px !important;
    width: max-content !important;
    max-width: min(360px, calc(100vw - 56px)) !important;
  }

  .nav-item-all > .dropdown-menu-all,
  .nav-item-all:hover > .dropdown-menu-all,
  .nav-item-all:focus-within > .dropdown-menu-all,
  .nav-item-all.is-open > .dropdown-menu-all {
    display: grid !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .nav-item-all:hover > .dropdown-menu-all,
  .nav-item-all:focus-within > .dropdown-menu-all,
  .nav-item-all.is-open > .dropdown-menu-all {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }
}

/* Stable desktop category menu - final override 2026-04-11 */
@media (min-width: 901px) {
  html,
  body {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .site-header,
  .header-top,
  .nav-row,
  .main-nav,
  .main-nav .nav-item,
  .main-nav .nav-item-all,
  .main-nav .nav-links-window {
    overflow: visible !important;
  }

  .main-nav {
    position: relative !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: clamp(16px, 1.7vw, 28px) !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .main-nav .nav-links-window {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: clamp(18px, 1.75vw, 32px) !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    white-space: nowrap !important;
  }

  .main-nav .nav-links-window > .nav-item,
  .main-nav .nav-links-window > .nav-item:nth-child(n),
  .main-nav .nav-links-window > .nav-item:nth-child(n + 4),
  .main-nav .nav-links-window > .nav-item:nth-child(n + 5),
  .main-nav .nav-links-window > .nav-item:nth-child(n + 6),
  .main-nav .nav-links-window > .nav-item:nth-child(n + 7),
  .main-nav .nav-links-window > .nav-item:nth-child(n + 8),
  .main-nav .nav-links-window > .nav-item:nth-child(n + 9) {
    display: flex !important;
    flex: 0 0 auto !important;
    position: relative !important;
  }

  .main-nav .nav-links-window > .nav-item[hidden],
  .main-nav .nav-links-window > .nav-item[hidden]:nth-child(n),
  .main-nav .nav-links-window > .nav-item[style*="display: none"] {
    display: none !important;
  }

  .main-nav .nav-links-window > .nav-item > a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 52px !important;
    max-width: clamp(92px, 10vw, 170px) !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .main-nav .dropdown-menu,
  .main-nav .dropdown-menu-all,
  .main-nav .nav-links-window > .nav-item > .dropdown-menu,
  .main-nav .nav-item-all > .dropdown-menu-all {
    display: grid !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(8px) !important;
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease !important;
    z-index: 9000 !important;
  }

  .main-nav .nav-links-window > .nav-item > .dropdown-menu {
    position: absolute !important;
    top: calc(100% + 0px) !important;
    left: 0 !important;
    min-width: 220px !important;
    width: max-content !important;
    max-width: min(420px, calc(100vw - 48px)) !important;
    padding: 14px 16px !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,0.98) !important;
    border: 1px solid rgba(31,63,126,0.08) !important;
    box-shadow: 0 24px 55px rgba(24,48,95,0.14) !important;
  }

  .main-nav .nav-item-all > .dropdown-menu-all {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    width: min(1080px, calc(100vw - 56px)) !important;
    max-height: min(68vh, 520px) !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    gap: 14px 24px !important;
    padding: 20px !important;
    overflow: auto !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,0.98) !important;
    border: 1px solid rgba(31,63,126,0.08) !important;
    box-shadow: 0 28px 70px rgba(15,23,42,0.18) !important;
  }

  .main-nav .nav-links-window > .nav-item:hover > .dropdown-menu,
  .main-nav .nav-links-window > .nav-item:focus-within > .dropdown-menu,
  .main-nav .nav-links-window > .nav-item.is-open > .dropdown-menu,
  .main-nav .nav-item-all:hover > .dropdown-menu-all,
  .main-nav .nav-item-all:focus-within > .dropdown-menu-all,
  .main-nav .nav-item-all.is-open > .dropdown-menu-all {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  .main-nav .dropdown-menu a,
  .main-nav .dropdown-menu-all a {
    display: block !important;
    padding: 7px 0 !important;
    color: #1459e8 !important;
    line-height: 1.35 !important;
    white-space: normal !important;
  }
}

/* Hard locked menu behavior - 2026-04-11 */
@media (min-width: 901px) {
  .main-nav .nav-links-window {
    gap: clamp(12px, 1.25vw, 24px) !important;
    overflow: visible !important;
  }

  .main-nav .nav-links-window > .nav-item > a {
    max-width: clamp(82px, 8.5vw, 142px) !important;
    font-size: clamp(13px, 0.88vw, 16px) !important;
  }

  .main-nav .nav-item-all {
    z-index: 9100 !important;
  }

  .main-nav .nav-links-window > .nav-item {
    z-index: 9050 !important;
  }

  .main-nav .nav-links-window > .nav-item > .dropdown-menu,
  .main-nav .nav-item-all > .dropdown-menu-all {
    clip: auto !important;
    contain: none !important;
  }

  .main-nav .nav-links-window > .nav-item.is-open > .dropdown-menu,
  .main-nav .nav-links-window > .nav-item:hover > .dropdown-menu,
  .main-nav .nav-links-window > .nav-item:focus-within > .dropdown-menu,
  .main-nav .nav-item-all.is-open > .dropdown-menu-all,
  .main-nav .nav-item-all:hover > .dropdown-menu-all,
  .main-nav .nav-item-all:focus-within > .dropdown-menu-all {
    display: grid !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  .main-nav .nav-item-all > .dropdown-menu-all {
    left: 0 !important;
    right: auto !important;
  }
}

/* Mobile header promo alignment - 2026-04-11 */
@media (max-width: 720px) {
  .site-header .header-top {
    display: grid !important;
    grid-template-columns: 42px auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 14px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

.site-header .menu-button {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 78px !important;
  height: 78px !important;
  margin: 0 !important;
  align-self: center !important;
  justify-self: start !important;
  color: var(--text) !important;
}

.menu-button .menu-label {
  display: none !important;
}

.menu-button .menu-bar {
  display: none !important;
}

  .site-header .brand {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
  }

  .site-header .brand-mark {
    width: clamp(82px, 23vw, 124px) !important;
    min-width: clamp(82px, 23vw, 124px) !important;
    height: 50px !important;
    border-radius: 14px !important;
  }

  .site-header .brand-mark.has-image {
    height: 50px !important;
    padding: 0 !important;
  }

  .site-header .brand-logo-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  .site-header .promo-bar-inline {
    grid-column: 3 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 auto !important;
  }

  .site-header .promo-bar {
    height: 44px !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }

  .site-header .promo-track {
    width: 100% !important;
  }

.site-header .promo-marquee span {
    font-size: clamp(12px, 3vw, 14px) !important;
    line-height: 1 !important;
    padding-right: 26px !important;
  }
}

.site-header {
  position: sticky !important;
  top: 0;
  z-index: 3000 !important;
}

.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}

.site-header + main {
  padding-top: 0 !important;
}

@media (max-width: 420px) {
  .site-header .header-top {
    grid-template-columns: 38px auto minmax(0, 1fr) !important;
    gap: 8px !important;
    padding: 8px 10px !important;
  }

  .site-header .menu-button {
    width: 56px !important;
    height: 56px !important;
  }

  .site-header .brand-mark,
  .site-header .brand-mark.has-image {
    width: clamp(76px, 22vw, 96px) !important;
    min-width: clamp(76px, 22vw, 96px) !important;
    height: 44px !important;
  }

.site-header .promo-bar {
      height: 40px !important;
      min-height: 40px !important;
      border-radius: 14px !important;
    }
  }

@media (max-width: 900px) {
  .main-nav .nav-item-all {
    display: none !important;
  }
}
/* Panel theme binding - 2026-04-11 */
.site-header,
.nav-row,
.main-nav,
.dropdown-menu,
.dropdown-panel,
.all-categories-panel {
  background-color: var(--bg);
  color: var(--text);
}
.main-nav a,
.main-nav button,
.dropdown-menu a,
.dropdown-panel a,
.all-categories-panel a,
.breadcrumb,
.product-card,
.product-card-title,
.product-code,
.section-heading,
.page-title {
  color: var(--text);
}
.product-code,
.breadcrumb,
.empty-state,
.product-count,
.section-subtitle {
  color: var(--muted);
}
.nav-item:hover > a,
.nav-item:hover > button,
.dropdown-menu a:hover,
.dropdown-panel a:hover,
.all-categories-panel a:hover {
  color: var(--red);
}
.promo-bar {
  background-color: var(--promo-bar, var(--red));
  color: #fff;
}
.product-price {
  color: var(--red);
}
.site-footer {
  background: linear-gradient(135deg, var(--navy), var(--blue) 55%, var(--violet));
  color: var(--footer-text);
}
.site-footer h3,
.site-footer h4,
.site-footer p,
.site-footer a,
.site-footer span {
  color: var(--footer-text);
}
/* Menu color follows logo accent - 2026-04-11 */
.main-nav a,
.main-nav button,
.dropdown-menu a,
.dropdown-panel a,
.all-categories-panel a,
.nav-item > a,
.nav-item > button,
.all-categories-label,
.all-categories-label strong,
.all-categories-label span {
  color: var(--cyan);
}
.nav-item:hover > a,
.nav-item:hover > button,
.dropdown-menu a:hover,
.dropdown-panel a:hover,
.all-categories-panel a:hover,
.main-nav a.is-active {
  color: var(--cyan);
}
/* All menu category text follows logo accent - 2026-04-11 */
.site-header .main-nav,
.site-header .main-nav *,
.site-header .dropdown-menu,
.site-header .dropdown-menu *,
.site-header .dropdown-menu-all,
.site-header .dropdown-menu-all *,
.site-header .dropdown-group,
.site-header .dropdown-group *,
.site-header .mega-menu-group,
.site-header .mega-menu-group *,
.site-header .nav-links-window,
.site-header .nav-links-window *,
.site-header .all-categories-label,
.site-header .all-categories-label *,
.site-header .nav-all-toggle,
.site-header .nav-all-toggle * {
  color: var(--cyan) !important;
}
/* Scoped menu color from panel logo accent - 2026-04-11 */
html body .site-header .main-nav,
html body .site-header .main-nav a,
html body .site-header .main-nav button,
html body .site-header .main-nav span,
html body .site-header .main-nav strong,
html body .site-header .dropdown-menu a,
html body .site-header .dropdown-menu-all a,
html body .site-header .dropdown-group-title,
html body .site-header .all-categories-label,
html body .site-header .all-categories-label strong,
html body .site-header .all-categories-label span {
    color: var(--menu-color, var(--cyan)) !important;
  }

/* Large subcategory dropdowns: keep usable */
@media (min-width: 901px) {
  .site-header .dropdown-menu {
    max-height: 60vh !important;
    overflow-y: auto !important;
    padding-right: 10px !important;
    scrollbar-gutter: stable;
  }
  .site-header .dropdown-menu a {
    break-inside: avoid;
  }
}

@media (min-width: 901px) {
  .main-nav .nav-item,
  .main-nav .nav-item-all {
    padding-bottom: 14px !important;
    margin-bottom: -14px !important;
  }

  .main-nav .nav-links-window > .nav-item > .dropdown-menu,
  .main-nav .nav-item-all > .dropdown-menu-all {
    top: calc(100% - 4px) !important;
  }

  .main-nav .dropdown-menu::before,
  .main-nav .dropdown-menu-all::before {
    top: -18px !important;
    height: 18px !important;
  }
}
/* Banner title under image - 2026-04-11 */
.banner-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  aspect-ratio: auto !important;
  overflow: visible !important;
  background: transparent !important;
  box-shadow: none !important;
}
.banner-image-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(16, 42, 95, 0.08), rgba(176, 24, 81, 0.08));
  box-shadow: 0 14px 30px rgba(16, 42, 95, 0.10);
}
.banner-card .banner-image-wrap img,
.banner-card > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.banner-title {
  display: block;
  padding: 0 4px;
  color: var(--text);
  font-weight: 800;
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.25;
}
/* Product lazy reveal - 2026-04-11 */
.product-card.is-lazy-hidden {
  display: none !important;
}

/* Quality pass - 2026-04-12 */
.products-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.products-header h1 {
  margin: 0;
  line-height: 1.15;
}

.home-featured-products {
  margin: 22px 0 18px;
}

.home-featured-products .products-header h2 {
  margin: 0;
  line-height: 1.15;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.products-header p {
  margin: 8px 0 0;
}

.products-grid {
  align-items: stretch;
}

.product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1 1 auto;
}

.product-info h3,
.product-card-title {
  min-height: 2.4em;
}

.product-price-row,
.product-actions {
  margin-top: auto;
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-table {
  min-width: 720px;
}

/* Admin products table fit tune */
.admin-products-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.admin-products-table th,
.admin-products-table td {
  padding: 9px 6px;
  vertical-align: middle;
}

.admin-products-table th {
  font-size: 0.74rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.admin-products-table th:nth-child(1),
.admin-products-table td:nth-child(1) {
  width: 44px;
}

.admin-products-table th:nth-child(2),
.admin-products-table td:nth-child(2) {
  width: 36px;
}

.admin-products-table th:nth-child(3),
.admin-products-table td:nth-child(3) {
  width: 64px;
}

.admin-products-table th:nth-child(5),
.admin-products-table td:nth-child(5) {
  width: 88px;
}

.admin-products-table th:nth-child(6),
.admin-products-table td:nth-child(6) {
  width: 108px;
}

.admin-products-table th:nth-child(7),
.admin-products-table td:nth-child(7) {
  width: 88px;
}

.admin-products-table th:nth-child(8),
.admin-products-table td:nth-child(8) {
  width: 92px;
}

.admin-products-table th:nth-child(9),
.admin-products-table td:nth-child(9) {
  width: 118px;
}

.admin-products-table th:nth-child(10),
.admin-products-table td:nth-child(10) {
  width: 56px;
  text-align: center;
}

.admin-products-table th:nth-child(11),
.admin-products-table td:nth-child(11) {
  width: 64px;
  text-align: center;
}

.admin-products-table th:nth-child(12),
.admin-products-table td:nth-child(12) {
  width: 58px;
  text-align: center;
}

.admin-products-table th:nth-child(13),
.admin-products-table td:nth-child(13) {
  width: 104px;
}

.admin-products-table td strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.admin-products-table td:nth-child(9) {
  font-size: 0.82rem;
  line-height: 1.25;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.admin-products-table .admin-table-thumb {
  width: 46px;
  height: 46px;
  border-radius: 10px;
}

.admin-products-table .admin-inline-price {
  min-width: 0;
  gap: 6px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.admin-products-table .admin-inline-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 6px;
  min-width: 0;
  width: 100%;
}

.admin-products-table .admin-title-input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.admin-products-table td:nth-child(4) {
  overflow: hidden;
}

.admin-products-table th:nth-child(4),
.admin-products-table td:nth-child(4) {
  width: 168px;
}

.admin-products-table .admin-inline-title .admin-inline-save {
  min-width: 70px;
}

.admin-products-table .admin-inline-input {
  width: 100%;
  min-height: 34px;
  padding: 0 8px;
}

.admin-products-table .admin-inline-save {
  min-height: 34px;
  padding: 0 8px;
  font-size: 0.82rem;
  justify-self: start;
}

.admin-products-table .admin-home-toggle,
.admin-products-table .admin-new-toggle {
  margin-inline: auto;
  width: 18px;
  height: 18px;
  accent-color: #1d4ed8;
  cursor: pointer;
}

.admin-products-table .admin-table-actions {
  gap: 6px;
  flex-wrap: wrap;
}

.admin-products-table .admin-icon-button,
.admin-products-table .admin-delete-button {
  min-height: 30px;
  padding: 0 6px;
  font-size: 0.74rem;
}

.admin-products-table .admin-status-badge-compact {
  min-width: 44px;
  padding: 4px 8px;
  font-size: 0.72rem;
  line-height: 1.1;
}

.admin-products-bulk-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.admin-products-bulk-row .admin-bulk-button {
  min-width: 0;
  flex: 1 1 120px;
  min-height: 40px;
  padding: 0 12px;
  font-size: 0.9rem;
}

/* Desktop nav fit guard for many categories */
@media (min-width: 901px) {
  .main-nav .nav-links-window {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    align-content: flex-start !important;
    gap: 2px clamp(8px, 1.05vw, 16px) !important;
    white-space: normal !important;
  }

  .main-nav .nav-links-window > .nav-item {
    display: flex !important;
    flex: 0 0 auto !important;
  }

  .main-nav .nav-links-window > .nav-item.nav-item-brands {
    order: 9999 !important;
  }

  .main-nav .nav-links-window > .nav-item > a {
    min-height: 38px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    line-height: 1.15 !important;
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }

  .main-nav .nav-links-window > .nav-item:hover,
  .main-nav .nav-links-window > .nav-item.is-open,
  .main-nav .nav-item-all:hover,
  .main-nav .nav-item-all.is-open {
    z-index: 12050 !important;
  }

  .main-nav .nav-links-window > .nav-item > .dropdown-menu,
  .main-nav .nav-item-all > .dropdown-menu-all {
    z-index: 12060 !important;
  }
}

/* Mobile nav long-list stability */
@media (max-width: 900px) {
  body.nav-open {
    overflow: hidden;
  }

  .main-nav.is-mobile-scroll-nav {
    display: none !important;
  }

  .main-nav.is-mobile-scroll-nav.is-open {
    display: grid !important;
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-top: 1px solid #e5e7eb;
  }

  .main-nav.is-mobile-scroll-nav .nav-item-all,
  .main-nav.is-mobile-scroll-nav .dropdown-menu,
  .main-nav.is-mobile-scroll-nav .dropdown-menu-all {
    display: none !important;
  }

  .main-nav.is-mobile-scroll-nav .nav-mobile-scroll {
    width: 32px;
    height: 40px;
    border: 0;
    background: transparent;
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    line-height: 1;
    padding: 0;
    border-radius: 8px;
  }

  .main-nav.is-mobile-scroll-nav .nav-mobile-scroll[disabled] {
    opacity: 0.28;
  }

  .main-nav.is-mobile-scroll-nav .nav-links-window {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    min-width: 0;
    padding: 0 2px;
  }

  .main-nav.is-mobile-scroll-nav .nav-links-window::-webkit-scrollbar {
    display: none;
  }

  .main-nav.is-mobile-scroll-nav .nav-links-window > .nav-item,
  .main-nav.is-mobile-scroll-nav .nav-links-window > .nav-item.nav-item-brands {
    display: block !important;
    flex: 0 0 auto !important;
    width: auto !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .main-nav.is-mobile-scroll-nav .nav-links-window > .nav-item > a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px !important;
    border: 1px solid #d6d9e0;
    border-radius: 8px;
    background: #fff;
    white-space: nowrap;
    font-size: 0.95rem;
    line-height: 1;
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
}

.admin-list-toolbar {
  gap: 12px;
}

.admin-actions {
  flex-wrap: wrap;
}

.admin-filter-select {
  min-width: 220px;
}

@media (max-width: 980px) {
  .admin-topbar {
    gap: 14px;
  }

  .admin-actions {
    width: 100%;
  }

  .admin-actions > * {
    flex: 1 1 180px;
  }
}

@media (max-width: 720px) {
  .products-header {
    align-items: start;
    margin-bottom: 18px;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .product-info {
    padding: 10px 10px 14px;
  }

  .product-info h3,
  .product-card-title {
    min-height: 2.6em;
    font-size: 0.95rem;
  }

  .admin-topbar,
  .section-heading {
    align-items: stretch;
  }

  .section-heading {
    gap: 12px;
  }

  .admin-actions > * {
    width: 100%;
    flex: 1 1 100%;
  }
}

@media (max-width: 480px) {
  .products-grid {
    gap: 12px !important;
  }

  .product-info h3,
  .product-card-title {
    min-height: 2.8em;
    font-size: 0.92rem;
  }
}

.product-code {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.product-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 40px;
  margin-top: 10px;
  padding: 0 10px;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid rgba(92, 56, 82, 0.18);
  border-radius: 8px;
  background: rgba(92, 56, 82, 0.06);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.product-card-cta .cta-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
}

.product-card-cta .cta-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.product-card-cta .cta-label-desktop {
  display: inline;
}

.product-card-cta .cta-label-mobile {
  display: none;
}

@media (max-width: 720px) {
  .product-card-cta .cta-label-desktop {
    display: none;
  }
  .product-card-cta .cta-label-mobile {
    display: inline;
  }
}

.product-card-cta.is-whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #ffffff;
}

.product-card-cta.is-whatsapp:hover {
  background: #1ebe57;
  border-color: #1ebe57;
  color: #ffffff;
}

@media (min-width: 721px) {
  .product-card-cta.is-whatsapp {
    font-size: 0.92rem;
  }
}

.product-card-cta:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.content-page {
  padding: 28px 0 42px;
}

.content-page-section {
  margin-bottom: 22px;
  padding: 24px 0;
}

.content-page-kicker {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.content-page h1 {
  margin: 0 0 14px;
  max-width: 16ch;
  line-height: 1.08;
}

.content-page-section > p {
  max-width: 72ch;
  color: var(--muted);
  line-height: 1.7;
}

.content-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.content-page-grid > article {
  border: 1px solid rgba(31, 63, 126, 0.08);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(24, 48, 95, 0.06);
}

.content-page-grid h2 {
  margin: 0 0 10px;
  font-size: 1.02rem;
}

.content-page-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.content-page-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.content-page-cta:hover {
  filter: brightness(0.96);
}

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

@media (hover: none), (pointer: coarse), (max-width: 900px) {
  .product-hover-meta {
    display: none !important;
  }

  .product-mobile-meta {
    display: flex !important;
    flex-direction: column;
    gap: 6px;
  }

  .product-mobile-meta .product-hover-brand {
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.3;
  }

  .product-mobile-meta .product-hover-sizes {
    gap: 6px;
  }

  .product-thumbs {
    display: flex !important;
    left: 50% !important;
    right: auto !important;
    bottom: 10px !important;
    transform: translateX(-50%) !important;
    z-index: 6 !important;
  }
}

.admin-sidebar-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(39, 91, 214, 0.18);
  border-radius: 8px;
  background: #fff;
  color: #2149b8;
  box-shadow: 0 10px 24px rgba(33, 73, 184, 0.12);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}

.admin-sidebar-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.admin-sidebar-backdrop {
  display: none;
}

@media (max-width: 980px) {
  .admin-shell {
    position: relative;
    overflow-x: hidden;
  }

  .admin-sidebar-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .admin-sidebar {
    position: fixed !important;
    top: 0;
    left: 0;
    width: min(320px, calc(100vw - 36px));
    height: 100vh;
    min-height: 100vh !important;
    overflow-y: auto;
    transform: translateX(-104%);
    transition: transform 0.22s ease;
    border-radius: 0 22px 22px 0 !important;
    box-shadow: 18px 0 38px rgba(12, 28, 58, 0.22) !important;
    z-index: 1200;
  }

  .admin-sidebar > a {
    display: flex !important;
    width: 100% !important;
    margin: 0 0 8px 0 !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .admin-sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1100;
    border: 0;
    padding: 0;
    background: rgba(9, 19, 38, 0.46);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
  }

  .admin-sidebar-open .admin-sidebar {
    transform: translateX(0);
  }

  .admin-sidebar-open .admin-sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .admin-topbar {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .admin-sidebar {
    width: min(300px, calc(100vw - 24px));
    border-radius: 0 18px 18px 0 !important;
  }
}

/* Lightbox fit fix for tall product images (1200x1800 and similar) */
html body .product-lightbox .product-lightbox-dialog {
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  padding: 64px 92px 46px !important;
}

html body .product-lightbox .product-lightbox-image {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: calc(100vw - 210px) !important;
  max-height: calc(100vh - 128px) !important;
  object-fit: contain !important;
}

@media (max-width: 900px) {
  html body .product-lightbox .product-lightbox-dialog {
    padding: 58px 64px 34px !important;
  }

  html body .product-lightbox .product-lightbox-image {
    max-width: calc(100vw - 152px) !important;
    max-height: calc(100vh - 112px) !important;
  }
}

@media (max-width: 720px) {
  html body .product-lightbox .product-lightbox-dialog {
    padding: 54px 16px 22px !important;
  }

  html body .product-lightbox .product-lightbox-image {
    max-width: calc(100vw - 32px) !important;
    max-height: calc(100vh - 96px) !important;
  }
}

.admin-video-preview {
  width: min(300px, 100%);
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  margin-bottom: 12px;
}

.admin-video-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.mobile-drawer-menu {
  display: none;
}

/* Mobile nav always visible strip */
@media (max-width: 900px) {
  .site-header .menu-button,
  .mobile-drawer-menu,
  .mobile-drawer-menu * {
    font-family: Arial, Helvetica, sans-serif !important;
  }

  .site-header .menu-button {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    color: #111827 !important;
  }

  .site-header .menu-button .menu-icon-close {
    display: none !important;
  }

  .site-header .menu-button .menu-icon-open {
    display: block !important;
  }

  .site-header .menu-button.is-open .menu-icon-open {
    display: block !important;
  }

  .site-header .menu-button.is-open .menu-icon-close {
    display: none !important;
  }

  .site-header .menu-button .menu-icon {
    width: 40px !important;
    height: 40px !important;
    fill: currentColor !important;
    stroke: currentColor !important;
  }

  .site-header .menu-button .menu-icon.menu-icon-star {
    width: 24px !important;
    height: 34px !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 5px !important;
    fill: none !important;
    stroke: none !important;
    color: #000 !important;
  }

  .site-header .menu-button .menu-icon-star-label {
    display: block;
    font-family: "Source Sans 3", Arial, Helvetica, sans-serif !important;
    font-size: 8px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0;
  }

  .site-header .menu-button .menu-icon-star-bars {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
  }

  .site-header .menu-button .menu-icon-star-bars > span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }

  .site-header .header-top {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    padding: 4px 10px 0 !important;
    position: relative;
  }

  .site-header .nav-row {
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    border: 0 !important;
  }

  .site-header .main-nav {
    display: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .site-header .brand {
    grid-column: auto !important;
    margin: 0 auto !important;
    justify-content: center !important;
  }

  .site-header .mobile-home-link {
    display: none !important;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0;
    border: 1px solid #d6d9e0;
    border-radius: 8px;
    color: #111827;
    background: #fff;
    text-decoration: none;
    flex: 0 0 auto;
    position: absolute;
    right: 10px;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
  }

  .site-header .mobile-home-link svg {
    width: 20px;
    height: 20px;
    display: block;
  }

  .site-header .promo-bar-inline {
    display: none !important;
  }

  .site-header .brand-mark,
  .site-header .brand-mark.has-image {
    width: clamp(168px, 56vw, 280px) !important;
    min-width: clamp(168px, 56vw, 280px) !important;
    height: clamp(52px, 15vw, 74px) !important;
  }

  .site-header .brand-logo-image {
    object-position: center center !important;
  }

  .main-nav.is-mobile-scroll-nav,
  .main-nav.is-mobile-scroll-nav.is-open {
    display: none !important;
  }

  body.mobile-drawer-open {
    overflow: hidden;
  }

  .mobile-drawer-menu {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 4200;
    pointer-events: none;
  }

  .mobile-drawer-menu .mobile-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .mobile-drawer-menu .mobile-drawer-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: min(560px, 87vw);
    max-width: 100%;
    height: 100%;
    background: #ffffff;
    transform: translateX(-105%);
    transition: transform 0.22s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 8px 0 30px rgba(2, 8, 23, 0.22);
  }

  .mobile-drawer-menu.is-open {
    pointer-events: auto;
  }

  .mobile-drawer-menu.is-open .mobile-drawer-backdrop {
    opacity: 1;
  }

  .mobile-drawer-menu.is-open .mobile-drawer-panel {
    transform: translateX(0);
  }

  .mobile-drawer-view {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .mobile-drawer-view[hidden] {
    display: none !important;
  }

  .mobile-drawer-top {
    height: 38px;
    min-height: 38px;
    background: #e00909;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
  }

  .mobile-drawer-top-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.86rem;
    letter-spacing: 0.2px;
  }

  .mobile-drawer-top-icon {
    width: 18px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
  }

  .mobile-drawer-top-icon > span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }

  .mobile-drawer-close,
  .mobile-drawer-back {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .mobile-drawer-back {
    font-size: 26px;
  }

  .mobile-drawer-sub-title {
    flex: 1 1 auto;
    text-align: left;
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 8px 0 2px;
  }

  .mobile-drawer-list {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid #eceff4;
    background: #ffffff;
  }

  .mobile-drawer-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 47px;
    padding: 0 10px;
    border-bottom: 1px solid #eceff4;
    color: #111827;
    text-decoration: none;
    font-size: 0.97rem;
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: 0;
    background: #ffffff;
  }

  .mobile-drawer-heart {
    font-size: 17px;
    line-height: 1;
    color: #111827;
    flex: 0 0 auto;
  }

  .mobile-drawer-label {
    flex: 1 1 auto;
    min-width: 0;
  }

  .mobile-drawer-arrow {
    font-size: 34px;
    line-height: 0.8;
    color: #0f274f;
  }

  .main-nav.is-mobile-scroll-nav .mobile-nav-submenu-panel {
    grid-column: 1 / -1;
    margin-top: 0;
    padding: 0 12px 10px;
    border-top: 1px solid #e5e7eb;
    background: #fff;
    max-height: min(46vh, 340px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav.is-mobile-scroll-nav .mobile-nav-submenu-top {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    padding: 8px 2px 8px 0;
    background: #fff;
  }

  .main-nav.is-mobile-scroll-nav .mobile-nav-submenu-head {
    font-size: 0.8rem;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 0;
    padding-right: 0;
    text-transform: uppercase;
  }

  .main-nav.is-mobile-scroll-nav .mobile-nav-submenu-close {
    position: static;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 10px;
    background: #111827;
    color: #ffffff !important;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-right: 2px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.28);
  }

  .main-nav.is-mobile-scroll-nav .mobile-nav-submenu-links {
    display: grid;
    gap: 6px;
  }

  .main-nav.is-mobile-scroll-nav .mobile-nav-submenu-links a {
    display: block;
    padding: 8px 10px;
    border: 1px solid #d6d9e0;
    border-radius: 8px;
    background: #fff;
    color: #111827 !important;
    text-decoration: none;
    font-size: 0.92rem;
    line-height: 1.2;
  }

  .main-nav.is-mobile-scroll-nav .nav-links-window > .nav-item.is-open > a {
    border-color: #94a3b8;
    background: #f8fafc;
  }
}

@media (max-width: 420px) {
  .site-header .header-top {
    padding: 3px 8px 0 !important;
  }

  .site-header .brand-mark,
  .site-header .brand-mark.has-image {
    width: clamp(154px, 56vw, 236px) !important;
    min-width: clamp(154px, 56vw, 236px) !important;
    height: clamp(48px, 14vw, 64px) !important;
  }
}

/* Vefat Edenler nostalgic archive theme */
:root {
  --memorial-paper: #f2eadc;
  --memorial-ink: #2f2a24;
  --memorial-muted: #746b5d;
  --memorial-stone: #cfc8ba;
  --memorial-stone-dark: #8d8578;
  --memorial-sepia: #7a4f2d;
  --memorial-shadow: 0 20px 44px rgba(58, 45, 31, 0.18);
}

body {
  background:
    radial-gradient(circle at 12% 6%, rgba(122, 79, 45, 0.09), transparent 28%),
    linear-gradient(180deg, #f7f0e5 0%, #eee3d4 52%, #e9ddcc 100%);
  color: var(--memorial-ink);
}

.site-header {
  background:
    linear-gradient(180deg, rgba(247, 240, 229, 0.96), rgba(238, 227, 212, 0.94));
  border-bottom-color: rgba(88, 70, 48, 0.18);
}

.brand-mark {
  border: 1px solid rgba(79, 64, 47, 0.35);
  border-radius: 8px;
  background:
    linear-gradient(135deg, #4c4338 0%, #756754 52%, #302a25 100%);
  color: #f6efe2;
  box-shadow: 0 12px 30px rgba(52, 40, 28, 0.2);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.promo-bar {
  border: 1px solid rgba(88, 70, 48, 0.28);
  border-radius: 6px;
  background: #4f4235;
  color: #f7ecd8;
  letter-spacing: 0;
}

.main-nav,
.nav-item > a,
.all-categories-icon span {
  color: var(--memorial-ink);
}

.products-header h1,
.home-featured-products .products-header h2 {
  color: var(--memorial-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.products-header p {
  color: var(--memorial-muted);
}

.products-grid {
  gap: clamp(18px, 2vw, 30px);
}

.product-card {
  position: relative;
  isolation: isolate;
  min-height: 430px;
  padding: 22px 18px 18px;
  border: 1px solid rgba(74, 66, 54, 0.28);
  border-radius: 48% 48% 8px 8px / 76px 76px 8px 8px;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.46), transparent 24%),
    radial-gradient(circle at 72% 44%, rgba(76, 68, 57, 0.1), transparent 22%),
    linear-gradient(135deg, #ded8cb 0%, #c7bfb1 54%, #a79f91 100%);
  box-shadow: var(--memorial-shadow);
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 12px 12px auto;
  height: 118px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-bottom: 0;
  border-radius: 50% 50% 0 0 / 88px 88px 0 0;
  pointer-events: none;
  z-index: -1;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(0deg, rgba(65, 57, 48, 0.08) 1px, transparent 1px);
  background-size: 43px 43px, 37px 37px;
  opacity: 0.28;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: -1;
}

.product-image {
  width: 150px !important;
  max-width: 62% !important;
  aspect-ratio: 20 / 23 !important;
  min-height: 0;
  margin: 48px auto 14px;
  border: 8px solid rgba(73, 63, 50, 0.42);
  border-radius: 50% 50% 8px 8px / 36% 36% 8px 8px;
  background: #e8dfd2;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    0 10px 20px rgba(49, 40, 29, 0.18);
  overflow: hidden;
}

.product-main-image {
  filter: sepia(0.24) saturate(0.78) contrast(0.92);
}

.product-info {
  align-items: center;
  gap: 7px;
  padding: 0 6px 6px;
  text-align: center;
}

.product-info h3,
.product-card-title {
  min-height: 0;
  margin: 0;
  color: var(--memorial-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.18rem, 1.4vw, 1.45rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.product-title-link:hover {
  color: #5f4028;
}

.product-code {
  color: #51483c;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-price {
  max-width: 30ch;
  color: #3c352d;
  font-family: "Barlow", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
}

.product-card-cta {
  min-height: 38px;
  margin-top: 8px;
  border-color: rgba(72, 58, 42, 0.34);
  border-radius: 6px;
  background: rgba(247, 240, 229, 0.58);
  color: #3f3428;
  font-size: 0.82rem;
}

.product-card-cta.is-whatsapp {
  background: #4f4235;
  border-color: #4f4235;
  color: #f7ecd8;
}

.product-card-cta.is-whatsapp:hover,
.product-card-cta:hover {
  background: #332a22;
  border-color: #332a22;
  color: #fff7e8;
}

.product-corner-badge {
  top: 18px;
  right: 50%;
  transform: translateX(50%);
  min-height: 28px;
  max-width: 132px;
  border: 1px solid rgba(84, 66, 45, 0.28);
  border-radius: 4px;
  background: rgba(247, 240, 229, 0.84);
  color: #5d442a;
  box-shadow: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.72rem;
}

.product-corner-badge:hover {
  transform: translateX(50%);
  box-shadow: none;
}

.product-corner-badge.is-symbol {
  min-width: 34px;
  max-width: 34px;
  min-height: 34px;
  border-radius: 50%;
  background: rgba(247, 240, 229, 0.82);
  color: #6a4b31;
  font-size: 20px;
}

.product-zoom-button,
.product-thumbs,
.product-hover-meta,
.product-mobile-meta {
  display: none !important;
}

.site-footer {
  background: #332b24;
}

@media (max-width: 720px) {
  .product-card {
    min-height: 360px;
    padding: 18px 12px 14px;
    border-radius: 48% 48% 8px 8px / 56px 56px 8px 8px;
  }

  .product-image {
    width: 112px !important;
    max-width: 64% !important;
    margin-top: 38px;
    border-width: 6px;
  }

  .product-info h3,
  .product-card-title {
    min-height: 0;
    font-size: 1.02rem;
  }

  .product-price {
    font-size: 0.86rem;
  }

  .product-card-cta {
    white-space: normal;
    line-height: 1.2;
  }
}

/* Full redesign - editorial memorial archive */
:root {
  --archive-bg: #ede4d4;
  --archive-paper: #f8f1e6;
  --archive-paper-2: #efe2cf;
  --archive-ink: #211b16;
  --archive-muted: #756a5b;
  --archive-line: rgba(67, 54, 40, 0.18);
  --archive-deep: #251d17;
  --archive-brass: #9b7448;
  --archive-green: #344a3d;
  --archive-stone: #c8c0b3;
  --archive-stone-2: #a79f91;
  --archive-radius: 10px;
}

html body {
  background:
    linear-gradient(rgba(68, 54, 36, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(68, 54, 36, 0.028) 1px, transparent 1px),
    radial-gradient(circle at 8% 10%, rgba(155, 116, 72, 0.14), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(52, 74, 61, 0.12), transparent 32%),
    var(--archive-bg) !important;
  background-size: 28px 28px, 28px 28px, auto, auto, auto;
  color: var(--archive-ink) !important;
  font-family: "Barlow", Arial, sans-serif;
}

html body .container {
  width: min(1180px, calc(100% - 40px));
}

html body .site-header {
  position: sticky;
  top: 0;
  background: rgba(248, 241, 230, 0.92) !important;
  border-bottom: 1px solid var(--archive-line) !important;
  box-shadow: 0 8px 30px rgba(47, 35, 24, 0.08);
}

html body .header-top {
  padding: 12px 0 8px;
}

html body .brand-mark {
  width: auto !important;
  min-width: 0 !important;
  height: 52px !important;
  padding: 0 18px !important;
  border: 1px solid rgba(248, 241, 230, 0.26) !important;
  border-radius: 999px !important;
  background: var(--archive-deep) !important;
  box-shadow: none !important;
  color: #f8f1e6 !important;
  font-family: "Libre Baskerville", Georgia, serif !important;
  font-size: 1.08rem !important;
  letter-spacing: 0.08em !important;
}

html body .promo-bar-inline {
  max-width: 680px;
  margin-left: auto;
}

html body .promo-bar {
  border: 1px solid rgba(155, 116, 72, 0.28) !important;
  border-radius: 999px !important;
  background: #efe4d4 !important;
  color: #4e3927 !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
}

html body .promo-marquee span {
  padding: 7px 20px;
}

html body .nav-row {
  padding-bottom: 10px;
}

html body .main-nav {
  gap: 14px;
  color: var(--archive-ink) !important;
}

html body .nav-item > a,
html body .all-categories-link {
  min-height: 36px !important;
  color: var(--archive-ink) !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
}

html body .archive-home {
  padding-bottom: 56px;
}

.archive-hero {
  position: relative;
  min-height: clamp(560px, 72vh, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(37, 29, 23, 0.96), rgba(37, 29, 23, 0.76) 46%, rgba(37, 29, 23, 0.25)),
    radial-gradient(circle at 78% 28%, rgba(155, 116, 72, 0.28), transparent 26%),
    linear-gradient(135deg, #3a2c22, #17120f);
  color: #f8f1e6;
}

.archive-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(248, 241, 230, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 241, 230, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, black, transparent 80%);
  pointer-events: none;
}

.archive-hero::after {
  content: "";
  position: absolute;
  right: max(30px, 7vw);
  bottom: -90px;
  width: min(340px, 35vw);
  height: min(460px, 48vw);
  border: 1px solid rgba(248, 241, 230, 0.2);
  border-radius: 50% 50% 8px 8px / 150px 150px 8px 8px;
  background:
    radial-gradient(circle at 34% 18%, rgba(255, 255, 255, 0.2), transparent 25%),
    linear-gradient(135deg, rgba(210, 200, 184, 0.42), rgba(111, 101, 86, 0.26));
  box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.04);
}

.archive-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.archive-kicker {
  margin: 0 0 18px;
  color: #d8bd92;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.archive-hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.archive-hero-text {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(248, 241, 230, 0.82);
  font-size: clamp(1.04rem, 1.6vw, 1.28rem);
  line-height: 1.65;
}

.archive-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.archive-primary-link,
.archive-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
}

.archive-primary-link {
  background: #f8f1e6;
  color: #251d17;
}

.archive-secondary-link {
  border: 1px solid rgba(248, 241, 230, 0.28);
  color: #f8f1e6;
}

.archive-hero-panel {
  padding: 24px;
  border: 1px solid rgba(248, 241, 230, 0.2);
  border-radius: 12px;
  background: rgba(248, 241, 230, 0.08);
  backdrop-filter: blur(14px);
}

.archive-panel-seal {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(248, 241, 230, 0.3);
  border-radius: 50%;
  font-family: "Libre Baskerville", Georgia, serif;
  color: #f8f1e6;
}

.archive-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
}

.archive-stats div {
  padding: 14px 10px;
  border-top: 1px solid rgba(248, 241, 230, 0.18);
}

.archive-stats dt {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.7rem;
}

.archive-stats dd {
  margin: 4px 0 0;
  color: rgba(248, 241, 230, 0.68);
  font-size: 0.78rem;
}

.archive-latest {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(248, 241, 230, 0.18);
}

.archive-latest span {
  color: #d8bd92;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.archive-latest a {
  color: #f8f1e6;
}

.archive-category-band {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: -26px;
  padding: 18px;
  border: 1px solid var(--archive-line);
  border-radius: 12px;
  background: rgba(248, 241, 230, 0.9);
  box-shadow: 0 16px 40px rgba(61, 45, 30, 0.13);
  position: relative;
  z-index: 2;
}

.archive-category-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(80, 65, 45, 0.2);
  border-radius: 999px;
  background: #f7efe3;
  color: #33261c;
  font-weight: 800;
}

html body .home-featured-products {
  margin: 48px 0 0;
}

html body .home-featured-products .products-header {
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--archive-line);
}

html body .home-featured-products .products-header h2 {
  color: var(--archive-ink);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

html body .products-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(18px, 3vw, 34px) !important;
}

html body .product-card {
  min-height: 430px !important;
  padding: 28px 22px 20px !important;
  border: 1px solid rgba(65, 55, 43, 0.26) !important;
  border-radius: 46% 46% 10px 10px / 86px 86px 10px 10px !important;
  background:
    radial-gradient(circle at 32% 16%, rgba(255, 255, 255, 0.5), transparent 25%),
    linear-gradient(145deg, #d9d1c3 0%, #bfb6a8 55%, #968d80 100%) !important;
  box-shadow: 0 18px 34px rgba(57, 44, 31, 0.2) !important;
}

html body .product-card::before {
  inset: 13px 14px auto !important;
  height: 118px !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

html body .product-image {
  width: 136px !important;
  max-width: 58% !important;
  margin-top: 50px !important;
  margin-bottom: 18px !important;
  border-width: 7px !important;
  border-color: rgba(66, 55, 43, 0.42) !important;
}

html body .product-info h3,
html body .product-card-title {
  font-family: "Libre Baskerville", Georgia, serif !important;
  font-size: clamp(1.2rem, 1.5vw, 1.45rem) !important;
}

html body .product-code {
  color: #514537 !important;
  font-size: 0.76rem !important;
}

html body .product-price {
  color: #3a3027 !important;
  font-size: 0.94rem !important;
}

html body .product-card-cta.is-whatsapp {
  background: #2e261f !important;
  border-color: #2e261f !important;
  color: #f7efe3 !important;
}

html body .site-footer {
  margin-top: 56px;
  background: #211b16 !important;
  color: #efe4d4 !important;
}

@media (max-width: 900px) {
  .archive-hero {
    min-height: auto;
    padding: 76px 0 70px;
  }

  .archive-hero-inner {
    grid-template-columns: 1fr;
  }

  .archive-hero::after {
    opacity: 0.32;
  }

  html body .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  html body .container {
    width: min(100% - 26px, 1180px);
  }

  html body .promo-bar-inline {
    display: none;
  }

  .archive-hero h1 {
    font-size: clamp(2.5rem, 16vw, 4rem);
  }

  .archive-hero-panel {
    padding: 18px;
  }

  .archive-stats {
    grid-template-columns: 1fr;
  }

  html body .products-grid {
    grid-template-columns: 1fr !important;
  }

  html body .product-card {
    min-height: 390px !important;
    max-width: 340px;
    margin-inline: auto;
  }
}

/* Header and footer reset - nostalgic archive identity */
html body .archive-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
  background: rgba(246, 238, 224, 0.96) !important;
  border-bottom: 1px solid rgba(74, 57, 38, 0.22) !important;
  box-shadow: 0 8px 26px rgba(47, 36, 24, 0.08) !important;
  backdrop-filter: blur(14px);
}

html body .archive-header-inner {
  display: grid !important;
  grid-template-columns: auto minmax(180px, 1fr) auto !important;
  align-items: center !important;
  gap: 20px !important;
  min-height: 96px !important;
  padding-block: 14px !important;
}

html body .archive-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0 !important;
}

html body .archive-brand-seal {
  width: 58px !important;
  height: 58px !important;
  display: grid !important;
  place-items: center !important;
  flex: 0 0 auto !important;
  border: 1px solid rgba(43, 32, 22, 0.32) !important;
  border-radius: 50% !important;
  background: #2b2119 !important;
  color: #f4ead8 !important;
  box-shadow: inset 0 0 0 5px rgba(244, 234, 216, 0.08) !important;
  font-family: "Libre Baskerville", Georgia, serif !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
}

html body .archive-brand-seal.has-image {
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

html body .archive-brand-text {
  display: grid !important;
  gap: 2px !important;
  min-width: 0 !important;
}

html body .archive-brand-text strong {
  color: #261d16 !important;
  font-family: "Libre Baskerville", Georgia, serif !important;
  font-size: clamp(1.05rem, 1.7vw, 1.44rem) !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
}

html body .archive-brand-text small {
  color: #806b50 !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

html body .archive-header-note {
  max-width: 420px !important;
  margin: 0 !important;
  color: #6d5d48 !important;
  font-size: 0.9rem !important;
  line-height: 1.45 !important;
  justify-self: center !important;
  text-align: center !important;
}

html body .archive-nav {
  justify-self: end !important;
  width: auto !important;
  max-width: min(580px, 44vw) !important;
  min-width: 0 !important;
  display: block !important;
  position: static !important;
}

html body .archive-nav .nav-links-window {
  display: flex !important;
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
  gap: 6px 8px !important;
  overflow: visible !important;
  white-space: normal !important;
}

html body .archive-nav .nav-item,
html body .archive-nav .nav-item:nth-child(n) {
  display: block !important;
  flex: 0 0 auto !important;
  visibility: visible !important;
  opacity: 1 !important;
}

html body .archive-nav .nav-item > a {
  min-height: 34px !important;
  padding: 0 11px !important;
  border: 1px solid rgba(72, 55, 36, 0.16) !important;
  border-radius: 999px !important;
  background: rgba(255, 250, 240, 0.52) !important;
  color: #32261d !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

html body .archive-nav .nav-item > a:hover {
  border-color: rgba(72, 55, 36, 0.32) !important;
  background: #2b2119 !important;
  color: #f6ead8 !important;
}

html body .archive-menu-button {
  display: none !important;
  width: 46px !important;
  height: 46px !important;
  border: 1px solid rgba(72, 55, 36, 0.2) !important;
  border-radius: 50% !important;
  background: #f7efe3 !important;
  color: #2b2119 !important;
}

.archive-menu-lines {
  display: grid;
  gap: 5px;
  width: 20px;
}

.archive-menu-lines span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

html body .archive-footer {
  margin-top: 70px !important;
  padding: 56px 0 34px !important;
  border-top: 1px solid rgba(244, 234, 216, 0.12) !important;
  background:
    linear-gradient(rgba(244, 234, 216, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 234, 216, 0.035) 1px, transparent 1px),
    #211912 !important;
  background-size: 34px 34px, 34px 34px, auto !important;
  color: #f3e6d2 !important;
}

html body .archive-footer-inner {
  display: grid !important;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(140px, 1fr)) !important;
  gap: clamp(26px, 4vw, 54px) !important;
}

html body .archive-footer-brand {
  display: flex !important;
  gap: 16px !important;
  align-items: flex-start !important;
}

html body .archive-footer-seal {
  width: 64px !important;
  height: 64px !important;
  display: grid !important;
  place-items: center !important;
  flex: 0 0 auto !important;
  border: 1px solid rgba(243, 230, 210, 0.28) !important;
  border-radius: 50% !important;
  font-family: "Libre Baskerville", Georgia, serif !important;
}

html body .archive-footer h2,
html body .archive-footer h3 {
  margin: 0 0 12px !important;
  color: #f8eedc !important;
  font-family: "Libre Baskerville", Georgia, serif !important;
  font-size: 1.05rem !important;
  letter-spacing: 0 !important;
}

html body .archive-footer-brand h2 {
  font-size: 1.55rem !important;
}

html body .archive-footer p {
  margin: 0 0 8px !important;
  max-width: 360px !important;
  color: rgba(243, 230, 210, 0.72) !important;
  line-height: 1.6 !important;
}

html body .archive-footer-links {
  display: grid !important;
  gap: 8px !important;
}

html body .archive-footer a {
  color: rgba(243, 230, 210, 0.78) !important;
  text-decoration: none !important;
}

html body .archive-footer a:hover {
  color: #ffffff !important;
}

@media (max-width: 1060px) {
  html body .archive-header-inner {
    grid-template-columns: auto auto !important;
  }

  html body .archive-header-note {
    display: none !important;
  }

  html body .archive-nav {
    max-width: min(620px, 58vw) !important;
  }
}

@media (max-width: 760px) {
  html body .archive-header-inner {
    grid-template-columns: 1fr auto !important;
    min-height: 74px !important;
    gap: 12px !important;
  }

  html body .archive-brand-seal {
    width: 48px !important;
    height: 48px !important;
  }

  html body .archive-menu-button {
    display: grid !important;
    place-items: center !important;
  }

  html body .archive-nav,
  html body .archive-nav.is-open {
    grid-column: 1 / -1 !important;
    display: none !important;
    max-width: none !important;
    width: 100% !important;
    padding-top: 12px !important;
    border-top: 1px solid rgba(72, 55, 36, 0.14) !important;
  }

  html body .archive-nav.is-open {
    display: block !important;
  }

  html body .archive-nav .nav-links-window {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  html body .archive-nav .nav-item > a {
    justify-content: center !important;
    width: 100% !important;
    min-height: 42px !important;
  }

  html body .archive-footer-inner {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 460px) {
  html body .archive-nav .nav-links-window {
    grid-template-columns: 1fr !important;
  }

  html body .archive-brand-text strong {
    font-size: 1rem !important;
  }
}

/* Layout correction - calmer masthead and aligned sections */
html body .archive-header-inner {
  grid-template-columns: minmax(240px, auto) minmax(220px, 1fr) !important;
  grid-template-areas:
    "brand note"
    "nav nav" !important;
  row-gap: 12px !important;
  min-height: 128px !important;
  padding-block: 16px 12px !important;
}

html body .archive-brand {
  grid-area: brand !important;
}

html body .archive-header-note {
  grid-area: note !important;
  justify-self: end !important;
  text-align: right !important;
  max-width: 520px !important;
}

html body .archive-nav {
  grid-area: nav !important;
  justify-self: stretch !important;
  max-width: none !important;
  width: 100% !important;
  padding-top: 12px !important;
  border-top: 1px solid rgba(72, 55, 36, 0.14) !important;
}

html body .archive-nav .nav-links-window {
  justify-content: center !important;
  gap: 8px !important;
}

html body .archive-nav .nav-item > a {
  min-height: 36px !important;
  padding-inline: 14px !important;
}

.archive-hero {
  min-height: clamp(520px, 68vh, 680px) !important;
}

.archive-category-band {
  margin-top: 28px !important;
}

@media (max-width: 1060px) {
  html body .archive-header-inner {
    grid-template-columns: minmax(220px, auto) auto !important;
    grid-template-areas:
      "brand button"
      "nav nav" !important;
    min-height: auto !important;
  }

  html body .archive-header-note {
    display: none !important;
  }

  html body .archive-menu-button {
    grid-area: button !important;
    justify-self: end !important;
    display: grid !important;
    place-items: center !important;
  }

  html body .archive-nav,
  html body .archive-nav.is-open {
    display: none !important;
    max-width: none !important;
  }

  html body .archive-nav.is-open {
    display: block !important;
  }
}

@media (min-width: 1061px) {
  html body .archive-menu-button {
    display: none !important;
  }

  html body .archive-nav {
    display: block !important;
  }
}

@media (max-width: 760px) {
  html body .archive-header-inner {
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
      "brand button"
      "nav nav" !important;
    min-height: auto !important;
  }

  html body .archive-nav {
    grid-column: auto !important;
  }

  .archive-hero {
    padding-top: 58px !important;
  }

  .archive-category-band {
    margin-top: 18px !important;
  }
}

/* Screenshot-based polish pass */
html body .archive-header {
  background: #efe6d6 !important;
  box-shadow: none !important;
}

html body .archive-header-inner {
  min-height: 118px !important;
  padding-block: 14px 10px !important;
}

html body .archive-brand-seal {
  width: 54px !important;
  height: 54px !important;
  background:
    radial-gradient(circle at 38% 32%, #514134 0%, #2d241d 58%, #1c1511 100%) !important;
}

html body .archive-brand-text strong {
  font-size: clamp(1.22rem, 2vw, 1.72rem) !important;
}

html body .archive-header-note {
  color: #776a59 !important;
}

html body .archive-nav {
  padding-top: 10px !important;
  border-top: 1px solid rgba(73, 56, 37, 0.18) !important;
  border-bottom: 1px solid rgba(73, 56, 37, 0.14) !important;
}

html body .archive-nav .nav-links-window {
  gap: 0 !important;
}

html body .archive-nav .nav-item {
  position: relative !important;
}

html body .archive-nav .nav-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(73, 56, 37, 0.38);
}

html body .archive-nav .nav-item > a {
  min-height: 32px !important;
  padding: 0 15px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #3b2d22 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.01em !important;
}

html body .archive-nav .nav-item > a:hover {
  background: transparent !important;
  color: #8b6438 !important;
}

.archive-hero {
  min-height: 500px !important;
  background:
    linear-gradient(90deg, rgba(35, 27, 21, 0.98), rgba(35, 27, 21, 0.88) 54%, rgba(35, 27, 21, 0.72)),
    linear-gradient(135deg, #33271f, #17110e) !important;
}

.archive-hero::after {
  display: none !important;
}

.archive-hero-inner {
  grid-template-columns: minmax(0, 1fr) 320px !important;
  min-height: 500px !important;
}

.archive-kicker {
  margin-bottom: 14px !important;
}

.archive-hero h1 {
  max-width: 700px !important;
  font-size: clamp(2.8rem, 5.8vw, 5rem) !important;
  line-height: 1.03 !important;
}

.archive-hero-text {
  max-width: 610px !important;
  margin-top: 20px !important;
  font-size: clamp(1rem, 1.25vw, 1.15rem) !important;
  line-height: 1.7 !important;
}

.archive-hero-panel {
  align-self: center !important;
  padding: 22px !important;
  border-color: rgba(239, 223, 198, 0.24) !important;
  background:
    linear-gradient(180deg, rgba(239, 223, 198, 0.11), rgba(239, 223, 198, 0.05)) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22) !important;
}

.archive-panel-seal {
  width: 70px !important;
  height: 70px !important;
}

.archive-category-band {
  margin-top: 30px !important;
  padding: 0 0 18px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(74, 57, 38, 0.16) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.archive-category-pill {
  min-height: 36px !important;
  padding: 0 14px !important;
  background: rgba(248, 241, 230, 0.62) !important;
}

html body .home-featured-products {
  margin-top: 36px !important;
}

html body .home-featured-products .products-header {
  margin-bottom: 22px !important;
}

html body .home-featured-products .products-header h2 {
  font-size: clamp(1.85rem, 3vw, 2.7rem) !important;
}

html body .product-card {
  min-height: 365px !important;
  padding: 22px 18px 18px !important;
  border-radius: 46% 46% 10px 10px / 70px 70px 10px 10px !important;
}

html body .product-card::before {
  height: 94px !important;
}

html body .product-image {
  width: 108px !important;
  max-width: 52% !important;
  margin-top: 42px !important;
  margin-bottom: 14px !important;
  border-width: 6px !important;
}

html body .product-info {
  gap: 5px !important;
}

html body .product-info h3,
html body .product-card-title {
  font-size: clamp(1.08rem, 1.25vw, 1.3rem) !important;
}

html body .product-price {
  max-width: 28ch !important;
  font-size: 0.88rem !important;
}

html body .product-card-cta {
  min-height: 34px !important;
  font-size: 0.76rem !important;
}

@media (max-width: 900px) {
  .archive-hero {
    padding: 58px 0 56px !important;
  }

  .archive-hero-inner {
    min-height: 0 !important;
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  html body .archive-nav {
    border-bottom: 0 !important;
  }

  html body .archive-nav .nav-links-window {
    gap: 8px !important;
  }

  html body .archive-nav .nav-item::after {
    display: none !important;
  }
}

/* Biography detail and editor polish */
.admin-biography-textarea {
  min-height: 460px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.7;
}

.admin-product-card .tox-tinymce {
  border: 1px solid rgba(74, 62, 48, 0.18);
  border-radius: 8px;
  overflow: hidden;
}

.admin-sub-content-list {
  display: grid;
  gap: 12px;
}

.admin-sub-content-row {
  border: 1px solid #d4dceb;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
}

.admin-sub-content-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
}

.admin-sub-content-toggle {
  min-width: 0;
  border: 0;
  background: transparent;
  color: #26344f;
  display: grid;
  gap: 3px;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.admin-sub-content-toggle-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

.admin-sub-content-toggle-title::before {
  content: "+";
  display: inline-block;
  width: 18px;
  color: #2b5ed6;
}

.admin-sub-content-row.is-open .admin-sub-content-toggle-title::before {
  content: "-";
}

.admin-sub-content-toggle-slug {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #7b879d;
  font-size: 0.86rem;
  font-weight: 700;
}

.admin-sub-content-panel {
  display: grid;
  gap: 12px;
  padding: 0 12px 14px;
}

.biography-detail {
  background:
    linear-gradient(180deg, rgba(250, 246, 237, 0.94), rgba(232, 223, 207, 0.78)),
    repeating-linear-gradient(90deg, rgba(92, 75, 52, 0.045) 0 1px, transparent 1px 7px);
  color: #302820;
  padding: 34px 0 72px;
}

.biography-hero {
  display: grid;
  grid-template-columns: minmax(210px, 320px) 1fr;
  gap: 46px;
  align-items: center;
  padding: 42px 0 36px;
}

.biography-portrait {
  width: min(100%, 320px);
  aspect-ratio: 3 / 4;
  border-radius: 160px 160px 10px 10px;
  background: linear-gradient(145deg, #d5c8af, #8b806f);
  border: 1px solid rgba(55, 45, 34, 0.28);
  box-shadow: inset 0 0 0 10px rgba(255, 250, 239, 0.28), 0 22px 52px rgba(47, 39, 29, 0.2);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.biography-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.18) contrast(0.96);
}

.biography-portrait span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 72px;
  font-weight: 700;
  color: rgba(45, 38, 30, 0.86);
}

.biography-kicker {
  margin: 0 0 12px;
  color: #7b684c;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.biography-hero h1,
.biography-not-found h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
  color: #241f19;
}

.biography-years {
  margin: 18px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  color: #6d5d46;
}

.biography-summary {
  max-width: 760px;
  margin: 24px 0 0;
  font-size: 20px;
  line-height: 1.75;
  color: #4c4439;
}

.biography-reading-wrap {
  display: grid;
  grid-template-columns: minmax(0, 780px) minmax(180px, 300px);
  gap: 42px;
  align-items: start;
}

.biography-body {
  max-width: 780px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.85;
  color: #332c25;
  padding: 42px 0 0;
}

.biography-body p {
  margin: 0 0 24px;
}

.biography-body h2,
.biography-body h3 {
  margin: 38px 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  color: #241f19;
}

.biography-body blockquote {
  margin: 30px 0;
  padding: 14px 0 14px 24px;
  border-left: 4px solid #a98955;
  color: #645844;
}

.biography-life-stats {
  margin: 38px 0 28px;
  padding: 24px;
  border: 1px solid rgba(83, 72, 58, 0.2);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 252, 244, 0.95), rgba(239, 232, 215, 0.88));
  box-shadow: 0 18px 34px rgba(47, 39, 30, 0.08);
}

.biography-life-stats h2 {
  margin: 0 0 18px;
  font-size: 24px;
}

.biography-life-stats dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.biography-life-stat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(83, 72, 58, 0.12);
}

.biography-life-stat:last-child {
  border-bottom: 0;
}

.biography-life-stat dt,
.biography-life-stat dd {
  margin: 0;
}

.biography-life-stat dt {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #5a4d3d;
}

.biography-life-stat dd {
  font-size: 18px;
  font-weight: 800;
  color: #241f19;
  text-align: right;
}

.biography-gallery {
  display: grid;
  gap: 14px;
  padding-top: 48px;
}

.biography-gallery img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(72, 58, 42, 0.18);
  box-shadow: 0 14px 30px rgba(48, 40, 32, 0.13);
}

.biography-gallery-page {
  padding: 56px 0 78px;
}

.biography-gallery-page-head {
  max-width: 820px;
  margin-bottom: 28px;
}

.biography-gallery-page-head h1 {
  margin: 8px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  color: #241f19;
}

.biography-gallery-page-head p {
  margin: 0 0 18px;
  color: #5f5345;
  font-size: 18px;
}

.biography-gallery-back {
  display: inline-flex;
  width: auto;
}

.biography-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.biography-gallery-photo {
  margin: 0;
  background: #f8f2e5;
  border: 1px solid rgba(72, 58, 42, 0.16);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(47, 39, 31, 0.12);
}

.biography-gallery-photo a {
  display: block;
}

.biography-gallery-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 180ms ease;
}

.biography-gallery-photo:hover img {
  transform: scale(1.035);
}

.biography-gallery-empty {
  padding: 28px;
  border: 1px solid rgba(72, 58, 42, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.72);
}

.biography-not-found {
  min-height: 48vh;
  padding: 70px 0;
}

.biography-not-found p {
  max-width: 620px;
  font-size: 18px;
  line-height: 1.7;
}

@media (max-width: 820px) {
  .biography-hero,
  .biography-reading-wrap {
    grid-template-columns: 1fr;
  }

  .biography-portrait {
    width: min(78vw, 280px);
  }

  .biography-body {
    font-size: 18px;
    padding-top: 16px;
  }

  .biography-life-stat {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .biography-life-stat dd {
    text-align: left;
  }

  .biography-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 6px;
  }

  .biography-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

/* Realistic memorial stone biography cards */
html body .products-grid {
  align-items: stretch;
  gap: clamp(24px, 3vw, 38px);
}

html body .product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: 30px 24px 32px;
  border: 1px solid rgba(51, 45, 38, 0.28);
  border-radius: 150px 150px 12px 12px / 112px 112px 12px 12px;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.56), transparent 18%),
    radial-gradient(circle at 72% 8%, rgba(75, 68, 59, 0.13), transparent 16%),
    radial-gradient(circle at 44% 78%, rgba(55, 47, 39, 0.16), transparent 22%),
    linear-gradient(138deg, #d8d2c6 0%, #b9b1a2 38%, #948b7d 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.55),
    inset 0 -18px 32px rgba(60, 52, 43, 0.18),
    0 24px 12px rgba(47, 40, 32, 0.08),
    0 34px 50px rgba(47, 40, 32, 0.26);
  color: #2f2922;
  overflow: visible;
  isolation: isolate;
  transform: translateZ(0);
}

html body .product-card::before {
  content: "";
  position: absolute;
  inset: 11px 12px 16px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 138px 138px 8px 8px / 100px 100px 8px 8px;
  background:
    repeating-linear-gradient(31deg, rgba(255,255,255,0.08) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(103deg, rgba(35,30,25,0.045) 0 1px, transparent 1px 7px);
  box-shadow:
    inset 0 0 0 7px rgba(255, 255, 255, 0.08),
    inset 0 0 38px rgba(42, 35, 29, 0.22);
  pointer-events: none;
}

html body .product-card::after {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  bottom: -20px;
  height: 32px;
  z-index: -2;
  border-radius: 8px 8px 14px 14px;
  background: linear-gradient(180deg, #8d8374, #645a4d);
  box-shadow: 0 18px 28px rgba(43, 36, 29, 0.28);
}

html body .product-card:hover,
html body .product-card:focus-within {
  transform: translateY(-5px);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.58),
    inset 0 -18px 32px rgba(60, 52, 43, 0.18),
    0 30px 16px rgba(47, 40, 32, 0.08),
    0 42px 58px rgba(47, 40, 32, 0.31);
}

html body .product-image {
  width: min(188px, 68%);
  aspect-ratio: 1;
  margin: 64px auto 18px;
  border-radius: 999px;
  padding: 9px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.46), rgba(77, 68, 58, 0.26)),
    #a59b8c;
  border: 1px solid rgba(50, 43, 36, 0.3);
  box-shadow:
    inset 0 0 0 5px rgba(238, 232, 219, 0.42),
    0 10px 22px rgba(44, 37, 31, 0.17);
  overflow: visible;
}

html body .product-image-link {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  background: #cfc7b9;
}

html body .product-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.28) sepia(0.25) contrast(0.94);
}

html body .product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0;
}

html body .product-info h3,
html body .product-card-title {
  position: relative;
  width: 100%;
  margin: 8px 0 8px;
  padding-top: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.8vw, 35px);
  line-height: 1.05;
  letter-spacing: 0;
  color: #27221c;
  text-shadow: 0 1px 0 rgba(255,255,255,0.38), 0 -1px 0 rgba(67,57,47,0.28);
}

html body .product-info h3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(64, 54, 44, 0.58), transparent);
  box-shadow: 0 8px 0 rgba(255, 255, 255, 0.22);
}

html body .product-title-link {
  color: inherit;
  text-decoration: none;
}

html body .product-code {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  color: #5c5145;
}

html body .product-price {
  display: block;
  width: 100%;
  margin: 0 auto 18px;
  padding: 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.58;
  color: #463e34;
}

html body .product-card-cta {
  margin-top: auto;
  min-height: 42px;
  padding: 11px 18px;
  border: 1px solid rgba(61, 51, 42, 0.34);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(246, 241, 230, 0.84), rgba(188, 177, 158, 0.74));
  color: #332b22;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), 0 8px 16px rgba(48,40,33,0.13);
}

html body .product-card-cta:hover {
  background: linear-gradient(180deg, #f8f1df, #ab936d);
  color: #211b15;
}

html body .product-thumbs,
html body .product-hover-meta,
html body .product-mobile-meta,
html body .product-corner-badge,
html body .product-inline-badge {
  display: none;
}

html body .product-zoom-button {
  top: auto;
  right: 6px;
  bottom: 4px;
  width: 34px;
  height: 34px;
  border-color: rgba(59, 49, 40, 0.22);
  background: rgba(236, 229, 215, 0.82);
}

@media (max-width: 700px) {
  html body .product-card {
    min-height: 500px;
    padding: 24px 20px 28px;
    border-radius: 118px 118px 10px 10px / 88px 88px 10px 10px;
  }

  html body .product-image {
    margin-top: 50px;
    width: min(172px, 72%);
  }
}

/* Stronger gravestone treatment */
html body .products-grid {
  grid-template-columns: repeat(auto-fit, minmax(270px, 330px));
  justify-content: center;
  gap: clamp(34px, 4vw, 54px);
}

html body .product-card {
  width: 100%;
  max-width: 330px;
  min-height: 620px;
  padding: 34px 28px 36px;
  border: 1px solid rgba(42, 39, 34, 0.36);
  border-radius: 165px 165px 18px 18px / 138px 138px 18px 18px;
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,0.42), transparent 18%),
    radial-gradient(circle at 76% 72%, rgba(35,32,28,0.18), transparent 24%),
    linear-gradient(90deg, rgba(255,255,255,0.22), transparent 14%, transparent 86%, rgba(41,35,29,0.16)),
    linear-gradient(145deg, #cfc9bc 0%, #b7afa1 42%, #8e8577 100%);
  box-shadow:
    inset 12px 0 18px rgba(255,255,255,0.16),
    inset -14px 0 24px rgba(50,43,36,0.18),
    inset 0 -26px 32px rgba(52,45,38,0.2),
    0 28px 0 -16px rgba(87,78,67,0.45),
    0 38px 42px rgba(40,34,28,0.28);
}

html body .product-card::before {
  inset: 15px 16px 24px;
  border: 2px solid rgba(72, 63, 52, 0.28);
  border-radius: 145px 145px 12px 12px / 118px 118px 12px 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22), transparent 24%),
    repeating-linear-gradient(22deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 10px),
    repeating-linear-gradient(112deg, rgba(48,42,35,0.045) 0 1px, transparent 1px 8px);
  box-shadow:
    inset 0 0 0 7px rgba(255,255,255,0.06),
    inset 0 16px 28px rgba(255,255,255,0.2),
    inset 0 -22px 34px rgba(44,38,32,0.18);
}

html body .product-card::after {
  left: -7%;
  right: -7%;
  bottom: -28px;
  height: 46px;
  border: 1px solid rgba(45,39,33,0.32);
  border-radius: 8px 8px 18px 18px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.16), transparent 20%, transparent 80%, rgba(42,36,30,0.22)),
    linear-gradient(180deg, #9d9384, #6d6356);
  box-shadow: 0 20px 28px rgba(38,32,27,0.32);
}

html body .product-image {
  width: 96px;
  margin: 72px auto 22px;
  padding: 7px;
  border: 2px solid rgba(58, 51, 43, 0.26);
  background:
    linear-gradient(180deg, #f9f3e6, #cfc3ae);
  box-shadow:
    0 0 0 7px rgba(255,255,255,0.46),
    0 0 0 13px rgba(89,80,69,0.22),
    inset 0 1px 0 rgba(255,255,255,0.75),
    0 12px 20px rgba(37,32,27,0.22);
}

html body .product-info::before {
  content: "ANISINA";
  display: block;
  margin: 2px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(52,45,38,0.68);
  text-shadow: 0 1px 0 rgba(255,255,255,0.34);
}

html body .product-info h3,
html body .product-card-title {
  margin-top: 0;
  padding: 20px 0 0;
  font-size: clamp(27px, 3vw, 38px);
  text-transform: none;
  color: #2a241e;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.45),
    0 -1px 0 rgba(60,52,44,0.33),
    1px 1px 0 rgba(255,255,255,0.18);
}

html body .product-info h3::before {
  left: 8%;
  right: 8%;
  height: 3px;
  background:
    linear-gradient(90deg, transparent, rgba(61,52,43,0.48), transparent);
  box-shadow:
    0 9px 0 rgba(61,52,43,0.22),
    0 10px 0 rgba(255,255,255,0.16);
}

html body .product-code {
  margin: 4px 0 20px;
  padding-bottom: 18px;
  position: relative;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #4d443a;
  text-transform: uppercase;
}

html body .product-code::after {
  content: "";
  position: absolute;
  left: 25%;
  right: 25%;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(62,53,44,0.5), transparent);
}

html body .product-price {
  max-width: 230px;
  min-height: 74px;
  font-size: 15px;
  line-height: 1.55;
  color: #3f372f;
}

html body .product-card-cta {
  min-width: 148px;
  border-color: rgba(54,46,38,0.38);
  background:
    linear-gradient(180deg, rgba(246,241,230,0.92), rgba(177,165,146,0.84));
  font-weight: 800;
}

@media (max-width: 760px) {
  html body .products-grid {
    grid-template-columns: minmax(260px, 330px);
  }

  html body .product-card {
    min-height: 580px;
  }
}

/* Full redesign: old newspaper obituary archive */
:root {
  --ink: #17130f;
  --muted-ink: #5e554b;
  --paper: #f2ead8;
  --paper-deep: #ded0b5;
  --rule: rgba(29, 24, 19, 0.74);
}

html body {
  background:
    radial-gradient(circle at 12% 8%, rgba(120, 86, 44, 0.08), transparent 22%),
    radial-gradient(circle at 90% 28%, rgba(54, 40, 24, 0.07), transparent 28%),
    repeating-linear-gradient(90deg, rgba(42, 31, 20, 0.025) 0 1px, transparent 1px 5px),
    var(--paper);
  color: var(--ink);
  font-family: "Barlow", Arial, sans-serif;
}

html body .archive-header {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.26), transparent),
    #efe4ce;
  border: 0;
  border-bottom: 4px double var(--rule);
  box-shadow: none;
}

html body .archive-header-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 26px 0 10px;
}

html body .archive-brand {
  justify-content: center;
  text-align: center;
  gap: 14px;
}

html body .archive-brand-seal {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

html body .archive-brand-text strong {
  display: block;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(36px, 5vw, 66px);
  line-height: 0.95;
  letter-spacing: 0;
  color: var(--ink);
  text-transform: none;
}

html body .archive-brand-text small {
  margin-top: 8px;
  color: var(--muted-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

html body .archive-header-note {
  justify-self: center;
  max-width: none;
  margin: 0;
  padding: 7px 18px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  color: var(--muted-ink);
  font-family: Georgia, serif;
  font-size: 15px;
  text-align: center;
}

html body .archive-nav {
  width: 100%;
  margin-top: 8px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: rgba(255,255,255,0.18);
}

html body .archive-nav .nav-links-window {
  justify-content: center;
  gap: 0;
}

html body .archive-nav a {
  padding: 11px 16px;
  border-right: 1px solid rgba(23,19,15,0.25);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

html body .archive-nav .nav-item:first-child a {
  border-left: 1px solid rgba(23,19,15,0.25);
}

html body .archive-nav a:hover {
  background: var(--ink);
  color: var(--paper);
}

.archive-home,
html body .listing-page,
html body .biography-detail {
  background: transparent;
}

.archive-hero {
  margin: 0;
  padding: 36px 0 28px;
  border-bottom: 1px solid rgba(23,19,15,0.35);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(75,52,28,0.04));
}

.archive-hero::before,
.archive-hero::after {
  display: none;
}

.archive-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 34px;
  align-items: stretch;
}

.archive-kicker {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 9px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.archive-hero h1 {
  max-width: 920px;
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(42px, 6vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
  color: var(--ink);
}

.archive-hero-text {
  max-width: 820px;
  columns: 2;
  column-gap: 34px;
  margin: 22px 0 0;
  color: #352c24;
  font-family: Georgia, serif;
  font-size: 18px;
  line-height: 1.72;
}

.archive-hero-actions {
  margin-top: 24px;
}

.archive-primary-link,
.archive-secondary-link {
  border-radius: 0;
  border: 2px solid var(--ink);
  box-shadow: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.archive-primary-link {
  background: var(--ink);
  color: var(--paper);
}

.archive-secondary-link {
  background: transparent;
  color: var(--ink);
}

.archive-hero-panel {
  border: 2px solid var(--ink);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28), transparent),
    rgba(250,246,235,0.58);
  box-shadow: 9px 9px 0 rgba(23,19,15,0.12);
}

.archive-panel-seal {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.archive-category-band {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(23,19,15,0.28);
}

.archive-category-pill {
  border: 1px solid var(--ink);
  border-radius: 0;
  background: rgba(255,255,255,0.22);
  color: var(--ink);
  font-weight: 900;
  text-transform: uppercase;
}

html body .products-header,
html body .home-featured-products .products-header {
  margin: 34px 0 24px;
  padding: 0 0 10px;
  border-bottom: 4px double var(--rule);
  background: transparent;
}

html body .products-header h1,
html body .home-featured-products .products-header h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  color: var(--ink);
  font-size: clamp(34px, 4.6vw, 58px);
}

html body .products-header p {
  color: var(--muted-ink);
}

html body .products-grid {
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
  align-items: stretch;
}

html body .product-card {
  max-width: none;
  min-height: 0;
  padding: 16px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.32), transparent 42%),
    repeating-linear-gradient(0deg, rgba(23,19,15,0.035) 0 1px, transparent 1px 5px),
    #f8f0df;
  box-shadow: 6px 6px 0 rgba(23,19,15,0.14);
  color: var(--ink);
  transform: none;
}

html body .product-card::before {
  content: "VEFAT İLANI";
  position: static;
  display: block;
  margin: 0 0 12px;
  padding: 7px 8px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  box-shadow: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-align: center;
}

html body .product-card::after {
  display: none;
}

html body .product-card:hover,
html body .product-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 8px 8px 0 rgba(23,19,15,0.18);
}

html body .product-image {
  width: 122px;
  aspect-ratio: 4 / 5;
  margin: 0 auto 13px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: #e8dcc6;
  box-shadow: 0 0 0 5px #f8f0df, 0 0 0 6px var(--ink);
}

html body .product-image-link {
  border-radius: 0;
}

html body .product-main-image {
  filter: grayscale(1) contrast(1.08) sepia(0.08);
}

html body .product-info::before {
  display: none;
}

html body .product-info {
  align-items: stretch;
  text-align: center;
}

html body .product-info h3,
html body .product-card-title {
  margin: 14px 0 6px;
  padding: 12px 0 0;
  border-top: 3px double var(--ink);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.1;
  color: var(--ink);
  text-shadow: none;
}

html body .product-info h3::before {
  display: none;
}

html body .product-code {
  margin: 0 0 12px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(23,19,15,0.45);
  font-family: Georgia, serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--muted-ink);
  text-transform: uppercase;
}

html body .product-code::after {
  display: none;
}

html body .product-price {
  max-width: none;
  min-height: 72px;
  margin: 0 0 16px;
  font-family: Georgia, serif;
  font-size: 15.5px;
  line-height: 1.55;
  color: #2d261f;
}

html body .product-card-cta {
  align-self: center;
  min-width: 0;
  min-height: 0;
  margin-top: auto;
  padding: 9px 13px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

html body .product-card-cta:hover {
  background: var(--ink);
  color: var(--paper);
}

html body .archive-footer {
  margin-top: 54px;
  border-top: 4px double var(--rule);
  background: #17130f;
  color: #f4ead7;
}

html body .archive-footer-inner {
  border: 0;
  border-radius: 0;
  background: transparent;
}

html body .archive-footer a,
html body .archive-footer p {
  color: rgba(244,234,215,0.82);
}

html body .archive-footer h2,
html body .archive-footer h3 {
  color: #fff6e4;
  font-family: "Libre Baskerville", Georgia, serif;
}

@media (max-width: 860px) {
  .archive-hero-inner {
    grid-template-columns: 1fr;
  }

  .archive-hero-text {
    columns: 1;
  }

  html body .archive-nav .nav-links-window {
    justify-content: flex-start;
  }
}

/* Final newspaper overrides: remove every previous tombstone shape */
html body .home-featured-products .product-card,
html body .listing-page .product-card,
html body .products-grid .product-card {
  display: flex !important;
  flex-direction: column !important;
  max-width: none !important;
  min-height: 420px !important;
  padding: 16px !important;
  border: 2px solid #17130f !important;
  border-radius: 0 !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.36), transparent 46%),
    repeating-linear-gradient(0deg, rgba(23,19,15,0.035) 0 1px, transparent 1px 5px),
    #f8f0df !important;
  box-shadow: 6px 6px 0 rgba(23,19,15,0.14) !important;
  overflow: hidden !important;
}

html body .home-featured-products .product-card::before,
html body .listing-page .product-card::before,
html body .products-grid .product-card::before {
  content: "VEFAT ILANI" !important;
  position: static !important;
  display: block !important;
  inset: auto !important;
  height: auto !important;
  margin: 0 0 14px !important;
  padding: 7px 8px !important;
  border: 1px solid #17130f !important;
  border-radius: 0 !important;
  background: #17130f !important;
  color: #f2ead8 !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0.16em !important;
  text-align: center !important;
}

html body .home-featured-products .product-card::after,
html body .listing-page .product-card::after,
html body .products-grid .product-card::after {
  display: none !important;
}

html body .listing-controls {
  width: min(100%, 1240px);
  margin: 10px auto 34px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(230px, 1.35fr) minmax(220px, 1.1fr) minmax(150px, .8fr) minmax(150px, .8fr) minmax(220px, 1.1fr) auto;
  gap: 12px;
  align-items: end;
  border: 1px solid rgba(58, 48, 32, 0.18);
  background: rgba(255, 252, 244, 0.82);
  box-shadow: 0 14px 30px rgba(65, 50, 28, 0.08);
}

html body .listing-control {
  min-width: 0;
  display: grid;
  gap: 7px;
  color: #312a1e;
  font-family: Barlow, Arial, sans-serif;
  font-weight: 800;
}

html body .listing-control span {
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(49, 42, 30, 0.72);
}

html body .listing-control input,
html body .listing-control select,
html body .category-filter-button {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(49, 42, 30, 0.24);
  border-radius: 4px;
  background: #fffdf7;
  color: #201c16;
  font: 700 14px/1.2 Barlow, Arial, sans-serif;
  letter-spacing: 0;
  padding: 10px 12px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
}

html body .listing-control select,
html body .category-filter-button {
  cursor: pointer;
}

html body .category-filter-dropdown {
  position: relative;
  min-width: 0;
}

html body .category-filter-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

html body .category-filter-button::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(32, 28, 22, 0.74);
  border-bottom: 2px solid rgba(32, 28, 22, 0.74);
  transform: rotate(45deg) translateY(-2px);
  flex: 0 0 auto;
}

html body .category-filter-button[aria-expanded="true"]::after {
  transform: rotate(225deg) translateY(-2px);
}

html body .category-filter-panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 240px;
  overflow: auto;
  padding: 8px;
  border: 1px solid rgba(49, 42, 30, 0.28);
  border-radius: 4px;
  background: #fffdf7;
  box-shadow: 0 16px 32px rgba(46, 34, 19, 0.16);
}

html body .category-filter-option {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 9px;
  padding: 8px 7px;
  color: #201c16;
  font: 800 13px/1.25 Barlow, Arial, sans-serif;
  cursor: pointer;
}

html body .category-filter-option:hover {
  background: rgba(49, 42, 30, 0.07);
}

html body .category-filter-option input {
  width: 16px;
  height: 16px;
  min-height: 0;
  padding: 0;
  accent-color: #211d17;
  cursor: pointer;
}

html body .category-filter-empty {
  margin: 0;
  padding: 8px;
  color: rgba(49, 42, 30, 0.7);
  font: 700 13px/1.35 Barlow, Arial, sans-serif;
}

html body .listing-control small {
  color: rgba(49, 42, 30, 0.62);
  font: 700 11px/1.25 Barlow, Arial, sans-serif;
}

html body .listing-control select[multiple] {
  min-height: 96px;
  padding: 8px;
}

html body .listing-control select[multiple] option {
  padding: 6px 8px;
}

html body .listing-control input:focus,
html body .listing-control select:focus,
html body .category-filter-button:focus {
  border-color: rgba(25, 23, 18, 0.58);
  box-shadow: 0 0 0 3px rgba(27, 24, 18, 0.08);
}

html body .listing-filter-reset {
  min-height: 42px;
  border: 1px solid rgba(49, 42, 30, 0.28);
  border-radius: 4px;
  background: #211d17;
  color: #fff7e5;
  padding: 10px 16px;
  font: 900 13px/1 Barlow, Arial, sans-serif;
  letter-spacing: 0;
  cursor: pointer;
}

html body .listing-filter-reset:hover {
  background: #342d23;
}

html body .product-card.is-filter-hidden {
  display: none !important;
}

@media (max-width: 1100px) {
  html body .listing-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html body .listing-control-search,
  html body .listing-filter-reset {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  html body .listing-controls {
    margin-top: 4px;
    padding: 14px;
    grid-template-columns: 1fr;
  }

  html body .listing-control-search,
  html body .listing-filter-reset {
    grid-column: auto;
  }
}

html body .home-featured-products .product-image,
html body .listing-page .product-image,
html body .products-grid .product-image {
  width: 126px !important;
  height: 158px !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  margin: 0 auto 14px !important;
  padding: 0 !important;
  border: 1px solid #17130f !important;
  border-radius: 0 !important;
  background: #e8dcc6 !important;
  box-shadow: 0 0 0 5px #f8f0df, 0 0 0 6px #17130f !important;
  overflow: hidden !important;
}

html body .home-featured-products .product-info h3,
html body .listing-page .product-info h3,
html body .products-grid .product-info h3 {
  border-top: 3px double #17130f !important;
  text-shadow: none !important;
}

/* Newspaper reset: keep the new direction above old copied theme rules. */
html body {
  background:
    linear-gradient(90deg, rgba(23,19,15,0.025) 0 1px, transparent 1px 46px),
    linear-gradient(0deg, rgba(23,19,15,0.025) 0 1px, transparent 1px 46px),
    #efe3cf !important;
  color: #17130f !important;
}

html body .archive-hero {
  min-height: auto !important;
  margin: 0 !important;
  padding: clamp(46px, 7vw, 82px) 0 clamp(34px, 5vw, 58px) !important;
  border: 0 !important;
  border-bottom: 4px double #17130f !important;
  border-radius: 0 !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.5), transparent 46%),
    repeating-linear-gradient(0deg, rgba(23,19,15,0.04) 0 1px, transparent 1px 6px),
    #f3e6cf !important;
  color: #17130f !important;
  box-shadow: inset 0 -1px 0 rgba(23,19,15,0.25) !important;
  overflow: hidden !important;
}

html body .archive-hero::before,
html body .archive-hero::after {
  display: none !important;
  content: none !important;
}

html body .archive-hero h1,
html body .archive-hero p,
html body .archive-kicker,
html body .archive-hero-text {
  color: #17130f !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

html body .archive-hero-inner {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr) !important;
  gap: clamp(24px, 5vw, 58px) !important;
  align-items: stretch !important;
}

html body .archive-hero-panel {
  border: 2px solid #17130f !important;
  border-radius: 0 !important;
  background: rgba(248,240,223,0.88) !important;
  color: #17130f !important;
  box-shadow: 8px 8px 0 rgba(23,19,15,0.14) !important;
}

html body .archive-hero-panel dt,
html body .archive-hero-panel dd,
html body .archive-latest span,
html body .archive-latest a {
  color: #17130f !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

html body .archive-hero-panel dd,
html body .archive-latest span {
  color: #6d4b2b !important;
}

html body .archive-primary-link,
html body .archive-secondary-link {
  border-radius: 0 !important;
}

@media (max-width: 860px) {
  html body .archive-hero-inner {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 520px) {
  html body {
    overflow-x: hidden !important;
  }

  html body .container,
  html body .archive-hero-inner {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  html body .archive-hero {
    padding: 44px 0 28px !important;
  }

  html body .archive-hero-copy {
    min-width: 0 !important;
    width: 100% !important;
  }

  html body .archive-hero h1 {
    max-width: 100% !important;
    font-size: clamp(38px, 11vw, 43px) !important;
    line-height: 1.02 !important;
    overflow-wrap: break-word !important;
  }

  html body .archive-hero-text {
    width: 330px !important;
    max-width: calc(100vw - 28px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    columns: 1 !important;
    font-size: 17px !important;
    overflow-wrap: anywhere !important;
  }

  html body .archive-hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }

  html body .archive-primary-link,
  html body .archive-secondary-link {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  html body .archive-hero-panel {
    width: 100% !important;
    max-width: 100% !important;
  }
}

html body .home-featured-products .product-card > .product-info,
html body .listing-page .product-card > .product-info,
html body .products-grid .product-card > .product-info {
  position: static !important;
}

html body .home-featured-products .product-card > .product-info .product-card-cta,
html body .listing-page .product-card > .product-info .product-card-cta,
html body .products-grid .product-card > .product-info .product-card-cta {
  position: absolute !important;
  left: 50% !important;
  bottom: 13px !important;
  transform: translateX(-50%) !important;
}

/* FINAL OVERRIDE - real cemetery headstone, no CSS-card tombstone. */
html body .home-featured-products .products-grid,
html body .listing-page .products-grid,
html body .products-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
  column-gap: 30px !important;
  row-gap: 44px !important;
}

html body .home-featured-products .product-card,
html body .listing-page .product-card,
html body .products-grid .product-card {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 282px !important;
  min-height: 0 !important;
  aspect-ratio: 2 / 3 !important;
  margin: 14px auto 28px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  overflow: visible !important;
  isolation: isolate !important;
}

html body .home-featured-products .product-card::before,
html body .listing-page .product-card::before,
html body .products-grid .product-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  display: block !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: url("assets/gravestone-template-v2.png?v=20260528-0005") center / contain no-repeat !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

html body .home-featured-products .product-card::after,
html body .listing-page .product-card::after,
html body .products-grid .product-card::after {
  display: none !important;
}

html body .home-featured-products .product-card > *,
html body .listing-page .product-card > *,
html body .products-grid .product-card > * {
  position: relative !important;
  z-index: 2 !important;
}

html body .home-featured-products .product-image,
html body .listing-page .product-image,
html body .products-grid .product-image {
  position: absolute !important;
  top: 34px !important;
  left: 50% !important;
  z-index: 3 !important;
  width: 132px !important;
  height: 154px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% / 56% !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden !important;
  transform: translateX(-50%) !important;
}

html body .home-featured-products .product-image-link,
html body .listing-page .product-image-link,
html body .products-grid .product-image-link,
html body .home-featured-products .product-main-image,
html body .listing-page .product-main-image,
html body .products-grid .product-main-image {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: inherit !important;
}

html body .home-featured-products .product-main-image,
html body .listing-page .product-main-image,
html body .products-grid .product-main-image {
  object-fit: cover !important;
  filter: contrast(1.05) saturate(0.72) sepia(0.08) !important;
}

html body .home-featured-products .product-card > .product-info,
html body .listing-page .product-card > .product-info,
html body .products-grid .product-card > .product-info {
  position: absolute !important;
  inset: 205px 40px 56px !important;
  z-index: 3 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  background: transparent !important;
  color: #e8dfcc !important;
  text-align: center !important;
}

html body .home-featured-products .product-info h3,
html body .listing-page .product-info h3,
html body .products-grid .product-info h3 {
  max-width: 190px !important;
  margin: 0 auto 15px !important;
  color: #d7c391 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(24px, 3vw, 31px) !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
  text-shadow: 0 1px 0 rgba(255,255,255,0.14), 0 2px 5px rgba(0,0,0,0.85) !important;
}

html body .home-featured-products .product-code,
html body .listing-page .product-code,
html body .products-grid .product-code {
  margin: 0 auto 7px !important;
  color: #e5dcc7 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 15px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  text-shadow: 0 2px 5px rgba(0,0,0,0.9) !important;
}

html body .home-featured-products .product-life-dates,
html body .listing-page .product-life-dates,
html body .products-grid .product-life-dates {
  display: grid !important;
  gap: 5px !important;
  min-width: 138px !important;
  margin-top: 2px !important;
  text-align: left !important;
}

html body .home-featured-products .product-life-dates span,
html body .listing-page .product-life-dates span,
html body .products-grid .product-life-dates span {
  display: block !important;
  white-space: nowrap !important;
}

html body .home-featured-products .product-life-dates strong,
html body .listing-page .product-life-dates strong,
html body .products-grid .product-life-dates strong {
  color: #d7c391 !important;
  font-weight: 900 !important;
}

html body .home-featured-products .product-price,
html body .listing-page .product-price,
html body .products-grid .product-price,
html body .home-featured-products .product-mobile-meta,
html body .listing-page .product-mobile-meta,
html body .products-grid .product-mobile-meta {
  max-width: 165px !important;
  margin: 0 auto !important;
  color: #e8dfcc !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 12px !important;
  line-height: 1.18 !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 5px rgba(0,0,0,0.9) !important;
}

html body .home-featured-products .product-card > .product-info .product-card-cta,
html body .listing-page .product-card > .product-info .product-card-cta,
html body .products-grid .product-card > .product-info .product-card-cta {
  display: none !important;
}

html body .home-featured-products .product-card > .product-info .product-card-cta .cta-icon,
html body .listing-page .product-card > .product-info .product-card-cta .cta-icon,
html body .products-grid .product-card > .product-info .product-card-cta .cta-icon {
  display: none !important;
}

@media (max-width: 520px) {
  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card {
    max-width: 252px !important;
  }

  html body .home-featured-products .product-image,
  html body .listing-page .product-image,
  html body .products-grid .product-image {
    top: 31px !important;
    width: 116px !important;
    height: 136px !important;
  }

  html body .home-featured-products .product-card > .product-info,
  html body .listing-page .product-card > .product-info,
  html body .products-grid .product-card > .product-info {
    inset: 184px 35px 50px !important;
  }
}

/* Latest direction: real gravestone photo, calmer inscription layout. */
html body .home-featured-products .products-grid,
html body .listing-page .products-grid,
html body .products-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
  column-gap: 30px !important;
  row-gap: 44px !important;
  align-items: start !important;
}

html body .home-featured-products .product-card,
html body .listing-page .product-card,
html body .products-grid .product-card {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 250px !important;
  min-height: 0 !important;
  aspect-ratio: 2 / 3 !important;
  margin: 12px auto 24px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  overflow: visible !important;
}

html body .home-featured-products .product-card::before,
html body .listing-page .product-card::before,
html body .products-grid .product-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  display: block !important;
  border: 0 !important;
  background: url("assets/gravestone-template.png?v=20260528-0004") center / contain no-repeat !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

html body .home-featured-products .product-card::after,
html body .listing-page .product-card::after,
html body .products-grid .product-card::after {
  display: none !important;
}

html body .home-featured-products .product-card > *,
html body .listing-page .product-card > *,
html body .products-grid .product-card > * {
  position: relative !important;
  z-index: 2 !important;
}

html body .home-featured-products .product-image,
html body .listing-page .product-image,
html body .products-grid .product-image {
  position: absolute !important;
  top: 30px !important;
  left: 50% !important;
  z-index: 3 !important;
  width: 58px !important;
  height: 66px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 4px solid #e5d4a2 !important;
  border-radius: 50% !important;
  background: #d8ceb9 !important;
  box-shadow: 0 0 0 2px #7a622f, 0 6px 10px rgba(0,0,0,0.48) !important;
  overflow: hidden !important;
  transform: translateX(-50%) !important;
}

html body .home-featured-products .product-image-link,
html body .listing-page .product-image-link,
html body .products-grid .product-image-link,
html body .home-featured-products .product-main-image,
html body .listing-page .product-main-image,
html body .products-grid .product-main-image {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: inherit !important;
}

html body .home-featured-products .product-main-image,
html body .listing-page .product-main-image,
html body .products-grid .product-main-image {
  object-fit: cover !important;
  filter: contrast(1.05) saturate(0.7) sepia(0.08) !important;
}

html body .home-featured-products .product-card > .product-info,
html body .listing-page .product-card > .product-info,
html body .products-grid .product-card > .product-info {
  position: absolute !important;
  inset: 108px 31px 40px !important;
  z-index: 3 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  background: transparent !important;
  color: #f5ead1 !important;
  text-align: center !important;
}

html body .home-featured-products .product-info h3,
html body .listing-page .product-info h3,
html body .products-grid .product-info h3 {
  max-width: 176px !important;
  margin: 0 auto 13px !important;
  color: #e8c875 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(24px, 3vw, 30px) !important;
  line-height: 0.98 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
  text-shadow: 0 2px 0 #4a3519, 0 5px 7px rgba(0,0,0,0.58) !important;
}

html body .home-featured-products .product-title-link,
html body .listing-page .product-title-link,
html body .products-grid .product-title-link {
  color: inherit !important;
  text-decoration: none !important;
}

html body .home-featured-products .product-code,
html body .listing-page .product-code,
html body .products-grid .product-code {
  margin: 0 auto 7px !important;
  color: #f8ecd4 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 15px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.75) !important;
}

html body .home-featured-products .product-code span,
html body .listing-page .product-code span,
html body .products-grid .product-code span {
  display: block !important;
  margin-bottom: 4px !important;
  color: #d8bf7a !important;
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

html body .home-featured-products .product-price,
html body .listing-page .product-price,
html body .products-grid .product-price,
html body .home-featured-products .product-mobile-meta,
html body .listing-page .product-mobile-meta,
html body .products-grid .product-mobile-meta {
  max-width: 150px !important;
  margin: 0 auto !important;
  color: #f7eedc !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 12px !important;
  line-height: 1.18 !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.78) !important;
}

html body .home-featured-products .product-card > .product-info .product-card-cta,
html body .listing-page .product-card > .product-info .product-card-cta,
html body .products-grid .product-card > .product-info .product-card-cta {
  position: absolute !important;
  left: 50% !important;
  bottom: -7px !important;
  z-index: 4 !important;
  min-width: 116px !important;
  min-height: 30px !important;
  margin: 0 !important;
  padding: 5px 12px !important;
  border: 3px solid #dcc57e !important;
  border-radius: 999px !important;
  background: #102638 !important;
  color: #fff3d5 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 4px 0 rgba(0,0,0,0.34) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  transform: translateX(-50%) !important;
}

@media (max-width: 520px) {
  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card {
    max-width: 230px !important;
  }

  html body .home-featured-products .product-image,
  html body .listing-page .product-image,
  html body .products-grid .product-image {
    top: 27px !important;
    width: 52px !important;
    height: 60px !important;
  }

  html body .home-featured-products .product-card > .product-info,
  html body .listing-page .product-card > .product-info,
  html body .products-grid .product-card > .product-info {
    inset: 96px 28px 36px !important;
  }

  html body .home-featured-products .product-info h3,
  html body .listing-page .product-info h3,
  html body .products-grid .product-info h3 {
    max-width: 162px !important;
    font-size: clamp(22px, 7vw, 27px) !important;
  }
}

/* Real cemetery headstone card: use the v2 photographic stone with built-in oval frame. */
html body .home-featured-products .product-card,
html body .listing-page .product-card,
html body .products-grid .product-card {
  max-width: 282px !important;
  aspect-ratio: 2 / 3 !important;
  margin: 14px auto 28px !important;
}

html body .home-featured-products .product-card::before,
html body .listing-page .product-card::before,
html body .products-grid .product-card::before {
  background: url("assets/gravestone-template-v2.png?v=20260528-0005") center / contain no-repeat !important;
}

html body .home-featured-products .product-image,
html body .listing-page .product-image,
html body .products-grid .product-image {
  top: 55px !important;
  width: 64px !important;
  height: 82px !important;
  border: 0 !important;
  border-radius: 50% / 56% !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body .home-featured-products .product-card > .product-info,
html body .listing-page .product-card > .product-info,
html body .products-grid .product-card > .product-info {
  inset: 160px 40px 56px !important;
}

html body .home-featured-products .product-info h3,
html body .listing-page .product-info h3,
html body .products-grid .product-info h3 {
  max-width: 190px !important;
  margin-bottom: 15px !important;
  color: #d7c391 !important;
  font-size: clamp(24px, 3vw, 31px) !important;
  line-height: 1 !important;
  text-shadow: 0 1px 0 rgba(255,255,255,0.14), 0 2px 5px rgba(0,0,0,0.85) !important;
}

html body .home-featured-products .product-code,
html body .listing-page .product-code,
html body .products-grid .product-code {
  color: #e5dcc7 !important;
  font-size: 15px !important;
  text-shadow: 0 2px 5px rgba(0,0,0,0.9) !important;
}

html body .home-featured-products .product-price,
html body .listing-page .product-price,
html body .products-grid .product-price,
html body .home-featured-products .product-mobile-meta,
html body .listing-page .product-mobile-meta,
html body .products-grid .product-mobile-meta {
  max-width: 165px !important;
  color: #e8dfcc !important;
  font-size: 12px !important;
  text-shadow: 0 2px 5px rgba(0,0,0,0.9) !important;
}

html body .home-featured-products .product-card > .product-info .product-card-cta,
html body .listing-page .product-card > .product-info .product-card-cta,
html body .products-grid .product-card > .product-info .product-card-cta {
  bottom: -38px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #d7c391 !important;
  box-shadow: none !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 13px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.9) !important;
}

html body .home-featured-products .product-card > .product-info .product-card-cta .cta-icon,
html body .listing-page .product-card > .product-info .product-card-cta .cta-icon,
html body .products-grid .product-card > .product-info .product-card-cta .cta-icon {
  display: none !important;
}

@media (max-width: 520px) {
  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card {
    max-width: 252px !important;
  }

  html body .home-featured-products .product-image,
  html body .listing-page .product-image,
  html body .products-grid .product-image {
    top: 49px !important;
    width: 56px !important;
    height: 72px !important;
  }

  html body .home-featured-products .product-card > .product-info,
  html body .listing-page .product-card > .product-info,
  html body .products-grid .product-card > .product-info {
    inset: 144px 35px 50px !important;
  }
}

/* Absolute final portrait size: make gravestone photos as large as possible. */
html body .home-featured-products .product-image,
html body .listing-page .product-image,
html body .products-grid .product-image {
  top: 24px !important;
  width: 150px !important;
  height: 178px !important;
}

html body .home-featured-products .product-card > .product-info,
html body .listing-page .product-card > .product-info,
html body .products-grid .product-card > .product-info {
  inset: 214px 40px 56px !important;
}

html body .home-featured-products .product-info h3,
html body .listing-page .product-info h3,
html body .products-grid .product-info h3 {
  font-size: clamp(22px, 2.7vw, 29px) !important;
  margin-bottom: 12px !important;
}

@media (max-width: 520px) {
  html body .home-featured-products .product-image,
  html body .listing-page .product-image,
  html body .products-grid .product-image {
    top: 22px !important;
    width: 132px !important;
    height: 156px !important;
  }

  html body .home-featured-products .product-card > .product-info,
  html body .listing-page .product-card > .product-info,
  html body .products-grid .product-card > .product-info {
    inset: 194px 35px 50px !important;
  }
}

/* Final winner: real PNG gravestone template. */
html body .home-featured-products .product-card,
html body .listing-page .product-card,
html body .products-grid .product-card {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 300px !important;
  min-height: 0 !important;
  aspect-ratio: 2 / 3 !important;
  margin: 18px auto 30px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  overflow: visible !important;
}

html body .home-featured-products .product-card::before,
html body .listing-page .product-card::before,
html body .products-grid .product-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  display: block !important;
  border: 0 !important;
  background: url("assets/gravestone-template.png?v=20260528-0004") center / contain no-repeat !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

html body .home-featured-products .product-card::after,
html body .listing-page .product-card::after,
html body .products-grid .product-card::after {
  display: none !important;
}

html body .home-featured-products .product-card > *,
html body .listing-page .product-card > *,
html body .products-grid .product-card > * {
  position: relative !important;
  z-index: 2 !important;
}

html body .home-featured-products .product-image,
html body .listing-page .product-image,
html body .products-grid .product-image {
  position: absolute !important;
  top: 28px !important;
  left: 50% !important;
  z-index: 3 !important;
  width: 60px !important;
  height: 68px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 5px solid #e5d4a2 !important;
  border-radius: 50% !important;
  background: #d8ceb9 !important;
  box-shadow: 0 0 0 2px #7a622f, 0 6px 10px rgba(0,0,0,0.48) !important;
  overflow: hidden !important;
  transform: translateX(-50%) !important;
}

html body .home-featured-products .product-image-link,
html body .listing-page .product-image-link,
html body .products-grid .product-image-link,
html body .home-featured-products .product-main-image,
html body .listing-page .product-main-image,
html body .products-grid .product-main-image {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: inherit !important;
}

html body .home-featured-products .product-main-image,
html body .listing-page .product-main-image,
html body .products-grid .product-main-image {
  object-fit: cover !important;
  filter: contrast(1.05) saturate(0.7) sepia(0.08) !important;
}

html body .home-featured-products .product-card > .product-info,
html body .listing-page .product-card > .product-info,
html body .products-grid .product-card > .product-info {
  position: absolute !important;
  inset: 158px 34px 42px !important;
  z-index: 3 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  background: transparent !important;
  color: #f5ead1 !important;
  text-align: center !important;
}

html body .home-featured-products .product-info h3,
html body .listing-page .product-info h3,
html body .products-grid .product-info h3 {
  margin: 0 0 13px !important;
  color: #e8c875 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(25px, 3vw, 32px) !important;
  line-height: 0.95 !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  text-shadow: 0 2px 0 #4a3519, 0 5px 7px rgba(0,0,0,0.58) !important;
}

html body .home-featured-products .product-code,
html body .listing-page .product-code,
html body .products-grid .product-code {
  margin: 0 0 6px !important;
  color: #f8ecd4 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 17px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.75) !important;
}

html body .home-featured-products .product-code span,
html body .listing-page .product-code span,
html body .products-grid .product-code span {
  display: block !important;
  margin-bottom: 4px !important;
  color: #d8bf7a !important;
  font-size: 13px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

html body .home-featured-products .product-price,
html body .listing-page .product-price,
html body .products-grid .product-price,
html body .home-featured-products .product-mobile-meta,
html body .listing-page .product-mobile-meta,
html body .products-grid .product-mobile-meta {
  max-width: 200px !important;
  margin: 0 auto !important;
  color: #f7eedc !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 13px !important;
  line-height: 1.22 !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.78) !important;
}

html body .home-featured-products .product-card > .product-info .product-card-cta,
html body .listing-page .product-card > .product-info .product-card-cta,
html body .products-grid .product-card > .product-info .product-card-cta {
  position: absolute !important;
  left: 50% !important;
  bottom: -14px !important;
  z-index: 4 !important;
  min-width: 128px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 7px 16px !important;
  border: 3px solid #dcc57e !important;
  border-radius: 999px !important;
  background: #102638 !important;
  color: #fff3d5 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 4px 0 rgba(0,0,0,0.34) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  transform: translateX(-50%) !important;
}

@media (max-width: 520px) {
  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card {
    max-width: 244px !important;
  }

  html body .home-featured-products .product-image,
  html body .listing-page .product-image,
  html body .products-grid .product-image {
    top: 25px !important;
    width: 52px !important;
    height: 58px !important;
    border-width: 4px !important;
  }

  html body .home-featured-products .product-card > .product-info,
  html body .listing-page .product-card > .product-info,
  html body .products-grid .product-card > .product-info {
    inset: 126px 26px 36px !important;
  }

  html body .home-featured-products .product-info h3,
  html body .listing-page .product-info h3,
  html body .products-grid .product-info h3 {
    margin-bottom: 10px !important;
    font-size: clamp(22px, 7vw, 27px) !important;
  }
}

/* Photo-based gravestone cards: use a real transparent PNG stone template. */
html body .home-featured-products .product-card,
html body .listing-page .product-card,
html body .products-grid .product-card {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 300px !important;
  min-height: 0 !important;
  aspect-ratio: 2 / 3 !important;
  margin: 18px auto 30px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  overflow: visible !important;
  isolation: isolate !important;
}

html body .home-featured-products .product-card::before,
html body .listing-page .product-card::before,
html body .products-grid .product-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  display: block !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: url("assets/gravestone-template.png?v=20260528-0004") center / contain no-repeat !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

html body .home-featured-products .product-card::after,
html body .listing-page .product-card::after,
html body .products-grid .product-card::after {
  display: none !important;
}

html body .home-featured-products .product-card > *,
html body .listing-page .product-card > *,
html body .products-grid .product-card > * {
  position: relative !important;
  z-index: 2 !important;
}

html body .home-featured-products .product-image,
html body .listing-page .product-image,
html body .products-grid .product-image {
  position: absolute !important;
  top: 36px !important;
  left: 50% !important;
  z-index: 3 !important;
  width: 70px !important;
  height: 80px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 5px solid #e5d4a2 !important;
  border-radius: 50% !important;
  background: #d8ceb9 !important;
  box-shadow: 0 0 0 2px #7a622f, 0 6px 10px rgba(0,0,0,0.48) !important;
  overflow: hidden !important;
  transform: translateX(-50%) !important;
}

html body .home-featured-products .product-image-link,
html body .listing-page .product-image-link,
html body .products-grid .product-image-link,
html body .home-featured-products .product-main-image,
html body .listing-page .product-main-image,
html body .products-grid .product-main-image {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: inherit !important;
}

html body .home-featured-products .product-main-image,
html body .listing-page .product-main-image,
html body .products-grid .product-main-image {
  object-fit: cover !important;
  filter: contrast(1.05) saturate(0.7) sepia(0.08) !important;
}

html body .home-featured-products .product-info,
html body .listing-page .product-info,
html body .products-grid .product-info {
  position: absolute !important;
  inset: 142px 34px 42px !important;
  z-index: 3 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  background: transparent !important;
  color: #f5ead1 !important;
  text-align: center !important;
}

html body .home-featured-products .product-info h3,
html body .listing-page .product-info h3,
html body .products-grid .product-info h3 {
  margin: 0 0 16px !important;
  color: #e8c875 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(28px, 3.4vw, 38px) !important;
  line-height: 0.95 !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  text-shadow: 0 2px 0 #4a3519, 0 5px 7px rgba(0,0,0,0.58) !important;
}

html body .home-featured-products .product-title-link,
html body .listing-page .product-title-link,
html body .products-grid .product-title-link {
  color: inherit !important;
  text-decoration: none !important;
}

html body .home-featured-products .product-code,
html body .listing-page .product-code,
html body .products-grid .product-code {
  margin: 0 0 8px !important;
  color: #f8ecd4 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 20px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.75) !important;
}

html body .home-featured-products .product-code span,
html body .listing-page .product-code span,
html body .products-grid .product-code span {
  display: block !important;
  margin-bottom: 4px !important;
  color: #d8bf7a !important;
  font-size: 13px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

html body .home-featured-products .product-price,
html body .listing-page .product-price,
html body .products-grid .product-price,
html body .home-featured-products .product-mobile-meta,
html body .listing-page .product-mobile-meta,
html body .products-grid .product-mobile-meta {
  max-width: 200px !important;
  margin: 0 auto !important;
  color: #f7eedc !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 15px !important;
  line-height: 1.22 !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.78) !important;
}

html body .home-featured-products .product-card > .product-info .product-card-cta,
html body .listing-page .product-card > .product-info .product-card-cta,
html body .products-grid .product-card > .product-info .product-card-cta {
  position: absolute !important;
  left: 50% !important;
  bottom: -14px !important;
  z-index: 4 !important;
  min-width: 128px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 7px 16px !important;
  border: 3px solid #dcc57e !important;
  border-radius: 999px !important;
  background: #102638 !important;
  color: #fff3d5 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 4px 0 rgba(0,0,0,0.34) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  transform: translateX(-50%) !important;
}

@media (max-width: 520px) {
  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card {
    max-width: 244px !important;
  }

  html body .home-featured-products .product-image,
  html body .listing-page .product-image,
  html body .products-grid .product-image {
    top: 31px !important;
    width: 58px !important;
    height: 66px !important;
    border-width: 4px !important;
  }

  html body .home-featured-products .product-info,
  html body .listing-page .product-info,
  html body .products-grid .product-info {
    inset: 105px 26px 36px !important;
  }

  html body .home-featured-products .product-info h3,
  html body .listing-page .product-info h3,
  html body .products-grid .product-info h3 {
    margin-bottom: 13px !important;
    font-size: clamp(24px, 8vw, 31px) !important;
  }

  html body .home-featured-products .product-code,
  html body .listing-page .product-code,
  html body .products-grid .product-code {
    font-size: 16px !important;
  }

  html body .home-featured-products .product-price,
  html body .listing-page .product-price,
  html body .products-grid .product-price,
  html body .home-featured-products .product-mobile-meta,
  html body .listing-page .product-mobile-meta,
  html body .products-grid .product-mobile-meta {
    max-width: 160px !important;
    font-size: 13px !important;
  }
}

/* Literal gravestone cards: the card itself is the stone, with an inset inscription field and base. */
html body .home-featured-products .products-grid,
html body .listing-page .products-grid,
html body .products-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  column-gap: clamp(26px, 3.5vw, 44px) !important;
  row-gap: clamp(54px, 6vw, 78px) !important;
  align-items: end !important;
}

html body .home-featured-products .product-card,
html body .listing-page .product-card,
html body .products-grid .product-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  width: 100% !important;
  max-width: 286px !important;
  min-height: 456px !important;
  margin: 24px auto 18px !important;
  padding: 48px 25px 50px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 27% 24%, rgba(255,255,255,0.58), transparent 17%),
    radial-gradient(circle at 71% 20%, rgba(255,255,255,0.16), transparent 19%),
    repeating-radial-gradient(circle at 50% 46%, rgba(255,255,255,0.055) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(112deg, rgba(255,255,255,0.045) 0 1px, rgba(0,0,0,0.035) 1px 3px, transparent 3px 8px),
    linear-gradient(112deg, #bdc6c9 0%, #7e8a8f 28%, #465157 61%, #242d33 100%) !important;
  color: #f7ead0 !important;
  box-shadow:
    inset 12px 0 13px rgba(255,255,255,0.28),
    inset -14px 0 18px rgba(0,0,0,0.34),
    inset 0 0 0 1px rgba(255,255,255,0.22),
    0 18px 18px rgba(23,19,15,0.2) !important;
  -webkit-mask:
    radial-gradient(118% 150px at 50% 150px, #000 98.5%, transparent 100%) top / 100% 150px no-repeat,
    linear-gradient(#000 0 0) left 132px / 100% calc(100% - 132px) no-repeat !important;
  mask:
    radial-gradient(118% 150px at 50% 150px, #000 98.5%, transparent 100%) top / 100% 150px no-repeat,
    linear-gradient(#000 0 0) left 132px / 100% calc(100% - 132px) no-repeat !important;
  overflow: visible !important;
  isolation: isolate !important;
  transform: none !important;
}

html body .home-featured-products .product-card:nth-child(even),
html body .listing-page .product-card:nth-child(even),
html body .products-grid .product-card:nth-child(even) {
  background:
    radial-gradient(circle at 26% 24%, rgba(255,255,255,0.44), transparent 17%),
    radial-gradient(circle at 72% 21%, rgba(255,255,255,0.12), transparent 19%),
    repeating-radial-gradient(circle at 50% 46%, rgba(255,255,255,0.045) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(112deg, rgba(255,255,255,0.035) 0 1px, rgba(0,0,0,0.045) 1px 3px, transparent 3px 8px),
    linear-gradient(112deg, #707b81 0%, #3f4a51 48%, #172129 100%) !important;
}

html body .home-featured-products .product-card::before,
html body .listing-page .product-card::before,
html body .products-grid .product-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 18px 17px 62px !important;
  display: block !important;
  border: 4px solid rgba(228,232,222,0.28) !important;
  border-bottom-width: 2px !important;
  border-radius: 999px 999px 4px 4px / 130px 130px 4px 4px !important;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.08), transparent 21%, transparent 78%, rgba(0,0,0,0.09)),
    transparent !important;
  box-shadow:
    inset 0 0 0 2px rgba(31,36,40,0.24),
    0 1px 0 rgba(255,255,255,0.18) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

html body .home-featured-products .product-card::after,
html body .listing-page .product-card::after,
html body .products-grid .product-card::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  display: block !important;
  height: 42px !important;
  border-radius: 0 !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22), transparent 36%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 8px),
    rgba(20,27,32,0.72) !important;
  box-shadow: inset 0 8px 10px rgba(255,255,255,0.08), inset 0 -12px 13px rgba(0,0,0,0.3) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

html body .home-featured-products .product-card > *,
html body .listing-page .product-card > *,
html body .products-grid .product-card > * {
  position: relative !important;
  z-index: 2 !important;
}

html body .home-featured-products .product-image,
html body .listing-page .product-image,
html body .products-grid .product-image {
  width: 92px !important;
  height: 112px !important;
  min-height: 0 !important;
  margin: -18px auto 16px !important;
  padding: 0 !important;
  border: 5px solid #e7dec2 !important;
  border-radius: 50% / 55% !important;
  background: #d9ceb7 !important;
  box-shadow:
    0 0 0 2px #8c6d31,
    0 7px 12px rgba(0,0,0,0.42),
    inset 0 0 12px rgba(255,255,255,0.5) !important;
  overflow: hidden !important;
}

html body .home-featured-products .product-image-link,
html body .listing-page .product-image-link,
html body .products-grid .product-image-link,
html body .home-featured-products .product-main-image,
html body .listing-page .product-main-image,
html body .products-grid .product-main-image {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: inherit !important;
}

html body .home-featured-products .product-main-image,
html body .listing-page .product-main-image,
html body .products-grid .product-main-image {
  object-fit: cover !important;
  filter: contrast(1.03) saturate(0.72) sepia(0.1) !important;
}

html body .home-featured-products .product-info,
html body .listing-page .product-info,
html body .products-grid .product-info {
  position: static !important;
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: inherit !important;
  text-align: center !important;
}

html body .home-featured-products .product-info::before,
html body .listing-page .product-info::before,
html body .products-grid .product-info::before {
  display: none !important;
}

html body .home-featured-products .product-info h3,
html body .listing-page .product-info h3,
html body .products-grid .product-info h3 {
  width: 100% !important;
  margin: 0 auto 22px !important;
  color: #f0cf7a !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(31px, 4vw, 43px) !important;
  line-height: 0.98 !important;
  font-weight: 900 !important;
  letter-spacing: 0.01em !important;
  text-transform: uppercase !important;
  text-shadow: 0 2px 0 #5a4322, 0 4px 6px rgba(0,0,0,0.46) !important;
}

html body .home-featured-products .product-info h3::before,
html body .listing-page .product-info h3::before,
html body .products-grid .product-info h3::before {
  display: none !important;
}

html body .home-featured-products .product-title-link,
html body .listing-page .product-title-link,
html body .products-grid .product-title-link {
  color: inherit !important;
  text-decoration: none !important;
}

html body .home-featured-products .product-code,
html body .listing-page .product-code,
html body .products-grid .product-code {
  order: 3 !important;
  margin: 0 auto 10px !important;
  color: #f3e9d3 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 21px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  text-shadow: 0 2px 3px rgba(0,0,0,0.7) !important;
}

html body .home-featured-products .product-code span,
html body .listing-page .product-code span,
html body .products-grid .product-code span {
  display: block !important;
  margin-bottom: 4px !important;
  color: #e6cf8d !important;
  font-size: 14px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

html body .home-featured-products .product-price,
html body .listing-page .product-price,
html body .products-grid .product-price,
html body .home-featured-products .product-mobile-meta,
html body .listing-page .product-mobile-meta,
html body .products-grid .product-mobile-meta {
  order: 4 !important;
  max-width: 200px !important;
  margin: 0 auto 20px !important;
  color: #f8f0df !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.72) !important;
}

html body .home-featured-products .product-card-cta,
html body .listing-page .product-card-cta,
html body .products-grid .product-card-cta {
  position: absolute !important;
  left: 50% !important;
  bottom: 13px !important;
  z-index: 3 !important;
  display: inline-flex !important;
  width: auto !important;
  min-width: 150px !important;
  min-height: 38px !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 8px 18px !important;
  border: 3px solid #e6cf8d !important;
  border-radius: 999px !important;
  background: #102434 !important;
  color: #fff4d5 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 4px 0 rgba(0,0,0,0.28) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  transform: translateX(-50%) !important;
}

@media (max-width: 520px) {
  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    grid-template-columns: 1fr !important;
    row-gap: 48px !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card {
    max-width: 232px !important;
    min-height: 372px !important;
    padding: 38px 14px 44px !important;
    -webkit-mask:
      radial-gradient(118% 108px at 50% 108px, #000 98.5%, transparent 100%) top / 100% 108px no-repeat,
      linear-gradient(#000 0 0) left 95px / 100% calc(100% - 95px) no-repeat !important;
    mask:
      radial-gradient(118% 108px at 50% 108px, #000 98.5%, transparent 100%) top / 100% 108px no-repeat,
      linear-gradient(#000 0 0) left 95px / 100% calc(100% - 95px) no-repeat !important;
  }

  html body .home-featured-products .product-card::before,
  html body .listing-page .product-card::before,
  html body .products-grid .product-card::before {
    inset: 12px 11px 52px !important;
    border-width: 3px !important;
  }

  html body .home-featured-products .product-image,
  html body .listing-page .product-image,
  html body .products-grid .product-image {
    width: 72px !important;
    height: 88px !important;
    margin: -12px auto 12px !important;
    border-width: 4px !important;
  }

  html body .home-featured-products .product-info h3,
  html body .listing-page .product-info h3,
  html body .products-grid .product-info h3 {
    margin-bottom: 16px !important;
    font-size: clamp(27px, 9vw, 34px) !important;
  }

  html body .home-featured-products .product-code,
  html body .listing-page .product-code,
  html body .products-grid .product-code {
    font-size: 17px !important;
  }

  html body .home-featured-products .product-price,
  html body .listing-page .product-price,
  html body .products-grid .product-price,
  html body .home-featured-products .product-mobile-meta,
  html body .listing-page .product-mobile-meta,
  html body .products-grid .product-mobile-meta {
    max-width: 168px !important;
    font-size: 13px !important;
  }

  html body .home-featured-products .product-card-cta,
  html body .listing-page .product-card-cta,
  html body .products-grid .product-card-cta {
    min-width: 120px !important;
    min-height: 32px !important;
    bottom: 10px !important;
    padding: 6px 14px !important;
    font-size: 12px !important;
  }
}

/* Real gravestone cards, based on the user's reference images. */
html body .home-featured-products .products-grid,
html body .listing-page .products-grid,
html body .products-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  column-gap: clamp(22px, 3vw, 34px) !important;
  row-gap: clamp(58px, 6vw, 76px) !important;
  align-items: end !important;
}

html body .home-featured-products .product-card,
html body .listing-page .product-card,
html body .products-grid .product-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  width: 100% !important;
  max-width: 310px !important;
  min-height: 438px !important;
  margin: 34px auto 34px !important;
  padding: 54px 22px 28px !important;
  border: 0 !important;
  border-radius: 999px 999px 10px 10px / 210px 210px 10px 10px !important;
  background:
    radial-gradient(circle at 28% 18%, rgba(255,255,255,0.5), transparent 18%),
    radial-gradient(circle at 72% 24%, rgba(255,255,255,0.22), transparent 20%),
    radial-gradient(circle at 42% 60%, rgba(0,0,0,0.18), transparent 38%),
    repeating-radial-gradient(circle at 50% 45%, rgba(255,255,255,0.055) 0 1px, transparent 1px 4px),
    linear-gradient(115deg, #cfd4d6 0%, #8e989d 34%, #59646a 68%, #343c42 100%) !important;
  box-shadow:
    inset 9px 0 13px rgba(255,255,255,0.32),
    inset -12px 0 18px rgba(0,0,0,0.34),
    inset 0 0 0 9px rgba(255,255,255,0.16),
    inset 0 0 0 14px rgba(32,38,43,0.18),
    0 16px 0 -8px #596168,
    0 24px 0 -8px #333a3f,
    0 25px 22px rgba(23,19,15,0.26) !important;
  color: #f4ead3 !important;
  overflow: visible !important;
  transform: none !important;
}

html body .home-featured-products .product-card:nth-child(even),
html body .listing-page .product-card:nth-child(even),
html body .products-grid .product-card:nth-child(even) {
  background:
    radial-gradient(circle at 26% 18%, rgba(255,255,255,0.38), transparent 18%),
    radial-gradient(circle at 74% 28%, rgba(255,255,255,0.16), transparent 20%),
    radial-gradient(circle at 44% 62%, rgba(0,0,0,0.24), transparent 38%),
    repeating-radial-gradient(circle at 50% 45%, rgba(255,255,255,0.045) 0 1px, transparent 1px 4px),
    linear-gradient(115deg, #717b80 0%, #465057 42%, #202b33 100%) !important;
}

html body .home-featured-products .product-card::before,
html body .listing-page .product-card::before,
html body .products-grid .product-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 16px 16px 74px !important;
  display: block !important;
  border: 5px solid rgba(238,242,237,0.28) !important;
  border-bottom-width: 0 !important;
  border-radius: 999px 999px 6px 6px / 185px 185px 6px 6px !important;
  background: transparent !important;
  box-shadow:
    inset 0 0 0 2px rgba(34,39,43,0.26),
    0 1px 0 rgba(255,255,255,0.25) !important;
  pointer-events: none !important;
}

html body .home-featured-products .product-card::after,
html body .listing-page .product-card::after,
html body .products-grid .product-card::after {
  content: "" !important;
  position: absolute !important;
  left: -18px !important;
  right: -18px !important;
  bottom: -18px !important;
  display: block !important;
  height: 58px !important;
  border-radius: 5px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28), transparent 38%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 7px),
    #626b70 !important;
  box-shadow:
    inset 0 6px 9px rgba(255,255,255,0.18),
    inset 0 -10px 15px rgba(0,0,0,0.28),
    0 10px 16px rgba(23,19,15,0.24) !important;
  pointer-events: none !important;
}

html body .home-featured-products .product-image,
html body .listing-page .product-image,
html body .products-grid .product-image {
  position: relative !important;
  z-index: 2 !important;
  width: 100px !important;
  height: 118px !important;
  min-height: 0 !important;
  margin: -22px auto 16px !important;
  padding: 0 !important;
  border: 5px solid #e6ddc2 !important;
  border-radius: 50% !important;
  background: #d6ccb7 !important;
  box-shadow:
    0 0 0 2px #8a713c,
    0 5px 11px rgba(0,0,0,0.42),
    inset 0 0 12px rgba(255,255,255,0.45) !important;
  overflow: hidden !important;
}

html body .home-featured-products .product-image-link,
html body .listing-page .product-image-link,
html body .products-grid .product-image-link {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
}

html body .home-featured-products .product-main-image,
html body .listing-page .product-main-image,
html body .products-grid .product-main-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  filter: contrast(1.02) saturate(0.72) sepia(0.08) !important;
}

html body .home-featured-products .product-zoom-button,
html body .listing-page .product-zoom-button,
html body .products-grid .product-zoom-button,
html body .home-featured-products .product-corner-badge,
html body .listing-page .product-corner-badge,
html body .products-grid .product-corner-badge,
html body .home-featured-products .product-inline-badge,
html body .listing-page .product-inline-badge,
html body .products-grid .product-inline-badge,
html body .home-featured-products .product-thumbs,
html body .listing-page .product-thumbs,
html body .products-grid .product-thumbs,
html body .home-featured-products .product-hover-meta,
html body .listing-page .product-hover-meta,
html body .products-grid .product-hover-meta {
  display: none !important;
}

html body .home-featured-products .product-info,
html body .listing-page .product-info,
html body .products-grid .product-info {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  min-height: 0 !important;
}

html body .home-featured-products .product-info::before,
html body .listing-page .product-info::before,
html body .products-grid .product-info::before {
  content: "" !important;
  position: absolute !important;
  left: 4px !important;
  top: 76px !important;
  width: 30px !important;
  height: 118px !important;
  opacity: 0.28 !important;
  background:
    radial-gradient(circle at 50% 14%, transparent 0 7px, #f0e5c6 8px 10px, transparent 11px),
    radial-gradient(ellipse at 30% 28%, #f0e5c6 0 8px, transparent 9px),
    radial-gradient(ellipse at 68% 28%, #f0e5c6 0 8px, transparent 9px),
    linear-gradient(90deg, transparent 44%, #f0e5c6 45% 55%, transparent 56%),
    radial-gradient(ellipse at 30% 55%, #f0e5c6 0 7px, transparent 8px),
    radial-gradient(ellipse at 68% 70%, #f0e5c6 0 7px, transparent 8px) !important;
  pointer-events: none !important;
}

html body .home-featured-products .product-info h3,
html body .listing-page .product-info h3,
html body .products-grid .product-info h3 {
  width: 100% !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  border: 0 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(29px, 3vw, 42px) !important;
  font-weight: 900 !important;
  line-height: 0.98 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  color: #ead08c !important;
  text-shadow:
    0 2px 0 #604514,
    2px 2px 0 rgba(0,0,0,0.55),
    -1px -1px 0 rgba(255,255,255,0.35),
    0 8px 10px rgba(0,0,0,0.35) !important;
}

html body .home-featured-products .product-title-link,
html body .listing-page .product-title-link,
html body .products-grid .product-title-link {
  color: inherit !important;
  text-decoration: none !important;
}

html body .home-featured-products .product-code,
html body .listing-page .product-code,
html body .products-grid .product-code {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  width: 100% !important;
  margin: 0 0 10px !important;
  padding: 11px 8px 0 !important;
  border: 0 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: 0.02em !important;
  color: #f3ead2 !important;
  text-shadow: 0 2px 0 rgba(0,0,0,0.72), 0 0 6px rgba(255,255,255,0.18) !important;
}

html body .home-featured-products .product-code span,
html body .listing-page .product-code span,
html body .products-grid .product-code span {
  font-size: 12px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #dac18b !important;
}

html body .home-featured-products .product-mobile-meta,
html body .listing-page .product-mobile-meta,
html body .products-grid .product-mobile-meta {
  display: block !important;
  margin: 0 0 9px !important;
  color: #f1e7d2 !important;
  text-shadow: 0 2px 0 rgba(0,0,0,0.65) !important;
}

html body .home-featured-products .product-hover-brand,
html body .listing-page .product-hover-brand,
html body .products-grid .product-hover-brand {
  font-size: 16px !important;
  font-weight: 800 !important;
}

html body .home-featured-products .product-price,
html body .listing-page .product-price,
html body .products-grid .product-price {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  max-width: 190px !important;
  min-height: 42px !important;
  margin: 0 auto 18px !important;
  overflow: hidden !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #f1e7d2 !important;
  text-shadow: 0 2px 0 rgba(0,0,0,0.62) !important;
}

html body .home-featured-products .product-card-cta,
html body .listing-page .product-card-cta,
html body .products-grid .product-card-cta {
  position: relative !important;
  z-index: 3 !important;
  align-self: center !important;
  min-width: 132px !important;
  margin: auto auto -12px !important;
  padding: 9px 18px !important;
  border: 3px solid #d7c28b !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #18324a, #071724) !important;
  color: #fff5d8 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.28),
    0 4px 0 rgba(0,0,0,0.38) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
}

html body .home-featured-products .product-card-cta::before,
html body .listing-page .product-card-cta::before,
html body .products-grid .product-card-cta::before {
  content: "" !important;
  display: inline-block !important;
  width: 12px !important;
  height: 12px !important;
  margin-right: 7px !important;
  border-radius: 2px !important;
  background: linear-gradient(135deg, #f4df9a, #8c6c25) !important;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.22) !important;
  vertical-align: -1px !important;
}

html body .home-featured-products .product-card:hover,
html body .listing-page .product-card:hover,
html body .products-grid .product-card:hover,
html body .home-featured-products .product-card:focus-within,
html body .listing-page .product-card:focus-within,
html body .products-grid .product-card:focus-within {
  transform: translateY(-4px) !important;
  box-shadow:
    inset 9px 0 13px rgba(255,255,255,0.32),
    inset -12px 0 18px rgba(0,0,0,0.34),
    inset 0 0 0 9px rgba(255,255,255,0.16),
    inset 0 0 0 14px rgba(32,38,43,0.18),
    0 16px 0 -8px #596168,
    0 24px 0 -8px #333a3f,
    0 28px 26px rgba(23,19,15,0.32) !important;
}

@media (max-width: 680px) {
  html body .archive-category-band {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  html body .archive-category-pill {
    display: flex !important;
    justify-content: center !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
  }

  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    grid-template-columns: 1fr !important;
    justify-content: center !important;
    justify-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    column-gap: 30px !important;
    row-gap: 58px !important;
    overflow: visible !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card {
    max-width: 220px !important;
    min-height: 330px !important;
    margin-top: 22px !important;
    margin-bottom: 28px !important;
    padding: 38px 10px 22px !important;
    box-sizing: border-box !important;
  }

  html body .home-featured-products .product-card::before,
  html body .listing-page .product-card::before,
  html body .products-grid .product-card::before {
    inset: 11px 10px 54px !important;
    border-width: 4px !important;
    border-bottom-width: 0 !important;
  }

  html body .home-featured-products .product-card::after,
  html body .listing-page .product-card::after,
  html body .products-grid .product-card::after {
    left: -6px !important;
    right: -6px !important;
    bottom: -13px !important;
    height: 42px !important;
  }

  html body .home-featured-products .product-image,
  html body .listing-page .product-image,
  html body .products-grid .product-image {
    width: 70px !important;
    height: 82px !important;
    margin: -14px auto 11px !important;
    border-width: 4px !important;
  }

  html body .home-featured-products .product-info h3,
  html body .listing-page .product-info h3,
  html body .products-grid .product-info h3 {
    font-size: clamp(25px, 8vw, 31px) !important;
  }

  html body .home-featured-products .product-code,
  html body .listing-page .product-code,
  html body .products-grid .product-code {
    font-size: 14px !important;
  }

  html body .home-featured-products .product-price,
  html body .listing-page .product-price,
  html body .products-grid .product-price,
  html body .home-featured-products .product-mobile-meta,
  html body .listing-page .product-mobile-meta,
  html body .products-grid .product-mobile-meta {
    font-size: 12px !important;
  }

  html body .home-featured-products .product-card-cta,
  html body .listing-page .product-card-cta,
  html body .products-grid .product-card-cta {
    min-width: 112px !important;
    padding: 7px 10px !important;
    font-size: 12px !important;
  }
}

@media (min-width: 521px) and (max-width: 680px) {
  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card {
    max-width: 176px !important;
  }
}

/* Final mobile menu: replace copied storefront drawer with VE archive styling. */
@media (max-width: 900px) {
  html body .archive-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1500 !important;
    border-bottom: 3px double #17130f !important;
    background: #efe4d0 !important;
  }

  html body .archive-menu-button,
  html body .site-header .menu-button {
    position: absolute !important;
    left: 12px !important;
    top: 50% !important;
    display: inline-flex !important;
    width: 42px !important;
    height: 42px !important;
    border: 1px solid rgba(23,19,15,0.55) !important;
    border-radius: 50% !important;
    background: #f6edda !important;
    color: #17130f !important;
    box-shadow: 0 2px 0 rgba(23,19,15,0.16) !important;
    transform: translateY(-50%) !important;
  }

  html body .archive-menu-lines {
    display: inline-flex !important;
    width: 18px !important;
    gap: 4px !important;
  }

  html body .archive-menu-lines span {
    width: 18px !important;
    height: 2px !important;
    border-radius: 0 !important;
    background: #17130f !important;
  }

  html body .mobile-drawer-menu,
  html body .mobile-drawer-menu * {
    font-family: Georgia, "Times New Roman", serif !important;
    letter-spacing: 0 !important;
  }

  html body .mobile-drawer-menu .mobile-drawer-backdrop {
    background: rgba(23,19,15,0.52) !important;
    backdrop-filter: blur(2px) !important;
  }

  html body .mobile-drawer-menu .mobile-drawer-panel {
    width: min(340px, calc(100vw - 34px)) !important;
    border-right: 3px double #17130f !important;
    background:
      linear-gradient(135deg, rgba(255,255,255,0.46), transparent 45%),
      repeating-linear-gradient(0deg, rgba(23,19,15,0.035) 0 1px, transparent 1px 6px),
      #f3e7d3 !important;
    color: #17130f !important;
    box-shadow: 12px 0 24px rgba(23,19,15,0.28) !important;
  }

  html body .mobile-drawer-top {
    height: auto !important;
    min-height: 76px !important;
    padding: 14px 14px 13px !important;
    border-bottom: 4px double #17130f !important;
    background: #17130f !important;
    color: #f6ead5 !important;
  }

  html body .mobile-drawer-top-left {
    gap: 10px !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    letter-spacing: 0.02em !important;
  }

  html body .mobile-drawer-seal,
  html body .mobile-drawer-heart {
    display: inline-grid !important;
    place-items: center !important;
    flex: 0 0 auto !important;
    border: 1px solid currentColor !important;
    border-radius: 50% !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-weight: 900 !important;
  }

  html body .mobile-drawer-seal {
    width: 42px !important;
    height: 42px !important;
    color: #f6ead5 !important;
    font-size: 16px !important;
  }

  html body .mobile-drawer-close,
  html body .mobile-drawer-back {
    width: 36px !important;
    height: 36px !important;
    border: 1px solid rgba(246,234,213,0.55) !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: #f6ead5 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 28px !important;
    font-weight: 400 !important;
  }

  html body .mobile-drawer-list {
    padding: 12px !important;
    border-top: 0 !important;
    background: transparent !important;
  }

  html body .mobile-drawer-row {
    min-height: 52px !important;
    margin: 0 0 8px !important;
    padding: 0 12px !important;
    border: 1px solid rgba(23,19,15,0.58) !important;
    border-radius: 0 !important;
    background: rgba(250,244,232,0.82) !important;
    color: #17130f !important;
    box-shadow: 3px 3px 0 rgba(23,19,15,0.1) !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
  }

  html body .mobile-drawer-heart {
    width: 28px !important;
    height: 28px !important;
    color: #6d4b2b !important;
    font-size: 10px !important;
    line-height: 1 !important;
  }

  html body .mobile-drawer-arrow {
    color: #17130f !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 28px !important;
  }

  html body .mobile-drawer-sub-title {
    color: #f6ead5 !important;
    font-size: 18px !important;
    font-weight: 900 !important;
  }
}

/* Restore the original rounded gravestone shape; only keep the extra spacing that prevents row shadows from overlapping. */
html body .home-featured-products .product-card,
html body .listing-page .product-card,
html body .products-grid .product-card {
  border-radius: 999px 999px 10px 10px / 210px 210px 10px 10px !important;
  -webkit-mask:
    radial-gradient(115% 125px at 50% 125px, #000 98%, transparent 100%) top / 100% 125px no-repeat,
    linear-gradient(#000 0 0) left 112px / 100% calc(100% - 112px) no-repeat !important;
  mask:
    radial-gradient(115% 125px at 50% 125px, #000 98%, transparent 100%) top / 100% 125px no-repeat,
    linear-gradient(#000 0 0) left 112px / 100% calc(100% - 112px) no-repeat !important;
  overflow: visible !important;
}

html body .home-featured-products .product-card {
  isolation: isolate !important;
}

html body .home-featured-products .product-card > *,
html body .listing-page .product-card > *,
html body .products-grid .product-card > * {
  position: relative !important;
  z-index: 2 !important;
}

html body .home-featured-products .product-card::before,
html body .listing-page .product-card::before,
html body .products-grid .product-card::before {
  z-index: 1 !important;
}

html body .home-featured-products .product-card::after,
html body .listing-page .product-card::after,
html body .products-grid .product-card::after {
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 34px !important;
}

@media (max-width: 520px) {
  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card {
    -webkit-mask:
      radial-gradient(115% 92px at 50% 92px, #000 98%, transparent 100%) top / 100% 92px no-repeat,
      linear-gradient(#000 0 0) left 82px / 100% calc(100% - 82px) no-repeat !important;
    mask:
      radial-gradient(115% 92px at 50% 92px, #000 98%, transparent 100%) top / 100% 92px no-repeat,
      linear-gradient(#000 0 0) left 82px / 100% calc(100% - 82px) no-repeat !important;
  }

  html body .home-featured-products .product-card::after,
  html body .listing-page .product-card::after,
  html body .products-grid .product-card::after {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 30px !important;
  }
}

/* Keep the CTA on the stone base, not in the inscription area. */
html body .home-featured-products .product-card > .product-info,
html body .listing-page .product-card > .product-info,
html body .products-grid .product-card > .product-info {
  position: static !important;
}

html body .home-featured-products .product-card > .product-info .product-card-cta,
html body .listing-page .product-card > .product-info .product-card-cta,
html body .products-grid .product-card > .product-info .product-card-cta {
  position: absolute !important;
  left: 50% !important;
  bottom: 13px !important;
  transform: translateX(-50%) !important;
}

/* FINAL EOF OVERRIDE - real cemetery headstone, no CSS-card tombstone. */
html body .home-featured-products .products-grid,
html body .listing-page .products-grid,
html body .products-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
  column-gap: 30px !important;
  row-gap: 44px !important;
}

html body .home-featured-products .product-card,
html body .listing-page .product-card,
html body .products-grid .product-card {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 282px !important;
  min-height: 0 !important;
  aspect-ratio: 2 / 3 !important;
  margin: 14px auto 28px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  overflow: visible !important;
  isolation: isolate !important;
}

html body .home-featured-products .product-card::before,
html body .listing-page .product-card::before,
html body .products-grid .product-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  display: block !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: url("assets/gravestone-template-v2.png?v=20260528-0005") center / contain no-repeat !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

html body .home-featured-products .product-card::after,
html body .listing-page .product-card::after,
html body .products-grid .product-card::after {
  display: none !important;
}

html body .home-featured-products .product-card > *,
html body .listing-page .product-card > *,
html body .products-grid .product-card > * {
  position: relative !important;
  z-index: 2 !important;
}

html body .home-featured-products .product-image,
html body .listing-page .product-image,
html body .products-grid .product-image {
  position: absolute !important;
  top: 24px !important;
  left: 50% !important;
  z-index: 3 !important;
  width: 150px !important;
  height: 178px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% / 56% !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden !important;
  transform: translateX(-50%) !important;
}

html body .home-featured-products .product-image-link,
html body .listing-page .product-image-link,
html body .products-grid .product-image-link,
html body .home-featured-products .product-main-image,
html body .listing-page .product-main-image,
html body .products-grid .product-main-image {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: inherit !important;
}

html body .home-featured-products .product-main-image,
html body .listing-page .product-main-image,
html body .products-grid .product-main-image {
  object-fit: cover !important;
  filter: contrast(1.05) saturate(0.72) sepia(0.08) !important;
}

html body .home-featured-products .product-card > .product-info,
html body .listing-page .product-card > .product-info,
html body .products-grid .product-card > .product-info {
  position: absolute !important;
  inset: 214px 40px 56px !important;
  z-index: 3 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  background: transparent !important;
  color: #e8dfcc !important;
  text-align: center !important;
}

html body .home-featured-products .product-info h3,
html body .listing-page .product-info h3,
html body .products-grid .product-info h3 {
  max-width: 190px !important;
  margin: 0 auto 12px !important;
  color: #d7c391 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(22px, 2.7vw, 29px) !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
  text-shadow: 0 1px 0 rgba(255,255,255,0.14), 0 2px 5px rgba(0,0,0,0.85) !important;
}

html body .home-featured-products .product-code,
html body .listing-page .product-code,
html body .products-grid .product-code {
  margin: 0 auto 7px !important;
  color: #e5dcc7 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 15px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  text-shadow: 0 2px 5px rgba(0,0,0,0.9) !important;
}

html body .home-featured-products .product-price,
html body .listing-page .product-price,
html body .products-grid .product-price,
html body .home-featured-products .product-mobile-meta,
html body .listing-page .product-mobile-meta,
html body .products-grid .product-mobile-meta {
  max-width: 165px !important;
  margin: 0 auto !important;
  color: #e8dfcc !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 12px !important;
  line-height: 1.18 !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 5px rgba(0,0,0,0.9) !important;
}

html body .home-featured-products .product-card > .product-info .product-card-cta,
html body .listing-page .product-card > .product-info .product-card-cta,
html body .products-grid .product-card > .product-info .product-card-cta {
  position: absolute !important;
  left: 50% !important;
  bottom: -38px !important;
  z-index: 4 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #d7c391 !important;
  box-shadow: none !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 13px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.9) !important;
  transform: translateX(-50%) !important;
}

html body .home-featured-products .product-card > .product-info .product-card-cta .cta-icon,
html body .listing-page .product-card > .product-info .product-card-cta .cta-icon,
html body .products-grid .product-card > .product-info .product-card-cta .cta-icon {
  display: none !important;
}

@media (max-width: 520px) {
  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card {
    max-width: 252px !important;
  }

  html body .home-featured-products .product-image,
  html body .listing-page .product-image,
  html body .products-grid .product-image {
    top: 22px !important;
    width: 132px !important;
    height: 156px !important;
  }

  html body .home-featured-products .product-card > .product-info,
  html body .listing-page .product-card > .product-info,
  html body .products-grid .product-card > .product-info {
    inset: 194px 35px 50px !important;
  }
}

/* FINAL CLEAN HEADSTONE LAYOUT - fixed text, no card ground/background. */
html body .home-featured-products .products-grid,
html body .listing-page .products-grid,
html body .products-grid {
  background: transparent !important;
  align-items: start !important;
  row-gap: 54px !important;
}

html body .home-featured-products .product-card,
html body .listing-page .product-card,
html body .products-grid .product-card {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 282px !important;
  aspect-ratio: 2 / 3 !important;
  min-height: 0 !important;
  margin: 14px auto 32px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  -webkit-mask: none !important;
  mask: none !important;
  isolation: isolate !important;
}

html body .home-featured-products .product-card::before,
html body .listing-page .product-card::before,
html body .products-grid .product-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  display: block !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: url("assets/gravestone-template-v2.png?v=20260528-0005") center / contain no-repeat !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

html body .home-featured-products .product-card::after,
html body .listing-page .product-card::after,
html body .products-grid .product-card::after {
  content: none !important;
  display: none !important;
}

html body .home-featured-products .product-card > *,
html body .listing-page .product-card > *,
html body .products-grid .product-card > * {
  position: absolute !important;
}

html body .home-featured-products .product-image,
html body .listing-page .product-image,
html body .products-grid .product-image {
  top: 18px !important;
  left: 50% !important;
  z-index: 3 !important;
  width: 160px !important;
  height: 190px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% / 56% !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden !important;
  transform: translateX(-50%) !important;
}

html body .home-featured-products .product-image-link,
html body .listing-page .product-image-link,
html body .products-grid .product-image-link,
html body .home-featured-products .product-main-image,
html body .listing-page .product-main-image,
html body .products-grid .product-main-image {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  border-radius: inherit !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body .home-featured-products .product-main-image,
html body .listing-page .product-main-image,
html body .products-grid .product-main-image {
  object-fit: cover !important;
  filter: contrast(1.05) saturate(0.72) sepia(0.08) !important;
}

html body .home-featured-products .product-card > .product-info,
html body .listing-page .product-card > .product-info,
html body .products-grid .product-card > .product-info {
  inset: 0 !important;
  z-index: 4 !important;
  display: block !important;
  padding: 0 !important;
  background: transparent !important;
  color: #e8dfcc !important;
  text-align: center !important;
  pointer-events: none !important;
}

html body .home-featured-products .product-info h3,
html body .listing-page .product-info h3,
html body .products-grid .product-info h3 {
  position: absolute !important;
  top: 218px !important;
  left: 50% !important;
  width: 202px !important;
  max-width: 202px !important;
  margin: 0 !important;
  transform: translateX(-50%) !important;
  color: #d7c391 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 26px !important;
  line-height: 1.02 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  text-shadow: 0 1px 0 rgba(255,255,255,0.14), 0 2px 5px rgba(0,0,0,0.85) !important;
}

html body .home-featured-products .product-title-link,
html body .listing-page .product-title-link,
html body .products-grid .product-title-link,
html body .home-featured-products .product-image-link,
html body .listing-page .product-image-link,
html body .products-grid .product-image-link {
  pointer-events: auto !important;
}

html body .home-featured-products .product-life-dates,
html body .listing-page .product-life-dates,
html body .products-grid .product-life-dates {
  position: absolute !important;
  top: 292px !important;
  left: 50% !important;
  width: 176px !important;
  margin: 0 !important;
  transform: translateX(-50%) !important;
  display: grid !important;
  gap: 7px !important;
  color: #e5dcc7 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 13px !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  text-align: left !important;
  text-shadow: 0 2px 5px rgba(0,0,0,0.9) !important;
}

html body .home-featured-products .product-life-dates span,
html body .listing-page .product-life-dates span,
html body .products-grid .product-life-dates span {
  display: block !important;
  white-space: nowrap !important;
}

html body .home-featured-products .product-life-dates strong,
html body .listing-page .product-life-dates strong,
html body .products-grid .product-life-dates strong {
  color: #d7c391 !important;
}

html body .home-featured-products .product-card-cta,
html body .listing-page .product-card-cta,
html body .products-grid .product-card-cta,
html body .home-featured-products .product-mobile-meta,
html body .listing-page .product-mobile-meta,
html body .products-grid .product-mobile-meta,
html body .home-featured-products .product-hover-meta,
html body .listing-page .product-hover-meta,
html body .products-grid .product-hover-meta,
html body .home-featured-products .product-thumbs,
html body .listing-page .product-thumbs,
html body .products-grid .product-thumbs,
html body .home-featured-products .product-zoom-button,
html body .listing-page .product-zoom-button,
html body .products-grid .product-zoom-button,
html body .home-featured-products .product-corner-badge,
html body .listing-page .product-corner-badge,
html body .products-grid .product-corner-badge,
html body .home-featured-products .product-inline-badge,
html body .listing-page .product-inline-badge,
html body .products-grid .product-inline-badge {
  display: none !important;
}

@media (max-width: 520px) {
  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    row-gap: 44px !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card {
    max-width: 252px !important;
    margin-bottom: 26px !important;
  }

  html body .home-featured-products .product-image,
  html body .listing-page .product-image,
  html body .products-grid .product-image {
    top: 16px !important;
    width: 142px !important;
    height: 168px !important;
  }

  html body .home-featured-products .product-info h3,
  html body .listing-page .product-info h3,
  html body .products-grid .product-info h3 {
    top: 194px !important;
    width: 182px !important;
    max-width: 182px !important;
    font-size: 23px !important;
  }

  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 262px !important;
    width: 158px !important;
    font-size: 12px !important;
    gap: 6px !important;
  }
}

/* FINAL EVEN CARD RESET - remove old alternate stone ground. */
html body .home-featured-products .products-grid .product-card:nth-child(even),
html body .listing-page .products-grid .product-card:nth-child(even),
html body .products-grid .product-card:nth-child(even),
html body .home-featured-products .products-grid .product-card:nth-child(odd),
html body .listing-page .products-grid .product-card:nth-child(odd),
html body .products-grid .product-card:nth-child(odd) {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  -webkit-mask: none !important;
  mask: none !important;
}

/* FINAL READABLE HEADSTONE SCALE - prevent text overflow. */
html body .home-featured-products .products-grid,
html body .listing-page .products-grid,
html body .products-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  column-gap: 34px !important;
  row-gap: 68px !important;
}

html body .home-featured-products .product-card,
html body .listing-page .product-card,
html body .products-grid .product-card {
  max-width: 326px !important;
  margin-top: 18px !important;
  margin-bottom: 38px !important;
}

html body .home-featured-products .product-image,
html body .listing-page .product-image,
html body .products-grid .product-image {
  top: 20px !important;
  width: 176px !important;
  height: 206px !important;
}

html body .home-featured-products .product-info h3,
html body .listing-page .product-info h3,
html body .products-grid .product-info h3 {
  top: 238px !important;
  width: 236px !important;
  max-width: 236px !important;
  font-size: 27px !important;
  line-height: 1.03 !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

html body .home-featured-products .product-life-dates,
html body .listing-page .product-life-dates,
html body .products-grid .product-life-dates {
  top: 326px !important;
  width: 214px !important;
  max-width: 214px !important;
  gap: 8px !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
  text-align: left !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

html body .home-featured-products .product-life-dates span,
html body .listing-page .product-life-dates span,
html body .products-grid .product-life-dates span {
  white-space: nowrap !important;
}

html body .home-featured-products .product-life-dates strong,
html body .listing-page .product-life-dates strong,
html body .products-grid .product-life-dates strong {
  text-transform: none !important;
  letter-spacing: 0 !important;
}

@media (max-width: 520px) {
  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: 56px !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card {
    max-width: min(316px, calc(100vw - 46px)) !important;
    margin-top: 14px !important;
    margin-bottom: 32px !important;
  }

  html body .home-featured-products .product-image,
  html body .listing-page .product-image,
  html body .products-grid .product-image {
    top: 18px !important;
    width: 168px !important;
    height: 198px !important;
  }

  html body .home-featured-products .product-info h3,
  html body .listing-page .product-info h3,
  html body .products-grid .product-info h3 {
    top: 228px !important;
    width: 224px !important;
    max-width: calc(100% - 76px) !important;
    font-size: 25px !important;
  }

  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 310px !important;
    width: 204px !important;
    max-width: calc(100% - 92px) !important;
    font-size: 11px !important;
    gap: 7px !important;
  }
}

/* FINAL TITLE WRAP FIX - keep names inside the stone. */
html body .home-featured-products .product-info h3,
html body .listing-page .product-info h3,
html body .products-grid .product-info h3 {
  top: 232px !important;
  width: 210px !important;
  max-width: 210px !important;
  font-size: 24px !important;
  line-height: 1.04 !important;
  text-align: center !important;
}

html body .home-featured-products .product-title-link,
html body .listing-page .product-title-link,
html body .products-grid .product-title-link {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  text-align: center !important;
}

html body .home-featured-products .product-life-dates,
html body .listing-page .product-life-dates,
html body .products-grid .product-life-dates {
  top: 314px !important;
  width: 194px !important;
  max-width: 194px !important;
  font-size: 11px !important;
}

@media (max-width: 520px) {
  html body .home-featured-products .product-info h3,
  html body .listing-page .product-info h3,
  html body .products-grid .product-info h3 {
    top: 226px !important;
    width: 204px !important;
    max-width: calc(100% - 96px) !important;
    font-size: 23px !important;
  }

  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 304px !important;
    width: 186px !important;
    max-width: calc(100% - 112px) !important;
    font-size: 10.5px !important;
  }
}

/* FINAL TOMBSTONE NAME STACK - make names read like engraved stone text. */
html body .home-featured-products .product-info h3,
html body .listing-page .product-info h3,
html body .products-grid .product-info h3 {
  top: 224px !important;
  width: 158px !important;
  max-width: 158px !important;
  font-size: 24px !important;
  line-height: 1.02 !important;
}

html body .home-featured-products .product-title-link,
html body .listing-page .product-title-link,
html body .products-grid .product-title-link {
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

html body .home-featured-products .product-life-dates,
html body .listing-page .product-life-dates,
html body .products-grid .product-life-dates {
  top: 312px !important;
  width: 190px !important;
  max-width: 190px !important;
  font-size: 11px !important;
}

@media (max-width: 520px) {
  html body .home-featured-products .product-info h3,
  html body .listing-page .product-info h3,
  html body .products-grid .product-info h3 {
    top: 222px !important;
    width: 154px !important;
    max-width: 154px !important;
    font-size: 23px !important;
  }

  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 304px !important;
    width: 184px !important;
    max-width: 184px !important;
    font-size: 10.5px !important;
  }
}

/* FINAL COMPOSED HEADSTONE CARD - balanced portrait, engraved stacked name, contained dates. */
html body .home-featured-products .products-grid,
html body .listing-page .products-grid,
html body .products-grid {
  grid-template-columns: repeat(auto-fit, minmax(286px, 1fr)) !important;
  justify-items: center !important;
  align-items: start !important;
  gap: 58px 34px !important;
  background: transparent !important;
}

html body .home-featured-products .product-card,
html body .listing-page .product-card,
html body .products-grid .product-card {
  width: min(100%, 304px) !important;
  max-width: 304px !important;
  aspect-ratio: 2 / 3 !important;
  margin: 16px auto 34px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

html body .home-featured-products .product-card::before,
html body .listing-page .product-card::before,
html body .products-grid .product-card::before {
  background: url("assets/gravestone-template-v2.png?v=20260528-0005") center / contain no-repeat !important;
}

html body .home-featured-products .product-image,
html body .listing-page .product-image,
html body .products-grid .product-image {
  top: 24px !important;
  width: 150px !important;
  height: 174px !important;
  border: 5px solid rgba(219, 197, 139, 0.9) !important;
  border-radius: 50% / 56% !important;
  background: #efe7d4 !important;
  box-shadow: 0 2px 0 rgba(255,255,255,0.22), 0 8px 16px rgba(0,0,0,0.48) !important;
}

html body .home-featured-products .product-main-image,
html body .listing-page .product-main-image,
html body .products-grid .product-main-image {
  object-fit: cover !important;
  object-position: center top !important;
  filter: contrast(1.04) saturate(0.78) sepia(0.06) !important;
}

html body .home-featured-products .product-info h3,
html body .listing-page .product-info h3,
html body .products-grid .product-info h3 {
  top: 214px !important;
  left: 50% !important;
  width: 178px !important;
  max-width: 178px !important;
  margin: 0 !important;
  transform: translateX(-50%) !important;
  font-size: 27px !important;
  line-height: 0.98 !important;
  text-align: center !important;
  letter-spacing: 0 !important;
}

html body .home-featured-products .product-title-link,
html body .listing-page .product-title-link,
html body .products-grid .product-title-link,
html body .home-featured-products .product-title-line,
html body .listing-page .product-title-line,
html body .products-grid .product-title-line {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow: visible !important;
  text-align: center !important;
}

html body .home-featured-products .product-life-dates,
html body .listing-page .product-life-dates,
html body .products-grid .product-life-dates {
  top: 304px !important;
  left: 50% !important;
  width: 184px !important;
  max-width: 184px !important;
  transform: translateX(-50%) !important;
  display: grid !important;
  gap: 7px !important;
  margin: 0 !important;
  color: #f2e8cc !important;
  font-size: 11px !important;
  line-height: 1.1 !important;
  text-align: left !important;
  letter-spacing: 0 !important;
}

html body .home-featured-products .product-life-dates span,
html body .listing-page .product-life-dates span,
html body .products-grid .product-life-dates span {
  display: block !important;
  white-space: nowrap !important;
}

html body .home-featured-products .product-life-dates strong,
html body .listing-page .product-life-dates strong,
html body .products-grid .product-life-dates strong {
  color: #d9c282 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

@media (max-width: 520px) {
  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 52px !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card {
    width: min(304px, calc(100vw - 56px)) !important;
    max-width: 304px !important;
    margin-top: 14px !important;
    margin-bottom: 30px !important;
  }

  html body .home-featured-products .product-image,
  html body .listing-page .product-image,
  html body .products-grid .product-image {
    top: 22px !important;
    width: 146px !important;
    height: 170px !important;
  }

  html body .home-featured-products .product-info h3,
  html body .listing-page .product-info h3,
  html body .products-grid .product-info h3 {
    top: 210px !important;
    width: 172px !important;
    max-width: 172px !important;
    font-size: 26px !important;
  }

  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 296px !important;
    width: 178px !important;
    max-width: 178px !important;
    font-size: 10.5px !important;
  }
}

/* FINAL INSET PORTRAIT - keep portraits fully inside the gravestone. */
html body .home-featured-products .product-image,
html body .listing-page .product-image,
html body .products-grid .product-image {
  top: 48px !important;
  width: 132px !important;
  height: 154px !important;
  border-width: 4px !important;
}

html body .home-featured-products .product-info h3,
html body .listing-page .product-info h3,
html body .products-grid .product-info h3 {
  top: 220px !important;
  width: 178px !important;
  max-width: 178px !important;
  font-size: 27px !important;
}

html body .home-featured-products .product-life-dates,
html body .listing-page .product-life-dates,
html body .products-grid .product-life-dates {
  top: 310px !important;
  width: 184px !important;
  max-width: 184px !important;
}

@media (max-width: 520px) {
  html body .home-featured-products .product-image,
  html body .listing-page .product-image,
  html body .products-grid .product-image {
    top: 46px !important;
    width: 128px !important;
    height: 150px !important;
  }

  html body .home-featured-products .product-info h3,
  html body .listing-page .product-info h3,
  html body .products-grid .product-info h3 {
    top: 216px !important;
    width: 172px !important;
    max-width: 172px !important;
    font-size: 26px !important;
  }

  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 302px !important;
    width: 178px !important;
    max-width: 178px !important;
  }
}

/* FINAL OVAL ALIGNMENT - seat portrait lower inside the built-in oval area. */
html body .home-featured-products .product-image,
html body .listing-page .product-image,
html body .products-grid .product-image {
  top: 62px !important;
  width: 128px !important;
  height: 150px !important;
}

html body .home-featured-products .product-info h3,
html body .listing-page .product-info h3,
html body .products-grid .product-info h3 {
  top: 228px !important;
  font-size: 26px !important;
}

html body .home-featured-products .product-life-dates,
html body .listing-page .product-life-dates,
html body .products-grid .product-life-dates {
  top: 314px !important;
}

@media (max-width: 520px) {
  html body .home-featured-products .product-image,
  html body .listing-page .product-image,
  html body .products-grid .product-image {
    top: 58px !important;
    width: 126px !important;
    height: 148px !important;
  }

  html body .home-featured-products .product-info h3,
  html body .listing-page .product-info h3,
  html body .products-grid .product-info h3 {
    top: 224px !important;
    font-size: 25px !important;
  }

  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 308px !important;
  }
}

/* FINAL LOWER OVAL PORTRAIT - clear the inner arch line completely. */
html body .home-featured-products .product-image,
html body .listing-page .product-image,
html body .products-grid .product-image {
  top: 82px !important;
  width: 118px !important;
  height: 138px !important;
}

html body .home-featured-products .product-info h3,
html body .listing-page .product-info h3,
html body .products-grid .product-info h3 {
  top: 236px !important;
  font-size: 25px !important;
}

html body .home-featured-products .product-life-dates,
html body .listing-page .product-life-dates,
html body .products-grid .product-life-dates {
  top: 320px !important;
}

@media (max-width: 520px) {
  html body .home-featured-products .product-image,
  html body .listing-page .product-image,
  html body .products-grid .product-image {
    top: 78px !important;
    width: 116px !important;
    height: 136px !important;
  }

  html body .home-featured-products .product-info h3,
  html body .listing-page .product-info h3,
  html body .products-grid .product-info h3 {
    top: 232px !important;
    font-size: 24px !important;
  }

  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 314px !important;
  }
}

/* FINAL ENGRAVED DATE STYLE - larger, cleaner tombstone dates. */
html body .home-featured-products .product-life-dates,
html body .listing-page .product-life-dates,
html body .products-grid .product-life-dates {
  top: 322px !important;
  width: 206px !important;
  max-width: 206px !important;
  gap: 8px !important;
  color: #f4e6bd !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 13px !important;
  line-height: 1.08 !important;
  font-weight: 900 !important;
  text-align: center !important;
  letter-spacing: 0 !important;
  text-shadow: 0 1px 0 rgba(255,255,255,0.12), 0 2px 4px rgba(0,0,0,0.9) !important;
}

html body .home-featured-products .product-life-dates span,
html body .listing-page .product-life-dates span,
html body .products-grid .product-life-dates span {
  display: block !important;
  white-space: nowrap !important;
}

html body .home-featured-products .product-life-dates strong,
html body .listing-page .product-life-dates strong,
html body .products-grid .product-life-dates strong {
  color: #d8bf78 !important;
  font-size: 0.95em !important;
  font-weight: 900 !important;
}

@media (max-width: 520px) {
  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 316px !important;
    width: 198px !important;
    max-width: 198px !important;
    font-size: 12.5px !important;
    gap: 7px !important;
  }
}

/* FINAL COMPACT NAME-DATE GAP - bring dates closer to the name. */
html body .home-featured-products .product-life-dates,
html body .listing-page .product-life-dates,
html body .products-grid .product-life-dates {
  top: 300px !important;
}

@media (max-width: 520px) {
  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 296px !important;
  }
}

/* FINAL FATIHA BUTTON AND MODAL. */
html body .home-featured-products .fatiha-button,
html body .listing-page .fatiha-button,
html body .products-grid .fatiha-button {
  position: absolute !important;
  left: 50% !important;
  top: 365px !important;
  z-index: 8 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 156px !important;
  min-height: 30px !important;
  margin: 0 !important;
  padding: 7px 14px 8px !important;
  border: 2px solid rgba(216, 191, 120, 0.9) !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, rgba(18, 27, 31, 0.96), rgba(6, 12, 16, 0.98)) !important;
  color: #f4e6bd !important;
  box-shadow: 0 2px 0 rgba(255,255,255,0.08) inset, 0 8px 14px rgba(0,0,0,0.42) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.85) !important;
  transform: translateX(-50%) !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

html body .home-featured-products .fatiha-button:hover,
html body .listing-page .fatiha-button:hover,
html body .products-grid .fatiha-button:hover {
  color: #fff3cf !important;
  border-color: #ead087 !important;
  transform: translateX(-50%) translateY(-1px) !important;
}

.fatiha-modal[hidden] {
  display: none !important;
}

.fatiha-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10000 !important;
  display: grid !important;
  place-items: center !important;
  padding: 22px !important;
}

.fatiha-modal-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(18, 13, 8, 0.72) !important;
  backdrop-filter: blur(3px) !important;
}

.fatiha-modal-dialog {
  position: relative !important;
  z-index: 1 !important;
  width: min(92vw, 520px) !important;
  max-height: min(82vh, 720px) !important;
  overflow: auto !important;
  padding: 28px 26px 26px !important;
  border: 2px solid #2b2118 !important;
  background: #f3ead9 !important;
  color: #1d1712 !important;
  box-shadow: 10px 12px 0 rgba(29, 23, 18, 0.22), 0 22px 60px rgba(0,0,0,0.42) !important;
  font-family: Georgia, "Times New Roman", serif !important;
}

.fatiha-modal-close {
  position: absolute !important;
  top: 10px !important;
  right: 12px !important;
  width: 34px !important;
  height: 34px !important;
  border: 1px solid #2b2118 !important;
  background: transparent !important;
  color: #1d1712 !important;
  font-size: 26px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

.fatiha-modal-kicker {
  margin: 0 0 8px !important;
  color: #775b34 !important;
  font-family: Barlow, Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

.fatiha-modal h2 {
  margin: 0 0 18px !important;
  font-size: 32px !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
}

.fatiha-modal-text {
  display: grid !important;
  gap: 10px !important;
  font-size: 18px !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
}

.fatiha-modal-text p {
  margin: 0 !important;
}

body.fatiha-modal-open {
  overflow: hidden !important;
}

@media (max-width: 520px) {
  html body .home-featured-products .fatiha-button,
  html body .listing-page .fatiha-button,
  html body .products-grid .fatiha-button {
    top: 357px !important;
    width: 150px !important;
    min-height: 29px !important;
    font-size: 12.5px !important;
  }

  .fatiha-modal-dialog {
    padding: 24px 20px 22px !important;
  }

  .fatiha-modal h2 {
    font-size: 28px !important;
  }

  .fatiha-modal-text {
    font-size: 16px !important;
  }
}

/* FINAL DESKTOP FOUR-COLUMN TOMBSTONE GRID. */
@media (min-width: 1100px) {
  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 58px 24px !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card {
    width: 260px !important;
    max-width: 260px !important;
    margin-top: 10px !important;
    margin-bottom: 28px !important;
  }

  html body .home-featured-products .product-image,
  html body .listing-page .product-image,
  html body .products-grid .product-image {
    top: 70px !important;
    width: 104px !important;
    height: 122px !important;
    border-width: 4px !important;
  }

  html body .home-featured-products .product-info h3,
  html body .listing-page .product-info h3,
  html body .products-grid .product-info h3 {
    top: 204px !important;
    width: 152px !important;
    max-width: 152px !important;
    font-size: 22px !important;
    line-height: 1 !important;
  }

  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 260px !important;
    width: 176px !important;
    max-width: 176px !important;
    gap: 6px !important;
    font-size: 11px !important;
  }

  html body .home-featured-products .fatiha-button,
  html body .listing-page .fatiha-button,
  html body .products-grid .fatiha-button {
    top: 314px !important;
    width: 138px !important;
    min-height: 27px !important;
    padding: 6px 12px 7px !important;
    font-size: 12px !important;
  }
}

/* FINAL PORTRAIT CROP TIGHTEN - reduce pale photo background at the top. */
html body .home-featured-products .product-main-image,
html body .listing-page .product-main-image,
html body .products-grid .product-main-image {
  transform: scale(1.12) !important;
  transform-origin: center 38% !important;
}

@media (min-width: 1100px) {
  html body .home-featured-products .product-main-image,
  html body .listing-page .product-main-image,
  html body .products-grid .product-main-image {
    transform: scale(1.15) !important;
    transform-origin: center 40% !important;
  }
}

/* FINAL PORTRAIT CROP NUDGE UP - center faces slightly higher. */
html body .home-featured-products .product-main-image,
html body .listing-page .product-main-image,
html body .products-grid .product-main-image {
  transform-origin: center 30% !important;
}

@media (min-width: 1100px) {
  html body .home-featured-products .product-main-image,
  html body .listing-page .product-main-image,
  html body .products-grid .product-main-image {
    transform-origin: center 32% !important;
  }
}

/* FINAL OVAL FRAME NUDGE UP - move the whole portrait oval upward. */
html body .home-featured-products .product-image,
html body .listing-page .product-image,
html body .products-grid .product-image {
  top: 74px !important;
}

html body .home-featured-products .product-main-image,
html body .listing-page .product-main-image,
html body .products-grid .product-main-image {
  transform-origin: center 38% !important;
}

@media (max-width: 520px) {
  html body .home-featured-products .product-image,
  html body .listing-page .product-image,
  html body .products-grid .product-image {
    top: 70px !important;
  }
}

@media (min-width: 1100px) {
  html body .home-featured-products .product-image,
  html body .listing-page .product-image,
  html body .products-grid .product-image {
    top: 62px !important;
  }

  html body .home-featured-products .product-main-image,
  html body .listing-page .product-main-image,
  html body .products-grid .product-main-image {
    transform-origin: center 40% !important;
  }
}

/* FINAL WHITE MARBLE HEADSTONE - matches the new reference direction. */
html body .home-featured-products .products-grid,
html body .listing-page .products-grid,
html body .products-grid {
  grid-template-columns: repeat(auto-fit, minmax(292px, 1fr)) !important;
  gap: 64px 34px !important;
}

html body .home-featured-products .product-card,
html body .listing-page .product-card,
html body .products-grid .product-card {
  width: min(100%, 306px) !important;
  max-width: 306px !important;
  aspect-ratio: 2 / 3 !important;
  margin: 18px auto 34px !important;
  color: #171613 !important;
}

html body .home-featured-products .product-card::before,
html body .listing-page .product-card::before,
html body .products-grid .product-card::before {
  inset: 0 !important;
  background: url("assets/gravestone-template-white-left-flag.png?v=20260601-0032") center / contain no-repeat !important;
  filter: drop-shadow(0 16px 20px rgba(42, 36, 25, 0.18)) !important;
}

html body .home-featured-products .product-card > .product-info,
html body .listing-page .product-card > .product-info,
html body .products-grid .product-card > .product-info {
  inset: 0 !important;
  display: block !important;
  pointer-events: none !important;
  color: #171613 !important;
}

html body .home-featured-products .product-image,
html body .listing-page .product-image,
html body .products-grid .product-image {
  top: 58px !important;
  width: 150px !important;
  height: 176px !important;
  border: 4px solid rgba(42, 40, 36, 0.82) !important;
  border-radius: 50% / 56% !important;
  background: #f7f4eb !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.88), 0 5px 12px rgba(43, 37, 27, 0.25) !important;
  pointer-events: auto !important;
}

html body .home-featured-products .product-main-image,
html body .listing-page .product-main-image,
html body .products-grid .product-main-image {
  filter: contrast(1.04) saturate(0.88) sepia(0.04) !important;
  transform: scale(1.08) !important;
  transform-origin: center 38% !important;
}

html body .home-featured-products .product-info h3,
html body .listing-page .product-info h3,
html body .products-grid .product-info h3 {
  position: absolute !important;
  top: 240px !important;
  left: 50% !important;
  width: 218px !important;
  max-width: 218px !important;
  margin: 0 !important;
  transform: translateX(-50%) !important;
  color: #161512 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 27px !important;
  line-height: 0.98 !important;
  font-weight: 900 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  letter-spacing: 0 !important;
  text-shadow: 0 1px 0 rgba(255,255,255,0.8), 0 1px 2px rgba(0,0,0,0.18) !important;
  pointer-events: auto !important;
}

html body .home-featured-products .product-title-link,
html body .listing-page .product-title-link,
html body .products-grid .product-title-link {
  color: inherit !important;
  text-decoration: none !important;
}

html body .home-featured-products .product-life-dates,
html body .listing-page .product-life-dates,
html body .products-grid .product-life-dates {
  position: absolute !important;
  top: 306px !important;
  left: 50% !important;
  width: 188px !important;
  max-width: 188px !important;
  transform: translateX(-50%) !important;
  display: grid !important;
  gap: 6px !important;
  margin: 0 !important;
  color: #161512 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 15px !important;
  line-height: 1.12 !important;
  font-weight: 800 !important;
  text-align: left !important;
  letter-spacing: 0 !important;
  text-shadow: 0 1px 0 rgba(255,255,255,0.78) !important;
}

html body .home-featured-products .product-life-dates span,
html body .listing-page .product-life-dates span,
html body .products-grid .product-life-dates span {
  display: flex !important;
  justify-content: space-between !important;
  gap: 10px !important;
  color: #171613 !important;
  white-space: nowrap !important;
}

html body .home-featured-products .product-life-dates strong,
html body .listing-page .product-life-dates strong,
html body .products-grid .product-life-dates strong {
  min-width: 74px !important;
  color: #3a3832 !important;
  font-family: Barlow, Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
}

html body .home-featured-products .fatiha-button,
html body .listing-page .fatiha-button,
html body .products-grid .fatiha-button,
html body .home-featured-products .product-card > .product-info .product-card-cta,
html body .listing-page .product-card > .product-info .product-card-cta,
html body .products-grid .product-card > .product-info .product-card-cta {
  position: absolute !important;
  left: 50% !important;
  z-index: 5 !important;
  transform: translateX(-50%) !important;
  width: 150px !important;
  min-height: 29px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 6px 12px 7px !important;
  border: 1px solid rgba(24, 23, 20, 0.85) !important;
  border-radius: 999px !important;
  background: rgba(20, 19, 17, 0.92) !important;
  color: #f7f2e5 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 3px 8px rgba(42, 34, 24, 0.18) !important;
  font-family: Barlow, Arial, sans-serif !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-shadow: none !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap !important;
  pointer-events: auto !important;
}

html body .home-featured-products .fatiha-button,
html body .listing-page .fatiha-button,
html body .products-grid .fatiha-button {
  top: 362px !important;
}

html body .home-featured-products .product-card > .product-info .product-card-cta,
html body .listing-page .product-card > .product-info .product-card-cta,
html body .products-grid .product-card > .product-info .product-card-cta {
  top: 394px !important;
  bottom: auto !important;
  background: rgba(255,255,255,0.76) !important;
  color: #171613 !important;
}

html body .home-featured-products .product-card > .product-info .product-card-cta .cta-icon,
html body .listing-page .product-card > .product-info .product-card-cta .cta-icon,
html body .products-grid .product-card > .product-info .product-card-cta .cta-icon {
  display: none !important;
}

@media (min-width: 1100px) {
  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 64px 24px !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card {
    width: 260px !important;
    max-width: 260px !important;
    margin-top: 14px !important;
  }

  html body .home-featured-products .product-image,
  html body .listing-page .product-image,
  html body .products-grid .product-image {
    top: 66px !important;
    width: 94px !important;
    height: 112px !important;
  }

  html body .home-featured-products .product-info h3,
  html body .listing-page .product-info h3,
  html body .products-grid .product-info h3 {
    top: 188px !important;
    width: 186px !important;
    max-width: 186px !important;
    font-size: 22px !important;
  }

  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 244px !important;
    width: 160px !important;
    max-width: 160px !important;
    font-size: 12.5px !important;
  }

  html body .home-featured-products .product-life-dates strong,
  html body .listing-page .product-life-dates strong,
  html body .products-grid .product-life-dates strong {
    min-width: 58px !important;
    font-size: 10.5px !important;
  }

  html body .home-featured-products .fatiha-button,
  html body .listing-page .fatiha-button,
  html body .products-grid .fatiha-button {
    top: 296px !important;
    width: 134px !important;
    min-height: 26px !important;
    font-size: 11.5px !important;
  }

  html body .home-featured-products .product-card > .product-info .product-card-cta,
  html body .listing-page .product-card > .product-info .product-card-cta,
  html body .products-grid .product-card > .product-info .product-card-cta {
    top: 325px !important;
    width: 134px !important;
    min-height: 26px !important;
    font-size: 11.5px !important;
  }
}

@media (max-width: 520px) {
  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 56px !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card {
    width: min(306px, calc(100vw - 42px)) !important;
    max-width: 306px !important;
  }
}
/* Biography sub-content links for SEO landing pages. */
.biography-subcontents {
  display: grid;
  gap: 12px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid rgba(45, 36, 24, 0.22);
}

.biography-subcontents h2 {
  margin: 0 0 6px;
}

.biography-subcontent-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(45, 36, 24, 0.34);
  color: inherit;
  text-decoration: none;
  background: rgba(255, 250, 238, 0.42);
}

.biography-subcontent-link::after {
  content: "Oku";
  flex: 0 0 auto;
  font-family: Barlow, Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.biography-subcontent-back {
  margin: 0 0 22px;
  font-family: Barlow, Arial, sans-serif;
  font-weight: 800;
}

.biography-subcontent-back a {
  color: inherit;
}

/* The memorial stone bitmap already includes the single left flag. */
html body .home-featured-products .product-card::after,
html body .listing-page .product-card::after,
html body .products-grid .product-card::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

/* Final scale bump: keep four columns, but let each memorial stone read larger. */
@media (min-width: 1100px) {
  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    gap: 72px 32px !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card {
    width: 300px !important;
    max-width: 300px !important;
  }

  html body .home-featured-products .product-image,
  html body .listing-page .product-image,
  html body .products-grid .product-image {
    top: 56px !important;
    width: 148px !important;
    height: 174px !important;
  }

  html body .home-featured-products .product-info h3,
  html body .listing-page .product-info h3,
  html body .products-grid .product-info h3 {
    top: 236px !important;
    width: 214px !important;
    max-width: 214px !important;
    font-size: 26px !important;
  }

  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 302px !important;
    width: 184px !important;
    max-width: 184px !important;
    font-size: 14.5px !important;
  }

  html body .home-featured-products .product-life-dates strong,
  html body .listing-page .product-life-dates strong,
  html body .products-grid .product-life-dates strong {
    min-width: 70px !important;
    font-size: 11.5px !important;
  }

  html body .home-featured-products .fatiha-button,
  html body .listing-page .fatiha-button,
  html body .products-grid .fatiha-button {
    top: 358px !important;
    width: 148px !important;
    min-height: 28px !important;
    font-size: 12px !important;
  }

  html body .home-featured-products .product-card > .product-info .product-card-cta,
  html body .listing-page .product-card > .product-info .product-card-cta,
  html body .products-grid .product-card > .product-info .product-card-cta {
    top: 390px !important;
    width: 148px !important;
    min-height: 28px !important;
    font-size: 12px !important;
  }
}

html body .home-featured-products .product-card.is-filter-hidden,
html body .listing-page .product-card.is-filter-hidden,
html body .products-grid .product-card.is-filter-hidden,
html body .product-card.is-filter-hidden {
  display: none !important;
}
/* Last word for the public archive menu. */
html body .archive-nav .nav-links-window {
  overflow: visible !important;
}

html body .archive-nav .archive-nav-group {
  position: relative !important;
}

html body .archive-nav .archive-nav-group > summary {
  min-height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 14px !important;
  border: 1px solid rgba(47, 37, 25, 0.28) !important;
  border-radius: 0 !important;
  background: rgba(255, 250, 239, 0.52) !important;
  color: #1f1a14 !important;
  font-family: Barlow, Arial, sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body .archive-nav .archive-nav-group > summary::-webkit-details-marker {
  display: none !important;
}

html body .archive-nav .archive-nav-panel {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  right: 0 !important;
  z-index: 80 !important;
  min-width: 230px !important;
  max-width: min(520px, calc(100vw - 30px)) !important;
  max-height: min(430px, calc(100vh - 130px)) !important;
  overflow: auto !important;
  padding: 10px !important;
  border: 1px solid rgba(34, 28, 20, 0.38) !important;
  background: #f6eedf !important;
  box-shadow: 0 18px 34px rgba(43, 33, 22, 0.22) !important;
}

html body .archive-nav .archive-nav-panel.is-years {
  width: min(520px, calc(100vw - 30px)) !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 6px !important;
}

html body .archive-nav .archive-nav-panel a {
  min-height: 36px !important;
  display: flex !important;
  align-items: center !important;
  padding: 7px 10px !important;
  border: 1px solid rgba(52, 41, 28, 0.12) !important;
  background: rgba(255, 252, 245, 0.68) !important;
  color: #211a13 !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

@media (min-width: 761px) {
  html body .archive-header-inner {
    min-height: 82px !important;
    grid-template-columns: minmax(220px, auto) 1fr !important;
    grid-template-areas:
      "brand note"
      "nav nav" !important;
    row-gap: 10px !important;
  }

  html body .archive-menu-button,
  html body .site-header .menu-button {
    display: none !important;
  }

  html body .archive-nav,
  html body .archive-nav.is-open {
    grid-area: nav !important;
    display: block !important;
    width: 100% !important;
    justify-self: stretch !important;
    padding: 0 !important;
    border: 0 !important;
  }

  html body .archive-nav .nav-links-window {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
  }
}

@media (max-width: 760px) {
  html body .archive-header-inner {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "brand button"
      "nav nav" !important;
  }

  html body .archive-menu-button,
  html body .site-header .menu-button {
    grid-area: button !important;
    display: grid !important;
    position: static !important;
    justify-self: end !important;
    place-items: center !important;
  }

  html body .archive-nav,
  html body .archive-nav.is-open {
    grid-area: nav !important;
    display: none !important;
    width: 100% !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(47, 37, 25, 0.18) !important;
  }

  html body .archive-nav.is-open {
    display: block !important;
  }

  html body .archive-nav .nav-links-window {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  html body .archive-nav .archive-nav-group > summary {
    width: 100% !important;
    min-height: 42px !important;
    justify-content: space-between !important;
  }

  html body .archive-nav .archive-nav-panel,
  html body .archive-nav .archive-nav-panel.is-years {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    max-height: 260px !important;
    margin-top: 8px !important;
    grid-template-columns: 1fr !important;
    box-shadow: none !important;
  }
}

@media (min-width: 761px) {
  html body header.archive-header nav.main-nav.archive-nav,
  html body header.site-header nav.main-nav.archive-nav {
    display: block !important;
  }

  html body header.archive-header button.menu-button.archive-menu-button,
  html body header.site-header button.menu-button.archive-menu-button {
    display: none !important;
  }
}

/* Absolute final header row: brand and menu share one line on tablet/desktop. */
@media (min-width: 761px) {
  html body .archive-header-inner,
  html body header.archive-header .archive-header-inner,
  html body header.site-header .archive-header-inner {
    min-height: 76px !important;
    grid-template-columns: minmax(230px, auto) 1fr !important;
    grid-template-areas: "brand nav" !important;
    align-items: center !important;
    gap: 18px !important;
    padding-block: 10px !important;
  }

  html body .archive-header-note,
  html body header.archive-header .archive-header-note {
    display: none !important;
  }

  html body .archive-nav,
  html body .archive-nav.is-open,
  html body header.archive-header nav.main-nav.archive-nav,
  html body header.site-header nav.main-nav.archive-nav {
    grid-area: nav !important;
    display: block !important;
    width: auto !important;
    justify-self: end !important;
    padding: 0 !important;
    border: 0 !important;
  }

  html body .archive-nav .nav-links-window {
    justify-content: flex-end !important;
  }
}

.biography-comments {
  margin: 34px auto 58px;
  padding: 28px;
  border-top: 3px double rgba(46, 37, 25, 0.32);
  background: rgba(249, 241, 224, 0.72);
}

.biography-comments-head h2,
.biography-comment-form h3 {
  margin: 0 0 14px;
  color: #201914;
  font-family: Georgia, serif;
}

.biography-comment-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 24px;
}

.biography-comment {
  padding: 16px 18px;
  border: 1px solid rgba(47, 37, 25, 0.18);
  background: rgba(255, 252, 245, 0.78);
}

.biography-comment h3 {
  margin: 0 0 8px;
  color: #2c2118;
  font-size: 1rem;
}

.biography-comment p,
.biography-comment-empty {
  margin: 0;
  color: #4d4032;
  line-height: 1.65;
}

.biography-comment-form {
  display: grid;
  gap: 14px;
  max-width: 720px;
}

.biography-comment-form .comment-website-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.biography-comment-form label {
  display: grid;
  gap: 6px;
  color: #2f2519;
  font-weight: 800;
}

.biography-comment-form input,
.biography-comment-form textarea {
  width: 100%;
  border: 1px solid rgba(47, 37, 25, 0.24);
  background: #fffaf0;
  color: #211a13;
  font: inherit;
  padding: 11px 12px;
}

.biography-comment-form button {
  width: fit-content;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #211a13;
  background: #211a13;
  color: #fff7e8;
  font-weight: 900;
  cursor: pointer;
}

.biography-comment-form button:disabled {
  opacity: 0.58;
  cursor: wait;
}

.biography-comment-form-message {
  margin: 0;
  font-weight: 800;
}

.biography-comment-form-message.is-success {
  color: #246b35;
}

.biography-comment-form-message.is-error {
  color: #a32626;
}

.admin-comments-table textarea {
  min-width: 280px;
}

html body .biography-hero {
  align-items: start;
}

html body .biography-portrait {
  box-sizing: border-box;
  width: min(100%, 300px);
  aspect-ratio: 4 / 5;
  border-radius: 2px !important;
  background: #f6efe1 !important;
  border: 1px solid rgba(47, 37, 25, 0.42) !important;
  box-shadow:
    inset 0 0 0 8px rgba(255, 252, 244, 0.9),
    inset 0 0 0 10px rgba(47, 37, 25, 0.18),
    10px 12px 0 rgba(67, 55, 39, 0.12) !important;
  padding: 12px;
}

html body .biography-portrait img {
  box-sizing: border-box;
  display: block;
  max-width: 100%;
  max-height: 100%;
  filter: none !important;
  border: 1px solid rgba(47, 37, 25, 0.18);
}

html body .biography-hero-copy .biography-life-stats {
  margin: 24px 0 0;
  max-width: 780px;
}

html body .biography-hero-copy .biography-life-stats h2 {
  font-size: 22px;
}

@media (max-width: 820px) {
  html body .biography-portrait {
    width: min(100%, 320px);
  }
}

html body .biography-detail .biography-hero {
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding-top: 34px;
}

html body .biography-detail .biography-hero-copy {
  order: 1;
  max-width: 980px;
}

html body .biography-detail .biography-portrait {
  order: 2;
  width: min(100%, 360px);
}

html body .biography-detail .biography-hero-media {
  order: 2;
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(520px, 1fr);
  gap: 42px;
  align-items: stretch;
  max-width: 1180px;
  width: 100%;
}

html body .biography-detail .biography-hero-media .biography-portrait {
  order: 0;
  width: 100%;
}

html body .biography-detail .biography-summary {
  max-width: 900px;
}

html body .biography-detail .biography-hero-copy .biography-life-stats {
  max-width: 900px;
  margin-top: 28px;
}

html body .biography-detail .biography-hero-media .biography-life-stats {
  margin: 0;
  max-width: none;
  min-height: 100%;
}

@media (min-width: 981px) {
  html body .biography-detail .biography-hero-media .biography-life-stats {
    display: flex;
    flex-direction: column;
    padding: 32px 34px;
  }

  html body .biography-detail .biography-hero-media .biography-life-stats h2 {
    margin-bottom: 24px;
    font-size: 28px;
  }

  html body .biography-detail .biography-hero-media .biography-life-stats dl {
    flex: 1;
    align-content: space-between;
    gap: 14px;
  }

  html body .biography-detail .biography-hero-media .biography-life-stat {
    padding: 12px 0;
  }

  html body .biography-detail .biography-hero-media .biography-life-stat dt {
    font-size: 16px;
  }

  html body .biography-detail .biography-hero-media .biography-life-stat dd {
    font-size: 21px;
  }
}

@media (max-width: 980px) {
  html body .biography-detail .biography-hero {
    gap: 22px;
  }

  html body .biography-detail .biography-portrait {
    width: min(100%, 340px);
  }

  html body .biography-detail .biography-hero-media {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    align-items: start;
  }

  html body .biography-detail .biography-hero-media .biography-portrait {
    width: min(100%, 340px);
  }

  html body .biography-detail .biography-hero-media .biography-life-stats {
    min-height: 0;
  }
}

html body .archive-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

html body .archive-branches {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(47, 37, 25, 0.22);
}

html body .archive-branches > span {
  color: #6d4b2b;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

html body .archive-branches > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

html body .archive-branches a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid rgba(47, 37, 25, 0.24);
  background: rgba(255, 250, 239, 0.55);
  color: #241b13 !important;
  font: 800 0.82rem/1.1 Barlow, Arial, sans-serif;
  text-decoration: none;
}

html body .archive-branches a:hover {
  background: #211a13;
  color: #fff7e8 !important;
}

html body .archive-hero-inner {
  grid-template-columns: minmax(0, 1fr) !important;
}

html body .archive-hero-copy {
  max-width: 980px;
}

html body .archive-summary-strip {
  margin-top: clamp(28px, 4vw, 48px);
  margin-bottom: clamp(24px, 4vw, 42px);
}

html body .archive-summary-strip .archive-hero-panel {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(320px, 1.2fr) minmax(190px, 0.65fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
  padding: 26px 30px;
  max-width: none;
}

html body .archive-summary-strip .archive-stats,
html body .archive-summary-strip .archive-branches,
html body .archive-summary-strip .archive-latest {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

html body .archive-summary-strip .archive-latest {
  display: grid;
  gap: 8px;
}

html body .archive-header-inner:has(.archive-header-filters) {
  grid-template-columns: minmax(210px, 300px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
}

html body .archive-header-inner:has(.archive-header-filters) .archive-brand {
  justify-content: flex-start;
  text-align: left;
}

html body .archive-header-inner:has(.archive-header-filters) .archive-brand-text strong {
  font-size: clamp(26px, 2.8vw, 42px);
}

html body .archive-header-inner:has(.archive-header-filters) .archive-brand-text small {
  font-size: 11px;
  letter-spacing: 0.12em;
}

html body .archive-header-filters.listing-controls {
  display: grid;
  grid-template-columns: minmax(180px, 1.35fr) repeat(4, minmax(112px, 0.75fr)) auto;
  gap: 8px;
  align-items: end;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(29, 24, 19, 0.26);
  background: rgba(255, 250, 239, 0.48);
}

html body .archive-header-filters .listing-control {
  min-width: 0;
}

html body .archive-header-filters .listing-control > span {
  font-size: 10px;
}

html body .archive-header-filters input,
html body .archive-header-filters select,
html body .archive-header-filters .category-filter-button,
html body .archive-header-filters .listing-filter-reset {
  min-height: 36px;
  font-size: 12px;
}

html body .archive-header-filters .category-filter-panel {
  top: calc(100% + 8px);
  z-index: 80;
}

html body .archive-header-inner:has(.archive-header-filters) .archive-menu-button {
  justify-self: end;
}

html body .archive-header-inner:has(.archive-header-filters) .archive-nav {
  grid-column: 1 / -1;
}

html body .archive-home > .container:first-child .home-featured-products {
  display: flex;
  flex-direction: column;
  padding-top: clamp(22px, 4vw, 42px);
}

html body .archive-home > .container:first-child .home-featured-products .products-grid {
  order: 1;
}

html body .archive-home > .container:first-child .home-featured-products .products-header {
  order: 2;
  margin-top: clamp(28px, 4vw, 44px);
}

html body .archive-home > .container:first-child .home-featured-products .listing-controls {
  order: 3;
}

html body .archive-home > .container:first-child .home-featured-products .loading-indicator {
  order: 4;
}

@media (max-width: 920px) {
  html body .archive-header-inner:has(.archive-header-filters) {
    grid-template-columns: 1fr auto;
  }

  html body .archive-header-filters.listing-controls {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    order: 3;
  }

  html body .archive-header-inner:has(.archive-header-filters) .archive-nav {
    order: 4;
  }

  html body .archive-summary-strip .archive-hero-panel {
    grid-template-columns: 1fr;
  }

  html body .archive-summary-strip {
    margin-top: 24px;
  }
}

@media (max-width: 560px) {
  html body .archive-header-filters.listing-controls {
    grid-template-columns: 1fr;
  }
}

/* Tighten biography card rows after the final card-theme overrides. */
html body .home-featured-products .products-grid,
html body .listing-page .products-grid,
html body .products-grid {
  row-gap: 30px !important;
}

html body .home-featured-products .product-card,
html body .listing-page .product-card,
html body .products-grid .product-card {
  margin-bottom: 0 !important;
}

@media (min-width: 981px) {
  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    gap: 30px 24px !important;
  }
}

@media (max-width: 640px) {
  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    gap: 22px !important;
  }
}

html body .archive-top-filters {
  padding-top: 18px;
}

html body .archive-top-filters .archive-header-filters.listing-controls {
  display: grid;
  grid-template-columns: minmax(190px, 1.4fr) repeat(4, minmax(120px, 0.85fr)) auto;
  gap: 8px;
  align-items: end;
  margin: 0 0 18px;
  padding: 12px;
  border: 2px solid #17130f;
  background: rgba(248, 240, 223, 0.76);
  box-shadow: 6px 6px 0 rgba(23, 19, 15, 0.10);
}

html body .archive-top-filters .listing-control {
  min-width: 0;
}

html body .archive-top-filters .listing-control > span {
  font-size: 10px;
}

html body .archive-top-filters input,
html body .archive-top-filters select,
html body .archive-top-filters .category-filter-button,
html body .archive-top-filters .listing-filter-reset {
  min-height: 36px;
  font-size: 12px;
}

html body .archive-home > .container > .home-featured-products {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

html body .archive-home > .container > .home-featured-products .products-header,
html body .archive-home > .container > .home-featured-products .loading-indicator {
  display: none !important;
}

html body .archive-home > .container > .home-featured-products .products-grid {
  margin-top: 0 !important;
}

html body .home-featured-products .product-life-dates,
html body .listing-page .product-life-dates,
html body .products-grid .product-life-dates {
  top: 286px !important;
}

html body .home-featured-products .product-life-dates .product-fatiha-line,
html body .listing-page .product-life-dates .product-fatiha-line,
html body .products-grid .product-life-dates .product-fatiha-line {
  display: block !important;
  margin-top: 7px !important;
}

html body .home-featured-products .product-life-dates .fatiha-button,
html body .listing-page .product-life-dates .fatiha-button,
html body .products-grid .product-life-dates .fatiha-button {
  position: static !important;
  display: inline !important;
  width: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #f4e6bd !important;
  box-shadow: none !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 0.96em !important;
  font-weight: 900 !important;
  line-height: inherit !important;
  letter-spacing: 0 !important;
  text-align: inherit !important;
  text-shadow: inherit !important;
  transform: none !important;
  cursor: pointer !important;
}

html body .home-featured-products .product-life-dates .fatiha-button:hover,
html body .listing-page .product-life-dates .fatiha-button:hover,
html body .products-grid .product-life-dates .fatiha-button:hover {
  color: #d8bf78 !important;
  text-decoration: underline;
}

@media (max-width: 520px) {
  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 282px !important;
  }
}

html body .home-featured-products .product-comment-cta,
html body .listing-page .product-comment-cta,
html body .products-grid .product-comment-cta {
  position: absolute !important;
  left: 50% !important;
  top: 365px !important;
  z-index: 8 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 184px !important;
  min-height: 30px !important;
  margin: 0 !important;
  padding: 7px 14px 8px !important;
  border: 2px solid rgba(216, 191, 120, 0.9) !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, rgba(18, 27, 31, 0.96), rgba(6, 12, 16, 0.98)) !important;
  color: #f4e6bd !important;
  box-shadow: 0 2px 0 rgba(255,255,255,0.08) inset, 0 8px 14px rgba(0,0,0,0.42) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  transform: translateX(-50%) !important;
  font-size: 12.5px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.85) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

html body .home-featured-products .product-comment-cta:hover,
html body .listing-page .product-comment-cta:hover,
html body .products-grid .product-comment-cta:hover {
  color: #fff3cf !important;
  border-color: #ead087 !important;
}

/* Final card action alignment: keep Fatiha as an inscription and the comment CTA as the dark stone button. */
html body .home-featured-products .product-life-dates,
html body .listing-page .product-life-dates,
html body .products-grid .product-life-dates {
  top: 278px !important;
}

html body .home-featured-products .product-life-dates .product-fatiha-line,
html body .listing-page .product-life-dates .product-fatiha-line,
html body .products-grid .product-life-dates .product-fatiha-line {
  margin-top: 2px !important;
  transform: translate(24px, -4px) !important;
}

html body .home-featured-products .product-life-dates span,
html body .listing-page .product-life-dates span,
html body .products-grid .product-life-dates span {
  font-size: 11.4px !important;
  line-height: 1.32 !important;
}

html body .home-featured-products .product-life-dates strong,
html body .listing-page .product-life-dates strong,
html body .products-grid .product-life-dates strong {
  font-size: 10.4px !important;
  letter-spacing: -0.01em !important;
}

html body .home-featured-products .product-life-dates .fatiha-button,
html body .listing-page .product-life-dates .fatiha-button,
html body .products-grid .product-life-dates .fatiha-button {
  color: #17130f !important;
  font-family: "Arial Narrow", Arial, sans-serif !important;
  font-size: 10.5px !important;
  font-weight: 900 !important;
  letter-spacing: 0.02em !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.62) !important;
  text-transform: none !important;
}

html body .home-featured-products .product-card > .product-info .product-comment-cta,
html body .listing-page .product-card > .product-info .product-comment-cta,
html body .products-grid .product-card > .product-info .product-comment-cta {
  top: 365px !important;
  width: 156px !important;
  min-height: 30px !important;
  padding: 7px 12px 8px !important;
  border: 2px solid rgba(216, 191, 120, 0.9) !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, rgba(18, 27, 31, 0.96), rgba(6, 12, 16, 0.98)) !important;
  color: #f4e6bd !important;
  box-shadow: 0 2px 0 rgba(255,255,255,0.08) inset, 0 8px 14px rgba(0,0,0,0.42) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.85) !important;
  text-decoration: none !important;
}

html body .home-featured-products .product-card > .product-info .product-comment-cta::before,
html body .listing-page .product-card > .product-info .product-comment-cta::before,
html body .products-grid .product-card > .product-info .product-comment-cta::before {
  content: none !important;
  display: none !important;
}

html body .home-featured-products .product-card > .product-info .product-comment-cta:hover,
html body .listing-page .product-card > .product-info .product-comment-cta:hover,
html body .products-grid .product-card > .product-info .product-comment-cta:hover {
  color: #fff3cf !important;
  border-color: #ead087 !important;
  background: linear-gradient(180deg, rgba(25, 35, 40, 0.98), rgba(8, 15, 19, 0.99)) !important;
}

@media (max-width: 520px) {
  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 276px !important;
  }

  html body .home-featured-products .product-card > .product-info .product-comment-cta,
  html body .listing-page .product-card > .product-info .product-comment-cta,
  html body .products-grid .product-card > .product-info .product-comment-cta {
    top: 365px !important;
    width: 156px !important;
    font-size: 11.5px !important;
  }
}

@media (max-width: 980px) {
  html body .archive-top-filters .archive-header-filters.listing-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  html body .archive-top-filters .archive-header-filters.listing-controls {
    grid-template-columns: 1fr;
  }
}

/* Larger home/listing stones so date inscriptions can breathe. */
html body .archive-home > .container,
html body .listing-page > .container,
html body .container {
  max-width: 1360px !important;
}

html body .home-featured-products .products-grid,
html body .listing-page .products-grid,
html body .products-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
  gap: 24px 18px !important;
}

@media (min-width: 1181px) {
  html body .archive-home .home-featured-products .products-grid,
  html body .listing-page .products-grid {
    width: min(1360px, calc(100vw - 56px)) !important;
    max-width: min(1360px, calc(100vw - 56px)) !important;
    margin-left: 50% !important;
    transform: translateX(-50%) !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    column-gap: 8px !important;
    justify-items: center !important;
  }
}

html body .home-featured-products .product-card,
html body .listing-page .product-card,
html body .products-grid .product-card {
  width: min(100%, 326px) !important;
  max-width: 326px !important;
}

html body .home-featured-products .product-image,
html body .listing-page .product-image,
html body .products-grid .product-image {
  top: 62px !important;
  width: 160px !important;
  height: 188px !important;
}

html body .home-featured-products .product-info h3,
html body .listing-page .product-info h3,
html body .products-grid .product-info h3 {
  top: 254px !important;
  width: 236px !important;
  max-width: 236px !important;
  font-size: 29px !important;
}

html body .home-featured-products .product-life-dates,
html body .listing-page .product-life-dates,
html body .products-grid .product-life-dates {
  top: 304px !important;
  width: 214px !important;
  max-width: 214px !important;
  gap: 4px !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

html body .home-featured-products .product-life-dates span,
html body .listing-page .product-life-dates span,
html body .products-grid .product-life-dates span {
  display: grid !important;
  grid-template-columns: 96px minmax(0, 1fr) !important;
  gap: 8px !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 13.2px !important;
  line-height: 1.22 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

html body .home-featured-products .product-life-dates strong,
html body .listing-page .product-life-dates strong,
html body .products-grid .product-life-dates strong {
  min-width: 0 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 11.4px !important;
  letter-spacing: 0 !important;
}

html body .home-featured-products .product-life-dates .product-fatiha-line,
html body .listing-page .product-life-dates .product-fatiha-line,
html body .products-grid .product-life-dates .product-fatiha-line {
  transform: translate(30px, -3px) !important;
}

html body .home-featured-products .product-life-dates .fatiha-button,
html body .listing-page .product-life-dates .fatiha-button,
html body .products-grid .product-life-dates .fatiha-button {
  font-size: 11.6px !important;
}

html body .home-featured-products .product-card > .product-info .product-comment-cta,
html body .listing-page .product-card > .product-info .product-comment-cta,
html body .products-grid .product-card > .product-info .product-comment-cta {
  top: 443px !important;
  width: 156px !important;
  min-height: 27px !important;
  padding: 6px 12px 7px !important;
  font-size: 11.5px !important;
  box-shadow: 0 2px 0 rgba(255,255,255,0.08) inset, 0 7px 12px rgba(0,0,0,0.36) !important;
}

html body .home-featured-products .product-card > .product-info .product-fatiha-cta,
html body .listing-page .product-card > .product-info .product-fatiha-cta,
html body .products-grid .product-card > .product-info .product-fatiha-cta {
  position: absolute !important;
  left: 50% !important;
  top: 420px !important;
  z-index: 8 !important;
  display: block !important;
  width: 190px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #17130f !important;
  box-shadow: none !important;
  font-family: Arial, Helvetica, sans-serif !important;
  transform: translateX(-50%) !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  letter-spacing: 0.01em !important;
  text-align: center !important;
  text-shadow: 0 1px 0 rgba(255,255,255,0.72) !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

html body .home-featured-products .product-card > .product-info .product-fatiha-cta:hover,
html body .listing-page .product-card > .product-info .product-fatiha-cta:hover,
html body .products-grid .product-card > .product-info .product-fatiha-cta:hover {
  color: #000 !important;
  text-decoration: underline !important;
  background: transparent !important;
}

@media (max-width: 720px) {
  html,
  body {
    overflow-x: hidden !important;
  }

  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: translateX(-54px) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px 14px !important;
    align-items: start !important;
    justify-content: center !important;
    justify-items: center !important;
    overflow: hidden !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card {
    width: 326px !important;
    max-width: 326px !important;
    margin: 0 auto !important;
    zoom: 0.52 !important;
    transform: none !important;
    transform-origin: top left !important;
  }

  html body .home-featured-products .product-card:nth-child(even),
  html body .listing-page .product-card:nth-child(even),
  html body .products-grid .product-card:nth-child(even) {
    transform: translateX(-78px) !important;
  }

  html body .home-featured-products .product-card > .product-info .product-fatiha-cta,
  html body .listing-page .product-card > .product-info .product-fatiha-cta,
  html body .products-grid .product-card > .product-info .product-fatiha-cta {
    top: 414px !important;
    width: 178px !important;
    font-size: 11.4px !important;
  }

  html body .home-featured-products .product-card > .product-info .product-comment-cta,
  html body .listing-page .product-card > .product-info .product-comment-cta,
  html body .products-grid .product-card > .product-info .product-comment-cta {
    top: 441px !important;
    width: 148px !important;
    min-height: 25px !important;
    font-size: 10.8px !important;
  }
}

@media (max-width: 420px) {
  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    gap: 22px 10px !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card {
    zoom: 0.5 !important;
    transform: none !important;
    margin-bottom: 0 !important;
  }

  html body .home-featured-products .product-card:nth-child(even),
  html body .listing-page .product-card:nth-child(even),
  html body .products-grid .product-card:nth-child(even) {
    transform: translateX(-74px) !important;
  }
}

/* Mobile max-size two-column stones. */
@media (max-width: 720px) {
  html body .container,
  html body .archive-home > .container,
  html body .listing-page > .container {
    width: calc(100vw - 8px) !important;
    max-width: calc(100vw - 8px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  html body .archive-top-filters {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    width: calc(100vw - 8px) !important;
    max-width: calc(100vw - 8px) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px 4px !important;
    justify-items: center !important;
    overflow: visible !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card {
    zoom: 0.58 !important;
    margin: 0 auto !important;
    transform: none !important;
  }

  html body .home-featured-products .product-card:nth-child(even),
  html body .listing-page .product-card:nth-child(even),
  html body .products-grid .product-card:nth-child(even) {
    transform: translateX(-70px) !important;
  }
}

@media (max-width: 420px) {
  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    width: calc(100vw - 4px) !important;
    max-width: calc(100vw - 4px) !important;
    gap: 20px 2px !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card {
    zoom: 0.56 !important;
  }

  html body .home-featured-products .product-card:nth-child(even),
  html body .listing-page .product-card:nth-child(even),
  html body .products-grid .product-card:nth-child(even) {
    transform: translateX(-76px) !important;
  }
}

/* Mobile button correction: compensate for the scaled stone so actions stay readable. */
@media (max-width: 720px) {
  html body .home-featured-products .product-card > .product-info .product-fatiha-cta,
  html body .listing-page .product-card > .product-info .product-fatiha-cta,
  html body .products-grid .product-card > .product-info .product-fatiha-cta {
    top: 418px !important;
    width: 232px !important;
    font-size: 17px !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
  }

  html body .home-featured-products .product-card > .product-info .product-comment-cta,
  html body .listing-page .product-card > .product-info .product-comment-cta,
  html body .products-grid .product-card > .product-info .product-comment-cta {
    top: 440px !important;
    width: 208px !important;
    min-height: 38px !important;
    padding: 8px 14px 9px !important;
    font-size: 17px !important;
    border-width: 3px !important;
    box-shadow: 0 2px 0 rgba(255,255,255,0.08) inset, 0 8px 12px rgba(0,0,0,0.34) !important;
  }
}

@media (max-width: 420px) {
  html body .home-featured-products .product-card > .product-info .product-fatiha-cta,
  html body .listing-page .product-card > .product-info .product-fatiha-cta,
  html body .products-grid .product-card > .product-info .product-fatiha-cta {
    top: 417px !important;
    font-size: 17.5px !important;
  }

  html body .home-featured-products .product-card > .product-info .product-comment-cta,
  html body .listing-page .product-card > .product-info .product-comment-cta,
  html body .products-grid .product-card > .product-info .product-comment-cta {
    top: 439px !important;
    width: 212px !important;
    min-height: 39px !important;
    font-size: 17.5px !important;
  }
}

/* Final mobile card fit: keep two larger stones without overlap. */
@media (max-width: 720px) {
  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    width: calc(100vw - 8px) !important;
    max-width: calc(100vw - 8px) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px 14px !important;
    justify-items: center !important;
    overflow: hidden !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card {
    zoom: 0.52 !important;
    transform: none !important;
    margin: 0 auto !important;
  }

  html body .home-featured-products .product-card:nth-child(even),
  html body .listing-page .product-card:nth-child(even),
  html body .products-grid .product-card:nth-child(even) {
    transform: none !important;
  }

  html body .home-featured-products .product-card > .product-info .product-fatiha-cta,
  html body .listing-page .product-card > .product-info .product-fatiha-cta,
  html body .products-grid .product-card > .product-info .product-fatiha-cta {
    top: 421px !important;
    width: 190px !important;
    font-size: 16px !important;
  }

  html body .home-featured-products .product-card > .product-info .product-comment-cta,
  html body .listing-page .product-card > .product-info .product-comment-cta,
  html body .products-grid .product-card > .product-info .product-comment-cta {
    top: 444px !important;
    width: 172px !important;
    min-height: 32px !important;
    padding: 7px 12px 8px !important;
    font-size: 15.5px !important;
    border-width: 3px !important;
  }
}

@media (max-width: 380px) {
  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    gap: 22px 10px !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card {
    zoom: 0.51 !important;
  }
}

/* Real mobile two-column layout: grid tracks match the scaled stone width. */
@media (max-width: 720px) {
  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    width: calc(100vw - 8px) !important;
    max-width: calc(100vw - 8px) !important;
    grid-template-columns: repeat(2, 183px) !important;
    gap: 28px 8px !important;
    justify-content: center !important;
    justify-items: start !important;
    overflow: visible !important;
    transform: translateX(-82px) !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card,
  html body .home-featured-products .product-card:nth-child(even),
  html body .listing-page .product-card:nth-child(even),
  html body .products-grid .product-card:nth-child(even) {
    zoom: 1 !important;
    width: 326px !important;
    max-width: 326px !important;
    margin: 0 -143px -190px 0 !important;
    transform: scale(0.56) !important;
    transform-origin: top left !important;
  }
}

@media (max-width: 380px) {
  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    grid-template-columns: repeat(2, 179px) !important;
    gap: 26px 6px !important;
    transform: translateX(-104px) !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card,
  html body .home-featured-products .product-card:nth-child(even),
  html body .listing-page .product-card:nth-child(even),
  html body .products-grid .product-card:nth-child(even) {
    margin: 0 -147px -197px 0 !important;
    transform: scale(0.55) !important;
  }
}

/* Mobile final: native two-column stone layout, no zoom/transform scaling. */
@media (max-width: 720px) {
  html,
  body {
    overflow-x: hidden !important;
  }

  html body .container,
  html body .archive-home > .container,
  html body .listing-page > .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
    display: grid !important;
    grid-template-columns: repeat(2, 170px) !important;
    gap: 20px 10px !important;
    transform: translateX(-55px) !important;
    justify-content: center !important;
    justify-items: center !important;
    overflow: visible !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card,
  html body .home-featured-products .product-card:nth-child(even),
  html body .listing-page .product-card:nth-child(even),
  html body .products-grid .product-card:nth-child(even) {
    width: 170px !important;
    max-width: 170px !important;
    height: 255px !important;
    aspect-ratio: auto !important;
    margin: 0 auto !important;
    zoom: 1 !important;
    transform: none !important;
  }

  html body .home-featured-products .product-card::before,
  html body .listing-page .product-card::before,
  html body .products-grid .product-card::before {
    background-size: contain !important;
  }

  html body .home-featured-products .product-image,
  html body .listing-page .product-image,
  html body .products-grid .product-image {
    top: 33px !important;
    width: 83px !important;
    height: 98px !important;
    border-width: 2px !important;
  }

  html body .home-featured-products .product-info h3,
  html body .listing-page .product-info h3,
  html body .products-grid .product-info h3 {
    top: 136px !important;
    width: 126px !important;
    max-width: 126px !important;
    font-size: 15.2px !important;
    line-height: 0.95 !important;
  }

  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 166px !important;
    width: 122px !important;
    max-width: 122px !important;
    gap: 2px !important;
  }

  html body .home-featured-products .product-life-dates span,
  html body .listing-page .product-life-dates span,
  html body .products-grid .product-life-dates span {
    grid-template-columns: 59px minmax(0, 1fr) !important;
    gap: 3px !important;
    font-size: 7px !important;
    line-height: 1.15 !important;
  }

  html body .home-featured-products .product-life-dates strong,
  html body .listing-page .product-life-dates strong,
  html body .products-grid .product-life-dates strong {
    font-size: 6.5px !important;
  }

  html body .home-featured-products .product-card > .product-info .product-fatiha-cta,
  html body .listing-page .product-card > .product-info .product-fatiha-cta,
  html body .products-grid .product-card > .product-info .product-fatiha-cta {
    top: 213px !important;
    width: 116px !important;
    font-size: 7.2px !important;
    line-height: 1 !important;
  }

  html body .home-featured-products .product-card > .product-info .product-comment-cta,
  html body .listing-page .product-card > .product-info .product-comment-cta,
  html body .products-grid .product-card > .product-info .product-comment-cta {
    top: 224px !important;
    width: 100px !important;
    min-height: 16px !important;
    padding: 3px 6px 4px !important;
    border-width: 1px !important;
    font-size: 7px !important;
    box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 4px 7px rgba(0,0,0,0.32) !important;
  }
}

/* Clean mobile reset: native responsive two-column tombstones. */
@media (max-width: 720px) {
  html,
  body {
    overflow-x: hidden !important;
  }

  html body .archive-home > .container,
  html body .listing-page > .container,
  html body .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  html body .archive-top-filters {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    position: relative !important;
    left: 0 !important;
    width: 348px !important;
    max-width: calc(100vw - 16px) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: 170px 170px !important;
    gap: 22px 8px !important;
    justify-content: start !important;
    justify-items: stretch !important;
    transform: none !important;
    overflow: visible !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card,
  html body .home-featured-products .product-card:nth-child(even),
  html body .listing-page .product-card:nth-child(even),
  html body .products-grid .product-card:nth-child(even) {
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    aspect-ratio: 2 / 3 !important;
    margin: 0 !important;
    zoom: 1 !important;
    transform: none !important;
    overflow: visible !important;
  }

  html body .home-featured-products .product-card::before,
  html body .listing-page .product-card::before,
  html body .products-grid .product-card::before {
    inset: 0 !important;
    background-position: center !important;
    background-size: contain !important;
  }

  html body .home-featured-products .product-card > .product-info,
  html body .listing-page .product-card > .product-info,
  html body .products-grid .product-card > .product-info {
    inset: 0 !important;
  }

  html body .home-featured-products .product-image,
  html body .listing-page .product-image,
  html body .products-grid .product-image {
    top: 13% !important;
    width: 47% !important;
    height: 39% !important;
    border-width: 2px !important;
  }

  html body .home-featured-products .product-info h3,
  html body .listing-page .product-info h3,
  html body .products-grid .product-info h3 {
    top: 52% !important;
    width: 74% !important;
    max-width: 74% !important;
    font-size: clamp(13px, 4.1vw, 16px) !important;
    line-height: 0.94 !important;
  }

  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 65% !important;
    width: 78% !important;
    max-width: 78% !important;
    gap: 1px !important;
  }

  html body .home-featured-products .product-life-dates span,
  html body .listing-page .product-life-dates span,
  html body .products-grid .product-life-dates span {
    display: grid !important;
    grid-template-columns: 56% 44% !important;
    gap: 2px !important;
    font-size: clamp(6px, 1.75vw, 7.2px) !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }

  html body .home-featured-products .product-life-dates strong,
  html body .listing-page .product-life-dates strong,
  html body .products-grid .product-life-dates strong {
    font-size: inherit !important;
    letter-spacing: 0 !important;
  }

  html body .home-featured-products .product-card > .product-info .product-fatiha-cta,
  html body .listing-page .product-card > .product-info .product-fatiha-cta,
  html body .products-grid .product-card > .product-info .product-fatiha-cta {
    top: 82.5% !important;
    width: 78% !important;
    font-size: clamp(7px, 2vw, 8.2px) !important;
    line-height: 1 !important;
    transform: translateX(-50%) !important;
  }

  html body .home-featured-products .product-card > .product-info .product-comment-cta,
  html body .listing-page .product-card > .product-info .product-comment-cta,
  html body .products-grid .product-card > .product-info .product-comment-cta {
    top: 89% !important;
    width: 68% !important;
    min-height: 16px !important;
    padding: 3px 5px 4px !important;
    border-width: 1px !important;
    font-size: clamp(6.5px, 1.9vw, 7.6px) !important;
    line-height: 1 !important;
    transform: translateX(-50%) !important;
    white-space: nowrap !important;
  }
}

/* Mobile cards: flex layout guarantees two visible columns. */
@media (max-width: 720px) {
  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 6px !important;
    column-gap: 8px !important;
    row-gap: 20px !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    transform: none !important;
    overflow: visible !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card,
  html body .home-featured-products .product-card:nth-child(even),
  html body .listing-page .product-card:nth-child(even),
  html body .products-grid .product-card:nth-child(even) {
    flex: 0 0 calc((100% - 8px) / 2) !important;
    width: calc((100% - 8px) / 2) !important;
    max-width: none !important;
    aspect-ratio: 2 / 3 !important;
    height: auto !important;
    margin: 0 !important;
    zoom: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 720px) {
  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    transform: translateX(-54px) !important;
  }
}

/* Absolute final mobile layout: no zoom, no horizontal shifting. */
@media (max-width: 720px) {
  html,
  body {
    overflow-x: hidden !important;
  }

  html body .archive-home > .container,
  html body .listing-page > .container,
  html body .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px 8px !important;
    justify-content: center !important;
    justify-items: center !important;
    transform: none !important;
    overflow: visible !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card,
  html body .home-featured-products .product-card:nth-child(even),
  html body .listing-page .product-card:nth-child(even),
  html body .products-grid .product-card:nth-child(even) {
    position: relative !important;
    width: min(100%, 182px) !important;
    max-width: 182px !important;
    aspect-ratio: 2 / 3 !important;
    height: auto !important;
    margin: 0 auto !important;
    zoom: 1 !important;
    transform: none !important;
    overflow: visible !important;
  }

  html body .home-featured-products .product-card::before,
  html body .listing-page .product-card::before,
  html body .products-grid .product-card::before {
    inset: 0 !important;
    background-position: center !important;
    background-size: contain !important;
  }

  html body .home-featured-products .product-card > .product-info,
  html body .listing-page .product-card > .product-info,
  html body .products-grid .product-card > .product-info {
    inset: 0 !important;
  }

  html body .home-featured-products .product-image,
  html body .listing-page .product-image,
  html body .products-grid .product-image {
    top: 13% !important;
    width: 48% !important;
    height: 39% !important;
    border-width: 2px !important;
  }

  html body .home-featured-products .product-info h3,
  html body .listing-page .product-info h3,
  html body .products-grid .product-info h3 {
    top: 52% !important;
    width: 76% !important;
    max-width: 76% !important;
    font-size: clamp(14px, 4.2vw, 16px) !important;
    line-height: 0.94 !important;
  }

  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 65% !important;
    width: 80% !important;
    max-width: 80% !important;
    gap: 1px !important;
  }

  html body .home-featured-products .product-life-dates span,
  html body .listing-page .product-life-dates span,
  html body .products-grid .product-life-dates span {
    display: grid !important;
    grid-template-columns: 56% 44% !important;
    gap: 2px !important;
    font-size: clamp(6.3px, 1.8vw, 7.4px) !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }

  html body .home-featured-products .product-life-dates strong,
  html body .listing-page .product-life-dates strong,
  html body .products-grid .product-life-dates strong {
    font-size: inherit !important;
    letter-spacing: 0 !important;
  }

  html body .home-featured-products .product-card > .product-info .product-fatiha-cta,
  html body .listing-page .product-card > .product-info .product-fatiha-cta,
  html body .products-grid .product-card > .product-info .product-fatiha-cta {
    top: 82% !important;
    width: 78% !important;
    font-size: clamp(7.2px, 2vw, 8.4px) !important;
    line-height: 1 !important;
    transform: translateX(-50%) !important;
  }

  html body .home-featured-products .product-card > .product-info .product-comment-cta,
  html body .listing-page .product-card > .product-info .product-comment-cta,
  html body .products-grid .product-card > .product-info .product-comment-cta {
    top: 88.5% !important;
    width: 70% !important;
    min-height: 17px !important;
    padding: 3px 5px 4px !important;
    border-width: 1px !important;
    font-size: clamp(6.8px, 1.9vw, 7.8px) !important;
    line-height: 1 !important;
    transform: translateX(-50%) !important;
    white-space: nowrap !important;
  }
}

/* Codex final mobile headstone layout: fixed viewport columns, no drifting. */
@media (max-width: 720px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  html body .archive-home,
  html body .listing-page {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  html body .archive-home > .container,
  html body .listing-page > .container,
  html body .home-featured-products {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden !important;
  }

  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, calc((100vw - 18px) / 2)) !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: 0 !important;
    padding: 0 5px !important;
    gap: 22px 8px !important;
    justify-content: start !important;
    justify-items: stretch !important;
    align-items: start !important;
    box-sizing: border-box !important;
    transform: none !important;
    overflow: hidden !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card,
  html body .home-featured-products .product-card:nth-child(even),
  html body .listing-page .product-card:nth-child(even),
  html body .products-grid .product-card:nth-child(even) {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    aspect-ratio: 2 / 3 !important;
    margin: 0 !important;
    padding: 0 !important;
    zoom: 1 !important;
    transform: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  html body .home-featured-products .product-card::before,
  html body .listing-page .product-card::before,
  html body .products-grid .product-card::before {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-position: center !important;
    background-size: contain !important;
    transform: none !important;
  }

  html body .home-featured-products .product-card > .product-info,
  html body .listing-page .product-card > .product-info,
  html body .products-grid .product-card > .product-info {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
    overflow: visible !important;
  }

  html body .home-featured-products .product-image,
  html body .listing-page .product-image,
  html body .products-grid .product-image {
    top: 12.8% !important;
    left: 50% !important;
    width: 49% !important;
    height: 39.5% !important;
    transform: translateX(-50%) !important;
    border-width: 2px !important;
  }

  html body .home-featured-products .product-info h3,
  html body .listing-page .product-info h3,
  html body .products-grid .product-info h3 {
    top: 52% !important;
    left: 50% !important;
    width: 78% !important;
    max-width: 78% !important;
    transform: translateX(-50%) !important;
    font-size: clamp(16px, 5.2vw, 20px) !important;
    line-height: 0.9 !important;
    letter-spacing: 0 !important;
  }

  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 64.5% !important;
    left: 50% !important;
    width: 83% !important;
    max-width: 83% !important;
    transform: translateX(-50%) !important;
    gap: 1px !important;
  }

  html body .home-featured-products .product-life-dates span,
  html body .listing-page .product-life-dates span,
  html body .products-grid .product-life-dates span {
    display: grid !important;
    grid-template-columns: 57% 43% !important;
    gap: 1px !important;
    font-size: clamp(7px, 2.35vw, 9px) !important;
    line-height: 1.08 !important;
    white-space: nowrap !important;
    letter-spacing: 0 !important;
  }

  html body .home-featured-products .product-life-dates strong,
  html body .listing-page .product-life-dates strong,
  html body .products-grid .product-life-dates strong {
    font-size: inherit !important;
    letter-spacing: 0 !important;
  }

  html body .home-featured-products .product-card > .product-info .product-fatiha-cta,
  html body .listing-page .product-card > .product-info .product-fatiha-cta,
  html body .products-grid .product-card > .product-info .product-fatiha-cta {
    top: 80.3% !important;
    left: 55% !important;
    width: 66% !important;
    min-height: 15px !important;
    padding: 2px 4px !important;
    transform: translateX(-50%) !important;
    font-size: clamp(8px, 2.55vw, 9.5px) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    border-radius: 999px !important;
  }

  html body .home-featured-products .product-card > .product-info .product-comment-cta,
  html body .listing-page .product-card > .product-info .product-comment-cta,
  html body .products-grid .product-card > .product-info .product-comment-cta {
    top: 86.7% !important;
    left: 55% !important;
    width: 62% !important;
    min-height: 15px !important;
    padding: 2px 4px 3px !important;
    transform: translateX(-50%) !important;
    border-width: 1px !important;
    font-size: clamp(7.2px, 2.35vw, 8.8px) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    border-radius: 999px !important;
  }
}

/* Codex mobile fit lock v2: this must stay at the physical end of the file. */
@media (max-width: 720px) {
  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: min(100%, 390px) !important;
    max-width: 390px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 6px !important;
    gap: 22px 8px !important;
    justify-content: center !important;
    justify-items: stretch !important;
    align-items: start !important;
    transform: none !important;
    overflow: visible !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card,
  html body .home-featured-products .product-card:nth-child(even),
  html body .listing-page .product-card:nth-child(even),
  html body .products-grid .product-card:nth-child(even) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    aspect-ratio: 2 / 3 !important;
    margin: 0 !important;
    transform: none !important;
    zoom: 1 !important;
  }

  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 64.8% !important;
    left: 51.5% !important;
    width: 76% !important;
    max-width: 76% !important;
  }

  html body .home-featured-products .product-life-dates span,
  html body .listing-page .product-life-dates span,
  html body .products-grid .product-life-dates span {
    grid-template-columns: 56% 44% !important;
    font-size: clamp(6.8px, 2.15vw, 8.4px) !important;
  }

  html body .home-featured-products .product-card > .product-info .product-fatiha-cta,
  html body .listing-page .product-card > .product-info .product-fatiha-cta,
  html body .products-grid .product-card > .product-info .product-fatiha-cta {
    top: 80.6% !important;
    left: 55.5% !important;
    width: 64% !important;
    font-size: clamp(7.6px, 2.35vw, 9px) !important;
  }

  html body .home-featured-products .product-card > .product-info .product-comment-cta,
  html body .listing-page .product-card > .product-info .product-comment-cta,
  html body .products-grid .product-card > .product-info .product-comment-cta {
    top: 86.9% !important;
    left: 55.5% !important;
    width: 60% !important;
    font-size: clamp(6.9px, 2.15vw, 8.2px) !important;
  }
}

/* Codex mobile fit lock v3: left aligned 2-up rail for iPhone width. */
@media (max-width: 720px) {
  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: min(100%, 380px) !important;
    max-width: 380px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    padding: 0 6px !important;
    gap: 22px 8px !important;
    justify-content: start !important;
    justify-items: stretch !important;
    align-items: start !important;
    transform: none !important;
    overflow: visible !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card,
  html body .home-featured-products .product-card:nth-child(even),
  html body .listing-page .product-card:nth-child(even),
  html body .products-grid .product-card:nth-child(even) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    aspect-ratio: 2 / 3 !important;
    margin: 0 !important;
    transform: none !important;
    zoom: 1 !important;
  }
}

/* Codex mobile text polish v4: readable date rows inside the stone. */
@media (max-width: 720px) {
  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 64.6% !important;
    left: 50% !important;
    width: 82% !important;
    max-width: 82% !important;
    transform: translateX(-50%) !important;
    gap: 1px !important;
  }

  html body .home-featured-products .product-life-dates span,
  html body .listing-page .product-life-dates span,
  html body .products-grid .product-life-dates span {
    display: flex !important;
    align-items: baseline !important;
    justify-content: center !important;
    gap: 3px !important;
    grid-template-columns: none !important;
    font-size: clamp(6.7px, 2.05vw, 7.8px) !important;
    line-height: 1.08 !important;
    white-space: nowrap !important;
    letter-spacing: 0 !important;
  }

  html body .home-featured-products .product-life-dates strong,
  html body .listing-page .product-life-dates strong,
  html body .products-grid .product-life-dates strong {
    flex: 0 0 auto !important;
    font-size: inherit !important;
    letter-spacing: 0 !important;
  }

  html body .home-featured-products .product-card > .product-info .product-fatiha-cta,
  html body .listing-page .product-card > .product-info .product-fatiha-cta,
  html body .products-grid .product-card > .product-info .product-fatiha-cta {
    top: 80.8% !important;
    left: 55.5% !important;
    width: 64% !important;
  }

  html body .home-featured-products .product-card > .product-info .product-comment-cta,
  html body .listing-page .product-card > .product-info .product-comment-cta,
  html body .products-grid .product-card > .product-info .product-comment-cta {
    top: 86.9% !important;
    left: 55.5% !important;
    width: 60% !important;
  }
}

/* Codex mobile enlargement v5: overlap transparent margins so stones can be larger. */
@media (max-width: 720px) {
  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    grid-template-columns: 204px 204px !important;
    width: min(100%, 380px) !important;
    max-width: 380px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    padding: 0 !important;
    gap: 0 !important;
    justify-content: start !important;
    overflow: visible !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card,
  html body .home-featured-products .product-card:nth-child(odd),
  html body .listing-page .product-card:nth-child(odd),
  html body .products-grid .product-card:nth-child(odd) {
    width: 204px !important;
    max-width: 204px !important;
    aspect-ratio: 2 / 3 !important;
    transform: none !important;
    margin: 0 !important;
  }

  html body .home-featured-products .product-card:nth-child(even),
  html body .listing-page .product-card:nth-child(even),
  html body .products-grid .product-card:nth-child(even) {
    width: 204px !important;
    max-width: 204px !important;
    aspect-ratio: 2 / 3 !important;
    transform: translateX(-34px) !important;
    margin: 0 !important;
  }

  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 64.7% !important;
  }
}

@media (max-width: 360px) {
  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    grid-template-columns: 190px 190px !important;
    width: 100% !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card,
  html body .home-featured-products .product-card:nth-child(odd),
  html body .listing-page .product-card:nth-child(odd),
  html body .products-grid .product-card:nth-child(odd) {
    width: 190px !important;
    max-width: 190px !important;
  }

  html body .home-featured-products .product-card:nth-child(even),
  html body .listing-page .product-card:nth-child(even),
  html body .products-grid .product-card:nth-child(even) {
    width: 190px !important;
    max-width: 190px !important;
    transform: translateX(-34px) !important;
  }
}

/* Codex mobile spacing v6: keep large stones but restore the center gap. */
@media (max-width: 720px) {
  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    grid-template-columns: 200px 200px !important;
    width: min(100%, 380px) !important;
    max-width: 380px !important;
    gap: 0 !important;
    padding: 0 !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card,
  html body .home-featured-products .product-card:nth-child(odd),
  html body .listing-page .product-card:nth-child(odd),
  html body .products-grid .product-card:nth-child(odd) {
    width: 200px !important;
    max-width: 200px !important;
    transform: none !important;
  }

  html body .home-featured-products .product-card:nth-child(even),
  html body .listing-page .product-card:nth-child(even),
  html body .products-grid .product-card:nth-child(even) {
    width: 200px !important;
    max-width: 200px !important;
    transform: translateX(-20px) !important;
  }
}

/* Codex mobile desktop-aligned content v7. */
@media (max-width: 720px) {
  html body .home-featured-products .product-image,
  html body .listing-page .product-image,
  html body .products-grid .product-image {
    top: 12.3% !important;
    left: 50% !important;
    width: 49% !important;
    height: 37.5% !important;
    transform: translateX(-50%) !important;
  }

  html body .home-featured-products .product-info h3,
  html body .listing-page .product-info h3,
  html body .products-grid .product-info h3 {
    top: 50.5% !important;
    left: 50% !important;
    width: 72% !important;
    max-width: 72% !important;
    transform: translateX(-50%) !important;
  }

  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 60.4% !important;
    left: 50% !important;
    width: 66% !important;
    max-width: 66% !important;
    transform: translateX(-50%) !important;
  }

  html body .home-featured-products .product-life-dates span,
  html body .listing-page .product-life-dates span,
  html body .products-grid .product-life-dates span {
    justify-content: center !important;
    gap: 3px !important;
    font-size: clamp(6.4px, 1.95vw, 7.6px) !important;
  }

  html body .home-featured-products .product-card > .product-info .product-fatiha-cta,
  html body .listing-page .product-card > .product-info .product-fatiha-cta,
  html body .products-grid .product-card > .product-info .product-fatiha-cta {
    top: 83.5% !important;
    left: 50% !important;
    width: 58% !important;
    min-height: 13px !important;
    padding: 1px 3px 2px !important;
    transform: translateX(-50%) !important;
    font-size: clamp(6.8px, 2vw, 8px) !important;
  }

  html body .home-featured-products .product-card > .product-info .product-comment-cta,
  html body .listing-page .product-card > .product-info .product-comment-cta,
  html body .products-grid .product-card > .product-info .product-comment-cta {
    top: 88.1% !important;
    left: 50% !important;
    width: 48% !important;
    min-height: 14px !important;
    padding: 2px 3px !important;
    transform: translateX(-50%) !important;
    font-size: clamp(6.2px, 1.9vw, 7.5px) !important;
  }
}

/* Codex mobile alignment v8: centered portraits, bigger dates, buttons on risers. */
@media (max-width: 720px) {
  html body .home-featured-products .product-image,
  html body .listing-page .product-image,
  html body .products-grid .product-image {
    top: 12.2% !important;
    left: 50.8% !important;
    width: 49% !important;
    height: 37.8% !important;
    transform: translateX(-50%) !important;
  }

  html body .home-featured-products .product-main-image,
  html body .listing-page .product-main-image,
  html body .products-grid .product-main-image {
    object-position: center center !important;
  }

  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 60.8% !important;
    left: 50% !important;
    width: 75% !important;
    max-width: 75% !important;
    transform: translateX(-50%) !important;
  }

  html body .home-featured-products .product-life-dates span,
  html body .listing-page .product-life-dates span,
  html body .products-grid .product-life-dates span {
    justify-content: center !important;
    gap: 3px !important;
    font-size: clamp(7.4px, 2.25vw, 9px) !important;
    line-height: 1.1 !important;
  }

  html body .home-featured-products .product-card > .product-info .product-fatiha-cta,
  html body .listing-page .product-card > .product-info .product-fatiha-cta,
  html body .products-grid .product-card > .product-info .product-fatiha-cta {
    top: 85.1% !important;
    left: 50% !important;
    width: 58% !important;
    min-height: 14px !important;
    padding: 1px 3px 2px !important;
    transform: translateX(-50%) !important;
    font-size: clamp(6.8px, 2vw, 8px) !important;
    line-height: 1 !important;
  }

  html body .home-featured-products .product-card > .product-info .product-comment-cta,
  html body .listing-page .product-card > .product-info .product-comment-cta,
  html body .products-grid .product-card > .product-info .product-comment-cta {
    top: 90.1% !important;
    left: 50% !important;
    width: 48% !important;
    min-height: 14px !important;
    padding: 2px 3px !important;
    transform: translateX(-50%) !important;
    font-size: clamp(6.2px, 1.9vw, 7.5px) !important;
    line-height: 1 !important;
  }
}

/* Codex mobile desktop-card scale v9: use the desktop card composition on phones. */
@media (max-width: 720px) {
  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    display: grid !important;
    grid-template-columns: 183px 183px !important;
    width: 370px !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    gap: 18px 4px !important;
    justify-content: center !important;
    justify-items: start !important;
    align-items: start !important;
    overflow: visible !important;
    transform: none !important;
  }

  html body .home-featured-products .product-card,
  html body .listing-page .product-card,
  html body .products-grid .product-card,
  html body .home-featured-products .product-card:nth-child(even),
  html body .listing-page .product-card:nth-child(even),
  html body .products-grid .product-card:nth-child(even),
  html body .home-featured-products .product-card:nth-child(odd),
  html body .listing-page .product-card:nth-child(odd),
  html body .products-grid .product-card:nth-child(odd) {
    width: 326px !important;
    max-width: 326px !important;
    min-width: 326px !important;
    height: 503px !important;
    aspect-ratio: auto !important;
    margin: 0 0 -221px 0 !important;
    padding: 0 !important;
    transform: scale(0.56) !important;
    transform-origin: top left !important;
    zoom: 1 !important;
    overflow: visible !important;
  }

  html body .home-featured-products .product-card::before,
  html body .listing-page .product-card::before,
  html body .products-grid .product-card::before {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-position: center !important;
    background-size: contain !important;
    transform: none !important;
  }

  html body .home-featured-products .product-card > .product-info,
  html body .listing-page .product-card > .product-info,
  html body .products-grid .product-card > .product-info {
    position: absolute !important;
    inset: 0 !important;
    width: 326px !important;
    height: 503px !important;
    transform: none !important;
  }

  html body .home-featured-products .product-image,
  html body .listing-page .product-image,
  html body .products-grid .product-image {
    top: 62px !important;
    left: 163px !important;
    width: 160px !important;
    height: 188px !important;
    transform: translateX(-50%) !important;
    border-width: 3px !important;
  }

  html body .home-featured-products .product-info h3,
  html body .listing-page .product-info h3,
  html body .products-grid .product-info h3 {
    top: 254px !important;
    left: 163px !important;
    width: 236px !important;
    max-width: 236px !important;
    transform: translateX(-50%) !important;
    font-size: 30px !important;
    line-height: 0.9 !important;
  }

  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 304px !important;
    left: 163px !important;
    width: 214px !important;
    max-width: 214px !important;
    transform: translateX(-50%) !important;
    gap: 2px !important;
  }

  html body .home-featured-products .product-life-dates span,
  html body .listing-page .product-life-dates span,
  html body .products-grid .product-life-dates span {
    display: flex !important;
    justify-content: center !important;
    align-items: baseline !important;
    gap: 6px !important;
    font-size: 12px !important;
    line-height: 1.08 !important;
    white-space: nowrap !important;
    letter-spacing: 0 !important;
  }

  html body .home-featured-products .product-life-dates strong,
  html body .listing-page .product-life-dates strong,
  html body .products-grid .product-life-dates strong {
    flex: 0 0 auto !important;
    font-size: inherit !important;
    letter-spacing: 0 !important;
  }

  html body .home-featured-products .product-card > .product-info .product-fatiha-cta,
  html body .listing-page .product-card > .product-info .product-fatiha-cta,
  html body .products-grid .product-card > .product-info .product-fatiha-cta {
    top: 420px !important;
    left: 163px !important;
    width: 190px !important;
    min-height: 13px !important;
    padding: 1px 4px 2px !important;
    transform: translateX(-50%) !important;
    font-size: 12px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  html body .home-featured-products .product-card > .product-info .product-comment-cta,
  html body .listing-page .product-card > .product-info .product-comment-cta,
  html body .products-grid .product-card > .product-info .product-comment-cta {
    top: 443px !important;
    left: 163px !important;
    width: 156px !important;
    min-height: 28px !important;
    padding: 5px 7px !important;
    transform: translateX(-50%) !important;
    font-size: 12px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
}

/* Codex mobile rail v10: align two scaled desktop cards to the phone edge. */
@media (max-width: 720px) {
  html body .archive-home > .container,
  html body .listing-page > .container,
  html body .home-featured-products {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: 0 !important;
    padding-left: 3px !important;
    padding-right: 0 !important;
    overflow-x: hidden !important;
  }

  html body .home-featured-products .products-grid,
  html body .listing-page .products-grid,
  html body .products-grid {
    grid-template-columns: 183px 183px !important;
    width: 370px !important;
    max-width: 370px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    gap: 18px 4px !important;
    justify-content: start !important;
  }

  html body .home-featured-products .product-life-dates span,
  html body .listing-page .product-life-dates span,
  html body .products-grid .product-life-dates span {
    font-size: 15px !important;
    gap: 7px !important;
  }

  html body .home-featured-products .product-card > .product-info .product-fatiha-cta,
  html body .listing-page .product-card > .product-info .product-fatiha-cta,
  html body .products-grid .product-card > .product-info .product-fatiha-cta {
    font-size: 13px !important;
  }

  html body .home-featured-products .product-card > .product-info .product-comment-cta,
  html body .listing-page .product-card > .product-info .product-comment-cta,
  html body .products-grid .product-card > .product-info .product-comment-cta {
    font-size: 13px !important;
  }
}

/* Codex mobile riser alignment v11: portrait right nudge, buttons on step faces. */
@media (max-width: 720px) {
  html body .home-featured-products .product-image,
  html body .listing-page .product-image,
  html body .products-grid .product-image {
    left: 169px !important;
  }

  html body .home-featured-products .product-card > .product-info .product-fatiha-cta,
  html body .listing-page .product-card > .product-info .product-fatiha-cta,
  html body .products-grid .product-card > .product-info .product-fatiha-cta {
    top: 429px !important;
    left: 163px !important;
    width: 188px !important;
  }

  html body .home-featured-products .product-card > .product-info .product-comment-cta,
  html body .listing-page .product-card > .product-info .product-comment-cta,
  html body .products-grid .product-card > .product-info .product-comment-cta {
    top: 456px !important;
    left: 163px !important;
    width: 154px !important;
  }
}

/* Codex mobile riser alignment v12: lower buttons onto the step faces. */
@media (max-width: 720px) {
  html body .home-featured-products .product-card > .product-info .product-fatiha-cta,
  html body .listing-page .product-card > .product-info .product-fatiha-cta,
  html body .products-grid .product-card > .product-info .product-fatiha-cta {
    top: 435px !important;
  }

  html body .home-featured-products .product-card > .product-info .product-comment-cta,
  html body .listing-page .product-card > .product-info .product-comment-cta,
  html body .products-grid .product-card > .product-info .product-comment-cta {
    top: 464px !important;
  }
}

/* Codex mobile readable text v13: larger dates and button labels. */
@media (max-width: 720px) {
  html body .home-featured-products .product-life-dates span,
  html body .listing-page .product-life-dates span,
  html body .products-grid .product-life-dates span {
    font-size: 18px !important;
    line-height: 1.08 !important;
  }

  html body .home-featured-products .product-card > .product-info .product-fatiha-cta,
  html body .listing-page .product-card > .product-info .product-fatiha-cta,
  html body .products-grid .product-card > .product-info .product-fatiha-cta {
    font-size: 15px !important;
    line-height: 1 !important;
  }

  html body .home-featured-products .product-card > .product-info .product-comment-cta,
  html body .listing-page .product-card > .product-info .product-comment-cta,
  html body .products-grid .product-card > .product-info .product-comment-cta {
    font-size: 15px !important;
    line-height: 1 !important;
  }
}

/* Codex mobile readable text v14: wider date rows after font increase. */
@media (max-width: 720px) {
  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    left: 163px !important;
    width: 278px !important;
    max-width: 278px !important;
  }

  html body .home-featured-products .product-life-dates span,
  html body .listing-page .product-life-dates span,
  html body .products-grid .product-life-dates span {
    font-size: 17px !important;
    gap: 7px !important;
  }
}

/* Codex mobile date spacing v15: separate dates from title and keep them inside. */
@media (max-width: 720px) {
  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 318px !important;
    left: 163px !important;
    width: 232px !important;
    max-width: 232px !important;
    transform: translateX(-50%) !important;
  }

  html body .home-featured-products .product-life-dates span,
  html body .listing-page .product-life-dates span,
  html body .products-grid .product-life-dates span {
    font-size: 15.5px !important;
    gap: 6px !important;
    line-height: 1.08 !important;
    white-space: nowrap !important;
  }
}

/* Codex mobile comment button v16: give label more background room. */
@media (max-width: 720px) {
  html body .home-featured-products .product-card > .product-info .product-comment-cta,
  html body .listing-page .product-card > .product-info .product-comment-cta,
  html body .products-grid .product-card > .product-info .product-comment-cta {
    width: 178px !important;
    min-height: 32px !important;
    padding: 7px 9px !important;
  }
}

/* Codex mobile dates v17: aligned label/value columns and larger date text. */
@media (max-width: 720px) {
  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 318px !important;
    left: 163px !important;
    width: 260px !important;
    max-width: 260px !important;
    transform: translateX(-50%) !important;
  }

  html body .home-featured-products .product-life-dates span,
  html body .listing-page .product-life-dates span,
  html body .products-grid .product-life-dates span {
    display: grid !important;
    grid-template-columns: 138px 92px !important;
    justify-content: center !important;
    align-items: baseline !important;
    gap: 6px !important;
    font-size: 17px !important;
    line-height: 1.08 !important;
    white-space: nowrap !important;
    text-align: left !important;
  }

  html body .home-featured-products .product-life-dates strong,
  html body .listing-page .product-life-dates strong,
  html body .products-grid .product-life-dates strong {
    text-align: right !important;
    font-size: inherit !important;
    letter-spacing: 0 !important;
  }
}

/* Codex mobile dates/buttons v18: left-align labels and lower fatiha button. */
@media (max-width: 720px) {
  html body .home-featured-products .product-life-dates strong,
  html body .listing-page .product-life-dates strong,
  html body .products-grid .product-life-dates strong {
    text-align: left !important;
  }

  html body .home-featured-products .product-card > .product-info .product-fatiha-cta,
  html body .listing-page .product-card > .product-info .product-fatiha-cta,
  html body .products-grid .product-card > .product-info .product-fatiha-cta {
    top: 446px !important;
  }
}

/* Codex mobile v19: fatiha on first riser, contained date columns. */
@media (max-width: 720px) {
  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 318px !important;
    left: 163px !important;
    width: 236px !important;
    max-width: 236px !important;
    transform: translateX(-50%) !important;
  }

  html body .home-featured-products .product-life-dates span,
  html body .listing-page .product-life-dates span,
  html body .products-grid .product-life-dates span {
    display: grid !important;
    grid-template-columns: 126px 82px !important;
    justify-content: center !important;
    gap: 5px !important;
    font-size: 15.5px !important;
    line-height: 1.08 !important;
    white-space: nowrap !important;
  }

  html body .home-featured-products .product-life-dates strong,
  html body .listing-page .product-life-dates strong,
  html body .products-grid .product-life-dates strong {
    text-align: left !important;
  }

  html body .home-featured-products .product-card > .product-info .product-fatiha-cta,
  html body .listing-page .product-card > .product-info .product-fatiha-cta,
  html body .products-grid .product-card > .product-info .product-fatiha-cta {
    top: 440px !important;
  }
}

/* Codex mobile title/date v20: title breathing room and date nudge. */
@media (max-width: 720px) {
  html body .home-featured-products .product-info h3,
  html body .listing-page .product-info h3,
  html body .products-grid .product-info h3 {
    top: 262px !important;
    line-height: 1.02 !important;
  }

  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    top: 324px !important;
    left: 168px !important;
  }
}

/* Codex mobile date nudge v21: move dates slightly right. */
@media (max-width: 720px) {
  html body .home-featured-products .product-life-dates,
  html body .listing-page .product-life-dates,
  html body .products-grid .product-life-dates {
    left: 172px !important;
  }
}
