:root {
    --bg: #fbf7ef;
    --paper: rgba(255, 255, 255, 0.82);
    --text: #261c16;
    --muted: #7c6a5c;
    --accent: #2f8ca3;
    --accent-dark: #12465a;
    --line: rgba(72, 42, 24, 0.18);
    --shadow: 0 24px 70px rgba(65, 37, 22, 0.15);
    --radius: 24px;
    --site-background: url("/uploads/20260624-184032-50d439fc.webp");
    --site-background-position: center 22%;
    --admin-bar-offset: 0px;
    --site-text-shadow:
        0 0 2px #000,
        0 0 4px #000,
        1px 0 2px #000,
        -1px 0 2px #000,
        0 1px 2px #000,
        0 -1px 2px #000,
        1px 1px 2px #000,
        -1px 1px 2px #000,
        1px -1px 2px #000,
        -1px -1px 2px #000,
        0 3px 8px rgba(0, 0, 0, 1),
        0 8px 20px rgba(0, 0, 0, 0.96);
}

* { box-sizing: border-box; }

html {
    min-height: 100%;
    background-color: #000;
    background-image: none !important;
    overflow-x: hidden;
}

body {
    position: relative;
    isolation: isolate;
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background-color: #000;
    background-image: var(--site-background);
    background-position: var(--site-background-position);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    text-shadow: var(--site-text-shadow);
    overflow-x: hidden;
}

html[data-text-shadow="off"] {
    --site-text-shadow: none;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    width: 100vw;
    height: 100vh;
    height: 100lvh;
    background-color: #000;
    background-image: var(--site-background);
    background-position: var(--site-background-position);
    background-size: cover;
    background-repeat: no-repeat;
    transform: translateZ(0);
    backface-visibility: hidden;
    pointer-events: none;
}

a { color: inherit; text-decoration: none; }

main {
    position: relative;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
    align-items: center;
    gap: 24px;
    padding: 16px clamp(18px, 5vw, 72px);
    color: #fff;
    background: rgba(18, 12, 8, 0.12);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: var(--site-text-shadow);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-self: start;
}

.brand-logo {
    display: block;
    width: 68px;
    min-width: 68px;
    max-width: 68px;
    height: 68px;
    min-height: 68px;
    max-height: 68px;
    object-fit: contain;
    background: transparent;
    border: 0;
    box-shadow: none;
    flex: 0 0 68px;
    opacity: 1;
    transform: none;
    transition: none;
    contain: layout paint;
}

.brand strong,
.brand small { display: block; }

.site-header .brand strong {
    font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive;
    font-size: clamp(28px, 3.2vw, 44px);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: 0.015em;
}

.brand small {
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: clamp(10px, 2vw, 24px);
    flex-wrap: wrap;
    font-weight: 700;
}

.main-nav a {
    color: #fff;
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 7%;
    right: 7%;
    bottom: -5px;
    height: 2px;
    border-radius: 999px;
    background: rgba(232, 187, 111, 0.68);
    box-shadow: 0 1px 0 rgba(18, 7, 2, 0.92);
    transform: scaleX(0.72);
    opacity: 0.78;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.main-nav a:hover::after {
    transform: scaleX(1);
    opacity: 1;
}

.cart-link span {
    display: none;
    place-items: center;
    min-width: 24px;
    height: 24px;
    margin-left: 4px;
    border-radius: 999px;
    color: #fff;
    background: rgba(47, 140, 163, 0.96);
    font-size: 12px;
}

.cart-link.has-items span {
    display: inline-grid;
}

.hero,
.page-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: clamp(28px, 6vw, 80px);
    align-items: center;
    min-height: calc(100vh - 82px);
    padding: 72px 0;
}

.hero h1,
.section-heading h1,
.section-heading h2,
.split h2 {
    margin: 0;
    font-size: clamp(36px, 7vw, 76px);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.hero h1 {
    color: #fff !important;
    font-size: clamp(24px, 3vw, 42px);
    line-height: 1.12;
    letter-spacing: -0.025em;
    text-shadow: var(--site-text-shadow) !important;
}

.section-heading h1,
.section-heading h2,
.split h2 { font-size: clamp(30px, 5vw, 54px); }

.hero p,
.section-heading p,
.split p,
.story-box p,
.info-panel p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    line-height: 1.7;
    text-shadow: var(--site-text-shadow) !important;
}

