@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700&family=Cairo:wght@400;600;700;800&display=swap');

:root {
    --bg: #F4F5F7;
    --white_color: #ffffff;
    --bg-2: #FFFFFF;
    --text: rgb(39 49 61);
    --text-muted: #6B7280;
    --border: #E5E7EB;
    --accent: #E53935;
    --accent_light: #ffdddc;
    /* Red for discounts */
    --accent-hover: #D32F2F;
    --dark-bg: rgb(39 49 61);
    /* For header and dark sections */
    /* --dark-bg: #1A1A1A; */
    --dark-bg-2: #242424;
    --dark-text: #F9FAFB;
    --hover: #F3F4F6;
    --danger: #EF4444;
    --success: #10B981;
    --warning: #F59E0B;
    --bs-heading-color: var(--text);
    --radius: 12px;
    --radius-sm: 10px;
    --radius-lg: 20px;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.03);
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
}
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
    opacity: 0;
}
::selection {
    background-color: var(--hover);
    color: var(--accent);
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Cairo', 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Base Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cairo', 'Montserrat', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1500px !important;
}
.link_abs{
    position: absolute;
    inset: 0;
}
/* Header Styles */
.top-nav {
    background-color: var(--dark-bg);
    color: var(--dark-text);
    padding: 12px 0;
}

.top-nav .nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 2px;
    font-style: italic;
}

.search-bar {
    display: flex;
    background: #FFFFFF;
    border-radius: 30px;
    overflow: hidden;
    width: 50%;
    max-width: 600px;
}

.search-bar select {
    border: none;
    background: transparent;
    padding: 10px 20px;
    outline: none;
    color: #333;
    font-weight: 600;
}

.search-bar input {
    border: none;
    padding: 10px 20px;
    width: 100%;
    outline: none;
    color: #333;
}

.search-bar button {
    background: transparent;
    border: none;
    padding: 0 20px;
    color: #333;
    cursor: pointer;
}

.brand_image {
    width: 100px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-actions .action-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    cursor: pointer;
}

.cart-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.bottom-nav {
    background-color: var(--dark-bg);
    color: var(--dark-text);
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
}

.bottom-nav ul {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 15px;
}

.bottom-nav a {
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
    position: relative;
    white-space: nowrap;
}

.bottom-nav a:hover {
    color: var(--accent);
}

.bottom-nav a.has-dot::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -6px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.promo-bar {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 8px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.dropdown-menu{
    border: 1px solid var(--border);
    border-radius: 0;
    background: var(--hover);
    overflow: hidden;
    padding: 0;
    top: 130% !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-10%) !important;
}
.drop_lang{
    min-width: 7rem;
    transform: translateX(-50%) !important;
}
.dropdown-item{
    transition: 0.2s ease-in;
    padding: 10px;
    font-size: 13px;
    color: var(--dark-bg-2);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: wrap;
}
.dropdown-item:hover{
    background: var(--border);
    color: var(--accent);
    padding-right: 15px;
}
.dropdown-item i{
    color: var(--accent);
    font-size: 16px;
}
.dropdown-item.logout_link{
    color: var(--accent);
    background: var(--accent_light);
}
/* Category Strip (Image 1) */
.category-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 20px 0 10px;
}

.cat-card {
    background: var(--bg-2);
    border-radius: var(--radius);
    padding: 10px;
    min-width: 140px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s;
    cursor: pointer;
    border: 1px solid var(--border);
    position: relative;
}

.cat-card:hover {
    transform: translateY(-5px);
}

.cat-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: var(--radius-sm);
    /* background: #f9f9f9; */
}

.cat-card span {
    font-weight: 700;
    font-size: 11px;
}

.cat-card i {
    color: var(--text-muted);
    font-size: 12px;
    float: left;
    margin-top: 4px;
}

/* Hero Banner */
.hero-banner {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    margin: 20px 0;

}

.banner_over_bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.hero-content h4 {
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white_color);
    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: 64px;
    color: var(--white_color);
    font-weight: 800;
    margin-bottom: 30px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

