: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/tlo-fioletowa-kawiarnia-v1.webp?v=purple-bg-20260920");
    --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%;
    overflow-x: hidden;
}

body {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    text-shadow: var(--site-text-shadow);
    overflow-x: hidden;
}

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


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

main {
    position: relative;
    flex: 1 0 auto;
}

.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: Georgia, "Times New Roman", serif;
    font-style: italic;
    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;
}


.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;
}

.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); }
.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;
    }
}


body:not(.admin-mode) .product-image {
    filter: none !important;
}

/* Wariant 12 — Szklane półki. */
:root {
    --glass-12-bg: rgba(3, 14, 23, .72);
    --glass-12-soft: rgba(8, 27, 39, .62);
    --glass-12-line: rgba(151, 224, 235, .34);
    --glass-12-accent: #64f4ef;
}


.site-header,
.hero-card,
.info-panel,
.story-box,
.faq-list details,
.legal-card,
.order-panel,
.product-detail-card,
.product-description-card,
.cart-summary,
.cart-item,
.contact-card {
    border-color: var(--glass-12-line) !important;
    background:
        linear-gradient(145deg, rgba(6, 23, 34, .66), rgba(2, 11, 19, .78)),
        rgba(4, 17, 27, .62) !important;
    box-shadow: 0 26px 78px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .07) !important;
    backdrop-filter: blur(22px) saturate(1.12) !important;
}

.site-header {
    border-radius: 18px !important;
}

.site-header .main-nav a {
    border-color: rgba(151, 224, 235, .18) !important;
    background: rgba(4, 18, 29, .48) !important;
}

.btn.primary,
.product-bottom .btn {
    border-color: rgba(100, 244, 239, .7) !important;
    color: #031418 !important;
    background: linear-gradient(135deg, #8bfff7, #55ddea) !important;
    box-shadow: 0 10px 28px rgba(36, 210, 220, .2) !important;
}


.section-heading {
    max-width: 960px;
    margin-bottom: 32px;
}

.section-heading .eyebrow,
.section-heading > p:first-child,
.hero-copy .eyebrow {
    color: #fff !important;
    letter-spacing: .18em;
}

.section-heading h1,
.section-heading h2,
.hero-copy h1 {
    color: #f1fbff !important;
    text-shadow: 0 4px 18px rgba(0, 0, 0, .82) !important;
}

.product-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px;
    width: min(1180px, 100%);
}

.product-card,
.product-card:nth-child(n) {
    display: grid;
    grid-template-columns: clamp(230px, 25vw, 320px) minmax(0, 1fr);
    min-height: 230px;
    overflow: hidden;
    border: 1px solid var(--glass-12-line);
    border-radius: 22px;
    background:
        linear-gradient(110deg, rgba(8, 29, 42, .68), rgba(1, 10, 17, .82)),
        rgba(3, 15, 24, .72);
    box-shadow: 0 24px 74px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .06);
    backdrop-filter: blur(20px) saturate(1.08);
    transform: none;
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(100, 244, 239, .68);
    box-shadow: 0 30px 84px rgba(0, 0, 0, .43), 0 0 28px rgba(100, 244, 239, .1);
}

.product-card::after {
    inset: 9px;
    border-radius: 14px;
    border-color: rgba(183, 238, 244, .11);
}

.product-card .product-image {
    width: 100%;
    height: 100%;
    min-height: 230px;
    aspect-ratio: auto;
    border-right: 1px solid rgba(151, 224, 235, .22);
    border-bottom: 0;
}

.product-card .product-body {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, .95fr);
    grid-auto-rows: min-content;
    gap: 8px 30px;
    align-content: center;
    padding: 24px 28px;
}

.product-card .product-body h3 {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    font-size: clamp(20px, 2vw, 29px);
}

.product-card .product-body > p:not(.product-meta) {
    grid-column: 1;
    grid-row: 2;
}

.product-card .product-meta {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    color: #fff !important;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.product-card .product-body > small {
    grid-column: 1;
    grid-row: 3;
}

.product-card .product-option {
    grid-column: 2;
    margin-top: 2px;
}

