:root {
  --ivory: #f4f0e7;
  --paper: #fbfaf6;
  --ink: #18221d;
  --forest: #173329;
  --forest-deep: #0d241b;
  --sage: #7f9182;
  --gold: #b49a63;
  --wine: #5a282d;
  --line: rgba(24, 34, 29, 0.14);
  --serif: "Italiana", "Times New Roman", serif;
  --sans: "DM Sans", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: #0d1713;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 75% 15%, rgba(170, 150, 101, 0.16), transparent 28%),
    linear-gradient(120deg, #101b16 0%, #18291f 52%, #0c1712 100%);
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

button,
[data-brand] {
  -webkit-tap-highlight-color: transparent;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.presentation-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(410px, 0.95fr) minmax(530px, 1.25fr);
}

.story-panel {
  min-height: 100vh;
  padding: clamp(38px, 5vw, 78px);
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #f2eee5;
  overflow: hidden;
}

.story-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 12, 9, 0.18), rgba(5, 12, 9, 0.74)),
    url("assets/tecedeiras-estate.jpg") center / cover;
  opacity: 0.25;
  filter: saturate(0.7);
  z-index: -2;
}

.story-panel::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.story-panel__top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
}

.monogram {
  width: 70px;
  height: 70px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 2px;
}

.monogram span {
  color: var(--gold);
  font-size: 12px;
  margin: 0 2px;
}

.monogram.small {
  width: 52px;
  height: 52px;
  font-size: 16px;
  border-color: rgba(24, 34, 29, 0.25);
}

.eyebrow,
.chapter,
.section-kicker,
.hero-kicker,
.cellar-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 10px;
  font-weight: 600;
}

.story-panel__top .eyebrow {
  color: rgba(255, 255, 255, 0.66);
}

.story-panel__copy {
  max-width: 610px;
  padding: 70px 0;
}

.story-panel__copy .chapter {
  color: #ccb57b;
  margin: 0 0 24px;
}

.story-panel__copy h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 5.1vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 30px;
}

.story-panel__copy > p:last-child {
  color: rgba(255, 255, 255, 0.67);
  font-size: 15px;
  line-height: 1.8;
  max-width: 490px;
}

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

.feature-line {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 13px;
}

.feature-line span {
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.feature-line p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  line-height: 1.45;
}

.device-stage {
  min-height: 100vh;
  padding: 54px clamp(32px, 6vw, 100px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 42px 42px;
}

.device-hint,
.prototype-caption {
  width: min(390px, 100%);
  color: rgba(255, 255, 255, 0.62);
}

.device-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 9px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: #c6a963;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(198, 169, 99, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(198, 169, 99, 0); }
  100% { box-shadow: 0 0 0 0 rgba(198, 169, 99, 0); }
}

.phone-frame {
  position: relative;
  width: 390px;
  height: 844px;
  max-height: calc(100vh - 150px);
  border: 9px solid #080b09;
  border-radius: 52px;
  background: #080b09;
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.phone-speaker {
  z-index: 30;
  position: absolute;
  top: 9px;
  left: 50%;
  width: 112px;
  height: 28px;
  transform: translateX(-50%);
  border-radius: 18px;
  background: #070908;
}

.app {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border-radius: 43px;
}

.status-bar {
  height: 35px;
  padding: 11px 24px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: var(--paper);
  position: relative;
  z-index: 12;
  font-size: 10px;
  font-weight: 600;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-icons svg {
  width: 13px;
  height: 10px;
  fill: currentColor;
  stroke: none;
}

.battery {
  width: 17px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 2px;
  padding: 1px;
  display: inline-block;
  position: relative;
}

.battery::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 2px;
  width: 2px;
  height: 4px;
  border-radius: 0 1px 1px 0;
  background: currentColor;
}

.battery i {
  display: block;
  height: 100%;
  width: 80%;
  background: currentColor;
}

.app-header {
  height: 63px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  background: var(--paper);
  position: relative;
  z-index: 12;
  border-bottom: 1px solid rgba(24, 34, 29, 0.07);
}

.icon-button,
.brand-lockup,
.round-arrow,
.small-link,
.text-link,
.sheet-close {
  border: 0;
  background: none;
  cursor: pointer;
}

.icon-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
}