.btn-shop {
    background: #fff;
    color: #000;
    padding: 14px 40px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s;
    display: inline-block;
}

.btn-shop:hover {
    background: var(--hover);
    transform: scale(1.05);
}

/* Partners Strip */
.partners-strip {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    overflow-x: auto;
    justify-content: center;
}

.partner-card {
    background: var(--bg-2);
    border-radius: var(--radius-sm);
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-soft);
    min-width: max-content;
    border: 1px solid var(--border);
}

.partner-card span {
    font-size: 14px;
    color: var(--text-muted);
}

.partner-card strong {
    color: #000;
    font-weight: 800;
    font-family: serif;
}

/* Product Card */
.product-card {
    background: var(--bg-2);
    border-radius: var(--radius);
    padding: 15px;
    border: 1px solid var(--border);
    position: relative;
    transition: box-shadow 0.3s;
    height: 100%;
}

.product-card:hover {
    box-shadow: var(--shadow);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
}

.badge-sale {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
}

.product-brand {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.product-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-now {
    color: var(--accent);
    font-weight: 700;
    font-size: 16px;
}

.price-old {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 12px;
}

.btn-swipenext,
.btn-swipeprev {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #333;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}

.btn_banner_swip {
    background: transparent;
    border: 0;
    color: var(--hover);
    height: auto;
}
.swiper-pagination{
    position: relative;
    inset: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.swiper-pagination-bullet {
    height: 4px;
    width: 10px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    display: inline-block;
    opacity: 1;
    transition: 0.4s;
}

.swiper-pagination-bullet-active {
    width: 30px ;
    background: var(--white_color) ;
}

/* Add To Cart Overlay on Product Hover */
.product-card-actions {
    position: absolute;
    bottom: 20px;
    left: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.product-card:hover .product-card-actions {
    opacity: 1;
    transform: translateY(0);
}

.btn-add-cart {
    flex: 1;
    background: var(--dark-bg);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 8px;
    font-size: 14px;
    font-weight: 600;
}

.btn-add-wishlist {
    background: #fff;
    border: 1px solid var(--border);
    color: #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.tabs {
    display: flex;
    gap: 20px;
}

.btn_tabs_clickble {
    background: none;
    border: none;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-muted) !important;
    padding: 0 0 5px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    background: transparent !important;
    border-radius: 0 !important;
}

.btn_tabs_clickble.active {
    color: var(--text) !important;
    border-bottom-color: var(--text);
}

.section_title-BIG {
    font-size: 32px;
    font-weight: 800;
    margin-top: 10px;
}

/* Promo Banner (TRIPLE ZERO) */
.promo-red-banner {
    background: #f04e63;
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 40px 0;
}

.promo-red-banner h3 {
    font-size: 32px;
    font-weight: 800;
    font-style: italic;
    margin: 0;
    text-align: center;
    flex: 1;
}

.promo-red-banner .side-text {
    font-weight: 700;
    font-size: 14px;
}

.marquee-strip {
    background: var(--dark-bg-2);
    color: #fff;
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 700;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Explore Grid */
.explore-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 10px;
    margin-bottom: 40px;
}

.explore-hero {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    height: 450px;
}

.explore-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.explore-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #000;
    padding: 12px 40px;
    border-radius: 30px;
    font-weight: 700;
    display: inline-block;
}

.explore-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.cat-mini-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.3s;
}

.cat-mini-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.cat-mini-card h5 {
    font-size: 16px;
    margin: 0 0 5px 0;
}

.cat-mini-card p {
    color: var(--text-muted);
    font-size: 12px;
    margin: 0;
}

.cat-mini-card img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
}

/* Tall Category Swiper */
.tall-card {
    height: 450px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.tall-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tall-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.8));
}

.tall-card-content {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 2;
    color: var(--white_color);
    text-align: right;
    width: 100%;
}

.tall-card-content h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--white_color);
}

.tall-card-content .btn-shop {
    padding: 8px 24px;
    font-size: 12px;
}

