/* ============================================================
   YARAZ.PK — Premium Dark-Themed Homepage Stylesheet
   A modern, luxury clothing brand experience.
   ============================================================ */

/* ------------------------------------------------------------
   DESIGN TOKENS (CSS Custom Properties)
   ------------------------------------------------------------ */
:root {
  /* Colors (Light Theme) */
  --color-bg:             #ffffff;
  --color-bg-secondary:   #f5f5f5;
  --color-bg-card:        #f9f9f9;
  --color-bg-elevated:    #ffffff;
  --color-text:           #0a0a0a;
  --color-text-secondary: #5a5a5a;
  --color-accent:         #c8b89a;
  --color-border:         rgba(10, 10, 10, 0.12);
  --color-border-hover:   rgba(10, 10, 10, 0.25);
  --color-overlay:        rgba(255, 255, 255, 0.85);

  /* Typography */
  --font-display: 'Instrument Serif', serif;
  --font-body:    'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* Motion */
  --ease-out-expo: cubic-bezier(0.25, 1, 0.5, 1);

  /* Layout */
  --nav-height:        72px;
  --container-max:     100%;
  --container-padding: clamp(1.25rem, 4vw, 3rem);
  --grid-gap:          clamp(1rem, 2vw, 1.5rem);

  /* Spacing Scale */
  --space-2xs: clamp(0.25rem, 0.5vw, 0.5rem);
  --space-xs:  clamp(0.5rem, 1vw, 0.75rem);
  --space-sm:  clamp(0.75rem, 1.5vw, 1rem);
  --space-md:  clamp(1rem, 2vw, 1.5rem);
  --space-lg:  clamp(2rem, 4vw, 3.5rem);
  --space-xl:  clamp(3rem, 6vw, 5rem);
  --space-2xl: clamp(4rem, 8vw, 7rem);
}


/* ============================================================
   1. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  cursor: none;
}

@media (pointer: coarse) {
  html, body, a, button, .nav-menu-btn {
    cursor: auto !important;
  }
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.4;
  letter-spacing: -0.02em;
  cursor: none;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Custom Cursor */
@media (pointer: fine) {
  * {
    cursor: none !important;
  }
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 99999;
  transform: translate3d(-50%, -50%, 0);
  will-change: transform;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s var(--ease-out-expo);
}

.cursor-arrow {
  width: 40px;
  height: 40px;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease-out-expo),
              transform 0.3s var(--ease-out-expo);
}

.custom-cursor.hovering {
  background-color: transparent;
}

.custom-cursor.hovering .cursor-arrow {
  opacity: 1;
  transform: translateY(0);
}

@media (pointer: coarse) {
  .custom-cursor {
    display: none !important;
  }
}

body.menu-open {
  overflow: hidden;
}

body.preloader-active {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  outline: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

input, textarea, select {
  font-family: inherit;
  outline: none;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Screen-Reader Only */
.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;
}


/* ============================================================
   2. SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 800ms var(--ease-out-expo),
              transform 800ms var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   3. PRELOADER
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease-out-expo),
              visibility 0.8s var(--ease-out-expo);
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden; pointer-events: none; transition: visibility 0s linear 0.7s; }

.preloader-image {
  width: 350px;
  max-width: 80%;
  height: auto;
  transform: scale(1);
  transition: transform 0.8s var(--ease-out-expo);
  /* Optional: image crispness during swapping */
  image-rendering: -webkit-optimize-contrast;
}

.preloader-image.grow {
  transform: scale(1.15);
}


/* ============================================================
   4. NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background-color 0.4s var(--ease-out-expo),
              backdrop-filter 0.4s var(--ease-out-expo);
}

.nav.scrolled {
  /* No background or blur on scroll as per user request */
}

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  color: #fff;
}

.nav-left {
  display: flex;
  justify-content: flex-start;
}

.nav-center {
  display: flex;
  justify-content: center;
}

.nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Logo */
.nav-logo {
  display: block;
  position: relative;
  z-index: 1001;
  transform-origin: left center;
}

.nav-logo-white,
.nav-logo-black {
  max-height: 32px;
  width: auto;
  transition: opacity 0.4s var(--ease-out-expo);
}

.nav-logo-white {
  display: block;
  opacity: 1;
}

.nav-logo-black {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.nav.scrolled .nav-logo-white,
body.menu-open .nav-logo-white {
  opacity: 0;
}

.nav.scrolled .nav-logo-black,
body.menu-open .nav-logo-black {
  opacity: 1;
}



/* Desktop Links */
.nav-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
}

.nav-link {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s var(--ease-out-expo);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-text);
  transition: width 0.4s var(--ease-out-expo);
}

