/* ============================================================
   ALL-PAGES.CSS — opentelesale.com (Markito Design System)
   Covers: header, footer, index, shop, cats, results, tag, product
============================================================ */

/* ── ROOT VARIABLES ─────────────────────────────────────── */
:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #EFF6FF;
    --primary-gradient: linear-gradient(145deg, #2563EB 0%, #3B82F6 100%);
    --accent: #F97316;
    --accent-light: #FFF7ED;
    --bg: #F8FAFC;
    --bg-white: #FFFFFF;
    --fg: #0F172A;
    --fg-secondary: #334155;
    --fg-muted: #64748B;
    --gold: #F59E0B;
    --gold-light: #FEF3C7;
    --border: #E2E8F0;
    --border-light: #F1F5F9;
    --card: #FFFFFF;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.03);
    --shadow: 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.02);
    --shadow-lg: 0 20px 30px -10px rgba(0,0,0,0.08);
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --header-height: 72px;
    --topbar-height: 40px;
    --bottom-nav-height: 64px;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
}

/* ── RESET & BASE ───────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--fg); line-height: 1.5; overflow-x: hidden; font-size: 14px; padding-bottom: var(--bottom-nav-height); }
@media (min-width: 992px) { body { padding-bottom: 0; } }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: transparent; }
input, select { font-family: inherit; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

/* ── TOPBAR ─────────────────────────────────────────────── */
.topbar { background: #0B1E33; color: rgba(255,255,255,0.9); height: var(--topbar-height); font-size: 12px; display: flex; align-items: center; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.topbar-left { display: flex; gap: 20px; align-items: center; }
.topbar-right { display: flex; gap: 20px; align-items: center; }
.topbar a { display: flex; align-items: center; gap: 6px; transition: color 0.2s; white-space: nowrap; color: inherit; font-weight: 500; }
.topbar a:hover { color: white; }
@media (max-width: 767px) { .topbar-left { display: none; } .topbar-right { font-size: 10px; gap: 10px; } }

/* ── HEADER ─────────────────────────────────────────────── */
.header { background: rgba(255,255,255,0.85); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border-light); position: sticky; top: 0; z-index: 1000; height: var(--header-height); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; height: 100%; gap: 16px; }
.mobile-toggle { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; font-size: 20px; color: var(--fg); flex-shrink: 0; }
@media (min-width: 992px) { .mobile-toggle { display: none; } }
.logo { flex-shrink: 0; display: flex; align-items: center; min-width: 140px; height: 38px; }
.logo img { height: 100%; width: auto; object-fit: contain; }
.header-search { flex: 1; max-width: 620px; margin: 0 auto; display: none; }
@media (min-width: 576px) { .header-search { display: block; } }
.search-bar { display: flex; align-items: center; border: 2px solid var(--primary); border-radius: 60px; overflow: hidden; height: 42px; background: var(--bg-white); transition: var(--transition); }
.search-bar:focus-within { box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }
.search-bar select { border: none; background: var(--primary-light); padding: 0 12px; height: 100%; font-size: 12px; color: var(--fg-secondary); border-right: 1px solid var(--border); outline: none; cursor: pointer; display: none; }
@media (min-width: 768px) { .search-bar select { display: block; } }
.search-bar input { flex: 1; border: none; padding: 0 16px; height: 100%; font-size: 14px; outline: none; background: transparent; color: var(--fg); }
.search-bar input::placeholder { color: var(--fg-muted); }
.search-bar button { background: var(--primary); color: white; padding: 0 18px; height: 100%; font-size: 16px; display: flex; align-items: center; transition: background 0.2s; }
.search-bar button:hover { background: var(--primary-dark); }
.header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.action-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 10px; border-radius: var(--radius); transition: background 0.2s; position: relative; color: var(--fg-secondary); min-width: 40px; justify-content: center; }
.action-btn:hover { background: var(--bg); color: var(--primary); }
.action-btn i { font-size: 20px; }
.action-label { font-size: 10px; font-weight: 500; white-space: nowrap; }
@media (max-width: 991px) { .action-label { display: none; } }
.whatsapp-btn { background: #25D366; color: white !important; border-radius: 50%; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; font-size: 20px; transition: transform 0.2s; flex-shrink: 0; }
.whatsapp-btn:hover { transform: scale(1.1); background: #1da851; }

/* ── CATEGORY NAV ───────────────────────────────────────── */
.category-nav { background: var(--bg-white); border-bottom: 1px solid var(--border-light); display: none; }
@media (min-width: 992px) { .category-nav { display: block; } }
.category-nav .container { display: flex; align-items: stretch; height: 48px; position: relative; }
.cat-nav-all { display: flex; align-items: center; gap: 8px; padding: 0 20px; height: 100%; background: var(--primary); color: white; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; position: relative; z-index: 102; transition: background 0.2s; flex-shrink: 0; border-radius: 8px 8px 0 0; }
.cat-nav-all:hover { background: var(--primary-dark); }
.cat-nav-all i:last-child { font-size: 10px; margin-left: auto; transition: transform 0.3s; }
.cat-mega-dropdown { position: absolute; top: 100%; left: 0; width: 280px; background: var(--bg-white); border: 1px solid var(--border); border-top: 2px solid var(--primary); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.25s ease; z-index: 101; padding: 8px 0; }
.cat-nav-all:hover + .cat-mega-dropdown, .cat-mega-dropdown:hover { opacity: 1; visibility: visible; transform: translateY(0); }
.cat-nav-all:hover i:last-child { transform: rotate(180deg); }
.cat-mega-dropdown a { display: flex; align-items: center; gap: 12px; padding: 11px 20px; font-size: 13px; font-weight: 500; color: var(--fg-secondary); transition: var(--transition); }
.cat-mega-dropdown a:hover { background: var(--primary-light); color: var(--primary); padding-left: 26px; }
.cat-mega-dropdown a i { width: 20px; text-align: center; font-size: 15px; color: var(--fg-muted); transition: color 0.2s; }
.cat-mega-dropdown a:hover i { color: var(--primary); }
.cat-nav-links { display: flex; align-items: center; height: 100%; overflow: hidden; }
.cat-nav-links a { padding: 0 16px; height: 100%; display: flex; align-items: center; font-size: 13px; font-weight: 500; color: var(--fg-secondary); white-space: nowrap; transition: var(--transition); border-bottom: 2px solid transparent; }
.cat-nav-links a:hover { color: var(--primary); background: var(--primary-light); border-bottom-color: var(--primary); }

/* ── OFFCANVAS ──────────────────────────────────────────── */
.offcanvas-backdrop { position: fixed; inset: 0; background: rgba(15,23,42,0.6); backdrop-filter: blur(3px); z-index: 1040; opacity: 0; visibility: hidden; transition: var(--transition); }
.offcanvas-backdrop.active { opacity: 1; visibility: visible; }
.offcanvas { position: fixed; top: 0; left: 0; bottom: 0; width: 300px; max-width: 85vw; background: var(--bg-white); z-index: 1050; transform: translateX(-100%); transition: transform 0.35s ease; display: flex; flex-direction: column; }
.offcanvas.active { transform: translateX(0); }
.offcanvas-head { padding: 16px 20px; background: var(--primary); color: white; display: flex; justify-content: space-between; align-items: center; }
.offcanvas-head span { font-size: 18px; font-weight: 700; }
.offcanvas-close { color: white; font-size: 20px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background 0.2s; }
.offcanvas-close:hover { background: rgba(255,255,255,0.2); }
.offcanvas-body { flex: 1; overflow-y: auto; padding: 10px 0; }
.offcanvas-body > li > a, .offcanvas-body .mob-link { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; font-size: 14px; font-weight: 500; color: var(--fg); transition: background 0.15s; }
.offcanvas-body > li > a:hover, .offcanvas-body .mob-link:hover { background: var(--primary-light); color: var(--primary); }
.offcanvas-body > li { border-bottom: 1px solid var(--border-light); }
.mob-submenu { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; background: #FAFAFA; }
.mob-submenu.open { max-height: 600px; }
.mob-submenu a { display: block; padding: 10px 20px 10px 36px; font-size: 13px; color: var(--fg-secondary); border-left: 3px solid transparent; transition: var(--transition); }
.mob-submenu a:hover { color: var(--primary); border-left-color: var(--primary); background: white; }
.offcanvas-foot { padding: 16px 20px; background: var(--bg); border-top: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.offcanvas-foot a { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--fg-secondary); }
.offcanvas-foot a i { color: var(--primary); }

/* ── SEARCH MODAL ───────────────────────────────────────── */
.search-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 2000; display: flex; align-items: flex-start; justify-content: center; padding: 20px; padding-top: 80px; opacity: 0; visibility: hidden; transition: var(--transition); }
.search-modal.active { opacity: 1; visibility: visible; }
.search-modal-box { background: white; width: 100%; max-width: 560px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); transform: translateY(-20px) scale(0.97); transition: transform 0.3s ease; }
.search-modal.active .search-modal-box { transform: translateY(0) scale(1); }
.search-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border-light); }
.search-modal-header span { font-size: 15px; font-weight: 700; color: var(--fg); }
.search-modal-close-btn { width: 36px; height: 36px; border-radius: 50%; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--fg-secondary); transition: var(--transition); flex-shrink: 0; }
.search-modal-close-btn:hover { background: var(--accent-light); color: var(--accent); }
.search-modal-bar { display: flex; align-items: center; padding: 16px; gap: 10px; }
.search-modal-bar input { flex: 1; padding: 14px 16px; border: 2px solid var(--border); border-radius: var(--radius); font-size: 16px; outline: none; background: var(--bg); transition: border-color 0.2s; -webkit-appearance: none; }
.search-modal-bar input:focus { border-color: var(--primary); background: var(--bg-white); }
.search-modal-bar button { background: var(--primary); color: white; padding: 14px 22px; font-size: 16px; border-radius: var(--radius); transition: background 0.2s; flex-shrink: 0; display: flex; align-items: center; justify-content: center; min-height: 50px; }
.search-modal-bar button:hover { background: var(--primary-dark); }
.search-modal-hint { padding: 0 16px 14px; font-size: 12px; color: var(--fg-muted); display: flex; align-items: center; gap: 6px; }
.search-modal-hint kbd { background: var(--bg); border: 1px solid var(--border); border-radius: 4px; padding: 1px 6px; font-size: 11px; font-family: inherit; font-weight: 600; }
@media (max-width: 575px) {
    .search-modal { padding: 0; align-items: stretch; background: rgba(0,0,0,0.7); }
    .search-modal-box { max-width: 100%; border-radius: 0; margin-top: auto; transform: translateY(100%); }
    .search-modal.active .search-modal-box { transform: translateY(0); }
    .search-modal-bar input { padding: 12px 14px; font-size: 15px; }
    .search-modal-bar button { padding: 12px 16px; }
    .search-modal-hint { display: none; }
    #searchToggleBtn { display: flex !important; }
}

