/* Google Fonts Import - Plus Jakarta Sans & Outfit for Titles */
@import url('css2');

/* Color Variables and Design System */
:root {
  --background: #ffffff;
  --foreground: #22252a;
  
  --primary: #536d88;       /* Slate blue */
  --primary-hover: #465b71;
  --primary-light: rgba(83, 109, 136, 0.1);
  --primary-foreground: #ffffff;
  
  --secondary: #fef4f2;     /* Soft pink/rose */
  --secondary-foreground: #22252a;
  
  --accent: #e5f1f6;        /* Light blue */
  --accent-foreground: #2a415a;
  
  --muted: #f7f6f5;         /* Cream/sand bg */
  --muted-foreground: #6c727d;
  
  --border: #edebe8;        /* Soft sand border */
  --input-border: #edebe8;
  
  --destructive: #df4c4c;   /* Accent red */
  --destructive-light: rgba(223, 76, 76, 0.08);
  --success: #2ea85c;       /* Success green */
  
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;     /* 20px */
  --radius-xl: 1.5rem;      /* 24px */
  --radius-full: 9999px;
  
  --font-display: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', sans-serif;
  
  --shadow-card: 0 4px 20px -2px rgba(34, 37, 42, 0.06), 0 2px 6px -1px rgba(34, 37, 42, 0.04);
  --shadow-soft: 0 10px 30px -10px rgba(89, 114, 140, 0.15);
  --shadow-elegant: 0 20px 48px -18px rgba(34, 37, 42, 0.12);
  
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #f3f4f6; /* Gray background on desktop */
  color: var(--foreground);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
  /* Centering the mobile wrapper on desktop */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
}

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

button, select {
  font-family: inherit;
  font-size: 100%;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

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

/* App Wrapper to enforce mobile frame */
.app-container {
  width: 100%;
  max-width: 480px; /* Enforces mobile width */
  background-color: var(--background);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* Grid & Layout Containers */
.container-store {
  width: 100%;
  padding: 0 1.25rem;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
}

.announce-bar {
  background-color: var(--primary);
  color: var(--primary-foreground);
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-bar {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
}

.nav-container {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--foreground);
  transition: background-color var(--transition-fast);
}

.nav-btn:hover {
  background-color: var(--muted);
}

.nav-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.nav-btn-cart {
  position: relative;
}

.cart-count-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background-color: var(--destructive);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px #ffffff;
}

.logo-link {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.logo-img {
  height: 28px;
  width: auto;
}

/* Product Main Section */
.product-section {
  padding: 1.5rem 0;
}

.product-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Gallery Component */
.product-gallery {
  width: 100%;
}

.main-image-viewport {
  aspect-ratio: 1/1;
  width: 100%;
  border-radius: var(--radius-xl);
  background-color: var(--muted);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
}

.main-image-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--transition-normal);
}

.thumbnail-carousel {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

.thumbnail-carousel::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.thumb-btn {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.thumb-btn:hover {
  border-color: rgba(89, 114, 140, 0.4);
  transform: translateY(-2px);
}

.thumb-btn.active {
  border-color: var(--primary);
}

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

/* Product Info & Buy Box */
.product-info-box {
  width: 100%;
}

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
}

.stars-list {
  display: flex;
  color: #eab308; /* Yellow-500 */
}

.stars-list svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.reviews-score {
  font-weight: 700;
}

.reviews-count {
  color: var(--muted-foreground);
}

.product-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  margin-top: 0.5rem;
  color: var(--foreground);
  letter-spacing: -0.01em;
}

