/* lessplastic — interaction styles (block supports handle the rest) */

/* The only weighted element on the site. */
.price { font-weight: 500; }

/* Hero — editorial, text-led, generous whitespace (no product image). */
.lp-hero { padding-top: 8.75rem; padding-bottom: 8.75rem; }
.lp-hero-inner { max-width: 680px; }
.lp-hero h1 { font-size: 3.5rem; line-height: 1.1; }

/* Accessibility helper for the enhanced variation select. */
.lp-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Product grid card: 4:5 image, quiet hover (no CTA reveal). */
.lp-card img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: opacity 0.3s ease; }
.lp-product-grid .lp-card:hover img,
.lp-product-grid .lp-card:focus-within img { opacity: 0.92; }
.lp-card :where(h3, .price) a { text-decoration: none; color: inherit; }

/* How-to steps: square image on top of each step. */
.lp-step img { display: block; width: 100%; aspect-ratio: 1/1; object-fit: cover; }

/* Use-cases ("Kam tinka"): hairline top border per column, editorial. */
.lp-usecases .wp-block-column { border-top: 1px solid var(--wp--preset--color--border); padding-top: 1.25rem; }

/* Variation cards. */
.lp-variation-cards { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0 0 1.5rem; }
.lp-variation-card {
  border: 1px solid var(--wp--preset--color--border);
  background: transparent; color: var(--wp--preset--color--contrast);
  padding: 0.75rem 1.25rem; border-radius: 0; cursor: pointer;
  font-family: var(--wp--preset--font-family--sans); font-size: 0.875rem;
}
.lp-variation-card[aria-checked="true"] {
  border-color: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--accent);
}
.lp-variation-card:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 2px; }

/* Sticky buy bar. */
.lp-sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.75rem 1.5rem; background: var(--wp--preset--color--surface);
  border-top: 1px solid var(--wp--preset--color--border);
}
.lp-sticky-bar[hidden] { display: none; }

/* Mobile adjustments. */
@media (max-width: 781px) {
  .lp-hero { padding-top: 5rem; padding-bottom: 5rem; }
  .lp-hero h1 { font-size: 2.25rem; }
  .lp-instagram { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0.5rem; }
  .lp-instagram > .wp-block-column { flex: 0 0 70%; scroll-snap-align: start; }
}

/* Subtle fade-in. */
.lp-fade { opacity: 0; transform: translateY(12px); transition: opacity 0.6s ease, transform 0.6s ease; }
.lp-fade--in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .lp-fade { opacity: 1; transform: none; transition: none; }
}

/* Focus visibility site-wide. */
:where(a, button, input, summary):focus-visible {
  outline: 2px solid var(--wp--preset--color--accent); outline-offset: 2px;
}
