/* E-4 Elektrik — site styles */

:root {
  --bg: #ffffff;
  --bg-2: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f2f3f5;
  --surface-3: #e8eaed;
  --border: #e3e6ea;
  --border-2: #d3d7de;
  --line: #eef0f3;
  --text: #181b22;
  --text-2: #4c5261;
  --muted: #6b7280;
  --faint: #8b93a1;
  --accent: #96650a;
  --accent-hi: #f2b705;
  --accent-deep: #7a5000;
  --accent-fg: #201400;
  --accent-soft: rgba(242, 183, 5, .12);
  --accent-line: rgba(242, 183, 5, .45);
  --dark: #10141c;
  --dark-2: #1a2130;
  --ok: #187a43;
  --warn: #a05a00;
  --danger: #c62f2f;
  --info: #2563c7;
  --whatsapp: #25d366;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-xs: 0 1px 2px rgba(20, 24, 33, .05);
  --shadow-sm: 0 4px 12px -6px rgba(20, 24, 33, .10);
  --shadow: 0 16px 32px -18px rgba(20, 24, 33, .18);
  --shadow-lg: 0 28px 56px -28px rgba(20, 24, 33, .22);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Space Grotesk", var(--font);
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --container: 1240px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 400 15.5px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; 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 { margin: 0; line-height: 1.18; font-weight: 700; letter-spacing: -.02em; font-family: var(--font-head); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
hr { border: 0; height: 1px; background: var(--line); margin: 24px 0; }
::selection { background: rgba(242, 183, 5, .3); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.icon { width: 17px; height: 17px; flex: none; display: inline-block; vertical-align: -3px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -48px; z-index: 200; background: var(--accent-hi); color: var(--accent-fg); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container-narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
code { font-family: var(--font-mono); font-size: .88em; background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; }

/* ---------- Demo bar ---------- */
.demo-bar { background: var(--accent-hi); color: var(--accent-fg); border-bottom: 1px solid var(--accent-deep); text-align: center; font-size: 13px; padding: 9px 16px; line-height: 1.45; font-weight: 600; }
.demo-bar strong { font-weight: 800; }
.demo-bar a { color: var(--accent-fg); font-weight: 800; text-decoration: underline; margin-left: 6px; white-space: nowrap; }

/* ---------- Buttons (pill) ---------- */
.btn { --h: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: var(--h); padding: 0 24px; border-radius: 999px; border: 2px solid transparent; font-size: 14.5px; font-weight: 650; letter-spacing: -.01em; line-height: 1; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, transform .18s var(--ease), filter .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 16px; height: 16px; }
.btn-lg { --h: 52px; padding: 0 28px; font-size: 15px; }
.btn-sm { --h: 38px; padding: 0 18px; font-size: 13.5px; }
.btn-xs { --h: 32px; padding: 0 14px; font-size: 12.5px; gap: 6px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent-hi); color: var(--accent-fg); box-shadow: 0 10px 22px -12px rgba(242, 183, 5, .6); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-outline { border-color: var(--border-2); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-deep); }
.btn-outline-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--dark); border-color: #fff; }
.btn-secondary, .btn-ghost { background: var(--surface-2); color: var(--text); border-color: var(--border); }
.btn-secondary:hover, .btn-ghost:hover { background: var(--surface-3); }
.btn-white { background: #fff; color: var(--dark); }
.btn-white:hover { background: var(--accent-hi); color: var(--accent-fg); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark-2); color: #fff; }
.btn-plain { padding: 0 6px; color: var(--text-2); }
.btn-plain:hover { color: var(--text); }
.btn-whatsapp { background: var(--whatsapp); color: #06210f; }
.btn-whatsapp:hover { filter: brightness(1.08); }
.btn-danger-ghost { border-color: rgba(198, 47, 47, .35); color: var(--danger); }
.btn-danger-ghost:hover { background: rgba(198, 47, 47, .08); }
.btn[disabled] { opacity: .55; pointer-events: none; transform: none; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; color: var(--text-2); transition: .15s; }
.icon-btn:hover { color: var(--text); background: var(--surface-2); }

/* ---------- Header (always dark) ---------- */
.topbar { position: sticky; top: 0; z-index: 60; height: var(--header-h); background: var(--dark); box-shadow: 0 1px 0 rgba(255, 255, 255, .07); }
.topbar-inner { height: 100%; max-width: 1360px; margin-inline: auto; padding-inline: 28px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(155deg, var(--accent-hi), var(--accent-deep)); color: var(--accent-fg); font-weight: 800; }
.brand-mark .icon { width: 21px; height: 21px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-head); font-size: 17px; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.brand-text small { margin-top: 3px; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; color: var(--accent-hi); text-transform: uppercase; }
.main-nav { margin-left: 8px; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, .75); transition: .15s; }
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-link.is-active { color: #fff; background: rgba(255, 255, 255, .12); }
.header-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; flex: none; }
.header-phone { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .9); white-space: nowrap; }
.header-phone .icon { color: var(--accent-hi); }
.burger { display: none; color: #fff; }

/* Mobile nav — slide-in drawer */
@media (max-width: 980px) {
  .main-nav { position: fixed; top: 0; right: 0; bottom: 0; z-index: 55; width: min(300px, 84vw); background: var(--dark-2); flex-direction: column; align-items: stretch; padding: calc(var(--header-h) + 14px) 22px 24px; box-shadow: -20px 0 50px rgba(0, 0, 0, .35); overflow-y: auto; transform: translateX(100%); transition: transform .25s var(--ease); }
  .nav-open .main-nav { transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { height: 50px; font-size: 16px; padding: 0 16px; }
  .burger { display: inline-grid; }
}

/* ---------- Sections, generic layout ---------- */
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--bg-2); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head.center { display: block; text-align: center; max-width: 640px; margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--accent); text-transform: uppercase; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-head.center .eyebrow::before { display: none; }
.section-title { margin-top: 10px; font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: -.03em; color: var(--text); }
.section-lead { max-width: 560px; margin-top: 10px; color: var(--text-2); font-size: 15.5px; }
.section-head.center .section-lead { margin-inline: auto; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 700; color: var(--accent); transition: color .15s; }
.link-more .icon { width: 15px; height: 15px; transition: transform .15s var(--ease); }
.link-more:hover { color: var(--accent-deep); }
.link-more:hover .icon { transform: translateX(3px); }

.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13px; color: rgba(255, 255, 255, .6); margin-bottom: 14px; }
.crumbs a:hover { color: #fff; }
.crumbs .icon { width: 13px; height: 13px; opacity: .6; }
.page-header { position: relative; isolation: isolate; overflow: hidden; padding: 50px 0 44px; background: var(--dark); background-image: linear-gradient(135deg, var(--dark) 40%, var(--dark-2) 100%); }
.page-header::after { content: ""; position: absolute; right: -70px; top: -70px; z-index: -1; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 183, 5, .3), transparent 70%); }
.page-title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; letter-spacing: -.03em; color: #fff; }
.page-lead { max-width: 640px; margin-top: 10px; color: rgba(255, 255, 255, .72); font-size: 15.5px; }

.card { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-xs); }
.card-pad { padding: 26px; }
.empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 60px 20px; color: var(--muted); }
.empty .icon { width: 30px; height: 30px; color: var(--accent-deep); }

