/* ==========================================
   Saravanakumar Crackers - Main Stylesheet
   Mobile-First Responsive Design
   Theme: Deep Red, Gold, Black - Festive Diwali
   ========================================== */

/* CSS Variables */
:root {
    --primary: #c41e3a;
    --primary-dark: #9a1530;
    --primary-light: #e8344f;
    --gold: #d4a017;
    --gold-light: #f0c840;
    --black: #1a1a1a;
    --dark: #2d2d2d;
    --gray: #666;
    --gray-light: #999;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --border: #e0e0e0;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --whatsapp: #25d366;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: var(--light-gray);
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; border: none; border-radius: var(--radius);
    font-size: 14px; font-weight: 600; cursor: pointer;
    transition: var(--transition); text-decoration: none;
    white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); }
.btn-whatsapp:hover { background: #1ebe5d; color: var(--white); }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: #c82333; color: var(--white); }
.btn-disabled { background: #ccc; color: #666; cursor: not-allowed; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-block { display: flex; width: 100%; justify-content: center; }
.btn-cart { background: var(--gold); color: var(--black); position: relative; }
.btn-cart:hover { background: var(--gold-light); color: var(--black); }
.btn-pulse { animation: pulse 2s infinite; }
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212,160,23,0.5); }
    50% { box-shadow: 0 0 0 10px rgba(212,160,23,0); }
}
.btn-submit { width: 100%; justify-content: center; padding: 16px 32px; font-size: 18px; }

/* ==========================================
   TOP BAR
   ========================================== */
