/*
Theme Name: Alderton & Co.
Theme URI: https://aldertonco.com/
Author: Gemini CLI
Description: A premium corporate WordPress theme for Alderton & Co.
Version: 1.0
Text Domain: alderton-co
*/

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

:root {
  --cream: #F5F0E8;
  --cream-mid: #EDE6D6;
  --cream-dark: #D9CFBA;
  --linen: #FAF7F2;
  --ink: #1C1A16;
  --ink-mid: #3E3A32;
  --ink-light: #7A7267;
  --ink-faint: #B0A898;
  --gold: #8B7355;
  --gold-light: #C4A97D;
  --gold-pale: #E8DCC8;
  --white: #FFFFFF;
  --border: rgba(28,26,22,0.1);
  --border-mid: rgba(28,26,22,0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--linen);
  color: var(--ink);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ─── HEADER ─── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background 0.3s, box-shadow 0.3s;
}
header.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--border);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 3rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}
header.scrolled .logo { color: var(--ink); }
.logo span { color: var(--gold-light); }
header.scrolled .logo span { color: var(--gold); }
.logo-img { display: flex; align-items: center; }
.logo-img img { height: 28px; width: auto; max-width: 180px; display: block; object-fit: contain; transition: opacity 0.3s ease; }
.logo-img .logo-default { display: none; }
#header.scrolled .logo-img .logo-default { display: block; }
#header.scrolled .logo-img .logo-scrolled { display: none; }

/* Shop, About, Journal, Account & Category pages: always show main logo, no switching */
body.woocommerce-shop .logo-img .logo-default,
body.tax-product_cat .logo-img .logo-default,
body.page-template-template-about-php .logo-img .logo-default,
body.blog .logo-img .logo-default,
body.single-product .logo-img .logo-default,
body.woocommerce-cart .logo-img .logo-default,
body.woocommerce-account .logo-img .logo-default { display: block; }
body.woocommerce-shop .logo-img .logo-scrolled,
body.tax-product_cat .logo-img .logo-scrolled,
body.page-template-template-about-php .logo-img .logo-scrolled,
body.blog .logo-img .logo-scrolled,
body.single-product .logo-img .logo-scrolled,
body.woocommerce-cart .logo-img .logo-scrolled,
body.woocommerce-account .logo-img .logo-scrolled { display: none; }
body.woocommerce-shop #header.scrolled .logo-img .logo-default,
body.tax-product_cat #header.scrolled .logo-img .logo-default,
body.page-template-template-about-php #header.scrolled .logo-img .logo-default,
body.blog #header.scrolled .logo-img .logo-default,
body.single-product #header.scrolled .logo-img .logo-default,
body.woocommerce-cart #header.scrolled .logo-img .logo-default,
body.woocommerce-account #header.scrolled .logo-img .logo-default { display: block; }
body.woocommerce-shop #header.scrolled .logo-img .logo-scrolled,
body.tax-product_cat #header.scrolled .logo-img .logo-scrolled,
body.page-template-template-about-php #header.scrolled .logo-img .logo-scrolled,
body.blog #header.scrolled .logo-img .logo-scrolled,
body.single-product #header.scrolled .logo-img .logo-scrolled,
body.woocommerce-cart #header.scrolled .logo-img .logo-scrolled,
body.woocommerce-account #header.scrolled .logo-img .logo-scrolled { display: none; }

nav { display: flex; align-items: center; gap: 2.5rem; }

nav li { list-style: none; display: contents; }

nav a, nav li a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}
nav a:hover, nav li a:hover { color: var(--white); }
nav a.active, nav li.current-menu-item a { color: var(--white); border-bottom: 1px solid var(--gold-light); padding-bottom: 2px; }
header.scrolled nav a, header.scrolled nav li a { color: var(--ink-light); }
header.scrolled nav a:hover, header.scrolled nav li a:hover { color: var(--ink); }
header.scrolled nav a.active, header.scrolled nav li.current-menu-item a { color: var(--ink); border-bottom-color: var(--gold); }

.header-right { display: flex; align-items: center; gap: 1.2rem; }

.icon-btn {
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.75);
  display: flex; align-items: center;
  transition: color 0.2s; padding: 4px;
}
.icon-btn:hover { color: var(--white); }
header.scrolled .icon-btn { color: var(--ink-light); }
header.scrolled .icon-btn:hover { color: var(--ink); }

.icon-btn svg {
  width: 20px; height: 20px;
  stroke: currentColor; fill: none;
  stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}

/* ─── SEARCH OVERLAY ─── */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.search-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.search-overlay-inner {
  max-width: 800px;
  width: 90%;
  position: relative;
  text-align: center;
}
.search-close {
  position: absolute;
  top: -60px;
  right: 0;
  background: none;
  border: none;
  font-size: 3rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.3s;
}
.search-close:hover {
  transform: rotate(90deg);
}
.search-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}
.search-field {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 2px solid var(--border-mid);
  padding: 1.5rem 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 4vw, 3rem);
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s;
  text-align: center;
}
.search-field:focus {
  border-color: var(--gold);
}
.search-submit {
  background: var(--ink);
  color: var(--white);
  border: none;
  padding: 1rem 3rem;
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.3s;
}
.search-submit:hover {
  background: var(--gold);
}

/* ─── WOOCOMMERCE SINGLE PRODUCT ─── */
.alderton-woo-container {
  max-width: 1280px;
  margin: 0 auto;
}

.woocommerce-product-gallery {
  margin-bottom: 4rem;
}

.woocommerce div.product div.summary {
  padding-left: 4rem;
}

.woocommerce div.product .product_title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.woocommerce div.product p.price, 
.woocommerce div.product span.price {
  font-family: 'Jost', sans-serif;
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 2rem;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  font-size: 1rem;
  color: var(--ink-light);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

/* Buttons */
.woocommerce div.product .button.alt {
  background: var(--ink);
  color: var(--white);
  padding: 1.2rem 3rem;
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  border: none;
  border-radius: 0;
  transition: background 0.3s;
  cursor: pointer;
}
.woocommerce div.product .button.alt:hover {
  background: var(--gold);
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: none;
  border: none;
  padding: 0;
  margin-right: 3rem;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::after,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before { display: none; }

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: var(--ink-light);
  padding: 1rem 0;
  display: block;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--ink);
  border-bottom: 2px solid var(--gold);
}

.woocommerce div.product .woocommerce-tabs .panel {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-light);
}

/* Quantity Input */
.woocommerce .quantity .qty {
  border: 1px solid var(--border);
  padding: 0.8rem;
  font-family: 'Jost', sans-serif;
  margin-right: 1rem;
}

/* Related Products */
.woocommerce section.related.products,
.woocommerce section.upsells.products {
  margin-top: 6rem;
  border-top: 1px solid var(--border);
  padding-top: 5rem;
}

.woocommerce section.related.products h2,
.woocommerce section.upsells.products h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 3rem;
  text-align: center;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  background: transparent;
  border: none;
  transition: transform 0.3s ease;
  padding: 0;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  padding: 1.1rem 1.3rem 0.5rem;
}

.woocommerce ul.products li.product .price {
  color: var(--ink-mid);
  font-weight: 400;
  font-size: 0.9rem;
  padding: 0;
  margin: 0;
  display: block;
}

.woocommerce ul.products li.product .button {
  display: none; /* Keep it minimal like homepage */
}

/* Reviews */
#reviews #comments h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 2rem;
}

#reviews #comments ol.commentlist {
  padding: 0;
  list-style: none;
}

#reviews #comments ol.commentlist li {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

#reviews #comments ol.commentlist li .comment_container img.avatar {
  border-radius: 50%;
  width: 60px;
  background: var(--cream);
  border: 1px solid var(--border);
}

#reviews #comments ol.commentlist li .comment_container .comment-text {
  margin-left: 80px;
  border: none;
  padding: 0;
}

#reviews #comments ol.commentlist li .comment_container .comment-text .meta {
  font-family: 'Jost', sans-serif;
  color: var(--ink);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

#reviews #comments ol.commentlist li .comment_container .comment-text .description {
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 1.7;
}

#review_form_wrapper {
  margin-top: 4rem;
  background: var(--linen);
  padding: 3rem;
}

#review_form_wrapper #reply-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  display: block;
}

#review_form_wrapper .comment-form input:not([type="checkbox"]):not([type="radio"]),
#review_form_wrapper .comment-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  padding: 1rem;
  font-family: 'Jost', sans-serif;
  background: var(--white);
  outline: none;
}

#review_form_wrapper .comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: .5rem;
}
#review_form_wrapper .comment-form-cookies-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: auto;
  margin: 0;
}
#review_form_wrapper .comment-form-cookies-consent label {
  font-size: .82rem;
  color: var(--ink-light);
  line-height: 1.5;
  cursor: pointer;
}

#review_form_wrapper .comment-form input:focus,
#review_form_wrapper .comment-form textarea:focus {
  border-color: var(--gold);
}

#review_form_wrapper .submit {
  background: var(--ink);
  color: var(--white);
  border: none;
  padding: 1rem 3rem;
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 1rem;
  transition: background 0.3s;
}

#review_form_wrapper .submit:hover {
  background: var(--gold);
}

/* ─── HERO ─── */
.hero {
  height: 100vh;
  min-height: 680px;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
  background: var(--ink-mid);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 59px,
      rgba(255,255,255,0.025) 59px,
      rgba(255,255,255,0.025) 60px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 59px,
      rgba(255,255,255,0.025) 59px,
      rgba(255,255,255,0.025) 60px
    );
}