.product-card .product-bottom {
    grid-column: 2;
    align-self: end;
    margin-top: 5px;
    border-color: rgba(151, 224, 235, .2);
}

.product-card .product-bottom strong {
    color: #f1fbff;
}

.product-detail-card {
    border-radius: 22px;
}

.product-detail-info {
    border-color: rgba(151, 224, 235, .2);
    background: rgba(2, 14, 23, .5);
}

.product-description-card {
    margin-top: 22px;
}

@media (max-width: 980px) {
    .product-card .product-body {
        grid-template-columns: minmax(0, 1fr);
    }
    .product-card .product-body h3,
    .product-card .product-body > p:not(.product-meta),
    .product-card .product-meta,
    .product-card .product-body > small,
    .product-card .product-option,
    .product-card .product-bottom {
        grid-column: 1;
        grid-row: auto;
    }
}

@media (max-width: 700px) {
    .product-card,
    .product-card:nth-child(n) {
        grid-template-columns: minmax(0, 1fr);
    }
    .product-card .product-image {
        height: auto;
        min-height: 0;
        aspect-ratio: 1.35 / 1;
        border-right: 0;
        border-bottom: 1px solid rgba(151, 224, 235, .22);
    }
    .product-card .product-body {
        padding: 18px;
    }
}


.product-detail-card {
    isolation: isolate;
}

.product-detail-card > * {
    min-width: 0;
}

.product-image-detail {
    contain: layout paint;
    width: 100%;
    max-width: 100%;
    aspect-ratio: auto;
    overflow: hidden !important;
}

.product-detail-info {
    overflow: hidden;
    border: 1px solid rgba(154, 221, 232, .18);
    border-radius: 22px;
    background: linear-gradient(155deg, rgba(8, 28, 39, .76), rgba(5, 13, 23, .7));
    box-shadow: inset 0 1px rgba(255, 255, 255, .06);
}


.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: #fff;
    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 {
    position: relative;
    margin-top: auto;
    flex-shrink: 0;
    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: #fff;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000,
                 -1px 1px 0 #000, 1px 1px 0 #000;
}

.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: #fff;
    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-file-thumb {
    display: flex;
    width: min(100%, 330px);
    min-width: 220px;
    height: 58px;
    padding: 10px 42px 10px 12px;
    align-items: center;
    background: #f7fbff;
}

.admin-file-thumb > span {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
    color: #102238;
    background: transparent;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.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%;
        overflow-x: hidden;
    }


    .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;
    }

    .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-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 {
        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;
    }
}


/* Lewy panel nawigacyjny — wspólny dla wszystkich widoków sklepu. */
:root {
    --nav-rail-width: 196px;
    --nav-rail-gap: 14px;
}

html body {
    padding-left: calc(var(--nav-rail-width) + var(--nav-rail-gap) * 2) !important;
}

.site-header,
html[data-mobile-layout="safe"] body:not(.admin-mode) .site-header {
    position: fixed !important;
    z-index: 200 !important;
    inset: 50% auto auto var(--nav-rail-gap) !important;
    display: flex !important;
    width: var(--nav-rail-width) !important;
    max-width: var(--nav-rail-width) !important;
    height: auto !important;
    max-height: calc(100vh - var(--nav-rail-gap) * 2) !important;
    margin: 0 !important;
    padding: 14px !important;
    align-items: stretch !important;
    justify-content: center !important;
    overflow-x: hidden;
    overflow-y: auto;
    color: #eef8ff;
    background:
        linear-gradient(155deg, rgba(29, 49, 67, .88), rgba(7, 14, 25, .94) 52%, rgba(18, 10, 29, .92));
    border: 1px solid rgba(118, 210, 239, .26);
    border-radius: 24px;
    box-shadow:
        0 22px 70px rgba(0, 0, 0, .46),
        inset 0 1px 0 rgba(255, 255, 255, .09),
        inset 0 0 38px rgba(48, 242, 208, .035);
    backdrop-filter: blur(18px) saturate(1.18);
    -webkit-backdrop-filter: blur(18px) saturate(1.18);
    text-align: left !important;
    transform: translateY(-50%);
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 16px auto 16px 0;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, #30f2d0, #4d7cff 48%, #c45cff);
    box-shadow: 0 0 18px rgba(77, 124, 255, .75);
    opacity: .9;
}

