:root {
  --color-primary: #3D2C2C;
  --color-secondary: #5A4040;
  --color-accent: #FFAB91;
  --color-bg-light: #FFF5F2;
  --color-bg-alt: #FFE8E0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Button base fixes ── */
button,
.btn,
[class*="btn-"],
a[href="#order_form"] {
  white-space: nowrap;
  min-width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

form button[type="submit"] {
  white-space: normal;
  width: 100%;
  display: flex;
}

/* ── Scroll Animations ── */
html.js-anim html.js-anim [data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
html.js-anim html.js-anim [data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Rotate utility ── */
.rotate-180 {
  transform: rotate(180deg);
}

/* ── Decorative backgrounds ── */
.decor-grid-dots {
  background-image: radial-gradient(circle, var(--color-accent) 1px, transparent 1px);
  background-size: 24px 24px;
}

.decor-grid-lines {
  background-image:
    linear-gradient(var(--color-bg-alt) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-bg-alt) 1px, transparent 1px);
  background-size: 40px 40px;
}

.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    var(--color-bg-alt) 10px,
    var(--color-bg-alt) 11px
  );
}

.decor-mesh {
  background: radial-gradient(ellipse at 20% 50%, rgba(255, 171, 145, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(61, 44, 44, 0.08) 0%, transparent 50%);
}

/* ── Intensity modifiers ── */
.decor-subtle { opacity: 0.05; }
.decor-moderate { opacity: 0.10; }
.decor-bold { opacity: 0.20; }

/* ── Gradient blur decorations ── */
.decor-gradient-blur::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 171, 145, 0.25) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.decor-gradient-blur::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 44, 44, 0.12) 0%, transparent 70%);
  bottom: -80px;
  left: -80px;
  pointer-events: none;
}

/* ── Corner accents ── */
.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(225deg, rgba(255, 171, 145, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.decor-corner-bl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, rgba(255, 171, 145, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

/* ── Glow element ── */
.decor-glow-element {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 171, 145, 0.35) 0%, transparent 65%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

/* ── Concentric rings ── */
.decor-rings-svg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at center, transparent 60px, rgba(255, 171, 145, 0.12) 61px, transparent 62px),
    radial-gradient(circle at center, transparent 100px, rgba(255, 171, 145, 0.08) 101px, transparent 102px),
    radial-gradient(circle at center, transparent 150px, rgba(255, 171, 145, 0.05) 151px, transparent 152px);
  pointer-events: none;
}

/* ── Rating stars ── */
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--color-accent);
}

/* ── Order form styling ── */
.order-form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: white;
  color: #111827;
  outline: none;
}

.order-form-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255, 171, 145, 0.15);
}

.order-form-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-error-msg {
  display: none;
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.form-error-msg.visible {
  display: block;
}

/* ── Testimonial slider ── */
.testimonial-slider {
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: 0 0.5rem;
}

@media (min-width: 768px) {
  .testimonial-slide {
    flex: 0 0 50%;
  }
}

@media (min-width: 1024px) {
  .testimonial-slide {
    flex: 0 0 33.333%;
  }
}

/* ── FAQ accordion ── */
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-answer.open {
  max-height: 500px;
}

/* ── Trust badge ── */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  background: rgba(255, 171, 145, 0.15);
  border: 1px solid rgba(255, 171, 145, 0.4);
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* ── Product image wrapper ── */
.product-img-glow {
  position: relative;
}

.product-img-glow::before {
  content: '';
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, rgba(255, 171, 145, 0.4) 0%, transparent 70%);
  filter: blur(30px);
  z-index: 0;
  border-radius: 50%;
}

.product-img-glow img {
  position: relative;
  z-index: 1;
}

/* ── Card hover ── */
.card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(61, 44, 44, 0.12);
}

/* ── Section divider ── */
.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), rgba(255, 171, 145, 0.3));
  border-radius: 9999px;
  margin: 0 auto;
}

/* ── Gradient text ── */
.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Benefit icon wrapper ── */
.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  background: rgba(255, 171, 145, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* ── Scrollbar styling ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 3px;
}

/* ── Focus visible ── */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ── Print ── */
@media print {
  header, footer, #cookie-consent { display: none !important; }
  main { padding-top: 0 !important; }
}