/* -------------------------------------------------------------
 * SUPPLEMENT VILLA - BRAND STYLESHEET
 * ------------------------------------------------------------- */

/* Variables matching live theme */
:root {
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --background: #FFFFFF;
  --foreground: #1D1D1F; /* Apple slate black */
  --primary: #0071E3; /* Apple blue */
  --primary-hover: #0077ED;
  --muted: #F5F5F7; /* Apple light gray background */
  --muted-foreground: #6E6E73;
  --border: #D2D2D7;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 24px;
  
  --transition-normal: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-fast: 0.15s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: #FBFBFD;
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

input, textarea, select {
  font-family: inherit;
  outline: none;
}

.max-w-7xl {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.max-w-6xl {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
}

.max-w-5xl {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 24px;
}

.max-w-4xl {
  max-width: 896px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header Navigation */
.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1280px;
  height: 80px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--foreground);
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(29, 29, 31, 0.7);
  transition: color var(--transition-fast);
  padding: 8px 0;
}

.nav-link:hover {
  color: var(--muted-foreground);
}

.nav-link.active {
  color: var(--foreground);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-trigger {
  position: relative;
  padding: 8px;
  color: var(--foreground);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
}

.cart-trigger:hover {
  color: var(--muted-foreground);
}

.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background-color: var(--foreground);
  color: var(--background);
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle {
  display: none;
  padding: 8px;
  color: var(--foreground);
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background-color: var(--background);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease-out;
}

.mobile-nav.active {
  display: block;
  max-height: 300px;
}

.mobile-nav-menu {
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 16px;
}

.mobile-nav-link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--foreground);
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

/* Dynamic Page Content Spacing */
#main-content {
  min-height: 70vh;
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 112px 24px 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: var(--background);
}

.hero-glow-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 224px;
  background: radial-gradient(circle at top, rgba(0, 113, 227, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  max-width: 896px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background-color: rgba(255, 255, 255, 0.9);
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted-foreground);
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.brand-badge-dot {
  height: 8px;
  width: 8px;
  border-radius: 50%;
  background-color: var(--primary);
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--foreground);
  line-height: 1.05;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 72px;
  }
}

.hero-subtitle {
  font-size: 20px;
  color: var(--muted-foreground);
  max-width: 672px;
  margin: 0 auto;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 24px;
  }
}

.hero-pill-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted-foreground);
}

.hero-pill-tag {
  border-radius: 9999px;
  border: 1px solid var(--border);
  background-color: var(--background);
  padding: 8px 16px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  sm-flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

.btn-hero-primary {
  display: inline-block;
  background-color: var(--primary);
  color: var(--background);
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 9999px;
  transition: all var(--transition-fast);
}

.btn-hero-primary:hover {
  background-color: var(--primary-hover);
  transform: scale(1.02);
}

.btn-hero-primary:active {
  transform: scale(0.98);
}

.btn-hero-link {
  color: var(--primary);
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-hero-link:hover {
  text-decoration: underline;
}

.btn-hero-link span {
  transition: transform var(--transition-fast);
}

.btn-hero-link:hover span {
  transform: translateX(2px);
}

/* Trust Section */
.trust-section {
  padding: 64px 24px;
  max-width: 1152px;
  margin: 0 auto;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background-color: var(--background);
  border-radius: 24px;
  border: 1px solid rgba(210, 210, 215, 0.3);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  text-align: center;
}

@media (min-width: 768px) {
  .trust-card {
    text-align: left;
  }
}

.trust-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

.trust-desc {
  font-size: 15px;
  color: #86868B;
  font-weight: 300;
  line-height: 1.6;
}

/* Shop Listing Section */
.shop-section {
  padding: 96px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.shop-header {
  margin-bottom: 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.shop-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .shop-title {
    font-size: 48px;
  }
}

.shop-subtitle {
  font-size: 18px;
  color: #86868B;
  font-weight: 300;
  max-width: 576px;
  margin: 0 auto;
  line-height: 1.5;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }
}

/* Product Card */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--background);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 24px;
  transition: all var(--transition-normal);
  overflow: hidden;
}