.icon-button svg {
  width: 22px;
  height: 22px;
}

.brand-lockup {
  justify-self: center;
  text-align: center;
  color: var(--forest);
}

.brand-lockup span {
  display: block;
  font-size: 6px;
  letter-spacing: 0.28em;
  margin-bottom: 2px;
}

.brand-lockup strong {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.06em;
  font-weight: 400;
}

.brand-lockup i {
  color: var(--gold);
  font-style: normal;
  font-size: 9px;
  margin: 0 3px;
}

.cart-button {
  position: relative;
}

.cart-count {
  position: absolute;
  top: 3px;
  right: 1px;
  width: 16px;
  height: 16px;
  display: none;
  place-items: center;
  border-radius: 50%;
  background: var(--wine);
  color: #fff;
  font-size: 8px;
}

.cart-count.visible {
  display: grid;
}

.screen-stack {
  position: absolute;
  inset: 98px 0 70px;
  background: var(--paper);
}

.screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  transform: translateY(8px);
  transition: opacity 0.24s ease, transform 0.24s ease;
  padding-bottom: 22px;
}

.screen::-webkit-scrollbar {
  display: none;
}

.screen.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.home-hero {
  height: 450px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.home-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.025);
}

.hero-shade,
.visit-hero__shade,
.journal-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 18, 11, 0.05), rgba(5, 18, 11, 0.73));
}

.home-hero__content {
  position: absolute;
  left: 27px;
  right: 27px;
  bottom: 43px;
}

.hero-kicker {
  color: rgba(255, 255, 255, 0.76);
}

.home-hero h2,
.page-head h2,
.cellar-head h2,
.visit-hero h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.home-hero h2 {
  font-size: 48px;
  line-height: 0.96;
  margin: 14px 0 16px;
}