.nav-link:hover {
  color: var(--color-text);
}

.nav-link:hover::after {
  width: 100%;
}

/* Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Cart */
.nav-cart {
  position: relative;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  transition: color 0.4s var(--ease-out-expo), opacity 0.3s var(--ease-out-expo);
}

.nav.scrolled .nav-cart,
body.menu-open .nav-cart {
  color: var(--color-text);
}

.nav-cart:hover {
  opacity: 0.7;
}

.nav-cart-count {
  font-size: 0.65rem;
  color: #fff;
  margin-left: 2px;
  font-variant-numeric: tabular-nums;
  transition: color 0.4s var(--ease-out-expo);
}

.nav.scrolled .nav-cart-count,
body.menu-open .nav-cart-count {
  color: var(--color-text);
}

/* Mobile Menu Button */
.nav-menu-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
  margin-left: 6vw; /* Shift it more to the right */
  position: relative;
  z-index: 1001;
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: inherit;
}

.nav-menu-btn::before {
  content: '';
  position: absolute;
  top: -10px;
  bottom: -10px;
  left: -10px;
  right: -10px;
  z-index: 0;
}

.nav-menu-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  position: relative;
  z-index: 1;
}

.nav-menu-bars .bar {
  display: block;
  width: 192px;
  height: 1px;
  background-color: #fff;
  position: relative;
  transition: transform 0.4s var(--ease-out-expo),
              opacity 0.4s var(--ease-out-expo),
              background-color 0.4s var(--ease-out-expo);
  transform-origin: center;
}

/* The second bar is faded by default */
.nav-menu-bars .bar:nth-child(2) {
  opacity: 0.5;
}

/* The third bar is hidden below by default */
.nav-menu-bars .bar:nth-child(3) {
  position: absolute;
  bottom: 0;
  left: 0;
  opacity: 0;
  transform: translateY(20px);
}

/* Text next to bars */
.nav-menu-text {
  position: absolute;
  left: calc(100% + 12px);
  top: 0;
  bottom: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  z-index: 1;
  transition: color 0.4s var(--ease-out-expo);
}

.nav-menu-text span {
  display: inline-block;
  transform: translateY(100%); /* initially hidden */
  transition: transform 0.4s var(--ease-out-expo);
}

/* Ticker effect pseudo-element (it will be empty so the text disappears) */
.nav-menu-text::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  transition: transform 0.4s var(--ease-out-expo);
}

/* Hover Animation (sliding marquee) */
.nav-menu-btn:not(.active):hover .nav-menu-bars .bar:nth-child(1) {
  transform: translateY(-20px);
  opacity: 0;
}
.nav-menu-btn:not(.active):hover .nav-menu-bars .bar:nth-child(2) {
  transform: translateY(-10px);
  opacity: 1; /* transitions to full opacity */
}
.nav-menu-btn:not(.active):hover .nav-menu-bars .bar:nth-child(3) {
  transform: translateY(0);
  opacity: 0.5; /* comes in faded */
}

/* Text appearing hover effect */
.nav-menu-btn:not(.active):hover .nav-menu-text span {
  transform: translateY(0);
}

.nav.scrolled .nav-menu-bars .bar,
body.menu-open .nav-menu-bars .bar {
  background-color: var(--color-text);
}

.nav.scrolled .nav-menu-text,
body.menu-open .nav-menu-text {
  color: var(--color-text);
}

/* Active State (X icon) */
.nav-menu-btn.active .nav-menu-bars .bar:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
  opacity: 1; /* override hover opacity */
}

.nav-menu-btn.active .nav-menu-bars .bar:nth-child(2) {
  transform: translateY(-5px) rotate(-45deg);
  opacity: 1; /* override faded state */
}

.nav-menu-btn.active .nav-menu-bars .bar:nth-child(3) {
  opacity: 0;
  visibility: hidden;
}

/* Mobile Overlay Menu */
.nav-menu {
  position: fixed;
  inset: 0;
  z-index: 1002;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: opacity 0.4s var(--ease-out-expo),
              visibility 0.4s var(--ease-out-expo),
              transform 0.4s var(--ease-out-expo);
}

.nav-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu-top {
  flex: 1 1 55%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  padding: var(--container-padding);
}

.nav-menu-header {
  position: absolute;
  top: var(--container-padding);
  right: var(--container-padding);
}

.nav-menu-close {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  background: none;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  color: #000;
  letter-spacing: 0.05em;
  padding: 8px;
}

.nav-menu-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  padding-left: clamp(2rem, 40vw, 45%);
}

.nav-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  margin: 0;
}

