@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

body.page-home {
    background-color: #ffffff !important;
}

body.page-inner {
    background-color: #fff !important;
}

html,
body,
* {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.section-main-slider {
    background-color: #EEF5F2;
    padding: 50px 0;
    overflow: hidden;
}


.main-slider-container {
    max-width: 1450px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
    padding: 0 30px;
}

.hero-copy {
    flex: 1.2;
}

.hero-media {
    flex: 1;
    display: flex;
}

.hero-tag {
    background: #D6E0F3;
    color: #596373;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    color: #111;
    margin-bottom: 20px;
    letter-spacing: 1px;
    width: 507px;
    min-height: 156px;
}

.hero-title span {
    color: var(--mds-color-main);
}

.hero-desc {
    font-size: 17px;
    color: #555;
    margin-bottom: 35px;
    line-height: 1.6;
    max-width: 500px;
}

.hero-search-bar {
    max-width: 560px;
    background: #fff;
    padding: 5px;
    border-radius: 14px;
    border: 1px solid #BACAC5;
}

.hero-search-bar .form-control {
    border: none !important;
    box-shadow: none !important;
    font-size: 15px;
}

.btn-teal-solid {
    background-color: var(--mds-color-main);
    color: #fff !important;
    padding: 14px 35px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-teal-solid:hover {
    background: #333;
    transform: translateY(-2px);
}

.btn-outline-dark {
    border: 2px solid #ddd;
    color: #111 !important;
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-dark:hover {
    border-color: #111;
    background: transparent;
}

.hero-stats {
    margin-top: 100px;
    gap: 42px !important;
}

.stat-item h4 {
    font-size: 28px;
    font-weight: 500;
    color: #111;
    margin-bottom: 2px;
}

.stat-item p {
    font-size: 13px;
    color: #777;
    font-weight: 500;
}

.hero-image-card {
    position: relative;
    width: 100%;
    max-width: 580px;
    height: 576px;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    /* Ensure images follow border radius */
}

#hero-split-slider {
    width: 100%;
    height: 100%;
}

.hero-image-card .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 13px;
    border-radius: 50px;
}

/* Hero Slider Pagination */
#hero-split-slider .swiper-pagination-bullet {
    background: #2EC4B6;
    opacity: 0.5;
}

#hero-split-slider .swiper-pagination-bullet-active {
    opacity: 1;
    width: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.card-badge {
    position: absolute;
    background: #fff;
    padding: 10px 18px;
    border-radius: 18px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    z-index: 10;
    /* Ensure it stays above the slider */
}

.card-badge.top-right {
    top: 25px;
    right: 25px;
    background: #FFD27D;
    color: #8A5F00;
    font-weight: 700;
    font-size: 14px;
    border-radius: 12px;
}

.card-badge.bottom-left {
    bottom: 30px;
    left: 30px;
    min-width: 180px;
}

.text-teal {
    color: #2EC4B6;
}

.header-top {
    background-color: #ffffff;
    border-bottom: 1px solid #e1e9e5;
}

#header {
    position: relative;
    z-index: 1100 !important;
}

.main-menu {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    background: #fff;
    position: relative;
    z-index: 1101 !important;
}

.nav-main {
    border-top: 1px solid #f0f0f0;
    padding: 10px 0 0 0 !important;
    margin-bottom: 0 !important;
    background-color: #ffffff !important;
}

.nav-main .navbar ul .nav-item .nav-link {
    color: #444;
    font-weight: 400;
    padding: 10px 10px;
    margin-right: 12px;
    font-size: 14px;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
}

.nav-main .navbar ul .nav-item .nav-link:hover {
    color: #2EC4B6 !important;
    border-bottom: 3px solid #2EC4B6;
    padding-bottom: 9px !important;
}

/* Mega Menu & Dropdown Fix */
.mega-menu,
.dropdown-menu {
    z-index: 9999 !important;
}

.nav-main {
    position: relative;
    z-index: 1102 !important;
}

.nav-main .navbar ul .nav-item:first-child .nav-link {
    padding-left: 0 !important;
}

.nav-top {
    padding: 10px 0 !important;
    background-color: #ffffff !important;
}

