/*
 * Hyper theme — big electronics & gifts store look, finished like a premium
 * theme: white masthead, slim announcement bar, soft photo panels, quiet
 * "View all" links, round category tiles and generous spacing.
 * Header/footer markup: views/layouts/_header-hyper.php, _footer-hyper.php
 * Home sections: views/site/_home-hyper.php, card: views/site/_product-card-hyper.php
 * Colours follow the theme tokens, so the store editor's colour pickers work.
 */

html[data-theme="hyper"] {
    --hy-cyan: var(--theme-color-primary, #00a8d8);
    --hy-navy: var(--theme-color-secondary, #1b1464);
    --hy-ink: var(--theme-color-text, #0f172a);
    --hy-muted: var(--theme-color-text-muted, #64748b);
    --hy-line: var(--theme-color-border, #e3e8ef);
    --hy-red: #e5243b;
    --hy-green: #16a34a;
    --hy-purple: #6d28d9;
    --hy-soft: color-mix(in srgb, var(--hy-ink) 4%, #fff);
    --hy-photo: color-mix(in srgb, var(--hy-ink) 3.5%, #fff);
    --hy-line-soft: color-mix(in srgb, var(--hy-line) 65%, #fff);
    --hy-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -14px rgba(15, 23, 42, 0.12);
    --hy-card-r: 18px;
    --hy-panel-r: 24px;
}

html[data-theme="hyper"] body {
    background: var(--theme-color-bg, #f6f7f9);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html[data-theme="hyper"] .container {
    max-width: 1560px;
}

html[data-theme="hyper"] .sf-main {
    padding-bottom: 8px;
    background: transparent;
}

/* =================== Header =================== */

.hy-header {
    position: relative;
    z-index: 1030;
    background: #fff;
    box-shadow: 0 1px 0 var(--hy-line);
    transition: box-shadow 0.25s ease;
}

.hy-header[data-sticky="1"] {
    position: sticky;
    top: 0;
}

.hy-header.is-scrolled {
    box-shadow: 0 1px 0 var(--hy-line), 0 10px 30px -12px rgba(15, 23, 42, 0.18);
}

.hy-top {
    background: #fff;
    color: var(--hy-ink);
}

.hy-top-row {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 84px;
}

.hy-brand img {
    height: var(--hy-logo-h, 40px);
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

.hy-deliver {
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 16px;
    border-radius: 14px;
    background: var(--hy-soft);
    color: var(--hy-ink);
    line-height: 1.2;
    white-space: nowrap;
}

.hy-deliver .bi {
    font-size: 1.2rem;
    color: var(--hy-cyan);
}

.hy-deliver small {
    display: block;
    font-size: 0.72rem;
    color: var(--hy-muted);
}

.hy-deliver strong {
    font-size: 0.86rem;
    font-weight: 700;
}

.hy-search {
    flex: 1 1 auto;
    max-width: 760px;
    margin-inline: auto;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--hy-soft);
    border: 1.5px solid transparent;
    border-radius: 999px;
    height: 52px;
    padding-inline: 20px 6px;
    gap: 12px;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.hy-search:hover {
    border-color: var(--hy-line);
}

.hy-search .bi-search {
    color: var(--hy-muted);
    font-size: 1.1rem;
}

html[data-theme="hyper"] .hy-search input,
html[data-theme="hyper"] .hy-search input:focus {
    flex: 1;
    border: 0;
    outline: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
    font-size: 0.98rem;
    color: var(--hy-ink);
    min-width: 0;
}

.hy-search input::placeholder {
    color: var(--hy-muted);
}

.hy-search:focus-within {
    background: #fff;
    border-color: var(--hy-cyan);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--hy-cyan) 16%, transparent);
}

.hy-search-go {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--hy-cyan);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.05rem;
    transition: transform 0.2s, filter 0.2s;
}

.hy-search-go:hover {
    transform: scale(1.06);
    filter: brightness(1.05);
}

[dir="ltr"] .hy-search-go .bi {
    transform: scaleX(-1);
}

.hy-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

html[data-theme="hyper"] .hy-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--hy-ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

html[data-theme="hyper"] .hy-action:hover {
    color: var(--hy-ink);
    background: var(--hy-soft);
}

.hy-action .bi {
    font-size: 1.4rem;
}

.hy-cart-icon {
    position: relative;
    display: inline-flex;
}

.hy-cart-icon .sf-cart-badge {
    position: absolute;
    top: -6px;
    inset-inline-end: -9px;
    min-width: 19px;
    height: 19px;
    border-radius: 999px;
    background: var(--hy-cyan);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    display: grid;
    place-items: center;
    padding-inline: 4px;
    border: 2px solid #fff;
}

.hy-icon-btn {
    border: 0;
    background: transparent;
    color: var(--hy-ink);
    font-size: 1.6rem;
    padding: 0;
    line-height: 1;
}

/* Menu bar */
.hy-nav {
    background: #fff;
    border-top: 1px solid var(--hy-line);
}

.hy-nav-row {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 52px;
}

.hy-nav .offcanvas-lg {
    flex: 1 1 auto;
    min-width: 0;
}

.hy-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px 26px;
    flex-wrap: wrap;
}

.hy-menu-item {
    position: relative;
}

html[data-theme="hyper"] .hy-menu-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 15px 0;
    color: var(--hy-ink);
    font-weight: 600;
    font-size: 0.93rem;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}

/* Underline that grows from the reading start on hover */
html[data-theme="hyper"] .hy-menu-link::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 9px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.25s ease;
}

[dir="ltr"] .hy-menu-link::after {
    transform-origin: left;
}

html[data-theme="hyper"] .hy-menu-link:hover,
html[data-theme="hyper"] .hy-menu-link.active {
    color: var(--hy-cyan);
}

html[data-theme="hyper"] .hy-menu-link:hover::after,
html[data-theme="hyper"] .hy-menu-link.active::after {
    transform: scaleX(1);
}

.hy-menu-link .bi-chevron-down {
    font-size: 0.65rem;
    opacity: 0.55;
    transition: transform 0.2s;
}

.hy-menu-item:hover .bi-chevron-down {
    transform: rotate(180deg);
}

html[data-theme="hyper"] .hy-menu-link.is-deals {
    color: var(--hy-red);
}

.hy-sub {
    list-style: none;
    margin: 0;
    padding: 10px;
    position: absolute;
    top: calc(100% - 4px);
    inset-inline-start: -14px;
    min-width: 230px;
    background: #fff;
    border: 1px solid var(--hy-line);
    border-radius: 16px;
    box-shadow: 0 24px 50px -12px rgba(15, 23, 42, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
    z-index: 20;
}

.hy-menu-item:hover > .hy-sub,
.hy-menu-item:focus-within > .hy-sub {
    opacity: 1;
    visibility: visible;
    transform: none;
}

html[data-theme="hyper"] .hy-sub a {
    display: block;
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--hy-ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    transition: background 0.15s, color 0.15s, padding 0.15s;
}

html[data-theme="hyper"] .hy-sub a:hover {
    background: var(--hy-soft);
    color: var(--hy-cyan);
    padding-inline-start: 16px;
}

html[data-theme="hyper"] .hy-sub a.is-all {
    color: var(--hy-cyan);
    font-weight: 700;
    border-top: 1px solid var(--hy-line);
    border-radius: 0 0 10px 10px;
    margin-top: 4px;
}

.hy-pill {
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--hy-cyan) 10%, #fff);
    color: color-mix(in srgb, var(--hy-cyan) 75%, #000);
    font-weight: 700;
    font-size: 0.84rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Announcement bar (deals ticker) */
.hy-ticker {
    display: flex;
    align-items: stretch;
    background: var(--hy-navy);
    color: #fff;
    height: 38px;
    overflow: hidden;
    font-size: 0.82rem;
}

.hy-ticker-viewport {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.hy-ticker[data-mode="static"] .hy-ticker-viewport {
    justify-content: center;
}

.hy-ticker-track {
    display: flex;
    width: max-content;
}

.hy-ticker[data-mode="scroll"] .hy-ticker-track {
    animation: hy-ticker 50s linear infinite;
}

.hy-ticker:hover .hy-ticker-track {
    animation-play-state: paused;
}

.hy-ticker ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.hy-ticker li {
    position: relative;
    padding-inline: 34px;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.82);
}

.hy-ticker li::after {
    content: "";
    position: absolute;
    inset-inline-end: -2px;
    top: 50%;
    width: 4px;
    height: 4px;
    margin-top: -2px;
    border-radius: 50%;
    background: var(--hy-cyan);
}

.hy-ticker li strong {
    font-weight: 700;
    color: #fff;
}

html[data-theme="hyper"] .hy-ticker a {
    color: inherit;
}

@keyframes hy-ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

[dir="rtl"] .hy-ticker[data-mode="scroll"] .hy-ticker-track {
    animation-name: hy-ticker-rtl;
}

@keyframes hy-ticker-rtl {
    from { transform: translateX(0); }
    to { transform: translateX(50%); }
}

@media (prefers-reduced-motion: reduce) {
    .hy-ticker .hy-ticker-track {
        animation: none !important;
    }
}

/* Phones & tablets */
@media (max-width: 991.98px) {
    .hy-top-row {
        flex-wrap: wrap;
        gap: 10px 12px;
        min-height: 0;
        padding-block: 12px;
    }

    .hy-brand {
        margin-inline-end: auto;
    }

    .hy-brand img {
        height: min(var(--hy-logo-h, 40px), 34px);
    }

    .hy-search {
        order: 5;
        flex: 1 1 100%;
        max-width: none;
        height: 46px;
        padding-inline: 16px 4px;
    }

    .hy-search-go {
        width: 36px;
        height: 36px;
    }

    .hy-action-label {
        display: none;
    }

    html[data-theme="hyper"] .hy-action {
        padding: 6px;
    }

    .hy-actions {
        gap: 4px;
    }

    .hy-nav {
        border-top: 0;
    }

    .hy-nav-row {
        min-height: 0;
    }

    .hy-offcanvas .offcanvas-body {
        padding: 8px 20px;
    }

    .hy-menu {
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
        gap: 0;
    }

    .hy-menu > li {
        border-bottom: 1px solid var(--hy-line);
    }

    html[data-theme="hyper"] .hy-menu-link::after,
    .hy-menu-link .bi-chevron-down {
        display: none;
    }

    .hy-sub {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        padding: 0 8px 10px;
        min-width: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    html[data-theme="hyper"] .hy-sub a.is-all {
        border-top: 0;
    }

    .hy-ticker {
        height: 34px;
        font-size: 0.76rem;
    }

    .hy-ticker li {
        padding-inline: 22px;
    }
}

/* =================== Shared home pieces =================== */

.hy-block {
    margin-block: 28px;
}

.hy-h2 {
    font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.9rem);
    font-weight: 800;
    color: var(--hy-ink);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.hy-sub {
    color: var(--hy-muted);
    margin: 6px 0 0;
    font-size: 0.92rem;
}

.hy-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--hy-cyan);
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.hy-eyebrow::before {
    content: "";
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.hy-panel {
    background: #fff;
    border: 1px solid var(--hy-line-soft);
    border-radius: var(--hy-panel-r);
    padding: 26px;
    min-width: 0;
    box-shadow: var(--hy-shadow-sm);
}

.hy-panel-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}

.hy-panel-head > div {
    flex: 1;
    min-width: 0;
}

/* "View all" — quiet text link with a moving arrow, like premium themes */
html[data-theme="hyper"] .hy-link-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 2px;
    color: var(--hy-ink);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    border-bottom: 1.5px solid currentColor;
    transition: color 0.2s, gap 0.2s;
}

html[data-theme="hyper"] .hy-link-all:hover {
    color: var(--hy-cyan);
    gap: 10px;
}

[dir="ltr"] .hy-link-all .bi {
    transform: scaleX(-1);
}

html[data-theme="hyper"] .hy-btn-dark,
html[data-theme="hyper"] .hy-btn-cyan,
html[data-theme="hyper"] .hy-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

html[data-theme="hyper"] .hy-btn-dark {
    background: var(--hy-ink);
    color: #fff;
}

html[data-theme="hyper"] .hy-btn-cyan {
    background: var(--hy-cyan);
    color: #fff;
}

html[data-theme="hyper"] .hy-btn-outline {
    background: #fff;
    color: var(--hy-ink);
    border: 1.5px solid var(--hy-ink);
}

html[data-theme="hyper"] .hy-btn-dark:hover,
html[data-theme="hyper"] .hy-btn-cyan:hover,
html[data-theme="hyper"] .hy-btn-outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(15, 23, 42, 0.45);
}

/* "Name | Up to N% off" */
.hy-split {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 12px;
    font-size: clamp(1.25rem, 1rem + 0.9vw, 1.85rem);
    font-weight: 800;
    color: var(--hy-ink);
    margin: 0;
    letter-spacing: -0.01em;
}

h3.hy-split {
    font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
    gap: 4px 8px;
}

.hy-split-bar {
    width: 1.5px;
    height: 1em;
    background: var(--hy-line);
}

.hy-split-deal {
    color: var(--hy-red);
    font-size: 0.72em;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--hy-red) 9%, #fff);
}

h3.hy-split .hy-split-deal {
    font-size: 0.72em;
    padding: 3px 9px;
}

/* =================== Store promises =================== */

.hy-trust {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: #fff;
    border: 1px solid var(--hy-line-soft);
    border-radius: var(--hy-panel-r);
    box-shadow: var(--hy-shadow-sm);
}

.hy-trust li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    min-width: 0;
}

.hy-trust li + li {
    border-inline-start: 1px solid var(--hy-line-soft);
}

.hy-trust-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    color: var(--hy-cyan);
    background: color-mix(in srgb, var(--hy-cyan) 10%, #fff);
}

.hy-trust strong {
    display: block;
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--hy-ink);
}

.hy-trust small {
    display: block;
    color: var(--hy-muted);
    font-size: 0.8rem;
    margin-top: 2px;
}

/* =================== Hero =================== */

.hy-hero {
    display: grid;
    grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr);
    gap: 14px;
    margin-top: 16px;
}

