/* ==========================================================================
   SANDHYA SURGICALS - MEDICAL E-COMMERCE DESIGN SYSTEM
   Inspired by High-End Surgical Equipment Manufacturers (ESC Medicams, Storz)
   ========================================================================== */

:root {
    --primary: #0284c7;
    --primary-hover: #0369a1;
    --primary-light: #e0f2fe;
    --secondary: #0f172a;
    --secondary-hover: #1e293b;
    --accent: #0d9488;
    --accent-hover: #0f766e;
    --accent-light: #ccfbf1;
    
    --bg-body: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #0284c7;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.06);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.05);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

/* ==========================================================================
   TOP BARS & NAVIGATION
   ========================================================================== */
.announcement-bar {
    background-color: var(--secondary);
    color: #ffffff;
    font-size: 0.85rem;
    padding: 8px 16px;
    text-align: center;
    position: relative;
    z-index: 50;
    font-weight: 500;
}

.announcement-bar a {
    color: #38bdf8;
    text-decoration: underline;
    margin-left: 8px;
    font-weight: 600;
}

.announcement-coupon {
    background: rgba(255, 255, 255, 0.2);
    border: 1px dashed rgba(255, 255, 255, 0.5);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-weight: bold;
    margin-left: 6px;
    letter-spacing: 0.5px;
}

.top-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.825rem;
    color: var(--text-muted);
    padding: 8px 0;
}

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

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

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

.iso-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0fdf4;
    color: #166534;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    border: 1px solid #bbf7d0;
}

/* MAIN HEADER */
.main-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 40;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 24px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 1.3rem;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.brand-text h1 {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--secondary);
    line-height: 1.1;
}

.brand-text span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* SEARCH BAR */
.header-search {
    flex: 1;
    max-width: 580px;
    position: relative;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-body);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-full);
    overflow: hidden;
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
    background: #ffffff;
}

.search-category-select {
    border: none;
    background: transparent;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: var(--text-main);
    border-right: 1px solid var(--border-color);
    outline: none;
    cursor: pointer;
    max-width: 160px;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 16px;
    font-size: 0.9rem;
    outline: none;
    color: var(--text-main);
}

.search-btn {
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--primary-hover);
}

/* HEADER ACTIONS */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    padding: 6px 10px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.action-item:hover {
    background: var(--bg-body);
}

.action-icon {
    font-size: 1.35rem;
    color: var(--secondary);
    position: relative;
}

.action-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.action-label {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.action-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
}

/* NAV BAR */
.nav-bar {
    background: var(--secondary);
    color: #ffffff;
}

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

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e2e8f0;
    transition: var(--transition);
}

.nav-link:hover, .nav-item.active .nav-link {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.category-dropdown-btn {
    background: var(--primary);
    color: #ffffff;
    padding: 14px 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.category-dropdown-btn:hover {
    background: var(--primary-hover);
}

.nav-quote-btn {
    background: linear-gradient(135deg, var(--accent) 0%, #059669 100%);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
}

.nav-quote-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* MEGA MENU / DROPDOWN */
.dropdown-menu-card {
    position: absolute;
    top: 100%;
    left: 0;
    width: 280px;
    background: #ffffff;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--primary);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.nav-item:hover .dropdown-menu-card {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    color: var(--secondary);
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-item-link:hover {
    background: var(--primary-light);
    color: var(--primary);
    padding-left: 22px;
}

/* ==========================================================================
   HERO BANNER SLIDER
   ========================================================================== */
.hero-slider-container {
    position: relative;
    overflow: hidden;
    background: var(--secondary);
    min-height: 480px;
}

.hero-slide {
    display: none;
    min-height: 480px;
    padding: 60px 0;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    position: relative;
    transition: opacity 0.5s ease-in-out;
}

.hero-slide.active {
    display: flex;
    align-items: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.68);
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #38bdf8;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.825rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 28px;
    max-width: 620px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-img-box {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.15);
}

.hero-img-box img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-slider-container:hover .hero-img-box img {
    transform: scale(1.03);
}

/* SLIDER CONTROLS */
.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    background: rgba(15, 23, 42, 0.7);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.slider-prev { left: 24px; }
.slider-next { right: 24px; }

.slider-prev:hover, .slider-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

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

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    width: 32px;
    border-radius: var(--radius-full);
    background: var(--primary);
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
}

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 16px;
}

.trust-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.trust-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 2px;
}

.trust-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   CATEGORIES SECTION
   ========================================================================== */
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 32px;
}

.section-title-wrap h2 {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.section-title-wrap p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

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

.category-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.category-img-wrap {
    height: 180px;
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
}

.category-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-img-wrap img {
    transform: scale(1.08);
}

.category-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.category-desc {
    font-size: 0.825rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
}

.category-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   PRODUCT CARDS & GRIDS
   ========================================================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.product-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    border-color: var(--primary);
}

.product-badges,
.slider-product-badges {
    display: none !important;
}

.badge-tag {
    font-size: 10px !important;
    font-weight: 700;
    padding: 3px 6px !important;
    border-radius: 4px !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1;
    display: inline-block;
    white-space: nowrap;
}

.badge-featured { background: var(--secondary); color: #ffffff; }
.badge-bestseller { background: #d97706; color: #ffffff; }
.badge-discount {
    background: transparent !important;
    color: #dc2626 !important;
    border: 1px solid #dc2626 !important;
    font-weight: 800 !important;
}

.product-img-box {
    position: relative;
    height: 165px;
    background: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-box img {
    max-height: 145px;
    width: auto;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.product-card:hover .product-img-box img {
    transform: scale(1.05);
}

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

.product-category {
    display: none !important;
}

.product-title {
    font-size: 0.90rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.32;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.64em;
    height: 2.64em;
}

.product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.product-sku {
    display: none !important;
}

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

.price-current {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--secondary);
}

.price-original {
    font-size: 0.85rem;
    color: var(--text-light);
    text-decoration: line-through;
}

/* Small Circular Discount Badge beside Price */
.price-discount-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dc2626;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
    border-radius: 50%;
    line-height: 1;
    letter-spacing: -0.2px;
    box-shadow: 0 1px 4px rgba(220, 38, 38, 0.25);
    flex-shrink: 0;
}

.product-footer-actions {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px;
}

.btn-add-cart {
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    min-height: 36px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-add-cart:hover {
    background: var(--primary-hover);
}

.btn-quote-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: #ffffff;
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-quote-icon:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

/* ==========================================================================
   RECENTLY VIEWED SECTION
   ========================================================================== */
.recently-viewed-section {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    margin: 40px 0;
}

.recently-viewed-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.recent-product-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    padding: 12px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.recent-img-wrap {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.recent-img-wrap img {
    max-height: 95px;
    object-fit: contain;
}

.recent-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--secondary);
    line-height: 1.3;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.9em;
    height: auto;
    word-break: normal;
    overflow-wrap: break-word;
}

.recent-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: auto;
}

/* ==========================================================================
   PROMOTIONAL OFFER BANNER
   ========================================================================== */
.promo-strip-banner {
    background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 50%, var(--primary) 100%);
    border-radius: var(--radius-lg);
    padding: 40px 48px;
    color: #ffffff;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 32px;
    margin: 50px 0;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.promo-strip-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 12px;
}

.promo-strip-title,
.promo-strip-content h3 {
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.promo-strip-desc,
.promo-strip-content p {
    font-size: 1.05rem;
    color: #cbd5e1;
    max-width: 680px;
    line-height: 1.5;
    margin-bottom: 0;
}

.promo-strip-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.promo-btn-main {
    background: #ffffff;
    color: var(--secondary);
    font-weight: 700;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: var(--transition);
}

.promo-btn-main:hover {
    background: #f8fafc;
    color: var(--primary);
    transform: translateY(-2px);
}

.promo-brochure-btn {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    font-weight: 600;
    padding: 12px 22px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: var(--transition);
}

.promo-brochure-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ==========================================================================
   SLIDE-OUT MINI CART DRAWER
   ========================================================================== */
.mini-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 90vw;
    height: 100vh;
    background: #ffffff;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    pointer-events: none;
}

.mini-cart-drawer.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

.mini-cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mini-cart-backdrop.active {
    opacity: 1;
    visibility: visible;
}

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

.mini-cart-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mini-cart-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--text-muted);
    cursor: pointer;
}

.mini-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.mini-cart-item {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 14px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
    align-items: center;
}

