/* =============================================
   FABRILIFE ECOMMERCE - COMPLETE CSS
   ============================================= */

/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body { font-family: 'Arial', sans-serif; color: #333; background: #fff; line-height: 1.5; -ms-overflow-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* =============================================
   HEADER
   ============================================= */
.header { position: sticky; top: 0; z-index: 500; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }

.announcement-bar {
    background: #1a2a4a;
    color: #e6c878;
    text-align: center;
    padding: 6px 15px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.header-main { background: #1a1a1a; }

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    height: 70px;
}

.header-logo { flex-shrink: 0; }
.logo-text {
    color: #e6c878;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 3px;
}
.logo-img { height: 40px; width: auto; object-fit: contain; }

.main-nav { display: flex; align-items: center; gap: 5px; }
.nav-link {
    color: #ccc;
    text-decoration: none;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.2s;
    white-space: nowrap;
}
.nav-link:hover { color: #1a2a4a; }

.header-search { flex: 1; max-width: 350px; }
.search-form { display: flex; background: #333; border-radius: 4px; overflow: hidden; }
.search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #e6c878;
    padding: 10px 14px;
    font-size: 13px;
    outline: none;
}
.search-input::placeholder { color: #888; }
.search-btn {
    background: #1a2a4a;
    border: none;
    color: #e6c878;
    padding: 10px 14px;
    font-size: 14px;
    transition: background 0.2s;
}
.search-btn:hover { background: #0f1830; }

.header-right { display: flex; align-items: center; gap: 5px; margin-left: auto; }
.header-icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ccc;
    padding: 8px 10px;
    font-size: 11px;
    gap: 3px;
    position: relative;
    transition: color 0.2s;
    white-space: nowrap;
}
.header-icon-link:hover { color: #1a2a4a; }
.header-icon-link i { font-size: 18px; }
.icon-label { font-size: 10px; letter-spacing: 0.5px; }
.cart-icon { position: relative; }
.cart-count {
    background: #1a2a4a;
    color: #e6c878;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 2px;
    right: 4px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #e6c878;
    font-size: 22px;
    padding: 8px;
}

/* Mobile Nav Drawer */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 600;
}
.mobile-nav-overlay.open { display: block; }
.mobile-nav-drawer {
    position: fixed;
    left: -280px;
    top: 0;
    bottom: 0;
    width: 280px;
    background: #1a1a1a;
    z-index: 700;
    transition: left 0.3s ease;
    overflow-y: auto;
}
.mobile-nav-drawer.open { left: 0; }
.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: #111;
    border-bottom: 1px solid #333;
}
.mobile-nav-close { background: none; border: none; color: #ccc; font-size: 20px; }
.mobile-nav-links { padding: 10px 0; }
.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    padding: 12px 20px;
    font-size: 14px;
    border-bottom: 1px solid #222;
    transition: color 0.2s, background 0.2s;
}
.mobile-nav-link:hover { color: #1a2a4a; background: rgba(26,42,74,0.05); }
.mobile-nav-link hr { border: none; border-top: 1px solid #333; margin: 5px 20px; }

/* =============================================
   CATEGORY STRIP
   ============================================= */
.category-strip {
    background: #fff;
    border-bottom: 2px solid #eee;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    position: relative;
}
.category-strip::-webkit-scrollbar { display: none; }
.category-strip::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 32px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.95));
    pointer-events: none;
    z-index: 1;
}
.strip-inner {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0 12px;
    white-space: nowrap;
    min-height: 50px;
    width: max-content;
}
.strip-link {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    padding: 14px 16px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: color 0.2s;
    border-bottom: 2px solid transparent;
}
.strip-link:hover { color: #1a2a4a; border-bottom-color: #1a2a4a; }
.strip-shop-btn { color: #1a2a4a; }
.strip-divider { width: 1px; height: 20px; background: #ddd; flex-shrink: 0; margin: 0 10px; }
.app-badge {
    background: #28a745;
    color: #e6c878;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.strip-store-btn {
    background: #1a1a1a;
    color: #e6c878;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 6px;
    white-space: nowrap;
    transition: background 0.2s;
}
.strip-store-btn:hover { background: #1a2a4a; }

/* =============================================
   EVENT BAR
   ============================================= */
.event-bar {
    background: linear-gradient(90deg, #e8f4fd, #dbeeff);
    border-bottom: 1px solid #c8e1f9;
}
.event-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 9px 20px;
    font-size: 13px;
    color: #0066cc;
    font-weight: 500;
    text-align: center;
}

/* =============================================
   HERO SLIDER
   ============================================= */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: #1a1a1a;
    width: 100%;
}
.slides-wrapper { display: flex; transition: transform 0.5s ease; }
.slide {
    min-width: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 500px;
    display: flex;
    align-items: center;
}
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 100%);
}
.slide-content {
    position: relative;
    z-index: 1;
    padding: 0 80px;
    max-width: 650px;
    color: #e6c878;
}
.slide-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.slide-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 25px;
    font-weight: 300;
}
.slide-btn {
    background: #1a2a4a;
    color: #e6c878;
    padding: 14px 35px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 3px;
    display: inline-block;
    transition: background 0.2s, transform 0.2s;
    text-transform: uppercase;
}
.slide-btn:hover { background: #0f1830; transform: translateY(-1px); }

.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.4);
    color: #e6c878;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s;
    cursor: pointer;
}
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-prev:hover, .slider-next:hover { background: rgba(26,42,74,0.7); border-color: transparent; }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
}
.dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.45);
    border: none;
    cursor: pointer;
    transition: width 0.35s ease, background 0.35s ease;
    padding: 0;
    flex-shrink: 0;
}
.dot.active {
    width: 28px;
    background: #1a2a4a;
}

/* =============================================
   NEW ARRIVAL SECTION
   ============================================= */
.new-arrival-section { background: #f8f5f0; padding-bottom: 30px; }

.section-title-area {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 30px 20px 15px;
    max-width: 1400px;
    margin: 0 auto;
}
.section-title-left { display: flex; flex-direction: column; }
.section-label { font-size: 12px; color: #999; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 4px; }
.section-heading { font-size: 26px; font-weight: 900; color: #333; letter-spacing: 2px; }
.orange-text { color: #1a2a4a; }
.view-all-btn {
    color: #1a2a4a;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #1a2a4a;
    padding: 6px 14px;
    border-radius: 3px;
    transition: all 0.2s;
    white-space: nowrap;
}
.view-all-btn:hover { background: #1a2a4a; color: #e6c878; }

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    padding: 0 20px 10px;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: white;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 2px;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,0.15); }

.product-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}
.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.product-card:hover .product-card-image img { transform: scale(1.07); }

.discount-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #1a2a4a;
    color: #e6c878;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 2px;
    z-index: 1;
}
.new-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #28a745;
    color: #e6c878;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 2px;
    z-index: 1;
}

