/* Plug — electronics/gadgets theme. Own independent scoped stylesheet,
   not reconciled with Ochaka/Ecomus/Nova Glow/Nova Sole. Site-wide chrome
   (topbar, header, nav, mobile drawer, footer) plus shared primitives
   (buttons, section wrapper) every page-specific stylesheet builds on. */

/* Belt-and-suspenders fix for reported invisible icons (header cart/chat,
   carousel arrows): every icon here is drawn with the HTML presentation
   attribute stroke="currentColor", which resolves from the CSS `color`
   property — already fixed at the button level. This adds the same
   thing as a real CSS property directly on the svg, which takes
   precedence over a presentation attribute in the cascade regardless of
   any other explanation, so the icon cannot end up invisible. */
.plug-theme svg[stroke="currentColor"] {
  stroke: currentColor;
}

/* ---------- Mobile "Added to cart" toast (replaces the platform's
   generic bottom toolbar on mobile — same real pattern as Nova Sole's
   own ToolbarNovaSole) ---------- */
.plug-cart-toast {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 190;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--plug-border);
  background: #fff;
  color: var(--plug-ink);
  box-shadow: 0 12px 32px rgba(15, 20, 30, 0.18);
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s ease, opacity 0.38s ease;
}
.plug-cart-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.plug-cart-toast-media {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--plug-gray);
}
.plug-cart-toast-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.plug-cart-toast-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.plug-cart-toast-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--plug-blue);
}
.plug-cart-toast-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--plug-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.plug-cart-toast-btn {
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: 8px;
  background: var(--plug-blue);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.plug-cart-toast-close {
  position: absolute;
  top: -9px;
  right: -9px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--plug-border);
  color: var(--plug-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
@media (min-width: 768px) {
  .plug-cart-toast {
    display: none !important;
  }
}

.plug-theme {
  --plug-blue: #1f6fd6;
  --plug-blue-dark: #14528f;
  --plug-navy: #0b1220;
  --plug-navy-soft: #141c2b;
  --plug-ink: #14161a;
  --plug-muted: #5b6270;
  --plug-border: #e6e8ec;
  --plug-gray: #f4f5f7;
  --plug-red: #e5484d;
  --plug-green: #1f9d55;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--plug-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.plug-theme * {
  box-sizing: border-box;
}

.plug-theme a {
  color: inherit;
  text-decoration: none;
}

.plug-theme img,
.plug-theme svg {
  display: block;
  max-width: 100%;
}

:where(.plug-theme) button {
  /* Real, confirmed bug (twice over): a <button> does NOT inherit
     `color` from its parent by default in most browsers (unlike almost
     every other element) — the UA stylesheet gives it its own system
     button-text color instead. Every icon-only button across this
     theme (cart, wishlist, carousel arrows, hero play/pause, mobile-menu
     close, the ambient-banner pause button, ...) draws its SVG with
     stroke/fill="currentColor", so without this line each one silently
     fell back to the browser's default button color instead of the
     theme's intended one — reported as "icons/arrows/cart not showing".
     SECOND bug this also fixes: this rule used to be `.plug-theme
     button` (specificity 0-1-1), which is MORE specific than a plain
     class like `.plug-btn-solid { color: #fff }` (0-1-0) — so it was
     silently winning over every button's own intended color regardless
     of source order (confirmed: "Add to Cart" rendered near-invisible
     dark-on-dark text). Wrapping the class in :where() drops this
     selector's specificity to just the bare `button` element (0-0-1),
     so ANY class-based button style anywhere, present or future, wins
     without needing its own `.plug-theme` prefix to out-rank this. */
  color: inherit;
  font-family: inherit;
  cursor: pointer;
}

.plug-theme select,
.plug-theme input {
  font-family: inherit;
}

/* Shared form-field row primitive — checkout, login/register, and the
   dashboard's own forms all use this exact grid, so it lives here
   rather than a single page's own stylesheet (same recurring bug: a
   page-specific file's rules don't apply to any OTHER page). */
.plug-theme .plug-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.plug-theme .plug-form-row.full {
  grid-template-columns: 1fr;
}
.plug-theme .plug-form-row label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--plug-muted);
  margin-bottom: 6px;
}
.plug-theme .plug-form-row input,
.plug-theme .plug-form-row select,
.plug-theme .plug-form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--plug-border);
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--plug-ink);
  font-family: inherit;
  box-sizing: border-box;
}
.plug-theme .plug-form-row textarea {
  min-height: 120px;
  resize: vertical;
}
@media (max-width: 700px) {
  .plug-theme .plug-form-row {
    grid-template-columns: 1fr;
  }
}

