/* Utilities */
.w-full { width: 100%; }
.h-auto { height: auto; }
.object-cover { object-fit: cover; }

.desktop-only {
    display: block !important;
}
.mobile-only {
    display: none !important;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: block !important;
    }
    .back-to-home-link {
        display: none !important;
    }
    .category-nav {
        display: none !important;
    }
}

:root {
    --primary-color: #2563eb; /* Updated primary color */
    --secondary-color: #1e40af; /* Updated secondary color */
    --accent-color: #000000;
    --text-color: #333; /* Updated text color */
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e2e8f0; /* Updated border color */
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
    --bg-color: #f8fafc; /* New variable */
    --navbar-bg: #ffffff; /* New variable */
}

/* Editable Header Marquee */
.header-marquee {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    display: flex;
    align-items: center;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%; /* Start off-screen right */
    animation: marquee-scroll 15s linear infinite;
    font-size: 0.95rem;
    font-family: 'Hind Siliguri', sans-serif;
}

.header-marquee:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header & Nav */
.top-bar {
    background-color: var(--bg-light);
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-light);
}

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

.top-links a {
    text-decoration: none;
    color: var(--text-light);
    margin-left: 20px;
    transition: var(--transition);
}

.top-links a:hover {
    color: var(--primary-color);
}

.main-nav {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #f3f4f6;
    position: relative; /* Added to anchor mobile search bar */
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.header-search {
    max-width: 550px;
    flex: 1;
    display: flex;
    background: #fff;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    position: relative;
    height: 42px;
    padding: 0;
    overflow: visible; /* Changed from hidden to allow dropdown */
}

.search-bar input {
    width: 100%;
    padding: 0 55px 0 15px; /* Leave room for the button */
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
    height: 100%;
    margin: 0;
    display: block;
}

.search-bar button {
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    background: #0F172A;
    color: #fff;
    border: none !important;
    width: 50px;
    height: 100% !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px;
    border-radius: 0 7px 7px 0;
    margin: 0;
    z-index: 2;
}

.nav-right {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 28px !important;
    flex-shrink: 0;
}

.contact-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    line-height: 1.1 !important;
    text-align: right !important;
}

.call-now {
    font-size: 10px !important;
    color: #6B7280 !important;
    font-weight: 400 !important;
    margin: 0 !important;
}

.phone-link {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    text-decoration: none !important;
}

.user-links a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    color: #1F2937 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.user-links a:hover {
    color: #000 !important;
}

.user-links i {
    font-size: 22px !important;
    display: flex !important;
    align-items: center !important;
}

/* Floating Cart - Fixed on Right (Matches beautylifebd.com) */
.floating-cart {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #000;
    color: #fff;
    width: 80px;
    padding: 12px 5px;
    border-radius: 8px 0 0 8px;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    transition: transform 0.2s, background 0.2s;
}

.floating-cart:hover {
    background: #1f2937;
    transform: translateY(-50%) translateX(-5px);
}

.cart-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 8px;
    width: 100%;
}

.floating-cart i {
    font-size: 22px;
}

.item-count {
    font-size: 11px;
    font-weight: 500;
}

.cart-bottom {
    padding-top: 4px;
}

.cart-total {
    font-size: 12px;
    font-weight: 700;
}



.category-nav {
    background: #000;
    padding: 0;
}

.category-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.category-nav li a {
    display: block;
    padding: 12px 20px;
    color: #d1d5db;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.2s;
}

.category-nav li a:hover {
    color: #fff;
}

.category-nav li a i {
    font-size: 16px;
    color: #fff;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Banner */
.banner-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    background: #fff;
    padding-top: 5px;
}

.banner-container {
    width: 100%;
    overflow: hidden;
    background: #f3f4f6;
}

