/* ============================================================
   Main Stylesheet
   Vibrant Orange Theme | Bengali + English UI
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');



/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-bn);
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 15px;
}

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

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

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

ul {
    list-style: none;
}

/* ======================================================
   HEADER
====================================================== */
.site-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smart Sticky Header States */
.site-header.header-shrunk {
    transform: translateY(-108px);
    /* Hide Top Bar (38px) + Main Header (70px) */
    box-shadow: var(--shadow-md);
}

.site-header.header-revealed {
    transform: translateY(-38px);
    /* Hide only Top Bar (38px), Show Search/Logo */
    box-shadow: var(--shadow-md);
}

.header-top {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, .85);
    font-size: 13px;
    padding: 6px 0;
    height: 38px;
    /* Fixed height for consistent sliding */
}

.header-top a {
    color: rgba(255, 255, 255, .85);
}

.header-top a:hover {
    color: white;
}

.header-main {
    padding: 10px 0;
    background: var(--bg-white);
    height: 70px;
    /* Fixed height for consistent sliding */
}

/* Logo */
.site-logo img,
.site-logo-text {
    height: 48px;
    width: auto;
}

.site-logo-text {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -1px;
    font-family: var(--font-en);
    height: auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-logo-text span {
    color: var(--secondary);
}

/* Search Bar */
.search-form {
    position: relative;
    flex: 1;
    max-width: 600px;
}

.search-form input {
    width: 100%;
    padding: 12px 55px 12px 20px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 14px;
    font-family: var(--font-bn);
    outline: none;
    transition: var(--transition);
}

.search-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 35, 126, .15);
}

.search-form button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: var(--bg-white);
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
    font-weight: 600;
}

.search-form button:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.05);
}

/* Search Suggestions */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    margin-top: 5px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    max-height: 400px;
    overflow-y: auto;
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--bg-light);
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: all 0.2s;
}

.search-suggestion-item:last-child {
    border-bottom: none;
}

.search-suggestion-item:hover {
    background: var(--primary);
    color: #ffffff !important;
}

.search-suggestion-item:hover .suggestion-name,
.search-suggestion-item:hover .suggestion-meta,
.search-suggestion-item:hover .suggestion-price {
    color: #ffffff !important;
}

.search-suggestion-item img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--bg-faint);
    padding: 3px;
    border: 1px solid var(--border-light);
}

.suggestion-info {
    flex: 1;
    min-width: 0;
}

.suggestion-name {
    font-weight: 700;
    font-size: 14.5px;
    margin-bottom: 3px;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-meta {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 500;
}

.suggestion-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 13px;
    margin-left: auto;
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.header-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 50px;
    font-size: 9px;
    font-weight: 700;
    gap: 2px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    text-decoration: none;
    min-width: 75px;
    height: 50px;
    line-height: 1;
}

.header-btn i {
    font-size: 18px;
    margin-bottom: 1px;
    transition: var(--transition);
}

/* Specific Colors for Action Buttons - More Subtle */
.btn-account,
.btn-wishlist {
    background: var(--bg-faint);
    color: var(--primary);
}

.btn-account i,
.btn-wishlist i {
    color: var(--primary);
}

.btn-track {
    background: var(--bg-faint);
    color: var(--primary-dark);
}

.btn-track i {
    color: var(--primary-dark);
}

.btn-cart {
    background: var(--secondary);
    color: #fff !important;
    flex-direction: row !important;
    padding: 0 15px !important;
    min-width: 100px !important;
    gap: 8px !important;
    box-shadow: 0 4px 12px rgba(188, 161, 54, .25);
}

.btn-cart i {
    color: #fff;
    font-size: 20px;
}

.btn-cart .cart-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Hover States */
.header-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.btn-account:hover,
.btn-wishlist:hover {
    background: var(--border-light);
    border: 1px solid rgba(26, 35, 126, 0.1);
}

.btn-track:hover {
    background: var(--border-light);
    border: 1px solid rgba(26, 35, 126, 0.1);
}

.btn-cart:hover {
    background: var(--secondary-light);
    box-shadow: 0 6px 15px rgba(188, 161, 54, .3);
}

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

/* ======================================================
   NAVIGATION
====================================================== */
.main-nav {
    background: var(--primary);
    padding: 0;
    height: 48px;
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
}

.nav-item>a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 18px;
    color: rgba(255, 255, 255, .9);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    position: relative;
}

.nav-item>a:hover,
.nav-item.active>a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    z-index: 999;
    display: none;
    padding: 20px 0;
}

.nav-item:hover .mega-menu {
    display: block;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    padding: 15px 30px;
}

.mega-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 10px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 500;
}

.mega-cat-item:hover {
    background: var(--accent);
    color: var(--primary);
}

.mega-cat-item .cat-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: var(--transition);
}

.mega-cat-item:hover .cat-icon {
    background: var(--primary);
}

/* ======================================================
   HERO SLIDER
====================================================== */
.hero-section {
    background: var(--primary-dark);
}

.swiper-hero {
    width: 100%;
    height: 480px;
}

.hero-fallback-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.swiper-hero .swiper-slide {
    position: relative;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, transparent 70%);
    display: flex;
    align-items: center;
    padding: 0 60px;
}

.hero-content {
    color: var(--bg-white);
    max-width: 500px;
}

.hero-content h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 16px;
    opacity: .9;
    margin-bottom: 20px;
}