.site-header .main-nav {
    position: relative;
    z-index: 1;
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    height: auto;
    margin: 0;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: center !important;
    justify-self: stretch !important;
    gap: 10px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
}

.site-header .main-nav a {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    align-items: center;
    justify-content: space-between;
    color: #edf8ff !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 13px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
    text-shadow: 0 2px 8px rgba(0, 0, 0, .9);
    letter-spacing: .015em;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}


.site-header .main-nav a:hover,
.site-header .main-nav a:focus-visible {
    transform: translateX(3px);
    border-color: rgba(48, 242, 208, .48);
    background: linear-gradient(135deg, rgba(48, 242, 208, .15), rgba(77, 124, 255, .10));
    box-shadow: 0 8px 24px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .09);
    outline: none;
}


.site-header .cart-link span {
    margin-left: 8px;
    flex: 0 0 auto;
}

.site-footer {
    justify-content: center;
}

body.admin-mode .site-header {
    top: calc(50% + var(--admin-bar-offset, 0px) / 2) !important;
}

@media (max-width: 860px) {
    :root {
        --nav-rail-width: 112px;
        --nav-rail-gap: 8px;
    }

    .site-header,
    html[data-mobile-layout="safe"] body:not(.admin-mode) .site-header {
        padding: 9px !important;
        border-radius: 18px;
    }

    .site-header .main-nav {
        gap: 7px !important;
        font-size: 11px !important;
    }

    .site-header .main-nav a {
        min-height: 40px;
        padding: 8px 9px;
        border-radius: 10px;
        white-space: normal !important;
    }
}

@media (max-width: 520px) {
    :root {
        --nav-rail-width: 98px;
        --nav-rail-gap: 6px;
    }

    .site-header .main-nav {
        gap: 6px !important;
        font-size: 10px !important;
    }

    .site-header .main-nav a {
        min-height: 38px;
        padding: 7px 8px;
    }
}

/* 2026-09-18 — uporządkowany storefront Po Łysemu */
:root {
    --nav-rail-width: 176px;
    --nav-rail-gap: 12px;
}

html body {
    padding-left: calc(var(--nav-rail-width) + var(--nav-rail-gap) * 2) !important;
}

.site-header,
html[data-mobile-layout="safe"] body:not(.admin-mode) .site-header {
    overflow: hidden !important;
    border-color: rgba(66, 245, 215, .26) !important;
    background:
        radial-gradient(circle at 12% 12%, rgba(66, 245, 215, .09), transparent 34%),
        linear-gradient(165deg, rgba(15, 34, 50, .94), rgba(5, 12, 23, .97) 58%, rgba(25, 9, 34, .95)) !important;
}

.site-header > .brand,
.site-header [data-brand-name],
.site-header [data-brand-logo] {
    display: none !important;
}

.site-header .main-nav { gap: 8px !important; }

.site-header .main-nav a {
    min-height: 40px;
    padding: 9px 11px;
    border-radius: 11px;
    font-size: 12px;
    letter-spacing: .03em;
}


.page-shell,
.hero {
    width:min(1640px,calc(100% - 56px));
}

.page-shell { min-height:100vh; }

.section {
    width:min(1640px,calc(100% - 56px));
    padding:clamp(48px,6vh,82px) 0;
}

.section-heading {
    max-width:900px;
    margin-bottom:clamp(22px,3vh,38px);
}

.section-heading h1,
.section-heading h2 {
    max-width:900px;
    font-size:clamp(34px,3.3vw,58px) !important;
    line-height:1 !important;
    letter-spacing:-.04em !important;
}

.section-heading p { max-width:760px; font-size:16px; line-height:1.55; }

.product-grid {
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:clamp(14px,1.4vw,22px);
    align-items:start;
}

