/*
Theme Name:  Vandeya
Theme URI:   https://vandeya.com
Author:      Vandeya
Author URI:  https://vandeya.com
Description: Official Vandeya brand theme — jewellery, fashion & beauty for modern Indian women.
Version:     1.0.0
Requires at least: 6.0
Tested up to:      6.7
Requires PHP:      8.1
WC requires at least: 8.0
WC tested up to:      9.0
License:     Proprietary
Text Domain: vandeya
*/

/* =========================================
   CSS CUSTOM PROPERTIES
========================================= */
:root {
  /* Rose — Primary */
  --color-rose:        #B5485A;
  --color-rose-dark:   #8C3345;
  --color-rose-light:  #F2D9DF;
  --color-rose-tint:   #FAF0F2;

  /* Gold — Secondary */
  --color-gold:        #9A7B4F;
  --color-gold-dark:   #75592E;
  --color-gold-light:  #F5EDD9;
  --color-gold-tint:   #FAF7F0;
  --color-gold-bright: #C9A96E; /* warm bright gold for use on dark backgrounds */

  /* Ink — Text */
  --color-ink:         #1C1A18;
  --color-ink-mid:     #3D3A35;
  --color-ink-muted:   #7A756E;
  --color-ink-subtle:  #B0AB9F;

  /* Background */
  --color-cream:       #FAF7F4;
  --color-cream-dark:  #F0EBE4;
  --color-white:       #FFFFFF;

  /* Feedback */
  --color-success:     #3A7C52;
  --color-error:       #C0392B;
  --color-warning:     #A0660A;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;
  --font-label:   'Jost', system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --space-2:   2px;
  --space-4:   4px;
  --space-8:   8px;
  --space-10:  10px;
  --space-12:  12px;
  --space-16:  16px;
  --space-20:  20px;
  --space-24:  24px;
  --space-32:  32px;
  --space-40:  40px;
  --space-48:  48px;
  --space-56:  56px;
  --space-64:  64px;
  --space-80:  80px;
  --space-96:  96px;

  /* Layout */
  --container-max:  1320px;
  --header-h:       72px;
  --ann-h:          40px;

  /* Border radius */
  --r-sm:    4px;
  --r-md:    8px;
  --r-lg:    12px;
  --r-xl:    20px;
  --r-pill:  999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(28,26,24,.08), 0 1px 2px rgba(28,26,24,.05);
  --shadow-md:  0 4px 12px rgba(28,26,24,.10), 0 2px 4px rgba(28,26,24,.06);
  --shadow-lg:  0 12px 40px rgba(28,26,24,.12), 0 4px 12px rgba(28,26,24,.08);
  --shadow-xl:  0 24px 64px rgba(28,26,24,.15);

  /* Transitions */
  --t-fast: 150ms ease;
  --t-base: 250ms ease;
  --t-slow: 380ms cubic-bezier(.4,0,.2,1);
}


/* =========================================
   RESET & BASE
========================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-cream);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }
ul, ol { list-style: none; }

/* Focus — WCAG 2.1 AA */
:focus-visible {
  outline: 3px solid var(--color-rose);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}


/* =========================================
   SKIP LINK
========================================= */
.skip-link {
  position: absolute;
  top: -200%;
  left: var(--space-16);
  z-index: 9999;
  background: var(--color-rose);
  color: var(--color-white);
  font-family: var(--font-label);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: var(--space-8) var(--space-24);
  border-radius: var(--r-md);
  transition: top var(--t-fast);
}

.skip-link:focus { top: var(--space-12); }


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

h1 { font-size: clamp(2.25rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.875rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

p { color: var(--color-ink-mid); line-height: 1.8; font-weight: 400; font-size: 1rem; }


/* =========================================
   LAYOUT UTILITIES
========================================= */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-24);
}

@media (min-width: 768px)  { .container { padding-inline: var(--space-40); } }
@media (min-width: 1280px) { .container { padding-inline: 60px; } }

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


/* =========================================
   BUTTONS
========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  font-family: var(--font-label);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  padding: 12px 28px;
  transition: background var(--t-base), color var(--t-base), border-color var(--t-base),
              transform var(--t-fast), box-shadow var(--t-base);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-rose);
  color: var(--color-white);
  border-color: var(--color-rose);
}
.btn-primary:hover {
  background: var(--color-rose-dark);
  border-color: var(--color-rose-dark);
  box-shadow: 0 4px 16px rgba(181,72,90,.30);
}

.btn-outline {
  background: transparent;
  color: var(--color-rose);
  border-color: var(--color-rose);
}
.btn-outline:hover { background: var(--color-rose-tint); }

.btn-gold {
  background: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
}
.btn-gold:hover {
  background: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  box-shadow: 0 4px 16px rgba(154,123,79,.30);
}

.btn-sm { font-size: .75rem; padding: 8px 20px; }
.btn-lg { font-size: .875rem; padding: 16px 40px; }

/* BEM variants — used across WooCommerce and page templates */
.btn--rose {
  background: var(--color-rose);
  color: var(--color-white);
  border-color: var(--color-rose);
}
.btn--rose:hover,
.btn--rose:focus-visible {
  background: var(--color-rose-dark);
  border-color: var(--color-rose-dark);
  box-shadow: 0 4px 16px rgba(181,72,90,.30);
  color: var(--color-white);
}

