﻿:root {
  --cs-blue: #005bbb;
  --cs-blue-dark: #00479a;
  --cs-blue-light: #0f63c9;
  --cs-text: #17263a;
  --cs-border: #e2e6ec;
  --cs-soft: #f5f7fa;
  --cs-gray: #f3f5f7;
  --cs-white: #ffffff;
  --cs-gold: #f59f00;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--cs-text);
    background: #fff;
}

/* =========================================================
   GLOBAL HEADER
========================================================= */
.top-nav {
    background: linear-gradient(180deg, #0f63c9 0%, #0053b0 100%);
    min-height: 60px;
    z-index: 10;
}


.main-menu .nav-link {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
    padding: 1rem 1rem;
    position: relative;
}

    .main-menu .nav-link:hover,
    .main-menu .nav-link:focus,
    .main-menu .nav-link.active {
        color: #fff;
    }

        .main-menu .nav-link.active::after,
        .main-menu .nav-link:hover::after {
            content: "";
            position: absolute;
            left: 1rem;
            right: 1rem;
            bottom: 0.35rem;
            height: 2px;
            background: rgba(255, 255, 255, 0.95);
        }

.dropdown-menu {
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
    padding: 0.65rem 0;
}

.dropdown-item {
    padding: 0.7rem 1rem;
    font-weight: 600;
}

    .dropdown-item:hover {
        background: #eef5ff;
        color: var(--cs-blue-dark);
    }

.dropdown-toggle::after {
    content: none;
}

.nav-icons {
    gap: 1rem;
}

.nav-icon-link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    min-width: 76px;
}

    .nav-icon-link i {
        font-size: 1.2rem;
        margin-bottom: 0.2rem;
    }

.cart-link {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: 16px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #75aaf2;
    color: #fff;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: transform 0.15s ease, opacity 0.2s ease;
}

.cart-badge--hidden {
    opacity: 0;
    pointer-events: none;
}

@keyframes cart-badge-pop {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.6); }
    70%  { transform: scale(0.88); }
    100% { transform: scale(1); }
}

.cart-badge--pop {
    animation: cart-badge-pop 0.38s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* =========================================================
   GLOBAL SEARCH STRIP
========================================================= */
.search-strip {
    position: fixed;
    left: 0;
    width: 100%;
    background: #f8f8f8;
    border-bottom: 1px solid #dce2e8;
    padding: 12px 0;
    z-index: 10;
}

.search-wrap {
    position: relative;
}

.search-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #d5dce5;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
    z-index: 1200;
    max-height: 420px;
    overflow-y: auto;
}

.search-dropdown[hidden] {
    display: none;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 1rem;
    text-decoration: none;
    color: var(--cs-text);
    border-bottom: 1px solid #eef1f5;
    transition: background 0.15s ease;
}

    .search-result-item:last-child {
        border-bottom: none;
    }

    .search-result-item:hover,
    .search-result-item.is-active {
        background: #eef5ff;
        color: var(--cs-text);
        text-decoration: none;
    }

.search-result-img {
    width: 52px;
    height: 44px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #e3e7ec;
    background: #f5f7fa;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1c4d90;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-meta {
    font-size: 0.8rem;
    color: #6b7787;
    margin-top: 0.1rem;
}

.search-result-price {
    font-size: 0.95rem;
    font-weight: 900;
    color: #131f31;
    white-space: nowrap;
    flex-shrink: 0;
}

.search-dropdown-footer {
    padding: 0.6rem 1rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #5a6777;
    border-top: 1px solid #eef1f5;
    background: #f8fafc;
}

.search-dropdown-msg {
    padding: 1rem;
    text-align: center;
    color: #7a8799;
    font-size: 0.9rem;
}

.search-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    gap: 0.5rem;
    color: #7a8799;
    font-size: 0.9rem;
}

.btn-location {
    background: var(--cs-blue);
    color: #fff;
    border-radius: 0;
    font-weight: 700;
    padding: 0.8rem 1.15rem;
    border: none;
    white-space: nowrap;
}

    .btn-location:hover {
        background: var(--cs-blue-dark);
        color: #fff;
    }

    .btn-location i {
        margin-right: 0.45rem;
    }

.icon-square {
    width: 42px;
    height: 42px;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d7dce2;
}

