﻿/* ============================================================
   MURUGAN TRADING â€“ PREMIUM STYLESHEET
   ============================================================ */

/* â”€â”€ Variables â”€â”€ */
:root {
    --primary:    #1a3a5c;
    --primary-lt: #245080;
    --dark:       #0d1f30;
    --accent:     #d4900a;
    --accent-lt:  #e8a822;
    --accent-bg:  #fef3dc;
    --text:       #1e2d3d;
    --text-muted: #64748b;
    --light-bg:   #f4f6f9;
    --white:      #ffffff;
    --border:     #dde3eb;
    --shadow-sm:  0 1px 8px rgba(26,58,92,.07);
    --shadow-md:  0 6px 24px rgba(26,58,92,.12);
    --shadow-lg:  0 14px 44px rgba(26,58,92,.16);
    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  18px;
    --transition: .26s cubic-bezier(.4,0,.2,1);
}

/* â”€â”€ Reset / Base â”€â”€ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; }

/* â”€â”€ Top Announcement Bar â”€â”€ */
.top-bar {
    background: var(--primary);
    color: rgba(255,255,255,.9);
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .01em;
    padding: 8px 0;
}
.top-bar-inner {
    display: flex;
    justify-content: center;
    gap: 32px;
    align-items: center;
}
.top-bar i { color: var(--accent); margin-right: 6px; }

/* â”€â”€ Sticky header wrapper â€” ALL THREE bars in one unit â”€â”€ */
.sticky-header-wrap {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}
.sticky-header-wrap.scrolled {
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* â”€â”€ Site Header â”€â”€ */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    /* NOT sticky individually â€” parent wrapper handles it */
    position: static;
    z-index: auto;
}

/* Override Bootstrap container padding â€” pin logo to left edge */
.header-fluid {
    padding-left: 16px;
    padding-right: 16px;
}

/* Header inner: logo LEFT | search CENTER | icons RIGHT */
.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 8px 0;
}
/* Logo â€” left-center zone, 40px from edge */
.header-logo {
    flex-shrink: 0;
    margin-left: 40px !important;
    padding-left: 0 !important;
}
/* Search expands to fill center */
.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
}
/* Right group stays on far right */
.header-right {
    flex-shrink: 0;
    margin-left: auto;
}


/* â”€â”€ Logo: icon only, no text â”€â”€ */
.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    line-height: 0;
    margin-left: 40px !important;
    padding-left: 0 !important;
}
.header-logo img {
    height: 56px !important;
    width: auto !important;
    max-width: unset !important;
    max-height: unset !important;
    object-fit: contain;
    padding: 0 !important;
    margin: 0 !important;
    display: block;
    transition: transform var(--transition);
}
.header-logo:hover img { transform: scale(1.05); }


/* â”€â”€ Search: centered column â”€â”€ */
.header-search {
    display: flex;
    border: 2px solid var(--border);
    border-radius: 50px;
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}
.header-search:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26,58,92,.08);
}
.header-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 11px 20px;
    font-family: 'Inter', sans-serif;
    font-size: .92rem;
    color: var(--text);
    background: transparent;
}
.header-search button {
    background: var(--primary);
    border: none;
    color: var(--white);
    padding: 11px 22px;
    cursor: pointer;
    transition: background var(--transition);
    font-size: 1rem;
}
.header-search button:hover { background: var(--accent); }

/* â”€â”€ Right group: lang + divider + icons â”€â”€ */
.header-right {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.header-divider {
    width: 1px;
    height: 32px;
    background: var(--border);
    margin: 0 6px;
}

/* â”€â”€ Language Selector â”€â”€ */
.lang-selector {
    position: relative;
}
.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    background: var(--white);
    color: var(--primary);
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}
.lang-btn i { font-size: .85rem; }
.lang-btn:hover {
    background: var(--light-bg);
    border-color: var(--primary);
}
.lang-arrow {
    font-size: .65rem !important;
    transition: transform var(--transition);
}
.lang-selector.open .lang-arrow { transform: rotate(180deg); }
.lang-selector.open .lang-btn { border-color: var(--primary); background: var(--light-bg); }

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    min-width: 180px;
    overflow: hidden;
    z-index: 1100;
    animation: dropIn .18s ease;
}
@keyframes dropIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.lang-selector.open .lang-dropdown { display: block; }

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 16px;
    border: none;
    background: none;
    color: var(--text);
    font-size: .88rem;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: background var(--transition);
    text-align: left;
}
.lang-option:hover { background: var(--light-bg); }
.lang-option.active { color: var(--primary); font-weight: 600; background: rgba(26,58,92,.05); }
.lang-flag { font-size: 1.1rem; }
.lang-check { margin-left: auto; font-size: .75rem; color: var(--accent); }
.lang-option:not(.active) .lang-check { display: none; }

/* â”€â”€ Header Action Buttons (Cart, Wishlist) â”€â”€ */
.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 7px 10px;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: .7rem;
    font-weight: 600;
    transition: all var(--transition);
    text-decoration: none;
    cursor: pointer;
}
.action-btn:hover { background: var(--light-bg); color: var(--primary); }
.action-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.action-icon-wrap i { font-size: 1.25rem; color: var(--primary); }
.action-label { color: var(--text-muted); font-size: .68rem; }
.action-count-inline { font-weight: 700; color: var(--primary); margin-left: 2px; }
.action-btn:hover .action-label { color: var(--primary); }
.action-badge {
    position: absolute;
    top: -6px; right: -8px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    width: 18px; height: 18px;
    font-size: .62rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid var(--white);
}
.action-badge:empty { display: none; }

/* â”€â”€ Sign In button style â”€â”€ */
.btn-signin {
    flex-direction: row;
    gap: 7px;
    padding: 9px 18px;
    background: var(--primary);
    color: var(--white) !important;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .01em;
    text-decoration: none;
    transition: all var(--transition);
}
.btn-signin i { font-size: 1rem; color: var(--white) !important; }
.btn-signin span { color: var(--white); }
.btn-signin:hover { background: var(--accent); color: var(--white) !important; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(232,160,32,.35); }
.btn-signin .action-label { display: none; }

.user-dropdown-wrap { position: relative; }
.user-drop-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border: 1px solid #dde3eb;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(26,58,92,.14);
    min-width: 180px;
    padding: 8px 0;
    z-index: 999;
}
.user-drop-menu.show { display: block; }
.user-drop-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: .83rem;
    font-weight: 500;
    color: #1e2d3d;
    text-decoration: none;
    transition: background .18s;
}
.user-drop-menu a:hover { background: #f4f6f9; }
.user-drop-menu a i { color: #d4900a; width: 14px; text-align: center; }

/* Mobile Toggle */
.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    margin-left: 4px;
}
.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all var(--transition);
}

/* â”€â”€ Main Nav â”€â”€ */
.main-nav {
    background: var(--primary);
    position: static; /* parent wrapper is sticky, not this element */
    z-index: auto;
}
.nav-list {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    list-style: none;
    margin: 0;
    padding: 0 !important;
    gap: 2px;
}
.nav-item { 
    position: relative; 
    padding: 0 18px !important;
}
.nav-item .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 18px;
    color: rgba(255,255,255,.85);
    font-size: .88rem;
    font-weight: 500;
    transition: all var(--transition);
    white-space: nowrap;
}
.nav-item .nav-link:hover,
.nav-item .nav-link.active {
    color: #f5a623 !important;
    background: rgba(255,255,255,.1);
}
.nav-item .nav-link.active { 
    border-bottom: 3px solid #f5a623 !important;
    padding-bottom: 4px !important;
}
.nav-item i.fa-chevron-down { font-size: .72rem; }

/* Mega Dropdown */
.mega-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    min-width: 480px;
    gap: 24px;
    display: none;
    flex-direction: row;
    z-index: 1001;
    border-top: 3px solid var(--accent);
}
.has-dropdown:hover .mega-dropdown { display: flex; }
.mega-col { flex: 1; }
.mega-col h6 {
    font-weight: 700;
    color: var(--primary);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
}
.mega-col a {
    display: block;
    color: var(--text);
    font-size: .88rem;
    padding: 5px 0;
    transition: color var(--transition);
}
.mega-col a:hover { color: var(--accent); padding-left: 8px; }

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 998;
}

/* ============================================================
   HOMEPAGE SECTIONS
   ============================================================ */


/* â”€â”€ USP Strip â”€â”€ */
.usp-strip { background: var(--light-bg); border-bottom: 1px solid var(--border); }
.usp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.usp-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 24px;
    border-right: 1px solid var(--border);
    transition: background var(--transition);
}
.usp-item:last-child { border-right: none; }
.usp-item:hover { background: var(--white); }
.usp-icon {
    width: 48px; height: 48px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.usp-icon i { color: var(--accent); font-size: 1.2rem; }
.usp-text h6 { font-weight: 700; color: var(--primary); font-size: .88rem; margin: 0 0 2px; }
.usp-text p { font-size: .78rem; color: var(--text-muted); margin: 0; }

/* â”€â”€ Section Headers â”€â”€ */
.section-header { margin-bottom: 40px; }
.section-label {
    display: inline-block;
    background: rgba(232,160,32,.12);
    color: var(--accent);
    font-size: .75rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 50px;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}
.section-sub { color: var(--text-muted); font-size: .95rem; margin-top: 8px; }
.title-line {
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-lt));
    border-radius: 4px;
    margin-top: 12px;
}

/* â”€â”€ Category Cards â”€â”€ */
.categories-section { padding: 72px 0 80px; display: block !important; height: auto !important; overflow: visible !important; }

.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.cat-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
    cursor: pointer;
    position: relative;
}
.cat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.cat-img-wrap {
    position: relative;
    overflow: hidden;
    height: 180px;
    background: #f0f4f8;
}
.cat-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.cat-card:hover .cat-img-wrap img { transform: scale(1.08); }
.cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,58,92,.7), transparent);
    opacity: 0;
    transition: opacity var(--transition);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 14px;
}
.cat-card:hover .cat-overlay { opacity: 1; }
.cat-overlay span {
    color: var(--white);
    font-size: .82rem;
    font-weight: 600;
    background: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
}
.cat-body {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cat-name { font-weight: 700; color: var(--primary); font-size: .95rem; }
.cat-count { font-size: .78rem; color: var(--text-muted); }
.cat-arrow {
    width: 32px; height: 32px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    flex-shrink: 0;
}
.cat-card:hover .cat-arrow {
    background: var(--accent);
    color: var(--white);
}
.cat-arrow i { font-size: .8rem; color: var(--primary); transition: color var(--transition); }
.cat-card:hover .cat-arrow i { color: var(--white); }

/* â”€â”€ Featured Products â”€â”€ */
.featured-section { 
    padding: 72px 0 80px; 
    background: var(--light-bg); 
    display: block !important; 
    height: auto !important; 
    overflow: visible !important; 
}

.products-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px;
    align-items: stretch;
}

