/* ============================================
   HOMEPAGE — PREMIUM REDESIGN
   ============================================ */

:root {
    --red: #c70a0a;
    --red-dk: #a00808;
    --dark: #111;
    --mid: #555;
    --light: #f7f7f7;
}

body {
    font-family: 'Poppins', sans-serif;
}

/* -------- General Utilities -------- */
.hp-section {
    padding: 80px 0;
}

.bg-light-gray {
    background: #f8f8f8;
}

.text-white {
    color: #fff !important;
}

.fw-800 {
    font-weight: 800 !important;
}

.fs-17 {
    font-size: 17px !important;
}

.flex-gap-14 {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.slider-content-p {
    color: rgba(255, 255, 255, .9) !important;
    font-size: 17px !important;
}

.text-yellow {
    color: #ffc107 !important;
}

/* -------- Section Header -------- */
.hp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 48px;
    position: relative;
}

.hp-tag {
    display: inline-block;
    background: rgba(199, 10, 10, .08);
    color: var(--red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
    border: 1px solid rgba(199, 10, 10, .1);
}

.hp-title {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    color: var(--dark);
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.hp-title span {
    color: var(--red);
    position: relative;
}

.hp-sub {
    font-size: 15px;
    color: #666;
    margin: 10px 0 0;
    max-width: 600px;
}

.hp-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    border: 1.5px solid #ddd;
    padding: 8px 18px;
    border-radius: 30px;
    text-decoration: none;
    transition: all .25s ease;
    white-space: nowrap;
}

.hp-view-all:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

/* -------- Hero Slider -------- */
.slider_area {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
}

.slider_area>div {
    flex: 0 0 100%;
}

.slider_carousel {
    display: flex !important;
    overflow: hidden !important;
    flex-wrap: nowrap !important;
}

.slider_carousel>.item,
.slider_carousel>.single_slider {
    flex: 0 0 100%;
    min-width: 100%;
}

/* Raw state: Keep all items in DOM for crawlers, but prevent vertical stacking visuals */
.slider_carousel:not(.owl-loaded),
.product_carousel:not(.owl-loaded),
.category_carousel:not(.owl-loaded) {
    display: flex !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 15px;
    padding-bottom: 10px;
}

/* Hide scrollbar but keep functionality for cleaner raw look */
.owl-carousel:not(.owl-loaded)::-webkit-scrollbar {
    display: none;
}

.slider_carousel:not(.owl-loaded)>div,
.product_carousel:not(.owl-loaded)>div,
.category_carousel:not(.owl-loaded)>div {
    flex-shrink: 0;
}

.product_carousel,
.category_carousel {
    display: flex !important;
    overflow: hidden;
    gap: 15px;
}

.product_carousel>.item {
    flex: 0 0 25%;
    min-width: 250px;
}

.category_carousel>.cat-card-wrap {
    flex: 0 0 16.666%;
    min-width: 160px;
}

/* These styles are overwritten once owl-carousel loads */
.owl-carousel.owl-loaded {
    display: block !important;
}

.slider_section .single_slider {
    min-height: 480px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.slider_content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.slider_content.center {
    margin: 0 auto;
    text-align: center;
}

.slider_content h1,
.slider_content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.slider_content h1 span,
.slider_content h2 span {
    color: #D81413;
}

.slider_content p {
    font-size: 16px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .35);
    margin-bottom: 24px;
}

/* -------- Carousel Navigation -------- */
.slider_carousel .owl-dots {
    display: none !important;
}

.slider_carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 10;
}

.slider_carousel .owl-nav button {
    pointer-events: all;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .12) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50% !important;
    color: #fff !important;
    font-size: 22px !important;
    border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider_carousel .owl-nav button:hover {
    background: var(--red) !important;
    border-color: var(--red) !important;
    color: #fff !important;
    transform: scale(1.12);
    box-shadow: 0 6px 20px rgba(199, 10, 10, 0.45);
}


/* -------- Features Strip -------- */
.features-strip {
    background: var(--dark);
    padding: 36px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 20px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.feature-item:last-child {
    border-right: none;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(199, 10, 10, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 22px;
    color: #ff6b6b;
}

.feature-text h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 2px;
}

.feature-text p {
    color: #aaa;
    font-size: 12px;
    margin: 0;
}

/* -------- Category Cards -------- */
.cat-card {
    background: #fff;
    border-radius: 20px;
    text-align: center;
    padding: 30px 15px 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
    transition: all .4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    display: block;
    border: 1px solid #f0f0f0;
}

.cat-card:hover {
    box-shadow: 0 12px 40px rgba(199, 10, 10, .12);
    transform: translateY(-8px);
    border-color: rgba(199, 10, 10, .2);
}

.cat-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 18px;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all .4s ease;
    background: var(--light);
    position: relative;
}

.cat-card:hover .cat-circle {
    transform: scale(1.05);
    border-color: var(--red);
    box-shadow: 0 0 20px rgba(199, 10, 10, .25);
}

