:root {
  color-scheme: light;
  --topbar-height: 7rem;
  --bottombar-height: 5.25rem;
  --wine: #800020;
}

* {
  box-sizing: border-box;
}

/* Keep inactive receipt rows and status messages out of the layout. */
[hidden] {
  display: none !important;
}

html, body {
  -webkit-text-size-adjust: 100%;
  margin: 0;
  min-height: 100%;
  background: #ffffff;
}

body {
  min-height: 100vh;
  padding-top: calc(var(--topbar-height) + env(safe-area-inset-top, 0px));
  padding-bottom: calc(var(--bottombar-height) + env(safe-area-inset-bottom, 0px));
  color: #202020;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  background: #ffffff;
  border-bottom: 1px solid #e9dfe2;
  box-shadow: 0 5px 22px rgb(37 10 17 / 6%);
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--wine);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 5vw, 2.5rem);
  min-height: var(--topbar-height);
  max-width: 42rem;
  margin-inline: auto;
  padding: 0.75rem max(1rem, env(safe-area-inset-right, 0px)) 0.75rem max(1rem, env(safe-area-inset-left, 0px));
}

.topbar-inner::before, .topbar-inner::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, #80002055);
}

.topbar-inner::after {
  transform: rotate(180deg);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-height) + env(safe-area-inset-top, 0px));
  scroll-padding-bottom: calc(var(--bottombar-height) + env(safe-area-inset-bottom, 0px));
}

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

.brand-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #111111;
  text-align: center;
}

.brand-kicker {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.38em;
  padding-left: 0.38em;
  line-height: 1.5;
}

.brand-wine {
  color: var(--wine);
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: clamp(1.875rem, 8vw, 2.25rem);
  font-weight: 900;
  font-style: italic;
  line-height: 1.15;
  letter-spacing: -0.055em;
  padding-right: 0.1em;
}

.brand-detail {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: #62585b;
}

.brand-detail span {
  margin-inline: 0.375rem;
  color: var(--wine);
}

/* Product cards: mobile first. */
.catalog {
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
  padding: 1.25rem max(.875rem, env(safe-area-inset-right)) 2rem max(.875rem, env(safe-area-inset-left));
}

.catalog h1 {
  margin: 0;
  font-size: clamp(1.625rem, 6.5vw, 1.875rem);
  line-height: 1.2;
  letter-spacing: -.025em;
  font-weight: 750;
  text-wrap: balance;
}

.catalog h1 > span {
  color: var(--wine);
}

.product-extra {
  border-top: 1px solid #eee6e8;
  margin-top: 1rem;
  padding-top: .875rem;
}

.product-extra h3 {
  margin: 0;
  line-height: 1.4;
  color: var(--wine);
  font-weight: 650;
  font-size: .875rem;
}

.product-extra p {
  margin: .5rem 0 0;
  color: #60585b;
  line-height: 1.7;
  text-wrap: pretty;
  margin-top: .25rem;
  font-size: .9375rem;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.product-card {
  min-width: 0;
  border: 1px solid #e8e5e5;
  overflow: hidden;
  background: #fff;
  border-color: #ede5e5;
  border-radius: 1.125rem;
  box-shadow: 0 5px 18px #34141c06;
}

.card-image {
  position: relative;
  height: clamp(11rem, 52vw, 14rem);
  background: #f7f7f7;
  border-bottom: 1px solid #ece9ea;
}

.category {
  position: absolute;
  top: .75rem;
  left: .875rem;
  color: var(--wine);
  font-size: .75rem;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .04em;
  z-index: 2;
  padding-right: .625rem;
  background: var(--product-background);
}

.card-image img {
  position: absolute;
  inset: 2.5rem .875rem .75rem;
  display: block;
  width: calc(100% - 1.75rem);
  height: calc(100% - 3.25rem);
  object-fit: contain;
  filter: drop-shadow(0 7px 6px #20101616);
  z-index: 1;
}

.chocolate-image {
  background: #f3e8dd;
  border-bottom-color: #e8d8c9;
  --product-line: #c4a184;
  --product-background: #f3e8dd;
}

.gummies-image {
  height: clamp(14rem, 63vw, 17rem);
  background: #fce7e7;
  border-bottom-color: #f2d2d2;
  --product-line: #e9979b;
  --product-background: #fce7e7;
}

.card-image::before {
  content: "";
  position: absolute;
  top: 1.275rem;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--product-line);
  z-index: 0;
}

.card-content {
  padding: 1.25rem;
}

.product-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .875rem;
}