.hero-bg-panel {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.hero-bg-panel::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(20,18,14,0.72) 0%,
    rgba(20,18,14,0.45) 55%,
    rgba(20,18,14,0.15) 100%
  );
}

.hero-img-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; color: var(--ink-faint);
  letter-spacing: 0.1em; z-index: 1;
}

.hero-content {
  position: relative; z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 3rem 7rem;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 300;
  line-height: 1.02;
  color: var(--white);
  max-width: 670px;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.4s forwards;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  max-width: 380px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.6s forwards;
}

.hero-actions {
  display: flex; gap: 1rem; align-items: center;
  opacity: 0;
  animation: fadeUp 0.9s 0.8s forwards;
}

.btn-hero-primary {
  padding: 0.9rem 2.5rem;
  background: var(--white);
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  transition: background 0.2s, color 0.2s;
}
.btn-hero-primary:hover { background: var(--cream); }

.btn-hero-ghost {
  padding: 0.9rem 2.5rem;
  background: transparent;
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  border: 1px solid rgba(255,255,255,0.25);
  transition: border-color 0.2s, color 0.2s;
}
.btn-hero-ghost:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }

.hero-scroll {
  position: absolute;
  bottom: 3rem; right: 3rem;
  display: flex; align-items: center; gap: 1rem;
  opacity: 0;
  animation: fadeIn 1s 1.2s forwards;
}

.hero-scroll span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 1px; height: 100%;
  background: var(--gold-light);
  animation: scrollTick 1.8s ease-in-out infinite;
}
@keyframes scrollTick {
  0% { top: -100%; }
  100% { top: 200%; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ─── CATEGORY BANNERS ─── */
.cat-banner {
  position: relative;
  height: 100vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--ink-mid);
  display: flex;
  align-items: center;
}

.cat-banner-bg-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cat-banner-bg-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-banner:hover .cat-banner-bg-img img { transform: scale(1.04); }

.cat-banner-bg-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 18, 14, 0.85) 0%,
    rgba(20, 18, 14, 0.55) 50%,
    rgba(20, 18, 14, 0.25) 100%
  );
}

.cat-banner-content {
  position: relative; z-index: 10;
  max-width: 1280px;
  margin: 12rem auto 0;
  padding: 0 3rem;
  width: 100%;
}

.cat-banner-label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
  font-family: 'Jost', sans-serif;
}

.cat-banner-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 6.5vw, 6.5rem);
  font-weight: 300;
  line-height: 1.02;
  color: var(--white);
  max-width: 600px;
  margin-bottom: 2.2rem;
}

.cat-banner-title em {
  font-style: italic;
  color: var(--gold-light);
}

.btn-cat-banner {
  display: inline-block;
  padding: 0.88rem 2.6rem;
  background: var(--white);
  color: var(--ink);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  transition: background 0.2s, color 0.2s;
}
.btn-cat-banner:hover { background: var(--cream); }

@media (max-width: 768px) {
  .cat-banner { height: 55vh; min-height: 420px; }
  .cat-banner-content { padding: 0 1.5rem; }
  .cat-banner-title { font-size: 2.4rem; }
}

/* ─── TICKER ─── */
/* ── Hidden homepage sections ── */
.ticker,
.split-feature,
.brand-values,
.journal,
.products--featured { display: none !important; }

.ticker {
  background: var(--gold);
  padding: 0.9rem 0;
  overflow: hidden;
}
.ticker-track {
  display: flex; gap: 3rem;
  animation: slide 20s linear infinite;
  width: max-content;
}
.ticker-item {
  display: flex; align-items: center; gap: 1rem;
  flex-shrink: 0;
}
.ticker-item span {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
}
.ticker-sep {
  width: 4px; height: 4px;
  border: 1px solid rgba(255,255,255,0.5);
  transform: rotate(45deg);
  flex-shrink: 0;
}
@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── SECTION COMMONS ─── */
.section-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8rem 3rem;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1rem;
  display: block;
}

/* ─── INTRO STATEMENT ─── */
.intro {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.intro-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 7rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 6rem;
  align-items: center;
}

.intro-left { }

.intro-left h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
}

.intro-left h2 em { font-style: italic; color: var(--gold); }

.intro-right p {
  font-size: 1rem;
  color: var(--ink-light);
  line-height: 1.9;
  margin-bottom: 1rem;
}

.intro-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  margin-top: 0.5rem;
  border-bottom: 1px solid var(--border-mid);
  padding-bottom: 2px;
  transition: border-color 0.2s, gap 0.2s;
}
.intro-link:hover { border-color: var(--gold); gap: 1rem; }
.intro-link svg {
  width: 14px; height: 14px;
  stroke: currentColor; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

/* ─── FEATURED PRODUCTS ─── */
.products {
  background: var(--linen);
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
}

.products-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
}

.products-header a {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-light);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.products-header a:hover { color: var(--ink); border-color: var(--gold); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Homepage featured products — bento grid matching shop-by-category proportions */
.products--featured .section-wrap {
  max-width: 100%;
  padding: 5rem 3rem;
}
.products--featured .products-grid {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  gap: 0.75rem;
}
.products--featured .products-grid .product-card:first-child {
  grid-row: auto;
}
.products--featured .product-img {
  overflow: hidden;
  height: auto;
}
.products--featured .product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
}
.products--featured .product-card {
  display: flex;
  flex-direction: column;
}
.products--featured .product-info {
  flex-shrink: 0;
}
.products--featured .product-category { display: none; }
.products--featured .product-actions,
.products--featured .quick-view { display: none !important; }

.product-card {
  background: transparent;
  cursor: pointer;
  transition: transform 0.3s ease;
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
}
/* Stretched link — makes the whole card clickable */
.product-card .product-name {
  position: static;
}
.product-card .product-name::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
/* Keep wishlist button above the stretched link (already position:absolute) */
.product-card .wishlist-btn {
  z-index: 2;
}

.product-img {
  background: var(--cream);
  position: relative;
  overflow: hidden;
  display: block;
}
.product-img img {
  width: 100%;
  height: auto;
  display: block;
}
.products .product-img img {
  height: auto;
}
.products .product-img img {
  object-fit: contain;
  height: auto;
  padding: 0;
}

/* Hover image swap */
.product-img--has-hover .wp-post-image { transition: opacity 0.4s ease; }
.product-card:hover .product-img--has-hover .wp-post-image { opacity: 0; }
.product-img-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.product-card:hover .product-img-hover { opacity: 1; }

.product-img-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
}

.wishlist-btn {
  position: absolute;
  top: .6rem; right: .6rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
}
.wishlist-btn svg { width: 16px; height: 16px; stroke: var(--ink-mid); fill: none; stroke-width: 1.5; }
.wishlist-btn:hover svg { stroke: var(--gold); }

.product-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
}

.product-badge.new { background: var(--gold); }

.product-img .quick-view {
  position: absolute;
  bottom: 1rem; left: 1rem; right: 1rem;
  background: rgba(28,26,22,0.85);
  color: var(--cream);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.7rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s, transform 0.25s;
  text-decoration: none;
}
.product-card:hover .quick-view { opacity: 1; transform: translateY(0); }

.product-info {
  padding: 0.75rem 0.75rem 0.5rem 0;
}

.product-category {
  display: none;
}
.product-category a {
  color: var(--gold);
  text-decoration: none;
}
.product-category a:hover { color: var(--ink); }

.product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.5rem;
  text-decoration: none;
  display: block;
}

.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-size: 0.9rem;
  color: var(--ink-mid);
  font-weight: 400;
}

.product-colors {
  display: flex; gap: 4px;
}

.color-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid var(--border-mid);
}

/* ─── PULL QUOTE ─── */
.pull-quote {
  background: var(--cream);
  border-top: 1px solid var(--border-mid);
  border-bottom: 1px solid var(--border-mid);
  padding: 5rem 3rem;
  text-align: center;
}
.pull-quote blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  line-height: 1.35;
  max-width: 820px;
  margin: 0 auto 1.2rem;
}
.pull-quote cite {
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}
@media (max-width: 768px) {
  .pull-quote { padding: 3.5rem 1.5rem; }
}

/* ─── SPLIT FEATURE ─── */
.split-feature {
  background: var(--ink);
}

.split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.split-image {
  background: var(--cream-mid);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}

.split-image::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 19px,
    rgba(28,26,22,0.04) 19px, rgba(28,26,22,0.04) 20px
  );
}

.split-image-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--ink-faint);
  z-index: 1;
}

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem;
}

.split-content .section-label { color: var(--gold-light); opacity: 0.7; }

.split-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.split-content h2 em { font-style: italic; color: var(--gold-light); }

.split-content p {
  font-size: 0.9rem;
  color: var(--ink-faint);
  line-height: 1.9;
  margin-bottom: 2rem;
}

.btn-cream {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: var(--cream);
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  align-self: flex-start;
  transition: background 0.2s;
}
.btn-cream:hover { background: var(--gold-pale); }

/* ─── BRAND VALUES ─── */
.brand-values {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border-mid);
  margin-top: 3.5rem;
}

.value-cell {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border-mid);
}
.value-cell:last-child { border-right: none; }

.value-icon {
  width: 32px; height: 32px;
  margin-bottom: 1.2rem;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.value-text {
  font-size: 0.85rem;
  color: var(--ink-light);
  line-height: 1.8;
}

/* ─── CATEGORY GRID ─── */
.categories-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.categories-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 400;
  color: var(--ink);
}

.cat-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 320px 320px;
  gap: 1rem;
}

