/* Bella Pelle Italia — Professional E-commerce Styles */
:root {
  --primary: #2d6a4f;
  --primary-dark: #1b4332;
  --primary-light: #40916c;
  --accent: #c9a227;
  --accent-light: #e8c547;
  --text: #2c2c2c;
  --text-light: #666;
  --bg: #faf9f7;
  --white: #ffffff;
  --border: #e8e4df;
  --shadow: 0 4px 20px rgba(0,0,0,.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,.12);
  --radius: 8px;
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 15px;
}

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

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Top Bar */
.top-bar {
  background: var(--primary-dark);
  color: var(--white);
  text-align: center;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
}

.top-bar strong { color: var(--accent-light); }

.top-bar a { color: var(--accent-light); }

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 1px;
}

.logo span { color: var(--accent); font-size: 14px; display: block; font-family: var(--font); font-weight: 400; letter-spacing: 2px; text-transform: uppercase; }

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.main-nav { display: flex; gap: 28px; list-style: none; }

.main-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .3s;
}

.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

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

.search-box {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg);
}

.search-box input {
  border: none;
  background: transparent;
  padding: 8px 16px;
  font-size: 13px;
  width: 180px;
  outline: none;
}

.search-box button {
  background: var(--primary);
  border: none;
  color: white;
  padding: 8px 14px;
  cursor: pointer;
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: var(--text);
  position: relative;
  padding: 4px;
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary-dark);
}

/* Hero Banner */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(27,67,50,.85) 0%, rgba(27,67,50,.4) 50%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  color: white;
  max-width: 560px;
  margin-left: max(20px, calc((100vw - 1200px) / 2 + 20px));
}

.hero-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero p {
  font-size: 17px;
  opacity: .92;
  margin-bottom: 28px;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
  cursor: pointer;
  border: none;
  transition: all .3s;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,162,39,.4);
  color: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
  margin-left: 12px;
}

.btn-outline:hover { background: white; color: var(--primary-dark); }

/* Secondary Banners */
.banner-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 30px 0;
}

.banner-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: center;
}

.banner-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(27,67,50,.75), transparent);
}

.banner-card-content {
  position: relative;
  z-index: 2;
  padding: 30px;
  color: white;
}

.banner-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 8px;
}

.banner-card p { font-size: 14px; opacity: .9; margin-bottom: 16px; }

.btn-sm {
  padding: 10px 22px;
  font-size: 12px;
  background: var(--accent);
  color: var(--primary-dark);
  border-radius: 20px;
  font-weight: 600;
  display: inline-block;
}

.btn-sm:hover { background: var(--accent-light); color: var(--primary-dark); }

/* Features */
.features {
  background: var(--white);
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.feature-item {
  text-align: center;
  padding: 20px 10px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 22px;
}

.feature-item h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
  color: var(--primary-dark);
}

.feature-item p { font-size: 12px; color: var(--text-light); }

/* Section Titles */
.section { padding: 60px 0; }

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--primary-dark);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #e74c3c;
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  z-index: 2;
}

.product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: #f5f3f0;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

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

.product-actions {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: all .3s;
}

.product-card:hover .product-actions { opacity: 1; transform: translateY(0); }

.product-actions button {
  background: white;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  font-size: 14px;
  transition: background .2s;
}

.product-actions button:hover { background: var(--primary); color: white; }

.product-info { padding: 18px; }

.product-info h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
  min-height: 40px;
}

.product-info h3 a { color: var(--text); }
.product-info h3 a:hover { color: var(--primary); }

.product-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.price-old {
  text-decoration: line-through;
  color: var(--text-light);
  font-size: 13px;
}

.price-current {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
}

.price-note { font-size: 11px; color: var(--text-light); }

.add-to-cart {
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: background .2s;
}

.add-to-cart:hover { background: var(--primary-dark); }

/* Categories */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.category-card:hover img { transform: scale(1.08); }

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(27,67,50,.85));
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.category-overlay h3 {
  color: white;
  font-size: 16px;
  font-weight: 600;
}

.category-overlay span {
  color: var(--accent-light);
  font-size: 13px;
}

/* Brands */
.brands {
  background: var(--white);
  padding: 40px 0;
}

.brands-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.brand-item {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text-light);
  opacity: .6;
  font-weight: 600;
  letter-spacing: 1px;
  transition: opacity .2s;
}

.brand-item:hover { opacity: 1; color: var(--primary); }

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h3 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-text ul {
  list-style: none;
  margin-top: 20px;
}

.about-text li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text);
}

.about-text li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-light);
  font-weight: 700;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Reviews */
.reviews {
  background: var(--primary-dark);
  color: white;
  padding: 60px 0;
}

.reviews .section-header h2 { color: white; }

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

.review-card {
  background: rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(255,255,255,.1);
}

.review-stars { color: var(--accent-light); font-size: 14px; margin-bottom: 12px; }

.review-card p {
  font-size: 14px;
  line-height: 1.7;
  opacity: .9;
  margin-bottom: 16px;
  font-style: italic;
}

.review-author {
  font-weight: 600;
  font-size: 13px;
}

.review-date { font-size: 11px; opacity: .6; }

.rating-summary {
  text-align: center;
  margin-bottom: 40px;
}

