/* ---- 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 {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  height: 100%;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  min-height: 100vh;
  background: #f8f6f2;
  color: #3b2c21;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #564438;
  text-decoration: underline;
  transition: color .18s;
}
a:hover,
a:focus {
  color: #A3B18A;
}
ul, ol {
  padding-left: 1.4em;
  margin-bottom: 1em;
}

/* ---- FONT HIERARCHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
  color: #3b2c21;
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.18;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  margin-top: 20px;
}
h3 {
  font-size: 1.33rem;
  margin-bottom:12px;
}
h4 {
  font-size: 1.12rem;
}
p, li {
  color: #3b2c21;
  font-size: 1rem; 
  font-family: 'Georgia', Times, serif;
}
.subheadline {
  font-size: 1.25rem;
  color: #564438;
  margin-bottom: 28px;
  font-family: 'Georgia', Times, serif;
  font-style: italic;
}

/* ---- CONTAINERS, SPACING, FLEX LAYOUT ---- */

.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 18px 0 rgba(60,44,33,0.10), 0 1.5px 5px 0 rgba(163,177,138,.05);
  padding: 32px 24px;
  transition: box-shadow .24s;
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(60,44,33,0.15), 0 2.5px 8px 0 rgba(163,177,138,.10);
}

.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 32px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(90,70,55,0.13);
  margin-bottom: 24px;
  color: #3b2c21;
  font-size: 1.0625rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ---- HEADER & NAVIGATION ---- */
header {
  background: #f6f3ed;
  border-bottom: 1px solid #e2c9a0;
  padding: 0;
  position: relative;
  z-index: 110;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  position: relative;
}
header nav {
  display: flex;
  gap: 32px;
}
header nav a {
  font-family: 'Playfair Display', Georgia, serif;
  color: #564438;
  font-size: 1.06rem;
  letter-spacing: .3px;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 2px;
  border-radius: 4px;
  transition: background .16s, color .18s;
}
header nav a:hover, header nav a:focus {
  background: #ececec;
  color: #3b2c21;
}

.cta-primary {
  font-family: 'Playfair Display', Georgia, serif;
  background: #564438;
  color: #fff;
  font-size: 1.08rem;
  display: inline-block;
  border: none;
  border-radius: 26px;
  padding: 12px 32px;
  font-weight: 600;
  letter-spacing: .6px;
  cursor: pointer;
  box-shadow: 0 1px 7px 0 rgba(87,68,56,0.11);
  transition: background .2s, box-shadow .25s, transform .16s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #3b2c21;
  color: #E2C9A0;
  transform: translateY(-1.5px) scale(1.02);
  box-shadow: 0 2px 14px 0 rgba(87,68,56,0.20);
}
.cta-secondary {
  font-family: 'Playfair Display', Georgia, serif;
  background: #fff;
  color: #564438;
  border: 1.5px solid #E2C9A0;
  border-radius: 26px;
  padding: 12px 32px;
  display: inline-block;
  font-weight: 500;
  cursor: pointer;
  box-shadow: none;
  font-size: 1.05rem;
  transition: background .18s, color .16s, border-color .20s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #E2C9A0;
  color: #3b2c21;
  border-color: #A3B18A;
}

header img {
  max-height: 48px;
  margin: 10px 0;
}

/* ---- MOBILE NAVIGATION ---- */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  font-size: 2rem;
  color: #564438;
  border: none;
  outline: none;
  margin-left: 10px;
  cursor: pointer;
  z-index: 120;
  transition: background .16s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #A3B18A;
  background: #efe6d6;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(245,240,231,0.97);
  z-index: 140;
  transform: translateX(-110vw);
  transition: transform .35s cubic-bezier(.82,.08,.58,.97);
  box-shadow: 9px 0px 16px 0 rgba(60,44,33,0.09);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #564438;
  margin: 18px 30px 0 0;
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #A3B18A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 48px;
  margin-top: 25px;
}
.mobile-nav a {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  color: #3b2c21;
  text-decoration: none;
  padding: 9px 0 9px 8px;
  border-radius: 5px;
  transition: background .16s, color .18s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E2C9A0;
  color: #564438;
}