.cat-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-name {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    transition: color .3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cat-card:hover .cat-name {
    color: var(--red);
}

/* -------- Hot Deals / Badges -------- */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--red);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    margin-left: 12px;
    vertical-align: middle;
}

/* -------- Brand Logos -------- */
.brands-strip {
    background: #fff;
    padding: 40px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.brand-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    padding: 0 20px;
    filter: grayscale(100%);
    opacity: .6;
    transition: all .3s;
}

.brand-logo-wrap:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.brand-logo-wrap img {
    max-height: 60px;
    max-width: 140px;
    object-fit: contain;
}

/* -------- CTA Banner -------- */
.cta-banner {
    background: linear-gradient(135deg, #111 0%, #2a0000 100%);
    border-radius: 24px;
    padding: 70px 50px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(199, 10, 10, .25) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner h2 {
    color: #fff;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.1;
}

.cta-banner p {
    color: rgba(255, 255, 255, .75);
    font-size: 17px;
    margin-bottom: 35px;
    max-width: 550px;
}

.cta-btn-pair {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-btn-primary {
    background: var(--red);
    color: #fff;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .5px;
    text-decoration: none;
    transition: all .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    box-shadow: 0 8px 20px rgba(199, 10, 10, .3);
}

.cta-btn-primary:hover {
    background: #ff2a2a;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(199, 10, 10, .45);
    color: #fff;
}

.cta-btn-outline {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    padding: 15px 34px;
    border-radius: 50px;
    border: 1.5px solid rgba(255, 255, 255, .25);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all .3s ease;
    display: inline-block;
    backdrop-filter: blur(5px);
}

.cta-btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    transform: translateY(-2px);
}

/* -------- Tabbed Products -------- */
.tab-wrap {
    background: #f8f8f8;
    border-radius: 20px;
    padding: 40px;
}

.product-tabs-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    background: #fff;
    border-radius: 10px;
    padding: 6px;
    width: fit-content;
}

.product-tabs-nav .tab-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-decoration: none;
    cursor: pointer;
    transition: all .25s;
    border: none;
    background: transparent;
}

.product-tabs-nav .tab-pill:hover {
    color: #c70a0a;
}

.product-tabs-nav .tab-pill.active {
    background: #c70a0a;
    color: #fff;
    box-shadow: 0 4px 14px rgba(199, 10, 10, .28);
}

.tab-panel-content:not(.active) {
    display: block;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
}

.tab-panel-content.active {
    display: block;
    height: auto;
    visibility: visible;
    opacity: 1;
}

