/* Pristine Gloss – style.css – Warm, Friendly, Modern, Flexbox ONLY */

/* === CSS RESET and 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F3F4F6;
  color: #23334D;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #183153;
  text-decoration: none;
  transition: color 0.2s;
}
a:active, a:focus {
  outline: 2px solid #EAC545;
  outline-offset: 2px;
}
a:hover {
  color: #EAC545;
}
ul, ol {
  list-style-position: inside;
  padding-left: 0;
  margin-left: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #183153;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4, h5, h6 { margin-bottom: 8px; }
p {
  font-size: 1.07rem;
  color: #23334D;
  margin-bottom: 18px;
  font-family: 'Roboto', Arial, sans-serif;
}
strong, b {
  color: #183153;
  font-weight: 700;
}

/* === LAYOUT STRUCTURE === */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
footer .container,
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
/* Override alignment for mobile - handled below */

main {
  padding-top: 24px;
  padding-bottom: 24px;
}

/* === SECTIONS & CARDS === */
section {
  background: #fff;
  border-radius: 22px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 4px 16px 0 rgba(234,197,69,0.09);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(24,49,83,0.06);
  margin-bottom: 20px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 14px;
  transition: box-shadow 0.12s;
}
.card:hover {
  box-shadow: 0 6px 22px 0 rgba(234,197,69,.18);
}

/* Category List (product/category tiles) */
.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 18px;
}
.category-list > div {
  background: #faf8ee;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(234,197,69,0.10);
  flex: 1 1 230px;
  min-width: 200px;
  max-width: 270px;
  padding: 24px 18px 18px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  transition: transform 0.13s, box-shadow 0.13s;
}
.category-list > div:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 10px 20px 0 rgba(234,197,69,0.21);
}
.category-list img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin-bottom: 10px;
}
.category-list h3 {
  font-size: 1.2rem;
  color: #183153;
  margin-bottom: 6px;
}
.category-list p {
  font-size: 1rem;
  color: #484848;
}

/* Feature grid (about, products...) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature-grid > div {
  background: #FDF7DF;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(234,197,69,0.10);
  padding: 22px 20px;
  flex: 1 1 300px;
  min-width: 220px;
  max-width: 370px;
  margin-bottom: 20px;
}

/* Icon List (about special, etc.) */
.icon-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 12px 0 20px 0;
}
.icon-list li {
  background: #fff8e5;
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #183153;
  font-weight: 500;
  box-shadow: 0 1px 6px #ffe59c34;
}
.icon-list img {
  width: 28px;
  height: 28px;
}

/* Custom content utilities */
.text-section ul {
  margin-top: 10px;
  margin-bottom: 18px;
}
.text-section h3 {
  margin-top: 18px;
  margin-bottom: 5px;
}

/* --- FLEX utility for various layouts ---*/
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === BUTTONS & CTAs === */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #EAC545;
  color: #183153;
  border-radius: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 13px 34px;
  margin-top: 12px;
  box-shadow: 0 3px 13px 0 #eac54533;
  cursor: pointer;
  transition: background 0.18s, color 0.15s, box-shadow 0.13s, transform 0.11s;
  border: none;
  text-decoration: none;
}
.cta.primary {
  background: #EAC545;
  color: #183153;
}
.cta.primary:hover, .cta.primary:focus {
  background: #FFDD58;
  color: #1e2f45;
  box-shadow: 0 5px 30px 0 #eac54544;
  transform: translateY(-2px) scale(1.03);
}
.cta.secondary {
  background: #183153;
  color: #fff;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #264A88;
  color: #fffbea;
}

