/* ==========================================================
   MAFRA INDIA — Custom overrides
   Theme: #c70a0a (red) + #111 (black)
   ========================================================== */

/* ----------------------------------------------------------
   0. BOX-SIZING RESET
   ---------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ----------------------------------------------------------
   DESIGN TOKENS  (override home.css variables)
   ---------------------------------------------------------- */
:root {
    --red: #c70a0a;
    --red-dk: #a30808;
    --red-light: rgba(199, 10, 10, .08);
    --dark: #111111;
    --dark2: #1a1a1a;
    --white: #ffffff;
    --off-white: #f8f8f8;
    --border: #eeeeee;
    --text: #222222;
    --muted: #666666;
    --radius-sm: 4px;
    --radius-md: 7px;
    --radius-lg: 11px;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, .07);
    --shadow-md: 0 8px 28px rgba(0, 0, 0, .10);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, .14);
    --transition: .25s ease;
    --brand-red: #c70a0a;
    /* header.css compat */
    --brand-red-bright: #e01212;
}

/* ----------------------------------------------------------
   FONT AWESOME 6 COMPATIBILITY ON LOCAL FONT AWESOME 4
   ---------------------------------------------------------- */
.fas,
.far,
.fab,
.fa-solid,
.fa-regular,
.fa-brands {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fa-truck-fast:before {
    content: "\f0d1";
}

.fa-shield-halved:before {
    content: "\f132";
}

.fa-headset:before {
    content: "\f095";
}

.fa-flask-vial:before {
    content: "\f0c3";
}

.fa-user-group:before {
    content: "\f0c0";
}

.fa-box-open:before {
    content: "\f187";
}

.fa-circle-check:before {
    content: "\f058";
}

.fa-envelope-open-text:before {
    content: "\f003";
}

.fa-circle:before {
    content: "\f111";
}

/* ----------------------------------------------------------
   1. GLOBAL TYPOGRAPHY & BASE
   ---------------------------------------------------------- */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: #fff;
    overflow-x: hidden;
    padding: 0px !important;
    margin: 0px !important;
}

/* Cap page width and center */
.container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

a {
    transition: color var(--transition);
}

a:hover {
    color: var(--red);
}

img {
    max-width: 100%;
    height: auto;
}

/* ----------------------------------------------------------
   2. SECTION SPACING — consistent vertical rhythm
   ---------------------------------------------------------- */
.hp-section {
    padding: 48px 0;
}

.hp-section.pt-0 {
    padding-top: 0;
}

@media (max-width: 991px) {
    .hp-section {
        padding: 36px 0;
    }
}

@media (max-width: 767px) {
    .hp-section {
        padding: 28px 0;
    }

    .hp-section.pt-0 {
        padding-top: 0;
    }
}

/* ----------------------------------------------------------
   3. SECTION HEADER — hp-header
   ---------------------------------------------------------- */
.hp-header {
    margin-top: 24px;
    margin-bottom: 12px;
    gap: 12px;
}

.hp-tag {
    background: var(--red-light);
    color: var(--red);
    border: 1px solid rgba(199, 10, 10, .15);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 10px;
}

.hp-title {
    font-size: clamp(22px, 3.5vw, 32px);
    font-weight: 800;
    color: var(--dark);
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.3px;
}

.hp-title span {
    color: var(--red);
}

.hp-sub {
    font-size: 14px;
    color: var(--muted);
    margin: 8px 0 0;
}

.hp-view-all {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--dark);
    border: 1.5px solid var(--border);
    padding: 8px 18px;
    border-radius: 50px;
    white-space: nowrap;
    transition: all var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.hp-view-all:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

/* ----------------------------------------------------------
   4. HERO SLIDER  (hfs-* classes from index.blade.php)
   ---------------------------------------------------------- */
.hfs-section {
    width: 100%;
    overflow: hidden;
    background: var(--dark);
    line-height: 0;
}

