/* Scarlet AutoStyle – Monochrome Sophisticated Style.css */
/* CSS RESET & BASICS */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #181A1B;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background-color: #fafbfc;
}
img, picture, video {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #181A1B;
  text-decoration: none;
  transition: color 0.2s;
}
strong, b {
  font-weight: 700;
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}
/* BRAND TYPOGRAPHY SCALE */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -1px;
  color: #181A1B;
  font-size: 2.4rem;
  line-height: 1.15;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #1a1a1a;
  font-size: 1.7rem;
  margin-bottom: 20px;
  line-height: 1.18;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.18rem;
  color: #222;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.009rem;
  color: #333;
}
p, li, ul, ol, a, label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #24292f;
}
h1, h2, h3, h4, h5, h6 { margin-bottom: 18px; }

/* CONTAINER LAYOUT */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* HEADER */
header {
  background: #fff;
  border-bottom: 1px solid #ECECEC;
  position: relative;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 14px 16px;
}

header nav {
  display: flex;
  gap: 28px;
  margin-left: 16px;
}
header nav a {
  position: relative;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: #252525;
  transition: color .2s;
}
header nav a:hover,
header nav a:focus {
  color: #B10024;
  outline: none;
}
header img {
  height: 36px;
  max-width: 160px;
  object-fit: contain;
}

.btn-primary {
  background: #181A1B;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 28px;
  border-radius: 28px;
  border: none;
  outline: none;
  font-weight: 600;
  font-size: 1.07rem;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 12px 0 rgba(17,13,30,0.03);
  transition: background 0.25s, color 0.16s, transform 0.22s cubic-bezier(.47,1.64,.41,.8);
  margin-left: 24px;
  display: inline-block;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #B10024;
  color: #fff;
  transform: translateY(-2px) scale(1.018);
}

/* HERO SECTION */
.hero {
  width: 100%;
  background: #fff;
  min-height: 340px;
  padding: 60px 0;
  border-bottom: 1px solid #F2F2F2;
}
.hero .container {
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 650px;
  gap: 26px;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  color: #1a1a1a;
  line-height: 1.11;
}
.hero p {
  font-size: 1.19rem;
  color: #31343a;
  margin-bottom: 12px;
  max-width: 540px;
}
.hero .btn-primary {
  margin-left: 0;
}

/* SECTION GENERAL */
section {
  width: 100%;
  background: #fff;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 2px 40px 0 rgba(80,80,90,0.035);
  border-radius: 22px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}

/* FLEX SPACING & PATTERNS (MANDATORY) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 36px rgba(30,32,46,0.09);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow .18s, transform .19s;
}
.card:hover {
  box-shadow: 0 6px 48px rgba(30,10,16,0.22);
  transform: translateY(-4px) scale(1.013);
}
.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: #f8f8f9;
  border-radius: 20px;
  box-shadow: 0 1px 12px 0 rgba(40,41,46,0.04);
  min-width: 230px;
  margin-bottom: 20px;
  flex: 1 1 290px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* PRODUCT/FEATURE CARDS ON HOME/PRODUCTS/SHOP */
.features-grid, .product-cards, .category-list, .shop-categories, .usp-strip, .tips-grid, .idea-cards, .team-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features-grid > div,
.product-cards > div,
.category-list > div,
.shop-categories > div,
.usp-strip > div,
.tips-grid > div,
.idea-cards > div,
.team-profiles > div {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 16px 0 rgba(35,37,55,0.05);
  padding: 30px 24px;
  flex: 1 1 250px;
  min-width: 210px;
  min-height: 140px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .15s, transform .17s;
}
.features-grid > div:hover,
.product-cards > div:hover,
.category-list > div:hover,
.usp-strip > div:hover,
.tips-grid > div:hover,
.idea-cards > div:hover,
.team-profiles > div:hover {
  box-shadow: 0 4px 38px 0 rgba(30,12,28,0.13);
  transform: translateY(-3px) scale(1.011);
}
.features-grid img, .usp-strip img, .feature-list img {
  width: 38px;
  height: 38px;
  margin-bottom: 9px;
  filter: grayscale(100%) contrast(1.11);
  opacity: 0.8;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 12px 0 0 0;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.07rem;
  color: #303030;
  margin-bottom: 6px;
}