.btn-hero {
    display: inline-block;
    padding: 13px 30px;
    background: var(--secondary);
    color: var(--bg-white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

.btn-hero:hover {
    background: var(--primary-light);
    color: var(--bg-white);
    transform: translateY(-2px);
}

/* Swiper Pagination Override */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, .6);
}

.swiper-pagination-bullet-active {
    background: var(--bg-white);
}

/* Hero Responsive */
@media (max-width: 991px) {

    .swiper-hero,
    .hero-fallback-banner {
        height: 380px;
    }

    .hero-overlay {
        padding: 0 40px;
    }

    .hero-content h2 {
        font-size: 30px;
    }
}

@media (max-width: 767px) {

    .swiper-hero,
    .hero-fallback-banner {
        height: 320px;
    }

    .hero-overlay {
        padding: 20px;
        background: linear-gradient(0deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .2) 100%);
        justify-content: center;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h2 {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .hero-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .btn-hero {
        padding: 10px 24px;
        font-size: 14px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
}

@media (max-width: 480px) {

    .swiper-hero,
    .hero-fallback-banner {
        height: 260px;
    }

    .hero-content h2 {
        font-size: 20px;
    }
}

/* ======================================================
   SECTION HEADERS
====================================================== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 24px;
    background: var(--primary);
    border-radius: 4px;
}

.section-link {
    color: var(--primary);
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.section-link:hover {
    color: var(--secondary);
}

/* ======================================================
   CATEGORY CARDS
====================================================== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    .header-main {
        padding: 15px 0;
        background: var(--bg-white);
        height: 82px;
        /* Fixed height for consistent sliding */
    }

    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
    color: var(--text-dark);
    text-decoration: none;
    border: 1px solid var(--border);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    color: var(--primary);
}

.category-card .cat-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: var(--transition);
    overflow: hidden;
}

.category-card .cat-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card:hover .cat-icon {
    background: var(--primary);
}

.category-card span {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

/* ======================================================
   PRODUCT CARDS
====================================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.product-card {
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), 
                box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), 
                border-color 0.3s ease;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    will-change: transform, box-shadow;
}

/* Desktop Hover Elevation & Image Zoom */
@media (hover: hover) and (min-width: 768px) {
    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 28px -4px rgba(0, 0, 0, 0.09), 0 4px 10px -2px rgba(0, 0, 0, 0.03);
        border-color: rgba(232, 90, 0, 0.38);
    }
    .product-card:hover .product-img-wrap img {
        transform: scale(1.06);
    }
    .product-card:hover .btn-card-add {
        background: var(--primary, #e85a00);
        color: #ffffff;
        border-color: var(--primary, #e85a00);
        box-shadow: 0 4px 12px rgba(232, 90, 0, 0.28);
    }
}

/* Mobile & Touch Tap Micro-Interaction */
@media (max-width: 767px) {
    .product-card:active {
        transform: scale(0.985);
        transition: transform 0.15s ease;
    }
}

/* Scroll Reveal Animation Styles (GhorerBazar style) */
.product-card.scroll-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s ease,
                border-color 0.3s ease;
}
.product-card.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Quantity Stepper Pop Animation */
@keyframes qtyPop {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.22); }
    100% { transform: scale(1); opacity: 1; }
}
.card-qty-val.anim-pop {
    animation: qtyPop 0.24s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

/* Cart Badge Bounce Animation */
@keyframes cartBadgeBounce {
    0% { transform: scale(1); }
    30% { transform: scale(1.4) rotate(-8deg); }
    60% { transform: scale(1.2) rotate(8deg); }
    100% { transform: scale(1) rotate(0deg); }
}
.cart-bounce-anim {
    animation: cartBadgeBounce 0.4s ease-out both;
}

.product-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #10b981;
    color: var(--bg-white);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
    letter-spacing: 0.3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}

.product-badge.badge-save {
    background: #10b981;
    right: 8px;
    left: auto;
}

.product-badge.badge-new {
    background: #f97316;
    left: 8px;
    right: auto;
}

.product-badge.badge-combo {
    background: #f59e0b;
    left: 8px;
    right: auto;
}

.product-badge.badge-out {
    background: #64748b;
    left: 8px;
    right: auto;
    box-shadow: none;
}

.product-wish-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    color: var(--text-gray);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    z-index: 2;
}

.product-wish-btn:hover,
.product-wish-btn.active {
    color: var(--danger);
}

.product-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--bg-faint);
}

.product-img-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
    transition: var(--transition);
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.06);
}

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

.product-category {
    font-size: 11px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 42px;
    /* Fixed height for 2 lines */
    margin-bottom: 8px;
}

.product-meta {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    margin-top: auto;
}

.product-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    /* Deep Navy for professional pricing */
}

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

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--star);
    margin-bottom: 10px;
}

.product-rating span {
    color: var(--text-gray);
}

