/* =========================================================
   PAZORA DEFAULT STOREFRONT
   ========================================================= */

:root {
    --ink: #17221c;
    --paper: #f5f2e9;
    --accent: #da5b3d;
    --line: rgba(23, 34, 28, .14);

    --muted: rgba(23, 34, 28, .64);
    --surface: rgba(255, 255, 255, .42);

    --container: 1220px;

    --shadow-sm:
        0 1px 2px rgba(0, 0, 0, .03),
        0 6px 20px rgba(0, 0, 0, .035);

    --shadow-md:
        0 8px 30px rgba(0, 0, 0, .07);
}


/* =========================================================
   RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--store-background, var(--paper));
    color: var(--store-text, var(--ink));

    font-family:
        var(--store-font, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);

    font-size: 16px;
    line-height: 1.55;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    display: block;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   HEADER
   ========================================================= */

.topbar {
    position: relative;
    z-index: 20;

    min-height: 72px;

    padding-inline:
        max(
            24px,
            calc((100vw - var(--store-width, var(--container))) / 2)
        );

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;

    background:
        color-mix(
            in srgb,
            var(--store-background, var(--paper)) 94%,
            white
        );

    border-bottom:
        1px solid
        color-mix(
            in srgb,
            var(--store-text, var(--ink)) 13%,
            transparent
        );
}

.brand {
    flex-shrink: 0;

    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.035em;

    line-height: 1;
}

.topbar nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.topbar nav a {
    position: relative;

    padding: 25px 0;

    font-size: 14px;
    font-weight: 500;

    opacity: .84;

    transition:
        opacity .18s ease,
        color .18s ease;
}

.topbar nav a:hover {
    opacity: 1;
}

.topbar nav a::after {
    content: "";

    position: absolute;
    left: 0;
    right: 100%;
    bottom: 19px;

    height: 1px;

    background:
        var(--store-accent, var(--accent));

    transition: right .18s ease;
}

.topbar nav a:hover::after {
    right: 0;
}


/* =========================================================
   GENERAL PAGE
   ========================================================= */

main {
    min-height: calc(100vh - 190px);
}

.pazora-section {
    position: relative;
}

.pazora-section-inner {
    position: relative;
    z-index: 1;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 520px;

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;
    width: 460px;
    height: 460px;

    right: -160px;
    top: -180px;

    border-radius: 50%;

    background:
        var(--store-accent, var(--accent));

    opacity: .055;

    pointer-events: none;
}

.hero::after {
    content: "";

    position: absolute;
    width: 280px;
    height: 280px;

    right: 9%;
    bottom: -220px;

    border-radius: 50%;

    border:
        1px solid
        color-mix(
            in srgb,
            var(--store-text, var(--ink)) 10%,
            transparent
        );

    pointer-events: none;
}

.hero .pazora-section-inner {
    width: calc(100% - 40px);
}
.eyebrow {
    margin: 0 0 18px;

    color:
        var(--store-accent, var(--accent));

    font-size: 11px;
    font-weight: 800;

    line-height: 1.3;

    letter-spacing: .17em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 820px;

    margin:
        0 0 24px;

    color: inherit;

    font-family: inherit;

    font-size:
        clamp(
            44px,
            6vw,
            78px
        );

    font-weight: 720;

    line-height: .98;

    letter-spacing: -.055em;

    text-wrap: balance;
}