.search-form .form-control {
    min-height: 52px;
    border-radius: 0;
    border: 1px solid #d5dce5;
    font-size: 1.05rem;
}

.search-form .btn-search {
    min-width: 64px;
    background: var(--cs-blue);
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 1.25rem;
}

    .search-form .btn-search:hover {
        background: var(--cs-blue-dark);
    }

/* =========================================================
   HOME PAGE ONLY
========================================================= */
.quick-links-bar {
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 1080;
    background: linear-gradient(180deg, #0f63c9 0%, #0053b0 100%);
}

.quick-link-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    padding: 0.95rem 0.75rem;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
    font-size: 0.95rem;
}

    .quick-link-item:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
    }

    .quick-link-item i {
        font-size: 1.4rem;
    }

.hero-section {
    position: relative;
    min-height: 560px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 35%, rgba(0, 0, 0, 0.05) 100%), url("https://calspas.com/calspas-hot-tubs-img/Patio-Plus-Banner-2026-D.webp") center center / cover no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* When the hero image is set dynamically via inline style, the inline style
   takes precedence over this rule because the gradient is part of the
   background shorthand on the element itself. The CSS rule above acts
   as a static fallback only. */

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 62, 132, 0.22), rgba(0, 0, 0, 0));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 470px;
    padding: 2rem 0;
}

    .hero-content h1 {
        font-size: clamp(2.5rem, 6vw, 4.5rem);
        line-height: 0.95;
        font-weight: 900;
        margin-bottom: 1rem;
        color: #fff;
    }

    .hero-content p {
        font-size: clamp(1.15rem, 2vw, 1.8rem);
        margin-bottom: 1.5rem;
        color: #fff;
    }

.hero-btn {
    font-weight: 800;
    border-radius: 0;
    padding: 0.9rem 1.5rem;
    background: var(--cs-blue);
    border-color: var(--cs-blue);
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

    .hero-btn:hover {
        background: var(--cs-blue-dark);
        border-color: var(--cs-blue-dark);
        color: #fff;
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(0, 83, 176, 0.45);
    }

    .hero-btn:active {
        transform: translateY(0);
        box-shadow: none;
    }

.promo-section {
    padding: 1.5rem 0;
}

.promo-card {
    background: linear-gradient(180deg, #0f63c9 0%, #0053b0 100%);
    color: #fff;
    text-align: center;
    padding: 2rem 1rem;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

    .promo-card h3 {
        font-size: clamp(1.7rem, 3vw, 2.8rem);
        font-weight: 900;
        margin-bottom: 0.3rem;
        line-height: 1.05;
    }

        .promo-card h3 span {
            font-size: 0.55em;
            font-weight: 700;
        }

    .promo-card p {
        font-weight: 700;
        margin-bottom: 1rem;
    }

.btn-promo {
    background: #00479a;
    color: #fff;
    border-radius: 0;
    padding: 0.7rem 1.25rem;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease, letter-spacing 0.2s ease;
}

    .btn-promo:hover {
        background: #003b81;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
        letter-spacing: 0.04em;
    }

    .btn-promo:active {
        transform: translateY(1px);
        box-shadow: none;
    }

.categories-section {
    padding-bottom: 1.5rem;
}

.category-tile {
    min-height: 600px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--cs-border);
}

.category-tile-left {
    background: url("https://calspas.com/calspas-hot-tubs-img/product_pictures_new/calspas-hot-tubs-portable-swim-spas-for-sale-pz-516l-env.png") center center / cover no-repeat;
}

.category-tile-right {
    background: url("https://calspas.com/calspas-hot-tubs-img/product_pictures_new/calspas-hot-tubs-portable-swim-spas-for-sale-pz-519l-env.png") center center / cover no-repeat;
}

.tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 49, 112, 0.15), rgba(0, 0, 0, 0.2));
}

.tile-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    color: #fff;
}

    .tile-content h2 {
        font-size: clamp(1.8rem, 3vw, 3rem);
        font-weight: 900;
        margin: 0;
    }

