/* ======= PRICING SECTION ======= */
        .pricing-section {
            position: relative;
            width: 100%;
            background-color: var(--nyx-white);
            padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 4vw, 3rem) clamp(6rem, 10vw, 10rem);
            z-index: 2;
            margin-top: -2px;
        }

        .pricing-header {
            text-align: center;
            margin-bottom: clamp(3rem, 6vw, 5rem);
        }

        .pricing-header h2 {
            font-size: clamp(2rem, 4vw, 3.5rem);
            font-weight: 800;
            letter-spacing: -0.03em;
            color: #060606;
            line-height: 1.1;
        }

        .pricing-grid {
            display: flex;
            justify-content: center;
            gap: 1.25rem;
            max-width: 1100px;
            margin: 0 auto;
            align-items: flex-start;
        }

        .pricing-col {
            flex: 1;
            max-width: 340px;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .pricing-card {
            position: relative;
            background: #060606;
            border-radius: 24px;
            padding: clamp(1.5rem, 2.5vw, 2.25rem);
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        .pricing-card-name {
            font-size: clamp(1.3rem, 2vw, 1.6rem);
            font-weight: 800;
            color: #ffffff;
            letter-spacing: -0.02em;
            line-height: 1.2;
        }

        .pricing-card-subtitle {
            font-size: 0.78rem;
            color: rgba(255, 255, 255, 0.6);
            margin-top: 0.15rem;
            margin-bottom: 1.25rem;
            line-height: 1.4;
            display: flex;
            align-items: center;
            gap: 0.35rem;
        }

        .pricing-card-icon {
            width: 12px;
            height: 12px;
            flex-shrink: 0;
            opacity: 0.6;
        }

        .pricing-card-features {
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
            margin-bottom: 1.5rem;
        }

        .pricing-card-features:last-child {
            margin-bottom: 0;
        }

        .pricing-feature-item {
            display: flex;
            align-items: center;
            gap: 0.55rem;
        }

        .pricing-feature-icon {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #e4b775;
            flex-shrink: 0;
        }

        .pricing-feature-item span {
            font-size: 0.82rem;
            font-weight: 600;
            color: #ffffff;
            line-height: 1.3;
        }

        .pricing-card-price {
            font-size: clamp(2rem, 3.5vw, 3rem);
            font-weight: 800;
            color: #ffffff;
            letter-spacing: -0.04em;
            line-height: 1;
        }

        .pricing-card-stack {
            position: relative;
            display: flex;
            flex-direction: column;
        }

        .pricing-card-stack .pricing-card {
            position: relative;
            z-index: 2;
        }

        .pricing-card-extras {
            background: transparent;
            border: 1.5px solid rgba(6, 6, 6, 0.12);
            border-radius: 24px;
            padding: clamp(1.25rem, 2vw, 1.75rem) clamp(1.5rem, 2.5vw, 2.25rem);
            margin-top: -24px;
            padding-top: calc(24px + clamp(1.25rem, 2vw, 1.75rem));
        }

        .pricing-card-extras p {
            font-size: 0.75rem;
            color: rgba(6, 6, 6, 0.62);
            line-height: 1.6;
        }

        .pricing-card-extras strong {
            font-weight: 700;
            color: rgba(6, 6, 6, 0.6);
        }

        .pricing-card-stack-featured {
            padding-top: 0;
        }

        .pricing-card-extras-top {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1;
            width: 100%;
            box-sizing: border-box;
            transform: translateY(calc(-100% + 24px));
            margin: 0;
            padding: 0.8rem clamp(1.1rem, 2vw, 1.4rem) calc(24px + 0.55rem);
            border: none;
            border-radius: 22px 22px 18px 18px;
            box-shadow: 0 18px 36px rgba(228, 183, 117, 0.18);
            text-align: center;
        }

        .pricing-card-extras-top p {
            font-size: 0.65rem;
            font-weight: 800;
            line-height: 1;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }

        .pricing-card-extras-top strong {
            color: #060606;
        }

        .pricing-card-extras-accent {
            background: linear-gradient(135deg, #f5e6c8 0%, #e4b775 100%);
        }

        .pricing-card-cta {
            display: block;
            width: 100%;
            text-align: center;
            padding: 0.8rem 1.25rem;
            border-radius: 50px;
            font-size: 0.82rem;
            font-weight: 700;
            text-decoration: none;
            border: 1.5px solid #060606;
            color: #ffffff;
            background: #060606;
            transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
            cursor: pointer;
        }

        .pricing-card-cta:hover {
            background: #222222;
            border-color: #222222;
            color: #ffffff;
        }

        /* Accent card (e-shop) */
        .pricing-card-accent {
            background: linear-gradient(135deg, #f5e6c8 0%, #e4b775 100%);
            border: none;
        }

        .pricing-card-accent .pricing-card-name,
        .pricing-card-accent .pricing-card-price {
            color: #060606;
        }

        .pricing-card-accent .pricing-card-subtitle {
            color: rgba(6, 6, 6, 0.5);
        }

        .pricing-card-accent .pricing-card-icon {
            opacity: 0.4;
        }

        .pricing-card-accent .pricing-feature-icon {
            background: rgba(6, 6, 6, 0.25);
        }

        .pricing-card-accent .pricing-feature-item span {
            color: #060606;
        }

        .pricing-card-accent .pricing-card-cta {
            border-color: #060606;
            color: #ffffff;
            background: #060606;
        }

        .pricing-card-accent .pricing-card-cta:hover {
            background: #222222;
            border-color: #222222;
            color: #ffffff;
        }

        /* Custom / na míru price (text instead of a number) */
        .pricing-card-price-custom {
            font-size: clamp(1.6rem, 2.8vw, 2.3rem);
        }

        @media (max-width: 768px) {
            .pricing-grid {
                flex-direction: column;
                align-items: center;
                gap: 1.75rem;
            }

            .pricing-col {
                max-width: 100%;
                width: 100%;
            }

            /* the "Doporučujeme" ribbon translates above its card — when the
               columns stack it would overlap the previous card's CTA, so
               reserve its visible height */
            .pricing-card-stack-featured {
                margin-top: 2.4rem;
            }
        }

        /* ======= PRICING TOGGLE ======= */
        /* =====================================================
           PRICING TOGGLE — exact port of the original component
           White pill container · Dark sliding indicator
        ===================================================== */
        .pricing-toggle-wrapper {
            display: flex;
            justify-content: center;
            margin-bottom: clamp(2.5rem, 4vw, 4rem);
        }

        /* ======= DELIVERY GUARANTEE (24 h or 20 % off) =======
           Sits inside the card between the price and the CTA. */
        .pricing-card-guarantee {
            display: flex;
            align-items: center;
            gap: 0.45rem;
            margin-top: 0.85rem;
            padding-top: 0.85rem;
            border-top: 1px solid rgba(255, 255, 255, 0.12);
            font-size: 0.78rem;
            font-weight: 700;
            line-height: 1.35;
            letter-spacing: -0.01em;
            color: #e4b775;
        }

        .pricing-card-guarantee svg {
            flex-shrink: 0;
            width: 0.95rem;
            height: 0.95rem;
        }

        .pricing-card-accent .pricing-card-guarantee {
            border-top-color: rgba(6, 6, 6, 0.18);
            color: rgba(6, 6, 6, 0.75);
        }

        .pricing-control {
            /* same custom-property set as the original */
            --p-primary: hsl(0 0% 10%);
            --p-secondary: #ffffff;
            --p-inactive: hsl(0 0% 60%);
            --p-border: hsl(0 0% 80%);
            --p-shadow: 0deg 0% 63%;
            --p-drop-off: 0.4;
            --duration: 0.22;
            --ease: linear(0 0%, 0.2342 12.49%, 0.4374 24.99%,
                    0.6093 37.49%, 0.6835 43.74%,
                    0.7499 49.99%, 0.8086 56.25%,
                    0.8593 62.5%, 0.9023 68.75%, 0.9375 75%,
                    0.9648 81.25%, 0.9844 87.5%,
                    0.9961 93.75%, 1 100%);

            /* geometry — ~10 % larger than the original 260 × 38 */
            letter-spacing: 0.5px;
            position: relative;
            width: 286px;
            height: 42px;
            aspect-ratio: 286 / 42;
            background: var(--p-secondary);
            border-radius: 100px;
            border: 1px solid var(--p-border);
            padding: 2px;

            /* exact shadow stack from the original */
            box-shadow:
                -0.1px 1px 1px hsl(var(--p-shadow) / 0.39),
                -0.2px 3.2px 3.1px -0.4px hsl(var(--p-shadow) / 0.36),
                -0.3px 5.7px 5.5px -0.8px hsl(var(--p-shadow) / 0.34),
                -0.5px 9.3px 8.9px -1.2px hsl(var(--p-shadow) / 0.32),
                -0.8px 14.8px 14.2px -1.6px hsl(var(--p-shadow) / 0.29),
                -1.3px 23.1px 22.2px -2px hsl(var(--p-shadow) / 0.27),
                -2px 35px 33.7px -2.4px hsl(var(--p-shadow) / 0.24),
                -2.9px 51.2px 49.2px -2.8px hsl(var(--p-shadow) / 0.22),
                -4.1px 72.6px 69.8px -3.2px hsl(var(--p-shadow) / 0.2),
                -5.6px 100px 96.2px -3.6px hsl(var(--p-shadow) / 0.17);
        }

        /* ── track: 4 equal columns (same as original repeat(4,1fr)) ── */
        .pricing-control__track {
            display: grid;
            place-items: center;
            grid-template-columns: repeat(4, 1fr);
            width: 100%;
            height: 100%;
            position: relative;
        }

        /* ── outer indicator: DARK pill, left half by default ── */
        .pricing-control__track>.pricing-indicator {
            position: absolute;
            width: 50%;
            left: 0;
            top: 0;
            bottom: 0;
            background: var(--p-primary);
            border-radius: 100px;
            transition: translate calc(var(--duration) * 1s) var(--ease);
        }

        /* ── "Jednorázově" label — spans 2 of 4 cols ── */
        .pricing-control__track>label {
            grid-column: span 2;
            display: inline-block;
            height: 100%;
            width: 100%;
            display: grid;
            place-items: center;
            cursor: pointer;
            font-size: 0.75rem;
            font-weight: 700;
            z-index: 2;
            /* default: white text sits on the dark indicator */
            color: var(--p-secondary);
            transition: color calc(var(--duration) * 1s) var(--ease),
                opacity calc(var(--duration) * 1s) var(--ease);
        }

        .pricing-control .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border-width: 0;
        }

        /* ── premium (Měsíčně) section — spans 2 of 4 cols ── */
        .pricing-premium {
            grid-column: span 2;
            width: 100%;
            height: 100%;
            display: grid;
            position: relative;
            grid-template-columns: 1fr 1fr;
            border: 1px solid transparent;
            container-type: size;
        }

        /* "Měsíčně" floating label — mirrors original "Premium" ::before */
        .pricing-premium::before {
            content: 'Měsíčně';
            position: absolute;
            left: 50%;
            top: 50%;
            translate: -50% -80%;
            color: var(--p-primary);
            font-size: 0.75rem;
            font-weight: 700;
            z-index: 2;
            pointer-events: none;
            transition:
                scale calc(var(--duration) * 1s) var(--ease),
                translate calc(var(--duration) * 1s) var(--ease);
        }

        /* ── inner sub-indicator ── */
        .pricing-premium .pricing-indicator {
            position: absolute;
            width: 50%;
            left: 50%;
            top: 0;
            bottom: 0;
            background: var(--p-primary);
            border-radius: 100px;
            translate: -50% 0;
            transition:
                translate calc(var(--duration) * 1s) var(--ease),
                clip-path calc(var(--duration) * 1s) var(--ease),
                background calc(var(--duration) * 1s) var(--ease);
            clip-path: inset(73cqh calc(50% + 1px) calc(27cqh - 2px) calc(50% - 3px) round 100px);
        }

        /* ── dot separator between Web · Hosting ── */
        .pricing-premium::after {
            content: '·';
            position: absolute;
            left: 50%;
            top: 50%;
            translate: -50% -50%;
            z-index: 4;
            font-size: 0.9rem;
            line-height: 1;
            color: var(--p-inactive);
            pointer-events: none;
            transition: opacity calc(var(--duration) * 1s) var(--ease);
        }

        /* dot hidden while a sub-option is active (indicator covers the centre) */
        .pricing-premium:has(input:checked)::after {
            opacity: 0;
        }

        /* ── sub-option labels ── */
        .pricing-premium label {
            display: inline-block;
            height: 100%;
            width: 100%;
            display: grid;
            place-items: center;
            cursor: pointer;
            font-size: 0.75rem;
            font-weight: 700;
            color: var(--p-primary);
            z-index: 2;
            transition: color calc(var(--duration) * 1s) var(--ease),
                opacity calc(var(--duration) * 1s) var(--ease);
        }

        .pricing-premium label span {
            display: grid;
            place-items: center;
            height: 100%;
            width: 100%;
            border-radius: 100px;
            transition: scale calc(var(--duration) * 1s) var(--ease);
        }

        .pricing-premium label:nth-of-type(1) span {
            scale: 0.75;
            transform-origin: 150% 150%;
        }

        .pricing-premium label:nth-of-type(2) span {
            scale: 0.75;
            transform-origin: -65% 150%;
        }

        /* ╔══════════════════════════════════╗
           ║   STATE RULES  (mirror original) ║
           ╚══════════════════════════════════╝ */

        /* When Měsíčně sub-option is selected → outer indicator slides right */
        .pricing-control__track:not(:has(> input:checked))>.pricing-indicator {
            translate: 100% 0;
        }

        /* Jednorázově label dims when not active */
        .pricing-control__track:not(:has(> input:checked))>label {
            color: var(--p-primary);
            opacity: var(--p-drop-off);
        }

        /* When Jednorázově IS active → dim the sub-indicator and sub-labels */
        .pricing-control__track:has(> input:checked) .pricing-premium .pricing-indicator {
            background: var(--p-inactive);
        }

        .pricing-control__track:has(> input:checked) .pricing-premium label {
            color: var(--p-inactive);
        }

        /* "Měsíčně" ghost label flies away when sub-option selected */
        .pricing-premium:has(input:checked)::before {
            translate: -50% -250%;
            scale: 0.85;
        }

        /* Sub-labels scale up when Měsíčně area is active */
        .pricing-premium:has(input:checked) label span {
            scale: 1;
        }

        /* Sub-indicator: expand + use secondary (white) bg so text reads on dark outer pill */
        .pricing-premium:has(input:checked) .pricing-indicator {
            background: var(--p-secondary);
            clip-path: inset(0 0 0 0 round 100px);
        }

        .pricing-premium:has(input:checked) label {
            color: var(--p-inactive);
            opacity: 0.75;
        }

        /* Active sub-label: full dark text on white inner indicator */
        .pricing-premium:has(input:nth-of-type(1):checked) label:nth-of-type(1),
        .pricing-premium:has(input:nth-of-type(2):checked) label:nth-of-type(2) {
            color: var(--p-primary);
            opacity: 1;
        }

        /* Sub-indicator positioning */
        .pricing-premium:has(input:nth-of-type(1):checked) .pricing-indicator {
            translate: -100% 0;
        }

        .pricing-premium:has(input:nth-of-type(2):checked) .pricing-indicator {
            translate: 0 0;
        }

        /* --- Pricing views visibility --- */
        .pricing-onetime,
        .pricing-monthly-web,
        .pricing-monthly-hosting {
            display: none;
        }

        .pricing-onetime.active,
        .pricing-monthly-web.active,
        .pricing-monthly-hosting.active {
            display: flex;
        }

        .pricing-monthly-web,
        .pricing-monthly-hosting {
            justify-content: center;
            gap: 1.25rem;
            max-width: 1100px;
            margin: 0 auto;
            align-items: flex-start;
            flex-wrap: wrap;
        }

        /* Monthly section label */
        .pricing-monthly-label {
            width: 100%;
            text-align: center;
            margin-bottom: clamp(1.75rem, 3vw, 2.35rem);
        }

        .pricing-monthly-label h3 {
            font-size: clamp(1.1rem, 2vw, 1.4rem);
            font-weight: 800;
            color: #060606;
            letter-spacing: -0.02em;
        }

        .pricing-monthly-label p {
            font-size: 0.82rem;
            color: rgba(6, 6, 6, 0.6);
            margin-top: 0.25rem;
        }

        .pricing-card-price-monthly {
            font-size: clamp(2rem, 3.5vw, 3rem);
            font-weight: 800;
            color: #ffffff;
            letter-spacing: -0.04em;
            line-height: 1;
            margin-top: auto;
        }

        .pricing-card-price-monthly span {
            font-size: 0.85rem;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.4);
            letter-spacing: 0;
        }

        .pricing-card-price-monthly small {
            display: block;
            margin-top: 0.4rem;
            font-size: 0.85rem;
            font-weight: 600;
            line-height: 1.2;
            color: rgba(255, 255, 255, 0.4);
            letter-spacing: 0;
        }

        /* Compact add-on cards (doména, e-mail hosting) */
        .pricing-card-mini {
            padding: clamp(1.25rem, 2vw, 1.6rem);
        }

        .pricing-card-mini .pricing-card-name {
            font-size: 1.1rem;
        }

        .pricing-card-mini .pricing-card-subtitle {
            margin-bottom: 0.9rem;
        }

        .pricing-card-mini .pricing-card-features {
            margin-bottom: 1rem;
        }

        .pricing-card-mini .pricing-card-price-monthly {
            font-size: clamp(1.4rem, 2.5vw, 1.8rem);
        }

        @keyframes pricing-fade-in {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        .pricing-onetime.active,
        .pricing-monthly-web.active,
        .pricing-monthly-hosting.active {
            animation: pricing-fade-in 160ms var(--ease-out) both;
        }

        @media (max-width: 768px) {

            .pricing-monthly-web,
            .pricing-monthly-hosting {
                flex-direction: column;
                align-items: center;
            }

            .pricing-control {
                width: 264px;
                height: 40px;
            }
        }

