:root {
      --background: 30 33% 98%;
      --foreground: 18 22% 15%;
      --border: 24 18% 84%;
      --primary: 14 25% 18%;
      --primary-foreground: 36 40% 96%;
      --secondary: 28 26% 93%;
      --muted: 28 24% 90%;
      --muted-foreground: 20 10% 42%;
      --gold: 40 58% 56%;
      --gold-foreground: 14 22% 15%;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      background: hsl(var(--background));
      color: hsl(var(--foreground));
      font-family: "Manrope", system-ui, -apple-system, sans-serif;
      line-height: 1.5;
    }

    .font-heading {
      font-family: "Cormorant Garamond", Georgia, serif;
      letter-spacing: 0.02em;
    }

    .section-subheading {
      font-size: 0.72rem;
      letter-spacing: 0.24em;
      text-transform: uppercase;
      color: hsl(var(--muted-foreground));
    }

    .section-heading {
      font-family: "Cormorant Garamond", Georgia, serif;
      font-size: clamp(2rem, 4.3vw, 3.4rem);
      font-weight: 500;
      line-height: 1.05;
      margin: 0;
    }

.btn-primary {
      background: hsl(var(--primary));
      color: hsl(var(--primary-foreground));
      border: 1px solid transparent;
      padding: 0.72rem 1.4rem;
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .auth-submit-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      background: hsl(var(--primary));
      color: #fff;
      border: 1px solid hsl(var(--primary));
      padding: 0.72rem 1.25rem;
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .auth-submit-btn:hover {
      opacity: 0.92;
      transform: translateY(-1px);
    }

    .auth-shell {
      position: relative;
      overflow: hidden;
      background:
        radial-gradient(circle at 8% 12%, hsl(var(--gold) / 0.22), transparent 34%),
        radial-gradient(circle at 90% 84%, hsl(var(--primary) / 0.2), transparent 40%),
        linear-gradient(180deg, hsl(var(--secondary) / 0.62), hsl(var(--background)));
      padding: 3.5rem 0;
      min-height: calc(100vh - 150px);
    }

    .auth-wrap {
      position: relative;
      z-index: 1;
      width: min(1080px, 100%);
      margin: 0 auto;
      border: 1px solid hsl(var(--border));
      background: hsl(var(--background) / 0.72);
      box-shadow: 0 22px 54px rgba(29, 20, 15, 0.12);
      backdrop-filter: blur(2px);
      display: grid;
      grid-template-columns: 1fr;
      overflow: hidden;
    }

    .auth-visual {
      display: none;
      background:
        linear-gradient(165deg, hsl(var(--primary) / 0.96), hsl(17 22% 22% / 0.98)),
        linear-gradient(35deg, hsl(var(--gold) / 0.2), transparent 60%);
      color: hsl(var(--primary-foreground));
      padding: 2.6rem 2.35rem;
      position: relative;
      isolation: isolate;
    }

    .auth-visual::before,
    .auth-visual::after {
      content: "";
      position: absolute;
      border-radius: 999px;
      pointer-events: none;
      z-index: -1;
      opacity: 0.42;
      filter: blur(3px);
    }

    .auth-visual::before {
      width: 180px;
      height: 180px;
      right: -65px;
      top: -62px;
      background: hsl(var(--gold));
    }

    .auth-visual::after {
      width: 140px;
      height: 140px;
      left: -42px;
      bottom: -50px;
      background: hsl(var(--primary-foreground) / 0.28);
    }

    .auth-visual-kicker {
      margin: 0;
      font-size: 0.7rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: hsl(var(--gold));
    }

    .auth-visual-title {
      margin: 0.7rem 0 0;
      font-family: "Cormorant Garamond", Georgia, serif;
      font-size: clamp(2rem, 4vw, 2.7rem);
      font-weight: 500;
      line-height: 1.06;
      max-width: 14ch;
    }

    .auth-visual-copy {
      margin: 0.95rem 0 0;
      font-size: 0.92rem;
      line-height: 1.66;
      color: hsl(var(--primary-foreground) / 0.82);
      max-width: 30ch;
    }

    .auth-visual-points {
      list-style: none;
      padding: 0;
      margin: 2.1rem 0 0;
      display: grid;
      gap: 0.6rem;
      font-size: 0.8rem;
      color: hsl(var(--primary-foreground) / 0.88);
    }

    .auth-visual-points li {
      display: flex;
      align-items: center;
      gap: 0.58rem;
    }

    .auth-visual-points li::before {
      content: "";
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: hsl(var(--gold));
      box-shadow: 0 0 0 5px hsl(var(--gold) / 0.16);
      flex-shrink: 0;
    }

    .auth-card {
      background: #fff;
      padding: 2rem 1.2rem;
    }

    .auth-card-inner {
      width: min(430px, 100%);
      margin: 0 auto;
    }

    .auth-kicker {
      margin: 0;
      font-size: 0.68rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: hsl(var(--muted-foreground));
    }

    .auth-title {
      margin: 0.56rem 0 0;
      font-family: "Cormorant Garamond", Georgia, serif;
      font-size: clamp(1.9rem, 5.2vw, 2.35rem);
      line-height: 1.08;
      color: hsl(var(--foreground));
      font-weight: 500;
    }

    .auth-copy {
      margin: 0.5rem 0 0;
      font-size: 0.9rem;
      color: hsl(var(--muted-foreground));
      line-height: 1.6;
      max-width: 40ch;
    }

    .auth-error-box {
      margin-top: 1.2rem;
      border: 1px solid #f7c4c4;
      background: #fff4f4;
      color: #8f1d1d;
      padding: 0.78rem 0.92rem;
      font-size: 0.82rem;
      display: grid;
      gap: 0.2rem;
    }

    .auth-form {
      margin-top: 1.35rem;
      display: grid;
      gap: 0.9rem;
    }

    .auth-field {
      display: grid;
      gap: 0.36rem;
    }

    .auth-label {
      font-size: 0.67rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: hsl(var(--muted-foreground));
      font-weight: 600;
    }

    .auth-input {
      width: 100%;
      border: 1px solid hsl(var(--border));
      background: #fff;
      color: hsl(var(--foreground));
      padding: 0.74rem 0.78rem;
      font-size: 0.88rem;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
      outline: none;
    }

    .auth-input:focus {
      border-color: hsl(var(--foreground) / 0.45);
      box-shadow: 0 0 0 3px hsl(var(--gold) / 0.16);
    }

    .auth-meta-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.8rem;
      margin-top: 0.1rem;
      color: hsl(var(--muted-foreground));
      font-size: 0.82rem;
    }

    .auth-checkbox {
      display: inline-flex;
      align-items: center;
      gap: 0.42rem;
      cursor: pointer;
    }

    .auth-checkbox input {
      accent-color: hsl(var(--primary));
    }

    .auth-footnote {
      margin-top: 1.15rem;
      padding-top: 0.95rem;
      border-top: 1px solid hsl(var(--border));
      font-size: 0.86rem;
      color: hsl(var(--muted-foreground));
    }

    .auth-link {
      color: hsl(var(--foreground));
      font-weight: 600;
      text-underline-offset: 2px;
      text-decoration-thickness: 1px;
    }

    .auth-link:hover {
      text-decoration: underline;
    }

    @media (min-width: 900px) {
      .auth-wrap {
        grid-template-columns: 0.95fr 1.05fr;
      }

      .auth-visual {
        display: block;
      }

      .auth-card {
        padding: 2.7rem 2.2rem;
      }
    }

    @media (max-width: 600px) {
      .auth-shell {
        padding: 2.2rem 0;
      }

      .auth-card {
        padding: 1.65rem 1rem;
      }

      .auth-title {
        font-size: 1.86rem;
      }

      .auth-submit-btn {
        font-size: 0.74rem;
        letter-spacing: 0.1em;
      }
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      opacity: 0.92;
    }

    .btn-outline-gold {
      border: 1px solid hsl(var(--gold));
      color: hsl(var(--gold));
      padding: 0.72rem 1.4rem;
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      transition: all 0.25s ease;
    }

    .btn-outline-gold:hover {
      background: hsl(var(--gold) / 0.12);
    }

    .badge-sale,
    .badge-new {
      font-size: 0.62rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      padding: 0.26rem 0.48rem;
      font-weight: 600;
      backdrop-filter: blur(6px);
    }

    .badge-sale {
      background: hsl(2 72% 56% / 0.92);
      color: #fff;
    }

    .badge-new {
      background: hsl(154 66% 33% / 0.92);
      color: #fff;
    }

    .image-zoom {
      transition: transform 0.7s ease;
    }

    .group:hover .image-zoom {
      transform: scale(1.06);
    }

    .product-card-hover {
      transition: transform 0.25s ease;
    }

    .product-card-hover:hover {
      transform: translateY(-2px);
    }

    .animate-fade-up {
      animation: fade-up 0.9s ease both;
    }

    @keyframes fade-up {
      from {
        opacity: 0;
        transform: translateY(20px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    #lovable-badge {
      position: fixed;
      right: 16px;
      bottom: 16px;
      z-index: 9999;
      display: inline-flex;
      align-items: center;
      border-radius: 999px;
      background: hsl(var(--primary));
      color: hsl(var(--primary-foreground));
      border: 1px solid hsl(var(--primary-foreground) / 0.2);
      padding: 8px 10px;
      gap: 8px;
      box-shadow: 0 10px 28px hsl(var(--foreground) / 0.25);
      transition: opacity 0.24s ease, transform 0.24s ease;
    }

    #lovable-badge a {
      color: inherit;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    #lovable-badge-text {
      font-size: 11px;
      letter-spacing: 0.04em;
      opacity: 0.88;
    }

    #lovable-badge-divider {
      width: 1px;
      height: 18px;
      background: hsl(var(--primary-foreground) / 0.22);
    }

    #lovable-badge-close {
      border: 0;
      background: transparent;
      color: inherit;
      display: grid;
      place-items: center;
      cursor: pointer;
      opacity: 0.8;
      padding: 0;
    }

    #lovable-badge-close:hover {
      opacity: 1;
    }

    #lovable-badge.closing {
      opacity: 0;
      transform: translateY(8px);
      pointer-events: none;
    }
  
    .vastra-header { transition: box-shadow 0.2s ease; }
    .vastra-nav-row { transition: height 0.2s ease; }
    .vastra-header.is-scrolled .vastra-nav-row { height: 58px; }
    .vastra-logo { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.65rem; letter-spacing: 0.16em; color: #111; text-decoration: none; white-space: nowrap; line-height: 1; }
    .vastra-center { flex: 1; justify-content: center; min-width: 0; }
    .vastra-search-wrap { position: relative; width: 100%; max-width: 280px; min-width: 170px; flex-shrink: 0; }
    .vastra-search { width: 100%; border: 1px solid #e8e8e5; background: #fafaf8; border-radius: 999px; height: 36px; padding: 0 12px 0 36px; font-size: 12.5px; color: #222; outline: none; }
    .vastra-search::placeholder { color: #8a8a86; }
    .vastra-search:focus { border-color: #cfcfc8; background: #fff; }
    .vastra-search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #787873; pointer-events: none; }
    .vastra-nav-links { display: flex; align-items: center; gap: 4px; min-width: 0; white-space: nowrap; }
    .vastra-link { position: relative; border-radius: 999px; padding: 8px 10px; font-size: 12.5px; font-weight: 500; color: #555; text-decoration: none; transition: color 0.2s ease, background-color 0.2s ease; background: transparent; border: 0; cursor: pointer; font-family: inherit; line-height: 1.1; }
    .vastra-link:hover, .vastra-link:focus-visible { color: #111; background: #f5f5f3; outline: none; }
    .vastra-link.active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -5px; height: 1.5px; background: #111; border-radius: 2px; }
    .vastra-offers { color: #e05c20; background: #fff3ee; }
    .vastra-offers:hover, .vastra-offers:focus-visible { color: #c94c14; background: #ffe8de; }
    .vastra-dropdown { position: relative; }
    .vastra-link-btn { display: inline-flex; align-items: center; gap: 5px; }
    .vastra-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 185px; background: #fff; border: 1px solid #ecebe8; border-radius: 12px; box-shadow: 0 14px 30px rgba(0,0,0,0.08); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.18s ease; z-index: 60; }
    .vastra-dropdown:hover .vastra-menu, .vastra-dropdown:focus-within .vastra-menu { opacity: 1; visibility: visible; transform: translateY(0); }
    .vastra-menu a { display: block; padding: 8px 10px; border-radius: 8px; color: #444; font-size: 12.5px; text-decoration: none; }
    .vastra-menu a:hover { background: #f6f6f4; color: #111; }
    .vastra-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
    .vastra-icon-btn { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: #3f3f3c; text-decoration: none; transition: background-color 0.2s ease, color 0.2s ease; }
    .vastra-icon-btn:hover { background: #f3f3f1; color: #111; }
    .vastra-cart-btn { position: relative; }
    .vastra-cart-dot { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: #e05c20; border: 1px solid #fff; }
    @media (max-width: 1200px) { .vastra-nav-links { gap: 2px; } .vastra-link { padding: 8px 8px; } }
    @media (max-width: 1024px) { .vastra-nav-links { display: none; } .vastra-search-wrap { max-width: 320px; } }
    @media (max-width: 640px) { .vastra-search-wrap { max-width: 220px; min-width: 130px; } .vastra-logo { font-size: 1.4rem; } }

.home-glass-header.is-scrolled { background: rgba(255,255,255,0.82); border-color: rgba(229,229,229,0.95); box-shadow: 0 8px 24px rgba(0,0,0,0.07); }


.nav-dd .nav-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 190px;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.18s ease;
  z-index: 100;
}

.nav-dd .nav-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: #444;
  font-size: 12.5px;
  text-decoration: none;
}

.nav-dd .nav-menu a:hover {
  background: #f6f6f4;
  color: #111;
}

.nav-dd:hover .nav-menu,
.nav-dd:focus-within .nav-menu,
.nav-dd.open .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dd.open .nav-dd-btn svg,
.nav-dd:hover .nav-dd-btn svg {
  transform: rotate(180deg);
}

/* ── Wishlist & Cart Animations ── */

/* Wishlist heart pop */
.js-wishlist-btn {
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.15s ease;
}
.js-wishlist-btn.is-wishlisted svg {
  color: #e53e3e;
  filter: drop-shadow(0 0 4px rgba(229, 62, 62, 0.4));
  transition: color 0.15s, filter 0.2s;
}
.js-wishlist-btn:not(.is-wishlisted) svg {
  transition: color 0.15s, filter 0.15s;
  filter: none;
}
.js-wishlist-btn.animate-heart {
  animation: heartPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes heartPop {
  0% { transform: scale(1); }
  20% { transform: scale(0.7); }
  45% { transform: scale(1.25); }
  70% { transform: scale(0.92); }
  100% { transform: scale(1); }
}

/* Ring burst on wishlist add */
.js-wishlist-btn.is-wishlisted::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #e53e3e;
  opacity: 0;
  animation: ringBurst 0.4s ease-out;
  pointer-events: none;
}
@keyframes ringBurst {
  0% { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Floating particles burst on wishlist add */
.wishlist-particle {
  position: fixed;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10;
  animation: particleBurst 0.45s ease-out forwards;
}
@keyframes particleBurst {
  0% { opacity: 1; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(0); }
}

/* Add to cart button states */
#js-add-to-cart {
  position: relative;
  overflow: hidden;
  transition: background 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s ease, box-shadow 0.35s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
#js-add-to-cart:active:not(.is-adding) {
  transform: scale(0.95);
}
#js-add-to-cart.is-adding {
  pointer-events: none;
}
#js-add-to-cart.is-success {
  background: #16a34a !important;
  box-shadow: 0 4px 20px rgba(22, 163, 74, 0.35);
}

/* Checkmark draw animation */
.cart-check-svg {
  overflow: visible;
}
.cart-check-svg polyline {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: drawCheck 0.4s 0.1s ease forwards;
}
@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

/* Cart button shimmer */
#js-add-to-cart::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: none;
  pointer-events: none;
}
#js-add-to-cart.is-success::after {
  animation: btnShimmer 0.6s 0.2s ease forwards;
}
@keyframes btnShimmer {
  to { left: 150%; }
}

/* Cart button ripple */
.cart-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0);
  animation: rippleOut 0.6s ease-out;
  pointer-events: none;
}
@keyframes rippleOut {
  to { transform: scale(4); opacity: 0; }
}

/* Flying product clone */
.fly-clone {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  will-change: transform, opacity, width, height, top, left;
}
.fly-clone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Cart icon shake when item arrives */
.cart-icon-shake {
  animation: iconShake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}
@keyframes iconShake {
  0%, 100% { transform: rotate(0deg); }
  15% { transform: rotate(-12deg); }
  30% { transform: rotate(10deg); }
  45% { transform: rotate(-8deg); }
  60% { transform: rotate(6deg); }
  75% { transform: rotate(-3deg); }
}

/* Header badge bounce */
.badge-bounce {
  animation: badgeBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes badgeBounce {
  0% { transform: scale(0.3); }
  50% { transform: scale(1.4); }
  75% { transform: scale(0.85); }
  100% { transform: scale(1); }
}

/* Toast notification */
.cart-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 14px 24px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 16px 48px rgba(0,0,0,0.22), 0 0 0 1px rgba(255,255,255,0.08) inset;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
  pointer-events: none;
  backdrop-filter: blur(8px);
  max-width: 90vw;
}
.cart-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cart-toast .toast-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cart-toast .toast-icon svg polyline {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: drawCheck 0.35s 0.15s ease forwards;
}
.cart-toast .toast-thumb {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
}
.cart-toast a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 6px;
  opacity: 0.8;
  font-weight: 600;
  transition: opacity 0.2s;
}
.cart-toast a:hover { opacity: 1; }
.cart-toast .toast-progress {
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255,255,255,0.15);
  overflow: hidden;
}
.cart-toast .toast-progress-bar {
  height: 100%;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  animation: toastCountdown 2.8s linear forwards;
}
@keyframes toastCountdown {
  from { width: 100%; }
  to { width: 0%; }
}

/* Fly-to-cart animation */
.fly-to-cart {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.65s ease,
              width 0.65s ease,
              height 0.65s ease;
}

/* Cart item enter */
.cart-item-enter {
  animation: cartItemSlideIn 0.35s ease-out both;
}
@keyframes cartItemSlideIn {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}

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

/* Quantity change flash */
.qty-flash {
  animation: qtyFlash 0.3s ease;
}
@keyframes qtyFlash {
  0% { background: transparent; }
  50% { background: hsl(var(--gold) / 0.15); }
  100% { background: transparent; }
}

/* ── Collection Cards ── */

.collection-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  display: block;
  aspect-ratio: 3 / 4;
}

.collection-card-wide {
  aspect-ratio: 4 / 3;
}

.collection-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.18);
  border-top: 0.5px solid rgba(255, 255, 255, 0.3);
  padding: 10px 12px;
}

.collection-pill {
  color: #000000;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.collection-explore {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  color: rgba(0, 0, 0, 0.65);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: gap 0.2s ease;
}

.collection-card:hover .collection-explore {
  gap: 6px;
}

/* ── Checkout ── */

.ck-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}