.eyebrow {
    margin: 0 0 12px;
    color: #cfe6ff !important;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 13px !important;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid rgba(162, 222, 232, 0.34);
    border-radius: 999px;
    background: rgba(238, 250, 252, 0.9);
    color: var(--accent-dark);
    font-weight: 900;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    border-color: rgba(175, 238, 247, 0.68);
    box-shadow: 0 12px 30px rgba(18, 70, 90, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.btn.primary {
    color: #fff;
    border-color: rgba(176, 237, 247, 0.42);
    background: linear-gradient(135deg, #2f8ca3, #12465a);
    box-shadow: 0 16px 36px rgba(11, 54, 70, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn.ghost { background: rgba(235, 250, 252, 0.7); }
.hero-actions [data-text="hero.secondaryButton"] { display: none !important; }
.btn.small { min-height: 38px; padding: 0 14px; }
.btn.full { width: 100%; margin-top: 12px; }

.hero-card,
.info-panel,
.story-box,
.product-card,
.cart-summary,
.checkout-form,
.faq-list details,
.legal-card,
.cart-item,
.payment-box {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.hero-card,
.info-panel,
.story-box,
.cart-summary,
.checkout-form,
.faq-list details,
.legal-card,
.cart-item,
.payment-box {
    border-color: rgba(126, 163, 205, 0.36);
    background:
        linear-gradient(160deg, rgba(19, 32, 48, 0.64), rgba(7, 13, 24, 0.52)),
        rgba(16, 31, 48, 0.4);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(184, 211, 255, 0.14);
    color: #eef6ff;
    backdrop-filter: blur(8px);
}

.hero-card {
    position: relative;
    padding: 26px;
    overflow: hidden;
}

.hero-card[data-product-url] {
    cursor: pointer;
    border-color: rgba(126, 163, 205, 0.36);
    background:
        linear-gradient(160deg, rgba(19, 32, 48, 0.66), rgba(7, 13, 24, 0.54)),
        rgba(16, 31, 48, 0.42);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(184, 211, 255, 0.14);
    color: #eef6ff;
    backdrop-filter: blur(8px);
}

.hero-card.featured-slide-out {
    animation: featuredSlideOut 0.26s ease forwards;
}

.hero-card.featured-slide-in {
    animation: featuredSlideIn 0.46s ease forwards;
}

@keyframes featuredSlideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(34px);
    }
}

@keyframes featuredSlideIn {
    from {
        opacity: 0;
        transform: translateX(-34px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.product-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    color: var(--accent-dark);
    font-weight: 900;
}

.mock-product,
.product-image {
    min-height: 260px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.75), transparent 28%),
        linear-gradient(135deg, #d9a36e, #7c4328);
}

.mock-product.has-photo,
.product-image.has-photo {
    background-size: cover;
    background-position: center;
    background-image: none;
    overflow: hidden;
}

.product-gallery-track {
    position: absolute;
    inset: 0;
    display: flex;
    transition: transform 0.28s ease;
}

.product-gallery-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.product-gallery-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(20, 10, 5, 0.68);
    font-size: 0;
    font-weight: 900;
    line-height: 0;
    transform: translateY(-50%);
    cursor: pointer;
}

.product-gallery-arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 15px;
    border-top: 4px solid currentColor;
    border-right: 4px solid currentColor;
    box-sizing: border-box;
}

.product-gallery-arrow.left::before { transform: translate(-50%, -50%) rotate(225deg); }
.product-gallery-arrow.right::before { transform: translate(-50%, -50%) rotate(45deg); }
.product-gallery-arrow.left { left: 12px; }
.product-gallery-arrow.right { right: 12px; }
.product-gallery-arrow[hidden] { display: none; }
.product-gallery-arrow:disabled,
.product-gallery-arrow.is-disabled {
    color: rgba(255, 255, 255, 0.55);
    background: rgba(110, 110, 110, 0.62);
    box-shadow: none;
    cursor: default;
}

.hero-card h2 { margin: 22px 0 6px; }

.section {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 58px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.product-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-color: rgba(154, 221, 232, 0.34);
    background:
        radial-gradient(circle at 18% 0%, rgba(116, 211, 223, 0.2), transparent 38%),
        linear-gradient(145deg, rgba(11, 39, 51, 0.72), rgba(5, 17, 26, 0.58)),
        rgba(13, 38, 51, 0.42);
    box-shadow: 0 26px 76px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(208, 247, 250, 0.18), inset 0 -1px 0 rgba(95, 179, 190, 0.1);
    color: #eef6ff;
    backdrop-filter: blur(8px);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.product-card::before,
.product-detail-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.08) 36%, transparent 62%),
        radial-gradient(circle at 82% 14%, rgba(192, 244, 247, 0.18), transparent 28%);
    opacity: 0.75;
}

.product-card::after,
.product-detail-card::after {
    content: "";
    position: absolute;
    inset: 11px;
    border: 1px solid rgba(184, 232, 239, 0.16);
    border-radius: calc(var(--radius) - 8px);
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(179, 244, 247, 0.72);
    box-shadow: 0 34px 92px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(179, 244, 247, 0.18) inset, 0 0 34px rgba(47, 140, 163, 0.2);
}

.custom-element.product-card:not(.admin-layout-moved):hover,
.custom-element:not(.admin-layout-moved):hover,
.custom-element-window:not(.admin-layout-moved):hover {
    transform: translateX(-50%);
}

.product-image {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    min-height: 220px;
    border-radius: 0;
    padding: 16px;
    border-bottom: 1px solid rgba(154, 221, 232, 0.24);
    filter: saturate(0.96) contrast(1.04);
}

.product-image span {
    position: relative;
    z-index: 2;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(8, 15, 26, 0.56);
    color: #d9ecff;
    font-size: 12px;
    font-weight: 900;
    border: 1px solid rgba(184, 211, 255, 0.3);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
}

.img-candle { background: linear-gradient(135deg, #f4dfbc, #a36a40); }
.img-jewelry { background: linear-gradient(135deg, #efe7ff, #8e6f9f); }
.img-gift { background: linear-gradient(135deg, #ffe6dc, #ad553c); }

.product-body {
    display: grid;
    gap: 10px;
    padding: 22px;
}

.product-body h3,
.featured-product-body h2 {
    margin: 0;
    color: #e4f1ff;
    font-size: 22px;
    line-height: 1.15;
    text-shadow: var(--site-text-shadow);
}

.product-body p {
    margin: 0;
    color: rgba(236, 246, 255, 0.82);
    line-height: 1.58;
}

.product-detail-card {
    position: relative;
    overflow: hidden;
    display: grid;
    width: min(1040px, 100%);
    margin: 0 auto;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.82fr);
    gap: clamp(18px, 4vw, 34px);
    align-items: stretch;
    padding: clamp(16px, 2.5vw, 28px);
    border: 1px solid rgba(154, 221, 232, 0.44);
    border-radius: 30px;
    background:
        radial-gradient(circle at 16% 8%, rgba(116, 211, 223, 0.22), transparent 36%),
        linear-gradient(145deg, rgba(11, 39, 51, 0.75), rgba(5, 17, 26, 0.6)),
        rgba(13, 38, 51, 0.48);
    box-shadow: 0 38px 104px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(208, 247, 250, 0.18), 0 0 46px rgba(47, 140, 163, 0.14);
    color: #eef6ff;
    backdrop-filter: blur(10px);
}

.product-image-detail {
    position: relative;
    z-index: 1;
    min-height: clamp(300px, 45vw, 500px);
    border: 1px solid rgba(154, 221, 232, 0.28);
    border-radius: 24px;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.product-image-detail .product-gallery-slide {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.product-lightbox {
    position: fixed;
    z-index: 1200;
    inset: 0;
    display: grid;
    place-items: center;
    padding: clamp(14px, 3vw, 36px);
    background: rgba(0, 0, 0, 0);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease, background 0.28s ease;
}

.product-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.72);
}

.product-lightbox-frame {
    position: relative;
    display: grid;
    place-items: center;
    width: min(1120px, 100%);
    height: min(78vh, 760px);
    border: 1px solid rgba(154, 221, 232, 0.36);
    border-radius: 26px;
    background: rgba(4, 12, 18, 0.9);
    box-shadow: 0 42px 120px rgba(0, 0, 0, 0.62);
    transform: scale(0.96);
    transition: transform 0.28s ease;
    overflow: hidden;
}

.product-lightbox.is-open .product-lightbox-frame {
    transform: scale(1);
}

.product-lightbox-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-lightbox-close,
.product-lightbox-arrow {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(0, 0, 0, 0.62);
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
}

.product-lightbox-close {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    font-size: 28px;
    line-height: 1;
}

.product-lightbox-arrow {
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    font-size: 0;
    line-height: 0;
    transform: translateY(-50%);
}

.product-lightbox-arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 17px;
    height: 17px;
    border-top: 4px solid currentColor;
    border-right: 4px solid currentColor;
    box-sizing: border-box;
}

.product-lightbox-arrow.left::before { transform: translate(-50%, -50%) rotate(225deg); }
.product-lightbox-arrow.right::before { transform: translate(-50%, -50%) rotate(45deg); }
.product-lightbox-arrow.left { left: 16px; }
.product-lightbox-arrow.right { right: 16px; }
.product-lightbox-arrow[hidden] { display: none; }
.product-lightbox-arrow.is-disabled {
    color: rgba(255, 255, 255, 0.55);
    background: rgba(110, 110, 110, 0.62);
    box-shadow: none;
    cursor: default;
}

@media (max-width: 700px) {
    .product-lightbox {
        padding: 10px;
    }

    .product-lightbox-frame {
        height: min(72vh, 620px);
        border-radius: 18px;
    }

    .product-lightbox-arrow {
        width: 48px;
        height: 48px;
    }

    .product-lightbox-arrow::before {
        width: 15px;
        height: 15px;
    }

    .product-lightbox-arrow.left { left: 8px; }
    .product-lightbox-arrow.right { right: 8px; }

    .product-lightbox-close {
        top: 8px;
        right: 8px;
        width: 38px;
        height: 38px;
    }
}

.product-detail-info {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: center;
    gap: 16px;
    padding: clamp(6px, 1.5vw, 12px);
}

.product-detail-info h1 {
    margin: 0;
    color: #e4f1ff;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 0.98;
    letter-spacing: -0.04em;
    text-shadow: var(--site-text-shadow);
}

.product-detail-info p {
    margin: 0;
    color: rgba(236, 246, 255, 0.84);
    font-size: 15px;
    line-height: 1.55;
}

.product-detail-info .product-detail-short {
    font-size: 14px;
    line-height: 1.5;
}

.product-detail-info .eyebrow {
    width: fit-content;
    padding: 8px 12px;
    border: 1px solid rgba(184, 211, 255, 0.3);
    border-radius: 999px;
    background: rgba(8, 15, 26, 0.56);
    color: #d9ecff;
    letter-spacing: 0.14em;
}

.text-link {
    width: fit-content;
    color: #d9ecff;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-shadow: var(--site-text-shadow);
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid rgba(159, 191, 232, 0.18);
}

.product-detail-info .product-bottom {
    margin-top: 12px;
    padding: 18px;
    border: 1px solid rgba(154, 221, 232, 0.24);
    border-radius: 20px;
    background: rgba(8, 27, 36, 0.34);
}

.product-bottom strong {
    color: #d9ecff;
    font-size: 22px;
    text-shadow: var(--site-text-shadow);
}

.product-detail-info .product-bottom strong {
    font-size: clamp(26px, 4vw, 42px);
}

.product-detail-info .btn.primary {
    min-width: 170px;
    border: 1px solid rgba(184, 211, 255, 0.34);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.product-description-card {
    grid-template-columns: 1fr;
    margin-top: clamp(14px, 2vw, 24px);
}

.product-description-content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 16px;
}

.product-description-content h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.05;
    text-shadow: var(--site-text-shadow);
}

.product-description-content p {
    margin: 0;
    color: #fff;
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.7;
    white-space: pre-line;
}

.product-back-button {
    width: fit-content;
    margin-top: 4px;
}

.custom-elements-layer {
    position: absolute;
    inset: 0;
    z-index: 7;
    pointer-events: none;
}

.custom-element {
    position: absolute;
    max-width: calc(100vw - 28px);
    transform: translateX(-50%);
    pointer-events: auto;
}

.custom-element-text {
    padding: 0;
    border: 1px solid transparent;
    border-radius: 14px;
    color: #fff;
    background: transparent;
    resize: none;
    overflow: visible;
}

.custom-element-button {
    display: inline-flex;
    justify-content: center;
}

.custom-element-window {
    transform: translateX(-50%);
}

.custom-element.product-card,
.custom-element-window {
    overflow: visible;
}

.custom-element-window .custom-element-content {
    display: grid;
    gap: 10px;
}

body.admin-mode .custom-element,
body.admin-mode .custom-element.product-card,
body.admin-mode .custom-element-window {
    transition: none !important;
}

body.admin-mode .custom-element-text.is-admin-target-active {
    padding: 12px 14px;
    border-color: rgba(82, 255, 160, 0.95);
    background: rgba(8, 15, 26, 0.42);
    resize: both;
    overflow: auto;
}

.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: center;
}

.info-panel,
.story-box {
    padding: clamp(24px, 4vw, 42px);
}

.info-panel.soft { background: linear-gradient(160deg, rgba(19, 32, 48, 0.58), rgba(7, 13, 24, 0.48)), rgba(16, 31, 48, 0.36); }

.check-list {
    display: grid;
    gap: 12px;
    padding: 0;
    list-style: none;
}

.check-list li {
    padding-left: 34px;
    position: relative;
    line-height: 1.6;
}

.check-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-dark);
    font-weight: 900;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-list details { padding: 20px 24px; }
.faq-list summary { cursor: pointer; font-weight: 900; }
.faq-list p { color: rgba(236, 246, 255, 0.84); line-height: 1.65; }

.site-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    padding: 34px clamp(18px, 5vw, 72px);
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.site-footer nav {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-weight: 700;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
}

.cart-list {
    display: grid;
    gap: 14px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border: 1px solid rgba(126, 163, 205, 0.28);
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(19, 32, 48, 0.58), rgba(7, 13, 24, 0.48)), rgba(16, 31, 48, 0.36);
}

.cart-item h3 { margin: 0 0 6px; }
.cart-item p { margin: 0; color: rgba(236, 246, 255, 0.78); }
.cart-item-actions {
    display: grid;
    justify-items: end;
    gap: 10px;
}
.cart-summary { padding: 24px; height: fit-content; }
.muted, .empty-cart { color: rgba(236, 246, 255, 0.72); }

.checkout-form {
    display: grid;
    gap: 18px;
    padding: clamp(22px, 4vw, 36px);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

label {
    display: grid;
    gap: 8px;
    color: var(--accent-dark);
    font-weight: 900;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 13px 14px;
    font: inherit;
    color: var(--text);
    background: rgba(255, 255, 255, 0.82);
}

.btn:disabled {
    cursor: not-allowed;
    opacity: 0.58;
    transform: none;
    box-shadow: none;
}

.product-meta {
    margin: 10px 0 6px;
    color: #cfe6ff !important;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.product-meta.is-available {
    color: #3dff7a !important;
}

.product-meta.is-unavailable {
    color: #ff4b4b !important;
}

.cart-link span[hidden],
.cart-link [data-cart-count][hidden] {
    display: none;
}

.product-option {
    margin-top: 12px;
    color: rgba(226, 241, 255, 0.88);
    font-size: 13px;
    font-weight: 700;
}

.product-option input,
.product-option select {
    padding: 10px 12px;
    border-radius: 12px;
    border-color: rgba(159, 191, 232, 0.3);
    background: rgba(255, 250, 240, 0.92);
    color: #261c16;
}

.payment-box {
    display: grid;
    gap: 10px;
    border: 1px solid rgba(126, 163, 205, 0.28);
    border-radius: 16px;
    padding: 16px;
}

.checkbox-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-line input { width: auto; margin-top: 4px; }
.form-message { color: #cfe6ff; font-weight: 800; }

.legal-page {
    width: min(920px, calc(100% - 32px));
    margin: 0 auto;
    padding: 54px 0;
}

.legal-card {
    padding: clamp(24px, 5vw, 48px);
    border: 1px solid rgba(126, 163, 205, 0.36);
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(19, 32, 48, 0.64), rgba(7, 13, 24, 0.52)), rgba(16, 31, 48, 0.4);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(184, 211, 255, 0.14);
    color: #eef6ff;
    backdrop-filter: blur(8px);
}

.legal-card h1 { font-size: clamp(32px, 5vw, 52px); margin-top: 0; }
.legal-card h2 { margin-top: 34px; }
.legal-card p, .legal-card li { color: rgba(236, 246, 255, 0.84); line-height: 1.75; }

.contact-panel p { margin: 0 0 14px; }

.cookie-banner {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9000;
    display: flex;
    align-items: center;
    gap: 14px;
    width: min(520px, calc(100% - 36px));
    padding: 16px;
    border: 1px solid rgba(126, 163, 205, 0.36);
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(19, 32, 48, 0.78), rgba(7, 13, 24, 0.68)), rgba(16, 31, 48, 0.54);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(184, 211, 255, 0.14);
    color: #eef6ff;
    backdrop-filter: blur(8px);
}

.cookie-banner p {
    margin: 0;
    color: rgba(236, 246, 255, 0.84);
    line-height: 1.45;
}

@media (max-width: 860px) {
    .site-header,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero,
    .split,
    .cart-layout,
    .product-detail-card {
        grid-template-columns: 1fr;
    }

    .hero { min-height: auto; padding: 42px 0; }
    .product-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .cookie-banner {
        align-items: stretch;
        flex-direction: column;
    }
}

body.admin-mode {
    padding-top: 0;
}

body.admin-mode .site-header {
    top: var(--admin-bar-offset, 0px);
}

.admin-live-bar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 72px;
    padding: 10px clamp(12px, 3vw, 28px);
    color: #fff;
    background: rgba(21, 15, 11, 0.94);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.admin-live-bar,
.admin-live-bar *,
.admin-inline-action,
.admin-section-action,
.admin-card-actions,
.admin-card-actions *,
.admin-modal,
.admin-modal *,
.admin-image-thumb,
.admin-image-thumb * {
    text-shadow: none !important;
}

.admin-live-bar strong {
    color: #ffd590;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.admin-live-title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.admin-site-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 166px;
    min-height: 36px;
    padding: 8px 12px 8px 42px;
    overflow: hidden;
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.02em;
    transition: background 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, padding 0.24s ease;
}

.admin-site-toggle.is-on {
    background: rgba(24, 153, 72, 0.96);
    border-color: rgba(121, 255, 166, 0.72);
    box-shadow: 0 0 18px rgba(24, 153, 72, 0.36);
}

.admin-site-toggle.is-off {
    padding-right: 42px;
    padding-left: 12px;
    background: rgba(184, 37, 37, 0.96);
    border-color: rgba(255, 126, 126, 0.72);
    box-shadow: 0 0 18px rgba(184, 37, 37, 0.32);
}

.admin-site-toggle-knob {
    position: absolute;
    top: 50%;
    left: 5px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.26);
    transform: translateY(-50%);
    transition: transform 0.26s ease;
}