.product-card {
    min-width:0;
    border-radius:22px;
    border-color:rgba(66,245,215,.22);
    background:
        radial-gradient(circle at 14% 0%,rgba(66,245,215,.13),transparent 36%),
        linear-gradient(155deg,rgba(12,31,45,.91),rgba(5,12,22,.94));
    box-shadow:0 22px 62px rgba(0,0,0,.38),inset 0 1px rgba(255,255,255,.08),0 0 28px rgba(66,245,215,.06);
}

.product-card:nth-child(2) { border-color:rgba(198,108,255,.28); box-shadow:0 22px 62px rgba(0,0,0,.38),0 0 34px rgba(198,108,255,.10); }
.product-card:nth-child(3) { border-color:rgba(255,204,88,.28); box-shadow:0 22px 62px rgba(0,0,0,.38),0 0 34px rgba(255,204,88,.09); }
.product-card:nth-child(4) { border-color:rgba(255,91,127,.28); box-shadow:0 22px 62px rgba(0,0,0,.38),0 0 34px rgba(255,91,127,.09); }

.product-card::after { inset:8px; border-radius:15px; opacity:.7; }

.product-image {
    width:100%;
    min-width:0;
    min-height:0;
    height:auto;
    aspect-ratio:1.18 / 1;
    padding:12px;
    background:#081422;
    background-size:cover;
    background-position:center;
}

.product-image span {
    padding:6px 9px;
    font-size:10px;
    letter-spacing:.08em;
}

.product-body {
    gap:8px;
    padding:17px 18px 18px;
}

.product-body h3,
.featured-product-body h2 {
    font-size:clamp(18px,1.18vw,20px);
}

.product-body p { font-size:14px; line-height:1.48; }
.product-body small { font-size:12px; color:rgba(237,248,255,.72); }
.product-meta { font-size:13px !important; }
.product-bottom { margin-top:auto; padding-top:12px; }
.product-bottom strong { font-size:clamp(20px,1.38vw,23px); }
.product-bottom .btn { min-height:38px; padding:0 13px; font-size:12px; }

.hero-card {
    max-width:520px;
    justify-self:end;
    padding:14px;
    border-radius:24px;
}

.hero-card .product-image { width:100%; min-width:0; height:auto; aspect-ratio:1.35/1; min-height:0; }
.hero-card .featured-product-body { padding:16px 10px 8px; }

.img-apparel,.img-mug,.img-handmade { background-color:#081422; }

@media (max-width: 1380px) {
    .product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}

@media (max-width: 1040px) {
    .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 860px) {
    :root { --nav-rail-width:106px; --nav-rail-gap:7px; }
    .page-shell,.hero,.section { width:min(100% - 20px,760px) !important; max-width:calc(100% - 20px) !important; }
    .site-header .main-nav a { font-size:10px; min-height:38px; padding:7px 8px; }
    .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
    .product-body { padding:14px; }
}

@media (max-width: 560px) {
    :root { --nav-rail-width:88px; --nav-rail-gap:5px; }
    .site-header .main-nav a { font-size:9px; min-height:35px; padding:6px; }
    .product-grid { grid-template-columns:1fr; }
    .product-image { aspect-ratio:1.35/1; }
}

@media (max-width: 700px) {
    html body { padding-left:0 !important; padding-bottom:86px !important; }
    .site-header,
    html[data-mobile-layout="safe"] body:not(.admin-mode) .site-header,
    body.admin-mode .site-header {
        inset:auto 8px 8px 8px !important;
        width:calc(100% - 16px) !important;
        max-width:calc(100% - 16px) !important;
        max-height:none !important;
        padding:7px !important;
        border-radius:16px !important;
        transform:none !important;
    }
    .site-header::before { inset:0 14px auto; width:auto; height:2px; }
    .site-header .main-nav {
        display:grid !important;
        grid-template-columns:repeat(6,minmax(72px,1fr)) !important;
        grid-auto-flow:column;
        gap:6px !important;
        overflow-x:auto;
        justify-content:start !important;
        scrollbar-width:none;
    }
    .site-header .main-nav::-webkit-scrollbar { display:none; }
    .site-header .main-nav a {
        justify-content:center;
        min-height:42px;
        padding:7px 5px;
        text-align:center;
        white-space:normal !important;
        font-size:9px !important;
    }
    .page-shell,.hero,.section {
        width:min(100% - 24px,760px) !important;
        max-width:calc(100% - 24px) !important;
    }
}

/* Korekta typografii strony głównej dla wariantu 12. */
:root {
    --site-text-shadow: 0 1px 2px rgba(0, 0, 0, .96), 0 4px 13px rgba(0, 0, 0, .78);
}

.hero-copy {
    width: min(760px, 100%);
    padding: clamp(24px, 3vw, 38px);
    border: 1px solid rgba(151, 224, 235, .3);
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(4, 18, 29, .76), rgba(2, 10, 18, .64)),
        rgba(2, 13, 22, .6);
    box-shadow: 0 26px 76px rgba(0, 0, 0, .32), inset 0 1px rgba(255, 255, 255, .07);
    backdrop-filter: blur(16px) saturate(1.08);
}