.btn--outline {
  background: transparent;
  color: var(--color-rose);
  border-color: var(--color-rose);
}
.btn--outline:hover { background: var(--color-rose-tint); }

.btn--sm  { font-size: .75rem;  padding: 8px 20px; }
.btn--lg  { font-size: .875rem; padding: 16px 40px; }
.btn--full { width: 100%; }

.btn:focus-visible {
  outline: 3px solid var(--color-rose);
  outline-offset: 3px;
}

/* Product grid — shared across cart-empty, 404, single pages */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-16);
}

@media (min-width: 640px)  { .product-grid { gap: var(--space-20); } }
@media (min-width: 768px)  { .product-grid.product-grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .product-grid.product-grid--4 { grid-template-columns: repeat(4, 1fr); gap: var(--space-24); } }


/* =========================================
   ANNOUNCEMENT BAR
========================================= */
.announcement-bar {
  background: var(--color-ink);
  height: var(--ann-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 600;
}

.ann-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ann-scroll 36s linear infinite;
  will-change: transform;
}

.ann-track:hover { animation-play-state: paused; }

@keyframes ann-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ann-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-10);
  font-family: var(--font-label);
  font-size: .6875rem;
  font-weight: 400;
  letter-spacing: .1em;
  color: rgba(240,235,228,.7);
  padding-inline: var(--space-48);
}

.ann-item strong { color: var(--color-gold-light); font-weight: 500; }

.ann-sep {
  display: inline-block;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--color-rose);
  opacity: .8;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) { .ann-track { animation: none; } }


/* =========================================
   SITE HEADER
========================================= */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-cream-dark);
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1440px;
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: var(--space-24);
  padding-inline: var(--space-40);
}


/* ── Logo ── */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo img {
  height: 46px;
  width: auto;
}

header .custom-logo-link {
  display: flex;
  height: 100%;
}
header .custom-logo {
  width: auto;
}


/* ── Search ── */
.header-search {
  flex: 1;
  max-width: 540px;
  margin-inline: auto;
}

.search-form {
  display: flex;
  align-items: center;
  background: var(--color-cream);
  border: 1.5px solid var(--color-cream-dark);
  border-radius: var(--r-pill);
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.search-form:focus-within {
  border-color: var(--color-rose);
  box-shadow: 0 0 0 3px rgba(181,72,90,.12);
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 11px var(--space-20);
  font-family: var(--font-body);
  font-size: .875rem;
  color: var(--color-ink);
}

.search-input::placeholder { color: var(--color-ink-subtle); }

.search-submit {
  background: var(--color-rose);
  border: none;
  width: 40px; height: 40px; min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  margin: 3px;
  transition: background var(--t-base);
  flex-shrink: 0;
  cursor: pointer;
  color: var(--color-white);
}

.search-submit:hover { background: var(--color-rose-dark); }

.search-submit svg {
  width: 15px; height: 15px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}


/* ── Header Action Icons ── */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 12px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--color-ink-muted);
  transition: color var(--t-base), background var(--t-base), border-color var(--t-base);
  position: relative;
  background: none;
  cursor: pointer;
}

.action-btn:hover {
  color: var(--color-rose);
  background: var(--color-rose-tint);
  border-color: var(--color-rose-light);
}

.action-btn svg {
  width: 21px; height: 21px;
  stroke: currentColor; fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}

.action-label {
  font-family: var(--font-label);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: inherit;
  line-height: 1;
}

.action-badge {
  position: absolute;
  top: 4px; right: 8px;
  min-width: 17px; height: 17px;
  border-radius: var(--r-pill);
  background: var(--color-rose);
  color: var(--color-white);
  font-size: 9px;
  font-weight: 700;
  font-family: var(--font-label);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 3px;
  border: 1.5px solid var(--color-white);
}


/* ── Nav Toggle (hamburger) ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 1.5px solid var(--color-cream-dark);
  border-radius: var(--r-md);
  padding: 9px;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--t-base), color var(--t-base);
  color: var(--color-ink-mid);
}

.nav-toggle:hover { border-color: var(--color-rose); color: var(--color-rose); }

.nav-toggle span {
  display: block;
  width: 20px; height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* =========================================
   SITE NAV (Desktop)
========================================= */
.site-nav {
  background: var(--color-white);
  border-top: 1px solid var(--color-cream-dark);
}