/* ---------- Forms ---------- */
input[type="text"], input[type="url"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="search"], input:not([type]), select, textarea { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border-2); background: var(--bg-2); color: var(--text); outline: none; transition: border-color .15s, box-shadow .15s; }
textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
input:focus, select:focus, textarea:focus { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
input::placeholder, textarea::placeholder { color: var(--faint); }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field-label { font-size: 14px; font-weight: 650; }
.field-help { font-size: 12.5px; color: var(--muted); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.req { color: var(--danger); }
.check-inline { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-2); cursor: pointer; }
.check-inline input { width: 16px; height: 16px; accent-color: var(--accent-hi); }
.honeypot { position: absolute; left: -9999px; top: -9999px; }
.alert { display: flex; align-items: flex-start; gap: 10px; padding: 13px 15px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 14px; }
.alert .icon { width: 17px; height: 17px; flex: none; margin-top: 1px; }
.alert-success { background: #eaf8ee; border: 1px solid #b7e6c2; color: #1a6b39; }
.alert-error { background: #fdecec; border: 1px solid #f3bcbc; color: #a32f2f; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 76px 0 130px; background: var(--dark); color: #fff; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(16, 20, 28, .98) 15%, rgba(24, 30, 45, .92) 55%, rgba(242, 183, 5, .22) 135%); }
.hero-grid, .hero-glow { display: none; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 48px; }
.hero .eyebrow { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff; padding: 7px 16px 7px 14px; border-radius: 999px; }
.hero .eyebrow::before { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-hi); }
.hero-title { margin-top: 18px; font-size: clamp(34px, 4.6vw, 54px); font-weight: 700; line-height: 1.06; letter-spacing: -.03em; white-space: pre-line; color: #fff; }
.hero-title em { font-style: normal; color: var(--accent-hi); }
.hero-text { max-width: 480px; margin-top: 18px; font-size: 16.5px; color: rgba(255, 255, 255, .78); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-visual { position: relative; }
.hero-panel { position: relative; border: 1px solid var(--border); border-radius: 20px; background: linear-gradient(160deg, var(--surface-2), var(--surface)); padding: 24px; box-shadow: var(--shadow-lg); }
.hero-panel-head { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--accent-deep); }
.hero-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hero-cat { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); font-size: 13.5px; font-weight: 650; color: var(--text); transition: .15s; }
.hero-cat:hover { border-color: var(--accent-line); background: var(--surface-3); }
.hero-cat .icon { width: 18px; height: 18px; color: var(--accent); flex: none; }
.hero-badge { position: absolute; right: -14px; bottom: -18px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: var(--accent-hi); color: var(--accent-fg); font-weight: 700; font-size: 13.5px; box-shadow: 0 16px 30px -14px rgba(242, 183, 5, .5); }
.hero-badge .icon { width: 20px; height: 20px; }

/* ---------- Hero stats (overlapping card) ---------- */
.hero-stats-wrap { position: relative; z-index: 3; margin-top: -70px; }
.hero-stats { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; }
.hero-stats > div { padding: 26px 20px; text-align: center; border-right: 1px solid var(--border); }
.hero-stats > div:last-child { border-right: 0; }
.hero-stats b { display: block; font-family: var(--font-head); font-size: 28px; font-weight: 700; color: var(--text); line-height: 1; }
.hero-stats span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); font-weight: 600; }

