/* ================================================
   PRATIKSHA TRADERS - LIGHT + STEEL BLUE THEME
   Light background + Dark navy accents = Logo Match
   ================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #1e3a52;
    --primary-light: #2c4f6e;
    --primary-dark: #132940;
    --accent: #2e86c1;
    --accent-light: #5dade2;
    --accent-soft: #eaf4fb;
    --text-main: #1a2e3d;
    --text-muted: #607d8f;
    --text-light: #8fa5b4;
    --bg-main: #f4f8fb;
    --bg-white: #ffffff;
    --bg-section: #eef4f9;
    --border: #dde8f0;
    --card-shadow: 0 2px 16px rgba(30,58,82,0.08);
    --card-hover: 0 12px 40px rgba(30,58,82,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius: 16px;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg-main); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); letter-spacing: -0.02em; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.bg-alt { background: var(--bg-section); }

.section-title {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 56px;
    color: var(--primary);
    position: relative;
    display: block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px; left: 50%;
    transform: translateX(-50%);
    width: 48px; height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 4px;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center; gap: 8px;
    padding: 13px 30px;
    background: var(--primary);
    color: white;
    font-family: var(--font-heading);
    font-weight: 700; font-size: 0.97rem;
    border-radius: 50px; border: none;
    cursor: pointer; transition: var(--transition);
    box-shadow: 0 4px 18px rgba(30,58,82,0.25);
}
.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(30,58,82,0.3);
    color: white;
}

.btn-outline {
    display: inline-block;
    padding: 10px 22px;
    background: white;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600; font-size: 0.88rem;
    border: 2px solid var(--border);
    border-radius: 50px;
    cursor: pointer; transition: var(--transition);
}
.btn-outline:hover, .btn-outline.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(30,58,82,0.2);
}

/* ========== NAVBAR (WHITE - logo visible) ========== */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background: #ffffff;
    z-index: 1000;
    padding: 12px 0;
    transition: var(--transition);
    box-shadow: 0 2px 16px rgba(30,58,82,0.1);
    border-bottom: 1px solid var(--border);
}
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo-link { display: flex; align-items: center; }
.nav-logo { height: 42px; width: auto; object-fit: contain; transition: var(--transition); }
.nav-logo:hover { transform: scale(1.04); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn-primary) {
    font-weight: 500; color: var(--text-muted);
    transition: var(--transition); font-size: 0.94rem;
}
.nav-links a:not(.btn-primary):hover { color: var(--primary); }
.nav-links .btn-primary {
    background: var(--primary); color: white;
    box-shadow: 0 3px 14px rgba(30,58,82,0.2);
    padding: 10px 22px; font-size: 0.88rem;
}
.nav-links .btn-primary:hover { background: var(--primary-light); color: white; transform: translateY(-1px); }

/* ========== HERO (DARK - matches navbar) ========== */
.hero {
    position: relative;
    height: 92vh; min-height: 620px;
    display: flex; align-items: center; justify-content: center; text-align: center;
    overflow: hidden;
}
.hero-slideshow { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.5s ease;
}
.hero-slide.active { opacity: 1; transform: scale(1.04); transition: opacity 1.5s ease, transform 7s ease-out; }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(19,41,64,0.45) 0%, rgba(19,41,64,0.65) 100%);
    z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 820px; }