/* Hero Mobile Responsiveness */
@media (max-width: 991px) {
    .main-slider-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        padding: 0 20px;
    }

    .hero-title {
        width: 100%;
        height: auto;
        font-size: 42px;
        margin-bottom: 25px;
    }

    .hero-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-search-bar {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-copy {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image-card {
        width: 100%;
        height: auto;
        max-width: 500px;
        border-radius: 30px;
    }

    .hero-image-card img {
        height: auto;
        border-radius: 30px;
    }
}

@media (max-width: 767px) {
    .section-main-slider {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 32px;
        letter-spacing: 1px;
    }

    .hero-desc {
        font-size: 15px;
    }

    .hero-search-bar .btn-teal {
        padding: 0 15px !important;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 30px;
    }

    .stat-item {
        flex: 1;
        min-width: 80px;
        margin: 0 !important;
    }

    .stat-item h4 {
        font-size: 22px;
    }

    .hero-media {
        display: none;
        /* Hide large hero image on mobile to focus on content */
    }
}

/* --- Added for Inline-to-External Migration --- */

/* Header Top Utilities */
.header-top {
    background-color: #ffffff;
    border-bottom: 1px solid #edf4f2;
}

.header-top .nav-link,
.header-top .dropdown-toggle,
.header-top .nav-item span,
.header-top .button-link,
.header-top i {
    font-size: 13px !important;
    color: #444 !important;
}

.header-top .nav-link:hover,
.header-top .dropdown-toggle:hover,
.header-top .button-link:hover {
    color: #2EC4B6 !important;
}

.header-top .bi-geo-alt,
.header-top .bi-globe,
.header-top .bi-currency-dollar {
    font-size: 14px;
}

.header-top .profile-dropdown .bi-chevron-down {
    font-size: 10px;
}

.header-top .btn-login {
    color: #333;
    font-weight: 500;
}

.header-top .btn-register {
    color: #2EC4B6;
    font-weight: 600;
}

/* Nav Top / Main Search */
.nav-top .top-search-bar-container {
    max-width: 600px;
    margin: 0 auto;
}

.nav-top .form_search_main .bi-search {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 15px;
    z-index: 1;
}

.nav-top .ajax-search-input {
    padding-left: 42px !important;
    border-radius: 24px !important;
    border: 1px solid #e0ece6 !important;
    background-color: #f5fbf8 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Nav Top Right Icons & Buttons */
.nav-top-right .bi-bag {
    font-size: 24px;
}

.nav-top-right .bi-heart {
    font-size: 22px;
}

.nav-top-right .notification {
    position: absolute;
    top: -10px;
    right: -12px;
}

.nav-top-right .btn-sell-now {
    background-color: #2EC4B6;
    border-color: #2EC4B6;
    color: #fff !important;
    font-weight: 600;
    padding: 8px 25px;
    border-radius: 13px;
}

/* Hero Section Search Overrides */
.hero-search-bar .search-input-group .bi-search {
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

.hero-search-bar .search-input-group .form-control {
    padding-left: 45px !important;
    height: 50px !important;
    border-radius: 12px 0 0 12px !important;
    border-right: none !important;
}

.hero-search-bar .btn-teal {
    border-radius: 0 12px 12px 0 !important;
    background-color: var(--mds-color-main) !important;
    color: white !important;
    font-weight: 600 !important;
}

/* Hero Badge Text */
.card-badge .badge-title {
    font-size: 11px;
    font-weight: bold;
}

.card-badge .badge-desc {
    font-size: 9px;
    color: #666;
}

/* Footer & Brands Section Unified Background */
.index-wrapper:last-of-type {
    background-color: #ffffff !important;
    padding-bottom: 0 !important;
}

#footer.footer-redesign {
    margin-top: 0 !important;
    border-top: none !important;
}

.section-latest-products {
    background-color: transparent !important;
}

.swiper-carousel-brand {
    background-color: transparent !important;
}

.brand-item .item {
    background-color: #fff;
    border-radius: 12px;
}

/* Category Section Redesign */
.category-section-title {
    font-size: 36px;
    font-weight: 900;
    color: #111;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.category-section-title span {
    background: transparent !important;
    color: inherit !important;
    padding: 0 !important;
}

.category-section-desc {
    font-size: 16px;
    color: #666;
    margin-bottom: 0;
}

.view-all-link {
    color: #2EC4B6 !important;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    transition: all 0.3s;
}

.view-all-link:hover {
    gap: 12px;
    opacity: 0.8;
}

.category-grid-custom {
    display: flex;
    flex-wrap: nowrap;
}

@media (min-width: 768px) {
    .category-grid-custom {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr;
        grid-template-rows: 300px 300px;
        gap: 24px;
        margin-top: 40px;
    }
}

.category-card-item {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@media (max-width: 767px) {
    .category-card-item {
        height: 400px !important;
        width: 100%;
        border-radius: 24px;
    }
}

.category-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-large {
    grid-row: span 2;
}

.card-medium {
    grid-column: span 2;
}

.category-link-overlay {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    padding: 35px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0) 100%);
    text-decoration: none !important;
}

.category-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    width: fit-content;
    margin-bottom: 15px;
}

.category-title {
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.category-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin-bottom: 15px;
    max-width: 300px;
    line-height: 1.5;
}

