/* Goldpeak Electronics 1.3.1 — approved category-standard storefront. */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-extrabold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
:root {
  --electronics-blue: #0d4db3;
  --electronics-blue-dark: #082f75;
  --electronics-ink: #10203a;
  --electronics-mist: #f3f6fb;
}

body:not(.goldpeak-foods) {
  --goldpeak-bg: #ffffff;
  --goldpeak-surface: #ffffff;
  --goldpeak-surface-2: #f5f7fb;
  --goldpeak-surface-3: #eaf0f8;
  --goldpeak-text: #28364c;
  --goldpeak-heading: #10203a;
  --goldpeak-muted: #667287;
  --goldpeak-line: #dfe5ee;
  --goldpeak-primary: #0d4db3;
  --goldpeak-primary-2: #0a3d91;
  --goldpeak-accent: #ff6b22;
  --goldpeak-shadow: 0 22px 55px rgba(35, 65, 106, .12);
  --goldpeak-shadow-soft: 0 10px 28px rgba(35, 65, 106, .09);
  --goldpeak-shadow-inset: inset 0 0 0 1px #dfe5ee;
  --goldpeak-radius-xl: 22px;
  --goldpeak-radius-lg: 15px;
  --goldpeak-radius-md: 12px;
  --goldpeak-radius-sm: 9px;
  --goldpeak-container: 1420px;
  background: var(--goldpeak-bg);
}

html[data-theme="dark"] body:not(.goldpeak-foods) {
  --electronics-blue: #72a7ff;
  --electronics-blue-dark: #397bea;
  --electronics-ink: #eaf1ff;
  --electronics-mist: #101a2a;
  --goldpeak-bg: #09111d;
  --goldpeak-surface: #0f1a2a;
  --goldpeak-surface-2: #152235;
  --goldpeak-surface-3: #1c2d46;
  --goldpeak-text: #e7edf7;
  --goldpeak-heading: #ffffff;
  --goldpeak-muted: #aeb9ca;
  --goldpeak-line: rgba(218, 231, 255, .13);
  --goldpeak-primary: #72a7ff;
  --goldpeak-primary-2: #4d8ef6;
  --goldpeak-accent: #ff925d;
  --goldpeak-shadow: 0 22px 55px rgba(0, 0, 0, .38);
  --goldpeak-shadow-soft: 0 10px 28px rgba(0, 0, 0, .28);
  --goldpeak-shadow-inset: inset 0 0 0 1px rgba(218, 231, 255, .12);
}

body:not(.goldpeak-foods) .goldpeak-container { width: min(var(--goldpeak-container), calc(100% - 72px)); }
body:not(.goldpeak-foods) h1,
body:not(.goldpeak-foods) h2,
body:not(.goldpeak-foods) h3 { font-family: "Manrope", Arial, sans-serif; letter-spacing: -.035em; }