.rating-big {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent-light);
}

.rating-summary p { opacity: .8; font-size: 14px; }

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s;
}

.blog-card:hover { transform: translateY(-4px); }

.blog-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

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

.blog-content { padding: 22px; }

.blog-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.blog-category {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.blog-content h3 {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.blog-content h3 a { color: var(--text); }
.blog-content h3 a:hover { color: var(--primary); }

.blog-excerpt {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 14px;
}

.read-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* Footer */
.site-footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #333;
}

.footer-brand .logo { color: white; margin-bottom: 16px; }

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-contact p {
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-contact strong { color: white; }

.footer-col h4 {
  color: white;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 10px; }

.footer-col a {
  color: #aaa;
  font-size: 14px;
  transition: color .2s;
}

.footer-col a:hover { color: var(--accent-light); }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #777;
}

.payment-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 24px;
}

/* Page Header */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 50px 0;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: 36px;
  margin-bottom: 8px;
}

.page-hero p { opacity: .85; font-size: 16px; }

.breadcrumb {
  font-size: 13px;
  margin-bottom: 12px;
  opacity: .8;
}

.breadcrumb a { color: var(--accent-light); }

/* Article Page */
.article-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 50px 20px;
}

.article-content h2 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--primary-dark);
  margin: 32px 0 16px;
}

.article-content p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: var(--text);
}

.article-content ul, .article-content ol {
  margin: 16px 0 16px 24px;
  line-height: 1.8;
}

.article-featured-image {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}

.article-meta-bar {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 30px;
  font-size: 13px;
  color: var(--text-light);
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 50px 0;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  margin-bottom: 16px;
  background: var(--white);
}

.contact-form textarea { min-height: 140px; resize: vertical; }

/* Product Detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 50px 0;
}

.product-gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  background: #f5f3f0;
  aspect-ratio: 1;
}

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

.product-gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.product-gallery-thumbs img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s;
}

.product-gallery-thumbs img.active,
.product-gallery-thumbs img:hover { border-color: var(--primary); }

.product-detail-info h1 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.product-detail-info .product-price { margin: 20px 0; }

.product-detail-info .price-current { font-size: 28px; }

.product-description {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

.product-features {
  background: var(--bg);
  padding: 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.product-features li {
  padding: 6px 0;
  list-style: none;
  padding-left: 20px;
  position: relative;
}

.product-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-light);
}

.qty-selector {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.qty-selector button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  background: white;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
}

.qty-selector input {
  width: 50px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px;
  font-size: 16px;
}

/* Order Form */
.order-section {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.order-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.order-summary,
.order-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.order-summary h3,
.order-form h3 {
  font-family: var(--font-display);
  color: var(--primary-dark);
  margin-bottom: 20px;
  font-size: 20px;
}

.order-empty {
  text-align: center;
  color: var(--text-light);
  padding: 20px 0;
  font-size: 14px;
}

.order-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.order-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-item-info strong { font-size: 14px; }

.order-item-info span {
  font-size: 13px;
  color: var(--text-light);
}

.order-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: var(--text-light);
  padding: 4px 8px;
  line-height: 1;
}

.order-item-remove:hover { color: var(--primary); }

.order-add-product {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.order-add-product select {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 13px;
  background: white;
}

.order-total {
  display: flex;
  justify-content: space-between;
  padding: 20px 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
}

.order-note {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 8px;
}

.order-form input,
.order-form textarea,
.order-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  margin-bottom: 12px;
}

.order-form textarea {
  min-height: 80px;
  resize: vertical;
}

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

.order-form-row input { margin-bottom: 0; }

.order-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-light);
  margin: 16px 0 20px;
  cursor: pointer;
}

.order-checkbox input { width: auto; margin-top: 3px; }

.order-checkbox a { color: var(--primary); }

.order-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}

.order-link { position: relative; text-decoration: none; }

/* Cart Modal (legacy) */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active { display: flex; }

.modal {
  background: white;
  border-radius: var(--radius);
  padding: 30px;
  max-width: 480px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-light);
}

.modal h2 {
  font-family: var(--font-display);
  margin-bottom: 20px;
  color: var(--primary-dark);
}

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

.cart-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 700;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: white;
  z-index: 1500;
  padding: 80px 30px 30px;
  transform: translateX(100%);
  transition: transform .3s;
}

.mobile-nav.active { transform: translateX(0); }

.mobile-nav ul { list-style: none; }

.mobile-nav li { border-bottom: 1px solid var(--border); }

.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary-dark);
  color: white;
  padding: 16px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all .3s;
  font-size: 14px;
}

.toast.show { transform: translateY(0); opacity: 1; }

/* Responsive */
@media (max-width: 1024px) {
  .products-grid, .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav, .search-box { display: none; }
  .mobile-toggle { display: block; }
  .mobile-nav { display: block; }

  .hero { min-height: 400px; }
  .hero-content { margin-left: 20px; max-width: 90%; }
  .btn-outline { margin-left: 0; margin-top: 10px; display: inline-block; }

  .banner-row { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid, .blog-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-grid, .product-detail, .order-grid { grid-template-columns: 1fr; }
  .order-form-row { grid-template-columns: 1fr; }
  .order-add-product { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
}