.nav-menu-link {
  font-family: var(--font-body);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  display: block;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.5s var(--ease-out-expo),
              opacity 0.5s var(--ease-out-expo),
              color 0.2s ease;
  transition-delay: 0s, 0s, 0s;
}

.nav-menu-link:hover {
  color: #666;
}

.nav-menu-sub {
  position: absolute;
  bottom: var(--container-padding);
  left: var(--container-padding);
  right: var(--container-padding);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: calc(100% - var(--container-padding) * 2);
}

.nav-menu-sub-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-menu-sub a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  letter-spacing: 0.05em;
  line-height: 1;
}

.nav-menu-bottom {
  flex: 0 0 45%;
  position: relative;
  overflow: hidden;
}

.nav-menu-image {
  position: absolute;
  inset: 0;
  background: url('../images/menu-p-1600.jpg') center/cover no-repeat;
}

.nav-menu-bottom-overlay {
  position: absolute;
  bottom: var(--container-padding);
  left: var(--container-padding);
  right: var(--container-padding);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: #fff;
}

.nav-menu-logo-icon svg {
  width: 32px;
  height: 32px;
}

.nav-menu-copyright {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.nav-menu-copyright,
.nav-menu-location {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1;
}

/* Staggered entrance for menu links */
.nav-menu.active .nav-menu-link {
  transform: translateY(0);
  opacity: 1;
}

.nav-menu.active .nav-menu-links li:nth-child(1) .nav-menu-link { transition-delay: 0.05s, 0.05s, 0s; }
.nav-menu.active .nav-menu-links li:nth-child(2) .nav-menu-link { transition-delay: 0.1s, 0.1s, 0s; }
.nav-menu.active .nav-menu-links li:nth-child(3) .nav-menu-link { transition-delay: 0.15s, 0.15s, 0s; }
.nav-menu.active .nav-menu-links li:nth-child(4) .nav-menu-link { transition-delay: 0.2s, 0.2s, 0s; }


/* ============================================================
   5. HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out-expo);
}

.hero-slide.active {
  opacity: 1;
}

/* Slide Backgrounds — subtle gradient variations per slide */
.hero-slide-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-secondary);
}

.hero-slide:nth-child(1) .hero-slide-bg {
  background: url('../images/Home_Hero.jpg') center/cover no-repeat;
  color: transparent;
}

.hero-slide:nth-child(2) .hero-slide-bg {
  background: url('../images/hero_02.jpg') center/cover no-repeat;
  color: transparent;
}

.hero-slide:nth-child(3) .hero-slide-bg {
  background: url('../images/03_1.jpg') center/cover no-repeat;
  color: transparent;
}

.hero-slide:nth-child(4) .hero-slide-bg {
  background: linear-gradient(
    315deg,
    #0a0a0a 0%,
    #111111 35%,
    #0e0d0c 65%,
    #0a0a0a 100%
  );
}

/* Hero Content */
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  z-index: 2;
  padding: var(--container-padding);
  padding-bottom: 5vh;
}

.hero-text-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  gap: 4px;
}

.hero-text-link-primary {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.hero-text-link-primary span {
  display: inline-block;
  transition: transform 0.4s var(--ease-out-expo);
}

.hero-text-link-primary::after {
  content: attr(data-text);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  transition: transform 0.4s var(--ease-out-expo);
}

.hero-text-link:hover .hero-text-link-primary span {
  transform: translateY(-100%);
}

.hero-text-link:hover .hero-text-link-primary::after {
  transform: translateY(-100%);
}

.hero-text-link-secondary {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* Hero Scroll Mouse Animation */
.hero-scroll-indicator {
  position: absolute;
  top: 50%;
  right: 5vw;
  transform: translateY(-50%);
  z-index: 3;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 4px;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite ease-out;
}

@keyframes scrollWheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 15px); opacity: 0; }
}



/* ============================================================
   6.5 BRAND INTRO
   ============================================================ */
.brand-intro {
  padding: var(--space-xl) 0 var(--space-md) 0;
}

.brand-intro-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr; /* Slightly narrower left column */
  gap: var(--space-xl);
  align-items: flex-start; /* Move text up to start at the top */
}

.brand-intro-left {
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

.brand-intro-logo {
  width: 100%;
  max-width: 100%;
  height: auto; /* Displayed complete till the bottom */
  display: block;
}

.brand-intro-right {
  display: flex;
  flex-direction: column;
}

.brand-intro-right p {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: var(--color-text);
  max-width: 100%;
}

/* ============================================================
   6.75 FEATURED (HORIZONTAL SCROLL)
   ============================================================ */
.featured-scroll-container {
  position: relative;
  height: 300vh; /* Determines how long the scroll lasts */
  background-color: transparent;
  margin-top: -40vh; /* Overlaps with brand-intro so scroll locks while flower is still on screen */
  z-index: 1; /* Slide over the sticky brand intro */
}

.featured-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  background-color: transparent;
  color: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  /* Add a subtle transition if background color changes */
  transition: background-color 0.4s ease;
}

