/*
Theme Name: Estore
Description: Minimal project-owned WooCommerce theme.
Version: 0.1.0
Requires PHP: 8.3
Text Domain: estore
*/

:root {
    color-scheme: light;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: #191919;
    background: #f7f6f2;
    line-height: 1.5;
}

a {
    color: inherit;
}

.site-header,
.site-main,
.site-footer {
    width: min(72rem, calc(100% - 2rem));
    margin-inline: auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 5rem;
    border-bottom: 1px solid #d9d7d0;
}

.site-brand {
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
}

.site-header nav,
.site-header nav ul {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-main {
    min-height: 70vh;
    padding-block: 3rem;
}

.store-intro {
    max-width: 44rem;
    padding-block: 4rem 6rem;
}

.store-intro h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.75rem, 8vw, 5.5rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    display: inline-block;
    padding: 0.75rem 1rem;
    border: 0;
    border-radius: 0.25rem;
    color: #fff;
    background: #191919;
    text-decoration: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    padding: 1rem;
    border: 1px solid #d9d7d0;
    border-radius: 0.5rem;
    background: #fff;
}

.site-footer {
    padding-block: 2rem;
    border-top: 1px solid #d9d7d0;
}

@media (max-width: 40rem) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 0.5rem;
    }

    .store-intro {
        padding-block: 2rem 4rem;
    }
}