.hfs-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hfs-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.hfs-slide {
    flex: 0 0 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hfs-slide img {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
    line-height: 0;
}

.hfs-slide.hfs-active img {
    transform: scale(1.025);
}

/* Dark gradient overlay */
.hfs-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, .20) 0%,
            rgba(0, 0, 0, .62) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

/* Centered content */
.hfs-content {
    text-align: center;
    color: #fff;
    max-width: 480px;
    width: 100%;
}

.hfs-slide:not(.hfs-active) .hfs-content {
    opacity: 0;
}

.hfs-slide.hfs-active .hfs-content {
    animation: hfsIn .55s ease both;
}

@keyframes hfsIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tag */
.hfs-tag {
    display: inline-block;
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

/* Heading */
.hfs-title {
    font-size: clamp(18px, 4vw, 36px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 12px;
    color: #fff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .30);
}

.hfs-title span {
    color: #ffd700;
}

/* Description */
.hfs-desc {
    font-size: clamp(13px, 1.4vw, 15px);
    line-height: 1.65;
    color: rgba(255, 255, 255, .86);
    margin: 0 auto 26px;
    max-width: 500px;
}

/* CTA row */
.hfs-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.hfs-btn-primary {
    background: var(--red);
    color: #fff !important;
    padding: 13px 30px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    letter-spacing: .3px;
    display: inline-block;
    min-height: 46px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.hfs-btn-primary:hover {
    background: var(--red-dk);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(199, 10, 10, .45);
    color: #fff !important;
}

.hfs-btn-outline {
    background: transparent;
    color: #fff !important;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid rgba(255, 255, 255, .65);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background var(--transition), border-color var(--transition);
    display: inline-flex;
    align-items: center;
    min-height: 46px;
}

.hfs-btn-outline:hover {
    background: rgba(255, 255, 255, .15);
    border-color: #fff;
    color: #fff !important;
}

/* Arrows */
.hfs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1.5px solid rgba(255, 255, 255, .28);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), transform var(--transition);
    padding: 0;
}

.hfs-arrow:hover {
    background: var(--red);
    border-color: var(--red);
    transform: translateY(-50%) scale(1.08);
}

.hfs-prev {
    left: 18px;
}

.hfs-next {
    right: 18px;
}

/* Dots */
.hfs-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hfs-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background var(--transition), width var(--transition), border-radius var(--transition);
}

.hfs-dot.active {
    background: var(--red);
    width: 28px;
    border-radius: 6px;
}

/* Counter */
.hfs-counter {
    position: absolute;
    bottom: 14px;
    right: 22px;
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 1;
}

.hfs-counter-sep {
    opacity: .4;
}

/* Shimmer */
@keyframes hfsShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.hfs-viewport.hfs-loading::before {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
    background-size: 200% 100%;
    animation: hfsShimmer 1.4s ease infinite;
    z-index: 2;
}

/* Responsive */
@media (max-width: 767px) {
    .hfs-slide img {
        height: 280px;
    }

    .hfs-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .hfs-tag {
        font-size: 10px;
        padding: 4px 12px;
        margin-bottom: 10px;
    }

    .hfs-desc {
        font-size: 12.5px;
        margin-bottom: 16px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hfs-btn-primary,
    .hfs-btn-outline {
        padding: 10px 20px;
        font-size: 13px;
        min-height: 44px;
    }

    .hfs-arrow {
        width: 34px;
        height: 34px;
    }

    .hfs-arrow svg {
        width: 15px;
        height: 15px;
    }

    .hfs-prev {
        left: 8px;
    }

    .hfs-next {
        right: 8px;
    }

    .hfs-counter {
        display: none;
    }
}

@media (max-width: 400px) {
    .hfs-slide img {
        height: 220px;
    }

    .hfs-desc {
        display: none;
    }

    .hfs-title {
        font-size: 18px;
    }
}

/* ----------------------------------------------------------
   5. H1 INTRO STRIP
   ---------------------------------------------------------- */
.hp-intro-strip {
    background: var(--dark2);
    padding: 14px 0;
    border-bottom: 2px solid var(--red);
}

.hp-intro-strip .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 18px;
}