.nav-inner {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--space-40);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
}

.nav-item { position: relative; }

/* Bridge the visual gap between nav link and dropdown so hover state stays active */
.nav-item::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 13px 16px;
  font-family: var(--font-label);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-ink-mid);
  text-decoration: none;
  transition: color var(--t-base);
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: var(--color-rose);
  border-radius: 2px 2px 0 0;
  transition: left var(--t-base), right var(--t-base);
}

.nav-item:hover > .nav-link { color: var(--color-rose); }
.nav-item:hover > .nav-link::after { left: 14px; right: 14px; }

.nav-link--sale { color: var(--color-rose) !important; }
.nav-link--sale:hover { color: var(--color-rose-dark) !important; }
.nav-link--new  { color: var(--color-gold-dark) !important; }

.nav-chevron {
  width: 10px; height: 10px;
  stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round;
  flex-shrink: 0;
  transition: transform var(--t-base);
}

.nav-item:hover .nav-chevron { transform: rotate(180deg); }


/* ── Dropdown ── */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--color-white);
  border: 1px solid var(--color-cream-dark);
  border-radius: var(--r-lg);
  padding: var(--space-8) 0;
  min-width: 196px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
  box-shadow: var(--shadow-lg);
  z-index: 999;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -5px; left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 5px;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  background: var(--color-cream-dark);
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding: 9px var(--space-20);
  font-family: var(--font-body);
  font-size: .875rem;
  color: var(--color-ink-mid);
  text-decoration: none;
  transition: color var(--t-base), padding-left var(--t-base), background var(--t-base);
  white-space: nowrap;
}

.nav-dropdown a::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--color-rose);
  opacity: 0;
  flex-shrink: 0;
  transition: opacity var(--t-base);
}

.nav-dropdown a:hover {
  color: var(--color-rose);
  background: var(--color-rose-tint);
  padding-left: 24px;
}

.nav-dropdown a:hover::before { opacity: 1; }


/* =========================================
   MOBILE DRAWER
========================================= */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 800;
  pointer-events: none; /* don't block page interaction when closed */
}

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

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28,26,24,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-slow);
}

.mobile-drawer.is-open .drawer-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.drawer-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(360px, 92vw);
  height: 100%;
  background: var(--color-white);
  border-left: 1px solid var(--color-cream-dark);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--t-slow);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: var(--shadow-xl);
}

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

/* Drawer head */
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-20) var(--space-24);
  border-bottom: 1px solid var(--color-cream-dark);
  flex-shrink: 0;
  position: sticky; top: 0;
  background: var(--color-white);
  z-index: 1;
}

.drawer-logo {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--color-ink);
  letter-spacing: .04em;
}

.drawer-logo em { color: var(--color-rose); font-style: italic; }

.drawer-close {
  background: none;
  border: 1.5px solid var(--color-cream-dark);
  border-radius: var(--r-md);
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-ink-muted);
  cursor: pointer;
  transition: all var(--t-base);
  flex-shrink: 0;
}

.drawer-close:hover {
  border-color: var(--color-rose);
  color: var(--color-rose);
  background: var(--color-rose-tint);
}

.drawer-close svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

/* Drawer search */
.drawer-search {
  padding: var(--space-16) var(--space-24);
  border-bottom: 1px solid var(--color-cream-dark);
  flex-shrink: 0;
}

.drawer-search-form {
  display: flex;
  align-items: center;
  background: var(--color-cream);
  border: 1.5px solid var(--color-cream-dark);
  border-radius: var(--r-pill);
  overflow: hidden;
  transition: border-color var(--t-base);
}

.drawer-search-form:focus-within { border-color: var(--color-rose); }

.drawer-search-input {
  flex: 1;
  background: transparent; border: none; outline: none;
  padding: 10px var(--space-16);
  font-family: var(--font-body); font-size: .875rem;
  color: var(--color-ink);
}

.drawer-search-input::placeholder { color: var(--color-ink-subtle); }

.drawer-search-btn {
  background: var(--color-rose); border: none;
  width: 36px; height: 36px; min-width: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill); margin: 3px;
  cursor: pointer; transition: background var(--t-base);
  color: var(--color-white);
}

.drawer-search-btn:hover { background: var(--color-rose-dark); }

.drawer-search-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

/* Drawer nav */
.drawer-nav { flex: 1; overflow-y: auto; padding: var(--space-8) 0; }

.m-nav-item { border-bottom: 1px solid var(--color-cream-dark); }

.m-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--space-24);
  font-family: var(--font-label);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-ink-mid);
  text-decoration: none;
  transition: color var(--t-base), background var(--t-base);
  background: none; border: none; width: 100%; text-align: left;
  cursor: pointer;
}

