/* -------------------------------------------------------------
 * StyleXWear Storefront CSS Design System
 * ------------------------------------------------------------- */

/* Google Fonts Imports */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,200;0,300;0,400;0,700;1,300;1,700&display=swap');

/* CSS Variables */
:root {
  --color-background: #000000;
  --color-foreground: #ffffff;
  --color-background-alt: #0a0a0a;
  --color-card-background: #0d0d0d;
  --color-card-border: #1a1a1a;
  --color-accent: #ffffff;
  --color-accent-subdued: #b3b3b3;
  --color-border: #222222;
  --color-error: #ff4d4d;
  
  --font-family: 'Montserrat', sans-serif;
  --ideal-width: 1440px;
  --container-margin: 48px;
  
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
}

@media only screen and (max-width: 767px) {
  :root {
    --container-margin: 16px;
  }
}

/* Reset and Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
  background-color: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-family);
}

body {
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.06em;
  overflow-x: hidden;
  position: relative;
  background: radial-gradient(circle at 50% 40%, #161224 0%, #08070d 50%, #000000 100%);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #000000;
}
::-webkit-scrollbar-thumb {
  background: #222222;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #444444;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

button {
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
  outline: none;
}

/* Page Overlay Canvas background */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
}

/* Main content wrapper to sit above Canvas */
main, header, footer, .announcement-bar-wrapper, .drawer {
  position: relative;
  z-index: 2;
}

/* Utility Layouts */
.container {
  max-width: var(--ideal-width);
  margin: 0 auto;
  padding: 0 var(--container-margin);
}

.flex {
  display: flex;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.grid {
  display: grid;
}

/* Section Header Styles */
.section-header {
  margin-bottom: 4rem;
  text-align: center;
}

.section-header h2 {
  font-size: 3.2rem;
  font-weight: 200;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* -------------------------------------------------------------
 * Component: Announcement Bar
 * ------------------------------------------------------------- */
.announcement-bar-wrapper {
  background-color: #000000;
  border-bottom: 1px solid var(--color-border);
  height: 36px;
  overflow: hidden;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.announcement-bar-slider {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.6s ease;
}

.announcement-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-foreground);
}

/* -------------------------------------------------------------
 * Component: Main Header Navigation
 * ------------------------------------------------------------- */
header.header {
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition-smooth);
}

header.header.sticky-scrolled {
  padding: 10px 0;
}

.header-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 80px;
}

header.header.sticky-scrolled .header-content {
  height: 60px;
}

.header-item.--left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-item-link-icon svg {
  stroke: var(--color-foreground);
  transition: var(--transition-fast);
}

.header-item-link-icon:hover svg {
  transform: scale(1.1);
  stroke: var(--color-accent-subdued);
}

.header-shortlinks {
  display: flex;
  gap: 24px;
}

@media only screen and (max-width: 991px) {
  .header-shortlinks {
    display: none;
  }
}

.header-main-menu-link {
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff !important;
}

.header-main-menu-link:hover {
  opacity: 0.7;
}

.header-logo {
  display: flex;
  align-items: center;
}

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

.header-item.--right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.cart-blip {
  background-color: var(--color-error);
  color: #ffffff;
  border-radius: 50%;
  font-size: 1rem;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -6px;
  right: -6px;
}

.cart-link-wrapper {
  position: relative;
}

/* -------------------------------------------------------------
 * Component: Hero Slider
 * ------------------------------------------------------------- */
.hero-slider-section {
  position: relative;
  width: 100vw;
  height: 70vh;
  overflow: hidden;
  background-color: #000000;
}

@media only screen and (max-width: 767px) {
  .hero-slider-section {
    height: 80vh;
  }
}

.hero-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-image-wrapper img.mobile {
  display: none;
}

@media screen and (max-width: 749px) {
  .hero-slide-image-wrapper img.desktop {
    display: none;
  }
  .hero-slide-image-wrapper img.mobile {
    display: block;
  }
}

.hero-slide-content {
  position: relative;
  z-index: 5;
  text-align: center;
  color: #ffffff;
  max-width: 800px;
  padding: 20px;
}