.hp-intro-h1 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.4;
}

.hp-intro-sub {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .55);
    margin: 0;
}

@media (max-width: 767px) {
    .hp-intro-strip .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }

    .hp-intro-h1 {
        font-size: 13.5px;
    }

    .hp-intro-sub {
        display: none;
    }
}

/* ----------------------------------------------------------
   6. USP / TRUST BAR
   ---------------------------------------------------------- */
.usp-bar {
    background: #fff;
    border-top: 3px solid var(--red);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

.usp-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 11px;
    flex: 1 1 150px;
    min-width: 0;
}

.usp-icon {
    width: 42px;
    height: 42px;
    background: rgba(199, 10, 10, .07);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: var(--red);
    flex-shrink: 0;
    border: 1.5px solid rgba(199, 10, 10, .12);
}

.usp-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.usp-text strong {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--dark);
}

.usp-text span {
    font-size: 11px;
    color: #999;
}

@media (max-width: 767px) {
    .usp-item:nth-child(n+4) {
        display: none;
    }

    .usp-grid {
        justify-content: center;
        gap: 8px;
    }
}

/* ----------------------------------------------------------
   7. SHOP BY CATEGORY  — redesigned
   ---------------------------------------------------------- */

/* Section wrapper */
.cat-section {
    padding: 64px 0;
    background: #fff;
}

@media (max-width: 767px) {
    .cat-section {
        padding: 40px 0;
    }
}

/* Section header */
.cat-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 36px;
}

/* View-all button */
.cat-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--red);
    border: 1.5px solid rgba(199, 10, 10, .25);
    padding: 9px 20px;
    border-radius: 50px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    background: rgba(199, 10, 10, .04);
    flex-shrink: 0;
}

.cat-view-all:hover {
    background: var(--red);
    color: #fff !important;
    border-color: var(--red);
}

.cat-view-all svg {
    transition: transform var(--transition);
}

.cat-view-all:hover svg {
    transform: translateX(3px);
}

/* ---- Scroll wrapper (handles overflow on mobile) ---- */
.cat-scroll-wrap {
    position: relative;
}

/* Fade hint on mobile to show there's more to scroll */
@media (max-width: 767px) {
    .cat-scroll-wrap::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 56px;
        height: 100%;
        background: linear-gradient(to right, transparent, rgba(255, 255, 255, .92));
        pointer-events: none;
        z-index: 2;
    }
}

/* ---- Grid (desktop) / Flex scroll (mobile) ---- */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 16px;
}

@media (max-width: 1280px) {
    .cat-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 1024px) {
    .cat-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .cat-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
}

/* Mobile: horizontal scroll strip */
@media (max-width: 575px) {
    .cat-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
        scrollbar-width: none;
    }

    .cat-grid::-webkit-scrollbar {
        display: none;
    }

    .cat-item {
        flex: 0 0 100px;
        scroll-snap-align: start;
    }
}

/* ---- Category item card ---- */
.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 11px;
    padding: 22px 10px 18px;
    border-radius: 18px;
    background: #fff;
    border: 1.5px solid var(--cat-border, #eee);
    text-decoration: none !important;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition:
        transform 0.30s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

/* Subtle sweep background on hover */
.cat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--cat-bg, rgba(199, 10, 10, .06));
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 0;
}

.cat-item:hover {
    transform: translateY(-6px);
    border-color: var(--cat-icon, var(--red));
    box-shadow: 0 12px 32px -4px rgba(0, 0, 0, .12);
}

.cat-item:hover::before {
    opacity: 1;
}

/* ---- Icon circle ---- */
.cat-item__icon {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--cat-bg, rgba(199, 10, 10, .07));
    border: 2px solid var(--cat-border, rgba(199, 10, 10, .14));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.30s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.25s ease;
}

