/*
 Theme Name:   Scentara Child
 Theme URI:    https://scentara.com
 Description:  Child theme for Scentara Perfume Store — built on GeneratePress
 Author:       Scentara
 Template:     generatepress
 Version:      1.0.0
 Text Domain:  scentara-child
*/

/* =====================================================
   IMPORT PARENT THEME
===================================================== */
@import url('../generatepress/style.css');

/* =====================================================
   DESIGN TOKENS
===================================================== */
:root {
  --black:    #0D0B0E;
  --ivory:    #F5EFE6;
  --gold:     #C9A96E;
  --gold-lt:  #E8D5AF;
  --plum:     #2A1F2D;
  --plum-lt:  #3D2D42;
  --dusk:     #6B5B4E;
  --rose:     #C9506E;
  --green:    #5DBB8A;

  --display:  'Cormorant Garamond', Georgia, serif;
  --body:     'Jost', sans-serif;

  --radius:   4px;
  --ease:     0.3s ease;
  --gutter:   clamp(1rem, 5vw, 4rem);
  --max:      1260px;
}

/* =====================================================
   GLOBAL RESET / BASE
===================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--black);
  color: var(--ivory);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* GeneratePress resets */
body,
.site-header,
.site-footer,
.site-content,
.nav-float .main-nav,
.main-navigation,
#main,
.entry-content {
  background: transparent;
  color: var(--ivory);
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--ease);
}
a:hover {
  color: var(--gold-lt);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* =====================================================
   TYPOGRAPHY
===================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
  font-weight: 300;
  line-height: 1.12;
  color: var(--ivory);
}

h1 { font-size: clamp(2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.3rem; }

p {
  font-family: var(--body);
  font-weight: 300;
  color: rgba(245, 239, 230, 0.7);
  line-height: 1.8;
}

em {
  font-style: italic;
  color: var(--gold);
}

/* =====================================================
   UTILITIES
===================================================== */
.container,
.scentara-container {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}

.section-head {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head .section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.section-head p {
  margin-top: 0.6rem;
  font-size: 0.86rem;
  color: rgba(245, 239, 230, 0.48);
  font-weight: 300;
}

.page-label {
  display: inline-block;
  background: var(--plum);
  color: var(--gold);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.3rem 0.95rem;
  border-radius: 2px;
  margin-bottom: 0.9rem;
}

.divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(201, 169, 110, 0.18),
    transparent
  );
  border: none;
  margin: 0;
}

/* Backgrounds */
.bg-black  { background-color: var(--black); }
.bg-plum   { background-color: var(--plum); }
.bg-plum-lt{ background-color: var(--plum-lt); }

/* =====================================================
   BUTTONS
===================================================== */
.btn-primary,
button.btn-primary,
a.btn-primary,
input[type="submit"].btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.88rem 2.3rem;
  background: var(--gold);
  color: var(--black);
  font-family: var(--body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--ease), transform var(--ease);
  text-decoration: none;
}
.btn-primary:hover,
button.btn-primary:hover,
a.btn-primary:hover {
  background: var(--gold-lt);
  color: var(--black);
  transform: translateY(-2px);
}

.btn-ghost,
button.btn-ghost,
a.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.84rem 1.9rem;
  border: 1px solid rgba(201, 169, 110, 0.4);
  color: var(--gold);
  font-family: var(--body);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}
.btn-ghost:hover,
button.btn-ghost:hover,
a.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--ivory);
  background: rgba(201, 169, 110, 0.08);
}

/* =====================================================
   ANNOUNCEMENT BAR
===================================================== */
#scentara-announce-bar {
  position: relative;
  z-index: 201;
  background: var(--gold);
  color: var(--black);
  text-align: center;
  padding: 0.6rem 3rem 0.6rem var(--gutter);
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
}
#scentara-announce-bar a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 0.75rem;
}
#scentara-announce-bar a:hover {
  color: rgba(13, 11, 14, 0.7);
}
.announce-close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1rem;
  color: var(--black);
  opacity: 0.55;
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem;
}
.announce-close:hover {
  opacity: 1;
}

