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

:root {
    --primary-bg: #FFFFFF;
    --secondary-bg: #F5F5F7;
    --text-primary: #1D1D1F;
    --text-secondary: #86868B;
    --accent: #0066CC;
    --border-radius: 12px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: var(--primary-bg);
    line-height: 1.6;
}

body > .badge, 
body > #cart-count {
    display: none !important;
}

/* This class will be added to the body via JavaScript */
body.no-scroll {
    overflow: hidden;
    height: 100vh;
}

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

/* Navigation */
.navbar {
    background: var(--primary-bg);
    border-bottom: 1px solid #e1e1e1;
    position: sticky;
    top: 0;
    z-index: 2000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 24px;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 400;
    font-size: 14px;
    transition: color 0.3s;
}

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

.nav-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-icons i {
    font-size: 18px;
    color: var(--text-primary);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 5px;
}

/* Hero Section */
.hero {
    background-color: var(--secondary-bg);
    padding: 100px 0;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 15px;
}

.hero-content h2 {
    font-size: 24px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-size: 16px;
	 font-family: 'Inter', sans-serif;	
}

.btn-blue {
    background: var(--accent);
    color: #fff;
    border: none;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--text-secondary);
    color: var(--text-primary);
}

.btn:hover {
    transform: scale(1.03);
}

.hero-image img {
    width: 100%;
    max-width: 500px;
}

/* Trust Bar */
.trust-bar {
    background: var(--secondary-bg);
    padding: 40px 0;
    border-top: 1px solid #e1e1e1;
}

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

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

.badge i {
    font-size: 24px;
    color: var(--accent);
}

.badge h3 { font-size: 16px; }
.badge p { font-size: 14px; color: var(--text-secondary); }

/* Categories */
.section-title {
    text-align: center;
    font-size: 32px;
    margin: 60px 0 40px;
}

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

.cat-card {
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}

.cat-img {
    background: var(--secondary-bg);
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    margin-bottom: 10px;
}

.cat-img i { font-size: 40px; color: var(--text-primary); }

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

/* Products */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 80px;
}

.product-card {
    background: #fff;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: 0.3s;
}

.product-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

.product-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.rating { color: #FFCC00; font-size: 12px; margin-bottom: 5px; }
.rating span { color: var(--text-secondary); margin-left: 5px; }

.price { font-weight: 600; margin-bottom: 15px; }

.btn-add {
    width: 100%;
    padding: 10px;
    border-radius: var(--border-radius);
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
	 font-family: 'Inter', sans-serif;
}

.btn-add:hover { background: var(--accent); color: #fff; }

/* Promo Banner */
.promo-banner {
    background: var(--accent);
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.time-box {
    background: #000;
    padding: 15px;
    border-radius: 8px;
    min-width: 80px;
}

.time-box span { font-size: 24px; font-weight: 600; display: block; }
.time-box p { font-size: 12px; text-transform: uppercase; opacity: 0.7; }

.btn-white {
    background: #fff;
    color: var(--accent);
    border: none;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.test-card {
    background: var(--secondary-bg);
    padding: 30px;
    border-radius: var(--border-radius);
}

.quote { font-style: italic; margin: 15px 0; }
.author { font-weight: 600; }

/* Footer */
.footer {
    background: var(--text-primary);
    color: #fff;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 60px;
}

.footer-col h4 { margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-secondary); text-decoration: none; transition: 0.3s; }
.footer-col ul li a:hover { color: #fff; }

.socials { display: flex; gap: 15px; margin-top: 20px; }
.socials i { font-size: 20px; }

.input-group { display: flex; }
.input-group input {
    padding: 10px;
    border: none;
    border-radius: 6px 0 0 6px;
    outline: none;
    width: 100%;
}

.input-group button {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
	     font-family: 'Inter', sans-serif;
}

.copyright {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0,102,204,0.3);
    cursor: pointer;
    z-index: 1001;
}

/* Responsiveness */
@media (max-width: 992px) {
    .hero-wrapper { flex-direction: column; text-align: center; }
    .hero-btns { justify-content: center; }
    .product-grid, .category-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* In production, you'd toggle a class here */
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid #e1e1e1;
    }
    .nav-links.active { display: flex; }
    .hamburger { display: block; }
    .trust-grid, .testimonial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 36px; }
    .product-grid, .category-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* Ensure the grid expands for 40 items */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    transition: all 0.4s ease;
}

/* Make sure images in dynamic cards fit perfectly */
.product-card img {
    height: 220px;
    object-fit: contain;
    background: var(--secondary-bg);
    margin-bottom: 15px;
}

.search-container input {
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid #d2d2d7;
    background: #f5f5f7;
    width: 200px;
    transition: width 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.search-container input:focus {
    width: 280px;
    outline: none;
    border-color: var(--accent);
}

.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    display: none; /* Hidden by default */
}

.dropdown-item {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f7;
}

.dropdown-item:hover {
    background: #f5f5f7;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Ensure the cards look premium */
.product-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0 20px;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Ensure the container stays aligned */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 70px;
}

.breadcrumbs a:hover {
    color: var(--accent) !important;
    text-decoration: underline !important;
}

/* Optional: Add a subtle animation to the breadcrumb as it loads */
.breadcrumb-container {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.dropdown-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    #productName {
        font-size: 32px !important;
    }
}