/* â”€â”€ Product Card: flexbox column so button sticks to bottom â”€â”€ */
.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%; /* fill grid row */
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

/* Sale / New / Hot badge â€” top-left of image */
.product-badge {
    position: absolute;
    top: 12px; left: 12px;
    z-index: 2;
    background: var(--accent);
    color: var(--white);
    font-size: .68rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: .05em;
    line-height: 1.6;
}
.product-badge.new  { background: #27ae60; }
.product-badge.hot  { background: #e74c3c; }

/* Wishlist heart â€” top-right of image */
.product-wishlist-btn {
    position: absolute;
    top: 12px; right: 12px;
    z-index: 2;
    width: 34px; height: 34px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.product-wishlist-btn:hover { background: #ff4757; }
.product-wishlist-btn:hover i { color: var(--white); }
.product-wishlist-btn i { color: #ff6b81; font-size: .9rem; }

/* â”€â”€ Image container: fixed 200px, grey bg, contain â”€â”€ */
.product-img-wrap {
    height: 200px;
    min-height: 200px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 16px;
    flex-shrink: 0; /* never compress */
}
.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .4s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }

/* â”€â”€ Card body: flex column, fills remaining height â”€â”€ */
.product-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1; /* expand to fill card */
}

/* Brand â€” same size, same color, fixed line */
.product-brand {
    font-size: .7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 5px;
    line-height: 1;
}

/* Title â€” exactly 2 lines, clipped */
.product-name {
    font-weight: 700;
    color: var(--primary);
    font-size: .92rem;
    line-height: 1.4;
    margin-bottom: 10px;
    /* 2-line clamp */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2; /* standard property for compatibility */
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.4em * 2); /* reserve exactly 2 lines */
}

/* Star rating â€” same row, same height */
.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    min-height: 20px;
}
.stars { color: var(--accent); font-size: .8rem; white-space: nowrap; }
.rating-count { font-size: .73rem; color: var(--text-muted); white-space: nowrap; }

/* Price row â€” price, strikethrough, save badge all on one line */
.product-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0; /* remove bottom margin â€” spacer handles it */
    min-height: 32px;
}
.price-current {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.12rem;
    color: var(--primary);
    white-space: nowrap;
}
.price-old {
    font-size: .82rem;
    color: var(--text-muted);
    text-decoration: line-through;
    white-space: nowrap;
}
.price-save {
    font-size: .7rem;
    font-weight: 700;
    color: #27ae60;
    background: rgba(39,174,96,.1);
    padding: 2px 7px;
    border-radius: 4px;
    white-space: nowrap;
}

/* Spacer pushes button to the bottom of every card */
.product-spacer { flex: 1; min-height: 12px; }

/* â”€â”€ Add to Cart â€” pinned to bottom â”€â”€ */
.btn-add-cart {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 11px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: .87rem;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px; /* space above button */
    flex-shrink: 0;
}
.btn-add-cart:hover { background: var(--accent); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(232,160,32,.3); }

/* Generic Section Buttons */
.btn-outline-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    border: 2px solid var(--primary);
    border-radius: 50px;
    color: var(--primary);
    font-weight: 600;
    font-size: .9rem;
    transition: all var(--transition);
}
.btn-outline-primary-custom:hover { background: var(--primary); color: var(--white); }

/* â”€â”€ Promo Banner â”€â”€ */
.promo-section { padding: 60px 0; display: block !important; height: auto !important; overflow: visible !important; }
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promo-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: center;
    padding: 40px;
    cursor: pointer;
    transition: transform var(--transition);
}
.promo-card:hover { transform: translateY(-4px); }
.promo-card-1 { background: linear-gradient(135deg, var(--primary) 0%, #2d6aa0 100%); }
.promo-card-2 { background: linear-gradient(135deg, #e8a020 0%, #f5c842 100%); }
.promo-content { position: relative; z-index: 2; }
.promo-label {
    display: inline-block;
    background: rgba(255,255,255,.2);
    color: var(--white);
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: .07em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.promo-card-2 .promo-label { background: rgba(0,0,0,.15); }
.promo-content h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 6px;
    line-height: 1.2;
}
.promo-card-2 .promo-content h3 { color: var(--dark); }
.promo-content p { color: rgba(255,255,255,.85); font-size: .9rem; margin-bottom: 18px; }
.promo-card-2 .promo-content p { color: rgba(0,0,0,.7); }
.promo-deco {
    position: absolute;
    right: -20px; top: -20px;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
}
.promo-deco-2 {
    position: absolute;
    right: 40px; bottom: -40px;
    width: 120px; height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
}
.btn-promo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: .88rem;
    transition: all var(--transition);
}
.promo-card-1 .btn-promo { background: var(--accent); color: var(--white); }
.promo-card-1 .btn-promo:hover { background: var(--accent-lt); }
.promo-card-2 .btn-promo { background: var(--dark); color: var(--white); }
.promo-card-2 .btn-promo:hover { background: var(--primary); }

/* â”€â”€ Why Choose Us â”€â”€ */
.why-section { 
    padding: 80px 0; 
    background: var(--primary); 
    display: block !important; 
    height: auto !important; 
    overflow: visible !important; 
}
.why-section .section-title { color: var(--white); }
.why-section .section-label { background: rgba(232,160,32,.2); }
.why-section .title-line { background: linear-gradient(90deg, var(--accent), var(--accent-lt)); }
.why-section .section-sub { color: rgba(255,255,255,.7); }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.why-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    transition: all var(--transition);
}
.why-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); border-color: var(--accent); }
.why-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--accent-lt));
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.why-icon i { font-size: 1.4rem; color: var(--white); }
.why-card h5 { font-weight: 700; color: var(--white); font-size: 1rem; margin-bottom: 10px; }
.why-card p { color: rgba(255,255,255,.65); font-size: .88rem; line-height: 1.7; margin: 0; }

/* â”€â”€ Brands Strip (Auto-scroll marquee) â”€â”€ */
.brands-section { padding: 56px 0; background: var(--white); border-bottom: 1px solid var(--border); }
.brands-title { text-align: center; color: var(--text-muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 32px; }

/* Marquee wrapper with fade edges */
.brands-wrapper {
    overflow: hidden !important;
    width: 100%;
    position: relative;
    padding: 0 !important;
}
.brands-wrapper::before,
.brands-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 60px !important;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.brands-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}
.brands-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

/* Scrolling track */
.brands-track {
    display: flex;
    width: max-content;
    animation: scroll-brands 25s linear infinite;
}
.brands-wrapper:hover .brands-track {
    animation-play-state: paused;
}

@keyframes scroll-brands {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Brand items with dot separator */
.brand-item {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1a2e4a;
    letter-spacing: 2px;
    padding: 10px 30px;
    white-space: nowrap;
    opacity: 0.6;
    transition: opacity 0.3s;
    display: inline-flex;
    align-items: center;
}
.brand-item::before {
    content: 'Â·';
    color: #f5a623;
    font-size: 24px;
    margin-right: 30px;
    font-weight: 700;
}
.brand-item:first-child::before {
    display: none;
}
.brand-item:hover {
    opacity: 1;
    color: #f5a623;
}

/* â”€â”€ Testimonials â”€â”€ */
.testimonials-section { 
    padding: 80px 0; 
    background: var(--light-bg); 
    display: block !important; 
    height: auto !important; 
    overflow: visible !important; 
}
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.testimonial-stars { color: var(--accent); font-size: .9rem; margin-bottom: 14px; }
.testimonial-text { font-size: .9rem; color: var(--text); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: .9rem;
    flex-shrink: 0;
}
.author-name { font-weight: 700; color: var(--primary); font-size: .88rem; }
.author-location { font-size: .75rem; color: var(--text-muted); }

/* â”€â”€ Newsletter â”€â”€ */
.newsletter-section { 
    padding: 80px 0; 
    background: #1a2e4a !important; 
    margin: 0 !important;
    border: none !important;
    display: block !important; 
    height: auto !important; 
    overflow: visible !important; 
}
.newsletter-inner { text-align: center; max-width: 560px; margin: 0 auto; }
.newsletter-inner h2 { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--white); font-size: 1.9rem; margin-bottom: 10px; }
.newsletter-inner p { color: rgba(255,255,255,.75); margin-bottom: 30px; }
.newsletter-form { display: flex; gap: 0; border-radius: 50px; overflow: hidden; box-shadow: var(--shadow-md); }
.newsletter-form input {
    flex: 1;
    border: none;
    padding: 14px 22px;
    font-family: 'Inter', sans-serif;
    font-size: .93rem;
    outline: none;
}
.newsletter-form button {
    background: var(--accent);
    border: none;
    color: var(--white);
    padding: 14px 28px;
    font-weight: 700;
    font-size: .9rem;
    cursor: pointer;
    transition: background var(--transition);
    white-space: nowrap;
}
.newsletter-form button:hover { background: var(--accent-lt); }

/* â”€â”€ Footer â”€â”€ */
.site-footer { 
    background: #ffffff !important; 
    color: #333333 !important; 
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    display: block !important; 
    height: auto !important; 
    overflow: visible !important; 
}
.site-footer * { box-sizing: border-box; }
.footer-top { 
    padding: 50px 60px !important; 
    background: #ffffff !important;
    margin: 0 !important;
    border: none !important;
    border-top: 3px solid #f5a623 !important;
}
.footer-grid { 
    display: grid !important; 
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr !important; 
    gap: 40px !important; 
    align-items: start !important; 
}