.mini-cart-img {
    width: 70px;
    height: 70px;
    background: var(--bg-body);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mini-cart-img img {
    max-height: 60px;
    object-fit: contain;
}

.mini-cart-details h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
    line-height: 1.3;
    margin-bottom: 4px;
}

.mini-cart-price {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
}

.mini-cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-body);
}

.mini-cart-subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 1rem;
    font-weight: 700;
}

.mini-cart-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* ==========================================================================
   PROMOTIONAL POPUP MODAL
   ========================================================================== */
.promo-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.78);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.promo-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.promo-modal-card {
    background: #ffffff;
    width: 550px;
    max-width: 92vw;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.promo-modal-backdrop.active .promo-modal-card {
    transform: scale(1);
}

.promo-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--secondary);
    z-index: 10;
}

.promo-modal-header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: #ffffff;
    padding: 36px 30px;
    text-align: center;
}

.promo-modal-header h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.promo-modal-header p {
    font-size: 0.95rem;
    color: #e0f2fe;
}

.promo-modal-body {
    padding: 30px;
    text-align: center;
}

.coupon-box {
    background: #f0fdf4;
    border: 2px dashed #22c55e;
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.coupon-code {
    font-size: 1.35rem;
    font-weight: 800;
    font-family: monospace;
    color: #15803d;
    letter-spacing: 1px;
}

.btn-copy-code {
    background: #15803d;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

/* ==========================================================================
   BUTTONS & COMMON UI
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

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

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

.btn-secondary {
    background: var(--secondary);
    color: #ffffff;
}

.btn-secondary:hover {
    background: var(--secondary-hover);
    color: #ffffff;
}

.btn-accent {
    background: var(--accent);
    color: #ffffff;
}

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

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.btn-block {
    width: 100%;
}

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

.section {
    padding: 60px 0;
}

/* FOOTER */
.site-footer {
    background: var(--secondary);
    color: #94a3b8;
    padding: 38px 0 18px 0;
    border-top: 3px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 32px;
    margin-bottom: 22px;
}

.footer-logo-wrap {
    margin-bottom: 12px;
}

.footer-logo-card {
    background: #ffffff;
    padding: 6px 14px;
    border-radius: 6px;
    display: inline-block;
}

.footer-logo-img {
    height: 32px;
    width: auto;
    display: block;
}

.footer-brand-desc {
    font-size: 0.80rem;
    line-height: 1.5;
    margin-bottom: 12px;
    color: #94a3b8;
}

.footer-social-wrap {
    margin-top: 8px;
}

.footer-social-heading {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.footer-social-links a {
    color: #cbd5e1;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

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

.footer-col h4 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

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

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

.footer-col ul li a {
    font-size: 0.80rem;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: #38bdf8;
    padding-left: 3px;
}

.footer-contact-item {
    font-size: 0.80rem;
    margin-bottom: 6px;
    line-height: 1.4;
    color: #94a3b8;
}

.footer-contact-item i {
    color: var(--primary);
    margin-right: 6px;
    font-size: 0.82rem;
}

.footer-phones a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.footer-phones a:hover {
    color: #38bdf8;
}

.footer-hours {
    color: #34d399 !important;
}

.footer-hours i {
    color: #34d399 !important;
}

.footer-badge-wrap {
    margin-top: 10px;
}

.footer-iso-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.footer-iso-badge i {
    color: #38bdf8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.74rem;
    color: #64748b;
}

/* FLOATING WHATSAPP BUTTON */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    background: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #ffffff;
}

/* TOAST ALERTS */
.toast-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: #ffffff;
    border-left: 4px solid var(--primary);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    animation: toastIn 0.3s ease;
}

.toast.toast-success { border-color: var(--success); }
.toast.toast-error { border-color: var(--danger); }

@keyframes toastIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   ADVANCED MOBILE & TABLET RESPONSIVE RULES
   ========================================================================== */

/* Prevent any horizontal screen blowout on mobile */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 1024px) {
    .nav-bar .desktop-only {
        display: none !important;
    }
    /* Tablet Header & Actions Optimization (1024px, 900px) */
    .action-text {
        display: none !important;
    }
    .header-actions {
        gap: 8px !important;
        flex-shrink: 0 !important;
    }
    .action-item {
        padding: 6px 8px !important;
    }
    .search-category-select {
        display: none !important;
    }
    .header-search {
        flex: 1 1 auto !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    .top-bar-hours {
        display: none !important;
    }

    .categories-grid, .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .recently-viewed-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 14px !important;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-slide .container {
        grid-template-columns: 1fr;
    }
    .hero-img-box {
        display: none;
    }
    .hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    /* 1. TOP BAR */
    .top-bar {
        font-size: 0.75rem;
        padding: 6px 0;
    }
    .top-bar-right {
        display: none !important; /* Hide cluttered links on mobile */
    }
    .top-bar-left {
        width: 100%;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 8px;
    }
    .top-bar-left span {
        white-space: nowrap;
    }
    .iso-badge {
        font-size: 0.68rem !important;
        padding: 2px 7px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
    .top-bar-phone {
        font-size: 0.74rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    .announcement-bar {
        font-size: 0.75rem;
        padding: 6px 10px;
        line-height: 1.4;
    }
    .announcement-coupon {
        display: inline-block;
        margin: 2px 4px;
    }

    /* 2. MAIN HEADER */
    .main-header {
        position: sticky;
        top: 0;
        z-index: 900;
        padding: 4px 0;
    }
    .header-inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding: 8px 0;
        gap: 8px;
    }
    .brand-logo {
        gap: 8px;
        flex: 1;
        min-width: 0;
    }
    .brand-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
        border-radius: var(--radius-sm);
        flex-shrink: 0;
    }
    .brand-text {
        overflow: hidden;
    }
    .brand-text h1 {
        font-size: 1.15rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        letter-spacing: -0.3px;
    }
    .brand-text span {
        font-size: 0.62rem;
        white-space: nowrap;
        letter-spacing: 0.4px;
        display: block;
    }

    /* 3. HEADER ACTIONS ON MOBILE */
    .header-actions {
        display: flex;
        align-items: center;
        gap: 4px;
        flex-shrink: 0;
    }
    .action-item {
        padding: 6px 8px;
        gap: 4px;
    }
    .action-icon {
        font-size: 1.25rem;
    }
    .action-text {
        display: none !important; /* HIDE bulky multi-line text labels on mobile */
    }

    /* 4. SEARCH BAR ON MOBILE */
    .header-search {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin-top: 2px;
    }
    .search-box {
        border-width: 1.5px;
    }
    .search-category-select {
        display: none; /* Hide category select inside input on mobile */
    }
    .search-input {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
    .search-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    /* 5. NAVIGATION BAR ON MOBILE - Smooth swipeable tab strip */
    .nav-bar {
        background: var(--secondary);
        overflow: hidden;
    }
    .nav-inner {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 4px 0;
        display: flex;
        gap: 4px;
        align-items: center;
    }
    .nav-inner::-webkit-scrollbar {
        display: none;
    }
    .nav-links {
        display: flex;
        flex-wrap: nowrap;
        white-space: nowrap;
        gap: 4px;
    }
    .nav-link {
        padding: 8px 12px;
        font-size: 0.8rem;
        border-radius: var(--radius-sm);
    }
    .category-dropdown-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    .nav-quote-btn {
        display: none; /* Accessible through floating buttons & shop pages */
    }

    /* 6. HERO SLIDER ON MOBILE */
    .hero-slider-container {
        min-height: 360px;
    }
    .hero-slide {
        min-height: 360px;
        padding: 32px 0 45px 0;
    }
    .hero-slide .container {
        padding: 0 16px;
    }
    .hero-badge {
        font-size: 0.72rem;
        padding: 4px 10px;
        margin-bottom: 10px;
    }
    .hero-title {
        font-size: 1.5rem !important;
        line-height: 1.25 !important;
        margin-bottom: 12px !important;
        word-break: break-word;
    }
    .hero-subtitle {
        font-size: 0.88rem !important;
        line-height: 1.45 !important;
        margin-bottom: 20px !important;
    }
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    .slider-prev, .slider-next {
        display: none !important;
    }

    /* 7. SECTION HEADINGS ON MOBILE */
    .section {
        padding: 36px 0;
    }
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 20px;
    }
    .section-title-wrap h2 {
        font-size: 1.35rem !important;
        line-height: 1.25;
        letter-spacing: -0.3px;
    }
    .section-title-wrap p {
        font-size: 0.85rem;
    }

    /* 8. PRODUCT & CATEGORY GRIDS */
    .categories-grid, .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .product-badges {
        top: 8px !important;
        left: 8px !important;
        gap: 4px !important;
    }
    .badge-tag {
        font-size: 9px !important;
        padding: 3px 6px !important;
        border-radius: 4px !important;
    }
    .category-card {
        padding: 14px 10px;
    }
    .category-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    .category-card h3 {
        font-size: 0.88rem;
    }
    .product-content {
        padding: 12px;
    }
    .product-title a {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    .product-price-row {
        margin-bottom: 8px;
    }
    .price-current {
        font-size: 1rem;
    }
    .btn-add-cart {
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    /* 9. RECENTLY VIEWED & TRUST */
    .recently-viewed-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* 10. MODALS & DRAWERS ON MOBILE */
    .mini-cart-drawer {
        width: 100vw;
        max-width: 100vw;
    }
    .promo-modal-card {
        width: 94vw;
        max-width: 400px;
        margin: 12px;
    }
    .promo-modal-header {
        padding: 20px 16px 14px 16px;
    }
    .promo-modal-header h3 {
        font-size: 1.15rem;
    }
    .promo-modal-body {
        padding: 16px;
    }

    .site-footer {
        padding: 22px 0 14px 0 !important;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px 12px !important;
        margin-bottom: 14px !important;
    }
    .footer-col-brand,
    .footer-col-contact {
        grid-column: span 2 !important;
    }
    .footer-col-links {
        grid-column: span 1 !important;
    }
    .footer-bottom {
        flex-direction: column !important;
        gap: 4px !important;
        text-align: center !important;
        padding-top: 10px !important;
        font-size: 0.68rem !important;
    }
}

@media (max-width: 480px) {
    .top-bar-hours {
        display: none !important;
    }
    .container {
        padding: 0 12px;
    }
    .hero-title {
        font-size: 1.35rem !important;
    }
    .brand-text h1 {
        font-size: 1rem;
    }
    .categories-grid, .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .whatsapp-float {
        width: 46px !important;
        height: 46px !important;
        font-size: 1.45rem !important;
        bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
        right: 14px !important;
        z-index: 998 !important;
    }
}

/* ==========================================================================
   HOMEPAGE SHOWCASE & PRODUCT SLIDER DESIGN (Matching Reference Design)
   ========================================================================== */

/* 1. HERO FLOATING SOCIAL STRIP */
.hero-social-strip {
    display: none !important;
}

.hero-social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.hero-social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateX(5px) scale(1.12);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.5);
}

/* 2. CURVED RIBBON DIVIDER: "OUR PRODUCTS RANGE" */
.range-ribbon-divider {
    position: relative;
    text-align: center;
    margin: 45px auto 35px auto;
}

.range-ribbon-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.range-ribbon-pill {
    position: relative;
    z-index: 2;
    display: inline-block;
    background: #ffffff;
    padding: 10px 42px;
    border-radius: 40px 40px 0 0;
    border: 1px solid #cbd5e1;
    border-bottom: none;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--secondary);
}

.range-ribbon-pill span {
    color: var(--primary);
}

/* 3. SHOWCASE SECTION TITLES */
.showcase-header {
    text-align: left;
    margin-bottom: 24px;
    position: relative;
}

.showcase-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.showcase-title span {
    color: var(--primary);
}

.showcase-title-line {
    width: 60px;
    height: 3.5px;
    background: var(--primary);
    border-radius: 3px;
    margin-top: 4px;
}

/* 4. MODERN 4-COLUMN PHOTO GRID & HOVER EFFECTS */
.showcase-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.showcase-card {
    position: relative;
    height: 190px;
    border-radius: 10px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    text-decoration: none;
    display: block;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.showcase-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Static Default Bottom Vignette & Title */
.showcase-card-caption {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.5) 50%, rgba(15, 23, 42, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    text-align: center;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.showcase-card-name {
    font-size: 0.92rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
    line-height: 1.3;
}

/* Dynamic Hover Overlay with Details (User Request) */
.showcase-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(2, 132, 199, 0.92) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 16px;
    text-align: center;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
}

.showcase-overlay-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.showcase-overlay-specs {
    font-size: 0.78rem;
    color: #e0f2fe;
    line-height: 1.4;
    margin-bottom: 12px;
}

.showcase-overlay-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    color: var(--secondary);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.showcase-overlay-btn:hover {
    background: #e0f2fe;
    color: var(--primary);
    transform: scale(1.05);
}

/* Card Hover States */
.showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(2, 132, 199, 0.35);
    border-color: var(--primary);
}

.showcase-card:hover .showcase-card-img {
    transform: scale(1.12);
}

.showcase-card:hover .showcase-card-caption {
    opacity: 0;
}

.showcase-card:hover .showcase-card-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* 5. ANIMATED SLIDING PRODUCT SHOWCASE */
.product-slider-section {
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 55px 0 65px 0;
    position: relative;
}

.product-slider-container {
    position: relative;
    padding: 0 10px;
}

.product-slider-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 12px 6px 24px 6px;
    -webkit-overflow-scrolling: touch;
}