.cat-item__icon i {
    font-size: 20px;
    color: var(--cat-icon, var(--red));
    transition: color 0.2s ease, transform 0.30s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cat-item:hover .cat-item__icon {
    background: var(--cat-icon, var(--red));
    border-color: var(--cat-icon, var(--red));
    transform: scale(1.10) rotate(-4deg);
    box-shadow: 0 8px 22px -4px color-mix(in srgb, var(--cat-icon, #c70a0a) 40%, transparent);
}

.cat-item:hover .cat-item__icon i {
    color: #fff;
    transform: scale(1.05);
}

/* ---- Label ---- */
.cat-item__name {
    position: relative;
    z-index: 1;
    font-size: 12px;
    font-weight: 700;
    color: #333;
    line-height: 1.35;
    text-transform: capitalize;
    letter-spacing: 0.1px;
}

.cat-item:hover .cat-item__name {
    color: var(--cat-icon, var(--red));
}

/* ---- Arrow — appears on hover ---- */
.cat-item__arrow {
    position: relative;
    z-index: 1;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--cat-icon, var(--red));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(6px) scale(0.8);
    transition: opacity 0.2s ease, transform 0.25s ease;
    flex-shrink: 0;
}

.cat-item:hover .cat-item__arrow {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ---- Mobile adjustments ---- */
@media (max-width: 575px) {
    .cat-item {
        padding: 14px 6px 12px;
        gap: 7px;
        border-radius: 12px;
    }

    .cat-item__icon {
        width: 44px;
        height: 44px;
    }

    .cat-item__icon i {
        font-size: 18px;
    }

    .cat-item__name {
        font-size: 11px;
    }

    .cat-item__arrow {
        display: none;
    }
}

@media (max-width: 400px) {
    .cat-item__icon {
        width: 40px;
        height: 40px;
    }

    .cat-item__icon i {
        font-size: 16px;
    }
}

/* ----------------------------------------------------------
   8. PRODUCT CARDS — layout improvements
   ---------------------------------------------------------- */

/* Non-carousel product grids */
.product-grid,
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

/* Product card — flex column, full height */
.pc-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow .3s ease, transform .3s ease;
}

.pc-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .10);
    transform: translateY(-4px);
}

/* Image wrapper: fixed height, centered content */
.pc-thumb {
    height: 200px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card body: flex column, 12px padding */
.pc-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 12px;
}

/* Price + CTA wrapper pinned to bottom */
.pc-bottom {
    margin-top: auto;
    padding-top: 10px;
}

.search_container form {
    width: auto !important;
}

.pc-category {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--red);
    font-weight: 700;
}

/* Product title: 14px, 2-line clamp */
.pc-name {
    font-size: 14px;
}

.pc-name a {
    color: var(--dark);
    font-weight: 600;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pc-name a:hover {
    color: var(--red);
}

.pc-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--red);
}

.pc-img-primary,
.pc-img-secondary {
    padding: 0px !important;
}

.pc-mrp {
    font-size: 12px;
    color: #bbb;
    text-decoration: line-through;
}

/* Add to Cart — minimum 44px touch target */
.pc-btn-cart {
    min-height: 44px;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    background: var(--dark);
    color: #fff !important;
    transition: background var(--transition), box-shadow var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
}

.pc-btn-cart:hover {
    background: var(--red);
    box-shadow: 0 4px 14px rgba(199, 10, 10, .30);
}

