/* 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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section { display: block; }
body { line-height: 1.5; background: #fff; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { background: none; border: none; cursor: pointer; font: inherit; }

/* VINTAGE RETRO PALETTE + BRAND */
:root {
  --primary: #17417E;
  --secondary: #FFBB33;
  --accent: #FFFFFF;
  --vintage-blue: #506D8B;
  --vintage-coral: #FF8462;
  --vintage-mint: #B8E0D2;
  --vintage-cream: #FFF6E0;
  --vintage-brown: #67504B;
  --text-dark: #42342D;
  --text-light: #FFFFFF;
  --border-vintage: #C2AE7D;
  --shadow-vintage: 0 3px 14px 0px #C1BCC1CC;
  --section-bg: #FFF6E0;
  --gap-section: 24px;
}

/* FONT SETUP */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');
body {
  background: var(--section-bg);
  color: var(--text-dark);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: var(--primary);
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.4rem; margin-bottom: 10px; color: var(--vintage-brown); }
h4 { font-size: 1.2rem; }
p, li {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}
strong { font-weight: 700; }
.text-section p { font-size: 1.11rem; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
}

/* GENERAL LAYOUT */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--section-bg);
  border-radius: 18px;
  box-shadow: var(--shadow-vintage);
}
@media (max-width:768px) {
  .section { padding: 22px 6px; }
  .content-wrapper { gap: 18px; }
}

/* FLEXBOX ALIGNMENT PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--accent);
  box-shadow: var(--shadow-vintage);
  border-radius: 16px;
  margin-bottom: 20px;
  position: relative;
  padding: 24px 18px;
  border: 2px solid var(--border-vintage);
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 20px 0px var(--vintage-coral);}

.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;
}
@media (max-width:768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap:14px; }
  .content-grid{ flex-direction: column; gap:14px; }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--vintage-mint);
  border-radius: 18px;
  border: 2px solid var(--border-vintage);
  margin-bottom: 20px;
  box-shadow: 0 3px 14px 0px #B6CDC1a0;
  max-width: 420px;
  min-width: 220px;
  transition: box-shadow 0.22s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 5px 18px 0px var(--vintage-coral);
  transform: translateY(-4px) scale(1.016);
}

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

/* CORE SECTIONS (Specials) */
.hero,
.shop-hero,
.categories-hero,
.guides-hero,
.howto-hero,
.thank-you-section {
  background: var(--secondary);
  background-image: repeating-linear-gradient(135deg, #F8E7C3 0px, #F8E7C3 25px, #FFEDC2 25px, #FFEDC2 50px );
  padding: 60px 0 40px 0;
}
.hero h1, .shop-hero h1, .categories-hero h1, .guides-hero h1, .howto-hero h1, .thank-you-section h1 {
  color: var(--primary);
  margin-bottom: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  text-shadow: 1px 2px 0px #fff5d7;
}
.hero .cta-btn, .shop-hero .cta-btn, .thank-you-section .cta-btn {
  margin-top: 22px;
}

/* Feature grid (index) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature {
  flex: 1 1 200px;
  background: var(--accent);
  border: 2px solid var(--border-vintage);
  border-radius: 18px;
  box-shadow: var(--shadow-vintage);
  padding: 28px 20px 22px 20px;
  min-width: 180px;
  max-width: 270px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .18s, box-shadow .22s;
}
.feature:hover {
  box-shadow: 0 6px 28px 0px #e8a972b5;
  transform:translateY(-5px) scale(1.025);
}
.feature img {
  height: 46px;
  margin-bottom: 12px;
  filter: sepia(0.6) hue-rotate(-10deg) saturate(0.7);
}
.feature h3 { font-size: 1.15rem; font-weight: 900; }

/* PRODUCT CARD LISTING (shop) */
.product-listing ul, .product-filters ul { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 12px; }
.product-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: 0.98rem;
  background: var(--vintage-cream);
  border-radius: 12px;
  padding:14px 18px;
  margin-bottom: 20px;
  border:1px dashed var(--border-vintage);
}
.product-filters li {
  background: var(--secondary);
  border-radius: 7px;
  padding: 5px 13px;
  color: var(--primary);
  font-weight: 700;
  transition: background 0.18s, color 0.18s;
  cursor:pointer;
}
.product-filters li:hover {
  background: var(--primary);
  color: var(--accent);
}
.product-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 22px;
}
.product-card {
  flex: 1 1 120px;
  min-width: 200px;
  max-width: 320px;
  border: 2px solid var(--border-vintage);
  background: var(--accent);
  box-shadow: var(--shadow-vintage);
  border-radius: 14px;
  padding: 24px 18px 18px 18px;
  transition: box-shadow 0.16s, transform 0.16s;
}
.product-card:hover {
  box-shadow: 0 8px 24px 1px var(--vintage-brown);
  transform: scale(1.03);
}
.product-card h3 {
  margin-bottom: 10px;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
}