/* Quantity Selector inside card */
.product-qty-row {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.product-qty-selector {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 3px;
    gap: 12px;
    border-radius: 50px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-add-cart {
    width: 100%;
    padding: 10px;
    border-radius: 50px;
    border: none;
    background: var(--primary);
    color: white;
    font-weight: 700;
    transition: var(--transition);
    margin-top: auto;
    /* Push to bottom */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-add-cart:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: var(--bg-white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    transition: all .2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.qty-btn:hover {
    background: var(--bg-light);
    border-color: var(--text-light);
}

.qty-val {
    font-weight: 700;
    font-size: 16px;
    min-width: 15px;
    text-align: center;
    color: var(--text-main);
}

.btn-add-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: var(--bg-white);
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    font-family: var(--font-bn);
}

.btn-add-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 83, 148, .2);
}

.btn-add-cart:disabled {
    background: #999;
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-add-cart i {
    font-size: 18px;
}

/* ======================================================
   BUTTONS
====================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    font-family: var(--font-bn);
}

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

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

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

.btn-secondary:hover {
    background: var(--secondary);
    color: var(--bg-white);
}

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

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

.btn-sm {
    padding: 7px 14px;
    font-size: 13px;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

/* ======================================================
   OFFER BANNER
====================================================== */
.offer-banner {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    border-radius: var(--radius-lg);
    padding: 30px;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}

.offer-banner::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, .1);
    border-radius: 50%;
    right: -50px;
    top: -50px;
}

.offer-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
}

.offer-content p {
    opacity: .9;
    font-size: 16px;
}

/* ======================================================
   FOOTER
====================================================== */
.site-footer {
    background: var(--admin-sidebar-bg);
    color: rgba(255, 255, 255, .8);
    margin-top: 0px;
}

.footer-main {
    padding: 50px 0 30px;
}

.footer-bottom {
    background: rgba(0, 0, 0, .2);
    padding: 15px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, .5);
}

.footer-brand .footer-logo {
    color: var(--bg-white);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: var(--font-en);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .65);
}

.footer-heading {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 16px;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, .65);
    font-size: 14px;
    transition: var(--transition);
}

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

.footer-contact p {
    font-size: 14px;
    color: rgba(255, 255, 255, .65);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact i {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: var(--bg-white);
}

/* ======================================================
   CART & CHECKOUT
====================================================== */
.cart-table {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.cart-table table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th,
.cart-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.cart-table th {
    background: var(--bg-light);
    font-weight: 600;
    font-size: 13px;
    color: var(--text-gray);
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-product img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--bg-light);
    padding: 4px;
}

.cart-product-name {
    font-weight: 600;
    font-size: 14px;
}

.cart-product-meta {
    font-size: 12px;
    color: var(--text-light);
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 50px;
    overflow: hidden;
    padding: 2px;
    background: #f8f9fa;
}

.qty-btn {
    width: 32px;
    height: 32px;
    background: var(--bg-light);
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition);
}

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

.qty-input {
    width: 40px;
    height: 32px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-size: 14px;
    font-weight: 600;
}

.order-summary {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 20px;
    position: sticky;
    top: 80px;
}

.order-summary h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.summary-row.total {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    border-top: 1px solid var(--border);
    padding-top: 12px;
    margin-top: 12px;
}

.summary-row.discount {
    color: #e53935;
}

.summary-row.free {
    color: var(--primary);
}

.coupon-form {
    display: flex;
    gap: 8px;
    margin: 15px 0;
}

.coupon-form input {
    flex: 1;
    padding: 9px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-family: var(--font-bn);
}

/* ======================================================
   AUTH PAGES
====================================================== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
}

.auth-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.auth-logo {
    text-align: center;
    margin-bottom: 24px;
}

.auth-logo h1 {
    font-size: 28px;
    color: var(--primary);
    font-family: var(--font-en);
    font-weight: 700;
}

.auth-logo span {
    color: var(--secondary);
}

.auth-logo p {
    font-size: 14px;
    color: var(--text-gray);
    margin-top: 4px;
}

.auth-card h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 11px 15px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-bn);
    outline: none;
    transition: var(--transition);
    color: var(--text-dark);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 35, 126, .1);
}

/* ======================================================
   ADMIN PANEL
====================================================== */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--admin-sidebar-bg);
    color: var(--bg-white);
    flex-shrink: 0;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 100;
}

.admin-brand {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    font-size: 18px;
    font-weight: 700;
    color: var(--bg-white);
    font-family: var(--font-en);
}

.admin-brand span {
    color: var(--secondary);
}

.admin-nav-section {
    padding: 10px 0;
}

.admin-nav-title {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, .4);
    padding: 8px 20px 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    color: rgba(255, 255, 255, .75);
    font-size: 14px;
    transition: var(--transition);
}

.admin-nav-link i {
    width: 18px;
    color: rgba(255, 255, 255, .5);
}

.admin-nav-link:hover,
.admin-nav-link.active {
    background: rgba(255, 255, 255, .1);
    color: var(--bg-white);
}

.admin-nav-link.active i {
    color: var(--primary-light);
}

.admin-content {
    margin-left: 260px;
    flex: 1;
    min-width: 0;
}

.admin-topbar {
    background: var(--bg-white);
    padding: 14px 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 99;
}

.admin-page {
    padding: 24px;
}

.admin-page-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Stat Cards */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-card.orange {
    border-color: var(--secondary);
}

.stat-card.blue {
    border-color: var(--admin-blue);
}

.stat-card.purple {
    border-color: var(--admin-purple);
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
}

.stat-card.orange .stat-icon {
    background: rgba(188, 161, 54, 0.1);
    color: var(--secondary);
}

.stat-card.blue .stat-icon {
    background: var(--admin-blue-soft);
    color: var(--admin-blue);
}

.stat-card.purple .stat-icon {
    background: var(--admin-purple-soft);
    color: var(--admin-purple);
}

.stat-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-info p {
    font-size: 13px;
    color: var(--text-gray);
}

/* Admin Table */
.admin-table-wrap {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background: var(--bg-light);
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom: 2px solid var(--border);
}

.admin-table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    vertical-align: middle;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover td {
    background: var(--bg-light);
}

