:root {
    --color-bg: #fafaf8;
    --color-surface: #ffffff;
    --color-text: #202420;
    --color-muted: #6d746f;
    --color-accent: #46705f;
    --color-border: #e4e7e2;
    --font-main: system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--color-accent);
}

button {
    font: inherit;
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
}

/* Accessibility */

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    position: fixed;
    top: 1rem;
    left: 1rem;
    width: auto;
    height: auto;
    padding: .75rem 1rem;
    background: white;
    z-index: 9999;
    clip: auto;
}

/* Header */

.site-header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.header-inner {
    max-width: 1280px;
    margin: auto;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-logo,
.footer-logo {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: 1;
}

.logo-dot {
    color: var(--color-accent);
}

.menu-toggle {
    background: transparent;
    border: 0;
    font-size: 1.5rem;
    margin-left: auto;
}

.primary-navigation {
    display: none;
    order: 4;
    width: 100%;
}

.primary-navigation.is-open {
    display: block;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 1rem 0;
}

.nav-menu li a {
    display: block;
    padding: .7rem 0;
    font-weight: 500;
}

.cart-link {
    font-size: .9rem;
    font-weight: 600;
}

/* Main content */

#main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem;
    min-height: 45vh;
}

/* Footer */

.site-footer {
    background: #202820;
    color: #f5f7f3;
    margin-top: 4rem;
}

.footer-inner {
    max-width: 1280px;
    margin: auto;
    padding: 3.5rem 1.25rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-brand p {
    color: #c5cec6;
    font-size: .9rem;
}

.footer-links h2 {
    font-size: 1rem;
    margin: 0 0 1rem;
}

.footer-links ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: .65rem;
}

.footer-links a {
    color: #c5cec6;
    font-size: .9rem;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #405045;
    text-align: center;
    padding: 1.25rem;
    font-size: .8rem;
    color: #c5cec6;
}

/* Desktop */

@media (min-width: 768px) {
    .header-inner {
        flex-wrap: nowrap;
    }

    .menu-toggle {
        display: none;
    }

    .primary-navigation {
        display: block;
        order: 0;
        width: auto;
        margin-left: auto;
    }

    .nav-menu {
        display: flex;
        gap: 2rem;
        padding: 0;
    }

    .footer-inner {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
/* =========================================
   TOVENO – HOMEPAGE
   Mobile first
   ========================================= */

/* Hero */

.toveno-home {
    max-width: 1280px;
}

.home-hero {
    display: flex;
    align-items: center;
    min-height: 380px;
    padding: 3rem 1.5rem;
    background: #edf1eb;
    border-radius: 12px;
}

.hero-content {
    max-width: 650px;
}

.hero-eyebrow {
    margin: 0 0 1rem;
    color: var(--color-accent);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
}

.home-hero h1 {
    margin: 0 0 1.25rem;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.08;
}

.hero-description {
    max-width: 480px;
    margin-bottom: 2rem;
    color: var(--color-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Buttons */

.button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .85rem 1.5rem;
    border-radius: 6px;
    background: var(--color-accent);
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    transition: background .2s ease, transform .2s ease;
}

.button-primary:hover {
    background: #355747;
    color: #fff;
    transform: translateY(-2px);
}

/* Categories */

.home-categories {
    padding: 4rem 0 1rem;
}

.home-categories h2 {
    margin: 0 0 2rem;
    font-size: clamp(1.6rem, 4vw, 2.3rem);
    font-weight: 750;
    letter-spacing: -.035em;
}

.category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.category-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 190px;
    padding: 1.75rem;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-surface);
    transition: border-color .2s ease, transform .2s ease;
}

.category-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-3px);
}

.category-card h3 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -.025em;
}

.category-card span {
    color: var(--color-accent);
    font-size: .9rem;
    font-weight: 600;
}

/* Tablet */

@media (min-width: 600px) {
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Desktop */

@media (min-width: 900px) {
    .home-hero {
        min-height: 460px;
        padding: 5rem;
    }

    .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-categories {
        padding-top: 5rem;
    }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
    .button-primary,
    .category-card {
        transition: none;
    }

    .button-primary:hover,
    .category-card:hover {
        transform: none;
    }
}
/* =========================================
   TOVENO – DARK CATEGORY CARDS
   ========================================= */

.category-card {
    position: relative;
    display: block;
    min-height: 320px;
    padding: 0;
    overflow: hidden;
    background: #171b19;
    border: 1px solid #303632;
    border-radius: 12px;
    color: #fff;
}

.category-image {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        145deg,
        #303a34 0%,
        #171b19 70%
    );
}

.category-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, .85),
        rgba(0, 0, 0, .05) 70%
    );
    pointer-events: none;
}

.category-info {
    position: absolute;
    z-index: 1;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
}

.category-info h3 {
    margin: 0 0 .35rem;
    color: #fff;
    font-size: 1.5rem;
}

.category-info span {
    color: #c2e2d0;
    font-size: .9rem;
    font-weight: 600;
}

.category-card:hover {
    border-color: var(--color-accent);
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-card:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
}

@media (min-width: 900px) {
    .category-card {
        min-height: 380px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .category-image img {
        transition: none;
    }

    .category-card:hover .category-image img {
        transform: none;
    }
}