.pc-btn-hot {
    background: linear-gradient(135deg, var(--red), #e53030);
    box-shadow: 0 4px 12px rgba(199, 10, 10, .28);
}

.pc-btn-hot:hover {
    background: linear-gradient(135deg, var(--red-dk), #c02828);
    box-shadow: 0 6px 18px rgba(199, 10, 10, .38);
}

.pc-btn-oos {
    background: #e9e9e9;
    color: #999 !important;
    cursor: not-allowed;
    box-shadow: none;
}

.pc-btn-oos:hover {
    background: #e9e9e9;
    box-shadow: none;
    transform: none;
}

/* Badge colours */
.pc-badge-hot {
    background: linear-gradient(135deg, var(--red), #e53030);
}

.pc-badge-best {
    background: linear-gradient(135deg, #6b3fc9, #4c2d96);
}

.pc-badge-featured {
    background: linear-gradient(135deg, #1e6fd9, #0d47a1);
}

.pc-badge-sale {
    background: linear-gradient(135deg, var(--red), var(--red-dk));
}

.pc-badge-new {
    background: linear-gradient(135deg, #1aaa6a, #0d8050);
}

@media (max-width: 575px) {
    .pc-thumb {
        height: 160px;
    }

    .pc-body {
        padding: 10px;
    }

    .pc-btn-cart {
        font-size: 12px;
        padding: 10px;
        min-height: 44px;
    }
}

/* ----------------------------------------------------------
   9. PRODUCT TABS
   ---------------------------------------------------------- */
.product-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    background: #f4f4f4;
    border-radius: 50px;
    padding: 5px;
    width: fit-content;
}

.tab-pill {
    padding: 9px 20px;
    border-radius: 50px;
    font-size: 12.5px;
    font-weight: 600;
    color: #666;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.tab-pill:hover {
    color: var(--red);
}

.tab-pill.active {
    background: var(--red);
    color: #fff;
    box-shadow: 0 4px 14px rgba(199, 10, 10, .25);
}

@media (max-width: 575px) {
    .product-tabs-nav {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        width: 100%;
        border-radius: 10px;
    }

    .product-tabs-nav::-webkit-scrollbar {
        display: none;
    }

    .tab-pill {
        scroll-snap-align: start;
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* ----------------------------------------------------------
   10. OFFER BANNERS — fix overflow on mobile
   ---------------------------------------------------------- */
.offer-banner-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

@media (max-width: 991px) {
    .offer-banner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 575px) {

    /* Stack banners on small mobile */
    .offer-banner-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .offer-banner-card {
        min-height: 180px;
    }
}

.offer-banner-card {
    border-radius: var(--radius-lg);
    min-height: 240px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: flex-end;
    transition: transform .3s ease, box-shadow .3s ease;
    isolation: isolate;
    box-shadow: var(--shadow-md);
}

.offer-banner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 48px rgba(199, 10, 10, .18);
}

.offer-banner-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17, 17, 17, .80), rgba(199, 10, 10, .68));
    z-index: 1;
}

.offer-banner-card:nth-child(2)::before {
    background: linear-gradient(135deg, rgba(17, 17, 17, .80), rgba(10, 55, 180, .68));
}

.offer-banner-card:nth-child(3)::before {
    background: linear-gradient(135deg, rgba(17, 17, 17, .80), rgba(10, 110, 40, .68));
}

.offer-banner-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-banner-content {
    padding: 22px 24px;
    color: #fff;
    position: relative;
    z-index: 2;
}

.offer-banner-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 50px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .18);
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #fff;
}

.offer-banner-content h3 {
    font-size: clamp(15px, 1.8vw, 20px);
    font-weight: 800;
    margin: 0 0 8px;
    line-height: 1.25;
}

.offer-banner-content p {
    font-size: 13px;
    margin: 0 0 14px;
    opacity: .82;
    line-height: 1.5;
}

.offer-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--red);
    color: #fff !important;
    padding: 9px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background var(--transition);
    min-height: 36px;
}

.offer-banner-btn:hover {
    background: var(--red-dk);
    color: #fff !important;
}

/* Offer products panel */
.offer-products-panel {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.offer-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 4px;
}

.offer-panel-head h3 {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 4px;
    color: var(--dark);
}

.offer-panel-head p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
}