.product-card:hover {
  border-color: var(--foreground);
}

.product-card-blur-glow {
  position: absolute;
  top: -48px;
  right: -48px;
  width: 96px;
  height: 96px;
  background-color: rgba(0, 113, 227, 0.2);
  border-radius: 50%;
  filter: blur(16px);
  transition: background-color var(--transition-normal);
}

.product-card:hover .product-card-blur-glow {
  background-color: rgba(0, 113, 227, 0.4);
}

.product-card-image-wrapper {
  position: relative;
  aspect-ratio: 1;
  background-color: var(--muted);
  border-radius: 8px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  overflow: hidden;
}

.product-card-image-bg-tint {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 113, 227, 0.05);
}

.product-card-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
  position: relative;
  z-index: 10;
}

.product-card:hover .product-card-image {
  transform: scale(1.1) rotate(-3deg);
}

.product-card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  z-index: 10;
}

.product-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 4px;
}

.product-card-flavor {
  font-size: 14px;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.product-card-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.product-card-price {
  font-size: 20px;
  font-weight: 700;
}

.product-card-arrow {
  font-size: 18px;
  font-weight: 600;
  color: var(--muted-foreground);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.product-card:hover .product-card-arrow {
  transform: translateX(4px);
  color: var(--foreground);
}

/* About Section */
.about-section {
  padding: 112px 24px;
  background-color: #F5F5F7;
  border-top: 1px solid rgba(210, 210, 215, 0.5);
}

.about-container {
  max-width: 896px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .about-title {
    font-size: 48px;
  }
}

.about-desc {
  font-size: 18px;
  color: #86868B;
  font-weight: 300;
  line-height: 1.6;
  max-width: 768px;
  margin: 0 auto;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .about-desc {
    font-size: 20px;
  }
}

/* Product Detail Page View */
.product-detail-view {
  background-color: var(--background);
}

.product-detail-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px 96px 24px;
}

.product-detail-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 768px) {
  .product-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 64px;
  }
}

@media (min-width: 1024px) {
  .product-detail-grid {
    gap: 96px;
  }
}

/* Mobile title block */
.product-mobile-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .product-mobile-header {
    display: none;
  }
}

.product-detail-title-sm {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.product-detail-sub-sm {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* Left Column: Gallery */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-main-image-wrapper {
  aspect-ratio: 1;
  background-color: rgba(245, 245, 247, 0.3);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.product-main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.product-thumbnails-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product-thumb-btn {
  aspect-ratio: 1;
  border: 1px solid var(--border);
  background-color: rgba(245, 245, 247, 0.3);
  overflow: hidden;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

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

.product-thumb-btn.active {
  border-color: var(--foreground);
  ring: 1px solid var(--foreground);
  box-shadow: 0 0 0 1px var(--foreground);
}

.product-thumb-btn:hover:not(.active) {
  border-color: rgba(29, 29, 31, 0.5);
}

/* Right Column: Info */
.product-info {
  display: flex;
  flex-direction: column;
}

.product-desktop-header {
  display: none;
}

@media (min-width: 768px) {
  .product-desktop-header {
    display: block;
    margin-bottom: 32px;
  }
}

.product-detail-title-lg {
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

@media (min-width: 1024px) {
  .product-detail-title-lg {
    font-size: 36px;
  }
}

.product-detail-sub-lg {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 12px;
}

.product-meta-row {
  display: flex;
  flex-direction: column;
  sm-flex-direction: row;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
  margin-bottom: 32px;
  gap: 16px;
}

@media (min-width: 640px) {
  .product-meta-row {
    flex-direction: row;
    align-items: flex-end;
  }
}

.product-detail-flavor {
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.product-detail-servings-badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--muted);
  padding: 4px 12px;
  margin-top: 8px;
}

.product-detail-servings-text {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--foreground);
}

.product-detail-price {
  font-size: 24px;
  font-weight: 500;
}

/* Selectors */
.detail-selector-group {
  margin-bottom: 32px;
}

.detail-selector-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--foreground);
  margin-bottom: 16px;
  display: block;
}

.detail-flavor-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.detail-flavor-btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border);
  background-color: var(--background);
  transition: all var(--transition-fast);
}