.product-title-row h2 {
  min-width: 0;
}

.price-tag {
  position: absolute;
  bottom: .625rem;
  right: .625rem;
  z-index: 3;
  padding: .2rem 1.25rem;
  border-radius: .25rem;
  background: #e62030;
  color: #fff;
  box-shadow: 0 3px 8px #e6203028;
  font-size: .875rem;
  line-height: 1.3;
  font-weight: 750;
}

.price-tags {
  position: absolute;
  bottom: .625rem;
  right: .625rem;
  z-index: 3;
  display: flex;
  gap: .375rem;
}

.price-tags .price-tag {
  position: static;
  white-space: nowrap;
}

.price-tag-offer {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem .625rem;
  border: 1px solid #dfbd64;
  border-radius: .5rem;
  background: linear-gradient(180deg, #fff3cb, #ffe5a0);
  color: #513b16;
  box-shadow: inset 0 1px 0 #ffffffb3, 0 2px 5px #8a681b18;
}

.deal-quantity { font-size: .75rem; font-weight: 600; }
.price-tag-offer strong { font-size: .9375rem; font-weight: 800; letter-spacing: -.025em; }

.card-content h2 {
  margin: 0;
  line-height: 1.25;
  font-weight: 750;
  overflow-wrap: break-word;
  text-wrap: balance;
  font-size: clamp(1.5rem, 6vw, 1.75rem);
  letter-spacing: -.04em;
}

.card-content h2 span {
  color: var(--wine);
}

.card-content > p {
  margin: .75rem 0 0;
  font-size: 1rem;
  color: #60585b;
  text-wrap: pretty;
  line-height: 1.65;
}

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

.buying-guide {
  margin-top: 2.75rem;
  padding: 0 .25rem;
}

.buying-eyebrow {
  margin: 0 0 .625rem;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: #76686c;
}

.buying-guide h2 {
  margin: 0;
  font-size: clamp(1.75rem, 7vw, 2.125rem);
  line-height: 1.2;
  letter-spacing: -.04em;
}

.buying-guide h2 span {
  color: var(--wine);
}

.buying-intro {
  margin: .75rem 0 0;
  color: #76686c;
  font-size: .9375rem;
  line-height: 1.6;
}

.buying-steps {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
}

.buying-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 2.375rem minmax(0, 1fr) 1.5rem;
  align-items: start;
  gap: .875rem;
  padding: 0 0 1.75rem;
}

.buying-steps li:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 2.75rem;
  bottom: .375rem;
  left: 1.1875rem;
  width: 1px;
  background: #e6cdd4;
}

.buying-number {
  display: grid;
  place-items: center;
  width: 2.375rem;
  height: 2.375rem;
  border: 1px solid #e8d5db;
  border-radius: 50%;
  background: #faf4f6;
  color: var(--wine);
  font-size: .8125rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.buying-steps h3 {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.4;
  letter-spacing: -.015em;
}

.buying-steps p {
  margin: .375rem 0 0;
  color: #60585b;
  font-size: .9375rem;
  line-height: 1.65;
}

.buying-steps strong {
  font-weight: 650;
  color: #35272c;
}

.buying-steps svg {
  width: 1.5rem;
  height: 1.5rem;
  margin-top: .125rem;
  color: var(--wine);
}

.buying-contact {
  padding: 1.125rem;
  background: #faf5f6;
  border: 1px solid #eedfe4;
  border-radius: 1rem;
}

.buying-contact-label {
  color: var(--wine);
  font-size: .625rem;
  letter-spacing: .12em;
  font-weight: 750;
}

.buying-contact p {
  margin: .25rem 0 .875rem;
  font-size: .9375rem;
  color: #514047;
}

.buying-contact a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: .625rem .875rem;
  border: 1px solid #e0c8d0;
  border-radius: .625rem;
  background: #fff;
  color: var(--wine);
  font-size: .9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease;
}

.buying-contact a:hover {
  background: #f7edef;
}

.buying-contact a:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 4px;
}

.buying-contact a span {
  font-size: 1.25rem;
  line-height: 1;
}

@media (prefers-reduced-motion: reduce) { .buying-contact a { transition: none; } }

/* Footer */
.site-footer {
  border-top: 4px solid var(--wine);
  background: #1d191b;
  color: #fff;
}

.footer-inner {
  max-width: 32rem;
  margin: auto;
  padding: 2rem max(1.125rem, env(safe-area-inset-right)) 0 max(1.125rem, env(safe-area-inset-left));
}