.offer-coupon-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(199, 10, 10, .06);
    border: 1px solid rgba(199, 10, 10, .14);
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 12px;
    color: var(--red);
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.offer-panel-tabs {
    margin-top: 18px;
    margin-bottom: 6px;
    background: #f4f4f4;
}

.offer-panel-tabs .tab-pill {
    font-size: 12px;
    padding: 8px 18px;
}

@media (max-width: 575px) {
    .offer-products-panel {
        padding: 18px 14px;
    }

    .offer-coupon-chip {
        white-space: normal;
        text-align: left;
    }
}

/* ----------------------------------------------------------
   11. BRAND BANNERS
   ---------------------------------------------------------- */
.single_banner {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease;
}

.single_banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(199, 10, 10, .14);
}

.banner_thumb img {
    width: 100%;
    display: block;
    transition: transform .6s ease;
}

.single_banner:hover .banner_thumb img {
    transform: scale(1.06);
}

/* ----------------------------------------------------------
   12. CTA BANNER
   ---------------------------------------------------------- */
.cta-banner {
    background: linear-gradient(135deg, var(--dark) 0%, #2a0000 55%, #1a0000 100%);
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, .04);
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(199, 10, 10, .22) 0%, transparent 65%);
    pointer-events: none;
}

.cta-banner h2 {
    color: #fff;
    font-size: clamp(24px, 3.5vw, 38px);
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.15;
}

.text-yellow {
    color: #ffd700 !important;
}

.cta-banner p {
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
    margin-bottom: 30px;
    max-width: 500px;
}

.cta-btn-pair {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.cta-btn-primary {
    background: var(--red);
    color: #fff !important;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(199, 10, 10, .30);
    transition: all .3s ease;
    display: inline-block;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
}

.cta-btn-primary:hover {
    background: var(--red-dk);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(199, 10, 10, .42);
    color: #fff !important;
}

.cta-btn-outline {
    background: transparent;
    color: #fff !important;
    padding: 13px 28px;
    border-radius: 50px;
    border: 1.5px solid rgba(255, 255, 255, .25);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none !important;
    transition: all .3s ease;
    display: inline-flex;
    align-items: center;
    min-height: 48px;
}

.cta-btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .12);
    color: #fff !important;
}

.cta-car-icon {
    font-size: 80px;
    color: rgba(199, 10, 10, .35);
}

@media (max-width: 767px) {
    .cta-banner {
        padding: 36px 24px;
    }

    .cta-banner h2 {
        font-size: 22px;
    }

    .cta-banner p {
        font-size: 13.5px;
        margin-bottom: 22px;
    }
}

/* ----------------------------------------------------------
   13. TESTIMONIALS
   ---------------------------------------------------------- */
.testi-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    margin: 8px;
    transition: transform .3s ease, box-shadow .3s ease;
    border: 1px solid var(--border);
}

.testi-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
    border-color: rgba(199, 10, 10, .15);
}

.testi-stars {
    color: #f5a623;
    font-size: 12px;
    margin-bottom: 12px;
}

.testi-quote {
    color: var(--red);
    opacity: .5;
    font-size: 24px;
    margin-bottom: 12px;
    display: block;
}

.testi-text {
    font-size: 14px;
    color: #444;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
}

.testi-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testi-name {
    font-weight: 700;
    color: #222;
    font-size: 13.5px;
    margin: 0;
}

.testi-role {
    font-size: 11.5px;
    color: #aaa;
    margin: 0;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ----------------------------------------------------------
   14. BLOG CARDS
   ---------------------------------------------------------- */
.single_blog figure {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: #fff;
    transition: transform .3s ease, box-shadow .3s ease;
    border: 1px solid var(--border);
}

.single_blog figure:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .10);
    border-color: rgba(199, 10, 10, .18);
}

.blog_thumb {
    height: 190px;
    overflow: hidden;
}

.blog_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.single_blog:hover .blog_thumb img {
    transform: scale(1.07);
}

.blog_content {
    padding: 16px 18px 18px;
}

