#logo{
    height: 55px;

}

#bookmark{
    height: 34px
}
* { box-sizing: border-box; }

/* Colour tokens. Text contrast (WCAG AA, 4.5:1 for normal text) is checked against
   the three surfaces text sits on: --ff-bg, --ff-card and --ff-track.
   - --ff-text (5.2:1 on the card blue) and --ff-text-secondary (4.6:1 there) pass on
     all three. The secondary grey used to be #D7DCEA, which is only 3.8:1 on the card.
   - --ff-gold passes on --ff-bg, --ff-track and dark pills, but only 3.4:1 on the
     card blue: there it's for text 24px and up (headline numbers), never small text.
   - --ff-up / --ff-down / --ff-neutral are price direction colours, for text on
     --ff-pill-bg (the dark pill used for prices and tags), where they pass. Gold stays
     the brand accent and never signals a price going up or down. */
:root {
    --ff-bg: #141417;
    --ff-navbar-bg: #0c0d0f;
    --ff-card: #5B6C93;
    --ff-card-border: #6E7EA4;
    --ff-track: #47567A;
    --ff-text: #FFFFFF;
    --ff-text-secondary: #EEF1F9;
    --ff-gold: #FFC94D;
    --ff-teal: #1D9E75;
    --ff-coral: #F0997B;
    --ff-pill-bg: rgba(16, 17, 20, 0.72);
    --ff-up: #6FE0B2;
    --ff-down: #FFB4A0;
    --ff-neutral: #C9CED9;
    --ff-heart: #FF9BB0;
    --ff-danger-bg: #8A2A1C;   /* fill behind white text for destructive buttons */
}

.montserrat-400 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.roboto-400 {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

body {
    margin: 0;
    padding: 0;
    background: var(--ff-bg);
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ff-text);
}

/* Text only screen readers hear (price pill wording, icon button names) */
.ff-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ===== Switch =====
   A real checkbox (<input type="checkbox" role="switch" class="ff-switch">) inside its
   <label>, drawn as a switch. Being a checkbox it's reachable with Tab and toggles with
   Space; account-ui.js adds Enter. The white knob keeps it visible on any background. */
.ff-switch {
    appearance: none;
    flex-shrink: 0;
    position: relative;
    width: 44px;
    height: 24px;
    margin: 0;
    background: rgba(16, 17, 20, 0.55);
    border: 1px solid var(--ff-card-border);
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.ff-switch::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: var(--ff-text);
    border-radius: 50%;
    transition: transform 0.15s ease;
}

.ff-switch:checked {
    background: var(--ff-gold);
    border-color: var(--ff-gold);
}

.ff-switch:checked::after {
    transform: translateX(20px);
    background: #1a1a1a;
}

.ff-switch:focus-visible {
    outline: 2px solid var(--ff-gold);
    outline-offset: 3px;
}

.ff-switch:disabled {
    opacity: 0.5;
    cursor: wait;
}

@media (prefers-reduced-motion: reduce) {
    .ff-switch,
    .ff-switch::after {
        transition: none;
    }
}

/* ===== Navbar ===== */
/* Built by buildNav() in account-ui.js. Wide: links | logo | search + account.
   Below 768px: menu button | logo | search + account, links in a panel underneath. */
.ff-navbar {
    position: relative;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "links logo actions";
    align-items: center;
    background: var(--ff-navbar-bg);
    padding: 20px 40px;
    border-radius: 0 0 20px 20px;
    margin-bottom: 30px;
}

.ff-navbar-links {
    grid-area: links;
    display: flex;
    gap: 28px;
}

.ff-navbar-logo {
    grid-area: logo;
}

.ff-navbar-actions {
    grid-area: actions;
}

.ff-menu-btn {
    grid-area: menu;
    display: none;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--ff-text);
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    cursor: pointer;
}