.footer-brand {
  margin: 0;
  font-size: 1.625rem;
  line-height: 1.25;
  font-weight: 750;
  letter-spacing: -.025em;
}

.footer-brand span {
  color: #e3a2b2;
}

.footer-description {
  margin: .625rem 0 .375rem;
  color: #c1b9bd;
  font-size: .875rem;
  line-height: 1.6;
}

.footer-location {
  margin: 0 0 1.75rem;
  color: #c1b9bd;
  font-size: .875rem;
  line-height: 1.6;
}

.footer-info {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 1.5rem 1rem;
  margin: 0;
  padding: 1.5rem 0;
  border-top: 1px solid #ffffff19;
  font-size: .875rem;
  line-height: 1.7;
}

.footer-info dt {
  color: #fff;
  font-size: .875rem;
  font-weight: 650;
  letter-spacing: .02em;
}

.footer-info dd {
  margin: .375rem 0 0;
  color: #c1b9bd;
}

.footer-info > div:last-child {
  grid-column: 1 / -1;
}

.footer-info a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #b57486;
  text-underline-offset: 5px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .25rem 1rem;
  border-top: 1px solid #ffffff19;
  padding: .875rem 0 calc(.875rem + env(safe-area-inset-bottom));
}

.footer-bottom small {
  color: #a99fa4;
  font-size: .75rem;
  line-height: 1.5;
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #f2e9ed;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .015em;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.site-footer a:focus-visible {
  outline: 2px solid #e3a2b2;
  outline-offset: 4px;
}

@media (max-width: 22rem) { .footer-info { grid-template-columns: 1fr; } }

/* Floating order bar, matching the header. */
.bottombar {
  position: fixed;
  left: max(.75rem, env(safe-area-inset-left));
  right: max(.75rem, env(safe-area-inset-right));
  bottom: calc(.625rem + env(safe-area-inset-bottom, 0px));
  max-width: 30rem;
  margin-inline: auto;
  z-index: 100;
  background: rgb(255 255 255 / 97%);
  border: 1px solid #eee4e7;
  border-radius: 1.375rem;
  box-shadow: 0 6px 24px rgb(50 16 27 / 9%), inset 0 1px 0 #fff;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.bottombar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 4.375rem;
  padding: .625rem 1rem;
}

.bottombar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12%;
  right: 12%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #80002020, var(--wine) 30%, var(--wine) 70%, #80002020);
  pointer-events: none;
}

.bottombar-inner::before, .bottombar-inner::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #80002035);
}

.bottombar-inner::after {
  transform: rotate(180deg);
}

.bottombar-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 13rem;
  min-width: 0;
  min-height: 48px;
  padding: .7rem 1.5rem;
  border: 1px solid #78001e;
  border-radius: .875rem;
  background: linear-gradient(180deg, #940b30, #800020);
  color: #fff;
  box-shadow: 0 3px 8px #80002020, inset 0 1px 0 #ffffff20;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .01em;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

@media (hover: hover) { .bottombar-order:hover { filter: brightness(1.08); box-shadow: 0 5px 12px #80002028; } }

.bottombar-order:active {
  transform: scale(.97);
  box-shadow: 0 1px 3px #80002020;
}

.bottombar-order:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) { .bottombar-order { transition: none; } .bottombar-order:active { transform: none; } }

.offer-is-open {
  overflow: hidden;
}

.offer-popup {
  width: min(25rem, calc(100% - 1.5rem));
  max-width: none;
  max-height: calc(100dvh - 1.5rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  padding: .5rem;
  background: #fff;
  color: #202020;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 2rem;
  box-shadow: 0 18px 70px #16060d40, 0 0 28px #ffffff24;
}

.offer-popup::backdrop {
  background: #1d1017a8;
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.offer-popup-content {
  position: relative;
  overflow: hidden;
  border-radius: 1.625rem;
}

.offer-popup-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: max(10rem, calc(100dvh - 11.5rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)));
  object-fit: contain;
  border-radius: 1.625rem;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 87%, transparent), linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 87%, transparent), linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  mask-composite: intersect;
}

.offer-popup-actions {
  padding: 1rem .75rem .125rem;
}

.offer-preference {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  min-height: 44px;
  color: #72656b;
  font-size: .875rem;
  line-height: 1.5;
  cursor: pointer;
}

.offer-preference input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--wine);
  cursor: pointer;
}

.offer-preference input:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 4px;
}

.offer-popup[open] {
  animation: offer-appear 320ms cubic-bezier(.2,.75,.25,1) both;
}