.hy-hero-main,
.hy-hero-side {
    border-radius: var(--hy-panel-r);
    overflow: hidden;
    min-height: 0;
    aspect-ratio: 1600 / 720;
}

.hy-hero-side {
    aspect-ratio: auto;
}

.hy-hero-main .swiper,
.hy-hero-main .hero-slide {
    height: 100%;
}

html[data-theme="hyper"] .hy-hero-main .hero-slide {
    min-height: 0;
    background-size: cover;
    background-position: center;
    border-radius: 0;
}

.hy-hero-main .swiper {
    padding: 0 !important;
    margin: 0 !important;
}

html[data-theme="hyper"] .hy-hero-main .hero-pagination {
    position: absolute;
    top: 14px !important;
    bottom: auto !important;
    margin: 0 !important;
}

.hy-hero-main .hero-pagination .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.6;
}

.hy-hero-main .hero-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    width: 22px;
    border-radius: 6px;
    background: #fff;
}

.hy-hero-fallback {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px;
    text-align: center;
    background: radial-gradient(ellipse at center, #0a3d62 0%, #050b18 70%);
    text-decoration: none;
}

.hy-neon {
    font-size: clamp(2rem, 1rem + 4vw, 4.6rem);
    font-weight: 900;
    color: #b6f0ff;
    text-shadow: 0 0 6px #4fd8ff, 0 0 18px #00a8ff, 0 0 42px #0077ff;
    line-height: 1.05;
}

.hy-neon-sub {
    color: #7fe6ff;
    font-weight: 800;
    font-size: clamp(1rem, 0.8rem + 1vw, 1.6rem);
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.hy-neon-sub::before,
.hy-neon-sub::after {
    content: "";
    width: 60px;
    height: 2px;
    background: currentColor;
}

html[data-theme="hyper"] .hy-hero-side {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 26px;
    background:
        radial-gradient(circle at 80% 90%, rgba(255, 255, 255, 0.28), transparent 55%),
        linear-gradient(160deg, color-mix(in srgb, var(--hy-cyan) 70%, #fff), var(--hy-cyan));
    color: #fff;
    text-decoration: none;
    background-size: cover;
    background-position: center;
}

.hy-hero-side.is-image {
    padding: 0;
}

.hy-hero-side-tag {
    align-self: flex-start;
    background: #fff;
    color: var(--hy-cyan);
    font-weight: 800;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 999px;
}

.hy-hero-side-title {
    font-size: clamp(1.4rem, 1rem + 1.4vw, 2.3rem);
    font-weight: 900;
    margin-top: 12px;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.hy-hero-side-big {
    font-size: clamp(2.4rem, 1.6rem + 2.4vw, 4rem);
    font-weight: 900;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.hy-hero-side-big small {
    font-size: 0.4em;
    font-weight: 800;
}

.hy-hero-side img {
    position: absolute;
    inset-inline-end: 6%;
    bottom: 6%;
    width: 50%;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 18px;
    mix-blend-mode: multiply;
    filter: saturate(1.1);
}

/* =================== Category tiles =================== */

.hy-cat-tiles {
    list-style: none;
    margin: 0;
    padding: 6px 2px 8px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 136px;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.hy-cat-tiles::-webkit-scrollbar {
    display: none;
}

.hy-cat-tiles li {
    scroll-snap-align: start;
}

html[data-theme="hyper"] .hy-cat-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--hy-ink);
}

/* Round collection tiles with a ring that appears on hover */
.hy-cat-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 35%, #fff 0%, transparent 70%),
        color-mix(in srgb, var(--hy-cyan) 13%, #f4f6f9);
    display: grid;
    place-items: center;
    padding: 20%;
    outline: 2px solid transparent;
    outline-offset: 4px;
    transition: outline-color 0.25s, transform 0.25s;
}

.hy-cat-tile:hover .hy-cat-media {
    outline-color: var(--hy-cyan);
}

.hy-cat-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 12px rgba(15, 23, 42, 0.14));
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hy-cat-tile:hover .hy-cat-media img {
    transform: scale(1.08) translateY(-2px);
}

.hy-cat-badge {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    color: #fff;
    background: var(--hy-green);
    box-shadow: 0 0 0 3px var(--theme-color-bg, #f6f7f9);
}

.hy-cat-badge.is-sale {
    background: var(--hy-red);
}

.hy-cat-name {
    margin-top: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.3;
}

/* =================== Offer banners =================== */

.hy-banners {
    display: grid;
    grid-template-columns: repeat(var(--hy-n, 5), minmax(0, 1fr));
    gap: 14px;
}

html[data-theme="hyper"] .hy-banner {
    position: relative;
    display: block;
    aspect-ratio: 300 / 390;
    border-radius: var(--hy-panel-r);
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    background:
        radial-gradient(circle at 50% 55%, rgba(255, 255, 255, 0.35), transparent 60%),
        radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1.5px) 0 0 / 12px 12px,
        linear-gradient(170deg, color-mix(in srgb, var(--hy-cyan) 75%, #fff), var(--hy-cyan));
    transition: transform 0.3s, box-shadow 0.3s;
}

.hy-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 40px -20px color-mix(in srgb, var(--hy-cyan) 80%, #000);
}

.hy-banner-head {
    position: absolute;
    top: 14px;
    inset-inline-start: 16px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 0.95;
    text-shadow: 0 2px 10px rgba(0, 40, 80, 0.25);
}

[dir="ltr"] .hy-banner-head {
    align-items: flex-start;
}

.hy-banner-head small {
    font-size: clamp(0.9rem, 0.7rem + 0.6vw, 1.35rem);
    font-weight: 800;
}

.hy-banner-head strong {
    font-size: clamp(2rem, 1.2rem + 2.6vw, 3.8rem);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.hy-banner-img {
    position: absolute;
    left: 10%;
    right: 10%;
    top: 30%;
    width: 80%;
    height: 50%;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: drop-shadow(0 12px 18px rgba(0, 40, 80, 0.3));
}

.hy-banner-tape {
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: 5%;
    height: 30px;
    background: #0b1530;
    transform: rotate(-6deg);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hy-banner-tape span {
    white-space: nowrap;
    color: #4fd8ff;
    font-weight: 900;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* =================== Reasons / deals / spotlight =================== */

.hy-trio {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hy-trio > .hy-panel {
    display: flex;
    flex-direction: column;
}

.hy-trio > .hy-panel > .hy-h2 {
    margin-bottom: 16px;
}

.hy-trio .hy-focus {
    flex: 1;
    min-height: 260px;
}

.hy-reasons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

html[data-theme="hyper"] .hy-reason {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none;
    color: var(--hy-ink);
}

.hy-reason-media {
    background: var(--hy-photo);
    border-radius: 14px;
    aspect-ratio: 16 / 11;
    display: grid;
    place-items: center;
    padding: 10px;
    margin-bottom: 6px;
}

.hy-reason-media img,
.hy-deal-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.hy-reason strong {
    font-weight: 800;
    font-size: 0.95rem;
}

.hy-reason small {
    color: var(--hy-muted);
    font-size: 0.8rem;
}

.hy-deals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

html[data-theme="hyper"] .hy-deal {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--hy-photo);
    border-radius: var(--hy-card-r);
    padding: 34px 10px 12px;
    transition: transform 0.25s;
    text-decoration: none;
    color: var(--hy-ink);
}

.hy-deal-tag {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    background: var(--hy-cyan);
    color: #fff;
    font-weight: 800;
    font-size: 0.78rem;
    padding: 4px 12px;
    border-start-start-radius: 14px;
    border-end-end-radius: 12px;
}

.hy-deal-media {
    background: #fff;
    border-radius: 12px;
    aspect-ratio: 16 / 10;
    display: grid;
    place-items: center;
    padding: 10px;
}

.hy-deal-name {
    font-weight: 600;
    font-size: 0.82rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hy-deal-price,
.hy-focus-price {
    font-weight: 900;
    font-size: 1.05rem;
    display: flex;
    align-items: baseline;
    gap: 4px;
    justify-content: flex-end;
}

.hy-deal-price small,
.hy-focus-price small {
    font-size: 0.7em;
}

.hy-deal-price s {
    color: var(--hy-muted);
    font-weight: 500;
    font-size: 0.8rem;
    margin-inline-start: 6px;
}

html[data-theme="hyper"] .hy-focus {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #f6eef7, #e6eefc);
    text-decoration: none;
    color: var(--hy-ink);
}

.hy-focus img {
    position: absolute;
    inset-inline-start: 6%;
    top: 8%;
    width: 52%;
    height: 78%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.hy-focus-body {
    position: absolute;
    inset-inline-end: 6%;
    top: 12%;
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.hy-focus-body strong {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =================== Category groups =================== */

.hy-groups {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.hy-group {
    background: #fff;
    border: 1px solid var(--hy-line-soft);
    border-radius: var(--hy-panel-r);
    padding: 22px;
    box-shadow: var(--hy-shadow-sm);
}

.hy-group-head {
    display: block;
    text-decoration: none;
    margin-bottom: 14px;
}

.hy-group-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 10px;
}

html[data-theme="hyper"] .hy-group-tile {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    color: var(--hy-ink);
}

.hy-group-media {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--hy-card-r);
    background: var(--hy-tint, #dff0fb);
    display: grid;
    place-items: center;
    padding: 14px 14px 24px;
    overflow: hidden;
}

.hy-group-media::after {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 10px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
}

.hy-group-media img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.2s;
}

.hy-group-tile:hover img {
    transform: scale(1.05);
}

.hy-group-name {
    font-weight: 700;
    font-size: 0.88rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =================== Product rows =================== */

.hy-row {
    position: relative;
    background: #fff;
    border: 1px solid var(--hy-line-soft);
    border-radius: var(--hy-panel-r);
    padding: 26px;
    box-shadow: var(--hy-shadow-sm);
    overflow: hidden;
    isolation: isolate;
}

/* A soft wash of the row's colour behind the heading */
.hy-row::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 160px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--hy-tint, #dff0fb) 70%, #fff), #fff);
    z-index: -1;
}

.hy-rail-wrap {
    position: relative;
}

.hy-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 5 * 16px) / 6);
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.hy-rail::-webkit-scrollbar {
    display: none;
}

.hy-rail-item {
    scroll-snap-align: start;
    min-width: 0;
}

.hy-rail-btn {
    position: absolute;
    top: 34%;
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--hy-line);
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: var(--hy-ink);
    box-shadow: 0 10px 24px -8px rgba(15, 23, 42, 0.3);
    display: grid;
    place-items: center;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.2s, transform 0.2s, background 0.2s, color 0.2s;
}

.hy-rail-wrap:hover .hy-rail-btn {
    opacity: 1;
    transform: none;
}

.hy-rail-btn:hover {
    background: var(--hy-ink);
    color: #fff;
}

.hy-rail-btn.is-prev {
    inset-inline-start: -18px;
}

.hy-rail-btn.is-next {
    inset-inline-end: -18px;
}

[dir="ltr"] .hy-rail-btn .bi {
    transform: scaleX(-1);
}

/* =================== Product card =================== */

.hy-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: transparent;
    border-radius: var(--hy-card-r);
}

.hy-card.is-out {
    opacity: 0.7;
}

.hy-card-media {
    position: relative;
    aspect-ratio: 1;
    padding: 14%;
    border-radius: var(--hy-card-r);
    background:
        radial-gradient(circle at 50% 40%, #fff 0%, transparent 72%),
        var(--hy-photo);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.hy-card:hover .hy-card-media {
    box-shadow: inset 0 0 0 1px var(--hy-line);
}

.hy-card-media > a {
    display: block;
    height: 100%;
}

.hy-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 14px rgba(15, 23, 42, 0.12));
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hy-card:hover .hy-card-media img {
    transform: scale(1.07);
}

.hy-tags {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    pointer-events: none;
}

.hy-tag {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    color: #fff;
    line-height: 1.3;
}

.hy-tag.is-best {
    background: #fff;
    color: var(--hy-ink);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
}

.hy-tag.is-off {
    background: var(--hy-red);
}

.hy-tag.is-new {
    background: var(--hy-cyan);
}

.hy-tag.is-muted {
    background: #64748b;
}

/* Quick add: full-width bar sliding up on hover (desktop), round button on touch */
.hy-quick-add {
    position: absolute;
    inset-inline: 12px;
    bottom: 12px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: var(--hy-ink);
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.25s, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.2s;
}

.hy-quick-add .bi {
    font-size: 1.05rem;
}

.hy-quick-add .spinner-border {
    width: 1rem;
    height: 1rem;
}

.hy-card:hover .hy-quick-add,
.hy-quick-add:focus-visible,
.hy-quick-add:disabled,
.hy-quick-add.btn-success {
    opacity: 1;
    transform: none;
}

.hy-quick-add:hover {
    background: var(--hy-cyan);
}

.hy-quick-add.btn-success {
    background: var(--hy-green);
}

@media (hover: none) {
    .hy-quick-add {
        inset-inline: auto 10px;
        bottom: 10px;
        width: 40px;
        height: 40px;
        padding: 0;
        opacity: 1;
        transform: none;
        font-size: 0;
        background: #fff;
        color: var(--hy-ink);
        box-shadow: 0 6px 16px -4px rgba(15, 23, 42, 0.25);
    }

    .hy-quick-add .bi {
        font-size: 1.15rem;
    }

    .hy-quick-add .hy-quick-label {
        display: none;
    }
}

.hy-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 4px 4px;
    flex: 1;
}

.hy-rank {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--hy-muted);
    font-size: 0.74rem;
    font-weight: 600;
}

.hy-rank .bi {
    font-size: 0.68rem;
    color: #f5a524;
}

.hy-title {
    margin: 0;
    font-size: 0.93rem;
    font-weight: 600;
    line-height: 1.45;
    min-height: 2.9em;
}

html[data-theme="hyper"] .hy-title a {
    color: var(--hy-ink);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

html[data-theme="hyper"] .hy-card:hover .hy-title a {
    color: var(--hy-cyan);
}

.hy-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 2px 10px;
    width: 100%;
}

.hy-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--hy-ink);
    letter-spacing: -0.01em;
}

.hy-card:has(.hy-was) .hy-price {
    color: var(--hy-red);
}

.hy-price small {
    font-size: 0.62em;
    font-weight: 700;
    margin-inline-end: 3px;
}

.hy-was {
    color: var(--hy-muted);
    font-size: 0.85rem;
}

.hy-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    width: 100%;
    font-size: 0.76rem;
    font-weight: 700;
}

.hy-save {
    color: var(--hy-green);
}

.hy-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #c2410c;
}

.hy-stock::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 0 currentColor;
    animation: hy-pulse 1.8s infinite;
}

@keyframes hy-pulse {
    0% { box-shadow: 0 0 0 0 rgba(194, 65, 12, 0.45); }
    70% { box-shadow: 0 0 0 7px rgba(194, 65, 12, 0); }
    100% { box-shadow: 0 0 0 0 rgba(194, 65, 12, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .hy-stock::before {
        animation: none;
    }
}

.hy-delivery {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--hy-muted);
}

.hy-delivery.is-free {
    color: #15803d;
}

/* Hyper cards on listing pages (category, search, all products) */
html[data-theme="hyper"] .sf-grid .hy-card,
html[data-theme="hyper"] .row .hy-card {
    height: 100%;
}

/* Outside white panels (listing pages sit on the grey page) the photo panel is white */
html[data-theme="hyper"] .hy-card-media {
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--hy-line-soft);
}

html[data-theme="hyper"] :is(.hy-panel, .hy-row) .hy-card-media {
    background:
        radial-gradient(circle at 50% 40%, #fff 0%, transparent 72%),
        var(--hy-photo);
    box-shadow: none;
}

html[data-theme="hyper"] .hy-card:hover .hy-card-media {
    box-shadow: inset 0 0 0 1px var(--hy-line);
}

/* =================== Budget cards =================== */

.hy-budget-head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-bottom: 16px;
}

.hy-budget {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

html[data-theme="hyper"] .hy-budget-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 340px;
    padding: 24px;
    border-radius: var(--hy-panel-r);
    overflow: hidden;
    background: var(--hy-tint, #c7ecfb);
    color: #14113a;
    text-decoration: none;
    isolation: isolate;
    transition: transform 0.2s;
}

.hy-budget-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 40px -22px rgba(20, 17, 58, 0.45);
}

.hy-budget-card::before {
    content: "";
    position: absolute;
    left: -20%;
    right: -20%;
    bottom: -40%;
    height: 85%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    z-index: -1;
}

.hy-budget-tag {
    position: absolute;
    top: 18px;
    inset-inline-end: 18px;
    background: var(--hy-red);
    color: #fff;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 8px;
    transform: rotate(-6deg);
}

.hy-budget-under {
    font-weight: 700;
    font-size: 1rem;
}

.hy-budget-amount {
    font-weight: 900;
    font-size: clamp(2.6rem, 1.8rem + 2.2vw, 4rem);
    line-height: 1;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 4px;
}

.hy-budget-amount small {
    font-size: 0.32em;
    letter-spacing: 0;
    font-weight: 900;
}

.hy-budget-text {
    margin-top: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    opacity: 0.85;
}

.hy-budget-thumbs {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: auto;
    padding-top: 16px;
    height: 120px;
}

.hy-budget-thumbs img {
    width: 30%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: drop-shadow(0 6px 10px rgba(20, 17, 58, 0.18));
}

.hy-budget-cta {
    align-self: flex-start;
    margin-top: 14px;
    background: #14113a;
    color: #fff;
    padding: 9px 18px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.88rem;
}

[dir="ltr"] .hy-budget-cta .bi {
    transform: scaleX(-1);
}

/* =================== Footer =================== */

html[data-theme="hyper"] footer.hy-footer {
    margin-top: 48px;
    background: #fff !important;
    color: var(--hy-ink);
    border-top: 1px solid var(--hy-line-soft);
}

.hy-news {
    padding: 34px 0 0;
}

.hy-news-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding: 40px 44px;
    border-radius: 28px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--hy-cyan) 70%, transparent), transparent 55%),
        radial-gradient(circle at 95% 110%, color-mix(in srgb, var(--hy-cyan) 45%, transparent), transparent 50%),
        var(--hy-navy);
}

