/* Bertazzoni's courtyard, showroom and specification desk. */
.bertazzoni {
  --bt-night: #211215;
  --bt-oxblood: #391519;
  --bt-rosso: #8e242b;
  --bt-cream: #f8e8d0;
  --bt-blush: #ffa4c4;
  --bt-line: #d9aa8e61;
  --bt-gutter: max(5vw, calc((100% - 1420px) / 2));
  background: var(--bt-night);
  color: var(--bt-cream);
}

.bt-frame { width: min(90%, 1420px); margin-inline: auto; }
.bt-hand {
  color: var(--bt-blush);
  font: 700 clamp(1.65rem, 3vw, 3.4rem)/1 var(--font-handwritten);
  transform: rotate(-3deg);
  transform-origin: left center;
}
.bt-wordmark {
  display: inline-block;
  margin-bottom: .6em;
  font: bold italic clamp(1.25rem, 2vw, 2.25rem)/1 var(--em-serif);
}
.bt-link {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  gap: .7em;
  font-weight: 800;
  text-decoration: none;
}
.bt-link .em-icon { color: var(--bt-blush); }
.bt-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2em;
  min-height: 49px;
  padding: .65em 1.25em;
  color: white;
  background: #ab155a;
  border: 1px solid var(--em-pink);
  border-radius: 99px;
  font-weight: 900;
  text-decoration: none;
  width: fit-content;
}
.bt-button:hover { background: #8e124c; }

.bt-hero { min-height: 100svh; display: grid; align-items: center; position: relative; isolation: isolate; }
.bt-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; z-index: -2; }
.bt-hero::after, .bt-range-head::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #220d11ee, #220d11aa 27%, #220d1129 55%, transparent 75%),
              linear-gradient(180deg, #1f0b10a1, transparent 23%, transparent 80%, #291317aa);
}
.bt-hero-copy { padding-block: clamp(7.5rem, 16svh, 12rem) 4rem; animation: bt-enter .7s ease-out both; }
@keyframes bt-enter { from { opacity: 0; transform: translateY(12px); } }
.bertazzoni .bt-hero h1 { max-width: none; font-size: clamp(5.3rem, 10.1vw, 11.5rem); line-height: .95; }
.bertazzoni .bt-hero h2 { font-size: clamp(2.6rem, 5.05vw, 5.9rem); line-height: .98; margin-top: .22em; width: fit-content; }
.bt-hero h2::after, .bt-paint h2::after, .bt-series > h2::after {
  content: "";
  display: block;
  height: .14em;
  width: 73%;
  margin: .24em 0 .06em .09em;
  border-top: .07em solid var(--em-pink);
  border-radius: 70% 40% 0 0;
  transform: rotate(-3deg);
}
.bt-hero .bt-hand { max-width: 24ch; margin: .85em 0 .9em; }
.bt-hero .em-kicker { font-size: clamp(.68rem, 1vw, .87rem); margin-bottom: .45rem; }
.bt-hero-break { display: none; }
.bt-paint { background: linear-gradient(135deg, var(--bt-oxblood), #301319 68%); padding-block: clamp(3.5rem, 7.5vw, 8rem); }
.bt-paint-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.5fr); align-items: center; gap: 3vw; }
.bertazzoni .bt-paint h2 { max-width: 12ch; font-size: clamp(3.1rem, 5.1vw, 6.35rem); line-height: .97; }
.bt-paint-copy p { max-width: 33ch; font-size: clamp(1rem, 1.45vw, 1.23rem); }
.bt-paint-copy .bt-link { margin-top: .45rem; }
.bt-study-photo { display: block; width: 100%; height: auto; }
.bt-palette {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: .45rem .6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bt-palette li { text-align: center; font: 700 clamp(1rem, 2.25vw, 2.25rem)/1 var(--font-handwritten); }
.bt-palette span {
  display: block;
  margin: 0 auto .4em;
  width: clamp(28px, 4.5vw, 64px);
  aspect-ratio: 1;
  background: var(--swatch);
  border: 1px solid #f8e8d099;
  border-radius: 50% 46% 53% 47%;
  transform: rotate(-12deg);
}
.bt-series { padding-block: clamp(3.7rem, 7vw, 7.5rem); }
.bertazzoni .bt-series > h2 { text-align: center; max-width: none; font-size: clamp(3rem, 6vw, 6rem); }
.bt-series > h2::after { width: min(25%, 180px); margin-inline: auto; }
.bt-series-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(1rem, 2vw, 2rem);
  list-style: none;
  padding: 0;
  margin: clamp(2rem, 4vw, 4rem) 0 2rem;
}
.bt-series-list > li {
  --bt-series-base: #36171a;
  --bt-series-light: #49252a;
  min-width: 0;
  background: radial-gradient(ellipse at 50% 18%, var(--bt-series-light), var(--bt-series-base) 69%);
  border: 1px solid var(--bt-line);
  border-radius: 9px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.bt-series-list > .bt-series-card--master { --bt-series-base: #352a27; --bt-series-light: #493a34; }
.bt-series-list > .bt-series-card--heritage { --bt-series-base: #3c241e; --bt-series-light: #503128; }
.bt-series-illustration {
  display: block;
  width: 94%;
  height: auto;
  aspect-ratio: 1.42;
  object-fit: contain;
  object-position: center bottom;
  margin: clamp(10px, 1vw, 16px) 3% 0;
}
.bt-series-copy { flex: 1; display: flex; flex-direction: column; align-items: start; padding: clamp(1rem, 2vw, 2rem); container-type: inline-size; }
.bt-series-copy h3 { font-size: min(clamp(1.9rem, 3vw, 3.7rem), 12cqi); }
.bt-series-copy .bt-hand { margin: .45em 0 .2em; font-size: min(clamp(1.45rem, 2.5vw, 2.7rem), 11cqi); }
.bt-series-copy p:not([class]) { margin-block: .5em .7em; }
.bt-series-copy .bt-link { margin-top: auto; }
.bt-all { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.4rem 2rem; padding-top: 1.35rem; border-top: 1px solid var(--bt-line); }
.bt-all > p { margin: 0; }

.bt-crumbs { display: flex; flex-wrap: wrap; gap: .3em .5em; align-items: center; font-size: .86rem; margin-bottom: 2rem; }
.bt-crumbs a { font-weight: 700; }
.bt-crumbs .em-icon { color: var(--bt-blush); }
.bt-range-head {
  display: grid;
  align-items: end;
  min-height: min(65svh, 680px);
  isolation: isolate;
  position: relative;
}
.bt-range-head::after { background: linear-gradient(90deg, var(--bt-night), #21121576 64%, transparent), linear-gradient(0deg,var(--bt-night),transparent 54%); }
.bt-range-photo { position: absolute; z-index: -2; right: 0; inset-block: 0; width: 60%; height: 100%; object-fit: cover; object-position: 55% 58%; mask-image: linear-gradient(90deg, transparent, #000 26%); }
.bt-range-title { padding-block: 8rem 3rem; }
.bertazzoni .bt-range-title h1 { font-size: clamp(4.1rem, 8vw, 9rem); letter-spacing: -.025em; max-width: 10ch; }
.bt-range-title > p { max-width: 31ch; }
.bt-range-title .bt-hand { margin-block: .65em; }
.bt-filter-bar { display: flex; flex-wrap: wrap; gap: .85rem; border-block: 1px solid var(--bt-line); padding-block: 1.2rem; }
.bt-filter-bar > div { display: grid; gap: .25em; flex: 1 1 120px; }
.bt-filter-bar label { font-size: .87rem; font-weight: 800; }
.bt-filter-bar select, .bt-arrows button { min-height: 44px; padding: .45em .65em; font: inherit; color: var(--bt-cream); background: var(--bt-oxblood); border: 1px solid var(--bt-line); }
.bt-results { font-size: .9rem; color: #e5c8b4; }
.bt-gallery { padding-block: 1.7rem 2.7rem; scroll-margin-top: 20px; }
.bt-gallery + .bt-gallery { border-top: 1px solid var(--bt-line); }
.bt-gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.3rem; }
.bertazzoni .bt-gallery h2 { font-size: clamp(2.3rem, 5vw, 5.2rem); }
.bt-gallery-head .bt-hand { margin: .35em 0 0; font-size: clamp(1.4rem, 2.4vw, 2.6rem); }
.bt-arrows { display: flex; gap: .35rem; }
.bt-arrows button { display: grid; place-items: center; min-width: 44px; border-radius: 50%; cursor: pointer; }
.bt-arrows button:disabled { opacity: .42; cursor: default; }
.bt-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(31vw, 460px);
  gap: clamp(1rem, 2.5vw, 2.4rem);
  margin: 0;
  padding: .4rem var(--bt-gutter) 1.2rem;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--bt-gutter);
}
.bt-track::-webkit-scrollbar { display: none; }
.bt-model {
  display: grid;
  grid-template-rows: auto 1fr;
  scroll-snap-align: start;
  background: #321b1b;
  border-bottom: 1px solid var(--bt-line);
}
.bt-model:target { outline: 2px solid var(--em-pink); outline-offset: 4px; }
.bt-model-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.48;
  object-fit: contain;
  background: #fff;
  padding: .9rem;
}
.bt-model-copy { display: flex; flex-direction: column; align-items: start; padding: clamp(.9rem, 2.25vw, 1.9rem); }
.bt-model-copy h3 { font-size: clamp(1.6rem, 2.55vw, 2.75rem); }
.bt-model-copy p { margin: .45em 0 .3em; }
.bt-model-copy small { color: #e3c2ad; margin-bottom: .7em; }
.bt-model-copy .bt-link { margin-top: auto; }

.bt-configurator > .bt-frame:first-child { padding-top: clamp(6.5rem, 9vw, 7.7rem); }
.bt-product-intro { margin-bottom: clamp(1.4rem, 3vw, 2.75rem); }
.bt-configurator .bt-crumbs { margin-bottom: 1.4rem; }
.bertazzoni .bt-product-intro h1 { max-width: none; font-size: clamp(3.75rem, 7.25vw, 8.5rem); line-height: .97; }
.bt-product-intro .bt-hand { margin-top: .45em; }
.bt-product-layout { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(340px,1fr); gap: clamp(1.8rem, 5vw, 5.5rem); align-items: start; }
.bt-stage { position: sticky; top: 1.1rem; margin: 0; background: var(--bt-night); }
.bt-stage-canvas {
  display: grid;
  place-items: center;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  height: clamp(345px, 56svh, 640px);
  padding: clamp(.9rem, 2.9vw, 2.7rem);
  background: #fff;
  border: 1px solid var(--bt-line);
}
.bt-stage img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.bt-stage figcaption { padding: .65rem 0; color: #ecd1ba; font-size: .92rem; }
.bt-specify { border-block: 1px solid var(--bt-line); padding-block: 1.35rem 1.8rem; }
.bertazzoni .bt-specify h2 { font-size: clamp(2.6rem, 4.2vw, 4.5rem); }
.bt-specify form { margin-block: 1.6rem; }
.bt-specify fieldset { border: 0; padding: 0; margin: 0 0 1.3rem; min-width: 0; }
.bt-specify legend { padding: 0; margin-bottom: .55rem; font-weight: 900; }
.bt-options { display: flex; gap: .4rem; flex-wrap: wrap; }
.bt-options label { position: relative; cursor: pointer; display: flex; }
.bt-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.bt-options label > span {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--bt-line);
  min-height: 44px;
  padding: .35em .6em;
  font-size: .9rem;
}
.bt-options input:checked + span { border-color: var(--bt-blush); background: var(--bt-rosso); color: #fff; }
.bt-options input:disabled + span { opacity: .62; border-style: dashed; cursor: default; }
.bt-options input:focus-visible + span { outline: 2px solid var(--bt-blush); outline-offset: 2px; }
.bt-options.bt-colours { gap: .2rem .55rem; }
.bt-colours label > span {
  border: 1px solid transparent;
  background: transparent;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: .45rem;
  width: 57px;
  border-radius: 27px 27px 4px 4px;
  text-align: center;
  font-size: .72rem;
  padding: 3px 0 4px;
  line-height: 1.2;
}
.bt-swatch { display: block; width: 43px; aspect-ratio: 1; border-radius: 50%; background: var(--swatch); border: 1px solid #f8e8d099; }
.bt-colours input:checked + span { border-color: transparent; background: transparent; }
.bt-colours input:checked + span .bt-swatch { outline: 2px solid var(--bt-blush); outline-offset: 3px; }
.bt-colours input:disabled + span { opacity: .4; }
[data-colour-name] { margin-left: .65em; color: var(--bt-blush); font-weight: 500; }
.bt-specify [data-accessory-group] p { margin: 0 0 .5em; font-size: .85rem; color: #e5c1ad; }
.bt-specify [data-accessory-group] label { display: flex; gap: .65rem; align-items: center; min-height: 44px; border-bottom: 1px solid var(--bt-line); font-size: .93rem; cursor: pointer; }
.bt-specify [data-accessory-group] input { accent-color: var(--em-pink); width: 1.12em; height: 1.12em; flex: none; }
.bt-specify [data-accessory-group] small { display: inline-block; color: #e6c1ac; }
.bt-change { font-size: .92rem; color: var(--bt-blush); }
.bt-change:empty { display: none; }
.bt-specify h3 { font-size: 1.75rem; margin-top: 1.8rem; }
.bt-facts > div { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: .4em 1em; border-bottom: 1px solid var(--bt-line); padding-block: .42em; }
.bt-facts dt { color: #e7c6b4; }
.bt-facts dd { margin: 0; overflow-wrap: anywhere; }
.bt-terms { font-size: .93rem; }
.bt-opinion { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: center; position: relative; margin-block: clamp(4rem, 9vw, 9rem); padding-bottom: 3rem; }
.bt-opinion p:not([class]) { max-width: 39ch; }
.bt-opinion-photo { display: block; width: 100%; height: auto; aspect-ratio: 1.25; object-fit: cover; }
.bt-opinion-detail { position: absolute; right: 37%; bottom: 0; width: min(23vw, 320px); height: auto; aspect-ratio: 1.5; object-fit: cover; box-shadow: 0 10px 20px #0008; border: 5px solid var(--bt-night); }
.bt-airtec { background: var(--bt-cream); color: var(--bt-night); padding-block: clamp(2.3rem, 6vw, 6.6rem); }
.bt-airtec-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); align-items: center; gap: clamp(1.5rem, 5vw, 6rem); }
.bt-airtec-photo { display: block; width: 100%; height: auto; aspect-ratio: 1.25; object-fit: cover; }
.bt-airtec dt { font-weight: 900; }
.bt-airtec dd { margin: 0 0 .8em; }
.bt-technical { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: clamp(1.5rem, 7vw, 7.5rem); padding-block: clamp(3.1rem, 7vw, 7rem); }
.bt-technical h3 { font-size: clamp(1.8rem, 3vw, 3rem); }
.bt-related { display: flex; flex-wrap: wrap; gap: .7rem 1.7rem; align-items: baseline; border-top: 1px solid var(--bt-line); padding-block: 2rem 3.5rem; }

@media (max-width: 1000px) {
  .bt-hero-break { display: initial; }
  .bt-track { grid-auto-columns: 42vw; }
  .bt-product-layout { grid-template-columns: minmax(0,1.25fr) minmax(310px,1fr); gap: 1.5rem; }
}
@media (max-width: 900px) {
  .bt-product-layout { grid-template-columns: 1fr; gap: .4rem; }
  .bt-stage { top: 0; z-index: 2; padding-top: .45rem; }
  .bt-stage-canvas { height: clamp(155px, 42svh, 460px); padding: .55rem; }
  .bt-stage figcaption { padding: .45rem .15rem; }
  .bt-specify :is(input, label) { scroll-margin-top: calc(min(42svh, 460px) + 3rem); }
}
@media (max-width: 680px) {
  .bt-hero { align-items: start; min-height: max(735px, 100svh); }
  .bt-hero-photo { height: 50%; inset: auto 0 0; object-position: 80% 53%; }
  .bt-hero::after { background: linear-gradient(180deg, var(--bt-night) 47%, #2112153d 65%, transparent 86%, #321519a2); }
  .bt-hero-copy { padding: 6.45rem 0 19rem; }
  .bertazzoni .bt-hero h1 { font-size: clamp(3.5rem, 13vw, 5.3rem); }
  .bertazzoni .bt-hero h2 { font-size: clamp(2.55rem, 9vw, 4.1rem); }
  .bt-hero .bt-hand { font-size: clamp(1.65rem, 6.6vw, 2.55rem); margin-bottom: .83em; }
  .bt-paint-grid, .bt-series-list, .bt-opinion, .bt-airtec-grid, .bt-technical { grid-template-columns: 1fr; }
  .bt-study { margin-top: 1.4rem; }
  .bt-palette { justify-content: space-between; }
  .bt-palette li { font-size: 1.1rem; }
  .bt-range-photo { width: 100%; height: 63%; inset: auto 0 0; mask-image: linear-gradient(180deg, transparent, #000 35%); }
  .bt-range-head { min-height: 510px; }
  .bt-range-title { padding: 6.6rem 0 5.8rem; }
  .bt-range-head::after { background: linear-gradient(180deg, var(--bt-night) 25%, #211215b3 65%, var(--bt-night) 100%), linear-gradient(90deg, #211215aa, transparent); }
  .bt-track { grid-auto-columns: 82vw; }
  .bt-opinion { padding-bottom: 1.8rem; }
  .bt-opinion-detail { right: 2%; width: 50vw; }
  .bt-airtec-photo { aspect-ratio: 1.5; }
}
@media (max-height: 560px) and (max-width: 760px) {
  .bt-stage { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .bertazzoni *, .bertazzoni *::after { animation: none; transition: none; scroll-behavior: auto; }
}