/* =====================================================
   SITE HEADER / NAVIGATION
===================================================== */
.site-header,
#site-header {
  position: fixed !important;
  top: 32px; /* adjust to announce bar height */
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(13, 11, 14, 0.9) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.12);
  height: 68px;
  display: flex;
  align-items: center;
  transition: top var(--ease);
  padding: 0 var(--gutter);
}

/* When announce bar is dismissed */
.site-header.bar-hidden {
  top: 0;
}

/* GeneratePress header inner */
.inside-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 !important;
  max-width: none !important;
}

/* Logo */
.site-logo,
.main-title,
.site-branding .site-title {
  font-family: var(--display) !important;
  font-size: 1.6rem !important;
  font-weight: 300 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--gold) !important;
  line-height: 1 !important;
  margin: 0 !important;
}
.site-branding .site-title a,
.main-title a {
  color: var(--gold) !important;
  text-decoration: none !important;
}
.site-description {
  display: none;
}

/* Primary Navigation */
.main-navigation,
.nav-float .main-nav,
#site-navigation {
  background: transparent !important;
  padding: 0 !important;
}

.main-navigation ul li a,
.nav-float .main-nav ul li a {
  font-family: var(--body);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.75);
  padding: 0.4rem 0;
  transition: color var(--ease);
  background: transparent !important;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a {
  color: var(--gold);
  background: transparent !important;
}

/* Dropdown */
.main-navigation ul ul {
  background: var(--plum-lt);
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  min-width: 200px;
}
.main-navigation ul ul li a {
  font-size: 0.78rem;
  padding: 0.65rem 1.2rem;
  color: rgba(245, 239, 230, 0.7);
  border-bottom: 1px solid rgba(201, 169, 110, 0.08);
}
.main-navigation ul ul li:last-child a {
  border-bottom: none;
}
.main-navigation ul ul li a:hover {
  color: var(--gold);
  background: rgba(201, 169, 110, 0.06) !important;
}

/* Nav Icons (header widget area or custom) */
.scentara-nav-icons {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-shrink: 0;
}
.scentara-nav-icon {
  background: none;
  border: none;
  font-size: 1rem;
  color: rgba(245, 239, 230, 0.72);
  cursor: pointer;
  position: relative;
  transition: color var(--ease);
  text-decoration: none;
  display: grid;
  place-items: center;
}
.scentara-nav-icon:hover {
  color: var(--ivory);
}
.cart-count-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--body);
  font-size: 0.56rem;
  font-weight: 700;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  line-height: 1;
}

/* Hamburger */
.scentara-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.scentara-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ivory);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}

/* Mobile Drawer */
.scentara-mobile-drawer {
  display: none;
  position: fixed;
  top: 100px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 190;
  background: var(--black);
  border-top: 1px solid rgba(201, 169, 110, 0.1);
  padding: 1.5rem var(--gutter);
  flex-direction: column;
  overflow-y: auto;
}
.scentara-mobile-drawer.open {
  display: flex;
}
.scentara-mobile-drawer a {
  display: block;
  padding: 0.95rem 0;
  font-family: var(--body);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ivory);
  border-bottom: 1px solid rgba(201, 169, 110, 0.08);
  text-decoration: none;
  transition: color var(--ease);
}
.scentara-mobile-drawer a:hover {
  color: var(--gold);
}
.scentara-mobile-drawer a.nav-sale {
  color: var(--rose);
}
.scentara-mobile-drawer a.nav-account {
  color: var(--gold);
  margin-top: 1rem;
}