.featured-text-track {
  width: max-content;
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px; /* Tiny pixel gap between products */
  will-change: transform;
  transform: translateX(100vw);
  margin-bottom: 10vh; /* Make horizontal scroll happen a bit higher */
}

.featured-text {
  font-family: var(--font-display);
  font-size: clamp(8rem, 20vw, 25rem);
  font-weight: normal;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  color: #000;
  margin: 0;
  padding: 0;
}

.featured-scroll-image {
  height: clamp(200px, 40vh, 500px);
  width: auto;
  object-fit: contain;
  border-radius: 8px; /* Optional subtle rounding */
}

.featured-products-container {
  position: relative;
  background-color: var(--color-bg);
  padding: var(--space-xl) 0;
  overflow: hidden;
}

/* ============================================================
   7. COLLECTION
   ============================================================ */
.collection {
  padding: var(--space-2xl) 0;
}

/* Header */
.collection-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-lg);
  gap: var(--space-md);
}

.collection-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xs);
}

.collection-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
  font-weight: normal;
}

.collection-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 4px;
  white-space: nowrap;
  transition: color 0.3s var(--ease-out-expo),
              border-color 0.3s var(--ease-out-expo);
}

.collection-link:hover {
  color: var(--color-text);
  border-color: var(--color-text);
}

.collection-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease-out-expo);
}

.collection-link:hover svg {
  transform: translateX(4px);
}

/* Product Marquee Track */
.product-marquee-track {
  display: flex;
  gap: 4px; /* Tiny pixel gap between products */
  width: max-content;
  animation: scrollMarquee 35s linear infinite;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 2px)); } /* Half of the 4px gap */
}

/* Product Card */
.product-card {
  position: relative;
  cursor: pointer;
  width: clamp(280px, 26vw, 450px);
}

.product-card-img {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin-bottom: var(--space-sm);
  background-color: var(--color-bg-card);
  border-radius: 2px;
}

.product-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

.img-b {
  opacity: 0;
}

.product-card:hover .img-b {
  opacity: 1;
}

.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--color-accent);
  color: var(--color-bg);
  padding: 4px 10px;
  font-weight: 600;
  z-index: 1;
}

.product-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--space-sm);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-xs);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s var(--ease-out-expo), opacity 0.4s ease;
  z-index: 2;
}

.product-card:hover .product-card-info {
  transform: translateY(0);
  opacity: 1;
}

.product-card-name {
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: #000;
  font-weight: 500;
}

.product-card-price {
  font-size: 0.85rem;
  color: #333;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* View All Products Button */
.featured-view-all {
  display: flex;
  justify-content: center;
  padding: 0 0 3rem;
  background-color: var(--color-bg);
  position: relative;
  z-index: 5;
}

.ticket-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 2.5rem;
  background-color: transparent;
  color: #000;
  border: 2px solid transparent;
  border-radius: 100px;
  text-decoration: none;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: border-color 0.4s var(--ease-out-expo), background-color 0.4s var(--ease-out-expo);
  cursor: pointer;
}

.ticket-text-wrapper {
  position: relative;
  display: inline-block;
  overflow: hidden;
  height: 1.1em; /* exactly enough to show one line of text */
}

.ticket-text,
.ticket-text-hover {
  display: block;
  line-height: 1.1em;
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.ticket-text {
  color: #000;
}

.ticket-text-hover {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  text-align: center;
  color: #fff;
  -webkit-text-stroke: 1.5px #000;
}

.ticket-btn:hover {
  border-color: #000;
  background-color: #000;
}

/* Scroll Reveal Override for Ticket Button */
.ticket-btn.reveal-ticket {
  opacity: 1;
  transform: none;
}

.ticket-btn.reveal-ticket:not(.visible) .ticket-text {
  transform: translateY(120%);
}

/* Hover effect only active when visible */
.ticket-btn.reveal-ticket.visible:hover .ticket-text {
  transform: translateY(-100%);
}

.ticket-btn.reveal-ticket.visible:hover .ticket-text-hover {
  transform: translateY(-100%);
}


/* ============================================================
   8. BRAND STORY
   ============================================================ */
.brand-story {
  position: relative;
  padding: 8rem 0;
  background-image: url('../images/our_story.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
}

.brand-story::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.brand-story > .container {
  position: relative;
  z-index: 2;
}

.brand-story-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.brand-story-text {
  max-width: 650px;
}

.brand-story-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-sm);
}