/* ── HERO SLIDER ────────────────────────────────────────── */
.hero-section { position: relative; background: white; width: 100%; overflow: hidden; }
.hero-section .swiper { width: 100% !important; }
.hero-section .swiper-slide { width: 100%; display: flex; align-items: center; aspect-ratio: 3/1; min-height: 180px; }
@media (min-width: 992px) { .hero-section .swiper-slide { aspect-ratio: 1499/499; min-height: 0; } }
.hero-section .swiper-slide a { display: block; width: 100%; height: 100%; }
.hero-section .swiper-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.swiper-button-next, .swiper-button-prev { width: 40px; height: 40px; background: white; border-radius: 50%; box-shadow: var(--shadow-md); transition: var(--transition); }
.swiper-button-next::after, .swiper-button-prev::after { font-size: 14px; font-weight: 700; color: var(--fg); }
.swiper-button-next:hover, .swiper-button-prev:hover { background: var(--primary); }
.swiper-button-next:hover::after, .swiper-button-prev:hover::after { color: white; }
.swiper-pagination-bullet { width: 24px; height: 4px; border-radius: 2px; background: rgba(0,0,0,0.25); opacity: 1; }
.swiper-pagination-bullet-active { background: var(--primary); width: 32px; }

/* ── FEATURES STRIP ─────────────────────────────────────── */
.features-strip { padding: 24px 0; background: var(--primary-light); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.features-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(4,1fr); } }
.feature-item { display: flex; align-items: center; gap: 14px; padding: 12px; }
.feature-icon { width: 48px; height: 48px; border-radius: var(--radius); background: white; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--primary); flex-shrink: 0; }
.feature-text h4 { font-size: 13px; font-weight: 700; color: var(--fg); margin-bottom: 2px; }
.feature-text p { font-size: 11px; color: #475569; line-height: 1.4; font-weight: 500; }

/* ── CATEGORY CIRCLES ───────────────────────────────────── */
.cat-circles-section { padding: 30px 0; background: var(--bg-white); border-bottom: 1px solid var(--border-light); }
.cat-circles-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; min-height: 110px; }
@media (min-width: 576px) { .cat-circles-grid { grid-template-columns: repeat(4,1fr); gap: 16px; } }
@media (min-width: 768px) { .cat-circles-grid { grid-template-columns: repeat(6,1fr); } }
@media (min-width: 992px) { .cat-circles-grid { grid-template-columns: repeat(8,1fr); gap: 20px; } }
.cat-circle-item { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; padding: 10px 4px; border-radius: var(--radius-lg); transition: var(--transition); min-height: 90px; justify-content: center; }
.cat-circle-item:hover { background: var(--primary-light); }
.cat-circle-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--primary); transition: var(--transition); flex-shrink: 0; }
.cat-circle-item:hover .cat-circle-icon { background: var(--primary); color: white; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(37,99,235,0.3); }
.cat-circle-label { font-size: 11px; font-weight: 600; text-align: center; color: var(--fg-secondary); line-height: 1.3; }

