﻿:root {
    --primary: #f1c40f;
    --black: #1a1a1a;
    --white: #ffffff;
    --off-white: #f9f9f9;
    --gray: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--black);
    line-height: 1.6;
    background: var(--white);
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--gray);
    position: sticky;
    top: 0;
    background: white;
    z-index: 1000;
}
/* Site notification banner */
.site-notice {
    background: var(--primary);
    color: var(--black);
    padding: 0; /* inner element handles padding */
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
    transition: height 300ms ease, opacity 300ms ease;
}

    .site-notice strong {
        font-weight: 700;
    }

.site-notice-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
}

.site-notice-text {
    flex: 1;
    text-align: center;
}

.site-notice-close {
    position: absolute;
    right: 16px;
    top: 20px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: var(--black);
    padding: 6px;
}

.logo {
    font-family: 'Market Sans', Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
    color: var(--black);
}

    .logo img {
        height: 36px;
        display: block;
    }

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

    .nav-links a {
        margin-left: 0;
        text-decoration: none;
        color: var(--black);
        font-weight: 500;
        font-size: 14px;
        text-transform: uppercase;
    }

.about {
    position: relative;
}

.about-toggle {
    cursor: pointer;
}

.about-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--gray);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    display: none;
    min-width: 200px;
    z-index: 1001;
}

    .about-menu a {
        display: block;
        padding: 10px 14px;
        color: var(--black);
        text-decoration: none;
        font-weight: 500;
    }

.about:hover .about-menu, .about:focus-within .about-menu {
    display: block;
}

/* Submenu hover uses primary color */
.about-menu a:hover {
    background: var(--primary);
    color: var(--black);
}

.cart-icon {
    background: var(--primary);
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: bold;
}

/* Hamburger / mobile menu */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 26px;
    cursor: pointer;
    padding: 6px;
}

.site-nav {
    position: relative;
}

    .site-nav .nav-links {
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .site-nav.open .nav-links {
        display: flex;
    }

/* Hero Section */
.hero {
    padding: 80px 5%;
    text-align: center;
    /*background-color: var(--off-white);*/
}

    .hero h1 {
        font-family: 'Market Sans', Arial, sans-serif;
        font-size: clamp(2rem, 5vw, 4rem);
        line-height: 1.1;
        margin-bottom: 20px;
        /*text-transform: uppercase;*/
    }

    .hero p {
        font-size: 18px;
        color: #f2f2f2;
        margin-bottom: 30px;
    }

.btn-main {
    background: var(--black);
    color: var(--white);
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
}

    .btn-main:hover {
        background: var(--primary);
        color: var(--black);
    }

/* Trust Bar */
.trust-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 15px 5%;
    background: var(--primary);
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

    .trust-bar a {
        text-decoration: none;
    }

/* Product Grid */
.container {
    padding: 60px 5%;
}

.section-title {
    font-family: 'Market Sans', Arial, sans-serif;
    font-size: 32px;
    margin-top: 3px;
    margin-bottom: 40px;
    border-left: 5px solid var(--primary);
    padding-left: 15px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Carousel styles */
.carousel {
    display: flex;
    align-items: center;
    gap: 12px;
}

.carousel-prev, .carousel-next {
    background: transparent;
    border: 1px solid var(--gray);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
}

.carousel-viewport {
    overflow: hidden;
    flex: 1;
}

.carousel-track {
    display: flex;
    gap: 18px;
    padding: 10px 0;
    transition: transform 300ms ease;
    will-change: transform;
}

.carousel-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    border: none;
}

    .carousel-dot.active {
        background: var(--black);
    }

.product-card {
    background: var(--white);
    border: 1px solid var(--gray);
    transition: 0.3s;
    cursor: pointer;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }

.product-image {
    width: 100%;
    height: 300px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #999;
}

.product-info {
    padding: 20px;
}

.product-tag {
    background: var(--primary);
    font-size: 10px;
    padding: 2px 8px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}

.product-name {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 5px;
}

.product-price {
    font-weight: 400;
    color: #555;
}

/* Categories */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 10px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 12px;
    border: 1px solid var(--primary);
    border-radius: 10px;
    background: var(--white);
    text-decoration: none;
    color: var(--black);
    transition: transform 180ms ease, box-shadow 180ms ease;
    /* height: 220px; increased to accommodate consistent image area + label */
}

    .category-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 24px rgba(0,0,0,0.06);
    }

.category-image {
    width: 100%;
    /* height: 150px; fixed image box height for all categories */
    /* background: #f5f5f5; */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #777;
    font-size: 13px;
    margin-bottom: 12px;
    overflow: hidden;
}

    .category-image img {
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
        display: block;
    }