.m-nav-link:hover { color: var(--color-rose); background: var(--color-rose-tint); }
.m-nav-link--sale { color: var(--color-rose); }
.m-nav-link--new  { color: var(--color-gold-dark); }

.m-chevron {
  width: 14px; height: 14px;
  stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round;
  flex-shrink: 0;
  transition: transform var(--t-base);
}

.m-nav-item.is-open .m-chevron { transform: rotate(180deg); }

.m-sub-menu {
  display: none;
  background: var(--color-cream);
  border-top: 1px solid var(--color-cream-dark);
  padding: var(--space-8) 0;
}

.m-nav-item.is-open .m-sub-menu { display: block; }

.m-sub-menu a {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding: 10px var(--space-24) 10px 36px;
  font-family: var(--font-body); font-size: .875rem;
  color: var(--color-ink-muted);
  text-decoration: none;
  transition: color var(--t-base), padding-left var(--t-base);
}

.m-sub-menu a::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--color-rose);
  opacity: .4; flex-shrink: 0;
  transition: opacity var(--t-base);
}

.m-sub-menu a:hover { color: var(--color-rose); padding-left: 40px; }
.m-sub-menu a:hover::before { opacity: 1; }

/* Drawer bottom actions */
.drawer-actions {
  padding: var(--space-20) var(--space-24);
  border-top: 1px solid var(--color-cream-dark);
  display: flex;
  gap: var(--space-8);
  flex-shrink: 0;
}

.drawer-action {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px var(--space-8);
  border: 1.5px solid var(--color-cream-dark);
  border-radius: var(--r-md);
  background: none;
  color: var(--color-ink-muted);
  cursor: pointer; text-decoration: none;
  transition: all var(--t-base);
  position: relative;
  font-family: inherit;
}

.drawer-action:hover {
  border-color: var(--color-rose);
  color: var(--color-rose);
  background: var(--color-rose-tint);
}

.drawer-action svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.drawer-action-label {
  font-family: var(--font-label);
  font-size: .6rem; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: inherit; line-height: 1;
}

.drawer-badge {
  position: absolute; top: 6px; right: 6px;
  min-width: 16px; height: 16px;
  border-radius: var(--r-pill);
  background: var(--color-rose);
  color: var(--color-white);
  font-size: 9px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  padding-inline: 3px;
}


/* =========================================
   MAIN CONTENT WRAPPER
========================================= */
#main-content { min-height: 60vh; }


/* =========================================
   NEWSLETTER
========================================= */
.newsletter-section {
  background: var(--color-ink);
  padding: var(--space-80) var(--space-40);
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 130%, rgba(181,72,90,.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 50%, rgba(154,123,79,.08) 0%, transparent 60%);
  pointer-events: none;
}

.nl-inner {
  position: relative;
  max-width: 580px;
  margin-inline: auto;
  text-align: center;
}

.nl-eyebrow {
  display: inline-block;
  font-family: var(--font-label);
  font-size: .6875rem; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  border: 1px solid rgba(154,123,79,.4);
  border-radius: var(--r-pill);
  padding: 5px 18px;
  margin-bottom: var(--space-20);
}

.nl-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.875rem);
  font-weight: 400;
  color: var(--color-cream);
  line-height: 1.15;
  margin-bottom: var(--space-16);
}

.nl-title em { font-style: italic; color: var(--color-rose-light); }

.nl-desc {
  font-size: .9375rem;
  color: rgba(240,235,228,.65);
  margin-bottom: var(--space-40);
  line-height: 1.7;
}

.nl-form {
  display: flex;
  max-width: 440px;
  margin: 0 auto var(--space-20);
  border: 1px solid rgba(154,123,79,.3);
  border-radius: var(--r-pill);
  overflow: hidden;
  background: rgba(255,255,255,.05);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.nl-form:focus-within {
  border-color: var(--color-rose);
  box-shadow: 0 0 0 3px rgba(181,72,90,.15);
}

.nl-email {
  flex: 1; min-width: 0;
  background: transparent; border: none; outline: none;
  padding: 15px var(--space-20);
  font-family: var(--font-body); font-size: .875rem;
  color: var(--color-cream);
}

.nl-email::placeholder { color: rgba(240,235,228,.35); }

.nl-submit {
  background: var(--color-rose); border: none;
  cursor: pointer;
  padding: 13px var(--space-24);
  font-family: var(--font-label); font-size: .6875rem; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-white);
  border-radius: var(--r-pill); margin: 4px;
  transition: background var(--t-base);
  white-space: nowrap;
}

.nl-submit:hover { background: var(--color-rose-dark); }

.nl-perks {
  display: flex;
  justify-content: center; align-items: center;
  gap: var(--space-24); flex-wrap: wrap;
}

