:root {
    color-scheme: light;
    --canvas: #f3f5f7;
    --surface: #ffffff;
    --surface-muted: #f7f8fa;
    --ink: #17212b;
    --muted: #66717d;
    --line: #dfe4e8;
    --accent: #f15a24;
    --accent-strong: #d84614;
    --accent-soft: #fff0ea;
    --deal-red: #d62f36;
    --deal-red-soft: #fff1f2;
    --success: #20764d;
    --header: #17212b;
    --header-ink: #f8fafb;
    --content-layout-background: transparent;
    --shadow: 0 18px 45px rgba(23, 33, 43, 0.08);
    --radius-large: 24px;
    --radius: 16px;
    --max-width: 1240px;
}

html[data-theme="dark"] {
    color-scheme: dark;
    --canvas: #10171e;
    --surface: #303030;
    --surface-muted: #252525;
    --ink: #f1f5f7;
    --muted: #a6b1bb;
    --line: #34424e;
    --accent: #ff6a34;
    --accent-strong: #ff7c4b;
    --accent-soft: #3b271f;
    --deal-red: #d62f36;
    --deal-red-soft: #3b2328;
    --success: #68c897;
    --header: #0c1218;
    --header-ink: #f8fafb;
    --content-layout-background: #252525;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.26);
}

@media (prefers-color-scheme: dark) {
    html[data-theme="auto"] {
        color-scheme: dark;
        --canvas: #10171e;
        --surface: #303030;
        --surface-muted: #252525;
        --ink: #f1f5f7;
        --muted: #a6b1bb;
        --line: #34424e;
        --accent: #ff6a34;
        --accent-strong: #ff7c4b;
        --accent-soft: #3b271f;
        --deal-red: #d62f36;
        --deal-red-soft: #3b2328;
        --success: #68c897;
        --header: #0c1218;
        --header-ink: #f8fafb;
        --content-layout-background: #252525;
        --shadow: 0 20px 50px rgba(0, 0, 0, 0.26);
    }
}

.deals-modern,
.deals-modern *,
.deals-modern *::before,
.deals-modern *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.deals-modern {
    background: var(--canvas);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
}

.deals-modern a {
    color: inherit;
    text-decoration: none;
}

.deals-modern button,
.deals-modern a {
    -webkit-tap-highlight-color: transparent;
}

.deals-modern button:focus-visible,
.deals-modern a:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--accent) 65%, transparent);
    outline-offset: 3px;
}

.comparator-header__topbar-inner,
.comparator-header__navbar-inner,
.hero__inner,
.comparator-footer__grid,
.comparator-footer__bottom-inner {
    width: min(calc(100% - 40px), var(--max-width));
    margin-inline: auto;
}

