/* ==========================================================
   Premium visual layer (v5.32.0)
   Brand colours taken from the existing lapntabmart.pk site / logo:
   royal blue #1C61E7, deep navy #0B1B3F, logo cyan #29B6F6.
   ========================================================== */
:root {
	--color-primary: #1C61E7;
	--color-primary-dark: #0E3FB0;
	--color-primary-soft: #EAF1FF;
	--color-accent: #29B6F6;
	--color-navy: #0B1B3F;
	--brand-gradient: linear-gradient(135deg, #0E3FB0 0%, #1C61E7 55%, #29B6F6 100%);
	--sale-gradient: linear-gradient(135deg, #FF2E4D 0%, #FF6A00 100%);
	--shadow-card: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
	--shadow-card-hover: 0 2px 4px rgba(16, 24, 40, .05), 0 22px 44px rgba(28, 97, 231, .14);
}
body { background: #F7F9FD; }
::selection { background: rgba(28, 97, 231, .18); }

/* ---------- Buttons ---------- */
.btn--primary { background: var(--brand-gradient); background-size: 140% 140%; box-shadow: 0 8px 20px rgba(28, 97, 231, .28); border: 0; }
.btn--primary:hover { filter: none; background-position: 100% 50%; box-shadow: 0 12px 28px rgba(28, 97, 231, .38); }
.btn--dark { background: var(--color-navy); }

/* ---------- Header ---------- */
.site-header { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); }
.top-bar { background: var(--color-navy); }
.main-nav a, .primary-nav a { position: relative; }

/* ---------- Section rhythm ---------- */
.product-row, .category-section, .why-trust, .review-slider, .blog-home { position: relative; }
.eyebrow { color: var(--color-primary); }
.gradient-text, .section-title--plain span, .section-title--center span { background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Product cards ---------- */
.product-card { border: 1px solid rgba(16, 24, 40, .06) !important; border-radius: 18px !important; box-shadow: var(--shadow-card); background: #fff; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.product-card__image { background: radial-gradient(120% 90% at 50% 0%, #FFFFFF 0%, #F2F5FC 100%) !important; }
.product-card__price { color: var(--color-navy); }
.product-card__price ins, .product-card__price ins .amount { color: var(--color-navy); text-decoration: none; }
.product-card__savings { color: #0F9D58; font-weight: 700; }
.badge--percent { background: var(--sale-gradient) !important; color: #fff !important; box-shadow: 0 6px 14px rgba(255, 74, 30, .3); }
.badge--campaign { background: linear-gradient(135deg, #111827, #1C61E7) !important; color: #fff !important; letter-spacing: .04em; box-shadow: 0 6px 14px rgba(28, 97, 231, .35); }
.cart-fab { background: var(--brand-gradient) !important; box-shadow: 0 8px 18px rgba(28, 97, 231, .35); }

/* ---------- Category cards ---------- */
.category-card { border-radius: 20px !important; box-shadow: var(--shadow-card); border: 1px solid rgba(16, 24, 40, .05) !important; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.category-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }

/* ---------- Trust marquee ---------- */
.trust-marquee { background: var(--color-navy) !important; }

/* ---------- Why us ---------- */
.why-card { border-radius: 20px !important; border: 1px solid rgba(16, 24, 40, .06) !important; box-shadow: var(--shadow-card); background: #fff; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.why-card__icon { background: var(--brand-gradient) !important; color: #fff !important; box-shadow: 0 10px 22px rgba(28, 97, 231, .3); }

/* ---------- Flash deals ---------- */
.flash-deals { border: 0 !important; box-shadow: var(--shadow-card); border-radius: 26px !important; background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFF 100%) !important; }
.flash-deals--campaign { background: linear-gradient(135deg, #0B1B3F 0%, #132B6B 55%, #1C61E7 130%) !important; color: #fff; }
.flash-deals--campaign .section-title--plain, .flash-deals--campaign h2 { color: #fff !important; }
.flash-deals--campaign .eyebrow { color: #FFC24B !important; }
.flash-deals--campaign .flash-deals__flame { background: var(--sale-gradient) !important; }
.flash-deals--campaign .countdown__box { background: rgba(255, 255, 255, .12) !important; color: #fff; border: 1px solid rgba(255, 255, 255, .18); }
.flash-deals--campaign .countdown { color: rgba(255, 255, 255, .6); }
.flash-deals--campaign .btn--dark { background: #fff !important; color: var(--color-navy) !important; }
.flash-deals--campaign .slider-arrow { background: rgba(255, 255, 255, .14) !important; color: #fff; border-color: rgba(255, 255, 255, .2) !important; }

/* ---------- CTA + footer ---------- */
.cta-banner__inner { background: var(--brand-gradient) !important; }
.site-footer { background: radial-gradient(120% 120% at 0% 0%, #12275A 0%, #0B1B3F 45%, #070F24 100%) !important; position: relative; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brand-gradient); }
.social-icons a { background: rgba(255, 255, 255, .08) !important; }
.social-icons a:hover { background: var(--color-primary) !important; color: #fff !important; }

/* ==========================================================
   Campaign bar (11.11)
   ========================================================== */
.camp-bar { background: linear-gradient(90deg, #FF2E4D 0%, #FF6A00 50%, #FF2E4D 100%); background-size: 200% 100%; animation: camp-shift 8s linear infinite; color: #fff; font-size: 13.5px; }
.camp-bar__inner { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.camp-bar__badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 6px; background: #111827; color: #FFC24B; font-weight: 800; font-size: 12.5px; letter-spacing: .04em; }
.camp-bar__title { font-weight: 800; letter-spacing: .01em; }
.camp-bar__off { font-weight: 700; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .2); }
.camp-bar__timer { font-variant-numeric: tabular-nums; font-weight: 600; }
.camp-bar__timer b { display: inline-block; min-width: 26px; text-align: center; padding: 2px 4px; border-radius: 5px; background: rgba(0, 0, 0, .25); }
.camp-bar__cta { color: #fff; font-weight: 800; text-decoration: none; border-bottom: 2px solid rgba(255, 255, 255, .7); }
.camp-bar__cta:hover { border-color: #fff; }
@keyframes camp-shift { from { background-position: 0% 0; } to { background-position: 200% 0; } }

.camp-pdp { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 6px 0 14px; padding: 10px 14px; border-radius: 12px; background: linear-gradient(90deg, #FFF1EC, #FFF7F0); border: 1px solid #FFD6C4; color: #7A2A0C; text-decoration: none; font-size: 13.5px; }
.camp-pdp__timer { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; }
.camp-pdp__timer b { color: #FF2E4D; }

@media (max-width: 768px) {
	.camp-bar { font-size: 12px; }
	.camp-bar__inner { gap: 8px; min-height: 36px; }
	.camp-bar__title { display: none; }
	.camp-bar__timer b { min-width: 22px; }
	.product-card:hover, .category-card:hover, .why-card:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .camp-bar { animation: none; } }
.badge--campaign { top: 12px; right: 12px; left: auto; }
@media (max-width: 480px) {
	.camp-bar__inner { flex-wrap: nowrap; gap: 8px; }
	.camp-bar__off { display: none; }
	.camp-bar__cta { white-space: nowrap; }
}

/* ==========================================================
   CTA banner v2 (v5.34.0) — one continuous gradient, text + trust tiles
   ========================================================== */
.cta-banner--v2 { background: linear-gradient(120deg, #081236 0%, #0E2A80 42%, #1C61E7 78%, #29B6F6 125%) !important; border-radius: 28px; isolation: isolate; }
.cta-banner--v2::after { background: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 28px 28px !important; -webkit-mask-image: radial-gradient(120% 90% at 100% 50%, #000 0%, transparent 70%); mask-image: radial-gradient(120% 90% at 100% 50%, #000 0%, transparent 70%); z-index: 0; }
.cta-banner__glow { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; }
.cta-banner__glow--a { width: 380px; height: 380px; left: -120px; top: -160px; background: rgba(41, 182, 246, .28); }
.cta-banner__glow--b { width: 420px; height: 420px; right: -100px; bottom: -220px; background: rgba(28, 97, 231, .55); }
.cta-banner__grid { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 64px 56px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.cta-banner--v2 .cta-banner__inner { background: none !important; max-width: none; margin: 0; padding: 0 !important; text-align: left; }
.cta-banner--v2 .cta-banner__inner h2 { font-size: 40px; line-height: 1.15; letter-spacing: -.02em; margin: 18px 0 14px; }
.cta-banner--v2 .cta-banner__inner p { font-size: 16.5px; line-height: 1.6; color: rgba(255, 255, 255, .8); margin: 0 0 28px; max-width: 520px; }
.cta-banner--v2 .pill { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); color: #fff; padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .08em; backdrop-filter: blur(6px); }
.cta-banner--v2 .pill svg { width: 15px; height: 15px; color: #FFC24B; }
.cta-banner--v2 .cta-banner__buttons { justify-content: flex-start; gap: 12px; }
.cta-banner--v2 .btn--white { box-shadow: 0 10px 26px rgba(4, 12, 40, .35); }
.cta-banner--v2 .btn--white:hover { transform: translateY(-2px); }
.cta-banner--v2 .btn--outline-white { border: 1.5px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); }
.cta-banner--v2 .btn--outline-white:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.cta-banner__wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: rgba(255, 255, 255, .85); font-size: 14px; font-weight: 600; text-decoration: none; }
.cta-banner__wa svg { width: 20px; height: 20px; color: #25D366; }
.cta-banner__wa:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.cta-banner__tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cta-tile { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; transition: transform .3s var(--ease), background .3s; }
.cta-tile:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .13); }
.cta-tile__icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #fff; color: var(--color-primary); margin-bottom: 10px; box-shadow: 0 8px 18px rgba(4, 12, 40, .25); }
.cta-tile__icon svg { width: 22px; height: 22px; }
.cta-tile strong { font-size: 15.5px; font-weight: 800; }
.cta-tile small { font-size: 13px; color: rgba(255, 255, 255, .72); line-height: 1.45; }

@media (max-width: 960px) {
	.cta-banner__grid { grid-template-columns: 1fr; padding: 48px 32px; gap: 32px; }
	.cta-banner--v2 .cta-banner__inner h2 { font-size: 32px; }
}
@media (max-width: 768px) {
	.cta-banner--v2 { margin: 36px 16px !important; border-radius: 22px; }
	.cta-banner__grid { padding: 32px 20px 22px; gap: 24px; }
	.cta-banner--v2 .cta-banner__inner { padding: 0 !important; }
	.cta-banner--v2 .cta-banner__inner h2 { font-size: 27px; }
	.cta-banner--v2 .cta-banner__inner p { font-size: 15px; margin-bottom: 22px; }
	.cta-banner--v2 .cta-banner__buttons { flex-direction: column; }
	.cta-banner--v2 .cta-banner__buttons .btn { width: 100%; justify-content: center; }
	.cta-banner__wa { font-size: 13px; }
	.cta-banner__tiles { gap: 10px; }
	.cta-tile { padding: 14px; border-radius: 14px; }
	.cta-tile__icon { width: 36px; height: 36px; border-radius: 10px; margin-bottom: 6px; }
	.cta-tile__icon svg { width: 18px; height: 18px; }
	.cta-tile strong { font-size: 14px; }
	.cta-tile small { font-size: 12px; }
}

/* ==========================================================
   Premium mega menu (v5.36.0)
   Full-width panel under the nav row: brand tiles with photos and
   product counts, quick-shop chips, best sellers and a promo card.
   ========================================================== */
.site-header__nav-row { position: relative; }
.primary-nav__list > li.has-mega { position: static; }
.primary-nav__list > li > a { position: relative; }
.primary-nav__list > li.has-mega > a::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .55; transition: transform .25s var(--ease); }
.primary-nav__list > li.has-mega.is-open > a { color: var(--color-primary); border-color: var(--color-primary); }
.primary-nav__list > li.has-mega.is-open > a::after { transform: translateY(0) rotate(-135deg); opacity: 1; }

.mega-panel--v2 { width: min(1200px, calc(100vw - 48px)); max-width: none; padding: 0; border-radius: 0 0 22px 22px; border: 1px solid rgba(16, 24, 40, .07); border-top: 0; box-shadow: 0 24px 60px rgba(11, 27, 63, .16), 0 2px 6px rgba(11, 27, 63, .05); overflow: hidden; transform: translate(-50%, 8px); }
.has-mega.is-open .mega-panel--v2 { transform: translate(-50%, 0); }
.mega-v2 { display: grid; grid-template-columns: minmax(0, 1fr) 340px; min-height: 340px; }
.mega-v2__main { padding: 28px 30px 22px; display: flex; flex-direction: column; }
.mega-v2__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.mega-v2__eyebrow { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 4px; }
.mega-v2__title { margin: 0; font-size: 22px; line-height: 1.2; color: var(--color-navy, #0B1B3F); letter-spacing: -.01em; }
.mega-v2__all { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; background: var(--color-primary-soft, #EAF1FF); color: var(--color-primary); font-weight: 700; font-size: 13.5px; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.mega-v2__all:hover { background: var(--color-primary); color: #fff; }

.mega-v2__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mega-v2__grid--dense { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.mega-tile { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 14px; border: 1px solid transparent; text-decoration: none; color: var(--color-text); transition: background .2s, border-color .2s, transform .2s; }
.mega-tile:hover { background: #F5F8FF; border-color: #DCE7FD; transform: translateX(2px); }
.mega-tile__img { flex: 0 0 44px; height: 44px; border-radius: 12px; background: radial-gradient(120% 100% at 50% 0%, #fff 0%, #EEF2FA 100%); border: 1px solid rgba(16, 24, 40, .06); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mega-tile__img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; mix-blend-mode: multiply; }
.mega-tile__initial { font-weight: 800; font-size: 17px; color: var(--color-primary); }
.mega-tile__text { display: flex; flex-direction: column; min-width: 0; }
.mega-tile__text strong { font-size: 14px; font-weight: 650; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mega-tile__text small { font-size: 12px; color: var(--color-muted); margin-top: 2px; }
.mega-tile:hover strong { color: var(--color-primary); }
.mega-v2__grid--dense .mega-tile { padding: 7px 8px; gap: 10px; }
.mega-v2__grid--dense .mega-tile__img { flex-basis: 38px; height: 38px; border-radius: 10px; }
.mega-v2__grid--dense .mega-tile__text strong { font-size: 13.5px; }

.mega-v2__quick { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; border-top: 1px dashed #E3E8F2; }
.mega-v2__quick { margin-top: 18px; }
.mega-v2__quick-label { font-size: 12.5px; font-weight: 700; color: var(--color-muted); margin-right: 2px; }
.mega-chip { display: inline-flex; align-items: center; padding: 6px 13px; border-radius: 999px; border: 1px solid #E1E6F0; background: #fff; font-size: 13px; font-weight: 600; color: var(--color-text); text-decoration: none; transition: all .2s; }
.mega-chip:hover { border-color: var(--color-primary); color: var(--color-primary); background: #F5F8FF; }
.mega-chip--sale { border-color: #FFD3C2; background: #FFF4EF; color: #E1442B; }
.mega-chip--sale:hover { background: var(--sale-gradient); border-color: transparent; color: #fff; }

.mega-v2__side { background: linear-gradient(180deg, #F6F9FF 0%, #EEF3FD 100%); border-left: 1px solid #E6ECF7; padding: 26px 22px 22px; display: flex; flex-direction: column; gap: 12px; }
.mega-prods { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mega-prod { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; background: #fff; border: 1px solid rgba(16, 24, 40, .06); text-decoration: none; color: var(--color-text); transition: box-shadow .25s, transform .25s; }
.mega-prod:hover { box-shadow: 0 10px 24px rgba(28, 97, 231, .14); transform: translateY(-2px); }
.mega-prod__img { position: relative; flex: 0 0 60px; height: 60px; border-radius: 10px; background: #F3F6FC; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mega-prod__img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; mix-blend-mode: multiply; }
.mega-prod__img em { position: absolute; top: 3px; left: 3px; font-style: normal; font-size: 10px; font-weight: 800; color: #fff; background: var(--sale-gradient); padding: 2px 5px; border-radius: 6px; }
.mega-prod__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mega-prod__text strong { font-size: 13px; font-weight: 650; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mega-prod__price { font-size: 13.5px; font-weight: 800; color: var(--color-navy, #0B1B3F); }
.mega-prod__price del { font-size: 11.5px; font-weight: 500; color: var(--color-muted); margin-right: 4px; }
.mega-prod__price ins { text-decoration: none; }

.mega-promo { margin-top: auto; position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 16px; background: linear-gradient(135deg, #0B1B3F 0%, #13308A 60%, #1C61E7 120%); color: #fff; text-decoration: none; overflow: hidden; isolation: isolate; }
.mega-promo::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(41, 182, 246, .35); filter: blur(30px); z-index: -1; }
.mega-promo--sale { background: linear-gradient(135deg, #2A0B12 0%, #B3122E 55%, #FF6A00 130%); }
.mega-promo--sale::after { background: rgba(255, 194, 75, .35); }
.mega-promo__badge { align-self: flex-start; padding: 3px 9px; border-radius: 6px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); font-size: 11.5px; font-weight: 800; letter-spacing: .04em; margin-bottom: 4px; }
.mega-promo--sale .mega-promo__badge { background: #111827; color: #FFC24B; border: 0; }
.mega-promo strong { font-size: 18px; line-height: 1.25; }
.mega-promo span:not(.mega-promo__badge) { font-size: 12.5px; color: rgba(255, 255, 255, .78); }
.mega-promo em { font-style: normal; font-weight: 800; font-size: 13px; margin-top: 6px; }
.mega-promo:hover em { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1180px) {
	.mega-v2 { grid-template-columns: minmax(0, 1fr) 300px; }
	.mega-v2__grid--dense { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Mobile drawer: brand chips instead of a long plain list */
.mobile-accordion__body { padding-left: 0 !important; }
.m-mega-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 4px 4px 10px; }
.mobile-accordion__body a.m-mega-chip { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 10px 12px !important; border: 1px solid #E6EBF4 !important; border-radius: 12px; background: #F8FAFE; font-size: 13.5px !important; font-weight: 600; color: var(--color-text) !important; }
.m-mega-chip span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-mega-chip small { flex-shrink: 0; font-size: 11px; font-weight: 700; color: var(--color-primary); background: var(--color-primary-soft, #EAF1FF); padding: 1px 7px; border-radius: 999px; }
.mobile-accordion__body a.m-mega-all { display: block; margin: 0 4px 12px; padding: 11px 12px !important; border: 0 !important; border-radius: 12px; background: var(--color-primary); color: #fff !important; font-weight: 700; font-size: 14px !important; text-align: center; }