.cat-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--cream);
  display: flex; align-items: flex-end;
}

.cat-card:first-child { grid-row: 1 / 3; }

.cat-overlay {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 29px,
    rgba(28,26,22,0.03) 29px, rgba(28,26,22,0.03) 30px
  );
}

.cat-placeholder {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
  text-align: center;
}

.cat-info {
  position: relative; z-index: 2;
  padding: 2rem;
  background: linear-gradient(to top, rgba(28,26,22,0.7) 0%, transparent 100%);
  width: 100%;
}

.cat-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.3rem;
}

.cat-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
}

.cat-card .cat-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  margin-top: 0.4rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s, transform 0.2s;
}
.cat-card:hover .cat-arrow { opacity: 1; transform: translateX(0); }

/* ─── JOURNAL ─── */
.journal { background: var(--linen); }

.journal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.journal-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 400;
  color: var(--ink);
}

.journal-header a {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-light);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.journal-header a:hover { color: var(--ink); border-color: var(--gold); }

.journal-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 1.5rem;
}

.journal-card {
  background: var(--white);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.3s;
  position: relative;
}
.journal-card:hover { transform: translateY(-3px); }
.journal-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.journal-img {
  aspect-ratio: 16/9;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
}
.journal-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.journal-img-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
}

.journal-body { padding: 1.5rem; }

.journal-tag {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.journal-tag a { color: var(--gold); text-decoration: none; }
.journal-tag a:hover { color: var(--ink); }

.journal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.journal-card:first-child .journal-title { font-size: 1.6rem; }

.journal-excerpt {
  font-size: 0.85rem;
  color: var(--ink-light);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.journal-meta {
  font-size: 0.72rem;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
}

/* ─── NEWSLETTER ─── */
.newsletter {
  background: var(--cream);
  border-top: 1px solid var(--border-mid);
  border-bottom: 1px solid var(--border-mid);
}

.newsletter .section-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 5rem 3rem;
}

.newsletter h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
}
.newsletter h2 em { font-style: italic; color: var(--gold); }

.newsletter p {
  font-size: 0.9rem;
  color: var(--ink-light);
  margin-top: 0.8rem;
}

.newsletter-form {
  display: flex;
  gap: 0;
}

.newsletter-form input {
  flex: 1;
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--border-mid);
  border-right: none;
  background: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-form input::placeholder { color: var(--ink-faint); }
.newsletter-form input:focus { border-color: var(--gold); }

.newsletter-form button {
  padding: 0.85rem 1.8rem;
  background: var(--ink);
  color: var(--cream);
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: var(--ink-mid); }

.newsletter-note {
  font-size: 0.75rem;
  color: var(--ink-faint);
  margin-top: 0.8rem;
}

/* ─── FOOTER NEWSLETTER ─── */
.footer-newsletter {
  display: block;
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 2.5rem 0;
}
.footer-newsletter-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.footer-newsletter-text h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.2;
}
.footer-newsletter-text h3 em { font-style: italic; color: var(--gold); }
.footer-newsletter-text p {
  font-size: .83rem;
  color: rgba(245,240,232,.55);
  margin-top: .5rem;
  line-height: 1.6;
}
.footer-newsletter-form {
  display: flex;
  gap: 0;
}
.footer-newsletter-form input[type="email"] {
  flex: 1;
  padding: .8rem 1.1rem;
  border: 1px solid rgba(255,255,255,.15);
  border-right: none;
  background: rgba(255,255,255,.06);
  font-family: 'Jost', sans-serif;
  font-size: .85rem;
  color: var(--cream);
  outline: none;
  transition: border-color .2s;
}
.footer-newsletter-form input[type="email"]::placeholder { color: rgba(245,240,232,.4); }
.footer-newsletter-form input[type="email"]:focus { border-color: var(--gold); }
.footer-newsletter-form button {
  padding: .8rem 1.6rem;
  background: var(--gold);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.footer-newsletter-form button:hover { background: var(--gold-light); }
.footer-newsletter-msg {
  font-size: .75rem;
  margin-top: .6rem;
  min-height: 1.2em;
}
@media (max-width: 768px) {
  .footer-newsletter { padding: 2rem 0; }
  .footer-newsletter-inner { grid-template-columns: 1fr; gap: 1.5rem; padding: 0 1.5rem; }
}
@media (max-width: 520px) {
  .footer-newsletter-form { flex-direction: column; }
  .footer-newsletter-form input[type="email"] { border-right: 1px solid rgba(255,255,255,.15); border-bottom: none; }
  .footer-newsletter-form button { width: 100%; }
}

/* ─── FOOTER ─── */
footer {
  background: var(--ink);
  color: var(--cream);
  padding: 0 0 2.5rem;
}

.footer-top {
  max-width: 1280px;
  margin: 0 auto 3rem;
  padding: 3rem 3rem 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-brand .logo {
  color: var(--cream);
  display: block;
  margin-bottom: 1rem;
}
.footer-brand .logo img,
.footer-logo-img {
  height: auto;
  width: 65px;
  max-width: none;
  display: block;
}

.footer-brand p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.55);
  line-height: 1.85;
  max-width: 280px;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  position: relative;
}
.footer-brand p::before { display: none; }

.footer-socials {
  display: flex; gap: 0.8rem;
}

.social-btn {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-faint);
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}
.social-btn:hover { border-color: var(--gold-light); color: var(--gold-light); }
.social-btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.footer-col h4 {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.7;
  margin-bottom: 1.2rem;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-faint);
  text-decoration: none;
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--cream); }

/* Remove bullets from dynamic WordPress menus in footer */
.footer-col ul, 
.footer-col li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p { font-size: 0.78rem; color: var(--ink-faint); }

.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.78rem; color: var(--ink-faint); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: var(--cream); }

/* ─── FADE IN ─── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .products--featured .products-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .cat-card:first-child { grid-row: auto; }
  .journal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header-inner { padding: 0 1.5rem; }
  nav { display: none; }
  .hero-bg-panel { display: none; }
  .hero {
    min-height: 92vh;
    background-image:
      linear-gradient(to top, rgba(28,26,22,0.95) 35%, rgba(28,26,22,0.55) 100%),
      var(--hero-img, none);
    background-size: cover;
    background-position: center top;
    align-items: center;
  }
  .hero-content {
    padding: 0 1.5rem;
  }
  .hero h1 { font-size: 2.6rem; max-width: 100%; }
  .hero-sub { max-width: 100%; font-size: 0.9rem; margin-bottom: 2rem; }
  .hero-actions { flex-direction: column; gap: 0.75rem; }
  .btn-hero-primary,
  .btn-hero-ghost { width: 100%; text-align: center; padding: 1rem 1.5rem; }
  .hero-scroll { right: 1.5rem; bottom: 1.5rem; }
  .hero-content { padding-bottom: 6.5rem; }
  .intro-inner { grid-template-columns: 1fr; gap: 2rem; padding: 4rem 1.5rem; }
  .section-wrap { padding: 5rem 1.5rem; }
  .products--featured .section-wrap { padding: 5rem 1.5rem; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .value-cell:nth-child(2) { border-right: none; }
  .value-cell:nth-child(3) { border-right: 1px solid var(--border-mid); border-top: 1px solid var(--border-mid); }
  .value-cell:nth-child(4) { border-top: 1px solid var(--border-mid); border-right: none; }
  .split-inner { grid-template-columns: 1fr; }
  .split-image { display: none; }
  .newsletter .section-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .products-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .journal-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  footer { padding: 0 0 1rem; }
  .footer-top { padding-left: 1.5rem; padding-right: 1.5rem; padding-bottom: 1.5rem; margin-bottom: 1.25rem; }
  .footer-bottom { padding: 0 1.5rem; }
  .footer-brand .logo img,
  .footer-logo-img { width: 65px; height: auto; }
}

@media (max-width: 520px) {
  .products-grid { grid-template-columns: 1fr; }
  .products--featured .products-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.75rem; width: 100%; padding-top: 0.75rem; padding-bottom: 0.75rem; }
  .footer-legal { flex-wrap: wrap; gap: 1rem; }
}

/* ─── SHOP PAGE (ARCHIVE) ─── */

/* SHOP HERO / BREADCRUMB */
.shop-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 8rem 0 3.5rem;
}
.shop-header-inner { max-width: 1280px; margin: 0 auto; padding: 0 3rem; }
.breadcrumb { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.5rem; }
.breadcrumb, .breadcrumb a, .breadcrumb span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink-light); }
.breadcrumb .sep { color: var(--cream-dark); }
.breadcrumb .current { color: var(--ink-light); }

.shop-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.shop-title-row h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 300; line-height: 1.08; color: var(--ink); margin: 0; }
.shop-title-row h1 em { font-style: italic; color: var(--gold); }
.shop-header-controls { display: flex; align-items: center; gap: 1rem; padding-bottom: .3rem; }
.shop-count { font-size: 0.78rem; letter-spacing: 0.12em; color: var(--ink-faint); margin-bottom: 0.3rem; }

/* CATEGORY PILLS */
.category-nav {
  display: none;
}
.category-nav::-webkit-scrollbar { display: none; }
.category-nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 3rem; display: flex; gap: 0; }
.cat-tab { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-light); text-decoration: none; padding: 1rem 1.4rem; border-bottom: 2px solid transparent; white-space: nowrap; transition: color 0.2s, border-color 0.2s; }
.cat-tab:hover { color: var(--ink); }
.cat-tab.active { color: var(--ink); border-bottom-color: var(--gold); }