/* Logo column - no box border */
.footer-brand { 
    background: transparent !important; 
    border: none !important; 
    padding: 0 !important; 
    display: block !important;
    width: 100% !important;
    max-width: unset !important;
}
.footer-brand img { 
    height: 80px !important; 
    width: auto !important; 
    background: transparent !important; 
    border: none !important; 
    padding: 0 !important; 
    margin-bottom: 14px; 
}
.footer-brand p { font-size: .87rem; color: #555555 !important; max-width: 280px; line-height: 1.7; margin-bottom: 16px; }
.footer-socials { display: flex; gap: 10px; margin-top: 0; }

/* Social icons - dark on white */
.social-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #1a2e4a !important;
    display: flex; align-items: center; justify-content: center;
    border: none !important;
    color: #ffffff !important;
    font-size: 1.1rem;
    transition: all var(--transition);
}
.social-btn:hover { background: #f5a623 !important; color: #ffffff !important; transform: translateY(-2px); }

/* Column headings - navy with gold underline */
.footer-col h6 { 
    font-family: 'Poppins', sans-serif; 
    font-weight: 700; 
    color: #1a2e4a !important; 
    font-size: .9rem; 
    margin-bottom: 18px; 
    padding-bottom: 10px; 
    border-bottom: 2px solid #f5a623 !important; 
    display: inline-block !important;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #333333 !important; font-size: .87rem; transition: all var(--transition); text-decoration: none; }
.footer-col a:hover { color: #f5a623 !important; padding-left: 6px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; font-size: .87rem; color: #333333 !important; }
.footer-contact-item i { color: #f5a623 !important; margin-top: 3px; flex-shrink: 0; }
.footer-contact-item i.fa-whatsapp { color: #25D366 !important; font-size: 16px !important; }
.footer-contact-item a { color: #333333 !important; text-decoration: none; transition: color var(--transition); }
.footer-contact-item a[href*="wa.me"] { color: #333333 !important; font-weight: 500 !important; }
.footer-contact-item a[href*="wa.me"]:hover { color: #25D366 !important; }
.footer-contact-item a:hover { color: #f5a623 !important; }

/* Footer columns wrapper - white with light border */
.footer-columns {
    background: #ffffff !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 12px !important;
    padding: 30px !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
}
.footer-bottom { 
    background: #1a2e4a !important; 
    border-top: none !important;
    padding: 16px 40px !important;
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
}
.footer-bottom-left { font-size: .82rem; color: rgba(255,255,255,.7) !important; }
.footer-bottom-left a {
    color: #f5a623 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}
.footer-bottom-left a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}
.footer-bottom-right { display: flex; gap: 8px; }
.payment-badge {
    background: #ffffff !important;
    color: #1a2e4a !important;
    font-weight: 700 !important;
    border-radius: 5px !important;
    padding: 4px 10px !important;
    font-size: 11px !important;
    border: 1px solid rgba(26,46,74,0.2) !important;
}

.payment-icons { display: flex; gap: 8px; align-items: center; }
.payment-icons img {
    height: 28px !important;
    width: auto !important;
    border-radius: 4px !important;
    background: #fff !important;
    padding: 3px 6px !important;
    object-fit: contain !important;
}

/* Footer - Remove bottom border/line */
.site-footer { border-bottom: none !important; box-shadow: none !important; }
.site-footer::after { display: none !important; }
html body .site-footer { border-bottom: 0 !important; }

/* ============================================================
   UTILITY / RESPONSIVE
   ============================================================ */
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.mt-48 { margin-top: 48px; }

/* Scroll Animation */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity .6s ease, transform .6s ease;
}
.js-enabled .reveal {
    opacity: 0;
    transform: translateY(28px);
}
.js-enabled .reveal.visible { opacity: 1; transform: translateY(0); }

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 1199px) {
    .cat-grid, .products-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 32px; }
    .footer-top { padding: 40px 40px !important; }
}

@media (max-width: 991px) {
    .usp-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
    .footer-grid { grid-template-columns: 1fr 1fr !important; }
    .promo-grid { grid-template-columns: 1fr; }
    .header-search { max-width: 320px; }
    .footer-top { padding: 40px 30px !important; }
}
@media (max-width: 767px) {
    .cat-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: 1fr; }
    .usp-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .header-search { display: none; }
    .newsletter-form { flex-direction: column; border-radius: var(--radius-md); }
    .newsletter-form input, .newsletter-form button { border-radius: var(--radius-sm); }
    .nav-list { flex-direction: column; background: var(--primary); position: fixed; top: 0; right: -300px; height: 100vh; width: 280px; padding: 80px 0 30px; transition: right .3s ease; z-index: 999; overflow-y: auto; }
    .nav-list.open { right: 0; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; width: 100% !important; padding: 16px 20px !important; }
    .footer-bottom > div { flex-direction: column !important; gap: 12px !important; padding: 0 !important; }
    
    /* Promotional banners - responsive */
    .flash-sale-banner { flex-direction: column !important; text-align: center; padding: 30px 20px !important; }
    .flash-sale-banner h2 { font-size: 28px !important; }
    .flash-sale-banner > div:last-child { font-size: 50px !important; margin-top: 20px; }
    .flash-sale-banner .container > section:nth-child(2) { grid-template-columns: 1fr !important; }
    .flash-sale-banner + .container > section { grid-template-columns: 1fr !important; }
}

@media (max-width: 479px) {
    .cat-grid, .products-grid { grid-template-columns: 1fr; }
    .usp-grid { grid-template-columns: 1fr; }
    .brands-row { gap: 24px; }
}

/* Homepage UI Fix Overrides */

.usp-strip { background: var(--white); border-bottom: 1px solid var(--border); padding: 20px 0; }
.usp-grid { grid-template-columns: repeat(4, 1fr); }
.usp-item { align-items: center; min-height: 82px; }
.usp-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--accent); }
.usp-icon i { color: #fff; }

.cat-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card { aspect-ratio: 4/3; display: flex; flex-direction: column; height: 100%; }
.cat-img-wrap { height: 180px; flex-shrink: 0; }
.cat-img-wrap img { object-fit: cover; }
.cat-body { flex: 1; padding: 14px 16px; }
.cat-arrow { background: var(--primary); color: #fff; }

.products-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { display: flex; flex-direction: column; height: 100%; }
.product-img-wrap { height: 200px; background: #f5f5f5; }
.product-img-wrap img { object-fit: contain; padding: 12px; }
.product-body { display: flex; flex-direction: column; flex: 1; }
.product-name { flex: 1; }
.product-rating i { color: var(--accent); font-size: .75rem; }
.btn-add-cart { margin-top: auto; width: 100%; border-radius: 8px; }

.promo-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 40px 0; }
.promo-card { border-radius: var(--radius-lg); min-height: 220px; padding: 40px 36px; }
.promo-card-dark { background: var(--primary); color: #fff; }
.promo-card-amber { background: var(--accent); color: #fff; }
.promo-card .promo-deco { right: 30px; top: 50%; transform: translateY(-50%); font-size: 5rem; opacity: .15; }
.flash-sale-banner { display: flex; align-items: center; justify-content: space-between; padding: 40px 36px; margin: 40px 0; border-radius: var(--radius-lg); background: linear-gradient(135deg, #1a2e4a 0%, #243b55 100%); }
.flash-sale-icon { font-size: 5rem; color: rgba(255,255,255,.2); }

.perks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0; }
.perk-card { display: flex; flex-direction: column; align-items: center; text-align: center; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px 24px; }
.perk-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.4rem; }
.perk-icon-blue { background: var(--primary); }
.perk-icon-green { background: #27ae60; }
.perk-icon-orange { background: var(--accent); }

.why-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.why-card { padding: 28px 24px; }

.brands-track { display: flex; gap: 60px; animation: scroll-brands 20s linear infinite; align-items: center; }
.brand-logo { height: 36px; width: auto; filter: grayscale(100%); opacity: .5; transition: var(--transition); flex-shrink: 0; }
.brand-logo:hover { filter: grayscale(0%); opacity: 1; }

.testimonials-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { border: 1px solid var(--border); box-shadow: var(--shadow-sm); position: relative; }
.testimonial-card::before { content: '"'; position: absolute; top: 16px; right: 20px; font-size: 4rem; color: var(--border); font-family: Georgia, serif; line-height: 1; }
.testimonial-stars i { color: var(--accent); font-size: .85rem; }

@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .promo-banners { grid-template-columns: 1fr; }
    .perks-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .usp-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-caption h1 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .cat-grid { grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: 1fr; }
}

/* ===== Professional Polish Overrides ===== */
body { overflow-x: hidden; }
section { width: 100%; }

.container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    width: 100%;
    box-sizing: border-box;
}

.sticky-header-wrap {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
}
.sticky-header-wrap + .sticky-header-wrap { display: none !important; }

.top-bar {
    background: var(--dark);
    color: rgba(255,255,255,.88);
    font-size: .78rem;
    font-weight: 500;
    padding: 9px 0;
    letter-spacing: .01em;
}
.top-bar i {
    color: var(--accent);
    margin-right: 5px;
}
.top-bar a {
    color: rgba(255,255,255,.88);
    text-decoration: none;
    transition: color .2s;
}
.top-bar a:hover { color: var(--accent); }
.top-bar-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
}
.top-bar-inner span:not(:last-child)::after {
    content: '|';
    margin-left: 36px;
    opacity: .25;
}

.main-nav {
    background: var(--primary);
    border-top: 1px solid rgba(255,255,255,.08);
}
.nav-item .nav-link {
    color: rgba(255,255,255,.82);
    font-size: .88rem;
    font-weight: 500;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    position: relative;
}
.nav-item .nav-link:hover,
.nav-item .nav-link.active {
    color: #fff !important;
    background: transparent;
}
.nav-item .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px 3px 0 0;
}

/* Trust bar mapped from existing usp classes */
.usp-strip {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0;
}
.usp-strip .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.usp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.usp-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 28px;
    border-right: 1px solid var(--border);
    transition: background .2s;
}
.usp-item:last-child { border-right: none; }
.usp-item:hover { background: var(--light-bg); }
.usp-icon {
    width: 46px;
    height: 46px;
    background: var(--accent-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.15rem;
    flex-shrink: 0;
    border: 1px solid rgba(212,144,10,.2);
}
.usp-item h6 {
    font-size: .86rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 2px;
}
.usp-item p {
    font-size: .75rem;
    color: var(--text-muted);
    margin: 0;
}

.categories-section {
    padding: 70px 0;
    background: var(--light-bg);
}
.cat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.cat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.cat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.cat-img-wrap { height: 190px; }
.cat-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.cat-card:hover .cat-img-wrap img { transform: scale(1.04); }
.cat-body {
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
}
.cat-name {
    font-size: .9rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 3px;
}
.cat-count {
    font-size: .76rem;
    color: var(--text-muted);
}
.cat-arrow {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    flex-shrink: 0;
    transition: background .2s;
}
.cat-card:hover .cat-arrow { background: var(--accent); }

.featured-section { padding: 70px 0; background: #fff; }

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(26,58,92,.2);
}
.product-img-wrap {
    height: 210px;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform .4s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-badge,
.product-badge-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
}
.product-badge { background: #dc2626; }
.product-badge.new { background: #16a34a; }
.product-badge.hot { background: #ea580c; }
.product-badge[style*="7c5cbf"] { background: #7c3aed !important; }
.product-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: .8rem;
    cursor: pointer;
    transition: var(--transition);
}
.product-wishlist-btn:hover,
.product-wishlist-btn.active {
    color: #dc2626;
    border-color: #fca5a5;
    background: #fff1f2;
}
.product-body {
    padding: 14px 16px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-brand {
    font-size: .68rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 5px;
}
.product-name {
    font-size: .87rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.45;
    margin-bottom: 8px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 10px; }
.product-rating .stars i { color: #f59e0b; font-size: .72rem; }
.product-rating .rating-count, .product-rating .count { font-size: .72rem; color: var(--text-muted); }
.product-price, .product-price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.price-current, .price-now { font-size: 1.1rem; font-weight: 800; color: var(--primary); }
.price-old { font-size: .78rem; color: var(--text-muted); text-decoration: line-through; }
.price-save {
    font-size: .68rem;
    font-weight: 700;
    color: #16a34a;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 1px 6px;
    border-radius: 4px;
}
.product-footer { padding: 0 16px 16px; margin-top: auto; }
.btn-add-cart {
    width: 100%;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 11px;
    border-radius: 8px;
    font-size: .84rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}
.btn-add-cart:hover {
    background: var(--accent);
    color: #fff;
}

/* promo 2up and offer */
.promo-section {
    padding: 40px 0;
    background: var(--light-bg);
}
.promo-grid,
.promo-2up {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
    margin: 20px 0;
}
.promo-card {
    border-radius: var(--radius-lg);
    padding: 44px 40px;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.promo-card.promo-dark,
.promo-card-1 { background: linear-gradient(135deg, #0d2137 0%, #1a3a5c 60%, #1e4570 100%); }
.promo-card.promo-gold,
.promo-card-2,
.promo-card-amber { background: linear-gradient(135deg, #b87c08 0%, #d4900a 60%, #e8a822 100%); color: #fff; }
.promo-card-dark { background: linear-gradient(135deg, #0d2137 0%, #1a3a5c 60%, #1e4570 100%); color: #fff; }
.promo-card .promo-label {
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.65);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.promo-card .promo-label::before {
    content: '';
    width: 20px;
    height: 2px;
    background: rgba(255,255,255,.4);
    display: inline-block;
}
.promo-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 8px;
}
.promo-card p {
    font-size: .87rem;
    color: rgba(255,255,255,.78);
    margin-bottom: 22px;
    line-height: 1.55;
}
.btn-promo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.15);
    border: 1.5px solid rgba(255,255,255,.35);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: .84rem;
    width: fit-content;
    transition: var(--transition);
}
.btn-promo:hover { background: rgba(255,255,255,.28); }

.flash-sale-banner,
.offer-strip {
    background: var(--dark);
    padding: 54px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}
.flash-sale-banner::before,
.offer-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(212,144,10,.12) 0%, transparent 70%);
    pointer-events: none;
}
.flash-sale-content { position: relative; z-index: 1; margin: 0 auto; max-width: 760px; }
.flash-sale-label,
.offer-strip .offer-tag {
    display: inline-block;
    background: rgba(212,144,10,.15);
    border: 1px solid rgba(212,144,10,.3);
    color: var(--accent);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}
.flash-sale-banner h2,
.offer-strip .offer-pct {
    font-family: 'Poppins', sans-serif;
    font-size: 3.8rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 6px;
}
.flash-sale-banner p,
.offer-strip p {
    color: rgba(255,255,255,.6);
    margin-bottom: 26px;
    font-size: .9rem;
}
.btn-offer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 13px 34px;
    border-radius: 8px;
    font-weight: 700;
    font-size: .95rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(212,144,10,.35);
}
.btn-offer:hover { background: var(--accent-lt); transform: translateY(-2px); }

.perks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 50px 0;
}
.perk-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 30px 26px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.perk-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform .3s ease;
}
.perk-card:hover::before { transform: scaleX(1); }
.perk-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.perk-icon-wrap,
.perk-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}
.perk-navy, .perk-icon-blue { background: var(--primary); }
.perk-green, .perk-icon-green { background: #15803d; }
.perk-gold, .perk-icon-orange { background: var(--accent); }
.perk-card h5 { font-size: .96rem; font-weight: 700; color: var(--primary); margin: 0; }
.perk-card p { font-size: .81rem; color: var(--text-muted); margin: 0; line-height: 1.6; }
.perk-card a { font-size: .81rem; color: var(--accent); font-weight: 600; text-decoration: none; }
.perk-card a:hover { color: var(--primary); }

.why-section {
    background: var(--primary);
    padding: 80px 0;
}
.why-section .section-header { text-align: center; margin-bottom: 50px; }
.why-section .section-header h2 { color: #fff; }
.why-section .section-header p { color: rgba(255,255,255,.65); }
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.why-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-md);
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: var(--transition);
}
.why-card:hover {
    background: rgba(255,255,255,.11);
    border-color: rgba(212,144,10,.4);
    transform: translateY(-4px);
}
.why-icon {
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    flex-shrink: 0;
}
.why-card h5 {
    font-size: .93rem;
    font-weight: 700;
    color: #fff !important;
    margin: 0;
}
.why-card p {
    font-size: .81rem;
    color: rgba(255,255,255,.68) !important;
    line-height: 1.65;
    margin: 0;
}

.testimonials-section {
    padding: 70px 0;
    background: var(--light-bg);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 40px;
}
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    transition: var(--transition);
}
.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 4rem;
    color: var(--border);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}
.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 40px; height: 3px;
    background: var(--accent);
    border-radius: 0 0 3px 0;
}
.testimonial-stars i { color: #f59e0b; font-size: .8rem; }
.testimonial-text {
    font-size: .86rem;
    color: var(--text);
    line-height: 1.75;
    font-style: italic;
    flex: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}
.author-avatar,
.testimonial-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: .88rem;
    flex-shrink: 0;
}
.author-name,
.testimonial-name { font-size: .87rem; font-weight: 700; color: var(--primary); margin: 0; }
.author-location,
.testimonial-loc { font-size: .75rem; color: var(--text-muted); }

.newsletter-section {
    background: var(--primary);
    padding: 60px 0;
    text-align: center;
}
.newsletter-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}
.newsletter-section p {
    color: rgba(255,255,255,.65);
    margin-bottom: 28px;
    font-size: .92rem;
}
.newsletter-form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    gap: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    font-size: .9rem;
    outline: none;
    color: var(--text);
}
.newsletter-form button {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 14px 24px;
    font-weight: 700;
    font-size: .88rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
}
.newsletter-form button:hover { background: var(--accent-lt); }

@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .promo-grid, .promo-2up { grid-template-columns: 1fr; }
    .promo-banners { grid-template-columns: 1fr; }
    .perks-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .usp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .cat-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
}

/* ===== 4 Critical Bug Fixes ===== */

/* BUG 1: Hero carousel must slide and controls must be visible */

/* BUG 2: Trust bar icon/text alignment */
.trust-bar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.trust-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 22px 28px;
    border-right: 1px solid var(--border);
    transition: background .2s;
}
.trust-item:last-child { border-right: none; }
.trust-item:hover { background: #f8f9fb; }
.trust-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    background: #fef3dc;
    border-radius: 12px;
    border: 1px solid rgba(212,144,10,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4900a;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.trust-text {
    flex: 1;
    min-width: 0;
}
.trust-text h6 {
    font-size: .86rem;
    font-weight: 700;
    color: #1a3a5c;
    margin: 0 0 3px;
    white-space: nowrap;
}
.trust-text p {
    font-size: .75rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
    white-space: normal;
}

/* BUG 3: Categories proper cards, names and 3x2 grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 36px;
}
.category-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #dde3eb;
    box-shadow: 0 1px 8px rgba(26,58,92,.07);
    cursor: pointer;
    transition: .26s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
    text-decoration: none;
}
.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 24px rgba(26,58,92,.12);
    border-color: #1a3a5c;
}
.cat-img-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f4f6f9;
    position: relative;
}
.cat-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .5s ease;
}
.category-card:hover .cat-img-wrap img { transform: scale(1.05); }
.cat-img-wrap::after { display: none !important; }
.category-card-body {
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    background: #fff;
}
.category-card-body h5 {
    font-size: .9rem;
    font-weight: 700;
    color: #1a3a5c;
    margin: 0 0 3px;
}
.category-card-body span {
    font-size: .75rem;
    color: #64748b;
}
.category-card .cat-arrow {
    width: 32px;
    height: 32px;
    background: #1a3a5c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .72rem;
    flex-shrink: 0;
    transition: background .2s;
}
.category-card:hover .cat-arrow { background: #d4900a; }

/* BUG 4: Ensure middle sections are visible and not collapsed */
.offer-strip,
.perks-section,
.why-section,
.brands-section,
.testimonials-section,
.promo-showcase {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.promo-showcase .reveal,
.why-section .reveal,
.brands-section .reveal,
.testimonials-section .reveal {
    opacity: 1 !important;
    transform: none !important;
}
.why-section,
.why-section h2,
.why-section h5,
.why-section p {
    color: #fff !important;
}
.why-section .section-header p {
    color: rgba(255,255,255,.7) !important;
}

@media (max-width: 1024px) {
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .categories-grid { grid-template-columns: 1fr; }
}

/* =========================
   HERO SECTION
========================= */
.hero-section {
    position: relative;
    overflow: hidden;
    height: 78vh;
    min-height: 520px;
    max-height: 760px;
    background: #071321;
}

#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
    height: 100%;
}

#heroCarousel .carousel-item {
    position: relative;
}

#heroCarousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(7, 19, 33, 0.78) 0%, rgba(7, 19, 33, 0.45) 38%, rgba(7, 19, 33, 0.10) 70%, rgba(7, 19, 33, 0.05) 100%);
}