.product-slider-track::-webkit-scrollbar {
    display: none;
}

.slider-product-card {
    flex: 0 0 calc(25% - 14px);
    scroll-snap-align: start;
    min-width: 260px;
    height: 270px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.slider-product-img-box {
    height: 100%;
    width: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    padding: 20px;
}

.slider-product-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.45s ease;
}

.slider-product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    z-index: 5;
    flex-wrap: wrap;
    max-width: calc(100% - 20px);
}

/* Static Bottom Card Info (Retained for regular catalog listings where explicitly needed) */
.slider-product-info {
    padding: 12px 14px;
    border-top: 1px solid var(--border-light);
    background: #ffffff;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.slider-product-category {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.slider-product-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.35;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.slider-price-current {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--secondary);
}

.slider-price-original {
    font-size: 0.85rem;
    color: var(--text-light);
    text-decoration: line-through;
}

/* SLIDING HOVER OVERLAY: Clean Image by Default, Reveals on Hover or Tap */
.slider-product-hover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.97) 0%, rgba(15, 23, 42, 0.90) 65%, rgba(15, 23, 42, 0.45) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    color: #ffffff;
    opacity: 0;
    transform: translateY(14px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
    pointer-events: none;
}

.hover-overlay-badge {
    font-size: 0.68rem;
    color: #38bdf8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.hover-overlay-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hover-overlay-details {
    font-size: 0.74rem;
    color: #cbd5e1;
    line-height: 1.35;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hover-overlay-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: #38bdf8;
    margin-bottom: 12px;
    margin-top: auto;
}

.hover-overlay-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
}

.btn-hover-details {
    background: var(--primary);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 9px 12px;
    min-height: 40px;
    border-radius: var(--radius-md);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-hover-details:hover {
    background: var(--primary-hover);
    color: #ffffff;
    transform: scale(1.02);
}

/* Card Hover & Tap State */
.slider-product-card:hover, .slider-product-card.touch-active {
    transform: translateY(-6px);
    box-shadow: 0 18px 32px -4px rgba(2, 132, 199, 0.3);
    border-color: var(--primary);
}

.slider-product-card:hover .slider-product-img,
.slider-product-card.touch-active .slider-product-img {
    transform: scale(1.08);
}

.slider-product-card:hover .slider-product-hover-overlay,
.slider-product-card.touch-active .slider-product-hover-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Sliding Navigation Control Buttons */
.slider-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.5);
    transition: all 0.25s ease;
}

.slider-arrow-btn:hover {
    background: var(--secondary);
    transform: translateY(-50%) scale(1.12);
}

.slider-arrow-prev { left: -16px; }
.slider-arrow-next { right: -16px; }

/* 6. 3 TRUST / SERVICE CARDS (Matching Reference Image) */
.trust-features-section {
    background: #ffffff;
    padding: 50px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.trust-feature-card {
    text-align: center;
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.trust-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.trust-feature-icon-box {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
    background: var(--primary-light);
}

.trust-feature-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.trust-feature-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* 7. MEGA MENU SUB-CATEGORIES (Expanded Width & Restricted to Banner Height) */
/* Base / Desktop Navigation Defaults (> 768px) */
.mobile-nav-backdrop {
    display: none !important;
}
.mobile-nav-drawer {
    display: none !important;
}
#mobileHeaderMenuBtn {
    display: none !important;
}
.desktop-only-mega {
    display: block !important;
}

.dropdown-mega-card {
    width: 1040px !important;
    max-width: min(1040px, calc(100vw - 32px)) !important;
    max-height: 480px !important; /* Strictly bounded to banner height */
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
    padding: 18px 20px !important;
    background: #ffffff !important;
    border-radius: 0 0 16px 16px !important;
    border: 1px solid #e2e8f0 !important;
    border-top: 3px solid var(--primary) !important;
    box-shadow: 0 24px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.05) !important;
    z-index: 1000 !important;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f8fafc;
}