.blogttil a {
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.blogttil a:hover {
    color: var(--red);
}

.blog-category-link {
    color: var(--red);
    font-weight: 600;
}

.post_meta p {
    font-size: 11.5px;
    color: #aaa;
    margin: 6px 0;
}

.post_readmore a {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--red);
}

.post_readmore a:hover {
    text-decoration: underline;
}

/* ----------------------------------------------------------
   15. NEWSLETTER
   ---------------------------------------------------------- */
.newsletter-section {
    background: linear-gradient(135deg, var(--dark) 0%, #1c0000 100%);
    border-radius: var(--radius-lg);
    padding: 64px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.newsletter-section::before {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    background: var(--red);
    filter: blur(140px);
    opacity: .12;
    top: -80px;
    right: -80px;
    pointer-events: none;
}

.newsletter-tag {
    display: inline-block;
    margin-bottom: 16px;
}

.newsletter-section h2 {
    font-size: clamp(24px, 3.2vw, 34px);
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -.5px;
}

.newsletter-section p {
    color: rgba(255, 255, 255, .55);
    font-size: 15px;
    margin-bottom: 32px;
}

.newsletter_form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 6px;
    padding: 5px 5px 5px 18px;
    border-radius: 50px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(199, 10, 10, .12);
    border: 1.5px solid #ffcece;
}

.newsletter_form input {
    border: none;
    padding: 10px 0;
    flex: 1;
    outline: none;
    color: #333;
    font-size: 14px;
    background: transparent;
    min-width: 0;
}

.newsletter_form button {
    background: var(--red);
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13.5px;
    white-space: nowrap;
    transition: background var(--transition);
    min-height: 44px;
}

.newsletter_form button:hover {
    background: var(--red-dk);
}

@media (max-width: 575px) {
    .newsletter-section {
        padding: 40px 20px;
    }

    .newsletter_form {
        flex-direction: column;
        border-radius: var(--radius-md);
        padding: 14px;
    }

    .newsletter_form button {
        border-radius: var(--radius-sm);
    }
}

/* ----------------------------------------------------------
   16. PAGE CONTENT (CMS)
   ---------------------------------------------------------- */
.page-content-section .page-content-area {
    font-size: 14.5px;
    line-height: 1.85;
    color: #444;
    columns: 2;
    column-gap: 40px;
}

.page-content-section h2 {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 24px;
}

@media (max-width: 767px) {
    .page-content-section .page-content-area {
        columns: 1;
    }
}

/* ----------------------------------------------------------
   17. MOBILE NAVIGATION â€” Fix #1 (header cleanup)
   ---------------------------------------------------------- */
@media (max-width: 991px) {
    .header_top {
        display: none !important;
    }

    .header_bottom {
        display: none !important;
    }

    .header_middle {
        padding: 10px 0;
    }

    .logo img,
    .site-logo-image {
        max-width: 160px !important;
        height: auto !important;
    }

    .header_middle .hover_category {
        display: none !important;
    }

    .header_middle .search_box {
        width: 100%;
    }

    .header_middle .search_box input {
        width: 100%;
        min-width: 0;
    }

    body {
        padding-bottom: 62px;
    }
}

@media (max-width: 480px) {

    .logo img,
    .site-logo-image {
        max-width: 130px !important;
    }
}

/* ----------------------------------------------------------
   18. MOBILE BOTTOM NAV â€” styled with theme color
   ---------------------------------------------------------- */
.mobile-bottom-nav {
    background: #fff;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, .08);
    border-top: 1px solid #f0f0f0;
}

.mobile-bottom-nav .nav-item.active,
.mobile-bottom-nav .nav-item:hover {
    color: var(--red);
}

.mobile-bottom-nav .nav-item.active i,
.mobile-bottom-nav .nav-item:hover i {
    color: var(--red);
}

.mobile-bottom-nav .nav-item .cart-badge {
    background: var(--red);
}

/* ----------------------------------------------------------
   19. OWL CAROUSEL - global arrow/dot tweaks
   ---------------------------------------------------------- */
body[data-home-plugins-src] .owl-carousel:not(.owl-loaded) {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
    gap: 20px;
    min-height: 410px;
    overflow-x: auto;
    padding: 0 4px 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

body[data-home-plugins-src] .owl-carousel:not(.owl-loaded)::-webkit-scrollbar {
    display: none;
}

body[data-home-plugins-src] .testimonial_carousel:not(.owl-loaded) {
    grid-auto-columns: minmax(280px, 1fr);
    min-height: 320px;
}

body[data-home-plugins-src] .home-blog-carousel:not(.owl-loaded) {
    grid-auto-columns: minmax(260px, 1fr);
    min-height: 430px;
}

body[data-home-plugins-src] .owl-carousel:not(.owl-loaded) .item {
    min-width: 0;
}

.owl-nav button {
    outline: none !important;
}

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    background: #fff !important;
    width: 36px;
    height: 36px;
    border-radius: 50% !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .12) !important;
    color: var(--dark) !important;
    font-size: 16px !important;
    transition: all var(--transition);
}

