h1:focus {
    outline: none;
}

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem 1rem 1rem 1rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

:root {
    /* brand palette from the Curtfire logo (cart/flame mark): orange for CTAs/accents, near-black
       green for header/footer/heading "chrome" — kept as separate roles rather than one color pair,
       since a button hover needs a darker *orange*, not the logo's near-black */
    --curtfire-primary: #f5a623;
    --curtfire-primary-dark: #c9821a;
    --curtfire-dark: #1c2b1a;
    --curtfire-accent-blue: #0f4c81;
    --curtfire-accent-amber: #c97a2c;
    --curtfire-accent-red: #c0392b;
    --content-max: 1440px;
}

body {
    background: #f7f7f8;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--curtfire-primary) transparent;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-footer {
    flex-shrink: 0;
}

.promo-strip {
    background: var(--curtfire-dark);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
}

.promo-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem 1.5rem;
    padding: 0.4rem 1rem;
}

.promo-strip-link {
    color: #fff;
    text-decoration: none;
}

    .promo-strip-link:hover {
        color: var(--curtfire-primary);
    }

@media (min-width: 992px) {
    /* only push the action links to the right edge once there's room for everything on one line —
       on mobile this just makes them wrap far away from the rest of the strip's content */
    .promo-strip-link:first-of-type {
        margin-left: auto;
    }
}

    ::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }

    ::-webkit-scrollbar-track {
        background: transparent;
    }

    ::-webkit-scrollbar-thumb {
        background-color: #c2c2c2;
        border-radius: 999px;
        border: 2px solid #f7f7f8;
    }

        ::-webkit-scrollbar-thumb:hover {
            background-color: var(--curtfire-primary);
        }

.container {
    max-width: var(--content-max);
    width: 100%;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.navbar-logo-badge {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border-radius: 0.5rem;
    padding: 0.35rem 0.6rem;
}

    .navbar-logo-badge img {
        height: 28px;
        width: auto;
        display: block;
    }

.qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    overflow: hidden;
}

.qty-stepper-btn {
    background: #f7f7f8;
    border: none;
    width: 36px;
    height: 38px;
    font-size: 1.1rem;
    line-height: 1;
    color: var(--curtfire-dark);
    cursor: pointer;
}

    .qty-stepper-btn:hover:not(:disabled) {
        background: var(--curtfire-primary);
        color: #fff;
    }

    .qty-stepper-btn:disabled {
        color: #ced4da;
        cursor: not-allowed;
    }

.qty-stepper-input {
    width: 48px;
    height: 38px;
    border: none;
    border-left: 1px solid #ced4da;
    border-right: 1px solid #ced4da;
    text-align: center;
    -moz-appearance: textfield;
}

    .qty-stepper-input::-webkit-outer-spin-button,
    .qty-stepper-input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

.qty-stepper-sm .qty-stepper-btn {
    width: 30px;
    height: 32px;
    font-size: 1rem;
}

.qty-stepper-sm .qty-stepper-input {
    width: 40px;
    height: 32px;
}

.cart-table-wrap {
    background: #fff;
    border-radius: 0.65rem;
    border: 1px solid #eee;
    padding: 0.25rem 1rem;
}