/* =====================================================
   SEARCH OVERLAY
===================================================== */
#scentara-search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(13, 11, 14, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
}
#scentara-search-overlay.open {
  display: flex;
}
.search-overlay-box {
  width: min(680px, 90vw);
}
.search-input-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(201, 169, 110, 0.4);
  padding-bottom: 0.5rem;
}
.search-input-row .search-icon {
  font-size: 1.2rem;
  opacity: 0.45;
  flex-shrink: 0;
}
.search-overlay-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 300;
  color: var(--ivory);
  letter-spacing: 0.04em;
}
.search-overlay-input::placeholder {
  color: rgba(245, 239, 230, 0.22);
}
.search-overlay-close {
  background: none;
  border: none;
  color: rgba(245, 239, 230, 0.45);
  font-size: 1.4rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: color var(--ease);
}
.search-overlay-close:hover {
  color: var(--ivory);
}
.search-hints {
  margin-top: 1.8rem;
}
.search-hints-label {
  font-family: var(--body);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.3);
  margin-bottom: 0.85rem;
}
.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.search-tag {
  display: inline-block;
  padding: 0.42rem 1rem;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 20px;
  font-family: var(--body);
  font-size: 0.76rem;
  color: rgba(245, 239, 230, 0.58);
  cursor: pointer;
  transition: border-color var(--ease), color var(--ease);
  text-decoration: none;
}
.search-tag:hover {
  border-color: var(--gold);
  color: var(--ivory);
}

/* =====================================================
   COOKIE BANNER
===================================================== */
#scentara-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: var(--plum-lt);
  border-top: 1px solid rgba(201, 169, 110, 0.15);
  padding: 1.2rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-text {
  font-family: var(--body);
  font-size: 0.8rem;
  color: rgba(245, 239, 230, 0.65);
  max-width: 640px;
  line-height: 1.6;
}
.cookie-text a {
  color: var(--gold);
}
.cookie-btns {
  display: flex;
  gap: 0.65rem;
  flex-shrink: 0;
}
.cookie-accept {
  padding: 0.6rem 1.4rem;
  background: var(--gold);
  color: var(--black);
  border: none;
  border-radius: var(--radius);
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--ease);
}
.cookie-accept:hover {
  background: var(--gold-lt);
}
.cookie-decline {
  padding: 0.6rem 1.2rem;
  background: transparent;
  border: 1px solid rgba(201, 169, 110, 0.28);
  color: rgba(245, 239, 230, 0.6);
  border-radius: var(--radius);
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color var(--ease), color var(--ease);
}
.cookie-decline:hover {
  border-color: var(--gold);
  color: var(--ivory);
}

/* =====================================================
   PAGE WRAP — offset for fixed header
===================================================== */
body {
  padding-top: 100px; /* announce bar (32px) + nav (68px) */
}
body.no-announce-bar {
  padding-top: 68px;
}

/* =====================================================
   PRODUCT CARD (global — used everywhere)
===================================================== */
.scentara-product-card,
ul.products li.product {
  background: var(--plum);
  border-radius: var(--radius);
  border: 1px solid transparent;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
  position: relative;
  margin: 0 !important;
}
.scentara-product-card:hover,
ul.products li.product:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 169, 110, 0.28);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

/* Card image */
.scentara-product-card .card-img,
ul.products li.product .woocommerce-loop-product__link img,
ul.products li.product a img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