/* MAIN SHOP LAYOUT */
.shop-layout { width: 100%; padding: 0.3rem; }
.shop-layout > * { min-width: 0; }

/* SIDEBAR (static – hidden, content moved to filter drawer) */
.sidebar { display: none; }
.sidebar-sticky { position: sticky; top: 110px; }
.filter-section { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.filter-section:last-child { border-bottom: none; }
.filter-title { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 1.2rem; }

/* WooCommerce Widgets Overrides */
.sidebar .widget { margin-bottom: 2.5rem; }
.sidebar .widget_title { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 1.2rem; }
.sidebar ul { list-style: none; padding: 0; }
.sidebar ul li { margin-bottom: 0.6rem; font-size: 0.85rem; color: var(--ink-light); }
.sidebar ul li a { color: var(--ink-light); text-decoration: none; transition: color 0.2s; }
.sidebar ul li a:hover { color: var(--ink); }

/* TOOLBAR */
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0; padding-bottom: 0; }
.toolbar-left { display: flex; align-items: center; gap: 1rem; }
.active-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filter-tag { display: flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.7rem; background: var(--cream); border: 1px solid var(--border-mid); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--ink-mid); }
.filter-tag a { color: var(--ink-faint); text-decoration: none; font-size: 0.8rem; line-height: 1; }

.toolbar-right { display: flex; align-items: center; gap: 1.5rem; }
.woocommerce-ordering select { padding: 0.4rem 0.8rem; border: 1px solid var(--border-mid); background: var(--white); font-family: 'Jost', sans-serif; font-size: 0.78rem; color: var(--ink-light); outline: none; appearance: none; background-image: url(\"data:image/svg+xml,%3Csvg viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A7267' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E\"); background-repeat: no-repeat; background-position: right 0.6rem center; background-size: 10px; padding-right: 1.8rem; }

.grid-toggle { display: none; }
.grid-btn { background: none; border: 1px solid var(--border); padding: 0.35rem 0.5rem; cursor: pointer; color: var(--ink-light); transition: all 0.15s; display: flex; align-items: center; }
.grid-btn.active, .grid-btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.grid-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.5; }

/* FILTER TRIGGER BUTTON */
.fd-trigger { display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1rem; border: 1px solid var(--border-mid); background: var(--white); font-family: 'Jost', sans-serif; font-size: 0.78rem; letter-spacing: 0.05em; color: var(--ink-mid); cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.fd-trigger:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.fd-trigger svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.5; flex-shrink: 0; }

/* FILTER DRAWER OVERLAY */
.fd-overlay { position: fixed; inset: 0; background: rgba(30,26,20,0.45); z-index: 900; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.fd-overlay.open { opacity: 1; pointer-events: all; }

/* FILTER DRAWER */
.fd-drawer { position: fixed; top: 0; right: 0; height: 100vh; width: 340px; background: var(--white); z-index: 901; transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1); overflow-y: auto; display: flex; flex-direction: column; }
.fd-drawer.open { transform: translateX(0); }
.fd-drawer-hd { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 1.75rem; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.fd-drawer-title { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); }
.fd-close { background: none; border: none; cursor: pointer; color: var(--ink-light); padding: 0.25rem; display: flex; align-items: center; transition: color 0.15s; }
.fd-close:hover { color: var(--ink); }
.fd-close svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; }

/* FILTER ACCORDION */
.fd-acc { border-bottom: 1px solid var(--border); }
.fd-acc-hd { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.75rem; background: none; border: none; font-family: 'Jost', sans-serif; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); cursor: pointer; text-align: left; }
.fd-acc-hd:hover { color: var(--ink-mid); }
.fd-acc-arrow { flex-shrink: 0; transition: transform 0.25s ease; width: 10px; height: 7px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; }
.fd-acc.open .fd-acc-arrow { transform: rotate(180deg); }
.fd-acc-bd { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.fd-acc.open .fd-acc-bd { max-height: 600px; }
.fd-acc-bd-inner { padding: 0.25rem 1.75rem 1.5rem; }
.fd-acc-bd ul { list-style: none; padding: 0; margin: 0; }
.fd-acc-bd ul li { margin-bottom: 0.55rem; font-size: 0.84rem; }
.fd-acc-bd ul li a { color: var(--ink-light); text-decoration: none; transition: color 0.2s; }
.fd-acc-bd ul li a:hover { color: var(--ink); }
.fd-acc-bd ul li.current-cat > a { color: var(--ink); font-weight: 500; }
.fd-acc-bd .color-filter { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.fd-acc-bd .color-swatch { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--white); outline: 1px solid var(--border-mid); transition: outline-color 0.15s, transform 0.15s; display: block; }
.fd-acc-bd .color-swatch.selected { outline: 2px solid var(--ink); outline-offset: 1px; }
.fd-acc-bd .color-swatch:hover { transform: scale(1.15); }
.fd-acc-bd .price-inputs { display: flex; align-items: center; gap: 0.75rem; margin-top: 1rem; }
.fd-acc-bd .input-wrap { display: flex; align-items: center; gap: 0.3rem; border: 1px solid var(--border-mid); padding: 0.35rem 0.5rem; flex: 1; }
.fd-acc-bd .input-wrap .currency { font-size: 0.8rem; color: var(--ink-light); }
.fd-acc-bd .input-wrap input { border: none; outline: none; font-family: 'Jost', sans-serif; font-size: 0.8rem; color: var(--ink); width: 100%; background: transparent; }
.fd-acc-bd .input-wrap .sep { color: var(--ink-faint); }
.fd-acc-bd .apply-filter { width: 100%; margin-top: 1.25rem; padding: 0.65rem; background: var(--ink); color: var(--cream); font-family: 'Jost', sans-serif; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; border: none; cursor: pointer; transition: background 0.2s; }
.fd-acc-bd .apply-filter:hover { background: var(--ink-mid); }
.fd-acc-bd .range-track { position: relative; height: 3px; background: var(--border); border-radius: 2px; margin: 0.5rem 0; }
.fd-acc-bd .range-fill { position: absolute; top: 0; bottom: 0; background: var(--ink); border-radius: 2px; }

/* PRODUCT GRID OVERRIDES */
.woocommerce ul.products.products-grid,
.woocommerce ul.products.columns-3,
.woocommerce ul.products.columns-4 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
}

.woocommerce ul.products li.product.product-card {
    background: transparent;
    transition: transform 0.3s;
}

.woocommerce ul.products li.product.product-card .woocommerce-loop-product__link {
    display: block;
    text-decoration: none;
}

.product-img-wrap {
    aspect-ratio: 3/4;
    background: var(--cream);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .product-actions { display: none; }
.product-card .btn-quick-view { 
    background: rgba(28,26,22,0.88); color: var(--cream); 
    font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; 
    text-align: center; padding: 0.7rem; text-decoration: none; 
    font-family: 'Jost', sans-serif; border: none; transition: background 0.15s; 
}

.product-info-wrap { padding: 0.75rem 0.75rem 0.5rem 0; }
.product-card .product-category { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem; }
.product-card .woocommerce-loop-product__title { 
    font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 500; 
    color: var(--ink); margin-bottom: 0.6rem; text-decoration: none; display: block; 
    padding: 0; /* Override previous style */
}
.product-card .price { 
    padding: 0; /* Override previous style */
    margin: 0;
    font-size: 0.9rem; color: var(--ink-mid); font-weight: 400; 
}

/* LIST VIEW */
.products-grid.list-view { grid-template-columns: 1fr !important; }
.products-grid.list-view li.product { display: grid !important; grid-template-columns: 200px 1fr !important; }
.products-grid.list-view .product-img { aspect-ratio: 1; }
.products-grid.list-view .product-info { 
    padding: 1.5rem 2rem; border-top: none; 
    border-left: 1px solid var(--border); 
    display: flex; flex-direction: column; justify-content: center; 
}
.products-grid.list-view .product-desc { display: block !important; }

/* PAGINATION */
.woocommerce-pagination { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--border); }
.woocommerce-pagination ul.page-numbers { 
    display: flex; align-items: center; justify-content: center; gap: 0.4rem; 
    list-style: none; padding: 0;
}
.woocommerce-pagination ul.page-numbers li { margin: 0; }
.woocommerce-pagination ul.page-numbers li a,
.woocommerce-pagination ul.page-numbers li span { 
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; 
    border: 1px solid var(--border); font-size: 0.82rem; color: var(--ink-light); 
    text-decoration: none; transition: all 0.15s; 
}
.woocommerce-pagination ul.page-numbers li a:hover,
.woocommerce-pagination ul.page-numbers li span.current:hover { border-color: var(--ink); color: var(--ink); }
.woocommerce-pagination ul.page-numbers li span.current { background: var(--ink); border-color: var(--ink); color: var(--white); }

@media (max-width: 1024px) {
    .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
}

/* ── Shop page mobile ── */
@media (max-width: 768px) {
    /* Banner */
    .shop-header { padding: 4.5rem 0 2rem; }
    .shop-header-inner { padding: 0 1.5rem; }
    .shop-title-row { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
    .shop-title-row h1 { font-size: 2.2rem; }
    .shop-count { font-size: 0.72rem; }

    /* Category nav */
    .category-nav-inner { padding: 0 1.5rem; }
    .cat-tab { padding: 0.9rem 1rem; font-size: 0.7rem; }

    /* Layout */
    .shop-layout { padding: 1.5rem; gap: 1rem; }

    /* Toolbar */
    .shop-toolbar { flex-wrap: wrap; gap: 0.75rem; margin-bottom: 0; padding-bottom: 0; }
    .toolbar-right { width: 100%; justify-content: space-between; }
    .woocommerce-ordering select { font-size: 0.75rem; }

    /* Product grid */
    .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 0.75rem; }
    .product-card .product-body { padding: 0.8rem; }
    .product-card h2.woocommerce-loop-product__title { font-size: 0.9rem; }
    .product-card .price { font-size: 0.85rem; }

    /* Filter drawer */
    .fd-drawer { width: 88vw; }
    .fd-drawer-hd { padding: 1.25rem 1.25rem; }
    .fd-acc-hd { padding: 1rem 1.25rem; }
    .fd-acc-bd-inner { padding: 0.25rem 1.25rem 1.25rem; }
}