/* ── SECTIONS ───────────────────────────────────────────── */
.flash-section { padding: 30px 0; background: var(--bg-white); }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.section-head-left { display: flex; align-items: center; gap: 14px; }
.section-title { font-size: 20px; font-weight: 700; color: var(--fg); display: flex; align-items: center; gap: 8px; }
.section-title i { font-size: 22px; }
.view-all-link { font-size: 13px; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 4px; transition: gap 0.2s; }
.view-all-link:hover { gap: 8px; }

/* ── PRODUCT CARD ───────────────────────────────────────── */
.product-card { background: var(--bg-white); border-radius: var(--radius); border: 1px solid var(--border-light); overflow: hidden; transition: var(--transition); height: 100%; display: flex; flex-direction: column; position: relative; }
.product-card:hover { box-shadow: var(--shadow-md); border-color: var(--border); transform: translateY(-2px); }
.card-img-box { position: relative; aspect-ratio: 1/1; background: #FAFAFA; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 12px; }
.card-img-box img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.4s ease; }
.product-card:hover .card-img-box img { transform: scale(1.05); }
.card-badge { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; z-index: 3; }
.badge-sale { background: var(--accent); color: white; }
.badge-new { background: var(--primary); color: white; }
.badge-hot { background: var(--gold); color: white; }
.card-wishlist { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--fg-muted); box-shadow: var(--shadow-sm); transition: var(--transition); z-index: 3; opacity: 0; }
.product-card:hover .card-wishlist { opacity: 1; }
.card-wishlist:hover { color: var(--accent); background: var(--accent-light); }
.card-wishlist.active-heart { color: var(--accent); background: var(--accent-light); opacity: 1; }
.card-info { padding: 12px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--primary); margin-bottom: 4px; }
.card-name { font-size: 13px; font-weight: 500; color: var(--fg); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; min-height: 36px; transition: color 0.2s; }
.card-name:hover { color: var(--primary); }
.card-rating-row { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.card-stars { display: flex; gap: 1px; line-height: 1; }
.card-stars i { font-size: 12px; color: var(--gold); }
.card-stars i.empty { color: #DDD; }
.card-rating-num { font-size: 12px; font-weight: 700; color: var(--fg); }
.card-review-count { font-size: 11px; color: var(--fg-muted); font-weight: 400; }
.card-price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; margin-top: auto; }
.card-price { font-size: 16px; font-weight: 700; color: var(--fg); }
.card-old-price { font-size: 12px; color: var(--fg-muted); text-decoration: line-through; }
.card-discount { font-size: 11px; font-weight: 700; color: var(--accent); }
.btn-cart { width: 100%; padding: 9px; background: var(--primary); color: white; font-size: 12px; font-weight: 600; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; gap: 6px; transition: var(--transition); }
.btn-cart:hover { background: var(--primary-dark); color: white; }
.btn-cart i { font-size: 13px; }

/* ── REVIEWS SECTION ────────────────────────────────────── */
.reviews-section { padding: 40px 0; background: var(--bg-white); }
.review-card { background: var(--bg); border-radius: var(--radius-lg); padding: 24px; height: 100%; border: 1px solid var(--border-light); transition: var(--transition); }
.review-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.review-stars { color: var(--gold); font-size: 13px; margin-bottom: 12px; display: flex; gap: 2px; }
.review-text { font-size: 14px; line-height: 1.7; color: var(--fg-muted); margin-bottom: 18px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.review-author-info h5 { font-size: 13px; font-weight: 700; }
.review-author-info span { font-size: 11px; color: var(--fg-muted); display: flex; align-items: center; gap: 4px; }
.review-author-info span i { color: var(--primary); font-size: 10px; }

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer { background: #0B1E33; color: #CBD5E1; padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
@media (min-width: 576px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } }
.footer-brand img { filter: brightness(0) invert(1); height: 36px; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 14px; transition: var(--transition); }
.footer-social a:hover { background: var(--primary); color: white; }
.footer-col h3, .footer-col h4 { font-size: 14px; font-weight: 700; color: white; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; transition: color 0.2s; display: flex; align-items: center; gap: 8px; }
.footer-col ul li a:hover { color: white; }
.footer-col ul li a i { font-size: 12px; color: var(--primary); width: 16px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; margin-bottom: 12px; }
.footer-contact li i { color: var(--primary); margin-top: 3px; width: 16px; flex-shrink: 0; }
.footer-bottom { padding: 20px 0; display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; font-size: 12px; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-payments img { height: 24px; opacity: 0.6; }

/* ── BOTTOM NAV ─────────────────────────────────────────── */
.bottom-nav { position: fixed; bottom: 0; left: 0; width: 100%; height: var(--bottom-nav-height); background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); border-top: 1px solid var(--border); display: flex; justify-content: space-around; align-items: center; z-index: 999; box-shadow: 0 -2px 10px rgba(0,0,0,0.06); }
@media (min-width: 992px) { .bottom-nav { display: none; } }
.bnav-item { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 9px; font-weight: 600; color: var(--fg-muted); padding: 8px 12px; border-radius: var(--radius); transition: var(--transition); position: relative; height: 100%; justify-content: center; }
.bnav-item i { font-size: 19px; }
.bnav-item.active { color: var(--primary); }
.bnav-item.bnav-cart { color: var(--primary); }
.bnav-item.bnav-cart .bnav-badge { position: absolute; top: 2px; right: 4px; background: var(--accent); color: white; font-size: 8px; font-weight: 700; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* ── SCROLL TO TOP ──────────────────────────────────────── */
.scroll-top { position: fixed; bottom: 80px; right: 20px; width: 42px; height: 42px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: var(--shadow-md); z-index: 998; opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); }
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-3px); }
@media (min-width: 992px) { .scroll-top { bottom: 30px; } }