.hero-copy h1 {
    max-width: 700px;
    font-size: clamp(38px, 3.7vw, 58px) !important;
    line-height: 1.02 !important;
    letter-spacing: -.035em !important;
    text-wrap: balance;
    text-shadow: 0 2px 3px rgba(0, 0, 0, .96), 0 8px 24px rgba(0, 0, 0, .72) !important;
}

.hero-copy > p:not(.eyebrow) {
    max-width: 650px;
    font-size: clamp(16px, 1.25vw, 19px) !important;
    line-height: 1.55 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .9) !important;
}

.hero-copy .eyebrow {
    font-size: 12px !important;
    line-height: 1.4;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .88) !important;
}

.product-bottom .btn,
.product-detail-info .btn.primary,
.cookie-banner .btn {
    text-shadow: none !important;
}

@media (max-width: 700px) {
    .hero-copy {
        padding: 20px;
        border-radius: 19px;
    }
    .hero-copy h1 {
        font-size: clamp(31px, 10vw, 42px) !important;
    }
    .hero-copy > p:not(.eyebrow) {
        font-size: 15px !important;
    }
}

/* Wariant 12 — właściwa transparentność szkła. */
.site-header,
.hero-card,
.info-panel,
.story-box,
.faq-list details,
.legal-card,
.order-panel,
.product-detail-card,
.product-description-card,
.cart-summary,
.cart-item,
.contact-card {
    background:
        linear-gradient(145deg, rgba(7, 28, 41, .48), rgba(1, 9, 16, .58)),
        rgba(3, 16, 25, .32) !important;
    backdrop-filter: blur(20px) saturate(1.16) !important;
}

.hero-copy {
    background:
        linear-gradient(145deg, rgba(5, 25, 37, .46), rgba(1, 9, 17, .53)),
        rgba(2, 14, 23, .26) !important;
    backdrop-filter: blur(18px) saturate(1.14) !important;
}

.product-card,
.product-card:nth-child(n) {
    background:
        linear-gradient(110deg, rgba(7, 31, 45, .42), rgba(1, 9, 16, .56)),
        rgba(2, 14, 23, .28) !important;
    backdrop-filter: blur(18px) saturate(1.12) !important;
}

.product-detail-info {
    background: rgba(2, 14, 23, .32) !important;
    backdrop-filter: blur(14px) !important;
}

/* Wyrównana skala pojedynczej oferty: mniej skrajności między dużymi i małymi elementami. */
body:has([data-product-detail]) .page-shell {
    width: min(1580px, calc(100% - 48px)) !important;
    max-width: calc(100% - 48px) !important;
}

body:has([data-product-detail]) .section,
body:has([data-product-detail]) [data-product-detail] {
    width: 100% !important;
    max-width: none !important;
}

body:has([data-product-detail]) .section {
    padding-top: clamp(62px, 6vw, 92px);
}