/* Status badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.pending {
    background: rgba(188, 161, 54, 0.1);
    color: var(--secondary);
}

.status-badge.confirmed {
    background: var(--admin-blue-soft);
    color: var(--admin-blue);
}

.status-badge.processing {
    background: var(--admin-green-soft);
    color: var(--primary);
}

.status-badge.out_for_delivery {
    background: var(--admin-purple-soft);
    color: var(--admin-purple);
}

.status-badge.delivered {
    background: var(--admin-green-soft);
    color: var(--primary-dark);
}

.status-badge.cancelled {
    background: var(--admin-red-soft);
    color: var(--danger-dark);
}

.status-badge.returned {
    background: var(--bg-light);
    color: #616161;
}

/* Admin Form */
.admin-form-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 28px;
}

.admin-form-section {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.admin-form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.admin-form-section h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary);
}

/* ======================================================
   PRODUCT DETAIL PAGE
====================================================== */
.product-detail {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.product-detail-images .main-img {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-light);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-images .main-img img {
    max-height: 380px;
    object-fit: contain;
    padding: 20px;
}

.product-detail-info h1 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
}

.product-price-big {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

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

/* Qty Selector */
.qty-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}

.qty-large {
    display: flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: 50px;
    overflow: hidden;
}

.qty-large button {
    width: 40px;
    height: 42px;
    background: var(--bg-light);
    border: none;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    color: var(--primary);
    transition: var(--transition);
}

.qty-large button:hover {
    background: var(--primary);
    color: white;
}

.qty-large input {
    width: 55px;
    height: 42px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-size: 16px;
    font-weight: 700;
}

/* ======================================================
   ORDER TRACKING
====================================================== */
.order-timeline {
    position: relative;
    padding-left: 30px;
}

.order-timeline-item {
    position: relative;
    padding-bottom: 20px;
}

.order-timeline-item::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 8px;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.order-timeline-item:last-child::before {
    display: none;
}

.order-timeline-dot {
    position: absolute;
    left: -29px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--border);
    border: 2px solid var(--bg-white);
}

.order-timeline-item.done .order-timeline-dot {
    background: var(--primary);
}

.order-timeline-title {
    font-weight: 600;
    font-size: 14px;
}

.order-timeline-info {
    font-size: 12px;
    color: var(--text-gray);
}

/* ======================================================
   FLASH MESSAGES
====================================================== */
.flash-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
}

.flash-msg {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    animation: slideIn .3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.flash-success {
    background: var(--admin-green-soft);
    color: var(--primary-dark);
    border-left: 4px solid var(--primary);
}

.flash-error,
.flash-danger {
    background: var(--admin-red-soft);
    color: var(--danger-dark);
    border-left: 4px solid var(--danger-dark);
}

.flash-warning {
    background: rgba(188, 161, 54, 0.1);
    color: var(--secondary);
    border-left: 4px solid var(--secondary);
}

/* ======================================================
   UTILITIES
====================================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 40px 0;
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-muted {
    color: var(--text-gray) !important;
}

.bg-primary {
    background: var(--primary) !important;
}

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

.gap-1 {
    gap: 6px;
}

.gap-2 {
    gap: 12px;
}

.gap-3 {
    gap: 18px;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 8px;
}

.mb-2 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom: 24px;
}

.mt-2 {
    margin-top: 16px;
}

.mt-3 {
    margin-top: 24px;
}

.p-0 {
    padding: 0;
}

.rounded {
    border-radius: var(--radius-sm);
}

.rounded-md {
    border-radius: var(--radius-md);
}

.w-100 {
    width: 100%;
}

/* ======================================================
   RESPONSIVE
====================================================== */
@media (max-width: 992px) {
    .stat-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
    }

    .admin-sidebar {
        transform: translateX(-100%);
        transition: var(--transition);
    }

    .admin-sidebar.open {
        transform: translateX(0);
    }

    .admin-content {
        margin-left: 0;
    }

    .swiper-hero {
        height: 280px;
    }

    .hero-content h2 {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .d-md-none {
        display: none;
    }

    .header-main .search-form {
        display: none;
    }

    .stat-cards {
        grid-template-columns: 1fr 1fr;
    }

    .mega-menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .auth-card {
        padding: 24px 20px;
    }

    .swiper-hero {
        height: 220px;
    }

    .hero-content h2 {
        font-size: 18px;
    }

    .hero-overlay {
        padding: 0 20px;
    }

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

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

/* ======================================================
   LOADING / SPINNER
====================================================== */
.spinner {
    width: 38px;
    height: 38px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: .8;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: 2px solid rgba(255, 255, 255, .4);
    border-top-color: var(--bg-white);
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

/* ======================================================
   BREADCRUMB
====================================================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 20px;
    padding: 12px 0;
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb .sep {
    color: var(--border);
}

/* ======================================================
   PAGINATION
====================================================== */
.pagination {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-top: 36px;
    margin-bottom: 20px;
    list-style: none;
    padding-left: 0;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
    background-color: var(--bg-white);
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    white-space: nowrap;
}

.page-link-num {
    min-width: 38px;
    padding: 0 10px;
}

.page-link-prev,
.page-link-next {
    width: auto !important;
    padding: 0 16px !important;
}

.page-link:hover {
    background: rgba(15, 81, 50, 0.08);
    border-color: #0f5132;
    color: #0f5132;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(15, 81, 50, 0.15);
}

.page-link.active,
.page-item.active .page-link {
    background: linear-gradient(135deg, #0f5132, #16a34a) !important;
    border-color: #0f5132 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(15, 81, 50, 0.32) !important;
    font-weight: 700;
}

.page-link.disabled,
.page-item.disabled .page-link {
    opacity: 0.5;
    pointer-events: none;
    background: var(--bg-faint);
    border-color: var(--border-light);
}

/* ======================================================
   TESTIMONIALS
====================================================== */
.testimonial-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--bg-light);
}

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

.quote-icon {
    font-size: 24px;
    color: var(--admin-green-soft);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 25px;
    flex: 1;
}

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

.user-img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bg-white);
}