.dropdown-mega-scroll-body {
    width: 100%;
}

.dropdown-mega-grid-inner {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px 18px !important;
}

/* Custom sleek scrollbar */
.dropdown-mega-card::-webkit-scrollbar {
    width: 6px;
}
.dropdown-mega-card::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 4px;
}
.dropdown-mega-card::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.dropdown-mega-card::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.nav-item.touch-open .dropdown-menu-card {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.mega-dropdown-item {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 10px;
    padding: 10px 12px;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.mega-dropdown-item:hover {
    background: #ffffff;
    border-color: rgba(14, 165, 233, 0.35);
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.08);
    transform: translateY(-1px);
}

.mega-dropdown-item .dropdown-item-link {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 0 0 6px 0 !important;
    border-bottom: 1px dashed #e2e8f0;
    color: var(--secondary) !important;
    font-weight: 700 !important;
    font-size: 0.86rem !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.mega-dropdown-item .dropdown-item-link i {
    width: 26px !important;
    height: 26px !important;
    border-radius: 6px !important;
    background: rgba(14, 165, 233, 0.12) !important;
    color: var(--primary) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.82rem !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease;
}

.mega-dropdown-item:hover .dropdown-item-link {
    color: var(--primary) !important;
}

.mega-dropdown-item:hover .dropdown-item-link i {
    background: var(--primary) !important;
    color: #ffffff !important;
}

.sub-categories-list {
    padding-left: 4px;
    padding-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sub-category-link {
    font-size: 0.77rem !important;
    color: #64748b !important;
    padding: 2px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    line-height: 1.35;
}

.sub-category-link:hover {
    color: var(--primary) !important;
    padding-left: 4px !important;
}

.sub-category-more {
    font-size: 0.73rem !important;
    font-weight: 600 !important;
    color: var(--primary) !important;
    padding: 3px 0 0 0 !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.sub-category-more:hover {
    color: var(--primary-hover) !important;
    text-decoration: underline !important;
}

/* Featured Institutional Card in Mega Menu */
.mega-dropdown-featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(15, 23, 42, 0.04) 100%) !important;
    border: 1px solid rgba(14, 165, 233, 0.25) !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 16px !important;
    gap: 14px;
}

.mega-featured-tag {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 2px;
}

.mega-featured-title {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--secondary);
}

.mega-featured-sub {
    font-size: 0.74rem;
    color: #64748b;
    margin-top: 2px;
    line-height: 1.3;
}

.mega-quote-btn {
    background: linear-gradient(135deg, var(--primary) 0%, #0284c7 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 8px 14px;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.3);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mega-quote-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(14, 165, 233, 0.4);
    filter: brightness(1.05);
}

/* Responsive adjustments for Mega Menu (Tablets) */
@media (max-width: 1100px) and (min-width: 769px) {
    .dropdown-mega-card {
        width: 880px !important;
        padding: 14px 16px !important;
        max-height: 440px !important;
    }
    .dropdown-mega-grid-inner {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px 14px !important;
    }
}

@media (max-width: 900px) and (min-width: 769px) {
    .dropdown-mega-card {
        width: min(720px, calc(100vw - 24px)) !important;
        padding: 12px 14px !important;
        max-height: 380px !important;
    }
    .dropdown-mega-grid-inner {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px 12px !important;
    }
    .mega-dropdown-featured {
        grid-column: span 2 !important;
    }
}

/* 8. RESPONSIVE BREAKPOINTS (Laptop, Tablet, Mobile) */
@media (max-width: 1024px) {
    .nav-bar .desktop-only {
        display: none !important;
    }
    /* Tablet Header & Actions Optimization (1024px, 900px) */
    .action-text {
        display: none !important;
    }
    .header-actions {
        gap: 8px !important;
        flex-shrink: 0 !important;
    }
    .action-item {
        padding: 6px 8px !important;
    }
    .search-category-select {
        display: none !important;
    }
    .header-search {
        flex: 1 1 auto !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    .top-bar-hours {
        display: none !important;
    }

    .showcase-grid-4 {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .slider-product-card {
        flex: 0 0 calc(33.333% - 12px);
    }
    .slider-arrow-prev { left: 4px; }
    .slider-arrow-next { right: 4px; }
}

@media (max-width: 768px) {
    .showcase-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .showcase-card {
        height: 150px;
    }
    .showcase-card-name {
        font-size: 0.8rem;
    }
    .showcase-overlay-title {
        font-size: 0.85rem;
    }
    .showcase-overlay-specs {
        display: none;
    }
    .slider-product-card {
        flex: 0 0 calc(50% - 8px);
        min-width: 175px;
    }
    .slider-product-img-box {
        height: 160px;
        padding: 8px;
    }
    .trust-features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .trust-feature-card {
        padding: 16px 10px !important;
    }
    .trust-feature-icon-box {
        width: 44px !important;
        height: 44px !important;
        margin: 0 auto 10px auto !important;
    }
    .trust-feature-title {
        font-size: 0.88rem !important;
        line-height: 1.25 !important;
        margin-bottom: 4px !important;
    }
    .trust-feature-desc {
        font-size: 0.74rem !important;
        line-height: 1.35 !important;
    }
    .showcase-title {
        font-size: 1.35rem;
    }
    .range-ribbon-pill {
        font-size: 0.95rem;
        padding: 8px 24px;
    }
    .slider-arrow-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    .slider-arrow-prev { left: -6px; }
    .slider-arrow-next { right: -6px; }
}

@media (max-width: 480px) {
    .showcase-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .showcase-card {
        height: 130px;
    }
    .showcase-card-name {
        font-size: 0.72rem;
    }
    .slider-product-card {
        flex: 0 0 calc(68% - 8px);
        min-width: 160px;
    }
}

/* ==========================================================================
   PAGE ENTRY TRANSITION & SCROLL REVEAL ANIMATIONS
   ========================================================================== */
@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-fade-in {
    animation: pageFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.scroll-reveal-section {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.scroll-reveal-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
/* ==========================================================================
   PURE FULL-WIDTH VISUAL HERO BANNER (Zero text obstruction, 100% clean visuals)
   ========================================================================== */
.pure-banner-slider {
    position: relative;
    width: 100%;
    height: 520px;
    background: #090d16;
    overflow: hidden;
}

.pure-banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    transform: scale(1.02);
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.pure-banner-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.pure-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 6s ease;
}

.pure-banner-slide.active .pure-banner-img {
    transform: scale(1.04);
}

/* Slider Arrow Navigation */
.pure-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.78);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.pure-slider-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5);
}

.pure-slider-prev { left: 24px; }
.pure-slider-next { right: 24px; }

/* Dot Indicators */
.pure-slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
    background: rgba(15, 23, 42, 0.78);
    padding: 6px 14px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.pure-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.pure-slider-dot.active {
    width: 28px;
    border-radius: 9999px;
    background: #38bdf8;
    box-shadow: 0 0 10px #38bdf8;
}

/* Progress Bar Line at Bottom of Banner */
.pure-slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.pure-slider-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0284c7, #38bdf8);
    box-shadow: 0 0 8px #38bdf8;
    transition: width 0.1s linear;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .pure-banner-slider {
        height: auto;
        aspect-ratio: 16 / 8;
        max-height: 440px;
    }
}

@media (max-width: 768px) {
    .pure-banner-slider {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
        min-height: 190px !important;
        max-height: 400px !important;
    }
    .pure-banner-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    .pure-slider-arrow {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
    .pure-slider-prev { left: 8px; }
    .pure-slider-next { right: 8px; }
    .pure-slider-dots {
        bottom: 10px;
        padding: 4px 10px;
        gap: 6px;
    }
    .pure-slider-dot {
        width: 8px;
        height: 8px;
    }
    .pure-slider-dot.active {
        width: 20px;
    }
}

@media (max-width: 480px) {
    .pure-banner-slider {
        aspect-ratio: 16 / 9.5 !important;
        min-height: 180px !important;
    }
    .pure-slider-arrow {
        display: none !important;
    }
}

/* ==========================================================================
   CATEGORY-WISE SLIDING CAROUSELS (4-8 Products Per Category)
   ========================================================================== */
.category-slider-section {
    padding: 48px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    background: #ffffff;
}

.category-slider-section:nth-child(even) {
    background: #f8fafc;
}

.cat-slider-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 14px;
}

.cat-slider-title-group {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.cat-slider-heading-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cat-slider-icon-circle {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.15);
}

.cat-slider-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--secondary);
    margin: 0;
    letter-spacing: -0.3px;
}

