.store-announcement {
    padding: 9px 16px;
    background: var(--color-accent);
    color: #211a0e;
    font-size: .9rem;
    font-weight: 700;
    text-align: center;
}

.store-logo-image { width: auto; max-width: 150px; max-height: 48px; object-fit: contain; }
.store-preview-notice {
    position: sticky;
    z-index: 8;
    top: 0;
    padding: 9px 16px;
    background: #fff1c9;
    color: #704c00;
    font-size: .88rem;
    font-weight: 700;
    text-align: center;
}

.store-preview-notice a { margin-left: 10px; color: inherit; }
.store-hero-copy {
    display: grid;
    min-height: 230px;
    align-content: center;
    gap: 12px;
    padding: clamp(24px, 5vw, 54px);
    border-radius: 12px;
    background: linear-gradient(110deg, rgb(19 25 33 / 82%), rgb(19 25 33 / 30%)), var(--hero-image, #232f3e);
    background-position: center;
    background-size: cover;
    color: #fff;
}

.store-hero-copy h1 { max-width: 760px; margin: 0; font-size: clamp(2rem, 5vw, 3.2rem); }
.store-hero-copy p { max-width: 700px; margin: 0; font-size: 1.05rem; line-height: 1.6; }
.store-hero-copy .btn { justify-self: start; margin-top: 6px; }
.cart-floating-btn {
    position: fixed;
    z-index: 100;
    right: max(16px, calc(env(safe-area-inset-right, 0px) + 16px));
    bottom: max(16px, calc(env(safe-area-inset-bottom, 0px) + 16px));
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--color-nav);
    box-shadow: 0 10px 25px rgb(19 25 33 / 24%);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.cart-floating-btn:hover { transform: translateY(-2px); box-shadow: 0 13px 30px rgb(19 25 33 / 30%); }
.cart-floating-icon { font-size: 1.45rem; line-height: 1; }
.cart-floating-label { white-space: nowrap; }
.cart-floating-count {
    position: absolute;
    top: -7px;
    right: -7px;
    display: grid;
    min-width: 24px;
    height: 24px;
    place-items: center;
    padding: 0 5px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--color-accent);
    color: #17212b;
    font-size: .75rem;
    font-weight: 800;
}

.cart-floating-btn.is-bumped { animation: cart-float-bump .55s ease; }
@keyframes cart-float-bump {
    0%, 100% { transform: scale(1); }
    38% { transform: scale(1.14); }
    72% { transform: scale(.97); }
}

.cart-flight {
    position: fixed;
    z-index: 110;
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    overflow: hidden;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--color-surface);
    box-shadow: 0 8px 22px rgb(19 25 33 / 25%);
    pointer-events: none;
    transition: transform .85s cubic-bezier(.2, .75, .35, 1), opacity .85s ease;
    will-change: transform, opacity;
}

.cart-flight.is-flying {
    transform: translate3d(var(--cart-flight-x), var(--cart-flight-y), 0) scale(.24);
    opacity: .18;
}

.cart-flight img { width: 100%; height: 100%; object-fit: cover; }
.cart-flight-fallback { font-size: 2rem; }

.store-home-collections {
    margin: 20px 0;
    padding: clamp(18px, 3.5vw, 32px);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: var(--color-surface);
    box-shadow: 0 10px 28px rgb(19 25 33 / 7%);
}

