/* =====================================================================
   Gyftman — storefront styles
   Palette: Indigo #635BFF · Violet #7C3AED · Coral #FF6B6B · Navy #111827
   ===================================================================== */

:root {
  --primary: #635BFF;
  --primary-600: #5147F0;
  --primary-700: #4338CA;
  --primary-50: #F0EFFF;
  --primary-100: #E4E2FF;
  --secondary: #7C3AED;
  --accent: #FF6B6B;
  --accent-50: #FFF1F1;
  --orange: #F59E0B;
  --dark: #111827;
  --text: #111827;
  --muted: #64748B;
  --muted-2: #94A3B8;
  --bg: #F8FAFC;
  --bg-soft: #F5F4FF;
  --card: #FFFFFF;
  --border: #E2E8F0;
  --success: #16A34A;
  --success-50: #ECFDF3;
  --warning: #D97706;
  --warning-50: #FFFBEB;
  --danger: #DC2626;
  --danger-50: #FEF2F2;
  --info: #2563EB;
  --info-50: #EFF6FF;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, .05);
  --shadow: 0 4px 18px rgba(99, 91, 255, .08), 0 1px 3px rgba(17, 24, 39, .04);
  --shadow-lg: 0 18px 50px rgba(79, 70, 229, .16);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --container: 1240px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-700); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--dark); letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 16px 0; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(99, 91, 255, .45); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.icon { width: 20px; height: 20px; flex-shrink: 0; display: inline-block; vertical-align: -0.2em; }
.icon-lg { width: 28px; height: 28px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--primary); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip-link:focus { left: 8px; color: #fff; }
.text-muted { color: var(--muted); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-center { text-align: center; }
.small { font-size: 13px; }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0 !important; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.flex { display: flex; } .gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .items-center { align-items: center; } .justify-between { justify-content: space-between; } .wrap { flex-wrap: wrap; }
.show-xs { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 10px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.2; text-align: center; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, transform .1s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(99, 91, 255, .28); }
.btn-primary:hover { background: var(--primary-600); color: #fff; }
.btn-outline { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-50); color: var(--primary-700); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--primary-50); color: var(--primary); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--primary-50); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #B91C1C; color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #15803D; color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 14px; border-radius: 9px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled], .btn.disabled { opacity: .55; pointer-events: none; box-shadow: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 14px; }
.link-arrow .icon { width: 16px; height: 16px; }

/* ---------- Badges & alerts ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.badge-offer { background: var(--accent-50); color: #E5484D; }
.badge-success { background: var(--success-50); color: var(--success); }
.badge-warning { background: var(--warning-50); color: var(--warning); }
.badge-info { background: var(--info-50); color: var(--info); }
.badge-danger { background: var(--danger-50); color: var(--danger); }
.badge-muted { background: #F1F5F9; color: var(--muted); }
.badge-primary { background: var(--primary-50); color: var(--primary); }
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--primary-100); color: var(--primary-700); font-size: 13px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }

.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--radius); margin: 0 0 12px; font-size: 14px; border: 1px solid; }
.alert .icon { width: 18px; height: 18px; margin-top: 2px; }
.alert-success { background: var(--success-50); border-color: #BBF7D0; color: #166534; }
.alert-error { background: var(--danger-50); border-color: #FECACA; color: #991B1B; }
.alert-info { background: var(--info-50); border-color: #BFDBFE; color: #1E40AF; }
.alert-warning { background: var(--warning-50); border-color: #FDE68A; color: #92400E; }
.flash-wrap { padding-top: 16px; }

/* ---------- Top bar ---------- */
.topbar { background: linear-gradient(90deg, #EEEBFF, #F5F0FF); font-size: 13px; color: var(--dark); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar-msg { display: flex; align-items: center; gap: 8px; margin: 0; flex: 1; justify-content: center; font-weight: 500; }
.topbar-msg .icon { color: var(--primary); width: 18px; height: 18px; }
.topbar .sep { color: var(--muted-2); margin: 0 6px; }
.topbar-links { display: flex; align-items: center; white-space: nowrap; }
.topbar-links a { color: var(--dark); }
.topbar-links a:hover { color: var(--primary); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid rgba(226, 232, 240, .7); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo img { height: 58px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a, .mega-trigger { padding: 8px 12px; border-radius: 8px; color: var(--dark); font-weight: 500; font-size: 15px; background: none; border: 0; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.main-nav > a:hover, .main-nav > a.active, .mega-trigger:hover, .has-mega.open .mega-trigger { color: var(--primary); }
.mega-trigger .icon { width: 16px; height: 16px; transition: transform .2s; }
.has-mega { position: relative; }
.has-mega.open .mega-trigger .icon { transform: rotate(180deg); }
.mega-menu {
  position: absolute; top: calc(100% + 14px); left: -140px; width: 760px; padding: 24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 16px;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.mega-menu::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.has-mega.open .mega-menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) { .has-mega:hover .mega-menu { opacity: 1; visibility: visible; transform: none; } .has-mega:hover .mega-trigger .icon { transform: rotate(180deg); } }
.mega-item { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: var(--radius); color: var(--dark); }
.mega-item:hover { background: var(--bg-soft); color: var(--dark); }
.mega-item strong { display: block; font-weight: 600; font-size: 15px; }
.mega-item small { display: block; color: var(--muted); font-size: 13px; }
.cat-icon { --c: var(--primary); display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); }
.cat-icon .icon { width: 24px; height: 24px; }
.cat-icon.sm { width: 32px; height: 32px; border-radius: 9px; }
.cat-icon.sm .icon { width: 18px; height: 18px; }

.header-search { flex: 1; max-width: 460px; margin-left: auto; position: relative; }
.header-search .icon, .mobile-search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; pointer-events: none; }
.header-search input, .mobile-search input { width: 100%; height: 44px; padding: 0 16px 0 42px; border: 1px solid var(--border); border-radius: 10px; background: #F8FAFC; font-size: 14px; transition: border-color .15s, background .15s; }
.header-search input:focus, .mobile-search input:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(99, 91, 255, .12); }
.mobile-search { display: none; position: relative; padding-bottom: 12px; }
.mobile-search .icon { left: 34px; top: 12px; transform: none; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.login-link { display: inline-flex; align-items: center; gap: 6px; color: var(--dark); font-weight: 500; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 0; background: transparent; color: var(--dark); }
.icon-btn:hover { background: var(--primary-50); color: var(--primary); }
.icon-btn .icon { width: 24px; height: 24px; }
.cart-btn .count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.nav-toggle { display: none; }

.dropdown { position: relative; }
.user-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 4px 6px; border-radius: 10px; font-weight: 600; color: var(--dark); }
.user-btn:hover { background: var(--primary-50); }
.user-btn .icon { width: 16px; height: 16px; }
.avatar { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; font-size: 13px; font-weight: 700; }
.dropdown-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--border); padding: 6px; display: none; z-index: 60; }
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a, .dropdown-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 8px; color: var(--dark); background: none; border: 0; font-size: 14px; text-align: left; }
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--bg-soft); color: var(--primary); }
.dropdown-menu .icon { width: 18px; height: 18px; color: var(--muted); }