.brand-story-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
  font-weight: normal;
  margin-bottom: var(--space-md);
  color: #fff;
}

.brand-story-heading em {
  font-style: italic;
}

.brand-story-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-lg);
}

.brand-story-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 4px;
  transition: border-color 0.3s var(--ease-out-expo);
}

.brand-story-cta:hover {
  border-color: #fff;
}

.brand-story-cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease-out-expo);
}

.brand-story-cta:hover svg {
  transform: translateX(4px);
}

.brand-story-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    160deg,
    var(--color-bg-card) 0%,
    var(--color-bg-elevated) 50%,
    var(--color-bg-secondary) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-secondary);
}


/* ============================================================
   9. NEWSLETTER
   ============================================================ */
.newsletter {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.newsletter-inner {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  font-weight: normal;
  margin-bottom: var(--space-sm);
}

.newsletter-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 2rem;
}

.newsletter-input-group {
  display: flex;
  flex-direction: row;
  gap: 3rem;
}

@media (max-width: 600px) {
  .newsletter-input-group {
    flex-direction: column;
    gap: 2rem;
  }
}

.input-wrapper {
  position: relative;
  flex: 1;
}

.newsletter-input-sleek {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--color-border);
  padding: 1rem 0;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text);
  transition: border-color 0.3s ease;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
}

.newsletter-label {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  font-size: 1.2rem;
  pointer-events: none;
  transition: transform 0.4s var(--ease-out-expo), font-size 0.4s var(--ease-out-expo), color 0.4s var(--ease-out-expo);
}

.newsletter-input-sleek:focus ~ .newsletter-label,
.newsletter-input-sleek:valid ~ .newsletter-label {
  transform: translateY(-170%);
  font-size: 0.8rem;
  color: var(--color-text);
}

.input-border {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: var(--color-text);
  transition: width 0.4s var(--ease-out-expo), left 0.4s var(--ease-out-expo);
}

.newsletter-input-sleek:focus ~ .input-border {
  width: 100%;
  left: 0;
}

/* Sharp Brutalist Button */
.newsletter-btn-sleek {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.2rem 3rem;
  background-color: var(--color-text);
  color: var(--color-bg);
  border: 1px solid var(--color-text);
  border-radius: 0; /* SHARP edges */
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: color 0.4s ease;
  align-self: center;
  width: 100%; /* Make it full width for brutalist feel */
  max-width: 400px;
}

.newsletter-btn-sleek::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  z-index: 0;
}

.newsletter-btn-sleek:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.newsletter-btn-sleek:hover {
  color: var(--color-text);
  border: 1px solid var(--color-text);
}

.btn-text, .btn-icon {
  position: relative;
  z-index: 1;
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-icon svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s var(--ease-out-expo);
}

.newsletter-btn-sleek:hover .btn-icon svg {
  transform: translateX(6px);
}


/* ============================================================
   10. FOOTER
   ============================================================ */
.footer {
  padding: var(--space-2xl) 0 var(--space-lg);
  border-top: 1px solid var(--color-border);
}

/* Top Section */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-2xl);
  gap: var(--space-xl);
}

/* Link Grid */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  width: 100%;
}

.footer-col-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.footer-link::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 1.5px;
  background-color: var(--color-accent);
  margin-right: 0;
  transition: width 0.3s var(--ease-out-expo),
              margin-right 0.3s var(--ease-out-expo);
  flex-shrink: 0;
}

.footer-link:hover::before {
  width: 6px;
  margin-right: 8px;
}

.footer-link-text {
  display: inline-block;
  transition: transform 0.3s var(--ease-out-expo),
              color 0.3s var(--ease-out-expo);
  color: var(--color-text);
}

