@import url("https://fonts.googleapis.com/css2?family=Rethink+Sans:ital,wght@0,400..800;1,400..800&display=swap");

@font-face {
  font-family: "21zero";
  src:
    url("21zero.woff2") format("woff2"),
    url("21zero.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

/* Commerce audit pass: clarity beats spectacle in the revenue-critical paths. */
.hero-ctaimages .wrapper {
  z-index: 8;
  max-width: min(980px, calc(100vw - 32px));
}

.hero-ctaimages .b-ctaimages__images,
.hero-ctaimages .b-ctaimages__images:last-of-type {
  z-index: 1;
  opacity: 0.42;
}

.hero-ctaimages .b-ctaimages__heading {
  max-width: 940px;
  font-size: clamp(56px, 7.4vw, 122px);
  letter-spacing: 0;
  line-height: 0.88;
  text-wrap: balance;
}

.hero-ctaimages .b-ctaimages__content {
  max-width: 720px;
  margin: 28px 0 18px;
  font-size: clamp(18px, 1.65vw, 26px);
  line-height: 1.12;
  text-wrap: balance;
}

.hero-route-chips a,
.hero-route-chips span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(28, 28, 26, 0.32);
  border-radius: 999px;
  padding: 0 1rem;
  background: rgba(255, 248, 231, 0.92);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: lowercase;
}

.hero-route-chips a:first-child {
  background: var(--yellow);
}

.hero-trust-strip {
  display: flex;
  max-width: 760px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 14px auto 0;
  padding: 0;
  list-style: none;
}

.hero-trust-strip li,
.form-reassurance,
.project-intake__reassurance {
  border: 1px solid rgba(28, 28, 26, 0.16);
  border-radius: 999px;
  padding: 0.55rem 0.78rem;
  background: rgba(255, 248, 231, 0.86);
  color: rgba(28, 28, 26, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
}

.project-intake__reassurance {
  display: inline-flex;
  max-width: 520px;
  border-color: rgba(183, 255, 74, 0.44);
  background: rgba(183, 255, 74, 0.12);
  color: var(--cream-2);
}

.form-reassurance {
  margin: 4px 0 0;
  border-radius: 12px;
  background: rgba(183, 255, 74, 0.14);
  color: inherit;
}

.project-intake__file small,
.file-field small {
  display: block;
  margin-top: 8px;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  opacity: 0.76;
}

.gallery-catalog-tools input[type="search"] {
  min-height: 40px;
  min-width: min(270px, 42vw);
  border: 1px solid rgba(28, 28, 26, 0.18);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 248, 231, 0.92);
  color: var(--ink);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
}

.product-card-commerce {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 2px;
}

.product-card-commerce span {
  border: 1px solid rgba(28, 28, 26, 0.16);
  border-radius: 999px;
  padding: 0.32rem 0.5rem;
  background: rgba(255, 248, 231, 0.72);
  color: rgba(28, 28, 26, 0.7);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

.gallery-config-summary {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(28, 28, 26, 0.14);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
}

.gallery-config-summary > strong {
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: lowercase;
}

.gallery-config-summary > span {
  color: rgba(28, 28, 26, 0.7);
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.25;
}

.gallery-config-summary ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery-config-summary li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(28, 28, 26, 0.08);
  padding-top: 6px;
  font-size: 0.82rem;
  font-weight: 780;
}

.gallery-empty {
  display: grid;
  gap: 8px;
  grid-column: 1 / -1;
  justify-items: start;
  border: 1px solid rgba(28, 28, 26, 0.16);
  border-radius: 16px;
  padding: 18px;
  background: rgba(255, 248, 231, 0.86);
}

.admin-attention {
  display: grid;
  gap: 14px;
  margin: 18px 0 24px;
  border: 1px solid rgba(28, 28, 26, 0.12);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 248, 231, 0.68);
}

.admin-attention h2,
.admin-attention p {
  margin: 0;
}

.admin-attention-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-attention-list button {
  display: grid;
  min-height: 116px;
  gap: 8px;
  justify-items: start;
  border: 1px solid rgba(28, 28, 26, 0.12);
  border-radius: 14px;
  padding: 14px;
  background: #fffdf5;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.admin-attention-list button.is-warn {
  border-color: rgba(255, 99, 51, 0.38);
  background: rgba(255, 99, 51, 0.1);
}

.admin-attention-list button.is-ok {
  border-color: rgba(20, 152, 61, 0.24);
  background: rgba(183, 255, 74, 0.1);
}

.admin-attention-list span,
.admin-attention-list em {
  color: rgba(28, 28, 26, 0.62);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 860;
  line-height: 1.2;
}

.admin-attention-list strong {
  font-size: 2.2rem;
  line-height: 0.9;
}

.admin-workflow-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.admin-request-filters,
.admin-order-filters {
  grid-template-columns: minmax(220px, 1.4fr) minmax(150px, 0.6fr) minmax(150px, 0.6fr);
}

.admin-table-clickable tr {
  cursor: pointer;
}

.admin-table tbody tr.is-active,
.admin-table-clickable tbody tr:hover {
  background: rgba(183, 255, 74, 0.16);
}

.admin-table small {
  color: rgba(28, 28, 26, 0.54);
  font-size: 0.72rem;
  font-weight: 780;
}

.admin-request-detail {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 16px;
  border: 1px solid rgba(28, 28, 26, 0.12);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 248, 231, 0.92);
  box-shadow: 0 16px 44px rgba(28, 28, 26, 0.08);
}

.admin-request-detail h3,
.admin-request-detail h4,
.admin-request-detail p {
  margin: 0;
}

.admin-request-detail h3 {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1;
}

.admin-request-detail h4 {
  margin-bottom: 8px;
  color: rgba(28, 28, 26, 0.58);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-request-detail p {
  color: rgba(28, 28, 26, 0.68);
  font-size: 0.88rem;
  font-weight: 720;
  line-height: 1.35;
}

.admin-request-detail-head,
.admin-request-actions,
.admin-request-edit {
  display: grid;
  gap: 10px;
}

.admin-request-detail-head {
  grid-template-columns: 1fr auto;
  align-items: start;
}

.admin-request-actions {
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  margin-top: 10px;
}

.admin-request-actions a,
.admin-request-edit button {
  border: 0;
  border-radius: 999px;
  padding: 0.72rem 1rem;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.admin-request-facts {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
}

.admin-request-facts div {
  display: grid;
  grid-template-columns: minmax(92px, 0.35fr) 1fr;
  gap: 10px;
  border-top: 1px solid rgba(28, 28, 26, 0.1);
  padding-top: 8px;
}

.admin-request-facts dt,
.admin-request-facts dd {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.3;
}

.admin-request-facts dt {
  color: rgba(28, 28, 26, 0.5);
  font-weight: 900;
}

.admin-request-facts dd {
  color: var(--ink);
  font-weight: 780;
}

.admin-request-edit label {
  display: grid;
  gap: 6px;
  color: rgba(28, 28, 26, 0.58);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-request-edit input,
.admin-request-edit select,
.admin-request-edit textarea {
  width: 100%;
  border: 1px solid rgba(28, 28, 26, 0.16);
  border-radius: 12px;
  padding: 0.72rem 0.8rem;
  background: #fffdf5;
  color: var(--ink);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 760;
  text-transform: none;
}

.admin-request-detail-empty {
  display: grid;
  gap: 8px;
}

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }

  .hero.hero-ctaimages {
    height: auto;
    min-height: 100svh;
    overflow: hidden;
  }

  .hero-ctaimages .b-ctaimages__sticky {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
  }

  .hero-ctaimages .wrapper {
    min-height: 100svh;
    justify-content: center;
    padding: calc(var(--header-height) + 78px) 18px 34px;
  }

  .hero-ctaimages .b-ctaimages__heading {
    max-width: 12ch;
    font-size: clamp(42px, 12vw, 56px);
    line-height: 0.92;
  }

  .hero-ctaimages .b-ctaimages__content {
    max-width: 330px;
    margin: 18px 0 16px;
    font-size: 1rem;
    line-height: 1.2;
  }

  .hero-idea-form {
    width: min(100%, 340px);
  }

  .hero-route-chips,
  .hero-trust-strip {
    display: grid;
    width: min(100%, 340px);
    margin-inline: auto;
  }

  .hero-route-chips a,
  .hero-route-chips span {
    width: 100%;
  }

  .hero-ctaimages .b-ctaimages__images {
    opacity: 0.22;
  }

  .mobile-route-bar {
    overflow-x: auto;
    max-width: 100vw;
    padding-inline: 10px;
  }

  .quote-modal .modal-shell {
    overflow: hidden;
  }

  .quote-modal .wizard-chat h2 {
    max-width: 14ch;
    font-size: clamp(1.9rem, 10vw, 2.7rem);
  }

  .quote-modal .wizard-chat-log {
    max-height: 24svh;
  }

  .quote-modal .wizard-composer {
    position: sticky;
    bottom: 0;
    z-index: 5;
  }

  .quote-modal .modal-prompts,
  .quote-modal .steps,
  .quote-modal .quote-wizard-steps {
    overflow-x: auto;
  }

  .gallery-catalog-tools {
    align-items: stretch;
  }

  .gallery-catalog-tools label,
  .gallery-catalog-tools input[type="search"],
  .gallery-catalog-tools select {
    width: 100%;
  }

  .admin-workflow-layout {
    grid-template-columns: 1fr;
  }

  .admin-request-filters,
  .admin-order-filters {
    grid-template-columns: 1fr;
  }

  .admin-request-detail {
    position: static;
  }

  .admin-attention-list {
    grid-template-columns: 1fr;
  }
}

/* Premium motion system: small, fast feedback only where it clarifies state. */
:root {
  --motion-duration-instant: 80ms;
  --motion-duration-fast: 120ms;
  --motion-duration-normal: 180ms;
  --motion-duration-slow: 240ms;
  --motion-ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --motion-ease-exit: cubic-bezier(0.4, 0, 1, 1);
  --motion-ease-entrance: cubic-bezier(0, 0, 0.2, 1);
  --motion-scale-press: 0.985;
  --motion-scale-hover: 1.01;
  --motion-translate-tiny: 2px;
  --motion-translate-small: 4px;
  --motion-translate-medium: 8px;
  --motion-ring: 0 0 0 4px rgba(183, 255, 74, 0.28);
}

:where(
  .hero-route-chips a,
  .project-intake__chat,
  .project-intake__form button,
  .quick-prompts button,
  .steps button,
  .quote-wizard-steps button,
  .quote-submit,
  .gallery-filter-tabs button,
  .gallery-pagination button,
  .gallery-actions button,
  .gallery-secondary-action,
  .gallery-swatch,
  .gallery-option,
  .gallery-part-card,
  .gallery-thumbs button,
  .product-card,
  .product-card a,
  .product-viewer-fixed-actions button,
  .cart-close,
  .cart-item-remove,
  .cart-shipping button,
  .cart-shipping-option,
  .cart-checkout,
  .admin-sidebar button,
  .admin-toolbar-actions button,
  .admin-toolbar-actions a,
  .admin-list-head button,
  .admin-product-list button,
  .admin-attention-list button,
  .admin-table-clickable tr,
  .admin-request-actions a,
  .admin-request-edit button,
  .admin-quick-create button,
  .editor-tabs button,
  .panel-title-row button,
  .admin-repeater-row button,
  .group-head button,
  .option-row button,
  .admin-media-card button,
  .admin-category-card button
) {
  transition-duration: var(--motion-duration-normal);
  transition-property: background-color, border-color, color, opacity, box-shadow, transform;
  transition-timing-function: var(--motion-ease-standard);
}

:where(
  input,
  select,
  textarea,
  .gallery-catalog-tools input[type="search"],
  .admin-form-grid input,
  .admin-form-grid select,
  .admin-form-grid textarea,
  .admin-list-filters input,
  .admin-list-filters select,
  .admin-request-edit input,
  .admin-request-edit select,
  .admin-request-edit textarea
) {
  transition:
    border-color var(--motion-duration-fast) var(--motion-ease-standard),
    box-shadow var(--motion-duration-fast) var(--motion-ease-standard),
    background-color var(--motion-duration-fast) var(--motion-ease-standard),
    color var(--motion-duration-fast) var(--motion-ease-standard);
}

:where(button, a, input, select, textarea):focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  box-shadow: var(--motion-ring);
}

:where(
  .hero-route-chips a,
  .project-intake__chat,
  .project-intake__form button,
  .quick-prompts button,
  .steps button,
  .quote-wizard-steps button,
  .quote-submit,
  .gallery-filter-tabs button,
  .gallery-pagination button,
  .gallery-actions button,
  .gallery-secondary-action,
  .product-card a,
  .product-viewer-fixed-actions button,
  .cart-checkout,
  .admin-toolbar-actions button,
  .admin-toolbar-actions a,
  .admin-list-head button,
  .admin-attention-list button,
  .admin-request-actions a,
  .admin-request-edit button,
  .editor-tabs button
):hover {
  transform: translate3d(0, calc(var(--motion-translate-tiny) * -1), 0);
}

:where(
  .product-card,
  .admin-product-list button,
  .admin-media-card,
  .admin-category-card,
  .gallery-part-card,
  .cart-item,
  .admin-dashboard article,
  .admin-attention-list button
):hover {
  box-shadow: 0 12px 30px rgba(28, 28, 26, 0.09);
  transform: translate3d(0, calc(var(--motion-translate-tiny) * -1), 0);
}

:where(
  button:not(:disabled),
  .hero-route-chips a,
  .project-intake__chat,
  .product-card a,
  .admin-toolbar-actions a,
  .admin-request-actions a
):active {
  transform: translate3d(0, 1px, 0) scale(var(--motion-scale-press));
  transition-duration: var(--motion-duration-instant);
}

.product-viewer,
.product-viewer-backdrop,
.cart-backdrop,
.custom-flow {
  transition-duration: var(--motion-duration-slow);
  transition-timing-function: var(--motion-ease-standard);
}

.product-viewer-panel.gallery-product {
  transform: translate3d(0, var(--motion-translate-medium), 0) scale(0.992);
  transition:
    opacity var(--motion-duration-normal) var(--motion-ease-entrance),
    transform var(--motion-duration-slow) var(--motion-ease-standard),
    box-shadow var(--motion-duration-slow) var(--motion-ease-standard);
}

.cart-panel {
  transition:
    transform var(--motion-duration-slow) var(--motion-ease-standard),
    box-shadow var(--motion-duration-slow) var(--motion-ease-standard);
}

.custom-flow.is-open .modal-shell,
.quote-step-panel.is-active,
.editor-panel.is-active,
.admin-section-panel.is-active {
  animation: premium-panel-enter var(--motion-duration-normal) var(--motion-ease-entrance) both;
}

.product-grid[data-gallery-grid].is-ready .product-card {
  animation-duration: var(--motion-duration-normal);
  animation-delay: min(calc(var(--card-index, 0) * 12ms), 72ms);
  animation-timing-function: var(--motion-ease-entrance);
}

.gallery-swatch.is-selected,
.gallery-option.is-selected,
.gallery-part-card.is-active,
.steps button.is-active,
.quote-wizard-steps button.is-active,
.admin-sidebar button.is-active,
.editor-tabs button.is-active,
.admin-table tbody tr.is-active {
  box-shadow: inset 0 0 0 1px rgba(28, 28, 26, 0.1), 0 8px 20px rgba(28, 28, 26, 0.08);
}

.admin-toolbar-actions button.is-saving {
  position: relative;
  overflow: hidden;
}

.admin-toolbar-actions button.is-saving::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: translateX(-100%);
  animation: premium-saving-sheen 1.2s var(--motion-ease-standard) infinite;
}

.project-intake__form[data-state="loading"] button[type="submit"],
.quote-form button[disabled],
.cart-checkout:disabled {
  cursor: progress;
  transform: none;
}

.is-status-updated,
.admin-status.is-status-updated,
.form-message.is-status-updated,
.project-intake__message.is-status-updated,
.cart-shipping-message.is-status-updated {
  animation: premium-status-update var(--motion-duration-slow) var(--motion-ease-entrance) both;
}

@keyframes premium-panel-enter {
  from {
    opacity: 0;
    transform: translate3d(0, var(--motion-translate-small), 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes premium-status-update {
  from {
    opacity: 0.66;
    transform: translate3d(0, var(--motion-translate-tiny), 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes premium-saving-sheen {
  to {
    transform: translateX(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
  }

  .custom-flow.is-open .modal-shell,
  .quote-step-panel.is-active,
  .editor-panel.is-active,
  .admin-section-panel.is-active,
  .product-grid[data-gallery-grid].is-ready .product-card,
  .is-status-updated {
    animation: none !important;
  }
}

/* Hero final composition overrides: keep cards clear of nav after legacy Happly rules. */
.hero-ctaimages .wrapper {
  width: min(1120px, calc(100vw - 32px));
  max-width: min(1120px, calc(100vw - 32px));
  margin-inline: auto;
}

.hero-ctaimages .b-ctaimages__images,
.hero-ctaimages .b-ctaimages__images:last-of-type {
  opacity: 1 !important;
}

.hero-ctaimages .b-ctaimages__image {
  opacity: 1 !important;
}

.hero-ctaimages .b-ctaimages__images:first-of-type .b-ctaimages__image:first-of-type {
  top: 21%;
  left: 5%;
  max-width: clamp(150px, 12vw, 230px);
}

.hero-ctaimages .b-ctaimages__images:first-of-type .b-ctaimages__image:nth-of-type(2) {
  top: 19%;
  right: 7%;
  max-width: clamp(140px, 11vw, 210px);
}

.hero-ctaimages .b-ctaimages__images:last-of-type .b-ctaimages__image:first-of-type {
  top: 37%;
  left: 2.5%;
  max-width: clamp(115px, 9vw, 170px);
}

.hero-ctaimages .b-ctaimages__images:last-of-type .b-ctaimages__image:nth-of-type(2) {
  top: 34%;
  right: 3%;
  max-width: clamp(110px, 8vw, 160px);
}

/* Hero repair: centered commerce copy, crisp product cards, no faded stack over the CTA. */
.hero.hero-ctaimages {
  min-height: 172svh;
  background:
    linear-gradient(180deg, rgba(255, 248, 231, 0.96), rgba(247, 240, 220, 1)),
    var(--texture-cream);
}

.hero-ctaimages .b-ctaimages__sticky {
  overflow: hidden;
  perspective: 1200px;
}

.hero-ctaimages .wrapper {
  width: min(1120px, calc(100vw - 32px));
  max-width: min(1120px, calc(100vw - 32px));
  margin-inline: auto;
  padding-top: calc(var(--header-height) + 24px);
  padding-bottom: clamp(54px, 7vh, 88px);
}

.hero-ctaimages .kicker,
.hero-ctaimages .b-ctaimages__heading,
.hero-ctaimages .b-ctaimages__content,
.hero-idea-form,
.hero-route-chips,
.hero-trust-strip {
  margin-right: auto;
  margin-left: auto;
}

.hero-ctaimages .kicker {
  position: relative;
  z-index: 6;
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(28, 28, 26, 0.12);
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  background: rgba(255, 248, 231, 0.78);
  box-shadow: 0 10px 28px rgba(28, 28, 26, 0.06);
}

.hero-ctaimages .b-ctaimages__heading {
  position: relative;
  z-index: 6;
  max-width: 960px;
  text-align: center;
  text-wrap: balance;
}

.hero-ctaimages .b-ctaimages__content {
  position: relative;
  z-index: 6;
  max-width: 690px;
  margin-top: clamp(18px, 2.2vw, 30px);
  margin-bottom: 18px;
  text-align: center;
  text-wrap: balance;
}

.hero-idea-form {
  z-index: 7;
  width: min(760px, calc(100vw - 56px));
  background: rgba(255, 248, 231, 0.96);
  box-shadow:
    0 24px 60px rgba(28, 28, 26, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.hero-route-chips,
.hero-trust-strip {
  position: relative;
  z-index: 7;
}

.hero-route-chips {
  justify-content: center;
  margin-top: 0.85rem;
}

.hero-trust-strip {
  max-width: 820px;
  margin-top: 1rem;
}

.hero-ctaimages .b-ctaimages__images,
.hero-ctaimages .b-ctaimages__images:last-of-type {
  z-index: 2;
  opacity: 1 !important;
}

.hero-ctaimages .b-ctaimages__image {
  opacity: 1 !important;
  filter: saturate(1.06) contrast(1.03);
}

.hero-ctaimages .b-ctaimages__image picture {
  overflow: hidden;
  background: #fffbf0;
  box-shadow:
    0 26px 80px rgba(28, 28, 26, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.34) inset;
}

.hero-ctaimages .b-ctaimages__image picture::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 36%),
    linear-gradient(315deg, rgba(28, 28, 26, 0.1), transparent 32%);
  mix-blend-mode: soft-light;
}

.hero-ctaimages .b-ctaimages__images:first-of-type .b-ctaimages__image:first-of-type {
  top: 21%;
  left: 5%;
  max-width: clamp(150px, 12vw, 230px);
}

.hero-ctaimages .b-ctaimages__images:first-of-type .b-ctaimages__image:nth-of-type(2) {
  top: 19%;
  right: 7%;
  max-width: clamp(140px, 11vw, 210px);
}

.hero-ctaimages .b-ctaimages__images:first-of-type .b-ctaimages__image:nth-of-type(3) {
  right: 6%;
  bottom: 7%;
  max-width: clamp(170px, 16vw, 310px);
}

.hero-ctaimages .b-ctaimages__images:first-of-type .b-ctaimages__image:nth-of-type(4) {
  bottom: 8%;
  left: 5%;
  max-width: clamp(160px, 15vw, 290px);
}

.hero-ctaimages .b-ctaimages__images:last-of-type .b-ctaimages__image:first-of-type {
  top: 37%;
  left: 2.5%;
  max-width: clamp(115px, 9vw, 170px);
}

.hero-ctaimages .b-ctaimages__images:last-of-type .b-ctaimages__image:nth-of-type(2) {
  top: 34%;
  right: 3%;
  max-width: clamp(110px, 8vw, 160px);
}

.hero-ctaimages .b-ctaimages__images:last-of-type .b-ctaimages__image:nth-of-type(3) {
  right: 22%;
  bottom: 2%;
  max-width: clamp(95px, 7vw, 140px);
}

.hero-ctaimages .b-ctaimages__images:last-of-type .b-ctaimages__image:nth-of-type(4) {
  bottom: 2%;
  left: 22%;
  max-width: clamp(100px, 8vw, 150px);
}

@media (max-width: 980px) {
  .hero-ctaimages .b-ctaimages__images:first-of-type .b-ctaimages__image:first-of-type,
  .hero-ctaimages .b-ctaimages__images:first-of-type .b-ctaimages__image:nth-of-type(2),
  .hero-ctaimages .b-ctaimages__images:last-of-type .b-ctaimages__image:first-of-type,
  .hero-ctaimages .b-ctaimages__images:last-of-type .b-ctaimages__image:nth-of-type(2) {
    opacity: 0.72 !important;
  }

  .hero-ctaimages .b-ctaimages__images:first-of-type .b-ctaimages__image:nth-of-type(3),
  .hero-ctaimages .b-ctaimages__images:first-of-type .b-ctaimages__image:nth-of-type(4) {
    opacity: 0.86 !important;
  }
}

@media (max-width: 760px) {
  .hero.hero-ctaimages {
    min-height: 100svh;
  }

  .hero-ctaimages .wrapper {
    width: min(100%, 360px);
    padding-top: calc(var(--header-height) + 72px);
  }

  .hero-ctaimages .b-ctaimages__content {
    max-width: 330px;
  }

  .hero-ctaimages .b-ctaimages__images:first-of-type .b-ctaimages__image:first-of-type,
  .hero-ctaimages .b-ctaimages__images:first-of-type .b-ctaimages__image:nth-of-type(2),
  .hero-ctaimages .b-ctaimages__images:last-of-type .b-ctaimages__image {
    display: none;
  }

  .hero-ctaimages .b-ctaimages__images:first-of-type .b-ctaimages__image:nth-of-type(3) {
    right: -58px;
    bottom: 5%;
    display: block;
    max-width: 170px;
    opacity: 0.7 !important;
  }

  .hero-ctaimages .b-ctaimages__images:first-of-type .b-ctaimages__image:nth-of-type(4) {
    bottom: 7%;
    left: -46px;
    display: block;
    max-width: 160px;
    opacity: 0.7 !important;
  }
}

@font-face {
  font-family: "Helvetica Now Display";
  src: url("HelveticaNowDisplay.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400 800;
}

@font-face {
  font-family: "21zero5";
  src: url("21zero5-Bold.woff") format("woff");
  font-display: swap;
  font-weight: 700;
}

:root {
  --ink: #1c1c1a;
  --muted: #5d5b55;
  --cream: #f7f0dc;
  --cream-2: #fff8e7;
  --green: #b7ff4a;
  --green-deep: #14983d;
  --pink: #ff78ad;
  --coral: #ff6333;
  --blue: #57d8ff;
  --lavender: #a46cff;
  --yellow: #ffd33d;
  --orange: #ff6333;
  --acid: #b7ff4a;
  --cyan: #57d8ff;
  --violet: #a46cff;
  --line: rgba(28, 28, 26, 0.16);
  --hard-line: rgba(28, 28, 26, 0.9);
  --shadow: 0 18px 48px rgba(28, 28, 26, 0.11);
  --press-shadow: 8px 8px 0 rgba(28, 28, 26, 0.12);
  --radius-card: clamp(14px, 1.2vw, 18px);
  --radius-media: clamp(12px, 1vw, 16px);
  --radius-panel: clamp(18px, 1.8vw, 24px);
  --radius-float: clamp(18px, 1.6vw, 24px);
  --card-border: 2px solid rgba(28, 28, 26, 0.92);
  --card-shadow: 0 18px 42px rgba(28, 28, 26, 0.13), 3px 3px 0 rgba(28, 28, 26, 0.1);
  --card-shadow-hover: 0 24px 54px rgba(28, 28, 26, 0.18), 6px 6px 0 rgba(28, 28, 26, 0.13);
  --motion-happly: 450ms cubic-bezier(0.645, 0.045, 0.355, 1);
  --motion-lift: 600ms cubic-bezier(0.77, 0, 0.175, 1);
  --button-pill-height: 42px;
  --button-pill-pad-x: clamp(14px, 1.4vw, 18px);
  --button-pill-font-size: 0.925rem;
  --weight-copy: 560;
  --weight-ui: 680;
  --weight-strong: 720;
  --font-display: "21zero", "21zero5", "Arial Rounded MT Bold", "Avenir Next Rounded", system-ui, sans-serif;
  --font-body: "Rethink Sans", "Helvetica Now Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --texture-image: none;
  --texture-wash: linear-gradient(var(--cream), var(--cream));
  --texture-size: 100% 100%;
  --texture-surface: var(--cream-2);
  --texture-cream: var(--cream);
  --texture-attachment: scroll, scroll, scroll;
  --texture-fixed-attachment: scroll, fixed, scroll;
  --texture-repeat: no-repeat, repeat, no-repeat;
  --texture-blend: normal, normal, normal;
  --texture-sizes: 100% 100%, var(--texture-size), 100% 100%;
  --grain: var(--texture-image);
  --grain-size: var(--texture-size);
  --stack-top: 0px;
  --stack-tabs-top: 0px;
  --stack-tab-height: 58px;
  --stack-panel-height: calc(100svh - var(--header-height));
  --stack-rail-height: calc(var(--stack-tab-height) + var(--stack-tab-height) + var(--stack-tab-height) + var(--stack-tab-height));
  --stack-scroll-height: 400svh;
  --stack-header-bg: var(--cream);
  --gallery-image-ratio: 4 / 5;
  --header-height: 96px;
  --header-ink: var(--ink);
  --header-link-bg: rgba(255, 248, 231, 0.24);
  --header-link-hover-bg: rgba(255, 248, 231, 0.72);
  --header-link-border: rgba(28, 28, 26, 0.18);
  --header-cart-bg: rgba(255, 248, 231, 0.72);
}

* {
  box-sizing: border-box;
  scrollbar-color: var(--green) rgba(28, 28, 26, 0.12);
  scrollbar-width: thin;
}

*::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

*::-webkit-scrollbar-track {
  background: rgba(28, 28, 26, 0.08);
}

*::-webkit-scrollbar-thumb {
  border: 3px solid rgba(255, 248, 231, 0.88);
  border-radius: 999px;
  background: var(--green);
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--green-deep);
}

[hidden] {
  display: none !important;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: auto;
  background: var(--cream);
}

html.modal-open {
  overflow: hidden;
}

body {
  position: relative;
  isolation: auto;
  max-width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0;
  background-color: var(--cream);
  background-image: var(--texture-wash), var(--texture-image);
  background-attachment: scroll, scroll;
  background-blend-mode: normal, multiply;
  background-repeat: no-repeat, repeat;
  background-size: 100% 100%, var(--texture-size);
  color: var(--ink);
  font-family: var(--font-body);
  letter-spacing: 0;
}

body.header-on-dark {
  --header-ink: var(--cream-2);
  --header-link-bg: rgba(28, 28, 26, 0.08);
  --header-link-hover-bg: rgba(255, 248, 231, 0.16);
  --header-link-border: rgba(255, 248, 231, 0.34);
  --header-cart-bg: rgba(28, 28, 26, 0.16);
}

body.header-on-dark:not(.header-menu-open):not(.header-stack-mode) .site-header,
body.header-on-dark:not(.header-menu-open):not(.header-stack-mode) .nav-links a,
body.header-on-dark:not(.header-menu-open):not(.header-stack-mode) .cart-link {
  color: #fff !important;
  text-shadow: none;
}

body.header-on-dark:not(.header-menu-open):not(.header-stack-mode) .site-header {
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    filter 220ms ease !important;
}

body.header-menu-open {
  --header-ink: var(--ink);
  --header-link-bg: rgba(255, 248, 231, 0.24);
  --header-link-hover-bg: rgba(255, 248, 231, 0.72);
  --header-link-border: rgba(28, 28, 26, 0.18);
  --header-cart-bg: rgba(255, 248, 231, 0.72);
}

body.header-stack-mode {
  --header-ink: var(--ink);
  --header-link-bg: rgba(255, 248, 231, 0.28);
  --header-link-hover-bg: rgba(255, 248, 231, 0.68);
  --header-link-border: rgba(28, 28, 26, 0.18);
  --header-cart-bg: rgba(255, 248, 231, 0.68);
}

body.modal-open {
  overflow: visible;
}

body::before {
  display: none;
}

body::after {
  display: none;
}

.admin-shell {
  min-height: 100svh;
  display: grid;
  gap: clamp(20px, 4vw, 44px);
  align-content: start;
  padding: clamp(24px, 5vw, 72px);
}

.admin-head {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
}

.admin-head h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(4rem, 10vw, 8rem);
}

.admin-head a,
.admin-actions button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 16px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-weight: 650;
  text-transform: lowercase;
}

.admin-panel {
  display: grid;
  gap: 16px;
  max-width: 980px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.admin-panel h2 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.admin-panel p {
  max-width: 56rem;
  margin: 0;
  color: var(--muted);
  font-weight: 560;
  line-height: 1.4;
}

.admin-panel label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  text-transform: lowercase;
}

.admin-panel input,
.admin-panel textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  padding: 12px;
  background: var(--cream-2);
  color: var(--ink);
  font: 500 0.92rem/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: none;
}

.admin-panel textarea {
  min-height: 56svh;
  resize: vertical;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.admin-body {
  min-height: 100svh;
  background: #f3ead0;
}

.commerce-admin {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 28px;
  border-right: 1px solid var(--line);
  padding: 22px;
  background: var(--ink);
  color: var(--cream-2);
}

.admin-brand {
  font-family: "21zero5", var(--font-body);
  font-size: 1.5rem;
  line-height: 1;
}

.admin-sidebar nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.admin-sidebar button {
  min-height: 38px;
  border: 1px solid rgba(255, 248, 231, 0.16);
  border-radius: 8px;
  padding: 0 12px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-weight: 620;
  text-align: left;
  text-transform: lowercase;
}

.admin-sidebar button.is-active {
  background: var(--green);
  color: var(--ink);
}

.admin-sidebar button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.admin-console {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: clamp(18px, 3vw, 36px);
}

.admin-toolbar,
.admin-products-layout,
.admin-list-head,
.panel-title-row,
.group-head,
.admin-danger-zone,
.admin-dashboard {
  display: flex;
  gap: 12px;
}

.admin-toolbar {
  align-items: end;
  justify-content: space-between;
}

.admin-toolbar h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0;
}

.admin-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: end;
  justify-content: flex-end;
}

.admin-toolbar-actions button,
.admin-toolbar-actions a,
.admin-list-head button,
.panel-title-row button,
.add-inline,
.admin-danger-zone button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-weight: 620;
  text-transform: lowercase;
}

.admin-toolbar-actions button.is-dirty {
  background: white;
  color: var(--ink);
}

.admin-toolbar-actions button.is-saving {
  cursor: progress;
  opacity: 0.72;
}

.admin-toolbar-actions button.is-saved {
  border-color: var(--green-deep);
  background: var(--green);
  color: var(--ink);
}

.admin-toolbar-actions button.is-error {
  border-color: var(--coral);
  background: var(--coral);
}

.admin-token-field {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
  text-transform: lowercase;
}

.admin-token-field input {
  width: 150px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: 0;
  padding: 0 12px;
  background: var(--cream-2);
}

.admin-status {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 248, 231, 0.76);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.admin-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.admin-status[data-state="success"] {
  border-color: rgba(75, 169, 70, 0.42);
  background: rgba(186, 249, 134, 0.34);
  color: var(--ink);
}

.admin-status[data-state="warning"] {
  border-color: rgba(240, 105, 85, 0.35);
  background: rgba(255, 216, 109, 0.26);
  color: var(--ink);
}

.admin-status[data-state="error"] {
  border-color: rgba(240, 105, 85, 0.62);
  background: rgba(240, 105, 85, 0.12);
  color: var(--coral);
}

.admin-dashboard {
  flex-wrap: wrap;
}

.admin-dashboard article {
  min-width: 140px;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--cream-2);
}

.admin-dashboard span,
.admin-dashboard strong {
  display: block;
  line-height: 1.1;
}

.admin-dashboard span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 560;
  text-transform: lowercase;
}

.admin-dashboard strong {
  margin-top: 6px;
  font-size: 1.35rem;
  font-weight: 650;
}

.admin-section-panel {
  display: none;
}

.admin-section-panel.is-active {
  display: block;
}

.admin-products-layout {
  align-items: flex-start;
}

.admin-list-panel {
  position: sticky;
  top: 18px;
  width: min(320px, 34vw);
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream-2);
}

.admin-list-head {
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 12px;
}

.admin-list-head span,
.admin-list-head strong {
  display: block;
  font-size: 0.78rem;
  text-transform: lowercase;
}

.admin-list-head span {
  color: var(--muted);
  font-weight: 560;
}

.admin-list-head strong {
  margin-top: 2px;
  font-weight: 650;
}

.admin-product-list {
  display: grid;
  max-height: calc(100svh - 290px);
  overflow: auto;
  padding: 8px;
}

.admin-list-filters {
  display: grid;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding: 10px 12px 12px;
}

.admin-list-filters label {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: lowercase;
}

.admin-list-filters input,
.admin-list-filters select {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.admin-list-empty {
  margin: 0;
  padding: 14px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 560;
}

.admin-product-list button {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.admin-product-list button.is-active {
  border-color: var(--green-deep);
  background: rgba(186, 249, 134, 0.34);
}

.admin-product-list img {
  width: 58px;
  aspect-ratio: 1;
  border-radius: 6px;
  object-fit: cover;
  background: var(--cream);
}

.admin-product-list strong,
.admin-product-list em {
  display: block;
}

.admin-product-list strong {
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.1;
}

.admin-product-list em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 560;
  line-height: 1.25;
}

.admin-product-list small {
  display: block;
}

.admin-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.admin-mini-badge {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  border-radius: 999px;
  padding: 0 8px;
  background: rgba(28, 28, 26, 0.08);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 760;
  line-height: 1;
  text-transform: lowercase;
}

.admin-mini-badge.is-ok {
  background: rgba(186, 249, 134, 0.42);
}

.admin-mini-badge.is-muted {
  background: rgba(28, 28, 26, 0.12);
  color: var(--muted);
}

.admin-mini-badge.is-info {
  background: rgba(121, 196, 255, 0.22);
}

.admin-mini-badge.is-warn {
  background: rgba(255, 205, 118, 0.38);
}

.admin-mini-badge.is-star {
  background: rgba(255, 236, 153, 0.6);
}

.admin-mini-badge.is-sale {
  background: rgba(255, 141, 109, 0.22);
  color: #8f2a14;
}

.product-editor {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream-2);
}

.editor-empty {
  padding: 28px;
}

.editor-tabs {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding: 12px;
  background: rgba(255, 248, 231, 0.96);
}

.admin-quick-create {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  background: rgba(255, 248, 231, 0.72);
}

.admin-quick-create span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
  text-transform: lowercase;
}

.admin-quick-create button {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 650;
  text-transform: lowercase;
}

.editor-tabs button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 13px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-weight: 620;
  text-transform: lowercase;
}

.editor-tabs button.is-active {
  border-color: var(--green-deep);
  background: var(--green);
}

.editor-panel {
  display: none;
  padding: clamp(16px, 2.5vw, 28px);
}

.editor-panel.is-active {
  display: grid;
  gap: 18px;
}

.admin-form-grid,
.group-head,
.option-row,
.admin-repeater-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-form-grid label,
.admin-repeater-row label,
.group-head label,
.option-row label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  text-transform: lowercase;
}

.admin-form-grid small {
  margin-top: -1px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 560;
  line-height: 1.25;
  text-transform: none;
}

.admin-form-grid input,
.admin-form-grid select,
.admin-form-grid textarea,
.admin-repeater-row input,
.group-head input,
.group-head select,
.option-row input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  padding: 9px 10px;
  background: white;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 520;
  text-transform: none;
}

.admin-form-grid textarea {
  min-height: 96px;
  resize: vertical;
}

.admin-case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-case-actions button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--cream);
  font-weight: var(--weight-ui);
  text-transform: lowercase;
}

.admin-case-actions button + button {
  background: white;
  color: var(--ink);
}

.admin-case-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-case-layout .admin-product-list {
  min-height: 260px;
}

.admin-case-layout .admin-product-list button {
  grid-template-columns: 58px minmax(0, 1fr);
}

@media (max-width: 860px) {
  .admin-case-layout {
    grid-template-columns: 1fr;
  }
}

.admin-category-editor {
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.admin-inline-head,
.admin-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  justify-content: space-between;
}

.admin-inline-head strong {
  display: block;
  font-size: 0.96rem;
  font-weight: 720;
  color: var(--ink);
}

.admin-inline-head p,
.admin-inline-actions p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 560;
  line-height: 1.35;
}

.admin-inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
}

.admin-inline-actions label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  text-transform: lowercase;
}

.admin-inline-form input {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.admin-check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 0.96rem;
  text-transform: none;
}

.admin-check-row input {
  width: auto;
  margin: 0;
}

.admin-category-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-category-checkboxes label {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 248, 231, 0.72);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 650;
  text-transform: lowercase;
}

.admin-category-checkboxes input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.panel-title-row {
  align-items: end;
  justify-content: space-between;
}

.panel-title-row h2 {
  margin: 0 0 6px;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.panel-title-row p {
  max-width: 44rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 560;
  line-height: 1.35;
}

.repeater-list,
.group-list,
.option-list {
  display: grid;
  gap: 10px;
}

.admin-repeater-row,
.group-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: white;
}

.part-row.is-active {
  border-color: var(--green-deep);
  background: rgba(186, 249, 134, 0.18);
}

.admin-part-map {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: white;
}

.admin-part-map-canvas {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  cursor: crosshair;
}

.admin-part-map-canvas img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  display: block;
  object-fit: contain;
}

.admin-part-map [data-part-map-pins] {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.admin-part-dot {
  position: absolute;
  left: var(--pin-x);
  top: var(--pin-y);
  width: 14px;
  height: 14px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 1px rgba(28, 28, 26, 0.26);
  transform: translate(-50%, -50%);
}

.admin-part-dot.is-active {
  background: var(--green-deep);
  box-shadow: 0 0 0 4px rgba(186, 249, 134, 0.42);
}

.admin-part-map [data-part-map-pin] {
  position: absolute;
  left: var(--pin-x);
  top: var(--pin-y);
  transform: translate(-50%, -50%);
  min-height: 30px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 10px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 650;
  pointer-events: auto;
  text-transform: lowercase;
}

.admin-part-map [data-part-map-pin].is-active {
  background: var(--green);
  color: var(--ink);
}

.admin-part-map p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 560;
}

.image-row {
  grid-template-columns: 86px minmax(0, 1fr) auto;
  align-items: end;
}

.image-row img {
  width: 86px;
  aspect-ratio: 1;
  border-radius: 6px;
  object-fit: cover;
  background: var(--cream);
}

.media-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.media-input-row input[readonly] {
  cursor: default;
  color: var(--muted);
}

.admin-repeater-row button,
.group-head button,
.option-row button {
  min-height: 38px;
  align-self: end;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 620;
  text-transform: lowercase;
}

.group-card {
  display: grid;
  gap: 12px;
}

.group-head {
  grid-template-columns: 1.4fr 1fr 130px auto;
  align-items: end;
}

.option-row {
  grid-template-columns: 48px 1.1fr 1.1fr 0.8fr 1.2fr 100px 74px auto;
  align-items: end;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.option-image-preview {
  width: 48px;
  aspect-ratio: 1;
  align-self: end;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: cover;
  background: var(--cream);
}

.image-empty-preview {
  display: grid;
  width: 72px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--cream-2);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 650;
  text-align: center;
  text-transform: lowercase;
}

.admin-media-upload {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 0.7fr) auto;
  gap: 12px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: white;
}

.admin-media-upload label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  text-transform: lowercase;
}

.admin-media-upload input {
  min-height: 38px;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: var(--cream-2);
  color: var(--ink);
  font: inherit;
}

.file-picker-control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 10px;
  align-items: center;
}

.file-picker-control input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.file-picker-control > span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-weight: 650;
  text-transform: lowercase;
}

.file-picker-control > em {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-media-upload button,
.admin-media-card button,
.media-picker-panel header button {
  min-height: 38px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-weight: 650;
  text-transform: lowercase;
}

.admin-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  min-width: 0;
}

.admin-media-card {
  position: relative;
  display: flex;
  min-height: 318px;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: white;
}

.media-select-control {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(28, 28, 26, 0.18);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(255, 248, 231, 0.92);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 750;
  box-shadow: 0 8px 20px rgba(28, 28, 26, 0.08);
}

.media-select-control input {
  width: 16px;
  height: 16px;
  accent-color: var(--green-deep);
}

.admin-media-card.is-selected {
  border-color: var(--green-deep);
  box-shadow: 0 0 0 2px rgba(186, 249, 134, 0.72);
}

.admin-media-card img {
  width: 100%;
  height: 184px;
  flex: 0 0 184px;
  aspect-ratio: auto;
  border-radius: 10px;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  background:
    linear-gradient(45deg, rgba(28, 28, 26, 0.04) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(28, 28, 26, 0.04) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(28, 28, 26, 0.04) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(28, 28, 26, 0.04) 75%),
    white;
  background-position:
    0 0,
    0 8px,
    8px -8px,
    -8px 0;
  background-size: 16px 16px;
}

.admin-media-card strong,
.admin-media-card span,
.admin-media-card code {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-media-card strong {
  font-size: 0.9rem;
  font-weight: 650;
}

.admin-media-card span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: lowercase;
}

.admin-media-card code {
  color: var(--muted);
  font-size: 0.72rem;
}

.admin-media-card button {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  margin-top: auto;
  padding-inline: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-integration-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-integration-grid article {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: white;
}

.admin-integration-grid h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1;
  text-transform: lowercase;
}

.admin-integration-grid label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  text-transform: lowercase;
}

.admin-integration-grid input,
.admin-integration-grid select {
  width: 100%;
  min-height: 38px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: var(--cream-2);
  color: var(--ink);
  font: inherit;
}

.admin-integration-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 560;
  line-height: 1.35;
}

.media-picker-modal {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 44px);
}

.media-picker-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(28, 28, 26, 0.52);
}

.media-picker-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 16px;
  width: min(980px, 100%);
  height: min(760px, calc(100dvh - 48px));
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 18px;
  padding: clamp(16px, 2.5vw, 24px);
  background: var(--cream-2);
  box-shadow: var(--shadow);
}

.media-picker-panel header {
  display: flex;
  gap: 12px;
  align-items: start;
  justify-content: space-between;
}

.media-picker-panel h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 0.95;
}

.media-picker-panel label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  text-transform: lowercase;
}

.media-picker-panel input {
  min-height: 40px;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: white;
  color: var(--ink);
  font: inherit;
}

#media-picker-grid {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  align-content: start;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2px 4px 10px 0;
  overscroll-behavior: contain;
}

#media-picker-grid .admin-media-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 292px;
  padding: 10px;
  overflow: visible;
}

#media-picker-grid .admin-media-card img {
  width: 100%;
  height: 156px;
  flex: 0 0 156px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  background:
    linear-gradient(45deg, rgba(28, 28, 26, 0.04) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(28, 28, 26, 0.04) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(28, 28, 26, 0.04) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(28, 28, 26, 0.04) 75%),
    white;
  background-position:
    0 0,
    0 8px,
    8px -8px,
    -8px 0;
  background-size: 16px 16px;
}

#media-picker-grid .admin-media-card strong {
  display: -webkit-box;
  overflow: hidden;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.86rem;
  line-height: 1.05;
}

#media-picker-grid .admin-media-card code {
  display: none;
}

#media-picker-grid .admin-media-card span {
  margin-top: 3px;
  font-size: 0.68rem;
}

#media-picker-grid .admin-media-card button {
  flex: 0 0 auto;
  align-self: end;
  min-height: 42px;
  margin-top: auto;
  margin-bottom: 0;
}

.default-radio {
  align-items: center;
  justify-items: start;
}

.default-radio input {
  width: auto;
}

.add-inline {
  width: fit-content;
  background: transparent;
  color: var(--ink);
}

.admin-danger-zone {
  flex-wrap: wrap;
}

.admin-danger-zone button:last-child {
  border-color: var(--coral);
  background: var(--coral);
}

.raw-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: white;
}

.raw-preview summary {
  cursor: pointer;
  font-weight: 650;
  text-transform: lowercase;
}

.raw-preview pre {
  overflow: auto;
  margin: 12px 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
}

.admin-empty-state {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(16px, 2.5vw, 28px);
  background: var(--cream-2);
}

.admin-edit-form {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(16px, 2.5vw, 28px);
  background: var(--cream-2);
}

.admin-edit-form h2 {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.admin-edit-form p {
  max-width: 60rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 540;
  line-height: 1.45;
}

.admin-empty-state h2 {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.admin-empty-state p {
  max-width: 60rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 540;
  line-height: 1.45;
}

.admin-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.admin-category-grid article,
.admin-settings-list div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: white;
}

.admin-category-card {
  display: grid;
  gap: 10px;
}

.admin-category-grid span,
.admin-category-grid em,
.admin-settings-list dt,
.admin-settings-list dd {
  display: block;
}

.admin-category-grid span,
.admin-settings-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: lowercase;
}

.admin-category-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 1.6rem;
  font-weight: 650;
}

.admin-category-grid em,
.admin-settings-list dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 540;
}

.admin-category-card label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  text-transform: lowercase;
}

.admin-category-card input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.admin-category-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-category-actions button,
.admin-inline-form button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 620;
  text-transform: lowercase;
}

.admin-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.admin-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
}

.admin-table th {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  text-transform: lowercase;
}

.admin-table td {
  font-size: 0.9rem;
  font-weight: 540;
}

.admin-settings-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin: 0;
}

.admin-preview-head {
  display: flex;
  gap: 14px;
  align-items: end;
  justify-content: space-between;
}

.admin-preview-head a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--ink);
  color: white;
  font-weight: 650;
  text-transform: lowercase;
}

.admin-store-preview {
  width: 100%;
  min-height: min(720px, 72svh);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.admin-payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.admin-payment-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: white;
}

.admin-payment-card label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  text-transform: lowercase;
}

.admin-payment-card input,
.admin-payment-card select,
.admin-payment-card textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  padding: 9px 10px;
  background: var(--cream-2);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 520;
  text-transform: none;
}

.admin-payment-card textarea {
  resize: vertical;
}

.admin-payment-card .admin-check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 1rem;
}

.admin-check-row input {
  width: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 180;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 0;
  background: transparent;
  color: var(--header-ink);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 220ms ease,
    filter 220ms ease;
}

.lue-blend-menu {
  --menu-topbar-offset: 34px;
  position: fixed;
  z-index: 240;
  top: var(--menu-topbar-offset);
  right: 0;
  left: 0;
  display: grid;
  height: calc(var(--header-height) - var(--menu-topbar-offset));
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 6px clamp(18px, 4vw, 56px);
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.05vw, 1.12rem);
  font-weight: var(--weight-ui);
  line-height: 1;
  mix-blend-mode: difference;
  pointer-events: none;
  transition:
    top 260ms ease,
    height 260ms ease,
    padding 260ms ease;
}

body.header-scrolled .lue-blend-menu,
body.header-stack-mode .lue-blend-menu,
body.header-menu-open .lue-blend-menu {
  top: 0;
  height: var(--header-height);
}

.lue-blend-menu a {
  color: #fff;
  pointer-events: auto;
  text-decoration: none;
}

.lue-blend-menu [data-menu-contrast] {
  color: #fff;
  mix-blend-mode: normal;
  transition:
    color 120ms linear,
    filter 120ms linear;
}

.lue-blend-menu [data-menu-contrast="dark"] {
  color: #fff;
}

.lue-blend-menu [data-menu-contrast="light"] {
  color: #fff;
}

.lue-blend-menu .lue-blend-menu__brand {
  justify-self: center;
  mix-blend-mode: normal;
}

.lue-blend-menu__brand img {
  width: auto;
  height: clamp(25px, 2.5vw, 34px);
  filter: invert(1) brightness(2);
  transition:
    height 260ms ease,
    filter 120ms linear;
}

.lue-blend-menu__brand[data-menu-contrast="dark"] img {
  filter: invert(1) brightness(2);
}

.lue-blend-menu__brand[data-menu-contrast="light"] img {
  filter: invert(1) brightness(2);
}

.lue-blend-menu__links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 2vw, 28px);
  align-items: center;
  justify-self: start;
  mix-blend-mode: normal;
}

.lue-blend-menu__links a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border-radius: 999px;
  padding: 0 2px;
}

.lue-blend-menu .nav-item,
.lue-blend-menu .gallery-mega-menu {
  pointer-events: auto;
}

.lue-blend-menu .gallery-mega-menu {
  mix-blend-mode: normal;
  color: var(--ink);
}

.mobile-route-bar {
  display: none;
}

.gallery-mega-menu--embedded {
  display: none !important;
}

.gallery-mega-menu.lue-gallery-mega-menu {
  z-index: 230;
}

.site-header .blend-nav-layer {
  display: none;
}

body.header-stack-mode .site-header {
  border-bottom: 2px solid var(--hard-line);
  background:
    var(--texture-image),
    var(--stack-header-bg);
  background-attachment: var(--texture-fixed-attachment);
  background-repeat:
    repeat,
    no-repeat;
  background-size:
    var(--texture-size),
    100% 100%;
  background-blend-mode:
    multiply,
    normal;
}

.topbar {
  overflow: hidden;
  max-height: 40px;
  border-bottom: 0;
  background: var(--ink);
  color: var(--cream-2);
  transition:
    max-height 260ms ease,
    opacity 180ms ease;
}

body.header-scrolled .topbar {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

body.header-stack-mode .topbar {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

.ticker {
  display: flex;
  width: max-content;
  min-height: 34px;
  align-items: center;
  gap: 34px;
  padding-inline: 18px;
  animation: ticker 28s linear infinite;
  font-size: 0.82rem;
  font-weight: var(--weight-ui);
  white-space: nowrap;
}

.ticker span::after {
  content: "•";
  margin-left: 34px;
  color: var(--green);
  opacity: 1;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.main-nav {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  padding: 9px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid transparent;
  transition: padding 260ms ease;
}

.blend-nav-layer {
  position: fixed;
  z-index: 181;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  height: var(--header-height);
  padding: 6px clamp(18px, 4vw, 56px);
  pointer-events: none;
  transition:
    color 220ms ease,
    font-size 260ms ease;
}

.blend-nav-layer .brand,
.blend-nav-layer .nav-links {
  pointer-events: auto;
}

body.header-scrolled .main-nav {
  padding-top: 6px;
  padding-bottom: 6px;
}

body.header-stack-mode .main-nav {
  padding-top: 6px;
  padding-bottom: 6px;
}

body.header-scrolled .site-header:not(.is-gallery-menu-open) {
  border-bottom-color: transparent;
  background: transparent;
}

.brand {
  justify-self: center;
}

.brand img {
  width: auto;
  height: clamp(22px, 2.4vw, 26px);
  display: block;
  filter: none;
  transition:
    filter 220ms ease,
    height 260ms ease;
}

body.header-on-dark:not(.header-menu-open):not(.header-stack-mode) .brand img {
  filter: invert(1) brightness(2) !important;
  transition: height 260ms ease !important;
}

body.header-scrolled .brand img {
  height: 20px;
}

.nav-links,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 1.12rem;
  font-weight: var(--weight-ui);
  transition: font-size 260ms ease;
}

.nav-links {
  justify-self: start;
}

body.header-scrolled .nav-links,
body.header-scrolled .cart-link,
body.header-scrolled .orders-icon-link {
  font-size: 0.84rem;
}

.nav-links a,
.site-footer a,
.cart-link,
.orders-icon-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 12px;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease;
}

.nav-links a,
.cart-link {
  font-family: var(--font-display);
}

body.header-scrolled .nav-links a,
body.header-scrolled .cart-link,
body.header-scrolled .orders-icon-link {
  min-height: 32px;
  padding-inline: 10px;
}

.nav-links a:hover,
.cart-link:hover,
.orders-icon-link:hover {
  border-color: var(--header-link-border);
  background: var(--header-link-hover-bg);
}

.site-footer a:hover {
  border-color: var(--line);
  background: var(--cream-2);
}

.header-actions {
  position: relative;
  z-index: 4;
  grid-area: 1 / 1;
  justify-self: end;
  display: flex;
  gap: 8px;
  align-items: center;
}

.cart-link {
  position: relative;
  gap: 10px;
  border-color: transparent;
  background:
    var(--texture-image),
    var(--header-cart-bg);
  background-repeat:
    repeat,
    no-repeat;
  background-size:
    var(--texture-size),
    100% 100%;
  background-blend-mode:
    multiply,
    normal;
  color: inherit;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: var(--weight-ui);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    font-size 260ms ease;
}

.orders-icon-link {
  justify-content: center;
  width: 42px;
  padding: 0;
  border-color: rgba(28, 28, 26, 0.9);
  background: #191917;
  color: #fff8e8;
  box-shadow: 0 8px 20px rgba(28, 28, 26, 0.12);
  text-decoration: none;
}

.orders-icon-link svg {
  width: 19px;
  height: 19px;
}

.orders-icon-link:hover,
.orders-icon-link:focus-visible,
.orders-icon-link:active {
  border-color: var(--orange);
  background: var(--cream-2);
  color: var(--ink);
  box-shadow:
    0 0 0 2px rgba(255, 99, 51, 0.18),
    0 8px 20px rgba(28, 28, 26, 0.12);
}

body.header-on-dark:not(.header-menu-open):not(.header-stack-mode) .orders-icon-link {
  border-color: rgba(255, 248, 232, 0.7);
  background: #fff8e8;
  color: #191917;
}

body.header-on-dark:not(.header-menu-open):not(.header-stack-mode) .orders-icon-link:hover,
body.header-on-dark:not(.header-menu-open):not(.header-stack-mode) .orders-icon-link:focus-visible,
body.header-on-dark:not(.header-menu-open):not(.header-stack-mode) .orders-icon-link:active {
  border-color: var(--green);
  background: #fff8e8;
  color: #191917;
}

body.header-scrolled .orders-icon-link {
  width: 38px;
}

.cart-link span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink);
  font-size: 0.78rem;
}

body.header-scrolled .cart-link span {
  width: 20px;
  height: 20px;
  font-size: 0.72rem;
}

/* Lué-style nav contrast: white source + difference blending inverts per pixel. */
body:not(.header-menu-open):not(.header-stack-mode) .site-header {
  color: #fff !important;
}

body:not(.header-menu-open):not(.header-stack-mode) .blend-nav-layer {
  color: #fff !important;
  mix-blend-mode: difference;
}

body:not(.header-menu-open):not(.header-stack-mode) .nav-links a {
  border-color: transparent;
  background: transparent;
  color: #fff !important;
  text-shadow: none !important;
}

body:not(.header-menu-open):not(.header-stack-mode) .nav-links a:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

body:not(.header-menu-open):not(.header-stack-mode) .brand img {
  filter: invert(1) brightness(2) !important;
}

body:not(.header-menu-open):not(.header-stack-mode) .cart-link {
  color: var(--cream-2) !important;
  mix-blend-mode: normal;
  text-shadow: none !important;
}

.nav-item {
  display: inline-flex;
  align-items: center;
}

.nav-item-gallery {
  position: static;
}

.nav-link.has-mega {
  gap: 8px;
}

.nav-link.has-mega::after {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.nav-item-gallery:not(.is-suppressed):hover .nav-link.has-mega::after,
.nav-item-gallery:not(.is-suppressed):focus-within .nav-link.has-mega::after,
.nav-item-gallery.is-open .nav-link.has-mega::after {
  transform: translateY(1px) rotate(225deg);
}

.gallery-mega-menu {
  position: fixed;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1fr);
  grid-template-areas:
    "head head"
    "paths categories";
  gap: 16px;
  max-height: min(86vh, 740px);
  overflow: auto;
  border: 2px solid var(--hard-line);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  padding: calc(var(--header-height) + 18px) clamp(18px, 4vw, 56px) 18px;
  background:
    var(--grain),
    rgba(255, 248, 231, 0.98);
  background-size:
    var(--grain-size),
    100% 100%;
  box-shadow: var(--press-shadow), var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition:
    opacity 220ms ease,
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 220ms ease;
  visibility: hidden;
}

.gallery-mega-menu::before {
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: var(--header-height);
  content: "";
}

.nav-item-gallery:not(.is-suppressed):hover .gallery-mega-menu,
.nav-item-gallery:not(.is-suppressed):focus-within .gallery-mega-menu,
.nav-item-gallery.is-open .gallery-mega-menu,
.gallery-mega-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.nav-item-gallery.is-suppressed .gallery-mega-menu {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  visibility: hidden;
}

.gallery-mega-menu a {
  display: flex;
  min-height: auto;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.gallery-mega-menu a:hover {
  border-color: transparent;
  background: transparent;
}

.mega-menu-head {
  display: flex;
  grid-area: head;
  gap: 16px;
  align-items: end;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.mega-menu-head strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 4.4rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: lowercase;
}

.mega-menu-all {
  align-items: center;
  justify-content: center;
  min-width: 118px;
  border: 1px solid var(--ink) !important;
  border-radius: 999px !important;
  padding: 10px 16px !important;
  background: var(--ink) !important;
  color: var(--cream-2);
  font-family: var(--font-display);
  font-weight: var(--weight-ui);
  white-space: nowrap;
}

.mega-menu-all:hover {
  background: var(--green) !important;
  color: var(--ink);
}

.mega-path-grid {
  display: grid;
  grid-area: paths;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mega-path {
  --card-tilt: -1.25deg;
  min-height: 168px !important;
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: space-between;
  border: var(--card-border) !important;
  border-radius: var(--radius-card) !important;
  padding: 14px !important;
  color: var(--ink);
  box-shadow: var(--card-shadow);
  transform: rotate(var(--card-tilt)) translateY(0);
  transform-origin: center;
  transition:
    border-color var(--motion-happly),
    box-shadow var(--motion-happly),
    transform var(--motion-lift);
}

.mega-path:hover {
  box-shadow: var(--card-shadow-hover);
  transform: rotate(calc(var(--card-tilt) * 0.45)) translate(-2px, -8px);
}

.mega-path span {
  font-size: 0.72rem;
  font-weight: var(--weight-ui);
  opacity: 0.72;
}

.mega-path strong {
  max-width: 9ch;
  margin-top: auto;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 900;
  line-height: 0.94;
  text-transform: lowercase;
}

.mega-path em {
  max-width: 25ch;
  color: rgba(28, 28, 26, 0.72);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: var(--weight-copy);
  line-height: 1.25;
}

.mega-path-ready {
  --card-tilt: -1.8deg;
  background: var(--green);
}

.mega-path-adapt {
  --card-tilt: 1.4deg;
  background: var(--blue);
}

.mega-path-project {
  --card-tilt: -0.7deg;
  background: var(--pink);
}

.mega-path-file {
  --card-tilt: 1.9deg;
  background: var(--yellow);
}

.mega-category-block {
  display: grid;
  grid-area: categories;
  align-content: start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(186, 249, 134, 0.18), transparent 36%),
    var(--cream);
}

.mega-category-block p {
  margin: 0;
  font-size: 0.78rem;
  font-weight: var(--weight-ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mega-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mega-category-list a {
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--line) !important;
  border-radius: 999px !important;
  padding: 0 11px !important;
  background: rgba(255, 248, 231, 0.82);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: var(--weight-ui);
  white-space: nowrap;
}

.mega-category-list a:hover {
  border-color: var(--ink) !important;
  background: var(--cream-2) !important;
}

.hero {
  --hero-copy-reveal: 1;
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.78fr);
  gap: clamp(24px, 5vw, 74px);
  align-items: center;
  overflow: hidden;
  border-bottom: 2px solid var(--hard-line);
  padding: calc(86px + clamp(24px, 4vw, 56px)) clamp(18px, 5vw, 74px) clamp(26px, 5vw, 58px);
  background: var(--texture-cream);
  background-attachment: var(--texture-attachment);
  background-blend-mode: var(--texture-blend);
  background-repeat: var(--texture-repeat);
  background-size: var(--texture-sizes);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: 46%;
  content: "";
  background:
    radial-gradient(circle at 16% 38%, rgba(186, 249, 134, 0.52) 0 11%, transparent 12%),
    radial-gradient(circle at 82% 28%, rgba(240, 105, 85, 0.22) 0 12%, transparent 13%),
    linear-gradient(180deg, transparent 0%, rgba(255, 248, 231, 0.9) 74%);
  pointer-events: none;
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
}

.hero-copy,
.hero-reveal-copy,
.print-prompt,
.hero-actions {
  position: relative;
  z-index: 2;
}

.hero-copy {
  z-index: auto;
}

.hero-art {
  position: relative;
  z-index: 1;
}

.kicker,
.section-label,
.tag,
.prompt-eyebrow {
  margin: 0 0 12px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: lowercase;
}

.kicker,
.section-label {
  color: var(--green-deep);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: clamp(4.4rem, 10vw, 10rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.82;
  text-transform: lowercase;
}

h1 {
  max-width: 720px;
  font-size: clamp(4.2rem, 8vw, 7.8rem);
}

h2 {
  max-width: 920px;
  font-size: clamp(3.3rem, 7.8vw, 7.6rem);
}

h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  font-weight: 800;
  line-height: 0.94;
  text-transform: lowercase;
}

.hero-text {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  font-weight: 600;
  line-height: 1.42;
}

.hero-pills,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
}

.hero-pills {
  margin-top: 26px;
}

.hero-pills a,
.prompt-row button,
.wizard-chat-form button,
.quote-submit,
.quote-preview a,
.product-card a,
.section-heading a,
.blog-card a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-weight: var(--weight-ui);
  text-transform: lowercase;
  box-shadow: 4px 4px 0 rgba(28, 28, 26, 0.13);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.hero-pills a:last-child,
.product-card a,
.section-heading a {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
}

.hero-pills a:hover,
.prompt-row button:hover,
.wizard-chat-form button:hover,
.quote-submit:hover,
.quote-preview a:hover,
.product-card a:hover,
.section-heading a:hover,
.blog-card a:hover,
.gallery-feature-card a:hover,
.slide-actions a:hover {
  box-shadow: 7px 7px 0 rgba(28, 28, 26, 0.16);
  transform: translate(-2px, -2px);
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: auto;
  min-height: auto;
  pointer-events: none;
}

.hero-art--back {
  z-index: 30;
}

.hero-art--front {
  z-index: 90;
}

.hero-card-deck {
  --deck-rotate-x: 0deg;
  --deck-rotate-y: 0deg;
  --deck-shift-x: 0px;
  --deck-shift-y: 0px;
  --hero-open: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
  transform-style: preserve-3d;
  transition: transform 260ms ease;
}

.hero-float-card {
  --card-radius: var(--radius-float);
  --card-rotate: 0deg;
  --card-x: 0px;
  --card-y: 0px;
  --card-scale: 1;
  --scroll-x: 0px;
  --scroll-y: 0px;
  --scroll-rotate: 0deg;
  --scroll-scale-delta: 0;
  --float-delay: 0s;
  --float-distance: 14px;
  --parallax-x: 0px;
  --parallax-y: 0px;
  position: absolute;
  z-index: 1;
  overflow: hidden;
  margin: 0;
  border: var(--card-border);
  border-radius: var(--card-radius);
  background: #fff7df;
  box-shadow: var(--card-shadow);
  pointer-events: auto;
  will-change: left, top, transform, width;
  transform:
    translate3d(
      calc(-50% + var(--scroll-x) + var(--card-x) + var(--parallax-x)),
      calc(-50% + var(--scroll-y) + var(--card-y) + var(--parallax-y)),
      0
    )
    rotate(calc(var(--scroll-rotate) + var(--card-rotate)))
    scale(calc(var(--card-scale) + var(--scroll-scale-delta)));
  transform-origin: center;
  animation: none;
  transition:
    box-shadow 220ms ease,
    transform 220ms ease;
}

.hero-card-deck:hover .hero-float-card {
  animation-play-state: paused;
}

.hero-card-deck.is-scroll-stacked .hero-float-card {
  animation-play-state: paused;
}

.hero-float-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform:
    translate3d(
      calc(-50% + var(--scroll-x) + var(--card-x) + var(--parallax-x)),
      calc(-50% + var(--scroll-y) + var(--card-y) + var(--parallax-y)),
      0
    )
    rotate(calc(var(--scroll-rotate) + var(--card-rotate)))
    scale(calc(var(--card-scale) + var(--scroll-scale-delta)));
}

.hero-float-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-float-card--capivara {
  top: 50%;
  left: 50%;
  z-index: 30;
  width: clamp(220px, 16.6vw, 340px);
  aspect-ratio: 867 / 921;
  background: #baf986;
}

.hero-float-card--luminaria {
  top: 50%;
  left: 50%;
  right: auto;
  z-index: 30;
  width: clamp(190px, 14vw, 286px);
  aspect-ratio: 290 / 302;
}

.hero-float-card--dice {
  top: 50%;
  left: 50%;
  right: auto;
  z-index: 30;
  width: clamp(330px, 28.8vw, 590px);
  aspect-ratio: 530 / 571;
}

.hero-float-card--fritas {
  top: 50%;
  left: 50%;
  z-index: 30;
  width: clamp(360px, 31.5vw, 646px);
  aspect-ratio: 500 / 687;
}

.hero-float-card--cactos {
  top: 50%;
  left: 50%;
  z-index: 30;
  width: clamp(220px, 18.1vw, 370px);
  aspect-ratio: 255 / 380;
}

.hero-float-card--ray {
  top: 50%;
  left: 50%;
  z-index: 30;
  width: clamp(380px, 33.2vw, 679px);
  aspect-ratio: 1;
}

.hero-float-card--luminaria-detail {
  top: 50%;
  left: 50%;
  z-index: 90;
  width: clamp(300px, 25.8vw, 528px);
  aspect-ratio: 370 / 398;
}

.hero-float-card--luminaria-side {
  top: 50%;
  left: 50%;
  z-index: 90;
  width: clamp(340px, 30.8vw, 631px);
  aspect-ratio: 452 / 388;
}

@keyframes heroCardFloat {
  from {
    transform:
      translate3d(
        calc(-50% + var(--scroll-x) + var(--card-x) + var(--parallax-x)),
        calc(-50% + var(--scroll-y) + var(--card-y) + var(--parallax-y)),
        0
      )
      rotate(calc(var(--scroll-rotate) + var(--card-rotate)))
      scale(calc(var(--card-scale) + var(--scroll-scale-delta)));
  }

  to {
    transform:
      translate3d(
        calc(-50% + var(--scroll-x) + var(--card-x) + var(--parallax-x)),
        calc(-50% + var(--scroll-y) + var(--card-y) + var(--parallax-y) - var(--float-distance)),
        26px
      )
      rotate(calc(var(--scroll-rotate) + var(--card-rotate) + 1.2deg))
      scale(calc(var(--card-scale) + var(--scroll-scale-delta)));
  }
}

.print-prompt {
  grid-column: 1 / -1;
  width: min(100%, 1180px);
  margin-top: 8px;
  scroll-margin-top: 108px;
  border: 2px solid var(--hard-line);
  border-radius: 10px;
  padding: 12px;
  background:
    var(--grain),
    #fff9eb;
  background-size:
    var(--grain-size),
    100% 100%;
  box-shadow:
    10px 10px 0 rgba(28, 28, 26, 0.08),
    0 28px 62px rgba(28, 28, 26, 0.13);
}

.print-prompt.is-compact {
  width: min(100%, 720px);
  padding: 8px;
}

.chat-prompt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.3fr);
  gap: clamp(10px, 1.8vw, 18px);
  align-items: stretch;
}

.chat-prompt.is-compact {
  grid-template-columns: 1fr;
}

.chat-prompt.is-compact .chat-showcase,
.chat-prompt.is-compact .chat-messages,
.chat-prompt.is-compact .quick-prompts {
  display: none;
}

.chat-prompt.is-compact .chat-panel {
  min-height: auto;
  border: 0;
  padding: 4px;
  background: transparent;
}

.chat-prompt.is-compact .chat-head {
  align-items: center;
}

.chat-prompt.is-compact label {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 0.95;
}

.chat-prompt.is-compact .prompt-eyebrow {
  margin-bottom: 4px;
}

.chat-prompt.is-compact .chat-live {
  min-height: 28px;
}

.chat-prompt.is-compact .chat-row {
  margin-top: 12px;
}

.chat-showcase {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  min-height: 318px;
  overflow: hidden;
  border: 2px solid var(--hard-line);
  border-radius: 8px;
  background: var(--blue);
}

.chat-sidecar-empty {
  position: relative;
  height: 100%;
  min-height: inherit;
}

.chat-sidecar-empty img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-sidecar-empty span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: rgba(255, 249, 235, 0.92);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
  text-transform: lowercase;
}

.chat-sidecar {
  display: grid;
  align-content: stretch;
  overflow: auto;
  background: #fffdf6;
}

.chat-sidecar-results,
.chat-sidecar-brief {
  display: grid;
  gap: 10px;
  height: 100%;
  padding: 10px;
}

.chat-sidecar-head {
  display: flex;
  gap: 10px;
  align-items: start;
  justify-content: space-between;
}

.chat-sidecar-head p,
.chat-sidecar-brief p {
  margin: 0;
  color: var(--coral);
}

.chat-sidecar-head strong,
.chat-sidecar-brief strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: var(--weight-strong);
  line-height: 0.96;
  text-transform: lowercase;
}

.chat-sidecar-list {
  display: grid;
  gap: 8px;
}

.chat-option-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 10px;
  padding: 8px;
  background: white;
}

.chat-option-card img {
  width: 56px;
  aspect-ratio: 1;
  border-radius: 7px;
  object-fit: cover;
  background: var(--cream);
}

.chat-option-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: var(--weight-copy);
  line-height: 1.26;
}

.chat-option-card strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: var(--weight-strong);
  line-height: 1;
  text-transform: lowercase;
}

.chat-option-card button {
  grid-column: 1 / -1;
  min-height: 34px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-weight: var(--weight-ui);
  text-transform: lowercase;
}

.chat-sidecar-brief {
  align-content: center;
  background: #fff9eb;
}

.chat-sidecar-brief span {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: var(--weight-copy);
  line-height: 1.34;
}

.chat-sidecar-next {
  display: grid;
  gap: 3px;
  border: 1px solid rgba(28, 28, 26, 0.18);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.58);
}

.chat-sidecar-next small {
  color: var(--coral);
  font-size: 0.68rem;
  font-weight: var(--weight-ui);
  line-height: 1;
  text-transform: lowercase;
}

.chat-sidecar-next b {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: var(--weight-strong);
  line-height: 1.1;
  text-transform: lowercase;
}

.chat-panel {
  display: grid;
  min-width: 0;
  min-height: 318px;
  grid-column: 1;
  grid-row: 1;
  grid-template-rows: auto minmax(128px, 1fr) auto auto;
  align-content: stretch;
  border: 2px solid var(--hard-line);
  border-radius: 8px;
  padding: clamp(14px, 2.2vw, 24px);
  background: #fffdf6;
}

.print-prompt label {
  display: block;
  margin-bottom: 8px;
  max-width: 760px;
  font-size: clamp(1.85rem, 3.1vw, 2.75rem);
  font-weight: 800;
  line-height: 0.94;
}

.chat-prompt .prompt-eyebrow {
  margin-bottom: 6px;
  color: var(--coral);
}

.chat-head {
  display: flex;
  gap: 18px;
  align-items: start;
  justify-content: space-between;
}

.chat-live {
  display: inline-flex;
  min-height: 30px;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 12px;
  background: white;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: lowercase;
}

.chat-live span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green-deep);
  box-shadow: 0 0 0 5px rgba(186, 249, 134, 0.48);
}

.chat-messages {
  display: grid;
  gap: 8px;
  min-height: 130px;
  max-height: none;
  align-content: start;
  overflow: auto;
  margin: 10px 0 14px;
  padding: 4px 6px 4px 0;
}

.chat-message {
  width: fit-content;
  max-width: min(88%, 720px);
  margin: 0;
  border: 1px solid var(--ink);
  border-radius: 18px;
  padding: 12px 14px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.38;
  box-shadow: 5px 5px 0 rgba(186, 249, 134, 0.64);
}

.chat-message.is-bot {
  background: white;
}

.chat-prompt .chat-message.is-bot {
  position: relative;
  padding-left: 44px;
}

.chat-prompt .chat-message.is-bot::before {
  content: "IA";
  position: absolute;
  top: 10px;
  left: 12px;
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0;
}

.chat-message.is-user {
  justify-self: end;
  background: var(--green);
}

.prompt-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.prompt-row input {
  min-width: 0;
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  outline: 0;
  padding: 15px 18px;
  background: white;
  color: var(--ink);
  font-weight: 600;
}

.prompt-row input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(244, 166, 182, 0.5);
}

.chat-prompt .prompt-row button {
  min-height: 50px;
  border: 1px solid var(--coral);
  background: var(--coral);
  color: white;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.chat-prompt .prompt-row button:hover {
  border-color: var(--ink);
  background: #e05c49;
  transform: translate(-2px, -2px);
}

.chat-row {
  align-items: center;
}

.quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.quick-prompts button,
.steps button {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 10px 13px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 650;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.chat-prompt .quick-prompts button:nth-child(1) {
  background: var(--blue);
}

.chat-prompt .quick-prompts button:nth-child(2) {
  background: var(--pink);
}

.chat-prompt .quick-prompts button:nth-child(3) {
  background: var(--green);
}

.chat-prompt .quick-prompts button:nth-child(4) {
  background: var(--yellow);
}

.quick-prompts button:hover,
.steps button:hover,
.steps button.is-active {
  background: var(--green);
}

.chat-prompt .quick-prompts button:hover {
  box-shadow: 4px 4px 0 rgba(28, 28, 26, 0.14);
  transform: translateY(-1px);
}

.hero-actions {
  grid-column: 1 / -1;
}

.hero-actions p {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 248, 231, 0.78);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  transition:
    transform var(--motion-lift),
    box-shadow var(--motion-happly),
    background var(--motion-happly);
}

.hero-actions p:hover {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(28, 28, 26, 0.08);
  transform: translateY(-2px);
}

@media (min-width: 981px) {
  .hero {
    display: block;
    min-height: 178svh;
    overflow: visible;
    padding: 0 clamp(18px, 5vw, 74px) clamp(26px, 5vw, 58px);
  }

  .hero-copy {
    position: sticky;
    top: 0;
    display: grid;
    min-height: 100svh;
    align-content: start;
    justify-items: center;
    padding: calc(var(--header-height) + 132px) 0 86px;
    text-align: center;
  }

  .hero-copy h1 {
    position: relative;
    z-index: 80;
    max-width: min(1180px, 82vw);
    margin-bottom: 26px;
    font-size: clamp(5.2rem, 9.6vw, 11.2rem);
    line-height: 0.78;
  }

  .hero-copy .kicker {
    position: relative;
    z-index: 100;
  }

  .hero-text {
    position: relative;
    z-index: 2;
    max-width: 680px;
    color: var(--ink);
    font-size: clamp(1.08rem, 1.55vw, 1.35rem);
    text-align: center;
    text-shadow: 0 1px 18px rgba(255, 248, 231, 0.78);
  }

  .hero-pills {
    position: relative;
    z-index: 2;
    justify-content: center;
  }

  .hero-reveal-copy {
    position: sticky;
    top: 0;
    z-index: 80;
    display: grid;
    min-height: 100svh;
    align-content: start;
    justify-items: center;
    margin-top: -100svh;
    padding: calc(var(--header-height) + clamp(410px, 39svh, 560px)) 0 86px;
    opacity: 1;
    transform: none;
    pointer-events: none;
  }

  .hero-reveal-copy .hero-pills {
    pointer-events: auto;
  }

  .hero-art {
    position: sticky;
    top: 0;
    height: 100svh;
    margin-top: -100svh;
  }

  .hero-card-deck {
    --open-scale: calc(100vw / 2048);
    min-height: 100svh;
  }

  .ai-project-chat,
  .print-prompt {
    position: relative;
    z-index: 12;
    margin: 115svh auto 0;
  }

  .hero-actions {
    position: relative;
    z-index: 12;
    justify-content: center;
    margin-top: 24px;
    padding-bottom: 26px;
  }
}

.choice-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--hard-line);
  border-bottom: 2px solid var(--hard-line);
  background: var(--cream-2);
}

.choice-strip p {
  display: grid;
  min-height: 74px;
  margin: 0;
  place-items: center;
  border-right: 2px solid var(--hard-line);
  background:
    var(--grain),
    var(--cream-2);
  background-size:
    var(--grain-size),
    100% 100%;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
  text-transform: lowercase;
  transition:
    transform var(--motion-lift),
    filter var(--motion-happly);
}

.choice-strip p:hover {
  filter: saturate(1.08);
  transform: translateY(-2px);
}

.choice-strip p:nth-child(1) {
  background-color: var(--green);
}

.choice-strip p:nth-child(2) {
  background-color: var(--blue);
}

.choice-strip p:nth-child(3) {
  background-color: var(--pink);
}

.choice-strip p:nth-child(4) {
  background-color: var(--yellow);
}

.choice-strip p:last-child {
  border-right: 0;
}

.section,
.shop-section,
.custom-flow,
.operations,
.blog-section,
.faq,
.site-footer {
  border-top: 2px solid var(--hard-line);
  padding: clamp(70px, 9vw, 126px) clamp(18px, 5vw, 74px);
}

.section,
.shop-section,
.custom-flow,
.operations,
.blog-section,
.faq,
.project-stack {
  scroll-margin-top: 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.56fr);
  gap: clamp(24px, 5vw, 74px);
  align-items: end;
}

.intro p:last-child,
.flow-copy p,
.operations p,
.faq p,
.site-footer p {
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.5;
}

.project-stack {
  position: relative;
  height: auto;
  min-height: var(--stack-panel-height);
  overflow: visible;
  border-top: 2px solid var(--hard-line);
  background:
    var(--grain),
    var(--green);
  background-size:
    var(--grain-size),
    100% 100%;
  padding: 0;
  transition: background-color 160ms linear;
}

.project-stack.is-reveal-ready,
.project-stack.is-reveal-ready.is-visible {
  transform: none !important;
}

.project-stack[data-active-stack="1"] {
  background-color: var(--blue);
}

.project-stack[data-active-stack="2"] {
  background-color: var(--pink);
}

.project-stack[data-active-stack="3"] {
  background-color: var(--yellow);
}

.stack-stage {
  position: relative;
  z-index: 1;
  height: auto;
  min-height: auto;
  overflow: visible;
  border-bottom: 2px solid var(--hard-line);
  padding-bottom: 0;
  padding-top: 0;
  background: inherit;
}

.stack-rail {
  position: absolute;
  z-index: 170;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--hard-line);
  background: inherit;
  pointer-events: none;
  visibility: hidden;
}

.project-stack.is-stack-active .stack-rail {
  position: fixed;
  top: var(--header-height);
  right: 0;
  left: 0;
  visibility: visible;
}

.project-stack.is-stack-past .stack-rail {
  position: absolute;
  top: auto;
  bottom: 0;
  visibility: visible;
  pointer-events: auto;
}

.stack-slide {
  --stack-index: 0;
  position: sticky;
  top: calc(var(--header-height) + (var(--stack-tab-height) * var(--stack-index)));
  min-height: calc(var(--stack-panel-height) - (var(--stack-tab-height) * var(--stack-index)));
  overflow: hidden;
  scroll-margin-top: var(--header-height);
  border-top: 0;
  background-color: var(--green);
  background-image: var(--grain);
  background-size: var(--grain-size);
}

.stack-slide:nth-child(1) {
  --stack-index: 0;
  z-index: 1;
}

.stack-slide:nth-child(2) {
  --stack-index: 1;
  z-index: 2;
}

.stack-slide:nth-child(3) {
  --stack-index: 2;
  z-index: 3;
}

.stack-slide:nth-child(4) {
  --stack-index: 3;
  z-index: 4;
}

.stack-tab,
.stack-fixed-tab {
  --locked-surface: var(--green);
  position: relative;
  isolation: isolate;
  min-height: var(--stack-tab-height);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 2px solid var(--hard-line);
  padding: 0 clamp(18px, 5vw, 56px);
  background: transparent;
  color: var(--ink);
  font-size: clamp(1.02rem, 1.6vw, 1.42rem);
  font-weight: 800;
  text-transform: lowercase;
  cursor: pointer;
}

.stack-tab::before,
.stack-fixed-tab::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    var(--texture-image),
    var(--locked-surface);
  background-repeat:
    repeat,
    no-repeat;
  background-size:
    var(--texture-size),
    100% 100%;
  background-blend-mode:
    multiply,
    normal;
}

.stack-tab {
  position: relative;
  z-index: 130;
}

.stack-fixed-tab {
  position: relative;
  z-index: 5;
  width: 100%;
  display: none;
  pointer-events: auto;
}

.stack-jumpbar {
  display: none;
}

.stack-fixed-tab.is-stacked {
  display: flex;
}

.stack-tab.is-stacked-source {
  visibility: hidden;
  pointer-events: none;
}

.stack-tab-ready,
.stack-fixed-tab-ready {
  --locked-surface: var(--green);
}

.stack-tab-adapt,
.stack-fixed-tab-adapt {
  --locked-surface: var(--blue);
}

.stack-tab-project,
.stack-fixed-tab-project {
  --locked-surface: var(--pink);
}

.stack-tab-file,
.stack-fixed-tab-file {
  --locked-surface: var(--yellow);
}

.stack-layout {
  --slide-inner-space: clamp(22px, 5vw, 56px);
  min-height: calc(var(--stack-panel-height) - (var(--stack-tab-height) * (var(--stack-index) + 1)));
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.72fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: var(--slide-inner-space);
}

.slide-ready {
  background-color: var(--green);
}

.slide-adapt {
  background-color: var(--blue);
}

.slide-project {
  background-color: var(--pink);
}

.slide-file {
  background-color: var(--yellow);
}

@media (max-width: 767px) {
  :root {
    --texture-image: none;
    --texture-size: 100% 100%;
  }

  .project-stack {
    height: auto !important;
    min-height: auto;
    overflow: visible;
    padding-bottom: 0;
  }

  .stack-stage {
    position: relative;
    top: auto;
    height: auto;
    overflow: visible;
    padding-top: 0;
  }

  .stack-rail {
    display: none;
  }

  .stack-slide,
  .stack-slide:nth-child(n) {
    position: relative;
    top: auto;
    margin-top: 0;
    min-height: calc(100svh - var(--header-height));
    overflow: visible;
  }

  .stack-tab {
    position: sticky;
    z-index: 5;
    top: var(--header-height);
    display: flex;
  }

  .stack-layout {
    height: auto;
    min-height: calc(100svh - var(--header-height) - var(--stack-tab-height));
  }
}

.slide-copy {
  max-width: 690px;
}

.slide-flavor {
  margin-bottom: 12px;
  font-size: 0.92rem;
  font-weight: var(--weight-ui);
  text-transform: lowercase;
}

.stack-slide h3 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 6.6vw, 7.2rem);
  line-height: 0.82;
  overflow-wrap: anywhere;
}

.stack-slide p {
  max-width: 620px;
  color: rgba(28, 28, 26, 0.75);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: var(--weight-copy);
  line-height: 1.42;
}

.slide-meta {
  display: grid;
  gap: 8px;
  margin: 24px 0;
  font-size: 0.9rem;
  font-weight: var(--weight-ui);
  text-transform: lowercase;
}

.license-note {
  max-width: 560px;
  border-left: 4px solid var(--ink);
  padding-left: 14px;
}

.slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.slide-actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 18px;
  background: var(--ink);
  color: white;
  font-weight: 800;
  text-transform: lowercase;
}

.slide-actions a:last-child {
  background: transparent;
  color: var(--ink);
}

.slide-media {
  display: grid;
  place-items: center;
}

.slide-media img {
  --slide-media-rotate: 2deg;
  width: min(100%, 420px);
  aspect-ratio: 1;
  border: 2px solid var(--hard-line);
  border-radius: var(--radius-card);
  object-fit: cover;
  background: var(--cream-2);
  box-shadow: var(--card-shadow);
  transform: rotate(var(--slide-media-rotate));
  transition:
    transform var(--motion-lift),
    box-shadow var(--motion-happly),
    filter var(--motion-happly);
}

.stack-slide:hover .slide-media img {
  box-shadow: var(--card-shadow-hover);
  filter: saturate(1.04);
  transform: translateY(-6px) rotate(calc(var(--slide-media-rotate) * 0.72));
}

.slide-adapt .slide-media img {
  --slide-media-rotate: -2deg;
}

.slide-project .slide-media img {
  --slide-media-rotate: 1deg;
}

.mood-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0 clamp(18px, 5vw, 74px) clamp(70px, 9vw, 126px);
}

.collection-card {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
  background: var(--green);
  box-shadow: var(--shadow);
}

.collection-card:nth-child(2) {
  background: var(--pink);
}

.collection-card:nth-child(3) {
  background: var(--blue);
}

.collection-card img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 16px;
  object-fit: cover;
  background: var(--cream-2);
}

.collection-card span {
  margin-top: 20px;
  font-size: 0.84rem;
  font-weight: 800;
}

.collection-card h3 {
  max-width: 360px;
}

.collection-card p {
  max-width: 360px;
  margin-top: auto;
  margin-bottom: 0;
  color: rgba(28, 28, 26, 0.72);
  font-weight: 700;
  line-height: 1.4;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 32px;
}

.section-heading .section-label {
  grid-column: 1 / -1;
}

.section-heading h2 {
  margin-bottom: 0;
}

.gallery-shelf,
.gallery-catalog {
  display: grid;
  gap: 18px;
  margin-top: clamp(30px, 5vw, 58px);
}

.gallery-shelf-heading,
.gallery-catalog-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.36fr);
  gap: 20px;
  align-items: end;
}

.gallery-shelf-heading h3,
.gallery-catalog-head h3 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.3rem);
  line-height: 0.9;
}

.gallery-shelf-heading p:last-child,
.gallery-catalog-head p:last-child,
.gallery-empty {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.42;
}

.gallery-catalog-tools {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.gallery-catalog-tools p {
  margin: 0;
  color: var(--muted);
  font-weight: var(--weight-ui);
  line-height: 1.2;
  text-align: right;
}

.gallery-catalog-tools label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 7px 6px 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: var(--weight-ui);
  text-transform: lowercase;
}

.gallery-catalog-tools select {
  min-height: 38px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  outline: 0;
  padding: 0 38px 0 14px;
  background: var(--cream-2);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: var(--weight-strong);
}

.gallery-feature-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) repeat(2, minmax(0, 0.82fr));
  gap: 12px;
}

.gallery-feature-card {
  min-width: 0;
  align-self: start;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border: 2px solid var(--hard-line);
  border-radius: 8px;
  background:
    var(--grain),
    var(--cream-2);
  background-size:
    var(--grain-size),
    100% 100%;
  box-shadow: var(--press-shadow), 0 14px 34px rgba(28, 28, 26, 0.08);
}

.gallery-feature-card:first-child {
  grid-row: span 2;
}

.gallery-feature-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--gallery-image-ratio);
  border-bottom: 2px solid var(--hard-line);
  object-fit: cover;
  object-position: center;
  background: white;
  filter: saturate(1.06) contrast(1.02);
}

.gallery-feature-card > div {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 16px;
}

.gallery-feature-card h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.7rem);
  line-height: 0.95;
}

.gallery-feature-card p:not(.tag) {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 620;
  line-height: 1.38;
}

.gallery-feature-card a {
  width: fit-content;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--ink);
  color: white;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: lowercase;
}

.gallery-filter-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 8px;
  scrollbar-width: thin;
}

.gallery-filter-tabs button,
.gallery-pagination button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream-2);
  color: var(--ink);
  cursor: pointer;
  font-weight: var(--weight-ui);
  text-transform: lowercase;
}

.gallery-filter-tabs button {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 9px;
  align-items: center;
  padding: 0 13px;
}

.gallery-filter-tabs button.is-active,
.gallery-pagination button.is-active {
  border-color: var(--ink);
  background: var(--green);
}

.gallery-filter-tabs em {
  min-width: 24px;
  min-height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(28, 28, 26, 0.08);
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: var(--weight-ui);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-grid[data-gallery-grid] {
  min-height: 690px;
  align-items: start;
  scroll-margin-top: 118px;
}

.product-grid[data-gallery-grid].is-ready .product-card {
  animation: catalog-card-in 220ms ease both;
  animation-delay: calc(var(--card-index, 0) * 28ms);
}

@keyframes catalog-card-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card {
  overflow: hidden;
  border: 2px solid var(--hard-line);
  border-radius: 8px;
  background:
    var(--grain),
    var(--cream-2);
  background-size:
    var(--grain-size),
    100% 100%;
  box-shadow: var(--press-shadow), 0 14px 34px rgba(28, 28, 26, 0.08);
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.product-card:hover {
  box-shadow: 11px 11px 0 rgba(28, 28, 26, 0.16), 0 14px 34px rgba(28, 28, 26, 0.08);
  transform: translate(-2px, -2px);
}

.product-card.is-recommended {
  outline: 5px solid rgba(186, 249, 134, 0.72);
  outline-offset: 4px;
}

.product-visual-frame {
  position: relative;
  display: grid;
  overflow: hidden;
  aspect-ratio: var(--gallery-image-ratio);
  border-bottom: 2px solid var(--hard-line);
  background: var(--cream);
}

.product-visual {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: saturate(1.05) contrast(1.02);
}

.product-visual-main {
  position: relative;
  z-index: 1;
}

.product-visual-alt {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04) translate3d(0, 10px, 0);
}

.product-card .tag,
.product-card h3,
.product-card .price {
  padding: 0 16px;
}

.product-card .tag {
  margin-top: 16px;
  color: var(--green-deep);
}

.product-card .product-badge {
  margin: 10px 16px 0;
}

.product-card h3 {
  min-height: 72px;
  font-size: clamp(1.24rem, 2vw, 1.78rem);
}

.product-price-stack {
  display: grid;
  width: calc(100% - 32px);
  gap: 1px;
  margin: 0 16px 14px;
  border: 1px solid rgba(28, 28, 26, 0.1);
  border-radius: 16px;
  padding: 11px 12px;
  background:
    linear-gradient(135deg, rgba(183, 255, 74, 0.18), rgba(255, 248, 231, 0.88)),
    var(--cream-2);
}

.product-price-stack > span {
  color: var(--green-deep);
  font-size: 0.7rem;
  font-weight: var(--weight-ui);
  line-height: 1;
  text-transform: lowercase;
}

.price {
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-size: clamp(1.28rem, 1.75vw, 1.7rem);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.price-compare {
  color: rgba(28, 28, 26, 0.52);
  font-size: 0.82rem;
  font-weight: var(--weight-copy);
  text-decoration: line-through;
}

.product-card .price-note {
  margin-top: -6px;
  color: rgba(28, 28, 26, 0.62);
  font-size: 0.82rem;
  font-weight: 560;
  line-height: 1.3;
}

.product-card a {
  width: calc(100% - 32px);
  margin: 0 16px 16px;
  min-height: 48px;
  border-radius: 999px;
  font-size: 0.95rem;
}

.gallery-pagination {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(260px, 1fr);
  gap: 14px 18px;
  align-items: center;
  border: 1px solid rgba(28, 28, 26, 0.12);
  border-radius: 22px;
  padding: 12px;
  background: rgba(255, 248, 231, 0.64);
}

.gallery-pagination[hidden] {
  display: none;
}

.gallery-pagination-track {
  grid-column: 1 / -1;
  overflow: hidden;
  height: 7px;
  border-radius: 999px;
  background: rgba(28, 28, 26, 0.1);
}

.gallery-pagination-track span {
  display: block;
  width: var(--gallery-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--green-deep);
  transition: width 220ms ease;
}

.gallery-pagination-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.gallery-pagination button {
  padding: 0 14px;
}

.gallery-pagination button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.gallery-page-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.gallery-page-buttons button {
  min-width: 38px;
  padding: 0 10px;
}

.gallery-page-gap {
  min-width: 24px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 800;
}

.gallery-pagination p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
  font-weight: var(--weight-ui);
  text-align: left;
  text-transform: lowercase;
}

.gallery-product {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
  margin-bottom: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(18px, 3vw, 28px) 0;
}

.product-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(28, 28, 26, 0.72);
  border-radius: 999px;
  padding: 0 12px;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 880;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 rgba(28, 28, 26, 0.12);
}

.gallery-product-copy .product-badge,
.product-viewer-copy .product-badge {
  margin: 8px 0 0;
}

.gallery-product[data-gallery-configurator] {
  position: relative;
  overflow: hidden;
  margin-bottom: clamp(22px, 3vw, 32px);
  border: var(--card-border);
  border-radius: var(--radius-panel);
  padding: clamp(20px, 3vw, 30px);
  background:
    var(--grain),
    linear-gradient(180deg, rgba(255, 248, 231, 0.92), rgba(255, 253, 246, 0.84));
  background-size:
    var(--grain-size),
    100% 100%;
  box-shadow: var(--card-shadow);
  transition:
    border-color var(--motion-happly),
    box-shadow var(--motion-happly),
    transform var(--motion-lift);
}

.gallery-product[data-gallery-configurator]::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 86% 16%, rgba(182, 220, 244, 0.18), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.52), transparent 38%);
}

.gallery-product[data-gallery-configurator] > * {
  position: relative;
  z-index: 1;
}

.gallery-product[data-gallery-configurator]:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-3px);
}

.gallery-product-media {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 10px;
}

.gallery-visual {
  position: relative;
  display: grid;
  aspect-ratio: var(--gallery-image-ratio);
  place-items: center;
  overflow: visible;
  border-radius: var(--radius-card);
  background: white;
}

.gallery-product-main {
  width: 100%;
  height: 100%;
  aspect-ratio: var(--gallery-image-ratio);
  border-radius: var(--radius-card);
  object-fit: contain;
  background: white;
  filter: saturate(0.72) contrast(1.08);
  transition:
    transform var(--motion-lift),
    filter var(--motion-happly);
}

.gallery-product[data-gallery-configurator]:hover .gallery-product-main {
  filter: saturate(0.84) contrast(1.04);
  transform: scale(1.015);
}

.gallery-trace {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  fill: none;
  color: var(--ink);
  display: none;
  pointer-events: none;
}

.gallery-trace-shadow,
.gallery-trace-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transition:
    opacity var(--motion-happly),
    stroke var(--motion-happly),
    stroke-width var(--motion-happly);
}

.gallery-trace-shadow {
  opacity: 0.96;
  stroke: rgba(255, 248, 231, 0.94);
  stroke-width: 2.2;
}

.gallery-trace-line {
  opacity: 0.62;
  stroke: var(--part-option-color, var(--blue));
  stroke-width: 0.72;
}

.gallery-trace-line.is-active {
  opacity: 1;
  stroke-width: 1.04;
}

.gallery-part-dot {
  --part-bubble-border: 1px;
  --part-bubble-max-width: 26rem;
  --part-bubble-padding: 1.884rem;
  --part-bubble-radius: 2.153rem;
  --part-dot-size: 38px;
  --part-hit-size: 46px;
  --part-bubble-overlap: 8px;
  --part-bubble-gap: 0px;
  --part-bubble-top: calc(50% - 5.2rem);
  --part-bubble-origin-y: 5.2rem;
  --part-copy-closed-transform: scale(0.16);
  --part-copy-open-transform: scale(1);
  position: absolute;
  z-index: 7;
  left: var(--pin-x, 50%);
  top: var(--pin-y, 50%);
  display: block;
  width: var(--part-hit-size);
  height: var(--part-hit-size);
  min-width: var(--part-hit-size);
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  color: var(--part-option-text, var(--ink));
  cursor: pointer;
  text-align: left;
  text-transform: lowercase;
  isolation: isolate;
  transform: translate(-50%, -50%);
  box-shadow: none;
  transition:
    opacity var(--motion-happly),
    transform var(--motion-lift);
}

.gallery-part-dot::before {
  display: none;
  content: none;
}

.gallery-part-dot.is-left::before {
  display: none;
}

.gallery-part-dot > * {
  position: relative;
  z-index: 1;
}

.part-dot-orb {
  position: absolute;
  top: 50%;
  left: calc((var(--part-hit-size) - var(--part-dot-size)) / 2);
  z-index: 3;
  display: grid;
  box-sizing: border-box;
  width: var(--part-dot-size);
  height: var(--part-dot-size);
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--part-option-swatch, var(--part-option-color, var(--blue)));
  color: var(--part-option-text, var(--ink));
  isolation: isolate;
  box-shadow:
    0 0 0 2px var(--cream-2),
    0 7px 16px rgba(28, 28, 26, 0.16);
  transform: translateY(-50%);
  transition:
    box-shadow 240ms ease,
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-part-dot.is-left .part-dot-orb {
  right: calc((var(--part-hit-size) - var(--part-dot-size)) / 2);
  left: auto;
}

.part-dot-orb::after {
  position: absolute;
  z-index: -1;
  inset: -5px;
  border-radius: inherit;
  content: "";
  background: var(--cream-2);
  opacity: 0;
  transform: scale(0.86);
  transition:
    opacity 220ms ease,
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.part-dot-orb .part-pin-swatch {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  background: var(--selected-swatch);
  box-shadow: none;
}

.part-dot-index {
  position: relative;
  z-index: 2;
  display: grid;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--ink);
  font-size: 0.52rem;
  font-weight: 880;
  letter-spacing: 0;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: no-preference) {
  .gallery-part-dot:not(.is-active) .part-dot-orb::after {
    animation: partDotCue 2.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  }
}

@keyframes partDotCue {
  0%,
  72%,
  100% {
    opacity: 0;
    transform: scale(0.9);
  }

  28% {
    opacity: 0.42;
    transform: scale(1.08);
  }
}

.part-dot-copy {
  position: absolute;
  top: var(--part-bubble-top);
  left: calc(((var(--part-hit-size) - var(--part-dot-size)) / 2) + var(--part-dot-size) - var(--part-bubble-overlap) + var(--part-bubble-gap));
  z-index: 2;
  display: grid;
  width: max-content;
  max-width: min(var(--part-bubble-max-width), calc(100vw - 3rem));
  min-width: 0;
  align-content: center;
  gap: 7px;
  border: var(--part-bubble-border) solid var(--ink);
  border-radius: var(--part-bubble-radius);
  opacity: 0;
  padding: var(--part-bubble-padding);
  background: var(--cream-2);
  pointer-events: none;
  transform: var(--part-copy-closed-transform);
  transform-box: border-box;
  transform-origin: 0 var(--part-bubble-origin-y);
  visibility: hidden;
  will-change: opacity, transform;
  transition:
    opacity 90ms ease,
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 160ms;
}

.gallery-part-dot.is-left .part-dot-copy {
  right: calc(((var(--part-hit-size) - var(--part-dot-size)) / 2) + var(--part-dot-size) - var(--part-bubble-overlap) + var(--part-bubble-gap));
  left: auto;
  transform-origin: 100% var(--part-bubble-origin-y);
}

.part-dot-copy > * {
  opacity: 0;
  transform: translateY(0.18rem);
  transition:
    opacity 190ms ease,
    transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.part-dot-kicker {
  width: max-content;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid rgba(28, 28, 26, 0.16);
  border-radius: 999px;
  padding: 5px 9px 4px;
  background: color-mix(in srgb, var(--part-option-color, var(--green)) 22%, var(--cream-2));
  color: color-mix(in srgb, var(--part-option-color, var(--green-deep)) 54%, var(--ink));
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.part-dot-title {
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 920;
  line-height: 0.94;
}

.part-dot-copy em {
  display: block;
  max-width: 31ch;
  overflow: visible;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: clamp(0.92rem, 1.1vw, 1.08rem);
  font-style: normal;
  font-weight: 820;
  line-height: 1.04;
}

.gallery-part-dot:is(:hover, :focus-visible, .is-active) {
  z-index: 8;
}

.gallery-part-dot:is(:hover, :focus-visible, .is-active)::before {
  display: none;
}

.gallery-part-dot:is(:hover, :focus-visible, .is-active) .part-dot-orb {
  box-shadow:
    0 0 0 2px var(--cream-2),
    0 12px 22px rgba(28, 28, 26, 0.18);
  transform: translateY(-50%) scale(1.05);
}

.gallery-part-dot:is(:hover, :focus-visible, .is-active) .part-dot-orb::after {
  opacity: 0.62;
  transform: scale(1.04);
  animation: none;
}

.gallery-part-dot:focus-visible .part-dot-orb {
  outline: 2px solid color-mix(in srgb, var(--part-option-color, var(--green)) 54%, var(--ink));
  outline-offset: 5px;
}

.gallery-part-dot:is(:hover, :focus-visible, .is-active) .part-dot-copy {
  opacity: 1;
  transform: var(--part-copy-open-transform);
  visibility: visible;
  transition:
    opacity 90ms ease,
    transform 560ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s;
}

.gallery-part-dot:is(:hover, :focus-visible, .is-active) .part-dot-copy > * {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 150ms;
}

.part-pin {
  position: absolute;
  z-index: 7;
  top: 18px;
  left: 18px;
  display: grid;
  width: min(236px, calc(100% - 36px));
  gap: 6px;
  min-height: 0;
  border: 1.5px solid rgba(28, 28, 26, 0.86);
  border-radius: var(--radius-card);
  padding: 9px 10px 10px;
  background:
    linear-gradient(90deg, var(--part-option-color, var(--green)) 0 7px, transparent 7px),
    rgba(255, 248, 231, 0.96);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.05;
  text-align: left;
  text-transform: lowercase;
  opacity: 0;
  pointer-events: none;
  box-shadow:
    0 12px 26px rgba(28, 28, 26, 0.14),
    3px 3px 0 rgba(28, 28, 26, 0.1);
  transform: translateY(8px) scale(0.98);
  transition:
    opacity var(--motion-happly),
    transform var(--motion-lift),
    box-shadow var(--motion-happly),
    background var(--motion-happly),
    border-color var(--motion-happly);
}

.part-pin:hover {
  box-shadow:
    0 16px 32px rgba(28, 28, 26, 0.18),
    5px 5px 0 rgba(28, 28, 26, 0.12);
  transform: translateY(-2px);
}

.part-pin.is-active {
  border-color: var(--ink);
  background: white;
  opacity: 1;
  pointer-events: auto;
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--part-option-color, var(--green)) 42%, transparent),
    0 18px 34px rgba(28, 28, 26, 0.18),
    5px 5px 0 rgba(28, 28, 26, 0.12);
  transform: translateY(0);
}

.part-pin span,
.part-pin strong,
.part-pin small,
.part-pin em {
  display: block;
}

.part-pin-kicker {
  color: var(--muted);
  font-size: 0.57rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.part-pin-title {
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 0.92;
}

.part-pin-selection {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.part-pin-swatch {
  width: 24px;
  height: 24px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--selected-swatch);
  box-shadow: 0 0 0 2px rgba(255, 248, 231, 0.82);
}

.part-pin-swatch[hidden] {
  display: none;
}

.part-pin small {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 850;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.part-pin em {
  overflow: visible;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1.15;
  white-space: normal;
}

.part-pin-cupula {
  --pin-x: 86%;
  --pin-y: 20%;
  --part-option-color: #f7f4ea;
  --part-option-swatch: #f7f4ea;
}

.part-pin-lampada {
  --pin-x: 86%;
  --pin-y: 45%;
  --part-option-color: #ffd66b;
  --part-option-swatch: #ffd66b;
}

.part-pin-base {
  --pin-x: 15%;
  --pin-y: 88%;
  --part-option-color: #f7f4ea;
  --part-option-swatch: #f7f4ea;
}

.gallery-visual.is-part-map-hidden .gallery-trace,
.gallery-visual.is-part-map-hidden .gallery-part-dot,
.gallery-visual.is-part-map-hidden .part-pin {
  opacity: 0;
  pointer-events: none;
}

.gallery-trace-line.is-optional-unselected,
.gallery-trace-shadow.is-optional-unselected,
.gallery-part-dot.is-optional-unselected {
  opacity: 0;
  pointer-events: none;
}

.gallery-visual.is-part-map-hidden .part-pin {
  transform: translateY(8px) scale(0.98);
}

.gallery-part-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 700px;
  margin: 0 0 8px;
}

.gallery-config-intro {
  display: flex;
  max-width: 700px;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(28, 28, 26, 0.16);
  padding-top: 14px;
  color: var(--ink);
}

.gallery-config-intro span {
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.gallery-config-intro strong {
  font-size: clamp(1.04rem, 1.3vw, 1.22rem);
  font-weight: 920;
  line-height: 1;
}

.gallery-part-card {
  --part-card-accent: var(--part-option-color, var(--line));
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 8px;
  overflow: hidden;
  min-height: 86px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 10px;
  background: rgba(255, 248, 231, 0.72);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition:
    transform var(--motion-lift),
    background var(--motion-happly),
    border-color var(--motion-happly),
    box-shadow var(--motion-happly);
}

.gallery-part-card::before {
  position: absolute;
  inset: 10px auto 10px 0;
  width: 4px;
  border-radius: 0 999px 999px 0;
  content: "";
  background: var(--part-card-accent);
}

.gallery-part-card:hover {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 18px rgba(28, 28, 26, 0.08);
  transform: translateY(-2px);
}

.gallery-part-card.is-active {
  border-color: var(--ink);
  background: var(--cream-2);
  box-shadow:
    inset 0 0 0 1px var(--ink),
    0 10px 18px rgba(28, 28, 26, 0.1);
  transform: translateY(-2px);
}

.gallery-part-card.is-active:hover {
  background: white;
}

.gallery-part-card-index,
.gallery-part-card em {
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 560;
  line-height: 1.2;
}

.gallery-part-card-index {
  grid-row: 1 / 3;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(28, 28, 26, 0.32);
  border-radius: 50%;
  background: var(--part-option-color, rgba(255, 255, 255, 0.7));
  color: var(--part-option-text, var(--ink));
  font-weight: 900;
}

.gallery-part-card strong {
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1;
}

.gallery-part-card-choice {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  margin-top: 4px;
  border-top: 1px solid rgba(28, 28, 26, 0.1);
  padding-top: 8px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.1;
}

.gallery-part-card-choice .part-pin-swatch {
  width: 22px;
  height: 22px;
}

.gallery-part-card-choice b {
  overflow: hidden;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-part-card-choice:has(.part-pin-swatch[hidden]) {
  display: none;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.gallery-thumbs button {
  display: grid;
  aspect-ratio: var(--gallery-image-ratio);
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  background: white;
  cursor: pointer;
}

.gallery-thumbs button.is-active {
  border-color: var(--green-deep);
  box-shadow: 0 0 0 3px rgba(186, 249, 134, 0.48);
}

.gallery-thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: var(--gallery-image-ratio);
  object-fit: contain;
  object-position: center;
  background: white;
}

.gallery-product-copy {
  display: grid;
  gap: clamp(18px, 2.4vw, 24px);
}

.gallery-product-copy .tag {
  color: var(--green-deep);
}

.gallery-product-copy h3 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 0.9;
}

.gallery-product-lead {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.45;
}

.product-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.product-facts div {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 10px;
  background: rgba(255, 248, 231, 0.72);
  transition:
    transform var(--motion-lift),
    background var(--motion-happly),
    box-shadow var(--motion-happly);
}

.product-facts div:hover {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 18px rgba(28, 28, 26, 0.08);
  transform: translateY(-2px);
}

.product-facts dt,
.gallery-config-group legend,
.gallery-total > span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 560;
  text-transform: lowercase;
}

.gallery-config-group legend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: calc(100% - 20px);
  margin-left: 10px;
  padding: 0 10px;
  background: var(--cream-2);
  color: var(--ink);
  font-size: clamp(1.1rem, 1.35vw, 1.45rem);
  font-weight: 920;
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 7px;
}

.gallery-config-eyebrow {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border: 1px solid rgba(28, 28, 26, 0.18);
  border-radius: 999px;
  padding: 0 9px;
  background: rgba(255, 248, 231, 0.74);
  color: var(--green-deep);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.gallery-config-index {
  display: inline-grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.product-facts dd {
  margin: 4px 0 0;
  font-weight: 650;
}

.product-facts .price-compare {
  margin-top: 6px;
  font-size: 0.92rem;
}

.gallery-config {
  display: grid;
  gap: clamp(24px, 3.2vw, 36px);
  max-width: 700px;
  margin-top: 4px;
}

.gallery-config-group {
  position: relative;
  z-index: 0;
  display: grid;
  box-sizing: border-box;
  width: 100%;
  min-inline-size: 0;
  gap: 14px;
  margin: 15px 0 0;
  border: 0;
  border-radius: 18px;
  padding: 0;
  scroll-margin-top: 86px;
  transition:
    transform var(--motion-lift);
}

.gallery-config-group::before {
  position: absolute;
  z-index: -1;
  inset: -12px -14px -10px;
  border: 1.25px solid transparent;
  border-radius: 22px;
  content: "";
  background: transparent;
  pointer-events: none;
  transition:
    background var(--motion-happly),
    border-color var(--motion-happly),
    box-shadow var(--motion-happly),
    opacity var(--motion-happly);
}

.gallery-config-group.is-part-active {
  transform: translateY(-1px);
}

.gallery-config-group.is-part-active::before {
  border-color: var(--ink);
  background: rgba(255, 248, 231, 0.54);
  box-shadow: none;
}

.gallery-config-group.is-part-active .gallery-config-index {
  background: var(--orange);
  color: var(--cream-2);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.gallery-config-group[data-gallery-optional] {
  gap: 12px;
  margin-top: 2px;
  box-sizing: border-box;
  width: 100%;
  min-inline-size: 0;
  border: 1.5px solid rgba(28, 28, 26, 0.74);
  border-radius: 24px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(255, 248, 231, 0.82), rgba(255, 255, 255, 0.58)),
    var(--grain);
  box-shadow: 0 14px 34px rgba(28, 28, 26, 0.08);
}

.gallery-config-group[data-gallery-optional]::before {
  display: none;
}

.gallery-config-group[data-gallery-optional].is-part-active {
  transform: none;
}

.gallery-config-group[data-gallery-optional] legend {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  width: max-content;
  max-width: calc(100% - 20px);
  gap: 7px 10px;
  align-items: center;
  margin-bottom: 2px;
  margin-left: 10px;
  padding: 0 10px;
  background: var(--cream-2);
  font-size: clamp(1.15rem, 1.45vw, 1.48rem);
}

.gallery-config-group[data-gallery-optional] .gallery-options {
  display: grid;
  gap: 10px;
}

.gallery-config-group[data-gallery-optional] .gallery-selected-option {
  display: none;
}

.gallery-options,
.gallery-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 10px;
}

.gallery-swatches {
  padding: 8px 6px;
}

.gallery-option {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 760;
  transition:
    background var(--motion-happly),
    border-color var(--motion-happly),
    box-shadow var(--motion-happly),
    transform var(--motion-lift);
}

.gallery-option:hover {
  border-color: rgba(28, 28, 26, 0.56);
  transform: translateY(-1px);
}

.gallery-option.has-image {
  min-height: 46px;
  padding-left: 6px;
}

.gallery-option-image {
  width: 34px;
  height: 34px;
  margin-right: 6px;
  border-radius: 6px;
  object-fit: cover;
  vertical-align: middle;
  background: var(--cream);
}

.gallery-size-option {
  display: grid;
  min-height: 62px;
  min-width: 118px;
  align-content: center;
  justify-items: start;
  border-radius: 10px;
  padding: 10px 12px;
  text-align: left;
}

.gallery-size-option strong {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 0.95;
}

.gallery-size-option em {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 560;
  line-height: 1.15;
}

.gallery-size-option span {
  margin-top: 4px;
}

.gallery-option span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
}

.gallery-option.is-selected {
  border-color: var(--ink);
  background: var(--yellow);
  box-shadow:
    inset 0 0 0 1px var(--ink),
    3px 3px 0 rgba(28, 28, 26, 0.08);
}

.gallery-option.is-selected span {
  color: var(--ink);
}

.gallery-addon-option {
  display: grid;
  width: 100%;
  min-height: 84px;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border: 1.5px solid rgba(28, 28, 26, 0.72);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255, 248, 231, 0.72);
  text-align: left;
  box-shadow: none;
}

.gallery-addon-option .gallery-addon-check {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: white;
}

.gallery-addon-option .gallery-addon-check::after {
  width: 13px;
  height: 13px;
  border-radius: inherit;
  content: "";
  background: var(--green);
  opacity: 0;
  transform: scale(0.72);
  transition:
    opacity 160ms ease,
    transform 180ms ease;
}

.gallery-addon-option.is-selected .gallery-addon-check::after {
  opacity: 1;
  transform: scale(1);
}

.gallery-addon-option.is-selected {
  border-color: var(--ink);
  background:
    linear-gradient(135deg, rgba(183, 255, 74, 0.4), rgba(255, 248, 231, 0.92)),
    var(--grain);
  box-shadow:
    inset 0 0 0 1px var(--ink),
    4px 4px 0 rgba(28, 28, 26, 0.08);
}

.gallery-addon-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.gallery-addon-copy strong {
  font-size: clamp(1rem, 1.18vw, 1.14rem);
  font-weight: 900;
  line-height: 1;
}

.gallery-addon-copy em {
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: var(--weight-copy);
  line-height: 1.15;
}

.gallery-addon-price {
  justify-self: end;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
  white-space: nowrap;
}

.gallery-addon-color-field {
  display: grid;
  gap: 8px;
}

.gallery-addon-color-field[hidden] {
  display: none;
}

.gallery-addon-color-field > span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: var(--weight-ui);
  line-height: 1;
  text-transform: lowercase;
}

.gallery-addon-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gallery-addon-colors button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(28, 28, 26, 0.18);
  border-radius: 999px;
  padding: 4px 10px 4px 5px;
  background: rgba(255, 248, 231, 0.82);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: var(--weight-ui);
  line-height: 1;
  transition:
    background var(--motion-happly),
    border-color var(--motion-happly),
    box-shadow var(--motion-happly),
    transform var(--motion-lift);
}

.gallery-addon-colors button:hover {
  border-color: rgba(28, 28, 26, 0.48);
  transform: translateY(-1px);
}

.gallery-addon-colors button.is-selected {
  border-color: var(--ink);
  background: white;
  box-shadow: inset 0 0 0 1px var(--ink);
}

.gallery-addon-colors i {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border: 1.5px solid rgba(28, 28, 26, 0.74);
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 3px rgba(255, 248, 231, 0.42);
}

.gallery-swatch {
  position: relative;
  display: inline-flex;
  width: auto;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px 4px 5px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 820;
  line-height: 1;
  transition:
    background var(--motion-happly),
    border-color var(--motion-happly),
    box-shadow var(--motion-happly),
    transform var(--motion-lift);
}

.gallery-swatch::before {
  display: block;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 1.5px solid rgba(28, 28, 26, 0.74);
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 3px rgba(255, 248, 231, 0.38);
  content: "";
}

.gallery-swatch:hover {
  border-color: rgba(28, 28, 26, 0.56);
  transform: translateY(-1px);
}

.gallery-swatch.is-selected {
  border-color: var(--ink);
  background: var(--yellow);
  box-shadow:
    inset 0 0 0 1px var(--ink),
    3px 3px 0 rgba(28, 28, 26, 0.08);
}

.gallery-swatch.is-selected::after {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 2px rgba(255, 248, 231, 0.76);
  content: "";
  pointer-events: none;
  transform: translateY(-50%);
}

.gallery-swatch.has-image {
  width: auto;
  height: auto;
  overflow: hidden;
  border-radius: 999px;
  background: var(--swatch);
}

.gallery-swatch.has-image img {
  display: none;
}

.gallery-selected-option {
  justify-self: start;
  min-height: 20px;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 620;
  line-height: 1.3;
}

.gallery-config-group.is-part-active .gallery-selected-option {
  border: 1px solid rgba(28, 28, 26, 0.2);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 820;
}

.gallery-detail-field {
  display: grid;
  gap: 5px;
  max-width: 340px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 620;
  line-height: 1.2;
  text-transform: lowercase;
}

.gallery-detail-field input {
  min-height: 38px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 13px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-weight: 560;
  text-transform: none;
}

.gallery-detail-field input:focus {
  border-color: var(--green-deep);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(186, 249, 134, 0.38);
}

.gallery-buy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.gallery-quantity {
  display: grid;
  grid-template-columns: 46px 68px 46px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
}

.gallery-quantity button {
  border: 0;
  background: var(--cream);
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 820;
}

.gallery-quantity output {
  display: grid;
  min-height: 46px;
  place-items: center;
  font-size: 1.06rem;
  font-weight: 820;
}

.gallery-total {
  display: grid;
  gap: 2px;
  text-align: right;
}

.gallery-total strong {
  font-size: 1.34rem;
}

.gallery-total strong,
.product-viewer-fixed-total strong,
.cart-total-row strong {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

.number-swap {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
}

.number-swap::after {
  position: absolute;
  inset: -0.2em -0.28em;
  z-index: -1;
  border-radius: 999px;
  content: "";
  background:
    radial-gradient(circle at 50% 50%, rgba(148, 170, 98, 0.3), rgba(148, 170, 98, 0)),
    linear-gradient(135deg, rgba(255, 248, 231, 0.34), rgba(148, 170, 98, 0.14), rgba(255, 248, 231, 0));
  opacity: 0;
  pointer-events: none;
  transform: scale(0.9);
}

.number-swap-track {
  display: inline-grid;
}

.number-swap-static {
  display: inline-block;
  white-space: pre;
}

.number-swap-value {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  grid-area: 1 / 1;
  white-space: nowrap;
  white-space: pre;
  column-gap: 0;
  will-change: transform, opacity;
}

.number-swap-char {
  display: inline-block;
  min-width: 0.52ch;
  text-align: center;
  transform-origin: 50% 60%;
  will-change: transform, opacity, color;
}

.number-swap-value.is-previous .number-swap-char.is-char-changing {
  color: color-mix(in srgb, var(--green-deep) 70%, var(--ink));
}

.number-swap-value.is-next .number-swap-char.is-char-changing {
  color: var(--green-deep);
  text-shadow: 0 0 14px rgba(148, 170, 98, 0.22);
}

.gallery-config-summary {
  display: grid;
  gap: 4px;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.gallery-config-summary span {
  display: block;
}

.gallery-config-summary span:last-child {
  color: rgba(28, 28, 26, 0.76);
}

.gallery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 8px;
}

.gallery-actions button,
.gallery-actions a {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 22px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 820;
  text-transform: lowercase;
}

.gallery-actions button > span,
.gallery-actions a > span {
  position: relative;
  z-index: 1;
}

.gallery-action-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--ink);
}

.gallery-action-icon svg {
  width: 17px;
  height: 17px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.gallery-actions a {
  border-color: var(--line);
  background: white;
  color: var(--ink);
}

.gallery-actions .gallery-secondary-action {
  border-color: var(--line);
  background: white;
  color: var(--ink);
}

.gallery-secondary-action .gallery-action-icon {
  border: 1px solid var(--line);
  background: var(--cream-2);
}

.gallery-actions button[data-gallery-add],
.gallery-actions button[data-cart-open] {
  min-height: 72px;
  gap: 12px;
  padding-inline: 30px;
  font-size: 1.08rem;
  font-weight: 820;
}

.gallery-actions button[data-gallery-add] {
  order: 2;
  flex: 0 1 420px;
  justify-content: flex-start;
}

.gallery-actions button[data-cart-open] {
  order: 1;
  min-width: 188px;
}

.gallery-action-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
  text-align: left;
}

.gallery-action-main {
  line-height: 1;
}

.gallery-action-price {
  color: rgba(255, 248, 231, 0.76);
  font-size: 0.78rem;
  font-weight: 880;
  line-height: 1;
  text-transform: uppercase;
}

.gallery-secondary-action .gallery-action-price {
  color: rgba(28, 28, 26, 0.58);
}

.product-viewer {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
  overflow: hidden;
  place-items: center;
  padding: clamp(10px, 2vw, 22px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.product-viewer.is-open,
.product-viewer.is-closing {
  display: grid;
}

.product-viewer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.product-viewer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(28, 28, 26, 0.58);
  cursor: pointer;
  opacity: 0;
  transition: opacity 280ms ease;
}

.product-viewer.is-open .product-viewer-backdrop {
  opacity: 1;
}

.product-viewer-panel.gallery-product {
  --product-viewer-pad: clamp(22px, 2.6vw, 34px);
  position: relative;
  isolation: isolate;
  z-index: 1;
  width: min(1240px, calc(100vw - clamp(20px, 4vw, 44px)));
  height: min(820px, calc(100svh - clamp(20px, 4vw, 44px)));
  max-height: calc(100svh - clamp(20px, 4vw, 44px));
  grid-template-columns: minmax(360px, 0.95fr) minmax(380px, 0.82fr);
  grid-template-rows: minmax(0, 1fr);
  column-gap: 0;
  align-items: stretch;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 248, 231, 0.44);
  border-radius: 20px;
  padding: 0;
  background: transparent;
  opacity: 0;
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.34);
  transform: translateY(16px) scale(0.985);
  transition:
    opacity 280ms ease,
    transform 440ms cubic-bezier(0.18, 0.82, 0.22, 1),
    box-shadow var(--motion-happly);
}

.product-viewer.is-open .product-viewer-panel.gallery-product {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.product-viewer.is-open .product-viewer-panel.gallery-product:hover {
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.34);
  transform: translateY(0) scale(1);
}

.product-viewer-panel.gallery-product::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  content: "";
  background:
    var(--texture-image),
    var(--cream-2);
  background-attachment:
    fixed,
    scroll;
  background-blend-mode:
    multiply,
    normal;
  background-repeat:
    repeat,
    no-repeat;
  background-size:
    var(--texture-size),
    100% 100%;
}

.product-viewer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  min-height: 38px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-weight: 620;
  text-transform: lowercase;
}

.product-viewer-panel.gallery-product > .product-viewer-close {
  position: absolute;
  top: clamp(14px, 1.35vw, 18px);
  right: clamp(14px, 1.35vw, 18px);
  bottom: auto;
  left: auto;
  z-index: 12;
  display: grid;
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  place-items: center;
  border: 1.5px solid rgba(28, 28, 26, 0.88);
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 248, 231, 0.94);
  color: transparent;
  box-shadow:
    0 10px 24px rgba(28, 28, 26, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.42);
  font-size: 0;
  line-height: 1;
  transform: none;
  transition:
    background var(--motion-happly),
    box-shadow var(--motion-happly),
    transform var(--motion-lift);
}

.product-viewer-panel.gallery-product > .product-viewer-close::before {
  position: static;
  z-index: auto;
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  content: "x";
  background: none;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  transform: none;
  transition: none;
}

.product-viewer-panel.gallery-product > .product-viewer-close::after {
  display: none;
}

.product-viewer-panel.gallery-product > .product-viewer-close:hover {
  background: var(--green);
  color: transparent;
  box-shadow:
    0 12px 26px rgba(28, 28, 26, 0.2),
    3px 3px 0 rgba(28, 28, 26, 0.12);
  transform: translateY(-1px);
}

.product-viewer-panel .gallery-product-side {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
}

.product-viewer-panel .gallery-product-copy {
  position: relative;
  min-width: 0;
  min-height: 0;
  align-content: start;
  gap: 14px;
  overflow: auto;
  padding: var(--product-viewer-pad) calc(var(--product-viewer-pad) + 62px) 24px var(--product-viewer-pad);
  scroll-padding-top: var(--product-viewer-pad);
  scrollbar-color: var(--green-deep) rgba(255, 255, 255, 0.58);
  scrollbar-width: thin;
}

.product-viewer-panel .gallery-product-copy::-webkit-scrollbar {
  width: 8px;
}

.product-viewer-panel .gallery-product-copy::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

.product-viewer-panel .gallery-product-copy::-webkit-scrollbar-thumb {
  border: 2px solid var(--cream-2);
  border-radius: 999px;
  background: var(--green-deep);
}

.product-viewer-panel .gallery-product-main {
  width: 100%;
  height: 100%;
  max-height: 100%;
  aspect-ratio: var(--gallery-image-ratio);
  object-fit: contain;
}

.product-viewer-panel .gallery-product-media {
  grid-column: 1;
  grid-row: 1;
  min-height: 0;
  height: 100%;
  grid-template-rows: minmax(0, 1fr) auto minmax(0, auto);
  gap: 12px;
  align-content: stretch;
  justify-items: center;
  overflow: auto;
  border-right: 1px solid rgba(28, 28, 26, 0.16);
  padding: var(--product-viewer-pad);
  scrollbar-width: none;
}

.product-viewer-panel .gallery-product-media::-webkit-scrollbar {
  display: none;
}

.product-viewer-panel .gallery-visual {
  width: auto;
  height: 100%;
  min-height: 0;
  max-width: min(100%, 560px);
  max-height: 100%;
  aspect-ratio: var(--gallery-image-ratio);
  background: white;
}

.product-viewer-panel .gallery-thumbs {
  display: flex;
  flex-wrap: nowrap;
  width: min(100%, 560px);
  max-width: 100%;
  justify-content: center;
  overflow: visible;
  gap: 10px;
  padding: 2px;
  scrollbar-width: none;
}

.product-viewer-panel .gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.product-viewer-panel .gallery-thumbs button {
  flex: 1 1 58px;
  width: 100%;
  max-width: 74px;
  min-width: 0;
}

.product-viewer-panel .gallery-thumbs:has(button:nth-child(n + 7)) button {
  max-width: 68px;
}

.product-viewer-panel .gallery-thumbs:has(button:nth-child(n + 8)) button {
  max-width: 62px;
  min-width: 0;
}

.product-viewer-panel .gallery-part-dot {
  --part-bubble-max-width: 24rem;
  --part-bubble-padding: 1.65rem;
  --part-bubble-radius: 2.153rem;
  --part-dot-size: 36px;
}

.product-viewer-panel .part-dot-title {
  font-size: clamp(1.12rem, 1.45vw, 1.55rem);
}

.product-viewer-panel .part-dot-copy em {
  font-size: clamp(0.78rem, 0.95vw, 0.92rem);
}

.product-viewer-panel .gallery-part-list {
  width: min(100%, 560px);
  max-width: 100%;
  margin-bottom: 4px;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
}

.product-viewer-panel .gallery-part-card {
  min-height: 74px;
  border-radius: 18px;
}

.product-viewer-panel .gallery-product-copy .tag {
  max-width: calc(100% - 104px);
  margin-bottom: 2px;
  line-height: 1.2;
}

.product-viewer-panel .gallery-product-copy h3 {
  max-width: 12ch;
  font-size: clamp(2.2rem, 3.9vw, 4rem);
  line-height: 0.94;
}

.product-viewer-panel .gallery-product-lead {
  display: block;
  overflow: visible;
  max-width: 38rem;
  color: rgba(28, 28, 26, 0.72);
  font-size: 1.02rem;
  line-height: 1.42;
  -webkit-line-clamp: unset;
}

.product-viewer-panel .product-facts {
  max-width: 36rem;
  gap: 6px;
}

.product-viewer-panel .product-facts div {
  min-height: 0;
  padding: 8px 10px;
}

.product-viewer-panel .gallery-config {
  gap: 30px;
  max-width: 36rem;
  margin-top: 0;
}

.product-viewer-panel .gallery-config-group {
  gap: 10px;
}

.product-viewer-panel .gallery-options,
.product-viewer-panel .gallery-swatches {
  gap: 9px;
}

.product-viewer-panel .gallery-swatches {
  padding: 7px;
}

.product-viewer-panel .gallery-option {
  min-height: 36px;
  padding: 0 12px;
  font-size: 0.92rem;
  line-height: 1;
}

.product-viewer-panel .gallery-option span {
  margin-left: 4px;
  font-size: 0.72rem;
}

.product-viewer-panel [data-gallery-group="tamanho"] .gallery-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 440px;
}

.product-viewer-panel [data-gallery-group="tamanho"] .gallery-size-option {
  min-height: 66px;
  align-content: center;
  justify-items: start;
  padding: 10px 12px;
  text-align: left;
}

.product-viewer-panel [data-gallery-group="tamanho"] .gallery-size-option span {
  display: block;
  margin: 4px 0 0;
  font-size: 0.66rem;
}

.product-viewer-panel [data-gallery-group="inscricao"] .gallery-options {
  gap: 10px;
}

.product-viewer-panel [data-gallery-group="inscricao"] .gallery-option {
  min-height: 44px;
  padding: 0 18px;
  font-weight: 650;
}

.product-viewer-panel [data-gallery-group="inscricao"] .gallery-option span {
  margin-left: 8px;
}

.product-viewer-panel .gallery-swatch {
  width: auto;
  min-height: 36px;
  padding: 4px 10px 4px 5px;
  font-size: 0.78rem;
}

.product-viewer-panel .gallery-swatch::before {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
}

.product-viewer-panel .gallery-swatch.is-selected {
  box-shadow:
    inset 0 0 0 1px var(--ink),
    3px 3px 0 rgba(28, 28, 26, 0.08);
}

.product-viewer-panel .gallery-swatch.is-selected::after {
  left: 13px;
  width: 7px;
  height: 7px;
}

.product-viewer-panel .gallery-selected-option {
  min-height: 0;
  font-size: 0.76rem;
}

.product-viewer-panel .gallery-detail-field {
  max-width: 280px;
}

.product-viewer-panel .gallery-detail-field input {
  min-height: 34px;
}

.product-viewer-panel .gallery-buy-row {
  display: none;
}

.product-viewer-panel .gallery-total strong {
  font-size: 1.18rem;
}

.product-viewer-panel .gallery-config-summary {
  display: none;
}

.product-viewer-panel .gallery-config-summary span {
  overflow: visible;
  text-overflow: clip;
}

.product-viewer-panel .gallery-config > .gallery-actions {
  display: none;
}

.product-viewer-fixed-actions {
  grid-row: 2;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-areas:
    "total quantity"
    "cart add";
  grid-template-columns: minmax(220px, 0.9fr) minmax(340px, 1.35fr);
  gap: 16px 18px;
  align-items: stretch;
  border: 0;
  border-top: 1.5px solid var(--ink);
  border-radius: 0 0 20px 0;
  padding: 16px var(--product-viewer-pad) var(--product-viewer-pad);
  background:
    var(--texture-image),
    rgba(255, 255, 255, 0.96);
  background-attachment:
    fixed,
    scroll;
  background-blend-mode:
    multiply,
    normal;
  background-repeat:
    repeat,
    no-repeat;
  background-size:
    var(--texture-size),
    100% 100%;
  box-shadow: none;
}

.product-viewer-fixed-actions::before {
  display: none;
}

.product-viewer-fixed-quantity {
  grid-area: quantity;
  width: min(100%, 178px);
  grid-template-columns: 52px 74px 52px;
  align-self: center;
  justify-self: end;
  border-color: rgba(28, 28, 26, 0.18);
  box-shadow: 0 8px 18px rgba(28, 28, 26, 0.08);
}

.product-viewer-fixed-quantity output {
  min-height: 52px;
  font-size: 1.08rem;
}

.product-viewer-fixed-quantity button {
  font-size: 1.12rem;
}

.product-viewer-fixed-total {
  grid-area: total;
  display: grid;
  min-height: 58px;
  align-content: center;
  gap: 2px;
  border: 1px solid rgba(28, 28, 26, 0.14);
  border-radius: 18px;
  padding: 10px 14px;
  background: rgba(255, 248, 231, 0.72);
}

.product-viewer-fixed-total > span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 560;
  text-transform: lowercase;
}

.product-viewer-fixed-total strong {
  font-size: 1.4rem;
  line-height: 1;
}

.product-viewer-fixed-actions > button {
  display: inline-flex;
  width: 100%;
  min-height: 78px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0 clamp(22px, 2.4vw, 34px);
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-size: clamp(1.05rem, 1.18vw, 1.22rem);
  font-weight: 900;
  white-space: nowrap;
  text-transform: none;
}

.product-viewer-fixed-actions > button > span {
  position: relative;
  z-index: 1;
}

.product-viewer-fixed-actions > button:first-of-type {
  grid-area: add;
  align-self: stretch;
  justify-content: flex-start;
  min-width: 0;
}

.product-viewer-fixed-actions > button:last-child {
  grid-area: cart;
  align-self: stretch;
  min-width: 0;
  border-color: var(--line);
  background: white;
  color: var(--ink);
}

.product-viewer-fixed-actions .gallery-action-icon {
  width: 42px;
  height: 42px;
  font-size: 1rem;
}

.product-viewer-fixed-actions .gallery-action-icon svg {
  width: 20px;
  height: 20px;
}

.product-viewer-fixed-actions .gallery-action-copy {
  gap: 4px;
}

.product-viewer-fixed-actions .gallery-action-main {
  font-size: clamp(1.04rem, 1.16vw, 1.18rem);
  line-height: 1;
}

.product-viewer-fixed-actions .gallery-action-price {
  font-size: 0.84rem;
  letter-spacing: 0.01em;
}

.product-viewer-fixed-actions > button:last-child .gallery-action-icon {
  border: 1px solid var(--line);
}

@keyframes cart-action-confirm {
  0% {
    transform: translateY(0) scale(1);
  }

  42% {
    transform: translateY(-2px) scale(1.025);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes count-bump {
  0%,
  100% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.18);
  }
}

@keyframes number-swap-glow {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }

  32% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

@keyframes number-swap-out-up {
  from {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }

  to {
    transform: translate3d(0, -58%, 0);
    opacity: 0;
  }
}

@keyframes number-swap-in-up {
  from {
    transform: translate3d(0, 58%, 0);
    opacity: 0;
  }

  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes number-swap-out-down {
  from {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }

  to {
    transform: translate3d(0, 44%, 0);
    opacity: 0;
  }
}

@keyframes number-swap-in-down {
  from {
    transform: translate3d(0, -44%, 0);
    opacity: 0;
  }

  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes number-swap-out-soft {
  from {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }

  to {
    transform: translate3d(0, -26%, 0);
    opacity: 0;
  }
}

@keyframes number-swap-in-soft {
  from {
    transform: translate3d(0, 26%, 0);
    opacity: 0;
  }

  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes cart-item-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.product-viewer-fixed-actions > button.is-confirming,
.gallery-actions button.is-confirming {
  --button-bg: var(--green);
  --button-fill: var(--green-deep);
  --button-text: var(--ink);
  --button-hover-text: var(--ink);
  border-color: var(--ink);
  color: var(--ink);
  cursor: wait;
  animation: cart-action-confirm 520ms cubic-bezier(0.18, 0.82, 0.22, 1) both;
}

.product-viewer-fixed-actions > button.is-confirming:disabled,
.gallery-actions button.is-confirming:disabled {
  opacity: 1;
}

[data-gallery-quantity-output].is-bumping,
[data-product-viewer-quantity].is-bumping,
[data-cart-count].is-bumping {
  display: inline-grid;
  place-items: center;
  animation: count-bump 340ms cubic-bezier(0.18, 0.82, 0.22, 1);
  transform-origin: center;
}

.number-swap.is-value-animating::after {
  animation: number-swap-glow 520ms cubic-bezier(0.18, 0.82, 0.22, 1);
}

.number-swap.is-value-animating .number-swap-char {
  animation-duration: 400ms;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.18, 0.82, 0.22, 1);
  animation-delay: var(--digit-delay, 0ms);
}

.number-swap.is-value-animating .number-swap-value.is-previous .number-swap-char:not(.is-char-changing) {
  animation-name: number-swap-out-soft;
}

.number-swap.is-value-animating .number-swap-value.is-next .number-swap-char:not(.is-char-changing) {
  animation-name: number-swap-in-soft;
}

.number-swap.is-value-animating.is-number-up .number-swap-value.is-previous .number-swap-char.is-char-changing {
  animation-name: number-swap-out-up;
}

.number-swap.is-value-animating.is-number-up .number-swap-value.is-next .number-swap-char.is-char-changing {
  animation-name: number-swap-in-up;
}

.number-swap.is-value-animating.is-number-down .number-swap-value.is-previous .number-swap-char.is-char-changing {
  animation-name: number-swap-out-down;
}

.number-swap.is-value-animating.is-number-down .number-swap-value.is-next .number-swap-char.is-char-changing {
  animation-name: number-swap-in-down;
}

.number-swap.is-value-animating.is-number-soft .number-swap-value.is-previous .number-swap-char.is-char-changing {
  animation-name: number-swap-out-soft;
}

.number-swap.is-value-animating.is-number-soft .number-swap-value.is-next .number-swap-char.is-char-changing {
  animation-name: number-swap-in-soft;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: block;
  pointer-events: none;
}

.cart-drawer.is-open {
  pointer-events: auto;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(28, 28, 26, 0.48);
  cursor: pointer;
  opacity: 0;
  transition: opacity 280ms ease;
}

.cart-drawer.is-open .cart-backdrop {
  opacity: 1;
}

.cart-panel {
  --cart-panel-pad: clamp(18px, 3vw, 32px);
  position: absolute;
  isolation: isolate;
  top: 0;
  right: 0;
  width: min(520px, 100vw);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 16px);
  overflow: hidden;
  border-left: 1px solid var(--line);
  padding: var(--cart-panel-pad);
  background: transparent;
  box-shadow: -24px 0 80px rgba(28, 28, 26, 0.28);
  transform: translateX(104%);
  transition:
    transform 420ms cubic-bezier(0.18, 0.82, 0.22, 1),
    box-shadow 420ms ease;
  will-change: transform;
}

.cart-panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    var(--texture-image),
    var(--cream-2);
  background-repeat:
    repeat,
    no-repeat;
  background-size:
    var(--texture-size),
    100% 100%;
  background-blend-mode:
    multiply,
    normal;
}

.cart-drawer.is-open .cart-panel {
  transform: translateX(0);
}

.cart-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.cart-head .section-label {
  margin: 0;
}

.cart-close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-size: 1.65rem;
  font-weight: 620;
  line-height: 1;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.cart-close:focus,
.cart-item-remove:focus,
.cart-shipping button:focus,
.cart-checkout:focus {
  outline: 0;
}

.cart-close:focus-visible,
.cart-item-remove:focus-visible,
.cart-shipping button:focus-visible,
.cart-checkout:focus-visible {
  outline: 3px solid rgba(75, 169, 70, 0.42);
  outline-offset: 3px;
}

.cart-close:hover {
  transform: translateY(-1px);
  background: white;
  color: var(--ink);
}

.cart-close:active {
  transform: translateY(1px) scale(0.96);
}

.cart-panel h2 {
  margin: 0;
  font-size: clamp(3rem, 5.6vw, 4.2rem);
  line-height: 0.84;
  text-wrap: balance;
}

.cart-note {
  max-width: 30rem;
  margin: 0;
  color: var(--muted);
  font-weight: 560;
  line-height: 1.35;
}

.cart-status {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: var(--green);
  color: var(--ink);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.cart-status[data-tone="error"] {
  background: #ffe9e2;
}

.cart-status[data-tone="warning"] {
  background: #fff4cf;
}

.cart-status[data-tone="info"] {
  background: white;
}

.cart-status > span,
.cart-total-row > span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 560;
  text-transform: lowercase;
}

.cart-items {
  display: grid;
  align-content: start;
  flex: 1 1 auto;
  gap: 12px;
  min-height: clamp(64px, 10svh, 110px);
  overflow: auto;
  padding-right: 2px;
}

.cart-empty {
  display: grid;
  gap: 14px;
  margin: 0;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 16px;
  color: var(--muted);
  font-weight: 560;
  line-height: 1.35;
  background: rgba(255, 255, 255, 0.28);
}

.cart-empty strong {
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 680;
}

.cart-empty p {
  margin: 0;
}

.cart-empty div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cart-empty button {
  min-height: 42px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 16px;
  background: var(--ink);
  color: var(--cream);
  cursor: pointer;
  font: inherit;
  font-weight: 680;
}

.cart-empty button + button {
  background: white;
  color: var(--ink);
}

.cart-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: white;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.cart-drawer.is-open .cart-item {
  animation: cart-item-in 420ms cubic-bezier(0.18, 0.82, 0.22, 1) backwards;
}

.cart-drawer.is-open .cart-item:nth-child(2) {
  animation-delay: 45ms;
}

.cart-drawer.is-open .cart-item:nth-child(3) {
  animation-delay: 90ms;
}

.cart-drawer.is-open .cart-item:nth-child(n + 4) {
  animation-delay: 120ms;
}

.cart-item:hover {
  border-color: rgba(28, 28, 26, 0.28);
  box-shadow: 0 12px 32px rgba(28, 28, 26, 0.08);
  transform: translateY(-1px);
}

.cart-item img {
  width: 86px;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.05);
}

.cart-item-body {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.cart-item-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.cart-item strong,
.cart-item b {
  font-weight: 650;
}

.cart-item strong {
  line-height: 1.06;
}

.cart-item p,
.cart-item small {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 520;
  line-height: 1.3;
}

.cart-item-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.cart-item-chips span {
  border: 1px solid rgba(28, 28, 26, 0.12);
  border-radius: 999px;
  padding: 5px 8px;
  background: #f8f8f4;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 580;
  line-height: 1;
}

.cart-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}

.cart-item-head b,
.cart-item-footer .cart-item-quantity {
  flex: 0 0 auto;
}

.cart-item-quantity {
  grid-template-columns: 34px 46px 34px;
}

.cart-item-quantity button {
  min-height: 34px;
}

.cart-item-quantity output {
  min-height: 34px;
}

.cart-item b {
  white-space: nowrap;
}

.cart-item-remove {
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 620;
  text-transform: lowercase;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease;
}

.cart-item-footer .cart-item-remove {
  margin-right: auto;
}

.cart-item-remove:hover {
  border-color: var(--coral);
  background: #fff1ed;
  color: var(--ink);
  transform: translateY(-1px);
}

.cart-checkout-panel {
  display: grid;
  gap: 14px;
  flex: 0 0 auto;
  margin: 4px calc(var(--cart-panel-pad) * -1) calc(var(--cart-panel-pad) * -1);
  border-top: 1px solid var(--ink);
  padding: 16px var(--cart-panel-pad) calc(16px + env(safe-area-inset-bottom));
  background:
    var(--texture-image),
    white;
  background-repeat:
    repeat,
    no-repeat;
  background-size:
    var(--texture-size),
    100% 100%;
  background-blend-mode:
    multiply,
    normal;
  box-shadow: 0 -18px 44px rgba(28, 28, 26, 0.08);
}

.cart-drawer[data-state="empty"] .cart-checkout-panel {
  display: none;
}

.cart-contact {
  display: grid;
  gap: 10px;
}

.cart-contact[hidden],
.cart-shipping[hidden] {
  display: none;
}

.cart-step-label {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--ink);
}

.cart-step-label span {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--green);
  font-size: 0.72rem;
  font-weight: 760;
}

.cart-step-label strong {
  font-size: 0.92rem;
  font-weight: 690;
}

.cart-contact label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 620;
  text-transform: lowercase;
}

.cart-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

.cart-contact input,
.cart-contact textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-weight: 560;
  outline: 0;
  resize: vertical;
}

.cart-contact input:focus,
.cart-contact textarea:focus {
  border-color: rgba(28, 28, 26, 0.72);
  box-shadow: 0 0 0 4px rgba(186, 249, 134, 0.34);
}

.cart-shipping {
  display: grid;
  gap: 10px;
}

.cart-shipping label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 620;
  text-transform: lowercase;
}

.cart-shipping > label > span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: white;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.cart-shipping > label > span:focus-within {
  border-color: rgba(28, 28, 26, 0.72);
  box-shadow: 0 0 0 4px rgba(186, 249, 134, 0.36);
  transform: translateY(-1px);
}

.cart-shipping input {
  width: 100%;
  min-height: 48px;
  border: 0;
  padding: 0 18px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  outline: 0;
}

.cart-shipping input::placeholder {
  color: rgba(93, 91, 85, 0.78);
}

.cart-shipping button {
  border: 0;
  border-left: 1px solid var(--line);
  padding: 0 20px;
  background: var(--green);
  color: var(--ink);
  cursor: pointer;
  font-weight: 650;
  transition:
    transform 160ms ease,
    filter 160ms ease,
    box-shadow 160ms ease;
}

.cart-shipping button:hover {
  box-shadow: inset 0 -3px 0 rgba(28, 28, 26, 0.12);
  filter: saturate(1.06);
}

.cart-shipping button:active {
  transform: translateY(1px) scale(0.98);
}

.cart-shipping-options {
  display: grid;
  gap: 8px;
}

.cart-shipping-message {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #f8f8f4;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 560;
  line-height: 1.3;
}

.cart-shipping-message:empty {
  display: none;
}

.cart-shipping-message[data-tone="error"],
.cart-shipping-message[data-tone="warning"] {
  border-color: rgba(240, 105, 85, 0.35);
  background: #fff1ed;
  color: var(--ink);
}

.cart-shipping-message[data-tone="success"] {
  border-color: rgba(75, 169, 70, 0.35);
  background: #efffdf;
  color: var(--ink);
}

.cart-shipping-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: white;
  color: var(--ink);
  text-transform: none;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.cart-shipping-option:hover {
  border-color: rgba(28, 28, 26, 0.32);
  transform: translateY(-1px);
}

.cart-shipping-option:has(input:checked) {
  border-color: rgba(75, 169, 70, 0.5);
  background: #f5ffeb;
}

.cart-shipping-option input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--green-deep);
}

.cart-shipping-option strong {
  color: var(--ink);
  font-weight: 650;
}

.cart-summary {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 2px;
}

.cart-total-row {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 11px;
}

.cart-summary .cart-total-row {
  border-top: 0;
  padding-top: 0;
}

.cart-total-row-final {
  border-top: 1px solid var(--line) !important;
  padding-top: 12px !important;
}

.cart-checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 20px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 720;
  text-transform: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.cart-checkout:hover:not(:disabled) {
  box-shadow: inset 0 -4px 0 rgba(255, 255, 255, 0.18), 0 12px 28px rgba(28, 28, 26, 0.16);
  transform: translateY(-1px);
}

.cart-checkout:active:not(:disabled) {
  transform: translateY(1px) scale(0.99);
}

.cart-checkout:disabled {
  border-color: #a4a197;
  background: #a4a197;
  opacity: 1;
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  .cart-backdrop,
  .cart-panel,
  .cart-close,
  .cart-item,
  .cart-item-remove,
  .cart-shipping > label > span,
  .cart-shipping button,
  .cart-shipping-option,
  .cart-checkout {
    transition: none;
  }
}

@media (max-height: 900px) {
  .cart-panel {
    --cart-panel-pad: clamp(14px, 2.6vw, 28px);
    gap: 10px;
  }

  .cart-panel h2 {
    font-size: clamp(2.8rem, 5vw, 3.8rem);
    line-height: 0.88;
  }

  .cart-note {
    line-height: 1.26;
  }

  .cart-status {
    padding: 12px 14px;
  }

  .cart-items {
    min-height: clamp(42px, 8svh, 78px);
  }

  .cart-empty {
    padding: 14px 16px;
  }

  .cart-checkout-panel {
    gap: 12px;
    padding-top: 14px;
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
  }

  .cart-shipping {
    gap: 8px;
  }

  .cart-shipping input {
    min-height: 44px;
  }

  .cart-summary {
    gap: 8px;
  }

  .cart-total-row {
    padding-top: 9px;
  }

  .cart-total-row-final {
    padding-top: 10px !important;
  }

  .cart-checkout {
    min-height: 50px;
  }
}

@media (max-height: 760px) {
  .cart-panel {
    gap: 8px;
  }

  .cart-panel h2 {
    font-size: clamp(2.45rem, 4.4vw, 3.2rem);
  }

  .cart-note {
    font-size: 0.94rem;
  }

  .cart-empty {
    padding: 12px 14px;
  }
}

@media (max-width: 720px) {
  .cart-panel {
    --cart-panel-pad: 16px;
    width: 100vw;
    border-left: 0;
  }

  .cart-panel h2 {
    font-size: clamp(2.7rem, 16vw, 4.4rem);
  }

  .cart-contact-grid {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 76px minmax(0, 1fr);
    border-radius: 14px;
  }

  .cart-item img {
    width: 76px;
    border-radius: 10px;
  }

  .cart-item-head {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .cart-item b {
    white-space: normal;
  }

  .cart-checkout {
    min-height: 58px;
    font-size: 1.05rem;
  }
}

.custom-flow {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  overflow: hidden auto;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
  background: rgba(28, 28, 26, 0.62);
}

.custom-flow.is-open {
  display: grid;
}

.modal-shell {
  width: min(1180px, calc(100vw - clamp(28px, 6vw, 68px)));
  max-width: 100%;
  height: min(780px, calc(100svh - clamp(28px, 6vw, 68px)));
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(340px, 0.42fr);
  grid-template-rows: 66px minmax(0, 1fr);
  gap: 0;
  margin: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 231, 0.36);
  border-radius: 30px;
  background: var(--cream-2);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.34);
}

.modal-topbar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 10px 18px;
  background: rgba(255, 248, 231, 0.96);
}

.modal-topbar .brand {
  justify-self: start;
}

.modal-topbar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 560;
  text-align: center;
  text-transform: lowercase;
}

.modal-close {
  min-height: 38px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-weight: 650;
  text-transform: lowercase;
}

.wizard-chat,
.flow-panel {
  min-height: 0;
}

.wizard-chat {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto auto;
  align-content: stretch;
  gap: 12px;
  overflow: hidden;
  border-right: 1px solid rgba(255, 248, 231, 0.22);
  padding: clamp(18px, 2.3vw, 28px);
  background: var(--ink);
  color: var(--cream-2);
  scrollbar-color: var(--green) rgba(255, 248, 231, 0.16);
}

.wizard-chat h2 {
  margin-bottom: 0;
  color: var(--cream-2);
  font-size: clamp(2.15rem, 3vw, 3.35rem);
  line-height: 0.98;
}

.wizard-chat > p:not(.section-label) {
  max-width: 31rem;
  margin: 0;
  color: rgba(255, 248, 231, 0.76);
  font-size: 0.94rem;
  font-weight: 540;
  line-height: 1.35;
}

.wizard-request {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 32px;
  align-items: center;
  border: 1px solid rgba(186, 249, 134, 0.42);
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(186, 249, 134, 0.12);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 620;
  line-height: 1.1;
  text-transform: lowercase;
}

.wizard-request[hidden] {
  display: none;
}

.wizard-chat .section-label {
  color: var(--green);
}

.wizard-chat-log {
  display: flex;
  max-height: none;
  min-height: 220px;
  flex-direction: column;
  gap: 10px;
  overflow: auto;
  padding: 2px;
  scrollbar-color: var(--green) rgba(255, 248, 231, 0.16);
}

.wizard-chat-log:empty {
  max-height: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0;
}

.wizard-chat::-webkit-scrollbar-track,
.wizard-chat-log::-webkit-scrollbar-track {
  background: rgba(255, 248, 231, 0.12);
}

.wizard-chat::-webkit-scrollbar-thumb,
.wizard-chat-log::-webkit-scrollbar-thumb {
  border-color: var(--ink);
}

.wizard-chat .chat-message {
  max-width: 100%;
  border-color: rgba(255, 248, 231, 0.22);
  font-size: 0.94rem;
  font-weight: 560;
  line-height: 1.35;
}

.wizard-chat .chat-message.is-bot {
  background: rgba(255, 248, 231, 0.1);
  color: var(--cream-2);
}

.wizard-chat .chat-message.is-user {
  background: var(--green);
  color: var(--ink);
}

.wizard-chat .chat-message.is-pending {
  opacity: 0.72;
}

.wizard-chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.wizard-chat-form input {
  min-width: 0;
  width: 100%;
  border: 1px solid rgba(255, 248, 231, 0.22);
  border-radius: 999px;
  outline: 0;
  padding: 14px 16px;
  background: rgba(255, 248, 231, 0.12);
  color: var(--cream-2);
  font-weight: 700;
}

.wizard-chat-form input::placeholder {
  color: rgba(255, 248, 231, 0.56);
}

.wizard-chat-form button {
  background: var(--green);
  color: var(--ink);
}

.wizard-chat-form input:focus {
  border-color: var(--green-deep);
  box-shadow: 0 0 0 4px rgba(186, 249, 134, 0.56);
}

.modal-prompts {
  margin-top: 0;
}

.modal-prompts button {
  padding: 8px 11px;
  font-size: 0.82rem;
}

.flow-panel {
  grid-column: 2;
  grid-row: 2;
  align-self: stretch;
  overflow: hidden auto;
  background: var(--cream-2);
}

.steps {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 20px clamp(22px, 3.4vw, 34px) 12px;
  background: linear-gradient(180deg, var(--cream-2) 72%, rgba(255, 248, 231, 0));
}

.flow-panel .steps button {
  min-height: 24px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 0 0 5px;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 560;
}

.flow-panel .steps button:hover,
.flow-panel .steps button.is-active {
  border-bottom-color: var(--green-deep);
  background: transparent;
  color: var(--ink);
}

.quote-preview {
  padding: clamp(20px, 3.6vw, 34px);
  padding-top: 28px;
}

.quote-preview .tag {
  color: var(--coral);
}

.quote-preview ul {
  display: none;
  gap: 10px;
  margin: 20px 0 26px;
  padding-left: 20px;
  color: var(--muted);
  font-weight: 560;
}

.quote-note {
  display: none;
  margin: -8px 0 24px;
  border-left: 4px solid var(--coral);
  padding-left: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 560;
}

.quote-preview a {
  width: 100%;
}

.quote-copy {
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
  padding-bottom: 14px;
}

.quote-copy h3 {
  margin: 4px 0 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1;
}

.shop-suggestions {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.suggestion-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: white;
}

.suggestion-card.is-selected {
  border-color: var(--green-deep);
  box-shadow: 0 0 0 3px rgba(186, 249, 134, 0.55);
}

.suggestion-card img {
  width: 96px;
  aspect-ratio: 1 / 0.74;
  border-radius: 6px;
  object-fit: contain;
  background: var(--cream);
}

.suggestion-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 520;
  line-height: 1.35;
}

.suggestion-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: lowercase;
}

.suggestion-card span {
  display: block;
}

.suggestion-card button {
  min-height: 36px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-weight: 600;
  text-transform: lowercase;
}

.quote-form {
  display: grid;
  gap: 16px;
}

.quote-form.is-hidden {
  display: none;
}

.quote-wizard-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.quote-wizard-steps button,
.quote-wizard-actions button {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 560;
  text-transform: lowercase;
}

.quote-wizard-steps button.is-active {
  border-color: var(--green-deep);
  background: var(--green);
}

.quote-step-panel {
  display: none;
}

.quote-step-panel.is-active {
  display: grid;
  gap: 14px;
}

.quote-wizard-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
}

.quote-wizard-actions button:last-child {
  justify-self: end;
  min-width: 132px;
  background: var(--ink);
  color: white;
}

.quote-wizard-actions button[hidden] {
  display: none;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.field-grid label,
.consent-check {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 560;
  text-transform: lowercase;
}

.select-compact {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 560;
  text-transform: lowercase;
}

.modal-product-map {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 248, 231, 0.72);
}

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

.modal-product-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #f3ead0;
}

.modal-product-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
}

.modal-product-image svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--green-deep);
  stroke-linecap: round;
  stroke-width: 0.7;
}

.modal-product-map h4 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  line-height: 1;
  text-transform: lowercase;
}

.modal-product-map ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.modal-product-map li {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 520;
  line-height: 1.25;
}

.modal-product-map li span {
  color: var(--ink);
  font-weight: 650;
}

.modal-ready-config {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.66);
}

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

.modal-ready-config-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: baseline;
  justify-content: space-between;
}

.modal-ready-config-head p {
  margin: 0;
}

.modal-ready-config-head p:last-child {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 560;
  line-height: 1.3;
  text-transform: lowercase;
}

.modal-ready-config .gallery-config {
  gap: 12px;
}

.modal-ready-config .gallery-config-group {
  gap: 7px;
}

.modal-ready-config .gallery-options,
.modal-ready-config .gallery-swatches {
  gap: 8px;
}

.modal-ready-config .gallery-option {
  min-height: 40px;
}

.modal-ready-config .gallery-swatch {
  width: 34px;
  height: 34px;
}

.modal-ready-config .gallery-config-summary {
  margin-top: 0;
}

.field-wide {
  grid-column: 1 / -1;
}

.config-section {
  display: grid;
  min-width: 0;
  gap: 8px;
  margin: 0;
  border: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 560;
  text-transform: lowercase;
}

.config-section legend {
  padding: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 560;
}

.quantity-stepper {
  display: grid;
  grid-template-columns: 38px minmax(70px, 1fr) 38px;
  min-height: 40px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}

.quantity-config {
  max-width: 340px;
}

.quantity-stepper button {
  border: 0;
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
}

.quantity-stepper input {
  border: 0;
  padding: 0 6px;
  appearance: textfield;
  text-align: center;
}

.quantity-stepper input::-webkit-inner-spin-button,
.quantity-stepper input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.quantity-stepper input:focus {
  box-shadow: none;
}

.quantity-stepper:focus-within,
.size-option:focus-visible,
.color-option:focus-visible {
  border-color: var(--green-deep);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(186, 249, 134, 0.48);
}

.size-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.size-option {
  display: grid;
  min-height: 58px;
  align-content: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  text-align: center;
}

.size-option span {
  font-size: 1.28rem;
  font-weight: 650;
  line-height: 1;
}

.size-option em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
}

.size-option.is-selected,
.color-option.is-selected {
  border-color: var(--green-deep);
  background: rgba(186, 249, 134, 0.3);
}

.inline-field {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 560;
  text-transform: lowercase;
}

.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.color-option {
  display: inline-flex;
  width: 32px;
  height: 32px;
  min-height: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  padding: 0;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-size: 0;
  font-weight: 560;
  text-transform: lowercase;
}

.color-option span {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border: 1px solid rgba(28, 28, 26, 0.24);
  border-radius: 50%;
  background: var(--swatch);
}

.color-summary {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 560;
  line-height: 1.25;
  text-transform: lowercase;
}

.optional-note {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.optional-note summary {
  width: fit-content;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 560;
  text-transform: lowercase;
}

.optional-note label {
  margin-top: 10px;
}

.field-grid input,
.field-grid select,
.field-grid textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: 0;
  padding: 9px 11px;
  background: white;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: none;
}

.select-compact select {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: 0;
  padding: 9px 11px;
  background: white;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
}

.field-grid textarea {
  min-height: 82px;
  resize: vertical;
  line-height: 1.4;
}

.field-grid input:focus,
.field-grid select:focus,
.field-grid textarea:focus,
.select-compact select:focus {
  border-color: var(--green-deep);
  box-shadow: 0 0 0 4px rgba(186, 249, 134, 0.48);
}

.field-grid .quantity-stepper input,
.field-grid .quantity-stepper input:focus {
  border: 0;
  border-radius: 0;
  padding: 0 6px;
  box-shadow: none;
}

.file-field input {
  border-style: dashed;
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-upload-ui {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 9px;
  background: white;
  cursor: pointer;
}

.file-upload-ui b {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border-radius: 999px;
  padding: 0 11px;
  background: var(--ink);
  color: white;
  font-size: 0.86rem;
  font-weight: 560;
}

.file-upload-ui em {
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
  text-transform: none;
}

.file-field > span:last-child {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 520;
}

.consent-check {
  grid-template-columns: auto 1fr;
  align-items: start;
  color: var(--ink);
  line-height: 1.35;
}

.consent-check input {
  margin-top: 2px;
}

.bot-field {
  display: none;
}

.form-message {
  min-height: 1.3em;
  margin: 0;
  color: var(--green-deep);
  font-size: 0.9rem;
  font-weight: 560;
}

.quote-submit {
  width: 100%;
}

.flow-panel.is-guided {
  box-shadow: 0 0 0 5px rgba(186, 249, 134, 0.44), var(--shadow);
}

.editorial-band {
  padding: clamp(58px, 8vw, 116px) clamp(18px, 5vw, 74px);
  background: var(--coral);
  color: var(--cream-2);
}

.editorial-band p {
  max-width: 1180px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 8vw, 8.5rem);
  font-weight: 800;
  line-height: 0.82;
  text-transform: lowercase;
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.ops-grid article {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  background: var(--cream-2);
  box-shadow: 0 14px 34px rgba(28, 28, 26, 0.08);
}

.ops-grid article:nth-child(2) {
  background: var(--lavender);
}

.ops-grid article:nth-child(3) {
  background: var(--yellow);
}

.ops-grid article:nth-child(4) {
  background: var(--green);
}

.blog-section {
  background:
    var(--grain),
    var(--yellow);
  background-size:
    var(--grain-size),
    100% 100%;
}

.studio-breather {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(430px, 0.82fr);
  gap: clamp(2rem, 4vw, 5rem);
  min-height: clamp(560px, 52vw, 760px);
  align-items: center;
  overflow: hidden;
  border-top: var(--happly-border);
  border-bottom: var(--happly-border);
  padding: clamp(3.4rem, 7vw, 7rem) clamp(18px, 5vw, 74px);
  background:
    radial-gradient(circle at 86% 18%, rgba(183, 255, 74, 0.3), transparent 22rem),
    radial-gradient(circle at 10% 85%, rgba(255, 210, 59, 0.22), transparent 20rem),
    var(--ink);
  color: var(--cream-2);
  isolation: isolate;
}

.studio-breather::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("logo-outline-21zero5.png");
  background-repeat: no-repeat;
  background-position: 112% 52%;
  background-size: min(780px, 58vw) auto;
  content: "";
  filter: invert(1);
  opacity: 0.055;
}

.studio-breather__copy {
  position: relative;
  z-index: 3;
  width: min(680px, 100%);
  max-width: 100%;
}

.studio-breather .section-label {
  color: var(--green);
}

.studio-breather h2 {
  max-width: 100%;
  margin: 0;
  color: var(--cream-2);
  font-family: var(--font-display);
  font-size: clamp(4.8rem, 8.8vw, 10rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.82;
  text-transform: lowercase;
  text-wrap: balance;
}

.studio-breather__rail {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.studio-breather__rail figure {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 3px solid rgba(255, 248, 231, 0.78);
  border-radius: clamp(18px, 1.8vw, 28px);
  background: var(--cream-2);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(28, 28, 26, 0.26),
    inset 0 0 0 1px rgba(28, 28, 26, 0.14);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.studio-breather__rail figure::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(28, 28, 26, 0.2);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.studio-breather__rail figure:nth-child(1) {
  right: 9%;
  bottom: -5%;
  width: clamp(200px, 21vw, 360px);
  transform: rotate(-6deg);
}

.studio-breather__rail figure:nth-child(2) {
  top: 11%;
  right: 28%;
  width: clamp(180px, 18vw, 310px);
  transform: rotate(8deg);
}

.studio-breather__rail figure:nth-child(3) {
  top: -12%;
  right: -2%;
  width: clamp(170px, 16vw, 280px);
  transform: rotate(-10deg);
}

.studio-breather__rail figure:nth-child(4) {
  right: 39%;
  bottom: -18%;
  width: clamp(150px, 15vw, 250px);
  transform: rotate(12deg);
}

.studio-breather__rail img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.studio-breather__cases {
  position: relative;
  z-index: 4;
  display: grid;
  width: min(760px, 100%);
  min-height: 0;
  gap: 10px;
  justify-self: end;
  align-self: end;
  color: var(--cream-2);
}

.studio-breather__cases-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0;
}

.studio-breather__cases-head p,
.studio-breather__cases-head a {
  margin: 0;
  color: var(--green);
  font-size: clamp(0.76rem, 1vw, 0.92rem);
  font-weight: var(--weight-ui);
  letter-spacing: -0.03em;
  text-decoration: none;
  text-transform: lowercase;
}

.studio-breather__cases-head span {
  color: rgba(255, 248, 231, 0.72);
}

.studio-breather__cases-head a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(28, 28, 26, 0.88);
  border-radius: 999px;
  padding: 0.62rem 1rem;
  background: rgba(183, 255, 74, 0.78);
  color: var(--ink);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.26),
    inset 0 0 0 1px rgba(255, 248, 231, 0.42);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.studio-breather__cases-head a:hover,
.studio-breather__cases-head a:focus-visible {
  background: rgba(255, 248, 231, 0.86);
  color: var(--ink);
  outline: 0;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(28, 28, 26, 0.16);
  transform: translateY(-1px);
}

.studio-case-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-height: 0;
}

.studio-case-card {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 84px;
  min-width: 0;
  border: 1px solid rgba(255, 248, 231, 0.32);
  border-radius: 20px;
  padding: 8px;
  background: rgba(255, 248, 231, 0.08);
  color: inherit;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  text-align: left;
  backdrop-filter: blur(14px);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.studio-case-card:hover,
.studio-case-card.is-active {
  border-color: rgba(183, 255, 74, 0.88);
  background: rgba(183, 255, 74, 0.14);
  transform: translateY(-2px);
}

.studio-case-card img {
  display: block;
  width: 68px;
  height: 68px;
  border: 2px solid rgba(255, 248, 231, 0.76);
  border-radius: 15px;
  object-fit: cover;
}

.studio-case-card span,
.studio-case-card h3 {
  display: block;
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
}

.studio-case-card span {
  color: var(--green);
  font-size: 0.68rem;
  font-weight: var(--weight-ui);
  line-height: 1;
  text-transform: lowercase;
  white-space: nowrap;
}

.studio-case-card h3 {
  margin-top: 4px;
  color: var(--cream-2);
  font-size: clamp(0.9rem, 1.15vw, 1.08rem);
  font-weight: var(--weight-strong);
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.studio-case-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 0;
}

.studio-case-controls button {
  min-height: 40px;
  border: 1px solid rgba(28, 28, 26, 0.82);
  border-radius: 999px;
  padding: 0.56rem 0.9rem;
  background: rgba(255, 248, 231, 0.74);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: var(--weight-ui);
  backdrop-filter: blur(14px) saturate(1.18);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  text-transform: lowercase;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.studio-case-controls button:not(:disabled):hover,
.studio-case-controls button:not(:disabled):focus-visible {
  border-color: var(--ink);
  background: rgba(183, 255, 74, 0.86);
  color: var(--ink);
  outline: 0;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  transform: translateY(-1px);
}

.studio-case-controls button:disabled {
  border-color: rgba(255, 248, 231, 0.28);
  background: rgba(28, 28, 26, 0.62);
  color: rgba(255, 248, 231, 0.62);
  cursor: default;
  box-shadow: none;
}

.studio-case-detail {
  display: grid;
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  left: 0;
  z-index: 2;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
  gap: 14px;
  margin: 0;
  border: 1px solid rgba(183, 255, 74, 0.72);
  border-radius: 24px;
  padding: 10px;
  background: rgba(28, 28, 26, 0.8);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

.studio-case-detail[hidden] {
  display: none;
}

.studio-case-detail > img {
  display: block;
  width: 100%;
  min-height: 150px;
  border: 2px solid rgba(255, 248, 231, 0.76);
  border-radius: 18px;
  object-fit: cover;
}

.studio-case-detail div {
  align-self: center;
  padding-right: 2.1rem;
}

.studio-case-detail span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: var(--weight-ui);
  text-transform: lowercase;
}

.studio-case-detail h3,
.studio-case-detail p {
  margin: 0;
}

.studio-case-detail h3 {
  margin-top: 0.4rem;
  color: var(--cream-2);
  font-size: clamp(1.7rem, 3vw, 3rem);
  font-weight: 850;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.studio-case-detail p {
  max-width: 44ch;
  margin-top: 0.8rem;
  color: rgba(255, 248, 231, 0.76);
  font-size: clamp(0.9rem, 1.15vw, 1.04rem);
  font-weight: var(--weight-copy);
  line-height: 1.16;
}

.studio-case-detail a {
  display: inline-flex;
  margin-top: 1rem;
  border-radius: 999px;
  padding: 0.68rem 0.9rem;
  background: var(--green);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: var(--weight-strong);
  text-decoration: none;
  text-transform: lowercase;
}

.studio-case-detail__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 248, 231, 0.35);
  border-radius: 50%;
  background: rgba(255, 248, 231, 0.1);
  color: var(--cream-2);
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 1180px) {
  .studio-breather {
    grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.9fr);
  }

  .studio-breather__copy {
    width: min(560px, 100%);
  }

  .studio-breather h2 {
    font-size: clamp(4.2rem, 8.8vw, 7.4rem);
  }

  .studio-case-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .studio-breather {
    grid-template-columns: 1fr;
    min-height: auto;
    align-items: start;
    gap: clamp(2rem, 8vw, 4rem);
    padding-top: clamp(4.4rem, 9vw, 6rem);
    padding-bottom: clamp(2.5rem, 7vw, 4rem);
  }

  .studio-breather__copy {
    width: min(620px, 100%);
  }

  .studio-breather__cases {
    width: 100%;
    justify-self: stretch;
    align-self: start;
  }

  .studio-case-detail {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    order: 2;
  }

  .studio-case-detail > img {
    height: clamp(210px, 42vw, 320px);
    min-height: 0;
  }

  .studio-case-track {
    order: 3;
  }

  .studio-case-controls {
    order: 4;
  }
}

@media (max-width: 767px) {
  .studio-breather {
    gap: 2rem;
    padding-top: 4.6rem;
    padding-bottom: 2.4rem;
  }

  .studio-breather__copy {
    width: 100%;
    max-width: 100%;
  }

  .studio-breather h2 {
    max-width: 100%;
    font-size: clamp(4.2rem, 18vw, 7rem);
  }

  .studio-breather__rail figure:nth-child(1) {
    right: -12%;
    bottom: 5%;
    width: min(62vw, 280px);
  }

  .studio-breather__rail figure:nth-child(2) {
    top: 48%;
    right: 34%;
    width: min(46vw, 210px);
  }

  .studio-breather__rail figure:nth-child(3) {
    top: auto;
    right: 8%;
    bottom: -12%;
    width: min(42vw, 190px);
  }

  .studio-breather__rail figure:nth-child(4) {
    display: none;
  }

  .studio-breather__cases {
    width: 100%;
    min-height: 0;
  }

  .studio-case-track {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .studio-case-detail {
    grid-template-columns: 1fr;
  }

  .studio-case-detail div {
    padding-right: 0;
  }
}

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

.blog-card {
  display: grid;
  overflow: hidden;
  border: 2px solid var(--hard-line);
  border-radius: 8px;
  background:
    var(--grain),
    var(--cream);
  background-size:
    var(--grain-size),
    100% 100%;
  box-shadow: var(--press-shadow), 0 14px 34px rgba(28, 28, 26, 0.08);
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.blog-card:hover {
  box-shadow: 11px 11px 0 rgba(28, 28, 26, 0.16), 0 14px 34px rgba(28, 28, 26, 0.08);
  transform: translate(-2px, -2px);
}

.blog-card:nth-child(2) {
  background-color: var(--blue);
}

.blog-card:nth-child(3) {
  background-color: var(--pink);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-bottom: 2px solid var(--hard-line);
  object-fit: cover;
  background: var(--cream);
  filter: saturate(1.05) contrast(1.02);
}

.blog-card > div {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
}

.blog-card .tag,
.blog-card h3,
.blog-card p {
  margin: 0;
}

.blog-card h3 {
  min-height: 96px;
  font-size: clamp(1.42rem, 2vw, 2rem);
  line-height: 0.96;
}

.blog-card p {
  color: rgba(28, 28, 26, 0.72);
  font-weight: var(--weight-copy);
  line-height: 1.4;
}

.blog-card a {
  width: fit-content;
  min-height: 40px;
  margin-top: 4px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
}

.faq {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(280px, 0.72fr) minmax(360px, 1fr);
  gap: clamp(2rem, 6vw, 6.5rem);
  align-items: start;
  background:
    radial-gradient(circle at 90% 18%, rgba(183, 255, 74, 0.28), transparent 20rem),
    var(--grain),
    var(--cream-2);
  background-size:
    100% 100%,
    var(--grain-size),
    100% 100%;
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-height) + 2.5rem);
}

.faq-intro h2 {
  max-width: 9ch;
  margin-bottom: clamp(1.2rem, 2vw, 2rem);
}

.faq-intro > p:not(.section-label) {
  max-width: 36rem;
  color: rgba(28, 28, 26, 0.72);
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  font-weight: var(--weight-copy);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.faq-intro a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  border: var(--happly-border);
  border-radius: 999px;
  margin-top: clamp(1.2rem, 2vw, 2rem);
  padding: 0 1.35rem;
  background: var(--ink);
  color: var(--cream-2);
  font-size: 0.95rem;
  font-weight: var(--weight-ui);
  text-decoration: none;
  text-transform: lowercase;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq details {
  overflow: hidden;
  border: var(--happly-border);
  border-radius: clamp(18px, 1.8vw, 28px);
  padding: clamp(1.1rem, 1.8vw, 1.7rem);
  background:
    var(--grain),
    rgba(255, 248, 231, 0.74);
  background-size:
    var(--grain-size),
    100% 100%;
  box-shadow: 0 16px 36px rgba(28, 28, 26, 0.07);
}

.faq details[open] {
  background:
    var(--grain),
    var(--yellow);
  background-size:
    var(--grain-size),
    100% 100%;
}

.faq summary {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  cursor: pointer;
  font-size: clamp(1.1rem, 1.45vw, 1.45rem);
  font-weight: var(--weight-strong);
  letter-spacing: -0.04em;
  line-height: 0.98;
  list-style: none;
  text-transform: lowercase;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  flex: 0 0 auto;
  color: var(--green-deep);
  content: "+";
  font-size: 1.25em;
  line-height: 0.78;
}

.faq details[open] summary::before {
  content: "−";
}

.faq details p {
  max-width: 58ch;
  margin: 1rem 0 0;
  color: rgba(28, 28, 26, 0.76);
  font-size: clamp(0.98rem, 1.05vw, 1.1rem);
  font-weight: var(--weight-copy);
  letter-spacing: -0.025em;
  line-height: 1.22;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(340px, 1fr) minmax(220px, auto);
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
  border-top: 0;
  background:
    var(--grain),
    radial-gradient(circle at 12% 10%, rgba(169, 255, 54, 0.2), transparent 32%),
    linear-gradient(135deg, #11120f 0%, #171812 58%, #050604 100%);
  background-size:
    var(--grain-size),
    100% 100%,
    100% 100%;
  color: var(--cream);
  padding-block: clamp(52px, 7vw, 86px);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 12px solid var(--green);
  opacity: 0.92;
  pointer-events: none;
}

.footer-brand {
  justify-self: start;
  margin-bottom: clamp(18px, 2vw, 28px);
}

.footer-brand img {
  height: clamp(46px, 5vw, 74px);
  filter: invert(1);
  opacity: 0.98;
}

.site-footer p {
  max-width: 480px;
  margin-bottom: 0;
  color: rgba(255, 248, 232, 0.78);
  font-size: clamp(1.25rem, 2.1vw, 2rem);
  font-weight: var(--weight-ui);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.footer-contact {
  display: grid;
  gap: 10px;
  margin-top: clamp(22px, 3vw, 34px);
}

.footer-contact a,
.site-footer nav a {
  width: fit-content;
  border-color: rgba(255, 248, 232, 0.3);
  background: rgba(255, 248, 232, 0.08);
  color: var(--cream);
}

.footer-partners {
  max-width: 620px;
}

.footer-partners .section-label {
  margin-bottom: 8px;
  color: var(--green);
}

.footer-partners p:not(.section-label) {
  max-width: 560px;
  color: rgba(255, 248, 232, 0.72);
  font-size: clamp(1.05rem, 1.35vw, 1.45rem);
  line-height: 1.18;
}

.partner-card {
  display: grid;
  gap: 12px;
  width: min(100%, 420px);
  margin-top: clamp(20px, 2.4vw, 30px);
  border: 1px solid rgba(255, 248, 232, 0.22);
  border-radius: 26px;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(255, 248, 232, 0.1), rgba(255, 248, 232, 0.025)),
    rgba(255, 248, 232, 0.04);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.partner-card img {
  width: min(220px, 72%);
  height: auto;
}

.partner-card span {
  color: rgba(255, 248, 232, 0.68);
  font-size: 0.94rem;
  font-weight: 650;
}

.partner-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.partner-pills span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(255, 248, 232, 0.2);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 248, 232, 0.08);
  color: rgba(255, 248, 232, 0.86);
  font-size: 0.84rem;
  font-weight: var(--weight-ui);
  text-transform: lowercase;
}

.site-footer nav {
  justify-content: flex-end;
  align-content: start;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.site-footer a:hover {
  border-color: var(--green);
  background: var(--green);
  color: var(--ink);
}

.gallery-mega-menu,
.print-prompt,
.modal-shell,
.product-viewer-panel.gallery-product {
  border-radius: var(--radius-panel);
}

.gallery-mega-menu {
  border-radius: 0 0 var(--radius-panel) var(--radius-panel);
}

.product-viewer-fixed-actions {
  border-radius: 0 0 var(--radius-panel) 0;
}

.site-header,
.gallery-mega-menu,
.hero,
.hero::after,
.hero-float-card,
.chat-showcase,
.chat-panel,
.collection-card,
.gallery-feature-card,
.product-card,
.gallery-visual,
.gallery-product-main,
.gallery-thumbs button,
.gallery-part-card,
.gallery-option-image,
.product-viewer-panel.gallery-product::before,
.product-viewer-fixed-actions::before,
.cart-panel::before,
.modal-shell,
.print-prompt,
.suggestion-card,
.ops-grid article,
.blog-card,
.site-footer {
  background-attachment: var(--texture-attachment);
  background-blend-mode: var(--texture-blend);
  background-repeat: var(--texture-repeat);
  background-size: var(--texture-sizes);
}

.project-stack,
.stack-stage,
.stack-rail,
.stack-slide {
  background-attachment: scroll;
  background-blend-mode: multiply;
  background-repeat: repeat;
  background-size: var(--texture-size);
}

.site-header,
.gallery-mega-menu,
.product-viewer-panel.gallery-product::before,
.product-viewer-fixed-actions,
.cart-panel::before {
  background-attachment: var(--texture-fixed-attachment);
}

.mega-path,
.mega-category-block,
.chat-showcase,
.chat-panel,
.chat-message,
.chat-option-card,
.collection-card,
.gallery-feature-card,
.product-card,
.gallery-visual,
.gallery-product-main,
.gallery-thumbs button,
.gallery-part-card,
.product-facts div,
.part-pin,
.modal-product-map,
.modal-ready-config,
.quantity-stepper,
.size-option,
.suggestion-card,
.ops-grid article,
.blog-card,
.cart-item,
.cart-suggestion,
.cart-coupon,
.admin-payment-card {
  border-radius: var(--radius-card);
}

.collection-card img,
.chat-option-card img,
.gallery-option-image,
.suggestion-card img,
.modal-product-image,
.modal-product-image img {
  border-radius: var(--radius-media);
}

.gallery-shelf,
.gallery-catalog {
  gap: clamp(22px, 3vw, 34px);
}

.gallery-feature-strip,
.product-grid,
.mood-grid,
.ops-grid,
.blog-grid {
  gap: clamp(16px, 2vw, 24px);
}

.section-heading {
  gap: clamp(22px, 3vw, 34px);
  margin-bottom: clamp(34px, 4vw, 48px);
}

.gallery-filter-tabs,
.gallery-options,
.gallery-swatches,
.quick-prompts,
.hero-pills,
.slide-actions,
.gallery-actions,
.partner-pills {
  gap: clamp(9px, 1.2vw, 12px);
}

.product-card .tag,
.product-card h3,
.product-card .price,
.product-card .price-note {
  padding: 0 clamp(16px, 1.8vw, 20px);
}

.product-card .tag {
  margin-top: clamp(16px, 2vw, 20px);
}

.product-card a {
  width: calc(100% - clamp(32px, 3.6vw, 40px));
  margin: 0 clamp(16px, 1.8vw, 20px) clamp(16px, 1.8vw, 20px);
}

.gallery-feature-card > div {
  gap: 12px;
  padding: clamp(16px, 2vw, 20px);
}

.ops-grid article {
  padding: clamp(22px, 2.4vw, 28px);
}

.hero-pills a,
.prompt-row button,
.wizard-chat-form button,
.quote-submit,
.quote-preview a,
.product-card a,
.section-heading a,
.blog-card a,
.gallery-feature-card a,
.slide-actions a,
.gallery-actions button,
.gallery-actions a,
.gallery-filter-tabs button,
.gallery-pagination button,
.quick-prompts button,
.steps button,
.mega-menu-all,
.mega-category-list a,
.chat-option-card button,
.modal-close,
.suggestion-card button,
.quote-wizard-steps button,
.quote-wizard-actions button,
.product-viewer-close,
.product-viewer-fixed-actions > button,
.cart-link,
.cart-head button,
.cart-shipping button,
.cart-summary-row button,
.file-upload-ui b {
  --button-bg: var(--ink);
  --button-fill: var(--coral);
  --button-text: var(--cream-2);
  --button-hover-text: var(--cream-2);
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: var(--button-pill-height);
  border-color: transparent;
  border-radius: 8rem;
  padding-inline: var(--button-pill-pad-x);
  background: var(--button-bg);
  background-clip: padding-box;
  color: var(--button-text);
  box-shadow: none;
  font-family: var(--font-body);
  font-size: var(--button-pill-font-size);
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1;
  isolation: isolate;
  text-transform: lowercase;
  white-space: nowrap;
  transition:
    background var(--motion-happly),
    border-color var(--motion-happly),
    color var(--motion-happly),
    opacity var(--motion-happly);
}

.hero-pills a:last-child,
.product-card a,
.section-heading a,
.slide-actions a:last-child,
.gallery-actions a,
.gallery-actions .gallery-secondary-action,
.quote-wizard-steps button,
.quick-prompts button,
.steps button,
.mega-category-list a,
.product-viewer-fixed-actions > button:last-child,
.cart-shipping button,
.file-upload-ui b {
  --button-bg: white;
  --button-fill: var(--coral);
  --button-text: var(--ink);
  --button-hover-text: white;
  border-color: transparent;
  background: var(--button-bg);
  color: var(--button-text);
}

.chat-prompt .quick-prompts button:nth-child(1) {
  --button-bg: var(--blue);
  --button-text: var(--ink);
  --button-hover-text: var(--cream-2);
}

.chat-prompt .quick-prompts button:nth-child(2) {
  --button-bg: var(--pink);
  --button-text: var(--ink);
  --button-hover-text: var(--cream-2);
}

.chat-prompt .quick-prompts button:nth-child(3) {
  --button-bg: var(--green);
  --button-text: var(--ink);
  --button-hover-text: var(--cream-2);
}

.chat-prompt .quick-prompts button:nth-child(4),
.steps button.is-active,
.gallery-filter-tabs button.is-active,
.gallery-pagination button.is-active,
.quote-wizard-steps button.is-active {
  --button-bg: var(--yellow);
  --button-text: var(--ink);
  --button-hover-text: var(--cream-2);
}

.chat-prompt .prompt-row button {
  border-color: transparent;
  background: var(--button-bg);
  color: var(--button-text);
}

.chat-prompt .prompt-row button:hover {
  border-color: transparent;
  background: var(--button-bg);
  color: var(--button-hover-text);
  box-shadow: none;
  transform: none;
}

.chat-prompt .quick-prompts button:hover {
  box-shadow: none;
  transform: none;
}

.gallery-filter-tabs button,
.gallery-pagination button {
  min-height: 38px;
  padding-inline: 14px;
}

.product-card a {
  min-height: 44px;
}

.product-viewer-fixed-actions > button {
  min-height: 68px;
  padding-inline: 26px;
}

.cart-link {
  min-height: 36px;
  padding-inline: 12px;
  font-size: 0.92rem;
}

body.header-scrolled .cart-link {
  min-height: 32px;
  padding-inline: 10px;
  font-size: 0.84rem;
}

.hero-pills a::before,
.prompt-row button::before,
.wizard-chat-form button::before,
.quote-submit::before,
.quote-preview a::before,
.product-card a::before,
.section-heading a::before,
.blog-card a::before,
.gallery-feature-card a::before,
.slide-actions a::before,
.gallery-actions button::before,
.gallery-actions a::before,
.gallery-filter-tabs button::before,
.gallery-pagination button::before,
.quick-prompts button::before,
.steps button::before,
.mega-menu-all::before,
.mega-category-list a::before,
.chat-option-card button::before,
.modal-close::before,
.suggestion-card button::before,
.quote-wizard-steps button::before,
.quote-wizard-actions button::before,
.product-viewer-close::before,
.product-viewer-fixed-actions > button::before,
.cart-link::before,
.cart-head button::before,
.cart-shipping button::before,
.cart-summary-row button::before,
.file-upload-ui b::before,
.hero-pills a::after,
.prompt-row button::after,
.wizard-chat-form button::after,
.quote-submit::after,
.quote-preview a::after,
.product-card a::after,
.section-heading a::after,
.blog-card a::after,
.gallery-feature-card a::after,
.slide-actions a::after,
.gallery-actions button::after,
.gallery-actions a::after,
.gallery-filter-tabs button::after,
.gallery-pagination button::after,
.quick-prompts button::after,
.steps button::after,
.mega-menu-all::after,
.mega-category-list a::after,
.chat-option-card button::after,
.modal-close::after,
.suggestion-card button::after,
.quote-wizard-steps button::after,
.quote-wizard-actions button::after,
.product-viewer-close::after,
.product-viewer-fixed-actions > button::after,
.cart-link::after,
.cart-head button::after,
.cart-shipping button::after,
.cart-summary-row button::after,
.file-upload-ui b::after {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: 120%;
  height: 100%;
  content: "";
  transform: translateX(-50%);
  transition: 450ms cubic-bezier(0.645, 0.045, 0.355, 1);
}

.hero-pills a::before,
.prompt-row button::before,
.wizard-chat-form button::before,
.quote-submit::before,
.quote-preview a::before,
.product-card a::before,
.section-heading a::before,
.blog-card a::before,
.gallery-feature-card a::before,
.slide-actions a::before,
.gallery-actions button::before,
.gallery-actions a::before,
.gallery-filter-tabs button::before,
.gallery-pagination button::before,
.quick-prompts button::before,
.steps button::before,
.mega-menu-all::before,
.mega-category-list a::before,
.chat-option-card button::before,
.modal-close::before,
.suggestion-card button::before,
.quote-wizard-steps button::before,
.quote-wizard-actions button::before,
.product-viewer-close::before,
.product-viewer-fixed-actions > button::before,
.cart-link::before,
.cart-head button::before,
.cart-shipping button::before,
.cart-summary-row button::before,
.file-upload-ui b::before {
  z-index: -2;
  background: var(--button-bg);
}

.hero-pills a::after,
.prompt-row button::after,
.wizard-chat-form button::after,
.quote-submit::after,
.quote-preview a::after,
.product-card a::after,
.section-heading a::after,
.blog-card a::after,
.gallery-feature-card a::after,
.slide-actions a::after,
.gallery-actions button::after,
.gallery-actions a::after,
.gallery-filter-tabs button::after,
.gallery-pagination button::after,
.quick-prompts button::after,
.steps button::after,
.mega-menu-all::after,
.mega-category-list a::after,
.chat-option-card button::after,
.modal-close::after,
.suggestion-card button::after,
.quote-wizard-steps button::after,
.quote-wizard-actions button::after,
.product-viewer-close::after,
.product-viewer-fixed-actions > button::after,
.cart-link::after,
.cart-head button::after,
.cart-shipping button::after,
.cart-summary-row button::after,
.file-upload-ui b::after {
  z-index: -1;
  height: 140%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--button-fill);
  transform: translateX(-50%) translateY(100%);
}

.hero-pills a:hover,
.prompt-row button:hover,
.wizard-chat-form button:hover,
.quote-submit:hover,
.quote-preview a:hover,
.product-card a:hover,
.section-heading a:hover,
.blog-card a:hover,
.gallery-feature-card a:hover,
.slide-actions a:hover,
.gallery-actions button:hover,
.gallery-actions a:hover,
.gallery-filter-tabs button:hover,
.gallery-pagination button:hover,
.quick-prompts button:hover,
.steps button:hover,
.mega-menu-all:hover,
.mega-category-list a:hover,
.chat-option-card button:hover,
.modal-close:hover,
.suggestion-card button:hover,
.quote-wizard-steps button:hover,
.quote-wizard-actions button:hover,
.product-viewer-close:hover,
.product-viewer-fixed-actions > button:hover,
.cart-link:hover,
.cart-head button:hover,
.cart-shipping button:hover,
.cart-summary-row button:hover,
.file-upload-ui b:hover {
  color: var(--button-hover-text);
}

.hero-pills a:hover::after,
.prompt-row button:hover::after,
.wizard-chat-form button:hover::after,
.quote-submit:hover::after,
.quote-preview a:hover::after,
.product-card a:hover::after,
.section-heading a:hover::after,
.blog-card a:hover::after,
.gallery-feature-card a:hover::after,
.slide-actions a:hover::after,
.gallery-actions button:hover::after,
.gallery-actions a:hover::after,
.gallery-filter-tabs button:hover::after,
.gallery-pagination button:hover::after,
.quick-prompts button:hover::after,
.steps button:hover::after,
.mega-menu-all:hover::after,
.mega-category-list a:hover::after,
.chat-option-card button:hover::after,
.modal-close:hover::after,
.suggestion-card button:hover::after,
.quote-wizard-steps button:hover::after,
.quote-wizard-actions button:hover::after,
.product-viewer-close:hover::after,
.product-viewer-fixed-actions > button:hover::after,
.cart-link:hover::after,
.cart-head button:hover::after,
.cart-shipping button:hover::after,
.cart-summary-row button:hover::after,
.file-upload-ui b:hover::after {
  border-radius: 4rem;
  transform: translateX(-50%) translateY(-10%);
}

.hero-pills a:active,
.prompt-row button:active,
.wizard-chat-form button:active,
.quote-submit:active,
.quote-preview a:active,
.product-card a:active,
.section-heading a:active,
.blog-card a:active,
.gallery-feature-card a:active,
.slide-actions a:active,
.gallery-actions button:active,
.gallery-actions a:active,
.gallery-filter-tabs button:active,
.gallery-pagination button:active,
.quick-prompts button:active,
.steps button:active,
.mega-menu-all:active,
.mega-category-list a:active,
.chat-option-card button:active,
.modal-close:active,
.suggestion-card button:active,
.quote-wizard-steps button:active,
.quote-wizard-actions button:active,
.product-viewer-close:active,
.product-viewer-fixed-actions > button:active,
.cart-link:active,
.cart-head button:active,
.cart-shipping button:active,
.cart-summary-row button:active,
.file-upload-ui b:active {
  opacity: 0.84;
}

.product-viewer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
}

.product-viewer-fixed-actions > button:last-child {
  border-color: var(--line);
  background: var(--button-bg);
  color: var(--button-text);
}

.modal-close,
.product-viewer-panel.gallery-product > .product-viewer-close,
.cart-head .cart-close {
  --close-bg: var(--ink);
  --close-icon: var(--cream-2);
  position: relative;
  display: grid;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  place-items: center;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  padding: 0;
  background: var(--close-bg);
  color: transparent;
  font-size: 0;
  line-height: 0;
  text-indent: -999px;
  isolation: isolate;
  box-shadow: none;
}

.product-viewer-panel.gallery-product > .product-viewer-close {
  --close-bg: rgba(255, 248, 231, 0.94);
  --close-icon: var(--ink);
  position: absolute;
  top: clamp(14px, 1.35vw, 18px);
  right: clamp(14px, 1.35vw, 18px);
  bottom: auto;
  left: auto;
  z-index: 12;
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  box-shadow:
    0 10px 24px rgba(28, 28, 26, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.cart-head .cart-close span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.modal-close::before,
.modal-close::after,
.product-viewer-panel.gallery-product > .product-viewer-close::before,
.product-viewer-panel.gallery-product > .product-viewer-close::after,
.cart-head .cart-close::before,
.cart-head .cart-close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: block;
  width: 14px;
  height: 2px;
  border: 0;
  border-radius: 999px;
  content: "";
  background: var(--close-icon);
  opacity: 1;
  transform: translate(-50%, -50%) rotate(45deg);
  transform-origin: center;
  transition:
    background var(--motion-happly),
    transform var(--motion-lift);
}

.modal-close::after,
.product-viewer-panel.gallery-product > .product-viewer-close::after,
.cart-head .cart-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal-close:hover,
.cart-head .cart-close:hover {
  --close-bg: white;
  --close-icon: var(--ink);
  background: var(--close-bg);
  color: transparent;
}

.product-viewer-panel.gallery-product > .product-viewer-close:hover {
  --close-bg: var(--green);
  --close-icon: var(--ink);
  background: var(--close-bg);
  color: transparent;
}

.modal-close:hover::before,
.product-viewer-panel.gallery-product > .product-viewer-close:hover::before,
.cart-head .cart-close:hover::before {
  transform: translate(-50%, -50%) rotate(45deg) scaleX(1.08);
}

.modal-close:hover::after,
.product-viewer-panel.gallery-product > .product-viewer-close:hover::after,
.cart-head .cart-close:hover::after {
  transform: translate(-50%, -50%) rotate(-45deg) scaleX(1.08);
}

.product-card,
.gallery-feature-card,
.collection-card,
.ops-grid article,
.blog-card {
  transition:
    border-color var(--motion-happly),
    box-shadow var(--motion-happly),
    transform var(--motion-lift);
}

.product-card:hover,
.gallery-feature-card:hover,
.collection-card:hover,
.ops-grid article:hover,
.blog-card:hover {
  box-shadow: 10px 10px 0 rgba(28, 28, 26, 0.13), 0 18px 42px rgba(28, 28, 26, 0.1);
  transform: translateY(-3px);
}

.product-card:hover .product-visual,
.gallery-feature-card:hover img,
.collection-card:hover img,
.blog-card:hover img {
  transform: scale(1.025);
}

@media (hover: hover) and (pointer: fine) {
  .product-card:where(:hover, :focus-within) .product-visual-frame.has-alt-visual .product-visual-main {
    opacity: 0.18;
    transform: scale(1.065) translate3d(-8px, -4px, 0) rotate(-1.2deg);
  }

  .product-card:where(:hover, :focus-within) .product-visual-frame.has-alt-visual .product-visual-alt {
    opacity: 1;
    transform: scale(1.01) translate3d(0, 0, 0) rotate(0deg);
  }
}

.product-visual,
.gallery-feature-card img,
.collection-card img,
.blog-card img {
  transition:
    filter var(--motion-happly),
    opacity var(--motion-happly),
    transform var(--motion-lift);
}

[data-reveal].is-reveal-ready {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 560ms ease,
    transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-reveal-ready.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

[data-reveal="soft"].is-reveal-ready {
  transform: translate3d(0, 18px, 0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ticker {
    animation: none;
  }

  .gallery-mega-menu,
  .mega-path,
  .hero-pills a,
  .prompt-row button,
  .wizard-chat-form button,
  .quote-submit,
  .quote-preview a,
  .product-card,
  .product-card a,
  .hero-float-card,
  .collection-card,
  .ops-grid article,
  .section-heading a,
  .blog-card,
  .blog-card a,
  .gallery-feature-card,
	  .gallery-feature-card a,
	  .slide-actions a,
	  .gallery-actions button,
	  .gallery-actions a,
	  .quick-prompts button,
	  .product-viewer,
	  .product-viewer-backdrop,
	  .product-viewer-panel.gallery-product,
	  .product-viewer-fixed-actions > button,
	  .cart-item,
	  .product-visual,
	  .gallery-feature-card img,
	  .collection-card img,
	  .blog-card img {
	    transition: none;
	  }

	  .product-grid[data-gallery-grid].is-ready .product-card {
	    animation: none;
	  }

	  .cart-drawer.is-open .cart-item,
	  .product-viewer-fixed-actions > button.is-confirming,
	  .gallery-actions button.is-confirming,
	  [data-gallery-quantity-output].is-bumping,
	  [data-product-viewer-quantity].is-bumping,
	  [data-cart-count].is-bumping,
	  .number-swap::after,
	  .number-swap-value {
	    animation: none;
	  }

  .hero-float-card {
    animation: none;
  }
}

@media (max-width: 1120px) {
  .gallery-mega-menu {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "paths"
      "categories";
  }
}

@media (max-width: 980px) {
  .commerce-admin {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .admin-sidebar nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .admin-toolbar,
  .admin-products-layout {
    display: grid;
  }

  .admin-list-panel {
    position: static;
    width: 100%;
  }

  .admin-product-list {
    max-height: none;
  }

  .admin-integration-grid,
  .group-head,
  .option-row,
  .admin-media-upload {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main-nav {
    grid-template-columns: 1fr;
  }

  .blend-nav-layer {
    grid-template-columns: 1fr auto;
    padding: 12px 16px;
  }

  .lue-blend-menu {
    grid-template-columns: 1fr auto;
    padding: 12px 16px;
  }

  .lue-blend-menu__brand {
    justify-self: start;
  }

  .lue-blend-menu__links {
    display: none;
  }

  .mobile-route-bar {
    position: fixed;
    z-index: 238;
    top: calc(var(--header-height) + 8px);
    right: 10px;
    left: 10px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    border: 1px solid rgba(28, 28, 26, 0.2);
    border-radius: 999px;
    padding: 5px;
    background: rgba(255, 248, 231, 0.88);
    box-shadow: 0 16px 34px rgba(28, 28, 26, 0.12);
    backdrop-filter: blur(14px);
  }

  .mobile-route-bar a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    text-transform: lowercase;
  }

  .mobile-route-bar a:nth-child(1) {
    background: var(--yellow);
  }

  .brand {
    grid-row: 1;
    justify-self: start;
  }

  .nav-links {
    display: none;
  }

  .gallery-mega-menu {
    display: none;
  }

  .hero,
  .intro,
  .stack-layout,
  .gallery-product,
  .modal-shell,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    order: 1;
  }

  .chat-prompt {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .chat-showcase {
    grid-column: 1;
    grid-row: auto;
    order: 2;
    min-height: 220px;
    aspect-ratio: 16 / 9;
  }

  .chat-panel {
    grid-column: 1;
    grid-row: auto;
    order: 1;
    min-height: auto;
    padding: 16px;
  }

  .hero::after {
    inset: auto 0 0;
    width: auto;
    height: 42%;
  }

  .hero-art {
    position: relative;
    inset: auto;
    order: 2;
    min-height: 360px;
  }

  .hero-card-deck {
    position: relative;
    width: min(100%, 560px);
    min-height: 360px;
  }

  .ai-project-chat,
  .print-prompt {
    order: 3;
  }

  .hero-actions {
    order: 4;
  }

  .mood-grid,
  .product-grid,
  .blog-grid,
  .ops-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-feature-strip {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-feature-card:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .gallery-product-media {
    max-width: 520px;
  }

  .product-viewer-panel.gallery-product {
    grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1fr);
  }

  .product-viewer-panel .gallery-product-media {
    max-width: none;
  }

  .stack-layout {
    gap: 28px;
  }

  .slide-media {
    order: -1;
  }

  .slide-media img {
    width: min(100%, 360px);
  }

  .choice-strip {
    grid-template-columns: 1fr 1fr;
  }

  .modal-shell {
    height: auto;
    min-height: calc(100svh - 24px);
    grid-template-rows: auto auto auto;
  }

  .wizard-chat,
  .flow-panel {
    grid-column: 1;
    grid-row: auto;
  }

  .wizard-chat {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 248, 231, 0.22);
  }

  .flow-panel {
    overflow: visible;
  }

  .wizard-chat-log {
    max-height: 320px;
  }
}

@media (max-width: 660px) {
  .admin-console,
  .admin-sidebar {
    padding: 16px;
  }

  .admin-sidebar,
  .admin-form-grid,
  .admin-repeater-row,
  .admin-integration-grid,
  .group-head,
  .option-row,
  .image-row,
  .admin-media-upload {
    grid-template-columns: 1fr;
  }

  .admin-sidebar nav,
  .admin-toolbar-actions,
  .panel-title-row {
    justify-content: flex-start;
  }

  .admin-toolbar-actions button,
  .admin-toolbar-actions a,
  .admin-token-field,
  .admin-token-field input {
    width: 100%;
  }

  .main-nav {
    padding: 12px 16px;
  }

  .brand img {
    height: 20px;
  }

  .cart-link {
    font-size: 0;
  }

  .cart-link span {
    font-size: 0.82rem;
  }

  h1 {
    font-size: clamp(4rem, 18vw, 5.9rem);
  }

  h2 {
    font-size: clamp(3.25rem, 15vw, 5.4rem);
  }

  .hero {
    padding: calc(102px + env(safe-area-inset-top)) 16px 34px;
  }

  .hero-text {
    font-size: 1rem;
  }

  .print-prompt {
    border-radius: 10px;
    padding: 8px;
  }

  .print-prompt label {
    font-size: clamp(2.25rem, 10.5vw, 3rem);
  }

  .chat-head {
    display: grid;
  }

  .chat-live {
    width: max-content;
  }

  .chat-showcase {
    min-height: 168px;
    aspect-ratio: 16 / 10;
  }

  .chat-sidecar-empty span {
    right: 10px;
    bottom: 10px;
    left: 10px;
    min-height: 32px;
  }

  .chat-messages {
    max-height: 210px;
  }

  .quick-prompts button {
    flex: 1 1 calc(50% - 8px);
    min-height: 42px;
    text-align: center;
  }

  .hero-art {
    min-height: 332px;
  }

  .hero::after {
    inset: auto 0 0;
    width: auto;
    height: 36%;
  }

  .hero-card-deck {
    width: min(100%, 390px);
    min-height: 330px;
  }

  .hero-float-card {
    --card-radius: 20px;
    border-width: 1px;
    box-shadow:
      0 12px 28px rgba(28, 28, 26, 0.12),
      3px 3px 0 rgba(28, 28, 26, 0.08);
  }

  .hero-float-card--capivara {
    top: 14%;
    left: 7%;
    width: 44%;
  }

  .hero-float-card--luminaria {
    top: 4%;
    right: 8%;
    width: 38%;
  }

  .hero-float-card--dice {
    top: 43%;
    right: 0;
    width: 46%;
  }

  .hero-float-card--fritas {
    top: 48%;
    left: 1%;
    width: 42%;
  }

  .hero-float-card--cactos {
    top: 0;
    left: 30%;
    width: 29%;
  }

  .hero-float-card--ray {
    top: 59%;
    left: 30%;
    width: 42%;
  }

  .hero-float-card--luminaria-detail {
    top: 18%;
    left: 48%;
    width: 36%;
  }

  .hero-float-card--luminaria-side {
    top: 30%;
    left: 56%;
    width: 38%;
  }

  .prompt-row,
  .wizard-chat-form,
  .steps,
  .field-grid,
  .section-heading,
  .gallery-shelf-heading,
  .gallery-catalog-head,
  .gallery-feature-strip,
  .product-facts,
  .mood-grid,
  .product-grid,
  .blog-grid,
  .ops-grid {
    grid-template-columns: 1fr;
  }

  .product-grid[data-gallery-grid] {
    min-height: auto;
  }

  .gallery-pagination-row {
    grid-template-columns: 1fr;
  }

  .gallery-page-buttons {
    justify-content: flex-start;
  }

  .prompt-row button,
  .wizard-chat-form button,
  .hero-pills a,
  .gallery-actions button,
  .gallery-actions a,
  .cart-checkout {
    width: 100%;
    justify-content: center;
  }

  .gallery-config-intro {
    display: grid;
    gap: 5px;
    padding-top: 12px;
  }

  .gallery-config {
    gap: 38px;
  }

  .gallery-actions button[data-gallery-add],
  .gallery-actions button[data-cart-open] {
    min-height: 66px;
  }

  .gallery-actions button[data-gallery-add],
  .product-viewer-fixed-actions > button:first-of-type {
    flex-basis: 100%;
    justify-content: center;
  }

  .gallery-buy-row,
  .gallery-total {
    align-items: start;
    text-align: left;
  }

  .part-pin {
    width: 126px;
    min-height: 64px;
    gap: 4px;
    border-width: 1px;
    padding: 7px 8px 8px;
  }

  .part-pin-kicker {
    font-size: 0.48rem;
  }

  .part-pin-title {
    font-size: 0.84rem;
  }

  .part-pin-selection {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 6px;
  }

  .part-pin-swatch {
    width: 20px;
    height: 20px;
  }

  .part-pin small {
    font-size: 0.47rem;
  }

  .part-pin em {
    font-size: 0.62rem;
  }

  .gallery-part-dot {
    --part-dot-size: 32px;
    --part-hit-size: 44px;
    --part-bubble-border: 1px;
    --part-bubble-max-width: 26rem;
    --part-bubble-padding: 1.884rem;
    --part-bubble-radius: 2.153rem;
  }

  .part-dot-copy,
  .gallery-part-dot.is-left .part-dot-copy {
    right: auto;
    left: 50%;
    --part-copy-closed-transform: translateX(-50%) scale(0.18);
    --part-copy-open-transform: translateX(-50%) scale(1);
    transform-origin: 50% var(--part-bubble-origin-y);
  }

  .gallery-part-dot:is(:hover, :focus-visible, .is-active) .part-dot-copy {
    transform: var(--part-copy-open-transform);
  }

  .part-dot-index {
    width: 17px;
    height: 17px;
    font-size: 0.45rem;
  }

  .part-dot-kicker {
    font-size: 0.5rem;
    padding: 4px 8px 3px;
  }

  .part-dot-title {
    font-size: 1.18rem;
  }

  .part-dot-copy em {
    font-size: 0.78rem;
  }

  .gallery-trace-shadow {
    stroke-width: 1.8;
  }

  .gallery-trace-line {
    stroke-width: 0.58;
  }

  .custom-flow {
    padding: 10px;
  }

  .product-viewer {
    padding: 10px;
  }

  .product-viewer-panel.gallery-product {
    --product-viewer-pad: 16px;
    width: 100%;
    height: calc(100svh - 20px);
    max-height: calc(100svh - 20px);
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr) auto;
    border-radius: 18px;
    padding: 0;
  }

  .product-viewer-panel .gallery-product-media,
  .product-viewer-panel .gallery-product-side,
  .product-viewer-panel .gallery-product-copy,
  .product-viewer-fixed-actions {
    grid-column: 1;
  }

  .product-viewer-panel .gallery-product-media {
    grid-row: 1;
    gap: 8px;
    max-height: 44svh;
    border-right: 0;
    border-bottom: 1px solid rgba(28, 28, 26, 0.16);
    padding: var(--product-viewer-pad);
  }

  .product-viewer-panel .gallery-product-side {
    grid-row: 2;
  }

  .product-viewer-panel .gallery-product-copy {
    grid-row: auto;
  }

  .product-viewer-fixed-actions {
    grid-row: 3;
    border-radius: 0 0 18px 18px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "total quantity"
      "add add"
      "cart cart";
    gap: 10px;
    padding: 12px var(--product-viewer-pad) calc(14px + env(safe-area-inset-bottom));
  }

  .product-viewer-fixed-actions > button {
    min-height: 64px;
    justify-content: center;
  }

  .product-viewer-fixed-total {
    min-height: 54px;
    padding: 9px 12px;
  }

  .product-viewer-fixed-quantity {
    width: 150px;
    grid-template-columns: 44px 62px 44px;
  }

  .product-viewer-fixed-quantity output {
    min-height: 48px;
  }

  .product-viewer-panel .gallery-product-main {
    height: 100%;
    max-height: 100%;
  }

  .product-viewer-panel .gallery-visual {
    width: auto;
    height: 100%;
    max-width: min(100%, 32svh);
    max-height: 32svh;
  }

  .product-viewer-panel .gallery-thumbs {
    display: flex;
    width: min(100%, 100%);
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .product-viewer-panel .gallery-thumbs::-webkit-scrollbar {
    display: none;
  }

  .product-viewer-panel .gallery-thumbs button {
    flex: 0 0 54px;
    flex-basis: 54px;
    width: 54px;
  }

  .product-viewer-panel .gallery-product-copy {
    padding: var(--product-viewer-pad);
  }

  .product-viewer-panel .gallery-product-copy h3 {
    max-width: 11ch;
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .product-viewer-panel .part-pin {
    display: none;
  }

  .product-viewer-panel .gallery-part-list {
    display: flex;
    width: 100%;
    max-width: 100%;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .product-viewer-panel .gallery-part-card {
    flex: 0 0 min(132px, 46vw);
    min-height: 58px;
    padding: 8px;
  }

  .product-viewer-close {
    top: 12px;
    right: 12px;
    min-height: 36px;
  }

  .modal-topbar {
    grid-template-columns: auto auto;
  }

  .modal-topbar p {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
  }

  .suggestion-card {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .gallery-part-list,
  .modal-product-map {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    width: 100vw;
  }

  .suggestion-card img {
    width: 82px;
  }

  .suggestion-card button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .choice-strip {
    grid-template-columns: 1fr;
  }

  .choice-strip p {
    min-height: 58px;
    border-right: 0;
    border-bottom: 2px solid var(--hard-line);
  }

  .choice-strip p:last-child {
    border-bottom: 0;
  }

  .collection-card {
    min-height: auto;
  }

  .slide-actions a {
    width: 100%;
  }

  .stack-layout {
    padding: 16px;
  }

  .stack-slide h3 {
    font-size: clamp(2.8rem, 13vw, 4.8rem);
  }

  .stack-slide p {
    font-size: 1rem;
  }

  .editorial-band p {
    font-size: clamp(3rem, 15vw, 5.4rem);
  }

  .blog-card h3 {
    min-height: auto;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

.ai-chat-surface {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.34fr);
  gap: clamp(12px, 1.6vw, 18px);
  align-items: stretch;
}

.ai-chat-surface .chat-panel {
  grid-template-rows: auto minmax(128px, 1fr) auto auto auto;
  gap: 12px;
  padding: clamp(16px, 2vw, 24px);
  background:
    var(--texture-image),
    linear-gradient(180deg, rgba(255, 253, 246, 0.96), rgba(255, 248, 231, 0.94));
  background-attachment: var(--texture-attachment);
  background-blend-mode: var(--texture-blend);
  background-repeat: var(--texture-repeat);
  background-size: var(--texture-sizes);
}

.chat-message-text {
  margin: 0;
}

.chat-message.is-pending .chat-message-text::after {
  display: inline-block;
  width: 1.6em;
  content: "...";
  overflow: hidden;
  vertical-align: bottom;
  animation: chatThinking 1s steps(4, end) infinite;
}

@keyframes chatThinking {
  from {
    width: 0;
  }

  to {
    width: 1.6em;
  }
}

.ai-suggested-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 2px;
}

.ai-suggested-actions button {
  display: grid;
  min-height: 82px;
  align-content: start;
  gap: 5px;
  border: 1px solid rgba(28, 28, 26, 0.22);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
  white-space: normal;
  transition:
    border-color var(--motion-happly),
    background var(--motion-happly),
    transform var(--motion-lift);
}

.ai-suggested-actions button:nth-child(1) {
  background: rgba(182, 220, 244, 0.66);
}

.ai-suggested-actions button:nth-child(2) {
  background: rgba(244, 166, 182, 0.54);
}

.ai-suggested-actions button:nth-child(3) {
  background: rgba(186, 249, 134, 0.54);
}

.ai-suggested-actions button:nth-child(4) {
  background: rgba(255, 216, 109, 0.52);
}

.ai-suggested-actions button:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.ai-suggested-actions span {
  font-size: 0.82rem;
  font-weight: 840;
  line-height: 1;
  text-transform: lowercase;
}

.ai-suggested-actions b {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 620;
  line-height: 1.22;
}

.chat-prompt.is-expanded .ai-suggested-actions {
  display: none;
}

.ai-composer {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
  border: 1px solid rgba(28, 28, 26, 0.22);
  border-radius: 18px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.wizard-composer {
  border-color: rgba(255, 248, 231, 0.22);
  background: rgba(255, 248, 231, 0.1);
  box-shadow: none;
}

.chat-file-input {
  position: fixed;
  top: -20px;
  left: -20px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.ai-composer textarea {
  min-width: 0;
  width: 100%;
  max-height: 42svh;
  min-height: 42px;
  border: 0;
  outline: 0;
  resize: none;
  padding: 11px 4px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.32;
}

.ai-composer textarea::placeholder {
  color: rgba(28, 28, 26, 0.48);
}

.wizard-composer textarea {
  color: var(--cream-2);
}

.wizard-composer textarea::placeholder {
  color: rgba(255, 248, 231, 0.56);
}

.chat-icon-button,
.chat-send-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  min-height: 42px;
  place-items: center;
  border: 1px solid rgba(28, 28, 26, 0.22);
  border-radius: 999px;
  padding: 0;
  background: white;
  color: var(--ink);
  cursor: pointer;
  line-height: 1;
  transition:
    background var(--motion-happly),
    border-color var(--motion-happly),
    color var(--motion-happly),
    opacity var(--motion-happly),
    transform var(--motion-lift);
}

.chat-send-button {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream-2);
}

.chat-stop-button {
  border-color: var(--coral);
  background: var(--coral);
  color: white;
}

.wizard-composer .chat-icon-button {
  border-color: rgba(255, 248, 231, 0.22);
  background: rgba(255, 248, 231, 0.12);
  color: var(--cream-2);
}

.wizard-composer .chat-send-button {
  border-color: var(--green);
  background: var(--green);
  color: var(--ink);
}

.chat-icon-button:hover,
.chat-send-button:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.chat-icon-button:disabled,
.chat-send-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.chat-icon-button svg,
.chat-send-button svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.ai-composer button[hidden],
.chat-attachments[hidden] {
  display: none;
}

/* Pedido modal polish: keep the assistant calm, readable and product-like. */
.quote-modal.custom-flow {
  z-index: 320;
  padding: clamp(16px, 2.2vw, 28px);
  background:
    radial-gradient(circle at 12% 12%, rgba(183, 255, 74, 0.16), transparent 22rem),
    rgba(28, 28, 26, 0.72);
}

.quote-modal .modal-shell {
  width: min(1160px, calc(100vw - clamp(28px, 5vw, 58px)));
  height: min(780px, calc(100svh - clamp(28px, 5vw, 58px)));
  grid-template-columns: minmax(0, 0.54fr) minmax(380px, 0.46fr);
  grid-template-rows: 72px minmax(0, 1fr);
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: var(--cream-2);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.quote-modal .modal-topbar {
  border-bottom: 2px solid var(--ink);
  padding: 12px 20px;
  background: var(--cream-2);
}

.quote-modal .modal-topbar p {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.quote-modal .modal-close {
  width: 48px;
  height: 48px;
  min-height: 48px;
  border: 2px solid var(--ink);
  padding: 0;
  font-size: 0;
}

.quote-modal .modal-close::before {
  content: "×";
  font-size: 2rem;
  line-height: 1;
}

.quote-modal .wizard-chat {
  grid-template-rows: auto auto auto minmax(0, 1fr) auto auto;
  gap: 14px;
  border-right: 2px solid var(--ink);
  padding: clamp(22px, 2.8vw, 34px);
  background: var(--ink);
}

.quote-modal .wizard-chat .section-label {
  color: var(--green);
  font-size: 0.88rem;
  letter-spacing: 0;
}

.quote-modal .wizard-chat h2 {
  max-width: 10ch;
  color: var(--cream-2);
  font-size: clamp(2.65rem, 4.2vw, 4.65rem);
  line-height: 0.88;
}

.quote-modal .wizard-chat > p:not(.section-label) {
  max-width: 34rem;
  color: rgba(255, 248, 231, 0.82);
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  font-weight: 650;
}

.quote-modal .wizard-request {
  border: 1px solid rgba(183, 255, 74, 0.7);
  background: rgba(183, 255, 74, 0.14);
  color: var(--green);
  font-weight: 850;
}

.quote-modal .wizard-chat-log {
  min-height: 0;
  gap: 12px;
  border: 1px solid rgba(255, 248, 231, 0.18);
  border-radius: 20px;
  padding: 12px;
  background: rgba(255, 248, 231, 0.055);
}

.quote-modal .wizard-chat .chat-message {
  width: fit-content;
  max-width: min(92%, 36rem);
  border: 1px solid transparent;
  border-radius: 18px;
  padding: 13px 15px;
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.32;
}

.quote-modal .wizard-chat .chat-message.is-bot {
  background: var(--cream-2);
  color: var(--ink);
}

.quote-modal .wizard-chat .chat-message.is-user {
  align-self: flex-end;
  background: var(--green);
  color: var(--ink);
  box-shadow: 4px 4px 0 rgba(183, 255, 74, 0.32);
}

.quote-modal .wizard-composer {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  border: 2px solid rgba(255, 248, 231, 0.72);
  border-radius: 24px;
  padding: 9px;
  background: var(--cream-2);
}

.quote-modal .wizard-composer textarea {
  min-height: 48px;
  padding: 13px 6px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.quote-modal .wizard-composer textarea::placeholder {
  color: rgba(28, 28, 26, 0.52);
}

.quote-modal .wizard-composer .chat-icon-button {
  border: 1px solid rgba(28, 28, 26, 0.2);
  background: rgba(28, 28, 26, 0.08);
  color: var(--ink);
}

.quote-modal .wizard-composer .chat-send-button {
  border-color: var(--ink);
  background: var(--green);
  color: var(--ink);
}

.quote-modal .modal-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quote-modal .modal-prompts button {
  min-height: 36px;
  border: 1px solid rgba(255, 248, 231, 0.48);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--cream-2);
  color: var(--ink);
  font-weight: 850;
}

.quote-modal .flow-panel {
  background:
    linear-gradient(180deg, rgba(255, 248, 231, 0.98), rgba(247, 239, 214, 0.98)),
    var(--cream-2);
}

.quote-modal .steps {
  gap: 8px;
  border-bottom: 1px solid rgba(28, 28, 26, 0.16);
  padding: 18px clamp(20px, 3vw, 30px) 12px;
  background: var(--cream-2);
}

.quote-modal .flow-panel .steps button {
  min-height: 34px;
  border: 1px solid rgba(28, 28, 26, 0.16);
  border-radius: 999px;
  padding: 0 12px;
  background: white;
  color: rgba(28, 28, 26, 0.68);
  font-weight: 850;
}

.quote-modal .flow-panel .steps button.is-active {
  border-color: var(--ink);
  background: var(--green);
  color: var(--ink);
}

.quote-modal .flow-panel .steps button[hidden] {
  display: none;
}

.quote-modal .quote-preview {
  padding: clamp(20px, 3vw, 30px);
}

.quote-modal .quote-copy {
  border-bottom: 2px solid rgba(28, 28, 26, 0.16);
  margin-bottom: 18px;
}

.quote-modal .quote-copy h3 {
  max-width: 12ch;
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  line-height: 0.92;
}

.quote-modal .quote-path-summary {
  display: grid;
  gap: 0.42rem;
  border: 1.5px solid rgba(28, 28, 26, 0.18);
  border-radius: 18px;
  margin-bottom: 16px;
  padding: 14px 16px;
  background: rgba(183, 255, 74, 0.18);
}

.quote-modal .quote-path-summary strong {
  color: var(--ink);
  font-size: clamp(1.08rem, 1.25vw, 1.22rem);
  font-weight: 950;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: lowercase;
}

.quote-modal .quote-path-summary p {
  max-width: 38rem;
  margin: 0;
  color: rgba(28, 28, 26, 0.72);
  font-size: 0.94rem;
  font-weight: 760;
  letter-spacing: -0.01em;
  line-height: 1.18;
}

.quote-modal .flow-panel.needs-context .quote-preview::after {
  display: block;
  margin-top: 18px;
  border: 1.5px solid rgba(28, 28, 26, 0.22);
  border-radius: 22px;
  padding: clamp(18px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  content: "sem chute: diga uma peça, cole um link, envie uma referência ou escolha um caminho no chat.";
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 850;
  line-height: 1.14;
}

.quote-modal .shop-suggestions {
  gap: 12px;
}

.quote-modal .suggestion-card {
  grid-template-columns: 108px minmax(0, 1fr) auto;
  gap: 14px;
  border: 1.5px solid rgba(28, 28, 26, 0.22);
  border-radius: 20px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.quote-modal .suggestion-card img {
  width: 108px;
  border-radius: 14px;
  object-fit: cover;
}

.quote-modal .suggestion-card strong {
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1;
}

.quote-modal .suggestion-card p {
  color: rgba(28, 28, 26, 0.78);
  font-size: 0.94rem;
  font-weight: 720;
}

.quote-modal .suggestion-card button {
  min-height: 42px;
  border: 0;
  padding: 0 16px;
  background: var(--ink);
  color: var(--cream-2);
  font-weight: 900;
}

.chat-attachments {
  display: flex;
  min-height: 0;
  gap: 9px;
  overflow-x: auto;
  padding: 2px 2px 4px;
}

.chat-attachment {
  position: relative;
  display: grid;
  width: min(178px, 56vw);
  flex: 0 0 auto;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(28, 28, 26, 0.18);
  border-radius: 12px;
  padding: 7px 28px 7px 7px;
  background: rgba(255, 255, 255, 0.72);
}

.wizard-chat-attachments .chat-attachment {
  border-color: rgba(255, 248, 231, 0.2);
  background: rgba(255, 248, 231, 0.1);
}

.chat-attachment img,
.chat-attachment > span {
  display: grid;
  width: 46px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 9px;
  background: var(--cream);
  color: var(--ink);
  object-fit: cover;
  font-size: 0.68rem;
  font-weight: 900;
}

.chat-attachment p {
  min-width: 0;
  margin: 0;
}

.chat-attachment strong,
.chat-attachment small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-attachment strong {
  font-size: 0.78rem;
  font-weight: 800;
}

.chat-attachment small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
}

.wizard-chat-attachments .chat-attachment strong {
  color: var(--cream-2);
}

.wizard-chat-attachments .chat-attachment small {
  color: rgba(255, 248, 231, 0.62);
}

.chat-attachment button {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  width: 20px;
  height: 20px;
  min-height: 0;
  place-items: center;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.chat-message-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.chat-message-attachments span {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(28, 28, 26, 0.16);
  border-radius: 999px;
  padding: 4px 8px 4px 4px;
  background: rgba(255, 255, 255, 0.54);
}

.wizard-chat .chat-message-attachments span {
  border-color: rgba(255, 248, 231, 0.18);
  background: rgba(255, 248, 231, 0.1);
}

.chat-message-attachments img,
.chat-message-attachments b {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  object-fit: cover;
  font-size: 0.56rem;
  font-weight: 900;
}

.chat-message-attachments small {
  overflow: hidden;
  max-width: 180px;
  color: inherit;
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.assistant-is-generating .chat-live span {
  animation: chatPulse 1s ease-in-out infinite;
}

@keyframes chatPulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(186, 249, 134, 0.28);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(244, 166, 182, 0.28);
  }
}

.ai-composer button::before,
.ai-composer button::after,
.ai-suggested-actions button::before,
.ai-suggested-actions button::after,
.chat-attachment button::before,
.chat-attachment button::after {
  display: none;
  content: none;
}

.wizard-chat {
  grid-template-rows: auto auto auto minmax(0, 1fr) auto auto auto;
}

.wizard-chat .chat-message.is-bot {
  border-color: rgba(255, 248, 231, 0.24);
  background: rgba(255, 248, 231, 0.12);
  color: var(--cream-2);
}

.wizard-chat .chat-message.is-user {
  color: var(--ink);
}

.wizard-chat .chat-message.is-pending {
  opacity: 1;
}

.chat-prompt.is-simple {
  width: min(100%, 860px);
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr);
}

.chat-prompt.is-simple .chat-panel {
  min-height: auto;
}

.chat-prompt.is-simple .chat-showcase {
  display: none;
}

.chat-prompt.is-simple:not(.is-primed) .chat-messages,
.chat-prompt.is-simple:not(.is-primed) .ai-suggested-actions,
.chat-prompt.is-simple:not(.is-primed) .chat-attachments,
.chat-prompt.is-simple:not(.is-primed) .chat-live {
  display: none;
}

.chat-prompt.is-simple:not(.is-primed) .chat-panel {
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
}

.chat-prompt.is-simple:not(.is-primed) .chat-head {
  align-items: flex-start;
}

.chat-prompt.is-simple:not(.is-primed) label {
  max-width: 760px;
  font-size: clamp(1.42rem, 2.4vw, 2.35rem);
}

.chat-prompt.is-simple.is-primed {
  width: min(100%, 920px);
}

@media (max-width: 900px) {
  .ai-chat-surface {
    grid-template-columns: 1fr;
  }

  .ai-chat-surface .chat-panel,
  .ai-chat-surface .chat-showcase {
    grid-column: 1;
  }
}

@media (max-width: 660px) {
  .ai-chat-surface .chat-panel {
    padding: 14px;
  }

  .ai-suggested-actions {
    grid-template-columns: 1fr;
  }

  .ai-composer,
  .wizard-chat-form.ai-composer {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .ai-composer .chat-icon-button,
  .ai-composer .chat-send-button,
  .wizard-chat-form.ai-composer button {
    width: 40px;
    min-height: 40px;
    height: 40px;
  }
}

.hero.hero-ctaimages {
  position: relative;
  z-index: 8;
  display: block;
  height: 184vh;
  min-height: 184svh;
  margin: 0;
  overflow: visible;
  border-bottom: 2px solid var(--hard-line);
  padding: 0;
  background: var(--texture-cream);
  background-attachment: var(--texture-attachment);
  background-blend-mode: var(--texture-blend);
  background-repeat: var(--texture-repeat);
  background-size: var(--texture-sizes);
  box-shadow: none;
}

.hero.hero-ctaimages::after {
  display: none;
}

.hero-ctaimages .b-ctaimages__sticky {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  min-height: 100svh;
  overflow: visible;
}

.hero-ctaimages.is-pinned .b-ctaimages__sticky {
  position: fixed;
}

.hero-ctaimages.is-past .b-ctaimages__sticky {
  position: absolute;
  top: auto;
  bottom: 0;
}

.hero-ctaimages .hero-noise {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
}

.hero-ctaimages .wrapper {
  position: relative;
  z-index: 2;
  isolation: isolate;
  display: flex;
  height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 12px) clamp(18px, 5vw, 74px) 40px;
  text-align: center;
}

.hero-ctaimages .wrapper::before {
  display: none;
}

.hero-ctaimages .kicker {
  margin-bottom: 1.2rem;
}

.hero-ctaimages .b-ctaimages__heading {
  max-width: 817px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(60px, 6.74vw, 138px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.84;
  text-transform: lowercase;
  white-space: pre-line;
}

.hero-ctaimages .b-ctaimages__content {
  max-width: 536px;
  margin: 48px 0 18px;
  color: var(--ink);
  font-size: clamp(20px, 2.1vw, 32px);
  font-weight: var(--weight-strong);
  letter-spacing: -0.03em;
  line-height: 1;
  text-shadow: none;
}

.hero-idea-form {
  position: relative;
  display: grid;
  width: min(100%, 700px);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
  border: 1px solid #1c1c1c;
  border-radius: 8rem;
  padding: 0.45rem;
  background: rgba(255, 248, 231, 0.9);
  box-shadow: 0 16px 38px rgba(28, 28, 26, 0.08);
}

.hero-idea-form .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hero-idea-form textarea {
  min-height: 44px;
  max-height: 96px;
  border: 0;
  padding: 0.72rem 0.8rem 0.58rem 1rem;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  outline: 0;
  resize: none;
}

.hero-idea-form textarea::placeholder {
  color: rgba(28, 28, 26, 0.48);
}

.hero-idea-form button {
  position: relative;
  overflow: hidden;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8rem;
  padding: 0 1.25rem;
  background: var(--ink);
  color: var(--cream-2);
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  text-transform: lowercase;
  transition:
    background 0.4s cubic-bezier(0.645, 0.045, 0.355, 1),
    color 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.hero-idea-form button:hover {
  background: var(--green-deep);
  color: white;
}

.hero-route-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.hero-route-chips span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(28, 28, 26, 0.2);
  border-radius: 999px;
  padding: 0 0.82rem;
  background: rgba(255, 248, 231, 0.74);
  color: rgba(28, 28, 26, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  text-transform: lowercase;
}

.hero-ctaimages .b-ctaimages__images {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-ctaimages .b-ctaimages__images:first-of-type {
  z-index: 1;
}

.hero-ctaimages .b-ctaimages__images:last-of-type {
  z-index: 3;
}

.hero-ctaimages .b-ctaimages__image {
  position: absolute;
  width: 100%;
  margin: 0;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-ctaimages .b-ctaimages__image picture {
  position: relative;
  display: block;
  width: 100%;
  height: 0;
  overflow: hidden;
  border: 1px solid #1c1c1c;
  border-radius: 1.2rem;
  padding-bottom: var(--aspect);
  background: #fff7df;
  box-shadow: 0 18px 42px rgba(28, 28, 26, 0.13);
}

.hero-ctaimages .b-ctaimages__image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-ctaimages .b-ctaimages__images:first-of-type .b-ctaimages__image:first-of-type {
  top: 1.5%;
  left: 17.17%;
  max-width: 32%;
}

.hero-ctaimages .b-ctaimages__images:first-of-type .b-ctaimages__image:nth-of-type(2) {
  top: 13.15%;
  right: 1.5%;
  max-width: 32%;
}

.hero-ctaimages .b-ctaimages__images:first-of-type .b-ctaimages__image:nth-of-type(3) {
  right: 0.8rem;
  bottom: -2.8rem;
  max-width: 31.28%;
}

.hero-ctaimages .b-ctaimages__images:first-of-type .b-ctaimages__image:nth-of-type(4) {
  bottom: -8.8rem;
  left: 0.8rem;
  max-width: 31.28%;
}

.hero-ctaimages .b-ctaimages__images:last-of-type .b-ctaimages__image:first-of-type {
  top: 11.25%;
  left: 0.8rem;
  z-index: 1;
  max-width: 23.3%;
}

.hero-ctaimages .b-ctaimages__images:last-of-type .b-ctaimages__image:nth-of-type(2) {
  top: 10.44%;
  right: 0;
  max-width: 17.43%;
}

.hero-ctaimages .b-ctaimages__images:last-of-type .b-ctaimages__image:nth-of-type(3) {
  right: 16.52%;
  bottom: -4.2rem;
  max-width: 12.84%;
}

.hero-ctaimages .b-ctaimages__images:last-of-type .b-ctaimages__image:nth-of-type(4) {
  bottom: -4.8rem;
  left: 12.84%;
  z-index: 1;
  max-width: 15.83%;
}

@media (min-width: 576px) {
  .hero-ctaimages .b-ctaimages__images:first-of-type .b-ctaimages__image:first-of-type {
    top: 4.22%;
    left: 8.54%;
    max-width: 13.12%;
  }

  .hero-ctaimages .b-ctaimages__images:first-of-type .b-ctaimages__image:nth-of-type(2) {
    top: 3.88%;
    right: 35.97%;
    max-width: 10.07%;
  }

  .hero-ctaimages .b-ctaimages__images:first-of-type .b-ctaimages__image:nth-of-type(3) {
    right: 4.02%;
    bottom: -4.8rem;
    max-width: 18.47%;
  }

  .hero-ctaimages .b-ctaimages__images:first-of-type .b-ctaimages__image:nth-of-type(4) {
    bottom: -10.6rem;
    left: -2.7%;
    max-width: 17.43%;
  }

  .hero-ctaimages .b-ctaimages__images:last-of-type .b-ctaimages__image:first-of-type {
    top: 16.66%;
    left: 3.33%;
    max-width: 9.02%;
  }
}

@media (max-width: 575.98px) {
  .hero-ctaimages .wrapper {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero-ctaimages .wrapper::before {
    inset: 20vh 0 14vh;
  }

  .hero-ctaimages .b-ctaimages__heading {
    font-size: clamp(54px, 15vw, 72px);
  }

  .hero-ctaimages .b-ctaimages__content {
    max-width: 340px;
    margin: 32px 0 24px;
    font-size: 18px;
  }

  .hero-idea-form {
    width: min(100%, 360px);
    grid-template-columns: 1fr;
    border-radius: 1.4rem;
  }

  .hero-idea-form button {
    width: 100%;
  }

  .hero-ctaimages .b-ctaimages__images:last-of-type .b-ctaimages__image:not(:first-of-type) {
    display: none;
  }
}

/* Happly-inspired polish: same motion language and geometry, 21zero5 palette. */
:root {
  --happly-ease: cubic-bezier(0.645, 0.045, 0.355, 1);
  --happly-ease-strong: cubic-bezier(0.77, 0, 0.175, 1);
  --happly-radius: 1.2rem;
  --happly-border: 1px solid #1c1c1c;
  --happly-space: clamp(1.2rem, 2vw, 2rem);
  --button-pill-height: 44px;
  --button-pill-pad-x: clamp(16px, 1.7vw, 22px);
  --button-pill-font-size: 0.95rem;
  --card-border: var(--happly-border);
  --card-shadow: none;
  --card-shadow-hover: none;
}

.hero-actions {
  justify-content: center;
  border-bottom: var(--happly-border);
  padding: 1.2rem clamp(18px, 5vw, 74px);
  background: var(--cream);
}

.hero-actions p,
.choice-strip p,
.section-label,
.tag,
.product-badge,
.slide-flavor {
  letter-spacing: -0.01em;
}

.hero-actions p {
  border: var(--happly-border);
  border-radius: 6.5rem;
  padding: 0.6rem 1rem;
  background: var(--cream-2);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: var(--weight-ui);
  box-shadow: none;
  transition:
    background 0.4s var(--happly-ease),
    color 0.4s var(--happly-ease);
}

.hero-actions p:hover {
  background: var(--ink);
  color: var(--cream-2);
  box-shadow: none;
  transform: none;
}

.section,
.shop-section,
.custom-flow,
.operations,
.blog-section,
.faq,
.site-footer {
  border-top: var(--happly-border);
  padding-top: clamp(5.2rem, 9vw, 9.6rem);
  padding-bottom: clamp(5.2rem, 9vw, 9.6rem);
}

.intro {
  align-items: end;
}

.intro p:last-child,
.flow-copy p,
.operations p,
.faq p,
.site-footer p,
.stack-slide p,
.gallery-feature-card p:not(.tag),
.blog-card p,
.product-card .price-note {
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.intro p:last-child,
.flow-copy p,
.operations p,
.faq p,
.site-footer p {
  font-size: clamp(1rem, 1.35vw, 1.25rem);
}

.choice-strip {
  border-top: var(--happly-border);
  border-bottom: var(--happly-border);
}

.choice-strip p {
  min-height: 4.8rem;
  border-right: var(--happly-border);
  font-size: 0.94rem;
  font-weight: var(--weight-ui);
  transition:
    color 0.4s var(--happly-ease),
    filter 0.4s var(--happly-ease);
}

.choice-strip p:hover {
  filter: saturate(1.08) contrast(1.03);
  transform: none;
}

.stack-slide,
.stack-stage,
.project-stack,
.stack-tab,
.stack-fixed-tab {
  border-color: #1c1c1c;
}

.stack-tab,
.stack-fixed-tab {
  min-height: 4.8rem;
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  letter-spacing: -0.01em;
}

.stack-layout {
  gap: clamp(2rem, 5vw, 7.2rem);
  padding: clamp(2rem, 5vw, 5.6rem);
}

.stack-slide h3,
.section-heading h2,
.gallery-shelf-heading h3,
.gallery-catalog-head h3,
.quote-copy h3,
.blog-card h3,
.product-card h3,
.gallery-feature-card h3 {
  letter-spacing: -0.04em;
}

.slide-media img,
.gallery-feature-card,
.product-card,
.blog-card,
.quote-preview,
.quote-form,
.flow-panel,
.modal-card,
.product-viewer-panel,
.cart-panel,
.faq details {
  border: var(--happly-border);
  border-radius: var(--happly-radius);
  box-shadow: none;
}

.slide-media img,
.gallery-feature-card img,
.product-visual-frame,
.blog-card img {
  border-bottom: var(--happly-border);
}

.gallery-feature-card,
.product-card,
.blog-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition:
    color 0.6s var(--happly-ease),
    transform 0.6s var(--happly-ease),
    border-color 0.6s var(--happly-ease);
}

.gallery-feature-card::before,
.product-card::before,
.blog-card::before {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: auto;
  height: 18%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--card-accent, var(--coral));
  content: "";
  transform: translate(-50%, -50%);
  transition:
    height 0.6s var(--happly-ease-strong),
    opacity 0.6s var(--happly-ease-strong);
}

.gallery-feature-card:nth-child(3n + 1),
.product-card:nth-child(4n + 1),
.blog-card:nth-child(3n + 1) {
  --card-accent: var(--green-deep);
}

.gallery-feature-card:nth-child(3n + 2),
.product-card:nth-child(4n + 2),
.blog-card:nth-child(3n + 2) {
  --card-accent: var(--blue);
}

.gallery-feature-card:nth-child(3n + 3),
.product-card:nth-child(4n + 3),
.blog-card:nth-child(3n + 3) {
  --card-accent: var(--pink);
}

.product-card:nth-child(4n + 4) {
  --card-accent: var(--yellow);
}

.gallery-feature-card:hover,
.product-card:hover,
.blog-card:hover {
  color: var(--cream-2);
  box-shadow: none;
  transform: none;
}

.gallery-feature-card:hover::before,
.product-card:hover::before,
.blog-card:hover::before {
  height: calc(142% + 3.2rem);
}

.gallery-feature-card:hover h3,
.gallery-feature-card:hover p,
.gallery-feature-card:hover .tag,
.product-card:hover h3,
.product-card:hover .price,
.product-card:hover .price-note,
.product-card:hover .tag,
.blog-card:hover h3,
.blog-card:hover p,
.blog-card:hover .tag {
  color: var(--cream-2);
}

.gallery-feature-card img,
.product-visual,
.blog-card img,
.slide-media img {
  transition:
    transform 0.6s var(--happly-ease),
    filter 0.6s var(--happly-ease);
  will-change: transform;
}

.gallery-feature-card:hover img,
.product-card:hover .product-visual,
.blog-card:hover img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.08);
}

.stack-slide:hover .slide-media img {
  box-shadow: none;
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.08) rotate(calc(var(--slide-media-rotate) * 0.72));
}

.gallery-feature-card > div,
.blog-card > div {
  gap: 1.2rem;
  padding: var(--happly-space);
}

.product-card .tag,
.product-card h3,
.product-card .price,
.product-card .price-note {
  padding-right: var(--happly-space);
  padding-left: var(--happly-space);
}

.product-card .tag {
  margin-top: var(--happly-space);
}

.product-card a {
  width: calc(100% - (var(--happly-space) * 2));
  margin: 0 var(--happly-space) var(--happly-space);
}

.hero-pills a,
.prompt-row button,
.wizard-chat-form button,
.quote-submit,
.quote-preview a,
.product-card a,
.section-heading a,
.blog-card a,
.gallery-feature-card a,
.slide-actions a,
.gallery-actions button,
.gallery-actions a,
.gallery-filter-tabs button,
.gallery-pagination button,
.quick-prompts button,
.steps button,
.mega-menu-all,
.mega-category-list a,
.chat-option-card button,
.modal-close,
.suggestion-card button,
.quote-wizard-steps button,
.quote-wizard-actions button,
.product-viewer-close,
.product-viewer-fixed-actions > button,
.cart-link,
.cart-head button,
.cart-shipping button,
.cart-summary-row button,
.file-upload-ui b {
  min-height: var(--button-pill-height);
  border: var(--happly-border);
  border-color: transparent;
  border-radius: 8rem;
  padding-inline: var(--button-pill-pad-x);
  font-size: var(--button-pill-font-size);
  font-weight: 800;
  letter-spacing: -0.01em;
  transition:
    color 0.4s var(--happly-ease),
    border-color 0.4s var(--happly-ease),
    background 0.4s var(--happly-ease);
}

.hero-pills a::after,
.prompt-row button::after,
.wizard-chat-form button::after,
.quote-submit::after,
.quote-preview a::after,
.product-card a::after,
.section-heading a::after,
.blog-card a::after,
.gallery-feature-card a::after,
.slide-actions a::after,
.gallery-actions button::after,
.gallery-actions a::after,
.gallery-filter-tabs button::after,
.gallery-pagination button::after,
.quick-prompts button::after,
.steps button::after,
.mega-menu-all::after,
.mega-category-list a::after,
.chat-option-card button::after,
.modal-close::after,
.suggestion-card button::after,
.quote-wizard-steps button::after,
.quote-wizard-actions button::after,
.product-viewer-close::after,
.product-viewer-fixed-actions > button::after,
.cart-link::after,
.cart-head button::after,
.cart-shipping button::after,
.cart-summary-row button::after,
.file-upload-ui b::after {
  transition: 0.45s var(--happly-ease);
}

.hero-pills a:hover,
.prompt-row button:hover,
.wizard-chat-form button:hover,
.quote-submit:hover,
.quote-preview a:hover,
.product-card a:hover,
.section-heading a:hover,
.blog-card a:hover,
.gallery-feature-card a:hover,
.slide-actions a:hover,
.gallery-actions button:hover,
.gallery-actions a:hover,
.gallery-filter-tabs button:hover,
.gallery-pagination button:hover,
.quick-prompts button:hover,
.steps button:hover,
.mega-menu-all:hover,
.mega-category-list a:hover,
.chat-option-card button:hover,
.modal-close:hover,
.suggestion-card button:hover,
.quote-wizard-steps button:hover,
.quote-wizard-actions button:hover,
.product-viewer-close:hover,
.product-viewer-fixed-actions > button:hover,
.cart-link:hover,
.cart-head button:hover,
.cart-shipping button:hover,
.cart-summary-row button:hover,
.file-upload-ui b:hover {
  box-shadow: none;
  transform: none;
}

@media (max-width: 767px) {
  .hero-actions {
    justify-content: flex-start;
    overflow-x: auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .section,
  .shop-section,
  .custom-flow,
  .operations,
  .blog-section,
  .faq,
  .site-footer {
    padding-top: 4.8rem;
    padding-bottom: 4.8rem;
  }
}

/* Scroll polish: Happly-like transform rhythm, keeping 21zero5 colors. */
.has-scroll-reveals [data-reveal] {
  will-change: opacity, transform;
}

.has-scroll-reveals [data-reveal].is-reveal-ready {
  opacity: 0;
  transform: translate3d(0, var(--reveal-y, 2rem), 0);
  transition:
    opacity 0.78s var(--happly-ease),
    transform 0.92s var(--happly-ease-strong);
  transition-delay: var(--reveal-delay, 0ms);
}

.has-scroll-reveals [data-reveal].is-reveal-ready.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.has-scroll-reveals [data-reveal="section"].is-reveal-ready {
  --reveal-y: 4.4rem;
}

.has-scroll-reveals [data-reveal="text"].is-reveal-ready {
  --reveal-y: 2.1rem;
}

.has-scroll-reveals [data-reveal="card"].is-reveal-ready {
  --reveal-y: 3.2rem;
}

.section.intro {
  min-height: 76svh;
  align-items: center;
  padding-top: clamp(5.6rem, 9vw, 10rem);
  padding-bottom: clamp(5.6rem, 9vw, 10rem);
}

.section.intro > div {
  display: grid;
  gap: clamp(0.7rem, 1.4vw, 1.2rem);
}

.section.intro h2 {
  max-width: 950px;
  margin: 0;
  font-size: clamp(4.6rem, 8.2vw, 10.2rem);
  letter-spacing: -0.052em;
  line-height: 0.82;
}

.section.intro p:last-child {
  max-width: 38rem;
  color: rgba(28, 28, 26, 0.68);
  font-size: clamp(1.08rem, 1.55vw, 1.42rem);
  font-weight: 800;
  line-height: 1.12;
}

.section-label,
.slide-flavor {
  color: var(--green-deep);
  font-size: clamp(0.8rem, 0.9vw, 0.96rem);
}

.project-stack {
  border-top: var(--happly-border);
  border-bottom: var(--happly-border);
}

.stack-layout {
  min-height: calc(var(--stack-panel-height) - (var(--stack-tab-height) * (var(--stack-index) + 1)) + 5svh);
  padding: clamp(2.4rem, 5.8vw, 6.8rem) clamp(1.4rem, 5vw, 5.6rem);
}

.stack-slide h3 {
  max-width: 900px;
  margin-bottom: clamp(1.1rem, 2vw, 2rem);
  font-size: clamp(4.2rem, 8vw, 9.6rem);
  letter-spacing: -0.052em;
  line-height: 0.82;
}

.stack-slide p {
  max-width: 40rem;
  font-size: clamp(1.05rem, 1.45vw, 1.38rem);
  font-weight: 800;
  line-height: 1.15;
}

.slide-meta {
  max-width: 39rem;
  margin: clamp(1.4rem, 2.6vw, 2.2rem) 0;
  border-top: var(--happly-border);
  border-bottom: var(--happly-border);
  padding: 0.85rem 0;
}

.license-note {
  border-left: var(--happly-border);
}

.slide-actions {
  gap: 0.75rem;
  margin-top: clamp(1.5rem, 3vw, 2.4rem);
}

.slide-media img {
  width: min(100%, 500px);
  border-width: 1px;
  border-radius: var(--happly-radius);
}

.section-heading {
  gap: clamp(1rem, 2.6vw, 2.6rem);
  margin-bottom: clamp(2.6rem, 5vw, 5.8rem);
}

.section-heading h2,
.gallery-shelf-heading h3,
.gallery-catalog-head h3 {
  max-width: 960px;
  font-size: clamp(3.8rem, 7.2vw, 9.2rem);
  letter-spacing: -0.052em;
  line-height: 0.84;
}

.gallery-product[data-gallery-configurator],
.gallery-shelf,
.gallery-catalog,
.custom-flow,
.operations,
.blog-section,
.faq {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.gallery-feature-strip,
.ops-grid,
.blog-grid {
  gap: clamp(0.9rem, 1.6vw, 1.4rem);
}

@media (max-width: 960px) {
  .faq {
    grid-template-columns: 1fr;
  }

  .faq-intro {
    position: static;
  }

  .faq-intro h2 {
    max-width: 10ch;
  }

  .section.intro {
    min-height: auto;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section.intro h2,
  .stack-slide h3,
  .section-heading h2,
  .gallery-shelf-heading h3,
  .gallery-catalog-head h3 {
    font-size: clamp(3.8rem, 14vw, 7rem);
  }
}

@media (max-width: 767px) {
  .has-scroll-reveals [data-reveal].is-reveal-ready {
    transition-duration: 0.64s, 0.74s;
    transition-delay: calc(var(--reveal-delay, 0ms) * 0.35);
  }

  .section.intro {
    padding-top: 4.8rem;
    padding-bottom: 4.8rem;
  }

  .section.intro p:last-child,
  .stack-slide p {
    font-size: 1.04rem;
    line-height: 1.22;
  }

  .stack-layout {
    min-height: calc(100svh - var(--header-height) - var(--stack-tab-height));
    padding: 1.4rem;
  }

  .slide-media img {
    width: min(100%, 360px);
  }
}

/* Conceptual production portal: three clear commercial paths, one animated system. */
.production-portal {
  --portal-progress: 0;
  position: relative;
  z-index: 2;
  min-height: 120svh;
  overflow: visible;
  border-top: 0;
  border-bottom: var(--happly-border);
  background:
    radial-gradient(circle at calc(18% + (var(--portal-progress) * 38%)) 20%, rgba(255, 248, 231, 0.34), transparent 18rem),
    radial-gradient(circle at 88% 70%, rgba(87, 216, 255, 0.3), transparent 22rem),
    var(--green);
}

.production-portal__marquee {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: clamp(42px, 4.4vw, 52px);
  align-items: center;
  overflow: hidden;
  border-bottom: var(--happly-border);
  background: var(--ink);
  color: var(--cream-2);
  white-space: nowrap;
}

.production-portal__marquee span {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: clamp(42px, 4.4vw, 52px);
  align-items: center;
  padding: 0 clamp(1.35rem, 3vw, 3rem);
  font-size: clamp(0.95rem, 1.22vw, 1.18rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: lowercase;
  animation: productionPortalTicker 19s linear infinite;
}

.production-portal__marquee span::after {
  margin-left: clamp(1.4rem, 3vw, 3rem);
  content: "•";
  color: var(--green);
}

@keyframes productionPortalTicker {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-100%, 0, 0);
  }
}

.production-portal__sticky {
  position: sticky;
  top: var(--header-height);
  display: grid;
  min-height: calc(96svh - var(--header-height));
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(1.4rem, 2.4vw, 2.6rem);
  align-content: center;
  padding: clamp(3rem, 5vw, 5.4rem) clamp(1rem, 4vw, 4rem) clamp(3.2rem, 5vw, 5.6rem);
}

.production-portal__intro {
  position: relative;
  z-index: 3;
  display: grid;
  gap: clamp(0.7rem, 1.3vw, 1.1rem);
  max-width: 1120px;
}

.production-portal__intro h2 {
  max-width: 1100px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 9.4vw, 12rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.82;
  text-transform: lowercase;
}

.production-portal__intro p:last-child {
  max-width: 44rem;
  margin: 0;
  color: rgba(28, 28, 26, 0.76);
  font-size: clamp(1.05rem, 1.42vw, 1.42rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.13;
}

.production-portal__orbit {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.production-portal__orbit span {
  position: absolute;
  border: var(--happly-border);
  border-radius: 999px;
  opacity: 0.22;
  transform:
    translate3d(0, calc((1 - var(--portal-progress)) * 5rem), 0)
    rotate(calc(var(--portal-progress) * 14deg));
}

.production-portal__orbit span:nth-child(1) {
  top: 14%;
  right: 10%;
  width: min(23vw, 22rem);
  aspect-ratio: 1 / 1;
}

.production-portal__orbit span:nth-child(2) {
  right: 34%;
  bottom: 12%;
  width: min(18vw, 16rem);
  aspect-ratio: 1 / 1;
  background: rgba(255, 211, 61, 0.26);
}

.production-portal__orbit span:nth-child(3) {
  bottom: -8%;
  left: 4%;
  width: min(34vw, 34rem);
  aspect-ratio: 1 / 1;
  background: rgba(255, 120, 173, 0.16);
}

.production-portal__paths {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.5vw, 1.35rem);
  align-items: stretch;
}

.production-path {
  --path-accent: var(--green);
  min-width: 0;
  transform-origin: center bottom;
  will-change: transform;
}

.production-path--project {
  --path-accent: var(--pink);
}

.production-path--file {
  --path-accent: var(--yellow);
}

.production-path__link {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: clamp(28rem, 44svh, 38rem);
  align-content: space-between;
  overflow: hidden;
  border: var(--happly-border);
  border-radius: var(--happly-radius);
  padding: clamp(1.2rem, 2vw, 2rem);
  background:
    linear-gradient(180deg, rgba(255, 253, 244, 0.98), rgba(255, 248, 231, 0.96)),
    var(--cream-2);
  color: var(--ink);
  text-decoration: none;
}

.production-path__link::before {
  position: absolute;
  right: -22%;
  bottom: -28%;
  z-index: -1;
  width: 72%;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: var(--path-accent);
  content: "";
  transition:
    width 0.62s var(--happly-ease-strong),
    transform 0.62s var(--happly-ease-strong);
}

.production-path__link:hover::before {
  width: 138%;
  transform: translate3d(-6%, -6%, 0);
}

.production-path__number {
  font-family: var(--font-display);
  font-size: clamp(4.6rem, 8vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.8;
}

.production-path__kicker {
  width: fit-content;
  border: var(--happly-border);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  background: var(--cream);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1;
  text-transform: lowercase;
}

.production-path strong {
  display: block;
  max-width: 34rem;
  margin-top: auto;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 3.8vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.9;
  text-transform: lowercase;
}

.production-path em {
  display: block;
  max-width: 29rem;
  margin-top: 1rem;
  color: rgba(28, 28, 26, 0.74);
  font-size: clamp(0.98rem, 1.15vw, 1.15rem);
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.production-path__cta {
  width: fit-content;
  margin-top: 1.35rem;
  border: var(--happly-border);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--cream-2);
  font-size: var(--button-pill-font-size);
  font-weight: 900;
  line-height: 1;
  text-transform: lowercase;
}

@media (max-width: 980px) {
  .production-portal {
    min-height: auto;
    overflow: hidden;
  }

  .production-portal__sticky {
    position: relative;
    top: auto;
    min-height: auto;
  }

  .production-portal__paths {
    grid-template-columns: 1fr;
  }

  .production-path__link {
    min-height: 25rem;
  }
}

.project-intake {
  position: relative;
  z-index: 3;
  overflow: hidden;
  scroll-margin-top: calc(var(--header-height) + 1.2rem);
  border-top: var(--happly-border);
  border-bottom: var(--happly-border);
  padding: clamp(4.2rem, 7vw, 8rem) clamp(1rem, 4vw, 4rem);
  background:
    radial-gradient(circle at 12% 18%, rgba(183, 255, 74, 0.28), transparent 20rem),
    radial-gradient(circle at 100% 82%, rgba(255, 211, 61, 0.2), transparent 24rem),
    var(--ink);
  color: var(--cream-2);
}

.project-intake::before {
  position: absolute;
  right: -10vw;
  bottom: -24vw;
  width: min(64vw, 46rem);
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 248, 231, 0.18);
  border-radius: 999px;
  content: "";
}

.step-watermark {
  position: absolute;
  z-index: 0;
  top: clamp(1.6rem, 4vw, 4rem);
  left: clamp(1rem, 4vw, 4rem);
  color: rgba(255, 248, 231, 0.08);
  font-family: var(--font-display);
  font-size: clamp(9rem, 25vw, 32rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.7;
  pointer-events: none;
}

.project-intake--file {
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 211, 61, 0.3), transparent 19rem),
    radial-gradient(circle at 100% 76%, rgba(87, 216, 255, 0.18), transparent 26rem),
    var(--ink);
}

.project-intake--file::before {
  right: auto;
  bottom: auto;
  left: -12vw;
  top: -22vw;
  border-color: rgba(255, 211, 61, 0.18);
}

.project-intake--file .project-intake__chat {
  border-color: var(--yellow);
  background: var(--yellow);
}

.project-intake--file .project-intake__file-ui {
  background: rgba(255, 211, 61, 0.16);
}

.project-intake__shell {
  position: relative;
  z-index: 2;
  display: grid;
  max-width: 1480px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.74fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}

.project-intake__copy {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  display: grid;
  gap: clamp(1rem, 1.8vw, 1.6rem);
}

.project-intake .section-label {
  color: var(--green);
}

.project-intake h2,
.project-intake h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.86;
  text-transform: lowercase;
}

.project-intake h2 {
  max-width: 11ch;
  color: var(--cream-2);
  font-size: clamp(4.2rem, 9vw, 11rem);
}

.project-intake__copy > p:not(.section-label) {
  max-width: 42rem;
  margin: 0;
  color: rgba(255, 248, 231, 0.78);
  font-size: clamp(1.05rem, 1.45vw, 1.45rem);
  font-weight: 780;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.project-intake__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  max-width: 42rem;
}

.project-intake__checks span,
.project-intake__chat {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid rgba(255, 248, 231, 0.34);
  border-radius: 999px;
  padding: 0 1rem;
  background: rgba(255, 248, 231, 0.08);
  color: var(--cream-2);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: lowercase;
}

.project-intake__chat {
  width: fit-content;
  border-color: var(--green);
  background: var(--green);
  color: var(--ink);
}

.project-intake__form {
  display: grid;
  gap: 0.78rem;
  border: var(--happly-border);
  border-radius: var(--happly-radius);
  padding: clamp(1rem, 2vw, 1.55rem);
  background: var(--cream-2);
  color: var(--ink);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.project-intake__form-head {
  display: grid;
  gap: 0.45rem;
  border-bottom: var(--happly-border);
  padding-bottom: 1rem;
}

.project-intake__form-head .tag {
  color: var(--green-deep);
}

.project-intake__form h3 {
  max-width: 14ch;
  color: var(--ink);
  font-size: clamp(1.85rem, 3vw, 3.2rem);
}

.project-intake__fields {
  display: grid;
  gap: 0.72rem;
}

.project-intake__fields--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-intake__fields--three {
  grid-template-columns: 0.72fr 1fr 1fr;
}

.project-intake__form label {
  display: grid;
  gap: 0.42rem;
  color: rgba(28, 28, 26, 0.72);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: -0.01em;
  text-transform: lowercase;
}

.project-intake__form .field-hint {
  color: rgba(28, 28, 26, 0.48);
  font-size: 0.74rem;
  font-weight: 760;
}

.project-intake__form input,
.project-intake__form select,
.project-intake__form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(28, 28, 26, 0.22);
  border-radius: 1rem;
  outline: 0;
  padding: 0.78rem 0.88rem;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 750;
  text-transform: none;
}

.project-intake__form textarea {
  min-height: 6.8rem;
  resize: vertical;
  line-height: 1.25;
}

.project-intake__form input:focus,
.project-intake__form select:focus,
.project-intake__form textarea:focus {
  border-color: var(--green-deep);
  box-shadow: 0 0 0 4px rgba(183, 255, 74, 0.42);
}

.project-intake__file {
  cursor: pointer;
}

.project-intake__file-input {
  position: absolute;
  width: 1px !important;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.project-intake__file-ui {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border: 1px dashed rgba(28, 28, 26, 0.28);
  border-radius: 1rem;
  padding: 0.7rem 0.8rem;
  background: rgba(183, 255, 74, 0.12);
}

.project-intake__file-ui strong {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 0.9rem;
  background: var(--ink);
  color: var(--cream-2);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
}

.project-intake__file-ui em {
  overflow: hidden;
  min-width: 0;
  color: rgba(28, 28, 26, 0.55);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-intake__optional {
  border: 1px solid rgba(28, 28, 26, 0.16);
  border-radius: 1.05rem;
  padding: 0;
  background: rgba(255, 255, 255, 0.4);
}

.project-intake__optional summary {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0 0.95rem;
  color: rgba(28, 28, 26, 0.68);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 900;
  list-style: none;
  text-transform: lowercase;
}

.project-intake__optional summary::-webkit-details-marker {
  display: none;
}

.project-intake__optional summary::after {
  content: "+";
  display: inline-grid;
  width: 1.7rem;
  height: 1.7rem;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream-2);
  font-size: 1rem;
  line-height: 1;
}

.project-intake__optional[open] {
  padding-bottom: 0.85rem;
}

.project-intake__optional[open] summary::after {
  content: "-";
}

.project-intake__optional > label,
.project-intake__optional > .project-intake__fields {
  margin: 0 0.85rem 0.78rem;
}

.project-intake__message {
  min-height: 1.25em;
  margin: 0;
  color: rgba(28, 28, 26, 0.62);
  font-size: 0.92rem;
  font-weight: 820;
  letter-spacing: -0.01em;
  line-height: 1.18;
}

.project-intake__message[data-tone="info"] {
  color: var(--green-deep);
}

.project-intake__message[data-tone="success"] {
  color: var(--green-deep);
}

.project-intake__message[data-tone="error"] {
  color: #d6452f;
}

.project-intake__form button {
  min-height: 64px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0 1.4rem;
  background: var(--ink);
  color: var(--cream-2);
  cursor: pointer;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: lowercase;
}

.project-intake__form button:disabled {
  cursor: wait;
  opacity: 0.64;
}

@media (max-width: 980px) {
  .project-intake__shell {
    grid-template-columns: 1fr;
  }

  .project-intake__copy {
    position: relative;
    top: auto;
  }

  .project-intake__fields--three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .project-intake__fields--two {
    grid-template-columns: 1fr;
  }

  .project-intake h2 {
    font-size: clamp(3.3rem, 16vw, 5.4rem);
  }
}

.shop-front {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(0.85rem, 1.4vw, 1.2rem);
  margin-bottom: clamp(1rem, 2vw, 1.6rem);
}

.shop-section {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  scroll-margin-top: calc(var(--header-height) + 1.2rem);
  padding-top: 0;
  background: var(--cream-2);
}

#studio,
#loja,
#enviar-arquivo,
#encomendar-projeto,
#blog,
#faq,
#parceiros,
#gallery-catalog-title {
  scroll-margin-top: calc(var(--header-height) + 1.2rem);
}

#studio {
  scroll-margin-top: var(--header-height);
}

.shop-breath {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin: 0 0 clamp(44px, 5vw, 72px);
  margin-left: calc(50% - 50vw);
  border-top: var(--happly-border);
  border-bottom: var(--happly-border);
  padding: 0;
  background: var(--yellow);
}

.shop-breath::before,
.shop-breath::after {
  position: absolute;
  z-index: 0;
  display: block;
  width: min(76vw, 980px);
  aspect-ratio: 1708 / 731;
  background: url("logo-outline-21zero5.png") center / contain no-repeat;
  content: "";
  opacity: 0.035;
  pointer-events: none;
}

.shop-breath::before {
  top: -28%;
  right: -16%;
  transform: rotate(-7deg);
}

.shop-breath::after {
  bottom: -34%;
  left: -22%;
  transform: rotate(8deg);
}

.shop-breath__heading {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: clamp(210px, 27vw, 380px);
  align-items: center;
  width: 100vw;
  max-width: none;
  margin: 0;
  overflow: hidden;
  padding: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(92px, 13.6vw, 230px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: normal;
  text-transform: lowercase;
  white-space: nowrap;
}

.shop-breath__track {
  display: inline-block;
  width: max-content;
  max-width: none;
  padding-right: 0.12em;
  will-change: transform;
}

.shop-breath__track > span {
  display: inline-block;
  flex: 0 0 auto;
}

.shop-breath__announc {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-color: var(--hard-line);
  background: var(--ink);
  color: var(--cream-2);
  min-height: clamp(42px, 4.4vw, 52px);
  font-size: clamp(0.88rem, 1.05vw, 1.05rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.shop-breath__announc--top {
  border-bottom: var(--happly-border);
}

.shop-breath__announc--bottom {
  border-top: var(--happly-border);
}

.shop-breath__announc-track {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  min-height: clamp(42px, 4.4vw, 52px);
  padding: 0;
  animation: breathAnnounc 24s linear infinite;
  will-change: transform;
}

.shop-breath__announc--bottom .shop-breath__announc-track {
  animation-direction: reverse;
  animation-duration: 28s;
}

.shop-breath__announc p {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: clamp(42px, 4.4vw, 52px);
  border-right: clamp(1.8rem, 4vw, 3rem) solid transparent;
  border-left: clamp(1.8rem, 4vw, 3rem) solid transparent;
  margin: 0;
  white-space: nowrap;
}

.shop-breath__announc p::after {
  position: absolute;
  top: 50%;
  right: calc((clamp(1.8rem, 4vw, 3rem) + 0.2rem) * -1);
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: var(--green);
  content: "";
  transform: translateY(-50%);
}

@keyframes breathAnnounc {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.shop-section > .section-heading {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  order: 1;
}

.shop-section > .shop-breath {
  order: 0;
}

.shop-section > .shop-front {
  order: 2;
}

.shop-section > .gallery-catalog {
  order: 3;
}

.shop-section > .gallery-shelf {
  order: 4;
}

.section-step-number {
  position: absolute;
  top: -0.06em;
  right: clamp(0.4rem, 3vw, 2rem);
  color: rgba(28, 28, 26, 0.09);
  font-family: var(--font-display);
  font-size: clamp(10rem, 23vw, 27rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.72;
  pointer-events: none;
}

.shop-front__hero,
.shop-front__proof article {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: var(--happly-border);
  border-radius: var(--happly-radius);
  background: #fffdf4;
}

.shop-front__hero {
  display: grid;
  min-height: clamp(26rem, 45svh, 38rem);
  align-content: space-between;
  padding: clamp(1.4rem, 2.4vw, 2.4rem);
}

.shop-front__hero::before {
  position: absolute;
  right: -12%;
  bottom: -20%;
  z-index: -1;
  width: min(48vw, 42rem);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 48% 42%, rgba(255, 255, 255, 0.76), transparent 22%),
    var(--green);
  content: "";
}

.shop-front__hero h3 {
  max-width: 920px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 6.8vw, 8.8rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.82;
  text-transform: lowercase;
}

.shop-front__hero p:not(.section-label) {
  max-width: 42rem;
  margin: clamp(1rem, 1.8vw, 1.4rem) 0 0;
  color: rgba(28, 28, 26, 0.72);
  font-size: clamp(1rem, 1.28vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.16;
}

.shop-front__hero a {
  width: fit-content;
  border: var(--happly-border);
  border-radius: 999px;
  padding: 0.74rem 1.05rem;
  background: var(--ink);
  color: var(--cream-2);
  font-size: var(--button-pill-font-size);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: lowercase;
}

.shop-front__proof {
  display: grid;
  gap: clamp(0.85rem, 1.4vw, 1.2rem);
}

.shop-front__proof article {
  display: grid;
  min-height: 0;
  align-content: space-between;
  gap: 0.8rem;
  padding: clamp(1.1rem, 1.8vw, 1.6rem);
}

.shop-front__proof article::before {
  position: absolute;
  right: -3.4rem;
  bottom: -4.8rem;
  z-index: -1;
  width: 11rem;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: var(--card-accent, var(--yellow));
  content: "";
  opacity: 0.78;
}

.shop-front__proof article:nth-child(2) {
  --card-accent: var(--blue);
}

.shop-front__proof article:nth-child(3) {
  --card-accent: var(--pink);
}

.shop-front__proof span {
  width: fit-content;
  border: var(--happly-border);
  border-radius: 999px;
  padding: 0.42rem 0.7rem;
  background: var(--cream);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  text-transform: lowercase;
}

.shop-front__proof strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.8vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.9;
  text-transform: lowercase;
}

.shop-front__proof p {
  max-width: 24rem;
  margin: 0;
  color: rgba(28, 28, 26, 0.72);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.12;
}

.shop-section > .gallery-product[data-product-id="luminaria-ondulante"] {
  order: 5;
  display: none;
}

@media (max-width: 920px) {
  .shop-breath {
    margin-bottom: 44px;
  }

  .shop-breath__heading {
    font-size: clamp(54px, 15vw, 72px);
  }

  .shop-front {
    grid-template-columns: 1fr;
  }

  .shop-front__hero {
    min-height: 28rem;
  }
}

/* Happly b-marquee + b-cards adaptation for the Studio section. */
.studio-marquee {
  position: relative;
  z-index: 5;
  display: flex;
  min-height: clamp(22rem, 56svh, 42rem);
  align-items: center;
  overflow: hidden;
  margin: 0;
  border-top: var(--happly-border);
  background:
    var(--texture-image),
    var(--cream);
  background-repeat:
    repeat,
    no-repeat;
  background-size:
    var(--texture-size),
    100% 100%;
  background-blend-mode:
    multiply,
    normal;
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.studio-marquee__heading {
  width: 100%;
  overflow: visible;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(4rem, 10.8vw, 11.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: lowercase;
  white-space: nowrap;
}

.studio-marquee__heading span {
  display: inline-block;
  will-change: transform;
}

.studio-cards {
  position: relative;
  z-index: 5;
  margin: 0;
  border-bottom: var(--happly-border);
  background:
    var(--texture-image),
    var(--cream);
  background-repeat:
    repeat,
    no-repeat;
  background-size:
    var(--texture-size),
    100% 100%;
  background-blend-mode:
    multiply,
    normal;
  padding: clamp(0.8rem, 2vw, 1.6rem) 0 clamp(4rem, 8vw, 8rem);
}

.studio-cards .wrapper {
  max-width: calc(100% - 1.5rem);
}

.studio-cards__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  list-style: none;
}

.studio-cards__li {
  min-width: 0;
}

.studio-cards__item {
  position: relative;
  isolation: isolate;
  height: 100%;
  overflow: hidden;
  border: var(--happly-border);
  border-radius: var(--happly-radius);
  background: #fff;
}

.studio-cards__item::before {
  position: absolute;
  right: -5%;
  bottom: -12%;
  z-index: -1;
  width: 54%;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: var(--studio-card-accent, var(--green));
  content: "";
  opacity: 0.86;
}

.studio-cards__item.image .studio-cards__item__holder {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
}

.studio-cards__item figure {
  display: none;
}

.studio-cards__item__holder {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: clamp(1.2rem, 2vw, 2rem);
}

.studio-cards__item__heading {
  margin: 0 auto auto 0;
  font-size: clamp(5.4rem, 8.98vw, 9.2rem);
  letter-spacing: -0.04em;
  line-height: 0.86;
}

.studio-cards__item__content {
  max-width: 33.1rem;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 1.55vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-transform: lowercase;
}

.studio-cards__li:first-of-type .studio-cards__item__content,
.studio-cards__li:nth-of-type(4) .studio-cards__item__content {
  font-size: clamp(1.8rem, 2.65vw, 2.8rem);
  letter-spacing: -0.02em;
  line-height: 1;
}

.studio-cards__li:nth-of-type(3) .studio-cards__item {
  --studio-card-accent: var(--blue);
  background: #fff;
}

.studio-cards__li:nth-of-type(3) .studio-cards__item__holder {
  gap: 0.5rem;
  justify-content: flex-end;
}

.studio-cards__li:nth-of-type(4) .studio-cards__item {
  text-align: center;
}

.studio-cards__li:nth-of-type(4) .studio-cards__item__holder {
  padding: clamp(2.5rem, 3.6vw, 4rem) clamp(2rem, 3.2vw, 3.7rem);
}

.studio-cards__li:nth-of-type(4) .studio-cards__item__content {
  max-width: 100%;
  margin: auto;
}

.studio-cards__li:nth-of-type(5) .studio-cards__item__content {
  max-width: 25rem;
}

.studio-cards__li:first-of-type .studio-cards__item {
  --studio-card-accent: var(--green);
  background: var(--cream-2);
}

.studio-cards__li:first-of-type .studio-cards__item__holder {
  justify-content: flex-start;
}

.studio-cards__li:first-of-type .studio-cards__item__content {
  max-width: 24rem;
}

.studio-cards__li:nth-of-type(5) .studio-cards__item {
  --studio-card-accent: var(--pink);
  background: #fff;
}

.studio-cards__li:nth-of-type(5) .studio-cards__item__holder {
  justify-content: space-between;
}

@media (min-width: 576px) {
  .studio-cards {
    margin: 0;
  }

  .studio-cards .wrapper {
    max-width: calc(100% - 4rem);
  }

  .studio-cards__list {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(2, minmax(22rem, 29.4rem));
    gap: 1.2rem;
  }

  .studio-cards__li:first-of-type {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }

  .studio-cards__li:nth-of-type(2) {
    grid-column: 3 / 5;
    grid-row: 1 / 2;
  }

  .studio-cards__li:nth-of-type(3) {
    grid-column: 5 / 9;
    grid-row: 1 / 2;
  }

  .studio-cards__li:nth-of-type(4) {
    grid-column: 3 / 6;
    grid-row: 2 / 3;
  }

  .studio-cards__li:nth-of-type(5) {
    grid-column: 6 / 9;
    grid-row: 2 / 3;
  }

  .studio-cards__li:nth-of-type(2) .studio-cards__item,
  .studio-cards__li:nth-of-type(5) .studio-cards__item {
    height: 29.4rem;
  }

  .studio-cards__li:nth-of-type(2) .studio-cards__item {
    --studio-card-accent: var(--yellow);
  }

  .studio-cards__li:nth-of-type(4) .studio-cards__item {
    --studio-card-accent: var(--coral);
  }

  .studio-cards__li:nth-of-type(3) .studio-cards__item {
    padding-top: 0;
  }

  .studio-cards__li:nth-of-type(3) .studio-cards__item__holder {
    right: 2rem;
    left: auto;
    max-width: 22.4rem;
    margin-left: auto;
    padding: 0;
    justify-content: center;
  }

  .studio-cards__li:nth-of-type(4) .studio-cards__item__content {
    font-size: clamp(2.6rem, 3.4vw, 3.9rem);
    letter-spacing: -0.03em;
    line-height: 0.96;
  }
}

@media (max-width: 575.98px) {
  .studio-marquee {
    padding-top: 4rem;
    padding-bottom: 3rem;
  }

  .studio-cards__item {
    min-height: 22rem;
  }

  .studio-marquee {
    min-height: 34svh;
  }
}

/* Product modal CTAs: keep purchase actions large enough after global button rules. */
#produto-viewer .product-viewer-fixed-actions {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 16px 18px;
  max-width: 100%;
  overflow: visible;
}

#produto-viewer .product-viewer-fixed-actions > button {
  min-height: 80px;
  gap: 12px;
  border-width: 2px;
  padding-inline: clamp(18px, 2.2vw, 30px);
  font-size: clamp(1rem, 1.12vw, 1.14rem);
  font-weight: 900;
  min-width: 0;
  box-sizing: border-box;
  text-transform: none;
}

#produto-viewer .product-viewer-fixed-actions > button:first-of-type {
  justify-content: flex-start;
}

#produto-viewer .product-viewer-fixed-actions > button:last-of-type {
  justify-content: center;
}

#produto-viewer .product-viewer-fixed-actions .gallery-action-icon {
  width: 42px;
  height: 42px;
}

#produto-viewer .product-viewer-fixed-actions .gallery-action-icon svg {
  width: 21px;
  height: 21px;
}

#produto-viewer .product-viewer-fixed-actions .gallery-action-main {
  display: block;
  font-size: clamp(1.02rem, 1.08vw, 1.12rem);
  line-height: 1;
  white-space: nowrap;
}

#produto-viewer .product-viewer-fixed-actions .gallery-action-price {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: rgba(255, 248, 231, 0.84);
  font-size: 0.78rem;
  letter-spacing: 0;
  line-height: 1.05;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

#produto-viewer .product-viewer-fixed-actions .gallery-action-copy {
  min-width: 0;
  max-width: 100%;
}

#produto-viewer .product-viewer-fixed-actions [data-cart-open] {
  min-width: 0;
  text-align: center;
}

/* Product viewer conversion pass: optional extras should feel optional, not like a broken required step. */
#produto-viewer .product-viewer-panel .gallery-config {
  gap: clamp(20px, 2.8vw, 30px);
}

#produto-viewer .product-viewer-panel .gallery-config-group[data-gallery-optional] {
  gap: 12px;
  border-radius: 22px;
  padding: 16px;
}

#produto-viewer .product-viewer-panel .gallery-config-group[data-gallery-optional] legend {
  margin-bottom: 0;
  margin-left: 8px;
  padding: 0 10px;
  background: var(--cream-2);
  font-size: clamp(1.08rem, 1.34vw, 1.34rem);
}

#produto-viewer .product-viewer-panel [data-gallery-group="inscricao"] .gallery-addon-option {
  display: grid;
  min-height: 84px;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border-radius: 18px;
  padding: 14px 16px;
  font-weight: 760;
  line-height: 1.08;
}

#produto-viewer .product-viewer-panel [data-gallery-group="inscricao"] .gallery-addon-option span {
  margin-left: 0;
}

#produto-viewer .product-viewer-panel [data-gallery-group="inscricao"] .gallery-addon-copy strong {
  font-size: clamp(1rem, 1.18vw, 1.14rem);
}

#produto-viewer .product-viewer-panel [data-gallery-group="inscricao"] .gallery-addon-copy em {
  font-size: 0.78rem;
}

#produto-viewer .product-viewer-panel [data-gallery-group="inscricao"] .gallery-addon-price {
  font-size: 0.82rem;
}

#produto-viewer .product-viewer-panel .gallery-config-group[data-gallery-optional] .gallery-detail-field {
  max-width: min(100%, 360px);
}

#produto-viewer .product-viewer-panel [data-gallery-group="inscricao"] .gallery-addon-color-field {
  margin-top: 2px;
}

#produto-viewer .product-viewer-panel [data-gallery-group="inscricao"] .gallery-addon-colors {
  gap: 7px;
}

#produto-viewer .product-viewer-panel [data-gallery-group="inscricao"] .gallery-addon-colors button {
  min-height: 34px;
  font-size: 0.74rem;
}

@media (max-width: 760px) {
  .topbar {
    display: none;
  }

  #studio,
  #loja,
  #enviar-arquivo,
  #encomendar-projeto,
  #blog,
  #faq,
  #parceiros,
  #gallery-catalog-title {
    scroll-margin-top: calc(var(--header-height) + 0.75rem);
  }

  .hero-route-chips {
    max-width: 22rem;
    margin-inline: auto;
  }

  .hero-route-chips span {
    min-height: 30px;
    padding-inline: 0.68rem;
    font-size: 0.72rem;
  }

  .quote-modal.custom-flow {
    padding: 8px;
  }

  .quote-modal .modal-shell {
    width: calc(100vw - 16px);
    height: calc(100svh - 16px);
    min-height: 0;
    grid-template-rows: auto minmax(0, 1fr);
    border-radius: 20px;
  }

  .quote-modal .modal-topbar {
    min-height: 58px;
    padding: 8px 12px;
  }

  .quote-modal .modal-topbar p {
    display: none;
  }

  .quote-modal .wizard-chat {
    max-height: 44svh;
    padding: 16px;
  }

  .quote-modal .wizard-chat h2 {
    max-width: 12ch;
    font-size: clamp(2.1rem, 12vw, 3.4rem);
  }

  .quote-modal .wizard-chat > p:not(.section-label) {
    font-size: 0.9rem;
  }

  .quote-modal .wizard-chat-log {
    max-height: 130px;
  }

  .quote-modal .flow-panel {
    overflow: auto;
  }

  .quote-modal .steps {
    position: sticky;
    z-index: 3;
    top: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 10px;
  }

  .quote-modal .flow-panel .steps button {
    min-height: 36px;
    padding: 0 6px;
    font-size: 0.72rem;
  }

  .quote-modal .quote-preview {
    padding: 14px;
  }

  #produto-viewer .product-viewer-fixed-actions {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  #produto-viewer .product-viewer-fixed-actions > button {
    min-height: 64px;
    justify-content: center;
  }
}

/* Text clipping audit: keep display glyphs and giant step numbers from being cropped. */
.section-heading,
.gallery-shelf-heading,
.gallery-catalog-head,
.shop-section > .section-heading {
  overflow: visible;
}

.section-heading h2,
.gallery-shelf-heading h3,
.gallery-catalog-head h3,
.section.intro h2,
.stack-slide h3,
.production-portal__intro h2,
.project-intake h2,
.project-intake h3,
.shop-front__hero h3,
.b-ctaimages__heading,
.hero-ctaimages .b-ctaimages__heading,
.operations h2,
.faq h2 {
  overflow: visible;
  line-height: 0.92;
  padding-top: 0.02em;
  padding-bottom: 0.1em;
}

.quote-modal .quote-copy h3,
.blog-card h3,
.product-card h3,
.gallery-feature-card h3,
.operations h3 {
  overflow: visible;
  line-height: 1;
  padding-bottom: 0.06em;
}

.section-step-number {
  top: 0;
  overflow: visible;
  line-height: 1;
  padding-top: 0.04em;
}

.step-watermark,
.production-path__number {
  overflow: visible;
  line-height: 1;
  padding-top: 0.04em;
  padding-bottom: 0.02em;
}

/* Loja polish: clearer controls, stronger prices, and pagination that carries the range. */
.gallery-catalog-tools {
  align-self: end;
}

.gallery-catalog-tools p {
  font-size: clamp(0.98rem, 1.25vw, 1.15rem);
}

.product-card .product-price-stack {
  width: calc(100% - (var(--happly-space, 16px) * 2));
  margin: 0 var(--happly-space, 16px) 16px;
  padding: 12px 14px;
}

.product-card .product-price-stack .price {
  padding: 0;
}

.product-card:hover .product-price-stack,
.product-card:hover .product-price-stack > span,
.product-card:hover .price-compare {
  color: var(--cream-2);
}

.product-card:hover .product-price-stack {
  border-color: rgba(255, 248, 231, 0.32);
  background: rgba(255, 248, 231, 0.12);
}

.product-card a {
  --button-bg: var(--ink);
  --button-fill: var(--green);
  --button-text: var(--cream-2);
  --button-hover-text: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream-2);
  box-shadow: 0 10px 24px rgba(28, 28, 26, 0.16);
}

.product-card:hover a {
  --button-bg: var(--cream-2);
  --button-fill: var(--green);
  --button-text: var(--ink);
  --button-hover-text: var(--ink);
  border-color: var(--ink);
  background: var(--cream-2);
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(28, 28, 26, 0.22);
}

.product-card a::before {
  background: var(--button-bg);
}

.product-card a::after {
  background: var(--button-fill);
}

.gallery-pagination {
  margin-top: 6px;
}

.gallery-pagination p {
  order: 2;
}

.gallery-pagination-row {
  order: 3;
}

.gallery-pagination-track {
  order: 1;
}

@media (max-width: 767px) {
  .gallery-catalog-head {
    grid-template-columns: 1fr;
  }

  .gallery-catalog-tools {
    justify-items: stretch;
  }

  .gallery-catalog-tools p {
    text-align: left;
  }

  .gallery-catalog-tools label {
    justify-content: space-between;
  }

  .gallery-catalog-tools select {
    min-width: 0;
    width: 100%;
  }

  .gallery-pagination {
    grid-template-columns: 1fr;
  }

  .gallery-pagination p {
    text-align: center;
  }
}

/* Quote assistant rebuild: scoped, conversion-led, and intentionally not a generic AI chat. */
.quote-modal.custom-flow {
  padding: clamp(10px, 1.7vw, 22px);
  background:
    radial-gradient(circle at 22% 8%, rgba(183, 255, 74, 0.18), transparent 20rem),
    rgba(10, 10, 9, 0.72);
}

.quote-modal .modal-shell {
  width: min(1240px, calc(100vw - clamp(18px, 3vw, 42px)));
  height: min(790px, calc(100svh - clamp(18px, 3vw, 42px)));
  grid-template-columns: minmax(380px, 0.46fr) minmax(500px, 0.54fr);
  grid-template-rows: 66px minmax(0, 1fr);
  overflow: hidden;
  border: 1.5px solid rgba(255, 248, 231, 0.24);
  border-radius: 26px;
  background: var(--cream-2);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.48);
}

.quote-modal .modal-topbar {
  border-bottom: 1.5px solid var(--ink);
  padding: 10px 18px;
  background: var(--cream-2);
}

.quote-modal .modal-topbar .brand img {
  height: 32px;
}

.quote-modal .modal-topbar p {
  max-width: min(56vw, 620px);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: var(--weight-ui);
  letter-spacing: -0.01em;
  text-align: center;
}

.quote-modal .modal-close {
  width: 50px;
  height: 50px;
  min-height: 50px;
  border: 0;
  background: var(--ink);
  color: var(--cream-2);
  box-shadow: none;
}

.quote-modal .wizard-chat {
  min-height: 0;
  grid-template-rows: auto auto auto minmax(128px, 1fr) auto auto auto;
  gap: 14px;
  overflow: auto;
  border-right: 1.5px solid var(--ink);
  padding: clamp(22px, 2.8vw, 34px);
  background:
    radial-gradient(circle at 12% 92%, rgba(183, 255, 74, 0.16), transparent 18rem),
    linear-gradient(145deg, #11120f, #1c1c1a);
}

.quote-modal .wizard-chat .section-label {
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.quote-modal .wizard-chat h2 {
  max-width: 9.5ch;
  color: var(--cream-2);
  font-size: clamp(3rem, 4.7vw, 5.25rem);
  line-height: 0.86;
  letter-spacing: -0.055em;
}

.quote-modal .wizard-chat > p:not(.section-label) {
  max-width: 37rem;
  color: rgba(255, 248, 231, 0.76);
  font-size: clamp(0.96rem, 1.05vw, 1.05rem);
  font-weight: var(--weight-copy);
  line-height: 1.28;
}

.quote-modal .wizard-request {
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(183, 255, 74, 0.66);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  background: rgba(183, 255, 74, 0.12);
  color: var(--green);
  font-weight: 820;
}

.quote-modal .wizard-chat-log {
  min-height: 126px;
  max-height: 240px;
  gap: 10px;
  overflow: auto;
  border: 1px solid rgba(255, 248, 231, 0.14);
  border-radius: 22px;
  padding: 12px;
  background: rgba(255, 248, 231, 0.045);
  scrollbar-color: var(--green) rgba(255, 248, 231, 0.12);
}

.quote-modal .wizard-chat .chat-message {
  max-width: min(94%, 33rem);
  border: 1px solid transparent;
  border-radius: 18px;
  padding: 13px 15px;
  font-size: 0.98rem;
  font-weight: var(--weight-copy);
  line-height: 1.28;
}

.quote-modal .wizard-chat .chat-message.is-bot {
  background: rgba(255, 248, 231, 0.95);
  color: var(--ink);
}

.quote-modal .wizard-chat .chat-message.is-user {
  align-self: flex-end;
  background: var(--green);
  color: var(--ink);
  font-weight: var(--weight-ui);
  box-shadow: 4px 4px 0 rgba(183, 255, 74, 0.25);
}

.quote-modal .wizard-composer {
  grid-template-columns: 44px minmax(0, 1fr) 50px;
  gap: 8px;
  border: 1.5px solid rgba(255, 248, 231, 0.76);
  border-radius: 999px;
  padding: 8px;
  background: var(--cream-2);
}

.quote-modal .wizard-composer textarea {
  min-height: 44px;
  max-height: 116px;
  padding: 12px 4px;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: var(--weight-ui);
}

.quote-modal .wizard-composer .chat-icon-button,
.quote-modal .wizard-composer .chat-send-button {
  width: 44px;
  height: 44px;
  min-height: 44px;
}

.quote-modal .wizard-composer .chat-icon-button {
  border: 1px solid rgba(28, 28, 26, 0.14);
  background: rgba(28, 28, 26, 0.06);
  color: var(--ink);
}

.quote-modal .wizard-composer .chat-send-button {
  border-color: var(--ink);
  background: var(--green);
  color: var(--ink);
}

.quote-modal .modal-prompts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.quote-modal .modal-prompts button {
  min-height: 48px;
  border: 1px solid rgba(255, 248, 231, 0.48);
  border-radius: 16px;
  padding: 0 12px;
  background: rgba(255, 248, 231, 0.94);
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 860;
  line-height: 1;
  text-align: center;
}

.quote-modal .modal-prompts button:hover {
  border-color: var(--green);
  background: var(--green);
}

.wizard-scope {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.wizard-scope span {
  border: 1px solid rgba(255, 248, 231, 0.12);
  border-radius: 14px;
  padding: 10px;
  color: rgba(255, 248, 231, 0.7);
  font-size: 0.72rem;
  font-weight: var(--weight-copy);
  line-height: 1.15;
}

.quote-modal .flow-panel {
  display: grid;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  background: var(--cream-2);
}

.quote-modal .steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border-bottom: 1.5px solid var(--ink);
  padding: 14px clamp(18px, 2.5vw, 28px);
  background: var(--cream-2);
}

.quote-modal .flow-panel .steps button {
  min-height: 44px;
  border: 1.5px solid rgba(28, 28, 26, 0.18);
  border-radius: 999px;
  padding: 0 14px;
  background: white;
  color: rgba(28, 28, 26, 0.68);
  font-size: 0.86rem;
  font-weight: 880;
}

.quote-modal .flow-panel .steps button.is-active {
  border-color: var(--ink);
  background: var(--yellow);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(28, 28, 26, 0.12);
}

.quote-modal .quote-preview {
  display: grid;
  min-height: 0;
  grid-template-rows: auto auto minmax(0, 1fr);
  overflow: auto;
  padding: clamp(18px, 2.4vw, 28px);
}

.quote-modal .quote-copy {
  border-bottom: 1.5px solid rgba(28, 28, 26, 0.16);
  margin-bottom: 14px;
  padding-bottom: 14px;
}

.quote-modal .quote-copy .tag {
  color: var(--orange);
  font-size: 0.74rem;
  font-weight: 900;
}

.quote-modal .quote-copy h3 {
  max-width: 15ch;
  font-size: clamp(2.1rem, 3.35vw, 3.35rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.quote-modal .quote-path-summary {
  display: grid;
  gap: 0.44rem;
  border: 1.5px solid rgba(28, 28, 26, 0.14);
  border-radius: 20px;
  margin-bottom: 16px;
  padding: 16px;
  background: color-mix(in srgb, var(--green) 18%, var(--cream-2));
}

.quote-modal .quote-path-summary strong {
  color: var(--ink);
  font-size: 1.06rem;
  font-weight: 900;
  line-height: 1;
}

.quote-modal .quote-path-summary p {
  max-width: 46rem;
  margin: 0;
  color: rgba(28, 28, 26, 0.68);
  font-size: 0.94rem;
  font-weight: var(--weight-copy);
  line-height: 1.22;
}

.quote-modal .quote-form {
  display: grid;
  min-height: 0;
  gap: 16px;
}

.quote-modal .quote-form.is-hidden {
  display: none;
}

.quote-modal .quote-wizard-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border: 1.5px solid rgba(28, 28, 26, 0.12);
  border-radius: 18px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.5);
}

.quote-modal .quote-wizard-steps button,
.quote-modal .quote-wizard-actions button {
  min-height: 42px;
  border: 0;
  border-radius: 14px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 850;
}

.quote-modal .quote-wizard-steps button.is-active,
.quote-modal .quote-wizard-actions button:last-child {
  background: var(--ink);
  color: var(--cream-2);
}

.quote-modal .quote-step-panel {
  display: none;
  min-height: 0;
}

.quote-modal .quote-step-panel.is-active {
  display: grid;
  gap: 14px;
}

.quote-modal .shop-suggestions {
  display: grid;
  gap: 10px;
}

.quote-modal .suggestion-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1.5px solid rgba(28, 28, 26, 0.18);
  border-radius: 20px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.quote-modal .suggestion-card img {
  width: 74px;
  height: 74px;
  border-radius: 14px;
  object-fit: cover;
}

.quote-modal .suggestion-card p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.quote-modal .suggestion-card strong {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1;
}

.quote-modal .suggestion-card span {
  color: rgba(28, 28, 26, 0.66);
  font-size: 0.86rem;
  font-weight: var(--weight-copy);
  line-height: 1.2;
}

.quote-modal .suggestion-card button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  background: var(--ink);
  color: var(--cream-2);
  font-size: 0.84rem;
  font-weight: 900;
}

.quote-modal .quote-form label,
.quote-modal .config-section,
.quote-modal .optional-note {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1.25px solid rgba(28, 28, 26, 0.12);
  border-radius: 18px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.58);
  color: rgba(28, 28, 26, 0.74);
  font-size: 0.78rem;
  font-weight: 780;
  line-height: 1.1;
}

.quote-modal .quote-form input,
.quote-modal .quote-form select,
.quote-modal .quote-form textarea {
  width: 100%;
  border: 1.25px solid rgba(28, 28, 26, 0.16);
  border-radius: 14px;
  padding: 13px 14px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: var(--weight-copy);
}

.quote-modal .quote-form input:focus,
.quote-modal .quote-form select:focus,
.quote-modal .quote-form textarea:focus {
  border-color: var(--green-deep);
  outline: 3px solid rgba(183, 255, 74, 0.28);
}

.quote-modal .file-field {
  border-style: dashed;
  background: rgba(255, 255, 255, 0.72);
}

.quote-modal .file-upload-ui {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px dashed rgba(28, 28, 26, 0.22);
  border-radius: 16px;
  padding: 0 14px;
  background: var(--cream-2);
}

.quote-modal .file-upload-ui b {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
}

.quote-modal .file-upload-ui em {
  color: rgba(28, 28, 26, 0.55);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: var(--weight-copy);
}

.quote-modal .field-grid {
  gap: 12px;
}

.quote-modal .size-options,
.quote-modal .color-options {
  gap: 8px;
}

.quote-modal .size-option,
.quote-modal .color-option {
  min-height: 48px;
  border: 1.25px solid rgba(28, 28, 26, 0.14);
  background: white;
  color: var(--ink);
  font-weight: 820;
}

.quote-modal .size-option.is-selected,
.quote-modal .color-option.is-selected {
  border-color: var(--ink);
  background: var(--yellow);
}

.quote-modal .optional-note summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
}

.quote-modal .modal-product-map,
.quote-modal .modal-ready-config {
  border: 1.25px solid rgba(28, 28, 26, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.56);
}

.quote-modal .modal-ready-config .gallery-config {
  max-width: none;
}

.quote-modal .quote-wizard-actions {
  display: grid;
  grid-template-columns: auto minmax(160px, 1fr);
  gap: 10px;
  margin-top: 2px;
}

.quote-modal .quote-wizard-actions button[hidden] {
  display: none;
}

.quote-modal .quote-submit {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
  box-shadow: 0 14px 28px rgba(28, 28, 26, 0.16);
}

.quote-modal .form-message {
  min-height: 1.2em;
  color: var(--green-deep);
  font-weight: 800;
}

@media (max-width: 940px) {
  .quote-modal .modal-shell {
    width: calc(100vw - 16px);
    height: calc(100svh - 16px);
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(270px, 0.46fr) minmax(0, 0.54fr);
  }

  .quote-modal .wizard-chat {
    max-height: 42svh;
    border-right: 0;
    border-bottom: 1.5px solid var(--ink);
    padding: 16px;
  }

  .quote-modal .wizard-chat h2 {
    max-width: 13ch;
    font-size: clamp(2.3rem, 12vw, 3.8rem);
  }

  .quote-modal .wizard-chat-log {
    max-height: 130px;
  }

  .quote-modal .flow-panel {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .quote-modal .modal-topbar p,
  .wizard-scope {
    display: none;
  }

  .quote-modal .modal-prompts,
  .quote-modal .steps,
  .quote-modal .quote-wizard-steps {
    grid-template-columns: 1fr;
  }

  .quote-modal .suggestion-card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .quote-modal .suggestion-card button {
    grid-column: 1 / -1;
  }
}

/* Assistant modal: chat-first refinement */
.quote-modal .modal-shell {
  grid-template-columns: minmax(520px, 0.58fr) minmax(360px, 0.42fr);
  border: 1px solid rgba(255, 248, 231, 0.16);
  border-radius: 30px;
  background: rgba(255, 248, 231, 0.98);
}

.quote-modal .modal-topbar {
  border-bottom: 1px solid rgba(28, 28, 26, 0.14);
  padding-inline: clamp(16px, 2.2vw, 26px);
}

.quote-modal .modal-topbar .brand img {
  height: 36px;
  filter: brightness(0) saturate(100%) !important;
  opacity: 0.92;
}

body:not(.header-menu-open):not(.header-stack-mode) .quote-modal .modal-topbar .brand img,
body.header-on-dark:not(.header-menu-open):not(.header-stack-mode) .quote-modal .modal-topbar .brand img {
  filter: brightness(0) saturate(100%) !important;
}

.quote-modal .modal-close {
  width: 48px;
  height: 48px;
  min-height: 48px;
}

.quote-modal .wizard-chat {
  grid-template-rows: auto auto auto minmax(180px, 1fr) auto auto;
  gap: 13px;
  overflow: hidden;
  border-right: 0;
  padding: clamp(24px, 2.7vw, 36px);
}

.quote-modal .wizard-chat h2 {
  max-width: 12ch;
  font-size: clamp(2.35rem, 3.1vw, 3.75rem);
  line-height: 0.94;
}

.quote-modal .wizard-chat > p:not(.section-label) {
  max-width: 44rem;
  font-size: clamp(0.94rem, 1vw, 1.04rem);
}

.quote-modal .wizard-request {
  padding: 0.46rem 0.78rem;
  font-size: 0.86rem;
}

.quote-modal:not(.has-guided-intent) .wizard-request {
  display: none;
}

.quote-modal .wizard-chat-log {
  display: flex;
  min-height: 180px;
  max-height: none;
  flex-direction: column;
  justify-content: flex-start;
  border-color: rgba(255, 248, 231, 0.12);
  background: rgba(255, 248, 231, 0.04);
}

.quote-modal .wizard-chat .chat-message.is-typing {
  display: inline-flex;
  width: fit-content;
  min-width: 72px;
  align-items: center;
  gap: 6px;
  padding-block: 15px;
}

.quote-modal .wizard-chat .chat-message.is-typing span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(28, 28, 26, 0.72);
  animation: assistantTypingDot 980ms ease-in-out infinite;
}

.quote-modal .wizard-chat .chat-message.is-typing span:nth-child(2) {
  animation-delay: 140ms;
}

.quote-modal .wizard-chat .chat-message.is-typing span:nth-child(3) {
  animation-delay: 280ms;
}

@keyframes assistantTypingDot {
  0%,
  72%,
  100% {
    transform: translateY(0);
    opacity: 0.42;
  }

  36% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.quote-modal .wizard-composer {
  min-height: 62px;
  align-items: center;
  border-color: rgba(255, 248, 231, 0.42);
}

.quote-modal .wizard-composer svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor !important;
  stroke: none !important;
  opacity: 1;
}

.quote-modal .wizard-composer .chat-icon-button,
.quote-modal .wizard-composer .chat-send-button {
  display: inline-grid;
  place-items: center;
}

.quote-modal .modal-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.quote-modal .modal-prompts button {
  flex: 1 1 160px;
  min-height: 42px;
  border-color: rgba(255, 248, 231, 0.3);
  border-radius: 999px;
  background: rgba(255, 248, 231, 0.94);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.quote-modal .wizard-scope {
  display: none;
}

.quote-modal .flow-panel {
  margin: 12px 12px 12px 0;
  border: 1px solid rgba(28, 28, 26, 0.12);
  border-radius: 24px;
  background: rgba(255, 248, 231, 0.94);
}

.quote-modal .steps {
  border-bottom: 1px solid rgba(28, 28, 26, 0.1);
  padding: 12px clamp(14px, 2vw, 22px);
  background: transparent;
}

.quote-modal .flow-panel .steps button {
  border-width: 1px;
  min-height: 42px;
}

.quote-modal .quote-preview {
  padding: clamp(16px, 2vw, 22px);
}

.quote-modal .quote-copy {
  border-bottom-color: rgba(28, 28, 26, 0.12);
}

.quote-modal .quote-copy h3 {
  max-width: 16ch;
  font-size: clamp(1.85rem, 2.6vw, 2.75rem);
  line-height: 0.94;
}

.quote-modal .quote-path-summary {
  border-width: 1px;
  border-color: rgba(28, 28, 26, 0.1);
  border-radius: 18px;
  padding: 14px;
}

.quote-modal .quote-wizard-steps,
.quote-modal .quote-form label,
.quote-modal .config-section,
.quote-modal .optional-note,
.quote-modal .modal-product-map,
.quote-modal .modal-ready-config {
  border-width: 1px;
  border-color: rgba(28, 28, 26, 0.11);
}

.quote-modal:not(.has-guided-intent) .modal-shell {
  width: min(900px, calc(100vw - clamp(18px, 3vw, 42px)));
  grid-template-columns: 1fr;
}

.quote-modal:not(.has-guided-intent) .flow-panel {
  display: none;
}

.quote-modal:not(.has-guided-intent) .wizard-chat {
  min-height: min(680px, calc(100svh - 96px));
}

.quote-modal:not(.has-guided-intent) .wizard-chat h2 {
  max-width: 13ch;
  font-size: clamp(2.65rem, 4.75vw, 4.25rem);
}

.quote-modal:not(.has-guided-intent) .wizard-chat-log {
  min-height: 220px;
}

@media (max-width: 940px) {
  .quote-modal .modal-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(300px, 0.52fr) minmax(0, 0.48fr);
  }

  .quote-modal .wizard-chat {
    max-height: none;
    border-bottom: 1px solid rgba(28, 28, 26, 0.18);
  }

  .quote-modal .wizard-chat-log {
    min-height: 150px;
    max-height: 180px;
  }

  .quote-modal .flow-panel {
    margin: 0;
    border-inline: 0;
    border-bottom: 0;
    border-radius: 0;
  }

  .quote-modal:not(.has-guided-intent) .modal-shell {
    width: calc(100vw - 16px);
  }
}

/* Assistant modal v14: conversational layout */
.quote-modal.has-guided-intent .modal-shell {
  grid-template-columns: minmax(440px, 0.56fr) minmax(420px, 0.44fr);
}

.quote-modal .wizard-chat {
  display: flex;
  min-height: 0;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  padding: clamp(20px, 2.2vw, 28px);
}

.quote-modal.has-guided-intent .wizard-chat h2 {
  max-width: 13ch;
  font-size: clamp(2rem, 2.75vw, 3.1rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.quote-modal.has-guided-intent .wizard-chat .section-label {
  margin-bottom: 2px;
}

.quote-modal.has-guided-intent .wizard-request {
  max-width: 100%;
  margin-top: -2px;
}

.quote-modal.has-guided-intent .wizard-chat > p:not(.section-label):not(.wizard-request) {
  max-width: 35rem;
  font-size: 0.96rem;
  line-height: 1.25;
}

.quote-modal .wizard-chat-log {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overscroll-behavior: contain;
}

.quote-modal:not(.has-guided-intent) .wizard-chat-log {
  min-height: 0;
}

.quote-modal .modal-prompts {
  flex: 0 0 auto;
  margin-top: 0;
}

.quote-modal .wizard-composer {
  flex: 0 0 auto;
}

.quote-modal .wizard-chat .chat-message.is-typing {
  min-width: 118px;
  color: rgba(28, 28, 26, 0.72);
}

.quote-modal .wizard-chat .chat-message.is-typing small {
  color: rgba(28, 28, 26, 0.72);
  font-size: 0.82rem;
  font-weight: var(--weight-copy);
}

/* Assistant modal v16: chat feels like a guided human conversation */
.quote-modal .wizard-chat .chat-message {
  position: relative;
  overflow: visible;
  max-width: min(88%, 34rem);
  padding: 12px 14px 9px;
  font-size: clamp(0.92rem, 0.95vw, 1rem);
  font-weight: 520;
  line-height: 1.34;
  letter-spacing: -0.018em;
}

.quote-modal .wizard-chat .chat-message-text {
  font-weight: inherit;
}

.quote-modal .wizard-chat .chat-message.is-bot {
  margin-left: 42px;
  border-radius: 18px 18px 18px 7px;
  background: var(--cream-2);
  box-shadow: 4px 4px 0 rgba(183, 255, 74, 0.24);
  color: rgba(28, 28, 26, 0.78);
}

.quote-modal .wizard-chat .chat-message.is-bot::before {
  position: absolute;
  top: 4px;
  left: -42px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 248, 231, 0.42);
  border-radius: 999px;
  background:
    var(--cream-2)
    url("logo-21zero5.webp")
    center / 23px auto
    no-repeat;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  content: "";
}

.quote-modal .wizard-chat .chat-message.is-user {
  border-radius: 18px 18px 7px 18px;
  font-weight: 560;
  color: rgba(28, 28, 26, 0.82);
}

.quote-modal .wizard-chat .chat-message-time {
  display: block;
  margin-top: 6px;
  color: currentColor;
  font-size: 0.68rem;
  font-weight: 520;
  letter-spacing: 0;
  line-height: 1;
  opacity: 0.56;
  text-align: right;
}

.quote-modal .wizard-chat .chat-message.is-bot .chat-message-time {
  text-align: left;
}

.quote-modal .wizard-chat .chat-message.is-typing {
  min-width: 132px;
  padding-block: 12px;
}

.quote-modal .wizard-chat .chat-message.is-typing::before {
  top: 3px;
}

.quote-modal .wizard-chat .chat-message.is-typing span:nth-of-type(2) {
  animation-delay: 140ms;
}

.quote-modal .wizard-chat .chat-message.is-typing span:nth-of-type(3) {
  animation-delay: 280ms;
}

html[data-assistant-runtime="preview"] .quote-modal .wizard-chat .section-label::after {
  display: inline-flex;
  margin-left: 8px;
  border: 1px solid rgba(183, 255, 74, 0.46);
  border-radius: 999px;
  padding: 0.18rem 0.48rem;
  background: rgba(183, 255, 74, 0.12);
  color: rgba(183, 255, 74, 0.92);
  content: "prévia local";
  font-size: 0.68rem;
  font-weight: 680;
  line-height: 1;
  vertical-align: middle;
}

.quote-modal .flow-panel {
  gap: 12px;
  margin: 0;
  padding: 14px;
  border: 0;
  border-left: 1px solid rgba(28, 28, 26, 0.12);
  border-radius: 0;
  background: rgba(255, 248, 231, 0.96);
}

.quote-modal .steps {
  gap: 10px;
  border: 0;
  border-radius: 22px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 0 0 1px rgba(28, 28, 26, 0.08);
}

.quote-modal .flow-panel .steps button {
  min-height: 44px;
  border-color: rgba(28, 28, 26, 0.12);
  background: rgba(255, 255, 255, 0.82);
}

.quote-modal .flow-panel .steps button.is-active {
  border-color: var(--ink);
  background: var(--yellow);
}

.quote-modal .quote-preview {
  min-height: 0;
  border: 1px solid rgba(28, 28, 26, 0.13);
  border-radius: 24px;
  padding: clamp(16px, 1.8vw, 22px);
  background: rgba(255, 248, 231, 0.72);
}

.quote-modal .quote-copy {
  margin-bottom: 14px;
  padding-bottom: 14px;
}

.quote-modal .quote-copy h3 {
  font-size: clamp(1.7rem, 2.25vw, 2.35rem);
}

.quote-modal .quote-path-summary {
  margin-bottom: 16px;
}

.quote-modal .quote-wizard-steps {
  margin-bottom: 14px;
  padding: 8px;
  border: 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
}

.quote-modal .quote-form {
  border: 0;
  padding: 0;
}

.quote-modal .quote-step-panel {
  gap: 14px;
}

.quote-modal .quote-form label,
.quote-modal .config-section,
.quote-modal .optional-note,
.quote-modal .file-field {
  border-radius: 18px;
  padding: 14px;
}

/* Footer close: intentionally darker and clearer than the previous content sections. */
.site-footer {
  grid-template-columns: minmax(280px, 0.9fr) minmax(340px, 1fr) minmax(220px, auto);
  gap: clamp(24px, 4vw, 72px);
  border-top: 0;
  padding-top: clamp(52px, 7vw, 86px);
  padding-bottom: clamp(52px, 7vw, 86px);
  background:
    var(--grain),
    radial-gradient(circle at 12% 10%, rgba(169, 255, 54, 0.2), transparent 32%),
    linear-gradient(135deg, #11120f 0%, #171812 58%, #050604 100%);
  background-size:
    var(--grain-size),
    100% 100%,
    100% 100%;
  color: var(--cream);
}

.footer-main,
.footer-partners,
.site-footer nav {
  position: relative;
  z-index: 1;
}

.site-footer .footer-brand img {
  height: clamp(72px, 7vw, 104px) !important;
  filter: invert(1) brightness(1.05) !important;
}

.site-footer p {
  color: rgba(255, 248, 232, 0.78);
}

.footer-main > p {
  max-width: 500px;
  font-size: clamp(1.25rem, 2.1vw, 2rem);
  font-weight: var(--weight-ui);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.footer-contact a,
.site-footer nav a {
  border-color: rgba(255, 248, 232, 0.3);
  background: rgba(255, 248, 232, 0.08);
  color: var(--cream);
}

.footer-partners p:not(.section-label) {
  color: rgba(255, 248, 232, 0.72);
  font-size: clamp(1.05rem, 1.35vw, 1.45rem);
}

.partner-card {
  color: var(--cream);
}

@media (max-width: 820px) {
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

/* Mobile product configurator: designed for thumbs, not as a squeezed desktop modal. */
@media (max-width: 820px) {
  #produto-viewer.product-viewer {
    align-items: stretch;
    padding: 0;
  }

  #produto-viewer .product-viewer-panel.gallery-product {
    --product-viewer-pad: 12px;
    width: 100vw;
    height: 100dvh;
    max-height: none;
    grid-template-rows: auto minmax(0, 1fr);
    border: 0;
    border-radius: 0;
    background: var(--cream-2);
    box-shadow: none;
  }

  #produto-viewer .product-viewer-panel.gallery-product::before {
    border-radius: 0;
    background:
      var(--texture-image),
      linear-gradient(180deg, rgba(255, 248, 231, 0.98), rgba(250, 241, 218, 0.98));
  }

  #produto-viewer .product-viewer-panel.gallery-product > .product-viewer-close {
    top: calc(10px + env(safe-area-inset-top));
    right: 10px;
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
    background: var(--cream-2);
  }

  #produto-viewer .product-viewer-panel .gallery-product-media {
    max-height: none;
    height: auto;
    gap: 0;
    border-bottom: 1px solid rgba(28, 28, 26, 0.14);
    padding: calc(6px + env(safe-area-inset-top)) 10px 6px;
  }

  #produto-viewer .product-viewer-panel .gallery-visual {
    width: 100%;
    height: clamp(118px, 16svh, 152px);
    max-width: none;
    max-height: none;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(28, 28, 26, 0.08);
  }

  #produto-viewer .product-viewer-panel .gallery-product-main {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    aspect-ratio: auto;
    padding: 6px;
    object-fit: contain;
    object-position: center;
  }

  #produto-viewer .product-viewer-panel .gallery-trace {
    display: none;
  }

  #produto-viewer .product-viewer-panel .gallery-part-dot,
  #produto-viewer .product-viewer-panel .part-pin {
    display: none !important;
  }

  #produto-viewer .product-viewer-panel .gallery-thumbs {
    display: none;
  }

  #produto-viewer .product-viewer-panel .gallery-thumbs button {
    flex: 0 0 56px;
    width: 56px;
    max-width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  #produto-viewer .product-viewer-panel .gallery-product-side {
    min-height: 0;
    overflow: hidden;
  }

  #produto-viewer .product-viewer-panel .gallery-product-copy {
    gap: 10px;
    padding: 10px 12px 12px;
    scrollbar-color: rgba(183, 255, 74, 0.9) rgba(28, 28, 26, 0.08);
  }

  #produto-viewer .product-viewer-panel .gallery-product-copy .tag {
    max-width: calc(100% - 58px);
    font-size: 0.8rem;
  }

  #produto-viewer .product-viewer-panel .gallery-product-copy h3 {
    max-width: none;
    font-size: clamp(1.55rem, 6.7vw, 2.15rem);
    line-height: 0.98;
  }

  #produto-viewer .product-viewer-panel .gallery-product-lead {
    display: -webkit-box;
    max-width: none;
    overflow: hidden;
    color: rgba(28, 28, 26, 0.68);
    font-size: 0.95rem;
    line-height: 1.28;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  #produto-viewer .product-viewer-panel .product-facts,
  #produto-viewer .product-viewer-panel .gallery-config-intro {
    display: none;
  }

  #produto-viewer .product-viewer-panel .gallery-part-list {
    display: none;
    width: 100%;
    gap: 8px;
    overflow-x: auto;
    padding: 1px 1px 4px;
    scroll-snap-type: x proximity;
  }

  #produto-viewer .product-viewer-panel .gallery-part-list:has(.gallery-part-card:only-child) {
    display: none;
  }

  #produto-viewer .product-viewer-panel .gallery-part-card {
    flex: 0 0 142px;
    min-height: 56px;
    grid-template-columns: 28px minmax(0, 1fr);
    align-content: center;
    border-radius: 16px;
    padding: 9px;
    scroll-snap-align: start;
  }

  #produto-viewer .product-viewer-panel .gallery-part-card em {
    display: none;
  }

  #produto-viewer .product-viewer-panel .gallery-part-card strong {
    overflow: hidden;
    font-size: 0.86rem;
    line-height: 1.02;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #produto-viewer .product-viewer-panel .gallery-config {
    gap: 14px;
    max-width: none;
  }

  #produto-viewer .product-viewer-panel .gallery-config-group {
    gap: 10px;
    margin: 0;
    border: 1px solid rgba(28, 28, 26, 0.14);
    border-radius: 22px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.52);
    scroll-margin-top: 16px;
  }

  #produto-viewer .product-viewer-panel .gallery-config-group::before {
    display: none;
  }

  #produto-viewer .product-viewer-panel .gallery-config-group legend,
  #produto-viewer .product-viewer-panel .gallery-config-group[data-gallery-optional] legend {
    display: flex;
    width: auto;
    max-width: 100%;
    margin: 0 0 2px;
    padding: 0;
    background: transparent;
    font-size: 1.08rem;
    line-height: 1.05;
  }

  #produto-viewer .product-viewer-panel .gallery-config-group[data-gallery-group="tamanho"] {
    order: 2;
  }

  #produto-viewer .product-viewer-panel .gallery-config-group:not([data-gallery-group="tamanho"]):not([data-gallery-optional]) {
    order: 1;
  }

  #produto-viewer .product-viewer-panel .gallery-config-group[data-gallery-optional] {
    order: 3;
    padding: 14px;
    border-color: rgba(28, 28, 26, 0.18);
    background:
      linear-gradient(135deg, rgba(183, 255, 74, 0.12), rgba(255, 255, 255, 0.62)),
      var(--grain);
    box-shadow: none;
  }

  #produto-viewer .product-viewer-panel .gallery-options,
  #produto-viewer .product-viewer-panel .gallery-swatches,
  #produto-viewer .product-viewer-panel [data-gallery-group="tamanho"] .gallery-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    max-width: none;
    padding: 0;
  }

  #produto-viewer .product-viewer-panel .gallery-swatches,
  #produto-viewer .product-viewer-panel .gallery-addon-colors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #produto-viewer .product-viewer-panel .gallery-option,
  #produto-viewer .product-viewer-panel .gallery-swatch,
  #produto-viewer .product-viewer-panel .gallery-addon-colors button {
    width: 100%;
    min-height: 52px;
    justify-content: flex-start;
    border-radius: 16px;
    padding: 9px 12px;
    font-size: 0.86rem;
    line-height: 1.08;
    text-align: left;
    white-space: normal;
  }

  #produto-viewer .product-viewer-panel .gallery-swatch {
    padding-left: 8px;
  }

  #produto-viewer .product-viewer-panel .gallery-swatch::before,
  #produto-viewer .product-viewer-panel .gallery-addon-colors i {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  #produto-viewer .product-viewer-panel .gallery-swatch.is-selected::after {
    left: 19px;
  }

  #produto-viewer .product-viewer-panel [data-gallery-group="tamanho"] .gallery-size-option {
    min-height: 58px;
    padding: 10px 12px;
  }

  #produto-viewer .product-viewer-panel [data-gallery-group="tamanho"] .gallery-size-option strong {
    font-size: 1.22rem;
  }

  #produto-viewer .product-viewer-panel .gallery-addon-option,
  #produto-viewer .product-viewer-panel [data-gallery-group="inscricao"] .gallery-addon-option {
    min-height: 74px;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    border-radius: 18px;
    padding: 12px;
  }

  #produto-viewer .product-viewer-panel .gallery-addon-price {
    grid-column: 2;
    justify-self: start;
    font-size: 0.8rem;
  }

  #produto-viewer .product-viewer-panel .gallery-addon-color-field {
    gap: 9px;
  }

  #produto-viewer .product-viewer-panel .gallery-addon-colors {
    display: grid;
    gap: 8px;
  }

  #produto-viewer .product-viewer-panel .gallery-detail-field {
    max-width: none;
    border: 0;
    padding: 0;
    background: transparent;
  }

  #produto-viewer .product-viewer-panel .gallery-detail-field input {
    min-height: 48px;
    border-radius: 16px;
  }

  #produto-viewer .product-viewer-panel .gallery-selected-option {
    display: none;
  }

  #produto-viewer .product-viewer-fixed-actions {
    grid-template-areas: "quantity add cart";
    grid-template-columns: 108px minmax(0, 1fr) 52px;
    gap: 8px;
    border-top: 1px solid rgba(28, 28, 26, 0.18);
    border-radius: 0;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background:
      var(--texture-image),
      rgba(255, 248, 231, 0.98);
    box-shadow: 0 -18px 38px rgba(28, 28, 26, 0.08);
  }

  #produto-viewer .product-viewer-fixed-total {
    display: none;
  }

  #produto-viewer .product-viewer-fixed-total strong {
    font-size: 1.08rem;
  }

  #produto-viewer .product-viewer-fixed-quantity {
    width: 108px;
    grid-template-columns: 34px 40px 34px;
    align-self: stretch;
    border-radius: 999px;
  }

  #produto-viewer .product-viewer-fixed-quantity output {
    min-height: 48px;
  }

  #produto-viewer .product-viewer-fixed-actions > button {
    min-height: 48px;
    gap: 7px;
    border-width: 1.5px;
    padding-inline: 10px;
    font-size: 0.84rem;
  }

  #produto-viewer .product-viewer-fixed-actions > button:first-of-type {
    justify-content: center;
  }

  #produto-viewer .product-viewer-fixed-actions > button:last-of-type {
    width: 52px;
    min-height: 48px;
    border-color: rgba(28, 28, 26, 0.18);
    background: rgba(255, 255, 255, 0.72);
  }

  #produto-viewer .product-viewer-fixed-actions > button:last-of-type > span:not(.gallery-action-icon) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  #produto-viewer .product-viewer-fixed-actions .gallery-action-icon {
    width: 32px;
    height: 32px;
  }

  #produto-viewer .product-viewer-fixed-actions .gallery-action-main,
  #produto-viewer .product-viewer-fixed-actions .gallery-action-price {
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  #produto-viewer .product-viewer-panel .gallery-swatches,
  #produto-viewer .product-viewer-panel .gallery-addon-colors {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  #produto-viewer .product-viewer-panel .gallery-visual {
    height: clamp(108px, 15svh, 136px);
  }

  #produto-viewer .product-viewer-fixed-actions .gallery-action-main {
    font-size: 0.82rem;
  }

  #produto-viewer .product-viewer-fixed-actions .gallery-action-price {
    display: none;
  }
}

.blog-more-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(18px, 3vw, 30px);
}

.blog-more-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1.5px solid rgba(28, 28, 26, 0.22);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 248, 231, 0.76);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.96rem;
  line-height: 1;
  text-decoration: none;
}

.blog-more-links a:hover,
.blog-more-links a:focus-visible {
  border-color: var(--ink);
  background: var(--yellow);
  outline: none;
}

.blog-article-page {
  min-height: 100svh;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(28, 28, 26, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(28, 28, 26, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #fff9e8 0%, var(--cream) 48%, #fff8e7 100%);
  background-size: 48px 48px, 48px 48px, 100% 100%;
  color: var(--ink);
}

.article-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(28, 28, 26, 0.14);
  padding: 10px clamp(16px, 4vw, 44px);
  background: rgba(255, 248, 231, 0.92);
  backdrop-filter: blur(14px);
}

.article-site-brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
}

.article-site-brand img {
  width: auto;
  height: clamp(34px, 4vw, 48px);
}

.article-site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.article-site-nav a,
.article-breadcrumb a,
.article-sidebar a {
  color: var(--ink);
  text-decoration: none;
}

.article-site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1.5px solid rgba(28, 28, 26, 0.18);
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.72);
  font-family: var(--font-display);
  font-size: 0.9rem;
  line-height: 1;
}

.article-site-nav a:hover,
.article-site-nav a:focus-visible,
.article-sidebar a:hover,
.article-sidebar a:focus-visible {
  border-color: var(--ink);
  background: var(--green);
  outline: none;
}

.article-shell {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  padding: clamp(18px, 4vw, 42px) 0 clamp(52px, 8vw, 96px);
}

.article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: clamp(14px, 3vw, 26px);
  color: rgba(28, 28, 26, 0.62);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 720;
}

.article-breadcrumb a {
  border-bottom: 1px solid rgba(28, 28, 26, 0.28);
}

.article-story {
  border: 2px solid rgba(28, 28, 26, 0.94);
  border-radius: 8px;
  background: rgba(255, 252, 242, 0.84);
  box-shadow: 8px 8px 0 rgba(28, 28, 26, 0.1);
  overflow: hidden;
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 420px);
  gap: clamp(22px, 5vw, 58px);
  align-items: stretch;
  border-bottom: 2px solid var(--ink);
  padding: clamp(22px, 5vw, 58px);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 211, 61, 0.34), transparent 26vw),
    linear-gradient(135deg, rgba(255, 248, 231, 0.96), rgba(247, 240, 220, 0.88));
}

.article-hero-copy {
  display: grid;
  align-content: end;
  gap: clamp(12px, 2vw, 18px);
  min-width: 0;
}

.article-kicker {
  width: fit-content;
  margin: 0;
  border: 1.5px solid rgba(20, 152, 61, 0.32);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(183, 255, 74, 0.18);
  color: var(--green-deep);
  font-family: var(--font-display);
  font-size: 0.9rem;
  line-height: 1;
  text-transform: lowercase;
}

.article-hero h1 {
  max-width: 13ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.4vw, 6.6rem);
  letter-spacing: 0;
  line-height: 0.88;
  text-wrap: balance;
  text-transform: lowercase;
}

.article-deck {
  max-width: 760px;
  margin: 0;
  color: rgba(28, 28, 26, 0.78);
  font-size: clamp(1.12rem, 1.8vw, 1.48rem);
  font-weight: 720;
  line-height: 1.22;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
  color: var(--green-deep);
  font-family: var(--font-display);
  font-size: 0.88rem;
  line-height: 1;
  text-transform: lowercase;
}

.article-meta span {
  border: 1px solid rgba(20, 152, 61, 0.22);
  border-radius: 999px;
  padding: 7px 9px;
  background: rgba(255, 255, 255, 0.56);
}

.article-hero-media {
  display: grid;
  gap: 10px;
  align-content: end;
  margin: 0;
}

.article-hero-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
  box-shadow: 6px 6px 0 rgba(28, 28, 26, 0.14);
}

.article-hero-media figcaption {
  margin: 0;
  color: rgba(28, 28, 26, 0.64);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.25;
}

.article-body-grid {
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(0, 760px);
  gap: clamp(22px, 5vw, 58px);
  align-items: start;
  padding: clamp(24px, 5vw, 58px);
}

.article-sidebar {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 12px;
}

.article-side-box {
  display: grid;
  gap: 8px;
  border: 1.5px solid rgba(28, 28, 26, 0.18);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.56);
}

.article-side-box.muted {
  background: rgba(247, 240, 220, 0.88);
}

.article-side-title {
  margin: 0;
  color: var(--green-deep);
  font-family: var(--font-display);
  font-size: 0.9rem;
  line-height: 1;
  text-transform: lowercase;
}

.article-side-box p:not(.article-side-title) {
  margin: 0;
  color: rgba(28, 28, 26, 0.72);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.32;
}

.article-sidebar a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(28, 28, 26, 0.12);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  font-weight: 620;
  line-height: 1.05;
}

.article-content {
  display: grid;
  gap: 24px;
  min-width: 0;
  color: rgba(28, 28, 26, 0.88);
  font-size: clamp(1.05rem, 1.25vw, 1.18rem);
  font-weight: 430;
  line-height: 1.62;
}

.article-content section {
  display: grid;
  gap: 12px;
  scroll-margin-top: 110px;
}

.article-content p,
.article-content ul {
  margin: 0;
}

.article-content h2 {
  margin: 18px 0 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.1vw, 2.85rem);
  letter-spacing: 0;
  line-height: 0.98;
  text-transform: lowercase;
}

.article-content ul {
  display: grid;
  gap: 9px;
  padding-left: 1.15rem;
}

.article-content li::marker {
  color: var(--green-deep);
}

.article-content strong {
  color: var(--ink);
  font-weight: 700;
}

.article-note {
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: clamp(15px, 2.2vw, 20px);
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.1;
  box-shadow: 5px 5px 0 rgba(28, 28, 26, 0.12);
}

.article-faq {
  border-top: 2px solid rgba(28, 28, 26, 0.86);
  padding-top: 18px;
}

.article-faq details {
  border: 1.5px solid rgba(28, 28, 26, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  overflow: hidden;
}

.article-faq summary {
  cursor: pointer;
  padding: 13px 15px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.05;
}

.article-faq details p {
  padding: 0 15px 15px;
}

.article-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
  border-top: 2px solid rgba(28, 28, 26, 0.86);
  padding-top: 22px;
}

.article-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 11px 18px;
  background: var(--ink);
  color: var(--cream-2);
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.article-cta a + a {
  background: #fff;
  color: var(--ink);
}

.article-cta a:hover,
.article-cta a:focus-visible {
  background: var(--green);
  color: var(--ink);
  outline: none;
}

@media (max-width: 920px) {
  .article-hero,
  .article-body-grid {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-hero-media img {
    max-height: 360px;
  }
}

@media (max-width: 620px) {
  .article-site-header {
    gap: 10px;
    padding: 9px 12px;
  }

  .article-site-brand img {
    height: 32px;
  }

  .article-site-nav {
    gap: 6px;
  }

  .article-site-nav a {
    min-height: 33px;
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  .article-shell {
    width: min(100% - 22px, 1180px);
    padding-top: 14px;
  }

  .article-story {
    box-shadow: 4px 4px 0 rgba(28, 28, 26, 0.1);
  }

  .article-hero,
  .article-body-grid {
    padding: 18px 13px;
  }

  .article-hero {
    gap: 18px;
  }

  .article-hero h1 {
    max-width: 12ch;
    font-size: clamp(2rem, 9.4vw, 2.85rem);
    line-height: 0.94;
  }

  .article-deck {
    font-size: 1rem;
    line-height: 1.28;
  }

  .article-hero-media img {
    aspect-ratio: 4 / 3;
    max-height: 292px;
    object-fit: cover;
  }

  .article-hero-media figcaption {
    font-size: 0.82rem;
  }

  .article-meta {
    font-size: 0.8rem;
  }

  .article-sidebar {
    grid-template-columns: 1fr;
    order: 2;
  }

  .article-content {
    order: 1;
  }

  .article-side-box {
    padding: 12px;
  }

  .article-content {
    gap: 22px;
  }

  .article-content h2 {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }

  .article-cta a {
    width: 100%;
  }

  .blog-more-links {
    display: grid;
  }
}

/* Commerce audit final overrides: loaded last so clarity fixes win over older hero/modal rules. */
.hero-ctaimages .wrapper {
  z-index: 8;
  max-width: min(980px, calc(100vw - 32px));
}

.hero-ctaimages .b-ctaimages__images,
.hero-ctaimages .b-ctaimages__images:last-of-type {
  z-index: 1;
  opacity: 0.42;
}

.hero-ctaimages .b-ctaimages__heading {
  max-width: 940px;
  font-size: clamp(56px, 7.4vw, 122px);
  letter-spacing: 0;
  line-height: 0.88;
  text-wrap: balance;
}

.hero-ctaimages .b-ctaimages__content {
  max-width: 720px;
  margin: 28px 0 18px;
  font-size: clamp(18px, 1.65vw, 26px);
  line-height: 1.12;
  text-wrap: balance;
}

.hero-route-chips a,
.hero-route-chips span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(28, 28, 26, 0.32);
  border-radius: 999px;
  padding: 0 1rem;
  background: rgba(255, 248, 231, 0.92);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: lowercase;
}

.hero-route-chips a:first-child {
  background: var(--yellow);
}

.hero-trust-strip {
  display: flex;
  max-width: 760px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 14px auto 0;
  padding: 0;
  list-style: none;
}

.hero-trust-strip li,
.form-reassurance,
.project-intake__reassurance {
  border: 1px solid rgba(28, 28, 26, 0.16);
  border-radius: 999px;
  padding: 0.55rem 0.78rem;
  background: rgba(255, 248, 231, 0.86);
  color: rgba(28, 28, 26, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
}

.project-intake__reassurance {
  display: inline-flex;
  max-width: 520px;
  border-color: rgba(183, 255, 74, 0.44);
  background: rgba(183, 255, 74, 0.12);
  color: var(--cream-2);
}

.form-reassurance {
  margin: 4px 0 0;
  border-radius: 12px;
  background: rgba(183, 255, 74, 0.14);
  color: inherit;
}

.project-intake__file small,
.file-field small {
  display: block;
  margin-top: 8px;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  opacity: 0.76;
}

.gallery-catalog-tools input[type="search"] {
  min-height: 40px;
  min-width: min(270px, 42vw);
  border: 1px solid rgba(28, 28, 26, 0.18);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 248, 231, 0.92);
  color: var(--ink);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
}

.product-card-commerce {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 2px;
}

.product-card-commerce span {
  border: 1px solid rgba(28, 28, 26, 0.16);
  border-radius: 999px;
  padding: 0.32rem 0.5rem;
  background: rgba(255, 248, 231, 0.72);
  color: rgba(28, 28, 26, 0.7);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

.gallery-config-summary {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(28, 28, 26, 0.14);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
}

.gallery-config-summary > strong {
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: lowercase;
}

.gallery-config-summary > span {
  color: rgba(28, 28, 26, 0.7);
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.25;
}

.gallery-config-summary ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery-config-summary li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(28, 28, 26, 0.08);
  padding-top: 6px;
  font-size: 0.82rem;
  font-weight: 780;
}

.gallery-empty {
  display: grid;
  gap: 8px;
  grid-column: 1 / -1;
  justify-items: start;
  border: 1px solid rgba(28, 28, 26, 0.16);
  border-radius: 16px;
  padding: 18px;
  background: rgba(255, 248, 231, 0.86);
}

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }

  .hero.hero-ctaimages {
    height: auto;
    min-height: 100svh;
    overflow: hidden;
  }

  .hero-ctaimages .b-ctaimages__sticky {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
  }

  .hero-ctaimages .wrapper {
    min-height: 100svh;
    justify-content: center;
    padding: calc(var(--header-height) + 78px) 18px 34px;
  }

  .hero-ctaimages .b-ctaimages__heading {
    max-width: 12ch;
    font-size: clamp(42px, 12vw, 56px);
    line-height: 0.92;
  }

  .hero-ctaimages .b-ctaimages__content {
    max-width: 330px;
    margin: 18px 0 16px;
    font-size: 1rem;
    line-height: 1.2;
  }

  .hero-idea-form {
    width: min(100%, 340px);
  }

  .hero-route-chips,
  .hero-trust-strip {
    display: grid;
    width: min(100%, 340px);
    margin-inline: auto;
  }

  .hero-route-chips a,
  .hero-route-chips span {
    width: 100%;
  }

  .hero-ctaimages .b-ctaimages__images {
    opacity: 0.22;
  }

  .mobile-route-bar {
    overflow-x: auto;
    max-width: 100vw;
    padding-inline: 10px;
  }

  .quote-modal .modal-shell {
    overflow: hidden;
  }

  .quote-modal .wizard-chat h2 {
    max-width: 14ch;
    font-size: clamp(1.9rem, 10vw, 2.7rem);
  }

  .quote-modal .wizard-chat-log {
    max-height: 24svh;
  }

  .quote-modal .wizard-composer {
    position: sticky;
    bottom: 0;
    z-index: 5;
  }

  .quote-modal .modal-prompts,
  .quote-modal .steps,
  .quote-modal .quote-wizard-steps {
    overflow-x: auto;
  }

  .gallery-catalog-tools {
    align-items: stretch;
  }

  .gallery-catalog-tools label,
  .gallery-catalog-tools input[type="search"],
  .gallery-catalog-tools select {
    width: 100%;
  }
}

/* Motion final overrides: keep the product feeling fast after all legacy rules load. */
.product-viewer-panel.gallery-product {
  transform: translate3d(0, var(--motion-translate-medium), 0) scale(0.992);
  transition:
    opacity var(--motion-duration-normal) var(--motion-ease-entrance),
    transform var(--motion-duration-slow) var(--motion-ease-standard),
    box-shadow var(--motion-duration-slow) var(--motion-ease-standard);
}

.cart-panel {
  transition:
    transform var(--motion-duration-slow) var(--motion-ease-standard),
    box-shadow var(--motion-duration-slow) var(--motion-ease-standard);
}

.product-grid[data-gallery-grid].is-ready .product-card {
  animation-duration: var(--motion-duration-normal);
  animation-delay: min(calc(var(--card-index, 0) * 12ms), 72ms);
  animation-timing-function: var(--motion-ease-entrance);
}

.product-card,
.gallery-feature-card,
.blog-card {
  transition:
    color var(--motion-duration-normal) var(--motion-ease-standard),
    transform var(--motion-duration-normal) var(--motion-ease-standard),
    border-color var(--motion-duration-normal) var(--motion-ease-standard),
    box-shadow var(--motion-duration-normal) var(--motion-ease-standard);
}

.product-card a,
.gallery-feature-card a,
.blog-card a {
  transition:
    background-color var(--motion-duration-normal) var(--motion-ease-standard),
    border-color var(--motion-duration-normal) var(--motion-ease-standard),
    color var(--motion-duration-normal) var(--motion-ease-standard),
    opacity var(--motion-duration-normal) var(--motion-ease-standard),
    transform var(--motion-duration-normal) var(--motion-ease-standard);
}

:where(
  .hero-route-chips a,
  .project-intake__chat,
  .project-intake__form button,
  .quick-prompts button,
  .steps button,
  .quote-wizard-steps button,
  .quote-submit,
  .gallery-filter-tabs button,
  .gallery-pagination button,
  .gallery-actions button,
  .gallery-secondary-action,
  .gallery-swatch,
  .gallery-option,
  .gallery-part-card,
  .product-card,
  .product-card a,
  .product-viewer-fixed-actions button,
  .cart-close,
  .cart-item-remove,
  .cart-shipping button,
  .cart-shipping-option,
  .cart-checkout,
  .admin-sidebar button,
  .admin-toolbar-actions button,
  .admin-toolbar-actions a,
  .admin-list-head button,
  .admin-product-list button,
  .admin-attention-list button,
  .admin-table-clickable tr,
  .admin-request-actions a,
  .admin-request-edit button,
  .editor-tabs button
) {
  transition-duration: var(--motion-duration-normal);
  transition-timing-function: var(--motion-ease-standard);
}

:where(
  .hero-route-chips a,
  .project-intake__chat,
  .project-intake__form button,
  .quick-prompts button,
  .steps button,
  .quote-wizard-steps button,
  .quote-submit,
  .gallery-actions button,
  .gallery-secondary-action,
  .product-card a,
  .cart-checkout,
  .admin-toolbar-actions button,
  .admin-toolbar-actions a,
  .admin-attention-list button,
  .admin-request-actions a,
  .admin-request-edit button,
  .editor-tabs button
):hover {
  transform: translate3d(0, calc(var(--motion-translate-tiny) * -1), 0);
}

:where(button:not(:disabled), .hero-route-chips a, .project-intake__chat, .product-card a, .admin-toolbar-actions a):active {
  transform: translate3d(0, 1px, 0) scale(var(--motion-scale-press));
  transition-duration: var(--motion-duration-instant);
}

.custom-flow.is-open .modal-shell,
.quote-step-panel.is-active,
.editor-panel.is-active,
.admin-section-panel.is-active {
  animation: premium-panel-enter var(--motion-duration-normal) var(--motion-ease-entrance) both;
}

.admin-toolbar-actions button.is-saving::after {
  animation: premium-saving-sheen 1.2s var(--motion-ease-standard) infinite;
}

.is-status-updated {
  animation: premium-status-update var(--motion-duration-slow) var(--motion-ease-entrance) both;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
  }

  .custom-flow.is-open .modal-shell,
  .quote-step-panel.is-active,
  .editor-panel.is-active,
  .admin-section-panel.is-active,
  .product-grid[data-gallery-grid].is-ready .product-card,
  .is-status-updated {
    animation: none !important;
  }
}

/* Blog magazine pass: editorial index, stronger internal paths and revenue links. */
.blog-section--magazine {
  background:
    linear-gradient(180deg, rgba(255, 248, 231, 0.96), rgba(247, 240, 220, 0.98)),
    var(--grain);
  background-size:
    100% 100%,
    var(--grain-size);
}

.blog-heading {
  align-items: end;
  gap: clamp(1.4rem, 4vw, 4rem);
}

.blog-heading h2 {
  max-width: 12ch;
}

.blog-heading__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.blog-heading__actions a,
.blog-feature span,
.blog-index-actions a,
.blog-index-card span {
  display: inline-flex;
  min-height: var(--button-pill-height);
  align-items: center;
  justify-content: center;
  border: var(--happly-border);
  border-radius: 999px;
  padding: 0 var(--button-pill-pad-x);
  background: var(--ink);
  color: var(--cream-2);
  font-family: var(--font-display);
  font-size: var(--button-pill-font-size);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.blog-heading__actions a:first-child,
.blog-index-actions a:first-child {
  background: var(--yellow);
  color: var(--ink);
}

.blog-heading__actions a::before,
.blog-heading__actions a::after,
.blog-index-actions a::before,
.blog-index-actions a::after {
  content: none;
  display: none;
}

.blog-magazine {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(1rem, 2.6vw, 2.5rem);
  align-items: stretch;
}

.blog-feature,
.blog-row-card,
.blog-index-card {
  min-width: 0;
}

.blog-feature a,
.blog-row-card a,
.blog-index-card a {
  display: grid;
  height: 100%;
  overflow: hidden;
  border: var(--happly-border);
  border-radius: 8px;
  background: var(--cream-2);
  color: var(--ink);
  text-decoration: none;
}

.blog-feature a {
  grid-template-rows: minmax(280px, 0.95fr) auto;
}

.blog-feature img,
.blog-row-card img,
.blog-index-card img,
.blog-index-hero figure img {
  width: 100%;
  background: var(--cream);
  object-fit: cover;
  transition:
    filter var(--motion-duration-normal) var(--motion-ease-standard),
    transform var(--motion-duration-normal) var(--motion-ease-standard);
}

.blog-feature img,
.blog-index-card--feature img {
  aspect-ratio: 16 / 10;
}

.blog-feature div,
.blog-row-card div,
.blog-index-card div {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: clamp(1rem, 2vw, 1.55rem);
}

.blog-feature .tag,
.blog-row-card .tag,
.blog-index-card .tag,
.blog-feature h3,
.blog-row-card h3,
.blog-index-card h2,
.blog-feature p,
.blog-row-card p,
.blog-index-card p {
  margin: 0;
}

.blog-feature h3,
.blog-row-card h3,
.blog-index-card h2 {
  font-family: var(--font-display);
  letter-spacing: 0;
  line-height: 0.96;
  text-wrap: balance;
}

.blog-feature h3 {
  max-width: 12ch;
  font-size: 4rem;
}

.blog-feature p:not(.tag),
.blog-row-card p,
.blog-index-card p,
.blog-index-hero p,
.blog-path-panel p {
  color: rgba(28, 28, 26, 0.74);
  font-weight: var(--weight-copy);
  line-height: 1.32;
}

.blog-stack {
  display: grid;
  gap: 12px;
}

.blog-row-card a {
  grid-template-columns: minmax(116px, 34%) minmax(0, 1fr);
}

.blog-row-card img {
  height: 100%;
  min-height: 188px;
  border-right: var(--happly-border);
  aspect-ratio: 1 / 1;
}

.blog-row-card h3 {
  font-size: 1.55rem;
}

.blog-feature a:hover img,
.blog-row-card a:hover img,
.blog-index-card a:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.04);
}

.blog-feature a:hover,
.blog-row-card a:hover,
.blog-index-card a:hover,
.article-related-links a:hover,
.blog-topic-strip a:hover,
.blog-path-links a:hover,
.blog-conversion-strip a:hover {
  border-color: var(--ink);
  background: #fff;
}

.blog-conversion-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: clamp(1.1rem, 2.8vw, 2.3rem);
}

.blog-conversion-strip a,
.blog-path-links a,
.article-related-links a {
  display: grid;
  gap: 0.4rem;
  border: var(--happly-border);
  border-radius: 8px;
  padding: clamp(0.95rem, 1.8vw, 1.35rem);
  background: rgba(255, 248, 231, 0.84);
  color: var(--ink);
  text-decoration: none;
}

.blog-conversion-strip strong,
.blog-path-links strong,
.article-related-links strong {
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1;
}

.blog-conversion-strip span,
.blog-path-links span,
.article-related-links span {
  color: rgba(28, 28, 26, 0.68);
  font-size: 0.9rem;
  font-weight: 720;
  line-height: 1.25;
}

.blog-index-shell {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  padding: clamp(1.3rem, 4vw, 3rem) 0 clamp(4rem, 8vw, 7rem);
}

.blog-index-hero,
.blog-path-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 410px);
  gap: clamp(1.3rem, 4vw, 3.6rem);
  align-items: stretch;
  border: var(--happly-border);
  border-radius: 8px;
  padding: clamp(1rem, 3.5vw, 2.8rem);
  background: rgba(255, 252, 242, 0.86);
}

.blog-index-hero h1 {
  max-width: 12ch;
  margin: clamp(0.9rem, 2vw, 1.4rem) 0 0;
  font-family: var(--font-display);
  font-size: 5.6rem;
  letter-spacing: 0;
  line-height: 0.86;
  text-wrap: balance;
  text-transform: lowercase;
}

.blog-index-hero p {
  max-width: 720px;
  margin: clamp(1rem, 2.2vw, 1.5rem) 0 0;
  font-size: 1.15rem;
}

.blog-index-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(1.2rem, 2.6vw, 2rem);
}

.blog-index-hero figure {
  display: grid;
  gap: 0.75rem;
  align-content: end;
  margin: 0;
}

.blog-index-hero figure img {
  aspect-ratio: 4 / 5;
  border: var(--happly-border);
  border-radius: 8px;
  object-fit: cover;
}

.blog-index-hero figcaption {
  color: rgba(28, 28, 26, 0.62);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
}

.blog-topic-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: clamp(1rem, 2.4vw, 1.8rem) 0;
}

.blog-topic-strip a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: var(--happly-border);
  border-radius: 999px;
  padding: 0 0.9rem;
  background: rgba(183, 255, 74, 0.2);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.9rem;
  line-height: 1;
  text-decoration: none;
}

.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.8rem, 2vw, 1.25rem);
}

.blog-index-card--feature {
  grid-column: span 2;
  grid-row: span 2;
}

.blog-index-card:not(.blog-index-card--feature) a {
  grid-template-rows: auto 1fr;
}

.blog-index-card:not(.blog-index-card--feature) img {
  aspect-ratio: 16 / 11;
}

.blog-index-card h2 {
  font-size: 2rem;
}

.blog-index-card--feature h2 {
  max-width: 12ch;
  font-size: 4rem;
}

.blog-index-card span {
  width: fit-content;
  margin-top: 0.25rem;
}

.blog-path-panel {
  margin-top: clamp(1rem, 2.8vw, 2rem);
  background:
    linear-gradient(135deg, rgba(183, 255, 74, 0.2), rgba(255, 211, 61, 0.22)),
    rgba(255, 248, 231, 0.9);
}

.blog-path-panel h2 {
  max-width: 11ch;
  margin: 0.55rem 0 0;
  font-family: var(--font-display);
  font-size: 4.4rem;
  letter-spacing: 0;
  line-height: 0.88;
  text-transform: lowercase;
}

.blog-path-panel p {
  margin: 1rem 0 0;
}

.blog-path-links {
  display: grid;
  gap: 10px;
}

.article-related {
  display: grid;
  gap: 1rem;
  margin-top: clamp(0.8rem, 2vw, 1.4rem);
  border-top: 2px solid rgba(28, 28, 26, 0.86);
  padding-top: clamp(1.1rem, 2.4vw, 1.7rem);
}

.article-related h2 {
  max-width: 16ch;
  margin: 0.35rem 0 0;
  font-size: 2.4rem;
}

.article-related-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.article-related-links a {
  background: rgba(255, 255, 255, 0.66);
}

.article-related-links span {
  order: -1;
  color: var(--green-deep);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: lowercase;
}

@media (max-width: 980px) {
  .blog-magazine,
  .blog-index-hero,
  .blog-path-panel {
    grid-template-columns: 1fr;
  }

  .blog-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-index-card--feature {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .blog-heading {
    align-items: start;
  }

  .blog-heading__actions {
    justify-content: flex-start;
  }

  .blog-magazine,
  .blog-stack,
  .blog-conversion-strip,
  .blog-index-grid,
  .article-related-links {
    grid-template-columns: 1fr;
  }

  .blog-feature a {
    grid-template-rows: auto 1fr;
  }

  .blog-feature h3,
  .blog-index-card--feature h2 {
    max-width: 13ch;
    font-size: 2.65rem;
  }

  .blog-row-card a {
    grid-template-columns: minmax(96px, 30%) minmax(0, 1fr);
  }

  .blog-row-card img {
    min-height: 160px;
  }

  .blog-index-card--feature {
    grid-column: auto;
  }

  .blog-index-hero h1 {
    font-size: 3.5rem;
  }

  .blog-path-panel h2 {
    font-size: 3rem;
  }
}

@media (max-width: 520px) {
  .blog-index-shell {
    width: min(100% - 22px, 1180px);
  }

  .blog-heading__actions,
  .blog-index-actions {
    display: grid;
    width: 100%;
  }

  .blog-heading__actions a,
  .blog-index-actions a {
    width: 100%;
  }

  .blog-row-card a {
    grid-template-columns: 1fr;
  }

  .blog-row-card img {
    min-height: 0;
    border-right: 0;
    border-bottom: var(--happly-border);
    aspect-ratio: 16 / 10;
  }

  .blog-index-hero,
  .blog-path-panel {
    padding: 1rem;
  }

  .blog-index-hero figure img {
    aspect-ratio: 4 / 3;
  }

  .blog-feature h3,
  .blog-index-card--feature h2,
  .blog-index-hero h1,
  .blog-path-panel h2 {
    font-size: 2.55rem;
  }

  .article-related h2 {
    font-size: 2rem;
  }
}

/* Article redesign: bold 21zero5 editorial surface, no generic grid backdrop. */
.blog-article-page {
  background: var(--yellow);
  color: var(--ink);
}

.blog-article-page .article-site-header {
  position: sticky;
  border-bottom: 2px solid var(--ink);
  background: rgba(255, 211, 61, 0.94);
  backdrop-filter: blur(14px);
}

.blog-article-page .article-site-brand img {
  height: 52px;
}

.blog-article-page .article-shell {
  width: 100%;
  max-width: none;
  padding: clamp(1.3rem, 3vw, 2.4rem) 0 0;
}

.blog-article-page .article-breadcrumb {
  width: min(100% - 32px, 1180px);
  margin: 0 auto clamp(1.1rem, 2vw, 1.5rem);
  color: rgba(28, 28, 26, 0.72);
}

.blog-article-page .article-story {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.blog-article-page .article-hero {
  position: relative;
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(1.8rem, 5vw, 5.2rem);
  align-items: end;
  border: 0;
  border-radius: 0;
  padding: clamp(2.4rem, 6vw, 5.2rem) 0 clamp(2.6rem, 5vw, 4.8rem);
  background: transparent;
  box-shadow: none;
}

.blog-article-page .article-hero-copy {
  z-index: 1;
  gap: 1.05rem;
  align-content: end;
}

.blog-article-page .article-kicker {
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--green);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
}

.blog-article-page .article-hero h1 {
  max-width: 780px;
  font-size: 5rem;
  letter-spacing: 0;
  line-height: 0.88;
  text-wrap: balance;
}

.blog-article-page .article-deck {
  max-width: 680px;
  color: rgba(28, 28, 26, 0.8);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.28;
}

.blog-article-page .article-hero-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 0.35rem;
}

.blog-article-page .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.blog-article-page .article-meta span {
  display: inline-grid;
  min-height: 44px;
  align-content: center;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  background: var(--cream-2);
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1;
}

.blog-article-page .article-meta small {
  display: block;
  margin-bottom: 0.18rem;
  color: rgba(28, 28, 26, 0.62);
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.blog-article-page .article-share-button {
  min-height: 44px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0 1rem;
  background: var(--ink);
  color: var(--cream-2);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.blog-article-page .article-share-button:hover,
.blog-article-page .article-share-button:focus-visible {
  background: var(--green);
  color: var(--ink);
  outline: none;
}

.blog-article-page .article-hero-media {
  z-index: 1;
  align-content: end;
}

.blog-article-page .article-hero-media img {
  aspect-ratio: 1 / 1;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--cream-2);
  object-fit: cover;
  box-shadow: 10px 10px 0 rgba(28, 28, 26, 0.18);
}

.blog-article-page .article-hero-media figcaption {
  color: rgba(28, 28, 26, 0.7);
  font-weight: 820;
}

.blog-article-page .article-body-grid {
  width: 100%;
  margin: 0 auto;
  grid-template-columns: minmax(220px, 250px) minmax(0, 720px);
  gap: clamp(1.8rem, 5vw, 4.2rem);
  justify-content: center;
  border-top: 2px solid var(--ink);
  padding: clamp(2rem, 5vw, 4.4rem) max(16px, calc((100vw - 1180px) / 2)) clamp(4rem, 7vw, 6rem);
  background: var(--cream);
}

.blog-article-page .article-sidebar {
  top: 92px;
}

.blog-article-page .article-side-box {
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--cream-2);
}

.blog-article-page .article-sidebar a,
.blog-article-page .article-faq details,
.blog-article-page .article-faq summary,
.blog-article-page .article-related-links a {
  border-radius: 8px;
}

.blog-article-page .article-side-box.muted {
  background: var(--yellow);
}

.blog-article-page .article-content {
  max-width: 720px;
  gap: 1.55rem;
  color: rgba(28, 28, 26, 0.9);
  font-size: 1.12rem;
  font-weight: 430;
  line-height: 1.72;
}

.blog-article-page .article-content > p:first-child {
  font-size: 1.18rem;
  font-weight: 560;
  line-height: 1.5;
}

.blog-article-page .article-content section {
  gap: 0.8rem;
}

.blog-article-page .article-content h2 {
  margin-top: 0.75rem;
  font-size: 2.55rem;
  letter-spacing: 0;
  line-height: 1;
}

.blog-article-page .article-content ul {
  gap: 0.65rem;
  padding-left: 1.25rem;
}

.blog-article-page .article-note {
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--green);
  box-shadow: none;
  font-size: 1.2rem;
  line-height: 1.25;
}

.blog-article-page .article-faq {
  border-top: 1px solid rgba(28, 28, 26, 0.8);
}

.blog-article-page .article-faq details {
  border: 1px solid rgba(28, 28, 26, 0.18);
  background: rgba(255, 252, 242, 0.82);
}

.blog-article-page .article-cta {
  border-top: 1px solid rgba(28, 28, 26, 0.8);
}

.blog-article-page .article-cta a {
  border-width: 2px;
}

.blog-article-page .article-related {
  border-top: 1px solid rgba(28, 28, 26, 0.8);
}

.blog-article-page .article-related h2 {
  font-size: 2.25rem;
}

.blog-article-page .article-related-links a {
  border: 1px solid var(--ink);
  background: var(--cream-2);
}

@media (max-width: 920px) {
  .blog-article-page .article-hero,
  .blog-article-page .article-body-grid {
    grid-template-columns: 1fr;
  }

  .blog-article-page .article-hero h1 {
    max-width: 12ch;
    font-size: 3.3rem;
  }

  .blog-article-page .article-hero-media img {
    aspect-ratio: 16 / 10;
    max-height: none;
  }

  .blog-article-page .article-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .blog-article-page .article-site-header {
    padding: 8px 12px;
  }

  .blog-article-page .article-site-brand img {
    height: 34px;
  }

  .blog-article-page .article-breadcrumb,
  .blog-article-page .article-hero,
  .blog-article-page .article-body-grid {
    width: min(100% - 22px, 1120px);
  }

  .blog-article-page .article-hero {
    gap: 1rem;
    padding: 1rem;
  }

  .blog-article-page .article-hero h1 {
    max-width: 13ch;
    font-size: 2.55rem;
    line-height: 0.98;
  }

  .blog-article-page .article-deck {
    font-size: 1rem;
    line-height: 1.36;
  }

  .blog-article-page .article-hero-tools,
  .blog-article-page .article-meta,
  .blog-article-page .article-share-button {
    width: 100%;
  }

  .blog-article-page .article-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-article-page .article-meta span {
    min-height: 46px;
  }

  .blog-article-page .article-share-button {
    justify-content: center;
  }

  .blog-article-page .article-hero-media img {
    aspect-ratio: 4 / 3;
  }

  .blog-article-page .article-body-grid {
    margin-top: 1.2rem;
  }

  .blog-article-page .article-content {
    gap: 1.35rem;
    font-size: 1.04rem;
    line-height: 1.64;
  }

  .blog-article-page .article-content > p:first-child {
    font-size: 1.08rem;
  }

  .blog-article-page .article-content h2 {
    font-size: 2rem;
  }

  .blog-article-page .article-related h2 {
    font-size: 1.9rem;
  }

  .blog-article-page .article-sidebar {
    grid-template-columns: 1fr;
  }
}