/* CATEGORY GRID (categories.html) */
.categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 24px;
}
.category {
  flex: 1 1 180px;
  max-width: 260px;
  min-width: 190px;
  background: var(--vintage-cream);
  border: 2px dashed var(--border-vintage);
  border-radius: 12px;
  padding: 24px 12px 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 10px #f0debf60;
  transition: box-shadow 0.14s, transform 0.13s;
}
.category:hover {
  box-shadow: 0 7px 25px #ffc47193;
  transform: translateY(-6px) scale(1.03);
}
.category img {
  height: 44px; margin-bottom: 12px;
}
.category h3 { font-size: 1.13rem; font-family: 'Montserrat', Arial, sans-serif; }

@media (max-width: 900px) {
  .feature-grid, .categories-list, .product-cards{ flex-direction: column; align-items: stretch; }
  .feature, .category, .product-card {max-width: unset; min-width: 80px;}
}

/* GUIDES ARTICLES */
.guide-categories, .article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 16px;
}
.guide-categories li {
  background: var(--vintage-blue);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 3px;
}
.article-list li {
  background: var(--vintage-mint);
  border: 1px solid var(--vintage-coral);
  border-radius: 12px;
  padding: 18px 16px;
  min-width: 200px; flex:1;
  margin-bottom:12px;
}

/* FAQ/OL bullet styling (how-to) */
.faq-list, .howto-steps ol{
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}
.howto-steps li, .faq-list li {
  padding-left: 6px;
  background: var(--vintage-cream);
  border-left: 4px solid var(--vintage-blue);
  border-radius: 3px;
  font-size: 1rem;
}

.tips-cards {
  display: flex;
  flex-wrap: wrap;
  gap:18px;
}
.tip-card{
  flex:1 1 120px;
  background: var(--vintage-mint);
  border-radius: 11px;
  padding:17px 15px 13px 15px;
  min-width:190px;
  border: 1px dashed var(--vintage-brown);
  box-shadow: 0 2px 10px #95cbb61b;
  transition: box-shadow 0.14s;
}
.tip-card:hover { box-shadow: 0 5px 20px #ff84622c;}

/* CTA BUTTONS */
.cta-btn {
  display: inline-block;
  background: var(--primary);
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  padding: 12px 30px;
  border-radius: 16px;
  font-size: 1.13rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid var(--border-vintage);
  box-shadow: 0 2px 7px 0px #193a5a25;
  cursor: pointer;
  transition: background 0.18s, color 0.17s, border 0.18s, box-shadow 0.18s;
  margin-top: 12px;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--vintage-coral);
  color: var(--accent);
  border-color: var(--vintage-brown);
  box-shadow: 0 4px 24px 0px #7b7c94b8;
  outline: none;
}

/* NAVIGATION AND HEADER */
header { background: var(--vintage-mint); box-shadow: 0 2px 6px #b8e0d240; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
  justify-content: flex-start;
}
.main-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.04rem;
  transition: color 0.17s;
  padding: 4px 12px;
  border-radius: 7px;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--vintage-coral);
  background: var(--vintage-cream);
  outline: none;
}
.main-nav img { height: 42px; margin-right: 16px; }

.mobile-menu-toggle {
  position: absolute;
  right: 20px;
  top: 16px;
  background: var(--primary);
  color: var(--secondary);
  font-size: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1011;
  transition: background .18s, color .16s;
  box-shadow: 0 2px 9px #335ffd28;
  border: 2px solid var(--border-vintage);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--secondary);
  color: var(--primary);
}