.hero p:not(.eyebrow) {
    max-width: 610px;

    margin:
        0 0 28px;

    color:
        color-mix(
            in srgb,
            currentColor 73%,
            transparent
        );

    font-size:
        clamp(
            15px,
            1.25vw,
            18px
        );

    line-height: 1.65;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button {
    min-height: 48px;

    padding:
        0 21px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius:
        var(--store-radius, 10px);

    font-size: 14px;
    font-weight: 700;

    line-height: 1;

    cursor: pointer;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        opacity .18s ease,
        background .18s ease;
}

.button:hover {
    transform:
        translateY(-1px);

    box-shadow:
        0 7px 18px rgba(0, 0, 0, .09);
}

.button:active {
    transform:
        translateY(0);
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    position: relative;
}

.section-head {
    margin-bottom: 32px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 28px;
}

.section-head h2,
.prose h2 {
    margin: 0;

    font-family: inherit;

    font-size:
        clamp(
            26px,
            3vw,
            38px
        );

    font-weight: 720;

    line-height: 1.08;

    letter-spacing: -.035em;
}

.section-head > a {
    flex-shrink: 0;

    padding-bottom: 3px;

    color:
        color-mix(
            in srgb,
            currentColor 77%,
            transparent
        );

    font-size: 13px;
    font-weight: 600;

    transition:
        color .18s ease,
        transform .18s ease;
}

.section-head > a:hover {
    color:
        var(--store-accent, var(--accent));

    transform:
        translateX(3px);
}


/* =========================================================
   PRODUCT GRID
   ========================================================= */

.grid {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap:
        34px 22px;
}


/* =========================================================
   PRODUCT CARD
   ========================================================= */

.card {
    min-width: 0;

    padding: 0;

    border: 0;

    background: transparent;
}

.card > a {
    display: block;
}

.card img,
.card .placeholder {
    width: 100%;

    aspect-ratio: 4 / 5;

    object-fit: cover;

    overflow: hidden;

    border-radius:
        var(--store-radius, 12px);

    background:
        color-mix(
            in srgb,
            var(--store-text, var(--ink)) 5%,
            var(--store-background, var(--paper))
        );

    transition:
        transform .28s ease,
        box-shadow .28s ease;
}

.card:hover img,
.card:hover .placeholder {
    transform:
        translateY(-3px);

    box-shadow:
        var(--shadow-md);
}

.placeholder {
    display: grid;
    place-items: center;

    background:
        linear-gradient(
            145deg,
            color-mix(
                in srgb,
                var(--store-accent, var(--accent)) 17%,
                var(--store-background, var(--paper))
            ),
            color-mix(
                in srgb,
                var(--store-text, var(--ink)) 8%,
                var(--store-background, var(--paper))
            )
        );

    color:
        color-mix(
            in srgb,
            var(--store-text, var(--ink)) 22%,
            transparent
        );

    font-family: inherit;

    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
}

.card h3 {
    margin:
        15px 0 4px;

    font-size: 15px;
    font-weight: 650;

    line-height: 1.35;

    letter-spacing: -.015em;
}

.card p {
    margin: 0;

    font-size: 14px;
    font-weight: 650;
}

.card small {
    display: block;

    margin-top: 4px;

    color:
        color-mix(
            in srgb,
            currentColor 57%,
            transparent
        );

    font-size: 12px;
}


/* =========================================================
   RICH TEXT
   ========================================================= */

.prose {
    font-size: 17px;
}

.prose h2 {
    margin-bottom: 20px;
}

.prose p {
    max-width: 760px;

    margin:
        0 auto 0 0;

    color:
        color-mix(
            in srgb,
            currentColor 72%,
            transparent
        );

    line-height: 1.8;
}

.pazora-align-center.prose p,
.pazora-align-center .prose p {
    margin-left: auto;
    margin-right: auto;
}

.pazora-align-right.prose p,
.pazora-align-right .prose p {
    margin-left: auto;
    margin-right: 0;
}


/* =========================================================
   FORMS
   ========================================================= */

label {
    display: grid;
    gap: 6px;

    margin:
        12px 0;

    font-size: 13px;
    font-weight: 600;
}

input,
textarea,
select {
    width: 100%;

    padding:
        12px 13px;

    border:
        1px solid
        color-mix(
            in srgb,
            var(--store-text, var(--ink)) 16%,
            transparent
        );

    border-radius:
        var(--store-radius, 10px);

    background:
        color-mix(
            in srgb,
            var(--store-background, var(--paper)) 92%,
            white
        );

    color:
        var(--store-text, var(--ink));

    outline: none;

    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color:
        var(--store-accent, var(--accent));

    box-shadow:
        0 0 0 3px
        color-mix(
            in srgb,
            var(--store-accent, var(--accent)) 11%,
            transparent
        );
}


/* =========================================================
   COMMON PANELS
   ========================================================= */

.panel,
.admin-card {
    padding: 24px;

    background:
        color-mix(
            in srgb,
            var(--store-background, var(--paper)) 92%,
            white
        );

    border:
        1px solid
        color-mix(
            in srgb,
            var(--store-text, var(--ink)) 12%,
            transparent
        );

    border-radius:
        var(--store-radius, 12px);

    box-shadow:
        var(--shadow-sm);
}

.admin-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(230px, 1fr)
        );

    gap: 18px;
}

