/* 
   ARUN Storefront Stylesheet
   Utility-Driven Minimalist Design (Beyond The Vines inspired)
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --brand-red: #c4362d;
  --bg-white: #ffffff;
  --text-dark: #111111;
  --border-dark: #111111;
  --bg-light: #f5f5f5;
  --text-muted: #767676;
  
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --nav-height: 70px;
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-white);
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

/* Scrollbar Style */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: var(--text-dark);
}

/* Utility Layouts */
.container-fluid {
  width: 100%;
  padding-left: 40px;
  padding-right: 40px;
}

.container {
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
}

@media (max-width: 768px) {
  .container-fluid, .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Catalog Filters */
.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 40px;
  padding: 20px 0;
  border-bottom: 1.5px solid var(--border-dark);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-group label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.filter-select {
  padding: 10px 16px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1.5px solid var(--border-dark);
  background-color: var(--bg-white);
  cursor: pointer;
  outline: none;
  min-width: 165px;
  border-radius: 0;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  transition: border-color 0.3s ease;
}

.filter-select:hover, .filter-select:focus {
  border-color: var(--brand-red);
}

.btn-reset {
  padding: 10px 24px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1.5px solid var(--border-dark);
  cursor: pointer;
  background-color: var(--bg-white);
  height: 41px;
  transition: all 0.3s ease;
}

.btn-reset:hover {
  background-color: var(--text-dark);
  color: var(--bg-white);
}

/* Grid layout transition & Filter hiding */
.product-grid {
  transition: opacity 0.25s ease;
}

.product-card.filtered-out {
  display: none;
}

/* Navigation Bar */
.navbar {
  height: var(--nav-height);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid var(--border-dark);
  position: sticky;
  top: 0;
  background-color: var(--bg-white);
  z-index: 1000;
}

.nav-brand {
  display: flex;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.brand-logo-img {
  height: 38px;
  width: auto;
  /* Transform black/dark PNG logo to brand red (#c4362d) */
  filter: invert(24%) sepia(85%) saturate(2978%) hue-rotate(346deg) brightness(91%) contrast(92%);
  display: block;
  transition: transform 0.3s ease;
}

.nav-brand:hover .brand-logo-img {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-search-btn {
  color: var(--text-dark);
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

.nav-search-btn:hover {
  color: var(--brand-red);
}

.nav-links li a {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: var(--brand-red);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.currency-selector-container {
  display: flex;
  align-items: center;
}

.currency-select {
  background-color: var(--bg-white);
  border: 1px solid var(--border-dark);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 24px 4px 8px;
  height: 28px;
  cursor: pointer;
  outline: none;
  border-radius: 0;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  transition: all 0.3s ease;
}

.currency-select:hover, .currency-select:focus {
  border-color: var(--brand-red);
  color: var(--brand-red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23c4362d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.nav-action-link {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-bag-count {
  background-color: var(--brand-red);
  color: var(--bg-white);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  display: inline-block;
  min-width: 20px;
  text-align: center;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-bag-count.bump {
  transform: scale(1.3);
}

/* Section 1: Hero Carousel */
.hero-section {
  width: 100%;
  height: calc(100vh - var(--nav-height));
  position: relative;
  overflow: hidden;
  border-bottom: 1.5px solid var(--border-dark);
}

.carousel-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-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);
}

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

/* Hero Zoom and Shift Interaction */
.hero-image-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1) translateY(0);
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Interactive Scale & Shift when Hovering over the entire Hero Section */
.hero-section:hover .carousel-slide.active .hero-image {
  transform: scale(1.05) translateY(-3vh);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 60px 40px;
  color: var(--bg-white);
  z-index: 10;
}

.hero-slide-badge {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brand-red);
  margin-bottom: 12px;
}

.hero-slide-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 800px;
}

.hero-slide-cta {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-bottom: 2px solid var(--bg-white);
  align-self: flex-start;
  padding-bottom: 6px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.hero-slide-cta:hover {
  color: var(--brand-red);
  border-color: var(--brand-red);
}

/* Carousel Controls */
.carousel-controls {
  position: absolute;
  bottom: 60px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 20;
}

.carousel-indicator {
  color: var(--bg-white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.carousel-arrows {
  display: flex;
  gap: 10px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.carousel-btn:hover {
  background-color: var(--bg-white);
  color: var(--text-dark);
  border-color: var(--bg-white);
  transform: scale(1.05);
}

/* Section 2: Interactive Production Collage ('How It's Crafted') */
.collage-section {
  width: 100%;
  height: 100vh;
  display: flex;
  border-bottom: 1.5px solid var(--border-dark);
  position: relative;
  overflow: hidden;
  background-color: var(--bg-light);
}

.collage-panel {
  width: 50%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.collage-panel:first-child {
  border-right: 1px solid var(--border-dark);
}

.collage-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.collage-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  transition: background 0.5s ease;
}

/* Step absolute centered typography block */
.collage-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--bg-white);
  width: 80%;
  z-index: 10;
  pointer-events: none;
}

.collage-step-num {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-red);
  letter-spacing: 0.2em;
  margin-bottom: 12px;
  display: block;
}

.collage-step-title {
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.collage-step-desc {
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 400;
  line-height: 1.6;
  opacity: 0.85;
  max-width: 440px;
  margin: 0 auto;
}

/* Collage Hover States: Swap interaction */
/* Left side: default (Step 1), alternate (Step 3) */
/* Right side: default (Step 2), alternate (Step 4) */
.collage-panel .step-default {
  opacity: 1;
  transform: scale(1);
}

.collage-panel .step-alternate {
  opacity: 0;
  transform: scale(1.08); /* slightly scaled up, transitions down into place */
}

/* Trigger swap when hovering anywhere over the section */
.collage-section:hover .collage-panel .step-default {
  opacity: 0;
  transform: scale(0.95); /* slightly scale back and fade out */
  pointer-events: none;
}

.collage-section:hover .collage-panel .step-alternate {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* Adjust overlay intensity on section hover */
.collage-section:hover .collage-img-overlay {
  background: rgba(0, 0, 0, 0.45);
}

/* Section 3: Clean Product Catalog Grid */
.catalog-section {
  padding: 100px 0;
  background-color: var(--bg-white);
  border-bottom: 1.5px solid var(--border-dark);
}

.catalog-header {
  margin-bottom: 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}

.catalog-title {
  font-size: 40px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.catalog-subtitle {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  display: block;
}

/* Catalog Header Right side & Search */
.catalog-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.catalog-count-badge {
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

#catalog-search {
  width: 250px;
  height: 38px;
  border: 1.5px solid var(--border-dark);
  padding: 0 12px 0 36px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0;
  outline: none;
  background-color: var(--bg-white);
  transition: all 0.3s ease;
}

#catalog-search:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(196, 54, 45, 0.15);
}

.search-input-wrapper .search-icon {
  position: absolute;
  left: 12px;
  color: var(--text-dark);
  pointer-events: none;
  transition: color 0.3s ease;
}

#catalog-search:focus + .search-icon {
  color: var(--brand-red);
}

/* 4-Column Retail Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .catalog-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 40px;
  }

  .catalog-header-right {
    align-items: flex-start;
    width: 100%;
  }

  .search-input-wrapper {
    width: 100%;
  }

  #catalog-search {
    width: 100%;
  }
}

/* Product Card */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-img-container {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-light);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1) translateY(0);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Portrait product photo scales and lifts slightly on hover */
.product-card:hover .product-photo {
  transform: scale(1.04) translateY(-5px);
}

/* Product badges */
.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--brand-red);
  color: var(--bg-white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 5;
}

/* Card details wrapper */
.product-details {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4px;
}

.product-name {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  max-width: 75%;
}

.product-sku {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: block;
}

.product-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-red);
}

/* Add To Bag Call-To-Action Button */
.btn-add-to-bag {
  width: 100%;
  padding: 14px 0;
  background-color: var(--bg-white);
  color: var(--text-dark);
  border: 1.5px solid var(--border-dark);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: auto;
  text-align: center;
  transition: background-color 0s, color 0s, border-color 0s; /* Instant color inversion */
}

/* Instant color-inversion block effect on mouse hover */
.btn-add-to-bag:hover {
  background-color: var(--brand-red);
  color: var(--bg-white);
  border-color: var(--brand-red);
}

/* Stock Status Indicators */
.product-stock {
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  display: inline-block;
}

.status-in-stock {
  color: #2e7d32; /* subtle green */
}

.status-sold-out {
  color: var(--brand-red); /* brand red */
}

.btn-add-to-bag:disabled {
  background-color: var(--bg-white) !important;
  color: var(--brand-red) !important;
  border-color: var(--brand-red) !important;
  cursor: not-allowed !important;
  opacity: 0.8;
}

.btn-add-to-bag:disabled:hover {
  background-color: var(--brand-red) !important;
  color: var(--bg-white) !important;
}

/* Footer Section */
.footer {
  background-color: var(--bg-light);
  padding: 80px 0 40px 0;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-brand-img {
  width: 300px;
  max-height: 120px;
  height: auto;
  object-fit: contain;
  display: block;
  margin-left: -85px;
  margin-top: -25px;
  margin-bottom: -15px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

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

.footer-links a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--text-dark);
}

/* Email Capture Newsletter */
.newsletter-form {
  display: flex;
  margin-top: 15px;
  border: 1.5px solid var(--border-dark);
  max-width: 400px;
}

.newsletter-input {
  flex-grow: 1;
  border: none;
  background: transparent;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 13px;
  color: var(--text-dark);
}

.newsletter-input:focus {
  outline: none;
}

.newsletter-btn {
  background-color: var(--text-dark);
  color: var(--bg-white);
  padding: 0 24px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
  background-color: var(--brand-red);
}

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 12px;
}

@media (max-width: 576px) {
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* Section 4: UGC / Community Marquee (Baggu Style) */
.ugc-section {
  padding: 100px 0;
  background-color: #f5f4f0; /* warm light-cream background matching reference */
  border-bottom: 1.5px solid var(--border-dark);
  overflow: hidden;
}

.ugc-header {
  margin-bottom: 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.ugc-title {
  font-size: 40px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.ugc-subtitle {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 0; /* no gaps between photos so they connect */
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}

/* Pause scroll when hovering over the carousel so customers can inspect cards */
.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}

/* Individual UGC Image Card - sharp, flat, no borders, no rounded corners */
.ugc-card {
  flex-shrink: 0;
  width: 210px;
  height: 210px;
  border-radius: 0; /* sharp corners to match reference */
  background-color: transparent;
  position: relative;
  overflow: hidden;
}

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

.ugc-card:hover .ugc-img {
  transform: scale(1.05);
}

/* Single follow block forming a beautiful gap in the photo row */
.marquee-follow-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 320px; /* width of the gap */
  height: 210px; /* matches photo height */
  background-color: #f5f4f0; /* matches cream bg to blend seamlessly */
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  flex-shrink: 0;
  user-select: none;
  line-height: 1.5;
  text-align: center;
}

@keyframes marquee-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0); /* seamless loop reset */
  }
}

