[data-tec-presentation] > form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

[data-tec-quantity] {
  inline-size: 5rem;
  max-inline-size: 100%;
}

[data-tec-feedback] > :empty {
  margin: 0;
}

[data-tec-feedback] > [role='alert']:not(:empty) {
  font-weight: 600;
}

.tec-store-page {
  background: var(--tec-color-ivory);
  color: var(--tec-text-primary);
  font-family: var(--tec-font-sans);
  padding-block: clamp(22px, 4vw, 64px);
}
.tec-store-page h1,
.tec-store-page h2 {
  color: inherit;
  font-family: var(--tec-font-serif);
  font-weight: 400;
  letter-spacing: var(--tec-tracking-heading);
  line-height: 1.08;
}
.tec-store-page h1 { font-size: var(--tec-type-h1); margin: 0 0 20px; }
.tec-store-page h2 { font-size: var(--tec-type-h2); margin-block: 0 12px; }
.tec-product__breadcrumbs {
  margin-block-end: clamp(12px, 2vw, 26px);
  color: var(--tec-text-secondary);
  font-size: 0.875em;
}
.tec-product__breadcrumbs a { color: inherit; text-underline-offset: 0.2em; }
.tec-product { padding-block-start: clamp(16px, 2.2vw, 34px); }
.tec-product__info .tec-product__title { margin-block-end: 12px; }
.tec-product__simulation { font-size: var(--tec-type-help); margin-block: 8px 0; color: var(--tec-text-secondary); }
.tec-product__split { display: grid; gap: clamp(22px, 4vw, 64px); align-items: start; }
.tec-product__media { min-width: 0; }
.tec-product__media .tec-scene { border-radius: 0; }
.tec-product__info { min-width: 0; }
.tec-product__family {
  margin: 0 0 0.9em;
  color: var(--tec-text-secondary);
  font-size: var(--tec-type-eyebrow);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.tec-product__volume { color: var(--tec-text-secondary); margin: 0 0 8px; }
.tec-buy { border: 0; margin: 0; min-inline-size: 0; padding: 0; }
.tec-buy [data-tec-price] { font-size: clamp(22px, 2.2vw, 36px); font-weight: 700; }
.tec-buy [data-tec-availability] { display: block; margin-top: 8px; }
.tec-buy__row {
  border-top: 1px solid var(--tec-color-taupe);
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-start: 20px;
  padding-block-start: 16px;
}
.tec-buy__quantity { display: grid; grid-template-columns: 44px minmax(44px, auto) 44px; align-items: center; }
.tec-buy__quantity label { grid-column: 1 / -1; grid-row: 1; margin: 0 0 6px; }
.tec-buy__quantity [data-tec-step],
.tec-buy__quantity input,
.tec-cart__line-controls input {
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--tec-color-taupe);
  color: var(--tec-text-primary);
  background: var(--tec-color-stone);
  text-align: center;
  font: inherit;
}
.tec-buy__quantity > :not(label) { background: var(--tec-surface-card); }
.tec-buy__quantity button { cursor: pointer; }
.tec-buy__quantity input { appearance: textfield; width: 100%; padding: 0; border-inline: 0; }
.tec-buy__quantity [data-tec-step="-1"] { border-start-start-radius: var(--tec-radius-control); border-end-start-radius: var(--tec-radius-control); }
.tec-buy__quantity [data-tec-step="1"] { border-start-end-radius: var(--tec-radius-control); border-end-end-radius: var(--tec-radius-control); }
.tec-product .tec-buy__row .tec-action { background: var(--tec-color-ink); border-color: var(--tec-color-ink); }
.tec-buy__quantity input::-webkit-inner-spin-button { appearance: none; }
.tec-buy__row .tec-action { flex: 1 1 160px; justify-content: center; }
.tec-product__details,
.tec-related__same,
.tec-related__more { border-top: 1px solid var(--tec-color-taupe); margin-block-start: 34px; padding-block: 32px; }
.tec-product__details dl { margin: 0; max-inline-size: 65ch; }
.tec-product__details dl > div { margin-block-end: 1em; }
.tec-product__details dt { font-weight: 700; }
.tec-product__details dd { margin: 0.25em 0 0; }
.tec-related__same { display: grid; gap: 24px; }
.tec-related__same .tec-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tec-related__same .tec-card__cta {
  justify-content: center;
  min-block-size: 44px;
  padding-inline: 12px;
  border: 0;
  border-radius: var(--tec-radius-control);
  background: var(--tec-color-ink);
  color: var(--tec-color-ivory);
  text-align: center;
}
.tec-product__presentations { padding: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.tec-commercial-dialog {
  max-inline-size: min(540px, 100%);
  max-block-size: 100dvh;
  inline-size: min(540px, 100%);
  overflow: auto;
  margin: 0 0 0 auto;
  background: var(--tec-color-ivory);
  color: var(--tec-text-primary);
  padding: clamp(18px, 4vw, 42px);
  padding-block-end: calc(env(safe-area-inset-bottom, 0px) + 20px);
  border: 0;
  font-family: var(--tec-font-sans);
}
.tec-commercial-dialog::backdrop { background: rgb(48 41 36 / 45%); }
.tec-commercial-dialog__heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tec-commercial-dialog__heading h2 { font: 400 var(--tec-type-h2)/1.1 var(--tec-font-serif); margin: 0; }
.tec-commercial-dialog__close { min-width: 44px; min-height: 44px; background: none; color: inherit; border: 0; font: inherit; font-size: 26px; }
.tec-search__form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.tec-search__form label { flex-basis: 100%; }
.tec-search__form input { flex: 1 1 180px; min-width: 0; min-height: 44px; padding-inline: 12px; font: inherit; border: 1px solid var(--tec-color-taupe); background: var(--tec-color-stone); }
.tec-search .tec-card-grid { margin-block-start: 24px; }
[data-tec-search-suggestions] { list-style: none; padding: 0; margin: 0; }
[data-tec-search-suggestions] li { border-bottom: 1px solid var(--tec-color-taupe); }
[data-tec-search-suggestions] a { color: inherit; min-height: 44px; display: flex; align-items: center; }
.tec-cart__items { padding: 0; list-style: none; }
.tec-cart__line {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  border-block-end: 1px solid var(--tec-color-taupe);
  padding-block: 14px;
  gap: 12px;
}
.tec-cart__line a { color: inherit; }
.tec-cart__line p,
.tec-cart__line ul { margin: 0.35em 0; padding-inline-start: 0; }
.tec-cart__photo img { display: block; inline-size: 72px; block-size: auto; }
.tec-cart__line-controls { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tec-cart__line-controls button { min-height: 44px; background: transparent; border: 1px solid var(--tec-color-taupe); color: inherit; font: inherit; }
.tec-cart__line-controls input { width: 64px; margin-inline: 0.35em; }
.tec-cart__summary { display: flex; gap: 14px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.tec-kit[data-tec-kit-color="negro"] .tec-kit__intro { background: var(--tec-color-ink); color: var(--tec-color-ivory); }
.tec-kit__intro { padding: clamp(20px, 4vw, 70px); }
.tec-kit__choices { padding: 0; border: 0; margin: 26px 0 0; min-width: 0; }
.tec-kit__choices legend { font: italic 400 var(--tec-type-h1)/1.1 var(--tec-font-serif); }
.tec-kit__compatibility { margin-block: 0 24px; color: var(--tec-text-secondary); }
.tec-kit[data-tec-kit-color="negro"] .tec-kit__intro .tec-product__family { color: inherit; }
.tec-kit[data-tec-kit-color="negro"] .tec-kit__intro .tec-action { border-color: currentColor; }
.tec-kit__choice-note { margin-block: 6px; }
.tec-kit__bar [data-tec-kit-price] { margin: 3px 0 0; font-size: var(--tec-type-help); }
.tec-kit__bar [data-tec-status]:empty { display: none; }
@media (max-width: 899px) {
  .tec-kit .tec-kit__choice-note { display: none; }
  .tec-product .tec-buy__row { border: 0; margin-block-start: 8px; padding-block-start: 0; }
  .tec-product .tec-buy__quantity label { position: absolute; clip-path: inset(50%); }
  .tec-related__same .tec-card-grid { grid-template-columns: minmax(0, 1fr); }
  /* Same Essence (Essence Immersion M): artwork left, format and action right. 4:5 art, never cropped further. */
  .tec-related__same .tec-card__link { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; }
  .tec-related__same .tec-card__body { min-width: 0; }
}
.tec-kit__bar {
  position: sticky;
  bottom: 0;
  z-index: var(--tec-z-purchase);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px clamp(16px, 4vw, 40px) calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--tec-color-taupe);
  background: var(--tec-color-ivory);
  color: var(--tec-color-ink);
}
.tec-kit__bar[hidden],
.tec-store-page [hidden],
.tec-commercial-dialog [hidden] { display: none !important; }
.tec-kit__bar strong { font-family: var(--tec-font-serif); font-size: 1.25em; }
@media (min-width: 900px) {
  .tec-product__split { grid-template-columns: minmax(0, 55fr) minmax(0, 41fr); }
  .tec-product__info { padding-block: clamp(8px, 1.6vw, 26px); }
  .tec-buy__row { display: grid; grid-template-columns: 1fr; }
  .tec-buy__quantity { justify-self: start; }
  .tec-related__same { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-height: 520px) {
  .tec-kit__bar { position: static; }
}