/* ── REVEAL ANIMATION ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(25px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── BREADCRUMB (shared) ────────────────────────────────── */
.breadcrumb-bar { background: var(--bg-white); border-bottom: 1px solid var(--border-light); padding: 14px 0; }
.breadcrumb-list { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 12px; list-style: none; margin: 0; padding: 0; }
.breadcrumb-list li { display: flex; align-items: center; gap: 6px; color: var(--fg-secondary); }
.breadcrumb-list li a { color: var(--fg-secondary); font-weight: 500; transition: color 0.2s; }
.breadcrumb-list li a:hover { color: var(--primary); }
.breadcrumb-list li .sep { font-size: 10px; color: var(--fg-muted); }
.breadcrumb-list li.current { color: var(--fg); font-weight: 600; }
/* mkt-breadcrumb (tag/cats variant) */
.mkt-breadcrumb-bar { background: var(--bg-white); border-bottom: 1px solid var(--border-light); padding: 13px 0; }
.mkt-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 12px; list-style: none; margin: 0; padding: 0; }
.mkt-breadcrumb li { display: flex; align-items: center; gap: 6px; color: var(--fg-secondary); }
.mkt-breadcrumb li a { color: var(--fg-secondary); font-weight: 500; text-decoration: none; transition: color .2s; }
.mkt-breadcrumb li a:hover { color: var(--primary); }
.mkt-breadcrumb li .sep { font-size: 9px; color: var(--fg-muted); }
.mkt-breadcrumb li.active { color: var(--fg); font-weight: 600; }