.hero-caption {
    position: absolute;
    top: 50%;
    left: 7%;
    transform: translateY(-50%);
    z-index: 3;
    max-width: 560px;
}

.hero-badge {
    display: inline-block;
    background: #d89b1d;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
    box-shadow: 0 6px 18px rgba(216, 155, 29, 0.24);
}

.hero-caption h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.4rem, 4vw, 4.1rem);
    line-height: 1.08;
    font-weight: 800;
    margin: 0 0 16px;
    color: #ffffff;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.hero-caption p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.92);
    margin-bottom: 28px;
    max-width: 520px;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-secondary {
    min-height: 48px;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-hero-primary {
    background: #d89b1d;
    border: 2px solid #d89b1d;
    color: #ffffff;
    box-shadow: 0 10px 26px rgba(216, 155, 29, 0.25);
}

.btn-hero-primary:hover {
    background: #e8a920;
    border-color: #e8a920;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-hero-secondary {
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.55);
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.85);
    color: #ffffff;
    transform: translateY(-2px);
}

#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 72px;
    opacity: 1;
    z-index: 5;
}

.hero-arrow-wrap {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 31, 46, 0.42);
    border: 1px solid rgba(255,255,255,0.22);
    color: #ffffff;
    backdrop-filter: blur(8px);
    transition: all 0.28s ease;
}

