/* RESET & BASE STYLES */
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, main, 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;
}

html {
  scroll-behavior: smooth;
  background: #F3F6F1;
}
body {
  font-family: Arial, Helvetica, Arial, sans-serif;
  color: #20523A;
  background: #F3F6F1;
  font-size: 16px;
  line-height: 1.7;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #20523A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #AF8A19;
}
ul, ol {
  list-style: none;
}
main {
  min-height: 60vh;
}

/* BRAND FONTS */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.3rem; margin-bottom: 24px; }
h2 { font-size: 1.6rem; margin-bottom: 20px; }
h3 { font-size: 1.15rem; margin-bottom: 12px; }

@media (min-width: 768px) {
  h1 { font-size: 2.7rem; }
  h2 { font-size: 2.1rem; }
  h3 { font-size: 1.3rem; }
}

p, li, dd {
  font-size: 1rem;
}

.subheadline {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #AF8A19;
  font-size: 1.08rem;
  margin-bottom: 14px;
}

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 20px 0 rgba(32,82,58,0.06), 0 0.5px 1.5px 0 rgba(175,138,25,0.07);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* FLEXBOX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 2px 10px 0 rgba(32,82,58,0.09);
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover,
.card:focus {
  box-shadow: 0 6px 20px 0 rgba(175,138,25,0.18);
  transform: translateY(-4px) scale(1.02) rotate(-0.5deg);
}

.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: #F3F6F1;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(32,82,58,0.07);
  margin-bottom: 20px;
}
.testimonial-card p {
  color: #20523A;
  font-style: italic;
  font-size: 1.08rem;
}
.testimonial-card span {
  color: #AF8A19;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-top: 8px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

ul.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
ul.feature-grid li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: #fffbe6;
  border-radius: 16px;
  padding: 24px 16px 20px 16px;
  min-width: 210px;
  flex: 1 1 160px;
  box-shadow: 0 1px 4px 0 rgba(32,82,58,0.08);
  border-left: 5px solid #AF8A19;
}
ul.feature-grid li img {
  width: 36px;
  margin-bottom: 6px;
}
ul.feature-grid li h3 {
  color: #20523A;
  font-size: 1.03rem;
}

/* PRODUCT CARDS */
.bestsellers ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.bestsellers ul li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 4px 0 rgba(32,82,58,0.06);
  padding: 20px 16px;
  flex: 1 1 180px;
  min-width: 170px;
}

/* HEADER */
header {
  width: 100%;
  background: #20523A;
  color: #fff;
  box-shadow: 0 3px 12px -4px rgba(32,82,58,0.07);
  position: relative;
  z-index: 80;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.16s;
}
header nav a:hover,
header nav a:focus {
  color: #AF8A19;
}
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #AF8A19;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 40px;
  box-shadow: 0 2px 8px 0 rgba(32,82,58,0.10);
  padding: 12px 32px;
  font-size: 1rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #20523A;
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 4px 18px 0 rgba(175,138,25,0.09);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(90deg, #F3F6F1 70%, #fffbe6 100%);
  display: flex;
  align-items: center;
  min-height: 320px;
  border-radius: 32px;
  margin: 36px 0 54px 0;
  box-shadow: 0 2px 20px 0 rgba(32,82,58,0.07);
  position: relative;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 250px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-top: 52px;
  padding-bottom: 52px;
}
.hero h1 {
  color: #20523A;
  text-shadow: 0 4px 12px rgba(175,138,25,0.07);
}
.hero .subheadline {
  color: #AF8A19;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  font-style: italic;
}

/* PRODUCT PAGE MENU */
.product-categories-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
}
.product-categories-menu a {
  background: #fffbe6;
  color: #20523A;
  border-radius: 22px;
  padding: 6px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.16s, color 0.16s, box-shadow 0.17s;
  box-shadow: 0 1px 4px 0 rgba(32,82,58,0.06);
}
.product-categories-menu a:hover, .product-categories-menu a:focus {
  background: #AF8A19;
  color: #fff;
  box-shadow: 0 2px 12px 0 rgba(175,138,25,0.12);
}