.hy-news-eyebrow {
    font-weight: 700;
    font-size: 0.8rem;
    opacity: 0.8;
}

html[data-theme="hyper"] .hy-news h2 {
    color: #fff;
    font-size: clamp(1.4rem, 1.1rem + 1vw, 2.1rem);
    font-weight: 800;
    margin: 6px 0;
}

.hy-news p {
    margin: 0;
    opacity: 0.8;
    max-width: 520px;
}

.hy-news-form {
    display: flex;
    flex: 0 1 460px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 5px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.hy-news-form:focus-within {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
}

html[data-theme="hyper"] .hy-news-form input,
html[data-theme="hyper"] .hy-news-form input:focus {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    border-radius: 0;
    box-shadow: none;
    padding-inline: 18px;
    background: transparent;
    color: #fff;
}

.hy-news-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.hy-news-form button {
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: var(--hy-navy);
    font-weight: 800;
    padding: 11px 26px;
    transition: transform 0.2s;
}

.hy-news-form button:hover {
    transform: scale(1.03);
}

.hy-foot-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 40px;
    padding-block: 52px 40px;
}

.hy-foot-grid h3 {
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0 0 16px;
}

.hy-foot-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

html[data-theme="hyper"] .hy-foot-grid a {
    color: var(--hy-muted);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s;
}

