/* ============================================================
   style.css — Silk Grandeur Luxury Frontend (FULLY RESPONSIVE)
   ============================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: #2c1810;
  background: #faf7f2;
  font-size: 16px;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ---- CSS VARIABLES ---- */
:root {
  --gold:    #d4a853;
  --dark:    #1a0a00;
  --cream:   #faf7f2;
  --ivory:   #f5f0e8;
  --muted:   #7a6550;
  --border:  #e8dfd2;
  --radius:  8px;
  --shadow:  0 4px 24px rgba(26,10,0,.08);
}

/* ---- TOPBAR ---- */
.topbar {
  background: var(--dark);
  color: #d4a853;
  font-size: .8rem;
  text-align: center;
  padding: .5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---- NAVBAR ---- */
.navbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
  flex-wrap: wrap;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 1.8rem;
  margin-left: auto;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
  letter-spacing: .03em;
}
.nav-links a:hover { color: var(--dark); }
.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  list-style: none;
  min-width: 160px;
  padding: .5rem 0;
  z-index: 200;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a {
  display: block;
  padding: .5rem 1.2rem;
  font-size: .88rem;
  color: var(--muted);
}
.dropdown li a:hover { background: var(--ivory); color: var(--dark); }
.nav-actions { 
  display: flex; 
  align-items: center; 
  gap: 1rem; 
}
.search-form { 
  display: flex; 
  border: 1px solid var(--border); 
  border-radius: 50px; 
  overflow: hidden; 
}
.search-form input {
  border: none; 
  outline: none; 
  padding: .4rem 1rem; 
  font-size: .85rem;
  background: transparent; 
  width: 180px;
}
.search-form button { 
  border: none; 
  background: var(--dark); 
  color: var(--gold); 
  padding: .4rem .9rem; 
  cursor: pointer; 
}
.cart-icon { 
  font-size: 1.2rem; 
  position: relative; 
  display: inline-block;
}
.cart-count {
  background: var(--gold); 
  color: #fff;
  font-size: .7rem; 
  font-weight: 700;
  border-radius: 50%; 
  width: 18px; 
  height: 18px;
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  position: absolute; 
  top: -8px; 
  right: -10px;
}
.hamburger { display: none; border: none; background: none; font-size: 1.4rem; cursor: pointer; margin-left: auto; }

/* ============================================
   ADD TO CART BUTTON STYLES
============================================ */

/* Product Card Add to Cart Button */
.btn-add-cart {
    width: 100%;
    padding: 10px 15px;
    background: #1a0a00;
    color: #d4a853;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'DM Sans', sans-serif;
    margin-top: 10px;
}

.btn-add-cart:hover {
    background: #d4a853;
    color: #1a0a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

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

/* Product Detail Page Add to Cart Button */
.add-to-cart-form .btn-primary {
    width: 100%;
    padding: 14px 20px;
    background: #1a0a00;
    color: #d4a853;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.add-to-cart-form .btn-primary:hover {
    background: #d4a853;
    color: #1a0a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212,168,83,0.3);
}

/* Quantity Control Styles */
.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #e8dfd2;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.qty-control button {
    width: 36px;
    height: 36px;
    border: none;
    background: #f5f0e8;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    color: #1a0a00;
    transition: all 0.2s;
}

.qty-control button:hover {
    background: #d4a853;
    color: #fff;
}

.qty-control input {
    width: 50px;
    height: 36px;
    text-align: center;
    border: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a0a00;
    background: #fff;
}

.qty-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 15px 0;
}

.qty-row label {
    font-weight: 500;
    color: #4a3728;
}

/* Cart Page Styles */
.cart-items {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.cart-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #e8dfd2;
    flex-wrap: wrap;
}

.cart-row img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    min-width: 150px;
}

.cart-item-info h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.cart-item-info h3 a {
    color: #1a0a00;
    text-decoration: none;
}

.cart-item-info h3 a:hover {
    color: #d4a853;
}

.cart-item-info p {
    font-size: 0.85rem;
    color: #8B7355;
}

.cart-line-total {
    font-weight: 700;
    font-size: 1rem;
    color: #1a0a00;
    min-width: 80px;
    text-align: right;
}

.btn-remove {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #c0392b;
    transition: all 0.2s;
    padding: 5px;
}

.btn-remove:hover {
    color: #e74c3c;
    transform: scale(1.1);
}

/* Cart Summary */
.cart-summary {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 90px;
}

.cart-summary h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1a0a00;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e8dfd2;
    font-size: 0.9rem;
}

.total-row {
    font-weight: 700;
    font-size: 1.1rem;
    border-bottom: none;
    padding-top: 15px;
    margin-top: 5px;
}

.free-tag {
    color: #27ae60;
    font-weight: 600;
}

