/* ============================================================
   NONO COLLECTION — Stylesheet
   Design tokens: near-black base, antique gold accent,
   warm ivory text, Playfair Display + Inter type pairing.
   ============================================================ */

:root {
  /* Color tokens */
  --color-bg:          #0a0908;
  --color-surface:     #161412;
  --color-surface-2:   #1f1c19;
  --color-border:      #2d2a26;
  --color-ivory:       #f5f1e8;
  --color-ivory-dim:   #c7c0b3;
  --color-gold:        #c9a227;
  --color-gold-bright: #e8c468;
  --color-gold-dim:    #8a7224;

  /* Type */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --max-width: 1200px;
  --header-height: 72px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 14px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  background: var(--color-bg);
  color: var(--color-ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

::selection { background: var(--color-gold); color: var(--color-bg); }

:focus-visible {
  outline: 2px solid var(--color-gold-bright);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Safety net: the hero/product-card entrance effects use animation
   fill-mode "both", which already guarantees the element is visible
   before AND after the animation runs. This rule is an extra guard
   for browsers that don't support the "animation" property at all —
   in that case nothing below should ever depend on JS or animation
   state to become visible. */
@supports not (animation-name: fadeUp) {
  .hero-eyebrow, .hero-title, .hero-copy, .hero-actions, .product-card {
    opacity: 1;
    transform: none;
  }
}

/* ============ UTILITY ============ */

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.9rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-ivory);
}

.section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}

.section-intro {
  color: var(--color-ivory-dim);
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  vertical-align: middle;
}
.btn svg {
  display: block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-bg);
}
.btn-gold:hover {
  background: var(--color-gold-bright);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-ivory);
}
.btn-ghost:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-bright);
}

.btn.disabled,
.btn[disabled] {
  opacity: 0.48;
  cursor: not-allowed;
  background: var(--color-border);
  color: var(--color-ivory-dim);
  border-color: var(--color-border);
  box-shadow: none;
}

.btn-large { padding: 1.05rem 2.4rem; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ============ HEADER ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(10, 9, 8, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.brand-link {
  display: flex;
  align-items: center;
}
.header-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform var(--transition);
}
.brand-link:hover .header-logo {
  transform: scale(1.05);
}
.wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.wordmark-main {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-ivory);
}
.wordmark-sub {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--color-gold);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  gap: 2.2rem;
}

.nav-link {
  position: relative;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--color-ivory-dim);
  padding: 0.3rem 0;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--color-gold);
  transition: width var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--color-ivory);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ivory);
  border-radius: 50%;
  transition: background var(--transition);
}
.icon-btn:hover { background: var(--color-surface-2); }
.icon-btn svg { width: 20px; height: 20px; }

.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--color-gold);
  color: var(--color-bg);
  font-size: 0.62rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  transition: transform var(--transition);
}
.menu-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--color-ivory);
  border-radius: 999px;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}
.menu-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ============ HERO ============ */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 162, 39, 0.08), transparent 70%),
    var(--color-bg);
}

.hero-stitch {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 38px,
      rgba(201, 162, 39, 0.12) 38px,
      rgba(201, 162, 39, 0.12) 40px
    );
  mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black, transparent 75%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.4rem;
  animation: fadeUp 0.8s var(--transition) 0.1s both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--color-ivory);
  margin-bottom: 1.6rem;
  animation: fadeUp 0.8s var(--transition) 0.2s both;
}
.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--color-gold-bright);
}

.hero-copy {
  font-size: 1.05rem;
  color: var(--color-ivory-dim);
  max-width: 540px;
  margin: 0 auto 2.4rem;
  animation: fadeUp 0.8s var(--transition) 0.3s both;
}

.hero-copy-secondary {
  animation-delay: 0.38s;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s var(--transition) 0.46s both;
}

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

.scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.6;
}
.scroll-cue span {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
.scroll-cue p {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-ivory-dim);
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============ SHOP SECTION ============ */

.shop-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6rem 1.5rem;
}

.filter-bar {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.55rem 1.3rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--color-ivory-dim);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  transition: all var(--transition);
}
.filter-btn:hover {
  border-color: var(--color-gold-dim);
  color: var(--color-ivory);
}
.filter-count {
  margin-left: 0.35rem;
  color: var(--color-ivory-dim);
  font-size: 0.85rem;
}
.filter-btn.active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-bg);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.6rem;
}

