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

:root {
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Outfit', sans-serif;

    --primary-color: #ed8044;
    --primary-hover: #dd7338;
    --primary-light: #fde9d9;

    --secondary-color: #1A1A1A;
    --secondary-light: #2A2A2A;

    --tertiary-color: #F5F5F7;
    --tertiary-dark: #E8E8ED;

    --text-main: #111111;
    --text-muted: #666666;
    --text-light: #FFFFFF;

    --bg-main: #FFFFFF;
    --bg-card: #FFFFFF;
    --border-color: #EAEAEA;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.2;
    color: var(--secondary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header  */
.header {
    background-color: #000000;
    color: var(--text-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-lg {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Nav bar */

.navbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 16px 20px;
    gap: 32px;
}

.logo img {
    height: 38px;
    object-fit: contain;
}

.search-container {
    position: relative;
    flex: 1;
    max-width: 600px;
    display: flex;
    align-items: center;
    background-color: #1c1c1c;
    border-radius: 24px;
    padding: 10px 16px;
    border: 1px solid transparent;
    transition: border-color 0.2s ease-in-out;
}

.search-container:focus-within {
    border-color: #333333;
}

.search-icon {
    color: #888888;
    margin-right: 10px;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-light);
    font-family: var(--font-primary);
    font-size: 14px;
}

.search-input::placeholder {
    color: #888888;
}

.search-popup {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    width: 850px;
    max-width: 95vw;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    padding: 24px;
    gap: 24px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform-origin: top center;
    color: #1a1a1a;
}

.search-popup.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.search-popup-left {
    flex: 1;
    max-width: 250px;
}

.search-popup-right {
    flex: 3;
}

.popup-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #333;
}

.trending-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trending-list li a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: color 0.2s;
}

.trending-list li a:hover {
    color: #F94D26;
}

.trending-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.trending-product-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}

.trending-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.trending-product-card .img-box {
    width: 100%;
    aspect-ratio: 1;
    background-color: #f9f9f9;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trending-product-card .img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.trending-product-card .info-box {
    padding: 12px;
}

.trending-product-card .name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trending-product-card .price {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}


.nav-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 15px;
    font-weight: 500;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    transition: color 0.2s ease-in-out;
}

.nav-link:hover {
    color: var(--primary-color);
}

.offer-link {
    color: var(--primary-color);
}

.offer-icon,
.compare-icon {
    color: inherit;
}

.icon-btn {
    background: transparent;
    border: 1px solid #333333;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    transition: all 0.2s ease-in-out;
}

.icon-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--primary-color);
    color: var(--text-light);
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000000;
}

.category-nav {
    background-color: #ffffff;
    color: var(--text-main);
    padding: 12px 0;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.08);
}

.hover-category {
    position: relative;
}

.hover-category .cat-link,
.sub-hover-category .sub-cat-link {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 8px;
    color: var(--text-main);
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    transition: color 0.2s ease-in-out;
}

.align-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hover-category:hover .cat-link {
    color: var(--primary-color);
}

.hover-category .cat-link svg {
    transition: transform 0.3s ease;
}

.hover-category:hover .cat-link svg {
    transform: rotate(180deg);
}

.hover-category .hover-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background-color: var(--bg-card);
    color: var(--text-main);
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    min-width: 220px;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-category:hover .hover-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    border-radius: 10px;
}

.hover-category .hover-dropdown .dropdown-content {
    display: flex;
    flex-direction: column;
}

.hover-category .hover-dropdown .dropdown-content a {
    padding: 10px 12px;
    border-radius: 10px;
    display: block;
    font-weight: 500;
    font-size: 14px;
}

.hover-category .hover-dropdown .dropdown-content a:hover,
.sub-hover-category:hover>.sub-cat-link {
    background-color: var(--primary-color);
    color: var(--text-light);
}

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

.hover-category .hover-dropdown .dropdown-content a.sub-cat-link {
    display: flex;
    justify-content: start;
    align-items: center;
    width: 100%;
}

.sub-hover-category {
    position: relative;
    display: block;
}

.sub-hover-dropdown {
    position: absolute;
    top: 0px;
    left: 100%;
    background-color: var(--bg-card);
    color: var(--text-main);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    min-width: 220px;
    z-index: 1001;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sub-hover-category:hover .sub-hover-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    border-radius: 10px;
}

