/* ============================================ */
/* RESET & BASE
/* ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Muli', 'Roboto', sans-serif;
    background: #f4f6f9;
    color: #1a1a2e;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: #f1c40f;
}


/* ============================================ */
/* TOP BAR
/* ============================================ */
.nav-bar-section {
    background: #0f1847;
    color: #fff;
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 2px solid #f1c40f;
}

.nav-bar-part {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.nav-bar-wrap p {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-bar-wrap p i {
    color: #f1c40f;
}

.nav-bar-wrap a {
    color: #fff;
    margin-left: 18px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-bar-wrap a:hover {
    color: #f1c40f;
}

.nav-bar-wrap a i {
    margin-right: 5px;
}


/* ============================================ */
/* HEADER
/* ============================================ */
.nav-section {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-col {
    flex: 0 0 auto;
}

.logo-img {
    max-height: 55px;
    width: auto;
}

.search-col {
    flex: 1;
    min-width: 280px;
}

.header-search {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

/* Search Form */
.search-form-wrapper {
    flex: 1;
    max-width: 400px;
}

.search-form {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    overflow: hidden;
    background: #f8f9fa;
    transition: 0.3s;
}

.search-form:focus-within {
    border-color: #f1c40f;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(241, 196, 15, 0.15);
}

.search-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 20px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
}

.search-form button {
    background: transparent;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    color: #666;
    font-size: 16px;
    transition: 0.3s;
}

.search-form button:hover {
    color: #f1c40f;
}

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1a1a2e;
    font-weight: 600;
    position: relative;
    padding: 8px 12px;
    border-radius: 8px;
    transition: 0.3s;
}

.icon-link:hover {
    background: #f0f2f5;
    color: #f1c40f;
}

.icon-link i {
    font-size: 22px;
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.cart-label {
    font-size: 11px;
    color: #888;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.cart-count {
    font-size: 12px;
    color: #555;
}

.search-toggle {
    display: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: #1a1a2e;
    border-radius: 3px;
    transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ============================================ */
/* NAVIGATION MENU
/* ============================================ */
.menu-part {
    background: #1a1a2e;
    border-top: 3px solid #f1c40f;
}

.main-nav {
    display: flex;
    gap: 0;
}

.main-nav li {
    padding: 14px 28px;
    transition: 0.3s;
    border-right: 1px solid rgba(255,255,255,0.05);
}

.main-nav li:hover,
.main-nav li.active {
    background: #f1c40f;
}

.main-nav li a {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav li:hover a,
.main-nav li.active a {
    color: #1a1a2e;
}

.main-nav li a i {
    font-size: 14px;
}


/* ============================================ */
/* SLIDER / HERO
/* ============================================ */
.slider-section {
    padding: 30px 0 50px;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
    background: #000;
}

.slider-track {
    position: relative;
    height: 480px;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transform: scale(1.05);
}

.slide-item.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.slide-link {
    display: block;
    width: 100%;
    height: 100%;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 60px;
    background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 100%);
}

.caption-content {
    max-width: 520px;
    color: #fff;
}

.caption-content.caption-right {
    margin-left: auto;
    text-align: right;
}

.caption-badge {
    display: inline-block;
    background: #f1c40f;
    color: #1a1a2e;
    padding: 4px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.caption-content h1 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 15px;
}

.caption-content h1 .highlight {
    color: #f1c40f;
}

.caption-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 25px;
    max-width: 420px;
}

.caption-content.caption-right p {
    margin-left: auto;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 38px;
    background: #f1c40f;
    color: #1a1a2e;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: #f1c40f;
    color: #1a1a2e;
}

.prev-slide {
    left: 20px;
}

.next-slide {
    right: 20px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: 0.3s;
    border: 2px solid transparent;
}

.slider-dots .dot.active {
    background: #f1c40f;
    border-color: #fff;
    transform: scale(1.2);
}


/* ============================================ */
/* SECTION HEADER
/* ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 45px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #f1c40f;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: rgba(241, 196, 15, 0.12);
    padding: 4px 18px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.section-title .highlight {
    color: #f1c40f;
}

.section-desc {
    font-size: 17px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}


/* ============================================ */
/* FEATURED PRODUCTS
/* ============================================ */
.featured-section {
    padding: 40px 0 60px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 50px rgba(0,0,0,0.12);
}

.product-image {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: #f8f9fa;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    color: #1a1a2e;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 3;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view {
    background: #fff;
    color: #1a1a2e;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

.quick-view:hover {
    background: #f1c40f;
    color: #1a1a2e;
    transform: scale(1.05);
}

.product-details {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-details h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-details h3 a {
    color: #1a1a2e;
}

.product-details h3 a:hover {
    color: #f1c40f;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #f1c40f;
    margin-bottom: 10px;
}

.product-rating span {
    color: #999;
    font-size: 13px;
    margin-left: 4px;
}

.product-pricing {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.current-price {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a2e;
}

.original-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.discount-tag {
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 50px;
}

.btn-add-to-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: #1a1a2e;
    color: #fff;
    font-weight: 700;
    border-radius: 50px;
    font-size: 14px;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    margin-top: auto;
}

.btn-add-to-cart:hover {
    background: #f1c40f;
    color: #1a1a2e;
    transform: translateY(-2px);
}


/* ============================================ */
/* FEATURES SECTION
/* ============================================ */
.features-section {
    padding: 50px 0;
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 35px 25px;
    border-radius: 16px;
    background: #f8f9fa;
    transition: 0.4s;
    border: 2px solid transparent;
}

.feature-item:hover {
    border-color: #f1c40f;
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.feature-icon {
    font-size: 44px;
    margin-bottom: 15px;
    display: block;
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a2e;
}

.feature-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}


/* ============================================ */
/* INFO SECTION (Free Shipping)
/* ============================================ */
.info-section {
    padding: 40px 0;
    background: #f4f6f9;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 28px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    border-left: 4px solid #f1c40f;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.info-icon {
    font-size: 32px;
    color: #f1c40f;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
}

.info-content p {
    color: #888;
    font-size: 13px;
}


/* ============================================ */
/* FOOTER
/* ============================================ */
.main-footer {
    background: #0f1847;
    color: #fff;
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 2fr;
    gap: 40px;
}

.footer-logo img {
    max-width: 180px;
    margin-bottom: 15px;
}

.footer-about h6 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-about p {
    color: rgba(255,255,255,0.7);
    line-height: 2;
    font-size: 14px;
}

.footer-about p i {
    width: 25px;
    color: #f1c40f;
}

.footer-links h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    color: #f1c40f;
    padding-left: 5px;
}

.footer-links ul li a i {
    font-size: 10px;
    color: #f1c40f;
}

.footer-newsletter h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-newsletter p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 18px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 18px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
}

.newsletter-form .btn-subscribe {
    padding: 12px 28px;
    background: #f1c40f;
    color: #0f1847;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.newsletter-form .btn-subscribe:hover {
    background: #fff;
    transform: translateY(-2px);
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    transition: 0.3s;
}

.social-icons li a:hover {
    background: #f1c40f;
    color: #0f1847;
    transform: translateY(-3px);
}

.bottom-footer {
    background: #0a1238;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.copyright strong {
    color: #f1c40f;
}

.payment-methods img {
    max-height: 32px;
}


/* ============================================ */
/* RESPONSIVE
/* ============================================ */
@media (max-width: 1200px) {
    .container {
        padding: 0 25px;
    }
    .slider-track {
        height: 420px;
    }
    .caption-content h1 {
        font-size: 38px;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .slider-track {
        height: 380px;
    }
    .caption-content h1 {
        font-size: 34px;
    }
    .section-title {
        font-size: 30px;
    }
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    /* Top Bar */
    .nav-bar-part {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    .nav-bar-wrap a {
        margin: 0 10px;
    }

    /* Header */
    .header-section {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .logo-col {
        width: 100%;
        text-align: center;
    }
    .search-col {
        width: 100%;
        min-width: unset;
    }
    .header-search {
        justify-content: space-between;
        width: 100%;
    }

    .menu-toggle {
        display: flex;
    }

    .search-form-wrapper {
        flex: 1;
        max-width: 100%;
        display: none;
    }
    .search-form-wrapper.active {
        display: block;
    }
    .search-toggle {
        display: flex;
    }

    .cart-text {
        display: none;
    }
    .cart-badge {
        top: -4px;
        right: -4px;
    }

    /* Navigation */
    .menu-part {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1a1a2e;
        z-index: 99;
        border-top: none;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }
    .menu-part.active {
        display: block;
    }
    .main-nav {
        flex-direction: column;
    }
    .main-nav li {
        padding: 12px 25px;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    /* Slider */
    .slider-track {
        height: 300px;
    }
    .slide-caption {
        padding: 0 30px;
    }
    .caption-content h1 {
        font-size: 26px;
    }
    .caption-content p {
        font-size: 14px;
        max-width: 100%;
    }
    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    .prev-slide {
        left: 10px;
    }
    .next-slide {
        right: 10px;
    }

    /* Products */
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    .product-image {
        height: 180px;
    }
    .section-title {
        font-size: 26px;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Info */
    .info-grid {
        grid-template-columns: 1fr;
    }
    .info-card {
        padding: 18px 22px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .footer-about p i {
        width: 20px;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .social-icons {
        justify-content: center;
    }
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .slider-track {
        height: 220px;
    }
    .caption-content h1 {
        font-size: 20px;
    }
    .caption-content p {
        font-size: 12px;
    }
    .btn-primary {
        padding: 10px 24px;
        font-size: 12px;
    }
    .caption-badge {
        font-size: 10px;
        padding: 2px 12px;
    }
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .product-image {
        height: 150px;
    }
    .product-details {
        padding: 14px 16px 18px;
    }
    .product-details h3 {
        font-size: 14px;
    }
    .current-price {
        font-size: 18px;
    }
    .btn-add-to-cart {
        padding: 8px 16px;
        font-size: 12px;
    }
    .section-title {
        font-size: 22px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .slider-arrow {
        display: none;
    }
}