.category-stats {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stats-badge {
    background: #fff;
    color: #111;
    padding: 4px 12px;
    border-radius: 10px;
    font-size: 12px;
}

.card-small .category-title {
    font-size: 22px;
    margin-bottom: 5px;
}

.card-medium .category-title {
    font-size: 32px;
}

.card-large .category-title {
    font-size: 52px;
    letter-spacing: -1.5px;
}

@media (max-width: 991px) {
    .category-grid-custom {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        height: auto;
    }

    .card-large {
        grid-column: span 2;
        height: 400px;
    }
}

@media (max-width: 575px) {
    .category-grid-custom {
        grid-template-columns: 1fr;
    }

    .card-large,
    .card-medium {
        grid-column: span 1;
        height: 350px;
    }

    .card-small {
        height: 250px;
    }

    .category-section-title {
        font-size: 32px;
    }
}

/* ============================================================
   FEATURED PRODUCTS & SPECIAL OFFERS — Figma Redesign
   ============================================================ */

/* Section wrapper */
.fp-section {
    padding: 50px 0 40px;
}

.so-section {
    padding-top: 50px;
}

.section-special-offers-full {
    background: #fff;
}

/* Shared full-width section padding wrapper */
.container-fluid.px-md-5 {
    padding-left: 40px !important;
    padding-right: 40px !important;
}

@media (max-width: 767px) {
    .container-fluid.px-md-5 {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* Section Header */
.fp-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 32px;
}

.fp-section-title {
    font-size: 32px;
    font-weight: 800;
    color: #111;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.fp-section-sub {
    font-size: 14px;
    color: #888;
    margin: 0;
}

.fp-shop-all {
    font-size: 14px;
    font-weight: 600;
    color: #2EC4B6 !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.fp-shop-all:hover {
    opacity: 0.75;
}

/* 4-Column Responsive Grid — auto-fill so fewer products still look tidy */
.fp-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: start;
}

/* Card */
.fp-card {
    position: relative;
    background: transparent;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    margin-bottom: 24px;
    --img-height: 373px;
}

.fp-card.fp-card-sm {
    --img-height: 240px;
    border-radius: 20px;
}

.fp-card.fp-card-sm .fp-img-wrap {
    border-radius: 20px;
}

.fp-card:hover {
    transform: translateY(-4px);
}

/* Badge */
.fp-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.2px;
}

.badge-teal {
    background: #2EC4B6;
    color: #fff;
}

.badge-orange {
    background: #F4845F;
    color: #fff;
}

.badge-purple {
    background: #7C5CBF;
    color: #fff;
}

/* Wishlist button */
.fp-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: #444;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}

.fp-wishlist:hover {
    background: #fff;
    color: #e74c3c;
    transform: scale(1.1);
}

/* Product Image — Figma spec: 280 × 373.33px */
.fp-img-wrap {
    display: block;
    overflow: hidden;
    height: var(--img-height);
    background: #f8f8f8;
    border-radius: 24px;
}

@media (max-width: 1199px) {
    .fp-card {
        --img-height: 320px;
    }
}

@media (max-width: 991px) {
    .fp-card {
        --img-height: 280px;
    }
}

@media (max-width: 767px) {
    .fp-card {
        --img-height: 240px;
    }

    .fp-img-wrap {
        border-radius: 18px;
    }
}

.fp-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

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

/* Card Body */
.fp-card-body {
    padding: 16px 4px 16px;
}

.fp-title-price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 4px;
}

.fp-product-name {
    flex: 1;
    font-size: 15px;
    font-weight: 700;
    color: #111;
    text-decoration: none !important;
    line-height: 1.2;
    transition: color 0.2s;
    margin-bottom: 0;
}

.fp-product-name:hover {
    color: #2EC4B6;
}

.fp-price-col {
    text-align: right;
    white-space: nowrap;
}

.fp-price {
    font-size: 15px;
    font-weight: 800;
    color: #2EC4B6;
}

.fp-price-old {
    font-size: 12px;
    color: #aaa;
    text-decoration: line-through;
}

.fp-stars-row {
    display: flex;
    align-items: center;
}

/* Stars */
.fp-stars {
    display: flex;
    align-items: center;
    gap: 4px;
}

.fp-star-icons,
.fp-star-icons i {
    color: #F5A623;
    font-size: 12px;
    letter-spacing: -1px;
}

.fp-reviews-count {
    font-size: 12px;
    color: #888;
    margin-left: 2px;
}

/* Owner Row for Product Cards (Replaces Stars) */
.fp-owner-row {
    margin-top: 10px;
}

.fp-owner-name {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    color: #555;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
}

.fp-owner-name:hover {
    color: #2EC4B6;
}

.fp-owner-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #eee;
}

.fp-verified-icon {
    color: #2EC4B6;
    font-size: 14px;
    margin-left: -2px;
}

/* Cart overlay button (on hover) */
.fp-cart-overlay {
    position: absolute;
    top: calc(var(--img-height) - 50px);
    right: 12px;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.25s ease;
    z-index: 4;
}

.fp-card:hover .fp-cart-overlay {
    opacity: 1;
    transform: translateY(0);
}

.fp-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #2EC4B6;
    color: #fff !important;
    border: none;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(46, 196, 182, 0.45);
    transition: background 0.2s, transform 0.2s;
    text-decoration: none !important;
}

.fp-cart-btn:hover {
    background: #1fa89d;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1199px) {
    .fp-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .fp-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .fp-section-title {
        font-size: 24px;
    }

    .fp-img-wrap {
        height: 240px;
    }
}

@media (max-width: 479px) {
    .fp-product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .fp-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}