#heroCarousel .carousel-control-prev:hover .hero-arrow-wrap,
#heroCarousel .carousel-control-next:hover .hero-arrow-wrap {
    background: #d89b1d;
    border-color: #d89b1d;
    transform: scale(1.06);
}

#heroCarousel .carousel-indicators {
    bottom: 22px;
    z-index: 6;
}

#heroCarousel .carousel-indicators [data-bs-target] {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    margin: 0 6px;
    border: none;
    background: rgba(255,255,255,0.45);
    opacity: 1;
}

#heroCarousel .carousel-indicators .active {
    background: #d89b1d;
    transform: scale(1.18);
}

@media (max-width: 991.98px) {
    .hero-section {
        height: 62vh;
        min-height: 430px;
    }

    .hero-caption {
        left: 6%;
        right: 6%;
        max-width: 90%;
    }

    .hero-caption h1 {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .hero-caption p {
        font-size: 0.98rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        height: 56vh;
        min-height: 360px;
    }

    .hero-caption {
        left: 5%;
        right: 5%;
        max-width: 100%;
    }

    .hero-caption h1 {
        font-size: 1.9rem;
        line-height: 1.15;
    }

    .hero-caption p {
        font-size: 0.92rem;
        margin-bottom: 18px;
    }

    .hero-btns {
        gap: 10px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        font-size: 0.88rem;
        padding: 11px 18px;
    }

    #heroCarousel .carousel-control-prev,
    #heroCarousel .carousel-control-next {
        width: 52px;
    }

    .hero-arrow-wrap {
        width: 40px;
        height: 40px;
    }
}

/* ===== Layout & Alignment Final Overrides ===== */
body { overflow-x: hidden; }
section { width: 100%; }

.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

.categories-section { padding: 60px 0; background: var(--light-bg); }
.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 36px;
}
.cat-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.cat-img-wrap { height: 200px; flex-shrink: 0; }
.cat-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.cat-body { padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; flex: 1; }
.cat-arrow { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }

.featured-section { padding: 70px 0; background: var(--white); }
.featured-header { display: flex; align-items: end; justify-content: space-between; margin-bottom: 32px; gap: 16px; }
.featured-header-left { display: flex; flex-direction: column; gap: 6px; }
.section-label-tag {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 20px;
    width: fit-content;
}
.btn-view-all { white-space: nowrap; }