/* ── PAGE HEADER (white) ────────────────────────────────── */
.page-header { background: var(--bg-white); border-bottom: 1px solid var(--border-light); padding: 28px 0; }
.page-header h1 { font-size: 24px; font-weight: 800; color: var(--fg); margin-bottom: 6px; letter-spacing: -0.02em; }
@media (min-width: 768px) { .page-header h1 { font-size: 30px; } }
.page-header p { font-size: 14px; color: var(--fg-secondary); max-width: 600px; line-height: 1.7; }

/* ── CATEGORY / COLLECTION HEADER (gradient) ────────────── */
.cat-page-header { padding: 28px 0; background: var(--primary-gradient); }
.cat-page-header h1 { font-size: 24px; font-weight: 800; color: white; margin-bottom: 6px; letter-spacing: -0.02em; }
@media (min-width: 768px) { .cat-page-header h1 { font-size: 30px; } }
.cat-page-header p { font-size: 14px; color: rgba(255,255,255,0.85); max-width: 600px; line-height: 1.7; }
.cat-count-pill { background: rgba(255,255,255,0.15); backdrop-filter: blur(6px); border-radius: 60px; padding: 8px 20px; font-size: 13px; font-weight: 600; color: white; white-space: nowrap; }
/* mkt collection header (tag/cats) */
.mkt-collection-header { background: var(--bg-white); border-bottom: 1px solid var(--border-light); padding: 32px 0 28px; }
.mkt-collection-header h1 { font-size: clamp(1.4rem,4vw,2rem); font-weight: 800; color: var(--fg); letter-spacing: -.02em; margin-bottom: 6px; text-transform: capitalize; }
.mkt-collection-header p { font-size: .88rem; color: var(--fg-muted); }

