/* --- CSS RESET & NORMALIZE --- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #EFE6DB;
  min-height: 100vh;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img, svg {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}
button { appearance: none; border: none; background: none; font: inherit; cursor: pointer;}

/* --- BASE THEME & FONTS --- */
:root {
  --primary: #154734;
  --secondary: #EFE6DB;
  --accent: #C87941;
  --dynamic1: #fff6a8;
  --dynamic2: #fba603;
  --dynamic3: #68c9ad;
  --dynamic4: #ed5e7b;
  --dynamic5: #71bbea;
  --gray: #e6e6e6;
  --shadow: 0 4px 24px 0 rgb(60 45 17 / 12%);
  --radius: 18px;
  --transition: all 0.25s cubic-bezier(.27,1.12,.48,.99);
  --gap: 24px;
  --font-display: 'Montserrat', 'Arial Rounded MT Bold', 'Arial', sans-serif;
  --font-body: 'Open Sans', 'Arial', sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--primary);
  background: var(--secondary);
  font-size: 16px;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; color: var(--accent); }
h2 { font-size: 2rem; margin-bottom: 14px; color: var(--primary);}
h3 { font-size: 1.25rem; margin-bottom: 10px; color: var(--dynamic2);}
h4 { font-size: 1rem; margin-bottom: 7px; color: var(--dynamic4);}

p, li, blockquote {
  font-family: var(--font-body);
  font-size: 16px;
  margin-bottom: 6px;
}
strong { font-weight: 700; color: var(--primary); }

/* --- LINK & BUTTON STYLES --- */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 44px;
  padding: 0 28px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  outline: none;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.08);
  margin: 12px 0 0 0;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.04em;
  background-size: 100% 200%;
  background-position-y: 0;
}
.btn-primary {
  background: linear-gradient(var(--accent) 55%, var(--dynamic4) 100%);
  color: #fff;
  border: 2px solid var(--accent);
  box-shadow: 0 3px 12px 1px rgba(200,121,65, 0.10);
}
.btn-primary:hover, .btn-primary:focus {
  background-position-y: 100%;
  background: linear-gradient(to top, var(--dynamic4) 65%, var(--accent) 100%);
  color: #fff01f;
  transform: translateY(-2px) scale(1.03) rotate(-2deg);
  box-shadow: 0 6px 32px 0 rgba(237,94,123,0.13);
}
.btn-secondary {
  background: var(--dynamic1);
  color: var(--primary);
  border: 2px solid var(--dynamic2);
  box-shadow: 0 3px 12px 1px rgba(251,166,3, 0.10);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--dynamic2);
  color: #fff;
  border-color: var(--dynamic4);
  transform: scale(1.04) rotate(2deg);
  box-shadow: 0 8px 24px 0 rgba(251,166,3,0.13);
}

/* --- HEADER / NAVIGATION --- */
header {
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(21,71,52,0.08);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 20;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 0 20px;
  min-height: 68px;
}
nav img {
  margin-right: 16px;
  width: auto;
  height: 44px;
}
nav a:not(.btn-primary) {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--primary);
  background: none;
  padding: 6px 14px;
  transition: var(--transition);
  border-radius: 10px;
}
nav a:not(.btn-primary):hover, nav a:not(.btn-primary):focus {
  background: var(--dynamic3);
  color: #fff;
  transform: rotate(3deg) scale(1.08);
}
nav a.btn-primary {
  margin-left: auto;
  margin-right: 0;
}

@media (max-width: 1120px) {
  nav a.btn-primary {
    margin-left: 0;
  }
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  background: var(--dynamic4);
  color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 12px;
  right: 18px;
  z-index: 50;
  box-shadow: 0 2px 8px 0 rgba(237,94,123,.15);
  transition: var(--transition);
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  outline: 2px solid var(--dynamic1);
  background: var(--dynamic2);
  color: var(--primary);
  transform: scale(1.04);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 5px 28px 0 rgba(21,71,52,0.35);
  z-index: 99;
  transform: translateX(-110vw);
  pointer-events: none;
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 0 40px 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 18px 8px 0;
  font-size: 2rem;
  background: var(--dynamic4);
  color: #fff;
  border-radius: 50%;
  width: 44px; height: 44px;
  box-shadow: 0 2px 8px 0 rgba(237,94,123,.14);
  transition: var(--transition);
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: var(--accent);
  color: #fff6a8;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 16px 32px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  padding: 16px 0 5px 0;
  color: var(--primary);
  border-bottom: 2px solid var(--gray);
  font-size: 1.2rem;
  transition: var(--transition);
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--dynamic4);
  background: var(--dynamic1);
  border-radius: 10px;
}