.nl-perk {
  display: flex; align-items: center; gap: 5px;
  font-size: .75rem;
  color: rgba(240,235,228,.45);
}

.nl-perk-icon { color: var(--color-gold); font-size: .875rem; line-height: 1; }

.nl-message {
  margin-top: var(--space-12);
  font-size: .875rem;
  font-family: var(--font-body);
  min-height: 1.25rem;
}

.nl-message.success { color: #86efac; }
.nl-message.error   { color: #fca5a5; }


/* =========================================
   SITE FOOTER
========================================= */
.site-footer { background: var(--color-ink); color: var(--color-cream); }

.footer-main {
  padding: var(--space-56) 48px var(--space-48);
  max-width: 1440px;
  margin-inline: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: var(--space-40);
  align-items: start;
}

/* Brand column */
.footer-brand { padding-right: 12px; }

.footer-logo {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 400;
  color: var(--color-cream);
  margin-bottom: 4px; letter-spacing: .02em;
}

.footer-logo em { font-style: italic; color: var(--color-rose); }

.footer-tagline {
  font-family: var(--font-label);
  font-size: .6875rem; font-weight: 400; letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-20);
}

.footer-desc {
  font-size: .875rem;
  color: rgba(240,235,228,.55);
  line-height: 1.75;
  margin-bottom: var(--space-24);
}

/* Socials */
.socials { display: flex; gap: var(--space-8); margin-bottom: var(--space-24); }

.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(240,235,228,.15);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  color: rgba(240,235,228,.45);
  text-decoration: none;
  transition: all var(--t-base);
}

.social-link:hover {
  border-color: var(--color-rose);
  background: rgba(181,72,90,.15);
  color: var(--color-rose-light);
  transform: translateY(-2px);
}

.social-link svg { width: 15px; height: 15px; fill: currentColor; }

/* Trust badges */
.trust-list { display: flex; flex-direction: column; gap: var(--space-8); }

.trust-item {
  display: flex; align-items: center; gap: var(--space-8);
  font-size: .8125rem;
  color: rgba(240,235,228,.5);
}

.trust-icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(181,72,90,.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-rose-light); font-size: 10px;
  flex-shrink: 0;
}

/* Footer link columns */
.footer-col-title {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 500;
  color: var(--color-cream);
  margin-bottom: var(--space-20);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(240,235,228,.08);
  position: relative;
}

.footer-col-title::after {
  content: '';
  position: absolute; bottom: -1px; left: 0;
  width: 20px; height: 1px;
  background: var(--color-rose);
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  display: flex; align-items: center; gap: var(--space-8);
  font-size: .875rem;
  color: rgba(240,235,228,.5);
  text-decoration: none;
  transition: color var(--t-base), gap var(--t-base);
}

.footer-links a::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--color-rose);
  opacity: 0; flex-shrink: 0;
  transition: opacity var(--t-base);
}

.footer-links a:hover { color: var(--color-cream); gap: 12px; }
.footer-links a:hover::before { opacity: 1; }

.badge-new {
  font-family: var(--font-label);
  font-size: .5625rem; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--color-rose); color: var(--color-white);
  padding: 2px 6px; border-radius: var(--r-sm);
}

/* Footer divider row */
.footer-divider {
  max-width: 1440px;
  margin-inline: auto;
  padding: var(--space-32) 48px;
  border-top: 1px solid rgba(240,235,228,.08);
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: var(--space-16);
}

.rating-badge { display: flex; align-items: center; gap: var(--space-8); }
.rating-stars { color: var(--color-gold); font-size: .875rem; letter-spacing: 2px; }
.rating-text  { font-size: .8125rem; color: rgba(240,235,228,.4); }

.lang-selector {
  display: flex; align-items: center; gap: 6px;
  font-size: .8125rem; color: rgba(240,235,228,.4);
  border: 1px solid rgba(240,235,228,.12);
  border-radius: var(--r-pill);
  padding: 5px 14px; cursor: pointer;
  transition: border-color var(--t-base), color var(--t-base);
  background: none;
}

.lang-selector:hover { border-color: var(--color-gold); color: var(--color-cream); }

/* SEO Strip */
.seo-strip {
  border-top: 1px solid rgba(240,235,228,.05);
  padding: var(--space-32) 60px;
  background: rgba(0,0,0,.15);
}

.seo-strip-inner { max-width: var(--container-max); margin-inline: auto; }

.seo-strip h2 {
  font-family: var(--font-display);
  font-size: 1.125rem; font-weight: 500;
  color: rgba(240,235,228,.4);
  margin-bottom: var(--space-8);
}

.seo-strip p {
  font-size: .8125rem;
  color: rgba(240,235,228,.28);
  line-height: 1.7; max-width: 760px;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(240,235,228,.05);
  padding: 20px 60px;
  background: rgba(0,0,0,.2);
}