.top-bar {
    background: var(--black); color: var(--white); padding: 6px 0;
    font-size: 13px;
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-contact a { color: var(--white); margin-right: 15px; }
.top-contact a:hover { color: var(--gold); }
.top-contact span { color: var(--gray-light); }
.top-links a { color: var(--gold); font-weight: 600; }

/* ==========================================
   HEADER
   ========================================== */
.main-header {
    background: var(--primary); padding: 12px 0;
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo-link { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo { height: 50px; width: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }
.logo-text { color: var(--white); }
.logo-text strong { display: block; font-size: 18px; line-height: 1.2; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.logo-text small { font-size: 11px; opacity: 0.9; }
.main-nav { display: flex; gap: 5px; }
.nav-link {
    color: var(--white); padding: 8px 16px; border-radius: var(--radius);
    font-weight: 500; font-size: 14px; position: relative;
}
.nav-link:hover { background: rgba(255,255,255,0.15); color: var(--white); }
.cart-link { position: relative; }
.cart-badge {
    position: absolute; top: 2px; right: 2px;
    background: var(--gold); color: var(--black);
    font-size: 11px; font-weight: 700;
    width: 20px; height: 20px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.mobile-menu-btn {
    display: none; background: none; border: none; color: var(--white);
    font-size: 24px; cursor: pointer;
}

/* ==========================================
   LEGAL NOTICE BANNER
   ========================================== */
.legal-notice-bar {
    background: #fff3cd; border-bottom: 2px solid var(--warning);
    padding: 10px 0;
}
.legal-notice-bar p {
    font-size: 12px; color: #856404; margin: 0; line-height: 1.5;
}
.legal-notice-bar i { color: #e6a800; margin-right: 5px; }

/* ==========================================
   FLASH MESSAGES
   ========================================== */
.flash-message { padding: 12px 0; font-weight: 500; }
.flash-success { background: #d4edda; color: #155724; border-bottom: 2px solid #28a745; }
.flash-error { background: #f8d7da; color: #721c24; border-bottom: 2px solid #dc3545; }
.flash-info { background: #d1ecf1; color: #0c5460; border-bottom: 2px solid #17a2b8; }
.flash-close { float: right; background: none; border: none; font-size: 20px; cursor: pointer; color: inherit; }

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--black) 100%);
    color: var(--white); padding: 60px 0;
    overflow: hidden;
}
.hero-content { display: flex; align-items: center; gap: 40px; }
.hero-text { flex: 1; }
.hero-title { font-size: 2.5rem; line-height: 1.2; margin-bottom: 15px; }
.hero-highlight { color: var(--gold); display: block; }
.hero-tagline { font-size: 1.3rem; color: var(--gold); margin-bottom: 10px; font-style: italic; }
.hero-desc { font-size: 1rem; color: #ccc; margin-bottom: 25px; }
.hero-actions { display: flex; gap: 15px; margin-bottom: 25px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 15px; flex-wrap: wrap; }
.badge { padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; }
.badge-green { background: rgba(40,167,69,0.2); color: #28a745; border: 1px solid #28a745; }
.badge-gold { background: rgba(212,160,23,0.2); color: var(--gold); border: 1px solid var(--gold); }
.hero-image { flex: 0 0 400px; text-align: center; }
.hero-image img { max-height: 350px; filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5)); }

/* ==========================================
   TRUST SECTION
   ========================================== */
.trust-section { padding: 40px 0; background: var(--white); border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-item { text-align: center; padding: 20px 15px; }
.trust-item i { font-size: 2.5rem; color: var(--primary); margin-bottom: 10px; }
.trust-item h3 { font-size: 1rem; margin-bottom: 5px; color: var(--black); }
.trust-item p { font-size: 0.85rem; color: var(--gray); }

/* ==========================================
   SECTIONS
   ========================================== */
.categories-section, .how-it-works, .shop-highlights { padding: 60px 0; }
.categories-section { background: var(--white); }
.section-title { text-align: center; font-size: 1.8rem; color: var(--black); margin-bottom: 8px; }
.section-subtitle { text-align: center; color: var(--gray); margin-bottom: 35px; }
.section-cta { text-align: center; margin-top: 35px; }

/* Category Grid */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; }
.category-card {
    background: var(--white); border: 2px solid var(--border); border-radius: var(--radius-lg);
    padding: 25px 15px; text-align: center; transition: var(--transition);
    display: flex; flex-direction: column; align-items: center;
}
.category-card:hover {
    border-color: var(--primary); transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.category-icon { font-size: 2rem; color: var(--primary); margin-bottom: 10px; }
.category-card h3 { font-size: 1rem; margin-bottom: 5px; color: var(--black); }
.category-count { font-size: 0.8rem; color: var(--gray); }
.category-arrow { color: var(--primary); margin-top: 8px; font-size: 0.9rem; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step { text-align: center; padding: 20px; }
.step-number {
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--primary); color: var(--white);
    font-size: 1.5rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 15px;
}
.step h3 { margin-bottom: 8px; color: var(--black); }
.step p { font-size: 0.9rem; color: var(--gray); }

/* Highlights */
.shop-highlights { background: var(--white); }
.highlights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.highlight-card { text-align: center; padding: 30px 20px; border-radius: var(--radius-lg); background: var(--light-gray); }
.highlight-card i { font-size: 2rem; color: var(--primary); margin-bottom: 10px; }
.highlight-card h3 { margin-bottom: 8px; }
.highlight-card a { color: var(--primary); font-weight: 600; }

/* ==========================================
   CATALOGUE PAGE
   ========================================== */
.breadcrumb-section { background: var(--dark); padding: 15px 0; }
.breadcrumb { color: #aaa; font-size: 14px; }
.breadcrumb a { color: #ccc; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 8px; }
.search-results-info { color: var(--gold); margin-top: 5px; }

.catalogue-page { padding: 30px 0; }
.catalogue-layout { display: grid; grid-template-columns: 250px 1fr; gap: 25px; }

/* Sidebar */
.catalogue-sidebar { position: sticky; top: 90px; align-self: start; }
.sidebar-section { background: var(--white); border-radius: var(--radius); padding: 20px; margin-bottom: 15px; box-shadow: var(--shadow); }
.sidebar-section h3 { font-size: 1rem; margin-bottom: 12px; color: var(--black); }
.search-form { display: flex; }
.search-form input {
    flex: 1; padding: 8px 12px; border: 1px solid var(--border);
    border-radius: var(--radius) 0 0 var(--radius); font-size: 14px;
}
.search-form button {
    padding: 8px 14px; background: var(--primary); color: var(--white);
    border: none; border-radius: 0 var(--radius) var(--radius) 0; cursor: pointer;
}
.category-filter { list-style: none; }
.category-filter li { margin-bottom: 4px; }
.category-filter a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 12px; border-radius: var(--radius); font-size: 14px;
    color: var(--dark);
}
.category-filter a:hover { background: var(--light-gray); color: var(--primary); }
.category-filter a.active { background: var(--primary); color: var(--white); }
.cat-count { font-size: 12px; background: rgba(0,0,0,0.1); padding: 2px 8px; border-radius: 10px; }

/* Products Grid */
.catalogue-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.catalogue-header h2 { font-size: 1.5rem; color: var(--black); margin: 0; }
.discount-badge { color: var(--primary); font-weight: 600; }
.cart-count-inline { margin-left: 5px; font-size: 12px; }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }

/* Product Card */
.product-card {
    background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow); transition: var(--transition);
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.product-card.out-of-stock { opacity: 0.6; filter: grayscale(40%); }
.product-image { position: relative; height: 180px; background: #f9f9f9; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-placeholder { font-size: 3rem; color: #ddd; }
.discount-tag {
    position: absolute; top: 10px; right: 10px;
    background: var(--danger); color: var(--white);
    padding: 4px 10px; border-radius: 15px; font-size: 12px; font-weight: 700;
}
.out-of-stock-badge {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-15deg);
    background: rgba(0,0,0,0.8); color: var(--white);
    padding: 8px 20px; font-size: 14px; font-weight: 700; border-radius: var(--radius);
}
.product-info { padding: 15px; }
.product-code { font-size: 12px; color: var(--gray); font-weight: 600; }
.product-name { font-size: 1rem; color: var(--black); margin: 5px 0; line-height: 1.3; }
.product-category { font-size: 12px; color: var(--primary); }
.product-pricing { display: flex; align-items: center; gap: 10px; margin: 10px 0; }
.product-mrp { text-decoration: line-through; color: var(--gray-light); font-size: 14px; }
.product-final { font-size: 1.2rem; font-weight: 700; color: var(--primary); }
.product-actions { display: flex; gap: 8px; margin-top: 10px; }
.qty-control { display: flex; align-items: center; gap: 0; }
.qty-control button {
    width: 32px; height: 32px; border: 1px solid var(--border);
    background: var(--light-gray); cursor: pointer; font-size: 14px;
}
.qty-control input {
    width: 45px; height: 32px; text-align: center; border: 1px solid var(--border);
    border-left: none; border-right: none; font-size: 14px;
}
.btn-add-cart {
    flex: 1; background: var(--primary); color: var(--white);
    border: none; border-radius: var(--radius); padding: 8px 12px;
    font-size: 13px; font-weight: 600; cursor: pointer; transition: var(--transition);
}
.btn-add-cart:hover { background: var(--primary-dark); }

.no-products { text-align: center; padding: 60px 20px; }
.no-products i { font-size: 4rem; color: #ddd; margin-bottom: 15px; }
.no-products h3 { margin-bottom: 10px; }

/* ==========================================
   CART / ESTIMATE PAGE
   ========================================== */
.cart-page { padding: 30px 0; }
.cart-page h1 { margin-bottom: 20px; }
.cart-notice {
    background: #fff3cd; border: 1px solid #ffc107; border-radius: var(--radius);
    padding: 15px; margin-bottom: 20px;
}
.cart-notice p { margin: 0; font-size: 13px; color: #856404; }

.empty-cart { text-align: center; padding: 60px 20px; }
.empty-cart i { font-size: 5rem; color: #ddd; margin-bottom: 20px; }

/* Cart Table */
.cart-table-wrapper { overflow-x: auto; margin-bottom: 20px; }
.cart-table {
    width: 100%; border-collapse: collapse; background: var(--white);
    box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden;
}
.cart-table th {
    background: var(--dark); color: var(--white); padding: 10px 12px;
    font-size: 13px; text-align: left; white-space: nowrap;
}
.cart-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); font-size: 14px; }
.cart-table tbody tr:hover { background: #f8f8f8; }
.cart-table .col-sno, .col-qty, .col-rate, .col-discount, .col-final, .col-amount { text-align: right; }
.cart-table .col-sno { text-align: center; width: 40px; }
.cart-table .col-qty { width: 120px; }
.cart-table .col-action { width: 40px; text-align: center; }
.subtotal-row td { background: #f8f8f8; border-top: 2px solid var(--primary); font-size: 15px; }

.btn-remove {
    background: none; border: none; color: var(--danger); cursor: pointer;
    font-size: 16px; padding: 5px;
}
.btn-remove:hover { color: #a71d2a; }

.mobile-only-info { display: none; }

/* Cart Warning */
.cart-warning {
    background: #f8d7da; border: 1px solid #f5c6cb; border-radius: var(--radius);
    padding: 15px; margin-bottom: 20px; color: #721c24;
}
.cart-warning p { margin: 0; }

/* Cart Actions */
.cart-actions { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 20px 0; flex-wrap: wrap; }

/* Checkout Form */
.checkout-form-section {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 30px; margin-top: 30px; box-shadow: var(--shadow);
}
.checkout-form-section h2 { margin-bottom: 20px; color: var(--black); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-group { display: flex; flex-direction: column; }
.form-group label { font-weight: 600; font-size: 14px; margin-bottom: 5px; color: var(--dark); }
.form-group input, .form-group textarea, .form-group select {
    padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius);
    font-size: 14px; transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(196,30,58,0.1);
}
.form-group textarea { min-height: 80px; resize: vertical; }
.form-actions { margin-top: 25px; text-align: center; }
.form-note { margin-top: 10px; font-size: 13px; color: var(--gray); }

/* ==========================================
   CONFIRMATION PAGE
   ========================================== */
.confirmation-page { padding: 40px 0; min-height: 60vh; display: flex; align-items: center; }
.confirmation-card {
    background: var(--white); border-radius: var(--radius-lg); padding: 40px;
    text-align: center; max-width: 600px; margin: 0 auto; box-shadow: var(--shadow-lg);
}
.confirmation-icon { font-size: 5rem; color: var(--success); margin-bottom: 15px; }
.confirmation-card h1 { color: var(--success); margin-bottom: 15px; }
.enquiry-number { font-size: 1.2rem; background: var(--light-gray); padding: 10px 20px; border-radius: var(--radius); display: inline-block; margin-bottom: 20px; }
.confirmation-message { margin-bottom: 25px; }
.confirmation-contact { display: flex; gap: 15px; justify-content: center; margin-bottom: 25px; flex-wrap: wrap; }
.confirmation-actions { margin-bottom: 25px; }
.confirmation-notice { background: #fff3cd; border: 1px solid #ffc107; border-radius: var(--radius); padding: 15px; margin-bottom: 25px; text-align: left; }
.confirmation-notice p { margin: 0; font-size: 12px; color: #856404; }
.confirmation-footer { display: flex; gap: 15px; justify-content: center; }

/* ==========================================
   STATIC PAGES
   ========================================== */
.static-page { padding: 40px 0; }
.page-content { max-width: 900px; }
.page-content h1 { font-size: 2rem; margin-bottom: 20px; color: var(--black); }
.page-content h2 { font-size: 1.4rem; margin: 25px 0 12px; color: var(--primary); }
.page-content p { margin-bottom: 12px; color: var(--dark); }
.page-content ul, .page-content ol { margin: 12px 0 12px 25px; }
.page-content li { margin-bottom: 8px; color: var(--dark); }
.lead { font-size: 1.2rem; color: var(--gray); }

/* About */
.about-intro { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: var(--white); padding: 30px; border-radius: var(--radius-lg); margin-bottom: 30px; }
.about-intro .lead { color: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 300px; gap: 30px; }
.about-card { background: var(--white); border-radius: var(--radius); padding: 20px; margin-bottom: 15px; box-shadow: var(--shadow); }
.about-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--primary); }
.about-card a { color: var(--primary); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-card { background: var(--white); border-radius: var(--radius); padding: 25px; margin-bottom: 15px; box-shadow: var(--shadow); }
.contact-card h2 { font-size: 1.2rem; margin-bottom: 12px; color: var(--primary); }
.phone-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--light-gray); border-radius: var(--radius); margin: 4px; font-weight: 600; }
.phone-link:hover { background: var(--primary); color: var(--white); }
.map-container { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-note { margin-top: 8px; }

/* Legal */
.legal-notice-full { background: var(--white); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
.legal-box { background: #fff3cd; border-left: 4px solid var(--warning); padding: 20px; margin: 15px 0; border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; color: #856404; }
.legal-list { margin-left: 20px; }
.legal-list li { margin-bottom: 10px; }

/* ==========================================
   FOOTER
   ========================================== */
.main-footer { background: var(--black); color: #ccc; }
.footer-top { padding: 50px 0 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer-col h3 { color: var(--white); font-size: 1rem; margin-bottom: 15px; }
.footer-col p { font-size: 13px; margin-bottom: 8px; }
.footer-col a { color: #ccc; }
.footer-col a:hover { color: var(--gold); }
.footer-logo { height: 35px; width: auto; margin-right: 8px; vertical-align: middle; }
.tagline { color: var(--gold); font-style: italic; margin-bottom: 10px !important; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 6px; }
.footer-links a { font-size: 13px; }
.footer-social { display: flex; gap: 12px; margin-top: 10px; }
.footer-social a { font-size: 20px; color: var(--gold); }
.bank-details { font-size: 13px; }
.bank-details p { margin-bottom: 4px; }

.footer-legal { border-top: 1px solid #333; padding: 15px 0; }
.legal-compliance { text-align: center; margin-bottom: 8px; }
.legal-compliance p { font-size: 12px; color: var(--gold); }
.copyright { text-align: center; font-size: 13px; }
.copyright a { color: #999; }

/* ==========================================
   ERROR PAGE
   ========================================== */
.error-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; }

/* ==========================================
   RESPONSIVE
   ========================================== */
.hide-mobile { display: inline; }
.hide-desktop { display: none; }

@media (max-width: 1024px) {
    .hero-content { flex-direction: column; text-align: center; }
    .hero-image { flex: none; }
    .hero-actions, .hero-badges { justify-content: center; }
    .catalogue-layout { grid-template-columns: 1fr; }
    .catalogue-sidebar { position: static; display: none; }
    .catalogue-sidebar.show { display: block; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .main-nav { 
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--primary-dark); flex-direction: column; padding: 10px;
        box-shadow: var(--shadow-lg);
    }
    .main-nav.show { display: flex; }
    .mobile-menu-btn { display: block; }
    .hide-mobile { display: none; }
    .hide-desktop { display: block; }
    
    .hero { padding: 30px 0; }
    .hero-title { font-size: 1.8rem; }
    .hero-image { display: none; }
    
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: 1fr; }
    .highlights-grid { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
    
    .form-grid { grid-template-columns: 1fr; }
    .cart-actions { flex-direction: column; }
    .cart-actions .btn { width: 100%; justify-content: center; }
    
    .confirmation-card { padding: 25px; }
    .confirmation-contact { flex-direction: column; }
    .confirmation-footer { flex-direction: column; }
    
    /* Mobile cart - show table data differently */
    .mobile-only-info { display: block; font-size: 12px; color: var(--gray); }
    .col-rate, .col-discount, .col-final { display: none; }
    .cart-table th.col-rate, .cart-table th.col-discount, .cart-table th.col-final { display: none; }
}

@media (max-width: 480px) {
    .top-bar { display: none; }
    .logo-text strong { font-size: 14px; }
    .logo { height: 40px; }
    .category-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
}