/* ── SHOP / GRID SECTION ────────────────────────────────── */
.shop-grid-section, .mkt-shop-section { padding: 28px 0 60px; background: var(--bg); }
.product-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
@media (min-width: 576px) { .product-grid { gap: 16px; } }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3,1fr); gap: 18px; } }
@media (min-width: 992px) { .product-grid { grid-template-columns: repeat(4,1fr); gap: 20px; } }
@media (min-width: 1200px) { .product-grid { grid-template-columns: repeat(5,1fr); } }
/* mkt grid (tag/cats) */
.mkt-product-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 15px; }
@media (min-width: 576px) { .mkt-product-grid { gap: 20px; } }
@media (min-width: 768px) { .mkt-product-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 992px) { .mkt-product-grid { grid-template-columns: repeat(4,1fr); } }
@media (min-width: 1200px) { .mkt-product-grid { grid-template-columns: repeat(5,1fr); } }
/* mkt product card */
.mkt-product-card { background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: var(--transition); }
.mkt-product-card:hover { box-shadow: var(--shadow-md); border-color: var(--border); transform: translateY(-2px); }
.mkt-card-img-box { position: relative; aspect-ratio: 1/1; background: #FAFAFA; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 12px; }
.mkt-card-img-box img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .4s ease; }
.mkt-product-card:hover .mkt-card-img-box img { transform: scale(1.05); }
.mkt-card-badge { position: absolute; top: 8px; left: 8px; background: var(--accent); color: white; padding: 3px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; z-index: 3; }
.mkt-card-info { padding: 12px; display: flex; flex-direction: column; flex: 1; }
.mkt-card-cat { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--primary); margin-bottom: 4px; }
.mkt-card-name { font-size: 13px; font-weight: 500; color: var(--fg); line-height: 1.4; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 36px; text-decoration: none; transition: color .2s; }
.mkt-card-name:hover { color: var(--primary); }
.mkt-card-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.mkt-stars { display: flex; gap: 1px; }
.mkt-stars i { font-size: 12px; color: var(--gold); }
.mkt-stars i.fa-star-o { color: #DDD; }
.mkt-rating-count { font-size: 11px; color: var(--fg-muted); }
.mkt-card-price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; margin-top: auto; flex-wrap: wrap; }
.mkt-price { font-size: 16px; font-weight: 700; color: var(--fg); }
.mkt-old-price { font-size: 12px; color: var(--fg-muted); text-decoration: line-through; }
.mkt-discount { font-size: 11px; font-weight: 700; color: var(--accent); }
.mkt-btn-cart { width: 100%; padding: 9px; background: var(--primary); color: white; font-size: 12px; font-weight: 600; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; transition: var(--transition); }
.mkt-btn-cart:hover { background: var(--primary-dark); color: white; }
.mkt-btn-cart i { font-size: 13px; }

