:root {
  --black: #0a0a0a;
  --black-soft: #131313;
  --ink: #1a1410;
  --gold: #d4b46a;
  --gold-bright: #e8cf8f;
  --white: #f5f1e8;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", sans-serif;
  --topbar-h: 42px;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

section[id] { scroll-margin-block-start: calc(var(--topbar-h) + var(--header-h)); }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
}

/* ---------- Top utility bar ---------- */
.topbar {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 42; /* above .site-header so the currency dropdown isn't covered */
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 3vw;
  background: #161616;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}
.topbar a { color: #ddd; text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.topbar svg { width: 16px; height: 16px; fill: currentColor; vertical-align: middle; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 1rem; }
.topbar-sep { width: 1px; height: 16px; background: #3a3a3a; }
.lang { font-size: 0.8rem; }
.currency { display: inline-flex; align-items: center; gap: 0.3rem; color: #ddd; text-transform: uppercase; }
.currency .chev { width: 13px; height: 13px; }
.account { text-transform: uppercase; display: inline-flex; align-items: center; gap: 0.4rem; }
.account svg { width: 17px; height: 17px; display: none; }

/* space-core currency switcher: dark topbar skin over the plugin's white pill */
.topbar .sc-cs-trigger {
  background: transparent;
  border: 0;
  padding: 0;
  color: #ddd;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: none;
}
.topbar .sc-cs-trigger:focus { outline: none; box-shadow: none; }
.topbar .sc-cs-trigger:hover,
.topbar .sc-currency-switcher.sc-cs-open .sc-cs-trigger {
  border: 0;
  box-shadow: none;
  color: var(--gold);
}
.topbar .sc-cs-panel {
  left: auto;
  inset-inline-end: 0;
  background: var(--black-soft);
  border: 1px solid rgba(212, 180, 106, 0.25);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  min-width: 185px;
}
.topbar .sc-cs-option { color: var(--white); font-size: 0.75rem; }
.topbar .sc-cs-option:hover { background: rgba(212, 180, 106, 0.12); color: var(--gold); }
.topbar .sc-cs-option.sc-cs-active { background: rgba(212, 180, 106, 0.18); font-weight: 500; }

/* ---------- Main header bar (overlay) ---------- */
.site-header {
  position: fixed;
  inset-block-start: var(--topbar-h);
  inset-inline: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 3vw;
  background: transparent;
  transition: background 0.4s ease;
}
.site-header.solid {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(8px);
}
.icon-btn, a.cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(212, 180, 106, 0.5);
  background: rgba(10, 10, 10, 0.55);
  color: var(--white);
  cursor: pointer;
  position: relative;
  text-decoration: none;
  transition: border-color 0.3s, color 0.3s;
}
.icon-btn:hover, a.cart:hover { border-color: var(--gold); color: var(--gold); }
.icon-btn svg, a.cart svg { width: 21px; height: 21px; }
.burger { display: none; }
.cart-badge {
  position: absolute;
  top: -4px;
  inset-inline-end: -4px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.65rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Brand logo (center of hero -> docks into header) ---------- */
.brand-logo {
  position: fixed;
  z-index: 41;
  left: 50%;
  top: 50vh;
  transform: translate(-50%, -50%) scale(1);
  will-change: top, transform;
}
.brand-logo img {
  display: block;
  width: min(340px, 60vw);
  height: auto;
}

/* ---------- Bottom menu (desktop, always overlaid) ---------- */
.bottom-menu {
  position: fixed;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  gap: 2.6rem;
  padding-block: 0.95rem;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(8px);
  border-block-start: 1px solid rgba(212, 180, 106, 0.18);
}
.bottom-menu a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: color 0.3s, opacity 0.3s;
}
.bottom-menu a:hover { color: var(--gold); opacity: 1; }
@keyframes menuIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.bottom-menu { animation: menuIn 0.6s ease 0.15s both; }

/* ---------- Mobile fullscreen menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  background: rgba(10, 10, 10, 0.97);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  color: var(--white);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.mobile-menu a:hover { color: var(--gold); }

/* ---------- Hero (scroll-scrubbed) ---------- */
.hero-track { height: 400vh; position: relative; }
.hero-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--black);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.beat {
  position: absolute;
  inset-inline: 0;
  bottom: 16vh;
  text-align: center;
  padding-inline: 6vw;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.beat.active { opacity: 1; transform: translateY(0); }
.beat-kicker,
.kicker {
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-block-end: 0.8rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}
.beat-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 4.5vw, 3.6rem);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.85), 0 1px 4px rgba(0, 0, 0, 0.7);
}
.beat-sub {
  margin-block-start: 0.6rem;
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  letter-spacing: 0.12em;
  opacity: 0.95;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 0.8);
}
.beat-final .beat-title {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  letter-spacing: 0.28em;
  color: var(--gold-bright);
  text-shadow: 0 4px 34px rgba(0, 0, 0, 0.95), 0 2px 6px rgba(0, 0, 0, 0.9),
               0 0 60px rgba(0, 0, 0, 0.8);
}
.beat-final { pointer-events: auto; }

