/* 
 * Rupasya Design System 
 * Theme: Premium Modern Heritage
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@400;600;700&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    /* Brand Colors based on user specs */
    --brand-primary: #008080;   /* Teal */
    --brand-accent: #87CEEB;    /* Sky Blue */
    --brand-accent-light: #ADD8E6; /* Light Blue */
    
    /* Backgrounds */
    --bg-base: #F8F6F0;         /* Pearl White */
    --bg-alt: #FFFFF0;          /* Ivory */
    --bg-card: #FFFFFF;         /* Pure White */
    --bg-highlight: #FFFDF5;    /* Light Ivory */
    
    /* Utility */
    --text-dark: #1A1A1A;       /* For readability */
    --text-light: #FFFFFF;
    --border-color: #C0C0C0;    /* Silver */
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-base);
    color: var(--text-dark);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
}

a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--brand-accent);
}

/* Header */
.navbar {
    background-color: var(--bg-card);
    color: var(--text-dark);
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}
.navbar .logo { order: 2; }
.nav-icons { order: 3; display: flex; align-items: center; gap: 1rem; }
.nav-toggle { order: 1; display: block; font-size: 1.5rem; color: var(--brand-primary); cursor: pointer; }
.nav-links { 
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-card);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    margin: 0;
    overflow-y: auto;
}
.nav-links.active { left: 0; }
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}
#closeMenuBtn { font-size: 1.5rem; color: var(--brand-primary); cursor: pointer; }

.navbar a {
    color: var(--text-dark);
    font-weight: 600;
}

.navbar .logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-primary);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    order: 3;
    width: 100%;
    margin-top: 1rem;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 5px;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}
.nav-links::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}
.nav-links img { display: none; } /* Safety check */

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 8px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-accent);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--brand-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

@media (min-width: 992px) {
    .navbar {
        padding: 1rem 2rem;
        flex-wrap: nowrap;
        display: flex;
    }
    .nav-toggle { display: none; }
    .navbar .logo {
        flex: 1;
        order: 1;
    }
    .nav-links {
        position: static;
        height: auto;
        width: auto;
        flex: 3;
        order: 2;
        background: transparent;
        box-shadow: none;
        flex-direction: row;
        justify-content: center;
        margin-top: 0;
        padding: 0;
        overflow-x: visible;
        transition: none;
    }
    .mobile-menu-header { display: none; }
    .nav-icons {
        flex: 1;
        order: 3;
        justify-content: flex-end;
        gap: 1.5rem;
    }
}


/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    text-align: center;
}

.btn-primary {
    background-color: var(--brand-primary);
    color: var(--bg-card);
    border: 2px solid var(--brand-primary);
}

.btn-primary:hover {
    background-color: #006666;
    border-color: #006666;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--brand-primary);
    color: var(--brand-primary);
}

.btn-outline:hover {
    background-color: var(--brand-primary);
    color: var(--bg-card);
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 128, 128, 0.7), rgba(0, 128, 128, 0.7)), url('../images/hero-bg.webp') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    padding: 0 2rem;
}

.hero h1 {
    font-size: 4rem;
    color: var(--bg-card);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Product Grid */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 4rem 2rem;
    }
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile: 1 column */
    gap: 2rem;
}

@media (min-width: 600px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr); /* Tablet: 2 columns */
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr); /* Desktop: 3 columns */
    }
}

.product-card {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid var(--bg-base);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,128,128,0.1);
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.product-price {
    font-weight: 600;
    color: var(--brand-primary);
    font-size: 1.1rem;
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--brand-accent);
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 20px;
}