.instagram-link .footer-link-text,
a.instagram-link {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.tiktok-link .footer-link-text,
a.tiktok-link {
  background: linear-gradient(45deg, #00f2fe 0%, #fe0979 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.whatsapp-link .footer-link-text,
a.whatsapp-link {
  background: linear-gradient(45deg, #25D366 0%, #128C7E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.footer-link:not(.social-link):hover .footer-link-text {
  transform: translateX(8px);
}

.social-link::before {
  display: none !important;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0;
  opacity: 0;
  overflow: hidden;
  transition: width 0.3s var(--ease-out-expo), opacity 0.3s var(--ease-out-expo), margin-right 0.3s var(--ease-out-expo);
  margin-right: 0;
}

.social-icon svg {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  stroke: var(--color-text); /* Fallback, though the text gradient applies to the parent */
}

/* Because the gradient is applied to the text span, we apply the gradient to the icon separately if we want, or just leave it white */
.instagram-link .social-icon svg { stroke: url(#insta-grad); }
.tiktok-link .social-icon svg { stroke: url(#tiktok-grad); }
.whatsapp-link .social-icon svg { stroke: url(#wa-grad); }
/* But wait, we didn't add SVG defs. Let's just color them with a solid brand color for the stroke since text has gradient */
.instagram-link .social-icon svg { stroke: #e6683c; }
.tiktok-link .social-icon svg { stroke: #fe0979; }
.whatsapp-link .social-icon svg { stroke: #25D366; }

.social-link:hover .social-icon {
  width: 1.2rem;
  opacity: 1;
  margin-right: 8px;
}

/* Bottom Bar */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  gap: var(--space-md);
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}

.footer-bottom-link {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  transition: color 0.3s var(--ease-out-expo);
}

.footer-bottom-link:hover {
  color: var(--color-text);
}


/* ============================================================
   11. RESPONSIVE
   ============================================================ */

/* ---- Tablet / Small Desktop ---- */
@media (max-width: 991px) {
  .nav-links {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-story-inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .brand-story-text {
    max-width: 100%;
  }

  .footer-top {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---- Mobile Large ---- */
@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }

  .hero-title {
    font-size: clamp(2.25rem, 7vw, 4rem);
  }

  .collection-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .newsletter-input-row {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .hero-cta {
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
  }

  .brand-story-heading {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }

  .brand-story-body {
    font-size: 1rem;
    max-width: 100%;
  }

  .brand-intro-inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .brand-intro-right p {
    font-size: 1.25rem;
    max-width: 100%;
  }

  .newsletter-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
}

/* ---- Mobile Small ---- */
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(0.5rem, 2vw, 0.75rem);
  }

  .product-card-name {
    font-size: 0.75rem;
  }

  .product-card-price {
    font-size: 0.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .nav-menu-link {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .collection-title {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
  }
}




/* Auth Dropdown - New Animation */
.auth-dropdown {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  z-index: 2000;
  visibility: hidden; pointer-events: none; transition: visibility 0s linear 0.7s; }

.auth-dropdown.open { visibility: visible; pointer-events: auto; transition: visibility 0s linear 0s; }

.auth-dropdown-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  transform: translateY(-100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
  z-index: 1;
}

.auth-dropdown.open .auth-dropdown-bg {
  transform: translateY(0);
}

.auth-dropdown-inner {
  position: relative;
  background: #fff;
  padding: 60px 40px 40px;
  transform: translateY(-100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0s; z-index: 2;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-bottom-left-radius: 4px;
}

.auth-dropdown.open .auth-dropdown-inner {
  transform: translateY(0);
}

.auth-dropdown-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #000;
}

.auth-title {
  font-family: var(--font-primary);
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
  text-align: center;
}

.auth-form-compact {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.auth-form-compact input {
  padding: 15px;
  border: 1px solid #ddd;
  font-family: var(--font-secondary);
  font-size: 14px;
  outline: none;
  background: transparent;
}

.auth-form-compact input:focus {
  border-color: #000;
}

.auth-submit-btn {
  padding: 15px;
  background: #000;
  color: #fff;
  border: none;
  font-family: var(--font-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  margin-top: 10px;
}

.auth-submit-btn:hover {
  background: #333;
}

.auth-submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.auth-toggle-text {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}

.auth-toggle-text a {
  color: #000;
  text-decoration: underline;
  cursor: pointer;
}

.auth-msg {
  margin-top: 10px;
  font-size: 14px;
  text-align: center;
}
.auth-msg.error { color: #e74c3c; }
.auth-msg.success { color: #2ecc71; }

@media (max-width: 480px) {
  .auth-dropdown {
    width: 100%;
  }
}



 / *   C a r t   D r a w e r   * / 
 . c a r t - d r a w e r - o v e r l a y   { 
     p o s i t i o n :   f i x e d ; 
     t o p :   0 ;   l e f t :   0 ;   r i g h t :   0 ;   b o t t o m :   0 ; 
     b a c k g r o u n d :   r g b a ( 0 , 0 , 0 , 0 . 5 ) ; 
     z - i n d e x :   9 9 9 9 ; 
     o p a c i t y :   0 ; 
     v i s i b i l i t y :   h i d d e n ; 
     t r a n s i t i o n :   o p a c i t y   0 . 3 s   e a s e ; 
 } 
 . c a r t - d r a w e r - o v e r l a y . o p e n   { 
     o p a c i t y :   1 ; 
     v i s i b i l i t y :   v i s i b l e ; 
 } 
 . c a r t - d r a w e r   { 
     p o s i t i o n :   f i x e d ; 
     t o p :   0 ;   r i g h t :   0 ;   b o t t o m :   0 ; 
     w i d t h :   4 0 0 p x ; 
     m a x - w i d t h :   1 0 0 v w ; 
     b a c k g r o u n d :   # f f f ; 
     z - i n d e x :   1 0 0 0 0 ; 
     t r a n s f o r m :   t r a n s l a t e X ( 1 0 0 % ) ; 
     t r a n s i t i o n :   t r a n s f o r m   0 . 3 s   e a s e ; 
     d i s p l a y :   f l e x ; 
     f l e x - d i r e c t i o n :   c o l u m n ; 
     b o x - s h a d o w :   - 5 p x   0   1 5 p x   r g b a ( 0 , 0 , 0 , 0 . 1 ) ; 
 } 
 . c a r t - d r a w e r . o p e n   { 
     t r a n s f o r m :   t r a n s l a t e X ( 0 ) ; 
 } 
 . c a r t - h e a d e r   { 
     d i s p l a y :   f l e x ; 
     j u s t i f y - c o n t e n t :   s p a c e - b e t w e e n ; 
     a l i g n - i t e m s :   c e n t e r ; 
     p a d d i n g :   2 0 p x ; 
     b o r d e r - b o t t o m :   1 p x   s o l i d   # e e e ; 
 } 
 . c a r t - h e a d e r   h 2   { 
     m a r g i n :   0 ; 
     f o n t - f a m i l y :   G e o r g i a ,   s e r i f ; 
     f o n t - s t y l e :   i t a l i c ; 
     f o n t - s i z e :   2 4 p x ; 
 } 
 . c a r t - c l o s e   { 
     b a c k g r o u n d :   n o n e ;   b o r d e r :   n o n e ;   f o n t - s i z e :   2 4 p x ;   c u r s o r :   p o i n t e r ;   c o l o r :   # 1 1 1 ; 
 } 
 . c a r t - b o d y   { 
     f l e x :   1 ; 
     o v e r f l o w - y :   a u t o ; 
     p a d d i n g :   2 0 p x ; 
 } 
 . c a r t - e m p t y   { 
     t e x t - a l i g n :   c e n t e r ; 
     m a r g i n - t o p :   5 0 p x ; 
     c o l o r :   # 6 6 6 ; 
 } 
 . c a r t - e m p t y   a   { 
     d i s p l a y :   i n l i n e - b l o c k ; 
     m a r g i n - t o p :   2 0 p x ; 
     p a d d i n g :   1 2 p x   2 4 p x ; 
     b a c k g r o u n d :   # 1 1 1 ;   c o l o r :   # f f f ;   t e x t - d e c o r a t i o n :   n o n e ;   b o r d e r - r a d i u s :   4 p x ; 
 } 
 . c a r t - i t e m   { 
     d i s p l a y :   f l e x ;   g a p :   1 5 p x ;   m a r g i n - b o t t o m :   2 0 p x ; 
 } 
 . c a r t - i t e m - i m g   { 
     w i d t h :   8 0 p x ;   h e i g h t :   1 0 0 p x ;   o b j e c t - f i t :   c o v e r ;   b o r d e r - r a d i u s :   4 p x ; 
 } 
 . c a r t - i t e m - d e t a i l s   { 
     f l e x :   1 ; 
 } 
 . c a r t - i t e m - t i t l e   { 
     f o n t - w e i g h t :   6 0 0 ;   m a r g i n :   0   0   5 p x   0 ;   f o n t - s i z e :   1 4 p x ; 
 } 
 . c a r t - i t e m - m e t a   { 
     f o n t - s i z e :   1 2 p x ;   c o l o r :   # 6 6 6 ;   m a r g i n :   0   0   5 p x   0 ; 
 } 
 . c a r t - i t e m - p r i c e   { 
     f o n t - w e i g h t :   6 0 0 ;   f o n t - s i z e :   1 4 p x ; 
 } 
 . c a r t - i t e m - a c t i o n s   { 
     d i s p l a y :   f l e x ;   j u s t i f y - c o n t e n t :   s p a c e - b e t w e e n ;   a l i g n - i t e m s :   c e n t e r ;   m a r g i n - t o p :   1 0 p x ; 
 } 
 . q t y - c t r l   { 
     d i s p l a y :   f l e x ;   b o r d e r :   1 p x   s o l i d   # d d d ;   b o r d e r - r a d i u s :   4 p x ;   o v e r f l o w :   h i d d e n ; 
 } 
 . q t y - b t n   { 
     b a c k g r o u n d :   # f 9 f 9 f 9 ;   b o r d e r :   n o n e ;   w i d t h :   2 5 p x ;   c u r s o r :   p o i n t e r ;   f o n t - w e i g h t :   b o l d ; 
 } 
 . q t y - i n p u t   { 
     w i d t h :   3 0 p x ;   t e x t - a l i g n :   c e n t e r ;   b o r d e r :   n o n e ;   b o r d e r - l e f t :   1 p x   s o l i d   # d d d ;   b o r d e r - r i g h t :   1 p x   s o l i d   # d d d ;   f o n t - s i z e :   1 3 p x ; 
 } 
 . c a r t - r e m o v e   { 
     b a c k g r o u n d :   n o n e ;   b o r d e r :   n o n e ;   c o l o r :   # d 9 3 0 2 5 ;   f o n t - s i z e :   1 2 p x ;   c u r s o r :   p o i n t e r ;   t e x t - d e c o r a t i o n :   u n d e r l i n e ; 
 } 
 . c a r t - f o o t e r   { 
     p a d d i n g :   2 0 p x ;   b o r d e r - t o p :   1 p x   s o l i d   # e e e ;   b a c k g r o u n d :   # f d f d f d ; 
 } 
 . c a r t - t o t a l   { 
     d i s p l a y :   f l e x ;   j u s t i f y - c o n t e n t :   s p a c e - b e t w e e n ;   f o n t - w e i g h t :   6 0 0 ;   f o n t - s i z e :   1 8 p x ;   m a r g i n - b o t t o m :   1 5 p x ; 
 } 
 . c a r t - c h e c k o u t - b t n   { 
     d i s p l a y :   b l o c k ;   w i d t h :   1 0 0 % ;   p a d d i n g :   1 5 p x ;   b a c k g r o u n d :   # 1 1 1 ;   c o l o r :   # f f f ;   t e x t - a l i g n :   c e n t e r ;   t e x t - d e c o r a t i o n :   n o n e ;   b o r d e r :   n o n e ;   f o n t - w e i g h t :   6 0 0 ;   c u r s o r :   p o i n t e r ;   b o r d e r - r a d i u s :   4 p x ; 
 } 
 . c a r t - c h e c k o u t - b t n : h o v e r   {   b a c k g r o u n d :   # 3 3 3 ;   } 
  
 

/* --- Cart Drawer --- */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 10002;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: #fff;
  z-index: 10003;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -5px 0 25px rgba(0,0,0,0.15);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid #eee;
}

.cart-title {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  margin: 0;
}

.cart-close-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #111;
  padding: 5px;
}

.cart-drawer-body {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
}

.cart-shop-btn {
  background: #111;
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.cart-shop-btn:hover {
  background: #333;
}

/* --- Cart Items --- */
.cart-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f0f0f0;
}
.cart-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.cart-item-img {
  width: 70px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
  background-color: #f9f9f9;
}
.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4px;
}
.cart-item-title {
  font-weight: 600;
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #111;
  line-height: 1.4;
}
.cart-item-meta {
  font-size: 11px;
  color: #888;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cart-item-price {
  font-weight: 600;
  font-size: 13px;
  margin: 0;
}
.cart-item-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.qty-ctrl {
  display: flex;
  align-items: center;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
  height: 28px;
}
.qty-btn {
  background: #fff;
  border: none;
  width: 28px;
  height: 100%;
  cursor: pointer;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 0.2s;
  padding: 0;
}
.qty-btn:hover {
  background: #f5f5f5;
}
.qty-input {
  width: 30px;
  height: 100%;
  text-align: center;
  border: none;
  border-left: 1px solid #e5e5e5;
  border-right: 1px solid #e5e5e5;
  font-size: 12px;
  font-weight: 600;
  color: #111;
  padding: 0;
}
.qty-input:focus {
  outline: none;
}
.cart-remove {
  background: none;
  border: none;
  color: #888;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  transition: color 0.2s;
}
.cart-remove:hover {
  color: #d93025;
}
.cart-footer {
  padding: 24px;
  background: #fff;
  border-top: 1px solid #eee;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.02);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.cart-checkout-btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: #111;
  color: #fff;
  text-align: center;
  text-decoration: none;
  border: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
  margin-bottom: 12px;
}
.cart-checkout-btn:hover {
  background: #333;
}
.cart-continue-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: transparent;
  color: #111;
  text-align: center;
  text-decoration: none;
  border: 1px solid #ddd;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s;
}
.cart-continue-btn:hover {
  background: #f9f9f9;
  border-color: #111;
}
