:root {
  --photo-bg: url("/assets/images/bg-garden-deck.png");
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--photo-bg) center center / cover fixed no-repeat #5a6b4a;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.site-wrap {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.25rem 1rem 5rem;
}

.site-header {
  margin-bottom: 1.5rem;
}

.site-header .logo {
  text-decoration: none;
  font-weight: 700;
}

.site-footer {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

.site-footer p {
  margin: 0;
}

h1 {
  margin: 0 0 0.5rem;
  line-height: 1.15;
}

h2 {
  margin: 2rem 0 1rem;
}

.lead {
  margin: 0 0 1rem;
  max-width: 40em;
}

img {
  max-width: 100%;
  height: auto;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

.alert {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.alert-ok {
  background: #e8f5e9;
  color: #1b5e20;
}

.alert-err {
  background: #ffebee;
  color: #b71c1c;
}

.fire-audio-toggle {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.fire-audio-toggle:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.fire-audio-toggle[hidden] {
  display: none;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay[hidden] {
  display: none;
}

.modal {
  padding: 1.75rem;
  max-width: 400px;
  width: 100%;
  border-radius: 12px;
}

.modal h2 {
  margin-top: 0;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
}

.video-feature {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
}

.video-feature video {
  display: block;
  width: 100%;
  max-height: 520px;
  vertical-align: middle;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.video-card {
  background: #111;
  border-radius: 8px;
  overflow: hidden;
}

.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

.video-card figcaption {
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: #ccc;
  background: #1a1a1a;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.gallery a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
}

.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.25s;
}

.gallery a:hover img {
  transform: scale(1.04);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.spec-table th {
  width: 36%;
  font-weight: 600;
}

.reviews {
  display: grid;
  gap: 1rem;
}

.review {
  padding: 1rem 1.25rem;
  border-radius: 8px;
}

.review .stars {
  color: #e6a800;
  margin-bottom: 0.35rem;
}

.review footer {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

.newsletter-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.newsletter-form input[type="email"] {
  width: 100%;
  max-width: 360px;
  padding: 0.65rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.newsletter-form .checkbox {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  max-width: 420px;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.catalog-filters button {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.product-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.product-card .body {
  padding: 1rem;
}

.product-card h3 {
  margin: 0.25rem 0;
  font-size: 1.05rem;
}

.product-card .cat {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.product-card .desc {
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

.product-card .price {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.product-card .btn {
  width: 100%;
}