.cart-table {
    margin-bottom: 0;
}

    .cart-table thead th {
        border-bottom: 2px solid #eee;
        color: var(--curtfire-dark);
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

    .cart-table td {
        border-color: #f0f0f0;
    }

.cart-product-link {
    color: #212529;
    font-weight: 400;
    text-decoration: none;
}

    .cart-product-link:hover {
        text-decoration: underline;
    }

.btn-curtfire {
    background: var(--curtfire-primary);
    border-color: var(--curtfire-primary);
    color: #fff;
}

    .btn-curtfire:hover {
        background: var(--curtfire-primary-dark);
        border-color: var(--curtfire-primary-dark);
        color: #fff;
    }

.btn-outline-curtfire {
    background: transparent;
    border: 1px solid var(--curtfire-primary);
    color: var(--curtfire-primary-dark);
}

    .btn-outline-curtfire:hover {
        background: var(--curtfire-primary);
        color: #fff;
    }

/* ==================== Top promo strip ==================== */
.promo-strip {
    background: #0c4a1f;
    color: #d9f0df;
    font-size: 0.76rem;
}

.promo-strip-inner {
    display: flex;
    gap: 1.5rem;
    padding: 0.35rem 0;
    overflow-x: auto;
    white-space: nowrap;
}

/* ==================== Header ==================== */
.site-search {
    display: flex;
    max-width: 640px;
    min-width: 200px;
}

    .site-search .form-control {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .site-search .btn {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

.search-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    max-height: 360px;
    overflow-y: auto;
    z-index: 1050;
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    color: inherit;
    text-decoration: none;
}

    .search-suggestion-item:hover {
        background: rgba(0, 0, 0, 0.04);
    }

    .search-suggestion-item img {
        width: 40px;
        height: 40px;
        object-fit: contain;
        flex-shrink: 0;
    }

.header-action-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border: none;
    background: transparent;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
}

    .header-action-btn:hover,
    .header-action-btn:focus,
    .header-action-btn:focus-visible {
        color: var(--curtfire-primary);
        background: transparent;
    }

.header-action-label {
    font-size: 0.85rem;
}

.cart-count-badge {
    position: relative;
    top: -8px;
    margin-left: -0.4rem;
    font-size: 0.62rem;
}

@media (max-width: 991.98px) {
    .site-search {
        order: 3;
        width: 100%;
        max-width: none;
        margin-top: 0.5rem;
    }
}

/* ==================== Category nav ==================== */
.category-nav {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.category-nav-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.4rem 0;
}

.category-nav-shopbtn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    background: var(--curtfire-primary);
    color: #fff;
    border: none;
    border-radius: 0.4rem;
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
}

    .category-nav-shopbtn:hover {
        background: var(--curtfire-primary-dark);
        color: #fff;
    }

.category-nav-menu {
    columns: 2;
    column-gap: 0.5rem;
    min-width: 380px;
    padding: 0.5rem;
}

    .category-nav-menu .dropdown-item {
        break-inside: avoid;
        border-radius: 0.3rem;
    }

.category-nav-scroll {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scrollbar-width: thin;
    flex: 1;
    min-width: 0;
}

.category-nav-link {
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
    text-decoration: none;
}

    .category-nav-link:hover {
        color: var(--curtfire-dark);
    }

@media (max-width: 991.98px) {
    .category-nav-scroll {
        display: none;
    }
}

/* ==================== Mobile offcanvas menu ==================== */
.mobile-menu-link {
    display: flex;
    align-items: center;
    padding: 0.6rem 0.25rem;
    color: #222;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-heading {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #888;
    margin: 0.75rem 0 0.25rem;
}

/* ==================== Page rhythm / bands ==================== */
.home-band {
    padding: 2rem 0;
}

.home-band-alt {
    background: #eef4ef;
}

.home-section {
    margin-bottom: 0;
}

.home-band > .container > .home-section + .home-section,
.home-band .home-section + .home-section {
    margin-top: 2.5rem;
}

/* ==================== Section chrome ==================== */
.section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.01em;
}

.section-viewall {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--curtfire-dark);
    text-decoration: none;
    white-space: nowrap;
}

    .section-viewall:hover {
        text-decoration: underline;
    }

.skeleton-card {
    border-radius: 0.65rem;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    animation: skeleton-loading 1.4s ease infinite;
    height: 300px;
}

.hero-slide-skeleton {
    border-radius: 0.75rem;
    min-height: 260px;
    height: 100%;
    background: linear-gradient(90deg, #eef1ee 25%, #e2e7e2 37%, #eef1ee 63%);
    background-size: 400% 100%;
    animation: skeleton-loading 1.4s ease infinite;
}

.hero-side-skeleton {
    flex: 1;
    min-height: 122px;
}

.hero-slide-loading {
    align-items: center;
    justify-content: center;
}

.brand-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.brand-loader-spinner {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.25);
    border-top-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: brand-loader-spin 0.9s linear infinite;
}

.brand-loader-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 50%;
    animation: brand-loader-pulse 1.8s ease-in-out infinite;
}