/* -------- Stats Strip -------- */
.stats-strip {
    background: linear-gradient(135deg, #111 0%, #2a0000 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(199, 10, 10, .15) 0%, transparent 70%);
    pointer-events: none;
}

.stat-item {
    text-align: center;
    padding: 20px 30px;
    border-right: 1px solid rgba(255, 255, 255, .1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
}

.stat-item:last-child {
    border-right: none;
}

.stat-num {
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 900;
    background: linear-gradient(to bottom, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, .8);
    margin-top: 6px;
    font-weight: 500;
}

/* -------- Testimonials -------- */
.testi-card {
    background: linear-gradient(180deg, #fff 0%, #fbfbfb 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .04);
    margin: 10px;
    transition: all .4s ease;
    position: relative;
    border: 1px solid #f2f2f2;
    overflow: hidden;
    z-index: 1;
}

.testi-card::before {
    content: '\f10d';
    font-family: 'FontAwesome';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 80px;
    color: rgba(199, 10, 10, 0.03);
    z-index: -1;
}

.testi-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
    border-color: rgba(199, 10, 10, .15);
}

.testi-quote {
    font-size: 28px;
    color: var(--red);
    opacity: .6;
    line-height: 1;
    margin-bottom: 15px;
    display: inline-block;
}

.testi-text {
    font-size: 15px;
    color: #444;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 24px;
    font-weight: 500;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.testi-name {
    font-weight: 700;
    color: #222;
    font-size: 14px;
    margin: 0;
}

.testi-role {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.testi-stars {
    color: #f5a623;
    font-size: 12px;
    margin-bottom: 14px;
}

/* -------- Newsletter -------- */
.newsletter-section {
    background: linear-gradient(135deg, #0f0f0f 0%, #222 100%);
    border-radius: 30px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.newsletter-section::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--red);
    filter: blur(120px);
    opacity: 0.1;
    top: -100px;
    right: -100px;
}

.newsletter-section h2 {
    font-size: clamp(28px, 3.5vw, 38px);
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.newsletter-section p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    font-size: 17px;
}

.newsletter_form {
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    gap: 8px;
    padding: 6px;
    border-radius: 50px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(199, 10, 10, .1);
    border: 1.5px solid #ffcece;
}

.newsletter_form input {
    border: none;
    padding: 12px 18px;
    width: 100%;
    border-radius: 50px;
    outline: none;
    color: #333;
    font-size: 14px;
}

.newsletter_form button {
    background: var(--red);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    transition: .25s;
    font-weight: 700;
    white-space: nowrap;
    font-size: 14px;
}

.newsletter_form button:hover {
    background: var(--red-dk);
}

/* -------- Blogs -------- */
.single_blog figure {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
    background: #fff;
    transition: all .4s ease;
    border: 1px solid #eee;
}

.single_blog figure:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .1);
    border-color: rgba(199, 10, 10, .2);
}

.blog_thumb {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.single_blog:hover .blog_thumb img {
    transform: scale(1.08);
}

.blog_content {
    padding: 18px 20px 20px;
}

.blogttil a {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.blogttil a:hover {
    color: var(--red);
}

.post_meta p {
    font-size: 12px;
    color: #999;
    margin: 8px 0;
}

.post_readmore a {
    font-size: 13px;
    font-weight: 600;
    color: var(--red);
    text-decoration: none;
}

/* -------- Banners -------- */
.single_banner {
    border-radius: 20px;
    overflow: hidden;
    margin: 0;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.banner_thumb {
    overflow: hidden;
    position: relative;
}

.banner_thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(199, 10, 10, 0.1) 0%, transparent 80%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.banner_thumb img {
    width: 100%;
    transition: transform .8s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block;
}

.single_banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(199, 10, 10, 0.15);
}

.single_banner:hover .banner_thumb img {
    transform: scale(1.1);
}

.single_banner:hover .banner_thumb::after {
    opacity: 1;
}

/* -------- Animations -------- */
.slider_content * {
    animation: fadeUp 0.8s ease backwards;
}

.slider_content h1,
.slider_content h2 {
    animation-delay: 0.2s;
}

.slider_content p {
    animation-delay: 0.4s;
}

.slider_content .button {
    animation-delay: 0.6s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -------- Responsive -------- */
@media (max-width: 991px) {
    .product_carousel .owl-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .hp-section {
        padding: 50px 0;
    }

    .hp-header {
        margin-bottom: 24px;
        text-align: center;
        justify-content: center;
        flex-direction: column;
    }

    .hp-header-left {
        margin-bottom: 15px;
    }

    .slider_section .single_slider {
        min-height: 320px !important;
    }

    .slider_content h1,
    .slider_content h2 {
        font-size: 26px !important;
        margin-bottom: 10px !important;
    }

    .slider_content p {
        font-size: 14px !important;
        margin-bottom: 18px !important;
    }

    .feature-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        padding: 15px 10px;
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 8px;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
    }

    .features-strip {
        padding: 30px 0;
    }

    .cta-banner {
        padding: 40px 20px;
        text-align: center;
    }

    .cta-btn-pair {
        justify-content: center;
        gap: 10px;
    }

    .stat-item {
        border-right: none;
        padding: 20px 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
    }

    .newsletter_form {
        flex-direction: column;
        border-radius: 20px;
        padding: 10px;
        gap: 10px;
    }

    .newsletter_form button {
        width: 100%;
    }

    .newsletter-section {
        padding: 40px 15px;
    }

    .testi-card {
        padding: 24px;
        margin: 5px;
    }

    .testi-text {
        font-size: 14px;
    }

    .cat-card {
        padding: 20px 10px;
    }

    .cat-circle {
        width: 85px;
        height: 85px;
    }

    .cat-name {
        font-size: 12px;
    }

    .product-tabs-nav {
        overflow-x: auto;
        white-space: nowrap;
        width: 100%;
        justify-content: flex-start;
        padding-bottom: 10px;
        scrollbar-width: none;
    }

    .product-tabs-nav::-webkit-scrollbar {
        display: none;
    }

    .product-tabs-nav .tab-pill {
        flex: 0 0 auto;
    }

    .slider_carousel .owl-nav button {
        width: 38px;
        height: 38px;
        font-size: 18px !important;
    }

    .slider_carousel .owl-nav {
        padding: 0 8px;
    }

    .product_carousel .owl-nav button,
    .category_carousel .owl-nav button,
    .testimonial_carousel .owl-nav button,
    .blog_container .owl-nav button,
    .tab-panel-content .owl-nav button {
        opacity: 1;
        width: 36px;
        height: 36px;
        font-size: 14px !important;
    }

    .product_carousel .owl-nav .owl-prev,
    .category_carousel .owl-nav .owl-prev,
    .testimonial_carousel .owl-nav .owl-prev,
    .blog_container .owl-nav .owl-prev,
    .tab-panel-content .owl-nav .owl-prev {
        left: -5px;
    }

    .product_carousel .owl-nav .owl-next,
    .category_carousel .owl-nav .owl-next,
    .testimonial_carousel .owl-nav .owl-next,
    .blog_container .owl-nav .owl-next,
    .tab-panel-content .owl-nav .owl-next {
        right: -5px;
    }
}