.owl-carousel .owl-nav button:hover {
    background: var(--red) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(199, 10, 10, .30) !important;
}

.owl-carousel .owl-dot span {
    background: #ddd !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
}

.owl-carousel .owl-dot.active span {
    background: var(--red) !important;
    width: 22px !important;
    border-radius: 4px !important;
}

/* ----------------------------------------------------------
   20. SECTION BACKGROUND ALTERNATION
   ---------------------------------------------------------- */
.bg-light-gray {
    background: #f8f8f8;
}

/* Red accent line above key sections */
.hp-section>.container>.hp-header::after {
    display: none;
    /* clean look — no extra decorations */
}

/* ----------------------------------------------------------
   21. MISC — utility classes
   ---------------------------------------------------------- */
.fw-800 {
    font-weight: 800 !important;
}

.text-red {
    color: var(--red) !important;
}

.d-none {
    display: none !important;
}

.d-sm-inline {
    display: none !important;
}

@media (min-width: 576px) {
    .d-none {
        display: none !important;
    }

    .d-sm-inline {
        display: inline !important;
    }
}

/* ----------------------------------------------------------
   22. SCROLLBAR — thin, on-brand
   ---------------------------------------------------------- */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--red);
}

/* ----------------------------------------------------------
   23. FOCUS RING — accessibility
   ---------------------------------------------------------- */
:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
}

/* ----------------------------------------------------------
   24. OWL CAROUSEL — mobile item-count overrides
   These cap how many slides are visible on small screens
   so cards stay readable (home.css Owl settings stay
   unchanged; Owl reads these via JS breakpoint config).
   ---------------------------------------------------------- */
@media (max-width: 767px) {

    /* Force 2 items visible on tablet-mobile */
    .home-v2 .product_carousel .owl-item {
        min-width: 0;
    }

    /* Keep carousel height consistent */
    .home-v2 .product_carousel .item {
        padding: 6px 6px 10px;
    }
}

@media (max-width: 480px) {

    /* 1.5 items visible: full card + peek of next */
    .home-v2 .product_carousel .item {
        padding: 4px 4px 8px;
    }

    /* Blog carousel: 1 card full width */
    .home-v2 .home-blog-carousel .item {
        padding: 4px 4px 8px;
    }

    /* Testimonial carousel: 1 card */
    .home-v2 .testimonial_carousel .item {
        padding: 4px 4px 8px;
    }
}

/* ── Focus-visible overrides: restore keyboard focus rings suppressed above ── */
.newsletter_form input:focus-visible {
    outline: 2px solid var(--red, #c80000);
    outline-offset: 2px;
}

.owl-nav button:focus-visible {
    outline: 2px solid var(--red, #c80000) !important;
    outline-offset: 2px !important;
}