.banner-container img {
    width: 100%;
    aspect-ratio: 1920 / 600;
    object-fit: cover;
    display: block;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #e65c00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

/* Featured Products */
.featured-products {
    padding: 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 5px solid #f97316;
    padding-left: 15px;
    margin-bottom: 25px;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    color: #111;
    margin: 0;
}

.btn-see-all {
    background: #000;
    color: #fff;
    text-decoration: none;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    transition: background 0.2s;
}

.btn-see-all:hover {
    background: #333;
}

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

.product-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

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

.product-image {
    position: relative;
    height: 250px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
    height: 48px;
    overflow: hidden;
}

.price-box {
    margin-bottom: 15px;
}

.current-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.old-price {
    font-size: 14px;
    text-decoration: line-through;
    color: var(--text-light);
    margin-left: 10px;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-add-cart {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.btn-order-now {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

/* Features */
.features {
    padding: 40px 0;
    background: var(--bg-light);
}

.features .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.feature-item i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Footer Redesign (Premium 4-Column) */
.site-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
    padding: 60px 0 0 0;
    color: #444;
}

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

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

.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}
@media (max-width: 576px) { .footer-col h4::after { left: 50%; transform: translateX(-50%); } }

.about-col p {
    color: #666;
    line-height: 1.6;
    margin-top: 20px;
    font-size: 14px;
}

.footer-logo img {
    max-height: 45px;
}

.footer-logo h3 {
    font-size: 24px;
    font-weight: 800;
    color: #111;
}
.footer-logo h3 span { color: var(--primary-color); }

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

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

.footer-col a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.contact-col p {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.contact-col .phone-link {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
}
.contact-col .phone-link:hover { color: var(--primary-color); }

.contact-col .email-link {
    display: block;
    font-weight: 500;
    margin-bottom: 20px;
}

.social-links-new {
    display: flex;
    gap: 12px;
}
@media (max-width: 576px) { .social-links-new { justify-content: center; } }

.social-links-new a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    color: #444;
    transition: all 0.3s;
}

.social-links-new a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.footer-bottom-bar {
    border-top: 1px solid #e5e5e5;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #888;
}

/* Common Page Breadcrumbs */
.page-breadcrumb-banner {
    background-color: #f8fafc;
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}

.page-breadcrumb-banner h1 {
    font-size: 42px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.pb-links {
    font-size: 14px;
    color: #64748b;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.pb-links a {
    color: #64748b;
    text-decoration: none;
    transition: var(--transition);
}

.pb-links a:hover {
    color: var(--primary-color);
}

.pb-links span {
    margin: 0;
    color: #cbd5e1;
    display: flex;
    align-items: center;
}


/* Product Page Details */
.product-page { padding: 40px 0; }
.product-detail-flex { display: flex; gap: 40px; margin-bottom: 60px; }
.product-gallery { flex: 0 0 450px; background: #f9f9f9; padding: 20px; border-radius: 10px; }
.product-gallery img { width: 100%; height: auto; border-radius: 10px; }
.product-info-detailed { flex: 1; }
.breadcrumb { font-size: 14px; color: var(--text-light); margin-bottom: 20px; }
.breadcrumb a { color: var(--text-light); text-decoration: none; }
.product-info-detailed h1 { font-size: 28px; margin-bottom: 15px; }
.status-badge { background: #e8f5e9; color: var(--secondary-color); padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; margin-right: 15px; }
.sku { font-size: 12px; color: #999; }
.quick-features { margin: 25px 0; }
.quick-features ul { list-style: none; }
.quick-features li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.quick-features i { color: var(--secondary-color); }
.purchase-box { display: flex; align-items: center; gap: 20px; margin: 30px 0; }
.qty-selector { display: flex; border: 1px solid var(--border-color); border-radius: 5px; overflow: hidden; }
.qty-selector button { background: none; border: none; padding: 10px 15px; cursor: pointer; }
.qty-selector input { width: 40px; text-align: center; border: none; outline: none; border-left: 1px solid var(--border-color); border-right: 1px solid var(--border-color); }
.btn-lg { padding: 15px 40px; font-size: 16px; }

/* Image Slider */
.image-slider { position: relative; }
.image-slider img { width: 100%; height: auto; border-radius: 10px; }
.slider-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.9); border: none; width: 40px; height: 40px;
    border-radius: 50%; cursor: pointer; font-size: 16px; color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15); transition: var(--transition); z-index: 2;
}
.slider-arrow:hover { background: var(--primary-color); color: #fff; }
.slider-prev { left: 10px; }
.slider-next { right: 10px; }
.slider-thumbnails { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumb-img {
    width: 70px; height: 70px; object-fit: cover; border-radius: 6px;
    cursor: pointer; border: 2px solid transparent; opacity: 0.6; transition: var(--transition);
}
.thumb-img:hover { opacity: 1; }
.thumb-img.active { border-color: var(--primary-color); opacity: 1; }

/* Color & Size Selectors */
.color-selector, .size-selector { margin-bottom: 20px; }
.color-selector label, .size-selector label { display: block; font-weight: 600; margin-bottom: 10px; font-size: 14px; }
.color-selector label span, .size-selector label span { font-weight: 400; color: var(--primary-color); }
.color-options, .size-options { display: flex; flex-wrap: wrap; gap: 8px; }
.color-swatch {
    padding: 8px 16px; border: 2px solid var(--border-color); border-radius: 6px;
    cursor: pointer; font-size: 13px; font-weight: 500; background: #fff;
    transition: var(--transition);
}
.color-swatch:hover { border-color: var(--primary-color); }
.color-swatch.active { border-color: var(--primary-color); background: var(--primary-color); color: #fff; }
.size-btn {
    min-width: 45px; padding: 8px 14px; border: 2px solid var(--border-color); border-radius: 6px;
    cursor: pointer; font-size: 13px; font-weight: 600; background: #fff; text-align: center;
    transition: var(--transition);
}
.size-btn:hover { border-color: var(--primary-color); }
.size-btn.active { border-color: var(--primary-color); background: var(--primary-color); color: #fff; }

/* Modern Layout Overrides (beautylifebd style) */
.modern-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; max-width: 1200px; margin: 0 auto 30px auto; }
@media (max-width: 768px) { .modern-layout { grid-template-columns: 1fr; gap: 20px; } }

.gallery-box, .info-box { border: 1px solid #e5e7eb; border-radius: 8px; padding: 20px; background: #fff; }
.sticky-product-info { position: sticky; top: 20px; }

.modern-slider { border-radius: 8px; overflow: hidden; background: #fff; aspect-ratio: 1/1; display:flex; align-items: center; justify-content: center; }
.modern-slider img { max-height: 100%; object-fit: contain; }
.modern-thumbnails { display: flex; gap: 10px; margin-top: 15px; }
.modern-thumbnails .thumb-img { width: 70px; height: 70px; border-radius: 6px; border: 2px solid #e5e7eb; padding: 2px; }
.modern-thumbnails .thumb-img.active { border-color: #111827; }

.modern-title { font-size: 24px; font-weight: 700; color: #111827; margin-bottom: 20px; line-height: 1.3; }

.modern-status .stock-in { background: transparent; color: #16a34a; font-weight: 700; padding: 0; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }

.modern-price-box { display: flex; align-items: center; gap: 12px; margin: 10px 0 24px 0; }
.modern-price-box .text-red { font-size: 36px; font-weight: 700; color: #e11d48; }
.modern-price-box .text-strike { font-size: 18px; color: #9ca3af; text-decoration: line-through; }

.delivery-info-box {
    margin-top: 10px;
    font-weight: 600;
    color: #0037ff;
    padding: 4px 12px;
    border-radius: 5px;
    transition: 0.3s;
    display: inline-block;
    border: 2px solid black;
    border-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='100' height='100' viewBox='0 0 100 100' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cstyle%3Epath%7Banimation:stroke 5s infinite linear%3B%7D%40keyframes stroke%7Bto%7Bstroke-dashoffset:776%3B%7D%7D%3C/style%3E%3ClinearGradient id='g' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%230037ff' /%3E%3Cstop offset='25%25' stop-color='%230037ff' /%3E%3Cstop offset='50%25' stop-color='%230037ff' /%3E%3Cstop offset='100%25' stop-color='%230037ff' /%3E%3C/linearGradient%3E %3Cpath d='M1.5 1.5 l97 0l0 97l-97 0 l0 -97' stroke-linecap='square' stroke='url(%23g)' stroke-width='3' stroke-dasharray='388'/%3E %3C/svg%3E") 1;
    width: fit-content;
}

.modern-purchase-box { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-top: 5px; width: 100%; }
.flex-row { display: flex; align-items: stretch; gap: 12px; width: 100%; }
.items-center { align-items: center; }
.flex-1 { flex: 1; height: 100%;}

.qty-control-modern { display: flex; align-items: stretch; border: 1px solid #d1d5db; border-radius: 6px; width: 140px; overflow: hidden; height: 48px; flex-shrink: 0; }
.qty-control-modern button { flex: 1; background: #fff; border: none; font-size: 20px; font-weight: 500; cursor: pointer; color: #374151; transition: background 0.2s; }
.qty-control-modern button:hover { background: #f3f4f6; }
.qty-control-modern input { flex: 1; width: 40px; text-align: center; border: none; border-left: 1px solid #e5e7eb; border-right: 1px solid #e5e7eb; font-weight: 600; font-size: 16px; outline: none; }

.modern-actions { display: flex; flex-direction: column; gap: 12px; }
.social-order-buttons { display: flex; flex-direction: column; gap: 12px; margin-top: 0px; }

/* Buttons */
.w-100 { width: 100%; display: flex; justify-content: center; align-items: center; gap: 8px; padding: 14px; border-radius: 6px; font-weight: 700; font-size: 16px; cursor: pointer; transition: all 0.2s; border: none; text-decoration: none; }
.btn-black { background: #1c1c1c; color: #fff; font-size: 16px; font-weight: 700; border-radius: 6px; border: none; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 8px; padding: 14px; }
.btn-black:hover { background: #000; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1ea952; }
.btn-messenger { background: #0084FF; color: #fff; }
.btn-messenger:hover { background: #006bce; }
.btn-call { background: #9333ea; color: #fff; }
.btn-call:hover { background: #7e22ce; }

/* Description Box */
.desc-box { position: relative; border: 1px solid #e5e7eb; border-radius: 8px; padding: 40px 30px 30px 30px; background: #fff; margin-top: 50px; }
.desc-title { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); background: #fff; padding: 0 20px; color: #eab308; font-size: 22px; border: 1px solid #eab308; border-radius: 8px; font-weight: 700; z-index: 10; line-height: 34px; }
.desc-content { font-size: 16px; color: #374151; line-height: 1.6; }



/* Auth Page (Login / Register) */
.auth-page { padding: 60px 0; background: #f9fafb; min-height: 70vh; }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1000px; margin: 0 auto; }
@media (max-width: 768px) { .auth-grid { grid-template-columns: 1fr; gap: 30px; } }

.auth-card { background: #fff; padding: 40px; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03); border: 1px solid #f3f4f6; }
.auth-card h2 { font-size: 28px; font-weight: 700; color: #111827; margin-bottom: 10px; }
.auth-subtitle { color: #6b7280; font-size: 14px; margin-bottom: 30px; line-height: 1.5; }

.auth-form .form-group { margin-bottom: 20px; }
.auth-form label { display: block; font-size: 14px; font-weight: 600; color: #374151; margin-bottom: 8px; }
.auth-form input { width: 100%; padding: 14px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 15px; outline: none; transition: border-color 0.2s; background: #f9fafb; }
.auth-form input:focus { border-color: #111827; background: #fff; box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.1); }

.auth-form .form-actions { margin-top: 30px; display: flex; flex-direction: column; gap: 15px; align-items: center; }
.auth-form .forgot-password { color: #6b7280; font-size: 14px; font-weight: 500; text-decoration: underline; transition: color 0.2s; }
.auth-form .forgot-password:hover { color: #111827; }

/* Checkout Page */
.checkout-header { padding: 20px 0; border-bottom: 1px solid var(--border-color); }
.checkout-header .container { display: flex; justify-content: space-between; align-items: center; }
.checkout-main { padding: 40px 0; background: #f5f5f5; min-height: 80vh; }
.checkout-grid { display: grid; grid-template-columns: 1fr 450px; gap: 30px; }
.billing-info { background: #ffffff; padding: 30px; border-radius: 8px; border: 1px solid #e5e7eb; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.order-summary-card { background: #ffffff; padding: 30px; border-radius: 8px; border: 1px solid #e5e7eb; box-shadow: 0 1px 3px rgba(0,0,0,0.05); height: max-content; }
.checkout-grid h2 { font-size: 1.25rem; font-weight: 700; color: #111827; margin-bottom: 25px; text-align: center; border-bottom: 2px solid #f3f4f6; padding-bottom: 15px; }

/* Checkout Form Inputs */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 14px; color: #374151; }
.form-group label span { color: #dc2626; } /* Red asterisk for required */
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 15px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 15px; font-family: inherit; background: #fff; transition: border-color 0.2s; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: #111827; box-shadow: 0 0 0 1px #111827; }
.form-group textarea { resize: vertical; min-height: 80px; }

.payment-method { margin-top: 30px; }
.payment-method h3 { font-size: 16px; font-weight: 600; margin-bottom: 15px; color: #111827; }
.method-option { border: 2px solid #111827; padding: 15px; border-radius: 6px; display: flex; gap: 15px; align-items: center; background: #f9fafb; cursor: default; }

/* Order Summary Specifics */
.summary-product { display: flex; gap: 15px; margin-bottom: 20px; align-items: center; padding-bottom: 15px; border-bottom: 1px solid #f3f4f6; }
.summary-product img { width: 60px; height: 60px; object-fit: contain; border: 1px solid #e5e7eb; border-radius: 4px; padding: 2px; }
.summary-product-info { flex-grow: 1; }
.summary-product-info h4 { font-size: 14px; font-weight: 600; color: #111827; margin-bottom: 4px; }
.summary-qty-control { display: flex; align-items: center; gap: 10px; margin-top: 5px; }
.summary-qty-control button { border: 1px solid #d1d5db; background: #fff; width: 24px; height: 24px; border-radius: 4px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.summary-qty-control span { font-size: 14px; font-weight: 600; }
.summary-price-col { text-align: right; }
.summary-price-col .price { font-weight: 700; color: #111827; }
.summary-price-col .remove-item { color: #dc2626; font-size: 12px; cursor: pointer; background: none; border: none; padding: 0; margin-top: 5px; text-decoration: underline; }

/* Coupon Area */
.coupon-area { display: flex; gap: 10px; margin-bottom: 25px; }
.coupon-area input { flex-grow: 1; padding: 10px 15px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 14px; outline: none; }
.coupon-area button { background: #111827; color: white; border: none; padding: 0 20px; border-radius: 6px; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.coupon-area button:hover { background: #374151; }

.summary-lines { background: #f9fafb; padding: 20px; border-radius: 6px; margin-bottom: 20px; }
.summary-line { display: flex; justify-content: space-between; margin-bottom: 12px; color: #4b5563; font-size: 15px; }
.summary-line.total { font-size: 18px; font-weight: 800; color: #111827; margin-top: 15px; margin-bottom: 0; border-top: 1px solid #e5e7eb; padding-top: 15px; }
.btn-block { width: 100%; text-align: center; }
.btn-confirm { background: #111827; color: white; padding: 16px; font-size: 18px; font-weight: 700; border-radius: 6px; border: none; cursor: pointer; transition: background 0.2s; display: flex; justify-content: center; align-items: center; gap: 10px; }
.btn-confirm:hover { background: #374151; }
.secure-badge-bottom { text-align: center; margin-top: 15px; color: #6b7280; font-size: 13px; display: flex; justify-content: center; align-items: center; gap: 8px; }

/* Checkout Mobile Adjustments */
@media (max-width: 991px) {
    .checkout-grid { grid-template-columns: 1fr; gap: 20px; }
    .billing-info, .order-summary-card { padding: 20px; }
    .checkout-grid h2 { font-size: 1.1rem; }
}

/* Success Page */
.success-page { background: #f9f9f9; text-align: center; padding-top: 60px; }
.success-card { background: var(--white); max-width: 600px; margin: 0 auto; padding: 40px; border-radius: 10px; box-shadow: var(--shadow); }
.success-icon { font-size: 60px; color: var(--secondary-color); margin-bottom: 20px; }
.success-card h2 { margin-bottom: 15px; font-size: 24px; }
.order-info { background: #f5f5f5; padding: 20px; border-radius: 5px; margin: 30px 0; text-align: left; }
.info-row { display: flex; justify-content: space-between; margin-bottom: 10px; }
.success-actions { display: flex; gap: 15px; justify-content: center; }

/* Floating Cart Button (Custom Requirement) */
.floating-cart-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #1B1C1C;
    color: #FFFFFF;
    padding: 12px 20px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
    cursor: pointer;
    z-index: 10000;
    transition: transform 0.2s ease, background-color 0.2s ease;
    font-family: "Hind Siliguri", Inter, sans-serif;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
}

.floating-cart-btn:hover {
    transform: translateY(-50%) scale(1.1); /* hover:scale-110 */
}

/* Cart Side Drawer */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    display: none;
    backdrop-filter: blur(3px);
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px; /* Initially hidden */
    width: 450px;
    height: 100%;
    background: var(--white);
    z-index: 10002;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.cart-drawer.active {
    right: 0;
}

.drawer-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.drawer-header h2 {
    font-size: 20px;
    font-weight: 700;
}

.close-drawer {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
}

.promo-banner {
    background: linear-gradient(90deg, #d81b60 0%, #6a1b9a 100%);
    color: #fff;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.drawer-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}


.drawer-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    background: #f9f9f9;
}

.item-details {
    flex: 1;
}

.item-details h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.item-details .price {
    font-weight: 700;
    color: var(--text-color);
}

.item-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.qty-btns {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 3px;
}

.qty-btns button {
    background: none;
    border: none;
    padding: 2px 8px;
    cursor: pointer;
}

.qty-btns span {
    padding: 2px 10px;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

.remove-item {
    color: #e53935;
    font-size: 12px;
    cursor: pointer;
    font-weight: 500;
}

.drawer-footer {
    padding: 20px;
    border-top: 2px solid var(--bg-light);
}

.subtotal-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 18px;
}

.empty-cart-msg {
    text-align: center;
    margin-top: 50px;
    color: var(--text-light);
}

@media (max-width: 991px) {
    .product-detail-flex { flex-direction: column; }
    .product-gallery { flex: 1; }
    .checkout-grid { grid-template-columns: 1fr; }
    .cart-drawer { width: 100%; right: -100%; }
}

    .mobile-left-cons, .mobile-right-cons { display: none; }

    @media (max-width: 768px) {
        .container { padding: 0 15px; }
        
        /* Header & Nav */
        .top-bar { display: none; }
        .desktop-only { display: none !important; }
        
        .search-bar.mobile-search-active {
            display: flex !important;
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            padding: 10px 15px;
            background: #fff;
            z-index: 1000;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        }

        .mobile-header-layout {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 5px 15px;
        }

        .mobile-left-cons, .mobile-right-cons {
            display: flex;
            align-items: center;
            gap: 15px;
            flex: 1; /* allow spreading */
        }

        .mobile-right-cons {
            justify-content: flex-end;
        }

        .mobile-menu-btn, .mobile-search-btn {
            background: none;
            border: none;
            cursor: pointer;
            padding: 10px; /* Increased padding for larger tap target */
            display: inline-block !important; /* Force override */
            opacity: 1 !important;
            visibility: visible !important;
            position: relative;
            z-index: 1050; /* Ensure on top */
        }

        .mobile-call-btn, .mobile-user-btn {
            text-decoration: none;
            padding: 10px; /* Increased padding */
            display: inline-block !important;
            position: relative;
            z-index: 1050; /* Ensure on top */
        }

        /* Force icon color and display */
        .mobile-header-layout i.fa-solid, 
        .mobile-header-layout i.fa-regular {
            color: #111827 !important;
            font-size: 20px !important;
            display: inline-block !important;
            visibility: visible !important;
        }

    .logo {
        flex: 2; /* Logo gets more space in center */
        display: flex;
        justify-content: center;
    }
    .logo img { height: 35px !important; }
    .logo h1 { font-size: 16px; padding: 4px 10px; margin: 0; }

    .category-nav ul { gap: 15px; overflow-x: auto; justify-content: flex-start; padding: 5px 0; }
    .category-nav li { white-space: nowrap; }

    /* Banner */
    .banner-container img { height: 180px; }

    /* Product Grid: 2 Columns */
    .product-grid { 
        grid-template-columns: 1fr 1fr; 
        gap: 12px; 
    }
    
    .product-card {
        border-radius: 8px;
    }

    .product-image {
        height: 160px;
    }

    .product-info {
        padding: 12px;
    }

    .product-info h3 {
        font-size: 13px;
        height: 38px;
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .price-box {
        margin-bottom: 10px;
    }

    .current-price {
        font-size: 16px;
    }

    .old-price {
        font-size: 12px;
    }

    .product-actions {
        grid-template-columns: 1fr; /* Stack buttons on small screens */
        gap: 8px;
    }

    .btn-add-cart, .btn-order-now {
        padding: 8px;
        font-size: 11px;
    }

    /* Features Section */
    .features .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-header h2 {
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .banner-container img { height: 140px; }
    .product-grid { gap: 8px; }
    .product-info { padding: 10px; }
    .product-info h3 { font-size: 12px; height: 34px; }
    .logo h1 { font-size: 14px; }
    
    .floating-cart-btn {
        padding: 8px 12px;
        font-size: 14px;
    }
}
/* Mobile Navigation Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-drawer.active {
    left: 0;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
    backdrop-filter: blur(3px);
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.drawer-header h3 {
    margin: 0;
    font-size: 18px;
    color: var(--primary-color);
}

#close-mobile-nav {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    overflow-y: auto;
}

.mobile-nav-links li {
    border-bottom: 1px solid #f3f4f6;
}

.mobile-nav-links a {
    display: block;
    padding: 15px 20px;
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}

.mobile-nav-links a:hover {
    background: #f9fafb;
    color: var(--primary-color);
}

/* Mobile Search Active state */
.search-bar.desktop-only {
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.search-bar.desktop-only.mobile-search-active {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100% !important;
    background: #fff;
    padding: 10px 15px !important;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    z-index: 100;
}
/* Live Search Dropdown */
.search-bar {
    position: relative;
}
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 5px;
}
.search-result-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #f3f4f6;
    text-decoration: none;
    color: #1f2937;
    transition: background-color 0.2s;
}
.search-result-item:last-child {
    border-bottom: none;
}
.search-result-item:hover {
    background-color: #f9fafb;
}
.search-result-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}
.search-result-info {
    flex: 1;
}
.search-result-info h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: 500;
}
.search-result-info p {
    margin: 0;
    font-size: 14px;
    color: #dc2626;
    font-weight: 600;
}
.search-no-results {
    padding: 15px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

/* Page Content Wrapper */
.page-content-wrapper {
    background-color: #fff;
    padding: 80px 0;
}

.prose-container {
    max-width: 850px;
    margin: 0 auto;
    color: #334155;
    font-size: 17px;
    line-height: 1.8;
    padding: 0 24px;
}

.prose-container h2 {
    font-size: 28px;
    color: #1e293b;
    margin-top: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.prose-container p {
    margin-bottom: 24px;
}

.prose-container ul, .prose-container ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.prose-container li {
    margin-bottom: 12px;
}

/* --- Responsive Utilities --- */
.desktop-only {
    display: block !important;
}

.mobile-only {
    display: none !important;
}

@media (max-width: 768px) {
    .header-search {
        display: none;
    }
    .header-search.mobile-search-active {
        display: flex !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100% !important;
        max-width: 100%;
        padding: 10px 15px;
        background: #fff;
        z-index: 1000;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        border-radius: 0;
        border-right: none;
        border-left: none;
    }
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: block !important;
    }
}