@media (max-width: 768px) {
  .ugc-section {
    padding: 40px 0;
  }
  .ugc-card {
    width: 150px; /* scale down on mobile */
    height: 150px;
  }
  .marquee-content {
    gap: 0; /* no gap on mobile */
  }
  .marquee-follow-block {
    width: 220px;
    height: 150px;
    font-size: 10px;
  }
}

/* Cart Drawer Overlay & Body Container Styles */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: -460px;
  width: 460px;
  height: 100%;
  background-color: var(--bg-white);
  box-shadow: -5px 0 30px rgba(0,0,0,0.15);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

@media (max-width: 480px) {
  .cart-drawer {
    width: 100%;
    right: -100%;
  }
}

.cart-drawer.active {
  right: 0;
}

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

.cart-drawer-title {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cart-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.cart-drawer-close:hover {
  color: var(--brand-red);
}

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

.cart-items-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-empty-msg {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  padding: 40px 0;
}

/* Cart Item Row */
.cart-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.cart-item-img {
  width: 100px;
  height: 125px;
  object-fit: cover;
  background-color: var(--bg-light);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.cart-item-info {
  flex: 1;
}

.cart-item-category {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cart-item-name {
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
  margin: 2px 0 2px 0;
  line-height: 1.3;
}

.cart-item-sku {
  font-size: 10px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.cart-item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-dark);
  height: 24px;
}

.qty-btn {
  background: none;
  border: none;
  width: 24px;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.qty-btn:hover {
  color: var(--brand-red);
}

.qty-val {
  width: 24px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
}

.cart-item-price {
  font-size: 13px;
  font-weight: 800;
}

.btn-remove-item {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 0;
  margin-top: 4px;
  display: inline-block;
  transition: color 0.3s ease;
}

.btn-remove-item:hover {
  color: var(--brand-red);
}

/* Sections Divider & Input Elements */
.cart-section-divider {
  height: 1.5px;
  background-color: var(--border-dark);
  margin: 24px 0;
}

.cart-section-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.cart-delivery-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Contiguous Stacked Form Fields */
.stacked-form-fields {
  display: flex !important;
  flex-direction: column !important;
}
.stacked-form-fields .form-grid {
  display: flex !important;
  width: 100% !important;
  gap: 0 !important;
  margin-top: -1px !important;
}
.stacked-form-fields .form-grid .form-input {
  flex: 1 !important;
  width: 50% !important;
}
.stacked-form-fields > .form-input,
.stacked-form-fields > .form-grid {
  margin-top: -1px !important;
}
.stacked-form-fields > :first-child {
  margin-top: 0 !important;
}
.stacked-form-fields .form-grid .form-input:last-child {
  margin-left: -1px !important;
}
.stacked-form-fields .form-input {
  border-radius: 0 !important;
  height: 48px !important;
  margin-bottom: 0 !important;
}
.stacked-form-fields .form-input:focus {
  z-index: 5 !important;
  position: relative !important;
}

.form-input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--border-dark);
  padding: 0 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  border-radius: 0;
  outline: none;
  background-color: var(--bg-white);
  transition: border-color 0.3s ease;
}

.form-input:focus {
  border-color: var(--brand-red);
}

/* Payment Selection Grid */
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.payment-option input[type="radio"] {
  accent-color: var(--brand-red);
  cursor: pointer;
  width: 16px;
  height: 16px;
}

.mock-card-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background-color: var(--bg-light);
  border: 1px dashed var(--border-dark);
  margin-top: 12px;
}

