/* ==========================================================================
   TechWings — B2B IT hardware & bulk enquiry site
   Plain CSS. Sections: tokens · base · layout · buttons · header · hero ·
   sections · product card · enquiry drawer · assistant · catalogue ·
   product page · footer · utilities
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #0b1630;
  --ink-2: #1c2a4a;
  --muted: #5b6785;
  --line: #e3e8f1;
  --canvas: #f4f6fa;
  --brand: #1557ff;
  --brand-600: #0e45d6;
  --brand-50: #eef3ff;
  --brand-soft: #7da3ff;
  --navy: #0a1a3d;
  --ok: #0f9d58;
  --whatsapp: #1fa855;
  --amber-bg: #fef3c7;
  --amber-ink: #92400e;
  --white: #fff;

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 24px;

  --shadow-card: 0 1px 2px rgb(11 22 48 / 0.04), 0 4px 16px rgb(11 22 48 / 0.05);
  --shadow-lift: 0 2px 4px rgb(11 22 48 / 0.06), 0 16px 36px rgb(11 22 48 / 0.1);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
body.no-scroll { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes bounce { 0%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-5px); } }

/* ---------- Layout ---------- */
/* Phones: full width with a 16px gutter. Tablet and up: 90% width + 20px padding. */
:root { --gutter: 16px; }
.container { width: 100%; max-width: 100%; margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 768px) {
  :root { --gutter: 20px; }
  .container { width: 90%; max-width: 90%; }
}
.section { padding-block: 64px; }
.section--canvas { background: var(--canvas); }
.section--bordered { border-block: 1px solid var(--line); }
@media (min-width: 640px) { .section { padding-block: 80px; } }

.icon { flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: var(--r);
  font-size: 14px; font-weight: 700; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, filter .2s;
}
.btn--sm { height: 36px; padding: 0 12px; border-radius: var(--r-sm); font-size: 13px; }
.btn--md { height: 44px; padding: 0 20px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-600); }
.btn--glow { box-shadow: 0 8px 20px -8px rgb(21 87 255 / .7); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--brand); }
.btn--outline { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--brand); color: #fff; }
.btn--wa { background: var(--whatsapp); color: #fff; }
.btn--wa:hover { filter: brightness(1.1); }
.btn--soft { background: var(--brand-50); color: var(--brand); box-shadow: inset 0 0 0 1px rgb(21 87 255 / .3); }
.btn--soft:hover { background: var(--brand); color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink); }
.link-arrow:hover { color: var(--brand); }

