/*
Theme Name: ALPROK Restored
Theme URI: https://alprok.eu
Author: ALPROK
Description: Restored ALPROK.eu theme based on the archived shop visual structure.
Version: 1.0.0
Text Domain: alprok-restored
*/

:root {
  --ink: #102a39;
  --muted: #5c6b74;
  --line: #dce4e8;
  --soft: #f4f6f7;
  --red: #98000a;
  --red-dark: #720006;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
}

.topbar__inner,
.site-nav__inner,
.hero__actions,
.menu {
  display: flex;
}

.topbar__inner {
  justify-content: flex-end;
  gap: 28px;
  padding: 10px 0;
}

.site-nav {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-nav__inner {
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 96px;
}

.brand img,
.footer img {
  width: 260px;
  height: 82px;
  object-fit: contain;
  object-position: left center;
}

.menu {
  align-items: center;
  gap: 26px;
  font-weight: 700;
}

.menu a {
  padding: 12px 0;
}

.menu a:hover {
  color: var(--red);
}

.hero {
  padding: 72px 0;
  background: var(--white);
}

.hero__grid,
.split-grid,
.footer__grid {
  display: grid;
  gap: 54px;
}

.hero__grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.14;
}

h1 {
  max-width: 680px;
  font-size: 56px;
}

h2 {
  font-size: 38px;
}

h3 {
  font-size: 23px;
}

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: 20px;
  margin: 22px 0 0;
}

.hero__actions {
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  border: 2px solid var(--red);
  border-radius: 0;
}

.button--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.button:hover,
.wp-block-button__link:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
}

.hero__media {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 20px;
}

.hero__media img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: contain;
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.trust-strip__grid,
.product-grid {
  display: grid;
}

.trust-strip__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-strip__grid div {
  padding: 24px 22px;
  border-right: 1px solid var(--line);
}

.trust-strip__grid div:first-child {
  border-left: 1px solid var(--line);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  font-size: 18px;
}

.trust-strip span {
  color: var(--muted);
  margin-top: 4px;
}

.section {
  padding: 78px 0;
}

.section__head {
  max-width: 760px;
  margin-bottom: 32px;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  min-height: 190px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.product-card p,
.footer p {
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-links a {
  font-weight: 700;
  color: var(--ink);
}

.section--split {
  background: var(--soft);
}

.split-grid {
  grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
  align-items: center;
}

.detail-image {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
}

.check-list {
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 10px;
  height: 10px;
  background: var(--red);
}

.configurator {
  padding: 78px 0;
  background: var(--ink);
  color: var(--white);
}

.configurator h2 {
  color: var(--white);
}

.configurator p:not(.eyebrow) {
  max-width: 760px;
  color: #d9e1e6;
  font-size: 19px;
}

.footer {
  padding: 54px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer__grid {
  grid-template-columns: 1fr 1fr;
  gap: 42px;
}

.footer img {
  background: #000;
}

@media (max-width: 920px) {
  .site-nav__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .menu {
    flex-wrap: wrap;
    gap: 14px 20px;
  }

  .hero__grid,
  .split-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .trust-strip__grid {
    grid-template-columns: 1fr 1fr;
  }

  h1 {
    font-size: 42px;
  }
}

@media (max-width: 580px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .topbar__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .brand img {
    width: 210px;
    height: 68px;
  }

  .menu {
    font-size: 14px;
  }

  .hero {
    padding: 42px 0;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 29px;
  }

  .lead {
    font-size: 18px;
  }

  .product-grid,
  .trust-strip__grid {
    grid-template-columns: 1fr;
  }
}