.comparator-header {
    position: relative;
    z-index: 30;
    isolation: isolate;
    overflow: hidden;
    padding-bottom: 24px;
    color: #ffffff;
    background: linear-gradient(90deg, #ff4d4d 0%, #f16022 100%);
}

.comparator-header__topbar {
    min-height: 42px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.comparator-header__topbar-inner {
    min-height: 42px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.comparator-trends,
.comparator-trends ul,
.comparator-header__tools {
    display: flex;
    align-items: center;
}

.comparator-trends {
    min-width: 0;
    gap: 12px;
    font-size: 11px;
    font-weight: 750;
    text-transform: uppercase;
}

.comparator-trends strong {
    flex: 0 0 auto;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(28, 30, 35, 0.25);
    font-size: 10px;
    letter-spacing: 0.06em;
}

.comparator-trends ul {
    min-width: 0;
    gap: 23px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
}

.comparator-trends a:hover {
    color: #70251f;
}

.comparator-header__tools {
    flex: 0 0 auto;
    gap: 12px;
}

.comparator-header__search-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.comparator-header__search-link:hover {
    color: #70251f;
}

.comparator-theme {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.comparator-theme button {
    min-width: 27px;
    height: 27px;
    padding: 0 7px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.comparator-theme button:hover,
.comparator-theme button.active,
.comparator-theme button.is-active {
    color: #aa372e;
    border-color: #ffffff;
    background: #ffffff;
}

.comparator-header__navbar {
    background: transparent;
}

.comparator-header__navbar-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.comparator-wordmark {
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: center;
    min-width: 208px;
    color: #ffffff;
    line-height: 1;
}

.comparator-wordmark__name {
    font-size: 33px;
    font-weight: 950;
    letter-spacing: -0.075em;
}

.comparator-wordmark__subtitle {
    margin-top: 5px;
    padding-left: 2px;
    color: #eef0f2;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.23em;
    text-transform: uppercase;
}

.comparator-navigation {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
}

.comparator-navigation a {
    position: relative;
    padding: 31px 0 29px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.comparator-navigation a::after {
    position: absolute;
    right: 0;
    bottom: 22px;
    left: 0;
    height: 2px;
    border-radius: 2px;
    background: #70251f;
    content: "";
    opacity: 0;
    transform: scaleX(0.45);
    transition: opacity 160ms ease, transform 160ms ease;
}

.comparator-navigation a:hover,
.comparator-navigation a[aria-current="page"] {
    color: #70251f;
}

.comparator-navigation a:hover::after,
.comparator-navigation a[aria-current="page"]::after {
    opacity: 1;
    transform: scaleX(1);
}

.comparator-menu-toggle {
    display: none;
    width: 45px;
    height: 42px;
    margin-left: auto;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 9px;
    background: transparent;
    cursor: pointer;
}

.comparator-menu-toggle span:not(.visually-hidden) {
    display: block;
    width: 21px;
    height: 2px;
    margin: 5px auto;
    border-radius: 2px;
    background: #ffffff;
}

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

.comparator-header__wave {
    position: absolute;
    z-index: -1;
    right: -4%;
    bottom: -45px;
    left: -4%;
    height: 70px;
    border-radius: 0 0 50% 50%;
    background: linear-gradient(90deg, #ff4d4d 0%, #f16022 100%);
    transform: rotate(-1deg);
    pointer-events: none;
}

.hero {
    padding: 74px 0 68px;
    color: #ffffff;
    background:
        radial-gradient(circle at 82% 18%, rgba(241, 90, 36, 0.22), transparent 29%),
        linear-gradient(135deg, #17212b 0%, #202f3c 100%);
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 60px;
    align-items: end;
}

.hero__eyebrow,
.section-kicker {
    display: block;
    margin-bottom: 11px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 800px;
    margin: 0;
    font-size: clamp(38px, 5vw, 66px);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.hero p {
    max-width: 720px;
    margin: 22px 0 0;
    color: #bfc9d1;
    font-size: clamp(16px, 2vw, 19px);
}

.hero__comparator {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 20px 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.07);
    transition: transform 180ms ease, border-color 180ms ease;
}

.hero__comparator span {
    color: #bfc9d1;
    font-size: 13px;
}

.hero__comparator:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.page-shell {
    padding: 28px 0 70px;
}

.deals-modern .blog-details-area {
    padding-top: 34px;
}

.deals-modern .page-path {
    margin-bottom: 17px;
    color: var(--muted);
}

.deals-modern > .blog-details-area h1 {
    margin-bottom: 12px;
    color: var(--ink);
}

.deals-modern__intro {
    max-width: 780px;
    margin: 0;
    color: var(--muted);
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
    gap: 24px;
    align-items: start;
    background: var(--content-layout-background);
}

.deals-panel,
.sidebar-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-large);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.deals-panel {
    min-width: 0;
    overflow: clip;
}

.deals-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 30px;
    border-bottom: 1px solid var(--line);
}

.deals-toolbar h2,
.sidebar-card h2 {
    margin: 0;
    color: var(--ink);
    font-size: 26px;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.deals-toolbar p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.sort-control {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-muted);
    white-space: nowrap;
}

.sort-control a {
    padding: 8px 11px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 750;
}

.sort-control a:hover,
.sort-control a.is-active {
    color: var(--ink);
    background: var(--surface);
    box-shadow: 0 2px 10px rgba(23, 33, 43, 0.08);
}

.brand-filter {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 15px 30px;
    border-bottom: 1px solid var(--line);
    background: var(--surface-muted);
}

.brand-filter[hidden],
.deal-row[hidden],
.deals-list__ad[hidden] {
    display: none;
}

.brand-filter label {
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.brand-filter select {
    width: min(100%, 310px);
    min-height: 42px;
    padding: 8px 38px 8px 13px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink);
    background: var(--surface);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.brand-filter select:focus-visible {
    outline: 3px solid var(--accent-soft);
    outline-offset: 2px;
    border-color: var(--accent);
}

.brand-filter select option {
    color: var(--ink);
    background: var(--surface);
}

.deals-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.deals-modern .deals-list > li {
    list-style: none;
}

.deals-modern .deals-list > li::marker {
    content: "";
}

.deals-modern .deals-list > .deals-list__ad::before {
    margin: 0;
    content: none;
    counter-increment: none;
}

.deal-row {
    position: relative;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 144px;
    gap: 26px;
    align-items: center;
    margin: 0;
    padding: 24px 30px;
    border-bottom: 1px solid var(--line);
    transition: background-color 160ms ease;
}

.deal-row:last-child {
    border-bottom: 0;
}

.deal-row:hover {
    background: var(--surface-muted);
}

.deal-row::before {
    position: absolute;
    inset: 18px auto 18px 0;
    width: 3px;
    border-radius: 0 4px 4px 0;
    background: var(--accent);
    content: "";
    counter-increment: none;
    opacity: 0;
    transform: scaleY(0.5);
    transition: opacity 160ms ease, transform 160ms ease;
}

.deal-row:hover::before {
    opacity: 1;
    transform: scaleY(1);
}

.deal-row__visual {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.deal-row__image-wrap {
    position: relative;
}

.deal-row__hot-badge {
    position: absolute;
    z-index: 2;
    top: -10px;
    left: -10px;
    width: 45px;
    height: 45px;
    background: url("https://kulturegeek.fr/wp-content/themes/KultureGeekv2/assets/img/icon-hot-alt.svg") center / contain no-repeat;
    filter: drop-shadow(0 5px 10px rgba(23, 33, 43, 0.18));
}

.deal-row__image-link {
    width: 150px;
    height: 118px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
}

.deal-row__image {
    width: 100%;
    height: 100%;
    padding: 8px;
    object-fit: contain;
}

.deal-row__image-placeholder {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 24px;
    font-weight: 850;
}

.deal-row__content {
    min-width: 0;
}

.deal-row__eyebrow {
    display: flex;
    gap: 7px;
    align-items: center;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.deal-row__eyebrow a {
    color: var(--accent);
}

.deal-row__title {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.38;
    letter-spacing: -0.01em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.deal-row__title a:hover {
    color: var(--accent);
}

.deal-row__date {
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
}

.deal-row__share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 2px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
}

.deal-row__share > span:first-child {
    flex-basis: 100%;
    text-align: center;
}

.deal-row__share a {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--muted);
    background: var(--surface);
    transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.deal-row__share a:hover {
    border-color: var(--accent);
    color: #ffffff;
    background: var(--accent);
}

.share-x-mark {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

.deal-row__price-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 12px;
    text-align: center;
}

.deal-row__discount {
    display: inline-flex;
    margin-bottom: 7px;
    padding: 4px 8px;
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 12px;
    font-weight: 850;
}

.deal-row__price {
    color: var(--deal-red);
    font-size: 23px;
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.deal-row__reference {
    margin-top: 7px;
    color: var(--muted);
    font-size: 10px;
}

.deal-row__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.deals-modern .button--primary {
    border-color: var(--deal-red);
    color: #ffffff;
    background: var(--deal-red);
}

.deals-modern .button--primary:hover {
    border-color: var(--deal-red);
    color: var(--deal-red);
    background: var(--surface);
}

.deals-modern .button--secondary {
    border-color: var(--accent);
    background: var(--surface);
    color: var(--accent);
}

.deals-modern .button--secondary:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: #ffffff;
}

.deals-modern .button--dark {
    width: 100%;
    margin-top: 4px;
    color: #ffffff;
    background: var(--accent);
}

.deals-modern .button--dark:hover {
    color: #ffffff;
    background: var(--accent-strong);
}

.deals-list__ad {
    display: block;
    border-bottom: 1px solid var(--line);
}

.deals-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 22px 24px;
    border-top: 1px solid var(--line);
    background: var(--surface-muted);
}

.deals-pagination[hidden] {
    display: none;
}

.deals-page-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 24px;
    padding: 25px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.deals-page-share h2 {
    margin: 3px 0 0;
    color: var(--ink);
    font-size: 21px;
}

.deals-page-share__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.deals-page-share__actions a,
.deals-page-share__actions button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0;
    padding: 8px 13px;
    border: 0;
    border-radius: 10px;
    color: #ffffff;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: filter 150ms ease, transform 150ms ease;
}

.deals-page-share__actions a:hover,
.deals-page-share__actions button:hover {
    color: #ffffff;
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.deals-page-share__actions .is-x {
    background: #000000;
}

/* Le footer historique atteint bien le bas du document. Son ancien voile sombre
   donnait toutefois l'impression d'une bande grise sous la vague orange. */
.deals-modern + .footer-area .footer-bottom {
    background: linear-gradient(90deg, #ff4d4d 0%, #f16022 100%);
}

.deals-page-share__actions .is-facebook {
    background: #3b5998;
}

.deals-page-share__actions .is-whatsapp {
    background: #168a47;
}

.deals-page-share__actions .is-email,
.deals-page-share__actions .is-copy {
    background: var(--accent);
}

.deals-pagination button {
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
    color: var(--ink);
    background: var(--surface);
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.deals-pagination button:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

.deals-pagination button[aria-current="page"] {
    border-color: var(--accent);
    color: #ffffff;
    background: var(--accent);
}

.deals-pagination button:disabled {
    opacity: 0.4;
    cursor: default;
}

.sidebar {
    position: sticky;
    top: 100px;
}

.deals-modern .sidebar .widget {
    margin-bottom: 30px;
}

/* Le thème WordPress historique fixe les titres en #292929. Les composants
   conservés dans la sidebar doivent suivre les variables du thème moderne. */
.deals-modern .sidebar .widget-title {
    color: var(--ink);
}

.deals-modern .sidebar .widget-cat ul {
    background-color: var(--surface-muted);
}

.deals-modern .sidebar .widget-subscribe > h5 {
    color: var(--ink);
    background: var(--surface-muted);
}

.deals-modern .sidebar .widget-subscribe .newsletter-inner input {
    color: var(--ink);
    background: var(--surface);
}

.deals-modern .sidebar .widget-subscribe .newsletter-inner input::placeholder {
    color: var(--muted);
    opacity: 1;
}

.deals-modern .sidebar .widget-social-area li a,
.deals-modern .sidebar .widget-social-area li a i,
.deals-modern .sidebar .widget-social-area li a:hover,
.deals-modern .sidebar .widget-social-area li a:hover i {
    color: #ffffff;
}

.deals-modern .sidebar .widget-social-area .sidebar-app-android {
    background-color: #3dda84;
}

.deals-modern .sidebar .widget-social-area .sidebar-app-mac {
    background-color: #1297ee;
}

.deals-modern .sidebar .widget-social-area .sidebar-app-apple {
    width: 98%;
    background-color: #f45c2b;
}

.deals-modern .sidebar-newsletter-mark {
    color: #ffffff;
    font-size: 20px;
    font-weight: 850;
    letter-spacing: -0.04em;
}

.sidebar-card {
    padding: 25px;
}

.sidebar-card p {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.sidebar-social-grid,
.sidebar-category-list {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

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

.sidebar-social-grid__wide {
    grid-column: 1 / -1;
}

.deals-modern .sidebar-social-link {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border-radius: 11px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    transition: filter 150ms ease, transform 150ms ease;
}

.deals-modern .sidebar-social-link:hover {
    color: #ffffff;
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.deals-modern .sidebar-social-link span,
.deals-modern .sidebar-social-link i,
.deals-modern .sidebar-social-link:hover span,
.deals-modern .sidebar-social-link:hover i {
    color: #ffffff;
}

.deals-modern .sidebar-social-link i {
    flex: 0 0 auto;
    font-size: 20px;
}

.deals-modern .sidebar-social-link small,
.deals-modern .sidebar-social-link:hover small {
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 9px;
}

.sidebar-social-link.is-facebook {
    background: #3b5998;
}

.sidebar-social-link.is-rss {
    background: #f28c28;
}

.sidebar-social-link.is-twitter {
    background: #1d9bf0;
}

.sidebar-social-link.is-instagram {
    background: #c13584;
}

.sidebar-social-link.is-android {
    background: #24a866;
}

.sidebar-social-link.is-mac {
    background: #147fc4;
}

.sidebar-social-link.is-apple {
    justify-content: center;
    background: var(--accent);
}

.sidebar-category-list {
    display: grid;
}

.sidebar-category-list li + li {
    border-top: 1px solid var(--line);
}

.sidebar-category-list a {
    min-height: 42px;
    display: grid;
    grid-template-columns: 23px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 750;
}

.sidebar-category-list a:hover {
    color: var(--accent);
}

.sidebar-category-list a > i:first-child {
    color: var(--accent);
    font-size: 15px;
    text-align: center;
}

.sidebar-category-list a > i:last-child {
    opacity: 0.55;
}

.sidebar-card--newsletter {
    border-color: color-mix(in srgb, var(--accent) 44%, var(--line));
    background: linear-gradient(150deg, var(--surface) 0%, var(--accent-soft) 100%);
}

.sidebar-newsletter {
    margin-top: 17px;
}

.sidebar-newsletter__fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
}

.sidebar-newsletter input[type="email"] {
    min-width: 0;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-right: 0;
    border-radius: 11px 0 0 11px;
    color: var(--ink);
    background: var(--surface);
    font: inherit;
    font-size: 12px;
}

.sidebar-newsletter button {
    border: 1px solid var(--accent);
    border-radius: 0 11px 11px 0;
    color: #ffffff;
    background: var(--accent);
    cursor: pointer;
}

.sidebar-newsletter button:hover {
    background: var(--accent-strong);
}

.sidebar-newsletter__note {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.4;
}

.ad-slot {
    display: grid;
    place-items: center;
    overflow: hidden;
}

.ad-slot--oop:empty,
.ad-slot--side:empty {
    display: none;
}

.ad-slot--header {
    min-height: 90px;
    margin-bottom: 24px;
}

.ad-slot--middle {
    min-height: 250px;
}

.ad-slot--side {
    min-height: 250px;
}

.state-message {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 40px 30px;
    color: var(--muted);
}

.state-message strong {
    color: var(--ink);
}

.state-message--error {
    background: var(--accent-soft);
}

.comparator-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: 56px;
    padding-top: 96px;
    color: #ffffff;
    background: transparent;
}

.comparator-footer__wave {
    position: absolute;
    z-index: -1;
    top: 74px;
    right: -5%;
    bottom: -80px;
    left: -5%;
    border-radius: 48% 52% 0 0 / 115px 105px 0 0;
    background: linear-gradient(180deg, #f16022 0%, #ff4d4d 100%);
    transform: rotate(1.5deg);
    transform-origin: 50% 0;
    pointer-events: none;
}

.comparator-footer__top {
    position: relative;
    z-index: 1;
    padding: 92px 0 70px;
}

.comparator-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 70px;
}

.comparator-wordmark--footer {
    max-width: 205px;
}

.comparator-footer__brand p {
    max-width: 310px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.comparator-footer h2 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
}

.comparator-footer ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.comparator-footer li,
.comparator-footer a,
.comparator-footer__bottom {
    font-size: 14px;
}

.comparator-footer a:hover {
    color: #70251f;
}

.comparator-footer__bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(170, 55, 46, 0.29);
    background: rgba(0, 0, 0, 0.2);
}

.comparator-footer__bottom-inner {
    min-height: 76px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.comparator-footer__bottom nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.comparator-footer__social a {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    color: #ffffff;
    font-weight: 800;
}

.comparator-footer__social a:hover {
    color: #aa372e;
    border-color: #ffffff;
    background: #ffffff;
}

@media (max-width: 1050px) {
    .comparator-trends ul li:nth-child(n + 4) {
        display: none;
    }

    .comparator-header__navbar-inner {
        gap: 24px;
    }

    .comparator-navigation {
        gap: 15px;
    }

    .comparator-navigation a {
        font-size: 12px;
    }

    .content-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sidebar-card--newsletter {
        grid-column: 1 / -1;
    }

    .ad-slot--side {
        display: none;
    }
}

@media (max-width: 820px) {
    .comparator-header__topbar-inner {
        justify-content: space-between;
    }

    .comparator-header__navbar-inner {
        position: relative;
        min-height: 72px;
    }

    .comparator-wordmark {
        min-width: 184px;
    }

    .comparator-wordmark__name {
        font-size: 28px;
    }

    .comparator-menu-toggle {
        display: block;
    }

    .comparator-navigation {
        position: absolute;
        z-index: 20;
        top: 72px;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 9px 18px 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 0 0 14px 14px;
        background: linear-gradient(135deg, #e85224 0%, #ff4d4d 100%);
        box-shadow: 0 18px 35px rgba(0, 0, 0, 0.28);
    }

    .comparator-navigation.is-open {
        display: flex;
    }

    .comparator-navigation a {
        padding: 12px 0;
        font-size: 13px;
    }

    .comparator-navigation a::after {
        right: auto;
        bottom: 7px;
        width: 42px;
    }

    .comparator-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 38px;
    }

    .comparator-footer__brand {
        grid-column: 1 / -1;
    }

    .hero {
        padding: 54px 0;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero__comparator {
        max-width: 420px;
    }

    .deals-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .sort-control {
        width: 100%;
        overflow-x: auto;
    }

    .sort-control a {
        flex: 1;
        text-align: center;
    }

    .brand-filter {
        padding-right: 22px;
        padding-left: 22px;
    }

    .deal-row {
        grid-template-columns: 122px minmax(0, 1fr) 138px;
        gap: 17px;
        padding: 22px;
    }

    .deal-row__image-link {
        width: 122px;
        height: 104px;
    }

    .deal-row__actions {
        grid-column: 2 / -1;
        flex-wrap: wrap;
        flex-direction: row;
    }

    .deal-row__actions .button {
        flex: 1;
    }

    .deal-row__actions .deal-row__share {
        flex: 0 0 100%;
    }
}

@media (max-width: 600px) {
    .comparator-header__topbar-inner,
    .comparator-header__navbar-inner,
    .hero__inner,
    .comparator-footer__grid,
    .comparator-footer__bottom-inner {
        width: min(calc(100% - 24px), var(--max-width));
    }

    .comparator-header__search-link {
        font-size: 0;
    }

    .comparator-trends ul {
        display: none;
    }

    .comparator-header__search-link span {
        font-size: 23px;
    }

    .comparator-theme button {
        min-width: 29px;
    }

    .comparator-footer__top {
        padding: 58px 0 42px;
    }

    .comparator-footer {
        margin-top: 30px;
        padding-top: 54px;
    }

    .comparator-footer__wave {
        top: 38px;
        right: -12%;
        left: -12%;
        border-radius: 48% 52% 0 0 / 52px 48px 0 0;
        transform: none;
    }

    .comparator-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .comparator-footer__brand {
        grid-column: auto;
    }

    .comparator-footer__bottom-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 23px 0;
    }

    .comparator-footer__bottom-inner > nav:first-child {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .hero {
        padding: 42px 0 44px;
    }

    .hero h1 {
        font-size: 39px;
    }

    .page-shell {
        padding-top: 16px;
    }

    .deals-panel,
    .sidebar-card {
        border-radius: 18px;
    }

    .deals-toolbar {
        padding: 22px 18px;
    }

    .sort-control {
        display: grid;
        grid-template-columns: repeat(3, max-content);
    }

    .brand-filter {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
        padding: 15px 18px 18px;
    }

    .brand-filter select {
        width: 100%;
        max-width: none;
    }

    .deal-row {
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 15px;
        padding: 18px;
    }

    .deal-row__image-link {
        width: 104px;
        height: 92px;
        align-self: start;
    }

    .deal-row__hot-badge {
        top: -7px;
        left: -7px;
        width: 36px;
        height: 36px;
    }

    .deal-row__title {
        font-size: 15px;
        -webkit-line-clamp: 4;
    }

    .deal-row__date {
        display: none;
    }

    .deal-row__price-block {
        margin-top: 9px;
    }

    .deal-row__price {
        font-size: 18px;
    }

    .deal-row__discount {
        margin-bottom: 5px;
    }

    .deal-row__reference {
        font-size: 9px;
    }

    .deal-row__actions {
        grid-column: 1 / -1;
    }

    .deal-row__actions .button {
        min-height: 44px;
    }

    .deals-pagination {
        gap: 6px;
        padding: 18px 14px;
    }

    .deals-pagination button {
        min-width: 39px;
        height: 39px;
        padding: 0 10px;
    }

    .sidebar {
        grid-template-columns: 1fr;
    }

    .sidebar-card--newsletter {
        grid-column: auto;
    }

    .deals-page-share {
        align-items: stretch;
        flex-direction: column;
        padding: 21px 18px;
    }

    .deals-page-share__actions {
        justify-content: flex-start;
    }

    .deals-page-share__actions a,
    .deals-page-share__actions button {
        flex: 1 1 calc(50% - 8px);
    }

}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .deals-modern *,
    .deals-modern *::before,
    .deals-modern *::after {
        transition-duration: 0.01ms !important;
    }
}