.detail-flavor-btn:hover {
  border-color: rgba(29, 29, 31, 0.5);
}

.detail-flavor-btn.active {
  border-color: var(--foreground);
  background-color: var(--foreground);
  color: var(--background);
}

.detail-qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  width: fit-content;
}

.detail-qty-btn {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
  transition: background-color var(--transition-fast);
}

.detail-qty-btn:hover {
  background-color: rgba(245, 245, 247, 0.5);
}

.detail-qty-val {
  width: 48px;
  text-align: center;
  font-weight: 500;
}

/* Purchase Actions Details */
.detail-purchase-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

.btn-detail-add-cart {
  width: 100%;
  background-color: var(--background);
  border: 1px solid var(--foreground);
  color: var(--foreground);
  padding: 16px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.btn-detail-add-cart:hover {
  background-color: var(--foreground);
  color: var(--background);
}

.btn-detail-buy-now {
  width: 100%;
  background-color: var(--foreground);
  color: var(--background);
  padding: 16px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  transition: background-color var(--transition-fast);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-detail-buy-now:hover {
  background-color: rgba(29, 29, 31, 0.9);
}

/* Description Details */
.product-description-container {
  border-top: 1px solid var(--border);
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-description-text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(29, 29, 31, 0.8);
}

.product-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-benefit-item {
  color: var(--foreground);
}

/* Formulated for biology section inside product view */
.detail-marketing-section {
  background-color: rgba(245, 245, 247, 0.3);
  border-top: 1px solid var(--border);
  padding: 64px 24px;
}

.detail-marketing-container {
  max-width: 1024px;
  margin: 0 auto;
}

.detail-marketing-header {
  text-align: center;
  margin-bottom: 48px;
}

.detail-marketing-title {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

@media (min-width: 768px) {
  .detail-marketing-title {
    font-size: 24px;
  }
}

.detail-marketing-underline {
  width: 48px;
  height: 1px;
  background-color: var(--foreground);
  margin: 24px auto 0 auto;
}

.detail-marketing-image-container {
  width: 100%;
  background-color: var(--background);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.01);
  overflow: hidden;
}

.detail-marketing-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Shopping Cart Page View */
.cart-view-container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 64px 24px;
}

.cart-view-empty {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  text-align: center;
  padding: 0 24px;
}

.cart-view-empty-title {
  font-size: 36px;
  font-weight: 700;
  font-style: italic; /* headline-italic styled */
  text-transform: uppercase;
}

.btn-cart-continue {
  background-color: var(--foreground);
  color: var(--background);
  padding: 16px 40px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: all var(--transition-fast);
}

.btn-cart-continue:hover {
  background-color: rgba(29, 29, 31, 0.9);
}

.cart-view-title-block {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.cart-view-title {
  font-size: 36px;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
}

.cart-view-title-line {
  height: 4px;
  flex-grow: 1;
  background: linear-gradient(to right, rgba(0, 113, 227, 0.5), transparent);
  border-radius: 2px;
}

.cart-view-items-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cart-view-item {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  background-color: var(--background);
  border-radius: 12px;
  border: 1px solid var(--border);
}

@media (min-width: 640px) {
  .cart-view-item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cart-view-item-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.cart-view-item-image-wrapper {
  width: 96px;
  height: 96px;
  background-color: var(--muted);
  border-radius: 8px;
  padding: 8px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.cart-view-item-image-tint {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 113, 227, 0.05);
}

.cart-view-item-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 10;
}

.cart-view-item-info-title {
  font-size: 18px;
  font-weight: 700;
  font-style: italic;
}

.cart-view-item-info-flavor {
  font-size: 14px;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.cart-view-item-info-price {
  font-size: 14px;
  font-weight: 500;
  margin-top: 8px;
  color: var(--muted-foreground);
}

.cart-view-item-right {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 32px;
}

@media (min-width: 640px) {
  .cart-view-item-right {
    width: auto;
    justify-content: flex-end;
  }
}

.cart-view-qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background-color: var(--background);
  overflow: hidden;
}

.cart-view-qty-btn {
  padding: 12px;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
}

.cart-view-qty-btn:hover {
  background-color: var(--muted);
}

.cart-view-qty-val {
  width: 48px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.cart-view-item-calculations {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 100px;
}

.cart-view-item-subtotal {
  font-size: 18px;
  font-weight: 700;
}

.cart-view-item-remove {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition-fast);
}

.cart-view-item-remove:hover {
  color: var(--foreground);
}

/* Cart Footer Sum */
.cart-view-summary-container {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
}

.cart-view-subtotal-card {
  width: 100%;
  max-width: 384px;
  background-color: var(--background);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-view-subtotal-label {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}

.cart-view-subtotal-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--foreground);
}

.btn-cart-checkout {
  width: 100%;
  max-width: 384px;
  background-color: var(--foreground);
  color: var(--background);
  padding: 20px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  border-radius: 8px;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-cart-checkout:hover {
  background-color: rgba(29, 29, 31, 0.9);
}

/* Checkout Page View */
.checkout-container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 64px 24px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 768px) {
  .checkout-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.checkout-card {
  background-color: var(--background);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 32px;
}

.checkout-section-title {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checkout-form-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 640px) {
  .checkout-form-row {
    flex-direction: row;
  }
}

.checkout-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.checkout-input-group label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.checkout-input-group input,
.checkout-input-group textarea,
.checkout-input-group select {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  transition: all var(--transition-fast);
}

.checkout-input-group input:focus,
.checkout-input-group textarea:focus,
.checkout-input-group select:focus {
  border-color: var(--foreground);
}

/* Order Summary Column */
.checkout-summary-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.checkout-summary-card {
  background-color: var(--background);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 24px;
}

.checkout-summary-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 240px;
  overflow-y: auto;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

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

.checkout-summary-item-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.checkout-summary-item-name {
  font-weight: 700;
}

.checkout-summary-item-flavor {
  font-size: 12px;
  color: var(--muted-foreground);
}

.checkout-summary-item-price {
  font-weight: 500;
}

.checkout-pricing-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.checkout-pricing-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted-foreground);
}