@media (max-width: 480px) {
    .shop-layout { padding: 1rem; }
    .woocommerce ul.products { grid-template-columns: 1fr !important; gap: 0.5rem; }
    .shop-header { padding: 4rem 0 1.5rem; }

    /* Filter drawer — full width on small phones */
    .fd-drawer { width: 100vw; }
    .fd-trigger { font-size: 0.75rem; padding: 0.6rem 0.8rem; }
}

/* Product Card Title & Price Adjustments */
.product-card .woocommerce-loop-product__link { text-decoration: none; color: inherit; }
.product-card h2.woocommerce-loop-product__title { 
    font-size: 1.15rem; 
    margin: 0 0 0.6rem; 
    transition: color 0.2s;
}
.product-card:hover h2.woocommerce-loop-product__title { color: var(--gold); }

/* Ensure thumbnail fills the wrap */
.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Sale Flash Styling */
.woocommerce span.onsale {
    position: absolute;
    top: 1rem;
    left: 1rem;
    margin: 0;
    min-height: auto;
    min-width: auto;
    line-height: 1;
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    background: #8B3A3A;
    color: var(--white);
    border-radius: 0;
    z-index: 2;
}

/* Result Count Styling */
.shop-count, .woocommerce-result-count {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    color: var(--ink-faint);
    margin: 0;
}

/* Exact Sidebar Filter Styles to match shop.html */
.sidebar .widget_product_categories ul li,
.sidebar .widget_layered_nav ul li,
.sidebar .widget_rating_filter ul li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.6rem;
    cursor: pointer;
    color: var(--ink-light);
}

.sidebar .widget_product_categories ul li a,
.sidebar .widget_layered_nav ul li a {
    color: var(--ink-light);
    font-size: 0.85rem;
    text-decoration: none;
    line-height: 1;
}

/* Custom Checkbox Look for WooCommerce Widgets */
.sidebar .widget_product_categories ul li::before,
.sidebar .widget_layered_nav ul li::before {
    content: '';
    width: 14px;
    height: 14px;
    border: 1px solid var(--border-mid);
    flex-shrink: 0;
    transition: background 0.15s, border-color 0.15s;
}

.sidebar .widget_product_categories ul li.current-cat::before,
.sidebar .widget_layered_nav ul li.chosen::before {
    background: var(--ink);
    border-color: var(--ink);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: center;
}

/* Price Filter Refinement */
.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
    background: var(--cream-dark);
    height: 2px;
    border: none;
}
.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
    background: var(--gold);
}
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
    width: 12px;
    height: 12px;
    background: var(--ink);
    border: none;
    border-radius: 50%;
    top: -5px;
    cursor: pointer;
}
.woocommerce .widget_price_filter .price_slider_amount .button {
    width: 100%;
    padding: 0.7rem;
    background: var(--ink);
    color: var(--cream);
    font-family: 'Jost', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: background 0.2s;
}
.woocommerce .widget_price_filter .price_slider_amount .price_label {
    font-size: 0.82rem;
    color: var(--ink-light);
    margin-top: 1rem;
    display: block;
}

/* Product Area Grid Fade-in Visibility */
.product-area .products.visible { opacity: 1; transform: translateY(0); }

/* Ensure Header is consistent on Shop, Category and Account pages */
body.archive.post-type-archive-product header#header,
body.tax-product_cat header#header,
body.woocommerce-account header#header {
    background-color: #ffffff !important;
    border-bottom: 1px solid rgba(28,26,22,0.1) !important;
}
body.tax-product_cat header#header nav a,
body.tax-product_cat header#header nav li a,
body.woocommerce-account header#header nav a,
body.woocommerce-account header#header nav li a { color: var(--ink-light) !important; }
body.tax-product_cat header#header nav a:hover,
body.tax-product_cat header#header nav li a:hover,
body.woocommerce-account header#header nav a:hover,
body.woocommerce-account header#header nav li a:hover { color: var(--ink) !important; }
body.tax-product_cat header#header .icon-btn,
body.woocommerce-account header#header .icon-btn { color: var(--ink) !important; }
body.tax-product_cat header#header .icon-btn svg,
body.woocommerce-account header#header .icon-btn svg { stroke: var(--ink) !important; }

/* ─── NATIVE COLOR SWATCHES (SIDEBAR) ─── */
.sidebar .widget_layered_nav ul li {
    display: inline-flex !important;
    margin-right: 8px !important;
    margin-bottom: 8px !important;
}

.sidebar .widget_layered_nav ul li a {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.swatch-inner {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--border-mid);
    position: relative;
    transition: transform 0.15s;
    cursor: pointer;
}

.swatch-inner:hover {
    transform: scale(1.1);
}

.swatch-inner.selected {
    border: 2px solid var(--ink);
}

.swatch-inner.selected::after {
    content: '';
    position: absolute;
    inset: -5px;
    border: 1px solid var(--ink);
    border-radius: 50%;
}

/* Hide text for color swatches in sidebar */
.sidebar .pa-color-swatch .swatch-text {
    display: none;
}

.sidebar .pa-color-swatch .count {
    display: none;
}

/* Ensure sidebar swatches are visible and styled regardless of widget type */
.sidebar .pa-color-swatch {
    display: flex !important;
    align-items: center;
    margin-bottom: 5px;
}

.sidebar .swatch-inner {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    background-size: cover;
    border-radius: 50%;
}

/* Force list items to be inline for colors if they have the swatch class */
.sidebar ul li:has(.pa-color-swatch) {
    display: inline-flex !important;
    margin-right: 10px !important;
}

/* NATIVE SIDEBAR STYLES (MATCHING SHOP.HTML) */
.native-cat-list { list-style: none; padding: 0; }
.native-cat-list li { margin-bottom: 0.6rem; }
.native-cat-list li a { display: flex; align-items: center; gap: 0.7rem; color: var(--ink-light); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.native-cat-list li a:hover { color: var(--ink); }
.native-cat-list li.active a { color: var(--ink); font-weight: 400; }

.checkbox-box { width: 14px; height: 14px; border: 1px solid var(--border-mid); flex-shrink: 0; transition: background 0.15s, border-color 0.15s; }
.native-cat-list li.active .checkbox-box { 
    background: var(--ink); 
    border-color: var(--ink); 
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); 
    background-size: 10px; 
    background-repeat: no-repeat; 
    background-position: center; 
}

.color-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.color-swatch { width: 24px; height: 24px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; transition: transform 0.15s; position: relative; display: block; }
.color-swatch:hover { transform: scale(1.1); }
.color-swatch.selected { border-color: var(--ink); }
.color-swatch.selected::after { content: ''; position: absolute; inset: -4px; border: 1px solid var(--ink); border-radius: 50%; }

.price-inputs input { width: 80px; padding: 0.5rem 0.7rem; border: 1px solid var(--border-mid); background: var(--white); font-family: 'Jost', sans-serif; font-size: 0.82rem; color: var(--ink); outline: none; }
.range-track { height: 2px; background: var(--cream-dark); margin-top: 1rem; position: relative; }
.range-fill { position: absolute; left: 15%; right: 30%; height: 100%; background: var(--gold); }

/* ─── IMPROVED SORTING DROPDOWN ─── */
.woocommerce-ordering {
    margin: 0 !important;
    float: none !important; /* Override WooCommerce default float */
}

.woocommerce-ordering select {
    padding: 0.6rem 2.5rem 0.6rem 1rem !important;
    border: 1px solid var(--border-mid) !important;
    background-color: var(--white) !important;
    font-family: 'Jost', sans-serif !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.05em !important;
    color: var(--ink-mid) !important;
    outline: none !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    border-radius: 0 !important;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233E3A32' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 10px !important;
    transition: border-color 0.2s, background-color 0.2s;
    min-width: 180px;
}

.woocommerce-ordering select:hover {
    border-color: var(--ink) !important;
    background-color: var(--linen) !important;
}

.woocommerce-ordering select:focus {
    border-color: var(--gold) !important;
}

/* Ensure toolbar alignment */
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Ensure product description is hidden in grid view */
.product-card .product-desc { display: none; }
.products-grid.list-view .product-desc { display: block !important; margin-bottom: 1.5rem; }

/* ─── SINGLE PRODUCT PAGE REDESIGN (2026 PREMIUM BENTO) ─── */

.alderton-single-product {
  padding-bottom: 8rem;
}

.alderton-single-product .product-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto 6rem;
  padding: 0 3rem;
}