.btn-size {
    background: var(--cs-blue);
    color: #fff;
    border-radius: 0;
    font-weight: 800;
    padding: 0.7rem 1rem;
    border: none;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

    .btn-size:hover {
        background: var(--cs-blue-dark);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 5px 14px rgba(0, 71, 154, 0.4);
    }

    .btn-size:active {
        transform: translateY(1px);
        box-shadow: none;
    }

.best-sellers-section {
    padding: 1.5rem 0;
}

.section-title-wrap {
    position: relative;
}

.section-title {
    display: inline-block;
    color: var(--cs-blue);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin: 0;
    position: relative;
    padding: 0 1rem;
    background: #fff;
}

.product-card {
    border-radius: 0;
    border: 1px solid #e1e6ec;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

    .product-card img {
        height: 450px;
        object-fit: cover;
    }

    .product-card .card-body {
        text-align: center;
    }

    .product-card .card-title {
        font-weight: 700;
        color: #164481;
        margin-bottom: 1.25rem;
    }

.value-bar {
    background: #f4f6f8;
    border-top: 1px solid #e1e7ed;
    border-bottom: 1px solid #e1e7ed;
    padding: 1.5rem 0;
}

.value-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #1c4d90;
    font-weight: 800;
    font-size: 1.05rem;
}

    .value-item i {
        font-size: 1.8rem;
    }

/* =========================================================
   CATEGORY PAGE ONLY
========================================================= */
.category-page .breadcrumb-bar {
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #e5eaf0;
    background: #fff;
    padding: 12px 0;
}

.category-page .breadcrumb {
    font-size: 1rem;
}

.category-page .breadcrumb-item a {
    text-decoration: none;
    color: var(--cs-blue);
}

.category-page .breadcrumb-item.active {
    color: #445264;
}

.page-title-bar {
    padding: 22px 0 18px;
    border-bottom: 1px solid #edf1f5;
}

.page-title {
    font-size: 3rem;
    line-height: 1;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #101f33;
}

.listing-section {
    padding-bottom: 2rem;
}

.listing-controls {
    border-bottom: 1px solid var(--cs-border);
    border-top: 1px solid var(--cs-border);
    background: #fff;
    margin-bottom: 1rem;
}

.results-count,
.sort-wrap,
.view-controls {
    min-height: 72px;
    display: flex;
    align-items: center;
}

.results-count {
    font-size: 1.15rem;
    font-weight: 700;
    padding: 0 1.25rem 0 0;
}

.sort-wrap {
    gap: 0.75rem;
    border-left: 1px solid var(--cs-border);
    border-right: 1px solid var(--cs-border);
    padding: 0 1rem;
}

    .sort-wrap label {
        font-size: 1.1rem;
        font-weight: 700;
        white-space: nowrap;
    }

    .sort-wrap .form-select {
        max-width: 220px;
        border: none;
        box-shadow: none;
        font-size: 1rem;
    }

.view-controls {
    justify-content: flex-end;
    gap: 0;
    padding-left: 1rem;
}

.view-btn,
.text-control {
    border: 1px solid var(--cs-border);
    border-radius: 0;
    background: #fff;
    min-width: 44px;
    min-height: 38px;
    color: #526275;
    font-weight: 700;
}

    .view-btn.active {
        color: var(--cs-blue);
        background: #f4f8ff;
    }

.text-control {
    padding: 0.45rem 0.85rem;
}

.filter-sidebar {
    border-right: 1px solid var(--cs-border);
    padding: 1rem 1.25rem 0 0;
}

.filter-header {
    padding: 1rem 0 1.25rem;
    border-bottom: 1px solid #edf1f4;
}

    .filter-header h2 {
        font-size: 2rem;
        font-weight: 800;
        margin: 0;
    }

.compare-link {
    font-size: 0.75rem;
    font-weight: 800;
    text-decoration: none;
    color: #f28a18;
}

.filter-group {
    padding: 1rem 0 1.25rem;
    border-bottom: 1px solid #edf1f4;
}

    .filter-group h3 {
        font-size: 1.1rem;
        font-weight: 800;
        margin-bottom: 0.9rem;
        color: #1c2a3f;
    }

.form-check {
    margin-bottom: 0.65rem;
}

.form-check-input {
    border-radius: 2px;
}

.form-check-label {
    color: #465466;
    font-size: 1rem;
}

.btn-reset {
    margin-top: 1.25rem;
    background: linear-gradient(180deg, #0f63c9 0%, #0053b0 100%);
    color: #fff;
    border-radius: 2px;
    border: none;
    font-weight: 800;
    padding: 0.85rem 1rem;
}

    .btn-reset:hover {
        color: #fff;
        background: var(--cs-blue-dark);
    }

.secure-card {
    margin-top: 2rem;
    border: 1px solid #dfe4ea;
    background: linear-gradient(180deg, #fbfcfe 0%, #f1f4f8 100%);
}

.secure-card-title {
    font-size: 1.15rem;
    font-weight: 900;
    color: #103a78;
    line-height: 1.15;
    padding: 1rem;
    border-bottom: 1px solid #dfe4ea;
}

.secure-list {
    padding: 1rem;
}

.secure-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: #143e7b;
    font-weight: 800;
    margin-bottom: 1rem;
}

    .secure-item:last-child {
        margin-bottom: 0;
    }

    .secure-item i {
        font-size: 1.8rem;
    }

.products-wrap {
    padding-left: 1rem;
}


/* =========================================================
   PRODUCT CARDS (Reference Design Style)
========================================================= */
.product-col {
    display: flex;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e1e6ec;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.product-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    background: #f5f7fa;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-image-badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    border-radius: 4px;
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #4a5768;
    border: 1px solid #d8dee6;
    letter-spacing: 0.03em;
}

.product-seat-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    border-radius: 4px;
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid #d8dee6;
    letter-spacing: 0.03em;
}

.product-seat-badge.lounger {
    color: #0f63c9;
}

.product-seat-badge.bench {
    color: #0f63c9;
}



.product-model-number {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #66768a;
    margin-bottom: 0.6rem;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1c4d90;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-title a {
    text-decoration: none;
    color: inherit;
}

.product-title a:hover {
    color: var(--cs-blue);
}

.product-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.stars {
    color: var(--cs-gold);
    letter-spacing: 2px;
    display: inline-flex;
    gap: 1px;
}

    .stars i {
        font-size: 0.85rem;
    }

.reviews {
    color: #666;
    font-size: 0.85rem;
}

.product-pricing {
    margin-bottom: 1rem;
}

.product-price-original {
    font-size: 0.85rem;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 0.25rem;
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.product-price-discounted {
    font-size: 1.6rem;
    font-weight: 900;
    color: #131f31;
}

.product-discount-badge {
    background: #fff4e6;
    color: #c7531e;
    padding: 0.35rem 0.55rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.product-meta {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1rem;
    color: #3f4d5d;
    font-size: 0.9rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

    .meta-item i {
        color: var(--cs-blue);
        font-size: 1rem;
    }

    .meta-item strong {
        color: #131f31;
    }


.btn-details {
    width: 100%;
    background: linear-gradient(180deg, #0f63c9 0%, #0053b0 100%);
    color: #fff;
    border: none;
    border-radius: 2px;
    padding: 0.7rem 1rem;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

    .btn-details:hover {
        background: var(--cs-blue-dark);
        color: #fff;
        text-decoration: none;
    }

.product-compare {
    display: flex;
    align-items: flex-end;
}

.compare-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    color: #666;
    gap: 0.3rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
}

    .compare-toggle input {
        display: none;
    }

.compare-box {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border 0.2s;
}

    .compare-toggle input:checked + .compare-box {
        background: var(--cs-blue);
        border-color: var(--cs-blue);
        color: #fff;
    }

        .compare-toggle input:checked + .compare-box i {
            font-size: 0.75rem;
        }

.compare-text {
    color: #47586b;
}


@keyframes fadeInPrice {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.pagination-wrap {
    padding: 1.5rem 0;
}

.pagination .page-link {
    border-radius: 0;
    color: #33465e;
    border: 1px solid #dbe1e8;
    padding: 0.7rem 1rem;
    font-weight: 700;
}

.pagination .page-item.active .page-link {
    background: #cfd9ee;
    color: #12376f;
    border-color: #cfd9ee;
}

.pagination .muted-link {
    color: #8a97a8;
}

.checkout-strip {
    border-top: 1px solid #e5eaf0;
    background: linear-gradient(180deg, #f9fbfd 0%, #f3f6f9 100%);
    padding: 1rem 0 1.5rem;
}

.checkout-strip-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

    .checkout-strip-title .line {
        flex: 1;
        height: 1px;
        background: #cfd8e4;
    }

    .checkout-strip-title .label {
        font-size: 1.15rem;
        font-weight: 900;
        color: #0f3f81;
        white-space: nowrap;
    }

        .checkout-strip-title .label i {
            margin-right: 0.4rem;
        }

.checkout-strip-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.checkout-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #133f7f;
    font-weight: 800;
    font-size: 1rem;
}

    .checkout-pill i {
        font-size: 1.6rem;
    }

/* =========================================================
   LIST MODE FOR CATEGORY PAGE
========================================================= */
.category-page .product-col.list-mode {
    border-right: none !important;
}

    .category-page .product-col.list-mode .product-card {
        display: flex;
        gap: 1.25rem;
        align-items: flex-start;
    }

    .category-page .product-col.list-mode .product-image-wrap {
        width: 320px;
        flex: 0 0 320px;
        margin-bottom: 0;
    }

 

/* =========================================================
   RESPONSIVE
========================================================= */
@media (min-width: 1200px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

@media (max-width: 1199.98px) {
    .nav-icons {
        margin-top: 1rem;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .nav-icon-link {
        align-items: flex-start;
    }

    .main-menu .nav-link.active::after,
    .main-menu .nav-link:hover::after {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .page-title {
        font-size: 2.35rem;
    }

    .listing-controls {
        padding: 0.75rem 0;
    }

    .results-count,
    .sort-wrap,
    .view-controls {
        min-height: auto;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .sort-wrap {
        border-left: none;
        border-right: none;
        padding-left: 0;
    }

    .view-controls {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0.4rem;
        padding-left: 0;
    }

    .products-wrap {
        padding-left: 0;
    }

    .category-page .product-col:nth-child(2n) {
        border-right: 1px solid var(--cs-border);
    }
}

@media (max-width: 767.98px) {
    .brand-logo {
        font-size: 1.9rem;
    }

    .hero-section {
        min-height: 420px;
    }

    .page-title {
        font-size: 2rem;
    }

    .value-item {
        justify-content: flex-start;
    }

    .category-page .product-col,
    .category-page .product-col:nth-child(2n) {
        border-right: none;
    }

    .product-image {
        height: 220px;
    }

    .product-actions,
    .product-compare {
        justify-content: flex-start;
    }

    .checkout-strip-title {
        flex-direction: column;
        gap: 0.5rem;
    }

        .checkout-strip-title .line {
            width: 100%;
        }

    .category-page .product-col.list-mode .product-card {
        display: block;
    }

    .category-page .product-col.list-mode .product-image-wrap {
        width: 100%;
        flex: none;
        margin-bottom: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .search-form .form-control {
        min-height: 48px;
    }

    .search-form .btn-search {
        min-width: 56px;
    }

    .results-count {
        font-size: 1rem;
    }

    .category-page .product-card {
        padding: 1rem;
    }
}

/* ============================================================
   Image skeleton loader
   Usage: add the "skeleton" attribute to any <img> tag.
   The Tag Helper wraps it in .img-skeleton automatically.
   Each image's skeleton is completely independent.
   ============================================================ */

.img-skeleton {
    position: relative;
    overflow: hidden;
    display: block;
    background: #dde3eb;
}

/* Shimmer sweep */
.img-skeleton::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent       0%,
        rgba(255,255,255,0.55) 50%,
        transparent       100%
    );
    background-size: 200% 100%;
    animation: img-skeleton-shimmer 1.4s ease-in-out infinite;
    z-index: 2;
    transition: opacity 0.25s ease;
}

/* Image starts invisible so skeleton shows through */
.img-skeleton > img {
    opacity: 0;
    transition: opacity 0.35s ease;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Once loaded: shimmer gone, image fades in */
.img-skeleton.img-skeleton--loaded::before {
    opacity: 0;
    pointer-events: none;
    animation: none;
}

.img-skeleton.img-skeleton--loaded > img {
    opacity: 1;
}

@keyframes img-skeleton-shimmer {
    0%   { background-position:  200% 0; }
    100% { background-position: -200% 0; }
}