.user-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--text-main);
}

.user-pos {
    font-size: 12px;
    color: var(--text-silver);
    margin-bottom: 5px;
}

.user-stars {
    color: var(--star);
    font-size: 11px;
}

/* ======================================================
   NEWSLETTER
====================================================== */
.input-group-modern {
    display: flex;
    background: var(--bg-white);
    padding: 6px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.input-group-modern input {
    flex: 1;
    border: none;
    padding: 0 25px;
    font-size: 15px;
    border-radius: 50px;
    outline: none;
}

.input-group-modern button {
    background: var(--primary);
    /* Rich Green for subscription */
    color: var(--bg-white);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: all .3s;
    white-space: nowrap;
}

.input-group-modern button:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}

.input-group-modern button:disabled {
    background: var(--text-silver);
}

/* ======================================================
   HERO SLIDER (Premium Redesign)
====================================================== */
.hero-section {
    position: relative;
    overflow: hidden;
    background: #f4f7f4;
    min-height: 480px;
}

.swiper-hero {
    width: 100%;
    height: 480px;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    align-items: center;
    padding-left: 8%;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
    padding: 45px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 35px;
    color: white;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    opacity: 1;
    text-align: left;
}

.hero-content h2 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.hero-action {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

/* Mobile Responsiveness for Hero */
@media (max-width: 768px) {

    .hero-section,
    .swiper-hero {
        min-height: 280px;
        height: 280px;
    }

    .hero-overlay {
        padding-left: 5%;
        padding-right: 5%;
        justify-content: center;
        background: rgba(0, 0, 0, 0.5);
        /* Darker overlay for mobile readability */
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%);
    }

    .hero-content {
        padding: 20px;
        border-radius: 20px;
        text-align: center;
        max-width: 90%;
    }

    .hero-content h2 {
        font-size: 26px;
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    .btn-hero {
        padding: 10px 25px;
        font-size: 14px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
        /* Hide arrows on small mobile to avoid clutter */
    }
}

.swiper-slide-active .hero-content h2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.swiper-slide-active .hero-content p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.swiper-slide-active .hero-action {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--secondary) 0%, #fb8c00 100%);
    color: white !important;
    font-weight: 700;
    font-size: 17px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(251, 140, 0, 0.4);
}

.btn-hero:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 15px 30px rgba(251, 140, 0, 0.5);
}

.swiper-pagination-bullet {
    background: white !important;
    opacity: 0.4;
    width: 10px;
    height: 10px;
    transition: all 0.3s;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 10px;
    background: var(--secondary) !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: white !important;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: all 0.3s;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--secondary);
    transform: scale(1.1);
}


/* Floating WhatsApp Button */
.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.wa-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #fff;
}

.wa-float-icon {
    margin-top: 2px;
}

@keyframes wa-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.wa-float {
    animation: wa-pulse 2s infinite;
}

@media screen and (max-width: 767px) {
    .wa-float {
        width: 50px;
        height: 50px;
        bottom: 85px;
        right: 20px;
        font-size: 25px;
        z-index: 2000;
    }
}


/* ============================================================
   MODERN DRAWER CART, QUICK ORDER & MOBILE STICKY BAR STYLES
   ============================================================ */

/* Button Quick Order on Product Card */
.btn-quick-order {
    background: linear-gradient(135deg, var(--primary, #e85a00) 0%, var(--primary-dark, #c44c00) 100%);
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition, all 0.3s ease);
    box-shadow: 0 4px 12px rgba(232, 90, 0, 0.28);
    cursor: pointer;
}

.btn-quick-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(232, 90, 0, 0.4);
    color: #fff !important;
}

/* Slide-over Cart Drawer */
.side-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.side-cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.side-cart-drawer {
    position: fixed;
    top: 0;
    right: -460px;
    width: 420px;
    max-width: 92vw;
    height: 100vh;
    background: #ffffff;
    z-index: 2060;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 35px rgba(0, 0, 0, 0.15);
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.side-cart-drawer.open {
    right: 0;
}

.side-cart-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
}

.side-cart-title {
    font-weight: 700;
    font-size: 17px;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.side-cart-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #f8fafc;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.side-cart-close:hover {
    background: #fee2e2;
    color: #ef4444;
}

/* Free Delivery Bar */
.drawer-free-delivery {
    background: #fff5f8;
    padding: 12px 20px;
    border-bottom: 1px dashed #ffd1dc;
}

.drawer-free-delivery-text {
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.drawer-free-progress-bg {
    width: 100%;
    height: 7px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.drawer-free-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary, #e85a00), #22c55e);
    border-radius: 10px;
    transition: width 0.4s ease;
}

/* Drawer Cart Items */
.side-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}

.side-cart-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    align-items: center;
}

.side-cart-item-img {
    width: 65px;
    height: 65px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #f1f5f9;
    background: #fafafa;
    flex-shrink: 0;
}

