/* ══════════════════════════════════════════════════════════════════════
   Design tokens — shared values the rest of the sheet builds on.
   ══════════════════════════════════════════════════════════════════════ */
:root {
  --color-bg: #ffffff;
  --color-surface: #f4f7fb;
  --color-text: #0D2137;
  --color-accent: #1A73E8;
  --color-accent-600: #155fc0;
  --color-accent-700: #0f4d9e;
  --color-accent-800: #7c1405;
  --color-accent-100: #eaf2fd;
  --color-accent-200: #cfe0fb;
  --color-accent-300: #a6c6f7;
  --color-accent-2-100: #fff2ef;
  --color-accent-2-800: #71261b;
  --color-divider: color-mix(in srgb, #0D2137 15%, transparent);

  --color-neutral-100: #f8f4f4;
  --color-neutral-800: #444141;
  --color-neutral-900: #2d2b2b;

  --font-heading: "Poppins", system-ui, sans-serif;
  --font-heading-weight: 600;
  --font-body: "Inter", system-ui, sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;

  --radius-md: 0px;
  --radius-lg: 0px;

  --shadow-sm: 0 1px 2px color-mix(in srgb, #2d2b2b 14%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #2d2b2b 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2d2b2b 22%, transparent);
}

/* ══════════════════════════════════════════════════════════════════════
   Base
   ══════════════════════════════════════════════════════════════════════ */
* , *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 var(--space-2);
}
p { margin: 0 0 var(--space-3); }
a { color: var(--color-accent); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--color-accent-600); }
img, svg { display: block; max-width: 100%; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

.hr { height: 2px; border: 0; margin: var(--space-4) 0; background: var(--color-divider); }

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; line-height: 1.2; color: var(--color-text);
  background: transparent; border: 1px solid transparent;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: var(--radius-md);
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); }
.btn-primary:active { background: var(--color-accent-700); }

/* — forms — */
.field > label,
.field span:first-child { color: color-mix(in srgb, var(--color-text) 70%, transparent); }
.input {
  width: 100%; min-height: 36px; padding: 6px 10px; font: inherit;
  font-size: 14px; color: var(--color-text); caret-color: var(--color-accent);
  background: var(--color-surface);
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
textarea.input { min-height: 90px; resize: vertical; }

/* — image placeholders (unillustrated product/category slots) — */
.img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 12px; gap: 8px;
  background-image: radial-gradient(color-mix(in srgb, var(--color-text) 12%, transparent) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  color: color-mix(in srgb, var(--color-text) 45%, transparent);
  font-size: 12px; line-height: 1.4;
}
.slot-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* — freeform badges (certification marks): no box, no crop, consistent height — */
.badge-img { display: block; height: 64px; width: auto; }
.slot-img[data-slot="hero-main"] { object-position: 10% center; }

/* ══════════════════════════════════════════════════════════════════════
   AquaBP layout helpers
   ══════════════════════════════════════════════════════════════════════ */
.ab-burger { display: none; }
.ab-mnav { display: none; }
.page.hidden { display: none; }

@keyframes abFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-24px); } }
@media (prefers-reduced-motion: reduce) { [data-abfloat] { animation: none !important; } }

@media (max-width: 880px) {
  .ab-hero { grid-template-columns: 1fr !important; }
  .ab-contact { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
  .ab-navlinks { display: none !important; }
  .ab-burger { display: inline-flex !important; }
  .ab-mnav.ab-open { display: flex !important; }
  .ab-slogan { display: none !important; }
}

/* ══════════════════════════════════════════════════════════════════════
   Pagini de produs
   ══════════════════════════════════════════════════════════════════════ */
.ab-pd-back {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer; padding: 0;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  color: var(--color-accent);
}
.ab-pd-back:hover { color: var(--color-accent-600); }
.ab-pd-cat {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; background: var(--color-surface); color: color-mix(in srgb, var(--color-text) 60%, transparent);
  border: 1px solid var(--color-divider);
}
.ab-pd-specs { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ab-pd-specs tr { border-bottom: 1px solid var(--color-divider); }
.ab-pd-specs th, .ab-pd-specs td { text-align: left; padding: 11px 0; vertical-align: top; }
.ab-pd-specs th { width: 42%; font-weight: 600; color: var(--color-text); padding-right: 14px; }
.ab-pd-specs td { color: color-mix(in srgb, var(--color-text) 78%, transparent); }

.ab-pd-features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.ab-pd-features li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 13px 0; border-bottom: 1px solid var(--color-divider);
  font-size: 15px; line-height: 1.5; color: var(--color-text);
}
.ab-pd-features svg { flex: none; margin-top: 3px; }

.ab-pd-callout { border-left: 3px solid var(--color-accent); background: var(--color-surface); padding: 20px 22px; margin: 0 0 20px; }
.ab-pd-callout-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent-700); margin: 0 0 8px; }
.ab-pd-callout p { margin: 0; font-size: 15px; line-height: 1.6; color: color-mix(in srgb, var(--color-text) 82%, transparent); }

@media (max-width: 720px) {
  .ab-pd-grid { grid-template-columns: 1fr !important; }
}