.btn {
  display: inline-block;
  margin-block-start: 1.6rem;
  padding: 0.85rem 2.6rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: rgba(10, 10, 10, 0.45);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
}
.btn:hover { background: var(--gold); color: var(--black); }
.btn-solid { background: var(--gold); color: var(--black); }
.btn-solid:hover { background: var(--gold-bright); }

.scroll-hint {
  position: absolute;
  inset-inline: 0;
  bottom: 9vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.9;
  transition: opacity 0.4s;
}
.scroll-hint.hidden { opacity: 0; }
.scroll-hint-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--gold), transparent);
  animation: hint 1.8s ease-in-out infinite;
}
@keyframes hint {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.55); opacity: 0.4; }
}

/* ---------- New Arrivals (light) ---------- */
.section-light {
  background: #fff;
  color: #1c1c1c;
  padding: 12vh 6vw 14vh;
  text-align: center;
}
.pill {
  display: inline-block;
  padding: 0.5rem 1.6rem;
  border-radius: 999px;
  background: #d9b944;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-block-end: 3.5rem;
}
.products-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  max-width: 1250px;
  margin-inline: auto;
}
/* Home carousels: scroll-snap row + arrows (swipe on touch). */
.carousel { position: relative; max-width: 1250px; margin-inline: auto; }
.products-row.is-carousel {
  display: flex;
  gap: 2.5rem;
  max-width: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-block-end: 0.5rem;
}
.products-row.is-carousel::-webkit-scrollbar { display: none; }
.products-row.is-carousel .card {
  flex: 0 0 calc((100% - 3 * 2.5rem) / 4);
  scroll-snap-align: start;
}
.carousel-btn {
  position: absolute;
  inset-block-start: 33%;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(10, 10, 10, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #0a0a0a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-btn:hover { background: var(--gold); border-color: var(--gold); }
.carousel-btn.prev { inset-inline-start: -14px; }
.carousel-btn.next { inset-inline-end: -14px; }
[dir="rtl"] .carousel-btn svg { transform: scaleX(-1); }

.card { text-align: center; }
.card-media {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f7f7f7;
  margin-block-end: 1.2rem;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease, transform 0.5s ease;
}
.card-media:hover img { transform: scale(1.04); }
.card-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.02rem;
  margin-block-end: 0.4rem;
}
.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { color: var(--gold); }
.card-price { font-weight: 500; margin-block-end: 1rem; }
.btn-dark {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  border-radius: 6px;
  background: #262626;
  color: #fff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.3s;
}
.btn-dark:hover { background: #000; }

/* ---------- Sections ---------- */
.section {
  padding: 18vh 8vw;
  max-width: 1100px;
  margin-inline: auto;
  text-align: center;
}
.section h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
  margin-block-end: 1.2rem;
}
.lede {
  max-width: 46ch;
  margin-inline: auto;
  font-size: 1.05rem;
  opacity: 0.85;
}
.section-dark {
  max-width: none;
  background: var(--black-soft);
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 900px;
  margin: 4rem auto 0;
}
.note h3 {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-block-end: 0.6rem;
}
.note p { font-size: 1.05rem; }
.note-caption {
  display: block;
  margin-block-start: 0.4rem;
  font-size: 0.85rem;
  opacity: 0.6;
  font-style: italic;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 6vh 8vw 12vh;
  text-align: center;
  border-block-start: 1px solid rgba(212, 180, 106, 0.2);
}
.footer-logo { width: 160px; margin-block-end: 1rem; }
.site-footer p { font-size: 0.85rem; opacity: 0.6; }
.footer-bottom {
  text-align: center;
  border-block-start: 1px solid rgba(212, 180, 106, 0.15);
  padding-block-start: 1.4rem;
}
.copyright { font-size: 0.75rem; }
.footer-bottom .footer-payments { justify-content: center; margin-block-start: 0.9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .products-row { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .products-row.is-carousel .card { flex-basis: calc((100% - 1.5rem) / 2); }
  /* Gallery: main image on top full width, thumbnails horizontal below */
  .woocommerce div.product div.images,
  .woocommerce div.product .summary,
  .single-product div.product .sc-stock-notifier { width: 100%; float: none; }
  .woocommerce div.product div.images.woocommerce-product-gallery--with-images { grid-template-columns: 1fr; }
  .woocommerce-product-gallery .flex-viewport { grid-column: 1; grid-row: 1; }
  .woocommerce div.product div.images .flex-control-thumbs {
    grid-column: 1;
    grid-row: 2;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .woocommerce div.product div.images .flex-control-thumbs li { width: 72px; }
}
@media (max-width: 720px) {
  .topbar-left a[aria-label] { display: none; } /* socials hidden on mobile */
  .topbar-sep { display: none; }
  /* My Account collapses to an icon beside the currency switcher */
  .account .account-label { display: none; }
  .account svg { display: block; }
  .burger { display: inline-flex; }
  .search { display: none; }
  .bottom-menu { display: none; }
  .sticky-atc { inset-block-end: 0; }
  .sticky-atc-title { display: none; }
  .brand-logo img { width: min(240px, 56vw); }
  .beat { bottom: 22vh; }
  .scroll-hint { bottom: 6vh; }
  .notes-grid { grid-template-columns: 1fr; gap: 2rem; }
  .products-row { grid-template-columns: 1fr; }
  .products-row.is-carousel .card { flex-basis: 78%; }
  .carousel-btn { display: none; } /* swipe instead */
}

/* ---------- Reduced motion / no-video fallback ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-track { height: 100vh; }
  .beat { transition: none; }
}
body.no-scrub .hero-track { height: 100vh; }
body.no-scrub .beat { opacity: 0; }
body.no-scrub .beat-final { opacity: 1; transform: none; }
body.no-scrub .hero-video { background: var(--black); }

/* ================= WordPress / WooCommerce ================= */

/* ---------- Subcategory pills (category pages) ---------- */
.subcat-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-block-end: 2.4rem;
}
.subcat-pills a {
  display: inline-block;
  padding: 0.5em 1.4em;
  border: 1px solid rgba(212, 180, 106, 0.4);
  border-radius: 999px;
  color: var(--white);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.subcat-pills a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0a0a;
  transform: translateY(-3px);
}

/* ---------- Product listing entrance ---------- */
@keyframes cardIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.woocommerce ul.products li.product,
.products-row .card {
  animation: cardIn 0.55s ease both;
}
.woocommerce ul.products li.product:nth-child(2), .products-row .card:nth-child(2) { animation-delay: 0.07s; }
.woocommerce ul.products li.product:nth-child(3), .products-row .card:nth-child(3) { animation-delay: 0.14s; }
.woocommerce ul.products li.product:nth-child(4), .products-row .card:nth-child(4) { animation-delay: 0.21s; }
.woocommerce ul.products li.product:nth-child(5), .products-row .card:nth-child(5) { animation-delay: 0.28s; }
.woocommerce ul.products li.product:nth-child(6), .products-row .card:nth-child(6) { animation-delay: 0.35s; }
.woocommerce ul.products li.product:nth-child(7), .products-row .card:nth-child(7) { animation-delay: 0.42s; }
.woocommerce ul.products li.product:nth-child(n+8), .products-row .card:nth-child(n+8) { animation-delay: 0.49s; }
@media (prefers-reduced-motion: reduce) {
  .woocommerce ul.products li.product, .products-row .card, .bottom-menu { animation: none; }
}

/* Inner pages: fixed bars need top clearance; logo starts docked */
.inner-page {
  padding: calc(var(--topbar-h) + var(--header-h) + 5vh) 4vw 18vh;
  max-width: 1400px;
  margin-inline: auto;
}
body.odecla-inner .site-header { background: rgba(10, 10, 10, 0.92); }
.brand-logo.docked { top: 80px; transform: translate(-50%, -50%) scale(0.38); }
.page-head { text-align: center; margin-block-end: 4rem; }
.page-head h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
}
.entry-content { max-width: 72ch; margin-inline: auto; }
.entry-content a { color: var(--gold); }

/* ---------- Buttons: unified dark pill + gold accents ---------- */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order,
.wc-block-components-button,
button[name="apply_coupon"],
button[name="update_cart"] {
  background: #262626;
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 0.7rem 1.8rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.3s;
  cursor: pointer;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #payment #place_order:hover {
  background: #000;
  color: var(--gold-bright);
}
.woocommerce a.button.loading { opacity: 0.6; }
.btn-dark.is-disabled { opacity: 0.45; pointer-events: none; }

/* ---------- Product loops (archives) ---------- */
.woo-page { color: var(--white); }
.woocommerce ul.products li.product {
  text-align: center;
  background: transparent;
  position: relative; /* sold-out / sale bubbles anchor to the image corner */
}
.woocommerce ul.products li.product a img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #f7f7f7;
  border-radius: 2px;
}
/* Category/brand tiles: logos must not be cropped */
.woocommerce ul.products li.product-category a img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 10%;
  box-sizing: border-box;
  background: #fff;
}
.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--white);
  padding-block-start: 0.9rem;
}
.woocommerce ul.products li.product-category .woocommerce-loop-category__title mark {
  background: none;
  color: #8a8a8a;
  font-size: 0.8em;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--white);
  padding-block-start: 0.9rem;
}
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price {
  color: var(--gold);
  font-weight: 500;
  font-family: var(--sans);
}
.woocommerce ul.products li.product .button { margin-block-start: 0.7rem; }
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering select { color: var(--white); background: var(--black-soft); border: 1px solid #333; padding: 0.4rem; }
.woocommerce nav.woocommerce-pagination ul { border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  color: var(--white);
  background: var(--black-soft);
  border-radius: 4px;
  margin-inline: 3px;
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--gold); color: var(--black); }
.badge-soldout,
.woocommerce span.onsale {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  background: #262626;
  color: #fff;
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
  min-height: 0;
  min-width: 0;
}
.card-media { position: relative; }