.ff-menu-btn:focus-visible,
.ff-navbar-links a:focus-visible,
.ff-navbar-logo a:focus-visible,
.ff-profile-btn:focus-visible {
    outline: 2px solid var(--ff-gold);
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .ff-navbar {
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            "menu logo actions"
            "links links links";
        gap: 0 8px;   /* tight enough that menu, logo, currency, search and account fit at 360px */
        padding: 12px;
    }

    .ff-menu-btn {
        display: grid;
    }

    .ff-navbar-logo {
        justify-self: center;
    }

    .ff-navbar-logo #logo {
        height: 36px;
    }

    .ff-navbar-actions {
        gap: 6px;
    }

    /* The links fold into a panel under the bar, opened by the menu button */
    .ff-navbar-links {
        display: none;
        flex-direction: column;
        gap: 0;
        margin-top: 12px;
        padding-top: 6px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .ff-navbar.is-menu-open .ff-navbar-links {
        display: flex;
    }

    .ff-navbar-links a {
        padding: 12px 4px;
        font-size: 16px;
    }

    /* Without JavaScript (no menu button) keep the links showing */
    .ff-navbar:not(:has(.ff-menu-btn)) .ff-navbar-links {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0 16px;
    }
}

.ff-navbar-links a {
    color: var(--ff-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.ff-navbar-links a[aria-current="page"] {
    color: var(--ff-gold);
}

.ff-navbar-logo a {
    color: var(--ff-text);
    text-decoration: none;
    font-weight: 800;
    font-size: 22px;
}

.ff-navbar-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 14px;
}

.ff-search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--ff-text);
    color: #1a1a1a;
    border: none;
    border-radius: 20px;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.ff-profile-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--ff-text);
    color: #1a1a1a;
    border: none;
    display: grid;
    place-items: center;
    cursor: pointer;
}

/* Signed out: a "Sign in" pill instead of the round icon */
.ff-profile-btn--signin {
    width: auto;
    padding: 0 14px;
    white-space: nowrap;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    border-radius: 999px;
}

/* Signed in: your photo, or your initial on gold */
.ff-profile-btn--me {
    overflow: hidden;
    font: inherit;
    font-size: 16px;
    font-weight: 800;
    background: var(--ff-gold);
}

.ff-profile-btn--me img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#sideScroll{
    display: flex;
    overflow-x: auto;
    border:1px transparent white;
    padding-left: 25px;
    padding-right: 25px;
}

.figure-card {
    flex: 0 0 12.5%;

    border-radius: 12px;
    border: 2px solid black;

    background: white;
}

.figure-card a {
    text-decoration: none;
    color: inherit;
}

.figure-image {
    width: 100%;
    border-radius: 12px;
    aspect-ratio: 1.05 / 1.4;

    overflow: hidden;
}

.figure-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}

.figure-info {
    padding: 12px;
    color: #000;
}

.figure-title {
    font-size: 1.5rem;
    margin: 0 0 6px 0;
}

.figure-series {
    font-size: 0.9rem;
    margin: 0;
}

/* ===== Expanding nav search ===== */
.ff-nav-search {
    position: relative;
    width: 38px;
    height: 38px;
    margin: 0;
}

.ff-nav-search__box {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    width: 38px;
    height: 38px;
    overflow: hidden;
    background: var(--ff-text);
    border-radius: 999px;
    transition: width 0.25s ease, box-shadow 0.25s ease;
}

.ff-nav-search__input {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    height: 100%;
    padding: 0;
    font: inherit;
    font-size: 14px;
    color: #1a1a1a;
    background: transparent;
    border: none;
    outline: none;
    opacity: 0;
    transition: opacity 0.2s ease, padding 0.25s ease;
}

.ff-nav-search__input::placeholder {
    color: #6b7080;
}

.ff-nav-search__icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    color: #1a1a1a;
    background: transparent;
    border: none;
    cursor: pointer;
}

/* Open while focused (after a click or tap) */
.ff-nav-search:focus-within .ff-nav-search__box {
    width: min(240px, 70vw);
    box-shadow: 0 0 0 2px var(--ff-gold);
}