.plug-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
/* Real, confirmed bug: `.plug-theme button { color: inherit }` above is
   a class+element selector (specificity 0-1-1). A plain `.plug-btn-solid
   { color: #fff }` (specificity 0-1-0) is LESS specific, so it silently
   LOST to the inherit rule regardless of source order — every solid/
   outline button's intended text color was being overridden by whatever
   color its surrounding container happened to have (invisible dark-on-
   dark text on the navy "Add to Cart" button on a white page). Every
   selector below is prefixed with `.plug-theme` too so it wins. */
.plug-theme .plug-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.plug-theme .plug-btn:hover {
  transform: translateY(-1px);
}
.plug-theme .plug-btn-solid {
  background: var(--plug-navy);
  color: #fff;
}
.plug-theme .plug-btn-solid:hover {
  background: var(--plug-blue-dark);
}
.plug-theme .plug-btn-outline {
  background: transparent;
  border-color: var(--plug-navy);
  color: var(--plug-navy);
}
.plug-theme .plug-btn-outline:hover {
  background: var(--plug-navy);
  color: #fff;
}
.plug-theme .plug-btn-light {
  background: #fff;
  color: var(--plug-navy);
}
.plug-theme .plug-btn-light:hover {
  background: var(--plug-blue);
  color: #fff;
}
.plug-theme .plug-btn-ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.plug-theme .plug-btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.14);
}
.plug-theme .plug-btn-block {
  width: 100%;
  justify-content: center;
}

.plug-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--plug-blue);
}
.plug-link-arrow svg {
  transition: transform 0.2s ease;
}
.plug-link-arrow:hover svg {
  transform: translateX(3px);
}
.plug-link-arrow.light {
  color: #fff;
}

/* ---------- Topbar ---------- */
.plug-topbar {
  background: var(--plug-navy);
  color: #fff;
  font-size: 13px;
}
.plug-topbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 9px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.plug-topbar-inner a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.plug-topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.85);
}
.plug-topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.plug-topbar-region {
  white-space: nowrap;
}
.plug-topbar-currency {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.plug-topbar-currency select {
  background: transparent;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
}
.plug-topbar-currency select option {
  color: #14161a;
}

/* ---------- Header ---------- */
.plug-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--plug-border);
}
.plug-header-top {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.plug-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  color: var(--plug-ink);
}
.plug-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 0.5px;
  color: var(--plug-ink);
  flex-shrink: 0;
}
.plug-logo.light {
  color: #fff;
}
.plug-logo-mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--plug-blue);
  color: #fff;
  align-items: center;
  justify-content: center;
}
.plug-search {
  flex: 1;
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--plug-border);
  border-radius: 10px;
  overflow: hidden;
  max-width: 560px;
}
.plug-header-promo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  color: var(--plug-ink);
  text-decoration: none;
  border-left: 1px solid var(--plug-border);
  flex-shrink: 0;
  white-space: nowrap;
}
.plug-header-promo svg {
  flex-shrink: 0;
  color: var(--plug-blue);
}
.plug-header-promo span {
  display: flex;
  flex-direction: column;
  font-size: 11.5px;
  color: var(--plug-muted);
  line-height: 1.3;
}
.plug-header-promo strong {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--plug-ink);
  letter-spacing: 0.2px;
}
@media (max-width: 1100px) {
  .plug-header-promo {
    display: none;
  }
}
.plug-search select {
  border: none;
  background: var(--plug-gray);
  padding: 0 12px;
  font-size: 13px;
  color: var(--plug-muted);
  border-right: 1px solid var(--plug-border);
}
.plug-search input {
  flex: 1;
  border: none;
  padding: 0 12px;
  font-size: 14px;
  min-width: 0;
}
.plug-search input:focus {
  outline: none;
}
.plug-search button {
  background: var(--plug-blue);
  color: #fff;
  border: none;
  padding: 0 16px;
}
.plug-header-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}
/* Shared inline form-error banner — used by AuthPlug (login page) and
   ContactInfo (contact page, a different stylesheet), so it lives here
   rather than only in plug-login.css. */