/* ---------- Single product (odecla.com layout, dark palette) ---------- */
.woocommerce div.product { color: var(--white); }

/* Breadcrumb sits above the title inside the summary column */
.woocommerce .woocommerce-breadcrumb {
  color: #8a8a8a;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-block-end: 1.2rem;
}
.woocommerce .woocommerce-breadcrumb a { color: #8a8a8a; text-decoration: none; }
.woocommerce .woocommerce-breadcrumb a:hover { color: var(--gold); }

.woocommerce div.product .product_title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.15;
}
.woocommerce div.product p.price {
  font-family: var(--serif);
  font-size: 1.7rem;
  margin-block: 1rem 1.4rem;
}
.woocommerce div.product .woocommerce-product-details__short-description {
  color: #cfc9bc;
  font-size: 0.95rem;
  border-block-start: 1px solid #232323;
  padding-block-start: 1.3rem;
}
/* Zoom trigger (magnifier) pinned to the image corner, theme skin */
.woocommerce div.product .woocommerce-product-gallery__trigger {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-end: 12px;
  z-index: 2;
  background: rgba(10, 10, 10, 0.65);
  border: 1px solid rgba(212, 180, 106, 0.5);
  outline: none;
  box-shadow: none;
}
.woocommerce div.product .woocommerce-product-gallery__trigger::before { border-color: #fff; }
.woocommerce div.product .woocommerce-product-gallery__trigger::after { background: #fff; }
.woocommerce div.product .woocommerce-product-gallery__trigger:hover { border-color: var(--gold); }

/* Gallery: vertical thumbnails left of the main image, arrows on the slider */
.woocommerce div.product div.images { width: 48%; }
.woocommerce div.product div.images img { border-radius: 4px; background: #f7f7f7; }
.woocommerce div.product div.images.woocommerce-product-gallery--with-images {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: start;
}
.woocommerce-product-gallery .flex-viewport { grid-column: 2; grid-row: 1; width: 100%; }
.woocommerce div.product div.images .flex-control-thumbs {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}
.woocommerce div.product div.images .flex-control-thumbs li { width: 100%; float: none; }
.woocommerce div.product div.images .flex-control-thumbs img { border-radius: 4px; opacity: 0.55; cursor: pointer; }
.woocommerce div.product div.images .flex-control-thumbs img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs img:hover { opacity: 1; }
.woocommerce-product-gallery .flex-direction-nav { list-style: none; margin: 0; }
.woocommerce-product-gallery .flex-direction-nav a {
  position: absolute;
  inset-block-start: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.55);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  text-decoration: none;
  transition: background 0.3s;
}
.woocommerce-product-gallery .flex-direction-nav a:hover { background: rgba(10, 10, 10, 0.85); color: var(--gold); }
.woocommerce-product-gallery .flex-direction-nav a::before {
  font-size: 1.1rem;
  font-family: var(--sans);
}
.woocommerce-product-gallery .flex-direction-nav .flex-prev { inset-inline-start: 10px; }
.woocommerce-product-gallery .flex-direction-nav .flex-next { inset-inline-end: 10px; }
.woocommerce-product-gallery .flex-direction-nav .flex-prev::before { content: "‹"; }
.woocommerce-product-gallery .flex-direction-nav .flex-next::before { content: "›"; }

/* Qty stepper + add-to-cart on one row */
.woocommerce div.product form.cart { display: flex; align-items: center; gap: 1rem; margin-block: 1.6rem; }
.quantity.has-steppers {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  border: 1px solid #333;
  border-radius: 999px;
  overflow: hidden;
  background: var(--black-soft);
}
.quantity.has-steppers .qty-btn {
  background: none;
  border: 0;
  color: var(--white);
  flex: 0 0 38px;
  width: 38px;
  height: 44px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: color 0.2s;
}
.quantity.has-steppers .qty-btn:hover { color: var(--gold); }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.woocommerce div.product form.cart div.quantity .qty,
.quantity.has-steppers .qty {
  background: transparent;
  color: var(--white);
  border: 0;
  flex: 0 0 42px;
  width: 42px;
  height: 44px;
  text-align: center;
  font-family: var(--sans);
  -moz-appearance: textfield;
}
.quantity.has-steppers .qty::-webkit-inner-spin-button,
.quantity.has-steppers .qty::-webkit-outer-spin-button { -webkit-appearance: none; }

.woocommerce div.product .product_meta {
  border-block-start: 1px solid #232323;
  padding-block-start: 1.2rem;
  font-size: 0.82rem;
  color: #8a8a8a;
  letter-spacing: 0.06em;
}
.woocommerce div.product .product_meta > span { display: block; margin-block-end: 0.4rem; }
.woocommerce div.product .product_meta a { color: var(--white); text-decoration: none; }
.woocommerce div.product .product_meta a:hover { color: var(--gold); }
.product-share { display: flex; align-items: center; gap: 0.9rem; margin-block-start: 0.8rem; font-size: 0.82rem; color: #8a8a8a; }
.product-share a { color: var(--white); opacity: 0.75; }
.product-share a:hover { color: var(--gold); opacity: 1; }
.product-share svg { width: 15px; height: 15px; fill: currentColor; display: block; }

/* Tabs → accordions in the summary column (built by shop.js) */
.woocommerce div.product .woocommerce-tabs { margin-block-start: 1.8rem; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: none; }
.woocommerce div.product .woocommerce-tabs .panel {
  display: block !important; /* Woo's JS inline-hides inactive panels */
  color: #cfc9bc;
  border-block-start: 1px solid #232323;
  margin: 0;
}
.woocommerce-tabs .acc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.05rem;
  padding-block: 1.1rem;
  cursor: pointer;
  text-align: start;
}
.woocommerce-tabs .acc-head:hover { color: var(--gold); }
.woocommerce-tabs .acc-icon::before { content: "+"; font-size: 1.2rem; color: var(--gold); }
.woocommerce-tabs .panel.open .acc-icon::before { content: "−"; }
.woocommerce-tabs .acc-body { display: none; padding-block-end: 1.6rem; font-size: 0.92rem; }
.woocommerce-tabs .panel.open .acc-body { display: block; }
.woocommerce-tabs .acc-body > h2:first-child { display: none; } /* duplicates the accordion head */
.related.products { clear: both; padding-block-start: 3rem; }
.related.products > h2 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--white);
  font-size: 1.35rem;
  margin-block-end: 1rem;
}

