/* CSS RESET & BASELINE --------------------------- */
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;
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F9F8F5;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #222;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul, ol { list-style: none; }
button, input, select, textarea {
  font: inherit;
  outline: none;
  background: none;
  border: none;
  color: inherit;
}
:focus { outline: 2px dashed #14706B; outline-offset: 2px; }

/* RETRO VINTAGE PALETTE & FONTS ----------- */
:root {
  --primary: #14706B; /* deep teal */
  --secondary: #97E7CA; /* minty light green */
  --accent: #F2F2F0; /* warm off-white */
  --retro-red: #D98C64;
  --retro-yellow: #FFD36B;
  --retro-orange: #F3AB6E;
  --retro-brown: #A47149;
  --retro-blue: #89A8A1;

  --text-dark: #222;
  --text-light: #FFF;
  --border-color: #C9C8BD;
  --shadow-soft: 0 4px 16px 0 rgba(68, 120, 97, 0.09);
  --shadow-pop: 0 6px 36px 0 rgba(20,112,107,0.14);
  --radius: 10px;
  --radius-large: 30px;
  --transition: 0.22s cubic-bezier(.72,.01,.48,1.01);
  --font-display: 'Montserrat', 'Arial Black', Impact, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* TYPOGRAPHY ------------------------------ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display), serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
}
h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 32px;
  text-shadow: 1px 2px 0 #FFD36B, 1.5px 2px 0 #FFF3E3;
}
h2 {
  font-size: 2rem;
  margin-bottom: 24px;
  color: var(--primary);
  text-shadow: 1px 2px 0 #FFD36B77;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: var(--retro-brown);
  font-weight: 700;
  letter-spacing: 0.5px;
}
h4, h5 {
  font-size: 1.03rem;
  margin-bottom: 6px;
}
p, ul, ol, li {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 0.75em;
  color: var(--text-dark);
}
strong {
  font-weight: 800;
  color: var(--primary);
}

/* VINTAGE FONT EFFECTS (distinct look) */
.hero h1, .cta-banner h2 {
  font-family: var(--font-display), serif;
  font-weight: 900;
  font-size: 2.75rem;
  color: var(--retro-red);
  letter-spacing: .06em;
  text-shadow: 2px 2px 1px #FFD36B, 0px 1.5px 0 #FFF3E3;
}

/* SPACING + LAYOUTS ---------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #FFFDF7;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
  min-width: 260px;
  max-width: 370px;
}
.card:hover {
  box-shadow: var(--shadow-pop);
  transform: translateY(-4px) scale(1.02);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 28px 24px;
}

.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: #FFFDF9;
  border-radius: var(--radius);
  border: 2px solid var(--retro-blue);
  box-shadow: 0 2px 12px 0 rgba(52,82,60,0.10);
  margin-bottom: 24px;
  color: #2B2B23;
}
.testimonial-card p {
  color: #222;
  margin-bottom: 0;
  font-size: 1.13rem;
  flex: 1;
}
.testimonial-card span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1em;
  color: var(--retro-red);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* Features grid (for .feature-grid) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 12px;
}
.feature-grid > div {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 270px;
  background: #FFF8F0;
  border-radius: var(--radius-large);
  border: 2.5px dotted var(--retro-yellow);
  box-shadow: 0 2px 10px 0 rgba(188,150,54,0.04);
  padding: 25px 20px 20px 20px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.feature-grid > div img {
  width: 40px; height: 40px;
  margin-bottom: 16px;
  filter: sepia(0.26) contrast(0.98) saturate(0.82);
}
.feature-grid > div:hover {
  box-shadow: var(--shadow-pop);
  border-color: var(--primary);
  transform: scale(1.035);
}

/* LISTS & SECTIONS ----------------------- */
.product-category-list,
.guide-list,
.inspiration-list,
.store-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
}
.product-category-list li,
.guide-list li,
.inspiration-list li,
.store-list li {
  background: #FFF9E7;
  border-radius: var(--radius);
  border: 1.5px dashed var(--retro-orange);
  box-shadow: 0 2px 8px 0 rgba(232,170,78,0.070);
  padding: 20px 18px;
  min-width: 210px;
  flex: 1 1 210px;
  margin-bottom: 0;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.product-category-list li:hover,
.guide-list li:hover,
.inspiration-list li:hover {
  box-shadow: var(--shadow-pop);
  border-color: var(--retro-red);
}

.store-list li strong {
  color: var(--primary);
}

/* HERO SECTIONS -------------------------- */
.hero {
  background: repeating-linear-gradient(120deg, #FFD36B 0 10px, #FFF8F0 10px 20px), var(--secondary);
  padding: 60px 0 60px 0;
  margin-bottom: 0px;
  border-bottom: 5px double var(--retro-orange);
  position: relative;
}

.hero .content-wrapper {
  align-items: center;
  text-align: center;
}
.hero p {
  max-width: 550px;
  font-size: 1.2rem;
  margin-left: auto;
  margin-right: auto;
  color: #3D3A2B;
}

/* CTA BANNER ----------------------------- */
.cta-banner {
  background: var(--retro-red);
  color: var(--text-light);
  padding: 38px 0 38px 0;
  margin-top: 52px;
  border-radius: var(--radius-large);
  box-shadow: 0 6px 28px 0 rgba(217,140,100,0.10);
  text-align: center;
}
.cta-banner h2 {
  color: #fff;
  margin-bottom: 22px;
  text-shadow: 2.5px 3px 0 #D98C64ac;
}

/* BUTTONS & LINKS ------------------------ */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 26px;
  padding: 0.95em 2.1em;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(20,112,107,0.11);
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.cta-btn:after {
  content: '';
  display: block;
  position: absolute;
  left: 13px; bottom: 14px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--retro-yellow);
  opacity: .19;
  z-index: 0;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--retro-yellow);
  color: var(--primary);
  transform: translateY(-3px) scale(1.04) rotate(-0.5deg);
  box-shadow: 0 6px 26px 0 rgba(217,140,100,0.13);
}
a {
  color: var(--primary);
  text-decoration: underline dotted var(--retro-orange) 1.5px;
  border-radius: 2px;
}
a:hover, a:focus {
  color: var(--retro-red);
  background: #FFF7E0;
  text-decoration-style: solid;
}

