:root {
  --paper: #f7f2ea;
  --paper-soft: #faf7f1;
  --hero-paper: #f6ede4;
  --wine: #681724;
  --wine-deep: #57101b;
  --ink: #191716;
  --muted: #7b746c;
  --line: #d6cdbf;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
}

body.menu-open,
body.overlay-open {
  overflow: hidden;
}

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

button,
select {
  cursor: pointer;
}

button {
  padding: 0;
  border: 0;
  background: none;
}

img {
  max-width: 100%;
}

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

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

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 88px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(99, 83, 68, 0.48);
  background: var(--paper-soft);
}

.brand {
  flex: 0 0 auto;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 58px;
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: 0.045em;
}

.desktop-nav {
  margin-left: 76px;
  display: flex;
  align-items: center;
  gap: 56px;
  font-size: 17px;
}

.desktop-nav a,
.delivery-promise,
.site-footer a,
.site-footer button {
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.delivery-promise:hover,
.site-footer a:hover,
.site-footer button:hover {
  color: var(--wine);
}

.delivery-promise {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--wine);
  font-size: 15px;
}

.truck-icon {
  position: relative;
  width: 36px;
  height: 20px;
  display: inline-block;
  border: 1.5px solid currentColor;
}

.truck-icon::before {
  content: "";
  position: absolute;
  top: 7px;
  right: -10px;
  width: 10px;
  height: 13px;
  border: 1.5px solid currentColor;
  border-left: 0;
}

.truck-icon::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: -5px;
  width: 5px;
  height: 5px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background: var(--paper-soft);
  box-shadow: 28px 0 0 -1.5px var(--paper-soft), 28px 0 0 0 currentColor;
}

.header-actions {
  margin-left: 76px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.icon-button {
  position: relative;
  width: 24px;
  height: 32px;
  display: grid;
  place-items: center;
}

.search-icon {
  position: relative;
  width: 18px;
  height: 18px;
  display: block;
  border: 1.6px solid currentColor;
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 8px;
  height: 1.5px;
  background: currentColor;
  transform: rotate(48deg);
  transform-origin: left center;
}

.account-icon {
  position: relative;
  width: 20px;
  height: 22px;
  display: block;
}

.account-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6px;
  width: 8px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background: var(--paper-soft);
}

.account-icon::after {
  content: "";
  position: absolute;
  left: 1px;
  bottom: 0;
  width: 18px;
  height: 10px;
  border: 1.5px solid currentColor;
  border-radius: 12px 12px 0 0;
}

.bag-icon {
  position: relative;
  width: 18px;
  height: 20px;
  display: block;
  border: 1.4px solid currentColor;
}

.bag-icon::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 4px;
  width: 8px;
  height: 8px;
  border: 1.4px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.cart-count {
  position: absolute;
  top: -1px;
  right: -10px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--wine);
  font-size: 11px;
  font-weight: 600;
}

.menu-button {
  width: 30px;
  height: 28px;
  display: none;
  place-content: center;
  gap: 7px;
}

.menu-button span {
  width: 28px;
  height: 1px;
  display: block;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 72px 0 auto;
  padding: 30px 24px 44px;
  display: none;
  flex-direction: column;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--serif);
  font-size: 34px;
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--wine);
  font: inherit;
  text-align: left;
}

.section-shell {
  padding-right: 4%;
  padding-left: 4%;
}

.hero {
  position: relative;
  height: clamp(460px, 34vw, 520px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--hero-paper);
  isolation: isolate;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: 0;
  inset: 0 0 0 22%;
  width: auto;
  background: var(--hero-paper);
}

.hero-media img {
  display: block;
  object-fit: cover;
  object-position: right top;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 44%;
  height: 100%;
  padding: 0 2.5% 0 4.5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
}

.hero-copy h1 {
  margin-bottom: 28px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(64px, 4.8vw, 78px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.025em;
}

.hero-copy h1 span {
  display: block;
  white-space: nowrap;
}

.hero-copy p {
  margin-bottom: 32px;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.025em;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 44px;
}

.hero-actions .button,
.hero-actions .text-link {
  flex: 0 0 auto;
}

.button {
  min-height: 62px;
  padding: 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  font-size: 17px;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  border-color: var(--wine);
  color: #fff;
  background: var(--wine);
}

.button--primary:hover {
  border-color: #4b0b15;
  background: #4b0b15;
}

.text-link {
  width: max-content;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 16px;
  line-height: 1;
}

.featured {
  padding-top: 24px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}

.section-heading-row {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-heading-row h2,
.catalog h2,
.builder h2,
.delivery h2,
.studio h2,
.reviews h2,
.details h2,
.faq h2,
.reminder h2 {
  margin-bottom: 0;
  color: var(--wine);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.section-heading-row h2 {
  font-size: 42px;
}

.carousel-controls {
  display: flex;
  gap: 28px;
}

.carousel-controls button {
  width: 28px;
  height: 28px;
  font-size: 32px;
  font-weight: 300;
  line-height: 0.7;
  transition: color 180ms ease, transform 180ms ease;
}

.carousel-controls button:hover {
  color: var(--wine);
  transform: translateX(2px);
}

.carousel-controls button:first-child:hover {
  transform: translateX(-2px);
}

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

.product-row,
.catalog-tabs,
.details-gallery {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.product-row::-webkit-scrollbar,
.catalog-tabs::-webkit-scrollbar,
.details-gallery::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.product-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(251, 248, 243, 0.58);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  border-color: #ae9f8c;
  box-shadow: 0 12px 30px rgba(66, 39, 27, 0.07);
}

.product-image {
  width: 100%;
  display: block;
  overflow: hidden;
  background: #ddd6cc;
  text-align: left;
}

.featured .product-image {
  aspect-ratio: 1.94 / 1;
}

.product-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 43%;
  transition: transform 600ms cubic-bezier(0.18, 0.7, 0.2, 1);
}

.product-card:hover .product-image img {
  transform: scale(1.018);
}

.product-meta {
  min-height: 78px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.product-meta h3 {
  margin: 0;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}

.product-buy {
  display: flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
}

.product-buy > span {
  font-size: 17px;
  font-weight: 300;
}

.product-buy button {
  width: 26px;
  height: 34px;
  display: grid;
  place-items: center;
}

.catalog {
  padding-top: 28px;
  padding-bottom: 33px;
  border-bottom: 1px solid var(--line);
}

.catalog-intro h2 {
  font-size: 50px;
  line-height: 1;
}

.catalog-intro p {
  margin: 5px 0 22px;
  font-size: 16px;
}

.bouquet-finder {
  display: grid;
  grid-template-columns: 1.08fr 1.08fr 0.98fr 0.98fr;
  align-items: end;
  gap: 31px;
}

.bouquet-finder label,
.delivery-form label,
.builder-fields label,
.wishes-field {
  display: grid;
  gap: 8px;
}

.bouquet-finder label > span,
.delivery-form label > span,
.builder-fields label > span,
.wishes-field > span {
  font-size: 13px;
}

select,
input {
  width: 100%;
  height: 47px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  background: rgba(250, 247, 241, 0.45);
  font-size: 15px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position:
    calc(100% - 19px) 20px,
    calc(100% - 15px) 20px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

select:focus,
input:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 2px rgba(104, 23, 36, 0.09);
}

.finder-submit {
  min-height: 49px;
}

.catalog-tabs {
  margin: 29px 0 22px;
  display: flex;
  gap: 44px;
}

.catalog-tabs button {
  padding: 0 0 9px;
  border-bottom: 1px solid transparent;
  font-size: 15px;
}

.catalog-tabs button.is-active {
  border-color: var(--wine);
  color: var(--wine);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.catalog-grid .product-image {
  aspect-ratio: 2.07 / 1;
}

.catalog-grid .product-meta {
  min-height: 59px;
  padding: 0 15px;
}

.catalog-grid .product-meta h3 {
  font-size: 26px;
}

.catalog-grid .product-card.is-hidden {
  display: none;
}

.catalog-grid .product-card.is-recommended::after {
  content: "Подходит вам";
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  color: #fff;
  background: var(--wine);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.finder-result {
  margin: -8px 0 20px;
  color: var(--wine);
  font-size: 14px;
}

.no-results {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  text-align: center;
}

.custom-order-banner {
  position: relative;
  min-height: 104px;
  margin-top: 32px;
  padding: 0 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.55fr 1.05fr;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--line);
  isolation: isolate;
}

.custom-order-banner::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: 21%;
  bottom: -85px;
  width: 360px;
  height: 190px;
  background: url("./assets/webp/product-morning-garden-640.webp") center 36% / cover;
  mix-blend-mode: multiply;
  opacity: 0.9;
}

.custom-order-banner strong {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 39px;
  font-weight: 500;
  line-height: 1;
}

.custom-order-banner > span:not(.custom-order-link) {
  font-size: 14px;
  line-height: 1.5;
}

.custom-order-link {
  justify-self: end;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--wine);
  color: var(--wine);
  font-size: 16px;
}

.builder {
  padding-top: 31px;
  padding-bottom: 37px;
  border-bottom: 1px solid var(--line);
}

.builder-heading h2 {
  font-size: 64px;
  line-height: 0.95;
}

.builder-heading p {
  margin: 4px 0 20px;
  font-size: 18px;
}

.builder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.82fr);
  gap: 55px;
}