/* ---------- Trust strip ---------- */
.trust-strip { padding: 48px 0 6px; text-align: center; }
.trust-strip .label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.trust-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.trust-chips span { border: 1px solid var(--border); border-radius: 999px; padding: 9px 18px; font-size: 13.5px; font-weight: 650; color: var(--text-2); background: var(--surface); }

/* ---------- Category strip ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.cat-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 18px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-xs); transition: border-color .15s, transform .15s var(--ease), box-shadow .15s, background .15s; }
.cat-card:hover { border-color: var(--border-2); background: var(--surface); transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); }
.cat-card strong { font-size: 14.5px; font-weight: 700; line-height: 1.3; color: var(--text); }
.cat-card span:not(.cat-ico) { font-size: 12.5px; color: var(--muted); }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); overflow: hidden; box-shadow: var(--shadow-xs); transition: border-color .15s, transform .15s var(--ease), box-shadow .15s; }
.product-card:hover { border-color: var(--border-2); transform: translateY(-4px); box-shadow: var(--shadow); }
.product-media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--surface-2); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--faint); }
.product-ph .icon { width: 40px; height: 40px; }
.product-flags { position: absolute; left: 10px; top: 10px; display: flex; flex-direction: column; gap: 6px; }
.pf { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .03em; }
.pf-new { background: var(--info); color: #fff; }
.pf-featured { background: var(--accent-hi); color: var(--accent-fg); }
.pf-out { background: rgba(198, 47, 47, .92); color: #2a0707; }
.product-body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 16px; }
.product-cat { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.product-card h3 { font-family: var(--font); font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--text); }
.product-card h3 a:hover { color: var(--accent-deep); }
.product-desc { font-size: 13px; color: var(--muted); flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.product-price { display: flex; flex-direction: column; }
.product-price b { font-size: 16px; font-weight: 800; color: var(--text); }
.product-price s { font-size: 12px; color: var(--faint); }
.product-price small { font-size: 11px; color: var(--muted); }
.product-buy { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); font-size: 12.5px; font-weight: 700; transition: .15s; }
.product-buy:hover { background: var(--accent-hi); color: var(--accent-fg); }
.product-buy .icon { width: 14px; height: 14px; }

/* ---------- Product filters / listing ---------- */
.shop-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
.shop-side { position: sticky; top: calc(var(--header-h) + 20px); border: 1px solid var(--border); border-radius: 16px; background: var(--surface); padding: 18px; box-shadow: var(--shadow-xs); }
.shop-side h3 { font-family: var(--font); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.shop-cat-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 999px; font-size: 14px; color: var(--text-2); }
.shop-cat-link:hover { background: var(--surface-2); color: var(--text); }
.shop-cat-link.is-active { background: var(--accent-soft); color: var(--accent-deep); font-weight: 700; }
.shop-cat-link b { font-size: 12px; font-weight: 500; color: var(--faint); }
.shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.shop-search { display: flex; align-items: center; gap: 8px; width: 300px; max-width: 100%; height: 44px; padding: 0 16px; border: 1px solid var(--border-2); border-radius: 999px; background: var(--surface); }
.shop-search input { min-height: 0; height: 100%; border: 0; background: none; padding: 0; }
.shop-search .icon { color: var(--muted); }
.shop-count { color: var(--muted); font-size: 13.5px; }
.shop-sort select { min-height: 40px; padding: 0 32px 0 14px; border-radius: 999px; font-size: 13.5px; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 36px; }
.page-btn { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: var(--radius-sm); border: 1px solid var(--border); font-size: 13.5px; font-weight: 650; color: var(--text-2); background: var(--surface); }
.page-btn:hover { border-color: var(--border-2); color: var(--text); }
.page-btn.is-active { background: var(--dark); border-color: var(--dark); color: #fff; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 48px; align-items: start; }
.pd-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.pd-main { position: relative; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); background: var(--surface); margin-bottom: 10px; box-shadow: var(--shadow-xs); }
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-thumbs button { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; opacity: .6; transition: .15s; }
.pd-thumbs button.is-active, .pd-thumbs button:hover { opacity: 1; border-color: var(--accent); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-brand { font-size: 12.5px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .04em; }
.pd-title { margin-top: 8px; font-size: clamp(24px, 2.8vw, 32px); font-weight: 700; letter-spacing: -.02em; color: var(--text); }
.pd-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.pd-meta span { display: inline-flex; align-items: center; gap: 6px; }
.pd-meta .icon { width: 14px; height: 14px; }
.pd-desc { margin-top: 16px; color: var(--text-2); font-size: 15px; line-height: 1.7; }
.pd-price-box { display: flex; align-items: center; gap: 16px; margin-top: 24px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-xs); }
.pd-price-box .product-price b { font-size: 24px; }
.pd-buy { flex: 1; }
.pd-note { margin-top: 10px; display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); }
.pd-note .icon { width: 14px; height: 14px; color: var(--accent); }
.pd-specs { margin-top: 28px; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-xs); }
.pd-specs h3 { font-family: var(--font); padding: 14px 18px; background: var(--surface-2); font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--border); color: var(--text); }
.pd-specs dl { margin: 0; }
.pd-specs dl > div { display: grid; grid-template-columns: 160px 1fr; gap: 12px; padding: 11px 18px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.pd-specs dl > div:last-child { border-bottom: 0; }
.pd-specs dt { color: var(--muted); }
.pd-specs dd { margin: 0; }
.prose { color: var(--text-2); font-size: 15px; line-height: 1.75; }
.prose > * + * { margin-top: 12px; }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-xs); transition: border-color .15s, transform .15s var(--ease), box-shadow .15s; }
.service-card:hover { border-color: var(--border-2); transform: translateY(-4px); box-shadow: var(--shadow); }
.service-ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.service-card h3 { font-size: 18px; font-weight: 700; color: var(--text); }
.service-card p { font-family: var(--font); font-size: 14px; color: var(--text-2); flex: 1; }

