:root {
  --ink: #22241f;
  --muted: #5e6257;
  --paper: #fffaf1;
  --cream: #f5ead8;
  --leaf: #476b39;
  --moss: #254d33;
  --gold: #c7922b;
  --clay: #9d5435;
  --line: rgba(34, 36, 31, 0.14);
  --shadow: 0 20px 60px rgba(34, 36, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(to bottom, rgba(25, 29, 23, 0.72), rgba(25, 29, 23, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.76rem;
}

nav {
  display: flex;
  gap: clamp(12px, 3vw, 28px);
  font-weight: 700;
  font-size: 0.96rem;
}

nav a {
  text-decoration: none;
}

.header-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.language-switch a {
  min-width: 34px;
  padding: 6px 8px;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 900;
}

.language-switch a[aria-current="page"] {
  color: #1c2418;
  background: #f7cb5c;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 128px clamp(18px, 5vw, 72px) 54px;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 24, 18, 0.78), rgba(20, 24, 18, 0.42) 45%, rgba(20, 24, 18, 0.12)),
    linear-gradient(0deg, rgba(20, 24, 18, 0.58), rgba(20, 24, 18, 0.02) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(740px, 100%);
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: #f6d17c;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--clay);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2.55rem, 7.2vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  line-height: 1.05;
}

h3 {
  margin: 0;
  font-size: 1.2rem;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  font-size: clamp(1rem, 2.1vw, 1.26rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
}

.button.primary {
  color: #1c2418;
  background: #f7cb5c;
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: clamp(48px, 7vw, 86px) clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 7vw, 88px);
  align-items: center;
  background: #fff;
}

.intro p:not(.eyebrow),
.seo-text p,
.oil-note p,
.steps p,
.faq p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.03rem;
}

.products {
  background: var(--cream);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 178px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(34, 36, 31, 0.08);
}

.product-type {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--leaf);
  font-weight: 900;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.price {
  margin: 14px 0 0;
  color: var(--moss);
  font-size: 2.55rem;
  font-weight: 950;
  line-height: 1;
}

.add-to-cart {
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  border: 1px solid rgba(37, 77, 51, 0.24);
  border-radius: 8px;
  color: #fff;
  background: var(--moss);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.add-to-cart:hover {
  background: var(--leaf);
}

.oil-note {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid rgba(71, 107, 57, 0.2);
  border-radius: 8px;
  background: #fffaf1;
}

.cart-panel {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid rgba(37, 77, 51, 0.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(34, 36, 31, 0.08);
}

.cart-panel-highlight {
  animation: cart-pulse 900ms ease;
}

@keyframes cart-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(199, 146, 43, 0.5), 0 10px 34px rgba(34, 36, 31, 0.08);
  }

  100% {
    box-shadow: 0 0 0 18px rgba(199, 146, 43, 0), 0 10px 34px rgba(34, 36, 31, 0.08);
  }
}

.cart-header,
.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-header h3 {
  margin: 0;
}

.cart-header span {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--clay);
  font-weight: 900;
}

.cart-empty,
.cart-note {
  color: var(--muted);
  line-height: 1.55;
}

.cart-note {
  margin: 14px 0 0;
  font-size: 0.92rem;
}

.cart-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.cart-row strong,
.cart-row span {
  display: block;
}

.cart-row span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.92rem;
}

.quantity-controls {
  display: inline-grid;
  grid-template-columns: 36px 34px 36px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.quantity-controls button {
  width: 36px;
  height: 36px;
  border: 0;
  color: var(--moss);
  background: #fff;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.quantity-controls span {
  margin: 0;
  color: var(--ink);
  text-align: center;
  font-weight: 900;
}

.cart-total {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 1.2rem;
}

.cart-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.cart-clear {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}

.logistics {
  background: #fff;
}

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

.steps article {
  padding: 24px;
  border-left: 4px solid var(--gold);
  background: #f8f2e7;
}

.steps span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--moss);
  font-weight: 900;
}

.seo-text {
  background: var(--moss);
  color: #fff;
}

.seo-text p {
  max-width: 920px;
  color: rgba(255, 255, 255, 0.82);
}

.faq {
  background: var(--paper);
}

details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 900;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 clamp(18px, 5vw, 72px) 42px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--moss), #5a6e3c 64%, var(--gold));
  box-shadow: var(--shadow);
}

.cta h2 {
  max-width: 760px;
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}

.site-footer p {
  margin: 0;
  font-weight: 900;
}

.site-footer a {
  color: var(--moss);
  font-weight: 900;
}

.policy-page {
  background: #fff;
}

.policy-header {
  position: sticky;
  background: var(--moss);
}

.policy-main {
  padding: 110px clamp(18px, 5vw, 72px) 54px;
}

.policy-hero {
  max-width: 880px;
  padding: 44px 0 34px;
}

.policy-hero h1 {
  color: var(--ink);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
}

.policy-hero p,
.policy-content p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.03rem;
}

.policy-content {
  max-width: 880px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.policy-content h2 {
  margin-bottom: 18px;
}

.policy-content h3 {
  margin-top: 24px;
}

.cookie-notice {
  position: fixed;
  right: clamp(16px, 4vw, 32px);
  bottom: clamp(16px, 4vw, 32px);
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: min(520px, calc(100vw - 32px));
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: #fff;
  background: rgba(37, 77, 51, 0.96);
  box-shadow: var(--shadow);
}

.cookie-notice p {
  margin: 0;
  line-height: 1.45;
}

.cookie-notice a {
  color: #f7cb5c;
  font-weight: 900;
}

.cookie-notice button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  color: #1c2418;
  background: #f7cb5c;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .header-links {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .hero {
    min-height: 94svh;
    padding-top: 154px;
  }

  .intro,
  .product-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .cta,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-card {
    min-height: 142px;
  }
}

@media (max-width: 520px) {
  nav {
    width: 100%;
    justify-content: space-between;
    font-size: 0.88rem;
  }

  .language-switch {
    width: 100%;
    justify-content: space-between;
  }

  .brand {
    font-size: 0.95rem;
  }

  .hero {
    min-height: 96svh;
  }

  .hero-actions,
  .button,
  .cart-actions,
  .cookie-notice {
    width: 100%;
  }

  .cookie-notice {
    right: 0;
    bottom: 0;
    grid-template-columns: 1fr;
    border-radius: 8px 8px 0 0;
  }

  .cart-row {
    grid-template-columns: 1fr;
  }

  .quantity-controls {
    width: 100%;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .quantity-controls button {
    width: 100%;
  }
}