.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px; font-size: 0.8rem;
    font-weight: 600; color: #a8d4ee;
    letter-spacing: 1px; text-transform: uppercase;
    margin-bottom: 22px;
    animation: fadeInUp 0.6s ease both;
}
.hero-title {
    font-size: clamp(2.6rem, 5.5vw, 4.6rem);
    font-weight: 800; line-height: 1.1; margin-bottom: 18px;
    color: white; animation: fadeInUp 0.7s ease 0.1s both;
}
.hero-title span { color: #5dade2; display: block; }
.hero-subtitle {
    font-size: 1.08rem; color: rgba(255,255,255,0.7);
    max-width: 560px; margin: 0 auto 36px;
    animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; animation: fadeInUp 0.9s ease 0.3s both; }
.hero-actions .btn-primary { background: white; color: var(--primary); box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.hero-actions .btn-primary:hover { background: var(--accent-soft); transform: translateY(-2px); }
.hero-actions .btn-outline { background: white; color: var(--primary); border-color: white; box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.hero-actions .btn-outline:hover { background: var(--accent-soft); color: var(--primary); border-color: white; transform: translateY(-2px); }

.hero-scroll {
    position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
    z-index: 2; display: flex; flex-direction: column; align-items: center;
    gap: 6px; color: rgba(255,255,255,0.5); font-size: 0.76rem;
    animation: bounce 2.5s infinite;
}
.hero-scroll span { font-size: 1.3rem; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-8px)} }

/* ========== ABOUT (LIGHT) ========== */
.about { background: var(--bg-white); }
.about-text {
    max-width: 680px; margin: 0 auto 48px;
    text-align: center; font-size: 1.06rem; color: var(--text-muted); line-height: 1.8;
}
.about-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.about-stat {
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px 20px;
    text-align: center; transition: var(--transition);
    position: relative; overflow: hidden;
}
.about-stat::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
}
.about-stat:hover { transform: translateY(-5px); box-shadow: var(--card-hover); }
.about-stat .stat-num { font-size: 2.2rem; font-weight: 800; color: var(--primary); font-family: var(--font-heading); }
.about-stat .stat-label { font-size: 0.9rem; color: var(--text-muted); margin-top: 6px; }

/* ========== PRODUCTS (LIGHT) ========== */
.controls-container { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 42px; }
.search-box { width: 100%; max-width: 500px; position: relative; }
.search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-light); pointer-events: none; }
.search-input {
    width: 100%; padding: 13px 18px 13px 46px;
    background: white; border: 2px solid var(--border);
    border-radius: 50px; color: var(--text-main);
    font-size: 0.94rem; outline: none; transition: var(--transition);
}
.search-input::placeholder { color: var(--text-light); }
.search-input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(46,134,193,0.1); }
.filter-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)); gap: 24px; }

/* Product Card (WHITE LIGHT) */
.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden; transition: var(--transition);
    display: flex; flex-direction: column;
    box-shadow: var(--card-shadow);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--card-hover); border-color: var(--accent-light); }
.product-img-container { height: 215px; overflow: hidden; background: var(--bg-main); display: flex; align-items: center; justify-content: center; }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.product-card:hover .product-img { transform: scale(1.06); }
.product-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.4rem; font-weight: 800;
    color: var(--accent); background: var(--accent-soft);
    letter-spacing: 2px;
}
.product-info { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-category { font-size: 0.73rem; color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; margin-bottom: 6px; }
.product-title { font-size: 1.08rem; color: var(--primary); margin-bottom: 7px; font-weight: 600; }
.product-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 14px; flex: 1; line-height: 1.6; }
.product-footer { display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.product-price { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 800; color: var(--primary); }
.original-price { font-size: 0.85rem; color: var(--text-light); text-decoration: line-through; }

.add-to-cart-btn {
    width: 100%; padding: 10px;
    background: white; color: var(--primary);
    border: 2px solid var(--border);
    border-radius: 10px; font-weight: 600; cursor: pointer;
    transition: var(--transition); margin-top: 8px;
    font-family: var(--font-heading); font-size: 0.87rem;
}
.add-to-cart-btn:hover { background: var(--bg-main); border-color: var(--accent); color: var(--accent); }

.inquiry-btn {
    width: 100%; padding: 10px;
    background: var(--primary); color: white;
    border: none; border-radius: 10px;
    font-weight: 700; cursor: pointer;
    transition: var(--transition); margin-top: 6px;
    font-family: var(--font-heading); font-size: 0.87rem;
}
.inquiry-btn:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(30,58,82,0.25); }