/* Gallery Restyle */
.alderton-single-product .woocommerce-product-gallery {
  flex: 1 1 600px;
  margin-bottom: 0;
}
.alderton-single-product .woocommerce-product-gallery img {
  border-radius: 4px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.alderton-single-product .woocommerce-product-gallery:hover img {
  transform: scale(1.02);
}

/* Summary Restyle */
.alderton-single-product .summary {
  flex: 1 1 400px;
  position: sticky;
  top: 140px;
  height: fit-content;
  padding-left: 0 !important; /* Resetting previous override */
}

.alderton-single-product .product_title {
  margin-top: 0;
  margin-bottom: 1rem;
}

.alderton-single-product .price {
  font-size: 1.8rem !important;
  color: var(--gold-light) !important;
  margin-bottom: 2.5rem !important;
  display: block;
}

.alderton-single-product .woocommerce-product-details__short-description {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  margin-bottom: 3rem;
}

/* Add to Cart Area */
.alderton-single-product form.cart {
  padding: 2.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  margin-bottom: 2rem;
}

.alderton-single-product .quantity input {
  height: 52px;
  border: 1px solid var(--border-mid);
  border-radius: 4px;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  color: var(--ink);
}

.alderton-single-product .button.alt {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  border-radius: 4px !important;
  width: 100%;
}

/* Corporate Badge */
.corporate-badge {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.5rem;
  background: var(--cream);
  border-radius: 6px;
  color: var(--ink-mid);
  font-size: 0.82rem;
  margin-top: 2rem;
}
.corporate-badge svg { width: 18px; color: var(--gold); }

/* Bento Grid */
.product-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 1.5rem;
  margin-bottom: 8rem;
}

.bento-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}
.bento-card:hover { border-color: var(--gold-pale); transform: translateY(-4px); }

.bento-card.bento-main {
  grid-column: span 2;
  background: var(--ink);
  color: var(--white);
  border: none;
}

.bento-card.bento-main h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}
.bento-card.bento-main h3 em { color: var(--gold-light); font-style: italic; }
.bento-card.bento-main p { color: var(--ink-faint); font-size: 0.95rem; }

.bento-card .card-label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.bento-card .card-icon { margin-bottom: 1.5rem; color: var(--gold); }
.bento-card .card-icon svg { width: 28px; }

.bento-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  color: var(--ink);
}
.bento-card p { font-size: 0.88rem; color: var(--ink-light); line-height: 1.6; }

/* Tabs Wrap */
.product-tabs-wrap {
  border-top: 1px solid var(--border);
  padding-top: 6rem;
}

.woocommerce-tabs h2 { display: none; } /* Hide redundant titles */

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .product-bento-grid { grid-template-columns: repeat(2, 1fr); }
  .alderton-single-product .summary { position: static; }
}

@media (max-width: 768px) {
  .alderton-single-product .product-hero { padding: 0 1.5rem; gap: 2rem; }
  .bento-card.bento-main { grid-column: span 2; }
  .product-bento-grid { gap: 1rem; }
}
@media (max-width: 480px) {
  .product-bento-grid { grid-template-columns: 1fr; }
  .bento-card.bento-main { grid-column: span 1; }
}


/* ─── MOBILE STICKY ADD TO CART ─── */
@media (max-width: 768px) {
    .mobile-sticky-cart {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 1rem 1.5rem;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
        z-index: 1000;
        display: flex;
        align-items: center;
        gap: 1rem;
        transform: translateY(100%);
        transition: transform 0.4s ease;
    }
    .mobile-sticky-cart.active { transform: translateY(0); }
    
    .mobile-sticky-cart .product-price { font-weight: 600; color: var(--gold); font-size: 1.1rem; }
    .mobile-sticky-cart .btn-sticky-add { 
        flex: 1; background: var(--ink); color: var(--white); 
        text-align: center; padding: 0.8rem; border-radius: 4px; 
        text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem;
        text-decoration: none;
    }
}

/* ─── GALLERY THUMBNAILS ENHANCEMENT ─── */
.woocommerce-product-gallery--with-images .flex-control-thumbs {
    display: flex;
    gap: 10px;
    padding: 0;
    margin-top: 1rem;
}
.woocommerce-product-gallery--with-images .flex-control-thumbs li {
    list-style: none;
    width: 80px;
}
.woocommerce-product-gallery--with-images .flex-control-thumbs img {
    border: 1px solid transparent;
    transition: border-color 0.3s;
    cursor: pointer;
}
.woocommerce-product-gallery--with-images .flex-control-thumbs img.flex-active {
    border-color: var(--gold);
}

/* ─── VARIATION SELECTORS ─── */
.variations select {
    width: 100%;
    height: 48px;
    background: var(--linen);
    border: 1px solid var(--border);
    padding: 0 1rem;
    font-family: 'Jost', sans-serif;
    color: var(--ink);
    border-radius: 4px;
    appearance: none;
}

.variations td.label {
    padding-bottom: 0.5rem;
    display: block;
}
.woocommerce div.product form.cart .variations label {
    font-weight: 400;
}

.variations_button {
    margin-top: 0;
}

/* ─── TAB CONTENT STYLING ─── */
.woocommerce-Tabs-panel {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: var(--ink-mid);
    line-height: 1.8;
}

.woocommerce-Tabs-panel--additional_information table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-Tabs-panel--additional_information th,
.woocommerce-Tabs-panel--additional_information td {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.woocommerce-Tabs-panel--additional_information th {
    font-weight: 500;
    color: var(--ink);
    width: 30%;
}

/* ─── CART PAGE ─── */

/* ─── CART & CHECKOUT PAGE ─── */
.woocommerce-cart .alderton-cart-checkout-container,
.woocommerce-checkout .alderton-cart-checkout-container { 
    background: var(--linen); 
    min-height: 100vh; 
    width: 100%;
    max-width: 100%;
}

.cart-page-header { background: var(--white); border-bottom: 1px solid var(--border); padding: 3.5rem 0 3rem; margin-top: 80px; position: relative; z-index: 10; }
.cart-page-header-inner { max-width: 1280px; margin: 0 auto; padding: 0 3rem; }
.cart-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cart-title-row h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 300; line-height: 1.05; color: var(--ink); }
.cart-title-row h1 em { font-style: italic; color: var(--gold); }
.cart-item-count { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); align-self: flex-end; padding-bottom: 0.6rem; }

/* ─── CHECKOUT STEPS ─── */
.checkout-steps-bar { background: var(--cream); border-bottom: 1px solid var(--border-mid); padding: 0; }
.steps-inner { max-width: 1280px; margin: 0 auto; padding: 0 3rem; display: flex; align-items: center; height: 52px; gap: 0; }
.step-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); padding-right: 2rem; }
.step-item.current { color: var(--ink); }
.step-item.done { color: var(--gold); }
.step-circle { width: 20px; height: 20px; border-radius: 50%; border: 1px solid currentColor; display: flex; align-items: center; justify-content: center; font-size: 0.58rem; flex-shrink: 0; transition: all 0.2s; }
.step-item.current .step-circle { background: var(--ink); border-color: var(--ink); color: var(--white); }
.step-item.done .step-circle { background: var(--gold); border-color: var(--gold); color: var(--white); }
.step-arrow { color: var(--cream-dark); margin-right: 2rem; font-size: 0.7rem; }