/* === HEADER & NAVIGATION === */
header {
  background: #fffcf6;
  padding: 0;
  box-shadow: 0 2px 18px 0 #eac54509;
}
header .container {
  min-height: 80px;
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
header img {
  height: 44px;
}
header nav {
  display: flex;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #183153;
  padding: 6px 6px 4px 6px;
  border-radius: 7px;
  transition: background 0.17s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #FFEDB2;
  color: #B0860C;
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #183153;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 12px;
  border-radius: 8px;
  padding: 2px 10px;
  display: none;
  z-index: 1102;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus {
  background: #eac54547;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffbe4;
  z-index: 1101;
  transform: translateX(-105%);
  transition: transform 0.32s cubic-bezier(.65,.05,.36,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding-top: 24px;
  box-shadow: 2px 0 32px #eac5453a;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #ffedb2;
  border: none;
  font-size: 2rem;
  color: #183153;
  align-self: flex-end;
  margin-right: 14px;
  margin-bottom: 18px;
  border-radius: 12px;
  padding: 2px 13px;
  cursor: pointer;
  z-index: 1103;
  transition: background 0.12s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #ffe287;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 18px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  padding: 11px 24px;
  border-radius: 10px;
  color: #183153;
  background: none;
  width: 100%;
  transition: background 0.2s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFEECC;
  color: #B0860C;
}

/* === TESTIMONIALS === */
.testimonial-card {
  background: #fffdfa;
  border-radius: 18px;
  box-shadow: 0 4px 22px 0 #EAC54518;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  color: #23334d;
  font-size: 1.09rem;
  position: relative;
  min-width: 0;
  transition: box-shadow 0.19s;
}
.testimonial-card:hover {
  box-shadow: 0 12px 32px 0 #EAC54533;
}
.testimonial-card .user-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-right: 10px;
}
.testimonial-card .user-stars img {
  width: 22px;
  height: 22px;
}
.testimonial-card b {
  color: #183153;
}
.testimonial-card p {
  margin: 0;
  color: #23334d;
  font-size: 1.11rem;
}

/* === FOOTER === */
footer {
  padding: 0;
  background: #f9f7ee;
  box-shadow: 0 -2px 20px 0 #eac54508;
  border-radius: 28px 28px 0 0;
}
footer .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding: 32px 20px 16px 20px;
}
footer img {
  width: 65px;
  margin-right: 10px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 160px;
}
footer nav a {
  color: #183153;
  font-size: 1rem;
  margin-bottom: 2px;
  border-radius: 7px;
  padding: 3px 7px;
}
footer nav a:hover, footer nav a:focus {
  background: #FFEDB6;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #183153;
  font-size: 0.96rem;
}
.footer-contact img {
  width: 17px;
  margin-right: 8px;
  vertical-align: bottom;
}
footer small {
  display: block;
  margin-top: 12px;
  color: #979797;
  font-size: 0.93rem;
}

/* === FORMS (ANCESTOR STYLES) === */
form, .form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
input, textarea, select {
  padding: 12px 10px;
  border-radius: 12px;
  border: 1px solid #EAC54566;
  font-size: 1rem;
  background: #fffefa;
  color: #183153;
  font-family: 'Roboto', Arial, sans-serif;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #EAC545;
  outline: none;
  box-shadow: 0 0 2px #EAC545;
}
button {
  cursor: pointer;
  font-family: inherit;
}

/* === LISTS === */
ul, ol {
  margin-bottom: 18px;
  margin-left: 18px;
}
ul li, ol li {
  margin-bottom: 10px;
  padding-left: 0.5em;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1100px) {
  .container, footer .container, header .container {
    max-width: 98vw;
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 900px) {
  .category-list,
  .feature-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    min-height: 58px;
  }
  header nav {
    display: none;
  }
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 8px;
  }
  section {
    border-radius: 13px;
    padding: 26px 6px;
  }
  .feature-grid > div,
  .category-list > div {
    min-width: 0;
    max-width: unset;
  }
  .testimonial-card, .card {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 9px;
  }
  .footer-contact {
    font-size: 0.89rem;
  }
}
@media (max-width: 520px) {
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.15rem;
  }
  h3 {
    font-size: 1rem;
  }
  .container, header .container, footer .container {
    padding-left: 2px;
    padding-right: 2px;
  }
  section {
    padding: 17px 2px 15px 3px;
  }
  .cta {
    min-width: 90px;
    font-size: 1rem;
    padding: 10px 16px;
  }
}