.footer-bottom-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: var(--space-16);
}

.copyright { font-size: .8125rem; color: rgba(240,235,228,.35); }
.copyright a { color: var(--color-gold); }
.copyright a:hover { color: var(--color-gold-light); }

.bottom-links { display: flex; gap: var(--space-24); }

.bottom-links a {
  font-size: .8125rem; color: rgba(240,235,228,.35);
  text-decoration: none; transition: color var(--t-base);
}

.bottom-links a:hover { color: var(--color-cream); }

.payment-icons { display: flex; gap: var(--space-8); align-items: center; flex-wrap: wrap; }

.pay-chip {
  padding: 4px 10px;
  border: 1px solid rgba(240,235,228,.12);
  border-radius: var(--r-sm);
  font-family: var(--font-label); font-size: .625rem; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(240,235,228,.38);
}


/* =========================================
   MOBILE SEARCH BAR (trigger row below icon row)
========================================= */
.mobile-search-bar { display: none; }

.search-trigger {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  width: 100%;
  background: var(--color-cream);
  border: 1.5px solid var(--color-cream-dark);
  border-radius: var(--r-pill);
  padding: 10px var(--space-16);
  font-family: var(--font-body);
  font-size: .875rem;
  color: var(--color-ink-subtle);
  cursor: pointer;
  text-align: left;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.search-trigger:hover,
.search-trigger:focus-visible {
  border-color: var(--color-rose);
  box-shadow: 0 0 0 3px rgba(181,72,90,.10);
}

.search-trigger svg {
  width: 16px; height: 16px;
  stroke: var(--color-ink-subtle); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}


/* =========================================
   SEARCH MODAL (full-screen overlay)
========================================= */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: var(--color-white);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity var(--t-base), transform var(--t-base);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.search-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.search-modal-head {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  padding: var(--space-16) var(--space-20);
  border-bottom: 1px solid var(--color-cream-dark);
  flex-shrink: 0;
}

.search-modal-form {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--space-12);
  background: var(--color-cream);
  border: 1.5px solid var(--color-cream-dark);
  border-radius: var(--r-pill);
  padding: 0 var(--space-16);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.search-modal-form:focus-within {
  border-color: var(--color-rose);
  box-shadow: 0 0 0 3px rgba(181,72,90,.12);
}

.search-modal-form svg {
  width: 16px; height: 16px;
  stroke: var(--color-ink-subtle); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

.search-modal-input {
  flex: 1;
  background: transparent; border: none; outline: none;
  padding: 12px 0;
  font-family: var(--font-body); font-size: 1rem;
  color: var(--color-ink);
}

.search-modal-input::placeholder { color: var(--color-ink-subtle); }

.search-modal-cancel {
  background: none; border: none;
  font-family: var(--font-body); font-size: .9375rem;
  color: var(--color-rose);
  cursor: pointer;
  padding: var(--space-8) 0;
  flex-shrink: 0;
  transition: color var(--t-base);
  white-space: nowrap;
}

.search-modal-cancel:hover { color: var(--color-rose-dark); }

.search-modal-body {
  padding: var(--space-24) var(--space-20);
  flex: 1;
}

.search-modal-label {
  font-family: var(--font-label);
  font-size: .6875rem; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  margin-bottom: var(--space-16);
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.search-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  padding: 7px var(--space-16);
  background: var(--color-cream);
  border: 1px solid var(--color-cream-dark);
  border-radius: var(--r-pill);
  font-family: var(--font-body); font-size: .875rem;
  color: var(--color-ink-mid);
  text-decoration: none;
  transition: all var(--t-base);
}

.search-tag:hover {
  border-color: var(--color-rose);
  background: var(--color-rose-tint);
  color: var(--color-rose);
}

.search-tag svg {
  width: 12px; height: 12px;
  stroke: currentColor; fill: none; stroke-width: 2;
}


/* =========================================
   RESPONSIVE — HEADER
========================================= */
@media (max-width: 1023px) {
  .site-nav       { display: none; }
  .mobile-drawer  { display: block; }
  .nav-toggle     { display: flex; }

  /* Show icons on mobile, push to right */
  .header-actions { display: flex; margin-left: auto; gap: 0; }
  .action-label   { display: none; }
  .action-btn     { padding: 7px 9px; }
  .action-badge   { right: 4px; top: 2px; min-width: 15px; height: 15px; font-size: 8px; }

  /* Hide desktop search bar — mobile uses trigger row */
  .header-search  { display: none; }

  /* Mobile search trigger row */
  .mobile-search-bar {
    display: block;
    padding: var(--space-8) var(--space-16) var(--space-12);
    background: var(--color-white);
    border-top: 1px solid var(--color-cream-dark);
  }
}

@media (max-width: 767px) {
  :root { --header-h: 58px; }
  .header-inner { padding-inline: var(--space-16); gap: var(--space-12); }
  .site-logo img { height: 38px; }
}

@media (max-width: 479px) {
  .header-inner { padding-inline: var(--space-12); gap: var(--space-8); }
  .site-logo img { height: 34px; }
}


/* =========================================
   RESPONSIVE — FOOTER
========================================= */
@media (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-40) var(--space-32);
  }
  .footer-brand { grid-column: 1 / -1; padding-right: 0; }
}

