:root {
    color-scheme: dark;
    --store-bg: #070817;
    --store-panel: #12152a;
    --store-panel-2: #191d37;
    --store-line: rgba(255,255,255,.12);
    --store-text: #f8f8ff;
    --store-muted: #aeb3ca;
    --store-accent: #ff456f;
    --store-accent-2: #ff7d9b;
    --store-ok: #60dfa4;
    --store-danger: #ff758c;
    --store-shadow: 0 24px 70px rgba(0,0,0,.33);
}
* { box-sizing: border-box; }
html { background: var(--store-bg); scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 18% -10%, rgba(255,69,111,.17), transparent 34%), radial-gradient(circle at 90% 20%, rgba(80,83,255,.14), transparent 28%), var(--store-bg); color: var(--store-text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.store-body { min-height: 100vh; }
.store-loader { position: fixed; z-index: 9999; inset: 0; display: grid; place-content: center; justify-items: center; gap: 9px; background: #070817; transition: opacity .34s ease, visibility .34s ease; }
.store-loader.is-hidden { opacity: 0; visibility: hidden; }
.store-loader__mark { width: 64px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 22px; background: linear-gradient(145deg, var(--store-accent), #9c2eff); box-shadow: 0 20px 60px rgba(255,69,111,.35); font-size: 30px; font-weight: 950; animation: storePulse 1.15s ease-in-out infinite alternate; }
.store-loader span { color: var(--store-muted); font-size: 14px; }
@keyframes storePulse { to { transform: translateY(-5px) rotate(-3deg); } }
.store-header { position: sticky; z-index: 30; top: 0; min-height: 76px; padding: 12px clamp(16px, 4vw, 60px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; border-bottom: 1px solid var(--store-line); background: rgba(7,8,23,.88); backdrop-filter: blur(18px); }
.store-back, .store-cart-link, .store-brand { text-decoration: none; }
.store-back { justify-self: start; display: inline-flex; align-items: center; gap: 9px; color: var(--store-muted); font-size: 14px; font-weight: 750; }
.store-back:hover { color: #fff; }
.store-brand { display: inline-flex; align-items: center; gap: 10px; }
.store-brand__mark { width: 42px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(145deg, var(--store-accent), #8c35ff); font-size: 20px; font-weight: 950; }
.store-brand strong, .store-brand small { display: block; }
.store-brand strong { font-size: 15px; }
.store-brand small { color: var(--store-muted); font-size: 11px; }
.store-cart-link { justify-self: end; display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid var(--store-line); border-radius: 999px; font-weight: 800; font-size: 14px; background: rgba(255,255,255,.045); }
.store-cart-link span { min-width: 24px; height: 24px; display: grid; place-items: center; border-radius: 999px; background: var(--store-accent); font-size: 12px; }
.store-main { width: min(1240px, calc(100% - 32px)); margin: 0 auto; padding: 36px 0 80px; }
.store-alert { margin: 0 auto 20px; padding: 13px 16px; border-radius: 16px; border: 1px solid var(--store-line); }
.store-alert--success { border-color: rgba(96,223,164,.45); background: rgba(96,223,164,.09); }
.store-alert--error { border-color: rgba(255,117,140,.5); background: rgba(255,117,140,.09); }
.store-hero { min-height: 430px; padding: clamp(30px, 6vw, 78px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); align-items: center; gap: 42px; overflow: hidden; border: 1px solid var(--store-line); border-radius: 38px; background: linear-gradient(135deg, rgba(255,69,111,.13), rgba(100,61,255,.12) 58%, rgba(255,255,255,.04)); box-shadow: var(--store-shadow); }
.store-kicker { display: block; color: var(--store-accent-2); font-size: 13px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.store-hero h1 { margin: 12px 0 16px; max-width: 760px; font-size: clamp(44px, 7vw, 92px); line-height: .92; letter-spacing: -.065em; }
.store-hero p, .store-lead { max-width: 670px; color: var(--store-muted); font-size: clamp(17px, 2vw, 21px); }
.store-hero__art { position: relative; min-height: 280px; display: grid; place-items: center; }
.store-tag-shape { position: relative; z-index: 2; width: clamp(170px, 23vw, 280px); aspect-ratio: .78; display: grid; place-items: center; border-radius: 48px 48px 72px 72px; background: linear-gradient(155deg, #ff5279, #762cff); box-shadow: 0 40px 80px rgba(0,0,0,.38), inset 0 1px rgba(255,255,255,.35); font-size: clamp(72px, 10vw, 128px); font-weight: 950; transform: rotate(7deg); }
.store-tag-shape::before { content: ""; position: absolute; top: 22px; width: 38px; aspect-ratio: 1; border: 8px solid rgba(255,255,255,.9); border-radius: 50%; }
.store-keyring { position: absolute; width: min(310px, 82%); aspect-ratio: 1; border: 22px solid rgba(255,255,255,.12); border-radius: 50%; transform: translate(55px,-55px); }
.store-section { margin-top: 58px; }
.store-section__head { margin-bottom: 20px; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.store-section__head span { color: var(--store-accent-2); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.store-section__head h1, .store-section__head h2 { margin: 4px 0 0; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.04em; }
.store-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.store-product-grid--featured { grid-template-columns: repeat(4, minmax(0,1fr)); }
.store-product-card { min-width: 0; overflow: hidden; border: 1px solid var(--store-line); border-radius: 25px; background: rgba(18,21,42,.88); box-shadow: 0 16px 44px rgba(0,0,0,.19); transition: transform .2s ease, border-color .2s ease; }
.store-product-card:hover { transform: translateY(-4px); border-color: rgba(255,69,111,.5); }
.store-product-card__image { position: relative; aspect-ratio: 1/1; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #1b1f3c, #101326); }
.store-product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.store-product-card:hover img { transform: scale(1.035); }
.store-product-placeholder { width: 58%; aspect-ratio: .82; display: grid; place-items: center; border-radius: 32px; background: linear-gradient(145deg, #ff5279, #702fff); box-shadow: 0 22px 45px rgba(0,0,0,.28); font-size: 65px; font-weight: 950; transform: rotate(5deg); }
.store-stock-badge { position: absolute; right: 12px; bottom: 12px; padding: 6px 9px; border-radius: 999px; background: rgba(7,8,23,.88); font-size: 11px; font-weight: 850; }
.store-product-card__body { padding: 17px; }
.store-product-card__body > a { text-decoration: none; }
.store-product-card h3 { margin: 0; font-size: 18px; line-height: 1.25; }
.store-product-card p { min-height: 42px; margin: 8px 0 15px; color: var(--store-muted); font-size: 13px; }
.store-product-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.store-product-card__footer strong { font-size: 17px; }
.store-product-card button, .store-cart-row button { border: 0; border-radius: 12px; padding: 9px 11px; color: #fff; background: var(--store-accent); cursor: pointer; font-weight: 800; }
.store-muted { color: var(--store-muted); font-size: 12px; }
.store-info-links { margin-top: 58px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.store-info-links a { padding: 18px; border: 1px solid var(--store-line); border-radius: 20px; background: rgba(255,255,255,.035); text-decoration: none; }
.store-info-links strong, .store-info-links span { display: block; }
.store-info-links span { margin-top: 5px; color: var(--store-muted); font-size: 13px; }
.store-product-detail { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(28px,5vw,70px); align-items: start; }
.store-product-detail__media { aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--store-line); border-radius: 34px; background: var(--store-panel); }
.store-product-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.store-product-detail__copy { padding-top: 20px; }
.store-product-detail h1, .store-content-page h1 { margin: 14px 0; font-size: clamp(38px,6vw,72px); line-height: .98; letter-spacing: -.055em; }
.store-crumb { color: var(--store-muted); font-size: 14px; font-weight: 800; }
.store-rich-text { color: #d8daea; white-space: normal; }
.store-buy-box { margin-top: 30px; padding: 20px; border: 1px solid var(--store-line); border-radius: 24px; background: var(--store-panel); }
.store-buy-box > strong { display: block; font-size: 30px; }
.store-buy-box > span { color: var(--store-muted); }
.store-buy-box form { margin-top: 18px; display: flex; align-items: end; gap: 12px; }
.store-buy-box label { display: grid; gap: 6px; color: var(--store-muted); font-size: 12px; }
.store-buy-box input, .store-cart-row input { width: 82px; padding: 11px; border: 1px solid var(--store-line); border-radius: 12px; color: #fff; background: rgba(255,255,255,.055); }
.store-btn { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 11px 17px; border: 0; border-radius: 15px; color: #fff; background: linear-gradient(135deg, var(--store-accent), #9b2fff); text-decoration: none; cursor: pointer; font-weight: 850; box-shadow: 0 12px 28px rgba(255,69,111,.18); }
.store-btn--full { width: 100%; }
.store-content-page, .store-narrow { width: min(900px, 100%); margin: 0 auto; }
.store-content-page { padding: clamp(25px,5vw,64px); border: 1px solid var(--store-line); border-radius: 30px; background: var(--store-panel); }
.store-empty { padding: 42px 22px; border: 1px dashed var(--store-line); border-radius: 25px; text-align: center; background: rgba(255,255,255,.025); }
.store-empty strong { font-size: 24px; }
.store-empty p { color: var(--store-muted); }
.store-cart-list { display: grid; gap: 12px; }
.store-cart-row { padding: 13px; display: grid; grid-template-columns: 70px minmax(150px,1fr) auto auto auto; align-items: center; gap: 14px; border: 1px solid var(--store-line); border-radius: 20px; background: var(--store-panel); }
.store-cart-row__image { width: 70px; aspect-ratio: 1; overflow: hidden; display: grid; place-items: center; border-radius: 15px; background: var(--store-panel-2); }
.store-cart-row__image img { width: 100%; height: 100%; object-fit: cover; }
.store-cart-row > div:nth-child(2) strong, .store-cart-row > div:nth-child(2) span { display: block; }
.store-cart-row > div:nth-child(2) span { color: var(--store-muted); font-size: 13px; }
.store-cart-row form { display: flex; gap: 7px; }
.store-link-button { background: transparent!important; color: var(--store-danger)!important; padding: 8px!important; }
.store-cart-summary { margin: 22px 0 0 auto; width: min(430px,100%); padding: 20px; border: 1px solid var(--store-line); border-radius: 24px; background: var(--store-panel); }
.store-cart-summary > div { display: flex; justify-content: space-between; font-size: 20px; }
.store-cart-summary p { color: var(--store-muted); font-size: 12px; }
.store-cart-summary .store-btn { width: 100%; }
.store-checkout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(300px,.65fr); gap: 24px; align-items: start; }
.store-checkout-form, .store-order-preview { padding: clamp(20px,4vw,34px); border: 1px solid var(--store-line); border-radius: 28px; background: var(--store-panel); }
.store-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.store-form-grid label { display: grid; gap: 7px; color: #eef; font-size: 13px; font-weight: 750; }
.store-form-grid input, .store-form-grid textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--store-line); border-radius: 14px; outline: none; color: #fff; background: rgba(255,255,255,.055); }
.store-form-grid input:focus, .store-form-grid textarea:focus { border-color: var(--store-accent); box-shadow: 0 0 0 3px rgba(255,69,111,.12); }
.store-form-grid textarea { min-height: 110px; resize: vertical; }
.store-form-grid small, .store-field-error { color: #ff9aae; }
.store-form-span { grid-column: 1/-1; }
.store-check { margin: 18px 0; display: flex; gap: 10px; align-items: flex-start; color: var(--store-muted); font-size: 13px; }
.store-check input { margin-top: 4px; }
.store-payment-note { margin: 18px 0; padding: 15px; border: 1px solid rgba(96,223,164,.28); border-radius: 17px; background: rgba(96,223,164,.06); }
.store-payment-note strong, .store-payment-note span { display: block; }
.store-payment-note span { color: var(--store-muted); font-size: 12px; }
.store-order-preview { position: sticky; top: 98px; }
.store-order-preview h2 { margin-top: 0; }
.store-order-preview > div { padding: 11px 0; display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--store-line); }
.store-order-preview__total { font-size: 20px; border-bottom: 0!important; }
.store-result { width: min(720px,100%); margin: 30px auto; padding: clamp(28px,6vw,64px); text-align: center; border: 1px solid var(--store-line); border-radius: 34px; background: var(--store-panel); box-shadow: var(--store-shadow); }
.store-result__icon { margin: 0 auto 18px; width: 72px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); font-size: 34px; font-weight: 950; }
.store-result--ok .store-result__icon { color: var(--store-ok); background: rgba(96,223,164,.1); }
.store-result--danger .store-result__icon { color: var(--store-danger); background: rgba(255,117,140,.1); }
.store-result h1 { margin: 10px 0; font-size: clamp(35px,6vw,62px); letter-spacing: -.05em; }
.store-result > p { color: var(--store-muted); }
.store-result__summary { margin: 25px 0; padding: 15px; border-radius: 18px; background: rgba(255,255,255,.035); text-align: left; }
.store-result__summary div { padding: 9px 0; display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--store-line); }
.store-result__summary div:last-child { border-bottom: 0; }
.store-footer { width: min(1240px,calc(100% - 32px)); margin: 0 auto; padding: 25px 0 38px; display: flex; justify-content: space-between; color: var(--store-muted); border-top: 1px solid var(--store-line); font-size: 13px; }
.store-pagination { margin-top: 24px; }
.store-pagination nav { display: flex; justify-content: center; }
.store-pagination svg { width: 18px; }
@media (max-width: 980px) {
    .store-product-grid, .store-product-grid--featured { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .store-hero, .store-product-detail, .store-checkout { grid-template-columns: 1fr; }
    .store-hero__art { min-height: 220px; }
    .store-order-preview { position: static; }
    .store-info-links { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .store-header { min-height: 68px; grid-template-columns: 1fr auto; }
    .store-brand { grid-column: 1/-1; grid-row: 1; justify-self: center; }
    .store-back { grid-column: 1; grid-row: 2; font-size: 12px; }
    .store-cart-link { grid-column: 2; grid-row: 2; }
    .store-main { width: min(100% - 22px,1240px); padding-top: 18px; }
    .store-hero { min-height: auto; padding: 27px 20px; border-radius: 26px; }
    .store-hero h1 { font-size: clamp(43px,14vw,64px); }
    .store-product-grid, .store-product-grid--featured { grid-template-columns: 1fr; }
    .store-product-card { display: grid; grid-template-columns: 120px minmax(0,1fr); }
    .store-product-card__image { height: 100%; aspect-ratio: auto; }
    .store-product-card p { min-height: auto; }
    .store-cart-row { grid-template-columns: 58px minmax(0,1fr); }
    .store-cart-row__image { width: 58px; }
    .store-cart-row form, .store-cart-row > strong { grid-column: 2; }
    .store-form-grid { grid-template-columns: 1fr; }
    .store-form-span { grid-column: auto; }
    .store-buy-box form { align-items: stretch; flex-direction: column; }
    .store-buy-box input { width: 100%; }
    .store-footer { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto!important; animation-duration: .01ms!important; animation-iteration-count: 1!important; transition-duration: .01ms!important; }
}