.cat-slider-sub-pills {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.cat-sub-pill {
    font-size: 0.72rem;
    background: #e2e8f0;
    color: #334155;
    padding: 2px 9px;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.2s;
}

.cat-sub-pill:hover {
    background: var(--primary);
    color: #ffffff;
}

.cat-slider-nav-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cat-units-badge {
    font-size: 0.78rem;
    color: var(--text-muted);
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 9999px;
    font-weight: 600;
    border: 1px solid var(--border-color);
}

.cat-arrow-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
}

.cat-arrow-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: scale(1.1);
}

/* Slider Wrapper for Side-Mounted Navigation Arrows */
.cat-slider-wrapper {
    position: relative;
    width: 100%;
}

.cat-side-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.16);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 1rem;
}

.cat-side-arrow.cat-side-prev {
    left: -16px;
}

.cat-side-arrow.cat-side-next {
    right: -16px;
}

.cat-side-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
}

.cat-side-arrow:active {
    transform: translateY(-50%) scale(0.96);
}

@media (max-width: 768px) {
    .cat-side-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    }
    .cat-side-arrow.cat-side-prev {
        left: 2px;
    }
    .cat-side-arrow.cat-side-next {
        right: 2px;
    }
}

/* Category Track (Shows 4 cards visible at once on desktop, 3 on tablet, 2 on mobile) */
.cat-slider-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 10px 4px 20px 4px;
    -webkit-overflow-scrolling: touch;
}

.cat-slider-track::-webkit-scrollbar {
    display: none;
}

.cat-slider-card {
    flex: 0 0 calc(25% - 13.5px);
    scroll-snap-align: start;
    min-width: 255px;
    height: 270px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.cat-slider-card:hover, .cat-slider-card.touch-active {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px -4px rgba(2, 132, 199, 0.25);
    border-color: var(--primary);
}

.cat-slider-card:hover .slider-product-img,
.cat-slider-card.touch-active .slider-product-img {
    transform: scale(1.08);
}

.cat-slider-card:hover .slider-product-hover-overlay,
.cat-slider-card.touch-active .slider-product-hover-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* QUICK DEPARTMENTS NAVIGATION (Solves Endless Homepage Scroll on Mobile) */
.departments-quick-nav {
    padding: 36px 0 24px 0;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
}

.dept-quick-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 12px;
}

.dept-quick-title {
    font-size: clamp(1.3rem, 2.8vw, 1.85rem);
    font-weight: 800;
    color: var(--secondary);
    margin: 0;
}

.dept-quick-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dept-nav-arrows {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dept-arrow-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    box-shadow: var(--shadow-sm);
}

.dept-arrow-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: scale(1.06);
}

.dept-view-all-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dept-view-all-link:hover {
    text-decoration: underline;
}

/* 2-Row Horizontal Sliding Layout */
.dept-nav-slider-container {
    position: relative;
    width: 100%;
}

.dept-side-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.16);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 1rem;
}

.dept-side-arrow.dept-side-prev {
    left: -16px;
}

.dept-side-arrow.dept-side-next {
    right: -16px;
}

.dept-side-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
}

.dept-side-arrow:active {
    transform: translateY(-50%) scale(0.96);
}

@media (max-width: 768px) {
    .dept-side-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    }
    .dept-side-arrow.dept-side-prev {
        left: 2px;
    }
    .dept-side-arrow.dept-side-next {
        right: 2px;
    }
}

.dept-nav-grid {
    display: grid !important;
    grid-template-rows: repeat(2, 1fr) !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(260px, 300px) !important;
    gap: 12px !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 4px 2px 14px 2px !important;
}

.dept-nav-grid::-webkit-scrollbar {
    display: none !important;
}

.dept-nav-card {
    scroll-snap-align: start !important;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    min-height: 56px;
    width: 100%;
}

.dept-nav-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.15);
}

.dept-nav-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.dept-nav-content {
    flex: 1;
    min-width: 0;
}

.dept-nav-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0 0 2px 0;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dept-nav-count {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
}

.dept-nav-arrow {
    font-size: 0.75rem;
    color: #94a3b8;
    transition: transform 0.2s ease;
}

.dept-nav-card:hover .dept-nav-arrow {
    transform: translateX(3px);
    color: var(--primary);
}

/* FEATURED PRODUCTS SHOWCASE GRID (4 columns on desktop, 2 on mobile) */
.featured-showcase-section {
    padding: 44px 0 28px 0;
    border-bottom: 1px solid var(--border-color);
}

.pure-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.pure-product-card {
    min-width: 0 !important;
    flex: none !important;
    height: 270px;
    position: relative;
    border-radius: var(--radius-lg);
    background: #ffffff;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.pure-product-card .slider-product-img-box {
    height: 100%;
    width: 100%;
    padding: 20px;
}

.pure-product-card:hover, .pure-product-card.touch-active {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px -4px rgba(2, 132, 199, 0.25);
    border-color: var(--primary);
}

.pure-product-card:hover .slider-product-img,
.pure-product-card.touch-active .slider-product-img {
    transform: scale(1.08);
}

.pure-product-card:hover .slider-product-hover-overlay,
.pure-product-card.touch-active .slider-product-hover-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Bottom "View More" Button per category */
.cat-slider-footer {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.btn-category-view-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #ffffff;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.btn-category-view-more:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.3);
}

/* Breakpoints for Category Sliders */
@media (max-width: 1100px) {
    .cat-slider-card {
        flex: 0 0 calc(33.333% - 12px);
        min-width: 230px;
    }
    .pure-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .pure-product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .pure-product-card, .cat-slider-card {
        height: 200px !important;
        min-width: 0 !important;
    }

    .cat-slider-card {
        flex: 0 0 calc(50% - 6px) !important;
    }

    .slider-product-img-box {
        padding: 12px !important;
    }

    .dept-nav-grid {
        display: grid !important;
        grid-template-rows: repeat(2, 1fr) !important;
        grid-auto-flow: column !important;
        grid-auto-columns: calc(78vw - 16px) !important;
        gap: 10px !important;
    }

    .dept-nav-card {
        padding: 9px 12px !important;
        min-height: 52px !important;
    }

    .dept-nav-icon {
        width: 38px !important;
        height: 38px !important;
        font-size: 1.1rem !important;
    }

    .dept-nav-name {
        font-size: 0.82rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .dept-nav-count {
        font-size: 0.70rem !important;
    }

    .dept-nav-arrow {
        font-size: 0.70rem !important;
        display: inline-block !important;
    }

    .hover-overlay-title {
        font-size: 0.82rem !important;
        line-height: 1.25 !important;
        margin-bottom: 4px !important;
    }

    .hover-overlay-details {
        display: none !important; /* Keep mobile overlay clean & compact */
    }

    .hover-overlay-price {
        font-size: 0.98rem !important;
        margin-bottom: 8px !important;
    }

    .btn-hover-details {
        padding: 6px 10px !important;
        font-size: 0.74rem !important;
        min-height: 34px !important;
    }

    .hover-overlay-actions form button {
        padding: 6px 10px !important;
        min-height: 34px !important;
    }
}

@media (max-width: 360px) {
    /* 320px Single Column Grid */
    .pure-product-grid {
        grid-template-columns: 1fr !important;
    }

    .cat-slider-card {
        flex: 0 0 100% !important;
    }

    .dept-nav-grid {
        grid-auto-columns: 240px !important;
        gap: 6px !important;
    }
}

/* ==========================================================================
   GLOBAL COMPREHENSIVE RESPONSIVE SUITE (Mobile, Tablet, Phablet, Desktop)
   ========================================================================== */

/* 1. Global Layout Grids */
.catalog-layout-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 36px;
    align-items: start;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    align-items: start;
}

/* ==========================================================================
   PRODUCT DETAILS INTERACTIVE ZOOM & LIGHTBOX
   ========================================================================== */
.product-gallery-sticky {
    position: relative;
}

.product-zoom-box {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    height: 420px;
    padding: 24px;
    margin-bottom: 16px;
    cursor: zoom-in;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    user-select: none;
    -webkit-user-select: none;
}

.product-zoom-box.is-zoomed {
    cursor: crosshair;
}