.products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product-card { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.product-img-wrap { height: 200px; background: #f5f7fa; display: flex; align-items: center; justify-content: center; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.product-body { padding: 16px 16px 0; display: flex; flex-direction: column; flex: 1; }
.product-name {
    font-size: .88rem;
    line-height: 1.45;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-price { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.price-current { font-size: 1.1rem; font-weight: 800; color: var(--primary); }
.price-old { font-size: .8rem; color: var(--text-muted); text-decoration: line-through; }
.price-save { font-size: .72rem; font-weight: 700; color: #27ae60; background: rgba(39,174,96,.1); padding: 1px 6px; border-radius: 4px; }
.btn-add-cart { margin-top: auto; }

.promo-section { padding: 40px 0; background: var(--light-bg); }
.promo-section .container { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promo-grid { display: contents; }
.promo-showcase { padding: 20px 0 50px; background: var(--white); }
.promo-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.flash-sale-banner { margin: 16px 0 24px; }
.perks-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 24px 0 0; }

.why-section { background: var(--primary); padding: 80px 0; }
.why-section .section-title,
.why-card h5 { color: #fff !important; }
.why-section .section-sub,
.why-card p { color: rgba(255,255,255,.72) !important; }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.brands-section {
    padding: 36px 0;
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.brands-track { display: flex; align-items: center; gap: 60px; width: max-content; animation: scroll-brands 22s linear infinite; }
.brand-item {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #c0cdd8;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}
.brand-item::before { content: none; }
.brand-item:hover { color: var(--primary); }
.brand-logo { height: 36px; width: auto; opacity: .65; filter: grayscale(100%); }
.brand-logo:hover { opacity: 1; filter: grayscale(0%); }

.testimonials-section { padding: 70px 0; background: var(--light-bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.testimonial-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}
.testimonial-card::before { content: "\201C"; position: absolute; top: 14px; right: 20px; font-size: 4.5rem; color: var(--border); font-family: Georgia, serif; line-height: 1; }
.testimonial-stars i { color: var(--accent); font-size: .8rem; }
.testimonial-author { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--border); }
.author-avatar,
.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: .9rem;
    background: var(--primary);
    flex-shrink: 0;
}
.author-name,
.testimonial-name { font-size: .88rem; font-weight: 700; color: var(--primary); }
.author-location,
.testimonial-loc { font-size: .75rem; color: var(--text-muted); }

@media (min-width: 1025px) {
    .cat-grid > .cat-card:nth-child(5) { grid-column: 2; }
    .cat-grid > .cat-card:nth-child(6) { grid-column: 3; }
}

@media (max-width: 1024px) {
    .cat-grid, .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .cat-grid, .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .featured-header { align-items: flex-start; }
    .promo-section .container, .promo-banners { grid-template-columns: 1fr; }
    .perks-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .usp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .cat-grid { grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: 1fr; }
}

/* =========================
   HOMEPAGE FINAL LAYOUT FIX
   ========================= */
.homepage {
    background: #f5f7fb;
    overflow-x: clip;
    display: flex;
    flex-direction: column;
}

.homepage section {
    position: relative;
    width: 100%;
}

.homepage .hero-section {
    padding: 0;
    margin: 0;
}

.homepage .trust-bar {
    margin: 0;
}

.homepage .categories-section,
.homepage .featured-section,
.homepage .promo-cards-section,
.homepage .why-section,
.homepage .brands-section,
.homepage .testimonials-section {
    padding: 70px 0;
    margin: 0;
}

.homepage .categories-section {
    background: #f5f7fb;
}

.homepage .featured-section,
.homepage .brands-section {
    background: #ffffff;
}

.homepage .promo-cards-section,
.homepage .testimonials-section {
    background: #f5f7fb;
}

.homepage .why-section {
    background: #15385b;
}

.homepage .why-section .section-title,
.homepage .why-section .section-sub,
.homepage .why-card h5,
.homepage .why-card p {
    color: #ffffff;
}

.homepage .featured-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 30px;
}

.homepage .btn-view-all {
    white-space: nowrap;
}

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

.homepage .product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.homepage .product-spacer {
    flex: 1;
}

.homepage .section-footer-btn {
    margin-top: 26px;
    text-align: center;
}

.homepage .categories-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.homepage .promo-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.homepage .promo-card {
    border-radius: 20px;
    padding: 38px 34px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 14px 35px rgba(7, 19, 33, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.homepage .promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(7, 19, 33, 0.12);
}

.homepage .promo-card-navy {
    background: linear-gradient(135deg, #071321 0%, #15385b 100%);
    color: #ffffff;
}

.homepage .promo-card-gold {
    background: linear-gradient(135deg, #c98d11 0%, #d89b1d 100%);
    color: #071321;
}

.homepage .promo-label {
    display: inline-block;
    align-self: flex-start;
    padding: 7px 18px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 18px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.18);
    color: inherit;
}

.homepage .promo-card h3 {
    font-size: 2rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 14px;
}

.homepage .promo-card p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 320px;
    opacity: 0.95;
}

.homepage .btn-promo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-height: 44px;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.homepage .promo-card-navy .btn-promo {
    background: #d89b1d;
    color: #ffffff;
}

.homepage .promo-card-navy .btn-promo:hover {
    background: #e8a920;
    color: #ffffff;
}

.homepage .promo-card-gold .btn-promo {
    background: #15385b;
    color: #ffffff;
}

.homepage .promo-card-gold .btn-promo:hover {
    background: #0f2943;
    color: #ffffff;
}

.homepage .brands-wrapper {
    overflow: hidden;
}

.homepage .brands-track {
    align-items: center;
}

.homepage .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.homepage .testimonial-card {
    height: 100%;
}

.sticky-header-wrap + .sticky-header-wrap {
    display: none !important;
}

@media (max-width: 1199.98px) {
    .homepage .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .homepage .categories-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .homepage .promo-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .homepage .featured-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .homepage .btn-view-all {
        display: none !important;
    }

    .homepage .products-grid,
    .homepage .categories-grid,
    .homepage .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 767.98px) {
    .homepage .categories-section,
    .homepage .featured-section,
    .homepage .promo-cards-section,
    .homepage .why-section,
    .homepage .brands-section,
    .homepage .testimonials-section {
        padding: 56px 0;
    }

    .homepage .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .homepage .products-grid,
    .homepage .categories-grid,
    .homepage .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

    .homepage .promo-card {
        min-height: auto;
        padding: 28px 24px;
    }

    .homepage .promo-card h3 {
        font-size: 1.7rem;
    }
}

/* Remove main navigation underline/active line */
.main-nav .nav-link::after,
.main-nav .nav-link.active::after,
.main-nav .nav-link:hover::after,
.nav-list .nav-link::after,
.nav-list .nav-link.active::after,
.nav-list .nav-link:hover::after,
.navbar-nav .nav-link::after,
.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after,
.nav-menu .nav-link::after,
.nav-menu .nav-link.active::after,
.nav-menu .nav-link:hover::after {
    display: none !important;
    content: none !important;
}

.main-nav .nav-link,
.main-nav .nav-link.active,
.main-nav .nav-link:hover,
.nav-list .nav-link,
.nav-list .nav-link.active,
.nav-list .nav-link:hover,
.navbar-nav .nav-link,
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover,
.nav-menu .nav-link,
.nav-menu .nav-link.active,
.nav-menu .nav-link:hover {
    border-bottom: none !important;
    box-shadow: none !important;
}

.main-nav .nav-link.active,
.navbar-nav .nav-link.active,
.nav-menu .nav-link.active {
    color: #ffffff !important;
    font-weight: 600;
}

/* Footer polish refinement */
.homepage .testimonials-section {
    padding-bottom: 50px;
}

.site-footer {
    margin-top: 0;
    padding-top: 0;
    background: #ffffff;
    border-top: 3px solid #d89b1d;
}

.site-footer .footer-top {
    padding: 58px 0 42px !important;
}

.site-footer .footer-grid {
    gap: 28px;
    align-items: start;
}

.site-footer .footer-logo {
    max-width: 170px;
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 18px;
}

.site-footer .footer-about-text {
    color: #5f6b7a !important;
    font-size: 0.98rem;
    line-height: 1.85;
    max-width: 320px;
    margin-bottom: 18px;
}

.site-footer .footer-col h6 {
    font-size: 1.08rem;
    font-weight: 700;
    color: #0f2943 !important;
    margin-bottom: 18px;
}

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

.site-footer .footer-col a,
.site-footer .footer-contact-item a {
    color: #223548 !important;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
    display: inline-block;
}

.site-footer .footer-col a:hover,
.site-footer .footer-contact-item a:hover {
    color: #d89b1d !important;
    transform: translateX(3px);
}

.site-footer .footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.site-footer .footer-socials .social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #15385b !important;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.site-footer .footer-socials .social-btn:hover {
    background: #d89b1d !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(216, 155, 29, 0.22);
}

.site-footer .footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: #223548 !important;
    line-height: 1.7;
}

.site-footer .footer-contact-item i {
    color: #d89b1d !important;
    margin-top: 4px;
    min-width: 16px;
}

.site-footer .footer-bottom {
    background: #15385b;
    color: rgba(255, 255, 255, 0.9);
    padding: 14px 0;
}

.site-footer .footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.site-footer .footer-bottom-left {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.84rem;
}

.site-footer .footer-bottom-left a {
    color: #d89b1d !important;
}

.site-footer .footer-bottom-left a:hover {
    color: #e8a920 !important;
}

.site-footer .footer-payment-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-footer .footer-payment-icons img {
    display: inline-block;
    height: 28px;
}

@media (max-width: 991.98px) {
    .site-footer .footer-top {
        padding: 48px 0 34px !important;
    }
}

@media (max-width: 767.98px) {
    .homepage .testimonials-section {
        padding-bottom: 42px;
    }

    .site-footer .footer-top {
        padding: 42px 0 28px !important;
    }

    .site-footer .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

}

/* =========================
   PREMIUM SHOP MEGA MENU
========================= */

.has-mega-menu {
    position: relative;
}

.has-mega-menu > .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.shop-mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 760px;
    max-width: 980px;
    background: #ffffff;
    border-top: 3px solid #d89b1d;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 18px 42px rgba(7, 19, 33, 0.14);
    padding: 26px 24px 24px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s ease;
}

.has-mega-menu:hover .shop-mega-menu,
.has-mega-menu:focus-within .shop-mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.shop-mega-menu-inner {
    display: grid;
    grid-template-columns: repeat(5, minmax(160px, 1fr));
    gap: 22px;
    align-items: start;
}

.shop-mega-column {
    max-height: 400px;
    overflow: auto;
    padding-right: 4px;
}

.shop-mega-column::-webkit-scrollbar {
    width: 6px;
}

.shop-mega-column::-webkit-scrollbar-thumb {
    background: rgba(21, 56, 91, 0.22);
    border-radius: 10px;
}

.shop-mega-column h4 {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #15385b;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d9e2ec;
}

.shop-mega-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.shop-mega-column li {
    margin: 0 0 9px;
}

.shop-mega-column li:last-child {
    margin-bottom: 0;
}

.shop-mega-subcategory > a {
    font-weight: 600;
    color: #2f4861;
}

.shop-mega-sub-list {
    margin-top: 0;
    margin-left: 0;
    padding-left: 0;
    border-left: none;
}

.shop-mega-sub-list--flat {
    margin-top: 2px;
}

.shop-mega-sub-list > .shop-mega-subcategory {
    margin-bottom: 8px;
}

.shop-mega-sub-list > .shop-mega-subcategory:last-child {
    margin-bottom: 2px;
}

.shop-mega-viewall {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed #e6edf4;
}

.shop-mega-viewall > a {
    font-size: 0.84rem;
    font-weight: 600;
    color: #d89b1d;
    letter-spacing: 0.02em;
}

.shop-mega-column a {
    display: inline-block;
    color: #425466;
    text-decoration: none;
    font-size: 0.98rem;
    line-height: 1.45;
    transition: color 0.22s ease, transform 0.22s ease;
}

.shop-mega-column a:hover {
    color: #d89b1d;
    transform: translateX(3px);
}

@media (max-width: 1199.98px) {
    .shop-mega-menu {
        min-width: 680px;
        max-width: 860px;
    }

    .shop-mega-menu-inner {
        grid-template-columns: repeat(3, minmax(180px, 1fr));
    }
}

@media (max-width: 991.98px) {
    .shop-mega-menu {
        min-width: 620px;
        max-width: 720px;
        padding: 22px 20px;
    }

    .shop-mega-menu-inner {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
        gap: 20px;
    }

    .shop-mega-column {
        max-height: 340px;
    }
}

@media (max-width: 767.98px) {
    .shop-mega-menu {
        position: static;
        transform: none;
        min-width: 100%;
        max-width: 100%;
        border-radius: 14px;
        margin-top: 10px;
        padding: 18px 16px;
        box-shadow: 0 12px 28px rgba(7, 19, 33, 0.12);
    }

    .shop-mega-menu-inner {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .shop-mega-column {
        max-height: none;
        overflow: visible;
    }
}

/* ==================================
   MEGA MENU - COMPLETE REDESIGN
================================== */

.has-mega {
    position: relative;
}

.has-mega .mega-arrow {
    font-size: .65rem;
    transition: transform .25s ease;
    margin-left: 4px;
}

.has-mega:hover .mega-arrow {
    transform: rotate(180deg);
}

.has-mega .mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 740px;
    background: #fff;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 16px 48px rgba(26, 58, 92, .18);
    z-index: 9999;
    overflow: hidden;
    flex-direction: row;
}

.has-mega:hover .mega-menu {
    display: flex;
}

.mega-sidebar {
    width: 196px;
    background: #f4f6f9;
    border-right: 1px solid #dde3eb;
    padding: 12px 0;
    flex-shrink: 0;
}

.mega-sidebar-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 16px;
    cursor: pointer;
    transition: background .18s;
    border-left: 3px solid transparent;
    text-decoration: none;
}

.mega-sidebar-item:hover,
.mega-sidebar-item.active {
    background: #fff;
    border-left-color: #d4900a;
}

.ms-icon {
    width: 32px;
    height: 32px;
    background: #dde8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a3a5c;
    font-size: .85rem;
    flex-shrink: 0;
    transition: background .18s, color .18s;
}

.mega-sidebar-item:hover .ms-icon,
.mega-sidebar-item.active .ms-icon {
    background: #1a3a5c;
    color: #fff;
}

.mega-sidebar-item span {
    font-size: .82rem;
    font-weight: 600;
    color: #1a3a5c;
}

.mega-content {
    flex: 1;
    padding: 22px 26px;
    min-height: 340px;
}

.mega-panel {
    display: none;
}

.mega-panel.active {
    display: block;
}

.mega-panel-title {
    font-size: .7rem;
    font-weight: 800;
    color: #d4900a;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mega-panel-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #dde3eb;
}

.mega-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 18px;
}

.mega-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    text-decoration: none;
    transition: background .18s;
    border: 1px solid transparent;
}

.mega-link:hover {
    background: #f4f6f9;
    border-color: #dde3eb;
}

.ml-icon {
    width: 30px;
    height: 30px;
    background: #e8f0f8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a3a5c;
    font-size: .8rem;
    flex-shrink: 0;
    transition: background .18s, color .18s;
}

.mega-link:hover .ml-icon {
    background: #1a3a5c;
    color: #fff;
}

.mega-link span {
    font-size: .82rem;
    font-weight: 500;
    color: #1e2d3d;
}

.mega-view-all {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #eef2f7;
    border: 1px solid #dde3eb;
    color: #1a3a5c;
    font-size: .78rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: all .2s;
    margin-bottom: 16px;
}

.mega-view-all:hover {
    background: #1a3a5c;
    color: #fff;
    border-color: #1a3a5c;
}

.mega-view-all i {
    font-size: .65rem;
}

.mega-promo {
    background: linear-gradient(135deg, #0d2137 0%, #1a3a5c 100%);
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 4px;
}

.mega-promo strong {
    display: block;
    font-size: .82rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}

.mega-promo span {
    font-size: .75rem;
    color: rgba(255, 255, 255, .65);
}

.mega-promo-btn {
    background: #d4900a;
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 7px;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s;
    flex-shrink: 0;
}

.mega-promo-btn:hover {
    background: #e8a822;
}

/* ==================================
   SHOP PAGE - DYNAMIC CATEGORIES
================================== */
.shop-hero {
    background: linear-gradient(135deg, #0d2137 0%, #1a3a5c 100%);
    padding: 50px 0;
    color: #fff;
}

.shop-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.shop-hero-text .section-label-tag {
    background: rgba(212, 144, 10, .25);
    border: 1px solid rgba(212, 144, 10, .4);
    color: #e8a822;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
}

.shop-hero-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.2;
}

.shop-hero-text p {
    color: rgba(255, 255, 255, .7);
    font-size: .95rem;
}

.shop-search-form { flex-shrink: 0; }

.shop-search-wrap {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    width: 380px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
}

.shop-search-wrap i {
    padding: 0 16px;
    color: #94a3b8;
    font-size: .9rem;
    flex-shrink: 0;
}

.shop-search-wrap input {
    flex: 1;
    border: none;
    outline: none;
    font-size: .9rem;
    padding: 14px 0;
    color: #1e2d3d;
    font-family: inherit;
}

.shop-search-wrap button {
    background: #d4900a;
    color: #fff;
    border: none;
    padding: 14px 22px;
    font-weight: 700;
    font-size: .85rem;
    cursor: pointer;
    transition: background .2s;
    font-family: inherit;
}

.shop-search-wrap button:hover { background: #e8a822; }

.shop-filter-bar {
    background: #fff;
    border-bottom: 1px solid #dde3eb;
    position: sticky;
    top: 60px;
    z-index: 50;
    box-shadow: 0 2px 8px rgba(26, 58, 92, .06);
}

.filter-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar { display: none; }

.filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    white-space: nowrap;
    transition: all .2s;
    border: 1.5px solid transparent;
}

.filter-tab:hover {
    background: #f4f6f9;
    color: #1a3a5c;
}

.filter-tab.active {
    background: #1a3a5c;
    color: #fff;
    border-color: #1a3a5c;
}

.tab-count {
    background: rgba(255, 255, 255, .2);
    color: inherit;
    font-size: .65rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
}

.filter-tab:not(.active) .tab-count {
    background: #e8f0f8;
    color: #1a3a5c;
}

.shop-categories-section {
    padding: 48px 0 70px;
    background: #f4f6f9;
}

.shop-results-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    color: #64748b;
    margin-bottom: 24px;
    padding: 12px 16px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #dde3eb;
}

.shop-results-info i { color: #d4900a; }

.clear-search {
    margin-left: auto;
    color: #dc2626;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

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

.shop-cat-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #dde3eb;
    box-shadow: 0 1px 8px rgba(26, 58, 92, .07);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: all .26s cubic-bezier(.4, 0, .2, 1);
    cursor: pointer;
}

.shop-cat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 28px rgba(26, 58, 92, .14);
    border-color: #1a3a5c;
}

.scat-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f8fafc;
    flex-shrink: 0;
}

