/* ==========================================================
   MetroMart – Frontend Theme (Bootstrap 5)
   ========================================================== */
:root {
    --primary: #0f766e;
    --primary-dark: #0b5952;
    --accent: #ff6b4a;
    --ink: #111827;
    --muted: #6b7280;
    --line: #e9ecef;
    --soft: #f4f7f6;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(17, 24, 39, .08);
    --bs-primary: var(--primary);
    --bs-body-font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}
html, body, main { overflow-x: clip; max-width: 100%; }
body { font-family: var(--bs-body-font-family); color: var(--ink); background: #fff; padding-bottom: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
img { max-width: 100%; }

.btn { border-radius: 12px; font-weight: 600; }
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover, .btn-primary:focus { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-accent { background: var(--accent); color: #fff; border: 0; }
.btn-accent:hover { background: #e9553a; color: #fff; }
.form-control, .form-select { border-radius: 12px; padding: .65rem 1rem; border-color: var(--line); }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(15, 118, 110, .15); }
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: #cbd5e1; font-size: 13px; padding: 8px 0; }
.topbar i { color: var(--accent); margin-right: 4px; }
.topbar a:hover { color: #fff; }
.topbar-marquee { color: #fff; font-weight: 500; }

/* ---------- Header ---------- */
.site-header { background: #fff; transition: box-shadow .3s; z-index: 1030; }
body.scrolled .site-header { box-shadow: 0 6px 20px rgba(0, 0, 0, .06); }
.header-main { padding: 16px 0; }
.logo { font-size: 26px; font-weight: 800; letter-spacing: -1px; color: var(--ink); display: inline-flex; align-items: center; }
.logo span { color: var(--primary); }
.logo i { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; margin-left: 3px; margin-top: 12px; }
.logo.light { color: #fff; }
.logo.light span { color: #5eead4; }

.search-box { display: flex; align-items: center; background: var(--soft); border-radius: 14px; border: 2px solid transparent; transition: .2s; max-width: 640px; overflow: hidden; }
.search-box:focus-within { border-color: var(--primary); background: #fff; }
.search-box .form-select { width: auto; max-width: 170px; border: 0; background-color: transparent; border-right: 1px solid var(--line); border-radius: 0; font-size: 14px; }
.search-box .form-control { border: 0; background: transparent; box-shadow: none; }
.search-box .btn { background: var(--primary); color: #fff; border-radius: 10px; margin: 4px; padding: 8px 16px; }

.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; background: transparent; border: 0; color: var(--ink); transition: .2s; }
.icon-btn:hover { background: var(--soft); color: var(--primary); }
.icon-btn .count { position: absolute; top: 4px; right: 2px; background: var(--accent); color: #fff; font-size: 10px; min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.cart-total { line-height: 1.1; margin-left: 6px; }
.cart-total small { color: var(--muted); font-size: 12px; display: block; }

.header-nav { border-top: 1px solid var(--line); }
.cat-menu > .btn { background: var(--primary); color: #fff; border-radius: 0; padding: 14px 22px; display: flex; gap: 10px; align-items: center; min-width: 250px; }
.cat-menu .dropdown-menu { width: 250px; border: 0; box-shadow: var(--shadow); border-radius: 0 0 var(--radius) var(--radius); padding: 8px; margin-top: 0 !important; }
.cat-menu .dropdown-item { padding: 10px 14px; border-radius: 10px; display: flex; gap: 10px; }
.cat-menu .dropdown-item:hover { background: var(--soft); color: var(--primary); }
.main-menu { display: flex; list-style: none; margin: 0 0 0 20px; padding: 0; }
.main-menu > li { position: relative; }
.main-menu > li > a { display: block; padding: 14px 18px; font-weight: 600; font-size: 15px; position: relative; }
.main-menu > li > a.active, .main-menu > li > a:hover { color: var(--primary); }
.main-menu > li > a.active::after { content: ''; position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px; background: var(--primary); border-radius: 3px 3px 0 0; }
.mega { position: absolute; top: 100%; left: 0; width: 720px; background: #fff; box-shadow: var(--shadow); border-radius: 0 0 var(--radius) var(--radius); padding: 24px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; z-index: 10; }
.has-mega:hover .mega { opacity: 1; visibility: visible; transform: none; }
.mega h6 { font-weight: 700; margin-bottom: 12px; }
.mega a { display: block; padding: 5px 0; color: var(--muted); }
.mega a:hover { color: var(--primary); padding-left: 4px; }
.mega-promo { background: linear-gradient(135deg, var(--primary), #134e4a); color: #fff; border-radius: 14px; padding: 20px; height: 100%; }
.mega-promo span { font-size: 12px; opacity: .8; }
.nav-offer { color: var(--accent); font-weight: 700; font-size: 14px; }
.nav-offer i { animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .3; } }

.mobile-nav a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.mobile-nav i { color: var(--primary); margin-right: 6px; }

/* Cart drawer */
.cart-drawer { width: 380px !important; }
.mini-item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mini-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.mini-item a { font-weight: 600; font-size: 14px; display: block; }
.mini-item small { color: var(--muted); }
.empty-state { text-align: center; padding: 50px 10px; color: var(--muted); }
.empty-state i { font-size: 48px; display: block; margin-bottom: 10px; color: #cbd5e1; }

/* Mobile bottom bar */
.mobile-bar { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; display: flex; justify-content: space-around; padding: 8px 0 6px; box-shadow: 0 -4px 20px rgba(0, 0, 0, .08); z-index: 1040; }
.mobile-bar a { display: flex; flex-direction: column; align-items: center; font-size: 11px; color: var(--muted); position: relative; }
.mobile-bar i { font-size: 20px; }
.mobile-bar b { position: absolute; top: -4px; right: -2px; background: var(--accent); color: #fff; font-size: 10px; border-radius: 8px; padding: 0 5px; }
@media (max-width: 991.98px) { body { padding-bottom: 64px; } }

/* ---------- Hero ---------- */
.hero { padding: 24px 0; }
.hero-swiper { border-radius: 24px; overflow: hidden; height: 100%; }
.hero-slide { background: linear-gradient(120deg, #ecfdf5 0%, #d1fae5 45%, #ffe4dc 100%); display: flex; align-items: center; min-height: 460px; position: relative; padding: 40px 50px; }
.hero-text { position: relative; z-index: 2; max-width: 52%; }
.hero-text .tag { display: inline-block; background: #fff; color: var(--accent); font-weight: 700; padding: 6px 14px; border-radius: 30px; font-size: 13px; margin-bottom: 18px; box-shadow: 0 4px 12px rgba(0,0,0,.05); }
.hero-text h1 { font-size: clamp(30px, 4.5vw, 54px); font-weight: 800; line-height: 1.1; letter-spacing: -1.5px; }
.hero-text h1 span { color: var(--primary); position: relative; }
.hero-text p { color: var(--muted); font-size: 17px; margin: 16px 0 26px; }
.hero-slide img { position: absolute; right: 30px; top: 50%; transform: translateY(-50%); width: 44%; aspect-ratio: 1; object-fit: cover; border-radius: 50% 50% 24px 50%; box-shadow: var(--shadow); }
.swiper-slide-active .hero-text > * { animation: fadeUp .7s both; }
.swiper-slide-active .hero-text > *:nth-child(2) { animation-delay: .1s; }
.swiper-slide-active .hero-text > *:nth-child(3) { animation-delay: .2s; }
.swiper-slide-active .hero-text > *:nth-child(4) { animation-delay: .3s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(25px); } }
.swiper-pagination-bullet-active { background: var(--primary) !important; width: 24px !important; border-radius: 5px !important; }

.side-banner { display: block; position: relative; height: 100%; min-height: 222px; border-radius: 24px; padding: 24px; overflow: hidden; color: #fff; }
.side-banner.b1 { background: linear-gradient(135deg, #0f766e, #115e59); }
.side-banner.b2 { background: linear-gradient(135deg, #ff6b4a, #f43f5e); }
.side-banner span { font-size: 13px; opacity: .85; }
.side-banner h4 { font-weight: 800; position: relative; z-index: 1; }
.side-banner small { font-weight: 600; position: relative; z-index: 1; }
.side-banner img { position: absolute; right: -20px; bottom: -20px; width: 60%; border-radius: 50%; transition: .4s; opacity: .9; }
.side-banner:hover { color: #fff; }
.side-banner:hover img { transform: scale(1.08) rotate(-5deg); }

@media (max-width: 767.98px) {
    .hero-slide { min-height: 380px; padding: 30px 24px; flex-direction: column; align-items: flex-start; justify-content: flex-start; }
    .hero-text { max-width: 100%; }
    .hero-text p { font-size: 15px; margin: 10px 0 18px; }
    .hero-slide img { position: static; transform: none; width: 55%; margin: 10px auto 0; }
    .side-banner { min-height: 160px; padding: 18px; }
}

/* ---------- Features ---------- */
.features { padding: 10px 0 20px; }
.feature { display: flex; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; height: 100%; transition: .25s; }
.feature:hover { border-color: var(--primary); transform: translateY(-3px); }
.feature i { font-size: 26px; width: 52px; height: 52px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #ecfdf5; color: var(--primary); border-radius: 14px; }
.feature h6 { margin: 0; font-weight: 700; }
.feature small { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 50px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.section-head h2 { font-weight: 800; letter-spacing: -.8px; margin: 0; font-size: clamp(22px, 3vw, 32px); }
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 12px; display: block; margin-bottom: 4px; }
.link-more { color: var(--primary); font-weight: 600; }

.cat-tile { display: block; text-align: center; padding: 22px 10px; border-radius: var(--radius); background: var(--soft); transition: .3s; height: 100%; }
.cat-tile span { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--primary); transition: .3s; }
.cat-tile h6 { font-weight: 700; margin-bottom: 2px; font-size: 14px; }
.cat-tile small { color: var(--muted); }
.cat-tile:hover { background: var(--primary); color: #fff; transform: translateY(-4px); }
.cat-tile:hover small { color: #ccfbf1; }
.cat-tile:hover span { background: var(--accent); color: #fff; transform: rotate(-10deg); }

/* ---------- Product Card ---------- */
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .3s; height: 100%; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-4px); }
.pc-media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--soft); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.pc-media img.alt { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .pc-media img.alt { opacity: 1; }
.product-card:hover .pc-media img:not(.alt) { transform: scale(1.06); }
.pc-badge { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; color: #fff; background: var(--accent); }
.pc-badge.new { background: var(--primary); }
.pc-actions { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 8px; z-index: 2; }
.pc-actions > * { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,.1); transform: translateX(50px); opacity: 0; transition: .3s; }
.pc-actions > *:nth-child(2) { transition-delay: .05s; }
.product-card:hover .pc-actions > *, .pc-actions .on { transform: none; opacity: 1; }
.pc-actions > *:hover, .pc-actions .on { background: var(--accent); color: #fff; }
@media (hover: none) { .pc-actions > * { transform: none; opacity: 1; } }
.pc-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex-grow: 1; }
.pc-body .d-flex { margin-top: auto !important; padding-top: 8px; }
.pc-cat { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.pc-body h3 { font-size: 15px; font-weight: 600; margin: 4px 0 6px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stars { color: #f59e0b; font-size: 13px; }
.stars small { color: var(--muted); }
.price { font-weight: 800; color: var(--primary); font-size: 18px; }
.price del { color: #9ca3af; font-weight: 500; font-size: .75em; margin-left: 4px; }
.add-cart { width: 40px; height: 40px; border-radius: 12px; border: 0; background: var(--soft); color: var(--primary); font-size: 18px; transition: .2s; flex-shrink: 0; }
.add-cart:hover { background: var(--primary); color: #fff; }
@media (max-width: 575.98px) {
    .pc-body { padding: 10px 12px 12px; }
    .pc-body h3 { font-size: 13px; }
    .price { font-size: 15px; }
    .add-cart { width: 34px; height: 34px; font-size: 15px; }
}

/* Flash */
.flash-wrap { background: linear-gradient(135deg, #fff7ed, #ffe4dc); border-radius: 24px; padding: 30px; }
@media (max-width: 575.98px) { .flash-wrap { padding: 18px; border-radius: 18px; } }
.countdown { display: flex; gap: 6px; }
.countdown span { background: var(--ink); color: #fff; border-radius: 10px; padding: 4px 10px; font-size: 12px; }
.countdown b { font-size: 16px; margin-right: 2px; }
.swiper-nav { display: flex; gap: 8px; }
.swiper-nav button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.swiper-nav button:hover { background: var(--primary); color: #fff; }

/* Tabs */
.pill-tabs { gap: 6px; background: var(--soft); padding: 5px; border-radius: 14px; list-style: none; flex-wrap: wrap; }
.pill-tabs button { border: 0; background: transparent; padding: 8px 18px; border-radius: 10px; font-weight: 600; color: var(--muted); font-size: 14px; }
.pill-tabs button.active { background: #fff; color: var(--primary); box-shadow: 0 4px 12px rgba(0,0,0,.06); }

/* Promo */
.promo { border-radius: 24px; padding: 36px; display: flex; align-items: center; justify-content: space-between; overflow: hidden; min-height: 230px; gap: 10px; }
.promo span { font-weight: 600; font-size: 14px; }
.promo h3 { font-weight: 800; font-size: clamp(22px, 3vw, 30px); margin: 6px 0 18px; }
.promo img { width: 42%; border-radius: 50%; transition: .5s; }
.promo:hover img { transform: rotate(8deg) scale(1.05); }
.promo-dark { background: var(--ink); color: #fff; }
.promo-dark span { color: var(--accent); }
.promo-light { background: #ecfdf5; }
.promo-light span { color: var(--primary); }
@media (max-width: 575.98px) { .promo { padding: 24px; } }

/* Brands */
.brands { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.brands .container { overflow: hidden; }
.brand-track { display: flex; gap: 70px; width: max-content; animation: scrollX 25s linear infinite; }
.brand-track span { font-size: 28px; font-weight: 800; color: #cbd5e1; letter-spacing: 2px; transition: .2s; }
.brand-track span:hover { color: var(--primary); }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* Blog */
.blog-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 100%; transition: .3s; }
.blog-card:hover { box-shadow: var(--shadow); }
.blog-card .img { position: relative; overflow: hidden; aspect-ratio: 3/2; }
.blog-card .img img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.blog-card:hover .img img { transform: scale(1.06); }
.blog-card .img span { position: absolute; top: 14px; left: 14px; background: var(--accent); color: #fff; font-size: 12px; padding: 3px 12px; border-radius: 20px; font-weight: 600; }
.blog-card small { color: var(--muted); }
.blog-card h5 { font-weight: 700; margin: 8px 0 10px; font-size: 17px; }

/* ---------- Newsletter & Footer ---------- */
.newsletter { margin-bottom: -60px; position: relative; z-index: 2; }
.newsletter-box { background: linear-gradient(120deg, var(--primary), #134e4a); color: #fff; border-radius: 24px; padding: 36px 40px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.newsletter-box h3 { font-weight: 800; margin: 0; }
.newsletter-box p { margin: 4px 0 0; opacity: .85; }
.newsletter-box form { flex: 1; max-width: 460px; min-width: 260px; }
.site-footer { background: var(--ink); color: #9ca3af; padding: 110px 0 0; }
.site-footer h6 { color: #fff; font-weight: 700; margin-bottom: 16px; }
.site-footer .col-6 a { display: block; padding: 5px 0; }
.site-footer a:hover { color: #5eead4; }
.contact-list { list-style: none; padding: 0; }
.contact-list li { padding: 4px 0; }
.contact-list i { color: var(--accent); margin-right: 8px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; background: #1f2937; display: flex; align-items: center; justify-content: center; color: #fff; transition: .2s; }
.socials a:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }
.payments { display: flex; gap: 8px; flex-wrap: wrap; }
.payments span { background: #fff; color: var(--ink); font-weight: 700; font-size: 12px; padding: 6px 12px; border-radius: 8px; }
.footer-bottom { border-top: 1px solid #1f2937; margin-top: 40px; padding: 20px 0; text-align: center; font-size: 14px; }
.back-top { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--accent); color: #fff; opacity: 0; visibility: hidden; transition: .3s; z-index: 1000; }
body.scrolled .back-top { opacity: 1; visibility: visible; }
@media (max-width: 991.98px) { .back-top { bottom: 80px; } }
.app-toast { background: var(--ink); color: #fff; margin-top: 8px; }
.app-toast .btn-close { filter: invert(1); }
.app-toast i { color: #5eead4; margin-right: 6px; }

/* ---------- Inner pages ---------- */
.page-head { background: linear-gradient(120deg, #ecfdf5, #ffe4dc); padding: 40px 0; text-align: center; }
.page-head h1 { font-weight: 800; font-size: clamp(24px, 3.5vw, 36px); letter-spacing: -1px; }
.page-head nav { color: var(--muted); font-size: 14px; }
.page-head nav i { font-size: 10px; margin: 0 6px; }
.page-head nav span { color: var(--primary); }

.filter-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.filter-box h6 { font-weight: 700; margin-bottom: 14px; }
.filter-box > a { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 10px; font-size: 14px; }
.filter-box > a.active, .filter-box > a:hover { background: var(--soft); color: var(--primary); }
.filter-box > a small { color: var(--muted); }
.shop-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; padding: 12px 16px; background: var(--soft); border-radius: var(--radius); }

.gallery-main { border-radius: 20px; overflow: hidden; background: var(--soft); aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.gallery-thumbs img { border-radius: 12px; cursor: pointer; border: 2px solid transparent; aspect-ratio: 1; object-fit: cover; }
.gallery-thumbs img.active { border-color: var(--primary); }
.pd-info h1 { font-weight: 800; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.8px; margin: 6px 0 10px; }
.swatches { display: flex; gap: 10px; }
.swatches input { display: none; }
.swatches span { display: block; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; outline: 2px solid transparent; outline-offset: 3px; border: 1px solid var(--line); }
.swatches input:checked + span { outline-color: var(--primary); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.qty button { width: 44px; height: 48px; border: 0; background: var(--soft); font-size: 18px; }
.qty input { width: 50px; text-align: center; border: 0; font-weight: 700; outline: none; }
.qty.sm button { width: 32px; height: 34px; }
.qty.sm input { width: 36px; }
.pd-meta { list-style: none; padding: 20px; background: var(--soft); border-radius: var(--radius); }
.pd-meta li { padding: 4px 0; }
.pd-meta i { color: var(--primary); margin-right: 8px; }

.card-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.summary > div { padding: 6px 0; }
.summary h5 { font-weight: 700; margin-bottom: 14px; }
.cart-table img { width: 60px; height: 60px; object-fit: cover; border-radius: 10px; }
.cart-table a { font-weight: 600; }
.pay-opt { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; cursor: pointer; }
.pay-opt:has(input:checked) { border-color: var(--primary); background: #ecfdf5; }
.stat { text-align: center; padding: 18px 8px; background: var(--soft); border-radius: var(--radius); }
.stat h3 { color: var(--primary); font-weight: 800; margin: 0; }


/* ==========================================================
   Header v2 – refined search, actions & navigation
   ========================================================== */
.header-main { padding: 20px 0; }
.logo { font-size: 28px; }

/* Search */
.search-box { max-width: 680px; height: 52px; background: #fff; border: 1.5px solid #dfe5e3; border-radius: 50px; padding: 4px; box-shadow: 0 2px 10px rgba(17,24,39,.03); }
.search-box:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(15,118,110,.10); }
.search-box .form-select { height: 100%; max-width: 175px; padding: 0 2.2rem 0 1.1rem; font-weight: 600; font-size: 13.5px; color: var(--ink); background-color: var(--soft); border: 0; border-radius: 50px; cursor: pointer; }
.search-box .form-control { height: 100%; padding: 0 16px; font-size: 14.5px; }
.search-box .form-control::placeholder { color: #9aa3ae; }
.search-box .btn { height: 100%; margin: 0; padding: 0 22px; border-radius: 50px; background: linear-gradient(135deg, var(--primary), #14958a); font-size: 15px; display: flex; align-items: center; transition: .2s; }
.search-box .btn:hover { filter: brightness(1.08); transform: translateX(1px); }

/* Actions */
.header-actions { gap: 6px; }
.h-action { display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; border-radius: 50px; border: 0; background: transparent; color: var(--ink); transition: .2s; }
.h-action:hover { background: var(--soft); color: var(--ink); }
.h-ico { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid #e3e8e6; display: flex; align-items: center; justify-content: center; font-size: 19px; transition: .2s; background: #fff; }
.h-action:hover .h-ico { border-color: var(--primary); color: var(--primary); }
.h-ico .count { position: absolute; top: -3px; right: -4px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; border: 2px solid #fff; display: flex; align-items: center; justify-content: center; }
.h-txt { line-height: 1.15; }
.h-txt small { display: block; font-size: 11.5px; color: var(--muted); }
.h-txt strong { font-size: 14px; font-weight: 700; }
.h-cart { background: var(--ink); color: #fff; padding-right: 18px; }
.h-cart .h-ico { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #fff; }
.h-cart .h-ico .count { border-color: var(--ink); }
.h-cart .h-txt small { color: #9ca3af; }
.h-cart:hover { background: var(--primary); color: #fff; }
.h-cart:hover .h-ico { color: #fff; border-color: rgba(255,255,255,.3); }
@media (max-width: 991.98px) { .h-cart { padding: 4px; } .h-action { padding: 2px; } .h-ico { width: 40px; height: 40px; } }

/* Navigation bar */
.header-nav { background: linear-gradient(90deg, #0b3b37, var(--primary)); border: 0; }
.cat-menu > .btn { background: var(--accent); border-radius: 0; padding: 0 22px; height: 54px; font-size: 15px; min-width: 260px; justify-content: space-between; box-shadow: inset 0 -3px 0 rgba(0,0,0,.12); }
.cat-menu > .btn:hover { background: #ef5a39; color: #fff; }
.cat-menu > .btn .bi-grid-3x3-gap-fill { margin-right: auto; }
.cat-menu .dropdown-menu { width: 260px; border-radius: 0 0 16px 16px; }
.cat-menu .dropdown-item i { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; background: var(--soft); border-radius: 8px; color: var(--primary); }
.cat-menu .dropdown-item { align-items: center; font-weight: 500; }
.main-menu { margin-left: 14px; }
.main-menu > li > a { color: rgba(255,255,255,.85); padding: 0 18px; height: 54px; display: flex; align-items: center; gap: 4px; }
.main-menu > li > a:hover, .main-menu > li > a.active { color: #fff; }
.main-menu > li > a.active::after { background: var(--accent); left: 18px; right: 18px; height: 3px; }
.main-menu > li > a:hover::before { content: ''; position: absolute; inset: 10px 6px; background: rgba(255,255,255,.08); border-radius: 10px; z-index: -1; }
.main-menu > li > a { position: relative; z-index: 0; }
.mega { border-radius: 0 0 16px 16px; }
.nav-offer { display: flex; align-items: center; gap: 6px; color: #fff; background: rgba(255,255,255,.1); padding: 7px 14px; border-radius: 50px; font-size: 13.5px; }
.nav-offer i { color: #fcd34d; }
.nav-offer em { font-style: normal; background: var(--accent); font-size: 10.5px; padding: 2px 8px; border-radius: 20px; text-transform: uppercase; letter-spacing: .5px; }
.nav-offer:hover { color: #fff; background: rgba(255,255,255,.18); }
.nav-hotline { align-items: center; gap: 10px; color: #fff; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.15); line-height: 1.15; }
.nav-hotline i { font-size: 24px; color: #5eead4; }
.nav-hotline small { display: block; font-size: 11px; color: rgba(255,255,255,.65); }
.nav-hotline strong { font-size: 14px; }

/* Cart button – coral accent */
.h-cart { background: linear-gradient(135deg, #ff6b4a, #ff8a5c); color: #fff; box-shadow: 0 6px 16px rgba(255,107,74,.28); }
.h-cart .h-ico { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.35); }
.h-cart .h-ico .count { background: var(--ink); border-color: #ff7a52; }
.h-cart .h-txt small { color: rgba(255,255,255,.85); }
.h-cart:hover { background: linear-gradient(135deg, #f0552f, #ff6b4a); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255,107,74,.38); }

/* ---------- Line-tab sections (Popular Categories / Featured) ---------- */
.line-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.line-head h2 { font-weight: 800; font-size: clamp(20px, 2.6vw, 28px); letter-spacing: -.6px; margin: 0; padding-bottom: 12px; position: relative; }
.line-head h2::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 60px; height: 3px; background: var(--accent); border-radius: 3px; }
.line-tabs { list-style: none; gap: 26px; margin-left: auto; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.line-tabs::-webkit-scrollbar { display: none; }
.line-tabs button { border: 0; background: none; padding: 0 0 12px; font-weight: 600; font-size: 15px; color: var(--ink); white-space: nowrap; position: relative; transition: .2s; }
.line-tabs button:hover { color: var(--accent); }
.line-tabs button.active { color: var(--accent); }
.line-tabs button.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); }
@media (max-width: 767.98px) { .line-tabs { margin-left: 0; width: 100%; gap: 18px; } .line-head { border-bottom: 0; } }

.carousel-wrap { position: relative; }
.side-arrow { position: absolute; top: 40%; z-index: 5; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.12); transition: .2s; }
.side-arrow.prev { left: -19px; } .side-arrow.next { right: -19px; }
.side-arrow:hover { background: var(--accent); color: #fff; }
.side-arrow.swiper-button-disabled, .swiper-nav button.swiper-button-disabled { opacity: .35; pointer-events: none; }
@media (max-width: 1399.98px) { .side-arrow.prev { left: 4px; } .side-arrow.next { right: 4px; } }
@media (max-width: 575.98px) { .side-arrow.prev { left: 2px; } .side-arrow.next { right: 2px; } }

/* Featured – light variant */
.featured-light { background: #f7f9f8; }
.featured-light .line-head { border-color: #e6ebe9; }
.featured-light .product-card { border-color: transparent; box-shadow: 0 1px 3px rgba(17,24,39,.04); }
.featured-light .product-card:hover { box-shadow: 0 12px 28px rgba(17,24,39,.08); }
.featured-light .pc-media { background: #fff; }
.featured-light .price { color: var(--accent); }
.swiper-nav.sm { padding-bottom: 10px; }
.swiper-nav.sm button { width: 34px; height: 34px; }

/* ==========================================================
   THEME 2
   ========================================================== */
.t2-hero { padding: 20px 0; }
.t2-catlist { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; height: 100%; }
.t2-catlist h6 { background: var(--soft); margin: 0; padding: 14px 18px; font-weight: 700; }
.t2-catlist a { display: flex; align-items: center; gap: 12px; padding: 10px 18px; font-size: 14px; font-weight: 500; border-bottom: 1px dashed var(--line); transition: .2s; }
.t2-catlist a > i:first-child { color: var(--primary); font-size: 17px; }
.t2-catlist a:hover { background: #fff5f2; color: var(--accent); padding-left: 24px; }
.t2-catlist a.more { color: var(--accent); font-weight: 700; border: 0; }
.t2-slider { border-radius: var(--radius); height: 100%; }
.t2-slide { min-height: 440px; height: 100%; background-size: cover; background-position: center; display: flex; align-items: center; padding: 40px; position: relative; }
.t2-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.95) 30%, rgba(255,255,255,.2)); }
.t2-slide .hero-text { max-width: 70%; }
.t2-slide .hero-text h1 { font-size: clamp(26px, 3.2vw, 42px); }
.t2-banner { position: relative; display: flex; align-items: center; height: 100%; min-height: 212px; padding: 22px; border-radius: var(--radius); overflow: hidden; }
.t2-banner > div { position: relative; z-index: 1; max-width: 60%; }
.t2-banner small { font-weight: 600; color: var(--accent); }
.t2-banner h5 { font-weight: 800; margin: 4px 0 10px; font-size: 20px; }
.t2-banner span { font-size: 13px; font-weight: 700; border-bottom: 2px solid currentColor; }
.t2-banner img { position: absolute; right: -10px; bottom: -10px; width: 52%; border-radius: 50%; transition: .4s; }
.t2-banner:hover img { transform: scale(1.08); }
.t2-banner.wide { min-height: 170px; }
.t2b1 { background: #fef3c7; } .t2b2 { background: #e0f2fe; }
.t2c1 { background: #ecfdf5; } .t2c2 { background: #fce7f3; } .t2c3 { background: #ede9fe; }
@media (max-width: 767.98px) { .t2-slide { min-height: 320px; padding: 24px; } .t2-slide .hero-text { max-width: 100%; } .t2-banner { min-height: 150px; padding: 16px; } .t2-banner h5 { font-size: 16px; } }

.t2-services { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.t2-services > div { display: flex; gap: 14px; align-items: center; padding: 20px 22px; }
.t2-services > div + div { border-left: 1px solid var(--line); }
.t2-services i { font-size: 30px; color: var(--accent); }
.t2-services b { display: block; font-size: 15px; }
.t2-services small { color: var(--muted); }
@media (max-width: 991.98px) { .t2-services { grid-template-columns: repeat(2, 1fr); } .t2-services > div:nth-child(3) { border-left: 0; } .t2-services > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 575.98px) { .t2-services > div { padding: 14px; gap: 10px; } .t2-services i { font-size: 24px; } .t2-services b { font-size: 13px; } .t2-services small { font-size: 11px; } }

.t2-cat { display: block; text-align: center; }
.t2-cat span { display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); margin-bottom: 10px; transition: .3s; }
.t2-cat img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.t2-cat:hover span { box-shadow: 0 0 0 2px var(--accent); }
.t2-cat:hover img { transform: scale(1.1); }
.t2-cat h6 { font-size: 14px; font-weight: 600; }

.t2-deal { position: relative; border: 2px solid var(--accent); border-radius: 20px; overflow: hidden; background: #fff; height: 100%; }
.t2-deal img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.t2-deal h3 { font-size: 20px; font-weight: 700; margin: 6px 0 10px; }
.t2-stock { height: 8px; background: var(--soft); border-radius: 8px; overflow: hidden; }
.t2-stock div { height: 100%; background: linear-gradient(90deg, var(--accent), #fbbf24); border-radius: 8px; }

.t2-cta { background: linear-gradient(110deg, var(--accent), #f43f5e 60%, #be185d); color: #fff; border-radius: 24px; padding: 40px 48px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.t2-cta span { font-weight: 600; opacity: .9; }
.t2-cta h2 { font-weight: 800; margin: 6px 0; font-size: clamp(22px, 3vw, 32px); }
.t2-cta p { margin: 0; opacity: .9; }
@media (max-width: 575.98px) { .t2-cta { padding: 28px 24px; } }

.t2-mini { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: 14px; margin-bottom: 10px; border: 1px solid var(--line); transition: .2s; }
.t2-mini:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.t2-mini img { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.t2-mini h6 { font-size: 14px; font-weight: 600; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.t2-mini .price { font-size: 15px; }

/* Theme switcher (demo) */
.theme-switch { position: fixed; left: 0; top: 40%; z-index: 1035; display: flex; flex-direction: column; background: #fff; border-radius: 0 14px 14px 0; box-shadow: var(--shadow); overflow: hidden; }
.theme-switch a { padding: 10px 12px; font-size: 12px; font-weight: 700; text-align: center; border-bottom: 1px solid var(--line); }
.theme-switch a.active { background: var(--primary); color: #fff; }
.theme-switch small { font-size: 10px; padding: 6px; text-align: center; background: var(--ink); color: #fff; }

/* ==========================================================
   THEME 3 – Fashion & Apparel Storefront
   ========================================================== */
.t3-hero { padding: 20px 0 10px; }
.t3-hero-swiper { border-radius: 24px; overflow: hidden; }
.t3-slide { min-height: 460px; background-size: cover; background-position: center; position: relative; display: flex; align-items: center; padding: 50px 56px; }
.t3-slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,24,39,.84) 0%, rgba(17,24,39,.48) 55%, rgba(17,24,39,.12) 100%); }
.t3-hero-content { position: relative; z-index: 2; max-width: 560px; color: #fff; }
.t3-eyebrow-pill { display: inline-block; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; padding: 6px 14px; border-radius: 50px; margin-bottom: 16px; }
.t3-hero-content h1 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; line-height: 1.08; letter-spacing: -1.4px; margin-bottom: 14px; }
.t3-hero-content h1 span { color: #5eead4; }
.t3-hero-content p { color: rgba(255,255,255,.85); font-size: 16px; margin-bottom: 24px; }
@media (max-width: 767.98px) { .t3-slide { min-height: 360px; padding: 28px 22px; } }

.t3-trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.t3-trust-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--soft); border-radius: 14px; }
.t3-trust-item i { font-size: 22px; color: var(--primary); width: 40px; height: 40px; background: #fff; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.t3-trust-item b { display: block; font-size: 14px; }
.t3-trust-item small { color: var(--muted); font-size: 12px; }
@media (max-width: 991.98px) { .t3-trust-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .t3-trust-strip { grid-template-columns: 1fr; } }

/* 5-Tile Bento Lookbook Grid */
.t3-bento { display: grid; grid-template-columns: 1fr 1.55fr 1fr; gap: 16px; }
.t3-bento-col { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.t3-bento-card { position: relative; display: block; border-radius: 18px; overflow: hidden; min-height: 220px; background: #1f2937; }
.t3-bento-card.tall { height: 100%; min-height: 456px; }
.t3-bento-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; display: block; }
.t3-bento-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(17,24,39,.72) 100%); pointer-events: none; }
.t3-bento-card:hover img { transform: scale(1.07); }
.t3-bento-count { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(17,24,39,.65); backdrop-filter: blur(6px); color: #fff; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 50px; }
.t3-bento-foot { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.t3-bento-pill { background: #fff; color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .7px; padding: 6px 14px; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.15); transition: .25s; }
.t3-bento-card:hover .t3-bento-pill { background: var(--accent); color: #fff; }
.t3-bento-foot small { color: rgba(255,255,255,.88); font-size: 12px; font-weight: 500; }
@media (max-width: 991.98px) {
    .t3-bento { grid-template-columns: 1fr; }
    .t3-bento-col { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .t3-bento-card.tall { min-height: 320px; }
}
@media (max-width: 575.98px) {
    .t3-bento-col { grid-template-columns: 1fr; }
    .t3-bento-card { min-height: 200px; }
}

/* Special Pick */
.t3-special-sec { background: #f8faf9; }
.t3-spotlight { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; height: 100%; display: flex; flex-direction: column; position: relative; box-shadow: 0 8px 24px rgba(17,24,39,.04); }
.t3-spot-tag { position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 50px; }
.t3-spot-tag i { color: #fbbf24; margin-right: 4px; }
.t3-spot-img { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--soft); }
.t3-spot-img img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.t3-spotlight:hover .t3-spot-img img { transform: scale(1.05); }
.t3-spot-body { padding: 22px; display: flex; flex-direction: column; flex-grow: 1; }
.t3-spot-body h3 { font-weight: 800; font-size: 21px; margin: 4px 0 8px; }
.t3-size-pill input { display: none; }
.t3-size-pill span { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 32px; padding: 0 8px; border: 1.5px solid var(--line); border-radius: 8px; font-size: 12px; font-weight: 700; cursor: pointer; transition: .2s; }
.t3-size-pill input:checked + span { border-color: var(--primary); background: var(--primary); color: #fff; }

/* Category-Wise Collection Bands */
.t3-cat-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.t3-cat-pills a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; background: var(--soft); border-radius: 50px; font-size: 13px; font-weight: 600; transition: .2s; }
.t3-cat-pills a:hover { background: var(--primary); color: #fff; }
.t3-cat-band { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.t3-band-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-left: 14px; border-left: 4px solid var(--band-accent, var(--primary)); margin-bottom: 18px; }
.t3-band-head h4 { font-weight: 800; margin: 0; font-size: 20px; }
.t3-band-head small { color: var(--muted); }
.t3-cta { background: linear-gradient(120deg, #0f766e, #111827); }

/* ==========================================================
   Upgraded Common Add-to-Cart, Cart Drawer & Header Account
   ========================================================== */
.no-caret::after { display: none !important; }
.h-ico.acc-online { background: #ecfdf5; border-color: var(--primary); color: var(--primary); }
.acc-dropdown { border: 0; box-shadow: var(--shadow); border-radius: 16px; padding: 8px; min-width: 210px; margin-top: 8px !important; }
.acc-dropdown .dropdown-item { border-radius: 10px; padding: 9px 12px; font-weight: 500; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.acc-dropdown .dropdown-item:hover { background: var(--soft); color: var(--primary); }

.add-cart-pill { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 50px; border: 0; background: var(--soft); color: var(--primary); font-weight: 700; font-size: 13px; transition: .2s; flex-shrink: 0; }
.add-cart-pill:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }
.add-cart-pill.added { background: #16a34a; color: #fff; transform: scale(1.05); }

.cart-ship-box { background: #f8faf9; padding: 12px 16px; }
.cart-ship-track { height: 6px; background: #e2e8f0; border-radius: 6px; overflow: hidden; margin-top: 6px; }
.cart-ship-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 6px; transition: width .35s ease; }
.qty.xs button { width: 24px; height: 26px; font-size: 14px; }
.qty.xs input { width: 28px; font-size: 12px; height: 26px; }

/* ==========================================================
   Customer Account Dashboard Panel
   ========================================================== */
.acc-sidebar { border: 1px solid var(--line); border-radius: 20px; padding: 20px; background: #fff; position: sticky; top: 96px; }
.acc-user { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.acc-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), #14b8a6); color: #fff; font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.acc-nav { display: flex; flex-direction: column; gap: 4px; }
.acc-nav a, .acc-logout { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; font-weight: 600; font-size: 14px; color: var(--ink); border: 0; background: transparent; width: 100%; text-align: left; transition: .2s; }
.acc-nav a:hover { background: var(--soft); color: var(--primary); }
.acc-nav a.active { background: var(--primary); color: #fff; }
.acc-logout { color: #dc2626; }
.acc-logout:hover { background: #fef2f2; }

.acc-welcome { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding: 24px; border-radius: 20px; background: linear-gradient(120deg, #ecfdf5, #fff7ed); border: 1px solid var(--line); }
.acc-kpi { display: flex; align-items: center; gap: 12px; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: #fff; height: 100%; }
.acc-kpi small { display: block; color: var(--muted); font-size: 12px; }
.acc-kpi h4 { font-weight: 800; margin: 2px 0 0; font-size: 22px; }
.kpi-ico { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.kpi-ico.teal { background: #ecfdf5; color: var(--primary); }
.kpi-ico.coral { background: #fff1ed; color: var(--accent); }
.kpi-ico.amber { background: #fef3c7; color: #d97706; }
.kpi-ico.green { background: #dcfce7; color: #16a34a; }

.status-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 50px; }
.status-pending { background: #fef3c7; color: #b45309; }
.status-confirmed { background: #e0f2fe; color: #0369a1; }
.status-processing { background: #ede9fe; color: #6d28d9; }
.status-shipped { background: #dbeafe; color: #1d4ed8; }
.status-delivered { background: #dcfce7; color: #15803d; }
.status-cancelled { background: #fee2e2; color: #b91c1c; }

.order-stepper { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; position: relative; }
.step-item { text-align: center; position: relative; }
.step-item::before { content: ''; position: absolute; top: 15px; left: -50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.step-item:first-child::before { display: none; }
.step-item.done::before { background: var(--primary); }
.step-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--soft); border: 2px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; position: relative; z-index: 1; margin-bottom: 6px; }
.step-item.done .step-dot { background: var(--primary); border-color: var(--primary); color: #fff; }
.step-item.current .step-dot { box-shadow: 0 0 0 4px rgba(15,118,110,.18); }
.step-item span { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.step-item.done span { color: var(--ink); }
.acc-table th { font-size: 12px; text-transform: uppercase; color: var(--muted); letter-spacing: .5px; border-bottom-width: 1px; }

/* ==========================================================
   Theme 2 Interactive Hero & Rounded-Rectangle Categories
   ========================================================== */
.t2-ihero-sec { padding: 22px 0 14px; }
.t2-ihero { background: linear-gradient(130deg, #0b2926 0%, #0f4c46 52%, #134e4a 100%); border-radius: 26px; padding: 38px 42px 26px; color: #fff; position: relative; overflow: hidden; box-shadow: 0 20px 45px rgba(15,118,110,.16); }
.t2-ihero::before { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,107,74,.22), transparent 70%); top: -140px; right: -100px; pointer-events: none; }
.t2-ihero-badge { display: inline-flex; align-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); color: #5eead4; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 6px 14px; border-radius: 50px; margin-bottom: 16px; }
.t2-ihero-copy h1 { font-size: clamp(28px, 3.6vw, 46px); font-weight: 800; line-height: 1.1; letter-spacing: -1.2px; margin-bottom: 14px; }
.t2-ihero-copy p { color: rgba(255,255,255,.78); font-size: 15.5px; max-width: 480px; margin-bottom: 20px; }
.t2-ihero-price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.t2-ihero-price { font-size: 32px; font-weight: 800; color: #fff; }
.t2-ihero-old { font-size: 18px; color: rgba(255,255,255,.5); }
.t2-ihero-save { background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 50px; }

.t2-ihero-stage { position: relative; display: flex; align-items: center; justify-content: center; padding: 14px; }
.t2-ihero-glow { position: absolute; width: 290px; height: 290px; border-radius: 50%; background: radial-gradient(circle, rgba(94,234,212,.28), transparent 70%); filter: blur(18px); }
.t2-ihero-imgbox { position: relative; width: 100%; max-width: 390px; aspect-ratio: 4/3; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 22px 45px rgba(0,0,0,.35); background: #fff; }
.t2-ihero-imgbox img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease, transform .35s ease; }
.t2-ihero-imgbox img.swapping { opacity: .15; transform: scale(.96); }
.t2-ihero-float { position: absolute; z-index: 3; background: rgba(255,255,255,.95); color: var(--ink); font-size: 12px; font-weight: 700; padding: 7px 13px; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,.22); display: inline-flex; align-items: center; gap: 6px; }
.t2-ihero-float.top-left { top: 8px; left: 16px; }
.t2-ihero-float.bottom-right { bottom: 8px; right: 16px; }

.t2-ihero-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.t2-ihero-tab { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: #fff; transition: .25s; cursor: pointer; overflow: hidden; }
.t2-ihero-tab:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.t2-ihero-tab.active { background: #fff; color: var(--ink); border-color: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.t2-ihero-tab img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.t2-ihero-tab small { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .5px; opacity: .75; }
.t2-ihero-tab strong { font-size: 13px; font-weight: 700; }
.t2-ihero-tab span { font-size: 12.5px; font-weight: 800; color: #5eead4; }
.t2-ihero-tab.active span { color: var(--accent); }
@media (max-width: 991.98px) { .t2-ihero { padding: 26px 22px; } .t2-ihero-tabs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .t2-ihero-tabs { grid-template-columns: 1fr; } .t2-ihero-float { display: none; } }

/* Rounded-Rectangle Featured Categories Grid */
.t2-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.t2-cat-card { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: .25s; }
.t2-cat-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.t2-cat-thumb { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: var(--soft); }
.t2-cat-thumb img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.t2-cat-card:hover .t2-cat-thumb img { transform: scale(1.08); }
.t2-cat-meta { min-width: 0; flex: 1; }
.t2-cat-ico { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 7px; background: #ecfdf5; color: var(--primary); font-size: 12px; margin-bottom: 4px; }
.t2-cat-meta h6 { font-weight: 700; font-size: 14.5px; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t2-cat-meta small { color: var(--muted); font-size: 12px; }
.t2-cat-arrow { color: var(--muted); transition: .2s; }
.t2-cat-card:hover .t2-cat-arrow { color: var(--primary); transform: translateX(4px); }
@media (max-width: 991.98px) { .t2-cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .t2-cat-grid { gap: 10px; } .t2-cat-card { padding: 10px; gap: 10px; } .t2-cat-thumb { width: 52px; height: 52px; } .t2-cat-arrow { display: none; } }

/* Compact Topbar Hotline */
.topbar-hotline { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.1); padding: 3px 11px; border-radius: 50px; color: #fff; font-size: 12.5px; }
.topbar-hotline i { color: #5eead4; margin: 0; }
.topbar-hotline b { color: #5eead4; font-weight: 700; }

/* Floating Facebook Messenger & Compare */
.fb-messenger-fab { position: fixed; right: 20px; bottom: 74px; z-index: 1030; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 50px; background: linear-gradient(135deg, #0084ff, #00c6ff); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 10px 25px rgba(0,132,255,.35); transition: .2s; }
.fb-messenger-fab:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,132,255,.45); }
.fb-messenger-fab i { font-size: 19px; }
@media (max-width: 991.98px) { .fb-messenger-fab { bottom: 132px; } }