.ship-note {
    background: #fff3cd;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    color: #856404;
    margin: 10px 0;
    text-align: center;
}

/* Cart Buttons */
.cart-summary .btn {
    width: 100%;
    margin-top: 10px;
    text-align: center;
    justify-content: center;
}

.cart-summary .btn-primary {
    background: #1a0a00;
    color: #d4a853;
}

.cart-summary .btn-primary:hover {
    background: #d4a853;
    color: #1a0a00;
}

.cart-summary .btn-outline {
    background: transparent;
    color: #1a0a00;
    border: 1px solid #e8dfd2;
}

.cart-summary .btn-outline:hover {
    background: #f5f0e8;
}

/* Empty Cart State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.empty-state p {
    font-size: 1.1rem;
    color: #8B7355;
    margin-bottom: 20px;
}

.empty-state .btn-primary {
    background: #1a0a00;
    color: #d4a853;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
}

.empty-state .btn-primary:hover {
    background: #d4a853;
    color: #1a0a00;
}

/* Small Quantity Control (for cart page) */
.qty-control.small button {
    width: 30px;
    height: 30px;
    font-size: 1rem;
}

.qty-control.small input {
    width: 45px;
    height: 30px;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .cart-row {
        flex-direction: column;
        text-align: center;
    }
    
    .cart-row img {
        width: 100px;
        height: 100px;
    }
    
    .cart-line-total {
        text-align: center;
    }
    
    .qty-control {
        justify-content: center;
    }
    
    .cart-summary {
        position: static;
    }
}
/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; 
  align-items: center; 
  gap: .4rem;
  padding: .75rem 1.8rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: .92rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.btn-primary:hover { background: #c4973e; border-color: #c4973e; transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-full { width: 100%; justify-content: center; }

/* ---- HERO SECTION ---- */
.hero {
  min-height: 85vh;
  background: linear-gradient(135deg, #1a0a00 0%, #3d1f0a 40%, #6b3a1f 70%, #d4a853 100%);
  display: flex;
  align-items: center;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}
.hero-content { position: relative; z-index: 1; max-width: 600px; }
.hero-sub { color: var(--gold); font-size: .9rem; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1rem; }
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 6vw, 4.5rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.hero-desc { color: rgba(255,255,255,.75); font-size: 1rem; margin-bottom: 2rem; max-width: 440px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---- VIDEO BANNER (FIXED) ---- */
.video-banner {
  position: relative;
  width: 100%;
  height: 550px;
  overflow: hidden;
  background: #000;
  margin: 0 auto;
}
.video-banner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  z-index: 2;
}
.video-overlay h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.video-overlay .btn-primary {
  background: var(--gold);
  color: var(--dark);
  border: none;
}
.video-overlay .btn-primary:hover {
  background: #c4973e;
  transform: translateY(-2px);
}
/* Fix for cart icon position */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}
.video-banner {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
    background: #1a0a00;
}

.video-banner iframe,
.video-banner video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 10;
    background: rgba(0,0,0,0.4);
    padding: 20px 40px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .video-banner {
        height: 300px;
    }
    .video-overlay h2 {
        font-size: 1.2rem;
    }
    .video-overlay {
        padding: 10px 20px;
    }
}
.cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #1a0a00;
    font-size: 1.1rem;
    white-space: nowrap;
}