.product-zoom-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transform-origin: center center;
    transition: transform 0.25s ease-out;
    will-change: transform, transform-origin;
    display: block;
    pointer-events: none;
}

.zoom-hint-pill {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.88);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.zoom-fullscreen-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    z-index: 3;
    font-size: 0.9rem;
}

.zoom-fullscreen-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: scale(1.08);
}

.gallery-thumbs-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.gallery-thumb {
    width: 75px;
    height: 75px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
    transform: translateY(-2px);
}

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

/* Lightbox Modal */
.image-lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.94);
}

.lightbox-dialog {
    position: relative;
    z-index: 2;
    width: 90vw;
    max-width: 920px;
    height: 86vh;
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

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

.lightbox-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60%;
}

.lightbox-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lightbox-tool-btn,
.lightbox-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: #ffffff;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.lightbox-tool-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
}

.lightbox-close-btn {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
    margin-left: 6px;
}

.lightbox-close-btn:hover {
    background: #dc2626;
    color: #ffffff;
}

.lightbox-body {
    flex: 1;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #ffffff;
}

.lightbox-body img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
    transform-origin: center center;
}

.cart-layout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 36px;
    align-items: start;
}

.checkout-layout-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 36px;
    align-items: start;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.about-pillars-grid, .why-us-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.why-us-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 24px 18px;
    border: 1px solid var(--border-light);
    text-align: center;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

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

.why-us-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 14px;
}

.why-us-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.why-us-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.45;
    margin-bottom: 0;
}