html[data-theme="hyper"] .hy-foot-grid a:hover {
    color: var(--hy-ink);
}

.hy-foot-brand img {
    height: 44px;
    width: auto;
    margin-bottom: 14px;
}

.hy-foot-brand p {
    color: var(--hy-muted);
    max-width: 360px;
    font-size: 0.92rem;
    line-height: 1.7;
}

.hy-foot-brand h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.hy-foot-social {
    display: flex;
    gap: 8px;
}

html[data-theme="hyper"] .hy-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid var(--hy-line);
    background: #fff;
    color: var(--hy-ink);
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

html[data-theme="hyper"] .hy-social-btn:hover {
    background: var(--hy-ink);
    border-color: var(--hy-ink);
    color: #fff;
    transform: translateY(-2px);
}

.hy-foot-brand .hy-pay-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.hy-pay-list li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--hy-soft);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 700;
}

.hy-foot-bottom {
    border-top: 1px solid var(--hy-line-soft);
    padding: 18px 0;
    color: var(--hy-muted);
    font-size: 0.84rem;
}

/* =================== Responsive =================== */

@media (max-width: 1399.98px) {
    .hy-rail {
        grid-auto-columns: calc((100% - 4 * 14px) / 5);
    }
}

@media (max-width: 1199.98px) {
    .hy-rail {
        grid-auto-columns: calc((100% - 3 * 14px) / 4);
    }

    .hy-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hy-trio {
        grid-template-columns: 1fr 1fr;
    }

    .hy-trust {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hy-trust li:nth-child(3) {
        border-inline-start: 0;
    }

    .hy-trust li:nth-child(n + 3) {
        border-top: 1px solid var(--hy-line-soft);
    }

    .hy-trio > .hy-panel:last-child {
        grid-column: 1 / -1;
    }

    .hy-focus {
        aspect-ratio: 16 / 7;
    }

    .hy-budget,
    .hy-banners {
        display: grid;
        grid-auto-flow: column;
        grid-template-columns: none;
        grid-auto-columns: 30%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .hy-budget > *,
    .hy-banners > * {
        scroll-snap-align: start;
    }
}

@media (max-width: 991.98px) {
    .hy-hero {
        grid-template-columns: 1fr;
    }

    .hy-hero-side {
        min-height: 0;
        aspect-ratio: 16 / 8;
    }

    .hy-hero-side img {
        width: 38%;
    }

    .hy-hero-side.is-image {
        aspect-ratio: 16 / 7;
        min-height: 0;
    }

    .hy-foot-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hy-foot-brand {
        grid-column: 1 / -1;
    }

    .hy-rail {
        grid-auto-columns: calc((100% - 2 * 14px) / 3);
        gap: 14px;
    }

    .hy-news-row {
        padding: 30px 24px;
        border-radius: 22px;
    }

    .hy-rail-btn {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .hy-block {
        margin-block: 18px;
    }

    .hy-panel,
    .hy-row {
        padding: 18px 14px;
        border-radius: 20px;
    }

    .hy-panel-head {
        margin-bottom: 14px;
    }

    .hy-trust li {
        padding: 14px 12px;
        gap: 10px;
    }

    .hy-trust-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        font-size: 1.1rem;
    }

    .hy-trust strong {
        font-size: 0.82rem;
    }

    .hy-trust small {
        font-size: 0.72rem;
    }

    .hy-panel-head {
        align-items: center;
    }


    .hy-trio {
        grid-template-columns: 1fr;
    }

    .hy-focus {
        aspect-ratio: 4 / 3;
    }

    .hy-groups {
        grid-template-columns: 1fr;
    }

    .hy-group-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .hy-group-name {
        font-size: 0.76rem;
        -webkit-line-clamp: 2;
    }

    .hy-rail {
        grid-auto-columns: 46%;
        gap: 10px;
    }

    .hy-cat-tiles {
        grid-auto-columns: 84px;
        gap: 14px;
    }

    .hy-cat-badge {
        font-size: 0.66rem;
        padding: 2px 7px;
    }

    .hy-cat-name {
        font-size: 0.8rem;
    }

    .hy-budget {
        grid-auto-columns: 62%;
    }

    .hy-banners {
        grid-auto-columns: 46%;
    }

    .hy-budget-card {
        min-height: 300px;
    }

    .hy-card-body {
        padding: 10px 2px 2px;
        gap: 5px;
    }

    .hy-title {
        font-size: 0.85rem;
    }

    .hy-price {
        font-size: 1.05rem;
    }

    .hy-tags {
        top: 8px;
        inset-inline-start: 8px;
    }

    .hy-tag {
        font-size: 0.64rem;
        padding: 3px 8px;
    }

    .hy-news-form {
        flex-basis: 100%;
    }

    .hy-foot-grid {
        padding-block: 30px;
        gap: 24px;
    }
}