/* ─── FREE SHIPPING BAR ─── */
.free-ship-bar { background: var(--ink); padding: 0.7rem 0; }
.free-ship-inner { max-width: 1280px; margin: 0 auto; padding: 0 3rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.free-ship-left { display: flex; align-items: center; gap: 0.8rem; }
.free-ship-left svg { width: 16px; height: 16px; stroke: var(--gold-light); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.free-ship-text { font-size: 0.76rem; color: rgba(255, 255, 255, 0.75); letter-spacing: 0.06em; }
.free-ship-text strong { color: var(--white); font-weight: 400; }
.ship-progress-wrap { flex: 1; max-width: 240px; height: 2px; background: rgba(255, 255, 255, 0.15); position: relative; }
.ship-progress-fill { height: 100%; background: var(--gold-light); transition: width 0.4s ease; }
.ship-amount { font-size: 0.74rem; color: var(--gold-light); white-space: nowrap; }

/* ─── MAIN LAYOUT ─── */
.cart-layout { max-width: 1280px; margin: 0 auto; padding: 3rem 3rem 6rem; display: grid; grid-template-columns: 1fr 380px; gap: 4rem; align-items: start; }
.cart-left { width: 100%; }

.cart-table-header { display: grid; grid-template-columns: 1fr 120px 120px 40px; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--border-mid); margin-bottom: 0.5rem; }
.col-label { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }
.col-label.center { text-align: center; }
.col-label.right { text-align: right; }

/* ─── CART ITEM ─── */
.cart-item { display: grid; grid-template-columns: 1fr 120px 120px 40px; gap: 1rem; align-items: center; padding: 1.5rem 0; border-bottom: 1px solid var(--border); transition: background 0.15s; position: relative; }
.item-product { display: flex; gap: 1.2rem; align-items: flex-start; }
.item-thumb { width: 88px; height: 108px; flex-shrink: 0; background: var(--cream); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; transition: transform 0.25s; }
.item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item:hover .item-thumb { transform: scale(1.02); }
.item-thumb-overlay { position: absolute; inset: 0; background: rgba(28, 26, 22, 0); transition: background 0.2s; pointer-events: none; }
.cart-item:hover .item-thumb-overlay { background: rgba(28, 26, 22, 0.06); }

.item-meta { flex: 1; min-width: 0; }
.item-category { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem; }
.item-name { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 400; color: var(--ink) !important; margin-bottom: 0.4rem; line-height: 1.2; text-decoration: none !important; display: block; }
.item-name:hover { color: var(--gold) !important; }
.item-variants { font-size: 0.76rem; color: var(--ink-faint); line-height: 1.6; display: block; margin-top: 0.3rem; }
.item-variants dt, .item-variants dd { display: inline; font-size: 0.76rem; color: var(--ink-faint); margin: 0; }
.item-variants dd { margin-right: 0.5rem; }
.item-variants dd::after { content: \" · \"; }
.item-variants dd:last-child::after { content: \"\"; }

.item-actions { display: flex; gap: 0.8rem; margin-top: 0.8rem; flex-wrap: wrap; }
.item-action-btn { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint) !important; background: none; border: none; cursor: pointer; padding: 0; text-decoration: underline !important; transition: color 0.15s; }
.item-action-btn:hover { color: var(--ink) !important; }
.item-action-btn.red:hover { color: var(--error) !important; }

/* Qty control */
.item-qty { display: flex; justify-content: center; }
.quantity.qty-control { display: flex !important; align-items: center; border: 1px solid var(--border-mid); background: var(--white); }
.qty-btn { width: 32px; height: 36px; background: none; border: none; font-size: 1rem; color: var(--ink-light); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s, color 0.15s; }
.qty-btn:hover { background: var(--cream); color: var(--ink); }
.qty-num { width: 36px !important; height: 36px !important; border: none !important; border-left: 1px solid var(--border) !important; border-right: 1px solid var(--border) !important; text-align: center; font-family: 'Jost', sans-serif; font-size: 0.86rem; color: var(--ink); outline: none; background: var(--white); padding: 0 !important; margin: 0 !important; -moz-appearance: textfield; }
.qty-num::-webkit-outer-spin-button, .qty-num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.item-price-cell { text-align: right; }
.item-price { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 300; color: var(--ink); display: block; }
.remove-btn { width: 32px; height: 32px; background: none; border: none; cursor: pointer; color: var(--ink-faint) !important; display: flex; align-items: center; justify-content: center; transition: color 0.15s, background 0.15s; }
.remove-btn:hover { color: var(--error) !important; }
.remove-btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; }

/* ─── CART ACTIONS ─── */
.cart-actions { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; gap: 1rem; }
.continue-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-light) !important; text-decoration: none !important; transition: color 0.2s, gap 0.2s; }
.continue-link svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; }
.continue-link:hover { color: var(--ink) !important; gap: 0.8rem; }
.update-cart { padding: 0.6rem 1.4rem !important; background: transparent !important; color: var(--ink-light) !important; border: 1px solid var(--border-mid) !important; font-family: 'Jost', sans-serif; font-size: 0.72rem !important; letter-spacing: 0.16em !important; text-transform: uppercase !important; cursor: pointer !important; transition: all 0.2s !important; height: auto !important; line-height: 1 !important; opacity: 1 !important; }
.update-cart:hover { background: var(--ink) !important; color: var(--cream) !important; border-color: var(--ink) !important; }
.update-cart:disabled { opacity: 0.5 !important; cursor: not-allowed !important; }

/* ─── SUMMARY BOX (BENTO) ─── */
.cart-summary { position: sticky; top: 120px; z-index: 5; }
.summary-box { background: var(--white); border: 1px solid var(--border-mid); overflow: hidden; }
.summary-head { padding: 1.3rem 1.6rem; border-bottom: 1px solid var(--border); }
.summary-head h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 400; color: var(--ink); }

.promo-section { padding: 1.2rem 1.6rem; border-bottom: 1px solid var(--border); }
.promo-label { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.7rem; }
.promo-row { display: flex; gap: 0; margin-bottom: 1rem; }
.promo-row input { flex: 1; padding: 0.7rem 0.9rem; border: 1px solid var(--border-mid); border-right: none; background: var(--linen); font-family: 'Jost', sans-serif; font-size: 0.84rem; color: var(--ink); outline: none; transition: border-color 0.2s; }
.promo-row input:focus { border-color: var(--gold); background: var(--white); }
.promo-row button { padding: 0.7rem 1.2rem; background: var(--ink); color: var(--cream); font-family: 'Jost', sans-serif; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; border: none; cursor: pointer; transition: background 0.2s; white-space: nowrap; }
.promo-row button:hover { background: var(--ink-mid); }

.promo-applied { display: flex; align-items: center; justify-content: space-between; margin-top: 0.6rem; padding: 0.5rem 0.7rem; background: rgba(62, 107, 72, 0.08); border: 1px solid rgba(62, 107, 72, 0.2); }
.promo-applied-text { display: flex; align-items: center; gap: 0.4rem; font-size: 0.74rem; color: var(--success); }
.promo-applied-text svg { width: 13px !important; height: 13px !important; stroke: var(--success); fill: none; stroke-width: 2; }
.promo-remove { font-size: 0.68rem; color: var(--ink-faint); background: none; border: none; cursor: pointer; text-decoration: underline !important; }
.promo-remove:hover { color: var(--error); }

.totals-section { padding: 1.4rem 1.6rem; border-bottom: 1px solid var(--border); }
.total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.65rem; font-size: 0.84rem; }
.total-label { color: var(--ink-light); }
.total-val { color: var(--ink-mid); }
.total-val.free { color: var(--success); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.total-divider { height: 1px; background: var(--border); margin: 0.8rem 0; }
.grand-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 0.3rem; }
.grand-label { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.grand-val { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 300; color: var(--ink); }
.vat-note { font-size: 0.68rem !important; color: var(--ink-faint); text-align: right; margin-top: 0.2rem !important; }

.cta-section { padding: 1.4rem 1.6rem; border-bottom: 1px solid var(--border); }
.btn-checkout { display: flex !important; align-items: center; justify-content: center; gap: 0.7rem; width: 100%; padding: 1rem !important; background: var(--ink) !important; color: var(--cream) !important; font-family: 'Jost', sans-serif; font-size: 0.78rem !important; letter-spacing: 0.2em !important; text-transform: uppercase; text-decoration: none !important; border: none !important; cursor: pointer !important; transition: background 0.2s; margin-bottom: 0.8rem !important; margin-top: 0 !important; }
.btn-checkout:hover { background: var(--ink-mid) !important; }
.btn-checkout svg { width: 15px !important; height: 15px !important; }
.btn-total { margin-left: auto; font-size: 0.75rem; opacity: 0.8; }

.btn-paypal { display: flex !important; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; padding: 0.85rem !important; background: #003087 !important; color: var(--white) !important; font-family: 'Jost', sans-serif; font-size: 0.72rem !important; letter-spacing: 0.14em !important; text-transform: uppercase; border: none !important; cursor: pointer !important; transition: background 0.2s; margin-bottom: 0.8rem !important; }
.btn-paypal:hover { background: #002266 !important; }

.pay-divider { display: flex !important; align-items: center; gap: 0.8rem !important; margin: 0.6rem 0 !important; }
.pay-divider::before, .pay-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.pay-divider span { font-size: 0.65rem !important; letter-spacing: 0.14em !important; text-transform: uppercase; color: var(--ink-faint); }

.secure-note { display: flex !important; align-items: center; justify-content: center; gap: 0.4rem !important; font-size: 0.72rem !important; color: var(--ink-faint); margin-top: 0.5rem !important; }
.secure-note svg { width: 12px !important; height: 12px !important; stroke: var(--gold); fill: none; stroke-width: 1.5; }

.trust-section { padding: 1.2rem 1.6rem; border-bottom: 1px solid var(--border); }
.trust-item { display: flex !important; align-items: flex-start !important; gap: 0.7rem !important; margin-bottom: 0.7rem !important; }
.trust-item:last-child { margin-bottom: 0 !important; }
.trust-item svg { width: 14px !important; height: 14px !important; stroke: var(--gold); fill: none; stroke-width: 1.4; flex-shrink: 0; margin-top: 3px; }
.trust-item p { font-size: 0.75rem !important; color: var(--ink-light); line-height: 1.4 !important; margin: 0 !important; }
.trust-item strong { color: var(--ink); font-weight: 400; }

.card-logos { display: flex; gap: 0.4rem; flex-wrap: wrap; padding: 1rem 1.6rem; border-bottom: 1px solid var(--border); }
.card-logo { height: 22px; padding: 0 0.5rem; border: 1px solid var(--border); font-size: 0.56rem; font-weight: 500; display: flex; align-items: center; color: var(--ink-light); letter-spacing: 0.06em; }

.corporate-section { padding: 1.2rem 1.6rem; background: var(--cream); }
.corporate-section h4 { font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-weight: 400; color: var(--ink); margin-bottom: 0.3rem; }
.corporate-section p { font-size: 0.74rem; color: var(--ink-light); line-height: 1.5; margin: 0; }
.corporate-section a { color: var(--gold); text-decoration: underline !important; cursor: pointer; }

/* ─── CORPORATE UPSELL STRIP ─── */
.corporate-strip { background: var(--ink); margin-top: 4rem; padding: 3rem; color: var(--white); }
.corporate-strip-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.corp-left h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 300; color: var(--cream); line-height: 1.2; margin-bottom: 0.5rem; }
.corp-left h3 em { font-style: italic; color: var(--gold-light); }
.corp-left p { font-size: 0.84rem; color: var(--ink-faint); line-height: 1.7; }
.corp-feature { display: flex; align-items: flex-start; gap: 0.8rem; margin-bottom: 1rem; }
.corp-feature svg { width: 16px; height: 16px; stroke: var(--gold-light); fill: none; stroke-width: 1.4; flex-shrink: 0; margin-top: 3px; }
.corp-feature p { font-size: 0.82rem; color: var(--ink-faint); line-height: 1.5; margin: 0; }
.corp-feature strong { color: var(--cream); font-weight: 400; display: block; margin-bottom: 0.1rem; }
.btn-corporate { display: inline-block; padding: 0.75rem 2rem; background: transparent; color: var(--gold-light) !important; border: 1px solid var(--gold-light); font-family: 'Jost', sans-serif; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none !important; transition: all 0.2s; margin-top: 1rem; }
.btn-corporate:hover { background: var(--gold); border-color: var(--gold); color: var(--white) !important; }

/* ─── RECENTLY VIEWED ─── */
.recently-viewed { margin-top: 3rem; }
.rv-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.rv-header h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 400; color: var(--ink); }
.rv-header a { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint) !important; text-decoration: none !important; border-bottom: 1px solid var(--border); padding-bottom: 1px; transition: color 0.2s, border-color 0.2s; }
.rv-header a:hover { color: var(--ink) !important; border-color: var(--gold); }
.rv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.rv-card { cursor: pointer; transition: transform 0.25s; }
.rv-card:hover { transform: translateY(-2px); }
.rv-img { aspect-ratio: 3/4; background: var(--cream-mid); display: flex; align-items: center; justify-content: center; margin-bottom: 0.7rem; overflow: hidden; }
.rv-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; transition: transform 0.3s; }
.rv-card:hover .rv-img img { transform: scale(1.05); }
.rv-cat { font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.2rem; }
.rv-name { font-family: 'Cormorant Garamond', serif; font-size: 0.98rem; font-weight: 400; color: var(--ink) !important; text-decoration: none !important; display: block; margin-bottom: 0.2rem; }
.rv-name:hover { color: var(--gold) !important; }
.rv-price { font-size: 0.82rem; color: var(--ink-light); }
.rv-price ins { text-decoration: none !important; font-weight: 400; color: var(--ink); margin-left: 0.4rem; }
.rv-price del { font-size: 0.7rem; color: var(--ink-faint); }