/* Pagination */
.pagination-container { display: flex; justify-content: center; margin-top: 48px; }

/* ========== CATALOGS (LIGHT) ========== */
.catalogs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)); gap: 22px; }
.catalog-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px 20px;
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
    transition: var(--transition); box-shadow: var(--card-shadow);
    position: relative; overflow: hidden;
}
.catalog-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}
.catalog-card:hover { transform: translateY(-6px); box-shadow: var(--card-hover); border-color: var(--accent-light); }
.catalog-icon { font-size: 2.8rem; line-height: 1; }
.catalog-name { font-size: 1.05rem; font-weight: 700; color: var(--primary); font-family: var(--font-heading); }
.catalog-desc { font-size: 0.83rem; color: var(--text-muted); }
.catalog-download-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 10px 22px;
    background: var(--primary); color: white;
    font-weight: 700; font-size: 0.87rem;
    border-radius: 50px; border: none; cursor: pointer;
    transition: var(--transition); font-family: var(--font-heading);
    box-shadow: 0 4px 14px rgba(30,58,82,0.2);
}
.catalog-download-btn:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,58,82,0.28); }
.catalog-empty { text-align: center; color: var(--text-muted); font-size: 0.98rem; padding: 40px 0; grid-column: 1/-1; }

/* ========== BRAND NEW STREAMLINED CONTACT SECTION ========== */
.contact {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f6 100%);
    position: relative;
    padding: 70px 0;
    overflow: hidden;
    border-top: 1px solid rgba(30, 58, 82, 0.05);
    border-bottom: 1px solid rgba(30, 58, 82, 0.05);
}

/* Background Glowing Mesh Blobs for Atmospheric Depth */
.contact-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}
.contact-bg-glow.blob-1 {
    top: -10%;
    left: -10%;
    width: 350px;
    height: 350px;
    background: rgba(93, 173, 226, 0.25);
}
.contact-bg-glow.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(46, 134, 193, 0.15);
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 30px auto;
}

.contact-subtitle {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 8px;
}

.contact-main-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.contact-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Beautiful Floating Bar for Contact Channels */
.contact-row-premium {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 16px 32px;
    border-radius: 100px;
    max-width: 1100px;
    margin: 30px auto 0 auto;
    box-shadow: 0 15px 35px rgba(30, 58, 82, 0.05), 0 5px 15px rgba(0, 0, 0, 0.01);
}

/* Elegant capsule-pills with glowing interactions */
.contact-pill-modern {
    background: #ffffff;
    border: 1px solid rgba(46, 134, 193, 0.06);
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(30, 58, 82, 0.01);
}

.contact-pill-modern.no-link {
    cursor: default;
}

.contact-pill-modern:not(.no-link):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 58, 82, 0.08);
}

/* Modern Glowing Circular Icon inside Pill */
.pill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* Color schemes for each channel */
.contact-pill-modern.call .pill-icon {
    color: #2563eb;
    background: rgba(59, 130, 246, 0.08);
}
.contact-pill-modern.call:not(.no-link):hover {
    border-color: rgba(59, 130, 246, 0.2);
    background: #2563eb;
    color: #ffffff !important;
}
.contact-pill-modern.call:not(.no-link):hover .pill-icon {
    background: #ffffff;
    color: #2563eb;
}

.contact-pill-modern.whatsapp .pill-icon {
    color: #16a34a;
    background: rgba(34, 197, 94, 0.08);
}
.contact-pill-modern.whatsapp:not(.no-link):hover {
    border-color: rgba(34, 197, 94, 0.2);
    background: #16a34a;
    color: #ffffff !important;
}
.contact-pill-modern.whatsapp:not(.no-link):hover .pill-icon {
    background: #ffffff;
    color: #16a34a;
}