/* Forces the cart badge to be visible and correctly styled */
#cart-count {
    z-index: 10;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.nav-icons {
    display: flex;
    align-items: center;
}

/* Sidebar Styles */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px; /* Hidden by default */
    width: 400px;
    height: 100%;
    background: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 2000;
    transition: 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0; /* Slide in */
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 1999;
}

.cart-overlay.active {
    display: block;
}

@media (max-width: 480px) {
    .cart-sidebar {
        width: 100%; /* Fill the screen on mobile */
        right: -100%;
    }
}

/* Sidebar Internal Layout */
.cart-header { padding: 20px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
.cart-items-container { flex: 1; overflow-y: auto; padding: 20px; }
.cart-footer { padding: 20px; border-top: 1px solid #eee; background: #fafafa; }

.cart-item { display: flex; gap: 15px; margin-bottom: 20px; align-items: center; }
.cart-item img { width: 60px; height: 60px; object-fit: contain; border-radius: 8px; }
.cart-item-info h4 { font-size: 0.9rem; margin-bottom: 5px; }
.remove-item { color: red; font-size: 0.8rem; cursor: pointer; border: none; background: none; }

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
	 transition:0.2s;
	 font-family: 'Inter', sans-serif;
}

.checkout-btn:hover{
	 transform:scale(1.02)
}

/* Toast Notification Style */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px); /* Hidden below screen */
    background: #1d1d1f; /* Dark premium background */
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 3000;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-clickable:hover h4 {
    color: var(--accent);
    text-decoration: underline;
}

.cart-item-clickable:hover img {
    opacity: 0.8;
}

/* Class to show the toast */
.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* This forces the items into a responsive grid instead of a long line */
#product-grid, .product-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    padding: 20px 0;
    width: 100%;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 4000; /* Higher than sidebar */
    backdrop-filter: blur(4px);
}

.modal-overlay.active { display: flex; }

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: scale(0.8);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content { transform: scale(1); }

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