.side-cart-item-details {
    flex: 1;
    min-width: 0;
}

.side-cart-item-name {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    display: block;
}

.side-cart-item-unit {
    font-size: 11px;
    color: #94a3b8;
    margin-bottom: 6px;
}

.side-cart-item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary, #e85a00);
}

.side-cart-qty-ctrl {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2px 6px;
    background: #f8fafc;
}

.side-cart-qty-btn {
    border: none;
    background: transparent;
    color: #475569;
    font-size: 11px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
}

.side-cart-qty-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.side-cart-qty-val {
    font-size: 12px;
    font-weight: 700;
    padding: 0 6px;
    min-width: 20px;
    text-align: center;
}

.side-cart-item-remove {
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    font-size: 14px;
    padding: 6px;
    transition: color 0.2s;
}

.side-cart-item-remove:hover {
    color: #ef4444;
}

/* Empty Drawer */
.side-cart-empty {
    text-align: center;
    padding: 50px 20px;
}

.side-cart-empty i {
    font-size: 48px;
    color: #cbd5e1;
    margin-bottom: 15px;
}

/* Drawer Footer */
.side-cart-footer {
    padding: 16px 20px;
    border-top: 1px solid #f1f5f9;
    background: #ffffff;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.04);
}

.side-cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.side-cart-subtotal-label {
    font-weight: 600;
    color: #475569;
    font-size: 14px;
}

.side-cart-subtotal-val {
    font-weight: 800;
    color: var(--primary, #e85a00);
    font-size: 20px;
}

.btn-drawer-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, var(--primary, #e85a00) 0%, var(--primary-dark, #c44c00) 100%);
    color: #ffffff !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(232, 90, 0, 0.35);
    transition: all 0.3s;
}

.btn-drawer-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 90, 0, 0.45);
}