.brand-loader-text {
    font-weight: 600;
    color: #fff;
    margin: 0;
    animation: brand-loader-fade 2.4s ease-in-out infinite;
}

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

@keyframes brand-loader-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.85); opacity: 0.75; }
}

@keyframes brand-loader-fade {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@keyframes skeleton-loading {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

/* ==================== Hero composition ==================== */
.hero-composition {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0.85rem;
    padding-top: 1.25rem;
}

.hero-composition-side {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.hero-carousel {
    border-radius: 0.75rem;
    overflow: hidden;
    height: 100%;
}

.hero-slide {
    position: relative;
    min-height: 260px;
    height: 100%;
    display: flex;
    align-items: center;
    background-color: var(--curtfire-dark);
    background-image: var(--bg-desktop);
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 2rem;
}

    .hero-slide.has-text::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.2) 55%, rgba(0,0,0,.05) 100%);
    }

@media (max-width: 767px) {
    .hero-slide {
        background-image: var(--bg-mobile, var(--bg-desktop));
    }
}

.hero-slide-content {
    position: relative;
    max-width: 520px;
}

.hero-slide-offer {
    display: inline-block;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(2px);
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.6rem;
}

.hero-slide-title {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,.25);
}

.hero-slide-copy {
    font-size: 0.95rem;
    opacity: 0.92;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero-slide {
        min-height: 340px;
        padding: 2.5rem;
    }

    .hero-slide-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 767.98px) {
    .hero-composition {
        grid-template-columns: 1fr;
    }

    .hero-composition-side {
        flex-direction: row;
        overflow-x: auto;
    }

    .hero-composition-side .promo-banner {
        min-width: 260px;
    }
}

/* ==================== Promo banner / tile ==================== */
.promo-banner {
    position: relative;
    display: flex;
    align-items: flex-end;
    flex: 1;
    min-height: 145px;
    border-radius: 0.65rem;
    overflow: hidden;
    background-color: var(--curtfire-accent-blue);
    background-image: var(--bg-desktop);
    background-size: cover;
    background-position: center;
    color: #fff;
    text-decoration: none;
    padding: 1rem;
}

    .promo-banner.has-text::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%);
    }

@media (max-width: 767px) {
    .promo-banner {
        background-image: var(--bg-mobile, var(--bg-desktop));
    }
}

    .promo-banner:hover {
        color: #fff;
    }

.promo-banner-content {
    position: relative;
}

.promo-banner-offer {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.9;
}

.promo-banner-title {
    font-size: 1.05rem;
    font-weight: 800;
}

.promo-banner-copy {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-top: 0.15rem;
}

.promo-banner-cta {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
}

.promo-tile-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
    margin-top: 0.85rem;
}

.promo-tile {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 90px;
    border-radius: 0.55rem;
    overflow: hidden;
    background-color: var(--curtfire-accent-amber);
    background-image: var(--bg-desktop);
    background-size: cover;
    background-position: center;
    color: #fff;
    text-decoration: none;
    padding: 0.65rem 0.85rem;
}

    .promo-tile.has-text::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.5) 100%);
    }

@media (max-width: 767px) {
    .promo-tile {
        background-image: var(--bg-mobile, var(--bg-desktop));
    }
}

    .promo-tile:hover {
        color: #fff;
    }

.promo-tile-content {
    position: relative;
}

.promo-tile-title {
    font-size: 0.85rem;
    font-weight: 700;
}

.promo-tile-cta {
    font-size: 0.72rem;
    opacity: 0.9;
}

/* ==================== Category rail ==================== */
.category-rail {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scrollbar-width: thin;
}

.category-rail-item {
    flex: 0 0 auto;
    width: 104px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    text-align: center;
}

.category-rail-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #eef4ef;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

    .category-rail-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.category-rail-item:hover .category-rail-icon {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.1);
    transform: translateY(-2px);
}

.category-rail-icon-viewall {
    font-size: 1.4rem;
    color: var(--curtfire-dark);
    background: #fff;
    border: 1.5px dashed var(--curtfire-primary);
}

.category-rail-name {
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.2;
}