/* ── LOAD MORE BUTTON ───────────────────────────────────── */
.loadmore-wrapper { display: flex; justify-content: center; align-items: center; padding: 40px 0 20px; }
.loadmore-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 14px 36px; font-size: 15px; font-weight: 700; color: #fff; background: linear-gradient(135deg,#2563EB,#3B82F6); border: none; border-radius: 50px; cursor: pointer; overflow: hidden; transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1),box-shadow 0.3s; box-shadow: 0 4px 20px rgba(37,99,235,0.3); animation: lmPulse 2.5s ease-in-out infinite; letter-spacing: 0.02em; font-family: var(--font); }
.loadmore-btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg,transparent,rgba(255,255,255,0.25),transparent); transition: left 0.5s; }
.loadmore-btn:hover::before { left: 100%; }
.loadmore-btn:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 8px 30px rgba(37,99,235,0.4); animation: none; }
.loadmore-btn:active { transform: scale(0.98); }
@keyframes lmPulse { 0%,100%{ box-shadow:0 4px 20px rgba(37,99,235,0.3),0 0 0 0 rgba(37,99,235,0.4); } 50%{ box-shadow:0 4px 20px rgba(37,99,235,0.3),0 0 0 10px rgba(37,99,235,0); } }
.loadmore-btn .btn-icon { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; transition: transform 0.3s; }
.loadmore-btn:hover .btn-icon { transform: translateY(3px); }
.loadmore-btn.lm-loading .btn-icon { animation: lmBounce 0.6s ease-in-out infinite; }
@keyframes lmBounce { 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(4px); } }
.lm-badge { display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.25); padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 700; margin-left: 2px; }
.loadmore-btn.lm-done { background: linear-gradient(135deg,#43a047,#66bb6a); box-shadow: 0 4px 20px rgba(67,160,71,0.3); animation: none; cursor: default; pointer-events: none; }
.card-lm-hidden { display: none !important; }
.card-lm-reveal { animation: lmFadeUp 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards; opacity: 0; }
@keyframes lmFadeUp { 0%{ opacity:0; transform:translateY(30px) scale(0.95); } 100%{ opacity:1; transform:translateY(0) scale(1); } }

/* ── EMPTY STATE ────────────────────────────────────────── */
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 20px; gap: 20px; }
.empty-icon { width: 90px; height: 90px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 38px; color: var(--primary); }
.empty-state h1 { font-size: 22px; font-weight: 700; color: var(--fg); }
.empty-state p { font-size: 14px; color: var(--fg-muted); max-width: 380px; line-height: 1.7; }
.btn-browse { width: auto; padding: 12px 32px; font-size: 14px; border-radius: 60px; background: var(--primary); color: white; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; transition: background .2s; }
.btn-browse:hover { background: var(--primary-dark); }
/* mkt no data */
.mkt-no-data { grid-column: 1/-1; text-align: center; padding: 60px 20px; color: var(--fg-muted); }
.mkt-no-data i { font-size: 48px; margin-bottom: 16px; color: var(--border); display: block; }
.mkt-no-data h2 { font-size: 20px; font-weight: 700; color: var(--fg); margin-bottom: 8px; }
.mkt-no-data p { font-size: 14px; }
.mkt-no-data a { color: var(--primary); font-weight: 600; text-decoration: none; }
.mkt-no-data a:hover { text-decoration: underline; }

/* ── RESULTS GRID ───────────────────────────────────────── */
.results-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
@media (min-width: 576px) { .results-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 768px) { .results-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 992px) { .results-grid { grid-template-columns: repeat(4,1fr); gap: 20px; } }
@media (min-width: 1200px) { .results-grid { grid-template-columns: repeat(5,1fr); } }

/* ── PRODUCT DETAIL PAGE ────────────────────────────────── */
.product-detail-section { padding: 32px 0 20px; }
.product-detail-grid { display: grid; grid-template-columns: 600px 1fr; gap: 40px; align-items: start; }
@media (max-width: 992px) { .product-detail-grid { grid-template-columns: 1fr; gap: 28px; } }
.product-main-image { width: 100%; max-width: 600px; aspect-ratio: 1/1; background: #FAFAFA; border-radius: var(--radius-lg); border: 1px solid var(--border-light); overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 24px; }
@media (max-width: 992px) { .product-main-image { max-width: 480px; margin: 0 auto; } }
@media (max-width: 576px) { .product-main-image { max-width: 100%; padding: 20px; } }
.product-main-image img { width: 100%; height: 100%; max-width: 552px; max-height: 552px; object-fit: contain; transition: transform 0.4s ease; }
.product-main-image:hover img { transform: scale(1.04); }
.product-info { display: flex; flex-direction: column; }
.product-detail-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--primary); margin-bottom: 8px; display: inline-flex; align-items: center; gap: 6px; }
.product-detail-cat a { color: var(--primary); }
.product-detail-title { font-size: 24px; font-weight: 800; color: var(--fg); line-height: 1.3; margin-bottom: 14px; letter-spacing: -0.01em; }
@media (min-width: 768px) { .product-detail-title { font-size: 28px; } }
.product-detail-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.product-detail-rating { display: flex; align-items: center; gap: 2px; }
.product-detail-rating i { font-size: 14px; color: var(--gold); }
.product-detail-rating i.empty { color: #DDD; }
.product-detail-review-count { font-size: 13px; color: var(--fg-muted); }
.product-detail-stock { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--primary); background: var(--primary-light); padding: 4px 12px; border-radius: 20px; }
.product-detail-stock.out { color: #dc2626; background: #fef2f2; }
.product-price-box { background: #fff; border: 1px solid var(--primary); border-radius: var(--radius-lg); padding: 20px 24px; margin-bottom: 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.product-price-box .current-price { font-size: 30px; font-weight: 800; color: var(--fg); }
@media (min-width: 768px) { .product-price-box .current-price { font-size: 36px; } }
.product-price-box .old-price { font-size: 16px; color: #64748B; text-decoration: line-through; }
.product-price-box .discount-badge { background: #ea580c; color: white; padding: 5px 14px; border-radius: 20px; font-size: 13px; font-weight: 700; }
.product-price-box .save-text { font-size: 13px; color: #1e293b; font-weight: 600; margin-left: auto; }
.product-short-desc { font-size: 14px; color: var(--fg-secondary); line-height: 1.7; margin-bottom: 20px; }
.product-specs { border: 1px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 20px; }
.product-specs table { width: 100%; border-collapse: collapse; }
.product-specs tr { border-bottom: 1px solid var(--border-light); }
.product-specs tr:last-child { border-bottom: none; }
.product-specs td { padding: 12px 16px; font-size: 13px; color: var(--fg-secondary); }
.product-specs td:first-child { background: var(--bg); font-weight: 600; color: var(--fg); width: 35%; }
.product-specs td i { color: var(--primary); margin-right: 8px; width: 14px; text-align: center; font-size: 12px; }
.happy-customers-bar { display: flex; align-items: center; gap: 10px; background: var(--primary); color: white; padding: 10px 16px; border-radius: var(--radius); font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.happy-avatars { display: flex; }
.happy-avatars span { width: 28px; height: 28px; border-radius: 50%; background: var(--gold); border: 2px solid white; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: white; margin-left: -8px; }
.happy-avatars span:first-child { margin-left: 0; }
.delivery-info-bar { display: flex; align-items: center; gap: 10px; background: var(--bg); padding: 10px 16px; border-radius: var(--radius); font-size: 13px; color: var(--fg-secondary); margin-bottom: 24px; }
.delivery-info-bar i { color: var(--primary); font-size: 16px; }
.delivery-info-bar strong { color: var(--fg); }
.product-actions { display: flex; gap: 12px; margin-top: auto; }
.btn-order-now { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 24px; background: var(--primary); color: white; font-size: 15px; font-weight: 700; border-radius: var(--radius); transition: var(--transition); }
.btn-order-now:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); color: white; }
.btn-order-now i { font-size: 16px; }
.btn-whatsapp-order { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 24px; background: #079654; color: white; font-size: 15px; font-weight: 700; border-radius: var(--radius); transition: var(--transition); white-space: nowrap; }
.btn-whatsapp-order:hover { background: #056e42; transform: translateY(-2px); box-shadow: var(--shadow-md); color: white; }
.btn-whatsapp-order i { font-size: 18px; }
@media (max-width: 576px) { .product-actions { flex-direction: column; } .btn-order-now, .btn-whatsapp-order { width: 100%; justify-content: center; } }

/* ── PRODUCT TABS ───────────────────────────────────────── */
.product-tabs { background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; margin-top: 40px; margin-bottom: 50px; }
.tabs-nav { display: flex; background: var(--bg); border-bottom: 1px solid var(--border-light); overflow-x: auto; }
.tab-btn { flex: 1; min-width: max-content; padding: 16px 20px; background: none; border: none; font-size: 14px; font-weight: 600; color: var(--fg-secondary); cursor: pointer; position: relative; transition: var(--transition); white-space: nowrap; font-family: var(--font); }
.tab-btn:hover { color: var(--primary); }
.tab-btn.active { color: var(--primary); background: var(--bg-white); }
.tab-btn.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: var(--primary); }
@media (max-width: 576px) { .tab-btn { padding: 14px 14px; font-size: 12px; } }
.tab-panel { display: none; padding: 28px; animation: tabFade 0.35s ease; }
.tab-panel.active { display: block; }
@keyframes tabFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 576px) { .tab-panel { padding: 20px 16px; } }
.tab-panel h2 { font-size: 20px; font-weight: 700; color: var(--fg); margin-bottom: 14px; }
.tab-panel h3 { font-size: 16px; font-weight: 700; color: var(--fg); margin: 18px 0 10px; }
.tab-panel p { font-size: 14px; color: var(--fg-secondary); line-height: 1.8; margin-bottom: 12px; }
.tab-panel ul { margin: 0 0 12px 20px; }
.tab-panel ul li { font-size: 14px; color: var(--fg-secondary); line-height: 1.8; margin-bottom: 4px; }
.tab-panel ul li::marker { color: var(--primary); }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.product-tag { padding: 7px 16px; background: var(--bg); border: 1px solid var(--border-light); border-radius: 20px; font-size: 13px; color: var(--fg-secondary); transition: var(--transition); }
.product-tag:hover { background: var(--primary); color: white; border-color: var(--primary); }

/* ── REVIEW FORM & ITEMS ────────────────────────────────── */
.review-toggle-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--fg); color: white; border: none; padding: 10px 24px; border-radius: 20px; font-size: 13px; font-weight: 600; cursor: pointer; transition: var(--transition); margin-bottom: 20px; font-family: var(--font); }
.review-toggle-btn:hover { background: var(--primary); }
.review-form-wrapper { display: none; background: var(--bg); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 24px; }
.review-form-wrapper.active { display: block; }
@media (max-width: 576px) { .review-form-wrapper { padding: 20px 16px; } }
.review-form-wrapper h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.rf-group { margin-bottom: 16px; }
.rf-label { display: block; font-size: 13px; font-weight: 600; color: var(--fg); margin-bottom: 6px; }
.rf-input, .rf-textarea, .rf-select { width: 100%; padding: 11px 14px; border: 1px solid var(--border-light); border-radius: var(--radius); font-size: 14px; color: var(--fg); background: var(--bg-white); outline: none; transition: var(--transition); font-family: var(--font); }
.rf-input:focus, .rf-textarea:focus, .rf-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.rf-textarea { resize: vertical; min-height: 100px; }
.rf-submit { padding: 12px 32px; background: var(--primary); color: white; border: none; border-radius: var(--radius); font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--transition); font-family: var(--font); }
.rf-submit:hover { background: var(--primary-dark); }
.alert-success-msg { background: #dff0d8; border: 1px solid #d6e9c6; color: #3c763d; padding: 15px; border-radius: var(--radius); margin-bottom: 20px; }
.review-item { background: var(--bg); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 16px; position: relative; }
@media (max-width: 576px) { .review-item { padding: 18px 16px; } }
.review-item::after { content: '\f10d'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; top: 16px; right: 20px; font-size: 22px; color: var(--border-light); }
.review-item-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; flex-wrap: wrap; gap: 10px; }
.review-item-author { display: flex; align-items: center; gap: 12px; }
.review-item-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0; text-transform: uppercase; }
.review-item-name { font-size: 15px; font-weight: 700; color: var(--fg); display: block; }
.verified-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--primary); background: var(--primary-light); padding: 2px 8px; border-radius: 4px; margin-top: 2px; }
.review-item-stars { color: var(--gold); font-size: 13px; display: flex; gap: 1px; }
.review-item-date { font-size: 12px; color: var(--fg-muted); margin-bottom: 10px; }
.review-item-text { font-size: 14px; color: var(--fg-secondary); line-height: 1.7; border-left: 3px solid var(--primary); padding-left: 14px; font-style: italic; }