.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
  animation: fadeUp 0.6s var(--transition) both;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold-dim);
  box-shadow: 0 12px 30px -10px rgba(201, 162, 39, 0.15);
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-surface-2);
  cursor: pointer;
}
.product-image-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.04) 100%);
  opacity: 1;
  animation: shimmer 1.4s infinite ease-in-out;
  z-index: 1;
}
.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition), opacity 0.3s ease;
  opacity: 0;
}
.product-image-wrap img.loaded {
  opacity: 1;
}
.product-image-wrap img:not(.loaded) {
  filter: blur(0.6px);
}
.product-image-wrap.loaded::before {
  opacity: 0;
  visibility: hidden;
}
.product-card:hover .product-image-wrap img {
  transform: scale(1.05);
}

.product-quickadd {
  position: absolute;
  bottom: 0.7rem;
  right: 0.7rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(6px);
  transition: all var(--transition);
  z-index: 2;
}
.product-card:hover .product-quickadd {
  opacity: 1;
  transform: translateY(0);
}
@media (hover: none), (max-width: 880px) {
  .product-quickadd {
    opacity: 1;
    transform: translateY(0);
  }
}
.product-quickadd svg { width: 18px; height: 18px; }

.new-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(201, 162, 39, 0.96);
  color: var(--color-bg);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  z-index: 3;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.product-info {
  padding: 1rem 1.1rem 1.2rem;
}
.product-category-tag {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-dim);
  margin-bottom: 0.3rem;
}
.product-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-ivory);
  margin-bottom: 0.4rem;
  cursor: pointer;
}
.product-price {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-gold-bright);
}
.product-price.unavailable {
  color: var(--color-ivory-dim);
  font-weight: 500;
  font-size: 0.82rem;
}

.empty-state {
  text-align: center;
  color: var(--color-ivory-dim);
  padding: 3rem 0;
}

/* ============ ABOUT SECTION ============ */

.about-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 6rem 1.5rem;
}

.about-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p:not(.section-eyebrow) {
  color: var(--color-ivory-dim);
  margin-top: 1.2rem;
  max-width: 480px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.stat {
  text-align: center;
  padding: 1.6rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-gold);
}
.stat-label {
  font-size: 0.75rem;
  color: var(--color-ivory-dim);
  letter-spacing: 0.03em;
}

/* ============ CONTACT SECTION ============ */

.contact-section {
  text-align: center;
  padding: 7rem 1.5rem;
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(201, 162, 39, 0.07), transparent 70%),
    var(--color-bg);
}

.contact-inner {
  max-width: 860px;
  margin: 0 auto;
}

.contact-copy {
  color: var(--color-ivory-dim);
  margin: 1.2rem 0 2.2rem;
}

.contact-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 720px) {
  .contact-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.contact-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 209, 74, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

.contact-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 0.9rem;
  background: rgba(255, 209, 74, 0.12);
  color: var(--color-gold);
  flex-shrink: 0;
}

.contact-link {
  display: inline-block;
  color: var(--color-ivory);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}

.contact-link:hover {
  color: var(--color-gold);
}

.contact-link strong {
  font-weight: 700;
  color: inherit;
}

.page-translate-card {
  margin-top: 1.4rem;
  display: flex;
  justify-content: center;
}

.page-translate-card .btn {
  min-width: 220px;
}

@media (max-width: 640px) {
  .translator-header {
    flex-direction: column;
    align-items: stretch;
  }

  .translator-selects {
    width: 100%;
  }
}

/* ============ FOOTER ============ */

.site-footer {
  border-top: 1px solid var(--color-border);
  text-align: left;
  padding: 5rem 1.5rem 0;
  background: var(--color-surface);
}

.footer-brand {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.footer-logo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
}
.footer-tag {
  font-size: 0.78rem;
  color: var(--color-ivory-dim);
  margin-bottom: 0.4rem;
}
.footer-copy {
  font-size: 0.72rem;
  color: var(--color-border);
}

.footer-inner-expanded {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.1fr;
  gap: 2.5rem 3rem;
  padding-bottom: 3.5rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-blurb {
  font-size: 0.82rem;
  color: var(--color-ivory-dim);
  max-width: 280px;
  line-height: 1.6;
  margin-top: 0.4rem;
}

.footer-heading {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.4rem;
}

.footer-link {
  font-size: 0.85rem;
  color: var(--color-ivory-dim);
  transition: color var(--transition);
  width: fit-content;
}
.footer-link:hover { color: var(--color-gold-bright); }
.footer-link-static { cursor: default; }
.footer-link-static:hover { color: var(--color-ivory-dim); }

.footer-link-icon {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-link-icon svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--color-gold-dim);
  transition: color var(--transition);
}
.footer-link-icon:hover svg {
  color: var(--color-gold-bright);
}
.footer-hours {
  margin-top: 0.3rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--color-border);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 1.4rem 1.5rem;
  text-align: center;
}
.footer-bottom .footer-copy { font-size: 0.72rem; color: var(--color-border); }
.footer-bottom .footer-author { font-size: 0.72rem; color: var(--color-border); margin-top: 0.3rem; }

