:root {
    --bg-color: #f4f4f0;
    --text-main: #111111;
    --text-muted: #555555;
    --accent: #baff29; /* Premium Neon Green */
    --accent-pink: #ff3366;
    --border-thick: 3px solid #111111;
}

/* Base Resets */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    background-image: radial-gradient(#d1d1d1 1px, transparent 1px);
    background-size: 24px 24px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Disclosure Bar */
.disclosure-bar {
    background: var(--accent);
    color: var(--text-main);
    text-align: center;
    padding: 12px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    border-bottom: var(--border-thick);
    line-height: 1.4;
}

/* Navbar */
.navbar {
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(244, 244, 240, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: var(--border-thick);
}

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

a.logo {
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-main);
}

a.logo span { 
    color: var(--accent-pink); 
}

.search-box {
    padding: 12px 20px;
    border: var(--border-thick);
    border-radius: 8px;
    font-family: inherit;
    font-weight: 700;
    width: 100%;
    max-width: 300px;
    box-shadow: 4px 4px 0px #111;
    background: #ffffff;
    transition: all 0.2s;
}

.search-box:focus {
    outline: none;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #111;
}

/* Main Content Router View wrapper */
#app-root {
    flex-grow: 1;
    width: 100%;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 60px auto 40px;
    padding: 0 24px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -2px;
}

.highlight { 
    background: var(--accent); 
    padding: 4px 12px; 
    border: var(--border-thick); 
    display: inline-block; 
    transform: rotate(-1deg); 
    margin-top: 10px;
}

/* Bento Products Grid */
.grid-container {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

.card {
    background: #ffffff;
    border: var(--border-thick);
    border-radius: 16px;
    box-shadow: 6px 6px 0px #111;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease-in-out;
    overflow: hidden;
}

.card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0px #111;
}

.card-img {
    height: 220px;
    width: 100%;
    border-bottom: var(--border-thick);
    background: #f8fafc;
    overflow: hidden;
}

.card-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.card-content { 
    padding: 20px; 
    display: flex; 
    flex-direction: column; 
    flex-grow: 1; 
}

.card-category { 
    font-size: 0.75rem; 
    font-weight: 800; 
    text-transform: uppercase; 
    margin-bottom: 8px; 
    letter-spacing: 1px;
    color: var(--text-muted);
}

.card-title { 
    font-size: 1.15rem; 
    font-weight: 700; 
    line-height: 1.4; 
    margin-bottom: 20px; 
    color: var(--text-main);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    gap: 10px;
}

.price-tag { 
    font-size: 1.3rem; 
    font-weight: 800; 
}

.btn {
    background: var(--text-main);
    color: #ffffff;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 2px solid var(--text-main);
    transition: all 0.2s;
    white-space: nowrap;
}

.btn:hover { 
    background: var(--accent); 
    color: var(--text-main); 
}

.loading { 
    font-weight: 700; 
    font-size: 1.3rem; 
    grid-column: 1/-1; 
    text-align: center; 
    padding: 60px 0;
}

/* Comprehensive Legal & Info Pages Layout */
.page-container {
    max-width: 800px;
    margin: 60px auto 80px;
    padding: 40px 32px;
    background: #ffffff;
    border: var(--border-thick);
    border-radius: 16px;
    box-shadow: 8px 8px 0px #111;
}

.page-container h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 24px;
    border-bottom: var(--border-thick);
    padding-bottom: 16px;
    letter-spacing: -1px;
}

.page-container h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 32px 0 12px;
    border-left: 4px solid var(--accent-pink);
    padding-left: 12px;
}

.page-container p {
    margin-bottom: 16px;
    line-height: 1.7;
    font-size: 1rem;
    color: #2d3748;
}

.page-container ul {
    margin-bottom: 20px;
    padding-left: 24px;
}

.page-container li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #2d3748;
}

/* Global Footer */
.site-footer {
    background: #ffffff;
    border-top: var(--border-thick);
    width: 100%;
}

.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-brand {
    max-width: 360px;
}

.footer-brand p {
    margin-top: 12px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.link-column h4 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.link-column a {
    display: block;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.link-column a:hover {
    color: var(--accent-pink);
}

.footer-bottom {
    border-top: var(--border-thick);
    padding: 24px;
    text-align: center;
    background: var(--text-main);
    color: #ffffff;
}

.footer-bottom p {
    font-weight: 600;
    font-size: 0.9rem;
}

.footer-bottom .small-text {
    font-size: 0.75rem;
    margin-top: 8px;
    color: #a1a1aa;
    font-weight: 400;
}

/* Responsive Structural Changes */
@media (max-width: 650px) {
    .nav-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    .search-box {
        max-width: 100%;
    }
    .page-container {
        margin: 30px 16px;
        padding: 24px 20px;
    }
    .footer-links {
        gap: 40px;
        width: 100%;
    }
}
    background: #eee;
}

.card-img img { width: 100%; height: 100%; object-fit: cover; }

.card-content { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.card-category { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; letter-spacing: 1px;}
.card-title { font-size: 1.25rem; font-weight: 700; line-height: 1.3; margin-bottom: 24px; }

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price-tag { font-size: 1.4rem; font-weight: 800; }

.btn {
    background: var(--text-main);
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    border: 2px solid var(--text-main);
    transition: all 0.2s;
}

.btn:hover { background: var(--accent); color: var(--text-main); }
.loading { font-weight: 700; font-size: 1.5rem; grid-column: 1/-1; text-align: center; }
    padding: 8px 18px;
    border-radius: 99px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--text-main);
    color: #fff;
    border-color: var(--text-main);
}

/* Products Bento Grid Layout */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

/* Product Card Design */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-main);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    border-color: #cbd5e1;
}

.badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    z-index: 10;
}

.platform-amazon { background-color: var(--amazon-color); color: #111; }
.platform-flipkart { background-color: var(--flipkart-color); }
.platform-generic { background-color: #475569; }

.img-wrapper {
    width: 100%;
    height: 240px;
    background: #f1f5f9;
    overflow: hidden;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .img-wrapper img {
    transform: scale(1.03);
}

.card-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.category-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: inline-block;
}

.card-info h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.card-info .description {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.price-container {
    display: flex;
    flex-direction: column;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 700;
}

.old-price {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* Call To Action Buttons */
.cta-btn {
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: var(--text-main);
    transition: var(--transition);
    text-align: center;
}

.cta-btn.via-amazon:hover { background: #e08700; }
.cta-btn.via-flipkart:hover { background: #1b5cc2; }

/* Footer */
footer {
    text-align: center;
    margin-top: 80px;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 0 20px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .hero h1 { font-size: 2rem; }
    .search-bar input { width: 160px; }
    .search-bar input:focus { width: 180px; }
}

/* --- CATEGORY FILTERS --- */
.filter-container {
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 0 24px;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none; /* Hides scrollbar in Firefox */
}

.filter-container::-webkit-scrollbar {
    display: none; /* Hides scrollbar in Chrome/Safari */
}

.filter-btn {
    background: #ffffff;
    border: var(--border-thick);
    padding: 8px 20px;
    border-radius: 99px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 3px 3px 0px #111;
    transition: all 0.2s;
    color: var(--text-main);
}

.filter-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0px #111;
}

.filter-btn.active {
    background: var(--text-main);
    color: #ffffff;
}