body:has([data-product-detail]) .product-detail-card {
    width: 100%;
    max-width: none;
    grid-template-columns: minmax(0, 1.06fr) minmax(420px, .94fr);
    gap: clamp(24px, 2.5vw, 42px);
    padding: clamp(22px, 2.2vw, 34px);
    border-radius: 28px;
}

body:has([data-product-detail]) .product-image-detail {
    min-height: clamp(480px, 38vw, 650px);
    border-radius: 22px;
}

body:has([data-product-detail]) .product-detail-info {
    align-content: center;
    gap: clamp(15px, 1.5vw, 22px);
    padding: clamp(24px, 2.5vw, 40px);
    border-radius: 22px;
}

body:has([data-product-detail]) .product-detail-info h1 {
    max-width: 760px;
    font-size: clamp(38px, 3.4vw, 60px);
    line-height: .98;
    text-wrap: balance;
}

body:has([data-product-detail]) .product-detail-info .product-detail-short {
    max-width: 680px;
    font-size: clamp(16px, 1vw, 18px);
    line-height: 1.6;
}

body:has([data-product-detail]) .product-detail-info .product-option {
    display: grid;
    gap: 8px;
    margin-top: 0;
    font-size: 14px;
}

body:has([data-product-detail]) .product-detail-info .product-meta {
    font-size: 14px !important;
}

body:has([data-product-detail]) .product-detail-info p small {
    font-size: 14px;
}

body:has([data-product-detail]) .product-detail-info .product-option input,
body:has([data-product-detail]) .product-detail-info .product-option select {
    min-height: 52px;
    padding-inline: 16px;
}

body:has([data-product-detail]) .product-detail-info .product-bottom {
    min-height: 112px;
    grid-template-columns: minmax(180px, 1fr) minmax(190px, .7fr);
    gap: 20px;
    margin-top: 4px;
    padding: 20px 22px;
    align-items: center;
    border: 1px solid rgba(151, 224, 235, .24);
    border-radius: 20px;
    background: rgba(2, 14, 23, .24);
}

body:has([data-product-detail]) .product-detail-info .product-bottom strong {
    font-size: clamp(32px, 2.9vw, 48px);
}

body:has([data-product-detail]) .product-detail-info .product-bottom .btn {
    min-height: 48px;
    padding-inline: 18px;
    font-size: 14px;
}

body:has([data-product-detail]) .product-description-card {
    grid-template-columns: minmax(0, 1fr);
    padding: clamp(28px, 3vw, 46px);
}

body:has([data-product-detail]) .product-description-content {
    max-width: 1280px;
    gap: 20px;
}

body:has([data-product-detail]) .product-description-content h2 {
    font-size: clamp(30px, 3vw, 46px);
}

body:has([data-product-detail]) .product-description-content p {
    max-width: 1100px;
    font-size: clamp(16px, 1.25vw, 20px);
    line-height: 1.7;
}

@media (max-width: 1180px) {
    body:has([data-product-detail]) .product-detail-card {
        grid-template-columns: minmax(0, 1fr);
    }
    body:has([data-product-detail]) .product-image-detail {
        min-height: 0;
        height: clamp(370px, 56vw, 560px);
    }
}

@media (max-width: 700px) {
    body:has([data-product-detail]) .page-shell {
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
    }
    body:has([data-product-detail]) .section {
        padding-top: 54px;
    }
    body:has([data-product-detail]) .product-detail-card {
        gap: 18px;
        padding: 16px;
        border-radius: 22px;
    }
    body:has([data-product-detail]) .product-image-detail {
        height: clamp(270px, 72vw, 350px);
    }
    body:has([data-product-detail]) .product-detail-info {
        padding: 21px;
    }
    body:has([data-product-detail]) .product-detail-info h1 {
        font-size: clamp(30px, 8vw, 38px);
    }
    body:has([data-product-detail]) .product-detail-info .product-bottom {
        min-height: 0;
        grid-template-columns: minmax(0, 1fr);
        padding: 17px;
    }
    body:has([data-product-detail]) .product-description-card {
        padding: 22px;
    }
}