.builder-photo {
  height: 499px;
  display: block;
  overflow: hidden;
}

.builder-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.builder-form {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.builder-progress {
  margin-top: -35px;
}

.builder-progress strong {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
}

.builder-progress > div {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.builder-progress span {
  height: 4px;
  display: block;
  background: #d5d1cb;
}

.builder-progress span.is-active {
  background: var(--wine);
}

.builder-back {
  width: max-content;
  margin-top: 17px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--muted);
  font-size: 13px;
}

.builder-step {
  flex: 1 1 auto;
  padding-top: 23px;
}

.builder-step[hidden] {
  display: none;
}

.builder-step legend,
.wishes-field > span {
  margin-bottom: 8px;
  font-size: 14px;
}

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

.palette-options button {
  border: 1px solid transparent;
  text-align: left;
  transition: border-color 180ms ease;
}

.palette-options button.is-selected {
  border-color: var(--wine);
}

.palette-options img {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  display: block;
  object-fit: cover;
}

.palette-options span {
  min-height: 35px;
  padding: 7px 3px 0;
  display: block;
  font-size: 12px;
  line-height: 1.2;
}

.size-fieldset {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.size-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.size-options button {
  height: 50px;
  border: 1px solid var(--line);
  font-size: 22px;
}

.size-options button.is-selected {
  border-color: var(--wine);
  color: #fff;
  background: var(--wine);
}

.wishes-field {
  margin-top: 23px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.wishes-field input {
  height: 42px;
  font-size: 12px;
}

.builder-step--summary h3 {
  margin: 8px 0 28px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
}

.builder-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.builder-fields--wide {
  grid-column: 1 / -1;
}

.order-summary {
  margin: 0;
  border-top: 1px solid var(--line);
}

.order-summary div {
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.order-summary dt {
  color: var(--muted);
}

.order-summary dd {
  max-width: 65%;
  margin: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.builder-total {
  min-height: 73px;
  padding-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.18fr;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.builder-total > strong {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  white-space: nowrap;
}

.photo-note {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  line-height: 1.25;
}

.camera-icon {
  position: relative;
  width: 26px;
  height: 19px;
  display: block;
  border: 1px solid currentColor;
}

.camera-icon::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 7px;
  width: 11px;
  height: 5px;
  border: 1px solid currentColor;
  border-bottom: 0;
}

.camera-icon::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 8px;
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.builder-total .button {
  min-height: 54px;
  padding: 0 18px;
}

.order-paths {
  padding: 34px 0 40px;
}

.order-paths-heading {
  margin-bottom: 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.order-paths-heading .eyebrow {
  margin-bottom: 6px;
  color: var(--wine);
}

.order-paths-heading h2 {
  font-size: 50px;
}

.order-paths-heading > p {
  max-width: 390px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.order-paths-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(220px, auto));
  gap: 12px;
}

.order-path {
  min-width: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  background: rgba(251, 248, 243, 0.45);
}

.order-path > span,
.order-path--featured > div > span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.order-path h3 {
  max-width: 390px;
  margin: 16px 0 12px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  line-height: 0.98;
}

.order-path p {
  max-width: 440px;
  margin-bottom: 22px;
  font-size: 13px;
  line-height: 1.55;
}

.order-path .text-link {
  margin-top: auto;
}

.order-path--featured {
  padding: 0;
  overflow: hidden;
  grid-row: 1 / 3;
}

.order-path--featured img {
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  display: block;
  object-fit: cover;
}

.order-path--featured > div {
  padding: 25px 28px 28px;
}

.order-path--wine {
  grid-column: 2 / 4;
  border-color: var(--wine);
  color: #fff;
  background: var(--wine);
}

.order-path--wine > span,
.order-path--wine h3,
.order-path--wine .text-link {
  color: #fff;
}

.order-path--wine > span {
  opacity: 0.7;
}

.order-path--soft {
  background: var(--hero-paper);
}

.seasonal {
  padding-top: 42px;
  padding-bottom: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: stretch;
  gap: 52px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.seasonal-photo {
  min-height: 610px;
  display: block;
  overflow: hidden;
}

.seasonal-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.seasonal-content {
  padding: 28px 0 12px;
  display: flex;
  flex-direction: column;
}

.seasonal-content .eyebrow {
  margin-bottom: 9px;
  color: var(--wine);
  font-size: 14px;
}

.seasonal-content h2 {
  margin-bottom: 18px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(54px, 5vw, 72px);
  font-weight: 500;
  line-height: 0.96;
}

.seasonal-lead {
  max-width: 600px;
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.65;
}

.seasonal-list {
  border-top: 1px solid var(--line);
}

.seasonal-list article {
  min-height: 92px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.seasonal-list article > span {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 24px;
}

.seasonal-list h3 {
  margin: 0 0 3px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
}

.seasonal-list p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.seasonal-list small {
  padding: 6px 9px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.seasonal-content > .button {
  width: max-content;
  margin-top: 36px;
}

.subscription {
  padding-top: 26px;
  padding-bottom: 0;
  border-bottom: 1px solid var(--line);
}

.subscription-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 46px;
}

.subscription-photo {
  height: 634px;
  display: block;
}

.subscription-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.subscription-content {
  padding: 28px 0 0;
}

.eyebrow {
  margin-bottom: 13px;
  font-size: 17px;
}

.subscription-content .eyebrow {
  color: var(--wine);
}

.subscription-content h2 {
  margin: 0;
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(56px, 5vw, 76px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.subscription-lead {
  margin: 12px 0 37px;
  font-size: 18px;
}

.frequency-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.frequency-options button {
  min-height: 68px;
  padding: 0 12px;
  border: 1px solid var(--line);
  font-size: 16px;
}

.frequency-options button.is-selected {
  border-color: var(--wine);
  color: #fff;
  background: var(--wine);
}

.subscription-benefits {
  margin: 25px 0 28px;
  padding: 0;
  list-style: none;
}

.subscription-benefits li {
  min-height: 57px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.subscription-benefits span {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 1px solid var(--wine);
  border-radius: 50%;
  color: var(--wine);
  font-size: 13px;
}

.subscription-order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.subscription-order strong {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 500;
  white-space: nowrap;
}

.subscription-order .button {
  min-width: 303px;
  min-height: 68px;
}

.subscription-note {
  margin: 24px 0 0;
  font-size: 15px;
}

.delivery {
  margin-top: 29px;
  display: grid;
  grid-template-columns: minmax(0, 3.4fr) minmax(280px, 1.2fr);
  border-top: 1px solid var(--line);
}

.delivery-main {
  padding: 28px 34px 42px 8px;
}

.delivery-main h2 {
  margin-bottom: 35px;
  font-size: 47px;
  line-height: 1;
}

.delivery-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.delivery-steps article {
  min-height: 132px;
  padding: 0 22px;
  border-right: 1px solid var(--line);
}

.delivery-steps article:first-child {
  padding-left: 0;
}

.delivery-steps article:last-child {
  border-right: 0;
}

.delivery-steps article > div {
  display: flex;
  align-items: baseline;
  gap: 25px;
}

.delivery-steps b {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
}

.delivery-steps h3 {
  margin: 0;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.delivery-steps p {
  margin: 13px 0 0;
  font-size: 14px;
  line-height: 1.8;
}

.delivery-form {
  padding: 28px 0 20px 43px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-left: 1px solid var(--line);
}

.delivery-form .text-link {
  margin-top: 1px;
  font-size: 14px;
}

.delivery-result {
  margin: 0;
  padding: 13px;
  border: 1px solid var(--wine);
  color: var(--wine);
  font-size: 12px;
  line-height: 1.5;
}

.studio {
  padding-top: 36px;
  padding-bottom: 0;
}

.studio-story {
  position: relative;
  min-height: 485px;
  display: grid;
  grid-template-columns: 45.5% 54.5%;
}

.studio-copy {
  z-index: 2;
  padding: 10px 0 0 3px;
}

.studio-copy .eyebrow {
  margin-bottom: 14px;
}

.studio-copy h2 {
  margin-bottom: 25px;
  font-size: 64px;
  line-height: 0.96;
}

.studio-copy > p:not(.eyebrow) {
  margin-bottom: 25px;
  font-size: 17px;
  line-height: 1.72;
}

.studio-copy-footer {
  display: flex;
  align-items: center;
  gap: 90px;
}

.studio-age {
  padding-left: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 1px solid var(--line);
}

.studio-age > strong {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 58px;
  font-weight: 500;
  line-height: 1;
}

.studio-age span {
  display: grid;
  color: var(--wine);
}

.studio-age b {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
}

.studio-age small {
  color: var(--ink);
  font-size: 11px;
}

.studio-wide {
  height: 485px;
  display: block;
  overflow: hidden;
}

.studio-wide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.studio-hands {
  position: absolute;
  z-index: 3;
  left: 35.4%;
  bottom: 0;
  width: 255px;
  height: 281px;
  display: block;
  border: 2px solid var(--paper);
  overflow: hidden;
}

.studio-hands img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 55%;
}

.values {
  margin: 34px -4.35% 0;
  padding: 30px 4.35% 21px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.values article {
  min-height: 108px;
  padding: 0 46px;
  display: flex;
  gap: 28px;
  border-right: 1px solid var(--line);
}

.values article:first-child {
  padding-left: 3px;
}

.values article:last-child {
  border-right: 0;
}

.values article > b {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 500;
  line-height: 0.8;
}

.values h3 {
  margin: 0 0 16px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
}

.values p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.reviews {
  padding: 18px 0 28px;
}

.reviews h2 {
  font-size: 45px;
}

.review-grid {
  margin: 11px 0 19px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.review-grid blockquote {
  min-height: 148px;
  margin: 0;
  padding: 0 62px 0 3px;
  display: flex;
  gap: 28px;
  border-right: 1px solid var(--line);
}

.review-grid blockquote:nth-child(2) {
  padding-left: 36px;
}

.review-grid blockquote:last-child {
  padding-left: 36px;
  border-right: 0;
}

.review-grid blockquote > span {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 62px;
  line-height: 0.75;
}

.review-grid p {
  margin: 19px 0 14px;
  font-size: 15px;
  line-height: 1.62;
}

.review-grid cite {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 20px;
  font-style: normal;
}

.review-grid--extra {
  margin-top: -1px;
  padding-top: 20px;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}

.review-grid--extra blockquote,
.review-grid--extra blockquote:nth-child(2),
.review-grid--extra blockquote:last-child {
  padding-right: 50px;
  padding-left: 3px;
}

.review-grid--extra blockquote:last-child {
  padding-left: 36px;
}

.details {
  padding-top: 16px;
  padding-bottom: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.details-heading {
  margin-bottom: 16px;
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.details-heading h2 {
  font-size: 31px;
  letter-spacing: 0.01em;
}

.details-heading > div > span {
  margin-top: 4px;
  display: block;
  font-size: 15px;
}

.details-heading > .text-link {
  margin-bottom: 4px;
  font-size: 13px;
}

.details-gallery {
  display: grid;
  grid-template-columns: 0.9fr 1.05fr 1.03fr 1.04fr 0.78fr;
  gap: 5px;
}

.details-gallery button {
  height: 292px;
  overflow: hidden;
}

.details-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 500ms ease;
}

.details-gallery button:hover img {
  transform: scale(1.025);
}

.details-gallery button:nth-child(1) img {
  object-position: 60% center;
}

.details-gallery button:nth-child(3) img {
  object-position: 50% 45%;
}

.details-gallery button:nth-child(5) img {
  object-position: 60% center;
}

.care {
  padding-top: 42px;
  padding-bottom: 42px;
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: 54px;
  border-bottom: 1px solid var(--line);
}

.care-photo {
  min-height: 610px;
  display: block;
  overflow: hidden;
}

.care-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.care-content {
  padding-top: 24px;
}

.care-content .eyebrow {
  margin-bottom: 8px;
  color: var(--wine);
  font-size: 14px;
}

.care-content h2 {
  margin-bottom: 13px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(52px, 5vw, 70px);
  font-weight: 500;
  line-height: 0.96;
}

.care-content > p:not(.eyebrow) {
  margin-bottom: 27px;
  color: var(--muted);
  font-size: 14px;
}

.care-checklist {
  border-top: 1px solid var(--line);
}

.care-checklist button {
  width: 100%;
  min-height: 94px;
  padding: 15px 0;
  display: grid;
  grid-template-columns: 26px 38px 1fr;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.care-check {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 1px solid var(--wine);
  border-radius: 50%;
  color: #fff;
}

.care-checklist button[aria-pressed="true"] .care-check {
  background: var(--wine);
}

.care-checklist button[aria-pressed="true"] .care-check::before {
  content: "✓";
  font-size: 12px;
}

.care-checklist button > b {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
}

.care-checklist button > span:last-child {
  display: grid;
  gap: 5px;
}

.care-checklist strong {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.care-checklist small {
  color: var(--muted);
  font-size: 11px;
}

.care-footer {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.care-footer > strong {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}

.faq {
  padding-top: 26px;
  padding-bottom: 30px;
  display: grid;
  grid-template-columns: 36% 64%;
}

.faq-intro h2 {
  margin-bottom: 12px;
  font-size: 54px;
}

.faq-intro p {
  font-size: 16px;
  line-height: 1.55;
}

.accordion article {
  border-bottom: 1px solid var(--line);
}

.accordion h3 {
  margin: 0;
}

.accordion button {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.accordion button span {
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 300;
  transition: transform 180ms ease;
}

.accordion button[aria-expanded="true"] span {
  transform: rotate(45deg);
}

.accordion article > div {
  padding: 0 56px 16px 0;
}

.accordion article > div p {
  margin: 0;
  color: #5d5751;
  font-size: 13px;
  line-height: 1.65;
}

.reminder {
  min-height: 134px;
  padding: 28px 4%;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  align-items: center;
  gap: 48px;
  color: #fff;
  background: var(--wine-deep);
}

.reminder h2 {
  color: #fff;
  font-size: 43px;
  line-height: 1;
}

.reminder p {
  margin: 10px 0 0;
  font-size: 13px;
}

.reminder .reminder-status {
  width: max-content;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.reminder form {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 0.85fr;
  gap: 19px;
}

.reminder input,
.reminder button {
  height: 60px;
}

.reminder input {
  border-color: rgba(255, 255, 255, 0.78);
  color: #fff;
  background: transparent;
}

.reminder input::placeholder {
  color: rgba(255, 255, 255, 0.88);
}

.reminder button {
  color: var(--ink);
  background: var(--paper-soft);
}

.site-footer {
  padding: 28px 4% 23px;
  background: var(--paper-soft);
}

.footer-main {
  padding-bottom: 28px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr 0.85fr;
  align-items: start;
  gap: 45px;
}

.footer-brand {
  margin-top: 3px;
  font-size: 54px;
}

.footer-main nav,
.footer-main address {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 12px;
  font-style: normal;
}

.footer-main h2 {
  margin: 0 0 2px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
}

.social-links {
  align-self: center;
}

.social-links a,
.social-links button {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: inherit;
  text-align: left;
}

.social-links span {
  width: 24px;
  color: var(--wine);
  font-size: 16px;
  text-transform: uppercase;
}

.footer-bottom {
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.footer-bottom button {
  font-size: inherit;
}

.search-dialog,
.product-dialog,
.account-dialog,
.gallery-dialog,
.legal-dialog {
  width: min(92vw, 820px);
  max-height: min(86vh, 760px);
  margin: auto;
  padding: 30px;
  overflow: auto;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper-soft);
  box-shadow: 0 24px 80px rgba(25, 18, 15, 0.22);
}

.search-dialog::backdrop,
.product-dialog::backdrop,
.account-dialog::backdrop,
.gallery-dialog::backdrop,
.legal-dialog::backdrop {
  background: rgba(33, 23, 20, 0.52);
  backdrop-filter: blur(3px);
}

.dialog-heading,
.cart-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.dialog-heading .eyebrow,
.cart-heading .eyebrow,
.product-dialog-copy .eyebrow {
  margin-bottom: 5px;
}

.dialog-heading h2,
.cart-heading h2,
.product-dialog-copy h2 {
  margin: 0;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 500;
  line-height: 0.95;
}

.dialog-close {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  font-size: 29px;
  font-weight: 300;
  line-height: 1;
  transition: color 180ms ease, border-color 180ms ease;
}

.dialog-close:hover {
  border-color: var(--wine);
  color: var(--wine);
}

.search-field {
  margin-top: 28px;
  display: block;
}

.search-field input {
  height: 58px;
  padding-right: 48px;
  font-size: 18px;
}

.search-status {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 12px;
}

.search-results {
  display: grid;
  gap: 8px;
}

.search-result {
  width: 100%;
  padding: 10px;
  display: grid;
  grid-template-columns: 88px 1fr auto;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  background: rgba(247, 242, 234, 0.62);
  text-align: left;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.search-result:hover {
  border-color: #aa9885;
  background: var(--paper);
}

.search-result img {
  width: 88px;
  height: 62px;
  display: block;
  object-fit: cover;
}

.search-result strong {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.search-result span {
  font-size: 14px;
  white-space: nowrap;
}

.account-dialog,
.legal-dialog {
  width: min(92vw, 680px);
}

.account-lead {
  max-width: 520px;
  margin: 24px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.account-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.account-form label {
  display: grid;
  gap: 7px;
  font-size: 12px;
}

.account-form label:nth-child(3),
.account-status,
.account-actions {
  grid-column: 1 / -1;
}

.account-status {
  min-height: 20px;
  margin: 0;
  color: var(--wine);
  font-size: 12px;
}

.account-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.gallery-dialog {
  width: min(94vw, 1060px);
  padding: 22px;
  overflow: hidden;
}

.gallery-dialog-heading {
  margin-bottom: 17px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.gallery-dialog-heading .eyebrow {
  margin-bottom: 4px;
  color: var(--wine);
  font-size: 12px;
}

.gallery-dialog-heading h2 {
  margin: 0;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
}

.gallery-dialog figure {
  height: min(60vh, 580px);
  margin: 0;
  overflow: hidden;
  background: #e6ded4;
}

.gallery-dialog figure img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.gallery-dialog-controls {
  padding-top: 15px;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  text-align: center;
}

.gallery-dialog-controls button {
  height: 38px;
  border: 1px solid var(--line);
  font-size: 24px;
}

.gallery-dialog-controls span {
  color: var(--muted);
  font-size: 12px;
}

.legal-copy {
  padding-top: 26px;
  color: #4f4943;
  font-size: 13px;
  line-height: 1.65;
}

.legal-copy h3 {
  margin: 23px 0 5px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
}

.legal-copy .button {
  margin-top: 18px;
}

.product-dialog {
  position: relative;
  width: min(94vw, 1040px);
  padding: 0;
  overflow: auto;
}

.product-dialog-close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  background: rgba(250, 247, 241, 0.9);
}

.product-dialog-layout {
  min-height: 520px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
}

.product-dialog-layout > img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  object-fit: cover;
}

.product-dialog-copy {
  padding: 54px 42px 38px;
  display: flex;
  flex-direction: column;
}

.product-dialog-copy > p:not(.eyebrow) {
  margin: 26px 0 22px;
  color: #504a44;
  font-size: 14px;
  line-height: 1.65;
}

.product-dialog-copy ul {
  margin: 0;
  padding: 18px 0 0;
  display: grid;
  gap: 11px;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 13px;
}

.product-dialog-copy li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--wine);
}

.product-dialog-order {
  margin-top: auto;
  padding-top: 28px;
  display: grid;
  gap: 18px;
}

.product-dialog-order strong {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
}

.cart-backdrop {
  position: fixed;
  z-index: 110;
  inset: 0;
  background: rgba(33, 23, 20, 0.52);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 220ms ease;
}

.cart-backdrop.is-visible {
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  z-index: 120;
  top: 0;
  right: 0;
  width: min(470px, 100vw);
  height: 100dvh;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  background: var(--paper-soft);
  box-shadow: -18px 0 60px rgba(25, 18, 15, 0.14);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1), visibility 260ms;
}

.cart-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.cart-heading {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.cart-view {
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.cart-items {
  min-height: 0;
  overflow-y: auto;
}

.cart-item {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 15px;
  border-bottom: 1px solid var(--line);
}

.cart-item > img {
  width: 92px;
  height: 76px;
  display: block;
  object-fit: cover;
}

.cart-item-copy {
  min-width: 0;
}

.cart-item-copy h3 {
  margin: 0 0 4px;
  overflow: hidden;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item-copy > span {
  font-size: 13px;
}

.cart-item-footer {
  margin-top: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.quantity-control {
  display: grid;
  grid-template-columns: 30px 34px 30px;
  align-items: center;
  border: 1px solid var(--line);
}

.quantity-control button,
.quantity-control span {
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 13px;
}

.cart-remove {
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  color: var(--muted);
  font-size: 11px;
}

.cart-empty {
  margin: auto;
  padding: 42px 18px;
  text-align: center;
}

.cart-empty > .bag-icon {
  width: 28px;
  height: 32px;
  margin: 0 auto 20px;
  color: var(--wine);
}

.cart-empty h3 {
  margin-bottom: 9px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
}

.cart-empty p {
  max-width: 310px;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.cart-summary {
  margin-top: auto;
  padding-top: 18px;
  display: grid;
  gap: 11px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.cart-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.cart-summary-total {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--wine);
  font-size: 18px;
}

.cart-summary .button {
  width: 100%;
  margin-top: 8px;
}

.cart-summary .button:disabled {
  border-color: #bdb5a9;
  color: #766f67;
  background: #d9d3ca;
  cursor: not-allowed;
}

.cart-summary > p,
.checkout-form > p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.checkout-form {
  min-height: 0;
  padding-top: 24px;
  overflow-y: auto;
  display: grid;
  gap: 16px;
}

.checkout-form h3 {
  margin: 8px 0 2px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
}

.checkout-form label {
  display: grid;
  gap: 7px;
  font-size: 12px;
}

.checkout-form textarea {
  width: 100%;
  min-height: 88px;
  padding: 12px 14px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  background: rgba(250, 247, 241, 0.45);
}

.checkout-form textarea:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 2px rgba(104, 23, 36, 0.09);
}

.checkout-back {
  width: max-content;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--muted);
  font-size: 12px;
}

.toast {
  position: fixed;
  z-index: 200;
  right: 24px;
  bottom: 24px;
  max-width: min(360px, calc(100vw - 48px));
  padding: 14px 18px;
  color: #fff;
  background: var(--wine-deep);
  font-size: 13px;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
}

@media (max-width: 1240px) {
  .desktop-nav {
    margin-left: 48px;
    gap: 30px;
  }

  .header-actions {
    margin-left: 42px;
    gap: 24px;
  }

  .hero-copy {
    width: 44%;
    padding-right: 3%;
    padding-left: 4.5%;
  }

  .hero-copy h1 {
    font-size: clamp(52px, 4.8vw, 60px);
  }

  .custom-order-banner {
    grid-template-columns: 1.15fr 1.2fr 1fr;
  }

  .builder-layout {
    gap: 30px;
  }

  .builder-total {
    grid-template-columns: 1fr 0.8fr 1fr;
  }

  .studio-copy-footer {
    gap: 35px;
  }

  .studio-hands {
    left: 33%;
  }
}

@media (max-width: 1040px) {
  .hero {
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .hero-media {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    background: var(--hero-paper);
  }

  .hero-media img {
    object-fit: cover;
    object-position: right top;
  }

  .hero-copy {
    order: 1;
    width: 100%;
    height: auto;
    padding: 46px 4% 43px;
    background: var(--hero-paper);
  }

  .hero-copy h1 {
    margin-bottom: 18px;
    font-size: clamp(52px, 7vw, 64px);
  }

  .hero-copy p {
    max-width: none;
    margin-bottom: 27px;
    font-size: 18px;
    line-height: 1.45;
  }

  .hero-actions {
    gap: 24px;
  }

  .hero-actions .button {
    padding: 0 30px;
  }
}

@media (max-width: 1040px) {
  html {
    scroll-padding-top: 72px;
  }

  .site-header {
    height: 72px;
    padding: 0 24px;
  }

  .brand {
    font-size: 48px;
  }

  .desktop-nav,
  .delivery-promise,
  .search-button,
  .account-button {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .menu-button {
    display: grid;
  }

  .bouquet-finder {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .custom-order-banner {
    grid-template-columns: 1fr 1fr;
  }

  .custom-order-link {
    grid-column: 2;
  }

  .builder-layout,
  .subscription-layout {
    grid-template-columns: 1fr;
  }

  .builder-photo,
  .subscription-photo {
    height: min(70vw, 620px);
  }

  .builder-progress {
    margin-top: 0;
  }

  .builder-form {
    min-height: 505px;
  }

  .order-paths-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .order-path--featured {
    grid-column: 1 / -1;
    grid-row: auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
  }

  .order-path--featured img {
    height: 360px;
  }

  .order-path--wine {
    grid-column: auto;
  }

  .order-path--soft {
    grid-column: 1 / -1;
  }

  .seasonal,
  .care {
    grid-template-columns: 1fr;
  }

  .seasonal-photo,
  .care-photo {
    min-height: 0;
    height: min(72vw, 650px);
  }

  .delivery {
    grid-template-columns: 1fr;
  }

  .delivery-form {
    padding: 25px 0 36px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .delivery-form .text-link {
    align-self: end;
  }

  .delivery-result {
    grid-column: 1 / -1;
  }

  .studio-story {
    padding-bottom: 300px;
    grid-template-columns: 1fr;
  }

  .studio-copy {
    padding-bottom: 36px;
  }

  .studio-wide {
    height: min(65vw, 520px);
  }

  .studio-hands {
    left: auto;
    right: 4%;
    bottom: 40px;
    width: 240px;
    height: 295px;
  }

  .values {
    grid-template-columns: 1fr;
  }

  .values article {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .values article:last-child {
    border-bottom: 0;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-grid blockquote,
  .review-grid blockquote:nth-child(2),
  .review-grid blockquote:last-child {
    min-height: 0;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .details-gallery {
    overflow-x: auto;
    grid-template-columns: repeat(5, minmax(250px, 1fr));
    scroll-snap-type: x mandatory;
  }

  .details-gallery button {
    scroll-snap-align: start;
  }

  .faq {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .reminder {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-main {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .section-shell {
    padding-right: 20px;
    padding-left: 20px;
  }

  .header-actions {
    gap: 19px;
  }

  .hero-copy {
    position: relative;
    inset: auto;
    width: 100%;
    padding: 30px 20px 31px;
    border: 0;
    background: var(--hero-paper);
    box-shadow: none;
  }

  .hero-copy h1 {
    margin-bottom: 18px;
    font-size: clamp(44px, 11vw, 52px);
    line-height: 0.94;
  }

  .hero-copy p {
    max-width: none;
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.45;
  }

  .hero-actions {
    gap: 18px;
  }

  .hero-actions .button {
    min-height: 54px;
    padding: 0 22px;
  }

  .hero-actions .text-link {
    font-size: 15px;
    white-space: nowrap;
  }

  .featured {
    padding-top: 22px;
  }

  .section-heading-row h2 {
    font-size: 36px;
  }

  .product-row {
    margin-right: -20px;
    overflow-x: auto;
    display: flex;
    gap: 12px;
    scroll-padding-right: 20px;
    scroll-snap-type: x mandatory;
  }

  .product-row .product-card {
    width: 84vw;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .catalog-intro h2 {
    font-size: 44px;
  }

  .bouquet-finder {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .catalog-tabs {
    margin-right: -20px;
    overflow-x: auto;
    gap: 30px;
    white-space: nowrap;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .catalog-grid .product-image {
    aspect-ratio: 1.65 / 1;
  }

  .custom-order-banner {
    padding: 24px 20px;
    grid-template-columns: 1fr;
  }

  .custom-order-banner::before {
    right: -70px;
    bottom: -45px;
    opacity: 0.35;
  }

  .custom-order-banner strong {
    font-size: 35px;
  }

  .custom-order-link {
    grid-column: 1;
    justify-self: start;
  }

  .builder-heading h2 {
    font-size: 50px;
  }

  .builder-heading p {
    font-size: 15px;
  }

  .builder-photo {
    height: 74vw;
  }

  .palette-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .palette-options img {
    aspect-ratio: 1.5 / 1;
  }

  .builder-form {
    min-height: 700px;
  }

  .builder-total {
    grid-template-columns: 1fr 1fr;
  }

  .builder-total .button {
    grid-column: 1 / -1;
  }

  .order-paths-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .order-paths-heading h2 {
    font-size: 43px;
  }

  .order-paths-grid {
    grid-template-columns: 1fr;
  }

  .order-path--featured {
    grid-column: auto;
    display: block;
  }

  .order-path--soft {
    grid-column: auto;
  }

  .order-path--featured img {
    height: 68vw;
  }

  .order-path {
    min-height: 245px;
  }

  .seasonal {
    gap: 25px;
  }

  .seasonal-photo {
    height: 92vw;
  }

  .seasonal-content {
    padding-top: 0;
  }

  .seasonal-content h2 {
    font-size: 50px;
  }

  .seasonal-list article {
    grid-template-columns: 35px 1fr;
  }

  .seasonal-list small {
    grid-column: 2;
    width: max-content;
    margin: -12px 0 14px;
  }

  .seasonal-content > .button {
    width: 100%;
    margin-top: 24px;
  }

  .subscription-photo {
    height: 115vw;
  }

  .subscription-content {
    padding-top: 8px;
  }

  .subscription-content h2 {
    font-size: 53px;
  }

  .subscription-lead {
    font-size: 15px;
  }

  .frequency-options {
    grid-template-columns: 1fr;
  }

  .subscription-order {
    align-items: stretch;
    flex-direction: column;
  }

  .subscription-order .button {
    min-width: 0;
  }

  .delivery-main {
    padding-right: 0;
  }

  .delivery-main h2 {
    font-size: 41px;
  }

  .delivery-steps {
    grid-template-columns: 1fr;
  }

  .delivery-steps article,
  .delivery-steps article:first-child {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .delivery-form {
    grid-template-columns: 1fr;
  }

  .studio-story {
    padding-bottom: 160px;
  }

  .studio-copy h2 {
    font-size: 50px;
  }

  .studio-copy > p:not(.eyebrow) br {
    display: none;
  }

  .studio-copy-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .studio-age {
    padding-left: 0;
    border-left: 0;
  }

  .studio-wide {
    height: 75vw;
  }

  .studio-hands {
    right: 16px;
    bottom: 20px;
    width: 145px;
    height: 190px;
  }

  .values {
    margin-right: -20px;
    margin-left: -20px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .values article {
    gap: 20px;
  }

  .values h3 {
    font-size: 23px;
  }

  .reviews h2 {
    font-size: 40px;
  }

  .details {
    padding-top: 20px;
  }

  .details-heading {
    align-items: flex-start;
  }

  .details-heading h2 {
    font-size: 28px;
  }

  .details-heading > .text-link {
    font-size: 11px;
  }

  .details-gallery {
    margin-right: -20px;
    grid-template-columns: repeat(5, 76vw);
  }

  .details-gallery button {
    height: 76vw;
  }

  .care {
    gap: 25px;
  }

  .care-photo {
    height: 112vw;
  }

  .care-content {
    padding-top: 0;
  }

  .care-content h2 {
    font-size: 49px;
  }

  .care-checklist button {
    grid-template-columns: 25px 1fr;
    gap: 12px;
  }

  .care-checklist button > b {
    display: none;
  }

  .care-checklist strong {
    font-size: 21px;
  }

  .faq-intro h2 {
    font-size: 48px;
  }

  .accordion button {
    min-height: 62px;
    font-size: 22px;
  }

  .reminder {
    padding: 28px 20px;
  }

  .reminder h2 {
    font-size: 38px;
  }

  .reminder form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 28px 20px 23px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 35px 26px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-main address {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

/* Unified outlined icon set */
.truck-icon,
.search-icon,
.account-icon,
.bag-icon,
.footer-action-icon {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: none;
  font-family: "Material Symbols Outlined";
  font-style: normal;
  font-weight: 300;
  font-feature-settings: "liga";
  font-variation-settings:
    "FILL" 0,
    "wght" 300,
    "GRAD" 0,
    "opsz" 28;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
}

.truck-icon::before,
.search-icon::before,
.account-icon::before,
.bag-icon::before,
.footer-action-icon::before {
  position: static;
  inset: auto;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: none;
}

.truck-icon::after,
.search-icon::after,
.account-icon::after,
.bag-icon::after,
.footer-action-icon::after {
  content: none;
}

.truck-icon {
  width: 36px;
  height: 36px;
  font-size: 34px;
}

.truck-icon::before {
  content: "local_shipping";
}

.search-icon,
.account-icon {
  width: 28px;
  height: 28px;
  font-size: 29px;
}

.search-icon::before {
  content: "search";
}

.account-icon::before {
  content: "person";
}

.bag-icon {
  width: 26px;
  height: 28px;
  font-size: 26px;
}

.bag-icon::before {
  content: "shopping_bag";
}

.icon-button {
  width: 30px;
  height: 36px;
}

.cart-button .bag-icon {
  width: 30px;
  height: 31px;
  font-size: 30px;
}

.cart-count {
  top: -2px;
  right: -9px;
}

.cart-empty > .bag-icon {
  width: 40px;
  height: 40px;
  font-size: 40px;
}

.social-links button {
  min-height: 28px;
}

.social-links .footer-action-icon {
  width: 25px;
  height: 25px;
  color: var(--wine);
  font-size: 23px;
}

.footer-action-icon--share::before {
  content: "ios_share";
}

.footer-action-icon--contacts::before {
  content: "forum";
}

@media (max-width: 420px) {
  .site-header {
    padding: 0 16px;
  }

  .brand {
    font-size: 43px;
  }

  .header-actions {
    gap: 14px;
  }

  .hero-copy {
    inset: auto;
    padding: 27px 18px 29px;
  }

  .hero-copy h1 {
    font-size: clamp(40px, 11.6vw, 44px);
  }

  .hero-actions {
    align-items: center;
    flex-direction: row;
    gap: 14px;
  }

  .hero-actions .button {
    min-height: 50px;
    padding: 0 18px;
    font-size: 15px;
  }

  .hero-actions .text-link {
    font-size: 14px;
  }

  .product-meta {
    padding: 0 13px;
  }

  .product-meta h3 {
    font-size: 24px;
  }

  .product-buy {
    gap: 12px;
  }

  .builder-total {
    grid-template-columns: 1fr;
  }

  .builder-total .button {
    grid-column: 1;
  }

  .builder-form {
    min-height: 780px;
  }
}

@media (max-width: 720px) {
  .search-dialog,
  .product-dialog,
  .account-dialog,
  .gallery-dialog,
  .legal-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
  }

  .search-dialog {
    padding: 22px 18px;
  }

  .dialog-heading h2,
  .cart-heading h2,
  .product-dialog-copy h2 {
    font-size: 39px;
  }

  .search-result {
    grid-template-columns: 72px 1fr;
    gap: 12px;
  }

  .search-result img {
    width: 72px;
    height: 56px;
    grid-row: 1 / 3;
  }

  .search-result span {
    grid-column: 2;
  }

  .account-form {
    grid-template-columns: 1fr;
  }

  .account-form label:nth-child(3),
  .account-status,
  .account-actions {
    grid-column: 1;
  }

  .account-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .gallery-dialog {
    padding: 14px;
  }

  .gallery-dialog-heading h2 {
    font-size: 27px;
  }

  .gallery-dialog figure {
    height: 61vh;
  }

  .legal-copy .button {
    width: 100%;
  }

  .product-dialog {
    overflow: auto;
  }

  .product-dialog-layout {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .product-dialog-layout > img {
    height: min(44vh, 330px);
    min-height: 0;
  }

  .product-dialog-copy {
    min-height: 430px;
    padding: 32px 22px 24px;
  }

  .product-dialog-order .button {
    width: 100%;
  }

  .cart-drawer {
    width: 100vw;
    padding: 22px 18px 18px;
  }

  .cart-item {
    grid-template-columns: 80px 1fr;
  }

  .cart-item > img {
    width: 80px;
    height: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Custom date picker and direct contact dialog */
.custom-date-field,
.checkout-date-control {
  min-width: 0;
}

.checkout-date-control {
  display: grid;
  gap: 7px;
  font-size: 12px;
}

.custom-date-trigger {
  width: 100%;
  height: 47px;
  padding: 0 13px 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(250, 247, 241, 0.45);
  text-align: left;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.custom-date-trigger:hover,
.custom-date-trigger:focus-visible,
.custom-date-trigger[aria-expanded="true"] {
  border-color: var(--wine);
}

.custom-date-trigger > span:first-child {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-date-trigger.has-value > span:first-child {
  color: var(--ink);
}

.date-field-icon {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--wine);
  font-family: "Material Symbols Outlined";
  font-size: 21px;
  font-feature-settings: "liga";
  font-variation-settings:
    "FILL" 0,
    "wght" 300,
    "GRAD" 0,
    "opsz" 24;
  line-height: 1;
}

.date-field-icon::before {
  content: "calendar_month";
}

.reminder .custom-date-trigger {
  height: 60px;
  border-color: rgba(255, 255, 255, 0.78);
  color: #fff;
  background: transparent;
}

.reminder .custom-date-trigger:hover,
.reminder .custom-date-trigger:focus-visible,
.reminder .custom-date-trigger[aria-expanded="true"] {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.reminder .custom-date-trigger > span:first-child,
.reminder .custom-date-trigger.has-value > span:first-child,
.reminder .date-field-icon {
  color: #fff;
}

.date-picker-popover {
  position: fixed;
  z-index: 260;
  padding: 17px;
  border: 1px solid #bbaa96;
  color: var(--ink);
  background: var(--paper-soft);
  box-shadow: 0 20px 60px rgba(37, 22, 18, 0.22);
  transform-origin: top center;
}

.date-picker-popover.is-open {
  animation: date-picker-enter 220ms cubic-bezier(0.16, 0.72, 0.2, 1) both;
}

.date-picker-header {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 8px;
}

.date-picker-header h3 {
  margin: 0;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.date-picker-header button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  font-size: 20px;
  transition: border-color 150ms ease, color 150ms ease;
}

.date-picker-header button:hover,
.date-picker-header button:focus-visible {
  border-color: var(--line);
  color: var(--wine);
}

.date-picker-header button:disabled,
.date-picker-footer button:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.date-picker-weekdays,
.date-picker-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.date-picker-weekdays {
  margin-top: 17px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
}

.date-picker-weekdays span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
}

.date-picker-days {
  padding-top: 7px;
  gap: 2px;
}

.date-picker-days button {
  min-width: 0;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  font-size: 12px;
  transition: border-color 140ms ease, color 140ms ease, background-color 140ms ease;
}

.date-picker-days button:hover:not(:disabled),
.date-picker-days button:focus-visible:not(:disabled) {
  border-color: var(--wine);
  color: var(--wine);
}

.date-picker-days button.is-outside {
  color: #b1a89e;
}

.date-picker-days button.is-today {
  border-color: rgba(104, 23, 36, 0.42);
}

.date-picker-days button.is-selected {
  border-color: var(--wine);
  color: #fff;
  background: var(--wine);
}

.date-picker-days button:disabled {
  color: #c9c2b9;
  cursor: not-allowed;
}

.date-picker-footer {
  margin-top: 10px;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.date-picker-footer button {
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  color: var(--wine);
  font-size: 10px;
}

.contact-dialog {
  width: min(92vw, 680px);
  max-height: min(86vh, 760px);
  margin: auto;
  padding: 30px;
  overflow: auto;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper-soft);
  box-shadow: 0 24px 80px rgba(25, 18, 15, 0.22);
}

.contact-dialog::backdrop {
  background: rgba(33, 23, 20, 0.52);
  backdrop-filter: blur(3px);
}

.contact-lead {
  max-width: 480px;
  margin: 24px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.contact-channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-channels > a {
  min-height: 92px;
  padding: 15px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  transition: border-color 170ms ease, background-color 170ms ease, transform 170ms ease;
}

.contact-channels > a:hover,
.contact-channels > a:focus-visible {
  border-color: var(--wine);
  background: rgba(104, 23, 36, 0.035);
  transform: translateY(-2px);
}

.contact-channel-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.contact-channel-mark--telegram {
  background: #426f87;
}

.contact-channel-mark--whatsapp {
  background: #496a50;
}

.contact-channels a > span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.contact-channels strong {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.contact-channels small {
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-direct {
  margin-top: 22px;
  padding-top: 19px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 26px;
  border-top: 1px solid var(--line);
  font-size: 11px;
}

.contact-direct .text-link {
  margin-left: auto;
}

@keyframes date-picker-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (max-width: 720px) {
  .contact-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    padding: 24px 20px;
  }

  .contact-channels {
    grid-template-columns: 1fr;
  }

  .contact-direct {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-direct .text-link {
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  .date-picker-popover {
    top: auto !important;
    right: 12px;
    bottom: 12px;
    left: 12px !important;
    width: auto !important;
    padding: 19px;
    transform-origin: bottom center;
  }

  .date-picker-days button {
    max-height: 42px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .date-picker-popover,
  .contact-channels > a {
    animation: none !important;
    transform: none !important;
  }
}

/* Commerce-first structure */
.studio-intro {
  padding-top: 68px;
  padding-bottom: 68px;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: stretch;
  gap: clamp(38px, 5vw, 84px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.studio-intro-copy {
  padding: 14px 0 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.studio-intro-copy .eyebrow {
  margin-bottom: 13px;
  color: var(--wine);
  font-size: 14px;
}

.studio-intro-copy h2 {
  max-width: 650px;
  margin: 0 0 24px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(52px, 4.4vw, 72px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.03em;
}

.studio-intro-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.68;
}

.studio-intro-copy .text-link {
  margin-top: 11px;
}

.studio-facts {
  width: 100%;
  margin: auto 0 0;
  padding-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border-top: 1px solid var(--line);
}

.studio-facts div {
  min-width: 0;
}

.studio-facts dt {
  margin-bottom: 5px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1;
}

.studio-facts dd {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.studio-intro-media {
  min-width: 0;
  height: clamp(480px, 36vw, 610px);
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(170px, 0.72fr);
  gap: 14px;
}

.studio-intro-wide,
.studio-intro-detail {
  min-width: 0;
  height: 100%;
  display: block;
  overflow: hidden;
}

.studio-intro-wide img,
.studio-intro-detail img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.studio-intro-wide img {
  object-position: 54% center;
}

.studio-intro-detail img {
  object-position: center 52%;
}

.catalog {
  padding-top: 72px;
  padding-bottom: 76px;
}

.catalog-intro {
  margin-bottom: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(260px, 0.78fr);
  align-items: end;
  gap: 60px;
}

.catalog-intro .eyebrow {
  margin-bottom: 10px;
  color: var(--wine);
  font-size: 14px;
}

.catalog-intro h2 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(54px, 5.4vw, 82px);
  line-height: 0.92;
}

.catalog-intro > p {
  max-width: 540px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.finder-panel {
  margin-bottom: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.finder-panel summary {
  min-height: 78px;
  padding: 18px 56px 18px 0;
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 22px;
  list-style: none;
  cursor: pointer;
}

.finder-panel summary::-webkit-details-marker {
  display: none;
}

.finder-panel summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 3px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1;
  transform: translateY(-54%);
  transition: transform 180ms ease;
}

.finder-panel[open] summary::after {
  transform: translateY(-54%) rotate(45deg);
}

.finder-panel summary > span {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 30px;
}

.finder-panel summary > small {
  color: var(--muted);
  font-size: 12px;
}

.finder-panel .bouquet-finder {
  padding: 5px 0 30px;
}

.catalog-controls {
  margin-bottom: 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.catalog-tabs {
  min-width: 0;
  margin: 0;
}

.catalog-control-meta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.catalog-control-meta > span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.catalog-sort select {
  width: 212px;
  height: 40px;
  padding-left: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background-color: transparent;
  font-size: 12px;
}

.finder-result {
  margin: 0 0 23px;
  padding: 13px 15px;
  border: 1px solid rgba(104, 23, 36, 0.34);
  background: rgba(104, 23, 36, 0.035);
  line-height: 1.5;
}

.catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 14px;
}

.catalog-grid .product-card {
  display: flex;
  flex-direction: column;
}

.catalog-grid .product-image {
  position: relative;
  aspect-ratio: 3 / 2;
}

.catalog-grid .product-meta {
  min-height: 96px;
  padding: 15px 14px 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.catalog-grid .product-copy {
  min-width: 0;
}

.catalog-grid .product-meta h3 {
  margin-bottom: 7px;
  font-size: clamp(22px, 1.65vw, 28px);
  line-height: 0.94;
}

.catalog-grid .product-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.catalog-grid .product-buy {
  gap: 10px;
}

.catalog-grid .product-buy > span {
  font-size: 13px;
}

.product-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 7px 9px;
  color: #fff;
  background: var(--wine);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.catalog-grid .product-card.is-recommended::after {
  top: 12px;
  right: 12px;
  left: auto;
}

.builder {
  padding-top: 68px;
  padding-bottom: 72px;
}

.builder-heading {
  margin-bottom: 28px;
}

.builder-heading p {
  margin-bottom: 0;
}

.builder-layout {
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  align-items: stretch;
  gap: clamp(28px, 3.2vw, 54px);
}

.builder-photo {
  position: relative;
  height: auto;
  min-height: 650px;
  align-self: stretch;
  background: #d9d0c5;
}

.builder-photo img {
  position: absolute;
  inset: 0;
  transition: opacity 180ms ease;
}

.builder-photo img.is-changing {
  opacity: 0.28;
}

.builder-form {
  min-height: 650px;
}

.builder-progress {
  margin-top: 0;
}

.palette-options img {
  aspect-ratio: 3 / 2;
}

.reviews {
  padding: 70px 4% 76px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reviews-heading {
  margin-bottom: 30px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.reviews-heading .eyebrow {
  margin-bottom: 8px;
  color: var(--wine);
  font-size: 14px;
}

.reviews-heading h2 {
  font-size: clamp(58px, 5vw, 76px);
  line-height: 0.9;
}

.reviews-heading > p {
  max-width: 390px;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
}

.review-grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.review-grid blockquote,
.review-grid blockquote:nth-child(2),
.review-grid blockquote:last-child {
  min-height: 224px;
  margin: 0;
  padding: 25px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.review-stars {
  color: var(--wine);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.review-grid p {
  margin: 25px 0 30px;
  font-size: 14px;
  line-height: 1.64;
}

.review-grid footer {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.review-grid cite {
  font-size: 21px;
}

.review-grid footer span {
  color: var(--muted);
  font-size: 10px;
  text-align: right;
}

@media (max-width: 1240px) {
  .studio-intro {
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: 38px;
  }

  .studio-intro-media {
    height: 500px;
    grid-template-columns: minmax(0, 1.55fr) minmax(145px, 0.65fr);
  }

  .studio-facts {
    gap: 10px;
  }

  .studio-facts dt {
    font-size: 23px;
  }

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

@media (max-width: 1040px) {
  .builder-layout {
    grid-template-columns: 1fr;
  }

  .studio-intro {
    grid-template-columns: 1fr;
  }

  .studio-intro-copy {
    min-height: 0;
  }

  .studio-intro-copy > p:not(.eyebrow) {
    max-width: 720px;
  }

  .studio-facts {
    margin-top: 35px;
  }

  .studio-intro-media {
    height: min(64vw, 570px);
    grid-template-columns: minmax(0, 1.7fr) minmax(190px, 0.65fr);
  }

  .catalog-intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .catalog-intro > p {
    max-width: 720px;
  }

  .catalog-controls {
    align-items: flex-end;
    flex-direction: column;
  }

  .catalog-tabs {
    width: 100%;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .builder-photo {
    height: min(68vw, 620px);
    min-height: 0;
  }

  .builder-form {
    min-height: 0;
  }

  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .studio-intro {
    padding-top: 47px;
    padding-bottom: 49px;
    gap: 30px;
  }

  .studio-intro-copy {
    padding-top: 0;
  }

  .studio-intro-copy h2 {
    font-size: 48px;
  }

  .studio-intro-copy > p:not(.eyebrow) {
    font-size: 14px;
  }

  .studio-facts {
    margin-top: 30px;
    padding-top: 22px;
  }

  .studio-facts dt {
    font-size: 21px;
  }

  .studio-intro-media {
    height: 72vw;
    min-height: 280px;
    grid-template-columns: minmax(0, 1.55fr) minmax(105px, 0.65fr);
    gap: 8px;
  }

  .catalog {
    padding-top: 51px;
    padding-bottom: 55px;
  }

  .catalog-intro {
    margin-bottom: 27px;
  }

  .catalog-intro h2 {
    font-size: 48px;
  }

  .catalog-intro > p {
    font-size: 13px;
  }

  .finder-panel summary {
    min-height: 70px;
    padding-right: 42px;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .finder-panel summary > span {
    font-size: 26px;
  }

  .finder-panel .bouquet-finder {
    padding-bottom: 23px;
  }

  .catalog-controls {
    margin-bottom: 18px;
    gap: 18px;
  }

  .catalog-control-meta {
    width: 100%;
    justify-content: space-between;
  }

  .catalog-sort select {
    width: 190px;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .catalog-grid .product-image {
    aspect-ratio: 3 / 2;
  }

  .catalog-grid .product-meta {
    min-height: 91px;
  }

  .catalog-grid .product-meta h3 {
    font-size: 27px;
  }

  .builder {
    padding-top: 50px;
    padding-bottom: 54px;
  }

  .builder-layout {
    gap: 24px;
  }

  .builder-photo {
    height: 76vw;
    min-height: 285px;
  }

  .builder-form {
    min-height: 0;
    padding-left: 0;
  }

  .reviews {
    padding: 50px 20px 54px;
  }

  .reviews-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .reviews-heading h2 {
    font-size: 58px;
  }

  .reviews-heading > p {
    text-align: left;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-grid blockquote,
  .review-grid blockquote:nth-child(2),
  .review-grid blockquote:last-child {
    min-height: 205px;
    padding: 23px 22px 20px;
  }
}

/* Commerce interactions: favorites, size variants and delivery threshold */
.favorite-icon {
  display: inline-grid;
  place-items: center;
  font-family: "Material Symbols Outlined";
  font-size: 23px;
  font-style: normal;
  font-weight: 300;
  font-feature-settings: "liga";
  font-variation-settings:
    "FILL" 0,
    "wght" 300,
    "GRAD" 0,
    "opsz" 24;
  line-height: 1;
  letter-spacing: normal;
  transition: color 160ms ease, transform 160ms ease;
  -webkit-font-smoothing: antialiased;
}

.favorite-icon::before {
  content: "favorite";
}

.is-active > .favorite-icon {
  color: var(--wine);
  font-variation-settings:
    "FILL" 1,
    "wght" 300,
    "GRAD" 0,
    "opsz" 24;
}

.product-favorite {
  position: absolute;
  z-index: 4;
  top: 11px;
  right: 11px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(104, 23, 36, 0.18);
  border-radius: 50%;
  background: rgba(250, 247, 241, 0.9);
  box-shadow: 0 4px 16px rgba(51, 34, 29, 0.08);
  backdrop-filter: blur(7px);
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.product-favorite:hover,
.product-favorite:focus-visible {
  border-color: var(--wine);
  background: var(--paper-soft);
  transform: translateY(-1px);
}

.product-favorite.is-active {
  border-color: rgba(104, 23, 36, 0.35);
}

.catalog-grid .product-card.is-recommended::after {
  right: 58px;
}

.catalog-tabs [data-category="favorites"] {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.catalog-tabs [data-category="favorites"] span {
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
}

.catalog-tabs [data-category="favorites"].is-active span {
  border-color: var(--wine);
  color: #fff;
  background: var(--wine);
}

.product-dialog-title-row {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.product-dialog-favorite {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  transition: border-color 160ms ease, color 160ms ease;
}

.product-dialog-favorite:hover,
.product-dialog-favorite:focus-visible,
.product-dialog-favorite.is-active {
  border-color: var(--wine);
  color: var(--wine);
}

.product-dialog-copy > p:not(.eyebrow) {
  margin-top: 20px;
  margin-bottom: 18px;
}

.product-size-picker {
  margin-bottom: 20px;
}

.product-size-picker legend {
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-size-picker > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.product-size-picker button {
  min-height: 54px;
  padding: 8px 6px 7px;
  display: grid;
  place-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  background: rgba(250, 247, 241, 0.42);
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.product-size-picker button:hover,
.product-size-picker button:focus-visible {
  border-color: var(--wine);
}

.product-size-picker button.is-active {
  border-color: var(--wine);
  color: #fff;
  background: var(--wine);
}

.product-size-picker strong {
  font-size: 16px;
  font-weight: 500;
}

.product-size-picker small {
  font-size: 8px;
  font-weight: 300;
}

.cart-summary > .delivery-progress {
  margin-bottom: 6px;
  padding-bottom: 15px;
  display: grid;
  gap: 9px;
  border-bottom: 1px solid var(--line);
}

.delivery-progress-copy {
  display: block;
  color: var(--wine);
  font-size: 11px;
  line-height: 1.35;
}

.delivery-progress-track {
  height: 4px;
  overflow: hidden;
  background: #ded5c8;
}

.delivery-progress-track > span {
  width: 0;
  height: 100%;
  display: block;
  background: var(--wine);
  transition: width 260ms ease;
}

.delivery-progress.is-complete .delivery-progress-track > span {
  background: #526a3d;
}

@media (max-width: 720px) {
  .product-dialog-copy {
    min-height: 500px;
  }

  .product-dialog-favorite {
    font-size: 12px;
  }

  .product-size-picker button {
    min-height: 57px;
  }
}

/* Search actions, delivery checkout and local order confirmation */
.search-result {
  padding: 0;
  grid-template-columns: minmax(0, 1fr) 50px;
  gap: 0;
}

.search-result-details {
  min-width: 0;
  padding: 10px;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  text-align: left;
}

.search-result-copy {
  min-width: 0;
  display: grid;
  grid-column: auto;
  gap: 3px;
  white-space: normal;
}

.search-result-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result .search-result-price {
  grid-column: auto;
  font-size: 12px;
  white-space: nowrap;
}

.search-result-add {
  width: 50px;
  height: 100%;
  min-height: 82px;
  display: grid;
  place-items: center;
  border-left: 1px solid var(--line);
  color: var(--wine);
  transition: color 160ms ease, background-color 160ms ease;
}

.search-result-add:hover,
.search-result-add:focus-visible,
.search-result-add.is-added {
  color: #fff;
  background: var(--wine);
}

.search-result-add .bag-icon {
  width: 26px;
  height: 26px;
  grid-column: auto;
  font-size: 25px;
}

.account-last-order {
  margin-top: 26px;
  padding-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px 22px;
  border-top: 1px solid var(--line);
}

.account-last-order > div {
  display: grid;
  gap: 3px;
}

.account-last-order .eyebrow {
  margin: 0;
}

.account-last-order > div > strong {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 500;
}

.account-last-order dl {
  margin: 0;
  display: grid;
  gap: 5px;
  font-size: 10px;
}

.account-last-order dl > div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 8px;
}

.account-last-order dt {
  color: var(--muted);
}

.account-last-order dd {
  margin: 0;
}

.account-last-order > .text-link {
  grid-column: 2;
  justify-self: end;
}

.checkout-method legend {
  margin-bottom: 8px;
  font-size: 12px;
}

.checkout-method > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.checkout-form .checkout-method label {
  position: relative;
  display: block;
}

.checkout-method input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.checkout-method label > span {
  min-height: 67px;
  padding: 11px 10px;
  display: grid;
  align-content: center;
  gap: 3px;
  border: 1px solid var(--line);
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.checkout-method label:hover > span,
.checkout-method input:focus-visible + span {
  border-color: var(--wine);
}

.checkout-method input:checked + span {
  border-color: var(--wine);
  color: #fff;
  background: var(--wine);
}

.checkout-method strong {
  font-size: 12px;
  font-weight: 500;
}

.checkout-method small {
  font-size: 8px;
  line-height: 1.35;
}

.checkout-slot-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.checkout-slot-fields label {
  min-width: 0;
}

.checkout-total-preview {
  padding: 13px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.checkout-total-preview strong {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  white-space: nowrap;
}

.order-confirmation {
  min-height: 0;
  padding: 32px 2px 4px;
  overflow-y: auto;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.order-confirmation-mark {
  width: 50px;
  height: 50px;
  margin-bottom: 19px;
  display: grid;
  place-items: center;
  border: 1px solid var(--wine);
  border-radius: 50%;
  color: #fff;
  background: var(--wine);
  font-size: 22px;
}

.order-confirmation > .eyebrow {
  margin-bottom: 7px;
}

.order-confirmation h3 {
  margin: 0 0 15px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  line-height: 0.95;
}

.order-confirmation > p:not(.eyebrow) {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.order-confirmation-items {
  display: grid;
  border-top: 1px solid var(--line);
}

.order-confirmation-items > div,
.order-confirmation dl > div {
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
}

.order-confirmation-items strong {
  font-weight: 500;
  white-space: nowrap;
}

.order-confirmation dl {
  margin: 18px 0 0;
}

.order-confirmation dt {
  color: var(--muted);
}

.order-confirmation dd {
  max-width: 65%;
  margin: 0;
  text-align: right;
}

.order-confirmation-actions {
  margin-top: auto;
  padding-top: 24px;
  display: grid;
  justify-items: center;
  gap: 18px;
}

.order-confirmation-actions .button {
  width: 100%;
}

@media (max-width: 720px) {
  .search-result {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .search-result-details {
    padding: 8px;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 5px 10px;
  }

  .search-result img {
    width: 68px;
    height: 58px;
    grid-row: 1 / 3;
  }

  .search-result-copy,
  .search-result .search-result-price {
    grid-column: 2;
  }

  .search-result .search-result-price {
    align-self: start;
  }

  .search-result-copy small {
    display: none;
  }

  .search-result-add {
    width: 44px;
    min-height: 74px;
  }

  .account-last-order {
    grid-template-columns: 1fr;
  }

  .account-last-order > .text-link {
    grid-column: 1;
    justify-self: start;
  }

  .order-confirmation h3 {
    font-size: 37px;
  }
}

/* Editorial motion system */
html.motion-ready .hero-media img {
  opacity: 0;
  transform: scale(1.035);
  transform-origin: 72% 42%;
  transition:
    opacity 900ms cubic-bezier(0.2, 0.65, 0.25, 1),
    transform 1400ms cubic-bezier(0.16, 0.72, 0.2, 1);
}

html.motion-ready.motion-entered .hero-media img {
  opacity: 1;
  transform: scale(1);
}

html.motion-ready .hero-copy h1 span,
html.motion-ready .hero-copy > p,
html.motion-ready .hero-actions {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 650ms cubic-bezier(0.2, 0.65, 0.25, 1),
    transform 760ms cubic-bezier(0.16, 0.72, 0.2, 1);
}

html.motion-ready.motion-entered .hero-copy h1 span,
html.motion-ready.motion-entered .hero-copy > p,
html.motion-ready.motion-entered .hero-actions {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

html.motion-ready .hero-copy h1 span:nth-child(1) {
  transition-delay: 120ms;
}

html.motion-ready .hero-copy h1 span:nth-child(2) {
  transition-delay: 200ms;
}

html.motion-ready .hero-copy h1 span:nth-child(3) {
  transition-delay: 280ms;
}

html.motion-ready .hero-copy > p {
  transition-delay: 360ms;
}

html.motion-ready .hero-actions {
  transition-delay: 430ms;
}

html.motion-ready .motion-reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 620ms cubic-bezier(0.2, 0.65, 0.25, 1) var(--reveal-delay, 0ms),
    transform 720ms cubic-bezier(0.16, 0.72, 0.2, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

html.motion-ready .motion-reveal--media {
  transform: translate3d(0, 18px, 0) scale(0.985);
}

html.motion-ready .motion-reveal--card {
  transform: translate3d(0, 16px, 0);
  transition-duration: 480ms, 560ms;
}

html.motion-ready .motion-reveal.is-in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  will-change: auto;
}

html.motion-ready .catalog-card-enter {
  animation: catalog-card-enter 440ms cubic-bezier(0.16, 0.72, 0.2, 1) both;
  animation-delay: var(--card-enter-delay, 0ms);
}

html.motion-ready .search-result {
  animation: search-result-enter 300ms cubic-bezier(0.2, 0.65, 0.25, 1) both;
  animation-delay: var(--search-result-delay, 0ms);
}

html.motion-ready .cart-drawer.is-open.is-entering .cart-item {
  animation: cart-item-enter 340ms cubic-bezier(0.16, 0.72, 0.2, 1) both;
  animation-delay: var(--cart-item-delay, 0ms);
}

.cart-button.is-bumping .bag-icon {
  animation: cart-bump 480ms cubic-bezier(0.16, 0.72, 0.2, 1);
}

.product-favorite.is-active .favorite-icon,
.product-dialog-favorite.is-active .favorite-icon {
  animation: favorite-pop 360ms cubic-bezier(0.16, 0.72, 0.2, 1);
}

html.motion-ready dialog[open] {
  animation: dialog-enter 280ms cubic-bezier(0.16, 0.72, 0.2, 1) both;
}

html.motion-ready dialog[open]::backdrop {
  animation: backdrop-enter 220ms ease both;
}

.builder-step.is-step-entering {
  animation: builder-step-enter 380ms cubic-bezier(0.16, 0.72, 0.2, 1) both;
}

.accordion [id].is-panel-entering {
  animation: accordion-panel-enter 300ms cubic-bezier(0.2, 0.65, 0.25, 1) both;
}

.order-confirmation:not([hidden]) .order-confirmation-mark {
  animation: confirmation-mark-enter 480ms cubic-bezier(0.16, 0.72, 0.2, 1) both;
}

.order-confirmation:not([hidden]) h3,
.order-confirmation:not([hidden]) > p,
.order-confirmation:not([hidden]) .order-confirmation-items,
.order-confirmation:not([hidden]) dl,
.order-confirmation:not([hidden]) .order-confirmation-actions {
  animation: confirmation-content-enter 420ms cubic-bezier(0.2, 0.65, 0.25, 1) both;
}

.order-confirmation:not([hidden]) h3 {
  animation-delay: 80ms;
}

.order-confirmation:not([hidden]) > p {
  animation-delay: 120ms;
}

.order-confirmation:not([hidden]) .order-confirmation-items,
.order-confirmation:not([hidden]) dl {
  animation-delay: 170ms;
}

.order-confirmation:not([hidden]) .order-confirmation-actions {
  animation-delay: 220ms;
}

.button:active {
  transform: translateY(1px) scale(0.992);
}

@keyframes catalog-card-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 15px, 0) scale(0.992);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes search-result-enter {
  from {
    opacity: 0;
    transform: translate3d(8px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes cart-item-enter {
  from {
    opacity: 0;
    transform: translate3d(14px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes cart-bump {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  38% {
    transform: translate3d(0, -3px, 0) rotate(-7deg) scale(1.12);
  }
  68% {
    transform: translate3d(0, 0, 0) rotate(4deg) scale(1.02);
  }
}

@keyframes favorite-pop {
  0% {
    transform: scale(0.72);
  }
  55% {
    transform: scale(1.22);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes dialog-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes backdrop-enter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes builder-step-enter {
  from {
    opacity: 0;
    transform: translate3d(12px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes accordion-panel-enter {
  from {
    opacity: 0;
    transform: translate3d(0, -7px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes confirmation-mark-enter {
  from {
    opacity: 0;
    transform: scale(0.5) rotate(-12deg);
  }
  70% {
    opacity: 1;
    transform: scale(1.08) rotate(2deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes confirmation-content-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

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

  html.motion-ready .hero-media img,
  html.motion-ready .hero-copy h1 span,
  html.motion-ready .hero-copy > p,
  html.motion-ready .hero-actions,
  html.motion-ready .motion-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
