* { box-sizing: border-box; }
body {
  margin: 0;
  font: 1rem/1.55 Arial, Helvetica, sans-serif;
  color: #1a1a1a;
  background: #f6f3ee;
}
a { color: #0b3d2e; }
header, main, footer {
  padding: 1.25rem max(1.25rem, calc((100vw - 1100px) / 2));
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #d8d2c8;
  background: #fff;
}
.brand {
  font-weight: bold;
  text-decoration: none;
  color: #0b3d2e;
}
nav ul {
  display: flex;
  list-style: none;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
}
nav a { display: block; padding: 0.45rem 0; }
.dropdown { position: relative; }
.dropdown ul {
  display: none;
  position: absolute;
  background: #fff;
  padding: 0.75rem 1rem;
  border: 1px solid #d8d2c8;
  z-index: 5;
  min-width: 11rem;
}
.dropdown:hover ul,
.dropdown:focus-within ul { display: block; }
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2.5rem;
  padding: 2rem 0;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.12; }
h2 { font-size: 1.35rem; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.product {
  padding: 1rem;
  background: #fff;
  border: 1px solid #d8d2c8;
  border-radius: 0.75rem;
  box-shadow: 0 6px 18px #1a1a1a12;
}
.product img,
video { width: 100%; height: auto; display: block; }
.button,
button {
  display: inline-block;
  border: 0;
  border-radius: 0.4rem;
  padding: 0.75rem 1rem;
  background: #0b3d2e;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  font: inherit;
}
button:hover,
.button:hover { background: #07281e; }
:focus-visible {
  outline: 3px solid #c37615;
  outline-offset: 3px;
}
.slideshow {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  aspect-ratio: 8 / 5;
  background: #ece7df;
}
.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  animation: fade 10s infinite;
}
.second { animation-delay: 5s; opacity: 0; }
.overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  padding: 0.5rem 0.7rem;
  background: #1a1a1acc;
  color: #fff;
}
.floating-products .product {
  float: left;
  width: calc(33.333% - 1rem);
  margin: 0.5rem;
}
.clear { clear: both; }
form { max-width: 36rem; }
label, input, textarea {
  display: block;
  width: 100%;
  margin: 0.45rem 0;
}
input, textarea {
  font: inherit;
  padding: 0.65rem;
  border: 1px solid #6d7a72;
  border-radius: 0.3rem;
}
input[type=search] { animation: search-pulse 3s ease-in-out infinite; }
#errors { color: #8b1515; }
footer {
  border-top: 1px solid #d8d2c8;
  margin-top: 2.5rem;
}
dialog {
  border: 1px solid #6d7a72;
  border-radius: 0.7rem;
  padding: 1.75rem;
  max-width: 90vw;
}
dialog::backdrop { background: #0008; }
.skip {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: #fff;
  padding: 0.8rem;
  z-index: 10;
}
.skip:focus { top: 0.5rem; }
.basket-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 1px solid #d8d2c8;
  padding: 1rem 0;
}
.basket-row input { width: 5rem; }
@keyframes fade {
  0%, 45% { opacity: 1; }
  50%, 95% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes search-pulse {
  50% { border-color: #0b3d2e; box-shadow: 0 0 0 3px #0b3d2e22; }
}
@media (max-width: 720px) {
  header { display: block; }
  nav ul { flex-wrap: wrap; gap: 0.7rem; }
  .hero, .grid { grid-template-columns: 1fr; }
  .floating-products .product {
    float: none;
    width: auto;
    margin: 1rem 0;
  }
  audio { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .second { display: none; }
}