.tall-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    border: 1px solid #fff;
    color: #fff;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 20px;
    z-index: 2;
    font-weight: 600;
}

/* Dark Section (Trending Now) */
.dark-section {
    background: #F8F9FA;
    /* background: var(--dark-bg-2); */
    color: var(--dark-text);
    padding: 60px 0;
    margin-top: 40px;
}

.brand-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    color: #000;
}

.brand-card-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.brand-main-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background: #f9f9f9;
}

.brand-sub-imgs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.brand-sub-img {
    width: 100%;
    height: 85px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background: #f9f9f9;
}

.brand-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-card-footer h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}

.brand-card-footer p {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
}

.btn-dark-shop {
    background: #000;
    color: #fff;
    border-radius: 20px;
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 700;
}

/* ALO YOGA Section (Image 1) */
.alo-section {
    background-color: #E6DFD4;
    padding: 60px 0;
}

.alo-hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.alo-text {
    text-align: center;
}

.alo-text h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.alo-text h2 {
    font-size: 48px;
    font-weight: 800;
    margin: 15px 0;
    font-family: 'Montserrat', sans-serif;
}

.alo-text p {
    font-size: 14px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.alo-btn {
    background: var(--dark-bg);
    color: var(--dark-text);
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 700;
}

.alo-image {
    background: var(--dark-text);
    border-radius: var(--radius);
    overflow: hidden;
    height: 350px;
}

.alo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alo-product-card {
    background: var(--dark-text);
    border-radius: var(--radius);
    padding: 15px;
    border: 1px solid var(--border);
}

.alo-product-card .product-image {
    background: #f9f9f9;
    border-radius: var(--radius-sm);
}

/* Top Brands Grid (Image 2) */
.brands-grid-section {
    background-color: var(--dark-bg);
    padding: 60px 0;
    color: var(--dark-text);
    margin-top: 40px;
}

.marca_title {
    font-weight: 700;
    font-size: 25px;
    margin: 0;
    color: var(--white_color);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    
}

.brand-logo-box {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: transform 0.3s;
}

.brand-logo-box:hover {
    transform: translateY(-5px);
}

.brand-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Crocs Section (Image 3) */
.crocs-section {
    padding: 65px 0;
    background: var(--white_color);
}

.crocs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.crocs-hero {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    height: 100%;
    min-height: 500px;
}

.crocs-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.crocs-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}

.crocs-hero-overlay h2 {
    font-size: 48px;
    font-weight: 800;
    color: var(--white_color);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Promotions Slider (Image 4) */
.promotions-section {
    margin-top: 40px;
}

.promo-card {
    border-radius: var(--radius);
    overflow: hidden;
    height: 300px;
}

.promo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Cart Offcanvas Styles */
.offcanvas-cart {
    width: 350px !important;
}

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.cart-item-info h6 {
    font-size: 14px;
    margin-bottom: 5px;
}

.cart-item-info .price {
    color: var(--accent);
    font-weight: 700;
}

.cart-remove {
    color: var(--danger);
    cursor: pointer;
    font-size: 12px;
}


.hilight_text {
    font-size: 25px;
    font-weight: 700;
    margin-top: 12px;
    display: inline-block;
    color: #E53935;
    position: relative;
    padding: 10px;
}

.highlight-text__svg {
    width: 115%;
    height: 160%;
    inset-inline-start: 50%;
    inset-block-start: 46%;
    transform: translate(50%, -50%);
    position: absolute;
    color: var(--accent);
}

.highlight-text__svg path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    opacity: 0;
}

.highlight-text__svg path {
    opacity: 1;
    animation: 1.3s ease 0s 1 normal forwards running lineDraw;
}
.form-control:focus {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border-color: #fe86a1;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgb(255 80 126 / 25%);
}
@keyframes lineDraw {
    0% {
        stroke-dashoffset: 1;
        opacity: 0;
    }

    1% {
        opacity: 1;
    }

    100% {
        stroke-dashoffset: 0;
    }
}