.ck-step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--background));
  transition: all 0.25s ease;
}

.ck-step-circle span {
  font-size: 13px;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  transition: color 0.25s ease;
}

.ck-step.active .ck-step-circle {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary));
}

.ck-step.active .ck-step-circle span {
  color: hsl(var(--primary-foreground));
}

.ck-step.completed .ck-step-circle {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary));
}

.ck-step.completed .ck-step-circle span {
  font-size: 0;
}

.ck-step.completed .ck-step-circle::after {
  content: '✓';
  font-size: 15px;
  color: hsl(var(--primary-foreground));
}

.ck-step-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: hsl(var(--muted-foreground));
  transition: color 0.25s ease;
}

.ck-step.active .ck-step-label {
  color: hsl(var(--foreground));
  font-weight: 600;
}

.ck-step.completed .ck-step-label {
  color: hsl(var(--foreground));
}

.ck-step-line {
  flex: 1;
  height: 2px;
  background: hsl(var(--border));
  margin: 0 4px;
  margin-bottom: 22px;
  transition: background 0.25s ease;
}

.ck-step-line.completed {
  background: hsl(var(--primary));
}

.ck-step-panel {
  animation: fadeIn 0.3s ease;
}

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

.ck-address-card {
  display: block;
  border: 1px solid hsl(var(--border));
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ck-address-card:hover {
  border-color: hsl(var(--foreground) / 0.3);
}

.ck-address-card.selected {
  border-color: hsl(var(--foreground));
  box-shadow: 0 0 0 1px hsl(var(--foreground));
}

.ck-radio-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid hsl(var(--border));
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  transition: border-color 0.2s ease;
}