/* Drawer (mobile nav) */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer[hidden] { display: none; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(17, 24, 39, .45); }
.drawer-panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(320px, 86vw); background: #fff; overflow-y: auto; padding: 16px; animation: slideIn .2s ease-out; }
@keyframes slideIn { from { transform: translateX(-100%); } to { transform: none; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.drawer-head img { height: 44px; width: auto; }
.drawer-nav { display: flex; flex-direction: column; gap: 2px; }
.drawer-nav > a:not(.btn) { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 8px; color: var(--dark); font-weight: 500; }
.drawer-nav > a:not(.btn):hover { background: var(--bg-soft); }
.drawer-nav .btn { margin-top: 8px; }

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
.section-sm { padding: 28px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head h2 { margin: 0; }
.section-head .link-arrow { white-space: nowrap; }
.page-hero { background: linear-gradient(135deg, #F1EFFF 0%, #FAF5FF 60%, #FFF5F5 100%); padding: 40px 0 36px; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--primary); }
.card { background: var(--card); border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.card-body { padding: 24px; }
.card-head { padding: 18px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-head h2, .card-head h3 { margin: 0; font-size: 1.1rem; }

/* ---------- Hero (banner: copy left, artwork bleeding off the right edge) ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #EFEDFE 0%, #EBEBFC 100%); }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; left: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 58, 237, .10), transparent 70%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 48px; background: linear-gradient(180deg, transparent, var(--bg)); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; padding-top: 44px; padding-bottom: 28px; }
.hero-copy { max-width: 640px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; margin: 18px 0 16px; letter-spacing: -.025em; }
.hero h1 .hl { background: linear-gradient(90deg, var(--primary), var(--secondary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 1.1rem; color: #475569; max-width: 520px; }
.hero-cta { margin: 26px 0 30px; padding: 15px 30px; }
.hero-features { display: flex; flex-wrap: wrap; gap: 14px 0; }
.hero-feature { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); line-height: 1.35; padding-right: 20px; margin-right: 20px; border-right: 1px solid rgba(99, 91, 255, .15); }
.hero-feature:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-feature strong { display: block; color: var(--dark); font-size: 14px; }
.hero-feature .fi { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--primary-100); color: var(--primary); flex-shrink: 0; }
.hero-art { display: block; width: 100%; max-width: 640px; height: auto; margin: 0 auto; -webkit-mask-image: radial-gradient(closest-side, #000 84%, transparent 100%); mask-image: radial-gradient(closest-side, #000 84%, transparent 100%); }
@media (min-width: 1100px) {
  .hero { min-height: min(38vw, 640px); display: flex; align-items: center; }
  .hero > .container { width: 100%; }
  .hero-copy { max-width: min(48vw, 600px); }
  .hero h1 { font-size: clamp(2.6rem, 3.9vw, 3.7rem); }
  .hero-features { flex-wrap: nowrap; }
  .hero-feature { padding-right: 16px; margin-right: 16px; white-space: nowrap; }
  .hero-art { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: auto; height: 100%; max-width: 54vw; max-height: 700px; margin: 0; object-fit: contain; object-position: right center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%); mask-image: linear-gradient(90deg, transparent 0, #000 9%); }
}

/* ---------- Category tiles ---------- */
.cat-row { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 12px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 8px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); text-align: center; color: var(--dark); font-size: 13px; font-weight: 500; line-height: 1.3; transition: transform .15s, box-shadow .15s, border-color .15s; }
.cat-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--primary-100); color: var(--primary); }
.cat-tile .cat-icon { width: 44px; height: 44px; }

/* ---------- Brand cards ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); gap: 18px; }
.brand-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 16px; scrollbar-width: thin; }
.brand-scroller > * { scroll-snap-align: start; }
.scroller-wrap { position: relative; }
.scroll-btn { position: absolute; top: 58px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; color: var(--dark); }
.scroll-btn.prev { left: -18px; } .scroll-btn.next { right: -18px; }
.scroll-btn:hover { color: var(--primary); }
.brand-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 10px 10px 14px; transition: transform .18s, box-shadow .18s; }
.brand-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.brand-visual { container-type: inline-size; position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05); }
.brand-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 255, 255, .18), transparent 50%); pointer-events: none; }
.brand-visual img { width: 100%; height: 100%; object-fit: cover; }
.brand-wordmark { font-family: var(--font-head); font-weight: 800; font-size: clamp(13px, 12.5cqi, 34px); letter-spacing: -.02em; padding: 0 10px; text-align: center; line-height: 1.1; }
.brand-visual.lg .brand-wordmark { font-size: clamp(22px, 11cqi, 60px); }
.brand-card-body { padding: 12px 4px 0; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.brand-card h3 { font-family: var(--font); font-size: 14.5px; font-weight: 600; margin: 0; }
.brand-card h3 a { color: var(--dark); }
.brand-card .range { font-size: 13px; color: var(--muted); }
.brand-card .badge { align-self: flex-start; margin: 4px 0 10px; }
.brand-card .btn { margin-top: auto; }

/* ---------- Promo banners ---------- */
.promo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promo { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: 28px 32px; min-height: 190px; display: flex; align-items: center; }
.promo h2 { margin-bottom: 8px; }
.promo p { color: #475569; max-width: 300px; font-size: 14px; }
.promo-copy { position: relative; z-index: 1; max-width: 55%; }
.promo-art { position: absolute; right: 16px; bottom: 50%; transform: translateY(50%); width: 44%; max-width: 260px; border-radius: 12px; -webkit-mask-image: radial-gradient(ellipse at center, #000 55%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 55%, transparent 75%); }
.promo-personal { background: linear-gradient(120deg, #FFE4EC 0%, #FFF0F3 55%, #FDE7F1 100%); }
.promo-corporate { background: linear-gradient(120deg, #E8ECFF 0%, #EEF1FF 55%, #E0E7FF 100%); }
.promo-corporate ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 4px; font-size: 13px; color: #334155; }
.promo-corporate li { display: flex; gap: 6px; align-items: center; }
.promo-corporate li .icon { width: 16px; height: 16px; color: var(--primary); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { display: flex; gap: 14px; align-items: center; position: relative; }
.step .si { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--primary-50); color: var(--primary); flex-shrink: 0; }
.step .si .icon { width: 26px; height: 26px; }
.step strong { display: block; font-size: 15px; }
.step span { font-size: 13px; color: var(--muted); }
.step:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: var(--primary-100); font-size: 22px; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 22px; }
.stars { display: flex; gap: 2px; color: #F59E0B; margin-bottom: 8px; }
.stars .icon { width: 16px; height: 16px; fill: currentColor; }
.testimonial blockquote { margin: 0 0 14px; font-size: 14.5px; color: #334155; }
.testimonial footer { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.testimonial footer img, .testimonial footer .avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.testimonial footer strong { display: block; font-size: 14px; }
.testimonial footer span { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: #FBFBFF; border-top: 1px solid var(--border); margin-top: 48px; padding-top: 36px; }
.newsletter { display: grid; grid-template-columns: auto 1fr minmax(320px, 520px); align-items: center; gap: 24px; background: linear-gradient(120deg, #EFEDFF, #F7F2FF); border-radius: var(--radius-xl); padding: 20px 32px; }
.newsletter-art { width: 110px; height: auto; mix-blend-mode: multiply; -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent 100%); mask-image: radial-gradient(closest-side, #000 60%, transparent 100%); }
.newsletter h2 { margin: 0 0 4px; }
.newsletter p { margin: 0; color: #475569; font-size: 14px; }
.newsletter-form { display: flex; gap: 10px; }
.input-icon { position: relative; flex: 1; display: block; }
.input-icon .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; }
.input-icon input { width: 100%; height: 48px; border: 1px solid var(--border); border-radius: 10px; padding: 0 14px 0 42px; background: #fff; }
.input-icon input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99, 91, 255, .12); }
.newsletter-form .btn { height: 48px; padding: 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .85fr .85fr 1.05fr 2.1fr; gap: 28px; padding: 40px 0 28px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 12px; }
.footer-brand p { color: #475569; font-size: 14px; max-width: 300px; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--primary-50); color: var(--dark); transition: background .15s, color .15s; }
.socials a:hover { background: var(--primary); color: #fff; }
.socials .icon { width: 19px; height: 19px; }
.footer-col h3, .footer-app h3 { font-size: 16px; margin-bottom: 12px; }
.footer-col { display: flex; flex-direction: column; gap: 7px; }
.footer-col a { color: #475569; font-size: 14px; }
.footer-col a:hover { color: var(--primary); }
.footer-app { position: relative; border-left: 1px solid var(--border); padding-left: 28px; }
.footer-app p { color: #475569; font-size: 14px; }
.store-badges { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }
.footer-app h3, .footer-app p { white-space: nowrap; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; height: 50px; width: 164px; padding: 0 14px; border-radius: 10px; white-space: nowrap; flex-shrink: 0; }
.store-badge:hover { color: #fff; background: #1F2937; }
.store-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge span { display: flex; flex-direction: column; font-size: 17px; font-weight: 600; line-height: 1.1; letter-spacing: -.01em; }
.store-badge small { font-size: 10px; font-weight: 400; }
.phone-mock { position: absolute; right: 0; top: -14px; width: 110px; height: 200px; border-radius: 22px; background: #111827; padding: 6px; transform: rotate(8deg); box-shadow: var(--shadow-lg); display: none; }
.phone-screen { height: 100%; border-radius: 17px; background: linear-gradient(180deg, #fff, #EEEBFF); display: flex; flex-direction: column; align-items: center; justify-content: space-around; padding: 10px 6px; text-align: center; }
.phone-screen img:first-child { width: 72px; height: auto; }
.phone-screen strong { font-size: 11px; line-height: 1.2; }
.trust-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 24px; padding: 24px 0; border-top: 1px solid var(--border); align-items: center; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item strong { display: block; font-size: 15px; }
.trust-item p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.trust-icon { --c: var(--primary); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); }
.we-accept { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.we-accept strong { display: block; font-size: 14px; }
.pay-logos { display: grid; grid-template-columns: repeat(6, 56px); gap: 6px; }
.pay { display: flex; align-items: center; justify-content: center; white-space: nowrap; overflow: hidden; height: 36px; border-radius: 7px; background: #fff; border: 1px solid var(--border); font-weight: 800; font-size: 13px; font-style: italic; }
.pay.visa { color: #1A1F71; font-size: 15px; letter-spacing: .02em; }
.pay.mc { display: flex; justify-content: center; }
.pay.mc i { width: 18px; height: 18px; border-radius: 50%; background: #EB001B; }
.pay.mc i + i { background: #F79E1B; margin-left: -7px; mix-blend-mode: multiply; }
.pay.rupay { color: #1B3B8B; font-size: 11.5px; }
.pay em { color: #F37021; font-style: normal; }
.pay.upi { color: #3E3E3E; letter-spacing: .04em; }
.pay.upi em { color: #0F9D58; }
.pay.paytm { color: #00BAF2; font-style: normal; font-size: 13px; letter-spacing: -.02em; }
.pay.paytm b { color: #002E6E; }
.pay.bank { color: var(--muted); }
.pay.bank .icon { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; flex-wrap: wrap; padding: 18px 0 28px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.footer-bottom p { margin: 0; }
.footer-bottom .addr { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; margin-right: 14px; }
.footer-bottom .addr .icon { width: 14px; height: 14px; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.footer-contact a { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); }
.footer-contact .icon { width: 15px; height: 15px; }
.footer-contact .sep { margin: 0 6px; color: var(--muted-2); }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37, 211, 102, .4); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { color: #fff; transform: scale(1.05); }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 16px; }
.form-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .label { font-size: 14px; font-weight: 600; color: var(--dark); }
.field .hint { font-size: 12.5px; color: var(--muted); }
.field .error { font-size: 12.5px; color: var(--danger); }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 10px; background: #fff; font-size: 15px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99, 91, 255, .12); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); flex-shrink: 0; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 46px !important; }
.password-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); padding: 8px; }
.password-toggle .icon { width: 18px; height: 18px; }

/* ---------- Auth ---------- */
.auth-wrap { display: grid; justify-items: center; align-items: start; padding: 56px 20px 64px; background: radial-gradient(ellipse at top left, #EEEBFF, transparent 60%), radial-gradient(ellipse at bottom right, #FFEFF3, transparent 60%); }
.auth-card { width: 100%; max-width: 440px; background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: 32px; border: 1px solid var(--border); }
.auth-card h1 { font-size: 1.6rem; margin-bottom: 4px; }
.auth-card .sub { color: var(--muted); margin-bottom: 20px; }
.auth-foot { text-align: center; margin-top: 18px; font-size: 14px; color: var(--muted); }
.tabs { display: flex; background: #F1F5F9; padding: 4px; border-radius: 12px; margin-bottom: 20px; }
.tabs button, .tabs a { flex: 1; border: 0; background: none; padding: 9px 12px; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--muted); text-align: center; }
.tabs .active { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.tab-panel[hidden] { display: none; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted-2); font-size: 13px; margin: 18px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.center-note { text-align: center; padding: 16px 0; }
.center-note .big-icon { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); }
.center-note .big-icon .icon { width: 34px; height: 34px; }

/* ---------- Listing ---------- */
.listing { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.filter-card { position: sticky; top: calc(var(--header-h) + 16px); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 14px; }
.filter-card h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 4px 8px 10px; }
.filter-card a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; color: var(--dark); font-size: 14px; font-weight: 500; }
.filter-card a:hover { background: var(--bg-soft); }
.filter-card a.active { background: var(--primary-50); color: var(--primary); }
.listing-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.listing-toolbar p { margin: 0; color: var(--muted); font-size: 14px; }
.listing-toolbar select { min-height: 40px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.chip-row { display: none; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 12px; }
.chip { flex-shrink: 0; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--border); color: var(--dark); font-size: 13px; font-weight: 500; }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.empty-state { text-align: center; padding: 48px 20px; background: #fff; border: 1px dashed var(--border); border-radius: var(--radius-lg); }
.empty-state .big-icon { width: 72px; height: 72px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; background: var(--primary-50); color: var(--primary); }
.empty-state .big-icon .icon { width: 32px; height: 32px; }
.empty-state p { color: var(--muted); }

/* ---------- Product (brand) page ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.product-media { position: sticky; top: calc(var(--header-h) + 20px); }
.product-media .brand-visual { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.product-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.product-perks div { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; line-height: 1.3; }
.product-perks .icon { color: var(--primary); width: 18px; height: 18px; }
.product-info h1 { margin: 6px 0 8px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.amount-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin: 10px 0 6px; }
.amount-opt { position: relative; }
.amount-opt input { position: absolute; opacity: 0; pointer-events: none; }
.amount-opt label { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 58px; padding: 6px; border: 1.5px solid var(--border); border-radius: 12px; background: #fff; cursor: pointer; font-weight: 700; font-size: 15px; transition: border-color .15s, background .15s; line-height: 1.2; }
.amount-opt label small { font-weight: 500; font-size: 11.5px; color: var(--success); }
.amount-opt label:hover { border-color: var(--primary); }
.amount-opt input:checked + label { border-color: var(--primary); background: var(--primary-50); color: var(--primary-700); box-shadow: 0 0 0 3px rgba(99, 91, 255, .12); }
.amount-opt input:focus-visible + label { outline: 3px solid rgba(99, 91, 255, .45); }
.amount-opt.soldout label { opacity: .5; cursor: not-allowed; text-decoration: line-through; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 10px; background: #fff; overflow: hidden; }
.qty button { width: 40px; height: 42px; border: 0; background: none; display: grid; place-items: center; color: var(--dark); }
.qty button:hover { background: var(--bg-soft); color: var(--primary); }
.qty button .icon { width: 16px; height: 16px; }
.qty input { width: 48px; height: 42px; text-align: center; border: 0; border-left: 1px solid var(--border); border-right: 1px solid var(--border); font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.price-box { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 16px 18px; background: var(--bg-soft); border-radius: var(--radius); margin: 18px 0; }
.price-box .you-pay { font-size: 1.6rem; font-weight: 800; font-family: var(--font-head); color: var(--dark); }
.price-box s { color: var(--muted); }
.price-box .save { color: var(--success); font-weight: 600; font-size: 14px; }
.gift-box { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; padding: 14px 16px; margin-bottom: 18px; }
.gift-fields { margin-top: 14px; }
.gift-fields[hidden] { display: none; }
.cta-row { display: flex; gap: 12px; }
.cta-row .btn { flex: 1; }
.accordion { margin-top: 28px; border-top: 1px solid var(--border); }
.accordion details { border-bottom: 1px solid var(--border); padding: 4px 0; }
.accordion summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 22px; color: var(--muted); font-weight: 400; }
.accordion details[open] summary::after { content: "–"; }
.accordion .acc-body { padding: 0 0 16px; color: #475569; font-size: 14.5px; white-space: pre-line; }

/* ---------- Cart / checkout ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: 0; }
.cart-item .brand-visual { border-radius: 10px; }

.cart-item h3 { font-size: 15px; margin: 0 0 2px; font-family: var(--font); }
.cart-item .meta { font-size: 13px; color: var(--muted); }
.cart-item .gift-note { font-size: 12.5px; color: var(--primary-700); background: var(--primary-50); padding: 4px 10px; border-radius: 8px; display: inline-flex; gap: 6px; align-items: center; margin-top: 6px; }
.cart-item .gift-note .icon { width: 14px; height: 14px; }
.cart-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cart-item-actions .line-total { font-weight: 700; font-size: 16px; }
.remove-btn { border: 0; background: none; color: var(--muted); font-size: 13px; display: inline-flex; gap: 4px; align-items: center; }
.remove-btn:hover { color: var(--danger); }
.remove-btn .icon { width: 15px; height: 15px; }
.summary { position: sticky; top: calc(var(--header-h) + 16px); }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14.5px; }
.summary-row.total { border-top: 1px dashed var(--border); margin-top: 8px; padding-top: 14px; font-size: 18px; font-weight: 800; font-family: var(--font-head); }
.summary-row .neg { color: var(--success); }
.coupon-form { display: flex; gap: 8px; margin: 14px 0 6px; }
.coupon-form input { flex: 1; min-height: 42px; padding: 0 12px; border: 1px dashed var(--primary); border-radius: 10px; text-transform: uppercase; background: var(--bg-soft); }
.coupon-applied { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; background: var(--success-50); border: 1px dashed #86EFAC; border-radius: 10px; font-size: 14px; margin: 14px 0 6px; }
.limit-note { font-size: 12.5px; color: var(--muted); display: flex; gap: 6px; align-items: flex-start; margin-top: 12px; }
.limit-note .icon { width: 15px; height: 15px; margin-top: 2px; }
.secure-note { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--muted); font-size: 12.5px; margin-top: 12px; }
.secure-note .icon { width: 15px; height: 15px; color: var(--success); }

/* ---------- Order page ---------- */
.order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.order-head h1 { margin: 0 0 4px; font-size: 1.6rem; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); margin: 8px 0 24px; }
.tl-step { position: relative; text-align: center; font-size: 12.5px; color: var(--muted); padding-top: 38px; }
.tl-step::before { content: ""; position: absolute; top: 13px; left: -50%; right: 50%; height: 3px; background: var(--border); }
.tl-step:first-child::before { display: none; }
.tl-step .dot { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 3px solid var(--border); display: grid; place-items: center; z-index: 1; }
.tl-step .dot .icon { width: 14px; height: 14px; }
.tl-step.done { color: var(--dark); font-weight: 600; }
.tl-step.done::before { background: var(--primary); }
.tl-step.done .dot { background: var(--primary); border-color: var(--primary); color: #fff; }
.tl-step.current .dot { border-color: var(--primary); color: var(--primary); box-shadow: 0 0 0 5px var(--primary-50); }
.tl-step.current { color: var(--primary); font-weight: 600; }
.tl-step.current::before { background: var(--primary); }
.pay-card { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.qr-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px; text-align: center; }
.qr-box #upi-qr { display: grid; place-items: center; min-height: 220px; }
.qr-box #upi-qr img, .qr-box #upi-qr canvas { margin: 0 auto; width: 220px !important; height: 220px !important; }
.qr-box .amt { font-size: 1.6rem; font-weight: 800; font-family: var(--font-head); margin: 8px 0 0; }
.qr-box .upi-apps { font-size: 12px; color: var(--muted); }
.copy-field { display: flex; align-items: center; gap: 8px; background: var(--bg-soft); border: 1px dashed var(--primary-100); border-radius: 10px; padding: 8px 8px 8px 14px; font-weight: 600; }
.copy-field span { flex: 1; overflow-wrap: anywhere; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: #fff; border-radius: 8px; padding: 6px 10px; color: var(--primary); font-size: 13px; font-weight: 600; box-shadow: var(--shadow-sm); }
.copy-btn .icon { width: 15px; height: 15px; }
.pay-steps { margin: 12px 0 18px; padding-left: 20px; color: #475569; font-size: 14px; }
.pay-steps li { margin-bottom: 4px; }
.voucher-list { display: grid; gap: 12px; }
.voucher { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(90deg, #fff, #FAFAFF); }
.voucher .brand-visual { border-radius: 10px; }

.voucher .code-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; }
.voucher code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 16px; font-weight: 700; letter-spacing: .06em; background: #fff; border: 1px dashed var(--primary-100); padding: 6px 10px; border-radius: 8px; }
.voucher .meta { font-size: 12.5px; color: var(--muted); }
.order-items-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.order-items-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 10px 12px; background: #F8FAFC; }
.order-items-table td { padding: 12px; border-top: 1px solid var(--border); vertical-align: top; }
.order-items-table td.num, .order-items-table th.num { text-align: right; white-space: nowrap; }

/* ---------- Account ---------- */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.account-nav { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 10px; position: sticky; top: calc(var(--header-h) + 16px); }
.account-nav .who { display: flex; gap: 10px; align-items: center; padding: 10px 8px 14px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.account-nav .who strong { display: block; font-size: 14px; }
.account-nav .who span { font-size: 12px; color: var(--muted); word-break: break-all; }
.account-nav a, .account-nav button { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 10px; color: var(--dark); font-size: 14px; font-weight: 500; width: 100%; background: none; border: 0; text-align: left; }
.account-nav a:hover, .account-nav button:hover { background: var(--bg-soft); }
.account-nav a.active { background: var(--primary-50); color: var(--primary); }
.account-nav .icon { width: 18px; height: 18px; }
.order-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); align-items: center; color: var(--dark); }
.order-row:hover { background: #FAFAFF; color: var(--dark); }
.order-row:last-child { border-bottom: 0; }
.order-row .no { font-weight: 700; }
.order-row .meta { font-size: 13px; color: var(--muted); }
.order-row .amt { font-weight: 700; text-align: right; }

/* ---------- Prose (CMS / blog) ---------- */
.prose { max-width: 780px; font-size: 16px; color: #334155; }
.prose h2 { margin-top: 1.6em; font-size: 1.35rem; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose img { border-radius: var(--radius); margin: 1em 0; }
.prose details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 0 18px; margin-bottom: 10px; }
.prose summary { cursor: pointer; font-weight: 600; padding: 14px 0; color: var(--dark); }
.prose details p { margin-top: 0; }
.prose .steps-list li { margin-bottom: 1em; }
.content-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 40px); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.blog-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.blog-card .cover { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #EEEBFF, #FDE7F1); display: grid; place-items: center; overflow: hidden; }
.blog-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .cover .icon { width: 48px; height: 48px; color: var(--primary); }
.blog-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card h2 { font-size: 1.1rem; margin: 0; }
.blog-card h2 a { color: var(--dark); }
.blog-card p { color: var(--muted); font-size: 14px; margin: 0; }
.blog-card .date { font-size: 12.5px; color: var(--muted-2); }
.post-cover { border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 24px; }

/* ---------- Corporate / contact ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.feature-list { display: grid; gap: 14px; margin: 20px 0; }
.feature-list div { display: flex; gap: 14px; align-items: flex-start; }
.feature-list strong { display: block; }
.feature-list p { margin: 0; color: var(--muted); font-size: 14px; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.contact-card strong { display: block; }
.contact-card p, .contact-card a { margin: 0; color: #475569; font-size: 14px; }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.pagination a, .pagination .dots { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: #fff; border: 1px solid var(--border); color: var(--dark); font-weight: 600; font-size: 14px; padding: 0 10px; }
.pagination .dots { border: 0; background: none; }
.pagination a.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 72px 20px; }
.error-page .code { font-family: var(--font-head); font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; line-height: 1; background: linear-gradient(90deg, var(--primary), var(--secondary)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Responsive ---------- */
@media (min-width: 1280px) { .phone-mock { display: block; } .footer-app { padding-right: 130px; } }
@media (max-width: 1180px) {
  .main-nav > a[href$="/offers"], .main-nav > a[href$="/faq"] { display: none; }
  .cat-row { grid-template-columns: repeat(5, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; }
  .footer-app { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--border); padding-top: 20px; }
  .trust-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .we-accept { justify-content: flex-start; }
}
@media (max-width: 1024px) {
  .main-nav, .header-search { display: none; }
  .nav-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .mobile-search { display: block; }
  .hero-inner { padding-top: 24px; }
  .newsletter { grid-template-columns: auto 1fr; }
  .newsletter-form { grid-column: 1 / -1; }
  .listing { grid-template-columns: 1fr; }
  .filter-card { display: none; }
  .chip-row { display: flex; }
  .product { grid-template-columns: 1fr; gap: 24px; }
  .product-media { position: static; max-width: 520px; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { position: static; display: flex; overflow-x: auto; gap: 4px; padding: 6px; }
  .account-nav .who { display: none; }
  .account-nav a, .account-nav button { white-space: nowrap; width: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .testimonials { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  body { font-size: 14.5px; }
  .topbar-links, .topbar-msg .sep, .topbar-msg span + span { display: none; }
  .topbar-msg span:first-of-type { display: inline; }
  .logo img { height: 42px; }
  .hide-sm { display: none !important; }
  .section { padding: 32px 0; }
  .cat-row { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 6px; }
  .cat-tile { min-width: 108px; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .brand-scroller { grid-auto-columns: 46%; }
  .scroll-btn { display: none; }
  .brand-card { padding: 8px 8px 12px; }
  .brand-card .btn { padding: 8px; font-size: 13px; }
  .promo-row { grid-template-columns: 1fr; }
  .promo { padding: 22px; }
  .promo-copy { max-width: 62%; }
  .steps { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .newsletter { grid-template-columns: 1fr; padding: 20px; text-align: center; }
  .newsletter-art { margin: 0 auto; }
  .newsletter-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .trust-row { grid-template-columns: 1fr; }
  .we-accept { flex-direction: column; align-items: flex-start; }
  .pay-logos { grid-template-columns: repeat(3, 56px); }
  .form-grid.cols-2 { grid-template-columns: 1fr; }
  .auth-card { padding: 24px 20px; }
  .cart-item { grid-template-columns: 84px 1fr; }
  .cart-item-actions { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .pay-card { grid-template-columns: 1fr; }
  .qr-box { max-width: 300px; margin: 0 auto; }
  .timeline { font-size: 11px; }
  .voucher { grid-template-columns: 1fr; }
  .voucher .brand-visual { max-width: 160px; }
  .product-perks { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; }
  .order-items-table .hide-mobile { display: none; }
}
@media (max-width: 420px) {
  .hide-xs { display: none !important; }
  .show-xs { display: inline-grid !important; }
  .header-actions { gap: 4px; }
}

/* ---------- Print (invoice) ---------- */
@media print {
  .topbar, .site-header, .site-footer, .drawer, .no-print, .wa-float { display: none !important; }
  body { background: #fff; }
  .card { border: 0; box-shadow: none; }
}