.admin-card {
    min-height: 160px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.split {
    display: grid;

    grid-template-columns:
        1fr 1.5fr;

    gap: 24px;
}

.row {
    padding:
        14px 0;

    display: flex;
    justify-content: space-between;

    gap: 20px;

    border-bottom:
        1px solid
        color-mix(
            in srgb,
            currentColor 10%,
            transparent
        );
}

.row span {
    display: grid;
}

.code {
    font:
        13px/1.5
        ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
}


/* =========================================================
   NOTICES
   ========================================================= */

.notice {
    padding:
        12px
        max(
            24px,
            calc((100vw - var(--store-width, var(--container))) / 2)
        );

    background:
        color-mix(
            in srgb,
            #22c55e 11%,
            var(--store-background, var(--paper))
        );

    font-size: 14px;
}

.notice.error {
    background:
        color-mix(
            in srgb,
            #ef4444 12%,
            var(--store-background, var(--paper))
        );
}


/* =========================================================
   TEXT BUTTON
   ========================================================= */

.text-button {
    padding: 8px 0;

    background: none;

    color: inherit;

    border: 0;

    font-weight: 700;

    cursor: pointer;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.pagination {
    margin-top: 40px;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    margin-top: 40px;

    padding:
        34px
        max(
            24px,
            calc((100vw - var(--store-width, var(--container))) / 2)
        );

    border-top:
        1px solid
        color-mix(
            in srgb,
            var(--store-text, var(--ink)) 12%,
            transparent
        );

    color:
        color-mix(
            in srgb,
            var(--store-text, var(--ink)) 58%,
            transparent
        );

    font-size: 12px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

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

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .topbar {
        min-height: 64px;

        padding-inline: 18px;
    }

    .brand {
        font-size: 18px;
    }

    .topbar nav {
        gap: 18px;
    }

    .topbar nav a {
        padding: 21px 0;

        font-size: 13px;
    }

    .topbar nav a:nth-child(2) {
        display: none;
    }


    .hero {
        min-height: 440px;
    }

    .hero::before {
        width: 300px;
        height: 300px;

        right: -150px;
        top: -100px;
    }

    .hero h1 {
        max-width: 100%;

        font-size:
            clamp(
                40px,
                13vw,
                58px
            );

        line-height: 1;
    }

    .hero p:not(.eyebrow) {
        font-size: 15px;
    }


    .section-head {
        margin-bottom: 24px;

        align-items: flex-start;

        gap: 18px;
    }

    .section-head h2 {
        font-size: 26px;
    }


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

        gap:
            28px 12px;
    }

    .card h3 {
        margin-top: 11px;

        font-size: 14px;
    }


    .split {
        grid-template-columns: 1fr;
    }


    footer {
        padding-inline: 18px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .topbar nav {
        gap: 14px;
    }

    .hero h1 {
        font-size: 39px;
    }

    .section-head {
        flex-direction: column;
        gap: 8px;
    }

}