/* Search-led header */
.electronics-header { position: sticky; top: 0; z-index: 80; background: color-mix(in srgb, var(--goldpeak-surface) 95%, transparent); border-bottom: 1px solid var(--goldpeak-line); backdrop-filter: blur(18px); }
.electronics-header__main { min-height: 94px; display: grid; grid-template-columns: 330px minmax(320px, 1fr) auto; align-items: center; gap: clamp(22px, 4vw, 70px); }
.electronics-header .goldpeak-brand img { width: min(290px, 100%); max-height: 64px; }
.electronics-header__search { width: 100%; max-width: 650px; justify-self: center; }
.electronics-header__search input[type="search"] { height: 48px; padding-right: 62px; border: 1px solid var(--goldpeak-line); border-radius: 8px; background: var(--goldpeak-surface); box-shadow: none; }
.electronics-header__search button { top: 0; right: 0; width: 54px; height: 48px; overflow: hidden; padding: 0; border-radius: 0 8px 8px 0; color: transparent; background: var(--goldpeak-primary) !important; box-shadow: none; }
.electronics-header__search button::before { content: ""; position: absolute; left: 17px; top: 14px; width: 13px; height: 13px; border: 2px solid #fff; border-radius: 50%; }
.electronics-header__search button::after { content: ""; position: absolute; left: 31px; top: 29px; width: 8px; height: 2px; transform: rotate(45deg); background: #fff; }
.electronics-header__actions { display: flex; align-items: center; gap: 8px; }
.electronics-header__actions .goldpeak-icon-button,
.electronics-header-action { position: relative; min-height: 50px; display: flex; align-items: center; gap: 9px; padding: 0 10px; border: 0; border-radius: 10px; color: var(--goldpeak-heading); background: transparent; box-shadow: none; }
.electronics-header__actions .goldpeak-icon-button { width: 46px; justify-content: center; padding: 0; border: 1px solid var(--goldpeak-line); background: var(--goldpeak-surface-2); }
.electronics-header-action:hover { color: var(--goldpeak-primary); background: var(--goldpeak-surface-2); }
.electronics-header-action > .goldpeak-icon svg { width: 26px; height: 26px; }
.electronics-header-action strong,
.electronics-header-action small { display: block; white-space: nowrap; line-height: 1.15; }
.electronics-header-action strong { font-size: 12px; }
.electronics-header-action small { margin-top: 4px; color: var(--goldpeak-muted); font-size: 9px; }
.electronics-header-action .goldpeak-cart-count { top: -2px; right: 0; }
.electronics-primary-nav { border-top: 1px solid var(--goldpeak-line); background: var(--goldpeak-surface); }
.electronics-primary-nav__inner { min-height: 58px; display: flex; align-items: center; gap: 22px; }
.electronics-primary-nav__all { min-height: 42px; display: inline-flex; align-items: center; gap: 10px; padding: 0 18px; color: #fff; background: var(--goldpeak-primary); border-radius: 9px; font-size: 12px; font-weight: 850; white-space: nowrap; }
.electronics-primary-nav__all .goldpeak-icon svg { width: 18px; height: 18px; }
.electronics-primary-nav .goldpeak-menu { flex: 1; gap: clamp(2px, 1.2vw, 16px); }
.electronics-primary-nav .goldpeak-menu > li > a { min-height: 42px; padding: 0 10px; color: var(--goldpeak-heading); border-radius: 8px; font-size: 12px; box-shadow: none; }
.electronics-primary-nav .goldpeak-menu > li.current-menu-item > a,
.electronics-primary-nav .goldpeak-menu > li > a:hover { color: var(--goldpeak-primary); background: var(--goldpeak-surface-2); box-shadow: none; }

/* Hero */
.electronics-hero { padding: 26px 0 0; }
.electronics-hero__frame { min-height: 550px; display: grid; grid-template-columns: minmax(360px, .9fr) minmax(560px, 1.1fr); overflow: hidden; border: 1px solid var(--goldpeak-line); border-radius: 16px; background: var(--goldpeak-surface); box-shadow: var(--goldpeak-shadow); }
.electronics-hero__copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 6vw, 88px); }
.electronics-hero__copy h1 { max-width: 720px; margin: 0; color: var(--goldpeak-primary); font-size: clamp(48px, 5.6vw, 82px); font-weight: 800; line-height: .98; text-wrap: balance; }
.electronics-hero__copy > p { max-width: 62ch; margin: 26px 0 0; color: var(--goldpeak-muted); font-size: clamp(16px, 1.35vw, 19px); }
.electronics-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.electronics-hero__actions .goldpeak-button { min-width: 190px; justify-content: center; border-radius: 9px; }
.electronics-hero__actions .goldpeak-button--primary { color: #fff; background: var(--goldpeak-primary); box-shadow: 0 12px 26px rgba(13,77,179,.20); }
.electronics-hero__actions .goldpeak-button--soft { color: var(--goldpeak-primary); border: 1px solid var(--goldpeak-primary); background: transparent; box-shadow: none; }
.electronics-hero__visual { position: relative; min-width: 0; overflow: hidden; background: var(--goldpeak-surface-2); }
.electronics-hero__visual::before { content: ""; position: absolute; inset: 10% 3% 3% 10%; border-radius: 50% 50% 8% 8%; background: color-mix(in srgb, var(--goldpeak-primary) 7%, var(--goldpeak-surface)); }
.electronics-hero__custom,
.electronics-hero__fallback { position: absolute; z-index: 2; inset: 5%; width: 90%; height: 90%; object-fit: contain; }
.electronics-hero__cluster { position: absolute; z-index: 2; inset: 4% 3% 2%; }
.electronics-hero__product { position: absolute; display: grid; place-items: center; }
.electronics-hero__product img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 24px 21px rgba(23,39,66,.18)); mix-blend-mode: multiply; }
html[data-theme="dark"] .electronics-hero__product img { mix-blend-mode: normal; }
.electronics-hero__product--1 { left: 28%; top: 0; width: 40%; height: 64%; }
.electronics-hero__product--2 { left: 3%; bottom: 5%; width: 37%; height: 52%; }
.electronics-hero__product--3 { right: 0; bottom: 4%; width: 38%; height: 48%; }
.electronics-hero__product--4 { left: 30%; bottom: 0; width: 45%; height: 42%; }
.electronics-hero__product--5 { right: 2%; top: 5%; width: 30%; height: 33%; }
.electronics-hero__product--6 { left: 3%; top: 6%; width: 27%; height: 31%; }
.electronics-hero__product:hover { z-index: 8; transform: translateY(-5px) scale(1.025); }