.account-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.filter-mobile-toggle-btn {
    display: none;
    width: 100%;
    padding: 12px 16px;
    background: #ffffff;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.92rem;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

/* 2. Floating Mobile Quick Action Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    z-index: 999;
    align-items: center;
    justify-content: space-around;
    padding: 4px 6px;
}

.mobile-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 8px;
    position: relative;
    transition: all 0.2s ease;
    flex: 1;
    text-align: center;
}

.mobile-bottom-nav-item i {
    font-size: 1.15rem;
    margin-bottom: 2px;
    color: #64748b;
    transition: color 0.2s ease;
}

.mobile-bottom-nav-item.active,
.mobile-bottom-nav-item:hover {
    color: var(--primary);
}

.mobile-bottom-nav-item.active i,
.mobile-bottom-nav-item:hover i {
    color: var(--primary);
}

.mobile-bottom-nav-item .nav-badge {
    position: absolute;
    top: 2px;
    right: calc(50% - 16px);
    background: #ef4444;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

/* 3. Media Queries: Tablets (< 992px) */
@media (max-width: 991px) {
    .catalog-layout-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .filter-mobile-toggle-btn {
        display: flex;
    }

    .catalog-sidebar {
        display: none;
    }

    .catalog-sidebar.is-open {
        display: block;
        animation: fadeIn 0.25s ease;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 24px;
    }

    .cart-layout-grid,
    .checkout-layout-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-pillars-grid, .why-us-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }

    .account-overview-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (1920px, 1366px, 1024px, 768px, 425px, 375px, 320px)
   ========================================================================== */

/* 1. Large Displays (1920px and above) */
@media (min-width: 1920px) {
    .container, .container-xl {
        max-width: 1440px !important;
    }
}

/* 2. Standard Desktops & Laptops (1366px to 1919px) */
@media (min-width: 1366px) and (max-width: 1919px) {
    .container, .container-xl {
        max-width: 1320px !important;
    }
}

/* 3. Small Laptops & Landscape Tablets (1024px to 1365px) */
@media (min-width: 1024px) and (max-width: 1365px) {
    .container, .container-xl {
        max-width: 980px !important;
    }
    .about-pillars-grid, .why-us-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 4. Desktop-only flex helper */
@media (min-width: 769px) {
    .desktop-only-flex {
        display: flex !important;
    }
}

/* 5. Media Queries: Mobile & Portrait Tablets (< 768px) */
@media (max-width: 768px) {
    body {
        padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important; /* Space for bottom nav */
    }

    .mobile-bottom-nav {
        display: flex !important;
        height: 60px !important;
    }

    .mobile-bottom-nav-item {
        min-height: 48px !important;
        min-width: 48px !important;
    }

    /* -------------------------------------------------------------------------
       DEDICATED ROOT MOBILE NAVIGATION DRAWER & BACKDROP (iPhone & Android)
       Zero Clipping, Zero Blur Glitches, Hardware Accelerated
       ------------------------------------------------------------------------- */
    #mobileHeaderMenuBtn {
        display: inline-flex !important;
    }

    /* Hide desktop dropdown on mobile */
    .desktop-only-mega {
        display: none !important;
    }

    /* Full-screen Dark Overlay (Solid Alpha, 0 Blur Shader Bug) */
    .mobile-nav-backdrop {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100% !important;
        height: 100dvh !important;
        background: rgba(15, 23, 42, 0.72) !important;
        z-index: 2499 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: opacity 0.25s ease, visibility 0.25s ease !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    .mobile-nav-backdrop.active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    /* High-Performance Hardware-Accelerated Mobile Drawer */
    .mobile-nav-drawer {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: min(360px, 86vw) !important;
        max-width: 86vw !important;
        height: 100% !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        background: #ffffff !important;
        z-index: 2500 !important;
        box-shadow: 12px 0 40px rgba(0, 0, 0, 0.35) !important;
        border: none !important;
        border-radius: 0 16px 16px 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        opacity: 1 !important;
        visibility: hidden !important;
        transform: translateX(-105%) !important;
        -webkit-transform: translateX(-105%) !important;
        transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease !important;
        pointer-events: none !important;
        overflow: hidden !important;
        -webkit-backface-visibility: hidden !important;
        backface-visibility: hidden !important;
    }

    .mobile-nav-drawer.active {
        visibility: visible !important;
        transform: translateX(0) !important;
        -webkit-transform: translateX(0) !important;
        pointer-events: auto !important;
    }

    /* Drawer Header */
    .mobile-nav-header {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 14px 16px !important;
        padding-top: max(14px, env(safe-area-inset-top, 14px)) !important;
        background: #f8fafc !important;
        border-bottom: 1.5px solid #e2e8f0 !important;
        flex-shrink: 0 !important;
    }

    .mobile-nav-brand {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        font-size: 0.95rem !important;
        font-weight: 800 !important;
        color: var(--secondary) !important;
    }

    .mobile-nav-close-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        border-radius: 50% !important;
        background: #e2e8f0 !important;
        color: #475569 !important;
        font-size: 1.5rem !important;
        line-height: 1 !important;
        border: none !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    .mobile-nav-close-btn:active {
        background: var(--primary) !important;
        color: #ffffff !important;
    }

    /* Drawer Scrollable Body */
    .mobile-nav-body {
        flex: 1 1 auto !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior: contain !important;
        padding: 12px 14px !important;
        padding-bottom: max(36px, env(safe-area-inset-bottom, 36px)) !important;
    }

    .mobile-nav-categories {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .mobile-nav-drawer,
    .mobile-nav-drawer * {
        white-space: normal !important;
        word-break: break-word !important;
    }

    .mobile-nav-cat-item {
        width: 100% !important;
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 10px !important;
        padding: 10px 12px !important;
    }

    .mobile-nav-cat-link {
        font-size: 0.88rem !important;
        font-weight: 700 !important;
        color: var(--secondary) !important;
        padding: 4px 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        text-decoration: none !important;
    }
    .mobile-nav-cat-link i {
        color: var(--primary) !important;
        font-size: 1rem !important;
        width: 20px !important;
        text-align: center !important;
    }

    .mobile-nav-sub-list {
        margin-top: 6px !important;
        padding-left: 30px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
    }

    .mobile-nav-sub-link {
        font-size: 0.8rem !important;
        color: #475569 !important;
        display: block !important;
        line-height: 1.35 !important;
        text-decoration: none !important;
    }

    .mobile-nav-sub-more {
        font-size: 0.75rem !important;
        font-weight: 700 !important;
        color: var(--primary) !important;
        display: inline-block !important;
        margin-top: 2px !important;
        text-decoration: none !important;
    }

    .mobile-nav-featured {
        background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%) !important;
        border: 1px solid #bae6fd !important;
        padding: 12px !important;
        margin-top: 4px !important;
    }
    .mobile-featured-tag {
        font-size: 0.7rem !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        color: var(--primary) !important;
        margin-bottom: 4px !important;
    }
    .mobile-featured-title {
        font-size: 0.88rem !important;
        font-weight: 800 !important;
        color: var(--secondary) !important;
    }
    .mobile-featured-sub {
        font-size: 0.78rem !important;
        color: #475569 !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
    }

    /* Mobile Quick Navigation section */
    .mobile-nav-quick-section {
        display: block !important;
        margin-top: 14px !important;
        padding-top: 14px !important;
        border-top: 1.5px dashed #cbd5e1 !important;
    }
    .mobile-nav-quick-heading {
        display: block !important;
        font-size: 0.75rem !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        color: #94a3b8 !important;
        margin-bottom: 8px !important;
    }
    .mobile-nav-quick-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
    }
    .mobile-nav-quick-link {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 8px 10px !important;
        background: #f1f5f9 !important;
        border-radius: 8px !important;
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        color: var(--secondary) !important;
        text-decoration: none !important;
    }
    .mobile-nav-quick-link i {
        color: var(--primary) !important;
        font-size: 0.85rem !important;
    }

    .mobile-nav-contact-actions {
        display: flex !important;
        gap: 8px !important;
        margin-top: 10px !important;
    }
    .btn-mobile-nav-phone,
    .btn-mobile-nav-wa {
        flex: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        padding: 8px 10px !important;
        border-radius: 8px !important;
        font-size: 0.78rem !important;
        font-weight: 700 !important;
        text-decoration: none !important;
    }
    .btn-mobile-nav-phone {
        background: #f1f5f9 !important;
        color: var(--secondary) !important;
        border: 1px solid #cbd5e1 !important;
    }
    .btn-mobile-nav-wa {
        background: #22c55e !important;
        color: #ffffff !important;
    }

    /* Lock body scroll when mobile menu is open */
    body.mobile-menu-open {
        overflow: hidden !important;
        touch-action: none !important;
    }

    /* Mini Cart Drawer Mobile Fix */
    .mini-cart-drawer {
        width: 100% !important;
        max-width: 100vw !important;
        right: -100% !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    .mini-cart-drawer.active {
        right: 0 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    /* Trust / Benefit Cards (2-Column Grid on Mobile) */
    .trust-features-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .trust-feature-card {
        padding: 14px 10px !important;
        border-radius: var(--radius-md) !important;
    }

    .trust-feature-icon-box {
        width: 42px !important;
        height: 42px !important;
        margin: 0 auto 8px auto !important;
    }

    .trust-feature-icon-box svg,
    .trust-feature-icon-box i {
        width: 20px !important;
        height: 20px !important;
        font-size: 1.15rem !important;
    }

    .trust-feature-title {
        font-size: 0.88rem !important;
        line-height: 1.25 !important;
        margin-bottom: 4px !important;
    }

    .trust-feature-desc {
        font-size: 0.72rem !important;
        line-height: 1.35 !important;
    }

    /* Why Us / Feature Cards (2-Column Grid on Mobile) */
    .about-pillars-grid, .why-us-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .why-us-card {
        padding: 14px 10px !important;
        border-radius: var(--radius-md) !important;
    }

    .why-us-icon-circle {
        width: 38px !important;
        height: 38px !important;
        font-size: 1.05rem !important;
        margin-bottom: 8px !important;
    }

    .why-us-title {
        font-size: 0.85rem !important;
        line-height: 1.25 !important;
        margin-bottom: 4px !important;
    }

    .why-us-desc {
        font-size: 0.72rem !important;
        line-height: 1.35 !important;
    }

    /* Category Sliders Header (Icon + Heading in Same Row, Hide Subcategories) */
    .cat-slider-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        margin-bottom: 14px !important;
    }

    .cat-slider-title-group {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
        gap: 0 !important;
    }

    .cat-slider-heading-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .cat-slider-icon-circle {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        border-radius: 10px !important;
        font-size: 1.05rem !important;
        flex-shrink: 0 !important;
    }

    .cat-slider-title {
        font-size: 1.1rem !important;
        line-height: 1.25 !important;
        margin: 0 !important;
        white-space: normal !important;
        word-break: normal !important;
    }

    .cat-slider-sub-pills,
    .desktop-only-flex {
        display: none !important;
    }

    /* Direct Factory Pricing Promotional Banner */
    .promo-strip-banner {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 24px 18px !important;
        gap: 18px !important;
        margin: 28px 0 !important;
    }

    .promo-strip-content {
        width: 100% !important;
        max-width: 100% !important;
    }

    .promo-strip-title,
    .promo-strip-content h3 {
        font-size: 1.28rem !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
        word-break: normal !important;
        white-space: normal !important;
    }

    .promo-strip-desc,
    .promo-strip-content p {
        font-size: 0.86rem !important;
        line-height: 1.45 !important;
        margin-bottom: 0 !important;
        max-width: 100% !important;
    }

    .promo-strip-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .promo-btn-main,
    .promo-brochure-btn {
        width: 100% !important;
        justify-content: center !important;
        min-height: 44px !important;
        padding: 10px 16px !important;
        font-size: 0.88rem !important;
    }

    /* Products Grid on Mobile */
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .product-card {
        padding: 0 !important;
        border-radius: var(--radius-sm) !important;
    }

    .product-img-box {
        height: 125px !important;
    }

    .product-img-box img {
        max-height: 110px !important;
    }

    .product-content {
        padding: 8px 8px 10px 8px !important;
    }

    .product-title {
        font-size: 0.78rem !important;
        line-height: 1.25 !important;
        height: 2.5em !important;
        min-height: 2.5em !important;
        margin-bottom: 4px !important;
        overflow: hidden;
    }

    .product-price-row {
        margin-bottom: 6px !important;
        gap: 4px !important;
    }

    .price-current {
        font-size: 0.88rem !important;
    }

    .price-discount-circle {
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
        min-height: 22px !important;
        font-size: 0.58rem !important;
    }

    .price-original {
        font-size: 0.70rem !important;
    }

    .product-footer-actions {
        gap: 4px !important;
    }

    .btn-add-cart {
        min-height: 30px !important;
        padding: 4px 6px !important;
        font-size: 0.72rem !important;
    }

    .btn-quote-icon {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;
        font-size: 0.75rem !important;
    }

    /* Product Detail Page Mobile */
    .product-detail-layout {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        grid-template-columns: minmax(0, 1fr) !important;
        padding: 14px !important;
        gap: 16px !important;
        box-sizing: border-box !important;
    }

    .product-detail-layout > * {
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .product-gallery-sticky,
    .product-zoom-box {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .product-zoom-box {
        min-height: 200px !important;
        height: 260px !important;
        padding: 10px !important;
        margin-bottom: 12px !important;
    }

    .product-add-cart-row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    .product-add-cart-row .btn-primary {
        flex: 1 1 180px !important;
        width: 100% !important;
    }

    #mainGalleryImage {
        max-height: 250px !important;
    }

    .product-detail-layout h1 {
        font-size: 1.35rem !important;
        line-height: 1.25 !important;
    }

    .form-grid-2, .form-grid-3 {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Breadcrumbs */
    .breadcrumb-wrap {
        font-size: 0.78rem !important;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 4px;
    }

    /* Compact Mobile Footer */
    .site-footer {
        padding: 22px 0 14px 0 !important;
    }

    .footer-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px 12px !important;
        margin-bottom: 14px !important;
    }

    .footer-col-brand,
    .footer-col-contact {
        grid-column: span 2 !important;
    }

    .footer-col-links {
        grid-column: span 1 !important;
    }

    .footer-logo-wrap {
        margin-bottom: 8px !important;
    }

    .footer-logo-card {
        padding: 4px 10px !important;
        border-radius: 6px !important;
    }

    .footer-logo-img {
        height: 25px !important;
    }

    .footer-brand-desc {
        font-size: 0.74rem !important;
        line-height: 1.38 !important;
        margin-bottom: 8px !important;
    }

    .footer-social-links {
        gap: 10px !important;
        font-size: 0.90rem !important;
        margin-bottom: 2px !important;
    }

    .footer-col h4 {
        font-size: 0.82rem !important;
        font-weight: 700 !important;
        margin-bottom: 6px !important;
    }

    .footer-col ul li {
        margin-bottom: 4px !important;
    }

    .footer-col ul li a {
        font-size: 0.72rem !important;
        line-height: 1.3 !important;
    }

    .footer-contact-item {
        font-size: 0.72rem !important;
        margin-bottom: 4px !important;
        line-height: 1.35 !important;
    }

    .footer-contact-item i {
        font-size: 0.74rem !important;
        margin-right: 5px !important;
    }

    .footer-badge-wrap {
        margin-top: 6px !important;
    }

    .footer-iso-badge {
        font-size: 0.65rem !important;
        padding: 2px 7px !important;
    }

    .footer-bottom {
        padding-top: 10px !important;
        font-size: 0.68rem !important;
        line-height: 1.35 !important;
        flex-direction: column !important;
        gap: 4px !important;
        text-align: center !important;
    }
}

/* 6. Standard Mobile Phones (<= 425px) */
@media (max-width: 425px) {
    .trust-features-grid {
        gap: 8px !important;
    }

    .trust-feature-card {
        padding: 12px 8px !important;
    }

    .trust-feature-icon-box {
        width: 38px !important;
        height: 38px !important;
        margin-bottom: 6px !important;
    }

    .trust-feature-title {
        font-size: 0.82rem !important;
    }

    .trust-feature-desc {
        font-size: 0.68rem !important;
    }

    .about-pillars-grid, .why-us-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .why-us-card {
        padding: 12px 8px !important;
    }

    .why-us-icon-circle {
        width: 34px !important;
        height: 34px !important;
        font-size: 0.95rem !important;
        margin-bottom: 6px !important;
    }

    .why-us-title {
        font-size: 0.80rem !important;
    }

    .why-us-desc {
        font-size: 0.68rem !important;
    }

    .cat-slider-title {
        font-size: 1.02rem !important;
    }

    .promo-strip-title,
    .promo-strip-content h3 {
        font-size: 1.18rem !important;
    }

    .footer-grid {
        gap: 12px 10px !important;
    }
    .footer-col h4 {
        font-size: 0.80rem !important;
    }
    .footer-col ul li a {
        font-size: 0.70rem !important;
    }
    .footer-brand-desc,
    .footer-contact-item {
        font-size: 0.70rem !important;
    }
}

/* 7. Smaller Mobile Phones (<= 375px) */
@media (max-width: 375px) {
    .trust-features-grid {
        gap: 6px !important;
    }

    .trust-feature-card {
        padding: 10px 6px !important;
    }

    .about-pillars-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
    }

    .why-us-card {
        padding: 10px 6px !important;
    }

    .cat-slider-title {
        font-size: 0.96rem !important;
    }

    .cat-slider-card {
        flex: 0 0 calc(55% - 4px) !important;
    }
}

/* 8. Extra Small Mobile Phones (<= 320px) */
@media (max-width: 320px) {
    .pure-product-grid {
        grid-template-columns: 1fr !important;
    }

    .cat-slider-card {
        flex: 0 0 100% !important;
    }

    .trust-features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 4px !important;
    }

    .trust-feature-card {
        padding: 8px 4px !important;
    }

    .trust-feature-icon-box {
        width: 30px !important;
        height: 30px !important;
        margin-bottom: 4px !important;
    }

    .trust-feature-title {
        font-size: 0.74rem !important;
    }

    .trust-feature-desc {
        font-size: 0.62rem !important;
        line-height: 1.2 !important;
    }

    .about-pillars-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 4px !important;
    }

    .why-us-card {
        padding: 8px 4px !important;
    }

    .why-us-icon-circle {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.8rem !important;
        margin-bottom: 4px !important;
    }

    .why-us-title {
        font-size: 0.72rem !important;
    }

    .why-us-desc {
        font-size: 0.60rem !important;
        line-height: 1.2 !important;
    }

    .footer-grid {
        gap: 10px 6px !important;
    }
    .footer-col h4 {
        font-size: 0.76rem !important;
    }
    .footer-col ul li a {
        font-size: 0.68rem !important;
    }
    .footer-brand-desc,
    .footer-contact-item {
        font-size: 0.68rem !important;
    }
    .footer-bottom {
        font-size: 0.64rem !important;
    }
}