.checkout-pricing-row.total {
  font-size: 18px;
  font-weight: 700;
  color: var(--foreground);
}

.btn-checkout-action {
  width: 100%;
  background-color: var(--foreground);
  color: var(--background);
  padding: 16px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  border-radius: 8px;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-checkout-action:hover {
  background-color: rgba(29, 29, 31, 0.9);
}

/* Order Review view (Review state) */
.checkout-review-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.review-detail-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}

.review-detail-label {
  font-weight: 700;
  color: var(--muted-foreground);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.review-detail-val {
  color: var(--foreground);
}

.checkout-back-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  cursor: pointer;
  margin-top: 16px;
}

.checkout-back-link:hover {
  text-decoration: underline;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10000;
}

.toast {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: rgb(20, 83, 45);
  border: 1px solid rgb(134, 239, 172);
  padding: 16px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(20px);
  opacity: 0;
  animation: slideInToast 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast.error {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: rgb(127, 29, 29);
  border: 1px solid rgb(252, 165, 165);
}

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

.toast-close {
  color: rgba(0, 0, 0, 0.3);
  font-size: 18px;
}

.toast-close:hover {
  color: rgba(0, 0, 0, 0.6);
}

/* Footer Section */
.main-footer {
  background-color: #FFFFFF;
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    gap: 0;
  }
}

.footer-logo {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--foreground);
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--foreground);
}

.footer-copy {
  font-size: 11px;
  color: var(--muted-foreground);
  font-weight: 500;
}

/* Mobile Navigation Header Layout Fix */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    display: none;
  }
}