@media (min-width: 900px){
  .mobile-menu-toggle{ display:none!important; }
}
@media (max-width: 899px) {
  .main-nav{ display:none; }
  .mobile-menu-toggle{ display:flex; }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 100vw;
  background: var(--primary);
  color: var(--accent);
  z-index: 2000;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.88,0,.22,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 36px;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu-close {
  background: var(--secondary);
  color: var(--primary);
  font-size: 32px;
  border: 2px solid var(--border-vintage);
  border-radius: 50%;
  position: absolute;
  right: 24px;
  top: 18px;
  width: 46px;
  height: 46px;
  z-index: 2010;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s, color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--vintage-coral);
  color: var(--accent);
}

.mobile-nav{
  margin: 55px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width:100vw;
  align-items: flex-start;
  padding-left: 32px;
}
.mobile-nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  padding: 10px 10px 10px 0px;
  transition: color .17s, background .17s;
  border-radius: 4px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: #0c1c39;
}

@media (min-width: 900px) {
  .mobile-menu{ display:none!important; }
}

/* FOOTER */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 32px 0 20px 0;
  border-top: 4px solid var(--secondary);
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-content > * { margin-bottom: 20px; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size:1.01rem;
  transition: color 0.15s, text-decoration 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--vintage-coral);
  text-decoration: underline;
}
.footer-contact img { height:18px; margin-right: 6px; filter: sepia(0.7);}
.footer-contact p, .footer-hours p {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 8px;
}
.footer-hours {
  margin-right: 22px;
}
.footer-newsletter {
  background: var(--vintage-cream);
  color: var(--primary);
  padding:18px 18px 10px 18px;
  border-radius: 12px;
  box-shadow: 0 3px 14px #fff2e690;
  max-width:270px;
}
.footer-newsletter .cta-btn{
  margin-top: 8px;
  font-size: 0.97rem;
  padding: 9px 22px;
}
.footer-content img {height:38px; margin-bottom:12px;}
@media (max-width: 900px){ .footer-content{flex-direction:column;gap:20px;} }

/* TESTIMONIALS */
.testimonials {
  background: var(--vintage-mint);
  padding: 36px 0 36px 0;
}
.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  align-items: stretch;
}
.testimonial-card {
  background: var(--vintage-cream);
  color: var(--text-dark);
  border: 2px solid var(--vintage-brown);
  box-shadow: 0 2px 9px 0px #ffeaba70;
}
.testimonial-card p {
  color: var(--text-dark);
  font-size: 1.1rem;
  font-family:'Roboto', Arial, sans-serif;
  text-align: center;
}
.testimonial-name {
  font-family:'Montserrat', Arial, sans-serif;
  color: var(--vintage-brown);
  font-weight: 900;
  font-size: 1.02rem;
  margin-top: 8px;
}
.stars { display: flex; gap:3px; margin-bottom:5px; }
.stars img {height: 20px; filter: sepia(0.7) hue-rotate(-10deg) saturate(1.2);}

@media (max-width: 900px){
  .testimonial-cards{flex-direction: column;gap:18px;align-items:center;}
}

/* FORMS (if any) style */
input, textarea, select {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  border: 2px solid var(--border-vintage);
  border-radius: 7px;
  padding:8px 12px;
  margin-bottom: 14px;
  width:100%;
  background: var(--vintage-cream);
  box-shadow: 0 1px 8px #e8e7da0f;
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--vintage-coral);
  outline: none;
}

/* VINTAGE RETRO CODE ELEMENTS & DETAILS */
hr {
  border: none;
  border-top: 2px dashed var(--border-vintage);
  margin: 30px 0;
}
.text-section {
  background: var(--vintage-cream);
  border: 2px dashed var(--border-vintage);
  border-radius: 13px;
  padding: 32px 20px 18px 20px;
}
@media (max-width:768px){ .text-section{padding:18px 6px;} }