/* Trust and department rails */
.electronics-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 22px 0 0; border: 1px solid var(--goldpeak-line); border-radius: 13px; background: var(--goldpeak-surface-2); }
.electronics-trust > div { min-width: 0; display: flex; align-items: center; gap: 14px; padding: 19px 26px; border-right: 1px solid var(--goldpeak-line); }
.electronics-trust > div:last-child { border-right: 0; }
.electronics-trust > div > .goldpeak-icon { color: var(--goldpeak-primary); }
.electronics-trust strong,
.electronics-trust small { display: block; }
.electronics-trust strong { color: var(--goldpeak-heading); font-size: 12px; }
.electronics-trust small { margin-top: 4px; color: var(--goldpeak-muted); font-size: 10px; }
.electronics-categories { padding: 46px 0 20px; }
.electronics-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.electronics-section-head h2 { margin: 0; font-size: clamp(32px, 3.7vw, 52px); font-weight: 800; }
.electronics-section-head > a { display: inline-flex; align-items: center; gap: 8px; color: var(--goldpeak-primary); font-size: 12px; font-weight: 850; }
.electronics-category-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.electronics-category-rail > a { min-width: 0; min-height: 78px; display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--goldpeak-line); border-radius: 11px; background: var(--goldpeak-surface); }
.electronics-category-rail > a:hover { color: var(--goldpeak-primary); transform: translateY(-3px); box-shadow: var(--goldpeak-shadow-soft); }
.electronics-category-rail__image { width: 52px; height: 52px; display: grid; place-items: center; overflow: hidden; border-radius: 9px; color: var(--goldpeak-primary); background: var(--goldpeak-surface-2); }
.electronics-category-rail__image img { width: 100%; height: 100%; object-fit: contain; }
.electronics-category-rail__image .goldpeak-icon svg { width: 24px; height: 24px; }
.electronics-category-rail strong,
.electronics-category-rail small { display: block; min-width: 0; }
.electronics-category-rail strong { overflow-wrap: anywhere; color: var(--goldpeak-heading); font-size: 12px; line-height: 1.2; }
.electronics-category-rail small { margin-top: 5px; color: var(--goldpeak-muted); font-size: 9px; }