.product-card-actions {
    padding: 0 10px 10px;
}
.add-to-cart-btn {
    background: #1a2a4a;
    color: #e6c878;
    border: none;
    padding: 9px 0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: background 0.2s;
}
.add-to-cart-btn:hover { background: #0f1830; }
.add-to-cart-btn i { font-size: 14px; }

.product-info { padding: 10px; }
.product-category-label { font-size: 11px; color: #1a2a4a; text-transform: uppercase; letter-spacing: 0.5px; }
.product-name { font-size: 13px; color: #333; font-weight: 500; margin: 4px 0; line-height: 1.3; }
.product-pricing { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.product-price { font-size: 14px; font-weight: 700; color: #1a2a4a; }
.product-old-price { font-size: 12px; color: #aaa; text-decoration: line-through; }

/* =============================================
   PROMOTIONAL BANNERS
   ============================================= */
.promo-section { padding: 10px 20px 20px; max-width: 1400px; margin: 0 auto; }
.promo-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.promo-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 10px; }

.promo-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
    background: #eee;
}
.promo-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.promo-row-3 .promo-card img { height: 220px; }
.promo-card:hover img { transform: scale(1.06); }

.promo-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: #e6c878;
    padding: 30px 20px 18px;
    transition: padding 0.2s;
}
.promo-card:hover .promo-overlay { padding-bottom: 22px; }
.promo-title { font-size: 18px; font-weight: 800; margin-bottom: 5px; text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.promo-cta { font-size: 13px; opacity: 0.8; }

/* =============================================
   FABRILIFE INFO
   ============================================= */
.fabrilife-info { padding: 50px 20px; }
.fabrilife-info .container { max-width: 1200px; margin: 0 auto; }
.info-layout { display: flex; align-items: center; gap: 50px; }
.info-text { flex: 1; }
.info-text h3 { font-size: 28px; font-weight: 800; color: #1a1a1a; margin-bottom: 18px; line-height: 1.2; }
.info-text p { font-size: 14px; line-height: 1.8; color: #666; margin-bottom: 25px; }
.info-shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a1a1a;
    color: #e6c878;
    padding: 12px 25px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 3px;
    transition: background 0.2s;
}
.info-shop-btn:hover { background: #1a2a4a; }
.info-image { flex: 0 0 350px; }
.info-image img { width: 100%; height: 300px; object-fit: cover; border-radius: 6px; }

/* =============================================
   ACCESSORIES
   ============================================= */
.accessories-section { padding: 0 20px 30px; max-width: 1400px; margin: 0 auto; }
.accessories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.accessory-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
    background: #eee;
}
.accessory-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s;
}
.accessory-card:hover img { transform: scale(1.08); }
.accessory-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #e6c878;
    transition: background 0.2s;
}
.accessory-card:hover .accessory-overlay { background: rgba(0,0,0,0.5); }
.accessory-title { font-size: 22px; font-weight: 800; text-shadow: 0 2px 6px rgba(0,0,0,0.4); letter-spacing: 1px; }
.accessory-cta { font-size: 13px; margin-top: 8px; opacity: 0.85; }

/* =============================================
   WORK WITH US
   ============================================= */
.work-with-us { padding: 50px 20px 0; background: #fff; text-align: center; }
.work-with-us .container { max-width: 700px; margin: 0 auto; }
.work-with-us h2 { font-size: 24px; font-weight: 800; color: #1a1a1a; margin-bottom: 12px; }
.partner-text { font-size: 14px; color: #666; margin-bottom: 8px; }
.powered-by { font-size: 13px; color: #1a2a4a; font-weight: 600; margin-bottom: 30px; }

.squad-banner {
    background: linear-gradient(135deg, #00b4d8, #0077b6);
    color: #e6c878;
    padding: 40px 20px;
    margin-top: 40px;
    text-align: center;
}
.squad-banner .container { max-width: 900px; margin: 0 auto; }
.squad-banner h3 { font-size: 32px; font-weight: 900; letter-spacing: 3px; margin-bottom: 10px; }
.squad-banner p { font-size: 15px; opacity: 0.85; margin-bottom: 20px; }
.squad-btn {
    background: white;
    color: #0077b6;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 3px;
    display: inline-block;
    transition: all 0.2s;
    letter-spacing: 1px;
}
.squad-btn:hover { background: #1a2a4a; color: #e6c878; }

/* =============================================
   FOOTER
   ============================================= */
.footer { background: #1a1a1a; color: #aaa; }
.footer-top { padding: 50px 0 30px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}
.footer-logo-text { font-size: 24px; font-weight: 900; color: #e6c878; letter-spacing: 3px; margin-bottom: 12px; }
.footer-tagline { font-size: 13px; margin-bottom: 15px; }
.footer-contact { font-size: 13px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.footer-contact i { color: #e6c878; width: 14px; }
.footer-col-title { color: #e6c878; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
.footer-link { display: block; color: #888; font-size: 13px; margin-bottom: 8px; transition: color 0.2s; }
.footer-link:hover { color: #1a2a4a; }
.footer-newsletter-text { font-size: 13px; margin-bottom: 10px; }
.newsletter-form { display: flex; flex-direction: column; gap: 8px; }
.newsletter-input {
    background: #2a2a2a;
    border: 1px solid #444;
    color: #e6c878;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 13px;
}
.newsletter-input::placeholder { color: #666; }
.newsletter-btn {
    background: #1a2a4a;
    color: #e6c878;
    border: none;
    padding: 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.newsletter-btn:hover { background: #0f1830; }
.social-icons { display: flex; gap: 10px; margin-top: 15px; flex-wrap: wrap; }
.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2a2a2a;
    color: #e6c878;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: background 0.2s, transform 0.2s;
}
.social-icon:hover { background: #1a2a4a; transform: translateY(-2px); }
.app-buttons { display: flex; flex-direction: column; gap: 8px; margin-top: 15px; }
.app-btn {
    background: #2a2a2a;
    color: #e6c878;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
    border: 1px solid #444;
}
.app-btn:hover { background: #1a2a4a; border-color: #1a2a4a; }
.footer-bottom {
    border-top: 1px solid #2a2a2a;
    padding: 20px 30px;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-bottom p { font-size: 12px; color: #555; }
.payment-methods { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #555; }

/* =============================================
   FLOATING BUTTONS
   ============================================= */
.floating-buttons {
    position: fixed;
    right: 16px;
    bottom: 160px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.float-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e6c878;
    font-size: 19px;
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(0,0,0,0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}
.float-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}
.float-messenger { background: #0084ff; }
.float-whatsapp { background: #25d366; }
.float-phone { background: #ff4444; }
.float-chat { background: #1a2a4a; }

/* =============================================
   MOBILE BOTTOM NAV
   ============================================= */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0; right: 0;
    background: #1a1a1a;
    z-index: 800;
    padding: 6px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}
.bottom-nav-items { display: flex; justify-content: space-around; }
.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #888;
    padding: 4px 8px;
    font-size: 10px;
    gap: 3px;
    border: none;
    background: none;
    cursor: pointer;
    transition: color 0.2s;
    position: relative;
    text-decoration: none;
}
.bottom-nav-item.active, .bottom-nav-item:hover { color: #1a2a4a; }
.bottom-nav-item i { font-size: 20px; }

/* Mobile Search Overlay */
.mobile-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    padding-top: 80px;
}
.mobile-search-box {
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
}
.mobile-search-box form {
    display: flex;
    gap: 8px;
    background: white;
    border-radius: 6px;
    padding: 8px;
}
.mobile-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    padding: 6px;
}
.mobile-search-submit, .mobile-search-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
    color: #333;
}

/* =============================================
   PAGE LAYOUT
   ============================================= */
.page-wrapper { min-height: 60vh; }
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.page-header {
    background: #f8f8f8;
    padding: 25px 20px;
    border-bottom: 1px solid #eee;
}
.page-header h1 { font-size: 24px; font-weight: 700; color: #333; margin-bottom: 5px; }
.breadcrumb { font-size: 13px; color: #888; }
.breadcrumb a { color: #1a2a4a; }

/* =============================================
   PRODUCTS LISTING PAGE
   ============================================= */
.products-layout {
    display: flex;
    gap: 24px;
    padding: 24px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.filter-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
    height: fit-content;
    position: sticky;
    top: 90px;
}
.filter-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.filter-header h3 { font-size: 15px; font-weight: 700; }
.filter-close { background: none; border: none; font-size: 18px; color: #888; display: none; }
.filter-group { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #f0f0f0; }
.filter-title { font-size: 13px; font-weight: 700; color: #333; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.filter-option { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #555; margin-bottom: 8px; cursor: pointer; }
.filter-option input { width: 14px; height: 14px; accent-color: #1a2a4a; }
.price-range { display: flex; align-items: center; gap: 6px; }
.price-range span { flex-shrink: 0; color: #888; font-size: 13px; }
.price-input { flex: 1; min-width: 0; width: 0; padding: 6px 6px; border: 1px solid #ddd; border-radius: 4px; font-size: 13px; box-sizing: border-box; }
.filter-apply-btn { width: 100%; background: #1a2a4a; color: #e6c878; border: none; padding: 10px; border-radius: 4px; font-size: 13px; font-weight: 600; margin-bottom: 8px; cursor: pointer; }
.filter-clear-btn { display: block; text-align: center; font-size: 13px; color: #888; padding: 6px; }

.products-main { flex: 1; min-width: 0; }
.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}
.toolbar-left { display: flex; align-items: center; gap: 12px; }
.filter-toggle-btn {
    background: #1a1a1a;
    color: #e6c878;
    border: none;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    display: none;
}
.results-count { font-size: 13px; color: #888; }
.sort-select { padding: 8px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 13px; cursor: pointer; }

.filter-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 400; }
.filter-overlay.active { display: block; }

/* Pagination */
.pagination-wrapper { padding: 20px 0; }
.pagination-wrapper nav { display: flex; justify-content: center; }

/* Empty state */
.empty-state { text-align: center; padding: 60px 20px; color: #888; }
.empty-state i { margin-bottom: 20px; color: #ddd; }
.empty-state h3 { font-size: 20px; color: #555; margin-bottom: 10px; }
.empty-state p { font-size: 14px; margin-bottom: 20px; }

/* =============================================
   PRODUCT DETAIL
   ============================================= */
.breadcrumb-nav { background: #f8f8f8; padding: 12px 0; border-bottom: 1px solid #eee; font-size: 13px; color: #888; }
.breadcrumb-nav a { color: #1a2a4a; }
.product-detail-wrapper { padding: 30px 0; }
.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.product-gallery { position: sticky; top: 80px; height: fit-content; }
.main-image-wrapper { position: relative; border-radius: 6px; overflow: hidden; background: #f8f8f8; }
.main-product-image { width: 100%; aspect-ratio: 1; object-fit: cover; }
.detail-discount-badge {
    position: absolute;
    top: 15px; left: 15px;
    background: #1a2a4a;
    color: #e6c878;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 3px;
}
.thumbnail-gallery { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbnail-btn {
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    background: none;
    padding: 0;
    transition: border-color 0.2s;
}
.thumbnail-btn.active { border-color: #1a2a4a; }
.thumbnail-btn img { width: 70px; height: 70px; object-fit: cover; }

.product-detail-category { font-size: 12px; color: #1a2a4a; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; display: block; }
.product-detail-name { font-size: 26px; font-weight: 800; color: #1a1a1a; margin-bottom: 10px; line-height: 1.2; }
.product-detail-brand { font-size: 14px; color: #666; margin-bottom: 15px; }
.product-detail-pricing { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; flex-wrap: wrap; }
.product-detail-price { font-size: 28px; font-weight: 800; color: #1a2a4a; }
.product-detail-old-price { font-size: 18px; color: #aaa; text-decoration: line-through; }
.product-detail-savings { background: #e8ebf2; color: #1a2a4a; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 20px; }
.product-detail-sku { font-size: 13px; color: #888; margin-bottom: 15px; }

.stock-status { font-size: 14px; font-weight: 600; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.in-stock { color: #28a745; }
.out-of-stock { color: #dc3545; }

.add-to-cart-section { display: flex; gap: 12px; margin-bottom: 25px; align-items: center; }
.qty-selector { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 4px; overflow: hidden; }
.qty-btn { background: #f8f8f8; border: none; width: 36px; height: 44px; font-size: 18px; cursor: pointer; transition: background 0.2s; }
.qty-btn:hover { background: #1a2a4a; color: #e6c878; }
.qty-input { width: 50px; border: none; text-align: center; font-size: 15px; font-weight: 600; outline: none; }
.add-to-cart-main-btn {
    flex: 1;
    background: #1a1a1a;
    color: #e6c878;
    border: none;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}
.add-to-cart-main-btn:hover:not(.disabled) { background: #1a2a4a; }
.add-to-cart-main-btn.disabled { opacity: 0.6; cursor: not-allowed; }

.product-description { margin-bottom: 25px; padding-top: 20px; border-top: 1px solid #eee; }
.product-description h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.description-text { font-size: 14px; color: #666; line-height: 1.7; white-space: pre-wrap; }

.delivery-info { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: #f8f8f8; border-radius: 6px; }
.delivery-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #555; }
.delivery-item i { color: #1a2a4a; width: 16px; }

.related-products { margin-top: 40px; padding-top: 30px; border-top: 1px solid #eee; }
.related-products h2 { font-size: 22px; font-weight: 800; margin-bottom: 20px; }

/* =============================================
   STORES PAGE
   ============================================= */
.stores-container { padding: 30px 20px; }
.stores-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.store-card { background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.store-info { padding: 24px; }
.store-header { display: flex; align-items: center; gap: 15px; margin-bottom: 18px; }
.store-icon {
    width: 50px; height: 50px;
    background: #e8ebf2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a2a4a;
    font-size: 22px;
    flex-shrink: 0;
}
.store-name { font-size: 18px; font-weight: 700; color: #1a1a1a; }
.store-details { margin-bottom: 18px; }
.store-detail-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #555; margin-bottom: 8px; }
.store-detail-item i { color: #1a2a4a; width: 16px; flex-shrink: 0; margin-top: 2px; }
.store-detail-item a { color: #1a2a4a; }
.store-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-get-direction {
    background: #1a2a4a;
    color: #e6c878;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.btn-call-store {
    background: #1a1a1a;
    color: #e6c878;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.store-map { border-top: 1px solid #f0f0f0; }
.store-map iframe { display: block; }

/* =============================================
   TRACKING PAGE
   ============================================= */
.tracking-container { padding: 30px 20px; max-width: 900px; }
.tracking-form-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}
.tracking-form-card h2 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.tracking-form-card p { font-size: 14px; color: #666; margin-bottom: 20px; }
.tracking-form { display: flex; flex-direction: column; gap: 16px; }
.tracking-submit-btn {
    background: #1a1a1a;
    color: #e6c878;
    border: none;
    padding: 13px 30px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    transition: background 0.2s;
}
.tracking-submit-btn:hover { background: #1a2a4a; }

.tracking-result { display: flex; flex-direction: column; gap: 20px; }
.order-summary-card, .tracking-items-card, .tracking-timeline-card {
    background: white;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.order-summary-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.order-summary-header h3 { font-size: 18px; font-weight: 700; }
.order-status-badge {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}
.order-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.order-meta-item { display: flex; flex-direction: column; gap: 3px; }
.meta-label { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 0.5px; }
.meta-value { font-size: 14px; font-weight: 600; color: #333; }
.order-total { font-size: 18px; color: #1a2a4a; }
.courier-info { margin-top: 15px; padding-top: 15px; border-top: 1px solid #eee; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.order-items-list { display: flex; flex-direction: column; gap: 12px; }
.order-item-row { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid #f5f5f5; }
.order-item-image img { width: 65px; height: 65px; object-fit: cover; border-radius: 6px; }
.order-item-details { flex: 1; }
.order-item-details h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.order-item-details p { font-size: 13px; color: #666; }
.order-item-total { font-size: 15px; font-weight: 700; color: #1a2a4a; }

.timeline { padding-left: 20px; border-left: 2px solid #eee; }
.timeline-item { position: relative; padding: 0 0 20px 25px; }
.timeline-dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    position: absolute;
    left: -8px;
    top: 2px;
    border: 2px solid white;
}
.timeline-dot.status-pending { background: #ffc107; }
.timeline-dot.status-confirmed { background: #17a2b8; }
.timeline-dot.status-processing { background: #17a2b8; }
.timeline-dot.status-shipped { background: #6f42c1; }
.timeline-dot.status-delivered { background: #28a745; }
.timeline-dot.status-cancelled { background: #dc3545; }
.timeline-content h4 { font-size: 14px; font-weight: 700; color: #333; margin-bottom: 4px; }
.timeline-content p { font-size: 13px; color: #666; margin-bottom: 4px; }
.timeline-date { font-size: 12px; color: #999; }
.status-pending { background: #fff3cd; color: #856404; border-radius: 20px; padding: 2px 10px; }
.status-confirmed { background: #d1ecf1; color: #0c5460; border-radius: 20px; padding: 2px 10px; }
.status-shipped { background: #e2d9f3; color: #4b2e83; border-radius: 20px; padding: 2px 10px; }
.status-delivered { background: #d4edda; color: #155724; border-radius: 20px; padding: 2px 10px; }
.status-cancelled { background: #f8d7da; color: #721c24; border-radius: 20px; padding: 2px 10px; }
.status-unpaid { background: #f8d7da; color: #721c24; border-radius: 20px; padding: 2px 10px; }
.status-paid { background: #d4edda; color: #155724; border-radius: 20px; padding: 2px 10px; }

/* =============================================
   CART PAGE
   ============================================= */
.cart-container { padding: 30px 0; }
.cart-layout { display: grid; grid-template-columns: 1fr 350px; gap: 30px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { background: #f8f8f8; padding: 12px 16px; font-size: 12px; font-weight: 700; color: #555; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 2px solid #eee; text-align: left; }
.cart-table td { padding: 16px; border-bottom: 1px solid #f5f5f5; vertical-align: middle; }
.cart-product { display: flex; align-items: center; gap: 14px; }
.cart-product-img { width: 75px; height: 75px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.cart-product-name { font-size: 14px; font-weight: 600; color: #333; display: block; margin-bottom: 4px; }
.cart-product-name:hover { color: #1a2a4a; }
.cart-product-sku { font-size: 12px; color: #999; }
.cart-price { font-size: 14px; font-weight: 600; }
.qty-control { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 4px; width: fit-content; overflow: hidden; }
.qty-btn { background: #f8f8f8; border: none; width: 32px; height: 36px; font-size: 16px; cursor: pointer; }
.qty-btn:hover { background: #1a2a4a; color: #e6c878; }
.qty-input-small { width: 45px; border: none; text-align: center; font-size: 14px; outline: none; }
.cart-subtotal { font-size: 15px; font-weight: 700; color: #1a2a4a; }
.cart-remove-btn { background: none; border: none; color: #dc3545; font-size: 16px; cursor: pointer; padding: 5px; }
.cart-actions { padding: 16px 0; }
.btn-continue-shopping {
    color: #555;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.btn-continue-shopping:hover { color: #1a2a4a; }

.cart-summary-section { position: sticky; top: 100px; }
.order-summary-box { background: #f8f8f8; border-radius: 8px; padding: 24px; }
.summary-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 10px; color: #555; }
.summary-row span:last-child { font-weight: 600; color: #1a1a1a; }
.summary-divider { border: none; border-top: 1.5px dashed #e0e0e0; margin: 12px 0; }
.summary-total { font-size: 17px; font-weight: 800; color: #1a2a4a !important; }
.summary-total span:last-child { color: #1a2a4a !important; }
.shipping-note { font-size: 12px; color: #888; margin-bottom: 15px; display: flex; align-items: center; gap: 6px; }
.coupon-section { display: flex; gap: 8px; margin-bottom: 8px; }
.coupon-input { flex: 1; padding: 9px 12px; border: 1.5px solid #ddd; border-radius: 6px; font-size: 13px; letter-spacing: 1px; font-weight: 600; }
.coupon-input:focus { border-color: #1a2a4a; outline: none; }
.coupon-apply-btn { background: #1a1a1a; color: #e6c878; border: none; padding: 9px 14px; border-radius: 6px; font-size: 13px; cursor: pointer; white-space: nowrap; transition: background 0.2s; }
.coupon-apply-btn:hover { background: #1a2a4a; }
.coupon-apply-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.coupon-applied-box { display: flex; align-items: center; justify-content: space-between; background: #f0fdf4; border: 1.5px solid #86efac; border-radius: 6px; padding: 10px 12px; margin-bottom: 8px; font-size: 13px; color: #15803d; gap: 8px; }
.coupon-remove-btn { background: none; border: none; color: #dc3545; font-size: 12px; cursor: pointer; white-space: nowrap; padding: 2px 6px; }
.checkout-btn {
    display: block;
    background: #1a2a4a;
    color: #e6c878;
    text-align: center;
    padding: 15px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-bottom: 12px;
    transition: background 0.2s;
}
.checkout-btn:hover { background: #0f1830; color: #e6c878; }
.secure-checkout { text-align: center; font-size: 12px; color: #888; display: flex; align-items: center; justify-content: center; gap: 6px; }

.empty-cart { text-align: center; padding: 80px 20px; }
.empty-cart i { font-size: 64px; color: #e0e0e0; margin-bottom: 20px; }
.empty-cart h2 { font-size: 24px; margin-bottom: 10px; }
.empty-cart p { color: #888; margin-bottom: 24px; }
.btn-primary { background: #1a2a4a; color: #e6c878; border: none; padding: 12px 24px; border-radius: 4px; font-size: 14px; font-weight: 600; display: inline-block; transition: background 0.2s; cursor: pointer; }
.btn-primary:hover { background: #0f1830; color: #e6c878; }

/* =============================================
   CHECKOUT PAGE
   ============================================= */
.checkout-container { padding: 24px 0; }
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 20px; align-items: start; }

/* Section cards */
.checkout-section-card {
    background: white;
    border-radius: 12px;
    padding: 22px 24px;
    margin-bottom: 0;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    border: 1px solid #f0f0f0;
}
.checkout-section-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f5f5f5;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 10px;
}
.checkout-section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background: #1a2a4a;
    border-radius: 2px;
    flex-shrink: 0;
}

/* Tighten form groups on desktop */
.checkout-billing .form-group { margin-bottom: 12px; }
.checkout-billing .form-row-2 { gap: 12px; }

/* Better form inputs on desktop */
.checkout-billing .form-control {
    padding: 9px 12px;
    border: 1.5px solid #e8e8e8;
    border-radius: 8px;
    font-size: 13px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fafafa;
}
.checkout-billing .form-control:focus {
    border-color: #1a2a4a;
    box-shadow: 0 0 0 3px rgba(26,42,74,0.08);
    background: #fff;
    outline: none;
}
.checkout-billing textarea.form-control { resize: none; }
.checkout-billing .form-label {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin-bottom: 4px;
}

/* Sticky order summary on desktop */
.checkout-summary { position: sticky; top: 80px; }

/* Order items in summary */
.order-items-preview { margin-bottom: 12px; max-height: 200px; overflow-y: auto; padding-right: 4px; }
.order-items-preview::-webkit-scrollbar { width: 4px; }
.order-items-preview::-webkit-scrollbar-thumb { background: #eee; border-radius: 2px; }
.checkout-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    margin-bottom: 0;
}
.checkout-item:last-child { border-bottom: none; }
.checkout-item-image img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; }
.checkout-item-qty {
    position: absolute;
    top: -6px; right: -6px;
    background: #1a2a4a;
    color: #e6c878;
    width: 20px; height: 20px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.checkout-item-name { flex: 1; font-size: 13px; color: #444; line-height: 1.4; }
.checkout-item-price { font-size: 14px; font-weight: 700; color: #1a1a1a; white-space: nowrap; }

/* Summary totals */
.checkout-summary-rows {
    background: #fafafa;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 18px;
    border: 1px solid #f0f0f0;
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: #555; margin-bottom: 5px; }
.form-control { width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; color: #333; }
.form-control:focus { outline: none; border-color: #1a2a4a; box-shadow: 0 0 0 3px rgba(26,42,74,0.1); }
.invalid-feedback { font-size: 12px; color: #dc3545; margin-top: 4px; }
.is-invalid { border-color: #dc3545; }
.required { color: #dc3545; }

.payment-methods { display: flex; flex-direction: column; gap: 8px; }
.payment-option {
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
    background: #fff;
}
.payment-option:hover { border-color: #5a6f99; box-shadow: 0 2px 12px rgba(26,42,74,0.08); }
.payment-option.active { border-color: #1a2a4a; background: #eef1f6; box-shadow: 0 2px 16px rgba(26,42,74,0.12); }
.payment-option input { display: none; }
.payment-option-content { display: flex; align-items: center; gap: 14px; }

/* Icon wrapper */
.payment-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cod-icon { background: #e8f5e9; }
.cod-icon i { font-size: 22px; color: #2e7d32; }
.bkash-icon { background: #fce4ec; border-radius: 12px; overflow: hidden; padding: 0; }
.bkash-icon svg { display: block; }

/* Label */
.payment-label { flex: 1; }
.payment-label strong { display: block; font-size: 14px; font-weight: 700; color: #1a1a1a; margin-bottom: 2px; }
.payment-label small { font-size: 12px; color: #888; }

/* Checkmark â€” only visible when active */
.payment-check-mark {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.25s, background 0.25s;
}
.payment-check-mark i { font-size: 13px; color: transparent; transition: color 0.25s; }
.payment-option.active .payment-check-mark {
    border-color: #1a2a4a;
    background: #1a2a4a;
}
.payment-option.active .payment-check-mark i { color: #e6c878; }

.order-items-preview { margin-bottom: 20px; }
.checkout-item-image { position: relative; flex-shrink: 0; }

.place-order-btn {
    width: 100%;
    background: linear-gradient(135deg, #1a2a4a, #0f1830);
    color: #e6c878;
    border: none;
    padding: 17px 20px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
    box-shadow: 0 4px 16px rgba(26,42,74,0.35);
}
.place-order-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(26,42,74,0.45);
}
.place-order-btn:active:not(:disabled) { transform: translateY(0); }
.place-order-btn:disabled { opacity: 0.7; cursor: not-allowed; box-shadow: none; }
.checkout-terms { font-size: 12px; color: #aaa; text-align: center; line-height: 1.6; }
.checkout-terms a { color: #1a2a4a; }

/* Order Success */
.order-success-wrapper { max-width: 600px; margin: 60px auto; text-align: center; padding: 40px 30px; background: white; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.success-icon i { font-size: 64px; color: #28a745; margin-bottom: 20px; }
.order-success-wrapper h1 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.order-success-wrapper > p { color: #666; margin-bottom: 25px; }
.success-order-info { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: #f8f8f8; border-radius: 8px; padding: 20px; margin-bottom: 25px; text-align: left; }
.success-detail { display: flex; flex-direction: column; gap: 3px; }
.detail-label { font-size: 12px; color: #888; text-transform: uppercase; }
.detail-value { font-size: 15px; font-weight: 700; }
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.btn-track-order { background: #1a2a4a; color: #e6c878; padding: 12px 20px; border-radius: 6px; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.btn-continue-shopping-success { background: #1a1a1a; color: #e6c878; padding: 12px 20px; border-radius: 6px; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.success-note { font-size: 13px; color: #888; display: flex; align-items: center; gap: 6px; justify-content: center; }

/* =============================================
   AUTH PAGES
   ============================================= */
.auth-container { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 30px 20px; background: #f5f6fa; }
.auth-card { background: white; border-radius: 12px; padding: 40px; width: 100%; max-width: 420px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.auth-header { text-align: center; margin-bottom: 28px; }
.auth-header h1 { font-size: 26px; font-weight: 800; color: #1a1a1a; margin-bottom: 6px; }
.auth-header p { font-size: 14px; color: #888; }
.auth-form { display: flex; flex-direction: column; gap: 0; }
.auth-submit-btn { background: #1a2a4a; color: #e6c878; border: none; padding: 14px; font-size: 15px; font-weight: 700; border-radius: 4px; cursor: pointer; margin-top: 8px; transition: background 0.2s; letter-spacing: 0.5px; }
.auth-submit-btn:hover { background: #0f1830; }
.password-field { position: relative; }
.password-field input { padding-right: 44px; }
.password-toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #888; font-size: 16px; cursor: pointer; }
.form-check-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 13px; }
.form-check { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.forgot-link { color: #1a2a4a; font-size: 13px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 14px; color: #666; }
.auth-footer a { color: #1a2a4a; font-weight: 600; }
.alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; }
.alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }

/* =============================================
   ACCOUNT PAGES
   ============================================= */
.account-container { padding: 30px 0; }
.account-layout { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; }
.account-sidebar { background: white; border-radius: 10px; padding: 20px; box-shadow: 0 1px 8px rgba(0,0,0,0.06); position: sticky; top: 90px; }
.account-avatar { text-align: center; padding: 20px 0; border-bottom: 1px solid #eee; margin-bottom: 15px; }
.avatar-circle { width: 70px; height: 70px; border-radius: 50%; background: #1a2a4a; color: #e6c878; font-size: 28px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.account-avatar h3 { font-size: 16px; font-weight: 700; }
.account-avatar p { font-size: 13px; color: #888; }
.account-nav { display: flex; flex-direction: column; gap: 2px; }
.account-nav-link { display: flex; align-items: center; gap: 10px; color: #555; padding: 10px 12px; border-radius: 6px; font-size: 14px; transition: all 0.2s; cursor: pointer; width: 100%; border: none; background: none; text-align: left; text-decoration: none; }
.account-nav-link:hover { background: #e8ebf2; color: #1a2a4a; }
.account-nav-link.active { background: #1a2a4a; color: #e6c878; }
.logout-btn { color: #dc3545 !important; }
.logout-btn:hover { background: #fdecea !important; }

.account-main { background: white; border-radius: 10px; padding: 24px; box-shadow: 0 1px 8px rgba(0,0,0,0.06); }
.account-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card-small { background: #f8f8f8; border-radius: 8px; padding: 16px; display: flex; align-items: center; gap: 14px; }
.stat-icon { width: 45px; height: 45px; border-radius: 8px; background: #e8ebf2; color: #1a2a4a; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.stat-number { font-size: 22px; font-weight: 700; display: block; }
.stat-label { font-size: 12px; color: #888; }
.account-section { margin-top: 24px; }
.section-header-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.section-header-row h2 { font-size: 18px; font-weight: 700; }
.view-all-link { color: #1a2a4a; font-size: 13px; }
.orders-list { display: flex; flex-direction: column; gap: 8px; }
.order-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #f8f8f8; border-radius: 6px; }
.order-row-info { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.order-row-id { font-weight: 700; font-size: 14px; }
.order-row-date { font-size: 13px; color: #888; }
.order-row-status { font-size: 12px; padding: 3px 10px; border-radius: 20px; font-weight: 600; }
.order-row-amount { font-size: 15px; font-weight: 700; color: #1a2a4a; }

.orders-table-wrapper { overflow-x: auto; }
.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th { background: #f8f8f8; padding: 12px 16px; font-size: 12px; font-weight: 700; text-align: left; border-bottom: 2px solid #eee; }
.orders-table td { padding: 12px 16px; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.status-badge { padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; display: inline-block; }
.btn-sm-primary { background: #1a2a4a; color: #e6c878; padding: 5px 12px; border-radius: 4px; font-size: 12px; text-decoration: none; display: inline-block; }

.address-card { background: #f8f8f8; border-radius: 8px; padding: 20px; margin-bottom: 20px; }
.address-card-header { margin-bottom: 12px; }
.address-type { font-size: 12px; font-weight: 700; color: #1a2a4a; text-transform: uppercase; letter-spacing: 1px; background: #e8ebf2; padding: 3px 10px; border-radius: 20px; }
.address-details p { font-size: 14px; color: #555; margin-bottom: 5px; }
.address-note { font-size: 13px; color: #888; display: flex; align-items: center; gap: 6px; }
.empty-state-small { padding: 20px; text-align: center; color: #888; font-size: 14px; }
.text-muted { color: #aaa; }

/* Cart Toast */
.cart-toast {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: #1a1a1a;
    color: #e6c878;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    z-index: 2000;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.cart-toast.show { opacity: 1; transform: translateY(0); }

/* =============================================
   RESPONSIVE
   ============================================= */
/* =============================================
   PREVENT HORIZONTAL SCROLL GLOBALLY
   ============================================= */
html {
    overflow-x: hidden;
}
body {
    overflow-x: hidden;
    width: 100%;
}
/* Target specific wrappers â€” NOT * selector which breaks sliders */
/* category-strip excluded â€” it needs overflow-x: auto for horizontal scroll */
.header, .page-wrapper,
.new-arrival-section, .promo-section, .fabrilife-info,
.accessories-section, .work-with-us, .footer,
.cart-container, .checkout-container, .products-layout {
    max-width: 100%;
    overflow-x: hidden;
}

/* =============================================
   RESPONSIVE â€” 1200px
   ============================================= */
@media (max-width: 1200px) {
    .products-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* =============================================
   RESPONSIVE â€” 992px (Tablet)
   ============================================= */
@media (max-width: 992px) {
    .header-search { display: none; }
    .main-nav { display: none; }
    .mobile-menu-toggle { display: block; }
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .promo-row-3 { grid-template-columns: repeat(2, 1fr); }
    .stores-grid { grid-template-columns: 1fr; }
    .product-detail-layout { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .cart-layout { grid-template-columns: 1fr; }
    .account-layout { grid-template-columns: 1fr; }
    .info-layout { flex-direction: column; }
    .info-image { width: 100%; flex: 0 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .squad-banner { margin: 0; }
}

/* =============================================
   RESPONSIVE â€” 768px (Mobile)
   ============================================= */
@media (max-width: 768px) {
    /* Global */
    body { padding-bottom: 70px; }

    /* Header */
    .header-inner { gap: 8px; padding: 0 12px; }
    .hide-mobile { display: none !important; }
    .header-logo .logo-text { font-size: 16px; letter-spacing: 1px; }

    /* Slider */
    .slide { height: 260px; }
    .slide-title { font-size: 22px; }
    .slide-subtitle { font-size: 13px; }
    .slide-content { padding: 0 20px; bottom: 30px; }
    .slide-btn { padding: 9px 18px; font-size: 12px; }

    /* Category strip */
    .category-strip { padding: 0; position: relative; }
    .strip-inner { padding: 0 10px; gap: 0; min-height: 44px; }
    .strip-link { font-size: 12px; padding: 10px 10px; letter-spacing: 0; }
    .strip-shop-btn { font-size: 12px; }
    .strip-divider { margin: 0 6px; }
    .app-badge { display: none; }
    .strip-store-btn { display: none; }

    /* Event bar */
    .event-bar { font-size: 11px; padding: 7px 12px; }

    /* Section titles */
    .section-title-area { padding: 16px 12px 10px; }
    .section-heading { font-size: 20px; }

    /* Products grid */
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 0 10px 10px; }
    .product-name { font-size: 12px; }
    .product-price { font-size: 13px; }
    .add-to-cart-btn { font-size: 12px; padding: 8px 0; }

    /* Promo banners */
    .promo-section { padding: 8px 10px; }
    .promo-row-2 { grid-template-columns: 1fr; gap: 8px; }
    .promo-row-3 { grid-template-columns: 1fr; gap: 8px; }
    .promo-card img { height: 180px; }
    .promo-title { font-size: 15px; }

    /* Info section */
    .fabrilife-info { padding: 20px 12px; }
    .info-text h3 { font-size: 18px; }
    .info-text p { font-size: 13px; }
    .info-image { display: none; }

    /* Accessories */
    .accessories-section { padding: 8px 10px 20px; }
    .accessories-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .accessory-card img { height: 140px; }

    /* Work with us */
    .work-with-us { padding: 30px 12px; }
    .work-with-us h2 { font-size: 18px; }
    .squad-banner { padding: 20px 12px; margin: 0; }
    .squad-banner h3 { font-size: 20px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 20px; padding: 0 15px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
    .footer { padding: 30px 0 15px; }

    /* Mobile nav */
    .mobile-bottom-nav { display: block; }
    .floating-buttons { bottom: 80px; right: 12px; }
    .float-btn { width: 42px; height: 42px; font-size: 17px; }

    /* Filter sidebar */
    .filter-sidebar { position: fixed; top: 0; left: -100%; bottom: 0; z-index: 500; border-radius: 0; overflow-y: auto; transition: left 0.3s; width: 280px; }
    .filter-sidebar.open { left: 0; }
    .filter-close { display: block; }
    .filter-toggle-btn { display: block; }

    /* Products layout */
    .products-layout { flex-direction: column; }

    /* Product detail */
    .product-detail-wrapper { padding: 16px 0; }
    .product-detail-layout { grid-template-columns: 1fr; gap: 16px; margin-bottom: 30px; }

    /* Gallery â€” remove sticky on mobile, not needed in single column */
    .product-gallery { position: static; }

    /* Main image */
    .main-image-wrapper { border-radius: 4px; }
    .main-product-image { width: 100%; aspect-ratio: 1; }

    /* Thumbnails â€” horizontal scroll on mobile */
    .thumbnail-gallery {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        scrollbar-width: none;
    }
    .thumbnail-gallery::-webkit-scrollbar { display: none; }
    .thumbnail-btn { flex-shrink: 0; }
    .thumbnail-btn img { width: 60px; height: 60px; }

    /* Product info text */
    .product-detail-info { padding: 0 4px; }
    .product-detail-name { font-size: 20px; margin-bottom: 8px; }
    .product-detail-category { font-size: 11px; margin-bottom: 6px; }
    .product-detail-brand { font-size: 13px; margin-bottom: 10px; }

    /* Pricing */
    .product-detail-pricing { gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
    .product-detail-price { font-size: 22px; }
    .product-detail-old-price { font-size: 15px; }
    .product-detail-savings { font-size: 12px; padding: 3px 8px; }
    .product-detail-sku { font-size: 12px; margin-bottom: 10px; }
    .stock-status { font-size: 13px; margin-bottom: 14px; }

    /* Add to cart â€” full width on mobile */
    .add-to-cart-section { flex-direction: row; flex-wrap: nowrap; gap: 10px; margin-bottom: 18px; }
    .qty-selector { flex-shrink: 0; }
    .qty-btn { width: 36px; height: 44px; }
    .qty-input { width: 44px; font-size: 14px; }
    .add-to-cart-main-btn { flex: 1; font-size: 13px; padding: 0 12px; height: 44px; }

    /* Description */
    .product-description { margin-bottom: 18px; padding-top: 16px; }
    .product-description h3 { font-size: 15px; }
    .description-text { font-size: 13px; }

    /* Delivery info */
    .delivery-info { padding: 12px; gap: 8px; }
    .delivery-item { font-size: 12px; }

    /* Related products */
    .related-products { margin-top: 24px; padding-top: 20px; }
    .related-products h2 { font-size: 18px; margin-bottom: 14px; }

    /* Breadcrumb */
    .breadcrumb-nav { font-size: 12px; padding: 8px 0; }

    /* Cart page â€” convert table to cards on mobile */
    .cart-container { padding: 16px 0; }
    .cart-layout { grid-template-columns: 1fr; gap: 20px; }
    .cart-summary-section { position: static; }

    /* Hide table headers on mobile */
    .cart-table thead { display: none; }

    /* Each table row becomes a card */
    .cart-table tbody tr {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
        border: 1px solid #eee;
        border-radius: 8px;
        padding: 12px;
        margin-bottom: 12px;
        background: #fff;
    }
    .cart-table td { border: none; padding: 0; display: block; }

    /* Product cell takes full width row */
    .cart-table td:first-child { width: 100%; }

    /* Price, Qty, Subtotal, Remove sit in a row below */
    .cart-table td:not(:first-child) { flex: 1; text-align: center; }
    .cart-price::before { content: 'Price: '; font-size: 11px; color: #999; display: block; }
    .cart-subtotal::before { content: 'Total: '; font-size: 11px; color: #999; display: block; }

    .cart-product-img { width: 60px; height: 60px; }
    .cart-product-name { font-size: 13px; }
    .qty-control { justify-content: center; }
    .order-summary-box { padding: 16px; }

    /* Checkout */
    .checkout-container { padding: 16px 0; }
    .checkout-layout { grid-template-columns: 1fr; gap: 0; }
    .checkout-section-card { padding: 16px; margin-bottom: 12px; }
    .checkout-section-title { font-size: 16px; margin-bottom: 14px; }
    .form-row-2 { grid-template-columns: 1fr; gap: 0; }
    .form-row-3 { grid-template-columns: 1fr; gap: 0; }
    .payment-option { padding: 12px; border-radius: 10px; }
    .payment-option-content { gap: 10px; }
    .payment-icon-wrap { width: 42px; height: 42px; }
    .cod-icon i { font-size: 18px; }
    .payment-label strong { font-size: 13px; }
    .payment-label small { font-size: 11px; }
    .checkout-item-image img { width: 48px; height: 48px; }
    .checkout-item-name { font-size: 12px; }
    .place-order-btn { padding: 14px; font-size: 15px; }

    /* Pages */
    .page-header { padding: 15px 12px; }
    .page-header h1 { font-size: 20px; }

    /* Tracking */
    .tracking-result { padding: 15px; }
    .tracking-timeline { padding-left: 10px; }

    /* Stores */
    .store-card { padding: 15px; }
    .store-map iframe { height: 200px; }

    /* Auth */
    .auth-card { padding: 24px 16px; margin: 20px 12px; }

    /* Account */
    .account-layout { grid-template-columns: 1fr; }
    .account-sidebar { position: static; }
}

/* =============================================
   RESPONSIVE â€” 480px (Small phones)
   ============================================= */
@media (max-width: 480px) {
    /* Header */
    .header-logo .logo-text { font-size: 14px; }

    /* Slider */
    .slide { height: 200px; }
    .slide-title { font-size: 18px; }
    .slide-subtitle { font-size: 12px; display: none; }
    .slide-btn { padding: 8px 14px; font-size: 11px; }
    .slider-dots { bottom: 8px; gap: 5px; }
    .dot { width: 6px; height: 6px; }
    .dot.active { width: 22px; }

    /* Products */
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 0 8px 8px; }
    .product-card-image { aspect-ratio: 1; }
    .product-info { padding: 6px 6px 0; }
    .product-name { font-size: 11px; }
    .product-price { font-size: 12px; }
    .product-old-price { font-size: 11px; }
    .add-to-cart-btn { font-size: 11px; padding: 7px 0; gap: 4px; }
    .add-to-cart-btn i { font-size: 12px; }
    .discount-badge { font-size: 9px; padding: 2px 5px; }
    .new-badge { font-size: 9px; padding: 2px 5px; }

    /* Promo */
    .promo-card img { height: 150px; }
    .promo-title { font-size: 13px; }
    .promo-overlay { padding: 12px 10px 10px; }

    /* Section */
    .section-heading { font-size: 18px; }
    .section-title-area { padding: 14px 10px 8px; }

    /* Accessories */
    .accessories-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
    .accessory-card img { height: 110px; }
    .accessory-overlay { font-size: 13px; padding: 10px; }

    /* Squad banner */
    .squad-banner h3 { font-size: 17px; }
    .squad-banner { padding: 16px 10px; }

    /* Footer */
    .footer-grid { padding: 0 10px; }
    .footer-col-title { font-size: 13px; }
    .footer-link { font-size: 12px; }
    .footer-copyright { font-size: 11px; padding: 12px 10px; }

    /* Category strip */
    .strip-link { font-size: 11px; padding: 10px 8px; }
    .strip-divider { margin: 0 4px; }

    /* Cart â€” already card layout from 768px, just tune sizes */
    .cart-product-img { width: 52px; height: 52px; }
    .qty-btn { width: 28px; height: 32px; font-size: 14px; }
    .qty-input-small { width: 32px; font-size: 13px; }
    .cart-product-name { font-size: 12px; }
    .cart-remove-btn { font-size: 14px; }
    .order-summary-box { padding: 14px; }
    .coupon-section { flex-direction: column; }
    .coupon-apply-btn { width: 100%; }

    /* Checkout form */
    .form-row-2 { grid-template-columns: 1fr; }
    .form-row-3 { grid-template-columns: 1fr; }

    /* Auth */
    .auth-card { padding: 20px 14px; margin: 15px 8px; }
    .auth-card h2 { font-size: 20px; }

    /* Tracking */
    .tracking-form { padding: 15px 12px; }

    /* Product detail */
    .product-detail-name { font-size: 17px; }
    .product-detail-price { font-size: 19px; }
    .product-detail-old-price { font-size: 13px; }
    .thumbnail-btn img { width: 50px; height: 50px; }
    .add-to-cart-section { gap: 8px; }
    .qty-btn { width: 34px; height: 42px; font-size: 16px; }
    .qty-input { width: 38px; font-size: 13px; }
    .add-to-cart-main-btn { font-size: 12px; height: 42px; }
    .delivery-item { font-size: 11px; }
    .detail-discount-badge { font-size: 10px; padding: 3px 7px; }

    /* Misc */
    .view-all-btn { font-size: 12px; padding: 6px 12px; }
    .order-meta { grid-template-columns: 1fr; }
    .mobile-bottom-nav { padding: 6px 0; }
    .bottom-nav-item { font-size: 9px; gap: 2px; }
    .bottom-nav-item i { font-size: 18px; }
}

/* Category Logo Section */
.category-logo-section { background: #fff; padding: 14px 0; border-bottom: 1px solid #eee; }
.category-logo-item { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; flex-shrink: 0; width: 90px; text-decoration: none !important; }
.category-logo-img { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; border: 2px solid #f0f0f0; flex-shrink: 0; transition: border-color 0.2s; }
.category-logo-item:hover .category-logo-img { border-color: #1a2a4a; transform: scale(1.12); }
.category-logo-img { transition: transform 0.2s, border-color 0.2s; }
.category-logo-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.category-logo-name { font-size: 10px; font-weight: 600; color: #333; white-space: nowrap; line-height: 1.2; text-decoration: none; }
.category-logo-track { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 28px; max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* Category Banner (Shop Page) */
.category-banner { position: relative; width: 100%; height: 180px; overflow: hidden; border-radius: 8px; margin-bottom: 20px; }
.category-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.category-banner-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 20px; }
.category-banner-overlay h1 { color: #e6c878; font-size: 32px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; text-shadow: 0 2px 8px rgba(0,0,0,0.5); margin: 0; }
@media (max-width: 768px) {
    .category-banner { height: 150px; border-radius: 0; margin-bottom: 12px; }
    .category-banner-overlay h1 { font-size: 20px; letter-spacing: 1px; }
}