.scat-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .5s ease;
    display: block;
}

.shop-cat-card:hover .scat-img-wrap img { transform: scale(1.05); }

.scat-icon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2f7;
    color: #1a3a5c;
    font-size: 3rem;
    opacity: .4;
}

.scat-count-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(26, 58, 92, .85);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.scat-body {
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 12px;
}

.scat-body-left { flex: 1; min-width: 0; }

.scat-body-left h3 {
    font-size: .92rem;
    font-weight: 700;
    color: #1a3a5c;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.scat-body-left p {
    font-size: .75rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.scat-arrow {
    width: 34px;
    height: 34px;
    background: #1a3a5c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .75rem;
    flex-shrink: 0;
    transition: background .2s;
}

.shop-cat-card:hover .scat-arrow { background: #d4900a; }

.shop-empty {
    text-align: center;
    padding: 80px 0;
}

.shop-empty i {
    font-size: 4rem;
    color: #c0cdd4;
    margin-bottom: 20px;
    display: block;
}

.shop-empty h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 8px;
}

.shop-empty p {
    color: #64748b;
    margin-bottom: 24px;
}

.btn-primary-shop {
    background: #1a3a5c;
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: background .2s;
}

.btn-primary-shop:hover { background: #245080; }

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

@media (max-width: 768px) {
    .shop-categories-grid { grid-template-columns: repeat(2, 1fr); }
    .shop-hero-content { flex-direction: column; }
    .shop-search-wrap { width: 100%; }
}

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

/* ==================================
   CATEGORY PAGE
================================== */
.cat-hero {
    background: linear-gradient(135deg, #0d2137, #1a3a5c);
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 50px 0;
    min-height: 220px;
    display: flex;
    align-items: center;
}
.cat-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,33,55,.92) 0%, rgba(26,58,92,.75) 100%);
}
.cat-hero-content { position: relative; z-index: 2; }
.cat-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: .78rem;
}
.cat-breadcrumb a { color: rgba(255,255,255,.65); text-decoration: none; transition: color .2s; }
.cat-breadcrumb a:hover { color: #e8a822; }
.cat-breadcrumb span { color: #e8a822; font-weight: 600; }
.cat-breadcrumb i { color: rgba(255,255,255,.3); font-size: .6rem; }
.cat-hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}
.cat-hero-content p { color: rgba(255,255,255,.75); font-size: .95rem; margin-bottom: 16px; }
.cat-hero-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.cat-hero-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    color: rgba(255,255,255,.75);
    background: rgba(255,255,255,.1);
    padding: 5px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}