.offer-popup[open]::backdrop {
  animation: offer-backdrop 320ms ease both;
}

@keyframes offer-appear { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }

@keyframes offer-backdrop { from { opacity: 0; } to { opacity: 1; } }

.offer-popup[open].is-closing {
  animation: offer-disappear 240ms ease-in both;
  pointer-events: none;
}

.offer-popup[open].is-closing::backdrop {
  animation: offer-backdrop 240ms ease-in reverse both;
}

@keyframes offer-disappear { from { opacity: 1; transform: translateY(0) scale(1); } to { opacity: 0; transform: translateY(10px) scale(.97); } }

@media (prefers-reduced-motion: reduce) { .offer-popup[open], .offer-popup[open]::backdrop { animation: none; } }

.offer-popup-actions p {
  margin: .75rem 0 0;
  font-size: .875rem;
  line-height: 1.5;
}

.offer-popup button:focus-visible {
  outline: 3px solid #c94d6c;
  outline-offset: 3px;
}

.offer-continue {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: block;
  width: 100%;
  min-height: 50px;
  margin-bottom: .375rem;
  padding: .75rem 1rem;
  border: 0;
  border-radius: .875rem;
  background: var(--wine);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: .01em;
  cursor: pointer;
  box-shadow: 0 4px 12px #80002018;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.offer-continue span {
  position: relative;
  z-index: 1;
}

.offer-continue:disabled {
  background: #f3eaed;
  color: #510019;
  cursor: wait;
  opacity: 1;
}

.offer-continue::after {
  content: 'Continuar';
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: .75rem 1rem;
  background: linear-gradient(110deg, #940c32, #800020);
  color: #fff;
  pointer-events: none;
}

.offer-popup[open] .offer-continue::after {
  animation: continue-fill 1.5s cubic-bezier(.3,.1,.3,1) both;
}

@keyframes continue-fill { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

.offer-continue:enabled:hover::after {
  background: #650019;
}

.offer-continue:enabled:active {
  transform: scale(.985);
  box-shadow: 0 1px 4px #80002018;
}

@media (prefers-reduced-motion: reduce) { .offer-popup[open] .offer-continue::after { animation: none; } .offer-continue { transition: none; } .offer-continue:enabled:active { transform: none; } }

/* Mobile order builder */
.order-builder {
  margin-top: 2rem;
  border: 1px solid #eadce1;
  border-radius: 1.125rem;
  background: #fff;
  box-shadow: 0 6px 24px #34141c06;
  padding: clamp(1rem, 4vw, 1.5rem);
}

.order-builder h2 {
  margin: 0;
  font-size: clamp(1.625rem, 7vw, 2rem);
  line-height: 1.2;
  letter-spacing: -.04em;
}

.order-builder h2 span {
  color: var(--wine);
}

.order-intro {
  margin: .75rem 0 1.375rem;
  color: #76686c;
  font-size: .9375rem;
  line-height: 1.6;
}

.order-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 0;
  border-top: 1px solid #eee5e8;
  gap: .75rem;
}

.order-item h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}

.order-item p {
  margin: .375rem 0 0;
  color: #76686c;
  font-size: .8125rem;
}

.order-deal {
  display: inline-block;
  margin-left: .25rem;
  padding: .125rem .375rem;
  border: 1px solid #dfbd64;
  border-radius: .375rem;
  color: #513b16;
  background: linear-gradient(180deg, #fff3cb, #ffe5a0);
  font-weight: 700;
}

.quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid #e8d5db;
  border-radius: .75rem;
  overflow: hidden;
  flex-shrink: 0;
}

.quantity-control button {
  padding: 0;
  border: 0;
  background: #faf4f6;
  color: var(--wine);
  font: inherit;
  font-size: 1.375rem;
  cursor: pointer;
  touch-action: manipulation;
  width: 48px;
  height: 46px;
  transition: background 150ms ease, transform 150ms ease;
}

.quantity-control button:disabled {
  color: #b8aeb2;
  background: #fafafa;
  cursor: default;
}

.quantity-control output {
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  min-width: 2.75rem;
}

.order-summary {
  margin-top: .5rem;
  border-top: 1px solid #e8d5db;
  margin: .75rem 0 1rem;
  padding: 1.125rem;
  border: 1px solid #eadfe3;
  border-radius: .875rem;
  background: #fcf9fa;
}

.order-total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 650;
}

.order-total small {
  color: #76686c;
  font-size: .6875rem;
  font-weight: 500;
}

.order-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: .5rem;
}