.plug-theme .plug-auth-error {
  background: #fdf0ee;
  color: var(--plug-red);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Shared gradient-highlight-word primitive — the home Hero and every
   CompanyHero instance (About/Services/Contact/FAQ) both use this on a
   word/phrase within their headline, so it lives here rather than only
   in plug-home.css (the same bug pattern documented elsewhere in this
   file: a page-specific stylesheet's rule doesn't reach any OTHER
   page). Solid fallback colour first, gradient-clip only where
   supported — never fully invisible text if the clip doesn't apply. */
.plug-theme .plug-hero-highlight {
  color: #d9c8ff;
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .plug-theme .plug-hero-highlight {
    background: linear-gradient(90deg, #d9c8ff, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

/* Shared strikethrough-compare-price primitive — used on shop cards,
   home rails, and the product page, so it lives here rather than in a
   single page's own stylesheet. */
.plug-theme .plug-price-strike {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--plug-muted);
  text-decoration: line-through;
}

/* Shared section-heading primitives — every page's own rail (product
   page's "You Might Also Like", any future page) reuses these, so they
   live here rather than in plug-home.css. Real bug this fixes: they
   were previously only defined in plug-home.css, which non-home pages
   never load — so a heading using them anywhere else fell back to a
   giant unstyled default browser <h2>. */
.plug-theme .plug-section {
  padding: 64px 0;
}
.plug-theme .plug-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.plug-theme .plug-section-head h2 {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 6px;
}
.plug-theme .plug-section-sub {
  color: var(--plug-muted);
  font-size: 14.5px;
  margin: 0 0 8px;
}

/* Shared "product rail card" primitives — home page rails (Best
   Selling Tech etc.) AND the product page's own "You Might Also Like"
   rail both use this exact markup, so it lives here rather than in
   plug-home.css. Real bug this fixes: these were previously only
   defined in plug-home.css, which the product/shop/cart pages never
   load — so their own product cards had no position:relative on the
   Next Image "fill" parent (broken/oversized images) and no card
   layout at all. */
.plug-theme .plug-product-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 6px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.plug-theme .plug-product-track::-webkit-scrollbar {
  display: none;
}
.plug-theme .plug-product-card {
  position: relative;
  flex: 0 0 240px;
  scroll-snap-align: start;
  border-right: 1px solid var(--plug-border);
  padding: 0 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plug-theme .plug-product-card:last-child {
  border-right: none;
}
.plug-theme .plug-badge {
  position: absolute;
  top: 12px;
  left: 0;
  z-index: 2;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 4px;
  color: #fff;
}
.plug-theme .plug-badge.tone-green {
  background: var(--plug-green);
}
.plug-theme .plug-badge.tone-red {
  background: var(--plug-red);
}
.plug-theme .plug-badge.tone-blue {
  background: var(--plug-blue);
}
.plug-theme .plug-badge.tone-outline {
  background: #eaf3fc;
  color: var(--plug-blue);
  border: 1px solid #bcdcfa;
}
.plug-theme .plug-product-media {
  position: relative;
  height: 160px;
  background: var(--plug-gray);
  overflow: hidden;
}
.plug-theme .plug-product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b7bcc6;
}
.plug-theme .plug-product-brand {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--plug-muted);
  text-transform: uppercase;
}
.plug-theme .plug-product-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
}
.plug-theme .plug-product-rating {
  font-size: 12.5px;
  color: #e8a83c;
}
.plug-theme .plug-product-rating span {
  color: var(--plug-muted);
}
.plug-theme .plug-product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
}
.plug-theme .plug-product-price.is-sale span:first-child {
  color: var(--plug-red);
}
/* Real bug (found via Playwright): the platform's own global `button {
   padding: 13px 32px; ... }` (sized for big CTA buttons) applies to
   every raw <button> site-wide, including these 38px icon buttons —
   never reset here before now. With box-sizing:border-box, 64px of
   horizontal padding alone exceeds the 38px width, crushing the
   content box (and the svg inside it) to ~0. The Wishlist icon never
   showed this because it's an <a>, not a <button> — the global rule's
   selector only matches the element type. */