/* Card badges */
.scentara-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 2;
  font-family: var(--body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
  border-radius: 2px;
}
.scentara-badge-new     { background: var(--gold); color: var(--black); }
.scentara-badge-sale    { background: var(--rose); color: #fff; }
.scentara-badge-best    { background: var(--plum-lt); color: var(--gold); border: 1px solid rgba(201,169,110,0.3); }
.scentara-badge-limited { background: var(--black); color: var(--gold); border: 1px solid rgba(201,169,110,0.4); }

/* WooCommerce sale badge override */
ul.products li.product .onsale {
  background: var(--rose) !important;
  color: #fff !important;
  border-radius: 2px !important;
  font-family: var(--body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  min-width: unset;
  min-height: unset;
  line-height: 1;
  padding: 0.22rem 0.6rem;
  top: 0.8rem;
  left: 0.8rem;
  margin: 0;
}

/* Wishlist button on card */
.scentara-card-wish {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(13, 11, 14, 0.65);
  border: none;
  color: rgba(245, 239, 230, 0.6);
  font-size: 0.82rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
}
.scentara-card-wish:hover {
  background: rgba(201, 169, 110, 0.25);
  color: var(--gold);
}

/* Card body */
.scentara-product-card .card-body,
ul.products li.product .product-info-wrap {
  padding: 1rem 1.05rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-brand {
  font-family: var(--body);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.22rem;
}

.card-name,
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--display) !important;
  font-size: 1.15rem !important;
  font-weight: 400 !important;
  color: var(--ivory) !important;
  line-height: 1.2 !important;
  margin-bottom: 0.3rem !important;
  padding: 0 !important;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.3rem;
}
.card-stars {
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}
.card-rating-n {
  font-size: 0.66rem;
  color: rgba(245, 239, 230, 0.38);
}

/* WooCommerce star rating */
.star-rating {
  color: var(--gold) !important;
  font-size: 0.75rem !important;
}
.star-rating::before,
.star-rating span::before {
  color: var(--gold) !important;
}

.card-family {
  font-family: var(--body);
  font-size: 0.7rem;
  color: rgba(245, 239, 230, 0.43);
  font-weight: 300;
  margin-bottom: auto;
  padding-bottom: 0.85rem;
}

/* Card footer */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.85rem;
  border-top: 1px solid rgba(201, 169, 110, 0.1);
  padding-top: 0.85rem;
}

/* Price */
.card-price,
ul.products li.product .price {
  font-family: var(--display) !important;
  font-size: 1.15rem !important;
  color: var(--ivory) !important;
  font-weight: 400 !important;
}
ul.products li.product .price del,
.card-price s {
  font-size: 0.82rem !important;
  color: var(--dusk) !important;
  margin-right: 0.28rem;
  opacity: 1 !important;
}
ul.products li.product .price ins {
  text-decoration: none !important;
  font-weight: 400 !important;
}

/* Add to Cart button on card */
.card-atc,
ul.products li.product .button,
ul.products li.product .add_to_cart_button {
  font-family: var(--body) !important;
  font-size: 0.63rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 0.48rem 0.9rem !important;
  background: transparent !important;
  border: 1px solid rgba(201, 169, 110, 0.35) !important;
  color: var(--gold) !important;
  border-radius: var(--radius) !important;
  transition: background var(--ease), border-color var(--ease), color var(--ease) !important;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center;
}
.card-atc:hover,
ul.products li.product .button:hover,
ul.products li.product .add_to_cart_button:hover {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--black) !important;
}

/* WooCommerce product grid reset */
ul.products {
  display: grid !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
ul.products.columns-3 {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
}
ul.products.columns-4 {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.25rem !important;
}

/* =====================================================
   BRAND MARQUEE
===================================================== */
.scentara-marquee {
  background: var(--plum);
  border-top: 1px solid rgba(201, 169, 110, 0.1);
  border-bottom: 1px solid rgba(201, 169, 110, 0.1);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 3rem;
  align-items: center;
  padding: 1rem 0;
  animation: scentara-marquee 24s linear infinite;
  white-space: nowrap;
}
@keyframes scentara-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(201, 169, 110, 0.38);
  flex-shrink: 0;
}
.marquee-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.2);
  flex-shrink: 0;
}

/* =====================================================
   TRUST STRIP
===================================================== */
.scentara-trust-strip {
  background: var(--black);
  border-top: 1px solid rgba(201, 169, 110, 0.08);
  border-bottom: 1px solid rgba(201, 169, 110, 0.08);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  padding: 2.2rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(201, 169, 110, 0.08);
}
.trust-item:last-child {
  border-right: none;
}
.trust-icon {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}
.trust-title {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ivory);
  margin-bottom: 0.28rem;
}
.trust-sub {
  font-size: 0.72rem;
  color: rgba(245, 239, 230, 0.42);
  font-weight: 300;
}

