/* ========== 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;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #FAF8F6;
  color: #24324C;
  min-height: 100vh;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}

/* ========== BRAND FONTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #24324C;
}
h1 {
  font-size: 2.5rem; /* 40px */
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem; /* 32px */
  margin-bottom: 20px;
}
h3 {
  font-size: 1.375rem; /* 22px */
  margin-bottom: 14px;
}
h4 {
  font-size: 1.125rem; /* 18px */
  margin-bottom: 10px;
}
p, li, blockquote, cite {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #24324C;
}
strong { font-weight: 700; }
cite { font-style: normal; display: block; color: #7A5723; margin-top: 6px; font-size: 0.96rem; }

/* ========== COLORS ========== */
:root {
  --primary: #24324C;
  --secondary: #67797C;
  --accent: #F0C73E;
  --bg: #FAF8F6;
  --card-bg: #FFF7E6;
  --card-shadow: rgba(180, 126, 27, 0.10);
  --text-dark: #24324C;
  --text-light: #fff;
  --neutral: #E8E1D8;
  --cta-bg: #FFF3C0;
  --cta-shadow: rgba(232, 199, 65, 0.14);
  --focus: #F5CF64;
}

/* ========== LAYOUT CONTAINERS ========== */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.section, .features, .cta, .testimonials, .contact, .services, .legal, .about, .thank-you {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(240, 199, 62, 0.06);
  border-radius: 0 0 24px 24px;
  margin-bottom: 20px;
}
header .container {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
}
.logo img {
  max-height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
  padding: 6px 0;
  transition: color 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--accent);
}
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 12px 32px;
  border-radius: 40px;
  border: none;
  box-shadow: 0 4px 18px var(--card-shadow), 0 1.5px 4px rgba(219, 186, 55,0.10);
  transition: background 0.18s, color 0.18s, box-shadow 0.24s;
  outline: none;
  margin-left: 8px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #F6DA75;
  color: var(--primary);
  box-shadow: 0 4px 26px 0 rgba(240,199,62,0.22);
}

/* Hamburger Mobile Button */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px 0 rgba(240, 199, 62, 0.13);
  border: none;
  transition: background 0.18s;
  z-index: 1102;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F6DA75;
}

/* Mobile Menu Styles */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(243,215,103,0.96);
  z-index: 1101;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.37s cubic-bezier(.62,.09,.69,1.4);
  padding: 0 0 24px 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 28px 18px 0;
  font-size: 2.15rem;
  background: var(--primary);
  color: var(--accent);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px 0 rgba(240, 199, 62, 0.09);
  transition: background 0.19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #36477E;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 0 32px;
}
.mobile-nav a {
  font-size: 1.17rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--primary);
  background: transparent;
  padding: 16px 0 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.17s, border-bottom 0.19s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent); 
  border-bottom: 2px solid var(--accent);
}

@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
  header .container {
    gap: 9px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
  }
}
@media (max-width: 420px) {
  .mobile-menu {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ========== HERO SECTION ========== */
.hero {
  background: var(--cta-bg);
  box-shadow: 0 8px 32px 0 var(--cta-shadow);
  border-radius: 30px;
  padding: 50px 20px 62px 20px;
  margin-bottom: 60px;
}
.hero h1 {
  font-size: 2.75rem;
}
.hero .content-wrapper {
  gap: 20px;
  align-items: flex-start;
  max-width: 700px;
}
.hero p {
  font-size: 1.18rem;
  color: var(--primary);
  line-height: 1.7;
  margin-bottom: 8px;
}

/* ========== FEATURE / CARD / GRID ========== */
.features {
  background: none;
}
.feature-grid, .qualities-grid, .category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 14px;
}
.feature-grid > div, .qualities-grid > div, .category-list > div {
  background: var(--card-bg);
  border-radius: 22px;
  box-shadow: 0 4px 22px 0 var(--card-shadow);
  padding: 28px 22px 22px 22px;
  flex: 1 1 252px;
  max-width: 320px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
  position: relative;
}
.feature-grid img, .qualities-grid img, .category-list img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: rgba(240,199,62,0.06);
  padding: 6px;
}
.feature-grid h3, .qualities-grid h3, .category-list h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--primary);
}

/* ========== CONTENT BLOCKS AND GRIDS ========== */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 var(--card-shadow);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.text-section {
  margin-bottom: 32px;
  background: #FFF;
  padding: 18px 18px 12px 18px;
  border-radius: 16px;
  box-shadow: 0 1px 5px 0 var(--card-shadow);
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  background: var(--card-bg);
  border-radius: 24px;
  box-shadow: 0 2px 18px 0 var(--card-shadow);
  padding: 44px 16px;
  margin-bottom: 60px;
}
.testimonials h2 {
  color: var(--primary);
}
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  padding: 24px 30px;
  border-radius: 20px;
  box-shadow: 0 3px 16px 0 var(--card-shadow);
  min-width: 260px;
  max-width: 350px;
  flex: 1 1 300px;
  margin-bottom: 20px;
}
.testimonial-card blockquote {
  color: var(--primary);
  font-size: 1.12rem;
  line-height: 1.6;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  margin-bottom: 6px;
}
.testimonial-card span[aria-label="ocena"] {
  color: #F0C73E;
  font-size: 1.2em;
  letter-spacing: 0.13em;
  margin-left: 8px;
  vertical-align: middle;
}
.testimonial-card cite {
  color: #7A5723;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
}