/* Step Headers */
.step-title-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.step-number {
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 11px;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-text {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
}

/* Quantity Selection Cards */
.quantity-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.qty-card {
  position: relative;
  border-radius: var(--radius-md);
  border: 2px solid var(--border);
  background-color: var(--background);
  padding: 1rem 0.5rem;
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.qty-card:hover {
  border-color: rgba(89, 114, 140, 0.4);
  box-shadow: var(--shadow-card);
}

.qty-card.selected {
  border-color: var(--primary);
  background-color: var(--primary-light);
  box-shadow: var(--shadow-soft);
}

.qty-badge-check {
  position: absolute;
  right: -6px;
  top: -6px;
  background-color: var(--primary);
  color: var(--primary-foreground);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  box-shadow: var(--shadow-card);
  z-index: 2;
}

.qty-promo-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: #ffffff;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: var(--shadow-card);
  animation: pulse-animate 2s infinite;
  z-index: 1;
}

.qty-title {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.qty-pricing {
  margin-top: auto;
}

.qty-old-price {
  font-size: 10px;
  color: var(--muted-foreground);
  text-decoration: line-through;
}

.qty-current-price {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--foreground);
}

.qty-card.selected .qty-current-price {
  color: var(--primary);
}

@keyframes pulse-animate {
  0% {
    transform: translateX(-50%) scale(1);
    box-shadow: 0 0 0 0 rgba(89, 114, 140, 0.4);
  }
  70% {
    transform: translateX(-50%) scale(1.03);
    box-shadow: 0 0 0 6px rgba(89, 114, 140, 0);
  }
  100% {
    transform: translateX(-50%) scale(1);
    box-shadow: 0 0 0 0 rgba(89, 114, 140, 0);
  }
}

/* Variant Row List */
.variants-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.variant-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background-color: var(--background);
  transition: border-color var(--transition-fast);
}

.variant-row.freebie {
  border-color: var(--primary);
  background-color: var(--background);
  border-style: dashed;
  margin-top: 0.25rem;
}

.variant-freebie-tag {
  position: absolute;
  top: -8px;
  left: 10px;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.variant-thumb {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: var(--muted);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

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

.variant-dropdowns {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.4rem;
  flex-grow: 1;
}

.variant-select {
  width: 100%;
  height: 34px;
  padding: 0 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background-color: var(--background);
  font-size: 12px;
  font-weight: 600;
  color: var(--foreground);
  transition: border-color var(--transition-fast);
}

.variant-select:focus {
  border-color: var(--primary);
}

/* Buy Box Button */
.buy-button-container {
  margin-top: 1.25rem;
}

.add-to-cart-btn {
  width: 100%;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  animation: button-pulse 2s infinite;
}

.add-to-cart-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-elegant);
}

.add-to-cart-btn:active {
  transform: translateY(0);
}

@keyframes button-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(89, 114, 140, 0.4);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(89, 114, 140, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(89, 114, 140, 0);
  }
}

/* Product Accordions */
.accordions-container {
  margin-top: 1.5rem;
  background-color: var(--muted);
  border-radius: var(--radius-md);
  padding: 0.4rem;
}

.accordion-item {
  border-bottom: 1px solid rgba(89, 114, 140, 0.1);
  background-color: #ffffff;
  margin-bottom: 0.25rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.accordion-item:last-child {
  margin-bottom: 0;
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0.8rem;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  transition: background-color var(--transition-fast);
}

.accordion-header:hover {
  background-color: rgba(89, 114, 140, 0.04);
}

.accordion-header svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-normal);
  color: var(--primary);
}