.cart-count {
    background: #d4a853;
    color: #1a0a00;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Mobile fixes */
@media (max-width: 768px) {
    .nav-actions {
        gap: 8px;
    }
    
    .cart-icon {
        font-size: 1rem;
    }
    
    .cart-count {
        min-width: 16px;
        height: 16px;
        font-size: 0.6rem;
    }
    
    .search-form {
        max-width: 130px;
    }
    
    .search-form input {
        padding: 6px 8px;
        font-size: 12px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .nav-actions {
        gap: 5px;
    }
    
    .search-form {
        max-width: 100px;
    }
    
    .search-form input {
        padding: 5px 6px;
        font-size: 11px;
    }
    
    .cart-icon {
        font-size: 0.9rem;
    }
}

/* ---- SECTIONS ---- */
.section { padding: 4rem 0; }
.section-alt { background: var(--ivory); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--dark);
  margin-bottom: .5rem;
}
.section-head p { color: var(--muted); }

/* ---- CATEGORY GRID (FIXED) ---- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 30px;
}
.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  text-decoration: none;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: all .4s ease;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.15);
}
.cat-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.category-card:hover .cat-img img {
  transform: scale(1.1);
}
.category-card span {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  padding: 15px;
  text-align: center;
  letter-spacing: .5px;
}

/* ---- PRODUCT GRID (FIXED IMAGES) ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.product-card:hover { 
  transform: translateY(-6px); 
  box-shadow: 0 12px 40px rgba(26,10,0,.12); 
}
/* Global Product Image Styles - Full Coverage */
.product-img-wrap {
    width: 100%;
    background: #f0ebe4;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

/* Category Images - Full Coverage */
.cat-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f0ebe4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

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

/* Responsive Category Images */
@media (max-width: 768px) {
    .cat-img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .cat-img {
        height: 220px;
    }
}
.product-img-wrap { 
  overflow: hidden; 
  height: 280px; 
  background: #f5f0e8;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.product-card:hover .product-img-wrap img { 
  transform: scale(1.05); 
}
.product-info { 
  padding: 1rem; 
}
.product-cat { 
  font-size: .7rem; 
  text-transform: uppercase; 
  letter-spacing: .08em; 
  color: var(--gold); 
  margin-bottom: .3rem; 
}
.product-name { 
  font-size: .9rem; 
  font-weight: 500; 
  margin-bottom: .5rem; 
  line-height: 1.4;
  height: 2.8rem;
  overflow: hidden;
}
.product-name a:hover { color: var(--gold); }
.product-price { 
  display: flex; 
  align-items: center; 
  gap: .5rem; 
  margin-bottom: .8rem; 
}
.price-sale { 
  font-size: 1.1rem; 
  font-weight: 700; 
  color: var(--dark); 
}
.price-orig { 
  font-size: .85rem; 
  text-decoration: line-through; 
  color: var(--muted); 
}
.badge {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 50px;
  font-size: .7rem;
  font-weight: 600;
  position: absolute;
  top: 10px;
  z-index: 2;
}
.badge-new  { 
  left: 10px;  
  background: #1a0a00; 
  color: var(--gold); 
}
.badge-sale { 
  right: 10px; 
  background: #c0392b; 
  color: #fff; 
}
.product-card {
  position: relative;
}

/* ---- OFFER BANNER ---- */
.offer-banner {
  background: linear-gradient(90deg, #1a0a00, #3d1f0a);
  padding: 3rem 2rem;
  text-align: center;
  color: #fff;
}
.offer-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--gold);
  margin-bottom: .5rem;
}
.offer-banner p { margin-bottom: 1.5rem; opacity: .85; }

/* ---- WHY US ---- */
.why-grid { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 2rem; 
}
.why-card { 
  text-align: center; 
  padding: 1.5rem 1rem; 
  background: #fff;
  border-radius: 12px;
}
.why-card span { 
  font-size: 2.5rem; 
  display: block; 
  margin-bottom: 1rem; 
}
.why-card h4 { 
  font-weight: 600; 
  margin-bottom: .5rem; 
}
.why-card p { 
  font-size: .85rem; 
  color: var(--muted); 
}

/* ---- FOOTER ---- */
.footer { 
  background: var(--dark); 
  color: rgba(255,255,255,.7); 
  padding: 3rem 2rem 2rem; 
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px; 
  margin: 0 auto 2rem;
}
.footer h3 { 
  font-family: 'Playfair Display', serif; 
  color: var(--gold); 
  margin-bottom: 1rem; 
  font-size: 1.3rem; 
}
.footer h4 { 
  color: #fff; 
  margin-bottom: 1rem; 
  font-size: .9rem; 
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: .5rem; }
.footer ul a { 
  font-size: .85rem; 
  opacity: .7; 
  transition: opacity .2s; 
}
.footer ul a:hover { opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: .75rem;
  opacity: .5;
  max-width: 1200px; 
  margin: 0 auto;
}

/* ---- CART PAGE ---- */
.cart-page { 
  padding: 2rem 1.5rem; 
  min-height: 60vh;
}
.cart-page h1 { 
  font-family: 'Playfair Display', serif; 
  font-size: clamp(1.5rem, 4vw, 2rem); 
  margin-bottom: 2rem; 
}
.cart-layout { 
  display: grid; 
  grid-template-columns: 1fr 320px; 
  gap: 2rem; 
  align-items: start; 
}
.cart-items {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cart-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.cart-row img { 
  width: 80px; 
  height: 80px; 
  object-fit: cover; 
  border-radius: 8px; 
  flex-shrink: 0; 
}
.cart-item-info { 
  flex: 1; 
  min-width: 150px;
}
.cart-item-info h3 { 
  font-size: .9rem; 
  font-weight: 500; 
  margin-bottom: .2rem; 
}
.cart-item-info p { 
  font-size: .8rem; 
  color: var(--muted); 
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty-control button {
  border: none;
  background: var(--ivory);
  padding: .4rem .7rem;
  cursor: pointer;
  font-size: 1rem;
}
.qty-control input {
  border: none;
  width: 45px;
  text-align: center;
  padding: .4rem;
  font-size: .9rem;
}
.cart-line-total { 
  font-weight: 700; 
  min-width: 80px; 
  text-align: right; 
}
.btn-remove { 
  border: none; 
  background: none; 
  color: var(--muted); 
  cursor: pointer; 
  font-size: 1.2rem; 
  padding: .3rem; 
}
.cart-summary {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 90px;
}
.summary-row { 
  display: flex; 
  justify-content: space-between; 
  padding: .6rem 0; 
  border-bottom: 1px solid var(--border); 
  font-size: .9rem; 
}
.total-row { 
  font-weight: 700; 
  font-size: 1.1rem; 
  border-bottom: none; 
  padding-top: .8rem; 
}
.free-tag { color: #27ae60; font-weight: 600; }

/* ---- RESPONSIVE BREAKPOINTS ---- */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Landscape (481px - 768px) */
@media (max-width: 768px) {
  /* Navigation */
  .navbar {
    padding: 0.8rem 1rem;
  }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
  }
  .nav-links.active {
    display: flex;
  }
  .hamburger {
    display: block;
  }
  .search-form input {
    width: 120px;
  }
  
  /* Hero */
  .hero {
    padding: 3rem 1.5rem;
    min-height: 60vh;
  }
  .hero-badge {
    display: none;
  }
  
  /* Video Banner */
  .video-banner {
    height: 300px;
  }
  .video-overlay h2 {
    font-size: 1.3rem;
  }
  
  /* Grids */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  /* Product Images */
  .product-img-wrap {
    height: 220px;
  }
  .cat-img {
    height: 180px;
  }
  
  /* Cart */
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .cart-summary {
    position: static;
  }
  .cart-row {
    flex-wrap: wrap;
  }
  
  /* Sections */
  .section {
    padding: 2rem 0;
  }
  .container {
    padding: 0 1rem;
  }
  
  /* Footer */
  .footer {
    padding: 2rem 1rem 1.5rem;
  }
  .footer-grid {
    gap: 1.5rem;
  }
}

/* Mobile Portrait (up to 480px) */
@media (max-width: 480px) {
  /* Topbar */
  .topbar {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
  }
  
  /* Hero */
  .hero {
    padding: 2rem 1rem;
    min-height: 50vh;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero-desc {
    font-size: 0.85rem;
  }
  .hero-btns .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  /* Video Banner */
  .video-banner {
    height: 220px;
  }
  .video-overlay h2 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  .video-overlay .btn-primary {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }
  
  /* Grids - Single column */
  .product-grid {
    grid-template-columns: 1fr;
  }
  .category-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  
  /* Product Images */
  .product-img-wrap {
    height: 280px;
  }
  .cat-img {
    height: 220px;
  }
  
  /* Product Info */
  .product-name {
    font-size: 0.85rem;
    height: auto;
  }
  .price-sale {
    font-size: 1rem;
  }
  
  /* Section Headings */
  .section-head h2 {
    font-size: 1.5rem;
  }
  .section-head p {
    font-size: 0.85rem;
  }
  
  /* Offer Banner */
  .offer-banner {
    padding: 2rem 1rem;
  }
  .offer-banner h2 {
    font-size: 1.3rem;
  }
  .offer-banner p {
    font-size: 0.85rem;
  }
  
  /* Cart */
  .cart-page {
    padding: 1rem;
  }
  .cart-row {
    flex-direction: column;
    text-align: center;
  }
  .cart-row img {
    width: 120px;
    height: 120px;
  }
  .cart-line-total {
    text-align: center;
  }
  .qty-control {
    justify-content: center;
  }
  
  /* Footer */
  .footer h3 {
    font-size: 1.1rem;
  }
  .footer h4 {
    font-size: 0.85rem;
  }
  .footer ul a {
    font-size: 0.8rem;
  }
}

/* Small Mobile (up to 360px) */
@media (max-width: 360px) {
  .product-img-wrap {
    height: 240px;
  }
  .cat-img {
    height: 200px;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .section-head h2 {
    font-size: 1.3rem;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}
.btn-whatsapp {
  display: inline-block;
  background: #25D366;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  text-decoration: none;
}
.btn-whatsapp:hover {
  background: #1ebe5d;
}

/* Track Order Page */
.track-page {
  max-width: 700px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.track-form {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.track-form input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  min-width: 200px;
}
.track-box {
  margin-top: 30px;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
}

/* Shop Layout */
.shop-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2rem;
  padding: 2rem 1.5rem;
}
.shop-sidebar {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.filter-group {
  margin-bottom: 1.5rem;
}
.filter-group h4 {
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
  color: var(--muted);
}
.filter-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  cursor: pointer;
}
@media (max-width: 768px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }
  .shop-sidebar {
    position: static;
  }
}

/* Pagination */
.pagination {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  transition: all 0.2s;
}
.page-btn:hover, .page-btn.active {
  background: var(--dark);
  color: var(--gold);
  border-color: var(--dark);
}