@media (max-width: 950px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 951px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- CONTAINERS & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  min-width: 230px;
}

.card:hover, .card:focus {
  box-shadow: 0 8px 36px 0 rgba(200,121,65,0.15);
  transform: scale(1.04) rotate(-2deg);
  z-index: 2;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  position: relative;
  transition: var(--transition);
  border-left: 8px solid var(--dynamic3);
}
.testimonial-card:hover {
  border-left-color: var(--dynamic4);
  transform: scale(1.035) rotate(-1deg);
  box-shadow: 0 8px 32px 0 rgba(21,71,52,0.12);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HERO SECTIONS (DYNAMIC, PLAYFUL) --- */
.hero, .shop-hero, .inspiration-hero, .guides-hero, .contact-hero, .thank-you {
  background: var(--dynamic1);
  border-radius: 0 0 52px 52px;
  box-shadow: 0 2px 48px 0 rgba(251,166,3,0.15);
  margin-bottom: 44px;
  padding: 52px 0 38px 0;
  overflow: visible;
}
.hero h1, .shop-hero h1, .inspiration-hero h1, .guides-hero h1, .contact-hero h1, .thank-you h1 {
  color: var(--accent);
  font-size: 2.7rem;
}
.hero p, .shop-hero p, .inspiration-hero p, .guides-hero p, .contact-hero p, .thank-you p {
  font-size: 18px;
  color: var(--primary);
}

/* --- SPECIAL SECTIONS --- */
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: stretch;
}
.features .feature-grid > div {
  background: var(--dynamic5);
  color: #fff;
  border-radius: var(--radius);
  padding: 20px 18px 18px;
  flex: 1 1 210px;
  box-shadow: 0 2px 14px 0 rgba(113,187,234,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: var(--transition);
  min-width: 200px;
}
.features .feature-grid > div:hover {
  background: var(--dynamic3);
  color: var(--accent);
  box-shadow: 0 6px 24px 0 rgba(104,201,173,0.13);
  transform: translateY(-3px) scale(1.045);
}
.features .feature-grid img {
  width: 42px; height: 42px;
  margin-bottom: 8px;
}
.products-highlight .product-teasers,
.product-list .product-cards {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
  justify-content: flex-start;
}
.products-highlight .product-teasers > div,
.product-list .product-cards > div {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px 20px 20px;
  min-width: 210px;
  flex: 1 1 200px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: var(--transition);
}
.products-highlight .product-teasers > div:hover, 
.product-list .product-cards > div:hover {
  background: var(--dynamic1);
  box-shadow: 0 6px 38px 0 rgba(251,166,3,0.12);
  transform: scale(1.04) rotate(2deg);
}
.products-highlight h3, .product-list h3 {
  color: var(--dynamic4);
}
.products-highlight .btn-secondary,
.product-list .btn-secondary {
  margin-top: 14px;
  align-self: flex-end;
}
.inspiration-snippets, .guide-teasers {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 10px 0 10px 0;
  justify-content: flex-start;
}
.inspiration-snippets article, .guide-teasers article {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px 16px 18px;
  min-width: 220px;
  flex: 1 1 220px;
  margin-bottom: 12px;
  transition: var(--transition);
}
.inspiration-snippets article:hover,
.guide-teasers article:hover {
  box-shadow: 0 6px 30px 0 rgba(237,94,123,0.10);
  transform: rotate(-2deg) scale(1.03);
  background: var(--dynamic5);
  color: #fff;
}
.trend-highlights, .tips-highlight {
  background: var(--dynamic3);
  color: #fff;
  border-radius: var(--radius);
  padding: 18px 18px 16px 18px;
  margin-top: 22px;
  transition: var(--transition);
}
.trend-highlights ul, .tips-highlight ul {
  margin-left: 14px;
}
.trend-highlights li, .tips-highlight li {
  font-size: 1.1em;
  margin-bottom: 5px;
}

.cta {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 36px 0 40px 0;
  box-shadow: 0 4px 22px 0 rgba(21,71,52,0.13);
  color: #fff;
  text-align: center;
  margin-bottom: 60px;
}
.cta h2 {
  color: var(--dynamic1);
}
.cta p {
  color: #fff;
}

/* --- TESTIMONIAL CARDS --- */
.testimonials .testimonial-card {
  background: #fff;
  color: var(--primary);
  border-left: 8px solid var(--dynamic3);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  align-items: flex-start;
  gap: 16px;
}
.testimonial-card img {
  width: 28px; height: 28px; margin-right: 3px;
}
.testimonial-card blockquote {
  font-size: 1.1em;
  font-style: italic;
  color: var(--dynamic4);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
  font-family: var(--font-display);
}
.testimonial-card strong {
  color: var(--accent);
}

/* --- FAQ SECTION --- */
.faq ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px;
}
.faq li strong {
  color: var(--dynamic4);
}

