.shop {
    --shop-orange: #ff6a28;
    --shop-card: #141618;
    --shop-border: #34373a;
    background: #0c0d0e;
    font-size: 1rem;
}

.shop [hidden] { display: none !important; }
.shop-wrap { width: min(1320px, calc(100% - 64px)); margin-inline: auto; }
.shop-content { padding-block: 24px 48px; }
.shop-header { background: #050607; border-bottom: 1px solid var(--shop-border); }
.shop-header .shop-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.shop-brand img { display: block; width: 178px; height: auto; }
.shop-header-cart {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 6px 12px;
    border: 1px solid var(--shop-border);
    border-radius: 6px;
    background: var(--shop-card);
    font-weight: 720;
}
.shop-header-cart span { min-width: 24px; padding: 0 5px; border-radius: 20px; background: var(--shop-orange); color: #14100e; text-align: center; font-size: .875rem; }
.shop-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    min-height: 306px;
    align-items: center;
    padding: 40px clamp(24px, 5vw, 72px);
    border: 1px solid var(--shop-border);
    border-bottom: 4px solid var(--shop-orange);
    border-radius: 10px;
    background: linear-gradient(90deg, #0d0e10 10%, #0d0e10fc 31%, #0d0e1055 65%, #0d0e100f),
        url("kuvat/kalenteri.webp") right 53% / min(75%, 900px) auto no-repeat #0d0e10;
}
.shop-season {
    margin-bottom: 9px;
    color: #ffab84;
    font-size: .875rem;
    font-weight: 750;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.shop-hero h1 {
    max-width: 12ch;
    margin-bottom: 11px;
    color: #fff;
    font-size: clamp(2.5rem, 5.4vw, 5rem);
    font-weight: 850;
    letter-spacing: -.055em;
    line-height: .96;
}
.shop-hero-copy > p:not(.shop-season) { max-width: 30ch; margin-bottom: 18px; color: #f0eeec; font-size: 1.075rem; }
.shop .button { min-height: 44px; border: 1px solid transparent; background: var(--shop-orange); border-radius: 5px; }
.shop .button:hover { background: #ff9563; }
.shop .button:disabled { background: #303438; color: #d3d5d8; cursor: default; }
.shop-campaign-info { display: grid; grid-template-columns: 1fr 1fr; margin: 18px 0 28px; border: 1px solid var(--shop-border); border-radius: 8px; background: var(--shop-card); }
.shop-campaign-info div { display: grid; gap: 3px; padding: 14px 20px; }
.shop-campaign-info div + div { border-left: 1px solid var(--shop-border); }
.shop-campaign-info span { color: #d0d2d5; }
.shop-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(265px, 310px); align-items: start; gap: 22px; }
.shop-layout:has(.shop-cart[hidden]) { grid-template-columns: minmax(0, 1fr); }
.shop-section-heading { margin: 0 0 13px; font-size: 1.65rem; }
.shop-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.shop-product { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--shop-border); border-radius: 8px; background: var(--shop-card); }
.shop-product-media { display: grid; place-items: center; aspect-ratio: 1.35; padding: 10px; background: radial-gradient(ellipse at 50% 30%, #fff 20%, #edf0f2 100%); }
.shop-product-media img { display: block; width: 100%; height: 100%; min-height: 0; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.shop-cover { padding: 13px; }
.shop-cover img { width: 100%; height: 100%; mix-blend-mode: normal; }
.shop-product[data-product="lippis"] img[data-model="kaareva"] { transform: scale(1.24); }
.shop-product-info { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 12px 13px 13px; }
.shop-product-title { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 8px; }
.shop-product-title h3 { margin: 0; font-size: 1.075rem; line-height: 1.2; }
.shop-product-title > span { margin-left: auto; color: #ffab84; font-size: 1.075rem; font-weight: 800; white-space: nowrap; }
.shop-product-info > p { margin: 0; color: #c1c5c9; font-size: .875rem; }
.shop-product-controls { margin-top: auto; padding-top: 5px; }
.shop-options { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 7px; }
.shop-options label { flex: 1 1 72px; min-width: 0; }
.shop-options label > span, .shop-field > span { display: block; margin-bottom: 3px; color: #e7e8e9; font-size: .875rem; font-weight: 650; }
.shop-options select, .shop-field input, .shop-cart-qty {
    min-height: 42px;
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #52575d;
    border-radius: 5px;
    background-color: #1c1e21;
    color: #f5f5f4;
    font: inherit;
}
.shop-options label:has([aria-label$="Teksti"]) { flex-basis: 110px; }
.shop-options select { appearance: none; padding-right: 22px; background-image: linear-gradient(45deg, transparent 50%, #cbd0d5 50%), linear-gradient(135deg, #cbd0d5 50%, transparent 50%); background-position: right 13px center, right 8px center; background-size: 5px 5px; background-repeat: no-repeat; font-size: .875rem; }
.shop-options select:focus-visible { outline: 3px solid #ff9a6c; outline-offset: 3px; }
.shop-add, .shop-secondary {
    display: inline-flex;
    min-height: 42px;
    padding: 7px 11px;
    align-items: center;
    justify-content: center;
    border: 1px solid #69686a;
    border-radius: 5px;
    background: #25272a;
    color: #fff;
    font-weight: 700;
}
.shop-add { width: 100%; }
.shop-add:hover, .shop-add.is-added, .shop-secondary:hover { border-color: #ff9a6c; background: #41271d; }

.shop-panel { min-width: 0; padding: 20px; border: 1px solid var(--shop-border); border-radius: 8px; background: var(--shop-card); }
.shop-panel h2 { margin: 0 0 12px; font-size: 1.35rem; }
.shop-cart { position: sticky; top: 16px; max-height: calc(100dvh - 32px); overflow: auto; margin-top: 45px; }
.shop-cart > p { color: #d0d2d5; }
.shop-cart-items { margin: 0; padding: 0; list-style: none; }
.shop-cart-items li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 3px 8px; padding-block: 10px; border-top: 1px solid var(--shop-border); font-size: .875rem; }
.shop-cart-items span { overflow-wrap: anywhere; }
.shop-cart-option { display: block; color: #c1c5c9; }
.shop-cart-qty { width: 66px; padding: 4px 5px; font-size: .875rem; text-align: center; }
.shop-cart-remove { justify-self: end; min-height: 36px; border: 0; background: transparent; color: #ffab84; text-decoration: underline; text-underline-offset: 3px; }
.shop-totals { margin: 0; font-variant-numeric: tabular-nums; }
.shop-totals > div { display: flex; justify-content: space-between; gap: 10px; padding-top: 7px; }
.shop-totals dd { margin: 0; flex-shrink: 0; }
.shop-totals .shop-grand-total { align-items: baseline; margin-top: 10px; padding-top: 11px; border-top: 1px solid var(--shop-border); font-weight: 800; }
.shop-grand-total dd { color: #ffab84; font-size: 1.35rem; }
.shop-cart > .button { width: 100%; margin-top: 13px; padding-inline: 8px; }
.shop-mobile-cart { display: none; }

.shop-delivery, .shop-receipt { width: min(100%, 690px); }
.shop-delivery { margin-top: 26px; }
.shop-delivery > div > p, .shop-receipt > p { color: #d0d2d5; }
.shop-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.shop-field-osoite { grid-column: 1 / -1; }
.shop-submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 17px; padding-top: 17px; border-top: 1px solid var(--shop-border); }
.shop-submit p { margin-bottom: 0; }
.shop-submit strong { margin-inline-start: 6px; color: #ffab84; font-size: 1.25rem; }
.shop-errors { margin: 0 0 15px; padding: 9px 10px 9px 30px; border: 1px solid #a36955; border-radius: 6px; background: #36201b; color: #ffe2d8; }
.shop-receipt { margin: 12px auto 0; padding: clamp(20px, 4vw, 38px); }
.shop-receipt h1 { font-size: clamp(1.85rem, 5vw, 2.8rem); }
.shop-payment { display: grid; gap: 10px; margin-block: 22px 14px; padding: 16px; border: 1px solid var(--shop-border); border-radius: 6px; background: #202225; }
.shop-payment > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3px 10px; }
#bank-account { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
#copy-status { margin-inline-start: 7px; }
.shop-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 25px; margin-top: 30px; border-top: 1px solid var(--shop-border); padding-top: 16px; }
.shop-contact h2 { margin: 0 0 4px; font-size: .9rem; color: #c4c6ca; font-weight: 600; }
.shop-contact a { display: flex; align-items: center; min-height: 44px; color: #ffab84; text-underline-offset: 3px; text-decoration: underline; overflow-wrap: anywhere; }

@media (max-width: 1080px) {
    .shop-wrap { width: calc(100% - 40px); }
    .shop-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .shop-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .shop-cart { position: static; max-height: none; margin: 0; }
    .shop-mobile-cart:not([hidden]) {
        position: fixed;
        z-index: 4;
        bottom: max(10px, env(safe-area-inset-bottom));
        left: 12px;
        right: 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        min-height: 47px;
        padding: 10px 15px;
        border-radius: 6px;
        box-shadow: 0 3px 16px #000b;
        background: var(--shop-orange);
        color: #110b08;
        font-weight: 750;
    }
    .shop-wrap:has(.shop-mobile-cart:not([hidden])) { padding-bottom: 83px; }
}
@media (max-width: 520px) {
    .shop-wrap { width: calc(100% - 24px); }
    .shop-content { padding-top: 12px; }
    .shop-header .shop-wrap { min-height: 60px; }
    .shop-brand img { width: 138px; }
    .shop-hero { min-height: 250px; padding: 22px 15px; background: linear-gradient(90deg, #0d0e10ed 0%, #0d0e10ad 52%, #0d0e104d), url("kuvat/kalenteri.webp") 59% 43% / auto 134%; }
    .shop-campaign-info { grid-template-columns: 1fr; margin: 12px 0 20px; }
    .shop-campaign-info div { padding: 9px 12px; font-size: .9375rem; }
    .shop-campaign-info div + div { border-left: 0; border-top: 1px solid var(--shop-border); }
    .shop-products { gap: 9px; }
    .shop-product-media, .shop-cover { padding: 5px; }
    .shop-product-info { padding: 9px; }
    .shop-product-title h3 { font-size: .98rem; }
    .shop-product-title > span { font-size: 1rem; }
    .shop-add { padding: 8px 3px; font-size: .875rem; }
    .shop-options label { flex-basis: 100%; }
    .shop-fields { grid-template-columns: 1fr; }
    .shop-contact { gap: 3px 14px; }
}
