.hero {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: #b8a99a;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Fallback gradient when no real image */
.hero-bg-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            #c9b8a8 0%,
            #b5a090 25%,
            #a8917e 50%,
            #bfad9e 75%,
            #cfc0b2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.best-product {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    /* background: #FAF8F5; */
    /* Cream background */
    margin: 35px auto;
    overflow: hidden;
}

.best-product>.clm {
    padding: 0;
    /* Remove column padding to make image flush */
}

/* Right column styles (contains the slider) */
.best-product>.clm:last-child {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    padding: 0px 0px 0px 40px;
    /* background: #FAF8F5; */
}

.best-product .img-wrap {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    display: block;
}

.best-product .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Remove default background/border of product card images inside best-product */
.best-product .product-card {
    background: transparent !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none !important;
}

.best-product .product-image-wrap {
    background: transparent !important;
    border: none !important;
    margin-bottom: 15px;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.best-product .product-image-wrap img {
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    /* Blends white bg images nicely with cream background */
}

/* Style product brand, name and price to match mockup */
.best-product .product-brand {
    font-size: 13px;
    color: #8c857b;
    margin-bottom: 6px;
    text-decoration: none !important;
    font-family: var(--font-family2), 'Playfair Display', serif;
    text-transform: capitalize;
}

.best-product .product-name {
    font-size: 16px;
    font-weight: 700;
    color: #1b1b1b;
    margin-bottom: 8px;
    line-height: 1.4;
    height: auto;
    /* Override fixed height from general card if any */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 44px;
}

.best-product .product-price {
    font-size: 15px;
    color: #404147;
    font-weight: 500;
}

.best-product-inner:not(.slick-initialized) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.best-product-inner.slick-initialized {
    display: block;
    width: 100%;
}

.best-product-inner.slick-initialized .slick-track {
    display: flex;
}

.best-product-inner .slick-list {
    margin: 0 -10px;
}

.best-product-inner.slick-initialized .product-card {
    margin: 0 15px;
    /* Spacing between cards inside Slick */
    outline: none;
}

/* Slick dots styled as a horizontal progress bar line */
.best-product-inner .slick-dots {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 40px auto 0;
    /* gap: 12px; */
    width: 300px;
    height: 2px;
    position: relative;
}

.best-product-inner .slick-dots li {
    flex: 1;
    height: 100%;
    border: 1px solid #ddd;
}

.best-product-inner .slick-dots li button {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    background: #e2e8f0;
    font-size: 0;
    line-height: 0;
    color: transparent;
    cursor: pointer;
    transition: background 0.3s ease;
}

.best-product-inner .slick-dots li.slick-active {
    border: 1px solid #000;
}

@media (max-width: 991px) {
    .best-product {
        margin: 10px auto;
    }

    .best-product>.clm:last-child {
        padding: 20px 0;
    }

    .best-product-inner .slick-dots {
        width: 180px;
        margin: 30px auto 0;
    }
}

@media (max-width: 768px) {
    .best-product .img-wrap {
        aspect-ratio: 16 / 9;
        height: auto;
    }
}

/* Decorative brush-like elements in the fallback */
.hero-bg-fallback::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 30% 60%, rgba(90, 70, 55, 0.18) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 70% 40%, rgba(60, 45, 35, 0.12) 0%, transparent 70%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.04) 0%,
            rgba(0, 0, 0, 0.10) 60%,
            rgba(0, 0, 0, 0.22) 100%);
}

.hero-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-family2);
    font-size: 50px;
    font-style: italic;
    font-weight: 400;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.18);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

/* ── Category Tab Bar ── */
.category-tabs {
    width: 100%;
    display: flex;
    border-top: none;
    transform: translateY(-50%);
}

.category-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #4a4a4a;
    background: #e8e4de;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #d6d0c8;
}

.category-tab:last-child {
    border-right: none;
}

.category-tab.active {
    background: #9c8b7c;
    color: #fff;
    font-weight: 600;
}

.category-tab:not(.active):hover {
    background: #ddd8d0;
    color: #2a2a2a;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero {
        height: 280px;
    }

    .hero-label {
        font-size: 44px;
    }

    .category-tab {
        font-size: 12px;
        padding: 15px 6px;
        letter-spacing: 0.02em;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 220px;
    }

    .hero-label {
        font-size: 32px;
    }

    .category-tab {
        font-size: 11px;
        padding: 10px 4px;
        letter-spacing: 0;
    }
}

.product-list {
    padding: 30px 0;
}

/* ── Product List Sorting & Count ── */
.prd-sort {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.prd-sort-label p {
    font-size: 18px;
    color: #555;
    margin: 0;
    font-weight: 400;
}

.prd-sort-label p strong {
    color: #1a1a1a;
    font-weight: 700;
}

.prd-sort-select {
    display: flex;
    justify-content: flex-end;
}

.prd-sort-select select {
    border: none;
    padding: 0 10px;
    border-bottom: 1px solid #1a1a1a;
    border-radius: 0;
    background: transparent;
    font-size: 15px;
    color: #1a1a1a;
    padding: 4px 20px 4px 4px;
    cursor: pointer;
    font-weight: 500;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%231a1a1a' stroke-width='1.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 4px center;
    background-size: 10px 6px;
    min-width: 120px;
}

@media (max-width: 576px) {
    .prd-sort {
        flex-direction: row;
        align-items: center;
    }

    .prd-sort-label p {
        font-size: 13px;
    }

    .prd-sort-select select {
        font-size: 13px;
        min-width: 100px;
    }
}

.product-card {
    margin-bottom: 24px;
}