/* ================= HERO SLIDER ================= */

.hero-slider {
    width: 100%;
    overflow: hidden;
    background: #fff;
    position: relative;
}

.slider-track {
    display: flex;
    transition: transform .8s ease;
}

.hero-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    padding: 25px 8%;
}

/* ================= CONTENT ================= */

.hero-content {
    width: 45%;
}

.badge {
    background: #e8f0ff;
    color: #2563eb;
    padding: 6px 18px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    margin: 20px 0;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.btn-main {
    background: #2563eb;
    color: #fff;
    padding: 14px 38px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: .3s;
}

.btn-main:hover {
    background: #1e40af;
    transform: translateY(-3px);
}

.btn-outline {
    border: 2px solid #2563eb;
    color: #2563eb;
    padding: 14px 36px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

.hero-features {
    display: flex;
    gap: 20px;
    color: #2563eb;
    font-weight: 500;
}

/* ================= IMAGE ================= */

.hero-image {
    width: 55%;
    position: relative;
    text-align: center;
}

.hero-image img {
    max-height: 520px;
    width: 100%;
    object-fit: contain;
}

/* ================= FLOATING CARDS ================= */

.float-card {
    position: absolute;
    background: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,.15);
    display: flex;
    gap: 10px;
    align-items: center;
    animation: float 3s ease-in-out infinite;
    z-index: 5;
}

.float-card img {
    width: 40px;
}

.float-card strong {
    font-size: 14px;
    display: block;
}

.float-card span {
    font-size: 13px;
    color: #2563eb;
}

.card-top {
    top: 80px;
    left: 30px;
}

.card-bottom {
    bottom: 80px;
    right: 40px;
    animation-delay: 1.5s;
}

/* ================= DISCOUNT ================= */

.discount-badge {
    position: absolute;
    top: 40px;
    right: 80px;
    background: #2563eb;
    color: #fff;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 6;
}

/* ================= NAV ================= */

.nav {
    position: absolute;
    top: 50%;
    background: rgba(0,0,0,.4);
    color: #fff;
    font-size: 32px;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
}

.nav.prev { left: 20px; }
.nav.next { right: 20px; }

/* ================= ANIMATION ================= */

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

/* ========================================================= */
/* ================= MOBILE (FINAL SINGLE BLOCK) ============ */
/* ========================================================= */

@media (max-width: 768px) {

    .hero-slide {
        flex-direction: column;
        padding: 40px 15px;
        text-align: center;
    }

    .hero-image,
    .hero-content {
        width: 100%;
    }

    .hero-image {
        margin-bottom: 25px;
    }

    .hero-image img {
        max-height: 360px;
    }

    .hero-content h1 {
        font-size: 30px;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero-actions a {
        width: 100%;
        text-align: center;
    }

    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        font-size: 14px;
    }

    /* FLOATING CARDS — MOBILE SIZE */
    .float-card {
        padding: 8px 10px;
    }

    .float-card img {
        width: 32px;
    }

    .float-card strong {
        font-size: 12px;
    }

    .float-card span {
        font-size: 11px;
    }

    .card-top {
        top: 20px;
        left: 10px;
    }

    .card-bottom {
        bottom: 20px;
        right: 10px;
    }

    .discount-badge {
        width: 55px;
        height: 55px;
        font-size: 12px;
        top: 15px;
        right: 15px;
    }

    .nav {
        top: 45%;
        font-size: 26px;
        padding: 8px 12px;
    }
}
/* ================= HOME CATEGORIES ================= */
.home-categories {
    padding: 60px 6%;
    background: #fff;
}

.category-wrapper {
    position: relative;
}

/* TRACK */
.category-track {
    padding: 15px;
    display: flex;
    gap: 24px;
    overflow: hidden;
    scroll-behavior: smooth;
}

/* CARD */
.category-card {
    flex: 0 0 calc(20% - 19.2px);
    background: #f9f9f9;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: all .3s ease;
}

.category-card img {
    width: 100%;
    height: 160px;
    object-fit: contain;
}

.category-card h4 {
    margin: 12px 0 6px;
    font-size: 18px;
}

.category-card span {
    font-size: 14px;
    color: #777;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

/* NAV BUTTONS */
.cat-nav {
    position: absolute;
    top: 45%;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #fff;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    z-index: 10;
}

.cat-nav.prev { left: -22px; }
.cat-nav.next { right: -22px; }

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    .home-categories {
        padding: 25px 15px;
    }

    .category-track {
        gap: 16px;
    }

    .category-card {
        flex: 0 0 calc(50% - 8px);
        padding: 14px;
        border-radius: 12px;
    }

    .category-card img {
        height: 120px;
    }

    .category-card h4 {
        font-size: 15px;
        margin: 8px 0 4px;
    }

    .category-card span {
        font-size: 12px;
    }

    .cat-nav {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .cat-nav.prev { left: -12px; }
    .cat-nav.next { right: -12px; }
}
/* ================= FAMOUS PRODUCTS ================= */

.famous-products{
    padding: 51px 8%;
    background: #ffffff;
}

.famous-products h2{
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

/* GRID */
.famous-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

/* CARD */
.product-card{
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    overflow: hidden;
}

/* IMAGE */
.product-img{
    background: #f9fafb;
    padding: 13px;
}

.product-img img{
    width: 100%;
    height: 220px;
    object-fit: contain;
}

/* INFO */
.product-info{
    padding: 13px;
}

.product-info h4{
    font-size: 16px;
    margin-bottom: 6px;
}

.price{
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.rating{
    color: #facc15;
    font-size: 14px;
}

/* ACTION BUTTONS */
.product-actions{
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.product-actions a{
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all .3s ease;
    cursor: pointer !important;
}

/* ADD TO CART */
.btn-cart{
    border: 2px solid #2563eb;
    color: #2563eb;
    background: #fff;
}

.btn-cart:hover{
    background: #2563eb;
    color: #fff;
}

/* BUY NOW */
.btn-buy{
    background: #16a34a;
    color: #fff;
}

.btn-buy:hover{
    background: #15803d;
}

.product-card{ cursor:pointer; }
.product-actions a{ cursor:pointer; }


/* MOBILE */
@media (max-width:768px){

    .famous-grid{
        grid-template-columns: repeat(2, 1fr);
    }

    /* hide after 4 on mobile */
    .product-card:nth-child(n+5){
        display: none;
    }

    .product-img img{
        height: 180px;
    }

    .product-actions{
        flex-direction: column;
    }
}

/* ================= HOME SERVICES ================= */

.home-services{
    background: #f8fafc;
    padding: 70px 8%;
}

.services-wrapper{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.service-box{
    padding: 10px;
}

.service-box .icon{
    font-size: 42px;
    color: #2563eb;
    margin-bottom: 14px;
}

.service-box h4{
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
}

.service-box p{
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* ================= MOBILE ================= */

@media (max-width: 768px){

    .home-services{
        padding: 40px 15px;
    }

    .services-wrapper{
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .service-box .icon{
        font-size: 36px;
    }

    .service-box h4{
        font-size: 18px;
    }

    .service-box p{
        font-size: 14px;
    }
}
/* ================= STATIC CONTENT + BANNER ================= */

.static-content-banner{
    padding: 80px 8%;
    background: #ffffff;
}

.static-wrapper{
    display: flex;
    align-items: center;
    gap: 60px;
}

/* LEFT */
.static-content{
    width: 50%;
}

.static-badge{
    display: inline-block;
    background: #e8f0ff;
    color: #2563eb;
    padding: 6px 18px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 14px;
}

.static-content h2{
    font-size: 42px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 18px;
}

.static-content p{
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.static-points{
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.static-points li{
    font-size: 15px;
    margin-bottom: 10px;
    color: #333;
}

/* BUTTON */
.static-btn{
    display: inline-block;
    background: #2563eb;
    color: #fff;
    padding: 14px 36px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: .3s ease;
}

.static-btn:hover{
    background: #1e40af;
    transform: translateY(-2px);
}

/* RIGHT IMAGE */
.static-image{
    width: 50%;
    text-align: center;
}

.static-image img{
    width: 100%;
    max-height: 420px;
    object-fit: contain;
}

/* ================= MOBILE ================= */

@media (max-width: 768px){

    .static-content-banner{
        padding: 45px 15px;
    }

    .static-wrapper{
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .static-content,
    .static-image{
        width: 100%;
    }

    .static-content h2{
        font-size: 28px;
    }

    .static-content p{
        font-size: 15px;
    }

    .static-points li{
        font-size: 14px;
    }
}
/* ================= OUR PRODUCTS ================= */

.our-products{
    padding: 0px 8%;
    background: #ffffff;
}

.our-products h2{
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

/* GRID – SAME AS FAMOUS PRODUCTS */
.our-products-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

/* EXPLORE BUTTON */
.explore-btn-wrap{
    text-align: center;
    margin-top: 45px;
}

.explore-btn{
    margin-bottom: 15px;
    display: inline-block;
    background: #2563eb;
    color: #fff;
    padding: 14px 42px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: .3s ease;
}

.explore-btn:hover{
    background: #1e40af;
    transform: translateY(-2px);
}

/* ================= MOBILE ================= */

@media (max-width: 768px){

    .our-products{
        padding: 0px 15px;
    }

    .our-products-grid{
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
/* ================= PROMOTIONAL BANNERS ================= */

.promo-banners {
    padding: 60px 8%;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.promo-card {
    position: relative;
    height: 260px;
    overflow: hidden;
    border-radius: 14px;
}

.promo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
    color: #fff;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .promo-grid {
        grid-template-columns: 1fr;
    }
    .promo-card {
        height: 220px;
    }
}
/* ================= BLOG SECTION ================= */

.home-blog {
    padding: 60px 0;
    background: #f9f9f9;
}

.section-head {
    text-align: center;
    margin-bottom: 40px;
}

.section-head h2 {
    font-size: 32px;
    margin-bottom: 8px;
}

.section-head p {
    color: #666;
    font-size: 15px;
}

/* ================= GRID ================= */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* ================= CARD ================= */

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: .3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,.06);
}

.blog-card:hover {
    transform: translateY(-6px);
}

.blog-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-date {
    font-size: 13px;
    color: #999;
}

.blog-content h3 {
    margin: 10px 0;
    font-size: 20px;
}

.blog-content h3 a {
    color: #222;
    text-decoration: none;
}

.blog-content h3 a:hover {
    color: #ff6a00;
}

.blog-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    margin-top: 12px;
    font-size: 14px;
    color: #ff6a00;
    text-decoration: none;
    font-weight: 600;
}

/* ================= BUTTON ================= */

.blog-btn {
    text-align: center;
    margin-top: 40px;
}

.blog-btn a {
    display: inline-block;
    padding: 12px 28px;
    background: #ff6a00;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 991px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .section-head h2 {
        font-size: 26px;
    }
}
/* ================= TESTIMONIAL SECTION ================= */

.testimonials-section {
    padding: 40px 8%;
    background: #ffffff;
}

.section-head {
    text-align: center;
    margin-bottom: 45px;
}

.section-head h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.section-head p {
    color: #666;
}

/* ================= GRID ================= */

.testimonial-grid {
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ================= CARD ================= */

.testimonial-card {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

/* ================= USER ================= */

.testimonial-user {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.user-img img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info {
    margin-left: 15px;
}

.user-info h4 {
    font-size: 16px;
    margin: 0;
}

.user-info span {
    font-size: 13px;
    color: #777;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}
/* ================= SCROLL / LOAD REVEAL ANIMATION ================= */

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.9s ease;
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Motion safe */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
.product-card{
    cursor: pointer;
}
/* ===== HOME PRODUCT INTERACTIONS FIX ===== */
.product-card{
    cursor:pointer;
}

.product-actions a{
    cursor:pointer;
}
/* ===== HOME WISHLIST HEART (SAFE) ===== */
.home-wishlist{
    position:absolute;
    top:12px;
    right:12px;
    width:34px;
    height:34px;
    border-radius:50%;
    background:#fff;
    border:1.5px solid #ef4444;
    color:#ef4444;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:17px;
    text-decoration:none;
    box-shadow:0 6px 15px rgba(0,0,0,.15);
    z-index:5;
    transition:.25s;
}
.home-wishlist:hover{
    background:#ef4444;
    color:#fff;
}
.product-card{
    position: relative;   /* ⭐ THIS IS THE KEY FIX */
}