/* Stack text+image vertically on mobile */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* === COOKIE CONSENT BANNER AND MODAL === */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 1701;
  background: #fffbe4;
  border-top: 3px solid #EAC545;
  box-shadow: 0 -8px 20px 0 #eac54526;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 26px 18px 24px;
  font-size: 1.02rem;
  animation: slideInBanner 0.7s cubic-bezier(.45,.14,.44,1);
}
@keyframes slideInBanner {
  from { transform: translateY(90%); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner__text {
  color: #183153;
  flex: 1 1 160px;
  min-width: 0;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  border-radius: 10px;
  border: none;
  padding: 8px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  background: #EAC545;
  color: #183153;
  transition: background 0.13s, color 0.13s, box-shadow 0.11s;
  box-shadow: 0 2px 7px #eac54533;
}
.cookie-btn:focus {
  outline: 2px solid #EDF0D2;
  outline-offset: 2px;
}
.cookie-btn:hover {
  background: #FFD745;
}
.cookie-btn.reject {
  background: #FFEDB6;
  color: #B0860C;
}
.cookie-btn.reject:hover {
  background: #FFF8D7;
}
.cookie-btn.settings {
  background: transparent;
  color: #183153;
  border: 1.5px solid #eac54588;
  box-shadow: none;
}
.cookie-btn.settings:hover {
  background: #fffdec;
}

@media (max-width: 630px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 11px 8px 17px 8px;
    font-size: 0.98rem;
  }
  .cookie-banner__actions {
    gap: 7px;
  }
}

/* --- Cookie banner modal --- */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(24,49,83,.23);
  z-index: 1702;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModalB 0.2s;
}
@keyframes fadeInModalB {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal {
  background: #fffefa;
  border-radius: 16px;
  box-shadow: 0 8px 42px #eac5453f;
  padding: 30px 26px 24px 26px;
  max-width: 420px;
  min-width: 250px;
  width: 94vw;
  animation: fadeInModal 0.35s;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 1704;
}
@keyframes fadeInModal {
  from { transform: translateY(44px); opacity: 0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 7px;
}
.cookie-modal__close {
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: #183153;
  border-radius: 8px;
  padding: 3px 9px;
  cursor: pointer;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #FFEEB8;
}
.cookie-modal__body {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #faf8ee;
  border-radius: 7px;
  padding: 10px 11px;
}
.cookie-toggle-row label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  color: #183153;
}
.cookie-switch {
  width: 41px;
  height: 24px;
  background: #eac54566;
  border-radius: 12px;
  position: relative;
  transition: background 0.18s;
  display: inline-block;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  top: 2px; left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #EAC545;
  transition: transform 0.19s cubic-bezier(.55,.11,.38,1.1), background 0.13s;
  box-shadow: 0 2px 8px #eac54521;
}
.cookie-switch input:checked + .cookie-slider {
  transform: translateX(17px);
  background: #fad12e;
}
.cookie-switch input:disabled + .cookie-slider {
  background: #eac54588;
  cursor: not-allowed;
}

.cookie-modal__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 5px;
}
@media (max-width: 445px) {
  .cookie-modal {
    padding: 17px 4px 12px 7px;
  }
  .cookie-modal__header h2, .cookie-modal__header h3 {
    font-size: 1.13rem;
  }
}

/* === OVERRIDES & UTILITIES === */
::-webkit-input-placeholder { color:#B5B5B5; }
::-moz-placeholder { color: #B5B5B5; }
:-ms-input-placeholder { color: #B5B5B5; }
::placeholder { color: #B5B5B5; }

[hidden] {
  display: none !important;
}

/* --- Srollbar --- */
body::-webkit-scrollbar {
  width: 11px;
}
body::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: #ececec;
}
body::-webkit-scrollbar-track {
  background: #fff;
}

/* === TRANSITIONS and MICROINTERACTIONS === */
section, .card, .testimonial-card, .category-list > div, .feature-grid > div, .cta, .cookie-banner, .cookie-btn {
  transition: 
    box-shadow 0.16s cubic-bezier(.56,.28,.44,1),
    background 0.15s cubic-bezier(.56,.38,.55,1),
    color 0.16s cubic-bezier(.56,.38,.55,1),
    transform 0.12s;
}

/* === ACCESSIBILITY === */
:focus-visible {
  outline: 2px dashed #EAC545;
  outline-offset: 2px;
}

/* === Z-INDEX MANAGEMENT (Header, nav, banner, modal) === */
header { z-index: 999; position: relative; }
.mobile-menu { z-index: 1101; }
.mobile-menu-toggle { z-index: 1102; }
.mobile-menu-close { z-index: 1103; }
.cookie-banner { z-index: 1701; }
.cookie-modal-backdrop { z-index: 1702; }
.cookie-modal { z-index: 1704; }

/* === END Pristine Gloss Warm Friendly CSS === */