/* ==================== Product rail ==================== */
.product-rail {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
}

.product-rail-item {
    flex: 0 0 auto;
    width: 200px;
    scroll-snap-align: start;
}

.product-rail-item-banner {
    width: 220px;
}

@media (min-width: 992px) {
    .product-rail-item {
        width: calc((100% - 5rem) / 6);
    }

    .product-rail-item-banner {
        width: calc((100% - 5rem) / 6 + 40px);
    }
}

@media (max-width: 575.98px) {
    .product-rail-item {
        width: 46%;
    }
}

/* ==================== Product card ==================== */
.product-card {
    position: relative;
    border: 1px solid #e9e9ea;
    border-radius: 0.65rem;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

    .product-card:hover {
        box-shadow: 0 0.75rem 1.5rem rgba(0,0,0,.1);
        transform: translateY(-3px);
        border-color: #ddd;
    }

.product-card-media {
    position: relative;
    display: block;
    background: #fff;
}

.product-card-image {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    width: 100%;
    padding: 0.75rem;
    background: #fff;
}

.product-card-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: var(--curtfire-accent-red);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.product-card-badge-sale {
    background: var(--curtfire-accent-red);
}

.product-card-badge-info {
    background: var(--curtfire-accent-blue);
}

.product-card-badge-muted {
    background: #6c757d;
}

.product-card-badge-stock {
    left: auto;
    right: 0.5rem;
    top: 0.5rem;
}

.product-card-wishlist {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.92);
    color: #c0392b;
    font-size: 1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
}

    .product-card-wishlist:hover {
        transform: scale(1.08);
    }

.product-card-wishlist-active {
    color: #c0392b;
}

.product-card-body {
    padding: 0.75rem 1rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-name {
    font-size: 0.9rem;
    font-weight: 500;
    min-height: 2.5em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-decoration: none;
    color: inherit;
}

    .product-card-name:hover {
        color: var(--curtfire-dark);
    }

.product-card-rating {
    font-size: 0.8rem;
    margin-top: 0.15rem;
    margin-bottom: 0.15rem;
}

.product-card-rating-empty {
    font-size: 0.7rem;
}

.product-card-stars {
    color: #e0a800;
    letter-spacing: -1px;
}

.product-card-rating-count {
    color: #888;
    font-size: 0.75rem;
}

.product-card-variant {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    color: #666;
    margin-bottom: 0.2rem;
}

.product-card-variant-dots {
    display: inline-flex;
    gap: 2px;
}

    .product-card-variant-dots span {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #bbb;
    }

.product-card-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 0.85rem;
}

.price-current {
    font-weight: 800;
    font-size: 1.15rem;
    color: #1a1a1a;
}

.product-card-saving {
    color: var(--curtfire-dark);
    font-weight: 600;
    font-size: 0.76rem;
}

.product-card-delivery {
    font-size: 0.72rem;
    color: #888;
    margin-top: 0.25rem;
}

/* ==================== Deal of the day ==================== */
.deal-of-day {
    background: linear-gradient(135deg, var(--curtfire-primary-dark) 0%, var(--curtfire-primary) 100%);
    color: #fff;
    padding: 2rem 0;
    margin: 0.5rem 0;
}

.deal-of-day-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    align-items: center;
}

.deal-of-day-media {
    position: relative;
    background: #fff;
    border-radius: 0.65rem;
    padding: 1rem;
}

    .deal-of-day-media img {
        width: 100%;
        aspect-ratio: 1/1;
        object-fit: contain;
    }

.deal-of-day-discount {
    position: absolute;
    top: -10px;
    left: -10px;
    background: var(--curtfire-accent-red);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    padding: 0.4rem 0.6rem;
    border-radius: 0.4rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.deal-of-day-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffce54;
    margin-bottom: 0.4rem;
}

.deal-of-day-title {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    margin-bottom: 0.25rem;
}

    .deal-of-day-title:hover {
        color: #fff;
        text-decoration: underline;
    }

.deal-of-day-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.deal-of-day-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
}

.deal-of-day-saving {
    color: #a6e3b8;
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 0.15rem;
}