/* TESTIMONIALS & SNIPPETS */
.testimonial-slider,
.testimonial-snippets {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
}
.testimonial-card {
  background: #f0f0f2;
  box-shadow: 0 2px 16px 0 rgba(68,68,68,0.07);
  border-radius: 16px;
  padding: 22px 26px;
  color: #111;
  flex: 1 1 300px;
  min-width: 255px;
  max-width: 380px;
  margin-right: 0;
  margin-bottom: 20px;
  transition: box-shadow .14s, transform .14s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 48px 0 rgba(60,0,36,0.09);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card p {
  color: #232428;
  font-size: 1.07rem;
}
.testimonial-card .testimonial-author {
  margin-top: 10px;
  color: #B10024;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.01rem;
  opacity: .88;
}

/* CTA */
.cta {
  background: linear-gradient(88deg, #fff 80%, #f3f3f5 100%);
  border-radius: 25px;
  box-shadow: 0 1px 22px 0 rgba(22,22,33,0.045);
  margin-bottom: 60px;
  padding: 36px 20px;
}
.cta .container { align-items: center; }
.cta .content-wrapper {
  align-items: center;
}
.cta h2, .cta p {
  text-align: center;
}
.cta .btn-primary { margin-top: 14px; }

/* FAQ & HOW-TO */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.faq-list > div {
  background: #fafbfc;
  border-radius: 14px;
  box-shadow: 0 2px 18px 0 rgba(35,37,55,0.04);
  padding: 20px 22px;
  flex: 1 1 230px;
  min-width: 180px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.how-to {
  margin-top: 6px;
}
.how-to ol {
  list-style: decimal inside;
  margin-left: 0;
  color: #1a1a1a;
  font-size: 1.09rem;
  padding-left: 12px;
  gap: 6px;
}
.how-to li { margin-bottom: 10px; }

/* MISC UTILITY STYLES */
.map-embed, .map-placeholder {
  width: 100%;
  min-height: 160px;
  border-radius: 12px;
  background: #ededed;
  color: #404040;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
  font-size: 1.1rem;
  font-family: 'Roboto', Arial, sans-serif;
}

.filter-options ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 7px;
}
.filter-options li {
  padding: 4px 13px;
  background: #efefef;
  color: #1a1a1a;
  border-radius: 17px;
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  margin-bottom: 7px;
  transition: background .17s;
  cursor: pointer;
}
.filter-options li:hover { background: #ddd; }

.feature-highlights {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.feature-highlights li {
  font-size: 1.06rem;
  color: #343944;
  position: relative;
  padding-left: 20px;
}
.feature-highlights li:before {
  content: "•";
  color: #B10024;
  position: absolute;
  left: 0; top: 0;
  font-size: 1.2rem;
}

/* FOOTER */
footer {
  background: #181A1B;
  color: #f5f5f7;
  padding: 0;
  border-top: 3px solid #B10024;
  font-size: 1rem;
  margin-top: 48px;
}
footer .container {
  padding: 22px 16px 0 16px;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 44px;
  justify-content: space-between;
  padding-bottom: 22px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
footer nav a {
  color: #efefef;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.01rem;
  transition: color .15s;
}
footer nav a:hover {
  color: #B10024;
}
.footer-contact {
  max-width: 300px;
  font-size: .97rem;
  background-color: #fff;
  line-height: 1.6;
}
.footer-contact a {
  color: #b96a6a;
  text-decoration: underline dotted 1px;
  transition: color .15s;
}
.footer-contact a:hover { color: #B10024; }
.social-links {
  display: flex;
  gap: 19px;
  margin-top: 2px;
}
.social-links a img {
  filter: grayscale(100%) brightness(1.15) contrast(110%);
  opacity: 0.75;
  width: 27px;
  height: 27px;
  transition: filter .16s, opacity .16s;
}
.social-links a:hover img {
  filter: none;
  opacity: 1;
}
footer .copyright {
  border-top: 1px solid #929090;
  margin-top: 8px;
  padding: 12px 0 6px 0;
  text-align: center;
  background-color: #fff;
  color: #fff;
  font-size: .93rem;
}
footer img {
  max-height: 42px;
  max-width: 120px;
  margin-bottom: 12px;
}

/* ----- MOBILE NAVIGATION (BURGER MENU) ----- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 22px;
  width: 42px;
  height: 42px;
  z-index: 100;
  background: #fff;
  color: #181A1B;
  border: 2px solid #222;
  border-radius: 8px;
  font-size: 2.1rem;
  align-items: center;
  justify-content: center;
  transition: background .18s, color .18s;
  box-shadow: 0 2px 12px 0 rgba(40,32,50,0.05);
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #181A1B;
  color: #fff;
  border-color: #B10024;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 96vw;
  max-width: 340px;
  height: 100vh;
  background: #fff;
  box-shadow: -6px 0 70px 0 rgba(30,20,30,0.27);
  z-index: 5000;
  padding: 34px 28px 28px 28px;
  transform: translateX(100%);
  opacity: 0;
  transition: transform .32s cubic-bezier(.87,.32,.25,1.1), opacity .22s;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: #181A1B;
  color: #fff;
  border-radius: 8px;
  border: none;
  font-size: 1.7rem;
  position: absolute;
  top: 16px;
  right: 19px;
  width: 36px;
  height: 36px;
  z-index: 5010;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .13s, color .13s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #B10024;
}
.mobile-nav {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #181A1B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  padding: 8px 0;
  font-weight: 600;
  border-left: 4px solid transparent;
  transition: color .19s, border-color .20s, background .17s;
  width: 100%;
  border-radius: 6px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #181A1B;
  color: #fff;
  border-left: 4px solid #B10024;
}

@media (max-width: 1100px) {
  header .container {
    gap: 8px;
  }
}
@media (max-width: 950px) {
  header .container, .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-content { gap: 25px; }
}
@media (max-width: 820px) {
  .container { padding: 0 6px; }
}
@media (max-width: 720px) {
  .cta, section, .section { padding: 27px 6px; border-radius: 13px; }
  .footer-content { flex-direction: column; gap:13px; }
}

/* BURGER NAV VISIBLE ON SMALL SCREENS */
@media (max-width: 900px) {
  header nav,
  header .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

@media (min-width: 901px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
    visibility: hidden;
  }
}

/* RESPONSIVE FLEX DIRECTION ADJUSTMENTS */
@media (max-width: 768px) {
  .content-wrapper, .features-grid, .product-cards, .category-list, .shop-categories, .usp-strip, .tips-grid, .idea-cards, .team-profiles, .testimonial-slider, .testimonial-snippets, .faq-list {
    flex-direction: column !important;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  section, .section, .cta { margin-bottom: 36px; }
  h1 { font-size: 1.77rem; }
  h2 { font-size: 1.23rem; }
  .hero { padding: 36px 0; }
  .btn-primary {
    font-size: 1rem;
    padding: 11px 17px;
  }
}

/* ENSURE MINIMUM GAPS BETWEEN CARDS/SECTIONS */
section + section,
.section + .section,
.testimonial-card + .testimonial-card,
.features-grid > div + div,
.product-cards > div + div,
.category-list > div + div,
.shop-categories > div + div,
.usp-strip > div + div,
.idea-cards > div + div,
.team-profiles > div + div {
  margin-left: 0;
  margin-top: 20px;
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: #181A1B;
  box-shadow: 0 -2px 28px -2px rgba(30, 20, 40, 0.20);
  padding: 22px 18px 20px 18px;
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  border-top: 1.5px solid #181A1B;
  font-size: 1.02rem;
  animation: cookie-banner-in .48s cubic-bezier(.89,-0.03,.47,1.12);
}
@keyframes cookie-banner-in {
  from { transform: translateY(100%); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner .cookie-text {
  max-width: 470px;
  color: #222;
  font-size: 1.02rem;
  line-height: 1.55;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 22px;
  border: none;
  outline: none;
  background: #181A1B;
  color: #fff;
  padding: 10px 26px;
  font-weight: 600;
  margin-right: 0;
  transition: background 0.17s, color 0.14s, transform .17s;
}
.cookie-btn.accept {
  background: #B10024;
}
.cookie-btn.settings {
  background: #ECECEC;
  color: #181A1B;
  border: 1.3px solid #1a1a1a;
}
.cookie-btn.reject {
  background: #181A1B;
  color: #fff;
  border: 1.3px solid #B10024;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #222;
  color: #fff;
  transform: translateY(-1.5px) scale(1.01);
  outline: none;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus { background: #991B2C; }
.cookie-btn.settings:hover,
.cookie-btn.settings:focus { background: #E2E2E2; color: #B10024; }
.cookie-btn.reject:hover, .cookie-btn.reject:focus { background: #B10024; color: #fff; }

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  z-index: 9000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27,27,27,0.38);
  transition: opacity 0.3s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 12px 56px 7px rgba(30,13,40,0.15);
  min-width: 330px;
  max-width: 95vw;
  padding: 42px 34px 28px 34px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 23px;
  animation: modal-in .46s cubic-bezier(.6,.03,.48,1.2);
}
@keyframes modal-in {
  from { transform: translateY(60px) scale(.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 8px;
  color: #181A1B;
}
.cookie-modal-content .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-content .cookie-category {
  background: #f7f7f7;
  padding: 11px 18px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
}
.cookie-modal-content .cookie-category .toggle {
  margin-left: 0;
  width: 42px;
  height: 22px;
  border-radius: 14px;
  background: #E6E6E9;
  position: relative;
  transition: background .22s;
  outline: none;
  border: none;
}
.cookie-modal-content .cookie-category .toggle[aria-checked="true"] {
  background: #B10024;
}
.cookie-modal-content .cookie-category .toggle::after {
  content: '';
  display: block;
  position: absolute;
  left: 4px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 7px #ccc;
  transition: left .18s;
}
.cookie-modal-content .cookie-category .toggle[aria-checked="true"]::after {
  left: 22px;
}
.cookie-modal-content .category-name {
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #181A1B;
}
.cookie-modal-content .cookie-modal-actions {
  display: flex;
  gap: 11px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal-content .cookie-btn { min-width: 120px; }
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  color: #181A1B;
  font-size: 1.43rem;
  cursor: pointer;
}
.cookie-modal-close:hover { color: #B10024; }

@media (max-width: 520px) {
  .cookie-modal-content { padding: 23px 6vw 12px 6vw; min-width: unset; }
}

/* MISC STYLE TWEAKS FOR SOPHISTICATED TOUCH */
.card, .features-grid > div, .usp-strip > div, .testimonial-card {
  border: 1px solid #ecebeb;
}
.card {
  box-shadow: 0 2.5px 22px 0 rgba(44,43,49,0.09);
}
.card:hover, .features-grid > div:hover {
  border-color: #C8C6C9;
  box-shadow: 0 5px 32px 0 rgba(44,15,32,0.15);
}
/* Remove outline on click but not for accessibility tab navigation */
*:focus:not(:focus-visible){outline:none;}

/* FORMS (should you add) */
input, textarea, select {
  font-family: inherit;
  border-radius: 9px;
  border: 1.3px solid #B9B9B9;
  font-size: 1rem;
  padding: 11px 15px;
  color: #181A1B;
  background: #fff;
  outline: none;
  margin-bottom: 13px;
  transition: border 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #B10024;
}

/* --- End of Scarlet AutoStyle monochrome_sophisticated style --- */