.order-prices del {
  color: #8b7b81;
  font-size: 1rem;
  font-weight: 500;
  text-decoration-thickness: 1.5px;
}

.order-total strong {
  color: var(--wine);
  font-size: 1.875rem;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em;
}

.order-summary p {
  margin: .5rem 0 0;
  color: #76686c;
  font-size: .8125rem;
  line-height: 1.5;
}

.order-send {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 50px;
  padding: .75rem 1rem;
  border-radius: .75rem;
  background: var(--wine);
  color: #fff;
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 650;
  box-shadow: 0 4px 10px #80002016;
  transition: background 160ms ease, transform 160ms ease;
}

.order-send[aria-disabled="true"] {
  background: #eee8ea;
  color: #81747a;
  cursor: default;
  box-shadow: none;
}

.order-note {
  margin: .75rem 0 0;
  text-align: center;
  color: #76686c;
  font-size: .75rem;
}

.quantity-control button:focus-visible, .order-send:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: -3px;
}

.order-send:focus-visible {
  outline-offset: 3px;
}

.order-product {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  flex: 1 1 100%;
}

.order-thumb {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  border-radius: .75rem;
}

.order-thumb-chocolate {
  background: #f3e8dd;
}

.order-thumb-gummies {
  background: #fce7e7;
}

.order-thumb img {
  width: 85%;
  height: 85%;
  object-fit: contain;
}

.order-item .quantity-control {
  margin-left: auto;
  border-radius: .875rem;
}

.quantity-control button[data-change="1"] {
  background: var(--wine);
  color: #fff;
}

.quantity-control button[data-change="1"]:disabled {
  background: #eee8ea;
  color: #b8aeb2;
}

.quantity-control button:enabled:active {
  transform: scale(.92);
}

.order-summary .order-receipt-label {
  margin: 0 0 .875rem;
  font-size: .625rem;
  font-weight: 750;
  letter-spacing: .14em;
  color: #76686c;
}

.order-breakdown {
  padding-bottom: .875rem;
  margin-bottom: .875rem;
  border-bottom: 1px dashed #dfcdd3;
}

.order-breakdown > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  margin-top: .5rem;
  font-size: .8125rem;
  color: #60585b;
}

.order-breakdown strong {
  color: #35272c;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.order-summary .order-saving {
  margin: 0 0 1rem;
  padding: .375rem .625rem;
  border-radius: .375rem;
  background: #fff0c5;
  color: #62480e;
  font-size: .75rem;
  font-weight: 600;
}

.order-send[aria-disabled="false"]:active {
  transform: scale(.985);
}

@media (min-width: 480px) { .order-product { flex-basis: 50%; } }

/* Phone layout: large tap targets and controls aligned with product text. */
@media (max-width: 479px) {
  .catalog {
    padding-top: 1rem;
    padding-bottom: 2rem;
  }

  .order-item {
    display: grid;
    grid-template-columns: 3.5rem minmax(0, 1fr);
    gap: .75rem;
  }

  .order-product {
    grid-column: 1 / -1;
  }

  .order-product > div:last-child {
    min-width: 0;
  }

  .order-item .quantity-control {
    grid-column: 2;
    width: 100%;
    margin: 0;
  }

  .quantity-control button {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
  }

  .quantity-control output {
    flex: 1;
    min-width: 2rem;
    font-size: 1.0625rem;
  }

  .order-send {
    min-height: 54px;
  }

  .buying-steps li {
    column-gap: .625rem;
  }

  .order-summary {
    padding: 1rem;
  }

  .footer-bottom {
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom));
  }
}

@media (max-width: 359px) {
  .card-content { padding: 1rem; }
  .order-builder { padding: .875rem; }
  .order-summary { padding: .875rem; }
  .order-total { gap: .375rem; }
  .order-total strong { font-size: 1.625rem; }
  .order-send { padding-inline: .75rem; font-size: .875rem; }
  .buying-steps li { grid-template-columns: 2.375rem minmax(0, 1fr); }
  .buying-steps svg { display: none; }
}

@media (max-height: 500px) and (orientation: landscape) {
  :root { --topbar-height: 5rem; }
  .brand-detail { display: none; }
  .brand-wine { font-size: 1.75rem; }
  .topbar-inner { padding-block: .5rem; }
  .offer-popup-image { max-height: 45dvh; }
}

@media (prefers-reduced-motion: reduce) { .quantity-control button, .order-send { transition: none; } .quantity-control button:enabled:active, .order-send[aria-disabled="false"]:active { transform: none; } }