.btn-cancel {
    flex: 1;
    padding: 12px;
    border: none;
    background: #eee;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

.btn-confirm-delete {
    flex: 1;
    padding: 12px;
    border: none;
    background: #ff3b30;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

.chip {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.chip:hover {
    border-color: #0071e3;
}

.chip.active {
    background: #0071e3;
    color: white;
    border-color: #0071e3;
}

/* Container for the dropdown to add a custom arrow */
.option-group select {
    appearance: none; /* Removes default browser styling */
    -webkit-appearance: none;
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    font-family: inherit;
    color: #1d1d1f;
    background-color: #f5f5f7; /* Light gray background */
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2386868b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 16px) center;
    transition: all 0.2s ease;
}

.option-group select:hover {
    background-color: #e8e8ed;
    border-color: #86868b;
}

.option-group select:focus {
    outline: none;
    border-color: #0071e3; /* Blue border on click */
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.btn-whatsapp{
	 width: 100%;
	 padding: 16px;
	 background: #25D366;
	 color: white;
	 border: none;
	 border-radius:7px;
	 font-weight: 700;
	 font-size: 1rem;
	 cursor: pointer;
	 display: flex;
	 align-items: center;
	 justify-content: center;
	 gap: 10px;
	 transition: transform 0.2s;
	 font-family: 'Inter', sans-serif;
}

.btn-whatsapp:hover{
	 transform:scale(1.02)
}

.clear-btn{
	 width: 100%;
	 background: none;
	 border: 1px solid #ff3b30;
	 color: #ff3b30;
	 padding: 10px;
	 border-radius: 8px;
	 margin: 10px 0px 10px 0px ;
	 cursor: pointer;
	 font-weight: 600;
	 transition:0.2s;
	 font-family: 'Inter', sans-serif;
}

.clear-btn:hover{
	 background:#ff3b30;
	 color:white;
}

/* Mobile View: 2 Columns */
@media (max-width: 600px) {
    #product-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Forces 2 equal columns */
        gap: 10px; /* Reduces space between cards to fit better */
        padding: 10px;
    }

    .product-card {
        padding: 10px; /* Smaller padding inside cards for mobile */
    }

    .product-card h3 {
        font-size: 0.9rem; /* Shrink text slightly so it doesn't wrap weirdly */
    }

    .btn-add {
        font-size: 0.8rem; /* Make the button text fit the smaller cards */
        padding: 8px 5px;
    }
}

/* --- Desktop Logic --- */
.menu-toggle {
    display: none; /* Hide hamburger on desktop */
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 15px;
}

/* --- Mobile Responsive Logic --- */
/* 1. Ensure the hamburger is hidden on desktop */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 2. Responsive Rules */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show hamburger only on small screens */
    }

    /* Keep search/cart visible, but hide the text links */
    .nav-links-wrapper {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 70px; /* Adjust to match your navbar height */
        left: 0;
        width: 100%;
        background: white;
        border-bottom: 1px solid #eee;
        z-index: 1000;
    }

    /* When JavaScript adds the 'active' class, show the menu */
    .nav-links-wrapper.active {
        display: flex;
    }

    .nav-links-wrapper a {
        padding: 15px 20px;
        color: #1d1d1f;
        text-decoration: none;
        border-bottom: 1px solid #f5f5f7;
    }

	 .nav-icons {
    display: flex;
    align-items: center; /* This forces vertical centering */
    gap: 20px;
}

.menu-toggle {
    display: flex;
    align-items: center; /* Centers the icon inside its own div */
    justify-content: center;
    height: 100%;
}
}

    .nav-links-wrapper a {
        padding: 15px 20px;
        color: #1d1d1f;
        text-decoration: none;
		  transition:0.3s;
    }
.nav-links-wrapper a:hover{
	 font-weight:900
}

/* Professional Cart Badge */
.badge {
    position: absolute;
    top: -5px;      /* Moves it slightly above the bag */
    right: -8px;    /* Moves it slightly to the right of the bag */
    background-color: #0071e3; /* Apple-style Blue */
    color: white;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%; /* Makes it a perfect circle */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #ffffff; /* Adds a clean white ring around the badge */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    pointer-events: none; /* Prevents the badge from interfering with clicks */
    transition: transform 0.2s ease-in-out;
}

/* Optional: Slight pop effect when items are added */
.badge.pop {
    transform: scale(1.2);
}