.hero-slide-content h2 {
  font-size: 4.8rem;
  font-weight: 200;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.btn-primary {
  display: inline-block;
  background-color: #ffffff;
  color: #000000;
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  padding: 15px 40px;
  text-transform: uppercase;
  border-radius: 0px;
  transition: var(--transition-smooth);
  border: 1px solid #ffffff;
}

.btn-primary:hover {
  background-color: transparent;
  color: #ffffff;
}

/* Slider Controls */
.hero-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.4);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition-fast);
}

.hero-slider-nav:hover {
  background-color: rgba(255,255,255,0.2);
}

.hero-slider-nav.prev {
  left: 20px;
}
.hero-slider-nav.next {
  right: 20px;
}

.hero-slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}

.hero-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  transition: var(--transition-fast);
}

.hero-slider-dot.active {
  background-color: #ffffff;
  transform: scale(1.3);
}

/* -------------------------------------------------------------
 * Component: AI Horror Marquee
 * ------------------------------------------------------------- */
.marquee-section {
  background-color: #000000;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 15px 0;
  overflow: hidden;
  user-select: none;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}

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

.marquee-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.marquee-text {
  font-family: monospace;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #ffffff;
}

.marquee-separator {
  display: inline-block;
  margin: 0 30px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.4rem;
}

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

/* -------------------------------------------------------------
 * Component: Glass Heading (NOT FOR EVERYONE)
 * ------------------------------------------------------------- */
/* -------------------------------------------------------------
 * Component: Cinematic "NOT FOR EVERYONE" Section
 * ------------------------------------------------------------- */
.glass-heading-section {
  padding: 30px 0;
  text-align: center;
  overflow: hidden;
}

.glass-heading-container {
  display: inline-block;
  position: relative;
  padding: 24px 60px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.glass-heading-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.1) 50%,
    rgba(255,255,255,0) 100%
  );
  animation: shine-sweep 4s infinite linear;
}

.glass-heading-text {
  font-size: 4rem;
  font-weight: 200;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #ffffff;
  position: relative;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

@keyframes shine-sweep {
  0% { left: -100%; }
  100% { left: 200%; }
}

@media only screen and (max-width: 767px) {
  .glass-heading-text {
    font-size: 2.4rem;
    letter-spacing: 0.25em;
  }
  .glass-heading-container {
    padding: 16px 30px;
  }
}

/* -------------------------------------------------------------
 * Component: Collection Capsules
 * ------------------------------------------------------------- */
.collection-capsules-section {
  padding: 35px 0;
  background-color: transparent;
  overflow: hidden;
}

.collection-capsules-carousel {
  position: relative;
}

.collection-capsules-container {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  scroll-behavior: smooth;
  padding: 20px 40px;
}

.collection-capsules-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.collection-capsule-card {
  position: relative;
  flex: 0 0 200px;
  height: 400px;
  border-radius: 100px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  transition: var(--transition-smooth);
}

.collection-capsule-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%);
  z-index: 2;
  transition: var(--transition-smooth);
}

.collection-capsule-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.collection-capsule-card:hover .collection-capsule-image {
  transform: scale(1.08);
}

.collection-capsule-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  border-color: rgba(255,255,255,0.2);
}

.collection-capsule-card-content {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  text-align: center;
  width: 80%;
}