/* LINKS */
a { transition: color 0.16s; }
a:focus { outline: 3px dashed var(--vintage-coral); }

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  z-index: 4000;
  background: var(--vintage-cream);
  color: var(--primary);
  border-top: 2px solid var(--border-vintage);
  box-shadow: 0 -2px 18px #e8e7cd70;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 30px 24px 30px;
  gap: 22px;
  font-size: 1rem;
  animation: cookie-in 0.7s cubic-bezier(.85,0,.17,1);
}
@media (max-width:768px){
  .cookie-banner{flex-direction:column;padding: 20px 9px;gap:15px;font-size:0.98rem;}
}
@keyframes cookie-in {0%{transform:translateY(50px); opacity:0;}100%{transform:translateY(0);opacity:1;}}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  border-radius: 10px;
  padding: 10px 18px;
  border: 2px solid var(--primary);
  margin-right: 10px;
  font-size: 0.98rem;
  margin-bottom: 2px;
  transition: background 0.13s, color .18s, border 0.13s;
}
.cookie-banner .accept {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--vintage-brown);
}
.cookie-banner .reject {
  background: var(--vintage-coral);
  color: var(--accent);
  border-color: var(--vintage-brown);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--vintage-brown);
  color: var(--vintage-coral);
}
.cookie-banner .settings {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
  text-decoration: underline;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--vintage-blue);
  color: var(--accent);
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 5000;
  left:0;top:0;right:0;bottom:0;
  width:100vw;height:100vh;
  background: rgba(39,33,28,0.52);
  display:flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .25s;
}
@keyframes fadeIn { 0%{ opacity:0;} 100%{ opacity:1;} }
.cookie-modal {
  background: var(--vintage-cream);
  color: var(--primary);
  border: 2px solid var(--border-vintage);
  border-radius: 18px;
  padding: 34px 26px 26px 26px;
  min-width: 300px;
  box-shadow: 0 6px 32px #d2ccb5c5;
  animation: fadeInUp 0.32s;
  max-width:96vw;
}
@keyframes fadeInUp {0%{ transform:translateY(50px); opacity:0; } 100%{ transform:translateY(0); opacity:1; } }
.cookie-modal h2 {
  margin-bottom: 13px;
  font-size: 1.25rem;
  color: var(--primary);
}
.cookie-modal .cookie-category {
  margin-bottom: 17px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.cookie-modal .cookie-category label{
  font-size: 1rem;
  color: var(--primary);
  font-weight: 700;
}
.cookie-modal .cookie-category input[type=checkbox] {
  accent-color: var(--primary);
  width: 22px; height: 22px;
  border-radius: 5px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top:10px;
}
.cookie-modal .cookie-actions button{
  border-radius: 9px;
  padding: 8px 18px;
  font-weight:700;
  border:2px solid var(--primary);
}

.cookie-modal-close {
  position: absolute;
  right: 20px;top: 20px;
  background: var(--primary);
  color: var(--accent);
  border-radius: 50%;
  font-size: 25px;
  border:2px solid var(--border-vintage);
  padding:4px 10px;
  cursor:pointer;
  transition: background .16s, color .16s;
}
.cookie-modal-close:hover{ background:var(--secondary); color:var(--primary); }

/* RESPONSIVE DESIGN */
@media (max-width:600px) {
  .container { padding:0 6px; }
  .footer-content, .main-nav, .content-wrapper { gap:13px; }
  .section{padding:17px 3px;}
  .hero,.shop-hero,.categories-hero,.guides-hero,.howto-hero{padding:30px 0 16px 0;}
  .footer-newsletter{ max-width:none; }
}

/* ANIMATIONS AND MICRO-INTERACTIONS */
.cta-btn, .feature, .product-card, .category, .testimonial-card, .tip-card {
  transition: box-shadow 0.22s, transform 0.18s, background 0.18s, color 0.17s;
}
.cta-btn:active { transform: scale(0.97); }

/* VINTAGE PATTERNS & DETAILS */
.section, .feature, .product-card, .testimonial-card, .category{
  background-image: repeating-linear-gradient(135deg, transparent, transparent 40px, #ffefcf 40px, #ffefcf 80px);
  background-blend-mode: multiply;
}

/* Other small utilities */
.mt-24 { margin-top:24px; }
.mb-24 { margin-bottom:24px; }
.pl-14 { padding-left: 14px; }
.pr-14 { padding-right: 14px; }

/* Prevent content overlapping and ensure spacing */
main > section, .card, .testimonial-card, .feature, .category, .tip-card, .product-card, .article-list li {
  margin-bottom: 20px;
}
/* End of CSS */