/* Reviews accordion: dark comment form */
#reviews .comment-reply-title { color: var(--white); font-size: 0.9rem; }
#reviews textarea,
#reviews input[type="text"],
#reviews input[type="email"] {
  width: 100%;
  background: var(--black-soft);
  color: var(--white);
  border: 1px solid #333;
  border-radius: 6px;
  padding: 0.7rem 0.9rem;
  font-family: var(--sans);
}
#reviews .comment-form-cookies-consent { display: flex; gap: 0.5rem; align-items: baseline; }
#reviews .commentlist { list-style: none; }
#reviews .star-rating span::before,
#reviews p.stars a { color: var(--gold); }

/* Sticky add-to-cart bar (shows after the summary scrolls away) */
.sticky-atc {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 49px; /* clears the pinned bottom menu */
  z-index: 39;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 6vw;
  background: rgba(14, 14, 14, 0.97);
  border-block-start: 1px solid rgba(212, 180, 106, 0.25);
  transform: translateY(120%);
  transition: transform 0.35s ease;
}
.sticky-atc.show { transform: none; }
.sticky-atc-product { display: flex; align-items: center; gap: 0.9rem; min-width: 0; }
.sticky-atc-product img { width: 44px; height: 54px; object-fit: cover; border-radius: 4px; }
.sticky-atc-title {
  font-family: var(--serif);
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-atc-buy { display: flex; align-items: center; gap: 1.2rem; }
.sticky-atc-price { color: var(--gold); font-weight: 500; white-space: nowrap; }
.sticky-atc .added_to_cart { display: none; }

/* ---------- Empty state (no products found) ---------- */
.odecla-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding-block: 5rem;
  color: #9a9a9a;
}
.odecla-empty svg { width: 46px; height: 46px; color: var(--gold); opacity: 0.8; }
.odecla-empty h2 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--white);
  font-size: 1.7rem;
  margin-block: 1.1rem 0.4rem;
}
.odecla-empty p { font-size: 0.92rem; margin-block-end: 1.8rem; }