/* Summary Panel and Action Trigger Button */
.cart-drawer-footer {
  padding: 24px;
  border-top: 1.5px solid var(--border-dark);
  background-color: var(--bg-light);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.cart-summary-row.total-row {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 12px;
  padding-top: 12px;
  color: var(--text-dark);
}

.btn-checkout {
  width: 100%;
  height: 48px;
  background-color: var(--text-dark);
  color: var(--bg-white);
  border: none;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  margin-top: 16px;
  transition: all 0.3s ease;
}

.btn-checkout:hover {
  background-color: var(--brand-red);
}

/* Confirmation Page Styles */
.confirmation-view {
  background-color: var(--bg-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.confirmation-navbar {
  height: var(--nav-height);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1.5px solid var(--border-dark);
  background-color: var(--bg-white);
  padding: 0 var(--container-padding);
}

.nav-brand-simple .brand-logo-img {
  height: 38px;
  width: auto;
  filter: invert(24%) sepia(85%) saturate(2978%) hue-rotate(346deg) brightness(91%) contrast(92%);
}

.confirmation-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.confirmation-card {
  background-color: var(--bg-white);
  border: 1.5px solid var(--border-dark);
  width: 100%;
  max-width: 580px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.confirmation-icon {
  margin-bottom: 24px;
  display: inline-block;
}

.confirmation-title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.confirmation-lead {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.confirmation-details {
  border-top: 1.5px solid var(--border-dark);
  border-bottom: 1.5px solid var(--border-dark);
  padding: 24px 0;
  margin-bottom: 32px;
  text-align: left;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 13px;
}

.detail-label {
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-value {
  font-weight: 800;
  color: var(--text-dark);
}

.detail-value.highlight {
  color: var(--brand-red);
}

.email-notice {
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 16px;
  text-align: center;
  border-top: 1px dashed var(--border-dark);
  padding-top: 12px;
}

.confirmation-summary-box, .confirmation-shipping-box {
  background-color: var(--bg-light);
  border: 1px solid var(--border-dark);
  padding: 24px;
  text-align: left;
  margin-bottom: 20px;
}

.box-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 8px;
}

.box-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.summary-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
}

.summary-item-qty {
  color: var(--text-muted);
}

.box-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  border-top: 1px dashed var(--border-dark);
  padding-top: 12px;
}

.confirmation-shipping-box p {
  font-size: 13px;
  line-height: 1.6;
}

.btn-continue-shopping {
  width: 100%;
  height: 48px;
  background-color: var(--text-dark);
  color: var(--bg-white);
  border: none;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 12px;
}

.btn-continue-shopping:hover {
  background-color: var(--brand-red);
}

/* --- Redesigned Cart & Checkout Styles --- */

/* Added Button State */
.btn-added {
  background-color: var(--text-dark) !important;
  color: var(--bg-white) !important;
  border-color: var(--text-dark) !important;
}
.btn-added::before {
  content: "Added";
}

/* See Also Section in Cart */
.cart-see-also-section {
  padding: 24px 0;
}

.see-also-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding-bottom: 16px;
}

.see-also-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.see-also-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background-color: #f5f5f5;
  border: 1px solid var(--border-dark);
}

.see-also-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.see-also-details {
  display: flex;
  flex-direction: column;
}

.see-also-cat {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.see-also-sku {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.btn-see-also-add {
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  border: 1.5px solid var(--border-dark);
  cursor: pointer;
  font-size: 16px;
  font-weight: 400;
  padding: 0;
  line-height: 1;
  transition: all 0.2s ease;
}

.btn-see-also-add:hover {
  background-color: var(--text-dark);
  color: var(--bg-white);
}

/* Checkout View Split Screen */
.checkout-view {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background-color: rgba(0, 0, 0, 0.65);
  display: flex;
  justify-content: center;
  align-items: center;
}

.checkout-modal-inner {
  width: 90%;
  max-width: 1000px;
  height: 85vh;
  background-color: var(--bg-white);
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
  border-radius: 4px;
  overflow: hidden;
}

.checkout-navbar {
  height: 60px;
  border-bottom: 1.5px solid var(--border-dark);
  display: flex;
  align-items: center;
  padding: 0 30px;
  background-color: var(--bg-white);
}

#checkout-back-btn {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-dark);
}

#checkout-back-btn:hover {
  color: var(--brand-red);
}

.checkout-container {
  display: flex;
  flex: 1;
  min-height: 0;
}

.checkout-left,
.checkout-right {
  flex: 1;
  overflow-y: auto;
  padding: 60px 8%;
}

.checkout-right {
  background-color: #fafafa;
  border-left: 1.5px solid var(--border-dark);
}

.checkout-title {
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

.checkout-form-wrapper {
  max-width: 500px;
}

.checkout-summary-wrapper {
  max-width: 440px;
}

.form-section {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-section-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.chk-card-details {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding-left: 32px;
  margin: 8px 0 16px 0;
}

.btn-pay-now {
  width: 100%;
  height: 56px;
  background-color: var(--text-dark);
  color: var(--bg-white);
  border: none;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 16px;
}

.btn-pay-now:hover {
  background-color: var(--brand-red);
}

.checkout-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.checkout-totals {
  border-top: 1.5px solid var(--border-dark);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
}

.checkout-summary-row.total-row {
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 12px;
}

/* Cart item type overlay */
.cart-item-type {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 2px;
}

/* ------------------------------------------------------------------
   Product Lightbox Modal
   ------------------------------------------------------------------ */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 15, 15, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 10001;
  opacity: 0.5;
  transition: opacity 0.2s ease, transform 0.2s ease;
  padding: 10px;
}

.lightbox-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-overlay.active .lightbox-content {
  transform: scale(1);
}

.lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-radius: 4px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 10001;
  opacity: 0.5;
  transition: opacity 0.2s ease;
  padding: 20px;
}

.lightbox-nav:hover {
  opacity: 1;
}

.lightbox-nav-left {
  left: 20px;
}

.lightbox-nav-right {
  right: 20px;
}

@media (max-width: 950px) {
  .nav-brand {
    position: static;
    transform: none;
    order: 2;
  }
  .nav-links {
    order: 1;
    gap: 16px;
  }
  .nav-actions {
    order: 3;
    gap: 12px;
  }
}

/* FAQ Styles */
.faq-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 16px;
  border: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-white);
  padding: 20px 24px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: background-color 0.2s ease, transform 0.2s ease;
  list-style: none; /* Hides default triangle */
}

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

.faq-question:hover {
  transform: translateY(-2px);
  background-color: #fafafa;
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--brand-red);
  transition: transform 0.3s ease;
}

details[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 16px 24px 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}