/* =====================================================
   GENDER STRIP
===================================================== */
.scentara-gender-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201, 169, 110, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
}
.gender-card {
  background: var(--plum);
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background var(--ease);
  text-decoration: none;
  display: block;
}
.gender-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--ease);
}
.gender-card.for-her::before  { background: radial-gradient(ellipse at 50% 80%, rgba(180,80,120,0.18), transparent); }
.gender-card.for-him::before  { background: radial-gradient(ellipse at 50% 80%, rgba(80,120,180,0.15), transparent); }
.gender-card.unisex::before   { background: radial-gradient(ellipse at 50% 80%, rgba(201,169,110,0.14), transparent); }
.gender-card:hover::before    { opacity: 1; }
.gender-card:hover            { background: var(--plum-lt); }
.gender-icon  { font-size: 2.5rem; opacity: 0.35; margin-bottom: 1rem; }
.gender-title { font-family: var(--display); font-size: 2rem; font-weight: 300; color: var(--ivory); margin-bottom: 0.4rem; }
.gender-count { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-family: var(--body); }
.gender-arrow { display: inline-block; margin-top: 1.2rem; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245,239,230,0.4); border-bottom: 1px solid rgba(201,169,110,0.3); padding-bottom: 2px; transition: color var(--ease); font-family: var(--body); }
.gender-card:hover .gender-arrow { color: var(--gold); }