/* ---- HERO, FEATURES & CONTENT ---- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.feature-icon {
  flex: 0 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}
.feature-description {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 200px;
}

.product-card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin-top: 20px;
}
.product-card {
  flex: 1 1 300px;
  max-width: 360px;
  min-width: 260px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px 0 rgba(60,44,33,0.09);
  margin-bottom: 20px;
  padding: 28px 22px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .2s;
}
.product-card h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}
.product-card p {
  margin-bottom: 9px;
}
.product-card .availability {
  margin-left: 9px;
  font-weight: 500;
  color: #3b2c21;
  font-size: .98em;
}
.product-card .availability.not {
  color: #AF241D;
  background: #f6d6d6;
  border-radius: 5px;
  padding: 1px 6px;
}
.product-card .quick-view {
  background: #E2C9A0;
  border: none;
  color: #3b2c21;
  padding: 10px 26px;
  border-radius: 16px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.01rem;
  font-weight: 500;
  cursor: pointer;
  margin-top: 4px;
  letter-spacing: .4px;
  transition: background .17s, color .15s;
}
.product-card .quick-view:hover, .product-card .quick-view:focus {
  background: #A3B18A;
  color: #fff;
}
.product-card:hover {
  box-shadow: 0 7px 29px 0 rgba(58,44,32,0.13);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin: 16px 0 10px 0;
}
.filters label {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.07rem;
  color: #564438;
}
.filters select, .filters input[type="search"] {
  padding: 8px 12px;
  border: 1px solid #E2C9A0;
  border-radius: 8px;
  background: #f6f3ed;
  font-size: 1em;
  font-family: 'Georgia', serif;
  color: #3b2c21;
  margin-right: 10px;
  transition: border-color .15s;
}
.filters select:focus, .filters input[type="search"]:focus {
  border-color: #A3B18A;
  outline: none;
}

/* ---- TEXT-SECTION (for custom, about, etc) ---- */
.text-section {
  margin-bottom: 18px;
}
.text-section p, .text-section ul, .text-section li {
  font-family: 'Georgia', Times, serif;
  color: #3b2c21;
  font-size: 1.05rem;
}
.contact-details {
  margin-bottom: 20px;
}

/* ---- FOOTER ---- */
footer {
  background: #f6f3ed;
  border-top: 1px solid #e2c9a0;
  padding: 0;
  font-size: .98rem;
  color: #564438;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding: 30px 20px 18px 20px;
}
.footer-menu {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.01em;
}
.footer-menu a {
  color: #564438;
  text-decoration: underline;
  transition: color .15s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #A3B18A;
}
.copyright {
  font-family: 'Georgia', Times, serif;
  color: #97836D;
  font-size: .93rem;
  margin-top: 12px;
}

.social-links {
  display: flex;
  gap: 16px;
  margin: 0 0 10px 0;
}