/* Footer */
footer {
    background-color: var(--brand-primary);
    color: var(--bg-highlight);
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-col h4 {
    color: var(--brand-accent-light);
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col a {
    color: var(--bg-highlight);
}

.footer-col a:hover {
    color: var(--brand-accent);
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1001;
}

.whatsapp-float:hover {
    color: white;
    transform: scale(1.1);
}

/* --- NEW HOMEPAGE OVERHAUL STYLES --- */

.padding-y { padding: 5rem 0; }
.border-y { border-top: 1px solid #e2e2e2; border-bottom: 1px solid #e2e2e2; }
.bg-dark { background-color: var(--bg-alt); }
.text-light { color: var(--text-dark); } 

.section-header { text-align: center; margin-bottom: 3rem; }
.section-title { font-size: 2.5rem; margin-bottom: 1rem; color: var(--brand-primary); }
.divider { height: 3px; width: 60px; background-color: var(--brand-accent); margin: 0 auto; }
.divider-left { height: 3px; width: 60px; background-color: var(--brand-accent); margin-bottom: 1.5rem; }

/* Hero Premium */
.hero-premium {
    height: 90vh;
    background: linear-gradient(rgba(0, 128, 128, 0.4), rgba(0, 128, 128, 0.7)), url('https://via.placeholder.com/1920x1080/008080/FFFFFF?text=Modern+Heritage') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    padding: 0 2rem;
}
.hero-content { max-width: 900px; margin: 0 auto; }
.hero-title { font-size: 4.5rem; color: var(--bg-card); margin-bottom: 1rem; text-shadow: 2px 2px 10px rgba(0,0,0,0.3); font-family: var(--font-heading); }
.hero-subtitle { font-size: 1.3rem; max-width: 700px; margin: 0 auto 2.5rem; font-weight: 400; color:var(--bg-card); }
.shop-now-btn { padding: 1rem 3rem; font-size: 1.1rem; }

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.cat-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.cat-card:hover img { transform: scale(1.1); }
.cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(0, 128, 128, 0.8));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 2rem;
    color: white;
}
.cat-overlay h3 { color: white; font-size: 1.5rem; margin-bottom: 1rem; }
.cat-overlay .btn-outline { border-color: white; color: white; }
.cat-overlay .btn-outline:hover { background: white; color: var(--brand-primary); }

/* Custom Artwork Banner */
.custom-art-banner {
    background: linear-gradient(rgba(0, 128, 128, 0.85), rgba(0, 128, 128, 0.85)), url('https://via.placeholder.com/1200x400/008080/FFFFFF?text=Pattern') center/cover;
    border-radius: 12px;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 128, 128, 0.2);
}
.custom-art-banner h2 { color: var(--brand-accent-light); font-size: 2.5rem; }
.custom-art-banner p { max-width: 600px; margin: 1rem auto 2rem; font-size: 1.1rem; color: var(--bg-highlight);}

/* Heritage List */
.heritage-list { list-style: none; padding: 0; margin-bottom: 2rem; }
.heritage-list li { font-size: 1.1rem; margin-bottom: 0.8rem; display:flex; align-items:center; gap:10px; color: var(--text-dark); }

/* Trust Grid */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    text-align: center;
}
.trust-card i { font-size: 3rem; color: var(--brand-primary); margin-bottom: 1.5rem; }
.trust-card h3 { color: var(--brand-primary); font-size: 1.3rem; margin-bottom: 1rem; font-family: var(--font-heading); }
.trust-card p { font-size: 0.95rem; color: var(--text-dark); font-family: var(--font-body); }

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.testimonial-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--brand-accent);
}
.stars { color: var(--brand-accent); margin-bottom: 1rem; }
.review { font-style: italic; color: var(--text-dark); margin-bottom: 1.5rem; line-height: 1.8; }
.testimonial-card h4 { color: var(--brand-primary); font-size: 1rem; }

/* FAQ */
.faq-container { width: 100%; border-top: 1px solid var(--border-color); }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-btn {
    width: 100%;
    text-align: left;
    padding: 1.5rem 1rem;
    background: transparent;
    border: none;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    color: var(--brand-primary);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}
.faq-btn::after { content: '\002B'; font-size: 1.5rem; color: var(--brand-accent); transition: transform 0.3s; }
.faq-btn.active::after { transform: rotate(45deg); padding-bottom: 0.5rem; }
.faq-content { max-height: 0; overflow: hidden; transition: all 0.3s ease; padding: 0 1rem; background-color: var(--bg-alt); }
.faq-content p { margin: 0; padding-bottom: 1rem; color: var(--text-dark); line-height: 1.8; }

/* Instagram Grid */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: start;
}
.reels-container iframe {
    width: 100% !important;
    border-radius: 8px !important;
}
.insta-grid img { width: 100%; height: 300px; object-fit: cover; border-radius: 4px; transition: opacity 0.3s; cursor: pointer; border: 1px solid var(--border-color); }
.insta-grid img:hover { opacity: 0.8; }