.ff-nav-search:focus-within .ff-nav-search__input {
    opacity: 1;
    padding-left: 16px;
}

/* Open on hover (mouse only) */
@media (hover: hover) {
    .ff-nav-search:hover .ff-nav-search__box {
        width: min(240px, 70vw);
    }

    .ff-nav-search:hover .ff-nav-search__input {
        opacity: 1;
        padding-left: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ff-nav-search__box,
    .ff-nav-search__input {
        transition: none;
    }
}

/* =====================================================================
   Home page
   ===================================================================== */
.hm-page {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 24px;
}

.hm-page h1,
.hm-page h2,
.hm-footer__brand {
    font-family: "Montserrat", sans-serif;
}

/* ===== Hero ===== */
.hm-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 48px;
    align-items: center;
    padding: 56px;
    background: var(--ff-card);
    border-radius: 24px;
}

.hm-eyebrow {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hm-hero__title {
    margin: 0 0 18px;
    font-size: clamp(34px, 4.6vw, 56px);
    font-weight: 800;
    line-height: 1.05;
}

.hm-hero__text {
    margin: 0 0 28px;
    max-width: 520px;
    font-size: 17px;
    line-height: 1.55;
}

.hm-search {
    display: flex;
    max-width: 580px;
    padding: 5px;
    background: var(--ff-text);
    border-radius: 999px;
}

.hm-search input {
    flex: 1;
    min-width: 0;
    padding: 0 16px;
    font: inherit;
    font-size: 15px;
    color: #1a1a1a;
    background: transparent;
    border: none;
    outline: none;
}

.hm-search input::placeholder {
    color: #6b7080;
}

.hm-search button {
    padding: 11px 26px;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    background: var(--ff-gold);
    border: none;
    border-radius: 999px;
    cursor: pointer;
}

.hm-search:focus-within {
    box-shadow: 0 0 0 3px var(--ff-gold);
}

.hm-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.hm-chip {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ff-text);
    text-decoration: none;
    background: var(--ff-track);
    border: 1px solid var(--ff-card-border);
    border-radius: 999px;
    transition: border-color 0.15s ease;
}

.hm-chip:hover,
.hm-chip:focus-visible {
    border-color: var(--ff-gold);
    outline: none;
}

/* ===== Spotlight ===== */
.hm-spotlight {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 22px;
    color: var(--ff-text);
    text-decoration: none;
    background: var(--ff-track);
    border: 1px solid var(--ff-card-border);
    border-radius: 18px;
    transition: border-color 0.15s ease;
}

.hm-spotlight:hover,
.hm-spotlight:focus-visible {
    border-color: var(--ff-gold);
    outline: none;
}

.hm-spotlight__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hm-spotlight__top {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.hm-spotlight__media {
    flex: 0 0 40%;
    max-width: 200px;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.22);
    border-radius: 12px;
}

.hm-spotlight__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

.hm-spotlight__series {
    font-size: 13px;
    color: var(--ff-text-secondary);
}