.store-home-collections-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.store-home-collections-heading h2,
.store-home-collections-heading p { margin: 0; }
.store-home-collections-heading h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
.store-home-collections-heading > div > p:last-child { margin-top: 7px; color: var(--color-muted); }
.store-home-collections-kicker {
    margin-bottom: 7px !important;
    color: #80500b;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.store-home-collections-heading > a { color: #17212b; font-weight: 700; text-decoration: none; white-space: nowrap; }
.store-home-collections-heading > a span { color: #9b5b00; font-size: 1.2em; }
.store-home-collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 18px;
}

.store-home-collection-card {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: var(--color-surface);
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.store-home-collection-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgb(19 25 33 / 13%);
}

.store-home-collection-art {
    position: relative;
    display: flex;
    min-height: 170px;
    align-items: flex-start;
    justify-content: space-between;
    overflow: hidden;
    padding: 18px;
    background: linear-gradient(135deg, #1d3148, #4c6a89);
    color: #fff;
}

.store-home-collection-image {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-home-collection-art.has-image::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgb(19 25 33 / 48%), rgb(19 25 33 / 8%) 90%);
    content: "";
}

.store-home-collection-art.has-image::after { display: none; }
.store-home-collection-art.has-image .store-home-collection-label { z-index: 2; background: rgb(19 25 33 / 62%); }
.store-home-collection-card-2 .store-home-collection-art { background: linear-gradient(135deg, #805027, #d5a15d); }
.store-home-collection-card-3 .store-home-collection-art { background: linear-gradient(135deg, #28564f, #76a08b); }
.store-home-collection-art::after {
    position: absolute;
    right: -28px;
    bottom: -90px;
    width: 220px;
    height: 220px;
    border: 1px solid rgb(255 255 255 / 38%);
    border-radius: 50%;
    box-shadow: 0 0 0 24px rgb(255 255 255 / 8%), 0 0 0 52px rgb(255 255 255 / 7%);
    content: "";
}

.store-home-collection-label {
    z-index: 1;
    padding: 7px 10px;
    border: 1px solid rgb(255 255 255 / 40%);
    border-radius: 999px;
    background: rgb(19 25 33 / 18%);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.store-home-collection-icon {
    z-index: 1;
    align-self: end;
    font-size: clamp(3.5rem, 8vw, 5rem);
    line-height: 1;
    filter: drop-shadow(0 8px 12px rgb(0 0 0 / 18%));
}

.store-home-collection-copy {
    display: grid;
    align-content: start;
    gap: 9px;
    padding: 18px;
}

.store-home-collection-copy > p,
.store-home-collection-copy h3 { margin: 0; }
.store-home-collection-copy > p {
    color: #80500b;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.store-home-collection-copy h3 { font-size: 1.15rem; }
.store-home-collection-products { min-height: 1.5em; color: var(--color-muted); font-size: .9rem; line-height: 1.5; }
.store-home-collection-cta { display: flex; justify-content: space-between; gap: 8px; margin-top: 4px; color: #17212b; font-size: .9rem; font-weight: 700; }
.store-home-collection-cta span { color: #80500b; }

.store-promotions {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 20px 0;
    padding: clamp(18px, 4vw, 36px);
    border: 1px solid rgb(246 166 35 / 38%);
    border-radius: 16px;
    background: linear-gradient(135deg, #fff7e8, #fff 62%);
    box-shadow: 0 14px 34px rgb(19 25 33 / 8%);
}

.store-promotions::before {
    position: absolute;
    z-index: -1;
    top: -120px;
    right: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgb(246 166 35 / 12%);
    content: "";
}

.store-promotions-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.store-promotions-heading h2,
.store-promotions-heading p { margin: 0; }
.store-promotions-heading h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
.store-promotions-heading > div > p:last-child { margin-top: 7px; color: var(--color-muted); }
.store-promotions-kicker,
.store-promotion-eyebrow {
    color: #80500b;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.store-promotions-kicker { margin-bottom: 7px !important; }
.store-promotions-all { color: #17212b; font-weight: 700; text-decoration: none; white-space: nowrap; }
.store-promotions-all span { color: #9b5b00; font-size: 1.2em; }
.store-promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 18px;
}

.store-promotion-card {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: var(--color-surface);
    box-shadow: 0 5px 16px rgb(19 25 33 / 6%);
}

.store-promotion-visual {
    position: relative;
    display: grid;
    min-height: 175px;
    aspect-ratio: 16 / 9;
    align-content: space-between;
    overflow: hidden;
    padding: 18px;
    background: linear-gradient(135deg, #20334b, #426080);
    color: #fff;
}

.store-promotion-visual-2 { background: linear-gradient(135deg, #854d22, #e0a34f); }
.store-promotion-visual-3 { background: linear-gradient(135deg, #24504a, #6a9b82); }
.store-promotion-visual::after {
    position: absolute;
    right: -30px;
    bottom: -90px;
    width: 220px;
    height: 220px;
    border: 1px solid rgb(255 255 255 / 35%);
    border-radius: 50%;
    box-shadow: 0 0 0 24px rgb(255 255 255 / 8%), 0 0 0 52px rgb(255 255 255 / 7%);
    content: "";
}

.store-promotion-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.store-promotion-visual-label { z-index: 1; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.store-promotion-visual-mark { z-index: 1; align-self: end; font-size: clamp(3.5rem, 9vw, 5rem); line-height: .8; opacity: .78; }
.store-promotion-copy { display: grid; align-content: start; justify-items: start; gap: 10px; padding: 18px; }
.store-promotion-copy h3,
.store-promotion-copy p { margin: 0; }
.store-promotion-eyebrow { margin: 0; }
.store-promotion-copy h3 { font-size: 1.18rem; }
.store-promotion-description { color: var(--color-muted); line-height: 1.55; white-space: pre-line; }
.store-promotion-copy .btn { margin-top: 4px; }

.store-editorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 16px;
}

.store-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.store-section-heading h2 { margin: 0; }
.store-editorial-card {
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-surface);
}

.store-editorial-card img { display: block; width: 100%; max-height: 240px; aspect-ratio: 16 / 9; object-fit: cover; }
.store-editorial-copy { display: grid; gap: 8px; padding: 16px; }
.store-editorial-copy h3, .store-editorial-copy p { margin: 0; }
.store-editorial-copy p { color: var(--color-muted); line-height: 1.5; white-space: pre-line; }
.store-editorial-copy time { color: var(--color-muted); font-size: .8rem; }
.store-editorial-copy a { justify-self: start; }
.store-about, .store-policy { margin: 18px 0; padding: clamp(16px, 2.5vw, 24px); border-radius: 12px; background: var(--color-surface); }
.store-about p, .store-policy p { line-height: 1.65; white-space: pre-line; }
.store-policy-content { overflow-wrap: anywhere; }
.storefront-preview-image { width: min(100%, 480px); max-height: 180px; border: 1px solid var(--admin-border); border-radius: 8px; object-fit: cover; }
.storefront-logo-preview { max-width: 150px; max-height: 70px; object-fit: contain; }
.storefront-remove { display: flex !important; flex-direction: row !important; align-items: center; gap: 7px !important; margin-top: 8px; }
.storefront-remove input { width: 17px; height: 17px; }

@media (max-width: 700px) {
    .store-hero-copy { min-height: 200px; }
    .store-home-collections-heading { align-items: start; flex-direction: column; }
    .store-home-collections-heading > a { white-space: normal; }
    .store-home-collection-art { min-height: 145px; }
    .store-promotions-heading { align-items: start; flex-direction: column; }
    .store-promotions-all { white-space: normal; }
    .store-promotion-visual { min-height: 150px; }
}

@media (max-width: 520px) {
    .cart-floating-btn {
        width: 60px;
        height: 60px;
        min-height: 60px;
        justify-content: center;
        padding: 0;
    }

    .cart-floating-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cart-floating-btn,
    .cart-flight { transition: none; }
    .cart-floating-btn.is-bumped { animation: none; }
}