/* HEADER & NAVIGATION --------------------- */
.flex-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 22px;
  padding-bottom: 22px;
}
header {
  background: var(--accent);
  border-bottom: 2.5px solid var(--border-color);
  position: relative;
}
header img {
  max-height: 48px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.5px;
  background: transparent;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
header nav a:hover, header nav a.active {
  background: var(--retro-yellow);
  color: #5E3019;
}

/* MOBILE BURGER MENU ---------------------- */
.mobile-menu-toggle {
  display: none;
  background: var(--retro-red);
  color: #fff;
  font-size: 2.4rem;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 130;
  cursor: pointer;
  transition: background var(--transition);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--retro-yellow);
  color: var(--primary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #FCF8F2;
  box-shadow: -3px 0 24px 0 rgba(0,0,0,0.13);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.53,.01,.38,1.09);
  display: flex;
  flex-direction: column;
  padding: 32px 32px 24px 32px;
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: all;
}
.mobile-menu-close {
  background: var(--retro-red);
  color: #fff;
  font-size: 2.2rem;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-self: flex-end;
  margin-bottom: 35px;
  cursor: pointer;
  transition: background var(--transition);
  z-index: 201;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--retro-yellow);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 10px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.7px;
  color: var(--primary);
  padding: 14px 0 14px 12px;
  border-radius: 10px;
  background: transparent;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: var(--retro-yellow);
  color: var(--retro-red);
}
@media (max-width: 1100px) {
  header nav {
    gap: 7px;
  }
}
@media (max-width: 900px) {
  .flex-header {
    flex-wrap: wrap;
  }
  header nav {
    gap: 0.66em;
  }
}
@media (max-width: 768px) {
  .flex-header nav, .flex-header .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .flex-header {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* FOOTER ---------------------------------- */
footer {
  background: var(--accent);
  border-top: 2px solid var(--border-color);
  padding: 40px 0 26px 0;
  margin-top: 48px;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
footer nav a {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--retro-brown);
  transition: color .21s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--primary);
}
.footer-contact p, .footer-contact a {
  color: #666249;
  font-size: 0.96em;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.footer-contact img { width: 22px; height: 22px; margin-right: 5px; }
footer img { max-height: 44px; }
@media (max-width: 700px) {
  .footer-wrapper { flex-direction: column; gap: 22px; align-items: flex-start; }
}

/* RESPONSIVE & MOBILE LAYOUTS ------------- */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .feature-grid > div, .card {
    min-width: 180px; max-width: 99vw;
    padding-left: 12px; padding-right: 12px;
  }
}
@media (max-width: 768px) {
  .content-grid, .feature-grid, .card-container, .product-category-list, .guide-list, .inspiration-list, .store-list {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 17px;
  }
  .section {
    margin-bottom: 33px;
    padding: 23px 7px;
  }
  .hero {
    padding: 36px 0 39px 0;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section { flex-direction: column !important; gap: 15px; align-items: flex-start; }
}

/* CARDS & DETAILS ------------------------- */
.card .card-content { padding: 21px 15px; }

/* ACCORDION & MICROINTERACTIONS - N/A for these pages
 * If forms/accordions appear, mimic classic vintage transitions.
*/

/* VINTAGE DECORATIVE ELEMENTS -------------- */
.section, .feature-grid > div, .card, .testimonial-card, .cta-banner, .store-list li, .product-category-list li, .inspiration-list li, .guide-list li {
  background-repeat: repeat;
  background-image:
    repeating-linear-gradient(-45deg, #FFD36B 0 2.5px, transparent 3.5px 10px),
    repeating-linear-gradient(45deg, #F3AB6E33 0 2.8px, transparent 3.8px 9px);
  background-position: left bottom;
  background-size: 70px 70px, 50px 50px;
}

/* COOKIE CONSENT BANNER ------------------- */
.cookie-banner {
  position: fixed;
  z-index: 950;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #FFF7E9;
  color: #352602;
  font-family: var(--font-body);
  padding: 20px 16px 22px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -6px 22px 0 rgba(217,140,100,0.11);
  border-top: 2.5px solid var(--retro-orange);
  font-size: 1rem;
  transition: transform 0.33s cubic-bezier(.54,.01,.52,1.03);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-banner-text {
  flex: 1 1 220px;
  max-width: 500px;
}
.cookie-btn-group {
  display: flex;
  gap: 12px;
}
.cookie-btn {
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 9px 23px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(20,112,107,0.10);
  margin-right: 6px;
  transition: background .2s, color .2s, transform .18s;
}
.cookie-btn:last-child { margin-right: 0; }
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--retro-red);
  color: var(--retro-yellow);
  transform: translateY(-2px) scale(1.04);
}
.cookie-btn.settings {
  background: var(--retro-yellow);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.cookie-btn.settings:hover {
  background: var(--primary);
  color: #FFF;
}
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; gap: 10px; padding-left: 6px; padding-right: 6px; }
  .cookie-btn-group { flex-direction: column; gap: 7px; }
}

/* COOKIE SETTINGS MODAL ------------------- */
#cookie-modal-root {
  position: fixed;
  z-index: 1100;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(201,200,189,0.46);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; opacity: 0;
  transition: opacity .26s;
}
#cookie-modal-root.open {
  pointer-events: auto; opacity: 1;
}
.cookie-modal {
  background: #FFF8F0;
  border-radius: var(--radius-large);
  box-shadow: 0 8px 44px 0 rgba(188,150,54,0.13);
  padding: 33px 24px 24px 24px;
  min-width: 340px; max-width: 99vw;
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  font-family: var(--font-body);
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 19px;
  background: var(--retro-red);
  color: #fff;
  width: 37px; height: 37px; border-radius: 50%;
  border: none; font-size: 1.4rem;
  cursor: pointer;
  transition: background .2s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--primary);
}
.cookie-modal-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 5px;
  font-weight: bold;
}
.cookie-modal-category {
  font-weight: bold; color: var(--retro-brown);
  display: flex; align-items: center; gap: 11px;
  margin-top: 12px;
}
.cookie-modal-category input[type='checkbox'] {
  width: 22px; height: 22px; accent-color: var(--primary);
}
.cookie-modal-desc {
  color: #242216;
  font-size: .98em;
  margin-bottom: 7px;
}
.cookie-modal-actions {
  width: 100%; display: flex; gap: 9px; margin-top: 22px;
}

/* ACCESSIBILITY & TRANSITIONS ------------- */
* { box-sizing: border-box; }
:focus-visible {
  outline: 2.5px dashed #97E7CA;
  outline-offset: 2.5px;
}
button:active, .cta-btn:active, .cookie-btn:active { transform: scale(0.98); }

/* RETRO MICROTWEAKS & PATTERNS ------------ */
.section, .card, .feature-grid > div, .product-category-list li, .guide-list li, .inspiration-list li, .store-list li {
  box-shadow: 0 1.5px 8px 0 rgba(247, 194, 120, 0.13), var(--shadow-soft);
}

/* UTILS ----------------------------------- */
.hide { display: none !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 20px !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.w-100 { width: 100% !important; }

/* END ------------------------------------- */
