/*
 * LaFactory Blocks: the look of every block.
 *
 * Colors and the font come from CSS variables. Each one has a neutral
 * fallback, so the blocks look finished on any theme; a site sets its own
 * palette by declaring them (Settings > LaFactory Blocks, or its stylesheet):
 *
 *   --lfb-font           inherit                  font family of every block
 *   --lfb-ink            #111827                  headings and strong text
 *   --lfb-text           #374151                  body text
 *   --lfb-text-strong    #1f2937                  lead paragraph of a prose block
 *   --lfb-muted          #6b7280                  intros, card text, secondary lines
 *   --lfb-subtle         #9ca3af                  labels, FAQ group names
 *   --lfb-faint          #d1d5db                  FAQ chevron
 *   --lfb-accent         #2563eb                  buttons, solid labels
 *   --lfb-accent-strong  #1d4ed8                  button hover, links, figures
 *   --lfb-accent-soft    #dbeafe                  label background
 *   --lfb-on-accent      #ffffff                  text on an accent background
 *   --lfb-dark           #111827                  dark bands, hero background, dark button
 *   --lfb-on-dark        #ffffff                  text on a dark background or a photo
 *   --lfb-surface        #ffffff                  cards, FAQ items, stats band
 *   --lfb-surface-soft   #f9fafb                  table head
 *   --lfb-surface-hover  #f9fafb                  FAQ question hover
 *   --lfb-border         #e5e7eb                  card and table borders
 *   --lfb-border-strong  #d1d5db                  border of a film inside a text
 *   --lfb-success        #15803d                  tick of a checklist
 *   --lfb-shadow         rgba(17, 24, 39, 0.1)    card hover shadow
 *   --lfb-scrim          rgba(17, 24, 39, 0.75)   play button disc
 *
 *   --lfb-error          #b91c1c                  required mark, form error text
 *   --lfb-error-soft     #fee2e2                  form error background
 *   --lfb-radius         8px                      corners of tiles and notices
 *   --lfb-gap            16px                     gap of the tile grids
 *
 * The hero overlay tint is --lfb-overlay-rgb (three numbers, default 0, 0, 0),
 * read by the inline gradient the hero block prints.
 */