.contact-pill-modern.email .pill-icon {
    color: #0d9488;
    background: rgba(13, 148, 136, 0.08);
}
.contact-pill-modern.email:not(.no-link):hover {
    border-color: rgba(13, 148, 136, 0.2);
    background: #0d9488;
    color: #ffffff !important;
}
.contact-pill-modern.email:not(.no-link):hover .pill-icon {
    background: #ffffff;
    color: #0d9488;
}

.contact-pill-modern.location .pill-icon {
    color: #d97706;
    background: rgba(245, 158, 11, 0.08);
}

/* Vertical divider inside flex-row */
.pill-divider {
    width: 1px;
    height: 24px;
    background: rgba(30, 58, 82, 0.1);
    margin: 0 8px;
}

/* Social icons circle group */
.social-icons-group {
    display: flex;
    gap: 10px;
}

.social-circle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(30, 58, 82, 0.08);
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(30, 58, 82, 0.01);
}

.social-circle-btn:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
}

.social-circle-btn.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 6px 15px rgba(24, 119, 242, 0.2);
}

.social-circle-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
    box-shadow: 0 6px 15px rgba(220, 39, 67, 0.2);
}

/* Responsive details */
@media (max-width: 768px) {
    .contact-row-premium {
        flex-direction: column;
        align-items: stretch;
        max-width: 320px;
        margin: 24px auto 0 auto;
        gap: 12px;
    }
    .contact-pill-modern {
        justify-content: center;
    }
    .pill-divider {
        display: none;
    }
    .social-icons-group {
        justify-content: center;
        margin-top: 8px;
    }
}

/* Nav "My Orders" custom style */
.nav-links li a.btn-orders {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links li a.btn-orders:hover {
    color: var(--accent);
}

/* Dynamic Order Cards inside customer lookup modal */
.history-order-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 16px;
    transition: var(--transition);
}

.history-order-card:hover {
    box-shadow: 0 4px 15px rgba(30,58,82,0.06);
    border-color: var(--border);
    transform: translateY(-2px);
}

.history-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    border-bottom: 1px solid #eef2f6;
    padding-bottom: 10px;
}

.history-order-id {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary);
}