.hm-spotlight__title {
    margin: 4px 0 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.hm-spotlight__link {
    font-size: 14px;
    font-weight: 700;
    color: var(--ff-gold);
}

/* Price range bar (renderPriceRange in figure-cards.js): green = eBay low to high,
   gold marker = RRP, white marker = average. No text sits on the green track; the
   labels are under it, in plain text colours, with a swatch matching each marker. */
.hm-range__title {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hm-range__title span {
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    color: var(--ff-text-secondary);
}

.hm-range__bar {
    position: relative;
    height: 6px;
    margin: 14px 0 10px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 999px;
}

.hm-range__fill {
    position: absolute;
    top: 0;
    bottom: 0;
    background: var(--ff-teal);
    border-radius: 999px;
}

.hm-range__mark {
    position: absolute;
    top: -5px;
    width: 4px;
    height: 16px;
    margin-left: -2px;
    border-radius: 2px;
}

.hm-range__mark--rrp { background: var(--ff-gold); }
.hm-range__mark--avg { background: var(--ff-text); }

/* RRP and Avg labels: placed under their markers by placeRangeLabels() */
.hm-range__labels {
    position: relative;
    height: 20px;
}

.hm-range__label {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.hm-range__label::before {
    content: "";
    width: 4px;
    height: 12px;
    border-radius: 2px;
}

.hm-range__label--rrp::before { background: var(--ff-gold); }
.hm-range__label--avg::before { background: var(--ff-text); }

/* eBay low / high */
.hm-range__ends {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
    font-size: 13px;
    color: var(--ff-text-secondary);
}

.hm-range__summary {
    margin: 10px 0 0;
    font-size: 14px;
    font-weight: 600;
}

/* ===== Sections ===== */
.hm-section {
    margin-top: 56px;
}

.hm-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.hm-section__head h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
}

.hm-section__head p {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--ff-text-secondary);
}

/* "See all" link and the row's ‹ › buttons (row-scroll.js) */
.hm-section__tools {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 14px;
}

.hm-row-nav {
    display: flex;
    gap: 6px;
}

.hm-row-nav__btn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--ff-text);
    background: var(--ff-track);
    border: 1px solid var(--ff-card-border);
    border-radius: 50%;
    cursor: pointer;
}

.hm-row-nav__btn:hover:not(:disabled) {
    border-color: var(--ff-gold);
}

.hm-row-nav__btn:focus-visible {
    outline: 2px solid var(--ff-gold);
    outline-offset: 2px;
}

.hm-row-nav__btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.hm-section__head a {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--ff-gold);
    text-decoration: none;
}

.hm-section__head a:hover {
    text-decoration: underline;
}

/* Horizontal scrolling row of figure cards */
.hm-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 210px;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: 6px 2px 16px; /* room for the card hover lift and shadow */
    scrollbar-width: thin;
    scrollbar-color: var(--ff-card) transparent;
}

.hm-row > * {
    scroll-snap-align: start;
}

.hm-row__empty {
    margin: 0;
    padding: 24px 0;
    color: var(--ff-text-secondary);
    font-size: 14px;
}

/* "#1" badge on the top few Trending cards: the same dark pill, in gold */
.hm-rank {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 1;
    padding: 3px 9px;
    font-size: 12px;
    font-weight: 800;
    color: var(--ff-gold);
    background: rgba(16, 17, 20, 0.72);
    border-radius: 999px;
}

/* ===== Browse by series ===== */
.hm-series {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}

.hm-series__tile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-height: 92px;
    padding: 16px;
    color: var(--ff-text);
    text-decoration: none;
    border: 1px solid var(--ff-card-border);
    border-radius: 14px;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.hm-series__tile:hover,
.hm-series__tile:focus-visible {
    transform: translateY(-3px);
    border-color: var(--ff-gold);
    outline: none;
}

.hm-series__tile--0 { background: #3E4A6B; }
.hm-series__tile--1 { background: #4A3F63; }
.hm-series__tile--2 { background: #2F4A50; }
.hm-series__tile--3 { background: #5A3F57; }
.hm-series__tile--4 { background: #3D4C66; }

.hm-series__name {
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    font-weight: 700;
}

.hm-series__link {
    font-size: 13px;
    color: var(--ff-text-secondary);
}

/* Series tiles with a figure photo behind the name. Tiles without a photo keep
   their plain colour; the photo is darkened at the bottom so the name stays readable. */
.hm-series .hm-series__tile {
    position: relative;
    overflow: hidden;
    min-height: 170px;
    justify-content: flex-end;
}

.hm-series__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.35s ease;
}

.hm-series__tile--photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 13, 15, 0.92) 0%, rgba(12, 13, 15, 0.55) 45%, rgba(12, 13, 15, 0.05) 100%);
    pointer-events: none;
}

.hm-series .hm-series__name,
.hm-series .hm-series__link {
    position: relative;
    z-index: 1;
}

.hm-series__tile--photo .hm-series__name {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.hm-series__tile--photo .hm-series__link {
    color: var(--ff-text);
}

.hm-series__tile--photo:hover .hm-series__photo,
.hm-series__tile--photo:focus-visible .hm-series__photo {
    transform: scale(1.06);
}

/* ===== Sign-up banner ===== */
.hm-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 56px;
    padding: 40px 48px;
    background: var(--ff-card);
    border-radius: 24px;
}

.hm-cta[hidden] {
    display: none;
}

.hm-cta h2 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 700;
}