.plug-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--plug-ink);
  transition: background 0.2s ease;
}
.plug-icon-btn:hover {
  background: var(--plug-gray);
}
/* Real bug (found via Playwright): relying only on the raw HTML
   width/height attributes on the header's Chat/Cart icon svgs left them
   rendering at 0 width inside this inline-flex button (the Wishlist
   <a> icon happened to survive) — same explicit sizing Nova Glow/Nova
   Sole already give their own .icon-btn svg. */
.plug-icon-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.plug-count-bubble {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 999px;
  background: var(--plug-blue);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plug-nav {
  border-top: 1px solid var(--plug-border);
}
.plug-nav ul {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.plug-nav ul::-webkit-scrollbar {
  display: none;
}
.plug-nav li {
  position: relative;
  padding: 12px 0;
}
.plug-nav li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--plug-ink);
  position: relative;
}
.plug-nav li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -13px;
  height: 2px;
  background: var(--plug-blue);
  transform: scaleX(0);
  transition: transform 0.2s ease;
  transform-origin: left;
}
.plug-nav li:hover > a::after {
  transform: scaleX(1);
}
.plug-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--plug-border);
  border-radius: 10px;
  box-shadow: 0 16px 32px rgba(15, 20, 30, 0.12);
  list-style: none;
  padding: 8px;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 30;
}
.plug-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.plug-dropdown li a {
  display: block;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--plug-ink);
}
.plug-dropdown li a:hover {
  background: var(--plug-gray);
  color: var(--plug-blue);
}

/* ---------- Mobile drawer ---------- */
.plug-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 18, 32, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
  /* Real, confirmed bug (Playwright screenshot at 375px): the WhatsApp
     widget (WhatsappWidget.jsx) is z-index:210, raised above the mobile
     bottom toolbar's 200 — but that also put it above this drawer's old
     60/61, so the open drawer's own nav links ("About Us", "Contact")
     rendered BEHIND the widget's launcher button, hidden/unreachable. An
     open drawer is a modal overlay and has to sit above every other fixed
     element on the page, including the widget — 300 clears it. */
  z-index: 300;
}
.plug-drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.plug-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(340px, 86vw);
  background: #fff;
  z-index: 301;
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  overflow-y: auto;
  padding: 18px;
}
.plug-mobile-menu.is-open {
  transform: translateX(0);
}
.plug-mm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.plug-mm-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: none;
  color: var(--plug-ink);
}
.plug-mm-search {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--plug-gray);
  border: none;
  font-size: 14px;
  color: var(--plug-muted);
  margin-bottom: 16px;
}
.plug-mm-quick-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.plug-mm-quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 6px;
  border-radius: 10px;
  background: var(--plug-gray);
  border: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--plug-ink);
}
.plug-mm-quick-icon {
  position: relative;
}
.plug-mm-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 15px;
  height: 15px;
  border-radius: 999px;
  background: var(--plug-blue);
  color: #fff;
  font-size: 9.5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plug-mm-section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--plug-muted);
  margin: 6px 0 8px;
}
.plug-mm-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.plug-mm-nav-item {
  display: block;
  padding: 11px 4px;
  font-weight: 600;
  font-size: 14.5px;
  border-bottom: 1px solid var(--plug-border);
}
.plug-mm-sub-list {
  list-style: none;
  padding: 0 0 8px 14px;
  margin: 0;
}
.plug-mm-sub-list a {
  display: block;
  padding: 7px 4px;
  font-size: 13px;
  color: var(--plug-muted);
}