/* Hero Section */
.hero-section {
    padding: 24px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.hero-carousel {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}

.carousel-track {
    display: flex;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s, transform 0.2s;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: #ffffff;
    transform: translateY(-50%) scale(1.05);
}

.carousel-btn.prev {
    left: 16px;
}

.carousel-btn.next {
    right: 16px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
    width: 24px;
    border-radius: 4px;
}

.hero-side-banners {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-banner {
    border-radius: 12px;
    overflow: hidden;
    display: block;
    height: 100%;
}

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

.side-banner:hover img {
    transform: scale(1.03);
}

/* Features Bar */
.features-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
}

/* Featured Categories */
.featured-categories {
    margin-top: 40px;
    margin-bottom: 40px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-main);
    text-align: left;
}

.gradient-text {
    background: linear-gradient(90deg, #f9532d, #ff9500, #b148d2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    text-decoration: none;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.category-card img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 12px;
}

.category-card span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.2;
}

.see-all-container {
    text-align: center;
    margin-top: 30px;
    display: none;
}

.see-all-btn {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: underline;
    display: inline-block;
}

.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eaeaea;
    z-index: 999;
    justify-content: space-around;
    padding: 10px 0;
    padding-bottom: env(safe-area-inset-bottom, 10px);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 11px;
    gap: 4px;
}

.bottom-nav-item i {
    font-size: 20px;
}

.bottom-nav-item.active {
    color: #F94D26;
}

.mobile-menu-btn {
    display: none;
    color: #fff;
}



/* Mobile Sidebar Drawer Styles */
.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 85%;
    height: 100vh;
    background-color: #fff;
    z-index: 10001;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-sidebar.active {
    transform: translateX(0);
}

.sidebar-header {
    background-color: #1a1a1a;
    color: #fff;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
}

.sidebar-close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.sidebar-menu-list {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
}

.sidebar-menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.sidebar-menu-item:hover {
    background-color: #f5f5f7;
}

.sidebar-menu-item i {
    font-size: 12px;
    color: #888;
}

.sidebar-divider {
    height: 1px;
    background-color: #eaeaea;
    margin: 10px 20px;
}

.sidebar-bottom-links {
    display: flex;
    flex-direction: column;
    padding: 10px 20px;
    gap: 15px;
}

.sidebar-bottom-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.sidebar-bottom-link i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.sidebar-bottom-link.offer-color {
    color: #F94D26;
}




/* Exclusive Deals Carousel */
.featured-products {
    margin: 40px auto;
}

.deals-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.deals-header .section-title {
    margin-bottom: 0;
}

.deals-nav {
    display: flex;
    gap: 12px;
}

.deals-nav .nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.deals-nav .nav-btn:hover {
    background-color: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}

.deals-carousel-container {
    overflow: hidden;
    width: 100%;
}

.deals-carousel {
    display: none;
    gap: 20px;
    transition: transform 0.4s ease-in-out;
}

.deals-carousel.active {
    display: flex;
}