/* HIGHLIGHTED ACCESSORY */
.highlighted-accessory {
  background: #AF8A19;
  color: #fff;
  border-radius: 16px;
  padding: 16px 14px;
  box-shadow: 0 2px 12px 0 rgba(32,82,58,0.08);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  margin-top: 12px;
}

/* TEAM BIOS */
.team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.team-bios > div {
  background: #fffbe6;
  border-radius: 14px;
  padding: 24px 16px;
  flex: 1 1 220px;
  min-width: 180px;
  box-shadow: 0 1px 6px 0 rgba(32,82,58,0.07);
}
.team-bios h3 {
  color: #20523A;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

/* FOOTER */
footer {
  width: 100%;
  background: #20523A;
  color: #F3F6F1;
  margin-top: 48px;
  font-size: 1rem;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 32px 0 28px 0;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #F3F6F1;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 4px;
  transition: color 0.16s;
}
footer nav a:hover,
footer nav a:focus {
  color: #AF8A19;
}
.contact-mini {
  font-size: 1rem;
  color: #F3F6F1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}
.contact-mini img {
  width: 18px;
  margin-right: 6px;
  vertical-align: middle;
  display: inline-block;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}
.social-links a {
  background: #F3F6F1;
  border-radius: 50%;
  padding: 7px;
  display: flex;
  align-items: center;
  transition: background 0.16s;
}
.social-links a:hover,
.social-links a:focus {
  background: #AF8A19;
  outline: none;
}
.social-links img {
  width: 22px;
}

/* MOBILE NAV */
.mobile-menu-toggle {
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 200;
  background: #AF8A19;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  box-shadow: 0 2px 8px 0 rgba(32,82,58,0.09);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #20523A;
  color: #AF8A19;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #20523A;
  color: #fff;
  z-index: 220;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.79,.06,.58,.89);
  box-shadow: -6px 0 32px 0 rgba(32,82,58,0.23);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0%);
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  margin: 16px 24px 8px 0;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 240;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #AF8A19;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 36px 24px;
  margin-top: 12px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  padding: 10px 0;
  border-radius: 7px;
  font-weight: 500;
  transition: background 0.14s, color 0.14s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #20523A;
  background: #AF8A19;
  outline: none;
}

