:root {
  --color-primary: #1A3263;
  --color-secondary: #547792;
  --color-accent: #FFC570;
  --color-surface: #EFD2B0;
  --color-white: #ffffff;
  --color-text: #172033;
  --color-error: #b91c1c;
  --font-base: "Segoe UI", "Inter", Arial, sans-serif;
  --font-heading: "Poppins", "Segoe UI", Arial, sans-serif;
  --shadow-soft: 0 8px 20px rgba(26, 50, 99, 0.14);
  --shadow-hover: 0 12px 24px rgba(26, 50, 99, 0.2);
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 18px;
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: linear-gradient(180deg, #fffefa 0%, #ffffff 100%);
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  margin-top: 0;
  color: var(--color-primary);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--color-secondary);
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.header-top {
  background: var(--color-primary);
  color: var(--color-white);
}

.top-content {
  display: flex;
  justify-content: space-between;
  padding: var(--space-2) 0;
}

.contact-link {
  color: var(--color-white);
}

.header-main {
  background: rgba(239, 210, 176, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 20;
}

.main-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) 0;
}

.brand {
  display: block;
}

.brand img {
  width: 4rem;
  position: relative;
  z-index: 20;
}

.brand img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.brand:hover img {
  transform: rotate(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .brand img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .brand img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 576px) {
  .brand img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 400px) {
  .brand img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

.nav-list {
  display: flex;
  gap: var(--space-3);
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero {
  padding: var(--space-7) 0 var(--space-6);
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}

.eyebrow {
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-secondary);
}

.trust-row,
.price-row {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  margin: var(--space-3) 0;
}

.badge,
.rating {
  background: var(--color-surface);
  border-radius: var(--radius-l);
  padding: var(--space-1) var(--space-3);
}

.old-price {
  color: #555;
  text-decoration: line-through;
}

.new-price {
  color: var(--color-primary);
  font-size: 1.7rem;
  font-weight: 700;
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-soft);
  animation: float 6s ease-in-out infinite;
}

.order {
  padding: var(--space-6) 0;
  background: var(--color-surface);
}

form {
  background: var(--color-white);
  padding: var(--space-4);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-soft);
  border: 1px solid #e6e7ee;
}

label {
  display: block;
  margin: var(--space-2) 0 var(--space-1);
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: var(--space-2);
  border: 1px solid #d1d5db;
  border-radius: var(--radius-s);
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid var(--color-secondary);
  border-color: transparent;
}

.error-message {
  min-height: 18px;
  font-size: 0.85rem;
  color: var(--color-error);
  margin: 0 0 var(--space-1);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 400;
}

.checkbox-row input {
  width: auto;
}

.cta-button {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  border: 0;
  border-radius: var(--radius-m);
  padding: var(--space-2) var(--space-4);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta-button:hover {
  background: var(--color-secondary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

.content-section {
  padding: var(--space-6) 0;
}

.highlight-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.highlight-panels article {
  background: var(--color-white);
  border: 1px solid #e6e7ee;
  border-radius: var(--radius-m);
  padding: var(--space-4);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.highlight-panels article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.notice-card {
  background: #fff8ef;
  border: 1px solid #f2dfc6;
  border-radius: var(--radius-m);
  padding: var(--space-3);
  margin-top: var(--space-3);
}

.alt-bg {
  background: #f9f6f1;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.grid article {
  background: var(--color-white);
  padding: var(--space-4);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.grid article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.ingredient-list {
  padding-left: 20px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.trust-strip article {
  background: var(--color-white);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-s);
  padding: var(--space-3);
}

.interactive-panel {
  margin-top: var(--space-4);
  background: var(--color-white);
  border: 1px solid #e6e7ee;
  border-radius: var(--radius-l);
  padding: var(--space-4);
  box-shadow: var(--shadow-soft);
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.tab-button {
  border: 1px solid #d9deea;
  background: #f8f9fc;
  color: var(--color-primary);
  padding: 10px 16px;
  border-radius: var(--radius-s);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-button:hover,
.tab-button.is-active {
  background: var(--color-primary);
  color: var(--color-white);
}

.plan-output {
  margin-top: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius-s);
  background: #f6f8fc;
}

.uk-note {
  margin-top: var(--space-4);
  background: #f2f6fb;
  border: 1px solid #d7e2ef;
  border-radius: var(--radius-m);
  padding: var(--space-3);
}

.faq-list {
  display: grid;
  gap: var(--space-3);
}

.faq-list article {
  background: var(--color-white);
  border-radius: var(--radius-m);
  padding: var(--space-4);
  box-shadow: var(--shadow-soft);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font: inherit;
  font-weight: 700;
  color: var(--color-primary);
  cursor: pointer;
  padding: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  margin: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

.faq-answer.is-open {
  max-height: 200px;
  margin-top: var(--space-2);
  opacity: 1;
}

.disclaimer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-4) 0;
}

footer {
  background: #111827;
  color: var(--color-white);
  padding: var(--space-3) 0;
}

.footer-line {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.footer-line a {
  color: var(--color-accent);
}

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: min(420px, 92%);
  background: var(--color-white);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-hover);
  padding: var(--space-4);
  z-index: 60;
  animation: slideIn 0.45s ease;
}

.cookie-categories {
  display: grid;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
}

.cookie-actions {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.cookie-actions button {
  border: 0;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-s);
  background: var(--color-primary);
  color: var(--color-white);
  cursor: pointer;
  transition: background 0.2s ease;
}

.cookie-actions button:hover {
  background: var(--color-secondary);
}

.is-hidden {
  display: none;
}

.policy-shell {
  min-height: 70vh;
}

.policy-hero {
  background: linear-gradient(180deg, rgba(84, 119, 146, 0.14), rgba(255, 255, 255, 0));
  padding: var(--space-6) 0 var(--space-4);
}

.policy-card {
  background: var(--color-white);
  border: 1px solid #e6e7ee;
  border-radius: var(--radius-l);
  padding: var(--space-4);
  box-shadow: var(--shadow-soft);
  margin-bottom: var(--space-3);
}

#order-success {
  margin-top: var(--space-3);
}

.policy-meta {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  font-size: 0.92rem;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .two-column {
    grid-template-columns: 1fr;
  }

  .highlight-panels,
  .trust-strip,
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {

  .top-content,
  .main-content {
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
  }

  .nav-list {
    flex-wrap: wrap;
    justify-content: center;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .highlight-panels,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    right: 4%;
    bottom: 12px;
  }
}