/* ---------- Why us / reputation ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.why-item { display: flex; gap: 14px; }
.why-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); flex: none; }
.why-item strong { display: block; font-size: 15px; font-weight: 700; color: var(--text); }
.why-item p { margin-top: 4px; font-size: 13.5px; color: var(--text-2); }

/* ---------- Process steps ---------- */
.process-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.process-step { position: relative; padding-top: 8px; }
.process-step::after { content: ""; position: absolute; top: 32px; left: calc(100% - 6px); width: calc(100% - 16px); height: 2px; background: repeating-linear-gradient(90deg, var(--border-2) 0 8px, transparent 8px 14px); }
.process-step:last-child::after { display: none; }
.process-num { font-family: var(--font-head); font-size: 36px; font-weight: 700; color: transparent; -webkit-text-stroke: 1.5px var(--border-2); display: block; margin-bottom: 14px; }
.process-step h3 { font-size: 17px; margin-bottom: 8px; color: var(--text); }
.process-step p { font-family: var(--font); color: var(--text-2); font-size: 14px; margin: 0; }

/* ---------- Testimonials (grid, used on about page) ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.testi-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-xs); }
.testi-stars { display: flex; gap: 3px; color: var(--accent-hi); }
.testi-stars .icon { width: 15px; height: 15px; }
.testi-card p { font-family: var(--font); font-size: 14.5px; color: var(--text-2); line-height: 1.6; flex: 1; }
.testi-who { display: flex; align-items: center; gap: 10px; }
.testi-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--surface-3); color: var(--text); font-weight: 700; font-size: 13px; overflow: hidden; flex: none; }
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-who strong { display: block; font-family: var(--font); font-size: 13.5px; color: var(--text); }
.testi-who small { font-size: 12px; color: var(--muted); }

/* ---------- Testimonials (slider, used on home page) ---------- */
.testi-slider { position: relative; max-width: 780px; margin: 0 auto; }
.testi-slide { display: none; text-align: center; padding: 0 10px; }
.testi-slide.active { display: block; animation: testiFade .4s ease; }
@keyframes testiFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.testi-slide .quote-mark { width: 40px; height: 40px; color: var(--accent); opacity: .3; margin: 0 auto 16px; }
.testi-slide .testi-stars { justify-content: center; margin-bottom: 14px; }
.testi-slide blockquote { margin: 0 0 24px; font-family: var(--font-head); font-size: 21px; font-weight: 500; color: var(--text); line-height: 1.45; }
.testi-slide .testi-who { justify-content: center; }
.testi-nav { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 32px; }
.testi-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); display: grid; place-items: center; color: var(--text); transition: .15s; }
.testi-nav button:hover { border-color: var(--accent); color: var(--accent-deep); }
.testi-dots { display: flex; gap: 7px; }
.testi-dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: var(--border-2); transition: .15s; }
.testi-dots button.active { background: var(--accent-hi); width: 20px; border-radius: 5px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; border-radius: 22px; padding: 48px; background: linear-gradient(135deg, var(--accent-deep), var(--accent-hi) 60%); color: var(--accent-fg); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; }
.cta-band p { margin-top: 6px; color: rgba(32, 20, 0, .72); max-width: 460px; }
.cta-band .btn-outline { border-color: rgba(32, 20, 0, .35); color: var(--accent-fg); }
.cta-band .btn-outline:hover { background: rgba(32, 20, 0, .1); }
.cta-band .btn-primary { background: var(--accent-fg); color: var(--accent-hi); box-shadow: none; }
.cta-band .btn-primary:hover { background: #2b1c05; filter: none; }

/* ---------- About page ---------- */
.about-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 48px; align-items: center; }
.about-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.about-stat { padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-xs); }
.about-stat b { font-family: var(--font-head); font-size: 24px; font-weight: 700; color: var(--accent-deep); }
.about-stat span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.about-photo { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); display: grid; place-items: center; }
.about-photo .icon { width: 64px; height: 64px; color: var(--faint); }