/* ---------- Cart / Checkout / Account ---------- */
.woocommerce table.shop_table {
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  color: var(--white);
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td { border-color: #2a2a2a; }
.woocommerce table.shop_table td a { color: var(--gold); }
.woocommerce-cart table.cart td.actions .coupon .input-text,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
  background: var(--black-soft);
  color: var(--white);
  border: 1px solid #333;
  border-radius: 6px;
  padding: 0.65rem 0.9rem;
  height: auto;
}
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--white); }
.woocommerce form .form-row label { color: var(--white); }
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review,
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 { color: var(--white); }
.woocommerce #payment,
.woocommerce-checkout #payment {
  background: var(--black-soft);
  border-radius: 6px;
  color: var(--white);
}
.woocommerce-checkout #payment div.payment_box {
  background: #1e1e1e;
  color: var(--white);
}
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #1e1e1e; }
/* Account layout: fixed nav rail + fluid content (Woo's floats waste half the row) */
.woocommerce-account.logged-in .woo-page .woocommerce {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3.5rem;
  align-items: start;
}
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  float: none;
  width: 100%;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  overflow: hidden;
}
.woocommerce-account .woocommerce-MyAccount-navigation li { border-block-end: 1px solid #2a2a2a; }
.woocommerce-account .woocommerce-MyAccount-navigation li:last-child { border-block-end: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 0.8rem 1.2rem;
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: var(--gold); color: var(--black); }
.woocommerce-account .woocommerce-MyAccount-content { color: var(--white); }
/* Modern empty states inside account sections (orders, downloads, …) */
.woocommerce-MyAccount-content .woocommerce-message,
.woocommerce-MyAccount-content .woocommerce-info {
  display: flex;
  flex-direction: column-reverse; /* Woo puts the button before the text */
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  padding: 3.5rem 2rem;
  background: transparent;
  border: 1px dashed #2f2f2f;
  border-radius: 8px;
  color: #9a9a9a;
}
.woocommerce-MyAccount-content .woocommerce-message::before,
.woocommerce-MyAccount-content .woocommerce-info::before { display: none; }
.woocommerce-MyAccount-content .woocommerce-message a.button,
.woocommerce-MyAccount-content .woocommerce-info a.button { float: none; }

/* Addresses: two clean cards, readable text */
.woocommerce-account .col2-set.addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; width: 100%; }
.woocommerce-account .col2-set.addresses .col-1,
.woocommerce-account .col2-set.addresses .col-2 {
  float: none;
  width: 100%;
  max-width: none;
  background: var(--black-soft);
  border: 1px solid #232323;
  border-radius: 8px;
  padding: 1.8rem;
}
.woocommerce-account .addresses .title h2,
.woocommerce-account .addresses .title h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  float: none;
  display: inline-block;
}
.woocommerce-account .addresses .title .edit {
  float: inline-end;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  margin-block-start: 0.4rem;
}
.woocommerce-account .addresses address,
.woocommerce-account .addresses .col-1 > *:not(header),
.woocommerce-account .addresses .col-2 > *:not(header) {
  font-style: normal;
  color: #cfc9bc;
  font-size: 0.92rem;
  border: 0;
  padding-block-start: 0.8rem;
}