/* Existing catalogue data in cleaner product rails */
.electronics-home .goldpeak-section { padding: 44px 0 38px; }
.electronics-home .goldpeak-section-kicker:empty { display: none; }
.electronics-home .goldpeak-section-head { margin-bottom: 18px; }
.electronics-home .goldpeak-section-head h2 { font-size: clamp(32px, 3.4vw, 48px); font-weight: 800; }
.electronics-home .goldpeak-home-product { overflow: hidden; border: 1px solid var(--goldpeak-line); border-radius: 14px; background: var(--goldpeak-surface); box-shadow: none; }
.electronics-home .goldpeak-home-product:hover { transform: translateY(-4px); box-shadow: var(--goldpeak-shadow-soft); }
.electronics-home .goldpeak-home-product__media { background: var(--goldpeak-surface-2); }
.electronics-home .goldpeak-home-product__media img { object-fit: contain; mix-blend-mode: multiply; }
html[data-theme="dark"] .electronics-home .goldpeak-home-product__media img { mix-blend-mode: normal; }
.electronics-home .goldpeak-product-card-bottom .button { border-radius: 9px; color: #fff; background: var(--goldpeak-primary); box-shadow: none; }
.electronics-home .goldpeak-product-slider { grid-auto-columns: minmax(250px, 23.5%); gap: 14px; }
.electronics-home .goldpeak-new-arrivals-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.electronics-restaurant-link { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin: 30px 0 72px; padding: clamp(30px, 4.5vw, 58px); border-radius: 15px; color: #fff; background: #10203a; box-shadow: var(--goldpeak-shadow); }
.electronics-restaurant-link h2 { margin: 0 0 10px; color: #fff; font-size: clamp(32px, 4vw, 52px); }
.electronics-restaurant-link p { margin: 0; color: rgba(255,255,255,.72); }
.electronics-restaurant-link .goldpeak-button { flex: 0 0 auto; color: #10203a; background: #fff; border: 0; box-shadow: none; }

/* Footer and compact support action */
body:not(.goldpeak-foods) .goldpeak-footer { margin-top: 0; background: #081629; }
.electronics-whatsapp { left: auto !important; right: 22px; bottom: 22px; width: 58px !important; height: 58px; padding: 0 !important; display: grid !important; place-items: center; border: 3px solid #fff; border-radius: 50% !important; color: #fff; background: #13a65a !important; box-shadow: 0 14px 34px rgba(8,70,38,.30) !important; }
.electronics-whatsapp::after { content: attr(data-support-label); position: absolute; right: 68px; width: max-content; max-width: 230px; padding: 8px 11px; border-radius: 8px; color: #fff; background: #10203a; font-size: 11px; font-weight: 800; opacity: 0; pointer-events: none; transform: translateX(6px); transition: opacity .2s ease, transform .2s ease; }
.electronics-whatsapp:hover::after,
.electronics-whatsapp:focus-visible::after { opacity: 1; transform: none; }
.electronics-whatsapp .goldpeak-whatsapp__icon { width: 44px; height: 44px; display: grid; place-items: center; background: transparent; }
.electronics-whatsapp .goldpeak-whatsapp__icon .goldpeak-icon { width: 29px; height: 29px; display: grid; place-items: center; color: #fff !important; }
.electronics-whatsapp .goldpeak-whatsapp__icon .goldpeak-icon svg { width: 29px; height: 29px; display: block; color: #fff !important; }
.electronics-whatsapp .goldpeak-whatsapp__icon .goldpeak-icon path { fill: #fff !important; stroke: none !important; }
body:not(.goldpeak-foods) :focus-visible { outline: 3px solid color-mix(in srgb, var(--goldpeak-primary) 65%, #fff); outline-offset: 3px; }
.goldpeak-slider-button--previous .goldpeak-icon { transform: rotate(180deg); }

@media (max-width: 1200px) {
  .electronics-header__main { grid-template-columns: 255px minmax(280px, 1fr) auto; gap: 24px; }
  .electronics-header-action span:not(.goldpeak-icon):not(.goldpeak-cart-count) { display: none; }
  .electronics-header-action { width: 48px; justify-content: center; padding: 0; }
  .electronics-primary-nav__all { display: none; }
  .electronics-hero__frame { grid-template-columns: minmax(330px, .9fr) minmax(450px, 1.1fr); }
  .electronics-home .goldpeak-new-arrivals-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  body:not(.goldpeak-foods) .goldpeak-container { width: min(var(--goldpeak-container), calc(100% - 36px)); }
  .electronics-header__main { min-height: 82px; grid-template-columns: 220px minmax(260px, 1fr) auto; }
  .electronics-primary-nav__inner { min-height: 52px; }
  .electronics-primary-nav .goldpeak-mobile-menu-button { display: inline-grid; width: 40px; height: 40px; border-radius: 9px; box-shadow: none; }
  .electronics-primary-nav .goldpeak-menu { display: none; }
  .electronics-hero__frame { grid-template-columns: 1fr; }
  .electronics-hero__copy { min-height: 420px; }
  .electronics-hero__visual { min-height: 480px; }
  .electronics-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .electronics-trust > div:nth-child(2) { border-right: 0; }
  .electronics-trust > div:nth-child(-n+2) { border-bottom: 1px solid var(--goldpeak-line); }
  .electronics-category-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .electronics-home .goldpeak-product-slider { grid-auto-columns: minmax(270px, 43%); }
  .electronics-home .goldpeak-new-arrivals-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .electronics-header__main { grid-template-columns: 165px minmax(0, 1fr) auto; gap: 12px; padding-block: 10px; }
  .electronics-header .goldpeak-brand img { width: 165px; }
  .electronics-header__search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .electronics-header__actions { gap: 4px; }
  .electronics-header__actions .goldpeak-theme-toggle { width: 42px; height: 42px; }
  .electronics-header-action { width: 42px; min-height: 42px; display: flex; justify-content: center; padding: 0; }
  .electronics-header-action > span:not(.goldpeak-icon):not(.goldpeak-cart-count) { display: none; }
  .electronics-header-action > .goldpeak-icon svg { width: 22px; height: 22px; }
  .electronics-hero { padding-top: 14px; }
  .electronics-hero__frame { border-radius: 13px; }
  .electronics-hero__copy { min-height: 365px; padding: 42px 28px; }
  .electronics-hero__copy h1 { font-size: clamp(43px, 11.5vw, 62px); }
  .electronics-hero__copy > p { margin-top: 20px; font-size: 15px; }
  .electronics-hero__actions { display: grid; margin-top: 27px; }
  .electronics-hero__visual { min-height: 380px; }
  .electronics-trust { grid-template-columns: 1fr; }
  .electronics-trust > div { border-right: 0; border-bottom: 1px solid var(--goldpeak-line); }
  .electronics-trust > div:last-child { border-bottom: 0; }
  .electronics-section-head { align-items: center; }
  .electronics-section-head h2 { font-size: 36px; }
  .electronics-home .goldpeak-product-slider { grid-auto-columns: minmax(270px, 82vw); }
  .electronics-home .goldpeak-new-arrivals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .electronics-restaurant-link { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 500px) {
  body:not(.goldpeak-foods) .goldpeak-container { width: min(var(--goldpeak-container), calc(100% - 24px)); }
  .electronics-header__main { grid-template-columns: minmax(118px, 1fr) auto; }
  .electronics-header .goldpeak-brand img { width: 135px; }
  .electronics-header__actions { justify-self: end; }
  .electronics-hero__copy { min-height: 350px; padding: 36px 22px; }
  .electronics-hero__copy h1 { font-size: 43px; }
  .electronics-hero__visual { min-height: 320px; }
  .electronics-category-rail { grid-template-columns: 1fr; }
  .electronics-home .goldpeak-new-arrivals-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .electronics-whatsapp { right: 14px; bottom: 14px; width: 54px !important; height: 54px; }
  .electronics-whatsapp::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .electronics-hero__product,
  .electronics-category-rail > a,
  .electronics-home .goldpeak-home-product,
  .electronics-whatsapp::after { transition: none; transform: none; }
}