/* ---------- Section heading ---------- */
.sh { display: flex; flex-direction: column; gap: 16px; }
.sh__text { max-width: 672px; }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.sh__title { margin-top: 10px; font-size: 1.75rem; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: var(--ink); }
.sh__intro { margin-top: 12px; font-size: 15px; line-height: 1.65; color: var(--muted); }
@media (min-width: 640px) {
  .sh { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .sh__title { font-size: 2.1rem; }
}

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: rgb(255 255 255 / .75); font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 40px; }
.topbar__msg { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__msg strong { color: #fff; font-weight: 600; }
.topbar__msg span { display: none; }
.topbar__links { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.topbar__links a { display: inline-flex; align-items: center; gap: 6px; }
.topbar__links a:hover { color: #fff; }
.topbar__phone, .topbar__mail { display: none !important; }
.topbar__wa { color: #fff; font-weight: 600; }
.topbar__wa:hover { color: #5be08f !important; }
@media (min-width: 640px) { .topbar__msg span { display: inline; } }
@media (min-width: 768px) { .topbar__phone { display: inline-flex !important; } }
@media (min-width: 1024px) { .topbar__mail { display: inline-flex !important; } }

.site-header { position: relative; z-index: 40; }
.header-main { background: #fff; border-bottom: 1px solid var(--line); }
.header-main__row { display: flex; align-items: center; gap: 16px; height: 76px; }
@media (min-width: 1024px) { .header-main__row { gap: 32px; } }

.menu-toggle { display: grid; place-items: center; width: 40px; height: 40px; margin-left: -4px; border-radius: var(--r-sm); color: var(--ink); }
.menu-toggle:hover { background: var(--canvas); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__text { font-size: 1.3rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.logo__text span { color: var(--brand); }
.logo--light .logo__text { color: #fff; }

.search {
  display: flex; align-items: stretch; height: 48px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--canvas);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.search:focus-within { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgb(21 87 255 / .1); }
.search select {
  display: none; max-width: 11rem; padding: 0 8px 0 16px; border: 0; border-right: 1px solid var(--line);
  border-radius: var(--r) 0 0 var(--r); background: transparent; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; outline: none;
}
.search input { flex: 1; min-width: 0; padding: 0 16px; border: 0; background: transparent; font-size: 14px; outline: none; }
.search input::placeholder { color: rgb(91 103 133 / .8); }
.search button { display: inline-flex; align-items: center; gap: 8px; margin: 4px; padding: 0 16px; border-radius: var(--r-sm); background: var(--brand); color: #fff; font-size: 14px; font-weight: 600; }
.search button:hover { background: var(--brand-600); }
.search button span { display: none; }
.search--header { display: none; flex: 1; }
.search-mobile { padding-bottom: 12px; }
@media (min-width: 640px) { .search button span { display: inline; } }
@media (min-width: 768px) { .search--header { display: flex; } .search-mobile { display: none; } }
@media (min-width: 1024px) { .search select { display: block; } }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
@media (min-width: 768px) { .header-actions { margin-left: 0; } }
.enquiry-btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--r); text-align: left; transition: background .2s, border-color .2s;
}
.enquiry-btn:hover { border-color: rgb(21 87 255 / .4); background: var(--brand-50); }
.enquiry-btn__icon { position: relative; }
.badge-count {
  position: absolute; right: -8px; top: -8px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px; background: var(--brand); color: #fff; font-size: 10px; font-weight: 700;
}
.badge-count[hidden] { display: none; }
.enquiry-btn__label { display: none; line-height: 1.2; }
.enquiry-btn__label small { display: block; font-size: 11px; color: var(--muted); }
.enquiry-btn__label b { display: block; font-size: 13px; color: var(--ink); }
.quote-btn { display: none; }
@media (min-width: 640px) { .quote-btn { display: inline-flex; } }
@media (min-width: 1280px) { .enquiry-btn__label { display: block; } }

.main-nav { display: none; background: #fff; border-bottom: 1px solid var(--line); }
.main-nav__row { display: flex; align-items: center; justify-content: space-between; height: 48px; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav__link { display: inline-flex; align-items: center; gap: 4px; height: 48px; padding: 0 14px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.main-nav__link:hover, .main-nav__link.is-active { color: var(--brand); }
.main-nav__hours { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
@media (min-width: 1024px) { .main-nav { display: block; } }

.has-mega { position: relative; }
.mega {
  position: absolute; left: 0; top: 100%; width: 560px; padding: 12px;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lift);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 100;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--r); font-size: 14px; font-weight: 600; color: var(--ink); }
.mega a:hover { background: var(--canvas); }
.icon-tile { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--brand-50); color: var(--brand); flex-shrink: 0; }

/* Desktop standard dropdowns & nested submenus */
.has-dropdown { position: relative; }
.nav-dropdown {
  position: absolute; left: 0; top: 100%; min-width: 220px; padding: 8px;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lift);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 100;
}
.has-dropdown:hover > .nav-dropdown, .has-dropdown:focus-within > .nav-dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-dropdown ul.sub-menu { display: flex; flex-direction: column; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-dropdown ul.sub-menu li { position: relative; width: 100%; }
.nav-dropdown ul.sub-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px;
  border-radius: var(--r); font-size: 13.5px; font-weight: 500; color: var(--ink-2); text-decoration: none;
  transition: background-color .15s ease, color .15s ease; white-space: nowrap;
}
.nav-dropdown ul.sub-menu a:hover, .nav-dropdown ul.sub-menu li:hover > a { background: var(--canvas); color: var(--brand); }
.nav-dropdown ul.sub-menu li.is-active > a { color: var(--brand); font-weight: 600; }
.nav-dropdown--sub { top: -8px; left: 100%; margin-left: 6px; }
.main-nav__link .icon { transition: transform .2s ease; }
.has-dropdown:hover > .main-nav__link .icon, .has-mega:hover > .main-nav__link .icon { transform: rotate(180deg); }
.nav-dropdown .sub-menu li.has-dropdown > a .icon { margin-left: auto; color: var(--muted); transition: transform .15s ease, color .15s ease; }
.nav-dropdown .sub-menu li.has-dropdown:hover > a .icon { color: var(--brand); transform: translateX(2px); }

/* Mobile nav */
.overlay-wrap { position: fixed; inset: 0; z-index: 50; pointer-events: none; }
.overlay-wrap.is-open { pointer-events: auto; }
.overlay { position: absolute; inset: 0; background: rgb(11 22 48 / .5); opacity: 0; transition: opacity .3s; }
.overlay-wrap.is-open .overlay { opacity: 1; }
.mobile-nav {
  position: absolute; inset: 0 auto 0 0; display: flex; flex-direction: column; width: 86%; max-width: 384px;
  background: #fff; box-shadow: var(--shadow-lift); transform: translateX(-100%); transition: transform .3s var(--ease);
}
.overlay-wrap.is-open .mobile-nav { transform: none; }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.mobile-nav__body { flex: 1; overflow-y: auto; padding: 16px; }
.mobile-nav__body > ul { display: flex; flex-direction: column; gap: 2px; list-style: none; margin: 0; padding: 0; }
.mobile-nav__item { position: relative; width: 100%; }
.mobile-nav__item > a, .mobile-nav__item-wrap > a {
  display: flex; align-items: center; justify-content: space-between; padding: 12px;
  border-radius: var(--r-sm); font-weight: 600; color: var(--ink); text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.mobile-nav__item > a:hover, .mobile-nav__item-wrap > a:hover { background: var(--canvas); color: var(--brand); }
.mobile-nav__item.is-active > a, .mobile-nav__item.is-active > .mobile-nav__item-wrap > a { color: var(--brand); }
.mobile-nav__item-wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.mobile-nav__item-wrap > a { flex: 1; }
.mobile-nav__toggle {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: none;
  background: transparent; color: var(--muted); border-radius: var(--r-sm); cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.mobile-nav__toggle:hover { background: var(--canvas); color: var(--ink); }
.mobile-nav__toggle .icon { transition: transform .25s ease; }
.mobile-nav__item.is-open > .mobile-nav__item-wrap .mobile-nav__toggle .icon { transform: rotate(180deg); color: var(--brand); }
.mobile-nav__sub { display: none; list-style: none; margin: 2px 0 6px 12px; padding: 0 0 0 10px; border-left: 2px solid var(--line); }
.mobile-nav__item.is-open > .mobile-nav__sub { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav__sub .mobile-nav__item > a, .mobile-nav__sub .mobile-nav__item-wrap > a {
  padding: 9px 12px; font-size: 13.5px; font-weight: 500; color: var(--ink-2);
}
.mobile-nav__sub .mobile-nav__sub { margin-left: 8px; padding-left: 8px; border-left-color: var(--line); }
.mobile-nav__label { margin: 24px 12px 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mobile-nav__cats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mobile-nav__cats a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--canvas); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.mobile-nav__cats .icon { color: var(--brand); }
.mobile-nav__foot { display: grid; gap: 8px; padding: 16px; border-top: 1px solid var(--line); }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-sm); }
.icon-btn:hover { background: var(--canvas); }

/* ---------- Hero ---------- */
.hero { background: var(--canvas); padding: 20px 0 24px; }
.hero__grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .hero { padding-top: 28px; } }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1fr 340px; } }
@media (min-width: 1280px) { .hero__grid { grid-template-columns: 1fr 380px; } }

.slider { position: relative; isolation: isolate; min-height: 240px; overflow: hidden; border-radius: var(--r-xl); background: var(--navy); }
@media (min-width: 640px) { .slider { min-height: 380px; } }
@media (min-width: 1024px) { .slider { min-height: 520px; } }
.slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .7s; }
.slide.is-active { opacity: 1; pointer-events: auto; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform 6s ease-out; }
.slide.is-active img { transform: scale(1.05); }
.slider__arrow {
  position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; transform: translateY(-50%);
  border-radius: 999px; background: rgb(255 255 255 / .9); color: var(--ink); box-shadow: var(--shadow-card); transition: opacity .2s, background .2s;
}
.slider__arrow:hover { background: #fff; }
.slider__arrow--prev { left: 12px; }
.slider__arrow--next { right: 12px; }
@media (min-width: 640px) {
  .slider__arrow { opacity: 0; }
  .slider:hover .slider__arrow, .slider__arrow:focus-visible { opacity: 1; }
}
/* Wide banner slider (1600×476 artwork with text baked in): full width, no text cropping.
   The bottom 56px of each image is trimmed to hide carousel controls captured in the artwork.
   On phones the banner keeps its height and is cropped from the right, so the text stays readable. */
.hero--banner .hero__grid { grid-template-columns: 1fr; }
.slider--banner { min-height: 0; aspect-ratio: 1600 / 420; }
.slider--banner .slide img { position: absolute; top: 0; left: 0; width: auto; max-width: none; height: calc(100% * 476 / 420); transform-origin: left center; }
.slider--banner .slide.is-active img { transform: scale(1.02); }
@media (max-width: 639px) {
  .slider--banner { aspect-ratio: 1000 / 420; }
  .slider--banner .slider__arrow { display: none; } /* swipe + dots on phones; arrows would cover the banner text */
}
/* Row of 3 promo banners under the slider: 1 → 2 (third full width) → 3 columns */
.hero--banner .hero__side { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .hero--banner .hero__side { grid-template-columns: 1fr 1fr; }
  .hero--banner .hero__side > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .hero--banner .hero__side { grid-template-columns: repeat(3, 1fr); }
  .hero--banner .hero__side > :last-child:nth-child(odd) { grid-column: auto; }
  .hero--banner .promo { padding: 22px; }
  .hero--banner .promo__text { max-width: 54%; }
  .hero--banner .promo__media { width: 44%; }
  .hero--banner .promo__title { font-size: 1.1rem; }
}
/* Image-only promo banners (artwork includes its own text) */
.promo-img { display: block; overflow: hidden; border-radius: var(--r-xl); background: var(--canvas); aspect-ratio: 740 / 274; transition: transform .2s, box-shadow .2s; }
.promo-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.promo-img:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.promo-img:hover img { transform: scale(1.03); }
.promo--navy { background: var(--navy); --promo-bg: var(--navy); }
.promo--navy .promo__eyebrow { color: var(--brand-soft); }
.promo--navy .promo__title { color: #fff; }
.promo--navy .promo__cta { background: #fff; color: var(--ink); }
.promo--navy:hover .promo__cta { background: var(--brand); color: #fff; }
.slider__dots { position: absolute; inset: auto 0 16px; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.slider__dot { width: 8px; height: 8px; border-radius: 999px; background: rgb(255 255 255 / .5); transition: width .3s, background .3s; }
.slider__dot:hover { background: rgb(255 255 255 / .8); }
.slider__dot.is-active { width: 28px; background: #fff; }

.hero__side { display: grid; gap: 16px; }
@media (min-width: 640px) { .hero__side { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .hero__side { grid-template-columns: 1fr; } }
.promo { position: relative; display: flex; min-height: 220px; overflow: hidden; padding: 24px; border-radius: var(--r-xl); }
.promo--blue { background: #e9f0ff; --promo-bg: #e9f0ff; }
.promo--grey { background: #eef2f7; --promo-bg: #eef2f7; }
.promo__text { position: relative; z-index: 1; display: flex; flex-direction: column; max-width: 56%; }
.promo__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.promo__title { margin-top: 8px; font-size: 1.25rem; font-weight: 800; line-height: 1.35; color: var(--ink); }
.promo__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 8px 14px; border-radius: var(--r-sm); background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; transition: background .2s; }
.promo:hover .promo__cta { background: var(--brand); }
.promo__media { position: absolute; inset: 0 0 0 auto; width: 50%; overflow: hidden; }
.promo__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.promo:hover .promo__media img { transform: scale(1.05); }
.promo__media::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 64px; background: linear-gradient(90deg, var(--promo-bg), transparent); }

/* ---------- Service strip ---------- */
.service { background: var(--canvas); padding-bottom: 40px; }
.service ul { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--line); }
.service li { display: flex; align-items: center; gap: 14px; padding: 16px; background: #fff; }
.service__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r); background: var(--brand-50); color: var(--brand); flex-shrink: 0; }
.service b { display: block; font-size: 14px; color: var(--ink); }
.service small { display: none; margin-top: 2px; font-size: 13px; color: var(--muted); }
@media (min-width: 640px) { .service li { padding: 20px; } .service small { display: block; } }
@media (min-width: 1024px) { .service ul { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Category grid ---------- */
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
@media (min-width: 640px) { .cat-grid { gap: 16px; } }
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: transform .2s, border-color .2s, box-shadow .2s; }
.cat-card:hover { transform: translateY(-2px); border-color: rgb(21 87 255 / .4); box-shadow: var(--shadow-lift); }
.cat-card__media { position: relative; aspect-ratio: 16 / 10; background: var(--canvas); }
.cat-card__img { position: absolute; inset: 0; overflow: hidden; }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-card:hover .cat-card__img img { transform: scale(1.05); }
.cat-card__icon { position: absolute; left: 12px; bottom: 0; display: grid; place-items: center; width: 40px; height: 40px; transform: translateY(50%); border: 2px solid #fff; border-radius: var(--r); background: var(--brand); color: #fff; box-shadow: var(--shadow-card); }
.cat-card__body { flex: 1; padding: 28px 14px 16px; }
.cat-card__body h3 { font-size: 14.5px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.cat-card:hover h3 { color: var(--brand); }
.cat-card__body p { margin-top: 4px; font-size: 12.5px; line-height: 1.6; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Chips / tabs ---------- */
.chips { display: flex; gap: 8px; margin-top: 32px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: all .2s; }
.chip:hover { border-color: rgb(21 87 255 / .4); color: var(--brand); }
.chip.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }

/* ---------- Product grid & card ---------- */
.product-grid { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .product-grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1280px) { .product-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.product-grid > li { display: flex; animation: rise .3s ease-out; }

.pcard {
  display: flex; flex-direction: column; width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: #fff; box-shadow: var(--shadow-card); transition: transform .2s, border-color .2s, box-shadow .2s;
}
.pcard:hover { transform: translateY(-2px); border-color: rgb(21 87 255 / .3); box-shadow: var(--shadow-lift); }
.pcard__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--canvas); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.tag-cat { position: absolute; left: 10px; top: 10px; padding: 2px 8px; border-radius: 6px; background: rgb(255 255 255 / .9); font-size: 11px; font-weight: 600; color: var(--muted); }
.tag-sample { padding: 2px 8px; border-radius: 6px; background: var(--amber-bg); font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--amber-ink); }
.pcard__media .tag-sample { position: absolute; right: 10px; top: 10px; }
.pcard__body { display: flex; flex: 1; flex-direction: column; padding: 14px 6px 4px; }
.pcard__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; }
.pcard__brand { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.pcard__sku { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.pcard__title { margin-top: 6px; font-size: 15px; font-weight: 700; line-height: 1.35; }
.pcard__title a:hover { color: var(--brand); }
.pcard__model { margin-top: 2px; font-size: 12px; color: var(--muted); }
.pcard__model b { font-weight: 500; color: var(--ink-2); }
.pcard__summary { margin-top: 8px; font-size: 13px; line-height: 1.6; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__price { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 12px; }
.pcard__price b { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink-2); }
.pcard__price b .icon { color: var(--brand); }
.pcard__price span { color: var(--muted); }
.pcard__actions { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; }
.pcard__actions .btn { flex: 1; padding: 0 10px; }
.pcard__details { display: inline-flex; align-items: center; justify-content: center; gap: 4px; margin-top: 8px; padding: 6px 0; border-radius: var(--r-sm); font-size: 13px; font-weight: 600; color: var(--muted); }
.pcard__details:hover { color: var(--brand); }

.qty { display: inline-flex; align-items: stretch; height: 44px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.qty--sm { height: 36px; }
.qty button { display: grid; place-items: center; width: 36px; color: var(--muted); transition: background .2s, color .2s; }
.qty button:hover { background: var(--canvas); color: var(--ink); }
.qty button:disabled { opacity: .4; cursor: default; }
.qty input {
  width: 48px; border: 0; border-inline: 1px solid var(--line); text-align: center; font-size: 14px; font-weight: 600;
  font-variant-numeric: tabular-nums; outline: none; -moz-appearance: textfield; appearance: textfield;
}
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { background: var(--brand-50); }

.note-sample { margin-top: 24px; text-align: center; font-size: 12px; color: var(--muted); }
.empty { margin-top: 24px; padding: 40px; border: 1px dashed var(--line); border-radius: var(--r-lg); background: #fff; text-align: center; font-size: 14px; color: var(--muted); }
.empty__icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto; border-radius: var(--r-lg); background: var(--brand-50); color: var(--brand); }
.empty h2 { margin-top: 16px; font-size: 18px; font-weight: 700; color: var(--ink); }
.empty p { max-width: 28rem; margin: 8px auto 0; }
.empty .btn { margin-top: 20px; }

/* ---------- Bulk procurement ---------- */
.bulk { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; }
@media (min-width: 1024px) { .bulk { grid-template-columns: 1.25fr 1fr; } }
.bulk__main { padding: 24px; }
@media (min-width: 640px) { .bulk__main { padding: 40px; } }
@media (min-width: 1024px) { .bulk__main { padding: 48px; } }
.steps { display: grid; gap: 20px; margin-top: 32px; }
.steps li { display: flex; gap: 16px; }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid rgb(21 87 255 / .2); border-radius: var(--r); background: var(--brand-50); font-size: 14px; font-weight: 800; color: var(--brand); }
.steps h3 { font-size: 16px; font-weight: 700; }
.steps p { margin-top: 2px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.btn-row { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }
@media (min-width: 640px) { .btn-row { flex-direction: row; } }

.bulk__panel { position: relative; display: flex; flex-direction: column; padding: 24px; background: var(--navy); color: #fff; }
@media (min-width: 640px) { .bulk__panel { padding: 40px; } }
.bulk__panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 100% 0%, rgb(21 87 255 / .35), transparent); pointer-events: none; }
.bulk__panel > * { position: relative; }
.bulk__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bulk__head h3 { font-size: 18px; font-weight: 800; }
.pill { padding: 4px 12px; border-radius: 999px; background: rgb(255 255 255 / .1); font-size: 12px; font-weight: 600; }
.bulk__list { flex: 1; display: grid; align-content: start; gap: 10px; margin-top: 24px; }
.bulk__item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--r); background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.bulk__thumb { width: 48px; height: 44px; flex-shrink: 0; overflow: hidden; border-radius: var(--r-sm); background: rgb(255 255 255 / .1); }
.bulk__thumb img { width: 100%; height: 100%; object-fit: cover; }
.bulk__item p { min-width: 0; flex: 1; }
.bulk__item b, .bulk__item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bulk__item b { font-size: 14px; font-weight: 600; }
.bulk__item small { font-size: 12px; color: rgb(255 255 255 / .55); }
.bulk__qty { flex-shrink: 0; padding: 4px 10px; border-radius: var(--r-sm); background: rgb(255 255 255 / .1); font-size: 12px; font-weight: 700; }
.bulk__ghost { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px dashed rgb(255 255 255 / .15); border-radius: var(--r); }
.bulk__ghost i { display: block; width: 48px; height: 44px; border-radius: var(--r-sm); background: rgb(255 255 255 / .06); }
.bulk__ghost span { flex: 1; display: grid; gap: 6px; }
.bulk__ghost span::before, .bulk__ghost span::after { content: ""; height: 10px; width: 75%; border-radius: 4px; background: rgb(255 255 255 / .1); }
.bulk__ghost span::after { width: 33%; height: 8px; background: rgb(255 255 255 / .06); }
.bulk__more { padding-left: 4px; font-size: 12px; color: rgb(255 255 255 / .6); }
.bulk__foot { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .1); }
.bulk__foot p { margin-bottom: 16px; font-size: 14px; color: rgb(255 255 255 / .65); }

/* ---------- Why choose us ---------- */
.why { display: grid; gap: 48px; }
@media (min-width: 1024px) { .why { grid-template-columns: .85fr 1.4fr; gap: 64px; } .why__intro { position: sticky; top: 32px; align-self: start; } }
.why__grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .why__grid { grid-template-columns: 1fr 1fr; } }
.why__card { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: border-color .2s, box-shadow .2s; }
.why__card:hover { border-color: rgb(21 87 255 / .3); box-shadow: var(--shadow-card); }
.why__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r); background: var(--ink); color: #fff; transition: background .2s; }
.why__card:hover .why__icon { background: var(--brand); }
.why__card h3 { margin-top: 20px; font-size: 16px; font-weight: 700; }
.why__card p { margin-top: 8px; font-size: 14px; line-height: 1.65; color: var(--muted); }

/* ---------- Solutions ---------- */
.sol { display: grid; gap: 24px; margin-top: 40px; }
@media (min-width: 1024px) { .sol { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } }
.sol__tabs { display: grid; gap: 8px; }
@media (min-width: 640px) { .sol__tabs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .sol__tabs { grid-template-columns: 1fr; } }
.sol__tab { display: flex; align-items: center; gap: 16px; width: 100%; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; text-align: left; transition: border-color .2s, background .2s; }
.sol__tab:hover { border-color: rgb(21 87 255 / .3); }
.sol__tab.is-active { border-color: var(--brand); background: var(--brand-50); }
.sol__tab-icon { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--r); background: var(--canvas); color: var(--ink-2); transition: all .2s; }
.sol__tab.is-active .sol__tab-icon { background: var(--brand); color: #fff; }
.sol__tab span:nth-child(2) { flex: 1; font-size: 15px; font-weight: 700; color: var(--ink); }
.sol__tab > .icon { color: var(--muted); }
.sol__tab.is-active > .icon { color: var(--brand); }
.sol__panel { position: relative; isolation: isolate; display: flex; min-height: 420px; overflow: hidden; border-radius: var(--r-xl); background: var(--navy); }
.sol__panel img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; animation: rise .4s ease-out; }
.sol__panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--navy), rgb(10 26 61 / .8), rgb(10 26 61 / .1)); }
.sol__content { margin-top: auto; padding: 24px; animation: rise .35s ease-out; }
@media (min-width: 640px) { .sol__content { padding: 36px; } }
.sol__content h3 { font-size: 1.5rem; font-weight: 800; color: #fff; }
.sol__content p { max-width: 32rem; margin-top: 12px; font-size: 15px; line-height: 1.65; color: rgb(255 255 255 / .75); }
.sol__label { margin-top: 20px !important; font-size: 12px !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgb(255 255 255 / .5) !important; }
.sol__needs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sol__needs a { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / .1); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .15); font-size: 12px; font-weight: 600; color: #fff; backdrop-filter: blur(4px); }
.sol__needs a:hover { background: #fff; color: var(--ink); }

/* ---------- Brands ---------- */
.brands { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 40px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--line); }
@media (min-width: 640px) { .brands { grid-template-columns: repeat(4, 1fr); } }
.brands a { display: flex; align-items: center; justify-content: center; height: 96px; background: #fff; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; color: rgb(11 22 48 / .35); transition: background .2s, color .2s; }
.brands a:hover { background: var(--canvas); color: var(--ink); }
@media (min-width: 640px) { .brands a { font-size: 1.5rem; } }
.fineprint { margin-top: 16px; font-size: 12px; color: var(--muted); }

/* ---------- Final CTA ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; padding: 48px 24px; border-radius: var(--r-xl); background: var(--navy); }
@media (min-width: 640px) { .cta { padding: 56px 48px; } }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 90% at 100% 0%, rgb(21 87 255 / .45), transparent), radial-gradient(40% 70% at 0% 100%, rgb(21 87 255 / .2), transparent); }
.cta__grid { display: grid; align-items: center; gap: 40px; }
@media (min-width: 1024px) { .cta__grid { grid-template-columns: 1.3fr 1fr; } }
.cta h2 { font-size: 1.9rem; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: #fff; }
.cta h2 span { color: var(--brand-soft); }
@media (min-width: 640px) { .cta h2 { font-size: 2.25rem; } }
.cta__lead { max-width: 36rem; margin-top: 16px; font-size: 15px; line-height: 1.65; color: rgb(255 255 255 / .7); }
.cta__cards { display: grid; gap: 12px; font-size: 14px; }
.cta__card { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--r-lg); background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); transition: background .2s; }
a.cta__card:hover { background: rgb(255 255 255 / .1); }
.cta__card-icon { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--r); background: rgb(255 255 255 / .1); color: #fff; }
.cta__card small { display: block; font-size: 12px; color: rgb(255 255 255 / .55); }
.cta__card b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; }
.cta__card > span:last-child { min-width: 0; }

/* ---------- Footer ---------- */
.footer { scroll-margin-top: 96px; background: var(--navy); color: rgb(255 255 255 / .7); }
.footer__grid { display: grid; gap: 40px; padding-block: 56px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer__about { max-width: 24rem; margin-top: 16px; font-size: 14px; line-height: 1.65; }
.footer__about + .btn { margin-top: 24px; }
.footer h2 { font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.footer__links { display: grid; gap: 10px; margin-top: 16px; font-size: 14px; }
.footer__links a:hover { color: #fff; }
.footer__links .sub-menu, .footer__links .footer__sub-menu {
  display: grid; gap: 8px; margin-top: 8px; margin-left: 12px; padding-left: 10px;
  border-left: 1px solid rgb(255 255 255 / .15); font-size: 13px; list-style: none;
}
.footer__links .sub-menu a { color: rgb(255 255 255 / .6); transition: color .15s ease; }
.footer__links .sub-menu a:hover { color: #fff; }
.footer__contact { display: grid; gap: 16px; margin-top: 16px; font-size: 14px; }
.footer__contact li { display: flex; gap: 12px; }
.footer__contact .icon { margin-top: 2px; color: var(--brand); }
.footer__contact a { word-break: break-all; }
.footer__contact a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgb(255 255 255 / .1); }
.footer__bottom .container { display: flex; flex-direction: column; gap: 8px; padding-block: 20px; font-size: 12px; }
@media (min-width: 640px) { .footer__bottom .container { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- Enquiry drawer ---------- */
.drawer-wrap { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.drawer-wrap.is-open { pointer-events: auto; }
.drawer-wrap .overlay { backdrop-filter: blur(2px); }
.drawer-wrap.is-open .overlay { opacity: 1; }
.drawer {
  position: absolute; inset: 0 0 0 auto; display: flex; flex-direction: column; width: 100%; max-width: 448px;
  background: #fff; box-shadow: var(--shadow-lift); outline: none; transform: translateX(100%); transition: transform .3s var(--ease);
}
.drawer-wrap.is-open .drawer { transform: none; }
.drawer__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.drawer__title { margin-top: 2px; font-size: 18px; font-weight: 800; }
.drawer__note { display: flex; align-items: center; gap: 8px; padding: 10px 20px; background: var(--brand-50); font-size: 12.5px; color: var(--ink-2); }
.drawer__note .icon { color: var(--brand); }
.drawer__list { flex: 1; overflow-y: auto; padding: 0 20px; }
.drawer__item { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.drawer__item:last-child { border-bottom: 0; }
.drawer__thumb { width: 80px; height: 64px; flex-shrink: 0; overflow: hidden; border-radius: var(--r-sm); background: var(--canvas); }
.drawer__thumb img { width: 100%; height: 100%; object-fit: cover; }
.drawer__info { min-width: 0; flex: 1; }
.drawer__info a { font-size: 14px; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.drawer__info a:hover { color: var(--brand); }
.drawer__info small { display: block; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--muted); }
.drawer__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.remove-btn { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.remove-btn:hover { background: #fef2f2; color: #dc2626; }
.drawer__foot { display: grid; gap: 10px; padding: 20px; border-top: 1px solid var(--line); background: rgb(244 246 250 / .6); }
.drawer__links { display: flex; align-items: center; justify-content: space-between; padding-top: 4px; font-size: 13px; }
.drawer__links a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--brand); }
.drawer__links a:hover { text-decoration: underline; }
.drawer__links button { font-weight: 500; color: var(--muted); }
.drawer__links button:hover { color: #dc2626; }
.send-box { padding: 12px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; animation: rise .25s ease-out; }
.send-box b { display: block; padding: 0 4px; font-size: 13px; }
.send-box small { display: block; padding: 2px 4px 0; font-size: 12px; color: var(--muted); }
.send-box__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 32px; text-align: center; }
.drawer__empty h3 { margin-top: 20px; font-size: 18px; font-weight: 700; }
.drawer__empty p { margin-top: 8px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.drawer__empty .btn { margin-top: 24px; }
.drawer__empty-wa { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.drawer__empty-wa .icon { color: var(--whatsapp); }
.drawer__empty-wa:hover { color: var(--whatsapp); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 20px; z-index: 55; width: min(92vw, 420px); transform: translate(-50%, 16px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast__inner { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-radius: var(--r-lg); background: var(--ink); color: #fff; box-shadow: var(--shadow-lift); }
.toast__check { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 999px; background: var(--ok); }
.toast p { min-width: 0; flex: 1; font-size: 14px; }
.toast p b { font-weight: 700; }
.toast p small { display: block; font-size: 12px; color: rgb(255 255 255 / .6); }
.toast__name { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.toast button { flex-shrink: 0; padding: 8px 12px; border-radius: var(--r-sm); background: rgb(255 255 255 / .1); font-size: 12px; font-weight: 700; color: #fff; }
.toast button:hover { background: rgb(255 255 255 / .2); }

/* ---------- Assistant ---------- */
.assist-launch { position: fixed; right: 16px; bottom: 20px; z-index: 50; display: flex; align-items: flex-end; gap: 12px; transition: opacity .2s; }
.assist-launch.is-hidden { opacity: 0; pointer-events: none; }
@media (min-width: 640px) { .assist-launch { right: 24px; } }
.assist-teaser { position: relative; display: none; margin-bottom: 4px; animation: rise .35s ease-out; }
.assist-teaser.is-visible { display: none; }
@media (min-width: 640px) { .assist-teaser.is-visible { display: block; } }
.assist-teaser__btn { max-width: 250px; padding: 12px 32px 12px 16px; border: 1px solid var(--line); border-radius: var(--r-lg) var(--r-lg) 4px var(--r-lg); background: #fff; text-align: left; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lift); }
.assist-teaser__btn small { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--muted); }
.assist-teaser__close { position: absolute; right: 6px; top: 6px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; color: var(--muted); }
.assist-teaser__close:hover { background: var(--canvas); color: var(--ink); }
.assist-fab { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 999px; background: var(--brand); color: #fff; box-shadow: 0 12px 30px -8px rgb(21 87 255 / .8); transition: transform .2s, background .2s; }
.assist-fab:hover { transform: scale(1.05); background: var(--brand-600); }
.assist-fab__spark { position: absolute; right: -2px; top: -2px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 999px; background: #fff; color: var(--brand); box-shadow: 0 0 0 2px var(--brand); }

.assist {
  position: fixed; inset: auto 0 0; z-index: 58; display: flex; flex-direction: column; height: min(88dvh, 640px); overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-xl) var(--r-xl) 0 0; background: #fff; box-shadow: var(--shadow-lift);
  opacity: 0; pointer-events: none; transform: translateY(24px); transition: opacity .3s, transform .3s;
}
.assist.is-open { opacity: 1; pointer-events: auto; transform: none; }
@media (min-width: 640px) { .assist { inset: auto 24px 20px auto; width: 400px; border-radius: var(--r-xl); } }
.assist__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--navy); color: #fff; }
.assist__logo { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); background: var(--brand); }
.assist__head div { min-width: 0; flex: 1; }
.assist__head h2 { font-size: 15px; font-weight: 700; line-height: 1.2; }
.assist__head p { font-size: 12px; color: rgb(255 255 255 / .6); }
.assist__head a, .assist__head button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-sm); color: rgb(255 255 255 / .8); }
.assist__head a:hover, .assist__head button:hover { background: rgb(255 255 255 / .1); color: #fff; }
.assist__log { flex: 1; display: grid; align-content: start; gap: 16px; overflow-y: auto; padding: 16px; background: rgb(244 246 250 / .7); }
.msg-user { display: flex; justify-content: flex-end; }
.msg-user p { max-width: 85%; padding: 10px 14px; border-radius: var(--r-lg) var(--r-lg) 4px var(--r-lg); background: var(--brand); color: #fff; font-size: 14px; }
.msg-bot { display: grid; gap: 10px; max-width: 94%; animation: rise .25s ease-out; }
.msg-bot__text { padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 4px; background: #fff; font-size: 14px; line-height: 1.6; white-space: pre-line; }
.mini { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.mini__thumb { width: 56px; height: 48px; flex-shrink: 0; overflow: hidden; border-radius: var(--r-sm); background: var(--canvas); }
.mini__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini__info { min-width: 0; flex: 1; }
.mini__info a, .mini__info small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini__info a { font-size: 13px; font-weight: 700; }
.mini__info a:hover { color: var(--brand); }
.mini__info small { font-size: 11.5px; color: var(--muted); }
.add-mini { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; padding: 6px 10px; border-radius: var(--r-sm); background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; }
.add-mini:hover { background: var(--brand-600); }
.add-mini.is-done { background: rgb(15 157 88 / .1); color: var(--ok); }
.compare { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.compare table { width: 100%; min-width: 320px; text-align: left; font-size: 11.5px; }
.compare th, .compare td { padding: 8px; vertical-align: top; }
.compare thead tr { border-bottom: 1px solid var(--line); background: var(--canvas); }
.compare thead th { font-weight: 700; }
.compare tbody tr { border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child { border-bottom: 0; }
.compare tbody th { font-weight: 600; color: var(--muted); }
.compare td { color: var(--ink-2); }
.bot-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bot-actions .btn { height: auto; padding: 8px 12px; border-radius: var(--r-sm); font-size: 12px; }
.suggests { display: flex; flex-wrap: wrap; gap: 6px; }
.suggest { padding: 6px 12px; border: 1px solid rgb(21 87 255 / .25); border-radius: 999px; background: #fff; font-size: 12px; font-weight: 600; color: var(--brand); }
.suggest:hover { background: var(--brand); color: #fff; }
.typing { display: flex; gap: 4px; padding: 0 8px; }
.typing span { width: 8px; height: 8px; border-radius: 999px; background: rgb(91 103 133 / .5); animation: bounce 1s infinite; }
.typing span:nth-child(2) { animation-delay: .12s; }
.typing span:nth-child(3) { animation-delay: .24s; }
.assist__form { display: flex; align-items: center; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.assist__form input { min-width: 0; flex: 1; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--canvas); font-size: 14px; outline: none; }
.assist__form input:focus { border-color: var(--brand); background: #fff; }
.assist__form button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r); background: var(--brand); color: #fff; }
.assist__form button:hover { background: var(--brand-600); }
.assist__form button:disabled { opacity: .4; cursor: default; }

/* ---------- Page header / breadcrumbs ---------- */
.page-head { border-bottom: 1px solid var(--line); background: #fff; }
.page-head .container { padding-block: 32px; }
@media (min-width: 640px) { .page-head .container { padding-block: 40px; } }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs [aria-current] { font-weight: 600; color: var(--ink); }
.page-title { margin-top: 12px; font-size: 1.875rem; font-weight: 800; letter-spacing: -.02em; }
@media (min-width: 640px) { .page-title { font-size: 2.25rem; } }
.page-lead { max-width: 42rem; margin-top: 8px; font-size: 15px; color: var(--muted); }
.page-search { display: flex; gap: 8px; max-width: 42rem; margin-top: 24px; }
.page-search input { min-width: 0; flex: 1; height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--canvas); font-size: 14px; outline: none; }
.page-search input:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgb(21 87 255 / .1); }

/* ---------- Catalogue ---------- */
.catalogue { background: var(--canvas); padding-bottom: 80px; }
.catalogue__grid { display: grid; gap: 32px; padding-top: 32px; }
@media (min-width: 1024px) { .catalogue__grid { grid-template-columns: 250px 1fr; } }
.filter-title { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.filter-cats { display: flex; gap: 8px; margin: 12px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; }
.filter-cats::-webkit-scrollbar { display: none; }
.filter-cats li { flex-shrink: 0; }
.filter-cats a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: var(--r-sm); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.filter-cats a .icon { color: var(--brand); }
.filter-cats a:hover { color: var(--brand); }
.filter-cats a.is-active { background: var(--ink); color: #fff; }
.filter-cats a.is-active .icon { color: #fff; }
.filter-brands { margin-top: 20px; }
.filter-brands ul { display: flex; gap: 6px; margin: 12px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; }
.filter-brands ul::-webkit-scrollbar { display: none; }
.filter-brands li { flex-shrink: 0; }
@media (min-width: 1024px) { .filter-brands { margin-top: 24px; } .filter-brands ul { flex-wrap: wrap; margin: 12px 0 0; padding: 0; overflow: visible; } }
.filter-brands a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.filter-brands a:hover { box-shadow: inset 0 0 0 1px rgb(21 87 255 / .4); }
.filter-brands a.is-active { background: var(--brand); color: #fff; box-shadow: none; }
@media (min-width: 1024px) {
  .filter-cats { display: grid; gap: 2px; margin: 12px 0 0; padding: 0; overflow: visible; }
  .filter-cats a { background: transparent; }
  .filter-brands { display: block; }
}
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.results-bar b { color: var(--ink); }
.results-bar a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--brand); }
.results-bar a:hover { text-decoration: underline; }
.catalogue .product-grid { margin-top: 20px; }

/* ---------- Product page ---------- */
.pdp { padding: 24px 0 80px; }
.pdp__grid { display: grid; gap: 32px; margin-top: 24px; }
@media (min-width: 1024px) { .pdp__grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.pdp__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-xl); background: var(--canvas); }
.pdp__media img { width: 100%; height: 100%; object-fit: cover; }
.pdp__media .tag-sample { position: absolute; left: 16px; top: 16px; padding: 4px 10px; font-size: 12px; }
.pdp__brand { font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.pdp__title { margin-top: 8px; font-size: 1.875rem; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.pdp__meta { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 16px; font-size: 14px; }
.pdp__meta div { display: flex; gap: 6px; }
.pdp__meta dt { color: var(--muted); }
.pdp__meta dd { font-weight: 600; }
.pdp__summary { margin-top: 20px; font-size: 15px; line-height: 1.65; color: var(--muted); }
.add-panel { margin-top: 24px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: rgb(244 246 250 / .6); }
.add-panel__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; }
.add-panel__top b { display: inline-flex; align-items: center; gap: 6px; }
.add-panel__top b .icon { color: var(--brand); }
.add-panel__top span { color: var(--muted); }
.add-panel__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.add-panel__row .btn { flex: 1; height: 44px; }
.add-panel__inlist { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--ok); }
.add-panel__inlist:hover { text-decoration: underline; }
.add-panel__wa { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font-size: 14px; font-weight: 700; }
.add-panel__wa .icon { color: var(--whatsapp); }
.add-panel__wa:hover { border-color: var(--whatsapp); color: var(--whatsapp); }
.pdp h2.pdp__h { margin-top: 32px; font-size: 18px; font-weight: 800; }
.kv { margin-top: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); }
.kv div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv div:last-child { border-bottom: 0; }
.kv dt { color: var(--muted); }
.kv dd { font-weight: 600; }
.pdp__note { margin-top: 12px; font-size: 12px; color: var(--muted); }

.ptabs { margin-top: 56px; border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; }
.ptabs__list { display: flex; gap: 4px; padding: 0 16px; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .ptabs__list { padding: 0 32px; } }
.ptab { position: relative; height: 56px; margin-bottom: -1px; padding: 0 16px; font-size: 15px; font-weight: 700; color: var(--muted); }
.ptab:hover { color: var(--ink); }
.ptab.is-active { color: var(--brand); }
.ptab.is-active::after { content: ""; position: absolute; inset: auto 12px 0; height: 2px; border-radius: 2px; background: var(--brand); }
.ptabs__body { padding: 32px 20px; }
@media (min-width: 640px) { .ptabs__body { padding: 40px 32px; } }
.ptabs__panel { max-width: 896px; margin-inline: auto; }
.ptabs__panel[hidden] { display: none; }
.desc { position: relative; overflow: hidden; transition: max-height .5s; }
.desc.is-collapsed::after { content: ""; position: absolute; inset: auto 0 0; height: 128px; background: linear-gradient(to top, #fff, transparent); pointer-events: none; }
.desc h2 { font-size: 1.5rem; font-weight: 800; line-height: 1.3; letter-spacing: -.02em; }
@media (min-width: 640px) { .desc h2 { font-size: 1.7rem; } }
.desc__intro { margin-top: 16px; font-size: 15.5px; line-height: 1.7; color: var(--muted); }
.feature { display: grid; align-items: center; gap: 24px; margin-top: 40px; }
@media (min-width: 640px) { .feature { grid-template-columns: 1fr 1fr; gap: 40px; } .feature--flip .feature__media { order: 2; } }
.feature__media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-lg); background: var(--canvas); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature h3 { font-size: 1.25rem; font-weight: 800; }
.feature p { margin-top: 10px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.techspecs { margin-top: 40px; padding: 24px; border-radius: var(--r-lg); background: var(--canvas); }
.techspecs h3 { font-size: 18px; font-weight: 800; }
.techspecs ul { display: grid; gap: 10px 32px; margin-top: 16px; }
@media (min-width: 640px) { .techspecs ul { grid-template-columns: 1fr 1fr; } }
.techspecs li { display: flex; gap: 10px; font-size: 14.5px; }
.techspecs li .icon { margin-top: 2px; color: var(--brand); }
.techspecs li b { font-weight: 600; }
.techspecs li span { color: var(--muted); }
.readmore { margin-top: 16px; text-align: center; }
.readmore .icon { transition: transform .2s; }
.readmore [aria-expanded="true"] .icon { transform: rotate(180deg); }
.spec-table { width: 100%; margin-top: 20px; overflow: hidden; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); text-align: left; font-size: 14.5px; }
.spec-table tr:nth-child(odd) { background: var(--canvas); }
.spec-table th { width: 38%; padding: 14px 20px; font-weight: 600; color: var(--muted); }
.spec-table td { padding: 14px 20px; font-weight: 600; }
@media (min-width: 640px) { .spec-table th { width: 30%; } }
.related { margin-top: 64px; }
.related h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }

/* ---------- Legal ---------- */
.legal { max-width: 768px; padding-block: 56px; }
.legal h1 { font-size: 1.875rem; font-weight: 800; letter-spacing: -.02em; }
.legal__draft { margin-top: 16px; padding: 16px; border-radius: var(--r); background: #fffbeb; font-size: 14px; color: #78350f; }
.legal__body { display: grid; gap: 16px; margin-top: 32px; font-size: 15px; line-height: 1.7; color: var(--muted); }

/* ---------- Utilities ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; left: 16px; top: 16px; z-index: 100; width: auto; height: auto; margin: 0; padding: 8px 16px; clip: auto; border-radius: var(--r-sm); background: var(--brand); color: #fff; font-weight: 600; }
.mt-0 { margin-top: 0 !important; }
.text-brand { color: var(--brand-soft); }

/* ==========================================================================
   Mobile / responsive fixes
   ========================================================================== */

/* Grid and flex children must be allowed to shrink below their content width,
   otherwise long buttons or emails push the section wider than the screen. */
.hero__grid > *, .bulk > *, .cta__grid > *, .why > *, .sol > *, .catalogue__grid > *,
.pdp__grid > *, .footer__grid > *, .product-grid > li, .cat-grid > li, .bulk__list > *, .drawer__list > *, .cta__cards > * { min-width: 0; }

@media (max-width: 639px) {
  .section { padding-block: 48px; }

  /* Buttons may wrap rather than overflow */
  .btn { white-space: normal; text-align: center; line-height: 1.25; }
  .btn-row .btn { width: 100%; }

  /* iOS zooms into inputs under 16px — keep them at 16px on phones */
  .search input, .search select, .page-search input, .assist__form input, .qty input { font-size: 16px; }

  /* Service strip: icon above text so labels aren't clipped */
  .service li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .service__icon { width: 38px; height: 38px; }
  .service b { font-size: 13px; line-height: 1.35; }

  /* Hero promo row spacing */
  .hero { padding-top: 14px; }
  .hero__grid, .hero__side { gap: 12px; }
  .slider, .promo-img { border-radius: var(--r-lg); }

  /* Section headings */
  .sh__title { font-size: 1.55rem; }
  .sh__intro { font-size: 14.5px; }

  /* Bulk procurement + final CTA */
  .bulk { border-radius: var(--r-lg); }
  .bulk__main, .bulk__panel { padding: 22px 18px; }
  .steps { margin-top: 24px; gap: 16px; }
  .btn-row { margin-top: 28px; }
  .cta { padding: 32px 18px; border-radius: var(--r-lg); }
  .cta h2 { font-size: 1.6rem; }
  .cta__grid { gap: 28px; }
  .cta__card b { white-space: normal; overflow-wrap: anywhere; }

  /* Why / solutions */
  .why { gap: 28px; }
  .why__card { padding: 20px; }
  .sol { margin-top: 28px; }
  .sol__panel { min-height: 340px; border-radius: var(--r-lg); }
  .sol__tab { padding: 12px; gap: 12px; }
  .sol__tab-icon { width: 38px; height: 38px; }

  /* Brands: smaller wordmarks */
  .brands a { height: 72px; font-size: 1.1rem; }

  /* Product cards: tighter */
  .pcard__actions .btn { font-size: 12.5px; }

  /* Toast sits above the chat button */
  .toast { bottom: 88px; }

  /* Catalogue */
  .page-head .container { padding-block: 24px; }
  .page-title { font-size: 1.6rem; }
  .page-search .btn { padding: 0 16px; }

  /* Product page */
  .pdp { padding-top: 16px; }
  .pdp__grid { gap: 24px; margin-top: 16px; }
  .pdp__media { border-radius: var(--r-lg); }
  .pdp__title { font-size: 1.5rem; }
  .add-panel { padding: 16px; }
  .add-panel__top { flex-direction: column; align-items: flex-start; gap: 2px; }
  .add-panel__row .btn { min-width: 100%; }
  .kv div { grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 12px; }
  .ptabs { margin-top: 40px; border-radius: var(--r-lg); }
  .ptabs__list { padding: 0 8px; }
  .ptab { padding: 0 12px; font-size: 14px; }
  .ptabs__body { padding: 24px 16px; }
  .desc h2 { font-size: 1.3rem; }
  .feature { margin-top: 28px; gap: 14px; }
  .techspecs { padding: 18px; }
  .spec-table th, .spec-table td { padding: 11px 12px; font-size: 13.5px; }
  .related { margin-top: 48px; }

  /* Footer */
  .footer__grid { gap: 32px; padding-block: 40px; }
}

/* Very small phones (≤360px) */
@media (max-width: 360px) {
  .logo__text { font-size: 1.15rem; }
  .logo svg { width: 32px; height: 32px; }
  .service ul { grid-template-columns: 1fr; }
  .cat-grid { gap: 10px; }
  .cat-card__body { padding: 26px 10px 12px; }
}