/* ---- COOKIE BANNER ---- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #f7f3ec;
  border-top: 1.5px solid #E2C9A0;
  box-shadow: 0 -2px 6px 0 rgba(137,112,76,0.075);
  padding: 18px 20px 14px 20px;
  z-index: 2000;
  font-family: 'Georgia', serif;
  color: #3b2c21;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
  animation: cookiebanner-in .5s cubic-bezier(.76,.06,.44,1.07);
}
@keyframes cookiebanner-in {
  0% { transform: translateY(56px); opacity:0; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-banner p {
  font-size: 1.02rem;
  margin: 0;
  color: #564438;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 11px;
}
.cookie-btn,
.cookie-settings-btn {
  padding: 8px 22px;
  border-radius: 19px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.01rem;
  border: none;
  cursor: pointer;
  box-shadow: none;
  font-weight: 500;
  margin-left: 4px;
  transition: background .18s, color .12s;
}
.cookie-btn.accept {
  background: #3b2c21;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #564438;
  color: #E2C9A0;
}
.cookie-btn.reject {
  background: #fff;
  color: #564438;
  border: 1.2px solid #E2C9A0;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #E2C9A0;
  color: #564438;
}
.cookie-settings-btn {
  background: #A3B18A;
  color: #fff;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #3b2c21;
  color: #E2C9A0;
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  bottom: 10vw;
  left: 50%;
  transform: translateX(-50%) scale(.98);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(80,60,35,0.19);
  padding: 34px 32px 28px 32px;
  max-width: 97vw;
  min-width: 310px;
  z-index: 3333;
  animation: cookie-modal-in .42s cubic-bezier(.76,.06,.44,1.07);
}
@keyframes cookie-modal-in {
  0% { transform: translateX(-50%) scale(.88); opacity:0; }
  100% { transform: translateX(-50%) scale(1); opacity:1; }
}
.cookie-modal-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.32rem;
  margin-bottom: 19px;
  color: #564438;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
  gap: 10px;
}
.cookie-modal-category .category-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.09rem;
  color: #3b2c21;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  background: #E2C9A0;
  border-radius: 10px;
  position: relative;
  transition: background .2s;
  outline: none;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #A3B18A;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: left .17s cubic-bezier(.68,.21,.46,.92);
  box-shadow: 0 2px 7px 0 rgba(170,170,170,.14);
}
.cookie-toggle:checked:before {
  left: 19px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  min-width: 80px;
}

/* ---- RESPONSIVE DESIGN ---- */
@media (max-width: 1150px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 18px 14px;
    flex-direction: column;
  }
  .product-card-grid {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .container {
    padding: 0 9px;
  }
  .section {
    padding: 24px 6px;
    margin-bottom: 44px;
  }
  header .container, footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    min-height: 56px;
    padding: 13px 7px 8px 12px;
  }
  header nav, header .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.32rem; }
  .testimonial-card {
    flex-direction: column;
    padding: 16px 13px 16px 13px;
    font-size: 1rem;
    align-items: flex-start;
  }
  .feature-grid {
    flex-direction: column;
    gap: 10px 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
  }
  .product-card {
    min-width: 90vw;
    max-width: 94vw;
    padding: 16px 8px 15px 12px;
    gap: 9px;
  }
}
@media (max-width: 480px) {
  html { font-size: 14px; }
  .container { padding-left: 3px; padding-right: 3px; }
  .content-wrapper {
    gap: 10px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    font-size: .92rem;
    padding: 14px 8px 8px 9px;
  }
  .cookie-modal {
    padding: 18px 7px 19px 11px;
    min-width: 98vw;
  }
}

/* ---- MICRO-INTERACTIONS, SMALL TRANSITIONS ---- */
button, .cta-primary, .cta-secondary {
  transition: background .18s, color .12s, box-shadow .14s, transform .11s;
}

/* ---- UTILITY CLASSES ---- */
.hide { display: none !important; }
.show { display: block !important; }
.flex { display: flex !important; }

/* ---- Z-INDEX LAYERING ---- */
header { z-index: 110; }
.mobile-menu { z-index: 140; }
.cookie-banner { z-index: 2000; }
.cookie-modal { z-index: 3333; }

/* ---- ENSURE MINIMUM GAP BETWEEN CARDS/SECTIONS ---- */
.section, .card, .testimonial-card, .product-card, .content-wrapper, .card-container, .content-grid, .text-image-section, .feature-item {
  margin-bottom: 20px;
}

/* ---- SELECT DROPDOWN BEAUTIFYING (optional) ---- */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #f6f3ed url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23564438' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E%0A") right 0.75em center/18px 10px no-repeat;
  padding-right: 2.5em;
}

/* ---- CUSTOM SCROLLBAR ---- */
body::-webkit-scrollbar {
  width: 9px;
  background: #efe8dc;
}
body::-webkit-scrollbar-thumb {
  background: #E2C9A0;
  border-radius: 7px;
}
body {
  scrollbar-color: #E2C9A0 #efe8dc;
  scrollbar-width: thin;
}

/* Make sure code above stays grid-free/flex-only per requirements! */