.home-hero__content p {
  margin: 0 0 19px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.text-link {
  padding: 0 0 7px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 600;
}

.text-link.light {
  color: white;
}

.text-link svg,
.cellar-link svg {
  width: 17px;
  height: 17px;
}

.hero-index {
  position: absolute;
  right: 22px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 7px;
}

.hero-index span {
  width: 27px;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
}

.hero-index b,
.hero-index em {
  font-style: normal;
  font-weight: 500;
}

.hero-index em {
  opacity: 0.55;
}

.content-block {
  padding: 35px 24px;
}

.intro-block {
  background: var(--ivory);
}

.section-kicker {
  color: #8d7952;
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 14px 0 24px;
}

.section-heading-row.compact {
  align-items: center;
  margin-top: 12px;
}

.section-heading-row h3,
.visit-content > h3,
.cart-sheet > h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 29px;
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.section-heading-row.compact h3 {
  margin-top: 7px;
  font-size: 24px;
}

.round-arrow {
  flex: 0 0 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.round-arrow svg {
  width: 17px;
}

.estate-cards {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  margin-right: -24px;
  padding-right: 24px;
  scrollbar-width: none;
}

.estate-cards::-webkit-scrollbar {
  display: none;
}

.estate-card {
  flex: 0 0 247px;
  background: #fff;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(28, 42, 35, 0.07);
}

.estate-card__image {
  height: 175px;
  overflow: hidden;
}

.estate-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.estate-card:active .estate-card__image img {
  transform: scale(1.04);
}

.estate-card__body {
  min-height: 124px;
  padding: 14px 17px 15px;
}

.estate-logo {
  display: block;
  object-fit: contain;
  object-position: left center;
}

.covela-logo {
  width: 66px;
  height: 38px;
  transform: scale(1.8);
  transform-origin: left center;
}

.tecedeiras-logo {
  width: 88px;
  height: 38px;
}

.estate-card__body p {
  margin: 7px 0 4px;
  color: var(--ink);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.estate-card__body span {
  color: #7f837f;
  font-size: 10px;
}

.edit-block {
  background: var(--paper);
}

.small-link {
  color: #7c6b48;
  font-size: 10px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(124, 107, 72, 0.4);
}

.featured-wines {
  display: flex;
  gap: 12px;
  margin-right: -24px;
  padding-right: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.featured-wines::-webkit-scrollbar {
  display: none;
}

.wine-card {
  position: relative;
  border: 0;
  padding: 0;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.featured-wines .wine-card {
  flex: 0 0 145px;
}

.wine-card__image {
  position: relative;
  height: 204px;
  display: grid;
  place-items: center;
  background: #f0ede6;
  overflow: hidden;
}

.wine-card__image::after {
  content: "";
  position: absolute;
  width: 56%;
  height: 13px;
  bottom: 10px;
  background: radial-gradient(ellipse, rgba(23, 26, 23, 0.18), transparent 68%);
}

.wine-card__image img {
  position: relative;
  z-index: 1;
  max-width: 74%;
  max-height: 91%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.wine-card:active .wine-card__image img {
  transform: scale(1.025);
}

.favorite-button {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 3;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.favorite-button svg {
  width: 14px;
  height: 14px;
}

.favorite-button.active svg {
  fill: var(--wine);
  color: var(--wine);
}

.wine-card__copy {
  padding: 11px 1px 3px;
}

.wine-card__copy > span {
  display: block;
  color: #8b7852;
  font-size: 8px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.wine-card__copy h4 {
  margin: 0;
  min-height: 33px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 500;
}

.wine-card__copy p {
  margin: 7px 0 0;
  font-size: 11px;
  font-weight: 600;
}

.journal-card {
  height: 360px;
  position: relative;
  color: white;
  overflow: hidden;
}

.journal-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journal-card__copy {
  position: absolute;
  inset: auto 25px 31px;
}

.journal-card__copy span {
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.journal-card__copy h3 {
  margin: 12px 0 17px;
  font-family: var(--serif);
  font-size: 35px;
  line-height: 1;
  font-weight: 400;
}

.journal-card__copy button {
  padding: 0 0 6px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  color: white;
  background: none;
  font-size: 10px;
  cursor: pointer;
}

.page-head {
  padding: 35px 24px 20px;
}

.page-head h2 {
  margin: 13px 0 12px;
  font-size: 37px;
  line-height: 1.02;
}

.page-head p {
  margin: 0;
  color: #7f837f;
  font-size: 11px;
}

.search-box {
  height: 45px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 24px 16px;
  padding: 0 13px;
  background: #f0ede6;
  border: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.search-box:focus-within {
  border-color: #9e8d69;
}

.search-box svg {
  width: 18px;
  color: #6f756f;
}

.search-box input {
  flex: 1;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 11px;
  color: var(--ink);
}

.filter-row {
  display: flex;
  gap: 8px;
  padding: 0 24px 21px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-row button {
  flex: 0 0 auto;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: transparent;
  font-size: 9px;
  cursor: pointer;
}

.filter-row button.active {
  background: var(--forest);
  color: white;
  border-color: var(--forest);
}

.wine-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 12px;
  padding: 0 24px 30px;
}

.wine-grid .wine-card__image {
  height: 224px;
}

.wine-grid .wine-card__copy h4 {
  min-height: 33px;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
  color: #7f837f;
  font-size: 12px;
}

.shipping-note {
  margin: 0 24px 22px;
  padding: 17px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #e8e2d7;
  background: var(--forest);
}

.shipping-note svg {
  flex: 0 0 28px;
  width: 28px;
}

.shipping-note strong,
.shipping-note span {
  display: block;
}

.shipping-note strong {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
}

.shipping-note span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
}

.cellar-screen {
  padding: 29px 23px 30px;
  color: #f1ede3;
  background:
    radial-gradient(circle at 90% 10%, rgba(180, 154, 99, 0.15), transparent 27%),
    var(--forest-deep);
}

.cellar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cellar-kicker {
  color: #bfa970;
}

.cellar-head h2 {
  margin: 6px 0 0;
  font-size: 40px;
}

.cellar-head p {
  max-width: 250px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  line-height: 1.45;
}

.avatar {
  width: 39px;
  height: 39px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #f2eee5;
  background: transparent;
  font-size: 10px;
}

.cellar-summary {
  margin-top: 26px;
  padding: 21px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.045);
}

.cellar-summary__top {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cellar-summary__top svg {
  width: 18px;
  color: #bfa970;
}

.cellar-summary > strong {
  display: inline-block;
  margin: 9px 8px 0 0;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
}

.trend {
  color: #9dbba8;
  font-size: 8px;
}

.cellar-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cellar-stats div + div {
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.cellar-stats b,
.cellar-stats span {
  display: block;
}

.cellar-stats b {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
}

.cellar-stats span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 8px;
}

.nfc-card {
  width: 100%;
  display: grid;
  grid-template-columns: 38px 1fr 18px;
  gap: 12px;
  align-items: center;
  margin: 13px 0 29px;
  padding: 14px;
  border: 0;
  text-align: left;
  background: #b39a62;
  color: #11251c;
  cursor: pointer;
}

.nfc-icon {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 37, 28, 0.24);
  border-radius: 50%;
}

.nfc-icon svg,
.nfc-card .chevron {
  width: 19px;
  height: 19px;
}

.nfc-card b,
.nfc-card small {
  display: block;
}

.nfc-card b {
  font-size: 11px;
}

.nfc-card small {
  margin-top: 2px;
  font-size: 8px;
  opacity: 0.68;
}

.cellar-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 15px;
}

.cellar-section-head span:first-child {
  color: #bfa970;
  font-size: 8px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.cellar-section-head h3 {
  margin: 5px 0 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
}

.pill-count {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 8px;
}

.cellar-bottles article {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 14px;
  position: relative;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cellar-bottle-img {
  height: 77px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.055);
}

.cellar-bottle-img img {
  max-height: 70px;
  max-width: 45px;
  object-fit: contain;
}

.cellar-bottles article > div:nth-child(2) {
  align-self: center;
}

.cellar-bottles span {
  color: #bfa970;
  font-size: 7px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.cellar-bottles h4 {
  margin: 4px 0;
  font-size: 11px;
  font-weight: 500;
}

.cellar-bottles small {
  color: rgba(255, 255, 255, 0.45);
  font-size: 8px;
}

.maturity {
  position: absolute;
  left: 74px;
  right: 0;
  bottom: 12px;
  height: 2px;
  background: rgba(255, 255, 255, 0.11);
}

.maturity i {
  display: block;
  width: var(--maturity);
  height: 100%;
  background: #bfa970;
}

.cellar-link {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 5px;
  border: 0;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  font-size: 10px;
  cursor: pointer;
}

.visit-hero {
  height: 320px;
  position: relative;
  overflow: hidden;
  color: white;
}

.visit-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visit-hero__copy {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 28px;
}

.visit-hero__copy > span {
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.visit-hero h2 {
  margin: 10px 0 11px;
  font-size: 40px;
  line-height: 0.98;
}

.visit-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
}

.visit-content {
  padding: 30px 24px 105px;
}

.visit-content > h3 {
  margin: 11px 0 20px;
  font-size: 30px;
}

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

.service-selector button {
  min-width: 0;
  min-height: 148px;
  padding: 18px 12px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  color: var(--ink);
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.service-selector button.active {
  border-color: var(--forest);
  color: white;
  background: var(--forest);
}

.service-selector button:disabled {
  cursor: not-allowed;
  color: #9a9e99;
  background: #efede7;
  border-color: transparent;
}

.service-selector button:disabled .service-icon {
  opacity: 0.38;
}

.service-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.86;
}

.service-icon svg {
  width: 18px;
  height: 18px;
}

.service-selector strong,
.service-selector small {
  display: block;
}

.service-selector strong {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 400;
}

.service-selector small {
  margin-top: 7px;
  color: currentColor;
  font-size: 7px;
  line-height: 1.45;
  opacity: 0.58;
}

.experience-step {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 27px 0 14px;
}

.experience-step.first-step {
  margin-top: 0;
}

.experience-step--services {
  align-items: flex-start;
}

.experience-step--services small {
  display: block;
  margin-top: 4px;
  color: #858a85;
  font-size: 8px;
}

.experience-step span {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--wine);
  font-size: 7px;
}

.experience-step p {
  margin: 0;
  color: #786a4e;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.estate-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.estate-selector button {
  min-height: 106px;
  padding: 15px;
  border: 1px solid var(--line);
  text-align: left;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.estate-selector button.active {
  border-color: var(--forest);
  color: white;
  background: var(--forest);
}

.estate-selector button:disabled {
  cursor: not-allowed;
  color: #999d98;
  background: #efede7;
  border-color: transparent;
}

.estate-selector span,
.estate-selector small,
.estate-selector strong {
  display: block;
}

.estate-selector span {
  font-size: 6px;
  letter-spacing: 0.16em;
}

.estate-selector strong {
  margin: 4px 0 13px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
}

.estate-selector small {
  font-size: 8px;
  opacity: 0.64;
}

.date-strip {
  display: flex;
  gap: 8px;
  margin: 11px -24px 24px 0;
  padding-right: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.date-button {
  flex: 0 0 50px;
  height: 65px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.date-button span,
.date-button b {
  display: block;
}

.date-button span {
  margin-bottom: 6px;
  font-size: 7px;
  text-transform: uppercase;
}

.date-button b {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
}

.date-button.active {
  color: white;
  background: var(--wine);
  border-color: var(--wine);
}

.experience-list {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.experience-card {
  display: grid;
  grid-template-columns: 108px 1fr;
  min-height: 140px;
  border: 1px solid var(--line);
  background: white;
  overflow: hidden;
}

.experience-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experience-card__copy {
  padding: 18px 18px 16px;
}

.experience-card__copy > span {
  color: #8d7952;
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.experience-card h4 {
  margin: 8px 0 8px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
}

.experience-card p {
  margin: 0 0 14px;
  color: #747a75;
  font-size: 8px;
  line-height: 1.55;
}

.experience-card button {
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid #a58d5c;
  color: #796640;
  background: none;
  font-size: 8px;
  cursor: pointer;
}

.add-experience-button {
  padding: 6px 0 4px !important;
  border-bottom: 1px solid #a58d5c !important;
  color: #796640 !important;
  font-weight: 600;
}

.add-experience-button.added {
  color: var(--forest) !important;
  border-bottom-color: var(--forest) !important;
}

.visit-plan-bar {
  width: 100%;
  min-height: 62px;
  position: sticky;
  z-index: 6;
  bottom: 8px;
  margin-top: 18px;
  padding: 10px 13px;
  display: none;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 11px;
  border: 0;
  color: white;
  text-align: left;
  background: var(--wine);
  box-shadow: 0 12px 28px rgba(53, 25, 28, 0.28);
  cursor: pointer;
}

.visit-plan-bar.visible {
  display: grid;
}

.visit-plan-count {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 15px;
}

.visit-plan-bar b,
.visit-plan-bar small {
  display: block;
}

.visit-plan-bar b {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
}

.visit-plan-bar small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 7px;
}

.visit-plan-action {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 8px;
  font-weight: 600;
}

.visit-plan-action svg {
  width: 14px;
}

.bottom-sheet.visit-plan-sheet {
  min-height: 66%;
  padding: 35px 24px 26px;
}

.visit-plan-sheet > h3 {
  margin: 7px 0 18px;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
}

.visit-plan-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}

.visit-plan-summary div {
  padding: 12px;
  background: var(--ivory);
}

.visit-plan-summary span,
.visit-plan-summary strong {
  display: block;
}

.visit-plan-summary span {
  color: #8d7952;
  font-size: 7px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.visit-plan-summary strong {
  margin-top: 5px;
  font-size: 10px;
  font-weight: 500;
}

.visit-plan-items {
  min-height: 110px;
}

.visit-plan-item {
  display: grid;
  grid-template-columns: 31px 1fr 25px;
  gap: 11px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.visit-plan-order {
  color: #8d7952;
  font-family: var(--serif);
  font-size: 14px;
}

.visit-plan-item small {
  color: #8d7952;
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.visit-plan-item h4 {
  margin: 4px 0 0;
  font-size: 11px;
  font-weight: 500;
}

.visit-plan-item button {
  width: 25px;
  height: 25px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #7f837f;
  background: transparent;
  cursor: pointer;
}

.visit-plan-footer {
  margin-top: 12px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.visit-plan-footer p {
  margin: 0 0 13px;
  color: #747a75;
  font-size: 9px;
  line-height: 1.5;
}

.visit-plan-footer .primary-button {
  width: 100%;
}

.bottom-nav {
  position: absolute;
  z-index: 13;
  left: 0;
  right: 0;
  bottom: 0;
  height: 71px;
  padding: 8px 13px 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(251, 250, 246, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(24, 34, 29, 0.09);
}

.bottom-nav button {
  border: 0;
  color: #959994;
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 8px;
  cursor: pointer;
}

.bottom-nav button.active {
  color: var(--forest);
}

.bottom-nav svg {
  width: 20px;
  height: 20px;
}

.backdrop {
  position: absolute;
  z-index: 19;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  background: rgba(4, 10, 7, 0.58);
  backdrop-filter: blur(2px);
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.backdrop.visible {
  opacity: 1;
  visibility: visible;
}

.side-menu {
  position: absolute;
  z-index: 21;
  inset: 0 50px 0 0;
  padding: 34px 27px 30px;
  transform: translateX(-105%);
  visibility: hidden;
  background: var(--ivory);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.32s;
}

.side-menu.open {
  transform: translateX(0);
  visibility: visible;
}

.side-menu__top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.side-menu > p {
  margin: 48px 0 20px;
  color: #8d7952;
  font-size: 8px;
  letter-spacing: 0.18em;
}

.side-menu nav {
  display: grid;
}

.side-menu nav button {
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-family: var(--serif);
  font-size: 25px;
  background: none;
  cursor: pointer;
}

.side-menu__bottom {
  position: absolute;
  left: 27px;
  right: 27px;
  bottom: 37px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.side-menu__bottom button {
  border: 0;
  color: #777c77;
  background: none;
  font-size: 9px;
  cursor: pointer;
}

.side-menu__bottom span {
  color: var(--ink);
  font-weight: 600;
}

.bottom-sheet {
  position: absolute;
  z-index: 22;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 91%;
  padding: 0;
  transform: translateY(105%);
  visibility: hidden;
  overflow-y: auto;
  background: var(--paper);
  border-radius: 24px 24px 0 0;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.34s;
  scrollbar-width: none;
}

.bottom-sheet.open {
  transform: translateY(0);
  visibility: visible;
}

.sheet-close {
  position: absolute;
  z-index: 4;
  top: 15px;
  right: 15px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
}

.sheet-close svg {
  width: 16px;
}

.product-detail__visual {
  height: 330px;
  display: grid;
  place-items: center;
  position: relative;
  background: #ebe7df;
}

.product-detail__visual::after {
  content: "";
  position: absolute;
  bottom: 25px;
  width: 145px;
  height: 22px;
  background: radial-gradient(ellipse, rgba(17, 24, 19, 0.22), transparent 69%);
}

.product-detail__visual img {
  z-index: 1;
  max-height: 89%;
  max-width: 50%;
  object-fit: contain;
}

.product-detail__copy {
  padding: 23px 24px 28px;
}

.product-brand {
  color: #8d7952;
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-top: 7px;
}

.product-title-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.05;
  font-weight: 400;
}

.product-title-row strong {
  flex: 0 0 auto;
  font-size: 14px;
}

.product-meta {
  display: flex;
  gap: 8px;
  margin: 15px 0;
}

.product-meta span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  font-size: 8px;
}

.product-description {
  color: #6f756f;
  font-size: 10px;
  line-height: 1.6;
}

.tasting-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 18px 0;
}

.tasting-notes div {
  padding: 10px;
  background: var(--ivory);
}

.tasting-notes span,
.tasting-notes b {
  display: block;
}

.tasting-notes span {
  color: #8d7952;
  font-size: 7px;
  text-transform: uppercase;
}

.tasting-notes b {
  margin-top: 4px;
  font-size: 9px;
  font-weight: 500;
}

.purchase-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px;
  margin-top: 19px;
}

.quantity-control {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  border: 1px solid var(--line);
  text-align: center;
  font-size: 11px;
}

.quantity-control button {
  height: 45px;
  border: 0;
  background: none;
  cursor: pointer;
}

.primary-button {
  min-height: 45px;
  border: 0;
  color: white;
  background: var(--forest);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

.cart-sheet {
  min-height: 62%;
  padding: 35px 24px 25px;
}

.sheet-handle {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 38px;
  height: 3px;
  border-radius: 4px;
  transform: translateX(-50%);
  background: #d3d0c8;
}

.cart-sheet > h3 {
  margin: 7px 0 18px;
  font-size: 30px;
}

.cart-items {
  min-height: 180px;
}

.empty-cart {
  display: grid;
  place-items: center;
  min-height: 180px;
  color: #8b8f8a;
  text-align: center;
  font-size: 10px;
}

.empty-cart svg {
  width: 34px;
  margin-bottom: 10px;
}

.cart-item {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.cart-item__img {
  height: 70px;
  display: grid;
  place-items: center;
  background: #efede7;
}

.cart-item__img img {
  max-height: 63px;
  max-width: 42px;
}

.cart-item h4 {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 500;
}

.cart-item span {
  color: #8a8f89;
  font-size: 8px;
}

.cart-item strong {
  font-size: 10px;
}

.cart-footer {
  border-top: 1px solid var(--line);
  padding-top: 17px;
}

.cart-footer > div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.cart-footer span {
  font-size: 10px;
}

.cart-footer strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
}

.cart-footer .primary-button {
  width: 100%;
}

.cart-footer small {
  display: block;
  margin-top: 9px;
  color: #90948f;
  text-align: center;
  font-size: 7px;
}

.dialog {
  position: absolute;
  z-index: 23;
  inset: 0;
  padding: 120px 35px 40px;
  opacity: 0;
  visibility: hidden;
  text-align: center;
  color: #f4f0e7;
  background:
    radial-gradient(circle at center 33%, rgba(190, 163, 99, 0.18), transparent 30%),
    #0d241b;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dialog.open {
  opacity: 1;
  visibility: visible;
}

.light-close {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.nfc-animation {
  width: 150px;
  height: 150px;
  margin: 0 auto 40px;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.nfc-animation span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(190, 163, 99, 0.35);
  border-radius: 50%;
  animation: scan 2.4s infinite ease-out;
}

.nfc-animation span:nth-child(2) { animation-delay: 0.8s; }
.nfc-animation span:nth-child(3) { animation-delay: 1.6s; }

@keyframes scan {
  0% { transform: scale(0.5); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}

.nfc-animation svg {
  width: 48px;
  color: #bea363;
}

.dialog > span {
  color: #bea363;
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dialog h3 {
  margin: 13px 0 15px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.06;
  font-weight: 400;
}

.dialog p {
  color: rgba(255, 255, 255, 0.57);
  font-size: 10px;
  line-height: 1.6;
}

.scan-status {
  margin-top: 50px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.7);
}

.scan-status i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: #bea363;
  animation: blink 1s infinite alternate;
}

@keyframes blink { to { opacity: 0.2; } }

.toast {
  position: absolute;
  z-index: 40;
  left: 50%;
  bottom: 86px;
  min-width: 210px;
  padding: 12px 18px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  border-radius: 2px;
  text-align: center;
  color: white;
  background: #18271f;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
  font-size: 9px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.prototype-caption {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 9px;
}

.prototype-caption span {
  color: #c7ae74;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.prototype-caption p {
  max-width: 220px;
  margin: 0;
  text-align: right;
  line-height: 1.45;
}

@media (max-width: 1050px) {
  .presentation-shell {
    grid-template-columns: 0.75fr 1fr;
  }

  .story-panel {
    padding: 48px 36px;
  }

  .story-panel__footer {
    grid-template-columns: 1fr;
  }

  .feature-line:nth-child(n + 2) {
    display: none;
  }
}

@media (max-width: 780px) {
  html,
  body {
    background: var(--paper);
  }

  .presentation-shell {
    display: block;
  }

  .story-panel,
  .device-hint,
  .prototype-caption,
  .phone-speaker {
    display: none;
  }

  .device-stage {
    min-height: 100dvh;
    padding: 0;
    display: block;
  }

  .phone-frame {
    width: 100%;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .app {
    border-radius: 0;
  }
}

@media (max-height: 820px) and (min-width: 781px) {
  .phone-frame {
    height: 720px;
  }

  .device-stage {
    padding-top: 35px;
    padding-bottom: 35px;
  }

  .prototype-caption {
    display: none;
  }
}

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