/* =====================================================
   CATEGORY GRID
===================================================== */
.scentara-cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.cat-card {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1.4rem 1rem;
  text-decoration: none;
  transition: transform var(--ease);
}
.cat-card:hover { transform: translateY(-4px); }
.cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,11,14,0.88) 0%, transparent 55%);
}
.cat-bg-floral   { background: linear-gradient(145deg, #2D1F2A, #4A2840); }
.cat-bg-woody    { background: linear-gradient(145deg, #1F1A12, #3D2E1A); }
.cat-bg-fresh    { background: linear-gradient(145deg, #0E1F1A, #1A3530); }
.cat-bg-oriental { background: linear-gradient(145deg, #1A0E0A, #3D1A0E); }
.cat-bg-citrus   { background: linear-gradient(145deg, #1A1A0A, #3A350A); }
.cat-bg-aquatic  { background: linear-gradient(145deg, #0A1220, #0E2235); }
.cat-icon-emoji  { font-size: 2.5rem; opacity: 0.2; position: absolute; top: 28%; left: 50%; transform: translate(-50%, -50%); }
.cat-info        { position: relative; z-index: 1; text-align: center; }
.cat-name        { font-family: var(--display); font-size: 1.2rem; font-weight: 300; color: var(--ivory); }
.cat-count       { font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-top: 0.28rem; font-family: var(--body); }

/* =====================================================
   PROMO BANNER
===================================================== */
.scentara-promo-banner {
  background: linear-gradient(135deg, #1F1025 0%, #2A1F2D 50%, #1A0E0A 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: clamp(3rem, 7vw, 5.5rem) var(--gutter);
}
.promo-headline {
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ivory);
  margin-bottom: 1.1rem;
}
.promo-sub {
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(245, 239, 230, 0.55);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.promo-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110, 0.1);
}
.promo-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =====================================================
   BRAND LOGOS GRID
===================================================== */
.scentara-brand-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: rgba(201, 169, 110, 0.08);
  border: 1px solid rgba(201, 169, 110, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
}
.brand-logo-cell {
  background: var(--plum);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.8rem 1rem;
  text-decoration: none;
  transition: background var(--ease);
}
.brand-logo-cell:hover { background: var(--plum-lt); }
.brand-logo-name {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.38);
  transition: color var(--ease);
  text-align: center;
}
.brand-logo-cell:hover .brand-logo-name { color: var(--gold); }

/* =====================================================
   SALE SECTION
===================================================== */
.sale-banner-bar {
  background: linear-gradient(90deg, var(--rose) 0%, #8B1A32 100%);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.sale-banner-text {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 300;
  color: #fff;
}
.sale-countdown {
  display: flex;
  gap: 1rem;
}
.countdown-unit { text-align: center; }
.countdown-n { font-family: var(--display); font-size: 2rem; font-weight: 300; line-height: 1; color: #fff; }
.countdown-l { font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.6); font-family: var(--body); }

/* =====================================================
   TESTIMONIALS
===================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--plum-lt);
  border-radius: var(--radius);
  padding: 1.8rem;
  border: 1px solid rgba(201, 169, 110, 0.1);
}
.t-stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 1rem; letter-spacing: 0.05em; }
.t-quote { font-family: var(--display); font-size: 1.05rem; font-style: italic; font-weight: 300; color: var(--ivory); line-height: 1.7; margin-bottom: 1.2rem; }
.t-author { display: flex; align-items: center; gap: 0.75rem; }
.t-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--plum); border: 1px solid rgba(201,169,110,0.2); display: grid; place-items: center; font-size: 1.1rem; overflow: hidden; flex-shrink: 0; }
.t-avatar img { width: 100%; height: 100%; object-fit: cover; }
.t-name { font-family: var(--body); font-size: 0.78rem; font-weight: 500; color: var(--ivory); }
.t-verified { font-family: var(--body); font-size: 0.64rem; color: var(--green); }

/* =====================================================
   PRESS STRIP
===================================================== */
.scentara-press-strip {
  background: var(--black);
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter);
}
.press-label {
  text-align: center;
  font-family: var(--body);
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.3);
  margin-bottom: 2rem;
}
.press-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 4rem);
  flex-wrap: wrap;
}
.press-logo {
  font-family: var(--display);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(245, 239, 230, 0.18);
  text-transform: uppercase;
  transition: color var(--ease);
}
.press-logo:hover { color: rgba(245, 239, 230, 0.4); }

/* =====================================================
   STORY STRIP
===================================================== */
.scentara-story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.story-visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110, 0.08);
}
.story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-headline {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.9rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  color: var(--ivory);
}
.story-body {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(245, 239, 230, 0.56);
  line-height: 1.9;
  margin-bottom: 2rem;
}

/* =====================================================
   NEWSLETTER
===================================================== */
.scentara-newsletter {
  background: var(--plum-lt);
  padding: clamp(3rem, 6vw, 4.5rem) var(--gutter);
  text-align: center;
}
.scentara-newsletter h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 300;
  margin-bottom: 0.6rem;
}
.scentara-newsletter p {
  font-size: 0.86rem;
  color: rgba(245, 239, 230, 0.48);
  margin-bottom: 1.7rem;
}
.newsletter-form {
  display: flex;
  gap: 0.7rem;
  max-width: 460px;
  margin: 0 auto;
}
.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.82rem 1rem;
  background: var(--black);
  border: 1px solid rgba(201, 169, 110, 0.18);
  border-radius: var(--radius);
  color: var(--ivory);
  font-family: var(--body);
  font-size: 0.83rem;
  outline: none;
  transition: border-color var(--ease);
}
.newsletter-form input[type="email"]:focus {
  border-color: var(--gold);
}
.newsletter-form input[type="email"]::placeholder {
  color: rgba(245, 239, 230, 0.28);
}

/* =====================================================
   FOOTER
===================================================== */
.site-footer {
  background: var(--black) !important;
  border-top: 1px solid rgba(201, 169, 110, 0.1);
  padding: clamp(3rem, 7vw, 5rem) var(--gutter) 2.5rem !important;
  color: var(--ivory);
}
.footer-widgets {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  max-width: var(--max);
  margin: 0 auto 3.5rem;
}
.footer-col-title {
  font-family: var(--body);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
  font-weight: 600;
}
.footer-nav-links,
.footer-nav-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav-links li { margin-bottom: 0.55rem; }
.footer-nav-links a {
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(245, 239, 230, 0.45);
  transition: color var(--ease);
  text-decoration: none;
}
.footer-nav-links a:hover { color: var(--ivory); }
.footer-brand-desc {
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(245, 239, 230, 0.38);
  line-height: 1.85;
  max-width: 230px;
  margin-bottom: 1.3rem;
}
.footer-payment-title {
  font-family: var(--body);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.3);
  margin-bottom: 0.6rem;
}
.payment-icons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.pay-icon {
  background: rgba(245, 239, 230, 0.08);
  border: 1px solid rgba(245, 239, 230, 0.12);
  border-radius: 3px;
  padding: 0.28rem 0.6rem;
  font-family: var(--body);
  font-size: 0.62rem;
  color: rgba(245, 239, 230, 0.45);
}
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(201, 169, 110, 0.07);
  font-family: var(--body);
  font-size: 0.7rem;
  color: rgba(245, 239, 230, 0.26);
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom-bar a {
  color: rgba(245, 239, 230, 0.26);
  transition: color var(--ease);
}
.footer-bottom-bar a:hover { color: var(--gold); }
.footer-social-links {
  display: flex;
  gap: 0.9rem;
}
.footer-social-links a {
  font-family: var(--body);
  font-size: 0.78rem;
  color: rgba(245, 239, 230, 0.3);
  transition: color var(--ease);
  text-decoration: none;
}
.footer-social-links a:hover { color: var(--gold); }

/* =====================================================
   WOOCOMMERCE — SHOP ARCHIVE
===================================================== */
.woocommerce-page .site-main,
.post-type-archive-product .site-main {
  background: var(--black);
}


/* Archive page styles now in css/shop.css */


/* Single product page styles now in css/single-product.css */

/* =====================================================
   WOOCOMMERCE — CART & CHECKOUT
===================================================== */
.woocommerce-cart .site-main,
.woocommerce-checkout .site-main {
  background: var(--black);
  padding: 2rem var(--gutter) 4rem;
  max-width: var(--max);
  margin: 0 auto;
}
.woocommerce table.shop_table {
  background: var(--plum);
  border-radius: var(--radius);
  border: 1px solid rgba(201, 169, 110, 0.1);
  border-collapse: separate;
  overflow: hidden;
}
.woocommerce table.shop_table th {
  font-family: var(--body);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--plum-lt);
  padding: 1rem 1.2rem;
  border: none;
}
.woocommerce table.shop_table td {
  padding: 1.2rem;
  border-top: 1px solid rgba(201, 169, 110, 0.08);
  color: var(--ivory);
  font-family: var(--body);
}
.woocommerce-checkout #payment {
  background: var(--plum) !important;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 169, 110, 0.1) !important;
}
.woocommerce-checkout #payment label { color: var(--ivory); font-family: var(--body); }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  background: var(--plum-lt) !important;
  border: 1px solid rgba(201, 169, 110, 0.16) !important;
  border-radius: var(--radius) !important;
  color: var(--ivory) !important;
  font-family: var(--body) !important;
  padding: 0.75rem 1rem !important;
  outline: none !important;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus { border-color: var(--gold) !important; }