@media (max-width: 767px) {
  .footer-main   { padding: var(--space-40) var(--space-24) var(--space-32); }
  .footer-divider { padding-inline: var(--space-24); }
  .seo-strip     { padding: var(--space-32) var(--space-24); }
  .footer-bottom { padding: var(--space-20) var(--space-24); }
  .newsletter-section { padding: var(--space-56) var(--space-24); }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 479px) {
  .footer-grid { grid-template-columns: 1fr; }
  .nl-perks    { gap: var(--space-8); }
  .bottom-links { flex-wrap: wrap; gap: var(--space-16); }
}


/* =========================================
   BUTTON — LIGHT + GOLD VARIANTS
   (for use on dark/ink backgrounds)
========================================= */
.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(250,247,244,.4);
}
.btn-outline-light:hover {
  background: rgba(250,247,244,.08);
  border-color: rgba(250,247,244,.7);
}

.btn-outline-gold {
  background: transparent;
  color: var(--color-gold-bright);
  border-color: rgba(201,169,110,.35);
}
.btn-outline-gold:hover {
  background: rgba(201,169,110,.08);
  border-color: var(--color-gold-bright);
}


/* =========================================
   BREADCRUMB
   Shared across archive + single product
========================================= */
.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-family: var(--font-label);
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
}
.breadcrumb a { color: var(--color-ink-muted); text-decoration: none; transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--color-rose); }
.breadcrumb__sep { color: var(--color-ink-subtle); }
.breadcrumb [aria-current="page"] { color: var(--color-ink); }


/* =========================================
   SECTION HEADER COMPONENTS
   (shared across homepage + inner pages)
========================================= */

/* Eyebrow / kicker label above headings */
.section-label {
  font-family: var(--font-label);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-rose);
  display: block;
  margin-bottom: var(--space-8);
}

/* Gold decorative rule beneath headings */
.gold-line {
  width: 40px;
  height: 1px;
  background: var(--color-gold);
  display: block;
  margin-top: var(--space-12);
}
.gold-line--center { margin-inline: auto; }

/* Highlighted word inside a section heading */
.section-heading-highlight { color: var(--color-rose); }

/* "View All →" link */
.view-all-link {
  font-family: var(--font-label);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-rose);
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  transition: gap var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}
.view-all-link:hover { gap: var(--space-8); color: var(--color-rose-dark); }


