* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: #f7f8fa;

    color: #152038;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.hidden {
    display: none !important;
}


/* ============================================================
   HEADER
   ============================================================ */

.site-header {
    background: rgba(255, 255, 255, 0.96);

    border-bottom:
        1px solid #e8ebf0;

    position: sticky;

    top: 0;

    z-index: 50;

    backdrop-filter:
        blur(10px);
}

.header-container {
    max-width: 1180px;

    height: 72px;

    padding: 0 24px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.brand {
    display: flex;

    align-items: center;

    gap: 11px;

    color: #152038;

    text-decoration: none;
}

.brand-logo {
    width: 40px;

    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    background: #ff5736;

    color: white;

    font-weight: 850;

    box-shadow:
        0 7px 18px
        rgba(255, 87, 54, 0.28);
}

.brand-text {
    font-size: 21px;

    font-weight: 850;
}

.header-tagline {
    font-size: 14px;

    color: #788399;
}


/* ============================================================
   HERO
   ============================================================ */

.hero {
    padding:
        74px 24px 65px;

    background:
        linear-gradient(
            180deg,
            #fff8f5 0%,
            #f7f8fa 100%
        );

    position: relative;

    overflow: hidden;

    isolation: isolate;

    transition:
        padding 0.3s ease;
}

/* Let autocomplete overlay the following page section only while it is open.
   The normal hero keeps clipping its decorative background shapes. */
.hero:has(.search-suggestions:not(.hidden)) {
    overflow: visible;

    z-index: 10;
}

.hero::before,
.hero::after {
    content: "";

    position: absolute;

    z-index: -1;

    border-radius: 999px;
}

.hero::before {
    width: 310px;

    height: 310px;

    top: -155px;

    left: -90px;

    background:
        radial-gradient(
            circle,
            rgba(255, 181, 153, 0.30),
            rgba(255, 181, 153, 0)
        );
}

.hero::after {
    width: 390px;

    height: 390px;

    right: -155px;

    bottom: -220px;

    background:
        radial-gradient(
            circle,
            rgba(255, 215, 112, 0.22),
            rgba(255, 215, 112, 0)
        );
}

.hero-content {
    max-width: 850px;

    margin: auto;

    text-align: center;

    position: relative;
}

.hero-copy {
    transition:
        opacity 0.2s ease,
        height 0.3s ease;
}

.hero-badge {
    display: inline-flex;

    padding:
        7px 13px;

    border-radius: 999px;

    background: #fff0eb;

    color: #ea4927;

    font-size: 13px;

    font-weight: 750;

    margin-bottom: 21px;

    border: 1px solid #ffd8cd;
}

.hero h1 {
    margin: 0;

    font-size:
        clamp(
            42px,
            7vw,
            70px
        );

    line-height: 1.04;

    letter-spacing: -3px;

    font-weight: 880;
}

.hero h1 span {
    color: #ff5736;
}

.hero-description {
    max-width: 610px;

    margin:
        22px auto 30px;

    color: #69758a;

    font-size: 18px;

    line-height: 1.6;
}


/* COLLAPSED HERO */

body.has-results .hero {
    padding:
        24px;
}

body.has-results .hero-copy {
    display: none;
}

body.has-results .search-form {
    max-width: 800px;
}

body.has-results .search-examples {
    display: none;
}


/* ============================================================
   SEARCH
   ============================================================ */

.search-form {
    max-width: 730px;

    margin: auto;

    position: relative;

    z-index: 20;
}

.search-box {
    padding: 8px;

    display: flex;

    align-items: center;

    gap: 7px;

    background: white;

    border:
        1px solid #e0e5ec;

    border-radius: 18px;

    box-shadow:
        0 14px 40px
        rgba(30, 39, 60, 0.10);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.search-box:focus-within {
    border-color: #ff9d87;

    box-shadow:
        0 16px 42px rgba(30, 39, 60, 0.12),
        0 0 0 4px rgba(255, 87, 54, 0.08);
}

.search-icon {
    width: 22px;

    height: 22px;

    margin-left: 12px;

    flex-shrink: 0;

    color: #929bab;
}

.search-box input {
    flex: 1;

    min-width: 0;

    height: 50px;

    border: none;

    outline: none;

    background: transparent;

    color: #172038;

    font-size: 16px;
}

.search-box button {
    height: 50px;

    padding:
        0 26px;

    border: none;

    border-radius: 12px;

    background: #ff5736;

    color: white;

    font-weight: 780;
}

.search-box button:hover {
    background: #ea4a2b;
}

.search-box button:disabled {
    opacity: 0.6;
}

.search-suggestions {
    position: absolute;
    z-index: 30;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    overflow: hidden;
    border: 1px solid #e0e5ec;
    border-radius: 16px;
    background: white;
    box-shadow: 0 24px 60px rgba(23, 32, 56, 0.18);
    text-align: left;
}

.search-suggestions-heading {
    padding: 13px 16px 9px;
    color: #7a8496;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.search-suggestion-all,
.search-suggestion-product {
    width: 100%;
    border: none;
    border-top: 1px solid #edf0f4;
    background: white;
    color: #172038;
    text-align: left;
}

.search-suggestion-all {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 14px;
    font-weight: 760;
}

.search-suggestion-all span:last-child {
    color: #ff5736;
}

.search-suggestion-product {
    padding: 12px 16px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
}

.search-suggestion-all:hover,
.search-suggestion-product:hover,
.search-suggestion-option.is-active {
    background: #fff7f4;
}

.search-suggestion-image {
    width: 54px;
    height: 54px;
    padding: 4px;
    border: 1px solid #edf0f4;
    border-radius: 10px;
    background: #fafbfc;
    object-fit: contain;
}

.search-suggestion-image-placeholder {
    display: grid;
    place-items: center;
    color: #9aa3b3;
    font-size: 10px;
    font-weight: 800;
}

.search-suggestion-copy {
    min-width: 0;
}

.search-suggestion-name {
    overflow: hidden;
    color: #172038;
    font-size: 13px;
    font-weight: 760;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-suggestion-meta {
    margin-top: 4px;
    overflow: hidden;
    color: #8992a3;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-suggestion-price {
    color: #ff5736;
    font-size: 13px;
    font-weight: 850;
    white-space: nowrap;
}

.search-suggestions-empty {
    padding: 17px 16px;
    color: #7a8496;
    font-size: 13px;
}

.search-examples {
    margin-top: 17px;

    color: #8d96a7;

    font-size: 13px;
}

.example-search {
    border: none;

    background: transparent;

    color: #566279;

    font-weight: 750;
}

.example-search:hover {
    color: #ff5736;
}

.trust-strip {
    max-width: 790px;
    margin: 30px auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid rgba(226, 229, 235, 0.85);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 30px rgba(30, 39, 60, 0.05);
    backdrop-filter: blur(10px);
}

.trust-item {
    min-height: 64px;
    padding: 13px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #69758a;
    font-size: 12px;
    line-height: 1.35;
    text-align: left;
}

.trust-item + .trust-item {
    border-left: 1px solid #e8ebf0;
}

.trust-item strong {
    display: block;
    color: #263149;
}

.trust-icon {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #eaf8f0;
    color: #268653;
    font-size: 12px;
    font-weight: 900;
}

body.has-results .trust-strip {
    display: none;
}


/* ============================================================
   SHOP BY CATEGORY
   ============================================================ */

.categories-section {
    padding: 0 24px 70px;
}

.categories-content {
    max-width: 1100px;

    margin: auto;
}

.categories-heading {
    margin-bottom: 22px;

    display: flex;

    align-items: end;

    justify-content: space-between;

    gap: 24px;
}

.categories-heading h2 {
    margin: 5px 0 0;

    font-size: 30px;

    letter-spacing: -1px;
}

.categories-heading p {
    margin: 0 0 3px;

    color: #788399;

    font-size: 14px;
}

.category-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 13px;
}

.category-card {
    min-height: 132px;

    padding: 19px 14px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 13px;

    border: 1px solid #e4e8ee;

    border-radius: 18px;

    background: white;

    color: #202b42;

    font-size: 14px;

    font-weight: 760;

    text-align: center;

    position: relative;

    overflow: hidden;

    box-shadow: 0 5px 18px rgba(30, 39, 60, 0.04);

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.category-card::after {
    content: "→";
    position: absolute;
    top: 12px;
    right: 14px;
    color: #c3cad5;
    font-size: 16px;
    opacity: 0;
    transform: translateX(-4px);
    transition:
        opacity 0.18s ease,
        transform 0.18s ease;
}

.category-card:hover {
    transform: translateY(-3px);

    border-color: #ffc6b9;

    box-shadow: 0 12px 28px rgba(30, 39, 60, 0.10);
}

.category-card:hover::after {
    opacity: 1;

    transform: translateX(0);
}

.category-card:focus-visible {
    outline: 3px solid rgba(255, 87, 54, 0.25);

    outline-offset: 2px;
}

.category-icon {
    width: 57px;

    height: 57px;

    display: grid;

    place-items: center;

    border-radius: 17px;

    background: #fff3ef;

    font-size: 28px;
}

.category-card:nth-child(3n + 2) .category-icon {
    background: #eef6ff;
}

.category-card:nth-child(3n) .category-icon {
    background: #fff8dd;
}

body.has-results .categories-section {
    display: none;
}


/* ============================================================
   STATUS
   ============================================================ */

.status-section,
.results-section {
    padding:
        0 24px;
}

.results-section {
    padding-bottom:
        80px;
}

.results-container {
    max-width: 1100px;

    margin: auto;
}

.loading-state,
.message-card {
    max-width: 760px;

    margin:
        30px auto;

    padding: 23px;

    background: white;

    border:
        1px solid #e5e9ef;

    border-radius: 18px;
}

.loading-state {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 17px;
}

.loading-state p,
.message-card p {
    margin:
        5px 0 0;

    color: #758095;

    font-size: 14px;
}

.spinner {
    width: 27px;

    height: 27px;

    border:
        3px solid #f0d5ce;

    border-top-color:
        #ff5736;

    border-radius: 50%;

    animation:
        spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform:
            rotate(360deg);
    }
}


/* ============================================================
   SECTION HEADINGS
   ============================================================ */

.section-label {
    margin-bottom: 8px;

    color: #ff5736;

    text-transform: uppercase;

    letter-spacing: 1.2px;

    font-size: 11px;

    font-weight: 850;
}

.results-heading {
    margin:
        35px 0 24px;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 25px;
}

.results-heading h2,
.section-heading h3 {
    margin: 0;

    letter-spacing: -0.7px;
}

.results-heading h2 {
    font-size: 31px;
}

.results-heading p {
    margin:
        7px 0 0;

    color: #768095;
}

.section-heading {
    margin:
        54px 0 18px;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 20px;
}

.section-heading h3 {
    font-size: 25px;
}

.section-description {
    margin:
        6px 0 0;

    color: #7e8798;

    font-size: 13px;
}

.savings-summary {
    text-align: right;
}

.savings-label {
    color: #8b94a5;

    font-size: 12px;
}

.savings-value {
    margin-top: 3px;

    color: #16834e;

    font-size: 27px;

    font-weight: 850;
}

.retailer-count {
    color: #8b94a5;

    font-size: 13px;
}


/* ============================================================
   CANONICAL PRODUCT SEARCH RESULTS
   ============================================================ */

.catalogue-section {
    padding:
        0 24px 80px;
}

.catalogue-heading {
    max-width: 1100px;

    margin:
        35px auto 24px;
}

.catalogue-heading h2 {
    margin: 0;

    font-size: 31px;

    letter-spacing: -0.7px;
}

.catalogue-heading p {
    margin:
        7px 0 0;

    color: #768095;
}


/* PRODUCT GRID */

.catalogue-container {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(
                0,
                1fr
            )
        );

    gap: 20px;

    align-items: stretch;
}

.catalogue-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 28px 0 0;
}

.catalogue-page-button {
    border: 1px solid #ff573d;
    border-radius: 10px;
    padding: 10px 16px;
    background: #fff;
    color: #e9432d;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.catalogue-page-button:hover:not(:disabled) {
    background: #fff0ec;
}

.catalogue-page-button:disabled {
    opacity: 0.42;
    cursor: not-allowed;
}

.catalogue-page-current {
    color: #65728a;
    font-weight: 700;
}


/* PRODUCT CARD */

.catalogue-card {
    min-width: 0;

    padding: 18px;

    display: flex;

    flex-direction: column;

    background: white;

    border:
        1px solid #e1e5eb;

    border-radius: 18px;

    box-shadow:
        0 8px 24px
        rgba(
            40,
            49,
            70,
            0.05
        );

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.catalogue-card:hover {
    transform:
        translateY(-3px);

    border-color:
        #ffc9bc;

    box-shadow:
        0 15px 34px
        rgba(
            40,
            49,
            70,
            0.09
        );
}


/* PRODUCT IMAGE */

.catalogue-image-wrapper {
    width: 100%;

    height: 210px;

    margin-bottom: 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    background:
        #fafbfc;

    border-radius: 14px;
}

.catalogue-product-image {
    width: 100%;

    height: 100%;

    padding: 15px;

    object-fit: contain;
}

.catalogue-image-placeholder {
    display: flex;

    align-items: center;

    justify-content: center;

    color: #a0a8b6;

    font-size: 12px;
}


/* PRODUCT INFORMATION */

.catalogue-card-main {
    flex: 1;

    min-width: 0;
}

.catalogue-brand {
    margin-bottom: 8px;

    color: #ff5736;

    font-size: 12px;

    font-weight: 850;
}

.catalogue-product-name {
    min-height: 54px;

    margin: 0;

    color: #152038;

    font-size: 20px;

    line-height: 1.35;

    letter-spacing: -0.35px;
}

.catalogue-model {
    margin-top: 13px;

    color: #576378;

    font-size: 13px;
}

.catalogue-model strong {
    color: #152038;

    font-weight: 800;
}

.catalogue-category {
    margin-top: 4px;

    color: #707b8e;

    font-size: 12px;
}


/* PRICE / STOCK PANEL */

.catalogue-price-panel {
    margin-top: 20px;

    padding: 14px;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 14px;

    align-items: center;

    background:
        #f5faf8;

    border-radius: 11px;
}

.catalogue-price-label,
.catalogue-offer-count {
    color: #737e91;

    font-size: 11px;
}

.catalogue-price-label {
    margin-bottom: 3px;

    text-transform: uppercase;

    letter-spacing: 0.4px;

    font-weight: 700;
}

.catalogue-price {
    color: #152038;

    font-size: 23px;

    font-weight: 880;

    letter-spacing: -0.6px;
}

.catalogue-stock-column {
    text-align: right;
}

.catalogue-stock-status {
    display: inline-block;

    margin-top: 4px;

    font-size: 12px;

    font-weight: 800;
}

.catalogue-stock-status.in-stock {
    color: #16834e;
}

.catalogue-stock-status.unavailable {
    color: #b34848;
}


/* COMPARE BUTTON */

.catalogue-compare-button {
    width: 100%;

    min-height: 46px;

    margin-top: 16px;

    padding:
        0 18px;

    border: none;

    border-radius: 11px;

    background: #ff5736;

    color: white;

    font-size: 13px;

    font-weight: 820;

    transition:
        background 0.18s ease,
        transform 0.18s ease;
}

.catalogue-compare-button:hover {
    background:
        #ea4a2b;

    transform:
        translateY(-1px);
}


/* ============================================================
   PRODUCT COMPARISON NAVIGATION
   ============================================================ */

.back-to-products {
    margin-bottom: 17px;

    padding:
        8px 12px;

    border:
        1px solid #dfe3e9;

    border-radius: 9px;

    background: white;

    color: #58647a;

    font-size: 12px;

    font-weight: 750;
}

.back-to-products:hover {
    border-color: #ffc8bb;

    color: #e74d2c;
}

#product-model {
    margin:
        5px 0 0;

    color: #69758a;

    font-size: 13px;

    font-weight: 700;
}


/* ============================================================
   BEST DEAL
   ============================================================ */

.best-deal {
    position: relative;

    overflow: hidden;

    display: grid;

    grid-template-columns:
        220px minmax(0, 1fr) 260px;

    gap: 30px;

    padding: 30px;

    background: white;

    border:
        2px solid #ff5736;

    border-radius: 24px;

    box-shadow:
        0 16px 45px
        rgba(40, 49, 70, 0.07);
}

.best-deal-badge {
    position: absolute;

    top: 0;

    right: 0;

    padding:
        9px 17px;

    border-radius:
        0 20px 0 16px;

    background: #ff5736;

    color: white;

    font-size: 12px;

    font-weight: 850;
}

.product-image-wrapper {
    min-height: 215px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    background: #f8f9fb;

    border-radius: 18px;
}

.product-image {
    max-width: 92%;

    max-height: 205px;

    object-fit: contain;
}

.best-deal-main {
    padding-top: 7px;
}

.merchant-name {
    margin-bottom: 7px;

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    color: #657086;

    font-size: 14px;

    font-weight: 750;
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-action, .wishlist-save-button, .auth-mode, .wishlist-remove {
    border: 1px solid #d8dee9; border-radius: 10px; background: #fff;
    color: #18233b; padding: 9px 13px; font: inherit; font-weight: 750; cursor: pointer;
}
.wishlist-save-button { color: #e24a29; border-color: #f4b6a8; }
.auth-dialog { width: min(430px, calc(100% - 32px)); border: 0; border-radius: 20px; padding: 0; box-shadow: 0 24px 70px rgba(15,23,42,.24); }
.auth-dialog::backdrop { background: rgba(15,23,42,.55); }
.auth-form { position: relative; display: grid; gap: 16px; padding: 30px; }
.auth-form label { display: grid; gap: 7px; font-weight: 750; }
.auth-form input { padding: 12px; border: 1px solid #cbd5e1; border-radius: 10px; font: inherit; }
.dialog-close { position: absolute; top: 14px; right: 16px; border: 0; background: none; font-size: 26px; cursor: pointer; }
.auth-error { margin: 0; color: #b42318; }
.auth-mode { border: 0; color: #e24a29; }
.wishlist-section { padding: 42px 0; background: #f8fafc; }
.wishlist-items { display: grid; gap: 12px; margin-top: 20px; }
.wishlist-item { display: grid; grid-template-columns: 72px minmax(0,1fr) auto auto; align-items: center; gap: 16px; padding: 16px; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; }
.wishlist-item img { width: 64px; height: 54px; object-fit: contain; }
.wishlist-price { font-size: 1.2rem; font-weight: 850; }
@media (max-width: 640px) {
    .header-actions { gap: 5px; }
    .header-action { padding: 7px 8px; font-size: 12px; }
    .wishlist-item { grid-template-columns: 54px 1fr; }
    .wishlist-price, .wishlist-remove { grid-column: 2; }
}

.retailer-brand {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    min-width: 0;
}

.retailer-logo {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 112px;

    min-width: 112px;

    height: 34px;

    padding: 4px 9px;

    border: 1px solid rgba(15, 23, 42, 0.12);

    border-radius: 9px;

    background: #ffffff;

    color: #1e293b;

    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);

    overflow: hidden;

    font-size: 0.72rem;

    font-weight: 900;

    line-height: 1;

    letter-spacing: -0.02em;
}

.retailer-brand-compact .retailer-logo {
    width: 86px;

    min-width: 86px;

    height: 28px;

    border-radius: 7px;

    font-size: 0.64rem;
}

.retailer-logo-image {
    display: block;

    width: 100%;

    height: 100%;

    object-fit: contain;
}

.retailer-logo-audio-house {
    padding: 2px 6px;
}

.retailer-logo-gain-city {
    padding: 1px 24px;
}

.retailer-logo-mega-discount {
    background: #101827;

    color: #ffffff;
}

.retailer-brand-name {
    overflow: hidden;

    text-overflow: ellipsis;
}

.cheapest-retailer-label {
    display: inline-flex;

    align-items: center;

    min-height: 26px;

    padding: 4px 9px;

    border-radius: 999px;

    background: #dcfce7;

    color: #166534;

    font-size: 0.72rem;

    font-weight: 900;

    letter-spacing: 0.04em;

    text-transform: uppercase;
}

.product-title {
    margin: 0;

    font-size: 21px;

    line-height: 1.35;
}

.effective-price {
    margin-top: 17px;

    font-size: 38px;

    font-weight: 880;

    letter-spacing: -1.2px;
}

.price-caption {
    margin-top: 3px;

    color: #7d8798;

    font-size: 12px;
}

.promo-summary {
    margin-top: 18px;

    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}

.promo-pill {
    padding:
        8px 11px;

    border-radius: 9px;

    background: #fff0eb;

    color: #dd4525;

    font-size: 13px;

    font-weight: 780;
}

.code-pill {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    background: #f0f2f6;

    color: #424d62;
}

.copy-code-button {
    padding:
        4px 7px;

    border:
        1px solid #d6dbe4;

    border-radius: 6px;

    background: white;

    color: #3f4b60;

    font-size: 11px;

    font-weight: 750;
}

.price-breakdown {
    margin-top: 20px;

    padding:
        14px 0;

    border-top:
        1px solid #eceff3;

    border-bottom:
        1px solid #eceff3;
}

.breakdown-row {
    padding:
        4px 0;

    display: flex;

    justify-content: space-between;

    gap: 20px;

    color: #707b8e;

    font-size: 14px;
}

.discount-row {
    color: #16834e;

    font-weight: 750;
}

.deal-actions {
    margin-top: 21px;
}

.deal-button {
    min-height: 45px;

    padding:
        0 20px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border-radius: 11px;

    background: #ff5736;

    color: white;

    text-decoration: none;

    font-size: 14px;

    font-weight: 780;
}


/* RIGHT SIDE */

.best-deal-insight {
    align-self: stretch;

    margin-top: 27px;

    padding:
        19px;

    background: #fafbfc;

    border:
        1px solid #ebedf1;

    border-radius: 16px;
}

.insight-title {
    margin-bottom: 15px;

    color: #374259;

    font-size: 12px;

    font-weight: 850;

    text-transform: uppercase;

    letter-spacing: 0.7px;
}

.insight-row {
    padding:
        9px 0;

    border-bottom:
        1px solid #eaedf2;
}

.insight-row:last-child {
    border-bottom: none;
}

.insight-label {
    color: #8a93a3;

    font-size: 11px;
}

.insight-value {
    margin-top: 3px;

    color: #29364c;

    font-size: 15px;

    font-weight: 780;
}


/* ============================================================
   CONDITIONAL PROMOS
   ============================================================ */

.conditional-section {
    margin-top: 18px;
}

.conditional-toggle {
    padding: 0;

    border: none;

    background: transparent;

    color: #58647a;

    font-size: 13px;

    font-weight: 750;
}

.conditional-list {
    margin-top: 11px;

    display: grid;

    gap: 8px;
}

.conditional-promo {
    padding:
        10px 12px;

    border:
        1px solid #e7eaf0;

    border-radius: 10px;

    background: #f9fafc;

    color: #606b7f;

    font-size: 12px;
}


/* ============================================================
   OFFERS
   ============================================================ */

.offers-container {
    display: grid;

    gap: 13px;
}

.offer-card {
    padding: 18px;

    display: grid;

    grid-template-columns:
        75px minmax(0, 1fr) auto;

    align-items: center;

    gap: 18px;

    border:
        1px solid #e2e6ed;

    border-radius: 16px;

    background: white;
}

.offer-card.best-offer-row {
    border-color: #ffc8bb;
}

.offer-image {
    width: 72px;

    height: 72px;

    object-fit: contain;

    border-radius: 10px;

    background: #f8f9fb;
}

.offer-details {
    min-width: 0;
}

.offer-merchant-row {
    display: flex;

    align-items: center;

    gap: 8px;
}

.offer-merchant {
    font-weight: 850;
}

.offer-best-badge {
    padding:
        3px 7px;

    border-radius: 999px;

    background: #fff0eb;

    color: #e24a29;

    font-size: 10px;

    font-weight: 850;
}

.offer-title {
    margin-top: 4px;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

    color: #7c8697;

    font-size: 13px;
}

.offer-promotion {
    margin-top: 7px;

    color: #16834e;

    font-size: 12px;

    font-weight: 750;
}

.offer-price-area {
    display: flex;

    align-items: center;

    gap: 16px;

    text-align: right;
}

.offer-listed-price {
    color: #929aa9;

    font-size: 12px;
}

.offer-effective-price {
    font-size: 23px;

    font-weight: 880;
}

.offer-difference {
    margin-top: 3px;

    color: #a06c18;

    font-size: 11px;

    font-weight: 750;
}

.offer-button {
    padding:
        10px 14px;

    border:
        1px solid #dce1e8;

    border-radius: 10px;

    color: #344056;

    text-decoration: none;

    font-size: 12px;

    font-weight: 780;
}


/* ============================================================
   HISTORY
   ============================================================ */

.history-stats {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;
}

.history-stat {
    padding: 18px;

    border:
        1px solid #e3e7ed;

    border-radius: 14px;

    background: white;
}

.history-stat-label {
    color: #8a93a4;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 0.6px;

    font-weight: 750;
}

.history-stat-value {
    margin-top: 7px;

    font-size: 23px;

    font-weight: 850;
}

.history-chart-card {
    margin-top: 14px;

    padding: 22px;

    background: white;

    border:
        1px solid #e3e7ed;

    border-radius: 16px;
}

.history-chart-header {
    margin-bottom: 20px;
}

.chart-title {
    font-weight: 800;
}

.chart-subtitle {
    margin-top: 4px;

    color: #8a93a4;

    font-size: 12px;
}

.history-chart {
    min-height: 230px;
}

.history-svg {
    width: 100%;

    height: 230px;

    overflow: visible;
}

.history-grid-line {
    stroke: #e9ecf1;

    stroke-width: 1;
}

.history-line {
    fill: none;

    stroke: #ff5736;

    stroke-width: 3;
}

.history-area {
    fill: rgba(255, 87, 54, 0.08);
}

.history-point {
    fill: #ff5736;

    stroke: white;

    stroke-width: 2;
}

.history-label {
    fill: #8a93a4;

    font-size: 11px;
}

.history-retailers {
    margin-top: 14px;

    display: grid;

    gap: 10px;
}

.history-retailer-row {
    padding: 14px 16px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    background: white;

    border:
        1px solid #e4e7ed;

    border-radius: 12px;
}

.history-retailer-name {
    font-weight: 780;
}

.history-retailer-meta {
    margin-top: 3px;

    color: #8892a3;

    font-size: 12px;
}


/* ============================================================
   VERDICT
   ============================================================ */

.verdict-card {
    margin-top: 50px;

    padding: 25px;

    display: grid;

    grid-template-columns:
        auto 1fr;

    gap: 18px;

    align-items: center;

    background:
        linear-gradient(
            135deg,
            #fff5f1,
            #ffffff
        );

    border:
        1px solid #ffd3c8;

    border-radius: 18px;
}

.verdict-icon {
    width: 54px;

    height: 54px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 15px;

    background: #ff5736;

    color: white;

    font-size: 25px;
}

.verdict-title {
    font-size: 20px;

    font-weight: 850;
}

.verdict-description {
    margin-top: 5px;

    color: #6d788c;

    font-size: 13px;

    line-height: 1.5;
}


/* ============================================================
   FOOTER
   ============================================================ */

footer {
    padding:
        35px 24px;

    background: white;

    border-top:
        1px solid #e6e9ef;
}

.footer-container {
    max-width: 1100px;

    margin: auto;

    display: flex;

    justify-content: space-between;

    gap: 25px;

    color: #8791a2;

    font-size: 12px;
}

.footer-container p {
    margin:
        5px 0 0;
}

.footer-note {
    max-width: 430px;

    text-align: right;

    line-height: 1.5;
}


/* ============================================================
   PRICE HISTORY V2
   ============================================================ */

.history-chart-header {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 20px;
}

.history-chart-legend {
    margin-bottom: 14px;

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 18px;

    color: #687387;

    font-size: 12px;

    font-weight: 700;
}

.history-legend-item {
    display: flex;

    align-items: center;

    gap: 7px;
}

.history-legend-line {
    width: 24px;

    height: 3px;

    display: inline-block;

    border-radius: 999px;
}

.history-legend-deal {
    background: #ff5736;
}

.history-legend-listed {
    background: #7d8798;
}

.history-line {
    fill: none;

    stroke-width: 3;
}

.history-line-effective {
    stroke: #ff5736;
}

.history-line-listed {
    stroke: #7d8798;

    stroke-width: 2;

    stroke-dasharray:
        7 6;
}

.history-point-effective {
    fill: #ff5736;

    stroke: white;

    stroke-width: 2;
}

.history-point-listed {
    fill: #7d8798;

    stroke: white;

    stroke-width: 2;
}

.history-y-label {
    font-size: 10px;
}

.history-retailer-current {
    text-align: right;
}

.history-retailer-current-label {
    margin-bottom: 3px;

    color: #929bab;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 0.5px;
}


/* ============================================================
   RESPONSIVE - TABLET
   ============================================================ */

@media (
    max-width: 1000px
) {

    .category-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

    .catalogue-container {
        grid-template-columns:
            repeat(
                2,
                minmax(
                    0,
                    1fr
                )
            );
    }
}


@media (
    max-width: 900px
) {

    .best-deal {
        grid-template-columns:
            180px 1fr;
    }

    .best-deal-insight {
        grid-column:
            1 / -1;

        margin-top: 0;
    }

    .history-stats {
        grid-template-columns:
            repeat(2, 1fr);
    }
}


/* ============================================================
   RESPONSIVE - MOBILE
   ============================================================ */

@media (
    max-width: 650px
) {

    .search-suggestions {
        border-radius: 14px;
    }

    .search-suggestion-product {
        grid-template-columns: 46px minmax(0, 1fr);
    }

    .search-suggestion-image {
        width: 46px;
        height: 46px;
    }

    .search-suggestion-price {
        grid-column: 2;
    }

    .header-tagline {
        display: none;
    }

    .hero {
        padding:
            52px 18px 42px;
    }

    body.has-results .hero {
        padding:
            18px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .trust-strip {
        grid-template-columns: 1fr;

        margin-top: 24px;
    }

    .trust-item {
        min-height: 54px;

        justify-content: flex-start;
    }

    .trust-item + .trust-item {
        border-top: 1px solid #e8ebf0;

        border-left: none;
    }

    .categories-section {
        padding: 0 18px 52px;
    }

    .categories-heading {
        display: block;
    }

    .categories-heading p {
        margin-top: 8px;
    }

    .category-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;
    }

    .category-card {
        min-height: 118px;
    }

    .results-heading {
        display: block;
    }

    .savings-summary {
        margin-top: 17px;

        text-align: left;
    }

    .catalogue-section {
        padding:
            0 18px 60px;
    }

    .catalogue-container {
        grid-template-columns:
            1fr;
    }

    .catalogue-image-wrapper {
        height: 220px;
    }

    .catalogue-product-name {
        min-height: auto;
    }

    .best-deal {
        grid-template-columns:
            1fr;

        padding: 20px;
    }

    .product-image-wrapper {
        min-height: 180px;
    }

    .offer-card {
        grid-template-columns:
            60px 1fr;
    }

    .offer-image {
        width: 60px;

        height: 60px;
    }

    .offer-price-area {
        grid-column:
            1 / -1;

        justify-content: space-between;

        padding-top: 13px;

        border-top:
            1px solid #eceff3;

        text-align: left;
    }

    .history-stats {
        grid-template-columns:
            1fr 1fr;
    }

    .history-chart-legend {
        justify-content: flex-start;

        flex-wrap: wrap;
    }

    .history-retailer-row {
        align-items: flex-start;
    }

    .history-retailer-current {
        min-width: 100px;
    }

    .footer-container {
        display: block;
    }

    .footer-note {
        margin-top: 15px;

        text-align: left;
    }
}