.admin-site-toggle.is-on .admin-site-toggle-knob {
    transform: translate(130px, -50%);
}

.admin-site-toggle:disabled {
    cursor: wait;
    opacity: 0.75;
}

.admin-layout-toggle {
    width: 190px;
}

.admin-edit-toggle {
    width: 210px;
}

.admin-layout-toggle.is-on .admin-site-toggle-knob {
    transform: translate(154px, -50%);
}

.admin-edit-toggle.is-on .admin-site-toggle-knob {
    transform: translate(174px, -50%);
}

.admin-live-bar nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex: 1;
    flex-wrap: wrap;
    font-size: 12px;
    font-weight: 800;
}

.admin-live-bar a,
.admin-live-bar button,
.admin-inline-action,
.admin-section-action,
.admin-card-actions button,
.admin-modal-actions button {
    border: 1px solid rgba(255, 213, 144, 0.36);
    border-radius: 999px;
    padding: 8px 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.admin-live-bar a:hover,
.admin-live-bar button:hover,
.admin-inline-action:hover,
.admin-section-action:hover,
.admin-card-actions button:hover,
.admin-modal-actions button:hover {
    transform: translateY(-1px);
    background: rgba(47, 140, 163, 0.72);
}

.admin-live-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.admin-add-menu {
    position: relative;
}

.admin-add-menu-list {
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    z-index: 10002;
    display: grid;
    min-width: 190px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: rgba(5, 10, 18, 0.96);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
}

.admin-add-menu-list[hidden] {
    display: none;
}

.admin-add-menu-list button {
    justify-content: flex-start;
    width: 100%;
}

.admin-editable {
    outline: 1px dashed rgba(47, 140, 163, 0.55);
    outline-offset: 3px;
}

.admin-layout-target {
    outline: 1px solid rgba(255, 213, 144, 0.65);
    outline-offset: 3px;
}

.admin-layout-target.admin-layout-dragging {
    z-index: 50;
    outline-color: #7dff9a;
    cursor: grabbing;
}

.admin-layout-hidden {
    display: none !important;
}

.admin-layout-moved {
    will-change: transform;
}

.admin-layout-guide {
    position: fixed;
    z-index: 9998;
    display: none;
    pointer-events: none;
    border-color: rgba(125, 255, 154, 0.92);
    filter: drop-shadow(0 0 6px rgba(125, 255, 154, 0.45));
}

.admin-layout-guide.is-visible {
    display: block;
}

.admin-layout-guide-h {
    border-top: 2px dashed rgba(125, 255, 154, 0.92);
}

.admin-layout-guide-v {
    border-left: 2px dashed rgba(125, 255, 154, 0.92);
}

.admin-custom-draft {
    position: absolute;
    z-index: 10000;
    min-width: 180px;
    max-width: calc(100vw - 28px);
    padding: 12px;
    border: 1px dashed rgba(82, 255, 160, 0.95);
    border-radius: 14px;
    color: #fff;
    background: rgba(8, 15, 26, 0.42);
    resize: both;
    overflow: auto;
    transform: translateX(-50%);
}

.admin-custom-draft-text {
    min-height: 72px;
    outline: none;
}

.admin-custom-draft-save {
    position: absolute;
    top: 8px;
    right: 8px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 999px;
    color: #062312;
    background: #4cff9d;
    font-weight: 900;
    cursor: pointer;
}

.admin-element-controls {
    position: absolute;
    z-index: 60;
    top: -14px;
    right: -8px;
    display: flex;
    gap: 5px;
    align-items: center;
    pointer-events: auto;
}

.admin-element-controls-inline {
    position: relative;
    top: auto;
    right: auto;
    display: inline-flex;
    margin-left: 6px;
    vertical-align: middle;
}

.admin-element-controls button {
    min-width: 28px;
    min-height: 28px;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    color: #fff;
    background: rgba(8, 15, 26, 0.92);
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
    cursor: pointer;
}

.admin-element-delete {
    background: rgba(177, 35, 35, 0.94) !important;
}

.admin-element-drag {
    background: rgba(20, 130, 72, 0.94) !important;
    cursor: grab !important;
    min-width: 76px !important;
    border-color: rgba(125, 255, 154, 0.82) !important;
    box-shadow: 0 0 0 2px rgba(125, 255, 154, 0.2), 0 8px 18px rgba(0, 0, 0, 0.28) !important;
}

.admin-inline-action {
    margin: 6px 0 6px 8px;
    padding: 5px 9px;
    color: #fff;
    background: var(--accent-dark);
    font-size: 11px;
    vertical-align: middle;
}

.admin-inline-action,
.admin-card-actions,
.admin-element-controls {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(3px);
    transition: opacity 0.16s ease, visibility 0.16s ease, transform 0.16s ease;
}

.admin-inline-action.is-admin-tool-visible,
.admin-card-actions.is-admin-tool-visible,
.admin-element-controls.is-admin-tool-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.is-admin-target-active {
    outline-color: rgba(125, 255, 154, 0.82) !important;
}

.admin-section-action {
    width: fit-content;
    margin: 0 0 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.product-card,
.faq-list details {
    position: relative;
}

.admin-card-actions {
    position: absolute;
    z-index: 5;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.admin-card-actions button {
    padding: 6px 10px;
    color: #fff;
    background: rgba(21, 15, 11, 0.78);
    font-size: 11px;
}

.admin-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(0, 0, 0, 0.52);
}

.admin-modal-card {
    width: min(1040px, 100%);
    max-height: min(760px, calc(100vh - 36px));
    overflow: auto;
    padding: clamp(20px, 4vw, 34px);
    border: 1px solid rgba(142, 220, 255, 0.34);
    border-radius: 24px;
    color: #eef6ff;
    background:
        radial-gradient(circle at top, rgba(84, 169, 213, 0.16), transparent 34%),
        linear-gradient(160deg, rgba(12, 30, 56, 0.98), rgba(4, 10, 22, 0.98));
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

.admin-modal-card h2 {
    margin: 0 0 18px;
    color: #fff;
}

.admin-modal-card form {
    display: grid;
    gap: 14px;
}

.admin-modal-card label {
    color: #fff;
}

.admin-modal-card input,
.admin-modal-card textarea,
.admin-modal-card select {
    width: 100%;
    border: 1px solid rgba(142, 220, 255, 0.22);
    border-radius: 14px;
    padding: 13px 14px;
    font: inherit;
    color: #eef6ff;
    background: rgba(2, 8, 18, 0.86);
}

.admin-rich-field {
    display: grid;
    gap: 10px;
}

.admin-rich-toolbar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.admin-rich-toolbar button,
.admin-rich-toolbar select {
    width: auto;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 213, 144, 0.42);
    border-radius: 999px;
    color: #fff !important;
    background: rgba(8, 15, 26, 0.78);
    font-size: 13px;
    font-weight: 800;
}

.admin-rich-toolbar select option {
    color: #111;
}

.admin-rich-editor {
    width: 100%;
    padding: 12px 14px;
    overflow: auto;
    border: 1px solid rgba(255, 213, 144, 0.38);
    border-radius: 16px;
    color: #fff;
    background: rgba(6, 13, 28, 0.9);
    font-size: 16px;
    line-height: 1.55;
    outline: none;
}

.admin-rich-editor:focus {
    border-color: rgba(125, 255, 154, 0.86);
    box-shadow: 0 0 0 3px rgba(125, 255, 154, 0.16);
}

.admin-modal-card input[type="color"] {
    width: 58px;
    min-width: 58px;
    height: 44px;
    padding: 3px;
    border-radius: 14px;
    cursor: pointer;
}

.admin-color-field {
    display: grid;
    gap: 10px;
}

.admin-inline-edit-row {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(210px, 0.9fr) auto;
    gap: 12px;
    align-items: end;
}

.admin-inline-edit-row .admin-checkbox {
    align-self: center;
    margin-bottom: 0;
    padding-top: 22px;
}

.admin-color-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-color-swatches {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.admin-color-swatch {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 999px;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.24);
    cursor: pointer;
}

.admin-color-swatch.is-active {
    outline: 2px solid #8edcff;
    outline-offset: 2px;
}

.admin-live-preview {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(142, 220, 255, 0.22);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
}

.admin-modal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
    gap: 16px;
    align-items: start;
}

.admin-button-style-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(165px, 1fr)) minmax(180px, 240px);
    gap: 12px;
    align-items: end;
}