.hm-cta p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

.hm-cta__actions {
    display: flex;
    flex-shrink: 0;
    gap: 12px;
}

.hm-btn {
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 10px;
    transition: filter 0.15s ease, border-color 0.15s ease;
}

.hm-btn--gold {
    color: #1a1a1a;
    background: var(--ff-gold);
}

.hm-btn--gold:hover {
    filter: brightness(1.08);
}

.hm-btn--outline {
    color: var(--ff-text);
    background: var(--ff-track);
    border-color: var(--ff-card-border);
}

.hm-btn--outline:hover {
    border-color: var(--ff-gold);
}

/* ===== Footer ===== */
.hm-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1220px;
    margin: 72px auto 0;
    padding: 28px 24px 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
}

.hm-footer__brand {
    font-size: 18px;
    font-weight: 800;
}

.hm-footer__links {
    display: flex;
    gap: 22px;
}

.hm-footer__links a {
    color: var(--ff-text-secondary);
    text-decoration: none;
}

.hm-footer__links a:hover {
    color: var(--ff-text);
}

.hm-footer__copy {
    color: var(--ff-text-secondary);
}

/* ===== Smaller screens ===== */
@media (max-width: 900px) {
    .hm-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        padding: 36px 28px;
    }

    .hm-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 28px;
    }
}

/* ===== Touch targets =====
   On phones everything you tap is at least 44×44px. Done here once, for every page,
   rather than per component: controls get a minimum size, and stand-alone text links
   (navbar, breadcrumbs, "See all", footer) get a 44px-tall tappable box around the text. */
@media (max-width: 767px) {
    button,
    select,
    [role="button"],
    .hm-btn,
    .hm-chip {
        min-width: 44px;
        min-height: 44px;
    }

    /* A tick box or switch is tapped through its label, so the label gets the size */
    label:has(> input[type="checkbox"]),
    label:has(> input[type="radio"]) {
        min-height: 44px;
    }

    .ff-currency,
    .ff-nav-search,
    .ff-nav-search__box,
    .ff-nav-search__icon,
    .ff-profile-btn {
        height: 44px;
    }

    .ff-nav-search,
    .ff-nav-search__box,
    .ff-nav-search__icon,
    .ff-profile-btn:not(.ff-profile-btn--signin) {
        width: 44px;
    }

    .ff-navbar-logo a,
    .hm-section__head a,
    .hm-footer__links a,
    nav[aria-label="Breadcrumb"] a,
    [class$="crumbs"] a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
    }
}

@media (max-width: 600px) {
    .hm-page {
        padding: 0 16px;
    }

    .hm-hero {
        padding: 28px 20px;
        border-radius: 18px;
    }

    .hm-search button {
        padding: 11px 18px;
    }

    .hm-row {
        grid-auto-columns: 170px;
        gap: 12px;
    }

    .hm-section__head h2 {
        font-size: 22px;
    }

    .hm-cta__actions {
        flex-wrap: wrap;
    }

    .hm-footer {
        flex-direction: column;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hm-chip,
    .hm-spotlight,
    .hm-series__tile,
    .hm-series__photo,
    .hm-btn {
        transition: none;
    }

    .hm-series__tile--photo:hover .hm-series__photo,
    .hm-series__tile--photo:focus-visible .hm-series__photo {
        transform: none;
    }
}