.product-card {
    min-width: calc((100% - 80px) / 5.2);
    height: 100%;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

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

.product-img {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-container {
    margin-bottom: 6px;
}

.current-price {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

.discount-container {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 20px;
}

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

.discount-badge {
    background-color: #e6f6ec;
    color: #27ae60;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.discount-container.placeholder {
    visibility: hidden;
}

.gif-section{
    margin: 40px 0;
}

.gif-box{
    overflow: hidden;
    border-radius: 12px;
}

.gif-box img{
    width: 100%;
    border-radius: 12px;
}

.category-list{
    display: flex;
    justify-content: start;
    gap: 10px;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.cat-item a{
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 12px;
    background-color: rgba(165, 161, 161, 0.467);
    color: var(--text-main);
    text-wrap: nowrap;
    transition: 0.2s ease-in-out;
}

.cat-item a:hover{
    background-color: var(--secondary-color);
    color: #f5f5f7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cat-item.active a{
    background-color: var(--secondary-color);
    color: #f5f5f7;
}

/* About Categories Section */
.about-categories {
    margin: 60px auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-card {
    padding: 32px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
}

.about-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #000000;
    line-height: 1.6;
}

.about-text {
    font-size: 16px;
    color: #242424;
    line-height: 1.6;
}

.about-image-card {
    border-radius: 16px;
    overflow: hidden;
    display: flex;
}

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

/* Footer Styles */
.main-footer {
    background-color: #000000;
    color: #ffffff;
    padding: 60px 0 40px;
    font-family: var(--font-primary);
    background-image: url('./images/assets/footer-bg.png');
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: contain;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333333;
}

.footer-company-info {
    max-width: 300px;
}

.footer-logo {
    width: 200px;
    margin-bottom: 24px;
}

.contact-info p {
    font-size: 13px;
    margin-bottom: 4px;
    color: #cccccc;
}

.contact-info .info-text {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 16px;
    margin-left: 20px;
}

.app-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.app-btn {
    background-color: #333333;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.app-btn:hover {
    background-color: #444444;
}

.app-btn i {
    font-size: 24px;
}

.app-text {
    display: flex;
    flex-direction: column;
}

.app-text span {
    font-size: 9px;
    line-height: 1;
}

.app-text strong {
    font-size: 13px;
    line-height: 1.2;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
}

.footer-link-col h4, .footer-cat-col h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    text-transform: uppercase;
}

.footer-link-col ul, .footer-cat-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link-col ul li, .footer-cat-col ul li {
    margin-bottom: 12px;
}

.footer-link-col a, .footer-cat-col a {
    color: #cccccc;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-link-col a:hover, .footer-cat-col a:hover {
    color: #ffffff;
}

.location-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.location-list li i {
    color: #f5b041;
    margin-top: 3px;
}

.location-list li div {
    display: flex;
    flex-direction: column;
}

.location-list li strong {
    font-size: 13px;
    color: #ffffff;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 2px;
}

.location-list li span {
    font-size: 11px;
    color: #888888;
}

.footer-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid #333333;
}

.copyright {
    font-size: 12px;
    color: #888888;
}

.social-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #555555;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s;
}

.social-icon:hover {
    border-color: #ffffff;
}

.social-icon.whatsapp {
    width: auto;
    padding: 0 16px;
    border-radius: 20px;
    background-color: #25d366;
    border: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    gap: 8px;
}

.social-icon.whatsapp:hover {
    background-color: #1ebe56;
}

.footer-bottom {
    padding-top: 40px;
}

.footer-category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

/* Media Queries */
/* Tablet Responsive */
@media (max-width: 991px) {
    body {
        padding-bottom: 60px;
    }

    .category-nav {
        display: none;
    }

    .nav-actions .nav-link,
    .nav-actions .user-btn {
        display: none;
    }


    .mobile-menu-btn {
        display: inline-flex;
        order: 1;
    }

    .navbar {
        display: grid;
        grid-template-columns: auto 1fr auto;
        padding-top: 15px;
        padding-bottom: 15px;
        gap: 15px;
    }

    .logo {
        order: 2;
        justify-self: center;
    }

    .nav-actions {
        order: 3;
    }

    .search-container {
        order: 4;
        grid-column: 1 / -1;
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }

    .search-popup {
        flex-direction: column;
        width: 100%;
        left: 0;
        transform: none;
    }

    .trending-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-popup-left {
        max-width: 100%;
    }

    .bottom-nav {
        display: flex;
    }

    .see-all-container {
        display: block;
    }

    .hero-section {
        padding: 15px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }

    .hero-wrapper {
        display: flex;
        flex-direction: column;
    }

    .carousel-container {
        height: auto;
        aspect-ratio: 21 / 9;
    }

    .hero-side-banners {
        flex-direction: row;
        width: 100%;
    }

    .side-banner {
        flex: 1;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .features-bar {
        display: none;
    }

    .product-card {
        min-width: calc((100% - 60px) / 3.2);

    }

    .product-card .product-name {
        font-size: 12px;
    }

    .product-card .current-price {
        font-size: 15px;
    }

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

    .product-card .discount-badge {
        font-size: 9px;
    }

    .deals-header {
        gap: 12px;
    }

    .section-title {
        font-size: 28px;
    }

    .see-all-btn {
        font-size: 12px;
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Responsive (<= 767px) */
@media (max-width: 767px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .section-title {
        font-size: 28px;
    }

    .carousel-container {
        aspect-ratio: 16 / 9;
    }


    .search-popup {
        padding: 16px;
        gap: 16px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .search-popup-right {
        min-width: 0;
        width: 100%;
    }

    .trending-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 100%;
    }

    .trending-product-card {
        min-width: 0;
    }

    .trending-product-card .img-box {
        padding: 8px;
    }

    .trending-product-card .info-box {
        padding: 8px;
        min-width: 0;
    }

    .product-card {
        min-width: calc((100% - 20px) / 2);
    }

    .product-card .product-name {
        font-size: 12px;
    }

    .product-card .current-price {
        font-size: 15px;
    }

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

    .product-card .discount-badge {
        font-size: 9px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-middle {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}