.admin-button-style-row .admin-live-preview {
    align-self: stretch;
    justify-content: center;
    margin-bottom: 14px;
}

.admin-modal-fields {
    display: grid;
    gap: 14px;
}

.admin-live-preview span {
    color: rgba(238, 246, 255, 0.78);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-button-preview {
    justify-self: start;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid #2f8ca3;
    border-radius: 999px;
    color: #fff;
    background: #2f8ca3;
    font-weight: 900;
}

@media (max-width: 760px) {
    .admin-modal-layout {
        grid-template-columns: 1fr;
    }

    .admin-inline-edit-row {
        grid-template-columns: 1fr;
    }

    .admin-button-style-row {
        grid-template-columns: 1fr;
    }

    .admin-inline-edit-row .admin-checkbox {
        padding-top: 0;
    }
}

.admin-modal-card textarea::placeholder,
.admin-modal-card input::placeholder {
    color: #777;
}

.admin-image-field {
    display: grid;
    gap: 10px;
}

.admin-image-preview-list {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-image-thumb {
    position: relative;
    width: 90px;
    height: 90px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.admin-image-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.admin-image-thumb button,
.admin-image-thumb span {
    position: absolute;
    top: 6px;
    right: 6px;
    display: grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(20, 10, 5, 0.82);
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.admin-image-thumb button:hover {
    background: #b3261e;
}

.admin-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-checkbox input {
    width: auto;
}

.admin-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.admin-modal-actions button {
    color: #fff;
    background: var(--accent-dark);
}

.admin-modal-message {
    min-height: 20px;
    margin: 0;
    color: #b3261e;
    font-weight: 800;
}

@media (max-width: 860px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        background-image: none !important;
        background-attachment: scroll !important;
        overflow-x: hidden;
    }

    :root {
        --site-background-position: center 28%;
    }

    body::before {
        width: 100%;
        min-width: 100%;
        height: 100vh;
        height: 100svh;
        background-image: var(--site-background) !important;
        background-position: var(--site-background-position) !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        background-attachment: scroll !important;
    }

    .site-header {
        grid-template-columns: 1fr;
        align-items: center;
        justify-items: center;
        gap: 10px;
        width: 100%;
        padding: 10px 12px 12px;
        text-align: center;
    }

    .brand {
        justify-self: center;
        max-width: 100%;
        gap: 4px;
    }

    .brand-logo {
        width: 54px;
        min-width: 54px;
        max-width: 54px;
        height: 54px;
        min-height: 54px;
        max-height: 54px;
        flex-basis: 54px;
    }

    .site-header .brand strong {
        font-size: clamp(25px, 8vw, 36px);
        line-height: 0.95;
    }

    .main-nav {
        justify-content: center;
        justify-self: center;
        gap: 9px 12px;
        width: 100%;
        max-width: 100%;
        font-size: clamp(12px, 3.4vw, 14px);
        line-height: 1.2;
    }

    .main-nav a {
        white-space: nowrap;
    }

    .hero,
    .page-shell,
    .section,
    .site-footer {
        width: min(100% - 22px, 1180px);
    }

    .hero {
        gap: 22px;
        padding: 34px 0;
    }

    .hero h1 {
        font-size: clamp(24px, 8vw, 34px);
        line-height: 1.12;
    }

    .hero p,
    .section-heading p,
    .split p,
    .story-box p,
    .info-panel p {
        font-size: 15.5px;
        line-height: 1.58;
    }

    .hero-actions {
        justify-content: center;
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 360px;
        min-height: 44px;
        padding: 0 16px;
    }

    .hero-card,
    .product-card,
    .info-panel,
    .story-box,
    .faq-list details,
    .legal-card,
    .order-panel,
    .product-detail-card,
    .product-description-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        border-radius: 20px;
    }

    .product-image {
        height: clamp(230px, 68vw, 330px);
    }

    .hero-card .product-image {
        height: clamp(250px, 72vw, 360px);
    }

    .product-detail-card {
        grid-template-columns: 1fr;
    }

    .product-image-detail {
        min-height: 0;
        height: clamp(280px, 82vw, 430px);
    }

    .product-detail-info {
        padding: 22px;
    }

    .product-detail-info h1 {
        font-size: clamp(24px, 8vw, 34px);
    }

    .product-bottom,
    .product-detail-info .product-bottom {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .product-bottom .btn,
    .product-detail-info .btn.primary {
        width: 100%;
        min-width: 0;
    }

    .split,
    .cart-layout,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }

    .cookie-banner {
        right: 11px;
        bottom: 11px;
        width: calc(100% - 22px);
    }

    html[data-mobile-layout="safe"] body:not(.admin-mode) {
        min-width: 0;
        overflow-x: hidden;
    }

    html[data-mobile-layout="safe"] body:not(.admin-mode) .site-header,
    html[data-mobile-layout="safe"] body:not(.admin-mode) .hero,
    html[data-mobile-layout="safe"] body:not(.admin-mode) .page-shell,
    html[data-mobile-layout="safe"] body:not(.admin-mode) .section,
    html[data-mobile-layout="safe"] body:not(.admin-mode) .site-footer {
        width: min(100% - 24px, 1180px) !important;
        max-width: calc(100% - 24px) !important;
        margin-right: auto !important;
        margin-left: auto !important;
        transform: none !important;
    }

    html[data-mobile-layout="safe"] body:not(.admin-mode) .hero,
    html[data-mobile-layout="safe"] body:not(.admin-mode) .split,
    html[data-mobile-layout="safe"] body:not(.admin-mode) .product-grid,
    html[data-mobile-layout="safe"] body:not(.admin-mode) .cart-layout,
    html[data-mobile-layout="safe"] body:not(.admin-mode) .contact-grid,
    html[data-mobile-layout="safe"] body:not(.admin-mode) .product-detail-card {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: clamp(16px, 5vw, 28px) !important;
        align-items: stretch !important;
    }

    html[data-mobile-layout="safe"] body:not(.admin-mode) .hero-card,
    html[data-mobile-layout="safe"] body:not(.admin-mode) .product-card,
    html[data-mobile-layout="safe"] body:not(.admin-mode) .info-panel,
    html[data-mobile-layout="safe"] body:not(.admin-mode) .story-box,
    html[data-mobile-layout="safe"] body:not(.admin-mode) .order-panel,
    html[data-mobile-layout="safe"] body:not(.admin-mode) .legal-card,
    html[data-mobile-layout="safe"] body:not(.admin-mode) .product-detail-card,
    html[data-mobile-layout="safe"] body:not(.admin-mode) .product-description-card,
    html[data-mobile-layout="safe"] body:not(.admin-mode) .faq-list details {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        transform: none !important;
    }

    html[data-mobile-layout="safe"] body:not(.admin-mode) h1,
    html[data-mobile-layout="safe"] body:not(.admin-mode) h2,
    html[data-mobile-layout="safe"] body:not(.admin-mode) h3,
    html[data-mobile-layout="safe"] body:not(.admin-mode) p,
    html[data-mobile-layout="safe"] body:not(.admin-mode) li,
    html[data-mobile-layout="safe"] body:not(.admin-mode) small,
    html[data-mobile-layout="safe"] body:not(.admin-mode) span,
    html[data-mobile-layout="safe"] body:not(.admin-mode) strong {
        max-width: 100% !important;
        overflow-wrap: anywhere;
    }

    html[data-mobile-layout="safe"] body:not(.admin-mode) img,
    html[data-mobile-layout="safe"] body:not(.admin-mode) video,
    html[data-mobile-layout="safe"] body:not(.admin-mode) iframe {
        max-width: 100% !important;
        height: auto;
    }

    html[data-mobile-layout="safe"] body:not(.admin-mode) .product-bottom,
    html[data-mobile-layout="safe"] body:not(.admin-mode) .hero-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        justify-items: stretch !important;
    }

    html[data-mobile-layout="safe"] body:not(.admin-mode) .btn,
    html[data-mobile-layout="safe"] body:not(.admin-mode) button,
    html[data-mobile-layout="safe"] body:not(.admin-mode) input,
    html[data-mobile-layout="safe"] body:not(.admin-mode) textarea,
    html[data-mobile-layout="safe"] body:not(.admin-mode) select {
        max-width: 100% !important;
    }

    html[data-mobile-layout="safe"] body:not(.admin-mode) .custom-element {
        left: 50% !important;
        width: min(100% - 24px, 420px) !important;
        max-width: calc(100vw - 24px) !important;
    }

    body.admin-mode {
        padding-top: 0;
    }

    body.admin-mode .site-header {
        top: var(--admin-bar-offset, 0px);
    }

    .admin-live-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-live-title {
        flex-wrap: wrap;
    }

    .admin-live-bar nav {
        justify-content: flex-start;
    }

    .admin-live-actions {
        justify-content: flex-start;
    }
}