/* --- CARDS --- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

/* --- FOOTER --- */
footer {
  background: #fff;
  border-top: 5px solid var(--dynamic2);
  margin-top: 80px;
  font-size: 15px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px 0 20px 0;
}
footer img {
  margin-bottom: 10px;
  height: 40px;
}
footer nav, .footer-contacts, .footer-socials {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 15px;
}
footer nav a:hover { color: var(--accent); text-decoration: underline; background: var(--dynamic1); }
.footer-contacts img {
  width: 20px;
  height: 20px;
  margin-right: 4px;
}
.footer-socials {
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.footer-copy {
  width: 100%;
  margin-top: 24px;
  text-align: center;
  color: var(--dynamic2);
  font-family: var(--font-display);
  font-size: 13px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffde7;
  border-top: 4px solid var(--dynamic2);
  box-shadow: 0 -4px 24px 0 rgba(200,121,65,.15);
  z-index: 200;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 18px 22px 18px;
  font-size: 1rem;
  transition: var(--transition);
  animation: cookieSlideIn 0.7s cubic-bezier(.27,1.12,.48,.99);
}
@keyframes cookieSlideIn {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-banner-msg {
  flex: 1 1 60%;
  font-size: 1.02rem;
  color: var(--primary);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  border-radius: 8px;
  padding: 8px 18px;
  font-family: var(--font-display);
  font-weight: 700;
  outline: none;
  border: 2px solid var(--accent);
  background: var(--dynamic2);
  color: var(--primary);
  margin: 0;
  cursor: pointer;
  font-size: 1em;
  transition: var(--transition);
  box-shadow: 0 2px 10px 0 rgba(251,166,3,0.08);
}
.cookie-banner button:hover {
  background: var(--dynamic4);
  color: #fff;
  border-color: var(--dynamic4);
}
.cookie-banner .cookie-settings {
  background: var(--dynamic1);
  color: var(--primary);
  border-color: var(--dynamic3);
}
.cookie-banner .cookie-settings:hover {
  background: var(--dynamic3);
  color: #fff;
  border-color: var(--accent);
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  z-index: 210;
  left: 0; right: 0; top:0; bottom:0;
  background: rgba(21,71,52, 0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 10px 44px 0 rgba(200,121,65,0.17);
  min-width: 320px;
  max-width: 400px;
  padding: 34px 30px 24px;
  animation: popOpen .44s cubic-bezier(.32,1.22,.41,1);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@keyframes popOpen {
  from {transform: scale(0.85) translateY(60px); opacity: 0;}
  to   {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal-dialog h2 {
  color: var(--accent);
  margin-bottom: 8px;
  font-size: 1.25em;
  text-align: center;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
}
.cookie-category input[type="checkbox"], .cookie-category input[type="radio"] {
  width: 18px; height: 18px;
  accent-color: var(--dynamic2);
}
.cookie-category label {
  font-weight: 600;
  color: var(--primary);
}
.cookie-category.cookie-essential label {
  color: var(--dynamic3);
}
.cookie-modal button {
  margin-top: 8px;
  margin-right: 0;
  box-shadow: none;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1.3em;
  background: var(--dynamic4);
  color: #fff;
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}
.cookie-modal .close-modal:focus, .cookie-modal .close-modal:hover {
  background: var(--accent);
  color: var(--dynamic1);
}

/* --- MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .feature-grid, .product-teasers, .product-cards, .inspiration-snippets, .guide-teasers {
    flex-direction: column;
    gap: 18px;
  }
  .footer-contacts, .footer-socials { gap: 6px; }
  .section { padding: 32px 7vw; }
}

@media (max-width: 768px) {
  .container {
    padding: 0 7px;
  }
  .section { padding: 32px 2vw; }
  .content-wrapper { gap: 12px; }
  .hero, .shop-hero, .inspiration-hero, .guides-hero, .contact-hero, .thank-you {
    border-radius: 0 0 30px 30px;
    padding: 36px 0 22px 0;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .cta { padding: 26px 0 24px 0; }
  .footer-copy { font-size: 12px; }
  .footer-socials img { height: 24px; }
  .footer-contacts p { font-size: 13px; }
  .testimonial-card { padding: 14px; gap: 9px; }
}

@media (max-width: 670px) {
  .feature-grid, .product-teasers, .product-cards, .inspiration-snippets, .guide-teasers, .trend-highlights, .tips-highlight {
    flex-direction: column;
    gap: 12px;
  }
  nav {
    padding: 0 9px;
  }
  .mobile-menu { padding-bottom: 84px; }
  .cookie-banner { flex-direction: column; gap: 10px; padding: 17px 7px 17px 7px; }
  .cookie-banner .cookie-actions { flex-wrap: wrap; gap: 8px; }
  .footer-copy { margin-top: 16px; }
}

@media (max-width: 540px) {
  .hero h1, .shop-hero h1, .inspiration-hero h1, .guides-hero h1, .contact-hero h1, .thank-you h1 { font-size: 1.4rem; }
  h2 { font-size: 1.02rem; margin-bottom: 7px; }
  h3 { font-size: 1rem; }
  nav img, footer img { height: 28px; }
  .testimonial-card { font-size: 0.95em; }
  .cookie-modal-dialog { min-width: 92vw; max-width: 97vw; padding: 18px 9px; }
}

/* --- PLAYFUL MICRO-ANIMATIONS --- */
@media (hover: hover) and (pointer: fine) {
  a, .btn-primary, .btn-secondary {
    transition: var(--transition);
  }
  .btn-primary, .btn-secondary {
    will-change: transform;
  }
  .testimonial-card, .card, .inspiration-snippets article, .guide-teasers article, .products-highlight .product-teasers > div, .product-list .product-cards > div {
    transition: var(--transition);
    will-change: transform;
  }
  .testimonial-card:hover {
    box-shadow: 0 12px 48px 0 rgba(237,94,123,0.18);
  }
}

/* --- SCROLLBAR (optional playful highlight) --- */
::-webkit-scrollbar { width: 10px; background: var(--secondary); }
::-webkit-scrollbar-thumb { background: var(--dynamic2); border-radius: 7px; }

/* --- UTILITIES --- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.flex-row   { display: flex; flex-direction: row; }
.flex-col   { display: flex; flex-direction: column; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }

/* --- FORMS (simple, to style contact ul lists) --- */
.contact-form ul, .section > ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-form li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1em;
}

/* --- ENSURE MINIMUM MARGINS BETWEEN CARDS & SECTIONS --- */
.products-highlight .product-teasers > div,
.product-list .product-cards > div,
.inspiration-snippets article,
.guide-teasers article,
.trend-highlights, .tips-highlight,
.section,
.card {
  margin-bottom: 20px;
}