/* 1. Hide hamburger on Desktop */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.4rem;
}
@media (max-width: 768px) {
    .nav-links-wrapper {
        display: flex;            /* Keep it flex so links stay in a column */
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        z-index: 1000;
        
        /* THE ANIMATION SETUP */
        max-height: 0;            /* Start closed */
        overflow: hidden;         /* Hide text while closed */
        opacity: 0;               /* Invisible */
        transition: max-height 0.4s ease-in-out, opacity 0.3s ease;
    }

    /* This triggers when you click the hamburger */
    .nav-links-wrapper.active {
        max-height: 400px;        /* Set this higher than the total height of links */
        opacity: 1;               /* Fade in */
        border-bottom: 1px solid #eee;
    }

    .nav-links-wrapper a {
        padding: 15px 20px;
        width: 100%;
        border-bottom: 1px solid #f5f5f7;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    /* Optional: Links fade in slightly after the menu drops */
    .nav-links-wrapper.active a {
        opacity: 1;
        transform: translateY(0);
    }
}



/* 1. Hide it on Desktop by default */
.menu-toggle {
    display: none; 
}

@media (max-width: 768px) {
    /* 2. Force it to show on Mobile */
    .menu-toggle {
        display: flex !important; 
        align-items: center;
        justify-content: center;
        color: #1d1d1f;
    }

    /* 3. Ensure the dropdown container is ready for the animation */
    .nav-links-wrapper {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px; /* Aligns right under the navbar */
        left: 0;
        width: 100%;
        background: white;
        z-index: 1000;
        
        /* Animation properties */
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s ease-in-out, opacity 0.3s ease;
    }

    /* 4. The 'active' class that your JS toggles */
    .nav-links-wrapper.active {
        max-height: 400px; /* Grows the height to show links */
        opacity: 1;
        border-bottom: 1px solid #eee;
    }

	 .nav-container{
	 	 display:flex;
		 flex-direction:column;
		 padding:20px;
		 height:auto;
	 }

	 .search-container input{
	 	 margin-top:10px
	 }
}

/* Ensure the overlay is COMPLETELY gone by default */
.nav-overlay {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    
    /* THE FIX */
    display: none; /* Physically removes it from the corner */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Show it only when the menu is active */
.nav-links-wrapper.active ~ .nav-overlay {
    display: block; /* Bring it back into existence */
    opacity: 1;
    pointer-events: auto;
}

.close-btn{
	 padding:5px;
	 background:none;
	 border:none;
	 transition:0.5s
}

.close-btn:hover{
	 cursor:pointer;
	 transform:scale(1.2)
}

.menu-toggle {
    position: relative;
    z-index: 2001; /* Must be higher than nav-links-wrapper z-index */
    display: none; /* Stays hidden on desktop */
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex !important;
    }
	 .purchase-controls{
	 display:flex;
	 flex-direction:column;
	aling-items:left;
}
}

/* Contact Page Specific */
.contact-main {
    min-height: calc(100vh - 140px); /* Centers between Nav and Footer */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-bg);
    padding: 40px 20px;
}