.collection-capsule-label {
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

@media only screen and (max-width: 767px) {
  .collection-capsule-card {
    flex: 0 0 140px;
    height: 280px;
  }
  .collection-capsules-container {
    padding: 10px 16px;
    gap: 16px;
  }
  .collection-capsule-label {
    font-size: 1.2rem;
  }
}

/* Capsules Nav buttons */
.capsule-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.capsule-nav-btn:hover {
  background-color: #ffffff;
  color: #000000;
}

.capsule-nav-btn.prev { left: 10px; }
.capsule-nav-btn.next { right: 10px; }

/* -------------------------------------------------------------
 * Component: Latest Drops / Product Card Grid
 * ------------------------------------------------------------- */
.latest-drops-section {
  padding: 40px 0;
  background-color: transparent;
}

.latest-drops-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

@media only screen and (max-width: 1024px) {
  .latest-drops-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media only screen and (max-width: 600px) {
  .latest-drops-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .latest-drops-grid .product-card {
    border-radius: 14px;
  }
  
  .latest-drops-grid .product-info {
    padding: 12px;
    gap: 4px;
  }
  
  .latest-drops-grid .product-title {
    font-size: 1.25rem;
  }
  
  .latest-drops-grid .product-price {
    font-size: 1.3rem;
  }
  
  .latest-drops-grid .add-to-cart-btn {
    height: 30px;
    padding: 0 10px;
    bottom: 8px;
    right: 8px;
    font-size: 0.75rem;
    border-radius: 15px;
  }
  
  .latest-drops-grid .wishlist-icon-btn {
    width: 32px;
    height: 32px;
    top: 8px;
    right: 8px;
  }
  
  .latest-drops-grid .wishlist-icon-btn svg {
    width: 14px;
    height: 14px;
  }
}

/* Premium Product Card (Awwwards Style) */
.product-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1),
              box-shadow 0.45s cubic-bezier(0.25, 1, 0.5, 1),
              border-color 0.45s ease;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.product-card:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6),
              0 0 25px rgba(255, 255, 255, 0.02);
}

/* 4:5 Aspect Ratio Container */
.product-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 125%; /* 4:5 ratio */
  overflow: hidden;
  background-color: #0b0b0d;
}

.product-image-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.product-image-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-image-slide {
  min-width: 100%;
  height: 100%;
}

.product-image-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card:hover .product-image-slide img {
  transform: scale(1.05);
}

/* Image Slider Hover Navigation Buttons */
.prod-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease, background-color 0.3s ease;
  z-index: 5;
  border: none;
  color: #ffffff;
}

.product-card:hover .prod-slider-btn {
  opacity: 1;
}

.prod-slider-btn:hover {
  background-color: #ffffff;
  color: #000000;
}

.prod-slider-btn.prev { left: 10px; }
.prod-slider-btn.next { right: 10px; }

/* Dot Indicators for Card Slider */
.product-slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.product-card:hover .product-slider-dots {
  opacity: 1;
}

.product-slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  transition: background-color 0.3s ease;
}

.product-slider-dot.active {
  background-color: #ffffff;
}

/* Wishlist Button */
.wishlist-icon-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              background-color 0.3s ease,
              border-color 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.wishlist-icon-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  transition: fill 0.3s ease, stroke 0.3s ease;
}

.wishlist-icon-btn.active svg {
  fill: #ff4d4d;
  stroke: #ff4d4d;
}

.wishlist-icon-btn:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Glass Add to Cart Capsule Button (Bottom Right of Image Wrapper) */
.add-to-cart-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  z-index: 10;
  height: 38px;
  padding: 0 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
              opacity 0.35s ease,
              background-color 0.3s,
              color 0.3s,
              border-color 0.3s,
              box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-card:hover .add-to-cart-btn {
  opacity: 1;
  transform: translateY(0);
}

.add-to-cart-btn:hover {
  transform: scale(1.05);
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

@media only screen and (max-width: 767px) {
  /* Keep always visible and slightly smaller on mobile touch screens */
  .add-to-cart-btn {
    opacity: 1;
    transform: translateY(0);
    height: 32px;
    padding: 0 12px;
    bottom: 10px;
    right: 10px;
    font-size: 0.85rem;
  }
}

.product-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
}

/* Premium Information Section */
.product-info {
  padding: 24px;
  background: #0b0b0d;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.product-title {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin: 0;
}

.product-title a {
  color: var(--color-foreground-subdued);
  text-decoration: none;
  transition: color 0.3s ease;
}

.product-card:hover .product-title a {
  color: #ffffff;
}

.product-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
}

/* -------------------------------------------------------------
 * Component: Editorial Showcase (StyleXWear PREMIUM)
 * ------------------------------------------------------------- */