.btn-drawer-cart-view {
    display: block;
    text-align: center;
    margin-top: 8px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.btn-drawer-cart-view:hover {
    color: var(--primary, #e85a00);
}

.drawer-trust-badges {
    display: flex;
    justify-content: space-around;
    padding-top: 12px;
    margin-top: 10px;
    border-top: 1px dashed #e2e8f0;
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

/* ============================================================
   1-CLICK QUICK ORDER MODAL STYLES
   ============================================================ */
.quick-order-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(5px);
    z-index: 2070;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.quick-order-overlay.open {
    opacity: 1;
    visibility: visible;
}

.quick-order-modal {
    background: #ffffff;
    border-radius: 24px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-order-overlay.open .quick-order-modal {
    transform: scale(1);
}

.quick-modal-header {
    background: linear-gradient(135deg, #fff5f8 0%, #ffffff 100%);
    padding: 16px 22px;
    border-bottom: 1px solid #ffd1dc;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.quick-modal-title {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.quick-modal-close:hover {
    background: #fee2e2;
    color: #ef4444;
}

.quick-product-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: #fafafa;
    border-radius: 16px;
    margin: 16px 20px 10px;
    border: 1px solid #f1f5f9;
}

.quick-product-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
}

.quick-product-name {
    font-weight: 700;
    font-size: 14px;
    color: #1e293b;
    margin-bottom: 2px;
}

.quick-product-price {
    font-weight: 800;
    font-size: 16px;
    color: var(--primary, #e85a00);
}

.quick-zone-chips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
    margin-top: 6px;
}

.quick-zone-chip {
    padding: 8px 10px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    font-size: 12px;
}

.quick-zone-chip.active {
    border-color: var(--primary, #e85a00);
    background: var(--bg-faint, #fff7ed);
    color: var(--primary, #e85a00);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(232, 90, 0, 0.15);
}

.quick-total-card {
    background: #f8fafc;
    border-radius: 14px;
    padding: 12px 16px;
    margin: 14px 20px;
    border: 1px solid #e2e8f0;
}

/* Mobile Sticky Bottom Product Bar */
@media (max-width: 991.98px) {
    .product-page-body .mobile-bottom-nav {
        display: none !important;
    }
    body.product-page-body {
        padding-bottom: 65px !important;
    }
    .mobile-sticky-product-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1600;
        background: #ffffff;
        padding: 8px 14px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        border-top: 1px solid #f1f5f9;
        height: 58px;
    }
}
@media (min-width: 992px) {
    .mobile-sticky-product-bar {
        display: none !important;
    }
}


/* ============================================================
   PRODUCT CARD INTEGRATED [- 1 +] CART BUTTON STYLES
   ============================================================ */
.card-cart-action {
    width: 100%;
    margin-top: auto;
}

.btn-card-add {
    width: 100%;
    height: 38px;
    border-radius: 4px;
    border: 1.5px solid var(--primary, #e85a00);
    background: #ffffff;
    color: var(--primary, #e85a00);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-card-add:hover {
    background: var(--primary, #e85a00);
    color: #ffffff;
}

.btn-card-add:disabled {
    border-color: #cbd5e1;
    color: #94a3b8;
    background: #f8fafc;
    cursor: not-allowed;
    box-shadow: none;
}

/* Integrated [- 1 +] Button Bar matching Screenshot */
.card-qty-control {
    width: 100%;
    height: 38px;
    display: flex;
    align-items: stretch;
    border: 1.5px solid var(--primary, #e85a00);
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
}

.card-qty-btn {
    flex: 0 0 32%;
    border: none;
    background: var(--primary, #e85a00);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, opacity 0.15s ease;
    user-select: none;
}

.card-qty-btn:hover {
    opacity: 0.92;
}

.card-qty-btn:active {
    opacity: 0.85;
}

.card-qty-val {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    background: #ffffff;
    user-select: none;
}

/* ============================================================
   TAOBAO / SPU STYLE VARIANT SELECTOR STYLES
   ============================================================ */
.taobao-variant-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 20px;
}

.variant-dimension label {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
    display: block;
}

.variant-dimension label small {
    font-weight: 500;
}

.variant-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variant-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.variant-chip:hover {
    border-color: var(--primary, #e85a00);
    color: var(--primary, #e85a00);
}

.variant-chip.active {
    border-color: var(--primary, #e85a00);
    background: #fff7ed;
    color: var(--primary, #e85a00);
    box-shadow: 0 2px 6px rgba(232, 90, 0, 0.15);
    font-weight: 700;
}

.variant-chip .chip-img {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid rgba(0,0,0,0.08);
}

.variant-chip .chip-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid rgba(0,0,0,0.15);
}

.variant-chip.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    text-decoration: line-through;
    border-style: dashed;
}


/* ============================================================
   GHORERBAZAR STYLE CATEGORY PRODUCT SWIPER & SCROLL STYLES
   ============================================================ */
.swiper-nav-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.swiper-nav-btn:hover {
    border-color: var(--primary, #e85a00);
    background: var(--primary, #e85a00);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(232, 90, 0, 0.25);
}

.swiper-nav-btn.swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    border-color: #e2e8f0;
    background: #ffffff;
    color: #94a3b8;
    box-shadow: none;
}

.product-slider-swiper,
.category-product-swiper {
    padding: 8px 4px 18px 4px;
    overflow: hidden;
}

.product-slider-swiper .swiper-slide,
.category-product-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.product-slider-swiper .swiper-slide .product-card,
.category-product-swiper .swiper-slide .product-card {
    width: 100%;
}

@media (max-width: 575px) {
    .swiper-nav-btn {
        width: 30px;
        height: 30px;
        font-size: 11px;
    }
}

.category-section-wrapper {
    transition: background 0.3s ease;
}

.category-section-wrapper:hover .swiper-nav-btn {
    border-color: var(--primary, #e85a00);
}


/* ============================================================
   GhorerBazar Style Product Details & Pack Size Options
   ============================================================ */
.product-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    line-height: 1.2;
}
.product-price .new-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary, #e85a00);
    letter-spacing: -0.5px;
    text-decoration: none;
}
.product-price .old-price {
    font-size: 18px;
    color: #94a3b8;
    text-decoration: line-through;
    margin-left: 10px;
    font-weight: 500;
}
.product-price .save-label {
    background: #10b981;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 10px;
    display: inline-block;
    letter-spacing: 0.2px;
}

/* GhorerBazar Pack Size / Variant Grid */
.gb-variant-selection {
    background: #ffffff;
}
.gb-variant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
}
.gb-variant-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    text-decoration: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
}
.gb-variant-card:hover {
    border-color: var(--primary, #e85a00);
    background: #fffcf8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 90, 0, 0.08);
}
.gb-variant-card.active {
    border: 2px solid var(--primary, #e85a00);
    background: #fff7ed;
    box-shadow: 0 4px 14px rgba(232, 90, 0, 0.12);
}
.gb-card-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.gb-radio-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.gb-variant-card.active .gb-radio-circle {
    border-color: var(--primary, #e85a00);
    background: var(--primary, #e85a00);
    color: #ffffff;
    font-size: 11px;
}
.gb-card-img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}
.gb-card-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.25;
}
.gb-selected-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    color: var(--primary, #e85a00);
    background: rgba(232, 90, 0, 0.1);
    padding: 1px 6px;
    border-radius: 4px;
    margin-top: 2px;
}
.gb-card-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.gb-card-price {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary, #e85a00);
}
.gb-card-save {
    font-size: 10px;
    font-weight: 700;
    color: #10b981;
    background: #ecfdf5;
    padding: 1px 5px;
    border-radius: 3px;
    margin-top: 2px;
}

/* Quantity Stepper (GhorerBazar Style) */
.product-qty-form {
    display: flex;
    align-items: center;
    gap: 16px;
}
.product-qty-form .qty-label {
    font-size: 14px;
    color: #1e293b;
    font-weight: 600;
}
.gb-qty-group {
    display: inline-flex;
    align-items: center;
    height: 44px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    overflow: hidden;
}
.gb-qty-group .btn-qty {
    width: 40px;
    height: 100%;
    border: none;
    background: transparent;
    color: #475569;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.gb-qty-group .btn-qty:hover {
    background: #e2e8f0;
    color: var(--primary, #e85a00);
}
.gb-qty-group input.form-control {
    width: 50px;
    height: 100%;
    border: none;
    background: #ffffff;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    color: #0f172a;
    padding: 0;
    box-shadow: none;
}

/* Action Order Buttons (GhorerBazar 2x2 Grid) */
.pd-action-order-btns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.gb-btn-cart {
    height: 44px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--primary, #e85a00);
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.gb-btn-cart:hover {
    background: var(--primary-dark, #c44c00);
    color: #ffffff;
}
.gb-btn-buynow {
    height: 44px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #0b1a1f;
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.gb-btn-buynow:hover {
    background: #1e293b;
    color: #ffffff;
}

/* Secondary Action Group (WhatsApp + Call) */
.product-details-action-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.whatsapp-order-btn {
    height: 42px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    background: #1daa61;
    color: #ffffff !important;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: background 0.2s ease;
}
.whatsapp-order-btn:hover {
    background: #16884d;
    color: #ffffff !important;
}
.call-for-order-btn {
    height: 42px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    background: #1e3a8a;
    color: #ffffff !important;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: background 0.2s ease;
}
.call-for-order-btn:hover {
    background: #172554;
    color: #ffffff !important;
}

/* Brand Box */
.product-brand-box {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 13px;
    background: #ffffff;
}

/* Vertical Gallery Styles */
.pd-vertical-slider-container {
    display: flex;
    gap: 12px;
    width: 100%;
    align-items: flex-start;
}
.pd-vertical-slider-container .vertical-thumbs {
    width: 68px !important;
    max-height: 440px;
    margin: 0;
    overflow: hidden;
    flex-shrink: 0;
}
.pd-vertical-slider-container .vertical-thumbs .swiper-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.pd-vertical-slider-container .single-swiper-thumbs {
    width: 68px !important;
    height: 68px !important;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #ffffff;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: all 0.2s ease;
}
.pd-vertical-slider-container .single-swiper-thumbs img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.pd-vertical-slider-container .single-swiper-thumbs.swiper-slide-thumb-active,
.pd-vertical-slider-container .single-swiper-thumbs.active {
    border: 2px solid var(--primary, #e85a00) !important;
}
.pd-vertical-slider-container .p-details-big-img {
    flex: 1;
    width: calc(100% - 80px);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pd-vertical-slider-container .p-details-big-img .main-img {
    max-height: 420px;
    width: 100%;
    object-fit: contain;
    padding: 12px;
}
.pd-vertical-slider-container .swiper-nav-arrow {
    color: #475569;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transition: all 0.2s;
}
.pd-vertical-slider-container .swiper-nav-arrow::after {
    font-size: 13px;
    font-weight: 700;
}
.pd-vertical-slider-container .swiper-nav-arrow:hover {
    color: var(--primary, #e85a00);
    background: #ffffff;
    border-color: var(--primary, #e85a00);
}

/* Feature Box */
.gb-feature-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
.gb-feature-item {
    padding: 8px 4px;
}
.gb-feature-icon {
    font-size: 22px;
    margin-bottom: 6px;
}
.gb-feature-title {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
}
.gb-feature-sub {
    font-size: 10px;
    color: #64748b;
    line-height: 1.3;
}

/* Responsive adjustment */
@media (max-width: 576px) {
    .pd-vertical-slider-container .vertical-thumbs {
        width: 52px !important;
        max-height: 320px;
    }
    .pd-vertical-slider-container .single-swiper-thumbs {
        width: 52px !important;
        height: 52px !important;
    }
    .pd-vertical-slider-container .p-details-big-img {
        width: calc(100% - 64px);
        min-height: 280px;
    }
    .pd-vertical-slider-container .p-details-big-img .main-img {
        max-height: 280px;
        padding: 6px;
    }
    .product-price .new-price { font-size: 22px; }
    .product-title { font-size: 18px !important; }
    .gb-variant-grid { grid-template-columns: 1fr; }
    .pd-action-order-btns { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .gb-btn-cart, .gb-btn-buynow { height: 42px; font-size: 12.5px; }
    .product-details-action-group { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .whatsapp-order-btn, .call-for-order-btn { height: 40px; font-size: 12px; }
}

/* ==========================================================================
   Desktop Floating Side Cart (Ghorer Bazar Style Sticky Widget)
   ========================================================================== */
.desktop-floating-cart {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1045;
    display: flex;
    flex-direction: column;
    width: 78px;
    background: #ffffff;
    box-shadow: -4px 6px 24px rgba(0, 0, 0, 0.16);
    border-radius: 12px 0 0 12px;
    overflow: hidden;
    cursor: pointer;
    border: 1.5px solid rgba(15, 81, 50, 0.22);
    border-right: none;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
    user-select: none;
    text-align: center;
}
.desktop-floating-cart:hover {
    transform: translateY(-50%) translateX(-6px);
    box-shadow: -8px 10px 30px rgba(15, 81, 50, 0.28);
}
.desktop-floating-cart .dfc-top {
    background: linear-gradient(135deg, var(--primary, #0f5132) 0%, var(--primary-dark, #064e3b) 100%);
    color: #ffffff;
    padding: 10px 6px 8px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border-top-left-radius: 10px;
}
.desktop-floating-cart .dfc-bag-icon {
    font-size: 19px;
    color: #fef08a;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}
.desktop-floating-cart .dfc-item-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #ffffff;
    line-height: 1.2;
    white-space: nowrap;
}
.desktop-floating-cart .dfc-bottom {
    background: #ffffff;
    color: var(--primary, #0f5132);
    padding: 8px 4px;
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: -0.3px;
    border-top: 1px solid rgba(15, 81, 50, 0.12);
    border-bottom-left-radius: 10px;
}
.desktop-floating-cart.cart-bump {
    animation: dfcCartBump 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes dfcCartBump {
    0% { transform: translateY(-50%) scale(1); }
    30% { transform: translateY(-50%) scale(1.18) translateX(-10px); }
    60% { transform: translateY(-50%) scale(0.95); }
    100% { transform: translateY(-50%) scale(1); }
}
@media (max-width: 991.98px) {
    .desktop-floating-cart {
        display: none !important;
    }
}