.contact-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.contact-container h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-container p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.contact-form {
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.submit-btn {
    width: 100%;
    background: var(--text-primary);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition:0.3s;
}

.submit-btn:hover {
    opacity: 0.9;
	 background:#25D366;
	 font-family: 'Inter', sans-serif;
}

button{
    font-family: 'Inter', sans-serif;
}

.brands-section {
    padding: 60px 0;
    background-color: var(--primary-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: 600;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.brand-card {
    background: var(--secondary-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.brand-card:hover {
    background: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transform: translateY(-5px);
    border-color: var(--accent);
}

.brand-logo {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.brand-card span {
    font-weight: 600;
    color: var(--text-primary);
}

/* Specific styling for the Samsung SVG within the logo container */
.logo-samsung {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px; /* Gives the logo a little breathing room on the sides */
}

.logo-samsung svg {
    /* Ensure the logo never gets wider than its container */
    max-width: 100%;
    /* Keep the height auto to preserve aspect ratio */
    height: auto; 
}

/* Product Info Layout */
.brand-tag {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.product-name {
    font-size: 1.1rem;
    margin-bottom: 8px;
    height: 2.4em; /* Keeps cards aligned even with long names */
    overflow: hidden;
}

.rating {
    font-size: 0.85rem;
    color: #ff9500; /* Star Gold */
    margin-bottom: 12px;
}

.price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* The New Button */
.full-add-btn {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    background: var(--text-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.full-add-btn:hover {
    background: #333;
}

.product-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.product-card {
    background: white;
    border-radius: 16px;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

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

.product-image-box {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 12px;
    cursor: pointer;
}

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

.add-to-cart-btn {
    width: 100%;
    background-color: var(--text-primary);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    margin-top: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.add-to-cart-btn:hover {
    background-color: #333;
}

.brand-tag {
    color: var(--accent);
    font-weight: bold;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.rating-stars {
    color: #f39c12;
    font-size: 0.9rem;
    margin: 5px 0;
}

.card-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

/* Primary Button (Add to Bag) */
.add-to-cart-btn {
    width: 100%;
    background-color: var(--text-primary);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

/* Secondary Button (View Details) */
.view-product-btn {
    width: 100%;
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.view-product-btn:hover {
    background-color: #f5f5f7;
    border-color: var(--text-primary);
}

.btn-whatsapp-direct{
	 padding:16px;
	 border:none;
	 border-radius:10px;
	 background:#25D366;
	 color:white;
	 font-weight:700
}

.btn-whatsapp-direct:hover{
	 cursor:pointer;
}

.brand-logo i {
    font-size: 2.5rem;
    color: var(--text-primary); /* Keeps it black to match the theme */
    transition: transform 0.3s ease;
}

.brand-card:hover .brand-logo i {
    transform: scale(1.1); /* Subtle grow effect on hover */
}

.search-container {
    position: relative; /* This keeps the dropdown attached to the bar */
    width: 100%;
    max-width: 300px;
}

.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    
    /* FIX: Prevents results from going past the screen */
    max-height: 400px;
    overflow-y: auto; 
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background-color: #f9f9f9;
}

.dropdown-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background: #f5f5f7;
    border-radius: 4px;
}

.footer {
    background-color: #000; /* Solid black to match your B&W theme */
    color: #fff;
    padding:40px;
    margin-top: 100px;
    border-top: 1px solid #333;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.footer-col ul li a {
    color: #86868b; /* Apple-style grey link */
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #fff;
}

.brand-col p {
    color: #86868b;
    line-height: 1.6;
    margin: 20px 0;
    max-width: 280px;
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #fff;
    font-size: 1.2rem;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 1;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    background: #1d1d1f;
    border: 1px solid #333;
    padding: 12px;
    border-radius: 8px;
    color: #fff;
    outline: none;
}

.newsletter-form button {
    background: #fff;
    color: #000;
    border: none;
    padding: 0 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #424245;
    font-size: 0.85rem;
}

.footer-legal a {
    color: #424245;
    text-decoration: none;
    margin-left: 20px;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.hero {
    padding: 120px 0 80px;
    background: #fbfbfd;
    overflow: hidden;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-tag {
    color: #007aff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 15px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #1d1d1f;
}

.hero-content p {
    font-size: 1.25rem;
    color: #86868b;
    margin-bottom: 40px;
    max-width: 500px;
}

/* Stats Row */
.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1d1d1f;
}

.stat-item i {
    color: #007aff;
}

/* Lively Image Section */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.image-bg-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #e0f2ff 0%, #ffffff 100%);
    border-radius: 50%;
    z-index: 1;
    filter: blur(40px);
}

.hero-image img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 450px;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.1));
    animation: floatPhone 6s ease-in-out infinite;
}

/* Floating UI Element */
.floating-card {
    position: absolute;
    bottom: 40px;
    right: 10%;
    background: white;
    padding: 15px 25px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 3;
}

.card-icon {
    width: 40px;
    height: 40px;
    background: #007aff;
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-label { font-size: 0.75rem; color: #86868b; margin: 0; }
.card-val { font-size: 1rem; font-weight: 700; color: #1d1d1f; margin: 0; }

@keyframes floatPhone {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-wrapper { grid-template-columns: 1fr; text-align: center; }
    .hero-content p { margin: 0 auto 40px; }
    .hero-stats { justify-content: center; }
    .hero-content h1 { font-size: 3rem; }
}

.hero-btns a{
	 text-decoration:none;
}

@media (max-width: 576px) {
    /* 1. Remove side padding from the main sections */
    .container, 
    .product-grid-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* 2. Tighten the grid to the edges */
    .product-grid {
        gap: 1px; /* Creates a thin, elegant divider line between cards */
        padding: 0;
        grid-template-columns: 1fr 1fr; /* Two cards side-by-side */
    }

    /* 3. Remove border-radius on cards for a seamless edge-to-edge look */
    .product-card {
        border-radius: 0;
        border: none;
        border-bottom: 1px solid #eee;
        border-right: 1px solid #eee;
        margin: 0;
    }

    /* 4. Ensure images fill their boxes perfectly */
    .product-image-box {
        border-radius: 0;
        height: 180px; /* Uniform height for a clean grid */
    }
}

@media (max-width: 576px) {
    /* 1. Force the grid to be one single column */
    #product-grid, 
    .product-grid {
        display: grid !important;
        grid-template-columns: 1fr !important; /* Forces 1 item per row */
        gap: 30px !important; /* Adds professional spacing between big cards */
        padding: 20px !important; /* Breathing room so it's not literally touching the glass */
        width: 100% !important;
    }

    /* 2. Make the card fill the whole width */
    .product-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    /* 3. Make the image box taller to look better in a wide card */
    .product-image-box {
        height: 320px !important; /* Makes the placeholder gallery look like a large poster */
        width: 100% !important;
    }

    /* 4. Ensure the container isn't restricting the width */
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
        width: 100% !important;
    }
}

.hero-image img{
	 width:70%
}
.card-buttons {
    display: flex;
    flex-direction: column; /* Stacks buttons for a "busy" mobile look */
    gap: 10px;
    margin-top: 15px;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

.btn-whatsapp:active {
    transform: scale(0.95);
}

.trust-bar {
    padding: 60px 0;
    background-color: #ffffff;
    border-bottom: 1px solid #f2f2f2;
}

.trust-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    transition: transform 0.3s ease;
}

/* Lively Hover Effect for Client Demo */
.trust-item:hover {
    transform: translateY(-5px);
}

.trust-icon {
    width: 50px;
    height: 50px;
    background: #f5f5f7; /* Light Apple-style grey */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #0071e3; /* Premium Blue */
    font-size: 1.4rem;
}

.trust-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.trust-text p {
    font-size: 0.9rem;
    color: #86868b;
    line-height: 1.5;
    margin: 0;
}

/* Mobile Responsiveness: Edge-to-Edge Single Column */
@media (max-width: 768px) {
    .trust-wrapper {
        grid-template-columns: 1fr; /* Single column on mobile for "Busy" feel */
        gap: 10px;
        padding: 0 20px;
    }
    
    .trust-item {
        flex-direction: row; /* Horizontal layout on mobile to save vertical space */
        align-items: center;
        gap: 20px;
        background: #fbfbfd;
        border-radius: 15px;
        margin-bottom: 10px;
    }
    
    .trust-icon {
        margin-bottom: 0;
        min-width: 50px;
    }
}