/* Animations */
.fade-in { animation: fadeIn 1s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ===========================================
   MOBILE RESPONSIVENESS — FULL SITE OVERHAUL
   Max-width 768px (mobile), 1024px (tablet)
   =========================================== */

@media (max-width: 768px) {

    /* --- GLOBAL --- */
    html { font-size: 14px; }
    body { overflow-x: hidden; }

    .container {
        padding: 1.5rem 1rem;
    }

    .padding-y { padding: 2rem 0; }

    h1 { font-size: 1.6rem !important; line-height: 1.2; }
    h2 { font-size: 1.3rem !important; line-height: 1.3; }
    h3 { font-size: 1.1rem !important; }
    p  { font-size: 0.9rem; line-height: 1.6; }

    .section-title {
        font-size: 1.5rem !important;
        margin-bottom: 1.2rem !important;
    }

    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    /* --- HEADER / NAV --- */
    .navbar {
        padding: 0.6rem 1rem;
    }

    .navbar .logo {
        font-size: 1.4rem;
    }

    .nav-icons {
        gap: 0.8rem;
    }

    .nav-icons a {
        font-size: 1.1rem;
    }

    /* --- HERO --- */
    .hero-premium {
        height: auto;
        min-height: 60vh;
        padding: 4rem 1rem;
    }

    .hero-title {
        font-size: 2rem !important;
        margin-top: 0;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        padding: 0;
    }

    .shop-now-btn {
        padding: 0.8rem 2.5rem;
        font-size: 1rem;
    }

    /* --- HOME: CATEGORY GRID --- */
    .category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .cat-card {
        height: 220px;
    }

    .cat-overlay h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .cat-overlay .btn-outline {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    /* --- HOME: TRUST GRID --- */
    .trust-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .trust-card i { font-size: 2rem; margin-bottom: 0.8rem; }
    .trust-card h3 { font-size: 1rem; }
    .trust-card p { font-size: 0.8rem; }

    /* --- HOME: TESTIMONIALS --- */
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .testimonial-card {
        padding: 1.2rem;
    }

    /* --- HOME: INSTAGRAM GRID --- */
    .insta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .insta-grid img { height: 130px; }

    /* --- HOME: CUSTOM ART BANNER --- */
    .custom-art-banner {
        padding: 2.5rem 1.2rem;
        border-radius: 8px;
    }

    .custom-art-banner h2 { font-size: 1.4rem !important; }
    .custom-art-banner p { font-size: 0.88rem; }

    /* --- FOOTER --- */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    footer {
        padding: 2.5rem 1.2rem 1.5rem;
    }

    .footer-col h4 { font-size: 0.95rem; margin-bottom: 0.8rem; }
    .footer-col ul li { margin-bottom: 0.5rem; font-size: 0.85rem; }
    .footer-bottom { margin-top: 2rem; font-size: 0.8rem; }

    /* Prevent WhatsApp button from overlapping checkout button */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 15px;
        right: 15px;
    }

    /* --- CATEGORY PAGE --- */
    .category-header-text {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .category-seo-footer {
        margin-top: 2.5rem;
        padding: 1.5rem;
        border-radius: 8px;
    }

    .pagination {
        gap: 6px;
        margin-top: 2rem;
        flex-wrap: wrap;
    }

    .page-link {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }

    /* Product grid on mobile: 2 columns */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .product-image {
        height: 180px;
    }

    .product-info {
        padding: 0.8rem;
    }

    .product-title {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }

    .product-price {
        font-size: 0.9rem;
    }

    .product-card .btn-outline {
        padding: 0.5rem;
        font-size: 0.8rem;
        margin-top: 0.5rem;
    }

    /* --- PRODUCT DETAIL PAGE --- */
    .product-main-row {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .product-title-large {
        font-size: 1.4rem !important;
    }

    .price-block {
        font-size: 1.5rem !important;
    }

    .short-desc {
        font-size: 0.9rem;
    }

    .action-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .btn-buy, .btn-cart {
        height: 44px;
        font-size: 0.9rem;
    }

    .size-chips { gap: 8px; }

    .size-chip {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    #mainImage {
        max-height: 320px;
    }

    .thumb-img {
        width: 60px;
        height: 60px;
    }

    /* --- CART PAGE --- */
    .cart-wrapper {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .cart-summary-container {
        position: static !important;
        padding: 1.2rem;
    }

    /* --- CHECKOUT PAGE --- */
    .checkout-layout {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .checkout-left {
        padding: 1.2rem;
        border-radius: 10px;
    }

    .checkout-right {
        position: static !important;
    }

    .checkout-grid-2,
    .checkout-grid-3 {
        grid-template-columns: 1fr !important;
        gap: 0.8rem;
    }

    .checkout-step-title {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }

    .checkout-left input,
    .checkout-left select,
    .checkout-left textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .payment-selection {
        grid-template-columns: 1fr !important;
    }

    .payment-option {
        padding: 14px;
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }

    .payment-icon { font-size: 1.4rem; }
    .payment-label { font-size: 0.9rem; }

    .place-order-btn {
        padding: 1rem;
        font-size: 1rem;
        border-radius: 8px;
    }

    .summary-card {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .summary-card h3 { font-size: 1.2rem; }

    .trust-badges {
        font-size: 0.8rem;
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
}

/* Tablet specific tweaks */
@media (min-width: 769px) and (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title { font-size: 3rem; }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .checkout-layout {
        grid-template-columns: 1fr 380px;
    }
}
/* Category Layout with Sidebar */
.category-page-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.filters-sidebar {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-group {
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--brand-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px 0;
}

.filter-header .toggle-icon {
    transition: transform 0.3s;
    color: var(--brand-primary);
}

.filter-header.active .toggle-icon {
    transform: rotate(180deg);
}

.filter-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
}

.price-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
}

.price-inputs input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--bg-alt);
    transition: border-color 0.3s;
}

.price-inputs input:focus {
    border-color: var(--brand-primary);
    outline: none;
}

.filter-options label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 1rem;
    padding: 8px 0;
    transition: color 0.2s;
}

.filter-options label:hover {
    color: var(--brand-primary);
}

.filter-options input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 4rem;
}

.page-link {
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-card);
    font-weight: bold;
    transition: 0.3s;
}

.page-link:hover, .page-link.active {
    background: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
}

/* Category SEO Content */
.category-header-text {
    width: 100%;
    max-width: 100%;
    margin: 0 0 3rem 0;
    text-align: left;
    color: #555;
    font-size: 1.1rem;
}

.category-seo-footer {
    margin-top: 5rem;
    padding: 4rem;
    background: var(--bg-alt);
    border-radius: 12px;
    line-height: 1.8;
    color: #444;
}

.category-seo-footer h2 {
    color: var(--brand-primary);
    margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {
    .category-page-layout {
        grid-template-columns: 1fr;
    }
    .filters-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        height: 100vh;
        z-index: 1100;
        transition: left 0.3s ease;
        overflow-y: auto;
        border-radius: 0;
        box-shadow: 10px 0 30px rgba(0,0,0,0.1);
    }
    .filters-sidebar.active {
        left: 0;
    }
    .mobile-only {
        display: flex !important;
    }
    #mobileFilterToggle {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 12px;
        font-weight: 600;
        background: var(--bg-card);
        border: 1px solid var(--brand-primary);
        color: var(--brand-primary);
    }
}

/* Cart Responsive */
.cart-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 900px) {
    .cart-wrapper {
        grid-template-columns: 1fr 350px;
    }
}

.cart-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 600px) {
    .product-main-row {
        gap: 1rem;
    }
    .product-title-large {
        font-size: 1.8rem;
    }
}

/* Checkout Layout Classes */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 900px) {
    .checkout-layout {
        grid-template-columns: 2fr 1fr;
    }
}

.checkout-form-container {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

@media (min-width: 768px) {
    .checkout-form-container {
        padding: 2rem;
    }
}

.checkout-grid-2, .checkout-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

@media (min-width: 600px) {
    .checkout-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 768px) {
    .checkout-grid-3 {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* Base Table Styling (used in cart) */
.cart-table-container table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.cart-table-container th {
    padding: 1rem;
    border-bottom: 2px solid var(--brand-primary);
}

/* Responsive Grid Utilities */
.grid-2-resp {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 900px) {
    .grid-2-resp {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.cart-table-container td {
    padding: 1rem;
    border-bottom: 1px solid #ddd;
}