/* ==========================================================================
   PAGINATION STYLING (NO BULLETS, SLEEK MODERN UI)
   ========================================================================== */
.custom-pagination-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
    margin-top: 10px;
}

.pagination-info {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.pagination-info span {
    font-weight: 700;
    color: var(--secondary);
}

.pagination-list,
ul.pagination {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-wrap: wrap !important;
}

.pagination-list li,
.pagination-list .page-item,
ul.pagination li,
ul.pagination .page-item {
    list-style: none !important;
    list-style-type: none !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pagination-list .page-link,
ul.pagination .page-link,
ul.pagination li a,
ul.pagination li span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 12px !important;
    border-radius: var(--radius-md) !important;
    background: #ffffff !important;
    border: 1px solid var(--border-color) !important;
    color: var(--secondary) !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: var(--transition) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.pagination-list .page-link:hover,
ul.pagination .page-link:hover,
ul.pagination li a:hover {
    background: var(--primary-light) !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

.pagination-list .page-item.active .page-link,
ul.pagination .page-item.active .page-link,
ul.pagination li.active span {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 8px rgba(2, 132, 199, 0.35) !important;
}

.pagination-list .page-item.disabled .page-link,
ul.pagination .page-item.disabled .page-link,
ul.pagination li.disabled span {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
    background: #f8fafc !important;
    border-color: var(--border-light) !important;
    color: var(--text-light) !important;
}

.pagination-list .page-dots,
ul.pagination .page-item.disabled span.page-link {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    min-width: 24px !important;
}

/* ==========================================================================
   SEARCH AUTOCOMPLETE DROPDOWN & RESULTS
   ========================================================================== */
.search-autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1.5px solid var(--primary);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.22), 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 1050;
    max-height: 440px;
    overflow-y: auto;
    text-align: left;
}

.search-autocomplete-header {
    padding: 8px 14px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-autocomplete-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    color: var(--secondary);
    transition: background 0.15s ease, color 0.15s ease;
    cursor: pointer;
}

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

.search-autocomplete-item:hover,
.search-autocomplete-item.is-active-item {
    background: #f0f9ff;
    color: var(--primary);
}

.search-autocomplete-thumb {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2px;
}

.search-autocomplete-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

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

.search-autocomplete-title {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: inherit;
}

.search-autocomplete-meta {
    font-size: 0.74rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.search-autocomplete-price-col {
    text-align: right;
    white-space: nowrap;
}

.search-autocomplete-price {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--primary);
}

.search-autocomplete-original {
    font-size: 0.75rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.search-autocomplete-footer {
    padding: 10px 14px;
    background: #f8fafc;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.search-autocomplete-footer a {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.search-autocomplete-footer a:hover {
    text-decoration: underline;
}

.search-autocomplete-state {
    padding: 24px 16px;
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Active filter count badge for shop mobile drawer */
.active-filter-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    min-width: 22px;
    height: 22px;
    border-radius: var(--radius-full);
    padding: 0 6px;
    line-height: 1;
}

/* Order visual progress timeline */
.order-tracking-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    margin: 24px 0 16px 0;
    padding: 0 10px;
}

.order-tracking-timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 4px;
    background: #e2e8f0;
    z-index: 1;
}

.order-tracking-progress-bar {
    position: absolute;
    top: 20px;
    left: 40px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, #10b981 100%);
    z-index: 2;
    transition: width 0.5s ease;
}

.timeline-step {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 120px;
}

.timeline-step-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #cbd5e1;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.timeline-step.is-completed .timeline-step-icon {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.timeline-step.is-current .timeline-step-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 0 0 5px rgba(2, 132, 199, 0.25);
    animation: pulseStep 2s infinite;
}

@keyframes pulseStep {
    0% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(2, 132, 199, 0); }
    100% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); }
}

.timeline-step-label {
    margin-top: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.25;
}

.timeline-step.is-upcoming .timeline-step-label {
    color: var(--text-light);
    font-weight: 500;
}

.timeline-step-time {
    margin-top: 4px;
    font-size: 0.72rem;
    color: var(--text-muted);
}

@media (max-width: 640px) {
    .order-tracking-timeline {
        flex-direction: column;
        align-items: stretch;
        padding-left: 20px;
    }
    .order-tracking-timeline::before {
        top: 20px;
        bottom: 20px;
        left: 36px;
        right: auto;
        width: 4px;
        height: auto;
    }
    .order-tracking-progress-bar {
        left: 36px;
        top: 20px;
        width: 4px !important;
        height: 0;
        transition: height 0.5s ease;
    }
    .timeline-step {
        flex-direction: row;
        width: 100%;
        text-align: left;
        gap: 16px;
        margin-bottom: 22px;
    }
    .timeline-step-label {
        margin-top: 0;
        font-size: 0.88rem;
    }
}