.category-name {
    font-weight: 600;
    font-size: 14px;
    margin-top: auto;
}
/* Overlay */
.category-card {
    position: relative;
}

.category-overlay {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 12px;
    /* height: 150px;  match image box height so overlay covers image */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.45);
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 180ms ease, transform 180ms ease;
    pointer-events: none;
}

.category-card:hover .category-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* CTA Section */
.sell-cta {
    background: var(--black);
    color: var(--white);
    padding: 60px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

    .sell-cta h2 {
        font-family: 'Market Sans', Arial, sans-serif;
        font-size: 28px;
    }

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 600;
}

.nav-actions {
    display: none;
}

.cart-icon.cart-mobile {
    display: none;
}

.cart-icon.cart-desktop {
    display: inline-block;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .site-nav.open .nav-links {
        display: flex;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 64px;
        right: 5%;
        background: var(--white);
        border: 1px solid var(--gray);
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        padding: 8px 10px;
        border-radius: 8px;
        width: calc(100% - 10%);
        max-width: 320px;
        z-index: 1002;
    }

        .site-nav.open .nav-links a {
            padding: 10px 8px;
            border-bottom: 1px solid rgba(0,0,0,0.04);
        }
    /* ABOUT submenu is hidden by default on mobile; toggled via JS */
    .about-menu {
        display: none;
    }

    .about-toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

        .about-toggle::after {
            content: '▾';
            font-size: 12px;
            transition: transform 180ms ease;
        }

    .about-open > .about-toggle::after {
        transform: rotate(180deg);
    }

    /* When the main nav is open and the .about item has been toggled, show a prominent submenu */
    .site-nav.open .nav-links .about-open .about-menu {
        display: block;
        padding: 10px 8px;
        background: #fffdf5;
        border-left: 4px solid var(--primary);
        border-radius: 8px;
        margin: 6px 0 8px 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    }

        .site-nav.open .nav-links .about-open .about-menu a {
            display: block;
            padding: 8px 6px;
            font-weight: 600;
            color: var(--black);
        }

            .site-nav.open .nav-links .about-open .about-menu a:hover {
                background: var(--primary);
                color: var(--black);
                border-radius: 6px;
            }

    .sell-cta {
        text-align: center;
        justify-content: center;
        gap: 20px;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: auto;
    }

    .cart-icon.cart-mobile {
        display: inline-block;
        padding: 8px 12px;
        font-size: 15px;
        border-radius: 50px;
        background: var(--primary);
        color: var(--black);
        font-weight: bold;
        text-decoration: none;
    }

    .cart-icon.cart-desktop {
        display: none;
    }
}

/* Hero Section */
.cta-hero {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 40vh;
}

@media (min-width: 1440px) {
    .cta-hero {
        min-height: 65vh;
    }
}

@media (min-width: 2000px) {
    .cta-hero {
        min-height: 75vh;
    }
}

@media (max-width: 768px) and (max-height: 650px) {
    .cta-hero {
        min-height: 65svh;
    }
}

@media (max-width: 768px) and (max-height: 400px) {
    .cta-hero {
        min-height: 100svh;
    }

    .hero h1 {
        margin-bottom: 10px;
    }

    .hero p {
        margin-bottom: 10px;
    }
}

/* Footer styles */
.site-footer {
    background: #111;
    color: #eee;
    padding: 40px 5%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    align-items: start;
}

.footer-section h4 {
    margin-bottom: 8px;
    font-size: 15px;
}

.footer-section a {
    color: #ddd;
    text-decoration: none;
    display: block;
    margin: 6px 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 24px;
    padding-top: 16px;
    font-size: 13px;
    color: #bdbdbd;
    text-align: center;
}

.site-footer .subscribe-button {
    background: var(--primary);
    color: var(--black);
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

    .site-footer .subscribe-button:hover {
        opacity: 0.95;
    }

.subscribeButton, #floatingScrollToTopLink {
    background: var(--primary);
    color: var(--black);
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.subscribeButton:hover, #floatingScrollToTopLink:hover {
    opacity: 0.95;
}




/* Footnotes & Disclaimer */
.footnotes {
    padding: 22px 5%;
    background: #fcfcfc;
    color: #666;
    font-size: 12px;
    line-height: 1.4;
    border-top: 1px solid var(--gray);
}

    .footnotes p {
        margin-bottom: 8px;
    }

    .footnotes small {
        color: #8a8a8a;
        display: block;
    }
