@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/manrope-cyrillic-400.woff2') format('woff2');
    unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/manrope-latin-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/manrope-cyrillic-500.woff2') format('woff2');
    unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/manrope-latin-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/manrope-cyrillic-600.woff2') format('woff2');
    unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/manrope-latin-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/manrope-cyrillic-700.woff2') format('woff2');
    unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/manrope-latin-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/manrope-cyrillic-800.woff2') format('woff2');
    unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/manrope-latin-800.woff2') format('woff2');
}
:root {
    --background: #f9fafb;
    --foreground: #111827;
    --card: #fff;
    --secondary: #f3f4f6;
    --muted-foreground: #6b7280;
    --accent: #111827;
    --destructive: #ef4444;
    --border: #e5e7eb;
    --input-background: #fff;
    --container: 80rem;
    --radius: 0.75rem;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    min-width: 320px;
    margin: 0;
    background: var(--background);
    color: var(--foreground);
    font-family: 'Manrope', sans-serif;
    line-height: 1.5;
    &.somiva-modal-open {
        overflow: hidden;
    }
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
blockquote {
    margin: 0;
}
ul,
ol {
    padding: 0;
    list-style: none;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
textarea {
    font: inherit;
}
button {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
}
img,
svg {
    display: block;
}
img {
    max-width: 100%;
}
[hidden] {
    display: none !important;
}
:where(a, button, input, textarea):focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
#catalog-pagination {
    .page {
        display: flex;
        width: 2.5rem;
        height: 2.5rem;
        border: 1px solid var(--border);
        border-radius: 999px;
        align-items: center;
        justify-content: center;
        color: var(--muted-foreground);
        font-size: 0.875rem;
        font-weight: 700;
        transition: 0.15s ease;
        &:hover {
            border-color: var(--foreground);
            color: var(--foreground);
        }
        &.is-active {
            border-color: var(--foreground);
            background: var(--foreground);
            color: #fff;
        }
        &:disabled {
            cursor: not-allowed;
            opacity: 0.3;
        }
    }
}
#somiva-modal-root {
    .modal-layer {
        padding: 1rem;
        align-items: center;
        justify-content: center;
        > .overlay {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(8px);
        }
        .quick-view {
            position: relative;
            width: 100%;
            max-width: 56rem;
            max-height: calc(100vh - 2rem);
            overflow-y: auto;
            border-radius: 1rem;
            background: #fff;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            .close {
                display: flex;
                position: absolute;
                z-index: 10;
                top: 1rem;
                right: 1rem;
                width: 2rem;
                height: 2rem;
                border-radius: 999px;
                align-items: center;
                justify-content: center;
                background: rgba(0, 0, 0, 0.1);
                transition: background 0.15s ease;
                &:hover {
                    background: rgba(0, 0, 0, 0.2);
                }
            }
            .layout {
                display: grid;
                grid-template-columns: 1fr;
            }
            .product-gallery {
                display: flex;
                min-height: 25rem;
                overflow: hidden;
                background: var(--secondary);
                flex-direction: column;
                .preview {
                    min-height: 20rem;
                    overflow: hidden;
                    flex: 1;
                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                }
                .thumbnails {
                    display: flex;
                    padding: 0.75rem;
                    overflow-x: auto;
                    gap: 0.5rem;
                    background: #fff;
                }
                .thumbnail {
                    width: 4rem;
                    height: 4rem;
                    padding: 0.125rem;
                    overflow: hidden;
                    border: 2px solid transparent;
                    border-radius: var(--radius);
                    flex: 0 0 auto;
                    background: var(--secondary);
                    transition: border-color 0.15s ease, opacity 0.15s ease;
                    img {
                        width: 100%;
                        height: 100%;
                        border-radius: calc(var(--radius) - 0.125rem);
                        object-fit: cover;
                    }
                    &:hover {
                        opacity: 0.8;
                    }
                    &.is-active {
                        border-color: var(--foreground);
                    }
                }
            }
            .content {
                display: flex;
                padding: 2rem;
                flex-direction: column;
                gap: 1.25rem;
                .badge {
                    width: fit-content;
                    padding: 0.25rem 0.625rem;
                    border-radius: 999px;
                    align-self: flex-start;
                    background: color-mix(in srgb, var(--accent) 10%, transparent);
                    color: var(--accent);
                    font-size: 0.75rem;
                    font-weight: 700;
                    letter-spacing: 0.025em;
                    text-transform: uppercase;
                }
                .title {
                    color: var(--foreground);
                    font-size: 1.25rem;
                    font-weight: 800;
                    line-height: 1.375;
                }
                .description {
                    color: var(--muted-foreground);
                    font-size: 0.875rem;
                    line-height: 1.625;
                }
                .properties {
                    display: grid;
                    grid-template-columns: repeat(2, minmax(0, 1fr));
                    gap: 0.5rem;
                    .property {
                        padding: 0.5rem;
                        border-radius: var(--radius);
                        background: var(--secondary);
                        font-size: 0.75rem;
                        .label {
                            margin-bottom: 0.125rem;
                            color: var(--muted-foreground);
                        }
                        .value {
                            color: var(--foreground);
                            font-weight: 600;
                        }
                    }
                }
                .variants {
                    .label {
                        margin-bottom: 0.5rem;
                        color: var(--muted-foreground);
                        font-size: 0.75rem;
                        font-weight: 700;
                        letter-spacing: 0.05em;
                        text-transform: uppercase;
                    }
                    .options {
                        display: flex;
                        flex-wrap: wrap;
                        gap: 0.5rem;
                    }
                    .option {
                        padding: 0.5rem 0.75rem;
                        border: 1px solid var(--border);
                        border-radius: var(--radius);
                        color: var(--muted-foreground);
                        font-size: 0.75rem;
                        font-weight: 600;
                        transition: 0.15s ease;
                        &:hover {
                            border-color: color-mix(in srgb, var(--foreground) 40%, transparent);
                        }
                        &.is-active {
                            border-color: var(--foreground);
                            background: var(--foreground);
                            color: #fff;
                        }
                    }
                }
                .purchase {
                    display: flex;
                    margin-top: auto;
                    padding-top: 1rem;
                    border-top: 1px solid var(--border);
                    flex-wrap: wrap;
                    align-items: center;
                    justify-content: space-between;
                    gap: 1rem;
                    .price {
                        .old {
                            color: var(--muted-foreground);
                            font-size: 0.75rem;
                            text-decoration: line-through;
                        }
                        .current {
                            color: var(--foreground);
                            font-size: 1.875rem;
                            font-weight: 800;
                            span {
                                color: var(--muted-foreground);
                                font-size: 0.875rem;
                                font-weight: 400;
                            }
                        }
                    }
                    .actions {
                        display: flex;
                        align-items: center;
                        gap: 0.75rem;
                    }
                    .quantity {
                        display: flex;
                        height: 44px;
                        overflow: hidden;
                        border: 1px solid var(--border);
                        border-radius: calc(var(--radius) + 0.25rem);
                        align-items: center;
                        button,
                        span {
                            display: flex;
                            width: 2.5rem;
                            height: 100%;
                            align-items: center;
                            justify-content: center;
                        }
                        button {
                            transition: background 0.15s ease;
                            &:hover {
                                background: var(--secondary);
                            }
                        }
                        span {
                            font-size: 0.875rem;
                            font-weight: 700;
                        }
                    }
                    .add {
                        display: flex;
                        height: 44px;
                        padding: 0 1.5rem;
                        border-radius: calc(var(--radius) + 0.25rem);
                        align-items: center;
                        justify-content: center;
                        gap: 0.5rem;
                        background: var(--foreground);
                        color: #fff;
                        font-size: 0.875rem;
                        font-weight: 700;
                        white-space: nowrap;
                        transition: background 0.15s ease;
                        &:hover {
                            background: color-mix(in srgb, var(--foreground) 80%, transparent);
                        }
                        &:disabled {
                            background: var(--secondary);
                            color: var(--muted-foreground);
                            cursor: not-allowed;
                        }
                    }
                }
            }
        }
    }
}
#somiva-app {
    min-height: 100vh;
    background: var(--background);
    color: var(--foreground);
    > header {
        position: sticky;
        z-index: 40;
        top: 0;
        border-bottom: 1px solid var(--border);
        background: color-mix(
            in srgb,
            var(--background) 95%,
            transparent
        );
        backdrop-filter: blur(8px);
        > div {
            display: flex;
            width: 100%;
            max-width: var(--container);
            height: 4rem;
            margin: 0 auto;
            padding: 0 1rem;
            align-items: center;
            justify-content: space-between;
            gap: 1.5rem;
            > a {
                flex-shrink: 0;
                img {
                    width: auto;
                    height: 2.25rem;
                    object-fit: contain;
                }
            }
            nav {
                display: none;
                align-items: center;
                gap: 1.75rem;
                color: var(--muted-foreground);
                font-size: 0.875rem;
                font-weight: 600;
                a,
                button {
                    transition: color 0.15s ease;
                    &:hover {
                        color: var(--foreground);
                    }
                }
            }
            > div {
                display: flex;
                margin-left: auto;
                align-items: center;
                gap: 0.75rem;
                > a {
                    display: none;
                    align-items: center;
                    gap: 0.375rem;
                    font-size: 0.875rem;
                    font-weight: 700;
                    transition: color 0.15s ease;
                    &:hover {
                        color: var(--accent);
                    }
                }
                > button {
                    display: flex;
                    position: relative;
                    padding: 0.5rem 1rem;
                    border-radius: 999px;
                    align-items: center;
                    gap: 0.5rem;
                    background: var(--foreground);
                    color: #fff;
                    font-size: 0.875rem;
                    font-weight: 700;
                    transition: background 0.15s ease;
                    &:hover {
                        background: color-mix(
                            in srgb,
                            var(--foreground) 80%,
                            transparent
                        );
                    }
                    span {
                        display: none;
                    }
                }
            }
        }
    }
    > article {
        width: 100%;
        max-width: 56rem;
        margin: 0 auto;
        padding: 4rem 1rem;
        > img {
            width: 100%;
            margin-bottom: 2rem;
            border-radius: 1rem;
            object-fit: cover;
        }
        > h1 {
            margin-bottom: 2rem;
            color: var(--foreground);
            font-size: 2.25rem;
            font-weight: 800;
            letter-spacing: -0.025em;
            line-height: 1.1;
        }
        > img + h1,
        > h1:has(+ time) {
            margin-bottom: 1rem;
        }
        > time {
            display: block;
            margin-bottom: 2rem;
            color: var(--muted-foreground);
            font-size: 0.875rem;
        }
        .somiva-content {
            color: var(--foreground);
            line-height: 1.625;
            > * + * {
                margin-top: 1.25rem;
            }
            h2,
            h3,
            h4 {
                margin-top: 2rem;
                color: var(--foreground);
                font-weight: 800;
                line-height: 1.25;
            }
            h2 {
                font-size: 1.875rem;
            }
            h3 {
                font-size: 1.5rem;
            }
            h4 {
                font-size: 1.25rem;
            }
            ul,
            ol {
                padding-left: 1.5rem;
            }
            ul {
                list-style: disc;
            }
            ol {
                list-style: decimal;
            }
            a {
                color: var(--accent);
                text-decoration: underline;
                text-underline-offset: 0.15em;
            }
            img {
                width: auto;
                max-width: 100%;
                height: auto;
                border-radius: 1rem;
            }
            table {
                width: 100%;
                border-collapse: collapse;
            }
            th,
            td {
                padding: 0.75rem;
                border: 1px solid var(--border);
                text-align: left;
            }
            blockquote {
                padding-left: 1rem;
                border-left: 3px solid var(--accent);
                color: var(--muted-foreground);
            }
        }
    }
    > section {
        display: flex;
        min-height: 60vh;
        padding: 4rem 1rem;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        > p:first-child {
            margin-bottom: 1rem;
            color: color-mix(
                in srgb,
                var(--foreground) 10%,
                transparent
            );
            font-size: 4.5rem;
            font-weight: 800;
            line-height: 1;
        }
        h1 {
            margin-bottom: 0.75rem;
            color: var(--foreground);
            font-size: 1.875rem;
            font-weight: 800;
            line-height: 1.2;
        }
        h1 + p {
            margin-bottom: 1.75rem;
            color: var(--muted-foreground);
        }
        a {
            padding: 0.75rem 1.75rem;
            border-radius: 999px;
            background: var(--foreground);
            color: #fff;
            font-weight: 700;
            transition: background 0.15s ease;
            &:hover {
                background: color-mix(
                    in srgb,
                    var(--foreground) 80%,
                    transparent
                );
            }
        }
    }
    > footer {
        background: var(--foreground);
        color: rgba(255, 255, 255, 0.5);
        font-size: 0.875rem;
        > div {
            width: 100%;
            max-width: var(--container);
            margin: 0 auto;
            padding: 3.5rem 1rem;
            > div:first-child {
                display: grid;
                margin-bottom: 2.5rem;
                grid-template-columns: 1fr;
                gap: 2.5rem;
                > div:first-child {
                    > img {
                        width: auto;
                        height: 2.25rem;
                        margin-bottom: 1.25rem;
                        object-fit: contain;
                    }
                    > p {
                        margin-bottom: 1rem;
                        color: rgba(255, 255, 255, 0.4);
                        font-size: 0.75rem;
                        line-height: 1.625;
                    }
                    > div {
                        display: flex;
                        flex-direction: column;
                        gap: 0.5rem;
                        font-size: 0.75rem;
                        a,
                        span {
                            display: flex;
                            align-items: flex-start;
                            gap: 0.5rem;
                            transition: color 0.15s ease;
                            &:hover {
                                color: rgba(255, 255, 255, 0.8);
                            }
                        }
                        a:first-child {
                            color: #fff;
                            font-weight: 700;
                        }
                        svg {
                            margin-top: 0.125rem;
                            flex-shrink: 0;
                        }
                    }
                }
                h4 {
                    margin-bottom: 1rem;
                    color: #fff;
                    font-size: 0.875rem;
                    font-weight: 700;
                }
                ul {
                    display: flex;
                    flex-direction: column;
                    gap: 0.625rem;
                    font-size: 0.75rem;
                    a,
                    button {
                        color: rgba(255, 255, 255, 0.5);
                        font-size: 0.75rem;
                        text-align: left;
                        transition: color 0.15s ease;

                        &:hover {
                            color: #fff;
                        }
                    }
                }
                address {
                    display: flex;
                    color: rgba(255, 255, 255, 0.4);
                    font-size: 0.75rem;
                    font-style: normal;
                    line-height: 1.625;
                    flex-direction: column;
                    gap: 0.375rem;
                    p:first-child {
                        color: rgba(255, 255, 255, 0.7);
                        font-weight: 600;
                    }
                }
            }
            > div:last-child {
                display: flex;
                padding-top: 1.5rem;
                border-top: 1px solid rgba(255, 255, 255, 0.1);
                color: rgba(255, 255, 255, 0.3);
                font-size: 0.75rem;
                flex-direction: column;
                align-items: flex-start;
                justify-content: space-between;
                gap: 0.75rem;
                p:last-child {
                    flex-shrink: 0;
                }
            }
            .expresspay {
                margin-top: 20px;
                display: block;
                img {
                    width: 100px;
                }
            }
        }
    }
}
#somiva-modal-root {
    color: var(--foreground);
    font-family: 'Manrope', sans-serif;
    [data-modal-backdrop] {
        display: flex;
        position: fixed;
        z-index: 50;
        inset: 0;
        &:not(.modal-layer) > div:first-child {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.3);
        }
        &:not(.modal-layer) {
            align-items: flex-start;
            justify-content: flex-end;
            > div:nth-child(2) {
                display: flex;
                position: relative;
                width: 100%;
                max-width: 32rem;
                height: 100%;
                overflow-y: auto;
                background: #fff;
                box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
                flex-direction: column;
                > div:first-child {
                    display: flex;
                    position: sticky;
                    z-index: 10;
                    top: 0;
                    padding: 1rem 1.5rem;
                    border-bottom: 1px solid var(--border);
                    align-items: center;
                    justify-content: space-between;
                    background: #fff;
                    h2 {
                        font-size: 1.25rem;
                        font-weight: 800;
                    }
                    button {
                        display: flex;
                        width: 2rem;
                        height: 2rem;
                        border-radius: 999px;
                        align-items: center;
                        justify-content: center;
                        transition: background 0.15s ease;
                        &:hover {
                            background: var(--secondary);
                        }
                    }
                }
                > div:nth-child(2) {
                    display: flex;
                    padding: 2.5rem;
                    flex: 1;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    gap: 1rem;
                    text-align: center;
                    > svg {
                        color: color-mix(
                            in srgb,
                            var(--muted-foreground) 30%,
                            transparent
                        );
                    }
                    > p {
                        color: var(--muted-foreground);
                    }
                    &:has(#somiva-order-form) {
                        display: flex;
                        overflow-y: auto;
                        padding: 1.25rem;
                        align-items: stretch;
                        justify-content: flex-start;
                        gap: 0.75rem;
                        text-align: left;
                        > div:has(> img) {
                            display: flex;
                            padding: 0.75rem;
                            border-radius: calc(
                                var(--radius) + 0.25rem
                            );
                            background: var(--secondary);
                            gap: 0.75rem;
                            > img {
                                width: 4rem;
                                height: 4rem;
                                border-radius: var(--radius);
                                object-fit: cover;
                                flex-shrink: 0;
                            }
                            > div {
                                min-width: 0;
                                flex: 1;
                                > p:first-child {
                                    overflow: hidden;
                                    color: var(--foreground);
                                    font-size: 0.875rem;
                                    font-weight: 700;
                                    text-overflow: ellipsis;
                                    white-space: nowrap;
                                }
                                > p:nth-child(2) {
                                    margin-top: 0.125rem;
                                    color: var(--muted-foreground);
                                    font-size: 0.75rem;
                                }
                                > div {
                                    display: flex;
                                    margin-top: 0.5rem;
                                    align-items: center;
                                    justify-content: space-between;
                                    > div {
                                        display: flex;
                                        overflow: hidden;
                                        border: 1px solid var(--border);
                                        border-radius: var(--radius);
                                        align-items: center;
                                        background: #fff;
                                        button {
                                            display: flex;
                                            width: 1.75rem;
                                            height: 1.75rem;
                                            align-items: center;
                                            justify-content: center;
                                            transition: background 0.15s ease;
                                            &:hover {
                                                background: var(--secondary);
                                            }
                                            &:disabled {
                                                opacity: 0.4;
                                            }
                                        }
                                        span {
                                            width: 1.25rem;
                                            font-size: 0.875rem;
                                            font-weight: 700;
                                            text-align: center;
                                        }
                                    }
                                    > p {
                                        font-size: 0.875rem;
                                        font-weight: 800;
                                    }
                                }
                            }
                            > .remove {
                                color: var(--muted-foreground);
                                align-self: flex-start;
                                transition: color 0.15s ease;
                                &:hover {
                                    color: var(--foreground);
                                }
                            }
                        }
                        > div:not(:has(> img)):has(> span) {
                            display: flex;
                            padding: 0.75rem 0;
                            border-top: 1px solid var(--border);
                            align-items: center;
                            justify-content: space-between;
                            span:first-child {
                                font-weight: 700;
                            }
                            span:last-child {
                                font-size: 1.5rem;
                                font-weight: 800;
                            }
                        }
                    }
                    &:has(> div > h3) {
                        gap: 1.5rem;
                        > div:first-child {
                            display: flex;
                            width: 5rem;
                            height: 5rem;
                            border-radius: 999px;
                            align-items: center;
                            justify-content: center;
                            background: color-mix(
                                in srgb,
                                var(--accent) 10%,
                                transparent
                            );
                            color: var(--accent);
                        }
                        h3 {
                            margin-bottom: 0.5rem;
                            font-size: 1.5rem;
                            font-weight: 800;
                        }
                        p {
                            color: var(--muted-foreground);
                            font-size: 0.875rem;
                            line-height: 1.625;

                            span {
                                color: var(--foreground);
                                font-weight: 700;
                            }
                        }
                        > .continue {
                            padding: 0.75rem 2rem;
                            border-radius: calc(
                                var(--radius) + 0.25rem
                            );
                            background: var(--foreground);
                            color: #fff;
                            font-weight: 700;
                            transition: background 0.15s ease;

                            &:hover {
                                background: color-mix(
                                    in srgb,
                                    var(--foreground) 80%,
                                    transparent
                                );
                            }
                        }
                    }
                }
            }
        }
    }
    > .floating-cart {
        display: flex;
        position: fixed;
        z-index: 30;
        right: 1.5rem;
        bottom: 1.5rem;
        padding: 0.75rem 1.25rem;
        border-radius: 999px;
        align-items: center;
        gap: 0.625rem;
        background: var(--foreground);
        color: #fff;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        font-size: 0.875rem;
        font-weight: 700;
        transition: 0.15s ease;
        &:hover {
            background: color-mix(
                in srgb,
                var(--foreground) 80%,
                transparent
            );
        }
        &:active {
            transform: scale(0.95);
        }
        span {
            padding: 0.125rem 0.5rem;
            border-radius: 999px;
            background: var(--accent);
            color: #fff;
            font-size: 0.75rem;
            font-weight: 800;
        }
    }
}
#somiva-order-form {
    display: flex;
    width: 100%;
    padding-top: 0.5rem;
    flex-direction: column;
    gap: 0.75rem;
    h3 {
        font-size: 1rem;
        font-weight: 700;
    }
    > div {
        > label,
        > span {
            display: block;
            margin-bottom: 0.375rem;
            color: var(--muted-foreground);
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.025em;
            text-transform: uppercase;
        }
        > input,
        > textarea {
            width: 100%;
            padding: 0.625rem 0.875rem;
            border: 1px solid var(--border);
            border-radius: calc(var(--radius) + 0.25rem);
            outline: none;
            background: var(--input-background);
            color: var(--foreground);
            font-size: 0.875rem;
            transition: border-color 0.15s ease;
            &:focus {
                border-color: var(--foreground);
            }
        }
        > textarea {
            resize: none;
        }
        > .payment {
            padding: 0.625rem 0.875rem;
            border-radius: calc(var(--radius) + 0.25rem);
            background: var(--secondary);
            color: var(--foreground);
            font-size: 0.875rem;
            font-weight: 600;
        }
        > div:has(.somiva-choice) {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0.5rem;
            .somiva-choice {
                display: flex;
                padding: 0.625rem;
                border: 1px solid var(--border);
                border-radius: calc(var(--radius) + 0.25rem);
                align-items: center;
                gap: 0.5rem;
                cursor: pointer;
                transition: 0.15s ease;
                &:hover {
                    border-color: color-mix(
                        in srgb,
                        var(--foreground) 40%,
                        transparent
                    );
                }
                &.is-active {
                    border-color: var(--foreground);
                    background: var(--foreground);
                    color: #fff;
                }
                input {
                    position: absolute;
                    width: 1px;
                    height: 1px;
                    overflow: hidden;
                    clip: rect(0, 0, 0, 0);
                    white-space: nowrap;
                }
                span {
                    font-size: 0.75rem;
                    font-weight: 600;
                }
            }
        }
    }
    > label {
        display: flex;
        align-items: flex-start;
        gap: 0.625rem;
        cursor: pointer;
        input {
            width: 1rem;
            height: 1rem;
            margin-top: 0.125rem;
            accent-color: var(--foreground);
            flex-shrink: 0;
        }
        span {
            color: var(--muted-foreground);
            font-size: 0.75rem;
            line-height: 1.625;
        }
    }
    .somiva-field-error,
    #order-error {
        margin-top: 0.25rem;
        color: var(--destructive);
        font-size: 0.75rem;
        &:empty {
            display: none;
        }
    }
    > button[type='submit'] {
        width: 100%;
        padding: 1rem;
        border-radius: calc(var(--radius) + 0.25rem);
        background: var(--foreground);
        color: #fff;
        font-size: 1rem;
        font-weight: 800;
        transition: background 0.15s ease;
        &:hover {
            background: color-mix(
                in srgb,
                var(--foreground) 80%,
                transparent
            );
        }
        &:disabled {
            cursor: not-allowed;
            opacity: 0.4;
        }
    }
}
.somiva-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
@media screen and (min-width: 640px) {
    #somiva-app {
        > header {
            > div {
                padding-right: 1.5rem;
                padding-left: 1.5rem;

                > div {
                    > a {
                        display: flex;
                    }

                    > button span {
                        display: inline;
                    }
                }
            }
        }
    }
}
@media screen and (min-width: 768px) {
    #somiva-app {
        > header {
            > div {
                nav {
                    display: flex;
                }
            }
        }
        > article {
            padding-right: 2rem;
            padding-left: 2rem;

            > h1 {
                font-size: 3rem;
            }
        }
        > footer {
            > div {
                padding-right: 2rem;
                padding-left: 2rem;

                > div:first-child {
                    grid-template-columns: repeat(
                        4,
                        minmax(0, 1fr)
                    );
                }
                > div:last-child {
                    flex-direction: row;
                    align-items: center;
                }
            }
        }
    }
    #somiva-modal-root {
        .modal-layer {
            .quick-view {
                .layout {
                    grid-template-columns: repeat(2, minmax(0, 1fr));
                }
                .product-gallery {
                    min-height: 0;
                    .preview {
                        min-height: 25rem;
                    }
                }
            }
        }
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    #somiva-app *,
    #somiva-modal-root * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