.accordion-item.open .accordion-header svg {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.accordion-content-inner {
  padding: 0 0.8rem 0.8rem 0.8rem;
  font-size: 12px;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.accordion-content-inner ul {
  padding-left: 1.1rem;
  margin-top: 0.4rem;
}

.accordion-content-inner li {
  margin-bottom: 0.2rem;
}

/* 4 Quick Trust Highlights Bar */
.trust-highlights-bar {
  background-color: #eef2f6;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.highlights-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-foreground);
  flex: 1 1 40%;
}

.highlight-icon {
  width: 14px;
  height: 14px;
  color: var(--primary);
  flex-shrink: 0;
}

/* Lifestyle Image Section (Pantufas Pluffi Originals) - SWIPE CAROUSEL ON MOBILE */
.lifestyle-section {
  padding: 2rem 0;
  background-color: var(--background);
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  color: var(--foreground);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.lifestyle-scroll-row {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 1.25rem 1.25rem 1.25rem;
  margin-left: -1.25rem;
  margin-right: -1.25rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.lifestyle-scroll-row::-webkit-scrollbar {
  display: none;
}

.lifestyle-card {
  flex-shrink: 0;
  width: 82%; /* Show a peek of the next card */
  scroll-snap-align: start;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background-color: var(--background);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.lifestyle-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.lifestyle-info {
  padding: 1.25rem 1rem;
}

.lifestyle-info h3 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.lifestyle-info p {
  font-size: 12px;
  color: var(--muted-foreground);
  line-height: 1.5;
}

/* Feita Para Durar Section */
.durability-section {
  padding: 2.5rem 0;
  background-color: var(--muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-subtitle {
  font-size: 12px;
  color: var(--muted-foreground);
  text-align: center;
  margin-top: -1rem;
  margin-bottom: 1.75rem;
  padding: 0 1rem;
}

/* 2x2 Features Grid - EXACTLY LIKE USER IMAGE 1 */
.features-2x2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.feature-card-item {
  background-color: #eef5fa; /* Soft light blue/grey background */
  border-radius: 16px;
  padding: 1.25rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: #2c3e50;
  min-height: 110px;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
}

.feature-card-icon {
  width: 28px;
  height: 28px;
  color: #4a607a;
}

/* Checklist Checkpoints EXACTLY like user Image 4 */
.checkpoints-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 1.5rem 0 2rem 0;
  padding: 0 0.5rem;
}

.checkpoints-list li {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(89, 109, 136, 0.12); /* Subtle divider lines */
}

.checkpoints-list li:last-child {
  border-bottom: none;
}

.circle-check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #d7e8f4; /* Light blue circle back */
  color: #4a607a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.circle-check-icon svg {
  width: 13px;
  height: 13px;
  color: #4a607a;
}

/* Badges side-by-side on mobile - EXACTLY LIKE USER IMAGE 3 */
.durability-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-top: 1.5rem;
}

.durability-badge-card {
  background-color: #eef5fa; /* Soft greyish blue background */
  border-radius: 12px;
  padding: 0.85rem 0.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 10px; /* Small font size to fit inline */
  font-weight: 600;
  color: #2c3e50;
  min-height: 96px;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
}

.badge-card-icon {
  width: 20px;
  height: 20px;
  color: #4a607a;
  margin-bottom: 0.35rem;
}

/* Colors Gallery Section (Escolha sua cor favorita) */
.colors-gallery-section {
  padding: 2.5rem 0;
  background-color: var(--background);
}

.colors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.color-gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--background);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast);
  cursor: pointer;
}

.color-gallery-item:hover {
  transform: translateY(-2px);
}

.color-img-wrap {
  aspect-ratio: 1/1;
  background-color: var(--muted);
  overflow: hidden;
}

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

.color-gallery-details {
  padding: 0.75rem 0.5rem;
  text-align: center;
}

.color-gallery-details h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--foreground);
}

.color-gallery-details span {
  font-size: 9px;
  color: var(--muted-foreground);
  display: block;
  margin-top: 0.15rem;
}

/* Visual Photo Reviews Section - SWIPE CAROUSEL ON MOBILE */
.visual-reviews-section {
  padding: 2.5rem 0;
  background-color: var(--secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.visual-reviews-scroll-row {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 1.25rem 1.25rem 1.25rem;
  margin-left: -1.25rem;
  margin-right: -1.25rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.visual-reviews-scroll-row::-webkit-scrollbar {
  display: none;
}

.visual-review-card {
  flex-shrink: 0;
  width: 78%; /* Shows a peek of the next card */
  scroll-snap-align: start;
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.v-review-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.v-review-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v-review-body {
  padding: 1rem;
}

.v-review-header-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.v-review-stars-wrap {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.v-review-stars {
  color: #fbbf24; /* yellow star color */
  font-size: 13px;
  letter-spacing: 0.05em;
}

.v-review-rating-num {
  font-size: 10px;
  font-weight: 800;
  color: #6b7280;
}

.v-review-text {
  font-size: 12px;
  color: #374151;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  text-align: left;
}

.v-review-user {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.25rem;
}

.v-user-name {
  font-size: 11px;
  font-weight: 700;
  color: #111827;
}

.v-verified-badge {
  font-size: 9.5px;
  color: #059669; /* green check verified */
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 2px;
}

.verified-icon-check {
  width: 10px;
  height: 10px;
  stroke-width: 4;
}

/* FAQ Accordion Section */
.faq-section {
  padding: 2.5rem 0;
  background-color: var(--background);
}

.faq-container {
  background-color: #faf8f5; /* Sand/beige color matching FAQ image background */
  border-radius: var(--radius-xl);
  padding: 0.75rem;
}

/* FAQ items look exactly like user Image 1 */
.faq-container .accordion-item {
  border: 1px solid rgba(89, 109, 136, 0.08);
  margin-bottom: 0.5rem;
  border-radius: 8px;
  background-color: #ffffff;
  overflow: hidden;
  transition: all var(--transition-fast);
}

/* The active accordion has a thick black border matching the first item in the user image */
.faq-container .accordion-item.open {
  border: 2px solid #000000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.faq-container .accordion-header {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  color: #111827;
  padding: 1rem;
}

.faq-container .accordion-header svg {
  color: #111827;
}

/* Sliding Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(34, 37, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.cart-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 480px; /* Same as mobile column max-width */
  height: 100%;
  background-color: var(--background);
  box-shadow: var(--shadow-elegant);
  z-index: 51;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--transition-normal), visibility var(--transition-normal);
}

.cart-drawer.open {
  transform: translateX(0);
  visibility: visible;
}

@media (min-width: 481px) {
  .cart-drawer.open {
    transform: translateX(calc(-50vw + 240px));
  }
}

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

.cart-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
}

.cart-close-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--muted-foreground);
  transition: background-color var(--transition-fast);
}

