:root {
    --primary: #14213d;
    --orange: #ff6b35;
    --pink: #e83e8c;
    --purple: #6f42c1;
    --gold: #f4b942;
    --green: #16a085;
    --cream: #fff8f0;
    --light: #f8f9fa;
    --dark: #111827;
    --muted: #6b7280;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    color: var(--dark);
    background: #fff;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* ======================
           TOP BAR
        ====================== */

.top-bar {
    background: linear-gradient(90deg,
            #14213d,
            #6f42c1,
            #e83e8c);
    color: #fff;
    padding: 9px 0;
    font-size: 13px;
}

.top-bar strong {
    color: #ffd166;
}

/* ======================
           HEADER
        ====================== */

.main-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.brand {
    font-size: 28px;
    font-weight: 800;
    color: #14213d;
    line-height: 1;
}

.brand span {
    color: #ff6b35;
}

.brand small {
    display: block;
    font-size: 9px;
    letter-spacing: 3px;
    color: #777;
    margin-top: 6px;
}

.search-wrapper {
    position: relative;
}

.search-wrapper input {
    width: 100%;
    height: 50px;
    border: 1.5px solid #ff6b35;
    background: #fff;
    border-radius: 50px;
    padding: 0 60px 0 20px;
    outline: none;
    transition: .3s;
}

.search-wrapper input:focus {
    border-color: #ff6b35;
    background: #fff;
}

.search-wrapper button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg,
            #ff6b35,
            #e83e8c);
}

.head-icon {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #14213d;
    font-size: 20px;
    position: relative;
    transition: .3s;
}

.head-icon:hover {
    background: #14213d;
    color: #fff;
    transform: translateY(-2px);
}

.head-icon-dark {
    background: #878f9c !important;
    color: #fff !important;
}

.head-icon-dark:hover {
    background: #14213d !important;
}

.counter {
    position: absolute;
    right: -4px;
    top: -5px;
    min-width: 18px;
    height: 18px;
    border-radius: 20px;
    background: #ff6b35;
    color: #fff;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* ======================
           NAVIGATION
        ====================== */

.main-nav {
    background: #fff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, .04);
    position: relative;
    z-index: 10;
}

.main-nav .nav-link {
    color: #222;
    font-size: 13px;
    font-weight: 700;
    padding: 18px 16px !important;
    text-transform: uppercase;
}

.main-nav .nav-link:hover {
    color: #ff6b35;
}

.sale-menu {
    color: #e63946 !important;
}

/* ======================
           HERO
        ====================== */

.hero {
    background:
        linear-gradient(100deg,
            rgba(20, 33, 61, .85) 0%,
            rgba(111, 66, 193, .70) 47%,
            rgba(232, 62, 140, .25) 100%),
        url('https://images.unsplash.com/photo-1445205170230-053b83016050?auto=format&fit=crop&w=1800&q=90');

    background-size: cover;
    background-position: center;
    min-height: 580px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: "";
    width: 300px;
    height: 300px;
    position: absolute;
    border-radius: 50%;
    background: #ff6b35;
    opacity: .17;
    top: -100px;
    right: 25%;
}

.hero:after {
    content: "";
    width: 200px;
    height: 200px;
    position: absolute;
    border-radius: 50%;
    background: #ffd166;
    opacity: .17;
    bottom: -70px;
    right: 5%;
}

.hero-content {
    color: #fff;
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(8px);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 66px;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #ffd166;
}

.hero p {
    font-size: 17px;
    color: #eee;
    line-height: 1.8;
    max-width: 550px;
}

.hero-btn {
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 700;
    transition: .3s;
}

.hero-btn-primary {
    background: linear-gradient(135deg,
            #ff6b35,
            #ff3d77);
    color: #fff;
}

.hero-btn-primary:hover {
    color: #fff;
    transform: translateY(-3px);
}

.hero-btn-light {
    background: #fff;
    color: #14213d;
}

/* ======================
           FEATURES
        ====================== */

.features-area {
    margin-top: -45px;
    position: relative;
    z-index: 5;
}

.feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .08);
    height: 100%;
}

.feature-icon {
    min-width: 55px;
    height: 55px;
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    color: #fff;
}

.icon-orange {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
}

.icon-purple {
    background: linear-gradient(135deg, #6f42c1, #9b5de5);
}

.icon-pink {
    background: linear-gradient(135deg, #e83e8c, #ff5d8f);
}

.icon-green {
    background: linear-gradient(135deg, #16a085, #2ecc71);
}

.feature-card h6 {
    margin: 0 0 5px;
    font-weight: 700;
}

.feature-card p {
    margin: 0;
    font-size: 12px;
    color: #777;
}

/* ======================
           SECTION
        ====================== */

.section-padding {
    padding: 85px 0;
}

.section-head {
    margin-bottom: 45px;
}

.section-head span {
    color: #ff6b35;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-head h2 {
    font-size: 38px;
    font-weight: 800;
    margin-top: 7px;
}

/* ======================
           CATEGORY
        ====================== */

.category-card {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    height: 370px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .6s;
}

.category-card:hover img {
    transform: scale(1.08);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, .80) 100%);
}

.category-content {
    position: absolute;
    left: 25px;
    right: 25px;
    bottom: 25px;
    color: #fff;
}

.category-content h3 {
    font-weight: 800;
    font-size: 25px;
}

.category-content p {
    font-size: 12px;
    color: #eee;
}

.category-btn {
    display: inline-block;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    border-bottom: 2px solid #ffd166;
    padding-bottom: 4px;
}

/* ======================
           FLASH SALE
        ====================== */

.flash-sale {
    background:
        linear-gradient(135deg,
            #14213d,
            #5f2c82,
            #e83e8c);
    padding: 70px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.flash-sale:after {
    content: "SALE";
    position: absolute;
    right: -20px;
    bottom: -50px;
    font-size: 180px;
    font-weight: 900;
    opacity: .04;
}

.flash-sale h2 {
    font-size: 45px;
    font-weight: 800;
}

.flash-sale h2 span {
    color: #ffd166;
}

.countdown {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.time-box {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .15);
    backdrop-filter: blur(8px);
    width: 75px;
    height: 75px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.time-box strong {
    font-size: 22px;
}

.time-box span {
    font-size: 10px;
}

.fs-prev, .fs-next, .cat-prev, .cat-next {
    transition: 0.3s;
}

.fs-prev:hover, .fs-next:hover, .cat-prev:hover, .cat-next:hover {
    background: #ff6b35 !important;
    color: #fff !important;
    border-color: #ff6b35 !important;
}

/* ======================
           PRODUCTS
        ====================== */

.product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, .06);
    transition: .35s;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
}

.flash-glass-card {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1) !important;
}

.flash-glass-card .product-img {
    background: rgba(255, 255, 255, 0.2) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.flash-glass-card .product-img img {
    background: transparent !important;
    mix-blend-mode: multiply;
    padding: 0 !important;
    object-fit: cover !important;
}

.flash-glass-card .product-info {
    color: #fff !important;
}

.flash-glass-card .product-title,
.flash-glass-card .price,
.flash-glass-card .old-price,
.flash-glass-card .review-count,
.flash-glass-card .product-category {
    color: #fff !important;
}

.flash-glass-card .wishlist {
    background: rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

.flash-glass-card .add-cart {
    background: rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
}

.product-img {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid #f1f1f1;
}

.product-img img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    padding: 20px;
    transition: .5s;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.badge-product {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 7px 12px;
    border-radius: 30px;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: inline-block;
    width: max-content;
    height: max-content;
    line-height: 1;
    z-index: 2;
}

.badge-new {
    background: #16a085;
}

.badge-sale {
    background: #e63946;
}

.badge-hot {
    background: #ff6b35;
}

.wishlist {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .12);
}

.wishlist:hover {
    background: #e83e8c;
    color: #fff;
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #E0471B;
    font-weight: 600;
}

.product-title {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    margin: 7px 0;
}

.rating {
    color: #f4b942;
    font-size: 12px;
}

.review-count {
    color: #999;
    font-size: 11px;
}

.price {
    font-weight: 800;
    color: #14213d;
    font-size: 18px;
}

.old-price {
    color: #aaa;
    text-decoration: line-through;
    margin-left: 7px;
    font-weight: 400;
    font-size: 13px;
}

.add-cart {
    border: none;
    background: #f4f4f4;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #14213d;
    transition: .3s;
}

.add-cart:hover {
    background: linear-gradient(135deg, #ff6b35, #e83e8c);
    color: #fff;
}

/* ======================
           OFFER BANNERS
        ====================== */

.offer-card {
    border-radius: 25px;
    padding: 45px;
    min-height: 300px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.offer-men {
    background:
        linear-gradient(90deg,
            rgba(20, 33, 61, .93),
            rgba(20, 33, 61, .35)),
        url('https://images.unsplash.com/photo-1617137968427-85924c800a22?auto=format&fit=crop&w=1000&q=85') center/cover;
}

.offer-women {
    background:
        linear-gradient(90deg,
            rgba(232, 62, 140, .9),
            rgba(232, 62, 140, .25)),
        url('https://images.unsplash.com/photo-1529139574466-a303027c1d8b?auto=format&fit=crop&w=1000&q=85') center/cover;
}

.offer-card h3 {
    font-size: 34px;
    font-weight: 800;
}

.offer-card p {
    max-width: 300px;
    font-size: 13px;
}

/* ======================
           PAYMENT
        ====================== */

.payment-section {
    background: #fff8f0;
    padding: 55px 0;
}

.payment-box {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    border: 1px solid #f3e9df;
    height: 100%;
}

.payment-box i {
    font-size: 35px;
    color: #ff6b35;
}

/* ======================
           NEWSLETTER
        ====================== */

.newsletter {
    background:
        linear-gradient(135deg,
            #ff6b35,
            #e83e8c,
            #6f42c1);
    border-radius: 30px;
    padding: 55px;
    color: #fff;
}

.newsletter h2 {
    font-size: 36px;
    font-weight: 800;
}

.subscribe {
    background: #fff;
    padding: 7px;
    border-radius: 15px;
    display: flex;
}

.subscribe input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 15px;
}

.subscribe button {
    border: none;
    background: #14213d;
    color: #fff;
    padding: 13px 25px;
    border-radius: 10px;
    font-weight: 700;
}

/* ======================
           FOOTER
        ====================== */

footer {
    background: #111827;
    color: #9ca3af;
    padding: 75px 0 25px;
}

footer .brand {
    color: #fff;
}

footer h5 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul a {
    color: #9ca3af;
    font-size: 13px;
}

footer ul a:hover {
    color: #ff6b35;
}

.social a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #1f2937;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 6px;
}

.social a:hover {
    background: #ff6b35;
}

.footer-bottom {
    border-top: 1px solid #283142;
    padding-top: 22px;
    margin-top: 45px;
    font-size: 12px;
}

/* ======================
           MOBILE BOTTOM NAV
        ====================== */

.mobile-bottom {
    display: none;
}

@media(max-width:991px) {

    .hero {
        min-height: 500px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .features-area {
        margin-top: 25px;
    }

    .section-padding {
        padding: 65px 0;
    }
}

@media(max-width:767px) {

    body {
        padding-bottom: 70px;
    }

    /* ── HERO ── */
    .hero {
        min-height: auto;
        padding: 50px 0 60px;
        background-position: right center !important;
    }

    .hero h1 {
        font-size: 22px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 12px;
        line-height: 1.6;
    }

    .hero-badge {
        font-size: 10px;
        padding: 6px 14px;
        letter-spacing: 1px;
        margin-bottom: 15px;
    }

    .hero-btn {
        padding: 9px 15px;
        font-size: 11px;
        border-radius: 8px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero:before {
        width: 150px;
        height: 150px;
        top: -50px;
    }

    .hero:after {
        width: 100px;
        height: 100px;
        bottom: -30px;
    }

    /* ── FEATURES ── */
    .feature-card {
        padding: 12px 8px;
        gap: 8px;
        flex-direction: column;
        text-align: center;
        justify-content: center;
        border-radius: 14px;
    }

    .feature-icon {
        min-width: 40px;
        height: 40px;
        font-size: 18px;
        border-radius: 12px;
    }

    .feature-card h6 {
        font-size: 12px;
        margin: 0 0 2px;
    }

    .feature-card p {
        font-size: 10px;
    }

    /* ── SECTION ── */
    .section-padding {
        padding: 50px 0;
    }

    .section-head {
        margin-bottom: 25px;
    }

    .section-head h2 {
        font-size: 24px;
    }

    /* ── CATEGORIES ── */
    .category-card {
        height: 250px;
        border-radius: 16px;
    }

    /* ── FLASH SALE ── */
    .flash-sale {
        padding: 35px 0 30px;
        text-align: center;
    }

    .flash-sale small {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .flash-sale h2 {
        font-size: 24px;
        line-height: 1.3;
    }

    .flash-sale p {
        font-size: 13px;
    }

    .flash-sale .col-lg-5 {
        text-align: center !important;
        align-items: center !important;
    }

    .countdown {
        justify-content: center;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .time-box {
        width: 65px;
        height: 65px;
        border-radius: 12px;
    }

    .time-box strong {
        font-size: 20px;
    }

    .time-box span {
        font-size: 8px;
        letter-spacing: 0.5px;
    }

    .flash-sale:after {
        font-size: 80px;
    }

    /* ── Flash Sale Slider Cards ── */
    .slider-card-width {
        min-width: 200px !important;
        max-width: 200px !important;
    }

    .flash-glass-card .product-img img {
        height: 160px !important;
    }

    .flash-glass-card .product-info {
        padding: 12px !important;
    }

    .flash-glass-card .product-title {
        font-size: 13px !important;
    }

    .flash-glass-card .price {
        font-size: 15px !important;
    }

    .flash-glass-card .add-cart {
        width: 34px !important;
        height: 34px !important;
        border-radius: 10px !important;
        font-size: 14px !important;
    }

    /* ── PRODUCT CARDS (Best Selling) ── */
    .product-img img {
        height: 170px;
    }

    .product-info {
        padding: 12px;
    }

    .product-title {
        font-size: 13px !important;
    }

    .product-category {
        font-size: 9px;
    }

    .price {
        font-size: 15px;
    }

    .old-price {
        font-size: 11px;
    }

    .product-info .d-flex.justify-content-between {
        gap: 6px;
    }

    /* Keep add-cart as icon button in best selling cards */
    .product-card .add-cart {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        border-radius: 10px !important;
        padding: 0 !important;
        font-size: 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 auto !important;
    }

    .product-card .add-cart i {
        display: inline-block !important;
    }

    /* ── NEWSLETTER ── */
    .newsletter {
        padding: 35px 20px;
        border-radius: 20px;
    }

    .subscribe {
        display: block;
        background: transparent;
        padding: 0;
    }

    .subscribe input {
        width: 100%;
        height: 50px;
        border-radius: 10px;
        margin-bottom: 10px;
    }

    .subscribe button {
        width: 100%;
    }

    /* ── MOBILE BOTTOM NAV ── */
    .mobile-bottom {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 65px;
        background: #fff;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, .1);
        z-index: 999;
        justify-content: space-around;
        align-items: center;
    }

    .mobile-bottom a {
        color: #555;
        font-size: 10px;
        text-align: center;
    }

    .mobile-bottom i {
        display: block;
        font-size: 21px;
        margin-bottom: 2px;
    }

    .mobile-bottom .active {
        color: #ff6b35;
    }
}