.ck-address-card.selected .ck-radio-dot,
.ck-radio-dot.active {
  border-color: hsl(var(--foreground));
}

.ck-address-card.selected .ck-radio-dot::after,
.ck-radio-dot.active::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  border-radius: 50%;
  background: hsl(var(--foreground));
}

.ck-payment-card {
  display: block;
  border: 1px solid hsl(var(--border));
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ck-payment-card:hover:not(.disabled) {
  border-color: hsl(var(--foreground) / 0.3);
}

.ck-payment-card.selected {
  border-color: hsl(var(--foreground));
  box-shadow: 0 0 0 1px hsl(var(--foreground));
}

.ck-payment-card.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── WhatsApp Float ── */

.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5), 0 4px 10px rgba(0,0,0,0.2);
}

.wa-float:active {
  transform: scale(0.95);
}

@media (max-width: 640px) {
  .wa-float {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
  }
  .wa-float svg {
    width: 24px;
    height: 24px;
  }
}

/* ── FAQ Accordion ── */

.faq-item {
  border: 1px solid hsl(var(--border));
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.open {
  border-color: hsl(var(--foreground) / 0.2);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: hsl(var(--foreground));
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease;
}

.faq-question:hover {
  background: hsl(var(--secondary) / 0.5);
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: hsl(var(--muted-foreground));
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 600px;
}

.faq-answer-inner {
  padding: 0 20px 18px;
  font-size: 14px;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
}

.faq-cat-btn {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  border: 1px solid hsl(var(--border));
  background: transparent;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}

.faq-cat-btn:hover {
  border-color: hsl(var(--foreground) / 0.3);
  color: hsl(var(--foreground));
}

.faq-cat-btn.active {
  background: hsl(var(--foreground));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--foreground));
}