/* Header Cart Badge */
.cart-badge { position: absolute; top: -2px; right: -4px; width: 16px; height: 16px; background: var(--gold); color: var(--white); font-size: 0.6rem; font-weight: 500; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform 0.2s; }
.cart-badge.bump { animation: badge-bump 0.3s ease; }
@keyframes badge-bump { 0%{transform:scale(1)} 50%{transform:scale(1.4)} 100%{transform:scale(1)} }

/* Reset WooCommerce defaults */
.woocommerce-cart table.cart, .woocommerce-cart table.cart td, .woocommerce-cart table.cart th { border: none !important; background: transparent !important; padding: 0 !important; }
.woocommerce-cart .cart_totals table.shop_table { display: none !important; }
.cart_totals h2 { display: none !important; }

@media (max-width: 1024px) {
  .cart-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .cart-summary { position: static; }
}
@media (max-width: 768px) {
  .rv-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-table-header { display: none; }
  .cart-item { grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 0.8rem; }
  .corporate-strip-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* Reset WooCommerce default .remove styles for our action buttons */
.woocommerce-cart .item-actions a.remove.item-action-btn {
    font-size: 0.68rem !important;
    color: var(--ink-faint) !important;
    text-decoration: underline !important;
    text-transform: uppercase !important;
    background: none !important;
    border: none !important;
    height: auto !important;
    width: auto !important;
    line-height: inherit !important;
    border-radius: 0 !important;
    display: inline-block !important;
}

.woocommerce-cart .item-actions a.remove.item-action-btn:hover {
    color: var(--ink) !important;
}

/* Update button fonts to match cart.html exactly */
.btn-checkout {
    font-family: 'Jost', sans-serif !important;
}

.btn-total {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 1.1rem !important;
    font-weight: 300 !important;
    opacity: 1 !important;
}

/* Final refinements for the checkout button to match cart.html exactly */
.btn-checkout {
    font-weight: 400 !important;
}

.btn-checkout svg {
    fill: none !important;
    stroke: var(--white) !important;
    stroke-width: 1.8 !important;
}

/* Ensure icon matches text color exactly */
.btn-checkout svg {
    stroke: currentColor !important;
}

/* High specificity for the promo apply button to beat WooCommerce defaults */
.woocommerce-cart .promo-row button[name="apply_coupon"] {
    background-color: var(--ink) !important;
    color: var(--cream) !important;
    padding: 0.7rem 1.2rem !important;
    font-family: 'Jost', sans-serif !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 0 !important;
    height: auto !important;
    line-height: 1 !important;
    transition: background 0.2s !important;
    margin: 0 !important;
}

.woocommerce-cart .promo-row button[name="apply_coupon"]:hover {
    background-color: var(--ink-mid) !important;
    color: var(--white) !important;
}

/* PRICE FILTER REFINEMENT */
.price-range .price-inputs { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; }
.price-range .input-wrap { position: relative; flex: 1; }
.price-range .currency { position: absolute; left: 0.6rem; top: 50%; transform: translateY(-50%); font-size: 0.8rem; color: var(--ink-faint); pointer-events: none; }
.price-range input[type="number"] { width: 100%; padding: 0.5rem 0.5rem 0.5rem 1.4rem; border: 1px solid var(--border-mid); background: var(--white); font-family: 'Jost', sans-serif; font-size: 0.82rem; color: var(--ink); outline: none; transition: border-color 0.2s; }
.price-range input[type="number"]:focus { border-color: var(--gold); }
.price-range .sep { color: var(--ink-faint); font-size: 0.8rem; }
.price-range .apply-filter { width: 100%; padding: 0.7rem; background: var(--ink); color: var(--cream); font-family: 'Jost', sans-serif; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; border: none; cursor: pointer; margin-top: 1.5rem; transition: background 0.2s; }
.price-range .apply-filter:hover { background: var(--ink-mid); }

/* Hide arrows on number inputs */
.price-range input::-webkit-outer-spin-button,
.price-range input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ─── CART DRAWER ─────────────────────────────────────────────────────────── */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 100vw;
  height: 100%;
  background: var(--cream);
  z-index: 999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 40px rgba(0,0,0,0.12);
}
.cart-drawer.active {
  transform: translateX(0);
}
.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.5rem 1.2rem;
  border-bottom: 1px solid #e8e0d5;
  flex-shrink: 0;
}
.cart-drawer-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin: 0;
}
.cart-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.2rem;
  color: var(--ink-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.cart-drawer-close:hover { color: var(--gold); }
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 1.5rem;
}
.cart-drawer-footer {
  border-top: 1px solid #e8e0d5;
  padding: 1.25rem 1.5rem;
  flex-shrink: 0;
}
.cart-drawer-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #ede7de;
  position: relative;
}
.cart-drawer-item:last-child { border-bottom: none; }
.cart-item-img {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  background: var(--cream-mid, #f5ede4);
  overflow: hidden;
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cart-item-details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  padding-right: 1.2rem;
}
.cart-item-name {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-transform: uppercase;
  line-height: 1.4;
}
.cart-item-qty {
  font-size: 0.76rem;
  color: var(--ink-mid);
}
.cart-item-total {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 500;
}
.cart-item-remove {
  position: absolute;
  top: 0.75rem;
  right: 0;
  font-size: 1.2rem;
  color: var(--ink-mid);
  text-decoration: none;
  line-height: 1;
  transition: color 0.2s;
  padding: 0.1rem 0.2rem;
}
.cart-item-remove:hover { color: var(--gold); }
.cart-drawer-empty {
  text-align: center;
  padding: 3rem 1rem;
}
.cart-drawer-empty p {
  color: var(--ink-mid);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
  font-family: 'Jost', sans-serif;
}
.cart-drawer-shop-btn {
  display: inline-block;
  padding: 0.65rem 1.75rem;
  background: var(--ink);
  color: var(--cream);
  font-family: 'Jost', sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}
.cart-drawer-shop-btn:hover { background: var(--gold); color: var(--cream); }
.cart-drawer-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.84rem;
  color: var(--ink);
}
.cart-drawer-subtotal span:first-child {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}
.cart-drawer-subtotal span:last-child { font-weight: 600; }
.cart-drawer-actions {
  display: flex;
  gap: 0.6rem;
}
.cart-drawer-view-cart { display: none !important; }
.cart-drawer-checkout {
  display: block;
  text-align: center;
  padding: 0.75rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex: 1;
}
.cart-drawer-view-cart {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}
.cart-drawer-view-cart:hover { background: var(--ink); color: var(--cream); }
.cart-drawer-checkout {
  background: var(--gold);
  color: var(--cream);
  border: 1px solid var(--gold);
}
.cart-drawer-checkout:hover { background: var(--ink); border-color: var(--ink); }

/* ─── FLY-TO-CART ANIMATION ───────────────────────────────────────────────── */
.fly-to-cart {
  position: fixed;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  z-index: 9999;
  pointer-events: none;
  transition: transform 0.65s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.65s ease;
  opacity: 1;
}

@keyframes cartBump {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.5); }
  70%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}
.cart-badge.bump { animation: cartBump 0.45s ease; }

/* ─── VIDEO POPUP ─── */
.vid-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(10, 9, 8, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.vid-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}
.vid-popup-modal {
  position: relative;
  width: 100%;
  max-width: 860px;
  background: #000;
  transform: scale(0.94) translateY(16px);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.vid-popup-overlay.active .vid-popup-modal {
  transform: scale(1) translateY(0);
}
.vid-popup-video {
  display: block;
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
}
.vid-popup-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  opacity: 0.75;
  transition: opacity 0.2s ease;
  line-height: 1;
}
.vid-popup-close:hover { opacity: 1; }
.price-range input[type=number] { -moz-appearance: textfield; }