/* ---------- Contact page ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 12px; }
.info-row { display: flex; align-items: flex-start; gap: 14px; padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-xs); }
.info-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); flex: none; }
.info-row strong { display: block; font-size: 14px; color: var(--text); }
.info-row span:not(.info-ico), .info-row a { display: block; margin-top: 2px; font-size: 13.5px; color: var(--text-2); }
.info-row a:hover { color: var(--accent-deep); }
.map-frame { margin-top: 8px; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.map-ph { display: grid; place-items: center; width: 100%; height: 100%; background: var(--surface-2); color: var(--muted); gap: 8px; }
.map-ph .icon { width: 30px; height: 30px; }

/* ---------- Footer CTA bar ---------- */
.footer-cta { background: var(--dark-2); border-top: 1px solid rgba(255, 255, 255, .08); padding: 32px 0; }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-cta-inner h3 { color: #fff; font-size: 19px; margin: 0; }
.footer-cta-inner p { margin: 4px 0 0; color: rgba(255, 255, 255, .6); font-size: 14px; }
.footer-cta-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 28px; background: var(--dark); color: rgba(255, 255, 255, .65); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { margin-top: 12px; max-width: 320px; font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: .15s; }
.footer-social a:hover { background: var(--accent-hi); color: var(--accent-fg); }
.footer-social .icon { width: 16px; height: 16px; }
.footer-col h4 { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .03em; color: #fff; margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; margin-bottom: 10px; font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; color: rgba(255, 255, 255, .5); }
.footer-credit a { color: var(--accent-hi); font-weight: 650; }
.footer-credit a:hover { color: #fff; }
.whatsapp-fab { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--whatsapp); color: #06210f; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .5); transition: transform .15s var(--ease); }
.whatsapp-fab:hover { transform: scale(1.06); }
.whatsapp-fab .icon { width: 26px; height: 26px; }

/* ---------- Cookie notice ---------- */
.cookie-notice { position: fixed; left: 20px; bottom: 20px; z-index: 90; max-width: 400px; background: var(--dark); color: rgba(255, 255, 255, .85); padding: 20px 22px; border-radius: var(--radius); box-shadow: var(--shadow-lg); font-size: 13.5px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0; }
.cookie-notice a { color: #fff; text-decoration: underline; }

/* ---------- Toasts ---------- */
.toast-stack { position: fixed; right: 16px; top: calc(var(--header-h) + 12px); z-index: 120; display: grid; gap: 8px; width: min(360px, calc(100vw - 32px)); }
.toast { display: flex; align-items: flex-start; gap: 10px; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--border-2); background: var(--surface); box-shadow: var(--shadow-lg); font-size: 14px; color: var(--text); animation: toast-in .2s var(--ease); }
.toast-success { border-color: #b7e6c2; }
.toast-error { border-color: #f3bcbc; }
.toast .icon { width: 16px; height: 16px; margin-top: 2px; }
.toast-success .icon { color: var(--ok); }
.toast-error .icon { color: var(--danger); }
.toast-close { margin-left: auto; color: var(--muted); }
@keyframes toast-in { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Error / login pages ---------- */
.error-screen { min-height: 70vh; display: grid; place-items: center; padding: 60px 16px; text-align: center; }
.error-code { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--accent); }
.error-screen h1 { margin-top: 10px; font-size: clamp(26px, 3.6vw, 38px); color: var(--text); }
.error-screen p { margin-top: 10px; color: var(--text-2); max-width: 460px; }
.error-actions { display: flex; gap: 10px; justify-content: center; margin-top: 22px; }
.debug-box { margin-top: 24px; max-width: 700px; text-align: left; padding: 14px; border-radius: 10px; background: #fdecec; border: 1px solid #f3bcbc; color: #7a1f1f; font-size: 12px; white-space: pre-wrap; overflow: auto; }
.login-screen { min-height: 100vh; display: grid; place-items: center; padding: 40px 16px; background: radial-gradient(60% 60% at 50% 20%, rgba(242, 183, 5, .08), transparent 70%), var(--bg); }
.login-card { width: 100%; max-width: 400px; padding: 32px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-lg); }
.login-card .brand { margin-bottom: 24px; }
.login-card .brand-text strong { color: var(--text); }
.login-card .brand-mark { background: linear-gradient(155deg, var(--accent-hi), var(--accent-deep)); }
.login-card h1 { font-size: 21px; color: var(--text); }
.login-card p { margin-top: 6px; color: var(--muted); font-size: 13.5px; font-family: var(--font); }

/* ---------- Demo mode watermark ---------- */
.is-demo .product-media::after,
.is-demo .pd-main::after,
.is-demo .about-photo::after {
  content: "DEMO AMAÇLIDIR\A Görseller temsilidir";
  white-space: pre;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  padding: 6px 14px;
  background: rgba(16, 20, 28, .6);
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 6px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.3;
  text-align: center;
  pointer-events: none;
  z-index: 3;
}
.is-demo .pd-main::after { font-size: 15px; padding: 8px 18px; letter-spacing: 2px; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > :nth-child(4) { display: none; }
}
@media (max-width: 980px) {
  .hero-inner, .about-hero, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { order: -1; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats > div:nth-child(2) { border-right: 0; }
  .hero-stats > div { border-bottom: 1px solid var(--border); }
  .hero-stats > div:nth-last-child(-n+2) { border-bottom: 0; }
  .process-steps { grid-template-columns: repeat(1, minmax(0, 1fr)); row-gap: 32px; }
  .process-step::after { display: none; }
  .shop-layout { grid-template-columns: minmax(0, 1fr); }
  .shop-side { position: static; }
  .service-grid, .why-grid, .testi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail { grid-template-columns: minmax(0, 1fr); }
  .pd-gallery { position: static; }
}
@media (max-width: 720px) {
  .container { padding-inline: 18px; }
  .topbar-inner { padding-inline: 16px; }
  .brand-text small { display: none; }
  .header-phone { display: none; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .service-grid, .why-grid, .testi-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-grid > :nth-child(1) { grid-column: 1 / -1; }
  .footer-cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .hero { padding-bottom: 110px; }
  .hero-stats-wrap { margin-top: -56px; }
  .hero-stats b { font-size: 22px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .pd-price-box { flex-direction: column; align-items: stretch; }
  .hero-badge { display: none; }
  .cookie-notice { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}