/* ---------- Footer ---------- */
.plug-footer {
  background: var(--plug-navy);
  color: #d7dce6;
}
.plug-trust-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1240px;
  margin: 0 auto;
}
.plug-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 24px;
  color: #fff;
}
.plug-trust-item strong {
  display: block;
  font-size: 13.5px;
  letter-spacing: 0.3px;
}
.plug-trust-item span {
  display: block;
  font-size: 12.5px;
  color: #9aa3b2;
}
.plug-footer-top {
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}
.plug-footer-brand p {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #9aa3b2;
  max-width: 320px;
}
.plug-footer-col h4 {
  color: #fff;
  font-size: 14px;
  margin: 0 0 14px;
}
.plug-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plug-footer-col ul a {
  font-size: 13.5px;
  color: #9aa3b2;
}
.plug-footer-col ul a:hover {
  color: #fff;
}
.plug-footer-col p {
  font-size: 13.5px;
  color: #9aa3b2;
  margin: 0 0 12px;
}
.plug-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: #9aa3b2;
}
.plug-footer-social {
  display: flex;
  gap: 12px;
}
.plug-footer-social a {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* ---------- Shared scroll-reveal ----------
   Real, confirmed bug: this used to hide every section at opacity:0 by
   default and rely entirely on useReveal's IntersectionObserver to add
   .is-in later. Any case where that observer doesn't fire (dev-tools/
   screenshot tools that snapshot without real scroll/intersection
   events, a slow hydration race, a user who scrolls faster than the
   observer's own callback timing) left the section's real content
   invisible forever while its layout box still reserved full height —
   exactly the blank gaps between sections a real screenshot comparison
   caught. Fixed the only safe way: the base class is never hidden (plain
   opacity:1, so content is visible immediately with zero JS dependency);
   .is-in only ADDS a one-time entrance animation on top of that already-
   visible state, so a screenshot/observer failure now means "no
   animation," never "no content". */
.plug-reveal.is-in {
  animation: plugReveal 0.7s ease both;
}
@keyframes plugReveal {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .plug-menu-toggle {
    display: inline-flex;
  }
  .plug-nav {
    display: none;
  }
  .plug-search {
    display: none;
  }
  .plug-topbar-right {
    display: none;
  }
  .plug-footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .plug-trust-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .plug-footer-top {
    grid-template-columns: 1fr;
  }
  .plug-trust-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- Cart drawer (offcanvas, mounted globally by
   CartComponent.jsx) — lives here rather than a page CSS file since it
   can open from any page. ---------- */
.plug-theme .plug-cart-drawer.offcanvas {
  width: 420px;
  max-width: 92vw;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.plug-theme .plug-cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--plug-border);
}
.plug-theme .plug-cart-drawer-header h2 {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
}
.plug-theme .plug-cart-drawer-header h2 span {
  font-size: 13px;
  font-weight: 600;
  color: var(--plug-muted);
  margin-left: 6px;
}
.plug-theme .plug-cart-drawer-shipping {
  padding: 14px 22px;
  background: var(--plug-gray);
  border-bottom: 1px solid var(--plug-border);
}
.plug-theme .plug-cart-drawer-shipping-msg {
  font-size: 13px;
  margin-bottom: 8px;
}
.plug-theme .plug-cart-drawer-shipping-msg.is-done {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--plug-green);
}
.plug-theme .plug-cart-drawer-progress {
  height: 5px;
  background: var(--plug-border);
  border-radius: 999px;
  overflow: hidden;
}
.plug-theme .plug-cart-drawer-progress div {
  height: 100%;
  background: linear-gradient(90deg, #1f6fd6, #7c5cff);
  transition: width 0.3s ease;
}
.plug-theme .plug-cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.plug-theme .plug-cart-drawer-row {
  display: flex;
  gap: 14px;
}
.plug-theme .plug-cart-drawer-media {
  position: relative;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  background: var(--plug-gray);
  display: flex;
  align-items: center;
  justify-content: center;
}
.plug-theme .plug-cart-drawer-body {
  flex-grow: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plug-theme .plug-cart-drawer-row-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.plug-theme .plug-cart-drawer-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--plug-ink);
  line-height: 1.35;
}
.plug-theme .plug-cart-drawer-row-top button {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  color: var(--plug-muted);
}
.plug-theme .plug-cart-drawer-row-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.plug-theme .plug-qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--plug-border);
  border-radius: 8px;
  padding: 4px 10px;
}
.plug-theme .plug-qty-stepper button {
  width: 18px;
  height: 18px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  color: var(--plug-ink);
  font-size: 15px;
  line-height: 1;
  font-weight: 600;
}
.plug-theme .plug-qty-stepper span {
  font-size: 13px;
  font-weight: 600;
  color: var(--plug-ink);
  min-width: 14px;
  text-align: center;
}
.plug-theme .plug-cart-drawer-price {
  font-size: 13.5px;
  font-weight: 700;
}
.plug-theme .plug-cart-drawer-empty {
  text-align: center;
  padding: 40px 0;
  color: var(--plug-muted);
}
.plug-theme .plug-cart-drawer-empty p {
  margin-bottom: 16px;
}
.plug-theme .plug-cart-drawer-recs {
  flex-shrink: 0;
  background: var(--plug-gray);
  padding: 18px 0;
  border-top: 1px solid var(--plug-border);
}
.plug-theme .plug-cart-drawer-recs-label {
  display: block;
  padding: 0 22px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--plug-muted);
}
.plug-theme .plug-cart-drawer-recs-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 22px 4px;
}
.plug-theme .plug-cart-drawer-rec-card {
  flex-shrink: 0;
  width: 130px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plug-theme .plug-cart-drawer-rec-media {
  position: relative;
  width: 130px;
  height: 130px;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plug-theme .plug-cart-drawer-rec-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--plug-ink);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 32px;
}
.plug-theme .plug-cart-drawer-rec-price {
  font-size: 12.5px;
  font-weight: 700;
}
.plug-theme .plug-cart-drawer-tools {
  flex-shrink: 0;
  display: flex;
  gap: 8px;
  padding: 16px 22px 0;
}
.plug-theme .plug-cart-drawer-tool-btn {
  flex: 1;
  padding: 10px 0;
  background: #fff;
  border: 1px solid var(--plug-border);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--plug-muted);
}
.plug-theme .plug-cart-drawer-tool-btn.is-active {
  border-color: var(--plug-blue);
  color: var(--plug-blue);
}
.plug-theme .plug-cart-drawer-panel {
  flex-shrink: 0;
  margin: 12px 22px 0;
  padding: 14px;
  border: 1px solid var(--plug-border);
  border-radius: 8px;
  background: var(--plug-gray);
}
.plug-theme .plug-cart-drawer-panel p {
  font-size: 12.5px;
  color: var(--plug-muted);
  margin: 0 0 10px;
}
.plug-theme .plug-cart-drawer-panel label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.plug-theme .plug-cart-drawer-panel textarea {
  width: 100%;
  min-height: 80px;
  padding: 10px;
  border: 1.5px solid var(--plug-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  resize: vertical;
  box-sizing: border-box;
}
.plug-theme .plug-cart-drawer-coupon-row {
  display: flex;
  gap: 8px;
}
.plug-theme .plug-cart-drawer-coupon-row input {
  flex-grow: 1;
  padding: 9px 12px;
  border: 1.5px solid var(--plug-border);
  border-radius: 8px;
  font-size: 13px;
}
.plug-theme .plug-cart-drawer-coupon-error {
  font-size: 12px;
  color: var(--plug-red);
  margin: 10px 0 0;
}
.plug-theme .plug-cart-drawer-coupon-ok {
  font-size: 12px;
  color: var(--plug-green);
  margin: 10px 0 0;
}
.plug-theme .plug-cart-drawer-footer {
  flex-shrink: 0;
  padding: 18px 22px 22px;
  border-top: 1px solid var(--plug-border);
}
.plug-theme .plug-cart-drawer-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  margin-bottom: 8px;
}
.plug-theme .plug-cart-drawer-total-row.is-discount {
  color: var(--plug-green);
}
.plug-theme .plug-cart-drawer-total-row.is-grand {
  font-size: 17px;
  font-weight: 800;
  margin-top: 4px;
}
.plug-theme .plug-cart-drawer-note {
  font-size: 11.5px;
  color: var(--plug-muted);
  margin: 0 0 14px;
}
.plug-theme .plug-cart-drawer-actions {
  display: flex;
  gap: 10px;
}