.woocommerce form .form-row label { color: rgba(245, 239, 230, 0.55); font-family: var(--body); font-size: 0.82rem; }

/* =====================================================
   WOOCOMMERCE — NOTICES / MESSAGES
===================================================== */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: var(--radius) !important;
  border: none !important;
  font-family: var(--body) !important;
}
.woocommerce-message {
  background: rgba(93, 187, 138, 0.12) !important;
  border-left: 3px solid var(--green) !important;
  color: var(--ivory) !important;
}
.woocommerce-info {
  background: rgba(201, 169, 110, 0.1) !important;
  border-left: 3px solid var(--gold) !important;
  color: var(--ivory) !important;
}
.woocommerce-error {
  background: rgba(201, 80, 110, 0.12) !important;
  border-left: 3px solid var(--rose) !important;
  color: var(--ivory) !important;
}

/* =====================================================
   RESPONSIVE BREAKPOINTS
===================================================== */

/* ---- 1100px ---- */
@media (max-width: 1100px) {
  .scentara-cat-grid     { grid-template-columns: repeat(3, 1fr); }
  .scentara-brand-logos  { grid-template-columns: repeat(3, 1fr); }
  .trust-grid            { grid-template-columns: repeat(2, 1fr); }
  .trust-item            { border-bottom: 1px solid rgba(201,169,110,0.08); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(3) { border-bottom: none; }
  .trust-item:nth-child(4) { border-right: none; border-bottom: none; }
  .footer-widgets        { grid-template-columns: 1fr 1fr; }
  .testimonial-grid      { grid-template-columns: repeat(2, 1fr); }
  ul.products.columns-4  { grid-template-columns: repeat(3, 1fr) !important; }
  .scentara-archive-layout { grid-template-columns: 200px 1fr; }
}

/* ---- 840px (tablet / large mobile) ---- */
@media (max-width: 840px) {
  /* Nav */
  .main-navigation ul.nav-menu { display: none !important; }
  .scentara-hamburger { display: flex; }

  /* Gender */
  .scentara-gender-grid { grid-template-columns: 1fr; }

  /* Categories */
  .scentara-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-card { aspect-ratio: 3/4; }

  /* Brand logos */
  .scentara-brand-logos { grid-template-columns: repeat(2, 1fr); }

  /* Grids */
  ul.products.columns-4 { grid-template-columns: repeat(2, 1fr) !important; }
  ul.products.columns-3 { grid-template-columns: repeat(2, 1fr) !important; }

  /* Promo */
  .scentara-promo-banner { grid-template-columns: 1fr; }
  .promo-visual { display: none; }

  /* Story */
  .scentara-story-inner { grid-template-columns: 1fr; }
  .story-visual { display: none; }

  /* Testimonials */
  .testimonial-grid { grid-template-columns: 1fr; }

  /* Archive */
  .scentara-archive-layout { grid-template-columns: 1fr; }
  .sidebar-toggle-btn { display: flex; }
  .scentara-sidebar-inner { display: none; }
  .scentara-sidebar-inner.open { display: block; }
  .archive-grid,
  ul.products { grid-template-columns: repeat(2, 1fr) !important; }

  /* Single product */
  .scentara-single-wrap { grid-template-columns: 1fr; }
  .related.products ul.products { grid-template-columns: repeat(2, 1fr) !important; }

  /* FBT */
  .fbt-products { flex-direction: column; align-items: flex-start; }
  .fbt-plus { display: none; }

  /* Sale countdown */
  .sale-banner-bar { flex-direction: column; align-items: flex-start; }
}

/* ---- 540px (mobile) ---- */
@media (max-width: 540px) {
  body { padding-top: 90px; }

  .scentara-cat-grid { grid-template-columns: repeat(2, 1fr); }

  ul.products.columns-4,
  ul.products.columns-3 { grid-template-columns: repeat(2, 1fr) !important; gap: 0.85rem !important; }

  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: none !important; }

  .footer-widgets { grid-template-columns: 1fr; }

  #scentara-cookie-banner { flex-direction: column; }

  .newsletter-form { flex-direction: column; }
  .newsletter-form input[type="email"] { width: 100%; }

  .sn-row { grid-template-columns: 1fr; gap: 0.5rem; text-align: left; }

  .scentara-single-wrap { padding-top: 1.5rem; }

  .related.products ul.products { grid-template-columns: 1fr !important; }

  .fbt-footer { flex-direction: column; }
  .fbt-footer .btn-primary { width: 100%; justify-content: center; }

  .announce-bar { font-size: 0.65rem; padding-right: 2.5rem; text-align: left; }

  .scentara-promo-banner { padding: 3rem 1.2rem; }

  .scentara-brand-logos { grid-template-columns: repeat(2, 1fr); }

  .rs-score, .rs-bars { width: 100%; }

  .hero-ctas { flex-direction: column; align-items: center; }
}