/* Kill the default browser fieldset chrome (password change box) */
.woocommerce form fieldset {
  border: 0;
  padding: 0;
  margin-block: 2.2rem 0;
}
.woocommerce form fieldset legend {
  display: block;
  width: 100%;
  padding: 1.4rem 0 0.6rem;
  border-block-start: 1px solid #232323;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--white);
}
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  background: var(--black-soft);
  color: var(--white);
  border-top-color: var(--gold);
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--gold); }

/* ---------- WooCommerce blocks (cart/checkout) ---------- */
.wc-block-components-order-summary-item__quantity {
  background: var(--gold);
  color: var(--black);
  border: 0;
  opacity: 1;
}
.wc-block-components-order-summary-item__total-price,
.wc-block-components-order-summary-item__individual-prices { font-family: var(--sans); }

/* ---------- Mini cart drawer ---------- */
.odecla-minicart {
  position: fixed;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(400px, 92vw);
  z-index: 60;
  background: var(--black-soft);
  color: var(--white);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
  border-inline-start: 1px solid rgba(212, 180, 106, 0.25);
}
[dir="rtl"] .odecla-minicart { transform: translateX(-100%); }
.odecla-minicart.open { transform: translateX(0); }
.odecla-minicart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  border-block-end: 1px solid rgba(212, 180, 106, 0.2);
}
.minicart-close { background: none; border: 0; color: var(--white); font-size: 1.6rem; cursor: pointer; }
.odecla-minicart-body {
  padding: 1.2rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0; /* lets the item list shrink and scroll */
}
.odecla-minicart-body ul.cart_list {
  list-style: none;
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  padding-inline-end: 0.4rem;
  /* custom scrollbar (Windows default is jarring on the dark drawer) */
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 180, 106, 0.45) transparent;
}
.odecla-minicart-body ul.cart_list::-webkit-scrollbar { width: 6px; }
.odecla-minicart-body ul.cart_list::-webkit-scrollbar-track { background: transparent; }
.odecla-minicart-body ul.cart_list::-webkit-scrollbar-thumb {
  background: rgba(212, 180, 106, 0.45);
  border-radius: 3px;
}
.odecla-minicart-body ul.cart_list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-block: 0.9rem;
  border-block-end: 1px solid #1f1f1f;
}
.odecla-minicart-body ul.cart_list li:last-child { border-block-end: 0; }
.odecla-minicart-body .mc-media img { width: 56px; height: 70px; object-fit: cover; border-radius: 4px; display: block; }
.odecla-minicart-body .mc-info { flex: 1; min-width: 0; }
.odecla-minicart-body .mc-title {
  display: block;
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.4;
}
a.mc-title:hover { color: var(--gold); }
.odecla-minicart-body .quantity { display: block; color: var(--gold); font-size: 0.82rem; margin-block-start: 0.3rem; }
.odecla-minicart-body ul.cart_list li a.remove {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #333;
  border-radius: 50%;
  color: #999 !important;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  transition: color 0.25s, border-color 0.25s;
}
.odecla-minicart-body ul.cart_list li a.remove:hover { color: #fff !important; border-color: var(--gold); }
.odecla-minicart-body .woocommerce-mini-cart__total { border-block-start: 1px solid #2a2a2a; padding-block-start: 1rem; color: var(--gold); }
.odecla-minicart-body .woocommerce-mini-cart__buttons { display: flex; gap: 0.7rem; }
/* Drawer sits outside .woocommerce wrappers — style its buttons explicitly */
.odecla-minicart-body .woocommerce-mini-cart__buttons a {
  flex: 1;
  text-align: center;
  background: #262626;
  color: #fff;
  border-radius: 6px;
  padding: 0.7rem 1rem;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  transition: background 0.3s;
}
.odecla-minicart-body .woocommerce-mini-cart__buttons a:hover { background: #000; color: var(--gold-bright); }
.minicart-backdrop {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s;
}
.minicart-backdrop.show { opacity: 1; visibility: visible; }

/* ---------- Search overlay ---------- */
.search-overlay {
  position: fixed;
  inset-inline: 0;
  inset-block-start: calc(var(--topbar-h) + var(--header-h));
  z-index: 45;
  padding: 1.2rem 6vw;
  background: rgba(10, 10, 10, 0.96);
  border-block-end: 1px solid rgba(212, 180, 106, 0.25);
  display: none;
}
.search-overlay.open { display: block; }
.search-overlay .search-form { display: flex; gap: 0.8rem; max-width: 760px; margin-inline: auto; }
.search-overlay .search-field {
  flex: 1;
  background: var(--black-soft);
  border: 1px solid #333;
  border-radius: 6px;
  color: var(--white);
  padding: 0.8rem 1.1rem;
  font-family: var(--sans);
}
.search-overlay .btn { margin: 0; }

/* ---------- Footer (4 columns) ---------- */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 3rem;
  max-width: 1250px;
  margin-inline: auto;
  text-align: start;
  padding-block-end: 3rem;
}
.footer-col h4 {
  font-family: var(--serif);
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-block-end: 1.1rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-block-end: 0.5rem; }
.footer-links a { color: var(--white); opacity: 0.75; text-decoration: none; font-size: 0.88rem; }
.footer-links a:hover { color: var(--gold); opacity: 1; }
.footer-brand { text-align: center; }
.footer-brand p { font-size: 0.85rem; opacity: 0.7; }
.footer-email { color: var(--gold); font-size: 0.85rem; display: inline-block; margin-block-start: 0.5rem; }
.footer-social { display: flex; justify-content: center; gap: 1rem; margin-block-start: 1.1rem; }
.footer-social a { color: var(--white); opacity: 0.8; }
.footer-social a:hover { color: var(--gold); }
.footer-social svg { width: 17px; height: 17px; fill: currentColor; }
.footer-payments { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pay-chip {
  border: 1px solid rgba(212, 180, 106, 0.4);
  color: var(--white);
  border-radius: 4px;
  padding: 0.25rem 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ---------- Blog cards ---------- */
.posts-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1100px;
  margin: 3rem auto 0;
  text-align: start;
}
.post-card .post-media {
  display: block;
  aspect-ratio: 16 / 24;
  overflow: hidden;
  border-radius: 4px;
}
.post-card img { width: 100%; height: 100%; object-fit: cover; }
.post-card time { display: block; color: var(--gold); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; margin-block: 0.8rem 0.3rem; }
.post-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; }
.post-card h3 a { color: var(--white); text-decoration: none; }
.post-card h3 a:hover { color: var(--gold); }
.post-card p { font-size: 0.88rem; opacity: 0.7; margin-block-start: 0.4rem; }
.single-thumb img { width: 100%; border-radius: 6px; margin-block-end: 2.5rem; }
.pagination { text-align: center; margin-block-start: 3rem; }
.pagination .nav-links { display: inline-flex; gap: 0.5rem; }
.pagination a, .pagination span {
  color: var(--white);
  background: var(--black-soft);
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  text-decoration: none;
}
.pagination .current { background: var(--gold); color: var(--black); }

/* ---------- Woo + footer mobile ---------- */
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .posts-row { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-grid .footer-links { text-align: center; }
  .inner-page { padding-inline: 5vw; padding-block-end: 10vh; }
  .woocommerce-checkout #customer_details .col-1,
  .woocommerce-checkout #customer_details .col-2 { width: 100%; float: none; }
}

/* Admin bar offset */
body.admin-bar .topbar { inset-block-start: 32px; }
body.admin-bar .site-header { inset-block-start: calc(var(--topbar-h) + 32px); }
body.admin-bar .search-overlay { inset-block-start: calc(var(--topbar-h) + var(--header-h) + 32px); }
body.admin-bar .odecla-minicart { inset-block-start: 32px; }
body.admin-bar .mobile-menu { inset-block-start: 32px; }
@media (max-width: 782px) {
  body.admin-bar .topbar { inset-block-start: 46px; }
  body.admin-bar .site-header { inset-block-start: calc(var(--topbar-h) + 46px); }
  body.admin-bar .search-overlay { inset-block-start: calc(var(--topbar-h) + var(--header-h) + 46px); }
  body.admin-bar .odecla-minicart { inset-block-start: 46px; }
  body.admin-bar .mobile-menu { inset-block-start: 46px; }
}

/* Woo product grid: replace float layout with grid */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin: 2rem 0 0;
}
/* Woo's clearfix pseudo-elements become grid items and eat the first cell */
.woocommerce .products ul::before,
.woocommerce .products ul::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after { display: none; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float: none;
  width: 100% !important;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: block; width: 100%; }
.woocommerce ul.products li.product a img { width: 100%; margin: 0 0 0.6rem; }
.woocommerce ul.products li.product .price { margin-block: 0.2rem 0.6rem; }
.woocommerce .woocommerce-result-count { float: none; display: inline-block; }
@media (max-width: 860px) {
  .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
}
@media (max-width: 520px) {
  .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: 1fr; }
}