/* ── Filter Tags ── */

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  background: hsl(var(--secondary));
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.filter-tag:hover {
  background: hsl(var(--muted));
  border-color: hsl(var(--foreground) / 0.3);
}

/* ── Blog ── */

.blog-card {
  display: block;
  border: 1px solid hsl(var(--border));
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}

.blog-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}

.blog-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.blog-content {
  font-size: 15px;
  line-height: 1.8;
  color: hsl(var(--foreground));
}

.blog-content p {
  margin-bottom: 1.2em;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Account Page ── */

.acct-card {
  background: #fff;
  border: 1px solid hsl(var(--border));
  border-radius: 0;
}

.acct-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px hsl(var(--gold) / 0.15);
}

.acct-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.acct-nav-item:hover {
  color: hsl(var(--foreground));
  background: hsl(var(--secondary) / 0.6);
}

.acct-nav-item.active {
  color: hsl(var(--foreground));
  background: hsl(var(--secondary));
  font-weight: 600;
  position: relative;
}

.acct-nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: hsl(var(--primary));
}

.acct-field {
  display: grid;
  gap: 6px;
}

.acct-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.acct-input {
  width: 100%;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.acct-input:focus {
  border-color: hsl(var(--foreground) / 0.4);
  box-shadow: 0 0 0 3px hsl(var(--gold) / 0.12);
}

.acct-input::placeholder {
  color: hsl(var(--muted-foreground) / 0.5);
}

.acct-error {
  font-size: 12px;
  color: hsl(0 72% 51%);
}

.acct-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: 1px solid transparent;
  padding: 10px 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.acct-btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.acct-stat-box {
  background: hsl(var(--secondary) / 0.5);
  padding: 16px;
  text-align: center;
}

.acct-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
}

.acct-alert-success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.acct-order-card {
  transition: box-shadow 0.2s ease;
}

.acct-order-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.acct-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0;
}

.acct-badge-pending {
  background: #fef3c7;
  color: #92400e;
}

.acct-badge-processing {
  background: #dbeafe;
  color: #1e40af;
}

.acct-badge-shipped {
  background: #e0e7ff;
  color: #3730a3;
}

.acct-badge-delivered {
  background: #dcfce7;
  color: #166534;
}

.acct-badge-cancelled {
  background: #fee2e2;
  color: #991b1b;
}