@media (max-width: 1000px) {
  header nav { display: none; }
  header .cta-btn { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 1001px) {
  .mobile-menu,
  .mobile-menu-toggle { display: none !important; }
}

/* CARD, SECTIONS, GAP – spacing and shadow requirements */
ul, ol {
  margin-left: 20px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.section,
.card,
ul.feature-grid li,
.team-bios > div,
.bestsellers ul li {
  margin-bottom: 20px;
}

/* COOKIES CONSENT BANNER AND MODAL */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffbe6;
  color: #20523A;
  z-index: 3333;
  padding: 24px 16px 22px 16px;
  border-top: 3px solid #AF8A19;
  box-shadow: 0 -4px 26px 0 rgba(32,82,58,0.16);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  font-size: 1rem;
  flex-wrap: wrap;
}
.cookie-banner p {
  flex: 1 1 160px;
  max-width: 540px;
  color: #20523A;
}
.cookie-btn {
  background: #20523A;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 9px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-right: 8px;
  cursor: pointer;
  font-weight: 500;
  margin-bottom: 6px;
  transition: background 0.16s, color 0.16s;
}
.cookie-btn:last-child { margin-right: 0; }
.cookie-btn:hover,
.cookie-btn:focus {
  background: #AF8A19;
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  color: #AF8A19;
  border: 1.5px solid #AF8A19;
  transition: background 0.14s, color 0.14s;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #AF8A19;
  color: #fff;
}
.cookie-modal-overlay {
  position: fixed;
  top: 0; left:0; right:0; bottom:0;
  background: rgba(32,82,58,0.25);
  z-index: 3400;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 40px 0 rgba(175,138,25,0.10), 0 1.5px 6px 0 rgba(32,82,58,0.09);
  padding: 32px 25px 24px 25px;
  max-width: 450px;
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: cookie-pop .45s cubic-bezier(.61,.02,.67,1.08);
}
@keyframes cookie-pop {
  0% { transform: scale(0.91) translateY(80px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  color: #20523A;
  font-size: 1.23rem;
  margin-bottom: 6px;
}
.cookie-preference-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1.02rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category input[type='checkbox'] {
  accent-color: #AF8A19;
  width: 20px;
  height: 20px;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #20523A;
}
.cookie-modal .close-modal {
  align-self: flex-end;
  background: none;
  border: none;
  color: #AF8A19;
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  margin-top: -14px;
  margin-bottom: 4px;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  color: #20523A;
}

.cookie-category.essential label::after {
  content: '(alltid aktiverad)';
  color: #AF8A19;
  font-size: 0.96em;
  margin-left: 6px;
}
.cookie-category.essential input[type='checkbox'] {
  pointer-events: none;
  opacity: 0.8;
}

/* MODALS: prevent scroll when open */
body.modal-open {
  overflow: hidden;
}

/* OVERRIDES, TABLES, LISTS, ETC. */
dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #AF8A19;
  margin-top: 14px;
}
dd {
  margin-left: 10px;
  margin-bottom: 8px;
}
ol li {
  list-style: decimal inside;
  margin-bottom: 12px;
}
ul li {
  margin-bottom: 7px;
}

/* Animations & Micro-interactions */
.cta-btn, .card, .cookie-btn {
  transition: background 0.18s, color 0.18s, box-shadow 0.20s, transform 0.20s;
}

/* ARTISTIC/CREATIVE TOUCHES */
h1, h2, h3 {
  text-shadow: 0 2px 8px rgba(175,138,25,0.07);
  letter-spacing: 0.01em;
}
ul.feature-grid li, .card, .team-bios > div {
  border-bottom: 3px solid #C2A83B44;
  border-right: 2px solid #20523A15;
  box-shadow: 0 3px 18px 0 rgba(175,138,25,0.03);
  position: relative;
}
ul.feature-grid li::before {
  display: block;
  content: '';
  width: 26px; height: 8px;
  background: #C2A83B44;
  border-radius: 4px;
  margin-bottom: 4px;
}
.bestsellers ul li {
  border-left: 4px solid #C2A83B;
}
.hero {
  border: 4px solid #AF8A19;
  background: linear-gradient(99deg, #fffbe6 70%, #AF8A19 180%);
}

/* BUTTON & LINK HOVER GLIMMER */
.cta-btn::after, .cookie-btn::after {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 0;
  height: 0;
  margin-left: 7px;
  border-radius: 50%;
  background: #fffbe6;
  transition: all 0.18s;
}
.cta-btn:hover::after, .cta-btn:focus::after, .cookie-btn:hover::after, .cookie-btn:focus::after {
  width: 12px;
  height: 12px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .footer-wrapper {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
  }
  .team-bios {
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .card-container, .content-grid, .team-bios, ul.feature-grid, .bestsellers ul {
    flex-direction: column;
    gap: 18px;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 7px;
  }
  .content-wrapper, .text-section {
    gap: 14px;
    padding-left: 0; padding-right: 0;
  }
  .section {
    padding: 24px 7px;
    margin-bottom: 32px;
  }
  .hero {
    border-radius: 19px;
    margin: 20px 0 28px 0;
    min-height: 180px;
    padding-bottom: 12px;
  }
  .hero .container, .hero .content-wrapper {
    padding-top: 28px;
    padding-bottom: 25px;
  }
  .team-bios {
    flex-direction: column;
    gap: 12px;
  }
  ul.feature-grid, .bestsellers ul {
    flex-direction: column;
    gap: 12px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* ADDITIONAL MOBILE NAVIGATION */
@media (max-width: 1000px) {
  header nav, header .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}

/* ENSURE ALL FLEX CONTAINERS */
.card-container, .content-grid, .testimonial-card, .feature-item, .team-bios, ul.feature-grid, .bestsellers ul, .footer-wrapper, .text-image-section, .mobile-nav {
  display: flex;
  flex-wrap: wrap;
}

/* UTILITY CLASSES */
.hidden {
  display: none !important;
}

/* CRITICAL CONTRAST OVERRIDES FOR REVIEW/TESTIMONIALS */
.testimonial-card,
.testimonial-card p,
.testimonial-card span {
  background: #F3F6F1 !important;
  color: #20523A !important;
}

/* END OF CSS */