/* Single product gallery + Woo brand color override */
:root {
  --wc-primary: #262626;
  --wc-primary-text: #ffffff;
  --wc-secondary: #131313;
  --wc-secondary-text: #f5f1e8;
}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper img {
  width: 100%;
  height: auto;
}
.woocommerce div.product form.cart .button,
.single_add_to_cart_button {
  white-space: nowrap;
  background: #262626 !important;
  color: #fff !important;
  border-radius: 6px;
}
.woocommerce div.product form.cart .button:hover { background: #000 !important; color: var(--gold-bright) !important; }
.woocommerce ul.products li.product .button { white-space: nowrap; }
.added_to_cart.wc-forward { display: none; } /* drawer opens instead */

/* ---------- Cart & Checkout layout ---------- */
/* Full-width content on cart/checkout (the 72ch article limit squeezed them) */
.woocommerce-cart .inner-page .entry-content,
.woocommerce-checkout .inner-page .entry-content { max-width: none; }

/* Woo blocks buttons: kill the default purple */
.wc-block-components-button:not(.is-link) {
  background: #262626 !important;
  color: #fff !important;
  border-radius: 6px;
}
.wc-block-components-button:not(.is-link):hover {
  background: #000 !important;
  color: var(--gold-bright) !important;
}

/* Classic checkout: two columns — details left, order review right */
@media (min-width: 861px) {
  form.woocommerce-checkout {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 3rem;
    align-items: start;
  }
  form.woocommerce-checkout > #customer_details { grid-column: 1; grid-row: 1 / span 2; }
  form.woocommerce-checkout > #order_review_heading { grid-column: 2; grid-row: 1; }
  form.woocommerce-checkout > #order_review { grid-column: 2; grid-row: 2; }
}
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 { float: none; width: 100%; }

/* Bordered boxes: browser fieldset chrome leaks into checkout forms too */
.woocommerce-page form fieldset,
.wc-block-components-form fieldset,
.woocommerce-checkout fieldset {
  border: 0;
  padding: 0;
}

/* Payment box: blend with its container instead of a lighter slab */
.woocommerce-checkout #payment div.payment_box,
.woocommerce #payment div.payment_box {
  background: transparent;
  color: var(--white);
}
.woocommerce-checkout #payment div.payment_box::before,
.woocommerce #payment div.payment_box::before { display: none; }

