@font-face {
    font-family: "Vazir";
    src: url("../fonts/Vazirmatn-FD-Regular.e0e713cd90d9.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Vazir";
    src: url("../fonts/Vazirmatn-FD-Medium.746006b64c8e.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Vazir";
    src: url("../fonts/Vazirmatn-FD-SemiBold.3c59bb69635a.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Vazir";
    src: url("../fonts/Vazirmatn-FD-Bold.49790e8b277d.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    font-family: "Vazir", Tahoma, sans-serif;
    color: #172033;
    background: #f5f7fb;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    direction: rtl;
}

.shell {
    width: min(90vw, 720px);
    margin: 15vh auto;
    padding: 2rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 16px 40px rgb(30 41 59 / 8%);
}

.catalog-shell,
.product-detail {
    display: grid;
    gap: 1.5rem;
}

.eyebrow {
    margin: 0;
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 700;
}

.catalog-header h1,
.catalog-header h2,
.content-page h1 {
    margin-bottom: 0.5rem;
}

.content-section {
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #f8fafc;
}

.content-section img {
    max-width: 100%;
    border-radius: 0.5rem;
}

.full-row {
    grid-column: 1 / -1;
}

.text-link {
    color: #2563eb;
    text-decoration: none;
}

.rich-content,
.lead {
    line-height: 2;
}

.catalog-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.catalog-header form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.catalog-header input,
.catalog-header button {
    font: inherit;
    padding: 0.5rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.product-card {
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #fff;
}

@media (max-width: 600px) {
    .product-grid-mobile-scroll {
        display: flex;
        align-items: stretch;
        gap: 0.75rem;
        overflow-x: auto;
        padding-bottom: 0.35rem;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
    }

    .product-grid-mobile-scroll > * {
        flex: 0 0 var(--mobile-card-width, 82%);
        min-width: var(--mobile-card-width, 82%);
        scroll-snap-align: start;
    }
}

.product-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 0.5rem;
}

.button,
button {
    display: inline-block;
    cursor: pointer;
    font: inherit;
    padding: 0.55rem 0.9rem;
    border: 0;
    border-radius: 0.5rem;
    color: #fff;
    background: #2563eb;
    text-decoration: none;
}

.cart-shell,
.checkout-shell {
    display: grid;
    gap: 1rem;
}

.store-messages { width: min(100% - 32px, 1120px); margin: 14px auto 0; display: grid; gap: 8px; }
.store-message { padding: 11px 14px; border: 1px solid rgb(59 130 246 / 22%); border-radius: 10px; background: rgb(239 246 255 / 92%); color: #1e3a8a; font-size: .82rem; }
.store-message-error { border-color: rgb(239 68 68 / 28%); background: rgb(254 242 242 / 94%); color: #991b1b; }
.store-message-success { border-color: rgb(34 197 94 / 28%); background: rgb(240 253 244 / 94%); color: #166534; }
.cart-page-heading, .checkout-heading, .payment-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.cart-page-heading h1, .checkout-heading h1, .payment-heading h1 { margin: 8px 0; font-size: clamp(1.8rem, 4vw, 3rem); }
.cart-page-heading p, .checkout-heading p, .payment-heading p { margin: 0; color: #64748b; }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 320px); align-items: start; gap: 22px; }
.cart-items, .checkout-items { display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; align-items: center; gap: 15px; padding: 13px; border: 1px solid rgb(148 163 184 / 24%); border-radius: 15px; background: rgb(255 255 255 / 78%); }
.theme-night .cart-item, .theme-night .cart-summary, .theme-night .invoice-card { background: #18181b; border-color: #27272a; }
.cart-item-image { display: grid; place-items: center; width: 92px; height: 92px; overflow: hidden; color: white; border-radius: 12px; background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary)); text-decoration: none; }
.cart-item-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cart-item-image span { font-size: 2rem; font-weight: 800; }
.cart-item-copy { min-width: 0; display: grid; gap: 4px; }
.cart-item-copy h2, .cart-item-copy h3 { margin: 0; font-size: 1rem; }
.cart-item-copy h2 a { color: inherit; text-decoration: none; }
.cart-item-copy small, .cart-item-copy strong { color: #64748b; font-size: .75rem; }
.cart-item-copy strong { color: var(--theme-primary); }
.cart-item-actions { display: grid; justify-items: end; gap: 7px; min-width: 145px; }
.cart-item-actions form { max-width: none; margin: 0; }
.cart-item-quantity-form { display: grid; gap: 4px; justify-items: end; }
.cart-item-quantity-form label { color: #64748b; font-size: .7rem; }
.cart-item-quantity-form div { display: flex; gap: 5px; align-items: center; }
.cart-item-quantity-form input { width: 56px; padding: 7px 5px; text-align: center; border: 1px solid #cbd5e1; border-radius: 8px; background: white; font: inherit; }
.cart-item-quantity-form button, .cart-remove-button { padding: 7px 9px; border-radius: 8px; font-size: .7rem; }
.cart-remove-button { color: #b91c1c; border: 1px solid rgb(239 68 68 / 24%); background: transparent; cursor: pointer; }
.cart-item-total { color: var(--theme-primary); font-size: .82rem; }
.cart-summary { position: sticky; top: 94px; display: grid; gap: 10px; padding: 20px; border: 1px solid rgb(148 163 184 / 24%); border-radius: 15px; background: rgb(255 255 255 / 78%); }
.cart-summary h2 { margin: 0; font-size: 1.15rem; }
.cart-summary > strong { color: var(--theme-primary); font-size: 1.25rem; }
.cart-summary p { margin: 0; color: #64748b; font-size: .78rem; line-height: 1.8; }
.checkout-main { display: grid; gap: 24px; }
.checkout-items { padding: 20px; border: 1px solid rgb(148 163 184 / 24%); border-radius: 15px; background: rgb(255 255 255 / 62%); }
.checkout-items h2, .checkout-form h2 { margin: 0; font-size: 1.15rem; }
.checkout-item { padding: 0 0 12px; border-width: 0 0 1px; border-radius: 0; background: transparent; }
.checkout-item:last-child { padding-bottom: 0; border-bottom: 0; }
.checkout-form { display: grid; gap: 13px; max-width: none !important; padding: 20px; border: 1px solid rgb(148 163 184 / 24%); border-radius: 15px; background: rgb(255 255 255 / 78%); }
.checkout-form > label { display: grid; gap: 6px; color: #334155; font-size: .82rem; }
.checkout-form input, .checkout-form textarea { margin-top: 0; }
.payment-page { display: grid; gap: 20px; }
.invoice-card { display: grid; gap: 20px; max-width: 900px; padding: 24px; border: 1px solid rgb(148 163 184 / 24%); border-radius: 18px; background: rgb(255 255 255 / 82%); box-shadow: 0 18px 45px rgb(15 23 42 / 7%); }
.invoice-section { display: grid; gap: 12px; }
.invoice-section h2 { margin: 0; font-size: 1.1rem; }
.invoice-items { display: grid; gap: 8px; }
.invoice-item, .invoice-totals > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 10px 0; border-bottom: 1px solid rgb(148 163 184 / 18%); }
.invoice-item div { display: grid; gap: 4px; }
.invoice-item small { color: #64748b; font-size: .72rem; }
.invoice-item > span, .invoice-totals strong { color: var(--theme-primary); font-weight: 800; }
.invoice-total { padding-top: 14px !important; border-bottom: 0 !important; font-size: 1.1rem; }
.invoice-meta dl { display: grid; grid-template-columns: minmax(100px, .35fr) 1fr; gap: 8px 15px; margin: 0; }
.invoice-meta dt { color: #64748b; font-size: .78rem; }
.invoice-meta dd { margin: 0; overflow-wrap: anywhere; font-size: .82rem; }
.payment-action { margin: 0; }
.payment-success, .payment-failure { margin: 0; padding: 12px 14px; border-radius: 10px; font-weight: 700; }
.payment-success { color: #166534; background: #f0fdf4; }
.payment-failure { color: #991b1b; background: #fef2f2; }

.checkout-shell form {
    display: grid;
    gap: 0.75rem;
    max-width: 34rem;
}

.checkout-shell input,
.checkout-shell textarea {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    padding: 0.55rem;
    font: inherit;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
}

.shipping-options {
    display: grid;
    gap: 0.65rem;
    margin: 0;
    padding: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.75rem;
}

.shipping-options legend {
    padding: 0 0.35rem;
    font-weight: 700;
}

.shipping-option {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.6rem;
    cursor: pointer;
}

.shipping-option input {
    width: auto;
    margin-top: 0.35rem;
}

.shipping-option span,
.shipping-option small {
    display: block;
}

.shipping-option small {
    color: #64748b;
    margin-top: 0.2rem;
}

/* Storefront design system: the selected preset only changes tokens and
   composition classes; all commerce content remains store-owned. */
.storefront {
    color: #172033;
    background: var(--theme-surface, #f8fafc);
}
.theme-night { color: #f4f4f5; }
.store-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgb(148 163 184 / 18%); background: rgb(255 255 255 / 86%); backdrop-filter: blur(18px); }
.theme-night .store-header { background: rgb(9 9 11 / 86%); }
.store-header-inner, .store-main, .store-footer { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.store-header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.store-brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.store-brand-mark { display: grid; place-items: center; width: 40px; height: 40px; color: white; background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent)); border-radius: 13px; font-weight: 800; }
.store-brand strong, .store-brand small { display: block; }
.store-brand small { margin-top: 3px; color: #64748b; font-size: .7rem; }
.theme-night .store-brand small { color: #a1a1aa; }
.store-nav { display: flex; align-items: center; gap: 24px; }
.store-nav a, .store-cart-link { color: inherit; text-decoration: none; font-size: .88rem; }
.store-nav a:hover, .text-link:hover { color: var(--theme-primary); }
.store-menu-toggle, .store-mobile-nav { display: none; }
.ui-icon { display: block; width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.store-cart-link { position: relative; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; color: white; background: var(--theme-secondary); border-radius: 999px; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.store-cart-link.has-items { background: var(--theme-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--theme-primary) 18%, transparent); transform: translateY(-1px); }
.store-cart-count { position: absolute; top: -7px; inset-inline-end: -7px; display: grid; place-items: center; min-width: 21px; height: 21px; padding: 0 5px; color: var(--theme-secondary); border: 2px solid var(--theme-surface, #f8fafc); border-radius: 999px; background: var(--theme-accent); font-size: .68rem; font-weight: 800; line-height: 1; }
.store-cart-icon { display: inline-grid; place-items: center; color: var(--theme-accent); }
.store-cart-icon .ui-icon { width: 20px; height: 20px; }
.store-main { padding: 38px 0 74px; }
.store-footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px 0 36px; color: #64748b; border-top: 1px solid rgb(148 163 184 / 22%); font-size: .8rem; }
.theme-night .store-footer { color: #a1a1aa; }
.store-footer p { margin: 7px 0 0; }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); gap: clamp(24px, 4vw, 64px); align-items: center; min-height: 470px; padding: clamp(36px, 5vw, 62px); overflow: hidden; box-sizing: border-box; isolation: isolate; color: var(--hero-text-color, white); background: transparent; border-radius: calc(var(--theme-radius) + 8px); box-shadow: 0 24px 60px rgb(15 23 42 / 18%); }
.hero::before { position: absolute; inset: 0; z-index: 0; content: ""; pointer-events: none; border-radius: inherit; background: var(--hero-background-color, linear-gradient(135deg, var(--theme-secondary), color-mix(in srgb, var(--theme-primary) 70%, var(--theme-secondary)))); opacity: calc(var(--hero-background-opacity, 100) / 100); }
.hero::after { position: absolute; inset: 0; z-index: 0; content: ""; pointer-events: none; background: radial-gradient(circle at 80% 20%, rgb(255 255 255 / 20%), transparent 35%); opacity: calc(var(--hero-background-opacity, 100) / 100); }
.hero-copy, .hero-art { position: relative; z-index: 1; min-width: 0; }
.hero-copy { width: 100%; max-width: 640px; mix-blend-mode: var(--hero-text-blend-mode, normal); }
.hero h1 { max-width: 650px; margin: 12px 0; font-size: clamp(2.3rem, 5vw, 4.5rem); line-height: 1.16; letter-spacing: -.04em; }
.hero .eyebrow, .section-kicker { color: var(--hero-text-color, var(--theme-accent)); font-weight: 700; font-size: .78rem; }
.hero-lead { max-width: 560px; color: color-mix(in srgb, var(--hero-text-color, white) 78%, transparent); font-size: 1.05rem; line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button { padding: 12px 18px; border-radius: 12px; font-size: .85rem; font-weight: 600; }
.button-primary { color: white; background: var(--theme-primary); box-shadow: 0 9px 22px rgb(0 0 0 / 14%); }
.hero .button-primary { background: var(--theme-accent); color: var(--theme-secondary); }
.button-ghost { color: white; border: 1px solid rgb(255 255 255 / 28%); background: transparent; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 32px; color: rgb(255 255 255 / 62%); font-size: .73rem; }
.hero-art { display: grid; place-items: center; width: 100%; min-height: 320px; }
.hero-placeholder, .hero-media-frame { position: relative; width: min(100%, 520px); aspect-ratio: 4 / 3; min-height: 0; overflow: hidden; border-radius: clamp(20px, 3vw, 30px); }
.hero-placeholder { display: grid; place-items: center; background: linear-gradient(145deg, color-mix(in srgb, var(--theme-primary) 64%, transparent), color-mix(in srgb, var(--theme-accent) 34%, transparent)); }
.hero-media-frame { background: rgb(15 23 42 / 22%); border: 1px solid rgb(255 255 255 / 25%); box-shadow: 0 24px 55px rgb(0 0 0 / 25%); }
.hero-slide-media { display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; border: 0; border-radius: inherit; box-shadow: none; }
.hero-orb { position: absolute; border-radius: 999px; filter: blur(1px); }
.hero-orb-one { top: -18%; inset-inline-end: -12%; width: 72%; aspect-ratio: 1; background: radial-gradient(circle at 35% 30%, var(--theme-accent), transparent 68%); opacity: .7; }
.hero-orb-two { bottom: -12%; inset-inline-start: -8%; width: 54%; aspect-ratio: 1; background: radial-gradient(circle, var(--theme-primary), transparent 72%); opacity: .85; }
.hero-art-card { position: relative; z-index: 1; display: grid; gap: 10px; width: min(78%, 360px); min-height: 0; padding: clamp(20px, 4vw, 32px); box-sizing: border-box; color: var(--theme-secondary); background: rgb(255 255 255 / 90%); border: 1px solid rgb(255 255 255 / 55%); border-radius: 26px; box-shadow: 0 22px 45px rgb(0 0 0 / 22%); }
.hero-art-card span, .hero-art-card small { color: #64748b; font-size: .73rem; }
.hero-art-card strong { font-size: 1.7rem; }
.hero-centered, .hero-editorial { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.hero-centered .hero-lead, .hero-editorial .hero-lead { margin-right: auto; margin-left: auto; }
.hero-centered .hero-actions, .hero-editorial .hero-actions { justify-content: center; }
.hero-editorial { background: linear-gradient(120deg, #3f1d2e, #9f1239); }
.hero-glow { background: radial-gradient(circle at 80% 20%, #312e81, #09090b 58%); }
.hero-rotator { display: block; min-height: 470px; padding: 0; }
.hero-scroll-container { min-height: calc(var(--hero-scroll-screens, 2) * 100vh); }
.hero-scroll-sticky { position: sticky; top: 0; z-index: 3; height: 100vh; min-height: 100vh; border-radius: 0; }
.hero-scroll-sticky .hero-slides { height: 100%; min-height: 100%; }
.hero-scroll-sticky .hero-slide { min-height: 100vh; }
.hero-slides { position: relative; min-height: 470px; }
.hero-slide { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(36px, 5vw, 62px); box-sizing: border-box; opacity: 0; pointer-events: none; transform: translateX(18px); transition: opacity .45s ease, transform .45s ease; }
.hero-slide.is-active { position: relative; z-index: 1; opacity: 1; pointer-events: auto; transform: translateX(0); }
.hero-rotator[data-hero-transition="slide"] .hero-slide { transform: translateX(7%); }
.hero-rotator[data-hero-transition="slide"] .hero-slide.is-active { transform: translateX(0); }
.hero-slide .hero-art { min-height: 320px; }
.hero-slide.hero-media-full, .hero-slide.hero-media-background { grid-template-columns: 1fr; min-height: clamp(470px, 44vw, 620px); padding: 0; align-content: center; }
.hero-slide.hero-media-full .hero-art, .hero-slide.hero-media-background .hero-art { position: absolute; z-index: 1; inset: 0; display: block; width: 100%; height: auto; min-height: 0; }
.hero-slide.hero-media-full .hero-media-frame, .hero-slide.hero-media-background .hero-media-frame { width: 100%; height: 100%; max-width: none; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; }
.hero-slide.hero-media-full .hero-slide-media, .hero-slide.hero-media-background .hero-slide-media { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-slide.hero-media-full .hero-art::after, .hero-slide.hero-media-background .hero-art::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgb(15 23 42 / 62%), rgb(15 23 42 / 14%)); }
.hero-slide.hero-media-full .hero-copy, .hero-slide.hero-media-background .hero-copy { z-index: 2; align-self: center; justify-self: center; width: min(68%, 680px); margin-inline: auto; text-align: center; }
.hero-slide.hero-media-full .hero-lead, .hero-slide.hero-media-background .hero-lead { margin-inline: auto; }
.hero-slide.hero-media-full .hero-actions, .hero-slide.hero-media-background .hero-actions { justify-content: center; }
.hero-slide.hero-media-left-fade, .hero-slide.hero-media-right-fade, .hero-slide.hero-media-left-half, .hero-slide.hero-media-right-half { grid-template-columns: 1fr; min-height: clamp(470px, 44vw, 620px); }
.hero-slide.hero-media-left-fade .hero-art, .hero-slide.hero-media-right-fade .hero-art, .hero-slide.hero-media-left-half .hero-art, .hero-slide.hero-media-right-half .hero-art { position: absolute; z-index: 1; top: 0; bottom: 0; width: 68%; height: auto; min-height: 0; display: block; }
.hero-slide.hero-media-left-fade .hero-art, .hero-slide.hero-media-right-fade .hero-art { width: 60%; }
.hero-slide.hero-media-left-fade .hero-art, .hero-slide.hero-media-left-half .hero-art { left: 0; }
.hero-slide.hero-media-right-fade .hero-art, .hero-slide.hero-media-right-half .hero-art { right: 0; }
.hero-slide.hero-media-left-fade .hero-media-frame { -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 66.666%, transparent 100%); mask-image: linear-gradient(90deg, #000 0%, #000 66.666%, transparent 100%); }
.hero-slide.hero-media-right-fade .hero-media-frame { -webkit-mask-image: linear-gradient(270deg, #000 0%, #000 66.666%, transparent 100%); mask-image: linear-gradient(270deg, #000 0%, #000 66.666%, transparent 100%); }
.hero-slide.hero-media-left-fade .hero-media-frame, .hero-slide.hero-media-right-fade .hero-media-frame { -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.hero-slide.hero-media-left-fade .hero-media-frame, .hero-slide.hero-media-right-fade .hero-media-frame, .hero-slide.hero-media-left-half .hero-media-frame, .hero-slide.hero-media-right-half .hero-media-frame { width: 100%; height: 100%; max-width: none; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; }
.hero-slide.hero-media-left-fade .hero-copy, .hero-slide.hero-media-left-half .hero-copy { z-index: 2; width: min(52%, 600px); justify-self: end; }
.hero-slide.hero-media-right-fade .hero-copy, .hero-slide.hero-media-right-half .hero-copy { z-index: 2; width: min(52%, 600px); justify-self: start; }
.hero-slide.hero-media-left-fade .hero-copy { width: min(33.333%, 600px); justify-self: right; text-align: right; }
.hero-slide.hero-media-right-fade .hero-copy { width: min(33.333%, 600px); justify-self: left; text-align: left; }
.hero-slide.hero-media-left-fade .hero-actions { justify-content: flex-start; }
.hero-slide.hero-media-right-fade .hero-actions { justify-content: flex-end; }
.hero-slide.hero-media-left-half .hero-copy { width: min(33.333%, 600px); justify-self: right; text-align: right; }
.hero-slide.hero-media-right-half .hero-copy { width: min(33.333%, 600px); justify-self: left; text-align: left; }
.hero-slide.hero-media-left-half .hero-actions { justify-content: flex-start; }
.hero-slide.hero-media-right-half .hero-actions { justify-content: flex-end; }
.hero-controls-arrows { position: absolute; inset: 50% 20px auto; z-index: 3; display: flex; justify-content: space-between; transform: translateY(-50%); pointer-events: none; }
.hero-controls-arrows button { display: grid; place-items: center; width: 38px; height: 38px; color: white; border: 1px solid rgb(255 255 255 / 35%); border-radius: 999px; background: rgb(15 23 42 / 30%); cursor: pointer; pointer-events: auto; font-size: 1.7rem; line-height: 1; }
.hero-controls-arrows button:hover { background: rgb(15 23 42 / 60%); }
.hero-dots { position: absolute; right: 50%; bottom: 22px; z-index: 3; display: flex; gap: 7px; transform: translateX(50%); }
.hero-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgb(255 255 255 / 45%); cursor: pointer; transition: width .2s ease, background .2s ease; }
.hero-dots button.is-active { width: 24px; background: var(--theme-accent); }
.hero-progress { position: absolute; right: 0; bottom: 0; left: 0; z-index: 3; height: 3px; overflow: hidden; background: rgb(255 255 255 / 18%); }
.hero-progress span { display: block; height: 100%; background: var(--theme-accent); transition: width .35s ease; }
.hero-slide[aria-hidden="true"] { visibility: hidden; }
.hero-slide[aria-hidden="false"] { visibility: visible; }
.section-stack { display: grid; gap: 16px; margin-top: 22px; }
.content-section { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 140px; padding: 28px 34px; background: rgb(255 255 255 / 70%); border: 1px solid rgb(148 163 184 / 20%); border-radius: var(--theme-radius); }
.theme-night .content-section { background: #18181b; border-color: #27272a; }
.content-section h2 { margin: 8px 0; }
.content-section p { max-width: 680px; margin: 0; color: #64748b; line-height: 2; }
.theme-night .content-section p { color: #a1a1aa; }
.content-section img { width: 190px; max-height: 130px; object-fit: cover; border-radius: calc(var(--theme-radius) - 6px); }
.featured-section { margin-top: 52px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 18px; }
.section-heading h2 { margin: 7px 0 0; font-size: 1.7rem; }
.text-link { color: var(--theme-primary); text-decoration: none; font-weight: 600; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service-grid, .service-mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-page, .booking-shell, .booking-payment { width: min(100%, 1120px); margin: 0 auto; }
.service-page-header { max-width: 720px; margin: 25px 0 30px; }
.service-page-header h1, .booking-shell h1, .booking-payment h1 { margin: 8px 0 12px; font-size: clamp(2rem, 4vw, 3.2rem); }
.service-page-header p, .booking-shell article > p, .booking-payment p { color: #64748b; line-height: 2; }
.service-card, .service-mini-card { overflow: hidden; padding: 20px; background: rgb(255 255 255 / 80%); border: 1px solid rgb(148 163 184 / 22%); border-radius: var(--theme-radius); }
.service-card img { display: block; width: calc(100% + 40px); height: 180px; margin: -20px -20px 18px; object-fit: cover; }
.service-card h2, .service-mini-card h3 { margin: 8px 0; }
.service-card p, .service-mini-card p { color: #64748b; line-height: 1.9; }
.service-card dl, .booking-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 18px 0; }
.service-card dt, .booking-summary dt { color: #64748b; font-size: .78rem; }
.service-card dd, .booking-summary dd { margin: 0; font-weight: 700; }
.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; margin-top: 25px; }
.booking-form { display: grid; gap: 13px; padding: 22px; background: rgb(255 255 255 / 85%); border: 1px solid rgb(148 163 184 / 22%); border-radius: var(--theme-radius); }
.booking-form label { display: grid; gap: 6px; color: #334155; font-size: .82rem; }
.booking-form input, .booking-form textarea { width: 100%; padding: 11px 12px; border: 1px solid rgb(148 163 184 / 35%); border-radius: 10px; background: white; font: inherit; }
.booking-form small { color: #64748b; font-size: .7rem; line-height: 1.7; }
.booking-payment { padding: 48px 0; }
.product-card { overflow: hidden; background: rgb(255 255 255 / 78%); border: 1px solid rgb(148 163 184 / 20%); border-radius: var(--theme-radius); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.theme-night .product-card { background: #18181b; border-color: #27272a; }
.theme-pagirshop .product-card:hover, .theme-ocean .product-card:hover { transform: translateY(-5px); box-shadow: 0 16px 30px rgb(15 23 42 / 10%); border-color: color-mix(in srgb, var(--theme-primary) 40%, transparent); }
.theme-boutique .product-card { border-radius: 8px; background: transparent; border: 0; }
.theme-night .product-card { box-shadow: inset 0 0 0 1px rgb(255 255 255 / 3%); }
.product-card-image { display: grid; place-items: center; aspect-ratio: 1 / .92; overflow: hidden; color: white; background: linear-gradient(135deg, color-mix(in srgb, var(--theme-primary) 80%, white), var(--theme-secondary)); text-decoration: none; }
.product-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .3s ease; }
.product-card-gallery { position: relative; }
.product-card-gallery img { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease, transform .3s ease; }
.product-card-gallery img.is-active { opacity: 1; }
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-card-image span, .product-detail-media span { font-size: 4rem; font-weight: 800; opacity: .7; }
.product-card-body { padding: 15px; }
.product-category, .product-type { margin: 0; color: var(--theme-primary); font-size: .7rem; font-weight: 700; }
.product-card h2, .product-card h3 { margin: 7px 0; font-size: 1rem; }
.product-card h2 a, .product-card h3 a { color: inherit; text-decoration: none; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 17px; font-size: .78rem; }
.product-card-mode-image { position: relative; min-height: 360px; color: white; background: #0f172a; }
.product-card-mode-image .product-card-image { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.product-card-mode-image .product-card-image::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(180deg, transparent, rgb(2 6 23 / 94%)); }
.product-card-mode-image .product-card-image img { filter: blur(1.2px); transform: scale(1.03); }
.product-card-mode-image:hover .product-card-image img { transform: scale(1.08); }
.product-card-mode-image .product-card-body { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: end; height: 360px; padding: 20px; }
.product-card-mode-image .product-card-body h2 a { color: white; }
.product-card-mode-image .product-category { color: var(--theme-accent); }
.product-card-mode-image .product-card-footer { margin-top: 12px; }
.product-media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.product-media-item { overflow: hidden; border: 1px solid var(--saas-line); border-radius: 10px; background: #f8fafc; }
.product-media-item img { display: block; width: 100%; height: 130px; object-fit: cover; }
.product-media-item > div { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 9px; }
.product-media-item small { color: var(--saas-muted); font-size: .7rem; }
.product-media-form { margin-top: 20px; max-width: none; }
.icon-link { display: grid; place-items: center; width: 30px; height: 30px; color: white; background: var(--theme-primary); border-radius: 50%; text-decoration: none; }
.empty-state { grid-column: 1 / -1; display: grid; gap: 7px; padding: 34px; text-align: center; background: rgb(255 255 255 / 60%); border: 1px dashed rgb(148 163 184 / 35%); border-radius: var(--theme-radius); }
.empty-state span { color: #64748b; font-size: .8rem; }
.catalog-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 28px; }
.catalog-toolbar h1 { margin: 8px 0; font-size: 2.2rem; }
.catalog-toolbar p { margin: 0; color: #64748b; }
.search-box { min-width: min(100%, 370px); }
.search-box label { display: block; margin-bottom: 7px; color: #64748b; font-size: .75rem; }
.search-box div { display: flex; gap: 7px; }
.search-box input { min-width: 0; flex: 1; padding: 11px 13px; font: inherit; border: 1px solid rgb(148 163 184 / 40%); border-radius: 11px; background: white; }
.search-box button { padding: 10px 16px; color: white; background: var(--theme-primary); border-radius: 11px; }
.product-detail { display: grid; gap: 20px; }
.back-link { color: #64748b; text-decoration: none; font-size: .78rem; }
.product-detail-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 52px; align-items: start; }
.product-detail-media { display: grid; place-items: center; min-height: 480px; overflow: hidden; color: white; background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary)); border-radius: calc(var(--theme-radius) + 5px); }
.product-detail-media.product-detail-gallery { display: grid; place-items: stretch; gap: 12px; min-height: 0; overflow: visible; color: inherit; background: transparent; border-radius: 0; }
.product-detail-main { position: relative; display: block; width: 100%; min-height: 480px; padding: 0; overflow: hidden; border: 0; border-radius: calc(var(--theme-radius) + 5px); background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary)); cursor: zoom-in; }
.product-detail-main img { display: block; width: 100%; height: 100%; min-height: 480px; object-fit: cover; object-position: center; }
.product-detail-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 8px; }
.product-detail-thumb { display: block; aspect-ratio: 1; padding: 3px; overflow: hidden; border: 2px solid transparent; border-radius: 10px; background: white; cursor: pointer; }
.product-detail-thumb:hover, .product-detail-thumb.is-active { border-color: var(--theme-primary); }
.product-detail-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.product-detail-gallery .product-image-modal { z-index: 30; }
.product-image-modal[hidden] { display: none; }
.product-image-modal { position: fixed; inset: 0; display: grid; place-items: center; width: 100vw; height: 100dvh; padding: 24px; box-sizing: border-box; background: rgb(2 6 23 / 78%); }
.product-image-modal-dialog { position: relative; display: grid; place-items: center; width: min(92vw, 1080px); height: min(88dvh, 860px); min-width: 0; min-height: 0; padding: 20px 64px; box-sizing: border-box; border-radius: 18px; background: rgb(15 23 42 / 94%); box-shadow: 0 25px 80px rgb(2 6 23 / 35%); }
.product-image-modal-dialog > img { display: block; width: auto; height: auto; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; }
.product-image-modal-close, .product-image-modal-nav { position: absolute; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; color: white; border: 1px solid rgb(255 255 255 / 30%); border-radius: 50%; background: rgb(2 6 23 / 45%); cursor: pointer; font: inherit; font-size: 1.7rem; line-height: 1; }
.product-image-modal-close { top: 14px; right: 14px; }
.product-image-modal-prev { right: 14px; top: 50%; transform: translateY(-50%); }
.product-image-modal-next { left: 14px; top: 50%; transform: translateY(-50%); }
.product-image-modal-close:hover, .product-image-modal-nav:hover { background: var(--theme-primary); }
.product-image-modal-open { overflow: hidden; }
.product-detail-copy { padding: 22px 0; }
.product-detail-copy h1 { margin: 10px 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.2; }
.detail-price { margin: 24px 0; color: var(--theme-primary); font-size: 1.8rem; font-weight: 800; }
.detail-price small { color: #64748b; font-size: .75rem; font-weight: 500; }
.variant-list { display: grid; gap: 10px; margin-top: 28px; }
.variant-list h2 { margin: 0 0 4px; font-size: 1.1rem; }
.variant-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 13px 15px; background: rgb(255 255 255 / 75%); border: 1px solid rgb(148 163 184 / 24%); border-radius: 13px; }
.theme-night .variant-row { background: #18181b; border-color: #27272a; }
.variant-row strong, .variant-row small { display: block; }
.variant-row small { margin-top: 4px; color: #64748b; font-size: .7rem; }
.variant-row form { display: flex; align-items: center; gap: 7px; }
.variant-row input { width: 54px; padding: 9px 5px; text-align: center; border: 1px solid #cbd5e1; border-radius: 9px; }
@media (max-width: 900px) { .hero { padding: 40px; } .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .product-detail-grid { grid-template-columns: 1fr; gap: 18px; } .product-detail-media, .product-detail-main, .product-detail-main img { min-height: 360px; } .product-detail-thumb img { min-height: 0; } }
@media (max-width: 650px) { .store-header-inner, .store-main, .store-footer { width: min(100% - 24px, 1120px); } .store-header-inner { min-height: 64px; } .store-nav { display: none; } .store-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 8px; color: inherit; border: 1px solid rgb(148 163 184 / 28%); border-radius: 10px; background: transparent; cursor: pointer; } .store-menu-icon { display: inline-grid; place-items: center; } .store-menu-icon .ui-icon { width: 19px; height: 19px; } .store-mobile-nav { width: min(100% - 24px, 1120px); margin: 0 auto 10px; padding: 8px; border: 1px solid rgb(148 163 184 / 20%); border-radius: 14px; background: rgb(255 255 255 / 94%); box-shadow: 0 10px 30px rgb(15 23 42 / 8%); } .theme-night .store-mobile-nav { background: rgb(24 24 27 / 96%); } .mobile-menu-open .store-mobile-nav { display: grid; gap: 4px; } .store-mobile-nav a { padding: 11px 12px; color: inherit; border-radius: 9px; text-decoration: none; } .store-mobile-nav a:hover { background: rgb(59 130 246 / 9%); } .store-cart-link { width: 36px; height: 36px; } .store-cart-icon .ui-icon { width: 18px; height: 18px; } .hero { grid-template-columns: 1fr; min-height: 0; padding: 30px 22px; border-radius: 18px; } .hero h1 { font-size: 2.3rem; } .hero-art { min-height: 220px; } .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .product-card-body { padding: 11px; } .product-card-mode-image { min-height: 280px; } .product-card-mode-image .product-card-body { height: 280px; padding: 13px; } .catalog-toolbar, .store-footer { display: grid; align-items: start; } .search-box { min-width: 0; } .content-section { padding: 22px; } .content-section img { width: 110px; } .variant-row { align-items: flex-start; flex-direction: column; } .product-detail-main, .product-detail-main img { min-height: 280px; } .product-detail-thumb img { min-height: 0; } .product-image-modal { padding: 10px; } .product-image-modal-dialog { width: min(94vw, 1080px); height: calc(100dvh - 32px); max-height: calc(100dvh - 32px); padding: 48px 44px; } }
@media (max-width: 700px) { .cart-page-heading, .checkout-heading, .payment-heading { align-items: start; flex-direction: column; } .cart-layout, .checkout-layout { grid-template-columns: 1fr; } .cart-summary { position: static; } .cart-item { grid-template-columns: 64px minmax(0, 1fr); } .cart-item-image { width: 64px; height: 64px; } .cart-item-actions { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; justify-items: start; min-width: 0; } .cart-item-total { grid-column: 2; grid-row: 1; justify-self: end; } .invoice-card { padding: 16px; } .invoice-meta dl { grid-template-columns: 1fr; gap: 4px; } .invoice-meta dd { margin-bottom: 8px; } }

.preview-ribbon { width: min(100% - 32px, 1120px); margin: 16px auto -4px; padding: 10px 14px; color: #854d0e; border: 1px solid #fde68a; border-radius: 12px; background: #fefce8; text-align: center; font-size: .78rem; }
.store-app-embeds { display: grid; gap: 9px; width: min(100% - 32px, 1120px); margin: 14px auto 0; }
.store-app-embed { border: 1px solid rgb(148 163 184 / 22%); border-radius: 12px; background: rgb(255 255 255 / 80%); }
.store-app-embed-announcement { padding: 10px 14px; color: var(--theme-secondary); background: color-mix(in srgb, var(--theme-accent) 18%, white); text-align: center; font-size: .8rem; }
.store-app-embed-search { display: grid; gap: 6px; padding: 11px 13px; }
.store-app-embed-search label { color: var(--theme-secondary); font-size: .75rem; font-weight: 700; }
.store-app-embed-search div { display: flex; gap: 7px; }
.store-app-embed-search input { min-width: 0; flex: 1; padding: 9px 11px; border: 1px solid rgb(148 163 184 / 35%); border-radius: 9px; background: white; font: inherit; }
.store-app-embed-search button { padding: 8px 14px; color: white; border: 0; border-radius: 9px; background: var(--theme-primary); cursor: pointer; font: inherit; }
.store-app-embed-trust { display: flex; align-items: center; gap: 8px; padding: 9px 12px; color: var(--theme-secondary); font-size: .75rem; }
.store-app-embed-trust span { display: grid; place-items: center; width: 23px; height: 23px; color: white; border-radius: 50%; background: var(--theme-primary); font-weight: 800; }
.store-app-embed-trust small { color: var(--theme-muted); }
.content-page-header { margin: 28px 0; }
.content-page-header h1 { margin: 10px 0; font-size: clamp(2rem, 5vw, 3.8rem); }
.public-section-stack { display: grid; gap: 18px; margin-top: 24px; }
.public-section { position: relative; overflow: hidden; background: var(--section-bg, rgb(255 255 255 / 74%)); }
.public-section.layout-centered { justify-content: center; text-align: center; }
.public-section.layout-centered .public-section-copy { max-width: 760px; }
.public-section.layout-split { min-height: 250px; }
.public-section.layout-editorial { background: linear-gradient(120deg, color-mix(in srgb, var(--theme-secondary) 94%, white), color-mix(in srgb, var(--theme-primary) 60%, var(--theme-secondary))); color: white; }
.public-section.layout-editorial .section-body, .public-section.layout-editorial .muted { color: rgb(255 255 255 / 72%); }
.public-section.layout-dark { color: white; background: var(--theme-secondary); }
.public-section.layout-dark .section-body, .public-section.layout-dark .muted { color: rgb(255 255 255 / 72%); }
.public-section.layout-soft { box-shadow: 0 18px 45px rgb(15 23 42 / 6%); }
.public-section-copy { flex: 1; min-width: 0; }
.public-section.width-compact { max-width: 860px; margin-right: auto; margin-left: auto; }
.public-section.width-full { border-radius: 0; }
.public-section.mobile-stack { min-height: 220px; }
.public-section.mobile-compact { padding-top: 18px; padding-bottom: 18px; }
.public-section.hide-mobile { }
.public-section.section-image .section-media { width: 100%; }
.public-section.section-image .section-media img { width: 100%; max-height: 520px; object-fit: cover; }
.public-section-copy h2 { margin: 8px 0 12px; font-size: clamp(1.35rem, 3vw, 2rem); }
.preview-edit-trigger { display: inline-flex; margin-top: 12px; padding: 7px 10px; color: var(--theme-primary); border: 1px dashed color-mix(in srgb, var(--theme-primary) 55%, white); border-radius: 8px; background: rgb(255 255 255 / 42%); text-decoration: none; font-size: .75rem; }
.preview-edit-trigger:hover { background: rgb(255 255 255 / 72%); }
.builder-preview-focus { outline: 3px solid var(--theme-accent); outline-offset: 5px; transition: outline .2s ease; }
@media (max-width: 900px) { .service-grid, .service-mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 650px) { .service-grid, .service-mini-grid, .booking-grid { grid-template-columns: 1fr; } }
.section-body { color: #64748b; line-height: 2; }
.layout-editorial .section-body, .layout-dark .section-body { color: rgb(255 255 255 / 76%); }
.section-media { flex: 0 0 min(38%, 360px); order: 2; }
.section-media img, .section-media video { display: block; width: 100%; max-height: 250px; object-fit: cover; border-radius: calc(var(--theme-radius) - 7px); }
.category-mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 9px; margin-top: 18px; }
.category-mini-grid a { display: flex; justify-content: space-between; padding: 11px 13px; color: var(--theme-primary); border: 1px solid color-mix(in srgb, var(--theme-primary) 20%, transparent); border-radius: 10px; background: rgb(255 255 255 / 62%); text-decoration: none; font-size: .8rem; }
.category-mini-grid a:hover { border-color: var(--theme-primary); transform: translateY(-2px); }
.page-featured-products { margin-bottom: 40px; }
.theme-night .public-section { border-color: #27272a; background: var(--section-bg, #18181b); }
@media (max-width: 980px) { .public-section.tablet-stack { display: grid; grid-template-columns: 1fr; } }
@media (max-width: 650px) { .public-section { display: grid; gap: 18px; } .section-media { order: 0; flex-basis: auto; } .public-section.mobile-media-bottom .section-media { order: 2; } .section-media img, .section-media video { max-height: 190px; } .public-section.hide-mobile { display: none; } }

/* Shared Studio document primitives.  The same classes are loaded by the
   private iframe and the public storefront renderer. */
.studio-page-schema { display: grid; gap: 18px; }
.studio-node { position: relative; min-width: 0; }
.studio-node-hero, .studio-node-product-grid, .studio-node-category-grid, .studio-node-cta { padding: 0; }
.studio-node-hero > .hero, .studio-node-cta { margin-inline: auto; width: min(100% - 32px, 1120px); }
.studio-node-heading, .studio-node-text, .studio-node-rich-text, .studio-node-image, .studio-node-video, .studio-node-button, .studio-node-divider, .studio-node-spacer, .studio-node-announcement { width: min(100% - 32px, 1120px); margin-inline: auto; }
.studio-node-container { width: min(100% - 32px, 1120px); margin-inline: auto; }
.studio-node-columns, .studio-node-grid, .studio-node-stack, .studio-node-flex { width: min(100% - 32px, 1120px); margin-inline: auto; }
.studio-node-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.studio-node-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.studio-node-stack { display: flex; flex-direction: column; gap: 18px; }
.studio-node-flex { display: flex; flex-wrap: wrap; gap: 18px; }
.studio-node-columns > .studio-node, .studio-node-grid > .studio-node, .studio-node-stack > .studio-node, .studio-node-flex > .studio-node { width: auto; margin-inline: 0; }
.studio-node-heading h2 { margin: 0; font-size: clamp(1.35rem, 3vw, 2.3rem); }
.studio-node-rich-text .rich-text-content { overflow-wrap: anywhere; line-height: 2; white-space: pre-line; }
.studio-node-rich-text .rich-text-content > :first-child { margin-top: 0; }
.studio-node-rich-text .rich-text-content > :last-child { margin-bottom: 0; }
.studio-node-rich-text .rich-text-content h1, .studio-node-rich-text .rich-text-content h2, .studio-node-rich-text .rich-text-content h3, .studio-node-rich-text .rich-text-content h4 { color: inherit; line-height: 1.35; }
.studio-node-rich-text .rich-text-content blockquote { margin: 16px 0; padding: 10px 16px; border-inline-start: 3px solid var(--theme-accent); color: #64748b; }
.studio-node-rich-text .rich-text-content ul, .studio-node-rich-text .rich-text-content ol { padding-inline-start: 28px; }
.studio-node-rich-text .rich-text-content a { color: var(--theme-primary); text-decoration: underline; text-underline-offset: 3px; }
.rich-text-align-right { text-align: right; }
.rich-text-align-center { text-align: center; }
.rich-text-align-left { text-align: left; }
.rich-text-align-justify { text-align: justify; }
.studio-node-image .section-media, .studio-node-video .section-media { width: 100%; }
.studio-node-image img, .studio-node-video video { display: block; width: 100%; max-height: 540px; object-fit: cover; border-radius: var(--theme-radius); }
.studio-node-image.image-frame-landscape .section-media { aspect-ratio: 4 / 3; }
.studio-node-image.image-frame-portrait .section-media { aspect-ratio: 3 / 4; }
.studio-node-image.image-frame-square .section-media { aspect-ratio: 1 / 1; }
.studio-node-image.image-frame-landscape .section-media img, .studio-node-image.image-frame-portrait .section-media img, .studio-node-image.image-frame-square .section-media img { height: 100%; max-height: none; object-fit: cover; }
@media (min-width: 651px) { .studio-node-image.image-position-full { width: min(100% - 32px, 1120px); margin-inline: auto; } .studio-node-image.image-position-left-half { width: calc(50% - 16px); margin-right: auto; margin-left: 0; } .studio-node-image.image-position-center { width: min(75%, 840px); margin-inline: auto; } .studio-node-image.image-position-right-half { width: calc(50% - 16px); margin-right: 0; margin-left: auto; } }
.studio-node-cta { padding: 38px; color: white; border-radius: var(--theme-radius); background: var(--theme-secondary); }
.studio-node-product-grid, .studio-node-category-grid { padding: 28px 0; }
.studio-node-divider hr { border: 0; border-top: 1px solid rgb(148 163 184 / 35%); }
.studio-node-announcement { padding: 10px 16px; color: white; border-radius: 10px; background: var(--theme-primary); text-align: center; }
.studio-editor-selected { outline: 2px solid var(--theme-accent) !important; outline-offset: 5px; box-shadow: 0 0 0 6px rgb(56 189 248 / 16%); }
body.storefront:has(.studio-page-schema) .preview-edit-trigger { pointer-events: auto; }
@media (max-width: 900px) { .studio-node-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 650px) { .studio-node-hero > .hero, .studio-node-cta, .studio-node-heading, .studio-node-text, .studio-node-rich-text, .studio-node-image, .studio-node-video, .studio-node-button, .studio-node-divider, .studio-node-spacer, .studio-node-announcement, .studio-node-container, .studio-node-columns, .studio-node-grid, .studio-node-stack, .studio-node-flex { width: min(100% - 24px, 1120px); } .studio-node-image.image-position-left-half, .studio-node-image.image-position-center, .studio-node-image.image-position-right-half { margin-inline: auto; } .studio-node-columns, .studio-node-grid { grid-template-columns: 1fr; } .studio-node-flex { flex-direction: column; } .studio-node-cta { padding: 24px; } }
@media (max-width: 650px) { .hero-rotator { min-height: 610px; padding: 0; } .hero-rotator .hero-slides { min-height: 610px; } .hero-rotator .hero-slide { grid-template-columns: 1fr; gap: 22px; align-content: center; padding: 30px 22px 52px; } .hero-rotator .hero-slide .hero-art { min-height: 190px; } .hero-rotator .hero-media-frame, .hero-rotator .hero-placeholder { width: min(100%, 420px); aspect-ratio: 4 / 3; border-radius: 20px; } .hero-rotator .hero-slide.hero-media-full, .hero-rotator .hero-slide.hero-media-background { padding: 0; } .hero-rotator .hero-slide.hero-media-left-fade, .hero-rotator .hero-slide.hero-media-right-fade, .hero-rotator .hero-slide.hero-media-left-half, .hero-rotator .hero-slide.hero-media-right-half { padding: 30px 22px 52px; } .hero-rotator .hero-slide.hero-media-full .hero-art, .hero-rotator .hero-slide.hero-media-background .hero-art, .hero-rotator .hero-slide.hero-media-left-fade .hero-art, .hero-rotator .hero-slide.hero-media-right-fade .hero-art, .hero-rotator .hero-slide.hero-media-left-half .hero-art, .hero-rotator .hero-slide.hero-media-right-half .hero-art { width: 100%; min-height: 0; opacity: 1; } .hero-rotator .hero-slide.hero-media-full .hero-media-frame, .hero-rotator .hero-slide.hero-media-background .hero-media-frame, .hero-rotator .hero-slide.hero-media-left-fade .hero-media-frame, .hero-rotator .hero-slide.hero-media-right-fade .hero-media-frame, .hero-rotator .hero-slide.hero-media-left-half .hero-media-frame, .hero-rotator .hero-slide.hero-media-right-half .hero-media-frame { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; } .hero-rotator .hero-slide.hero-media-full .hero-copy, .hero-rotator .hero-slide.hero-media-background .hero-copy, .hero-rotator .hero-slide.hero-media-left-fade .hero-copy, .hero-rotator .hero-slide.hero-media-right-fade .hero-copy, .hero-rotator .hero-slide.hero-media-left-half .hero-copy, .hero-rotator .hero-slide.hero-media-right-half .hero-copy { width: 100%; margin: 0; } .hero-controls-arrows { right: 12px; left: 12px; } .hero-controls-arrows button { width: 34px; height: 34px; } .hero-dots { bottom: 17px; } }
@media (max-width: 650px) { .hero-rotator .hero-slide.hero-media-full, .hero-rotator .hero-slide.hero-media-background { height: 100%; min-height: 100%; padding: 0; } .hero-rotator .hero-slide.hero-media-full .hero-art, .hero-rotator .hero-slide.hero-media-background .hero-art { inset: 0; width: 100%; height: 100%; min-height: 100%; opacity: 1; } .hero-rotator .hero-slide.hero-media-full .hero-media-frame, .hero-rotator .hero-slide.hero-media-background .hero-media-frame { width: 100%; height: 100%; } }
@media (max-width: 650px) { .hero-rotator:not(.hero-scroll-sticky) .hero-slides { height: 610px; } .hero-rotator:not(.hero-scroll-sticky) .hero-slide.hero-media-full.is-active, .hero-rotator:not(.hero-scroll-sticky) .hero-slide.hero-media-background.is-active { position: absolute; inset: 0; height: 100%; min-height: 0; } }
@media (max-width: 650px) { .hero-scroll-sticky { height: 100svh; min-height: 100svh; } .hero-scroll-sticky .hero-slides { height: 100%; min-height: 100%; } .hero-scroll-sticky .hero-slide { min-height: 100svh; } }
.store-order-status-link { width: min(100% - 32px, 1120px); margin: 10px auto 0; text-align: end; }
.store-order-status-link a { color: var(--theme-primary); font-size: .86rem; font-weight: 700; text-decoration: none; }
.order-status-callout { margin: -8px 0 18px; }
.order-status-page { display: grid; gap: 24px; max-width: 1120px; margin: 0 auto; }
.order-status-lookup { width: min(100%, 560px); }
.order-status-heading { padding: 26px; border: 1px solid rgb(148 163 184 / 22%); border-radius: 18px; background: rgb(255 255 255 / 78%); }
.theme-night .order-status-heading, .theme-night .order-status-history { background: #18181b; border-color: #27272a; }
.order-status-heading h1 { margin: 4px 0 8px; }
.order-status-heading p { margin: 0; color: var(--theme-muted); }
.order-status-form { display: grid; gap: 10px; padding: 22px; border: 1px solid rgb(148 163 184 / 22%); border-radius: 18px; background: rgb(255 255 255 / 82%); }
.theme-night .order-status-form { background: #18181b; border-color: #27272a; }
.order-status-form label { font-weight: 700; }
.order-status-form input { width: 100%; padding: 12px 14px; border: 1px solid rgb(148 163 184 / 35%); border-radius: 10px; background: transparent; color: inherit; }
.order-status-form button { margin-top: 8px; }
.order-status-steps { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.order-status-step { display: grid; justify-items: center; gap: 8px; min-width: 0; color: var(--theme-muted); text-align: center; }
.order-status-step strong { font-size: .78rem; line-height: 1.5; }
.order-status-step-marker { display: grid; place-items: center; width: 32px; height: 32px; border: 2px solid rgb(148 163 184 / 32%); border-radius: 999px; font-weight: 800; }
.order-status-step-complete, .order-status-step-current { color: var(--theme-primary); }
.order-status-step-complete .order-status-step-marker, .order-status-step-current .order-status-step-marker { border-color: var(--theme-primary); background: color-mix(in srgb, var(--theme-primary) 14%, transparent); }
.order-status-step-current strong { color: var(--theme-text); }
.order-status-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 22px; align-items: start; }
.order-status-history { padding: 22px; border: 1px solid rgb(148 163 184 / 22%); border-radius: 18px; background: rgb(255 255 255 / 82%); }
.order-status-history h2 { margin-top: 0; }
.order-status-history ol { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.order-status-history li { display: grid; gap: 3px; padding-inline-start: 14px; border-inline-start: 3px solid var(--theme-accent); }
.order-status-history small, .order-status-history span { color: var(--theme-muted); }
.customer-orders-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.customer-order-list { display: grid; gap: 14px; }
.customer-order-card { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 18px; padding: 20px; border: 1px solid rgb(148 163 184 / 22%); border-radius: 18px; background: rgb(255 255 255 / 82%); }
.theme-night .customer-order-card { background: #18181b; border-color: #27272a; }
.customer-order-card h2 { margin: 3px 0 2px; font-size: 1.05rem; }
.customer-order-card small { color: var(--theme-muted); }
.customer-order-card > div:nth-child(2) { display: grid; justify-items: end; gap: 8px; }
.customer-order-card > div:nth-child(2) strong { white-space: nowrap; }
.notification-center { display: grid; gap: 22px; max-width: 920px; margin: 0 auto; }
.notification-center-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 26px; border: 1px solid rgb(148 163 184 / 22%); border-radius: 18px; background: rgb(255 255 255 / 82%); }
.theme-night .notification-center-heading, .theme-night .notification-card { background: #18181b; border-color: #27272a; }
.notification-center-heading h1 { margin: 4px 0 8px; }
.notification-center-heading p { margin: 0; color: var(--theme-muted); }
.notification-center-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.notification-unread-summary { color: var(--theme-primary); font-size: .85rem; font-weight: 800; }
.notification-list { display: grid; gap: 12px; }
.notification-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 19px; border: 1px solid rgb(148 163 184 / 20%); border-radius: 16px; background: rgb(255 255 255 / 82%); box-shadow: 0 8px 24px rgb(15 23 42 / 4%); }
.notification-card.is-unread { border-color: color-mix(in srgb, var(--theme-primary) 35%, rgb(148 163 184 / 20%)); box-shadow: 0 12px 28px color-mix(in srgb, var(--theme-primary) 9%, transparent); }
.notification-card-icon { display: grid; place-items: center; width: 38px; height: 38px; color: var(--theme-primary); border-radius: 12px; background: color-mix(in srgb, var(--theme-primary) 11%, transparent); font-size: 1.1rem; font-weight: 900; }
.notification-card-content { min-width: 0; }
.notification-card-meta, .notification-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.notification-card-meta { color: var(--theme-muted); font-size: .78rem; }
.notification-card h2 { margin: 7px 0 5px; font-size: 1rem; }
.notification-card p { margin: 0; color: var(--theme-muted); line-height: 1.8; }
.notification-card-actions { justify-content: flex-start; margin-top: 14px; }
.notification-read-button { padding: 0; color: var(--theme-primary); border: 0; background: transparent; cursor: pointer; font: inherit; font-size: .82rem; }
.notification-read-label { color: var(--theme-muted); font-size: .8rem; }
.notification-login-callout { display: grid; gap: 10px; padding: 24px; border: 1px solid color-mix(in srgb, var(--theme-primary) 20%, transparent); border-radius: 18px; background: color-mix(in srgb, var(--theme-primary) 6%, white); }
.notification-login-callout span { color: var(--theme-muted); }
.notification-login-callout .button { justify-self: start; margin-top: 5px; }
.notification-empty-state { display: grid; gap: 8px; }
.notification-pagination { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--theme-muted); }
@media (max-width: 700px) { .notification-center-heading { align-items: stretch; flex-direction: column; padding: 19px; } .notification-center-actions { justify-content: flex-start; } .notification-card { padding: 15px; } }
.order-status-resend { text-align: center; }
.order-status-resend button { border: 0; background: transparent; cursor: pointer; }
.order-status-mock-otp { display: grid; gap: 5px; margin: 4px 0 8px; padding: 12px 14px; color: #854d0e; border: 1px dashed #f59e0b; border-radius: 12px; background: #fffbeb; text-align: center; }
.order-status-mock-otp strong { color: #b45309; font-size: 1.35rem; letter-spacing: .18em; }
.order-status-mock-otp small { color: #92400e; font-size: .72rem; }
.theme-night .order-status-mock-otp { color: #fde68a; border-color: #d97706; background: #451a03; }
.theme-night .order-status-mock-otp strong, .theme-night .order-status-mock-otp small { color: #fcd34d; }
@media (max-width: 700px) { .store-order-status-link { width: min(100% - 24px, 1120px); } .order-status-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .order-status-grid { grid-template-columns: 1fr; } .order-status-heading, .order-status-form, .order-status-history { padding: 18px; } }
@media (max-width: 700px) { .customer-orders-toolbar { align-items: flex-start; flex-direction: column; } .customer-order-card { grid-template-columns: 1fr auto; gap: 12px; } .customer-order-card > div:nth-child(2) { justify-items: end; } .customer-order-card > a { grid-column: 1 / -1; } }
