:root {
  --navy: #184878;
  --navy-dark: #102848;
  --navy-mid: #205078;
  --cyan: #40c0d0;
  --cyan-soft: #d8f4f7;
  --ice: #f0f8f8;
  --ink: #202028;
  --muted: #506070;
  --line: #d5dee6;
  --white: #ffffff;
  --shadow: 0 14px 40px rgba(16, 40, 72, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
.wrap { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.sans { font-family: "Nunito", "Segoe UI", sans-serif; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
.logo-link {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 999px;
  padding: 4px 12px 4px 4px;
  box-shadow: 0 6px 20px rgba(16, 40, 72, 0.18);
}
.logo-link img { height: 52px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 12px; color: #fff; }
.icon-btn {
  width: 42px; height: 42px;
  border: 0; background: transparent; color: inherit;
  display: grid; place-items: center; cursor: pointer;
  position: relative;
}
.cart-count {
  position: absolute; top: 2px; right: 2px;
  background: var(--cyan); color: var(--navy-dark);
  font: 700 10px/1 Nunito, sans-serif;
  min-width: 16px; height: 16px; border-radius: 50%;
  display: grid; place-items: center; padding: 0 4px;
}

.nav-panel {
  position: fixed; inset: 0; background: rgba(16, 40, 72, 0.55);
  opacity: 0; pointer-events: none; transition: .25s; z-index: 40;
}
.nav-panel.open { opacity: 1; pointer-events: auto; }
.nav-panel nav {
  margin-left: auto; width: min(340px, 90vw); height: 100%;
  background: var(--navy-dark); color: #fff; padding: 28px 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.nav-panel a { color: #fff; font-family: Nunito, sans-serif; font-weight: 700; font-size: 18px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.nav-panel a:hover { color: var(--cyan); }
.nav-close { align-self: flex-end; background: none; border: 0; color: #fff; font-size: 28px; cursor: pointer; }

.hero {
  min-height: 92vh;
  background: #102848 center/cover no-repeat;
  color: #fff;
  display: flex; align-items: flex-end;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,40,72,.25) 0%, rgba(16,40,72,.72) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 0 20px 72px; width: min(1120px, 100%); }
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 7vw, 64px);
  line-height: 1.1;
  max-width: 14ch;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border: 0; border-radius: 4px; cursor: pointer;
  font-family: Nunito, sans-serif; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase;
}
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-cyan { background: var(--cyan); color: var(--navy-dark); }
.btn-ghost { background: #e8eef2; color: var(--navy-dark); }
.btn-wide { width: 100%; }
.scroll-hint { display: block; margin-top: 16px; color: #fff; font-size: 14px; opacity: .85; }

.page-hero {
  min-height: 320px;
  background: #102848 center/cover no-repeat;
  color: #fff;
  display: grid; place-items: end start;
  position: relative;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,40,72,.2), rgba(16,40,72,.7));
}
.page-hero h1 { position: relative; z-index: 1; margin: 0 0 48px 24px; font-size: clamp(32px, 6vw, 52px); }

.section { padding: 64px 0; }
.section-ice { background: var(--ice); }
.kicker {
  font-family: Nunito, sans-serif;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy); margin: 0 0 8px;
}
.section h2 { margin: 0 0 16px; font-size: clamp(28px, 4vw, 40px); color: var(--navy-dark); }
.lead { color: var(--muted); max-width: 68ch; }
.photo-frame { border-radius: 0 0 28px 28px; overflow: hidden; margin-bottom: 28px; }
.photo-frame img { width: 100%; height: min(420px, 55vw); object-fit: cover; }

.grid-2 { display: grid; gap: 28px; }
@media (min-width: 840px) { .grid-2 { grid-template-columns: 1fr 1fr; align-items: start; } }

.cards {
  display: grid; gap: 22px;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 720px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .cards { grid-template-columns: 1fr 1fr 1fr 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card-media {
  aspect-ratio: 1 / 1;
  background: var(--cyan-soft);
  position: relative;
  overflow: hidden;
  display: block;
}
.card-media img {
  position: absolute;
  inset: 11%;
  width: 78%;
  height: 78%;
  object-fit: contain;
}
.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card h3 { margin: 0 0 6px; font-size: 22px; color: var(--navy-dark); }
.price { margin: 0; color: var(--navy); font-size: 18px; }
.card-actions {
  margin-top: auto;
  padding-top: 14px;
  display: grid;
  gap: 10px;
}
.card-actions .btn { width: 100%; }

.services { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.services li {
  padding: 12px 14px;
  border-left: 3px solid var(--cyan);
  background: #fff;
  color: var(--navy-dark);
}

.stepper { display: grid; gap: 10px; margin: 28px 0; }
.step { display: flex; align-items: center; gap: 12px; font-family: Nunito, sans-serif; font-weight: 700; color: var(--navy); }
.step b {
  width: 32px; height: 32px; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-size: 14px;
}

.product-visual {
  background: var(--cyan-soft);
  display: grid; place-items: center;
  min-height: 280px;
  margin: 8px 0 24px;
}
.product-visual img { width: min(420px, 80%); }

.qty-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 20px 0; }
.qty-stepper {
  display: grid;
  grid-template-columns: 48px minmax(56px, 1fr) 48px;
  align-items: stretch;
  width: 100%;
  max-width: 168px;
  height: 48px;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}
.card-actions .qty-stepper {
  max-width: none;
}
.qty-stepper [data-qty-dec] { grid-column: 1; grid-row: 1; }
.qty-stepper [data-qty-inc] { grid-column: 3; grid-row: 1; }
.qty-stepper > :not(button) { grid-column: 2; grid-row: 1; min-width: 0; }
.qty-stepper button {
  width: 48px;
  min-width: 48px;
  max-width: 48px;
  height: 100%;
  padding: 0;
  border: 0;
  background: var(--ice);
  color: var(--navy);
  font: 700 22px/1 Nunito, sans-serif;
  cursor: pointer;
  z-index: 1;
}
.qty-stepper button:hover:not(:disabled) { background: var(--cyan-soft); }
.qty-stepper button:disabled { opacity: .35; cursor: not-allowed; }
.qty-stepper input,
.qty-stepper input[type=text] {
  width: 100% !important;
  min-width: 0;
  min-height: 0 !important;
  height: 100%;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  font: 700 16px Nunito, sans-serif;
  box-sizing: border-box;
}
.meta { color: var(--muted); font-size: 14px; }
.notice {
  background: var(--ice); border-left: 4px solid var(--cyan);
  padding: 12px 16px; margin: 16px 0;
}

.cart-item {
  display: grid; grid-template-columns: 72px 1fr; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.cart-item img { width: 72px; height: 72px; object-fit: cover; background: var(--cyan-soft); }
.totals { margin: 28px 0; }
.totals h2 { margin-bottom: 12px; }
.totals-row {
  display: flex; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}

.form { display: grid; gap: 14px; }
.form-row { display: grid; gap: 12px; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
label { display: grid; gap: 6px; font-family: Nunito, sans-serif; font-weight: 700; color: var(--navy-dark); font-size: 14px; }
label span { color: #c0392b; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], select, textarea {
  width: 100%; min-height: 46px; padding: 10px 12px;
  border: 1px solid var(--line); font: 16px Nunito, sans-serif;
  background: #fff;
}
textarea { min-height: 110px; resize: vertical; }
.order-box { background: var(--ice); padding: 18px; }
.iban-list p { margin: 8px 0; }
.iban-list strong { color: var(--navy-dark); letter-spacing: .03em; }
.pay-brands { color: var(--navy); font-weight: 800; letter-spacing: .06em; margin: 0 0 8px; }

.site-footer {
  background: var(--navy-dark);
  color: #dce8f0;
  padding: 48px 0 28px;
}
.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer p { max-width: 70ch; }
.footer-copy { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }

.chat-btn, .top-btn {
  position: fixed; bottom: 20px; z-index: 15;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
}
.chat-btn {
  left: 16px; width: 54px; height: 54px; border-radius: 50%;
  background: var(--cyan); color: var(--navy-dark);
}
.top-btn {
  right: 16px; width: 42px; height: 42px;
  background: var(--navy); color: #fff;
}

.admin-bar { background: var(--navy-dark); color: #fff; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; }
.admin-bar a { color: var(--cyan); font-family: Nunito, sans-serif; }
.table { width: 100%; border-collapse: collapse; background: #fff; }
.table th, .table td { border-bottom: 1px solid var(--line); padding: 12px; text-align: left; }
.table th { background: var(--ice); color: var(--navy-dark); font-family: Nunito, sans-serif; }

.admin-login {
  min-height: 100vh; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--navy-dark), var(--navy) 55%, var(--cyan));
}
.admin-card { width: min(420px, 92vw); background: #fff; padding: 32px; box-shadow: var(--shadow); }
.admin-card img { height: 80px; margin: 0 auto 12px; }