.history-order-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.history-order-status-badge {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.history-order-status-badge.new {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.history-order-status-badge.contacted {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}

.history-order-status-badge.completed {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

.history-order-summary {
    font-size: 0.88rem;
    color: var(--text-main);
    background: #ffffff;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
    font-family: monospace;
    white-space: pre-wrap;
    margin-bottom: 12px;
}

.history-order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-order-city {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.history-order-total {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    color: #0f172a;
}

/* Custom Responsive additions for redesigned Contact Us */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
    }
}
@media (max-width: 640px) {
    .contact {
        padding: 60px 0;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== FOOTER (DARK) ========== */
footer {
    background: var(--primary-dark);
    text-align: center; padding: 30px 0;
    color: rgba(255,255,255,0.5); font-size: 0.86rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}
footer .social-links { margin-bottom: 14px; }
footer .social-links a { color: rgba(255,255,255,0.5); margin: 0 12px; transition: var(--transition); display: inline-flex; align-items: center; gap: 6px; }
footer .social-links a:hover { color: white; }

/* ========== CART (DARK sidebar on light page) ========== */
.cart-btn {
    position: fixed; bottom: 30px; right: 30px;
    background: var(--primary); color: white;
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 24px rgba(30,58,82,0.35);
    cursor: pointer; z-index: 1000; transition: var(--transition);
}
.cart-btn:hover { transform: scale(1.12); background: var(--primary-light); box-shadow: 0 10px 32px rgba(30,58,82,0.45); }
.cart-count {
    position: absolute; top: -4px; right: -4px;
    background: #ef4444; color: white;
    font-size: 0.72rem; font-weight: 800;
    width: 22px; height: 22px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--bg-main);
}
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 1001; display: none; opacity: 0; transition: opacity 0.3s ease; backdrop-filter: blur(3px); }
.cart-overlay.open { display: block; opacity: 1; }
.cart-modal {
    position: fixed; top: 0; right: 0;
    width: 420px; max-width: 100%; height: 100%;
    background: white;
    border-left: 1px solid var(--border);
    z-index: 1002; display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    box-shadow: -10px 0 40px rgba(30,58,82,0.15);
}
.cart-modal.open { transform: translateX(0); }
.cart-header {
    padding: 20px; border-bottom: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
    background: var(--primary); color: white;
}
.cart-header h2 { font-size: 1.2rem; color: white; }
.close-cart { background: none; border: none; font-size: 1.6rem; cursor: pointer; color: rgba(255,255,255,0.7); transition: var(--transition); }
.close-cart:hover { color: white; }
.cart-items { flex: 1; overflow-y: auto; padding: 18px; background: var(--bg-main); }
.cart-item { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; padding: 14px; border-radius: 10px; background: white; box-shadow: var(--card-shadow); }
.cart-item-info h4 { font-size: 0.9rem; color: var(--primary); margin-bottom: 3px; }
.cart-item-info p { font-size: 0.8rem; color: var(--accent); font-weight: 600; }
.cart-item-controls { display: flex; align-items: center; gap: 8px; }
.qty-btn { background: var(--bg-main); border: 1px solid var(--border); color: var(--primary); width: 30px; height: 30px; border-radius: 6px; cursor: pointer; font-weight: bold; transition: var(--transition); }
.qty-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
.cart-footer { padding: 18px; border-top: 1px solid var(--border); background: white; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.15rem; font-family: var(--font-heading); font-weight: 700; margin-bottom: 14px; color: var(--primary); }
.checkout-btn { width: 100%; display: flex; justify-content: center; align-items: center; font-size: 0.97rem; padding: 13px; }
.cart-note { font-size: 0.76rem; color: var(--text-muted); text-align: center; margin-top: 10px; }

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

/* ========== RESPONSIVE & MOBILE OPTIMIZATIONS ========== */
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr 1fr; }
    .nav-links li:not(:last-child):not(:nth-last-child(2)) { display: none; }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 0;
    }
    .nav-logo {
        height: 34px;
    }
    .nav-links {
        gap: 16px;
    }
    .nav-links li a.btn-orders {
        font-size: 0.88rem;
    }
    .nav-links .btn-primary {
        padding: 8px 16px;
        font-size: 0.84rem;
    }
    .container {
        padding: 0 16px;
    }
}

@media (max-width: 640px) {
    .hero-title { font-size: 2.3rem; }
    .about-grid { grid-template-columns: 1fr; }
    .cart-modal { width: 100%; }
    .contact-card { padding: 28px 18px; }
    
    /* Horizontal scrollable premium pill filters for mobile */
    .controls-container {
        padding: 0 4px;
    }
    .filter-container {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start !important;
        padding: 6px 4px !important;
        gap: 8px !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Hide scrollbar for Firefox */
    }
    .filter-container::-webkit-scrollbar {
        display: none; /* Hide scrollbar for Chrome/Safari */
    }
    .filter-container button {
        flex-shrink: 0;
        white-space: nowrap;
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
    }
    
    /* Secondary subcategory pill rules */
    #subcategory-filter-container button {
        padding: 6px 12px !important;
        font-size: 0.8rem !important;
    }
    
    /* Tertiary series pill rules */
    #series-filter-container button {
        padding: 4px 10px !important;
        font-size: 0.75rem !important;
    }
}

@media (max-width: 410px) {
    .nav-logo {
        height: 28px;
    }
    .nav-links {
        gap: 8px;
    }
    .nav-links li a.btn-orders {
        font-size: 0.82rem;
    }
    .nav-links .btn-primary {
        padding: 7px 12px;
        font-size: 0.78rem;
    }
    .container {
        padding: 0 12px;
    }
}