a.lfb-btn,
button.lfb-btn,
.lfb-btn {
  display: inline-block;
  background: var(--lfb-accent, #2563eb);
  color: var(--lfb-on-accent, #ffffff);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--lfb-font, inherit);
  transition: background 0.12s;
}

a.lfb-btn:hover,
button.lfb-btn:hover,
.lfb-btn:hover {
  background: var(--lfb-accent-strong, #1d4ed8);
  color: var(--lfb-on-accent, #ffffff);
  text-decoration: none;
}

@supports ((-webkit-mask-image: none) or (mask-image: none)) {
.lfb-faq__chev {
  flex-shrink: 0;
  font-size: 0;
  line-height: 0;
}
}

@supports ((-webkit-mask-image: none) or (mask-image: none)) {
.lfb-faq__chev::before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 14px 14px;
  mask-size: 14px 14px;
  transition: transform .18s ease;
}
}

@supports ((-webkit-mask-image: none) or (mask-image: none)) {
.lfb-faq__item.is-open .lfb-faq__chev::before {
  transform: rotate(180deg);
}
}

@supports ((-webkit-mask-image: none) or (mask-image: none)) {
@media (prefers-reduced-motion: reduce) {
.lfb-faq__chev::before {
  transition: none;
}
}
}

.lfb-page {
  font-family: var(--lfb-font, inherit);
  color: var(--lfb-ink, #111827);
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 40px 72px;
}

.lfb-title {
  font-family: var(--lfb-font, inherit);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--lfb-ink, #111827);
}

.lfb-intro {
  font-size: 17px;
  color: var(--lfb-muted, #6b7280);
  margin: 0 0 32px;
  max-width: 680px;
  line-height: 1.6;
}

.lfb-intro a {
  color: var(--lfb-accent-strong, #1d4ed8);
  font-weight: 600;
  text-decoration: none;
}

.lfb-intro a:hover {
  color: var(--lfb-accent, #2563eb);
}

.lfb-card {
  background: var(--lfb-surface, #ffffff);
  border: 1px solid var(--lfb-border, #e5e7eb);
  border-radius: 12px;
  padding: 24px 26px;
}

.lfb-card__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.lfb-card__text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--lfb-muted, #6b7280);
}

.lfb-card__text a {
  color: var(--lfb-accent-strong, #1d4ed8);
  font-weight: 600;
  text-decoration: none;
}

.lfb-callout {
  background: var(--lfb-surface, #ffffff);
  border: 1px solid var(--lfb-border, #e5e7eb);
  border-radius: 12px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.lfb-callout__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.lfb-callout__sub {
  font-size: 14px;
  color: var(--lfb-muted, #6b7280);
}

.lfb-btn-outline {
  flex-shrink: 0;
  background: var(--lfb-dark, #111827);
  color: var(--lfb-on-accent, #ffffff);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 8px;
  transition: background 0.12s;
}

.lfb-btn-outline:hover {
  background: var(--lfb-accent, #2563eb);
  color: var(--lfb-on-accent, #ffffff);
}

.lfb-page--full {
  max-width: none;
  padding: 0;
}

.lfb-split {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 56px 40px;
  align-items: center;
}

.lfb-pill {
  display: inline-flex;
  background: var(--lfb-accent-soft, #dbeafe);
  color: var(--lfb-accent-strong, #1d4ed8);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.lfb-h1 {
  font-family: var(--lfb-font, inherit);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.06;
  margin: 0 0 18px;
  color: var(--lfb-ink, #111827);
}

.lfb-lead,
.is-style-lfb-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--lfb-muted, #6b7280);
  margin: 0 0 28px;
}

.lfb-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 40px 72px;
}

.is-style-lfb-heading {
  font-family: var(--lfb-font, inherit);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  color: var(--lfb-ink, #111827);
}

.lfb-band {
  margin-top: 32px;
  background: var(--lfb-dark, #111827);
  color: var(--lfb-on-dark, #ffffff);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.lfb-band__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.lfb-band__sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.lfb-band .lfb-btn {
  flex-shrink: 0;
  font-size: 14px;
  padding: 13px 24px;
}

.lfb-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: var(--lfb-dark, #111827);
}

.lfb-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 88px 40px;
}

.lfb-hero__inner--tall {
  padding: 96px 40px;
}

.lfb-h1--onimg {
  color: var(--lfb-on-dark, #ffffff);
  font-size: 52px;
  max-width: 720px;
}

.lfb-lead--onimg {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  max-width: 560px;
}

.lfb-pill--solid {
  background: var(--lfb-accent, #2563eb);
  color: var(--lfb-on-accent, #ffffff);
}

.lfb-stats {
  border-bottom: 1px solid var(--lfb-border, #e5e7eb);
  background: var(--lfb-surface, #ffffff);
}

.lfb-stats__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 32px 40px;
}

.lfb-stat__num {
  font-size: 32px;
  font-weight: 700;
  color: var(--lfb-accent-strong, #1d4ed8);
}

.lfb-stat__label {
  font-size: 13px;
  color: var(--lfb-subtle, #9ca3af);
}

.lfb-prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 40px;
}

.lfb-prose p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--lfb-text, #374151);
  margin: 0 0 22px;
}

.lfb-prose p.is-style-lfb-prose-lead {
  font-size: 19px;
  color: var(--lfb-text-strong, #1f2937);
}

.lfb-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.lfb-checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.lfb-check {
  display: flex;
  gap: 10px;
  font-size: 15px;
  color: var(--lfb-text, #374151);
}

.lfb-check span:first-child {
  color: var(--lfb-success, #15803d);
  font-weight: 700;
}

.lfb-section--center {
  text-align: center;
}

.lfb-section--center .lfb-lead,
.lfb-section--center .is-style-lfb-lead {
  margin-left: auto;
  margin-right: auto;
  max-width: 620px;
}

.lfb-page--faq {
  max-width: 860px;
}

.lfb-faq-group {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lfb-subtle, #9ca3af);
  margin: 28px 0 12px;
}

.lfb-faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lfb-faq__item {
  background: var(--lfb-surface, #ffffff);
  border: 1px solid var(--lfb-border, #e5e7eb);
  border-radius: 12px;
  overflow: hidden;
}

.lfb-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 18px 22px;
  text-align: left;
  color: var(--lfb-ink, #111827);
  font-family: var(--lfb-font, inherit);
  font-size: 16px;
  font-weight: 600;
}

.lfb-faq__q:hover,
.lfb-faq__q:focus,
.lfb-faq__q:active {
  background: var(--lfb-surface-hover, #f9fafb);
  color: var(--lfb-ink, #111827);
  outline: none;
}

.lfb-faq__chev {
  color: var(--lfb-faint, #d1d5db);
}

.lfb-faq__a {
  display: none;
  padding: 0 22px 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--lfb-text, #374151);
}

.lfb-faq__item.is-open .lfb-faq__a {
  display: block;
}

.lfb-videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.lfb-video {
  display: block;
  background: var(--lfb-surface, #ffffff);
  border: 1px solid var(--lfb-border, #e5e7eb);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--lfb-ink, #111827);
  transition: all 0.15s;
}

.lfb-video:hover {
  box-shadow: 0 10px 28px var(--lfb-shadow, rgba(17, 24, 39, 0.1));
  transform: translateY(-2px);
  color: var(--lfb-ink, #111827);
}

.lfb-video__media {
  position: relative;
}

.lfb-video__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.lfb-video__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lfb-video__play span {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--lfb-scrim, rgba(17, 24, 39, 0.75));
  display: flex;
  align-items: center;
  justify-content: center;
}

.lfb-video__play span::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 16px solid var(--lfb-on-dark, #ffffff);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
}

.lfb-video__body {
  padding: 14px 16px 16px;
}

.lfb-video__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.lfb-video-solo {
  max-width: 620px;
  margin: 30px 0;
}

.lfb-video-solo .lfb-video {
  border-color: var(--lfb-border-strong, #d1d5db);
}

.lfb-split__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.lfb-table {
  margin: 20px 0 28px;
  overflow-x: auto;
}

.lfb-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.lfb-table td,
.lfb-table th {
  border: 1px solid var(--lfb-border, #e5e7eb);
  padding: 10px 14px;
  color: var(--lfb-text, #374151);
  text-align: left;
}

.lfb-table th {
  background: var(--lfb-surface-soft, #f9fafb);
  font-weight: 700;
}

.lfb-page--article {
  padding-top: 24px;
  padding-bottom: 56px;
}

.lfb-article p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--lfb-text, #374151);
  margin: 0 0 16px;
}

.lfb-page--article .lfb-faq__a p {
  margin: 0 0 14px;
}

.lfb-page--article .lfb-faq__a table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.lfb-page--article .lfb-faq__a td,
.lfb-page--article .lfb-faq__a th {
  border: 1px solid var(--lfb-border, #e5e7eb);
  padding: 8px 12px;
  color: var(--lfb-text, #374151);
  text-align: left;
}

.lfb-page--article .lfb-faq__a a {
  color: var(--lfb-accent-strong, #1d4ed8);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 1024px) {
.lfb-split {
  grid-template-columns: 1fr;
}
}

@media (max-width: 1024px) {
.lfb-cards,
.lfb-videos {
  grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 1024px) {
.lfb-stats__grid {
  grid-template-columns: repeat(3, 1fr);
}
}

@media (max-width: 640px) {
.lfb-page,
.lfb-split,
.lfb-section {
  padding-left: 20px;
  padding-right: 20px;
}
}

@media (max-width: 640px) {
.lfb-title,
.lfb-h1 {
  font-size: 34px;
}
}

@media (max-width: 640px) {
.lfb-cards,
.lfb-videos,
.lfb-stats__grid {
  grid-template-columns: 1fr;
}
}

.lfb-page--article .lfb-video-solo .lfb-video,
.lfb-page--article .lfb-video-solo .lfb-video__title {
  color: var(--lfb-ink, #111827);
}

/* ------------------------------------------------------------------------
 * Shop blocks and contact form (1.1.0). Same palette variables; tile radius
 * and grid gap read --lfb-radius and --lfb-gap.
 * --------------------------------------------------------------------- */

.lfb-catgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 300px;
  gap: var(--lfb-gap, 16px);
  font-family: var(--lfb-font, inherit);
}

.lfb-catgrid.is-style-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto;
}

.lfb-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--lfb-radius, 8px);
  background: var(--lfb-surface-soft, #f9fafb);
  color: var(--lfb-on-dark, #ffffff);
  text-decoration: none;
}

.lfb-tile__media {
  display: contents;
}

.lfb-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.lfb-tile:hover img {
  transform: scale(1.04);
}

.lfb-tile__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 56px 18px 16px;
  background: linear-gradient(180deg, transparent, var(--lfb-scrim, rgba(17, 24, 39, 0.75)));
}

.lfb-tile__name {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--lfb-on-dark, #ffffff);
}

.lfb-tile__text {
  display: none;
  font-size: 15px;
  line-height: 1.5;
}

.lfb-tile.is-large {
  grid-column: span 2;
  grid-row: span 2;
}

.lfb-tile.is-large .lfb-tile__name {
  font-size: 44px;
}

.lfb-tile.is-wide {
  grid-column: span 2;
}

/* Wide tile with its photo in a disc and the name beside it. */
.lfb-tile.has-disc {
  display: flex;
  align-items: center;
  gap: 4%;
  padding-left: 6%;
  background: var(--lfb-surface, #ffffff);
  border: 1px solid var(--lfb-border, #e5e7eb);
}

.lfb-tile.has-disc .lfb-tile__media {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: min(240px, 46%);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50%;
  background: var(--lfb-accent-soft, #dbeafe);
}

.lfb-tile.has-disc img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: none;
}

.lfb-tile.has-disc .lfb-tile__cap {
  position: static;
  flex: 1;
  padding: 0 20px 0 0;
  background: none;
}

.lfb-tile.has-disc .lfb-tile__name {
  color: var(--lfb-ink, #111827);
}

/* Cards style: photo above, name and line of text below. */
.lfb-catgrid.is-style-cards .lfb-tile {
  display: flex;
  flex-direction: column;
  background: var(--lfb-surface, #ffffff);
  border: 1px solid var(--lfb-border, #e5e7eb);
  color: var(--lfb-ink, #111827);
}

.lfb-catgrid.is-style-cards .lfb-tile img {
  height: auto;
  aspect-ratio: 4 / 3;
}

.lfb-catgrid.is-style-cards .lfb-tile__cap {
  position: static;
  padding: 18px 20px 20px;
  background: none;
}

.lfb-catgrid.is-style-cards .lfb-tile__name {
  font-size: 22px;
  color: var(--lfb-ink, #111827);
}

.lfb-catgrid.is-style-cards .lfb-tile__text {
  display: block;
  color: var(--lfb-muted, #6b7280);
}

/* Numbered tiles: 01, 02... at the end of the caption. */
.lfb-catgrid--numbered {
  counter-reset: lfb-tile;
}

.lfb-catgrid--numbered .lfb-tile {
  counter-increment: lfb-tile;
}

.lfb-catgrid--numbered .lfb-tile__cap::after {
  content: counter(lfb-tile, decimal-leading-zero);
  position: absolute;
  right: 18px;
  bottom: 16px;
  font-size: 14px;
  font-weight: 700;
  opacity: 0.8;
}

/* Attribute swatches. */
.lfb-swatches {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--lfb-gap, 16px);
  font-family: var(--lfb-font, inherit);
}

.lfb-swatch {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--lfb-ink, #111827);
  text-decoration: none;
}

.lfb-swatch__tile {
  display: flex;
  align-items: flex-end;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--lfb-radius, 8px);
  background: var(--lfb-surface-soft, #f9fafb);
  color: var(--lfb-on-dark, #ffffff);
}

.lfb-swatch__tile.is-light {
  color: var(--lfb-ink, #111827);
}

.lfb-swatch__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lfb-swatch__tilename {
  padding: 12px;
  font-weight: 700;
}

.lfb-swatch__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.lfb-swatch__dot {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--lfb-border, #e5e7eb);
}

.lfb-swatches.is-style-dots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.lfb-dot {
  display: inline-flex;
  padding: 3px;
  border: 1px solid transparent;
  border-radius: 50%;
}

.lfb-dot span {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--lfb-border, #e5e7eb);
  background: var(--lfb-surface-soft, #f9fafb);
}

.lfb-dot.is-active,
.lfb-dot:hover {
  border-color: var(--lfb-ink, #111827);
}

.lfb-dot-reset {
  flex-basis: 100%;
  font-size: 13px;
  color: var(--lfb-accent-strong, #1d4ed8);
}

/* Signature piece. */
.lfb-lead-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--lfb-radius, 8px);
  color: var(--lfb-on-dark, #ffffff);
  text-decoration: none;
  font-family: var(--lfb-font, inherit);
}

.lfb-lead-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lfb-lead-tile__kicker {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--lfb-accent, #2563eb);
  color: var(--lfb-on-accent, #ffffff);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lfb-lead-tile__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  padding: 70px 22px 20px;
  background: linear-gradient(180deg, transparent, var(--lfb-scrim, rgba(17, 24, 39, 0.75)));
}

.lfb-lead-tile__name {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}

.lfb-lead-tile__price {
  font-weight: 700;
}

/* Contact form. */
.lfb-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  font-family: var(--lfb-font, inherit);
}

.lfb-contact .lfb-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.lfb-contact .lfb-field--full,
.lfb-contact .lfb-notice,
.lfb-contact .lfb-submit {
  grid-column: 1 / -1;
}

.lfb-contact label {
  font-size: 14px;
  font-weight: 600;
  color: var(--lfb-ink, #111827);
}

.lfb-contact .lfb-req {
  color: var(--lfb-error, #b91c1c);
}

.lfb-contact input,
.lfb-contact textarea,
.lfb-contact select {
  width: 100%;
  box-sizing: border-box;
}

.lfb-submit {
  margin: 0;
}

.lfb-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lfb-notice {
  margin: 0;
  padding: 14px 18px;
  border-radius: var(--lfb-radius, 8px);
  background: var(--lfb-surface-soft, #f9fafb);
  color: var(--lfb-ink, #111827);
  font-weight: 600;
}

.lfb-notice--err {
  background: var(--lfb-error-soft, #fee2e2);
  color: var(--lfb-error, #b91c1c);
}

@media (max-width: 900px) {
  .lfb-catgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 210px;
    gap: 10px;
  }

  .lfb-catgrid.is-style-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .lfb-tile__name {
    font-size: 21px;
  }

  .lfb-tile.is-large .lfb-tile__name {
    font-size: 32px;
  }

  .lfb-swatches {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lfb-contact {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lfb-tile img {
    transition: none;
  }
}