/* Pełny podgląd zdjęć bez kadrowania. */
.product-lightbox-frame {
    width: min(94vw, 1320px);
    height: min(88vh, 920px);
    padding: clamp(10px, 1.5vw, 20px);
}

.product-lightbox .product-lightbox-image,
html[data-mobile-layout="safe"] body:not(.admin-mode) .product-lightbox .product-lightbox-image {
    position: absolute;
    inset: 16px;
    display: block;
    width: calc(100% - 32px) !important;
    height: calc(100% - 32px) !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
}

@media (max-width: 700px) {
    .product-lightbox {
        padding: 8px;
    }
    .product-lightbox-frame {
        width: calc(100vw - 16px);
        height: min(82vh, 720px);
        padding: 8px;
        border-radius: 18px;
    }
    .product-lightbox .product-lightbox-image,
    html[data-mobile-layout="safe"] body:not(.admin-mode) .product-lightbox .product-lightbox-image {
        inset: 8px;
        width: calc(100% - 16px) !important;
        height: calc(100% - 16px) !important;
    }
}


html body:not(.admin-mode) {
    --site-text-shadow: 0 2px 6px rgba(0, 0, 0, .86);
}


body:not(.admin-mode) .site-header,
body:not(.admin-mode) .hero-card,
body:not(.admin-mode) .hero-copy,
body:not(.admin-mode) .info-panel,
body:not(.admin-mode) .story-box,
body:not(.admin-mode) .faq-list details,
body:not(.admin-mode) .legal-card,
body:not(.admin-mode) .order-panel,
body:not(.admin-mode) .product-card,
body:not(.admin-mode) .product-detail-card,
body:not(.admin-mode) .product-description-card,
body:not(.admin-mode) .product-detail-info,
body:not(.admin-mode) .cart-summary,
body:not(.admin-mode) .cart-item,
body:not(.admin-mode) .contact-card,
body:not(.admin-mode) .cookie-banner {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

body:not(.admin-mode) .site-header,
body:not(.admin-mode) .hero-card,
body:not(.admin-mode) .info-panel,
body:not(.admin-mode) .story-box,
body:not(.admin-mode) .faq-list details,
body:not(.admin-mode) .legal-card,
body:not(.admin-mode) .order-panel,
body:not(.admin-mode) .product-detail-card,
body:not(.admin-mode) .product-description-card,
body:not(.admin-mode) .cart-summary,
body:not(.admin-mode) .cart-item,
body:not(.admin-mode) .contact-card {
    background:
        linear-gradient(145deg, rgba(7, 28, 41, .72), rgba(1, 9, 16, .79)),
        rgba(3, 16, 25, .7) !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .07) !important;
}

body:not(.admin-mode) .hero-copy {
    background:
        linear-gradient(145deg, rgba(5, 25, 37, .7), rgba(1, 9, 17, .77)),
        rgba(2, 14, 23, .65) !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .3), inset 0 1px rgba(255, 255, 255, .07) !important;
}

body:not(.admin-mode) .product-card,
body:not(.admin-mode) .product-card:nth-child(n) {
    background:
        linear-gradient(110deg, rgba(7, 31, 45, .69), rgba(1, 9, 16, .78)),
        rgba(2, 14, 23, .66) !important;
    box-shadow: 0 16px 42px rgba(0, 0, 0, .32), inset 0 1px rgba(255, 255, 255, .06) !important;
}

body:not(.admin-mode) .product-detail-info {
    background: linear-gradient(145deg, rgba(3, 20, 30, .76), rgba(1, 10, 17, .82)) !important;
    box-shadow: inset 0 1px rgba(255, 255, 255, .06) !important;
}


body:not(.admin-mode) .cookie-banner {
    background: rgba(3, 20, 30, .94) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .34) !important;
}

body:not(.admin-mode) .product-image img,
body:not(.admin-mode) .product-image-detail img,
body:not(.admin-mode) .mock-product img {
    filter: none !important;
}

body:not(.admin-mode) .hero-copy h1 {
    text-shadow: 0 3px 10px rgba(0, 0, 0, .84) !important;
}