.deal-of-day-related {
    max-width: var(--content-max);
    margin: 1.75rem auto 0;
    padding: 0 1rem;
}

.deal-of-day-related .section-title {
    color: #fff;
}

.product-rail-item-compact {
    width: 170px;
}

@media (max-width: 767.98px) {
    .deal-of-day-inner {
        grid-template-columns: 1fr;
    }

    .deal-of-day-media {
        max-width: 220px;
        margin: 0 auto;
    }

    .deal-of-day-info {
        text-align: center;
    }

    .deal-of-day-price-row {
        justify-content: center;
    }
}

/* ==================== Collection banner ==================== */
.collection-banner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 160px;
    border-radius: 0.7rem;
    overflow: hidden;
    background-color: var(--curtfire-accent-blue);
    background-image: var(--bg-desktop);
    background-size: cover;
    background-position: center;
    color: #fff;
    text-decoration: none;
    padding: 1.5rem 2rem;
}

    .collection-banner.has-text::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 70%);
    }

@media (max-width: 767px) {
    .collection-banner {
        background-image: var(--bg-mobile, var(--bg-desktop));
    }
}

    .collection-banner:hover {
        color: #fff;
    }

.collection-banner-content {
    position: relative;
    max-width: 480px;
}

.collection-banner-title {
    font-size: 1.3rem;
    font-weight: 800;
}

.collection-banner-copy {
    font-size: 0.85rem;
    opacity: 0.92;
    margin-top: 0.25rem;
}

/* ==================== Curated sections ==================== */
.curated-lifestyle-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 1.25rem;
}

.curated-lifestyle-banner {
    position: relative;
    display: flex;
    align-items: flex-end;
    border-radius: 0.7rem;
    overflow: hidden;
    background-color: var(--curtfire-accent-amber);
    background-size: cover;
    background-position: center;
    color: #fff;
    text-decoration: none;
    padding: 1.25rem;
    min-height: 260px;
}

    .curated-lifestyle-banner::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 100%);
    }

    .curated-lifestyle-banner:hover {
        color: #fff;
    }

.curated-lifestyle-banner-content {
    position: relative;
}

.curated-lifestyle-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

@media (max-width: 767.98px) {
    .curated-lifestyle-layout {
        grid-template-columns: 1fr;
    }

    .curated-lifestyle-banner {
        min-height: 160px;
    }
}

/* ==================== Value proposition / trust section ==================== */
.value-prop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 767.98px) {
    .value-prop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.value-prop-card {
    padding: 1.25rem;
    border-radius: 0.65rem;
    background: #fff;
    border: 1px solid #eee;
    text-align: center;
}

.value-prop-icon {
    display: block;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.value-prop-title {
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 0.35rem;
}

.value-prop-copy {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
}

/* ==================== Trust strip ==================== */
.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

@media (max-width: 767.98px) {
    .trust-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
}

.trust-badge-icon {
    font-size: 1.6rem;
    color: var(--curtfire-dark);
}

/* ==================== Footer ==================== */
.site-footer {
    background: var(--curtfire-dark);
    color: #cfe3d3;
    margin-top: 3rem;
    padding: 2.5rem 0 1.25rem;
}

.site-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

@media (max-width: 767.98px) {
    .site-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.site-footer-heading {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}

.site-footer a {
    display: block;
    color: #cfe3d3;
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

    .site-footer a:hover {
        color: #fff;
        text-decoration: underline;
    }

.site-footer-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.site-footer-payment-badge {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 0.3rem;
    padding: 0.2rem 0.5rem;
    font-size: 0.72rem;
}

.site-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    margin-top: 2rem;
    padding-top: 1rem;
    font-size: 0.78rem;
    color: #9fbfa6;
}

/* ==================== Misc / info pages ==================== */
.info-page {
    max-width: 720px;
}

.color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    outline: 1px solid #ddd;
    cursor: pointer;
    transition: outline-color 0.15s ease, transform 0.1s ease;
}

    .color-swatch:hover {
        transform: scale(1.08);
    }

    .color-swatch-selected {
        outline: 2px solid var(--curtfire-primary);
        outline-offset: 1px;
    }