/* ---------- Stock notifier (space-core plugin) ---------- */
/* Renders between gallery and summary: wrap it into the summary column */
.single-product div.product .sc-stock-notifier {
  float: inline-end;
  width: 48%;
  margin-block-end: 1.6rem;
  background: var(--black-soft);
  border: 1px solid #232323;
  border-radius: 8px;
  padding: 1.5rem;
}
.sc-stock-notifier .sc-sn-heading {
  font-family: var(--serif);
  color: var(--white);
  font-size: 1.05rem;
  margin-block-end: 0.9rem;
}
.sc-stock-notifier select,
.sc-stock-notifier input {
  width: 100%;
  background: #1c1c1c;
  color: var(--white);
  border: 1px solid #333;
  border-radius: 6px;
  padding: 0.65rem 0.9rem;
  margin-block-end: 0.7rem;
  font-family: var(--sans);
}
.sc-stock-notifier button,
.sc-stock-notifier [type="submit"] {
  background: #262626;
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 0.7rem 1.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.sc-stock-notifier button:hover { background: #000; color: var(--gold-bright); }

/* ---------- BOGO gift modal / announcement (buy-one-get-one-free plugin) ---------- */
/* Plugin ships a white dialog; our cream text made it read as an empty white box */
.wc-bogo-modal { background: rgba(0, 0, 0, 0.65); }
.wc-bogo-modal .wc-bogo-modal-content {
  background: var(--black-soft);
  color: var(--white);
  border: 1px solid rgba(212, 180, 106, 0.3);
  border-radius: 8px;
}
.wc-bogo-modal .wc-bogo-modal-header h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--white);
}
.wc-bogo-modal .wc-bogo-modal-close {
  color: var(--white);
  cursor: pointer;
  font-size: 1.5rem;
}
.wc-bogo-modal .wc-bogo-modal-close:hover { color: var(--gold); }
.wc-bogof-announcement {
  background: var(--black-soft);
  color: var(--white);
  border: 1px solid rgba(212, 180, 106, 0.3);
}
.wc-bogof-announcement a { color: var(--gold); }

/* Gift chooser contents: keep images inside their cards */
.wc-bogo-modal img { max-width: 100%; height: auto; }
.wc-bogo-modal .wc-bogo-modal-body { padding: 1.2rem; overflow-y: auto; }
.wc-bogo-modal .wc-bogo-modal-body ul.products,
.wc-bogo-modal ul.products { margin: 0; gap: 1.2rem; }
.wc-bogo-modal .wc-bogo-modal-header { padding: 1rem 1.2rem; border-block-end: 1px solid #232323; }