/* =========================================
   PRODUCT TILE
   Reused on home (best-sellers, new-arrivals)
   and will be reused on shop / archive pages.
========================================= */
.product-tile {
  border: 1px solid var(--color-cream-dark);
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.product-tile__image-wrap {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  aspect-ratio: 1/1;
}

.product-tile__img-link { display: block; height: 100%; }

/* Placeholder shown until real product images are available */
.product-tile__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-8);
  background: linear-gradient(160deg, #f5e8e4, #ecddd9);
}
.product-tile__placeholder--purple { background: linear-gradient(160deg, #e8e4f5, #d9dbed); }
.product-tile__placeholder--green  { background: linear-gradient(160deg, #e4f0e8, #d9ede0); }
.product-tile__placeholder--gold   { background: linear-gradient(160deg, #f5f0e4, #ede6d9); }

.product-tile__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.product-tile:hover .product-tile__img { transform: scale(1.04); }

.product-tile__badge {
  position: absolute;
  top: var(--space-10);
  left: var(--space-10);
  font-family: var(--font-label);
  font-size: .5rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 8px;
  color: var(--color-white);
  line-height: 1.4;
}
.product-tile__badge--sale  { background: var(--color-rose); }
.product-tile__badge--new   { background: var(--color-gold); }
.product-tile__badge--trend { background: var(--color-ink); }

.product-tile__body {
  padding: var(--space-12) 14px;
}

.product-tile__cat {
  font-family: var(--font-label);
  font-size: .5625rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  margin-bottom: var(--space-4);
}

.product-tile__name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-ink);
  line-height: 1.3;
  margin-bottom: var(--space-8);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-tile__name a { color: inherit; transition: color var(--t-fast); }
.product-tile__name a:hover { color: var(--color-rose); }

.product-tile__price {
  font-family: var(--font-label);
  font-size: .9375rem;
  color: var(--color-ink);
}
.product-tile__was {
  color: var(--color-ink-muted);
  font-size: .6875rem;
  text-decoration: line-through;
  margin-left: var(--space-4);
}
.product-tile__discount {
  color: var(--color-rose);
  font-size: .6875rem;
  margin-left: var(--space-4);
}

/* ── Product tile action buttons (archive/list page only) ── */
.product-tile__wishlist {
  position: absolute;
  top: var(--space-12);
  right: var(--space-12);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-white);
  border: none;
  cursor: pointer;
  color: var(--color-ink-muted);
  box-shadow: 0 2px 8px rgba(28,26,24,.10);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--t-fast), transform var(--t-fast), color var(--t-fast), background var(--t-fast);
}

.product-tile--has-actions:hover .product-tile__wishlist,
.product-tile--has-actions:focus-within .product-tile__wishlist {
  opacity: 1;
  transform: translateY(0);
}

.product-tile__wishlist:hover,
.product-tile__wishlist:focus-visible {
  color: var(--color-rose);
  background: var(--color-rose-tint);
  outline: none;
}

.product-tile__wishlist.is-wishlisted {
  opacity: 1;
  transform: translateY(0);
  color: var(--color-rose);
}

.product-tile__wishlist.is-wishlisted svg {
  fill: var(--color-rose);
  stroke: var(--color-rose);
}

/* ATC — circle icon button, sits just below the wishlist button */
.product-tile__atc {
  position: absolute;
  top: var(--space-56);   /* 12px + 36px wishlist + 8px gap = 56px */
  right: var(--space-12);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-ink);
  box-shadow: 0 2px 8px rgba(28,26,24,.10);
  text-decoration: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--t-fast), transform var(--t-fast), color var(--t-fast), background var(--t-fast);
}

.product-tile--has-actions:hover .product-tile__atc,
.product-tile--has-actions:focus-within .product-tile__atc {
  opacity: 1;
  transform: translateY(0);
}

.product-tile__atc:hover,
.product-tile__atc:focus-visible {
  color: var(--color-rose);
  background: var(--color-rose-tint);
  outline: none;
}

/* Label always hidden — aria-label on the element covers accessibility */
.product-tile__atc-label { display: none; }
.product-tile__atc-icon  { display: block; flex-shrink: 0; }

/* Touch devices: both action buttons always visible, no transform */
@media (hover: none) {
  .product-tile__wishlist,
  .product-tile__atc {
    opacity: 1;
    transform: none;
  }
}

.product-tile__atc-spinner { display: none; animation: spin 0.7s linear infinite; flex-shrink: 0; }

@keyframes spin { to { transform: rotate(360deg); } }

.product-tile__atc.is-loading { background: var(--color-ink-mid); cursor: wait; pointer-events: none; }
.product-tile__atc.is-loading .product-tile__atc-spinner { display: block; }
.product-tile__atc.is-loading .product-tile__atc-icon { display: none; }

.product-tile__atc.is-added { background: var(--color-success); pointer-events: none; }

/* ── Toast notification ── */
.vandeya-toast {
  position: fixed;
  bottom: var(--space-32);
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: var(--space-10);
  padding: 13px var(--space-24);
  border-radius: var(--r-pill);
  font-family: var(--font-label);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .06em;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(28,26,24,.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.vandeya-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.vandeya-toast--success { background: var(--color-ink); color: var(--color-white); }
.vandeya-toast--error   { background: var(--color-error); color: var(--color-white); }


/* =========================================
   BLOG CARD
   Reused on home (blog-preview) and blog
   archive / category pages.
========================================= */
.blog-card { display: flex; flex-direction: column; }

.blog-card__image-wrap {
  position: relative;
  overflow: hidden;
  margin-bottom: var(--space-16);
  flex-shrink: 0;
}

.blog-card__placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: flex-end;
  padding: var(--space-12);
}

.blog-card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow);
}
.blog-card:hover .blog-card__img { transform: scale(1.04); }

.blog-card__tag {
  position: absolute;
  bottom: var(--space-12);
  left: var(--space-12);
  background: var(--color-rose);
  color: var(--color-white);
  font-family: var(--font-label);
  font-size: .5rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 10px;
}

.blog-card__date {
  display: block;
  font-family: var(--font-label);
  font-size: .625rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  margin-bottom: var(--space-8);
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.4375rem;
  font-weight: 600;
  color: var(--color-ink);
  line-height: 1.3;
  margin-bottom: var(--space-8);
  flex: 1;
}
.blog-card__title a { color: inherit; transition: color var(--t-fast); }
.blog-card__title a:hover { color: var(--color-rose); }

.blog-card__excerpt {
  font-size: .8775rem;
  color: var(--color-ink-muted);
  line-height: 1.7;
}

div[role="listitem"] {
    overflow: hidden;
}