.editorial-showcase-section {
  padding: 45px 0;
  overflow: hidden;
}

.editorial-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  background-color: #080808;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}

@media only screen and (max-width: 991px) {
  .editorial-container {
    grid-template-columns: 1fr;
  }
}

.editorial-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: #000000;
  min-height: 450px;
}

.editorial-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-overlay-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: auto;
  pointer-events: none;
  opacity: 0.85;
}

.editorial-content {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

@media only screen and (max-width: 767px) {
  .editorial-content {
    padding: 30px 20px;
  }
}

.editorial-content h2 {
  font-size: 3.2rem;
  font-weight: 200;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.editorial-content p {
  font-size: 1.5rem;
  color: var(--color-accent-subdued);
  line-height: 1.8;
}

/* -------------------------------------------------------------
 * Component: Curved Carousel (Featured Products)
 * ------------------------------------------------------------- */
/* -------------------------------------------------------------
 * Premium Apple-Style 3D Cover Flow Carousel
 * ------------------------------------------------------------- */
.curved-carousel-section {
  padding: 120px 0;
  overflow: hidden;
  background-color: #000000;
  position: relative;
}

/* 3D Perspective container with reflection lights */
.curved-carousel-wrapper {
  position: relative;
  width: 100%;
  height: 580px;
  margin: 40px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1600px;
  perspective-origin: 50% 35%;
  transform-style: preserve-3d;
  overflow: visible;
}

@media only screen and (max-width: 767px) {
  .curved-carousel-wrapper {
    height: 440px;
  }
}

.curved-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out; /* Handles manual dragging inertia */
}

/* Luxurious Card Shell */
.curved-carousel-card {
  position: absolute;
  width: 320px;
  height: 470px; /* Slightly taller for Add to Cart button space */
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 22px;
  overflow: hidden;
  cursor: grab;
  transform-style: preserve-3d;
  will-change: transform, opacity, filter;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  
  /* Smooth color updates only - transform is updated dynamically at 60 FPS by JS */
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  
  /* Double Layer Dynamic Shadow */
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.85),
              0 0 40px rgba(255, 255, 255, 0.01) inset;
}

@media only screen and (max-width: 767px) {
  .curved-carousel-card {
    width: 240px;
    height: 380px;
  }
}

.curved-carousel-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.0) 100%);
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes coverflow-card-float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

.curved-carousel-card.active:not(:hover) .curved-carousel-card-inner {
  animation: coverflow-card-float 5s ease-in-out infinite;
}

.curved-carousel-image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  background-color: #0b0b0d;
}

.curved-carousel-image {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Never crop garment */
  transform: scale(1.001);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  background-color: #0b0b0d;
}

.curved-carousel-card.active .curved-carousel-image {
  transform: scale(1.03);
}

/* Luxury card text & Add to Cart button integration */
.curved-carousel-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background-color: #0b0b0d;
  flex-grow: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.curved-carousel-product-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0;
}

.curved-carousel-product-title a {
  color: #ffffff;
  text-decoration: none;
  pointer-events: auto; /* Make click-through interactive */
  transition: color 0.3s ease;
}

.curved-carousel-product-title a:hover {
  color: var(--color-accent-subdued);
}

.curved-carousel-product-price {
  font-size: 1.4rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.05em;
  margin: 0 0 4px 0;
}

/* Glass Add to Cart Circular Button (Bottom Right of Image Wrapper) */
.curved-carousel-add-to-cart {
  position: absolute;
  bottom: 15px;
  right: 15px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto; /* Override parent pointer-events: none */
  opacity: 0;
  transform: translateY(10px);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
              opacity 0.35s ease,
              background-color 0.3s ease,
              border-color 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  padding: 0;
}

.curved-carousel-add-to-cart svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
  stroke-width: 2;
  transition: stroke 0.3s ease;
}

.curved-carousel-card:hover .curved-carousel-add-to-cart {
  opacity: 1;
  transform: translateY(0);
}

.curved-carousel-add-to-cart:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