.cart-close-btn:hover {
  background-color: var(--muted);
  color: var(--foreground);
}

.cart-close-btn svg {
  width: 18px;
  height: 18px;
}

/* Cart Free Shipping Green Banner */
.cart-shipping-banner {
  margin: 1rem 1.25rem;
  background-color: #e8f8f2; /* Soft light green */
  border: 1px solid #10b981; /* Green border */
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.shipping-banner-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #10b981; /* Solid green */
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.shipping-banner-icon {
  width: 15px;
  height: 15px;
}

.shipping-banner-text {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  color: #065f46; /* Dark green text */
  letter-spacing: 0.03em;
  line-height: 1.4;
  text-align: left;
}

/* Cart Items Container */
.cart-items-list {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-empty-message {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted-foreground);
  padding: 2rem;
}

.cart-empty-message svg {
  width: 40px;
  height: 40px;
  margin-bottom: 0.75rem;
  stroke: var(--primary);
  opacity: 0.6;
}

.cart-item {
  display: flex;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.cart-item-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--muted);
  flex-shrink: 0;
  border: 1px solid var(--border);
}

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

.cart-item-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-name {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
}

.cart-item-variants-text {
  font-size: 11px;
  color: var(--muted-foreground);
  margin-top: 0.2rem;
  line-height: 1.4;
  white-space: pre-line;
}

.cart-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.4rem;
}

.cart-item-price {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--primary);
}

.cart-item-remove {
  font-size: 10px;
  font-weight: 700;
  color: var(--destructive);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 4px;
}

.cart-item-remove:hover {
  text-decoration: underline;
}

/* Cart Footer Checkout section */
.cart-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.03);
}

.cart-summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 14px;
}

.cart-summary-label {
  font-weight: 600;
}

.cart-summary-value {
  font-weight: 800;
  font-size: 17px;
  color: var(--foreground);
}

.cart-checkout-btn {
  width: 100%;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition-normal);
}

.cart-checkout-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

/* Footer Section - REDESIGNED EXACTLY LIKE USER IMAGE 2 */
.store-footer {
  background-color: #59728c; /* Exact Slate blue background */
  color: #ffffff;
  padding: 3rem 0 2rem 0;
  border-top: none;
}

.footer-columns-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: left;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-logo-wrap {
  margin-bottom: 0.75rem;
}

.footer-logo-pill {
  background-color: #ffffff;
  color: #000000;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 18px;
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  display: inline-block;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.footer-brand-text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  max-width: 280px;
}

.contact-links, .menu-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-links li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
}

.footer-icon {
  width: 14px;
  height: 14px;
  stroke: #ffffff;
  flex-shrink: 0;
}

.menu-links li a {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.menu-links li a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-divider-line {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.15);
  margin: 2rem 0 1.5rem 0;
}

.footer-copyright-center {
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.footer-email-sub {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.15rem;
}

.footer-payment-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.5rem;
  gap: 0.75rem;
}

.payment-trust-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #ffffff;
}

.lock-icon-svg {
  width: 18px;
  height: 18px;
  color: #ffffff;
  stroke-width: 2.5;
}

.payment-trust-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.1;
}

.payment-trust-text .p-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.payment-trust-text .p-sub {
  font-size: 8px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
}