@media (max-width: 880px) {
  .footer-inner-expanded {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
  }
  .footer-brand-col { grid-column: 1 / -1; margin-bottom: 0.5rem; }
}

@media (max-width: 480px) {
  .site-footer { padding-top: 3.5rem; }
  .footer-inner-expanded { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer-logo { width: 72px; height: 72px; }
}

/* ============ CART DRAWER ============ */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  z-index: 200;
}
.cart-overlay.active { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(420px, 100vw);
  height: 100%;
  background: var(--color-surface);
  border-left: 1px solid var(--color-border);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition);
}
.cart-drawer.active { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
.cart-header h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}
.cart-item-image {
  width: 64px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-surface-2);
}
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }

.cart-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.cart-item-price {
  font-size: 0.82rem;
  color: var(--color-gold-bright);
  margin-bottom: 0.5rem;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.qty-btn {
  width: 22px;
  height: 22px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: border-color var(--transition);
}
.qty-btn:hover { border-color: var(--color-gold); }
.qty-val { font-size: 0.85rem; min-width: 16px; text-align: center; }

.cart-item-remove {
  align-self: start;
  justify-self: end;
  color: var(--color-ivory-dim);
  font-size: 0.72rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cart-item-remove:hover { color: var(--color-gold-bright); }

.cart-empty {
  display: none;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  text-align: center;
  color: var(--color-ivory-dim);
  padding: 2rem;
}

.cart-footer {
  padding: 1.3rem 1.5rem 1.6rem;
  border-top: 1px solid var(--color-border);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.cart-note {
  font-size: 0.74rem;
  color: var(--color-ivory-dim);
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Empty-cart state toggling */
.cart-drawer.is-empty .cart-items,
.cart-drawer.is-empty .cart-footer { display: none; }
.cart-drawer.is-empty .cart-empty { display: flex; }

/* ============ TOAST ============ */

.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--color-gold);
  color: var(--color-bg);
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 300;
  white-space: nowrap;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ============ PRODUCT MODAL ============ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  z-index: 250;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }

.product-modal {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  max-width: 760px;
  width: 100%;
  max-height: 88vh;
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transform: scale(0.96);
  transition: transform var(--transition);
}
.modal-overlay.active .product-modal { transform: scale(1); }

.modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  background: rgba(10,9,8,0.6);
  z-index: 2;
}

.modal-image {
  background: var(--color-surface-2);
  aspect-ratio: 4/5;
}
.modal-image img { width: 100%; height: 100%; object-fit: cover; }

.modal-info {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.modal-category {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-dim);
  margin-bottom: 0.6rem;
}
.modal-info h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 0.7rem;
}
.modal-price {
  font-size: 1.15rem;
  color: var(--color-gold-bright);
  font-weight: 600;
  margin-bottom: 1.6rem;
}

/* ============ HERO GRID & COLLAGE SHOWCASE ============ */

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  text-align: left;
  z-index: 1;
  position: relative;
}

.hero-inner {
  max-width: 620px;
  margin: 0;
}

.hero-copy {
  margin: 0 0 2.4rem;
}

.hero-actions {
  justify-content: flex-start;
}

.hero-showcase {
  position: relative;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeUp 1s var(--transition) 0.3s both;
}

.collage-item {
  position: absolute;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--color-border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  transition: transform 0.5s var(--transition);
}
.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.collage-item:hover {
  transform: scale(1.05) translateY(-5px) !important;
  z-index: 5 !important;
  border-color: var(--color-gold-bright);
}

.collage-item-1 {
  width: 200px;
  height: 260px;
  top: 15px;
  left: 20px;
  transform: rotate(-6deg);
  z-index: 1;
}
.collage-item-2 {
  width: 220px;
  height: 290px;
  top: 75px;
  left: 170px;
  z-index: 3;
  border-color: var(--color-gold-dim);
}
.collage-item-3 {
  width: 170px;
  height: 220px;
  top: 180px;
  left: 20px;
  transform: rotate(8deg);
  z-index: 2;
}

/* ============ SHOP SEARCH & SORT CONTROLS ============ */

.shop-controls {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  align-items: center;
  max-width: 600px;
  margin: -1.5rem auto 3rem;
  padding: 0 1.5rem;
  width: 100%;
}