.cat-hero-stats i { color: #d4900a; }
.cat-layout {
    padding: 36px 0 70px;
    background: #f4f6f9;
}
.cat-layout-inner {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: start;
}
.cat-sidebar { display: flex; flex-direction: column; gap: 16px; }
.sidebar-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #dde3eb;
    overflow: hidden;
}
.sidebar-card-title {
    font-size: .78rem;
    font-weight: 800;
    color: #1a3a5c;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 14px 18px;
    background: #f4f6f9;
    border-bottom: 1px solid #dde3eb;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-card-title i { color: #d4900a; }
.sidebar-cat-list { padding: 8px 0; }
.sidebar-cat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 18px;
    font-size: .83rem;
    color: #64748b;
    text-decoration: none;
    transition: all .18s;
    border-left: 3px solid transparent;
}
.sidebar-cat-item:hover { background: #f4f6f9; color: #1a3a5c; }
.sidebar-cat-item.active {
    background: #eef2f7;
    color: #1a3a5c;
    font-weight: 700;
    border-left-color: #d4900a;
}
.scat-num {
    background: #e8f0f8;
    color: #1a3a5c;
    font-size: .68rem;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 10px;
}
.price-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px 0;
}
.price-dash { color: #94a3b8; font-size: .9rem; }
.price-input-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f4f6f9;
    border: 1px solid #dde3eb;
    border-radius: 7px;
    padding: 6px 10px;
    flex: 1;
}
.price-input-wrap span { font-size: .78rem; color: #64748b; }
.price-input-wrap input {
    border: none;
    background: transparent;
    width: 100%;
    font-size: .83rem;
    font-family: inherit;
    color: #1e2d3d;
    outline: none;
}
.sidebar-card input[type="range"] { padding: 0 18px; display: block; }
.btn-filter-apply {
    margin: 0 18px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: calc(100% - 36px);
    padding: 10px;
    background: #1a3a5c;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: .83rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
    font-family: inherit;
}
.btn-filter-apply:hover { background: #d4900a; }
.sidebar-other-cat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    font-size: .82rem;
    color: #64748b;
    text-decoration: none;
    transition: all .18s;
    border-bottom: 1px solid #f0f4f8;
}
.sidebar-other-cat:last-child { border-bottom: none; }
.sidebar-other-cat:hover { color: #1a3a5c; background: #f4f6f9; padding-left: 22px; }
.sidebar-other-cat i { color: #d4900a; font-size: .65rem; }
.cat-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #dde3eb;
    border-radius: 10px;
    padding: 12px 18px;
    margin-bottom: 20px;
}
.prod-count { font-size: .85rem; color: #64748b; }
.prod-count strong { color: #1a3a5c; }
.cat-toolbar-right { display: flex; align-items: center; gap: 12px; }
.sort-label { font-size: .8rem; color: #64748b; white-space: nowrap; }
.sort-select {
    border: 1px solid #dde3eb;
    border-radius: 7px;
    padding: 7px 12px;
    font-size: .82rem;
    color: #1e2d3d;
    font-family: inherit;
    background: #f4f6f9;
    cursor: pointer;
    outline: none;
}
.view-toggle { display: flex; gap: 4px; }
.view-btn {
    width: 32px; height: 32px;
    border: 1px solid #dde3eb;
    background: #f4f6f9;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    color: #64748b;
    cursor: pointer;
    transition: all .2s;
}
.view-btn.active,
.view-btn:hover { background: #1a3a5c; color: #fff; border-color: #1a3a5c; }
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.product-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #dde3eb;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all .26s ease;
    height: 100%;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 28px rgba(26,58,92,.13);
    border-color: #1a3a5c;
}
.pcard-img-link { display: block; text-decoration: none; }
.pcard-img-wrap {
    position: relative;
    height: 200px;
    background: #f8fafc;
    overflow: hidden;
    flex-shrink: 0;
}
.pcard-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform .4s ease;
}
.product-card:hover .pcard-img-wrap img { transform: scale(1.05); }
.pbadge {
    position: absolute;
    top: 10px; left: 10px;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 20px;
    color: #fff;
}
.pbadge-new  { background: #16a34a; }
.pbadge-sale { background: #dc2626; }
.pbadge-best { background: #0369a1; }
.pcard-wish {
    position: absolute;
    top: 8px; right: 8px;
    width: 30px; height: 30px;
    background: rgba(255,255,255,.9);
    border: 1px solid #dde3eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: .8rem;
    cursor: pointer;
    transition: all .2s;
}
.pcard-wish:hover,
.pcard-wish.wishlisted { color: #dc2626; border-color: #fca5a5; background: #fff1f2; }
.pcard-body {
    padding: 14px 14px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.pcard-brand { font-size: .68rem; font-weight: 700; color: #d4900a; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 5px; }
.pcard-name {
    font-size: .86rem;
    font-weight: 600;
    color: #1e2d3d;
    text-decoration: none;
    line-height: 1.45;
    margin-bottom: 8px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pcard-name:hover { color: #1a3a5c; }
.pcard-rating { display: flex; align-items: center; gap: 3px; margin-bottom: 8px; }
.pcard-rating i { color: #f59e0b; font-size: .7rem; }
.pcard-rating span { font-size: .7rem; color: #94a3b8; margin-left: 3px; }
.pcard-price-row { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; margin-bottom: 8px; }
.pcard-price { font-size: 1.05rem; font-weight: 800; color: #1a3a5c; }
.pcard-old   { font-size: .76rem; color: #94a3b8; text-decoration: line-through; }
.pcard-save  { font-size: .68rem; font-weight: 700; color: #16a34a; background: #f0fdf4; padding: 1px 6px; border-radius: 4px; }
.pcard-stock-out { font-size: .75rem; color: #dc2626; font-weight: 600; margin-bottom: 4px; }
.pcard-footer { padding: 0 14px 14px; margin-top: auto; }
.btn-notify {
    width: 100%;
    background: #f4f6f9;
    color: #94a3b8;
    border: 1px solid #dde3eb;
    padding: 10px;
    border-radius: 8px;
    font-size: .83rem;
    font-weight: 600;
    cursor: not-allowed;
    font-family: inherit;
}
.cat-empty {
    text-align: center;
    padding: 80px 0;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #dde3eb;
}
.cat-empty i { font-size: 3.5rem; color: #c0cdd4; display: block; margin-bottom: 16px; }
.cat-empty h3 { font-size: 1.1rem; font-weight: 700; color: #1a3a5c; margin-bottom: 8px; }
.cat-empty p  { color: #64748b; margin-bottom: 20px; }
.btn-reset-filter {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #1a3a5c;
    color: #fff;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: .85rem;
    text-decoration: none;
}
.cat-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 36px;
}
.page-btn {
    width: 38px; height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #dde3eb;
    background: #fff;
    color: #64748b;
    transition: all .2s;
}
.page-btn:hover,
.page-btn.active { background: #1a3a5c; color: #fff; border-color: #1a3a5c; }
@media (max-width: 1024px) {
    .cat-layout-inner { grid-template-columns: 220px 1fr; }
    .products-grid    { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .cat-layout-inner { grid-template-columns: 1fr; }
    .cat-sidebar      { display: none; }
    .products-grid    { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* Category sidebar: brand + rating filters */
.brand-checkbox-row {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 0;
    cursor: pointer;
    font-size: .82rem;
    color: #64748b;
    border-bottom: 1px solid #f0f4f8;
}

.brand-checkbox-row:last-child {
    border-bottom: none;
}

.brand-checkbox-row input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: #1a3a5c;
    cursor: pointer;
    flex-shrink: 0;
}

.brand-checkbox-row:hover span {
    color: #1a3a5c;
}

.rating-filter-row {
    display: flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 7px;
    text-decoration: none;
    transition: background .18s;
    border: 1px solid transparent;
}

.rating-filter-row:hover {
    background: #f4f6f9;
}

.rating-filter-row.active {
    background: #eef2f7;
    border-color: #dde3eb;
}

/* ============================================================
   HARDWARE BLACK + GOLD HOMEPAGE OVERRIDE
   ============================================================ */
:root {
    --hardware-gold: #d4af37;
    --hardware-black: #070707;
}

.top-bar {
    background: var(--hardware-black) !important;
    color: #ffffff !important;
    font-size: 0.9rem;
}

.top-bar-inner {
    justify-content: space-between;
    max-width: 1320px;
    margin: 0 auto;
}

.site-header {
    border-bottom: 1px solid #e6e6e6;
}

.header-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 18px 0;
}

.header-search {
    max-width: 760px;
    border-color: #d7c38a;
    border-width: 1px;
    border-radius: 10px;
}

.header-search button {
    background: var(--hardware-gold);
    color: #111;
}

.header-search:focus-within {
    border-color: var(--hardware-gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18);
}

.main-nav {
    background: #fff !important;
    border-bottom: 2px solid var(--hardware-gold);
}

.main-nav .nav-item .nav-link {
    color: #121212 !important;
    font-weight: 600;
}

.main-nav .nav-item .nav-link.active,
.main-nav .nav-item .nav-link:hover {
    color: #111 !important;
    background: transparent !important;
    border-bottom: 2px solid var(--hardware-gold) !important;
}

.hero-section .carousel-item {
    min-height: 610px;
}

.hero-section .carousel-item > img {
    min-height: 610px;
    object-fit: cover;
    filter: brightness(0.42);
}

.hero-overlay {
    background: linear-gradient(88deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.2) 100%) !important;
}

.hero-caption h1 {
    color: #fff !important;
    font-size: clamp(2.2rem, 5vw, 5rem);
    line-height: 1.05;
}

.hero-caption h1 br + * {
    color: var(--hardware-gold);
}

.hero-badge {
    background: var(--hardware-gold);
    color: #111;
}

.btn-hero-primary {
    background: var(--hardware-gold) !important;
    color: #111 !important;
}

.btn-hero-secondary {
    border-color: #fff !important;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.categories-section,
.featured-section {
    background: #f5f5f5 !important;
}

.section-title {
    color: #0f0f0f !important;
}

.category-card {
    border: 1px solid #d9d9d9 !important;
    border-radius: 14px !important;
}

.cat-img-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.cat-img-wrap img {
    object-fit: cover !important;
}

.category-card-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background: transparent !important;
}

.category-card-body h5,
.category-card-body p {
    color: #fff !important;
}

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

.product-card {
    border: 1px solid #d2d2d2 !important;
    border-radius: 14px !important;
}

.product-badge {
    background: var(--hardware-gold) !important;
    color: #111 !important;
}

.product-body {
    padding: 18px !important;
}

.product-name {
    color: #0f0f0f !important;
}

.price-current {
    color: #0f0f0f !important;
}

.btn-add-cart {
    background: var(--hardware-gold) !important;
    color: #111 !important;
}

.why-section {
    background: var(--hardware-black) !important;
}

.why-section .section-title,
.why-section .section-sub {
    color: #fff !important;
}

.why-card {
    background: transparent !important;
    border: 1px solid rgba(212, 175, 55, 0.26) !important;
}

.why-card h5 {
    color: #fff !important;
}

.why-card p {
    color: #b9cbde !important;
}

.why-icon {
    background: rgba(212, 175, 55, 0.16) !important;
    color: var(--hardware-gold) !important;
}

.promo-cards-section {
    background: var(--hardware-gold) !important;
    padding: 64px 0 !important;
}

.promo-cards-grid {
    grid-template-columns: 1fr !important;
}

.promo-card {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

.promo-card h3,
.promo-card p {
    color: #111 !important;
}

.promo-card .btn-promo {
    background: #0f0f0f !important;
    color: #fff !important;
}

.site-footer {
    background: #000 !important;
}

.footer-col h6,
.footer-contact-item i {
    color: var(--hardware-gold) !important;
}

.footer-about-text,
.footer-col ul li a,
.footer-contact-item span,
.footer-contact-item a,
.footer-bottom-left {
    color: #d6e0ea !important;
}

.footer-payment-icons {
    display: none !important;
}

@media (max-width: 991px) {
    .top-bar-inner {
        justify-content: center;
        gap: 14px;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .products-grid {
        grid-template-columns: 1fr !important;
    }
    .hero-section .carousel-item,
    .hero-section .carousel-item > img {
        min-height: 520px;
    }
    .hero-caption {
        padding: 0 20px !important;
    }
}

/* ==================================
   HOMEPAGE PROMO REDESIGN (COMPACT)
================================== */
.homepage .promo-cards-section {
    background: var(--hardware-gold, #d4af37) !important;
    padding: 40px 0 48px !important;
}

.homepage .promo-cards-grid.promo-cards-grid-compact {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.homepage .promo-card.promo-card-compact {
    display: grid !important;
    grid-template-columns: 40% 60% !important;
    min-height: 178px !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    border: 1px solid #e6edf4 !important;
    box-shadow: 0 10px 26px rgba(26, 58, 92, .08) !important;
    overflow: hidden !important;
    transform: none !important;
}

.homepage .promo-card.promo-card-compact:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 32px rgba(26, 58, 92, .12) !important;
}

.homepage .promo-card-compact .promo-media {
    position: relative;
    min-height: 178px;
    background: #eef3f8;
}

.homepage .promo-card-compact .promo-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(11, 27, 44, .2) 100%);
}

.homepage .promo-card-compact .promo-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.homepage .promo-card-compact .promo-content {
    padding: 16px 16px 14px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.homepage .promo-card-compact .promo-label {
    display: inline-flex !important;
    align-self: flex-start;
    background: #fff6de !important;
    color: #9a6807 !important;
    border: 1px solid #f4d48a !important;
    padding: 3px 10px !important;
    border-radius: 999px !important;
    font-size: .65rem !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    margin-bottom: 0 !important;
}

.homepage .promo-card-compact h3 {
    margin: 0 !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    color: #142d48 !important;
    line-height: 1.3 !important;
}

.homepage .promo-card-compact p {
    margin: 0 !important;
    font-size: .82rem !important;
    color: #607086 !important;
    line-height: 1.45 !important;
}

.homepage .promo-card-compact .btn-promo {
    margin-top: 4px !important;
    align-self: flex-start !important;
    background: #d4900a !important;
    color: #101820 !important;
    border: 0 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: .76rem !important;
    font-weight: 800 !important;
    box-shadow: 0 6px 16px rgba(212, 144, 10, .3);
}

.homepage .promo-card-compact .btn-promo:hover {
    background: #e0a019 !important;
    color: #0f1e2f !important;
}

@media (max-width: 1024px) {
    .homepage .promo-card.promo-card-compact {
        grid-template-columns: 43% 57% !important;
    }
}

@media (max-width: 768px) {
    .homepage .promo-cards-grid.promo-cards-grid-compact {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .homepage .promo-card.promo-card-compact {
        grid-template-columns: 38% 62% !important;
        min-height: 164px !important;
    }
    .homepage .promo-card-compact .promo-media {
        min-height: 164px;
    }
}

@media (max-width: 520px) {
    .homepage .promo-card.promo-card-compact {
        grid-template-columns: 1fr !important;
    }
    .homepage .promo-card-compact .promo-media {
        min-height: 150px;
    }
}

/* ==================================
   FOOTER POLISH REFINEMENT
================================== */
.homepage .testimonials-section {
    padding-bottom: 26px !important;
}

.site-footer {
    margin-top: 0 !important;
    border-top: 2px solid rgba(212, 175, 55, .42) !important;
    background: #ffffff !important;
}

.site-footer .footer-top {
    padding: 34px 0 24px !important;
}

.site-footer .footer-grid {
    display: grid !important;
    grid-template-columns: 1.2fr 1fr 1fr 1.15fr !important;
    gap: 26px !important;
    align-items: start !important;
}

.site-footer .footer-brand {
    padding-right: 8px;
}

.site-footer .footer-logo {
    margin-bottom: 12px !important;
}

.site-footer .footer-about-text {
    color: #475569 !important;
    line-height: 1.65 !important;
    margin-bottom: 14px !important;
    max-width: 360px !important;
}

.site-footer .footer-col h6 {
    color: #0f172a !important;
    margin-bottom: 12px !important;
}

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

.site-footer .footer-col a,
.site-footer .footer-contact-item,
.site-footer .footer-contact-item a,
.site-footer .footer-contact-item span {
    color: #334155 !important;
}

.site-footer .footer-col a {
    font-weight: 500;
}

.site-footer .footer-col a:hover,
.site-footer .footer-contact-item a:hover {
    color: #102a43 !important;
}

.site-footer .footer-contact-item {
    gap: 10px !important;
    margin-bottom: 9px !important;
    line-height: 1.45 !important;
}

.site-footer .footer-contact-item i {
    margin-top: 2px !important;
}

.site-footer .footer-socials {
    gap: 9px !important;
    margin-top: 14px !important;
}

.site-footer .footer-socials .social-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(212, 175, 55, .42) !important;
    background: linear-gradient(160deg, rgba(26, 58, 92, .95), rgba(12, 28, 46, .95)) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .22) !important;
}

.site-footer .footer-socials .social-btn i {
    font-size: .9rem !important;
}

.site-footer .footer-socials .social-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 18px rgba(212, 175, 55, .24) !important;
}

.site-footer .footer-bottom {
    padding: 12px 0 !important;
}

.site-footer .footer-bottom-inner {
    gap: 14px !important;
}

.site-footer .footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: .81rem !important;
    color: #d0d9e5 !important;
}

.site-footer .footer-copy-sep {
    opacity: .55;
}

.site-footer .footer-dev-text strong {
    font-weight: 700;
    color: #e8eef6;
}

.site-footer .footer-dev-link {
    color: #d4af37 !important;
    font-weight: 700;
    text-decoration: none;
}

.site-footer .footer-dev-link:hover {
    color: #e7bd47 !important;
    text-decoration: underline;
}

@media (max-width: 991px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 22px !important;
    }
}

@media (max-width: 640px) {
    .site-footer .footer-top {
        padding: 30px 0 18px !important;
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .site-footer .footer-bottom-left {
        justify-content: center;
        text-align: center;
    }
}