/* ========== CTA SECTIONS ========== */
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cta-bg);
  box-shadow: 0 4px 21px var(--cta-shadow);
  border-radius: 26px;
  padding: 44px 20px 38px 20px;
  margin-bottom: 60px;
}
.cta .content-wrapper {
  align-items: center;
  gap: 18px;
}
.cta .btn-primary {
  margin-top: 18px;
}
.contact-snippet {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.07rem;
  margin-top: 10px;
  background: #fffbe7;
  padding: 9px 18px 9px 10px;
  border-radius: 16px;
}
.contact-snippet img {
  width: 28px;
  height: 28px;
}

/* ========== FOOTER ========== */
footer {
  background: #fff;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -2px 16px 0 var(--card-shadow);
  position: relative;
  padding: 38px 0;
  margin-top: 30px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-nav a {
  font-size: 1rem;
  color: var(--primary);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.17s, border-bottom 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent);
  border-bottom: 1.5px solid var(--accent);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.96rem;
  color: var(--secondary);
}
.footer-contact img {
  width: 20px;
  height: 20px;
  margin-right: 5px;
  vertical-align: middle;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* ========== SERVICES/PRODUCTS ========== */
.services .service-list, .product-categories ul, .special-offers ul, .best-sellers-list ul {
  margin-top: 9px;
  margin-bottom: 19px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.services .quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
}
.services .quick-links a {
  color: var(--primary);
  font-weight: 500;
  background: var(--accent);
  border-radius: 18px;
  padding: 8px 16px;
  box-shadow: 0 2px 6px 0 var(--card-shadow);
  transition: background 0.15s, color 0.15s;
}
.services .quick-links a:hover, .services .quick-links a:focus {
  background: #F6DA75;
  color: var(--primary);
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.category-list > div {
  margin-bottom: 20px;
}

.product-categories {
  margin-bottom: 22px;
}
.special-offers, .best-sellers-list {
  margin-bottom: 22px;
}

/* ========== FAQ SECTION & TEXT BLOCKS ========== */
.faq-snippet {
  background: var(--card-bg);
  border-radius: 19px;
  padding: 19px 21px;
  box-shadow: 0 0.5px 5px 0 var(--card-shadow);
  margin-top: 18px;
}
.faq-snippet ul {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guide-previews h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-top: 16px;
  margin-bottom: 8px;
}
.guide-previews p {
  color: var(--secondary);
  margin-bottom: 8px;
}

/* ========== LEGAL & POLICY SECTION ========== */
.legal .text-section, .about .text-section {
  margin-bottom: 24px;
}
.legal ul, .about ul {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: disc inside;
}

/* ========== FEATURE LIST & ATTRIBUTES ========== */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.quality-commitment-text {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--card-bg);
  border-radius: 19px;
  padding: 18px 20px;
  box-shadow: 0 1px 8px 0 var(--card-shadow);
  margin-top: 17px;
}
.quality-commitment-text img {
  width: 52px;
  height: 52px;
}

/* ========== THANK YOU PAGE ========== */
.thank-you {
  text-align: center;
  background: var(--card-bg);
  border-radius: 25px;
  box-shadow: 0 4px 21px 0 var(--card-shadow);
}
.thank-you .content-wrapper {
  align-items: center;
}

/* ========== RESPONSIVE DESIGN: MOBILE-FIRST ========== */
@media (max-width: 800px) {
  .feature-grid, .qualities-grid, .category-list, .testimonial-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div, .qualities-grid > div, .category-list > div, .testimonial-card, .card {
    min-width: unset;
    max-width: 100%;
  }
  .cta, .testimonials, .section {
    padding: 30px 8px;
    border-radius: 16px;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
    margin-bottom: 16px;
  }
  h2 {
    font-size: 1.33rem;
    margin-bottom: 12px;
  }
  .btn-primary {
    font-size: 1rem;
    padding: 12px 24px;
  }
  .hero {
    padding: 35px 8px 50px 8px;
    border-radius: 14px;
  }
  footer {
    border-radius: 16px 16px 0 0;
    padding: 22px 0;
  }
  .container {
    padding: 0 6px;
  }
}

/* ========== MICRO-INTERACTIONS ========== */
.btn-primary, .services .quick-links a, .footer-nav a, .main-nav a {
  transition: background 0.16s, color 0.17s, box-shadow 0.24s, border-bottom 0.18s;
}
.card, .testimonial-card, .feature-grid > div, .qualities-grid > div, .category-list > div {
  transition: box-shadow 0.22s, transform 0.17s;
}
.card:hover, .testimonial-card:hover, .feature-grid > div:hover, .qualities-grid > div:hover, .category-list > div:hover {
  box-shadow: 0 6px 32px 0 var(--card-shadow), 0 0.5px 6px 0 var(--card-shadow);
  transform: translateY(-2px) scale(1.015);
}

/* ========== FOCUS STATE & ACCESSIBILITY ========== */
a:focus, button:focus, .btn-primary:focus, .services .quick-links a:focus {
  outline: 2.5px dashed var(--focus);
  outline-offset: 2.5px;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fffbe7;
  color: var(--primary);
  z-index: 1201;
  box-shadow: 0 -2px 18px 0 var(--card-shadow);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 8px 18px 8px;
  gap: 26px;
  transition: transform 0.27s cubic-bezier(.22,1,.36,1);
  transform: translateY(0);
  border-radius: 18px 18px 0 0;
}
.cookie-banner.hide {
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner .cookie-text {
  font-size: 1rem;
  color: var(--primary);
  margin-right: 9px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
}
.cookie-banner button {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 8.5px 26px;
  border-radius: 22px;
  margin: 0;
  transition: background 0.17s, color 0.17s;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(240,199,62,0.09);
}
.cookie-banner .accept {
  background: var(--accent);
  color: var(--primary);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #F6DA75;
  color: var(--primary);
}
.cookie-banner .reject {
  background: #fff;
  color: var(--primary);
  border: 1.2px solid var(--accent);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--neutral);
}
.cookie-banner .settings {
  background: #fffbe7;
  color: var(--primary);
  border: 1.2px solid var(--accent);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #FAF8F6;
}

/* Cookie Settings Modal */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 1205;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(52,44,5,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: background 0.32s;
}
.cookie-modal {
  background: #fffbe7;
  color: var(--primary);
  border-radius: 24px;
  box-shadow: 0 4px 64px 0 var(--card-shadow);
  width: 95vw;
  max-width: 400px;
  padding: 32px 22px 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1206;
  animation: showCookieModal .35s cubic-bezier(.57,.2,.28,1);
}
@keyframes showCookieModal {
  0% { opacity:0; transform: scale(0.95) translateY(60px); }
  100% { opacity:1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 {
  font-size: 1.25rem;
  margin-bottom: 7px;
  color: var(--primary);
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFF;
  border-radius: 13px;
  padding: 10px 14px;
  box-shadow: 0 1px 6px 0 var(--card-shadow);
}
.cookie-category label {
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--accent);
}
/* Essential = always enabled */
.cookie-category .essential {
  color: #888;
  font-size: .95em;
  margin-left: 7px;
}
.cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 6px;
}
.cookie-modal button {
  border-radius: 20px;
  padding: 8px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  margin: 0;
  box-shadow: 0 2px 8px rgba(240,199,62,0.05);
  cursor: pointer;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 14px;
  right: 15px;
  background: transparent;
  color: var(--primary);
  font-size: 1.5rem;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.17s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: var(--neutral);
}
.cookie-modal .accept {
  background: var(--accent);
  color: var(--primary);
}
.cookie-modal .accept:hover { background: #f8e6a8; }
.cookie-modal .reject {
  background: #fff;
  color: var(--primary);
  border: 1.2px solid var(--accent);
}
.cookie-modal .reject:hover { background: var(--neutral); }

@media (max-width: 650px) {
  .cookie-modal {
    padding: 22px 5vw;
    border-radius: 14px;
    max-width: 95vw;
  }
}

/* ========== FORMS (if any are present) ========== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1.2px solid #E8E1D8;
  background: #fff;
  margin-bottom: 12px;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  transition: border 0.13s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--accent);
}

/* ========== Z-INDEX SAFEGUARDS ========== */
header, .mobile-menu-toggle { z-index: 1100; }
.mobile-menu { z-index: 1101; }
.mobile-menu-close { z-index: 1102; }
.cookie-banner { z-index: 1201; }
.cookie-modal-backdrop { z-index: 1205; }
.cookie-modal { z-index: 1206; }

/* ========== FLEX SAFEGUARDS ========== */
/* Prevent overlapping with explicit gaps and margins */
.features, .card-container, .content-grid, .category-list, .testimonial-grid {
  gap: 24px !important;
}
.card, .feature-grid>div, .qualities-grid>div, .category-list>div, .testimonial-card {
  margin-bottom: 20px !important;
}

/* ========== NO GRID or COLUMN CSS used ========== */
/* All layouts are strictly flexbox-based */