.search-wrap {
  position: relative;
  flex: 1;
}
.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--color-ivory-dim);
  pointer-events: none;
  transition: color var(--transition);
}
.search-wrap input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.6rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-ivory);
  font-family: inherit;
  font-size: 0.85rem;
  transition: all var(--transition);
}
.search-wrap input:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 10px rgba(201, 162, 39, 0.15);
  background: var(--color-surface-2);
}
.search-wrap input:focus + .search-icon {
  color: var(--color-gold-bright);
}

.sort-wrap select {
  padding: 0.65rem 2.2rem 0.65rem 1.2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-ivory);
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23c7c0b3' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 12px;
}
.sort-wrap select:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 10px rgba(201, 162, 39, 0.15);
  background: var(--color-surface-2);
}

/* ============ QUICKVIEW SIZE SELECTOR ============ */

.modal-selector {
  margin-bottom: 1.6rem;
}
.selector-label {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-ivory-dim);
  margin-bottom: 0.6rem;
  font-weight: 600;
}
.size-options {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.size-opt-btn {
  min-width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-ivory-dim);
  transition: all var(--transition);
  background: transparent;
}
.size-opt-btn:hover {
  border-color: var(--color-gold-dim);
  color: var(--color-ivory);
}
.size-opt-btn.active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-bg);
}

/* ============ CART SIZE LABELS ============ */

.cart-item-size {
  font-size: 0.72rem;
  color: var(--color-ivory-dim);
  background: var(--color-surface-2);
  padding: 1px 6px;
  border-radius: 2px;
  width: fit-content;
  margin-bottom: 0.2rem;
  border: 1px solid var(--color-border);
}

/* ============ MICRO-ANIMATIONS & BADGES ============ */

@keyframes badgePop {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
.badge-pop .cart-count {
  animation: badgePop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ============ FLOATING ACTION BUTTONS (Back-to-top, Translate, WhatsApp) ============
   Stack order from bottom: WhatsApp (1.5rem) → translate (5.5rem) → back-to-top (9.5rem)
   All anchored to right: 1.5rem for a clean vertical column.
   ============ */

.back-to-top {
  position: fixed;
  bottom: 9.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  color: var(--color-ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 201;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-bright);
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(201, 162, 39, 0.15);
}
.back-to-top svg {
  width: 18px;
  height: 18px;
}

/* ============ FLOATING TRANSLATE BUTTON ============ */

.translate-float {
  position: fixed;
  right: 1.5rem;
  bottom: 5.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  color: var(--color-ivory);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 200;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.translate-float:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-bright);
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(201, 162, 39, 0.15);
}
.translate-float svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.translate-float-label {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-gold);
  line-height: 1;
}

/* ============ FLOATING WHATSAPP BUTTON ============ */

.whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  z-index: 200;
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(0,0,0,0.4);
}
.whatsapp-float svg {
  width: 26px;
  height: 26px;
}

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

@media (max-width: 880px) {
  .about-inner { grid-template-columns: 1fr; }
  .product-modal { grid-template-columns: 1fr; }
  .modal-image { aspect-ratio: 16/10; }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
    padding-top: 2rem;
  }
  .hero-inner {
    margin: 0 auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-showcase {
    height: 380px;
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
    position: relative;
  }
  /* Centre the cluster by anchoring from 50% instead of left:0 */
  .collage-item-1 { width: 150px; height: 195px; left: calc(50% - 160px); top: 15px; }
  .collage-item-2 { width: 170px; height: 220px; left: calc(50% - 10px);  top: 60px; }
  .collage-item-3 { width: 130px; height: 170px; left: calc(50% - 175px); top: 175px; }
}

@media (max-width: 760px) {
  .main-nav { display: flex; }
  .menu-toggle { display: flex; }

  .main-nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition), opacity var(--transition), transform var(--transition);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
  }

  .main-nav.mobile-open {
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 1.2rem 1.5rem;
    gap: 1rem;
    max-height: 420px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hero { min-height: 80vh; padding: 7rem 1.5rem 3rem; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .shop-controls {
    flex-direction: column;
    gap: 0.8rem;
  }
  .search-wrap, .sort-wrap, .sort-wrap select {
    width: 100%;
  }
  .hero-showcase {
    height: 280px;
    max-width: 320px;
  }
  .collage-item-1 { width: 110px; height: 143px; left: calc(50% - 120px); top: 10px; }
  .collage-item-2 { width: 125px; height: 162px; left: calc(50% - 5px);   top: 50px; }
  .collage-item-3 { width: 95px;  height: 125px; left: calc(50% - 130px); top: 130px; }
}