@media only screen and (max-width: 767px) {
  /* Keep always visible and slightly smaller on mobile touch screens */
  .curved-carousel-add-to-cart {
    opacity: 1;
    transform: translateY(0);
    width: 36px;
    height: 36px;
    bottom: 10px;
    right: 10px;
  }
  .curved-carousel-add-to-cart svg {
    width: 16px;
    height: 16px;
  }
}

/* Click Overlay link */
.curved-carousel-click-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
}

/* active glowing border reflection */
.curved-carousel-card.active {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 45px 90px rgba(0, 0, 0, 0.95),
              0 0 30px rgba(255, 255, 255, 0.05);
}

/* Hover shine highlight sweep */
.curved-carousel-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0) 70%
  );
  z-index: 10;
  transition: none;
}

.curved-carousel-card.active:hover::before {
  left: 150%;
  transition: left 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}



/* -------------------------------------------------------------
 * Component: FAQ Accordions
 * ------------------------------------------------------------- */
.faq-section {
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
}

.faq-wrapper {
  max-width: 800px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item summary {
  padding: 24px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary h3 {
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.faq-item summary svg {
  transition: transform 0.3s ease;
}

.faq-item[open] summary svg {
  transform: rotate(180deg);
}

.faq-item-body {
  padding: 0 0 24px;
  font-size: 1.5rem;
  color: var(--color-accent-subdued);
  line-height: 1.8;
}

.faq-item-body p {
  margin-bottom: 12px;
}

.faq-item-body ol, .faq-item-body ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.faq-item-body li {
  margin-bottom: 6px;
}

/* -------------------------------------------------------------
 * Component: Footer
 * ------------------------------------------------------------- */
footer.footer {
  background-color: #000000;
  border-top: 1px solid var(--color-border);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

@media only screen and (max-width: 991px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 479px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h4 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

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

.footer-links a {
  font-size: 1.3rem;
  color: var(--color-accent-subdued);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-newsletter-text {
  font-size: 1.3rem;
  color: var(--color-accent-subdued);
  margin-bottom: 16px;
}

.footer-newsletter-form {
  display: flex;
  border-bottom: 1px solid #ffffff;
  padding-bottom: 8px;
}

.footer-newsletter-input {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.3rem;
  font-family: inherit;
  flex-grow: 1;
  outline: none;
}

.footer-newsletter-input::placeholder {
  color: #555555;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--color-border);
  font-size: 1.2rem;
  color: #555555;
  text-align: center;
}

/* -------------------------------------------------------------
 * Component: Cart & Wishlist & Search Drawers
 * ------------------------------------------------------------- */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 450px;
  max-width: 100vw;
  height: 100vh;
  background-color: #000000;
  border-left: 1px solid var(--color-border);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}

.drawer.open {
  transform: translateX(0);
}

.drawer-header {
  padding: 24px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-header h3 {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.drawer-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.05);
}

.drawer-close:hover {
  background-color: #ffffff;
  color: #000000;
}

.drawer-content {
  flex-grow: 1;
  overflow-y: auto;
  padding: 24px;
}

/* Overlay Screen */
.page-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 190;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.page-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Cart Items inside Drawer */
.cart-empty-message {
  text-align: center;
  padding: 40px 0;
  color: var(--color-accent-subdued);
  font-size: 1.5rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.cart-item-image {
  width: 80px;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
  background-color: #0d0d0d;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-title {
  font-size: 1.4rem;
  font-weight: 700;
}

.cart-item-variant {
  font-size: 1.2rem;
  color: var(--color-accent-subdued);
  margin-top: 4px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.qty-btn:hover {
  background-color: #ffffff;
  color: #000000;
}

.cart-item-qty-val {
  font-size: 1.3rem;
  min-width: 20px;
  text-align: center;
}

.cart-item-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

.cart-item-price {
  font-size: 1.4rem;
  font-weight: 700;
}

.cart-item-remove {
  font-size: 1.2rem;
  color: var(--color-error);
  cursor: pointer;
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.8rem;
  font-weight: 700;
}

.btn-checkout {
  width: 100%;
  background-color: #ffffff;
  color: #000000;
  text-align: center;
  padding: 16px 0;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

.btn-checkout:hover {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}

/* -------------------------------------------------------------
 * Component: Search Drawer
 * ------------------------------------------------------------- */
.search-input-wrapper {
  display: flex;
  border-bottom: 2px solid #ffffff;
  padding-bottom: 10px;
  margin-bottom: 30px;
}

.search-field {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  font-family: inherit;
  flex-grow: 1;
  outline: none;
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.search-result-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.search-result-image {
  width: 60px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 2px;
}

.search-result-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.search-result-title {
  font-size: 1.4rem;
  font-weight: 700;
}

.search-result-price {
  font-size: 1.2rem;
  color: var(--color-accent-subdued);
  margin-top: 4px;
}

/* -------------------------------------------------------------
 * Component: Newsletter discount popup
 * ------------------------------------------------------------- */
.newsletter-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 800px;
  max-width: 90vw;
  background-color: #050505;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  z-index: 250;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  box-shadow: 0 30px 100px rgba(0,0,0,0.8);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.newsletter-modal.open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.newsletter-modal-image-wrapper {
  background-color: #000000;
  position: relative;
  aspect-ratio: 3 / 4;
  height: 100%;
}

.newsletter-modal-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.newsletter-modal-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  position: relative;
}

@media only screen and (max-width: 767px) {
  .newsletter-modal {
    grid-template-columns: 1fr;
    max-height: 90vh;
  }
  .newsletter-modal-image-wrapper {
    display: none;
  }
  .newsletter-modal-content {
    padding: 30px 24px;
  }
}

.newsletter-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  background-color: rgba(255,255,255,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.newsletter-modal-close:hover {
  background-color: #ffffff;
  color: #000000;
}

.newsletter-modal-content h3 {
  font-size: 2.8rem;
  font-weight: 200;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.newsletter-modal-content p {
  font-size: 1.4rem;
  color: var(--color-accent-subdued);
  line-height: 1.6;
}

.newsletter-modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-modal-input {
  background-color: #111111;
  border: 1px solid var(--color-border);
  color: #ffffff;
  font-size: 1.4rem;
  padding: 12px 16px;
  border-radius: 0px;
  font-family: inherit;
  outline: none;
  transition: var(--transition-fast);
}

.newsletter-modal-input:focus {
  border-color: #ffffff;
}

.newsletter-modal-btn {
  background-color: #ffffff;
  color: #000000;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 12px 0;
  text-align: center;
  transition: var(--transition-smooth);
}

.newsletter-modal-btn:hover {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}

/* -------------------------------------------------------------
 * Product Page Layout
 * ------------------------------------------------------------- */
.product-page-container {
  padding: 60px 0;
  margin-top: 20px;
}

.product-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
}

@media only screen and (max-width: 991px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-gallery-main {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: #050505;
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.product-gallery-thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 5px;
}

.product-thumbnail {
  width: 80px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--color-border);
  cursor: pointer;
  border-radius: 2px;
  transition: var(--transition-fast);
}

.product-thumbnail.active, .product-thumbnail:hover {
  border-color: #ffffff;
}

.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-details-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.product-breadcrumbs {
  font-size: 1.2rem;
  color: var(--color-accent-subdued);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.product-page-title {
  font-size: 3.6rem;
  font-weight: 200;
  letter-spacing: 0.05em;
}

.product-page-price {
  font-size: 2.4rem;
  font-weight: 700;
}

.product-size-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-size-label {
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.product-size-options {
  display: flex;
  gap: 12px;
}

.size-option {
  width: 50px;
  height: 50px;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 2px;
  transition: var(--transition-fast);
}

.size-option:hover {
  border-color: #ffffff;
}

.size-option.active {
  background-color: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.product-actions {
  display: flex;
  gap: 20px;
}

.product-actions .btn-add-to-cart {
  flex-grow: 1;
  background-color: #ffffff;
  color: #000000;
  text-align: center;
  padding: 16px 0;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid #ffffff;
  transition: var(--transition-smooth);
}

.product-actions .btn-add-to-cart:hover {
  background-color: transparent;
  color: #ffffff;
}

.product-actions .btn-wishlist {
  width: 54px;
  height: 54px;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.product-actions .btn-wishlist:hover {
  border-color: #ffffff;
}

.product-actions .btn-wishlist svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #ffffff;
}

.product-actions .btn-wishlist.active svg {
  fill: var(--color-error);
  stroke: var(--color-error);
}

.product-page-description {
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--color-accent-subdued);
  border-top: 1px solid var(--color-border);
  padding-top: 30px;
}

/* Curved Carousel Nav Buttons */
.curved-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.curved-carousel-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
  transform: translateY(-50%) scale(1.08);
  color: #ffffff;
}

.curved-carousel-btn.prev {
  left: 40px;
}

.curved-carousel-btn.next {
  right: 40px;
}

@media only screen and (max-width: 767px) {
  .curved-carousel-btn.prev {
    left: 12px;
  }
  .curved-carousel-btn.next {
    right: 12px;
  }
}

/* Navigation Dropdown Menu styling */
.dropdown-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.dropdown-wrapper > a {
  color: inherit;
  text-decoration: none;
}

.header-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #0b0b0b;
  border: 1px solid var(--color-border);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  border-radius: 4px;
}

.dropdown-wrapper:hover .header-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-dropdown-menu a {
  padding: 10px 20px;
  font-size: 1.3rem;
  color: var(--color-accent-subdued);
  text-decoration: none;
  text-align: left;
  transition: var(--transition-fast);
}

.header-dropdown-menu a:hover {
  background-color: rgba(255,255,255,0.05);
  color: #ffffff;
}

/* Mobile Drawer Nested Panels sliding transition styles */
.menu-drawer .drawer-content {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.menu-panel {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  padding: 24px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  opacity: 0;
  pointer-events: none;
}

.menu-panel#menu-main-panel {
  transform: translateX(-100%);
}

.menu-panel#menu-collection-panel {
  transform: translateX(100%);
}

.menu-panel.active {
  transform: translateX(0) !important;
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 1.8rem;
}

.mobile-nav-links a, .mobile-nav-expand-btn {
  color: #ffffff;
  text-decoration: none;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0;
}

.mobile-nav-back-btn {
  background: none;
  border: none;
  color: var(--color-accent-subdued);
  font-family: inherit;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  padding: 0;
}

.mobile-nav-back-btn:hover {
  color: #ffffff;
}

/* === Product Details Page Bundle Section === */
.product-bundle-container {
  margin-top: 60px;
  background-color: var(--color-background-alt);
  border: 1px solid var(--color-border);
  padding: 40px;
  border-radius: 4px;
}

.bundle-header {
  margin-bottom: 30px;
  text-align: left;
}

.bundle-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.bundle-header p {
  color: var(--color-accent-subdued);
  font-size: 1.4rem;
}

.bundle-layout {
  display: flex;
  gap: 40px;
  align-items: stretch;
  flex-wrap: wrap;
}

.bundle-products {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 2;
  min-width: 300px;
}

.bundle-product-card {
  width: 160px;
  background-color: var(--color-card-background);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 12px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bundle-product-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 2px;
}

.bundle-product-title {
  font-size: 1.2rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--color-accent-subdued);
}

.bundle-product-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.bundle-product-checkbox {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #ffffff;
  z-index: 10;
}

.bundle-plus-icon {
  font-size: 2.4rem;
  color: var(--color-accent-subdued);
  font-weight: 300;
}

.bundle-summary {
  flex: 1;
  min-width: 280px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--color-border);
  padding: 30px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.bundle-summary-price-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.6rem;
  font-weight: 500;
}

.bundle-summary-price-row .discount {
  color: #ff4d4d;
}

.bundle-total-price {
  font-size: 2.2rem;
  font-weight: 800;
}

@media only screen and (max-width: 767px) {
  .product-bundle-container {
    padding: 20px;
  }
  .bundle-products {
    flex-direction: column;
    width: 100%;
  }
  .bundle-plus-icon {
    transform: rotate(90deg);
    margin: 10px 0;
  }
}

/* Wishlist Badge Counter */
.wishlist-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--color-error);
  color: #ffffff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Homepage Carousel Card Image Hover Swap */
.curved-carousel-image-wrapper {
  position: relative;
}

.curved-carousel-image.img-primary {
  z-index: 1;
}

.curved-carousel-image.img-secondary {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 3;
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.curved-carousel-card:hover .curved-carousel-image.img-secondary,
.curved-carousel-card.hover-active .curved-carousel-image.img-secondary {
  opacity: 1;
}

/* === Global Premium Animation System === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.85s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Stagger delay classes */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Apply entry animation directly to homepage product grid cards */
.product-card {
  opacity: 0;
  animation: fadeInUp 0.85s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* =====================================================
 * QIKINK CHECKOUT MODAL
 * ===================================================== */
.qk-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.qk-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.qk-modal {
  background: #0d0d0f;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 40px 100px rgba(0,0,0,0.9);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.qk-overlay.open .qk-modal {
  transform: translateY(0) scale(1);
}

/* Header */
.qk-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 0;
  background: #0d0d0f;
  z-index: 2;
}

.qk-modal-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.04em;
}

.qk-modal-close {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.qk-modal-close:hover { background: rgba(255,255,255,0.12); }

/* Steps */
.qk-step {
  display: none;
  padding: 20px 24px 28px;
}

.qk-step.active { display: block; }

/* Order Summary */
.qk-order-summary {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qk-summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  color: #cccccc;
}

.qk-summary-item img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.08);
}

.qk-summary-item-info { flex: 1; }
.qk-summary-item-name { color: #ffffff; font-size: 1.3rem; font-weight: 500; }
.qk-summary-item-meta { color: #888; font-size: 1.1rem; margin-top: 2px; }
.qk-summary-item-price { font-size: 1.3rem; font-weight: 600; color: #ffffff; }

/* Form */
.qk-section-label {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #666;
  margin-bottom: 14px;
}

.qk-form { display: flex; flex-direction: column; gap: 14px; }

.qk-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.qk-field label {
  font-size: 1.2rem;
  font-weight: 500;
  color: #888;
  letter-spacing: 0.03em;
}

.qk-field input,
.qk-field select {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 11px 14px;
  color: #ffffff;
  font-size: 1.4rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
  box-sizing: border-box;
  -webkit-appearance: none;
}

.qk-field select { cursor: pointer; }

.qk-field select option { background: #111; color: #fff; }

.qk-field input:focus,
.qk-field select:focus {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
}

.qk-field input.error,
.qk-field select.error {
  border-color: #ef4444;
}

.qk-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.qk-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

/* Total Row */
.qk-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 1.5rem;
  color: #ffffff;
  font-weight: 600;
}

/* Place Order Button */
.qk-place-btn {
  width: 100%;
  padding: 14px;
  margin-top: 6px;
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: 12px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.qk-place-btn:hover {
  background: #e5e5e5;
  transform: translateY(-1px);
}

.qk-place-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.qk-note {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  margin-top: 6px;
}

/* Loading Step */
#qk-step-loading {
  text-align: center;
  padding: 60px 24px;
}

.qk-loading-ring {
  width: 52px;
  height: 52px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: qk-spin 0.8s linear infinite;
  margin: 0 auto 20px;
}

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

.qk-loading-text {
  font-size: 1.5rem;
  color: #aaa;
  letter-spacing: 0.04em;
}

/* Success / Error Steps */
#qk-step-success,
#qk-step-error {
  text-align: center;
  padding: 50px 24px 40px;
}

.qk-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}

.qk-success-icon svg { width: 100%; height: 100%; }

.qk-error-icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.qk-success-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.qk-success-sub {
  font-size: 1.4rem;
  color: #888;
  margin-bottom: 28px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 540px) {
  .qk-row-2 { grid-template-columns: 1fr; }
  .qk-row-3 { grid-template-columns: 1fr 1fr; }
  .qk-modal { border-radius: 16px; }
}



