:root {
  --bg: #f4f4f5;
  --surface: #ffffff;
  --surface-soft: #f7f7f8;
  --line: #ececef;
  --text: #121212;
  --muted: #707078;
  --muted-soft: #a3a3aa;
  --accent: #fe2c55;
  --accent-deep: #e81948;
  --accent-soft: #ffe8ee;
  --teal: #23c9bb;
  --warning: #ffca0a;
  --shadow: 0 24px 80px rgba(20, 24, 32, 0.15);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

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

img {
  display: block;
  max-width: 100%;
}

.sprite {
  display: none;
}

.shop-app {
  position: relative;
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  overflow-x: clip;
  overflow-y: visible;
  background: var(--surface);
  padding-bottom: 98px;
}

.shop-app svg,
.address-panel svg,
.reviews-panel svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px 38px 38px;
  gap: 8px;
  align-items: center;
  min-height: 72px;
  padding: 12px 12px 10px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(236, 236, 239, 0.72);
  backdrop-filter: blur(18px);
}

.icon-button {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #0f0f10;
  background: transparent;
  border-radius: 999px;
}

.icon-button:hover,
.icon-button:focus-visible {
  background: var(--surface-soft);
  outline: 0;
}

.search-pill {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  color: #222;
  background: #f1f1f2;
  border-radius: 10px;
}

.search-pill svg {
  width: 21px;
  height: 21px;
}

.search-pill input {
  width: 100%;
  min-width: 0;
  color: #77777e;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 16px;
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  color: white;
  background: var(--accent);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 18px;
}

.tabs {
  position: sticky;
  top: 72px;
  z-index: 19;
  display: grid;
  grid-auto-columns: max-content;
  grid-auto-flow: column;
  gap: 24px;
  overflow-x: auto;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

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

.tab-link {
  position: relative;
  display: block;
  padding: 13px 0 12px;
  color: #686870;
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}

.tab-link.active {
  color: #0e0e10;
}

.tab-link.active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: #0c0c0d;
  border-radius: 999px 999px 0 0;
  content: "";
}

.section {
  scroll-margin-top: 124px;
  border-bottom: 8px solid #f5f5f6;
}

.gallery {
  position: relative;
  background: #f2f0ef;
}

.gallery-frame {
  position: relative;
  width: 100%;
  height: clamp(330px, 88vw, 390px);
  padding: 0;
  overflow: hidden;
  background: #ece8e5;
}

.gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #fff;
}

.gallery-count {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 6px 9px;
  color: white;
  background: rgba(0, 0, 0, 0.48);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: white;
  background: rgba(0, 0, 0, 0.28);
  border-radius: 999px;
  transform: translateY(-50%);
}

.gallery-arrow.left {
  left: 10px;
}

.gallery-arrow.left svg {
  transform: rotate(180deg);
}

.gallery-arrow.right {
  right: 10px;
}

.deal-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 62px;
  padding: 8px 16px;
  color: white;
  background: linear-gradient(110deg, #ff1f59 0%, #ff285c 48%, #ff7b24 100%);
}

.deal-strip > div:first-child {
  min-width: 0;
}

.deal-strip .discount {
  display: inline-flex;
  align-items: center;
  height: 25px;
  padding: 0 7px;
  margin-right: 5px;
  color: var(--accent);
  background: white;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 900;
}

.deal-strip .currency {
  margin-right: 2px;
  font-size: 12px;
  font-weight: 800;
}

.deal-strip > div:first-child > strong {
  font-size: 28px;
  line-height: 1;
}

.deal-strip .old-price {
  display: block;
  width: max-content;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  text-decoration: line-through;
}

.flash {
  text-align: right;
}

.flash strong,
.flash span {
  display: block;
}

.flash strong {
  font-size: 13px;
}

.flash span {
  margin-top: 5px;
  font-size: 12px;
}

.product-info {
  position: relative;
  padding: 14px 16px 8px;
}

.favorite-button {
  position: absolute;
  top: 108px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #33333a;
  background: transparent;
  border-radius: 999px;
}

.favorite-button.active {
  color: var(--accent);
  background: var(--accent-soft);
}

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

.product-headline {
  padding: 0 34px 12px 0;
  border-bottom: 1px solid var(--line);
}

.product-headline p {
  margin: 8px 0 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.coupon-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 3px 0 13px;
  scrollbar-width: none;
}

.coupon-row::-webkit-scrollbar {
  display: none;
}

.coupon-row span {
  flex: 0 0 auto;
  max-width: 260px;
  padding: 7px 9px;
  overflow: hidden;
  color: #e91b4c;
  background: #ffeaf0;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.factory-highlight {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  margin: 0 0 13px;
  color: #14483f;
  background: linear-gradient(135deg, #e8fffb, #fff6f8);
  border: 1px solid #c9f6ee;
  border-radius: 8px;
}

.factory-highlight svg {
  width: 24px;
  height: 24px;
  color: #00a799;
}

.factory-highlight b,
.factory-highlight span {
  display: block;
}

.factory-highlight b {
  font-size: 15px;
}

.factory-highlight span {
  margin-top: 2px;
  color: #52615e;
  font-size: 13px;
  line-height: 1.25;
}

.product-info h1 {
  padding-right: 34px;
  margin: 0;
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: 0;
}

.product-info h1 span {
  display: inline-flex;
  align-items: center;
  height: 23px;
  padding: 0 5px;
  margin-right: 5px;
  color: var(--accent);
  background: #ffe5ed;
  border-radius: 4px;
  font-size: 15px;
}

.rating-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 9px 0 0;
  color: #47474f;
  font-size: 16px;
}

.star,
.stars {
  color: var(--warning);
  letter-spacing: 0;
}

.rating-line a {
  padding-right: 6px;
  border-right: 1px solid #cfcfd5;
}

.info-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 20px;
  gap: 8px;
  align-items: center;
  width: 100%;
  min-height: 58px;
  padding: 0;
  color: #1e1e24;
  background: white;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.info-row img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  object-position: center 20%;
  background: #fff;
  border-radius: 4px;
}

.info-row svg {
  width: 19px;
  height: 19px;
  color: #8b8b92;
  justify-self: end;
}

.free-shipping {
  padding: 3px 7px;
  color: #00a799;
  background: #e3fffb;
  border-radius: 4px;
  font-weight: 800;
}

.muted {
  color: var(--muted);
}

.strike {
  text-decoration: line-through;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 16px 10px;
}

.section-heading h2,
.description-section h2,
.recommendations-section h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.section-heading a,
.text-link {
  color: #6b6b73;
  background: transparent;
  font-weight: 700;
}

.text-link {
  font-size: 16px;
}

.review-score {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 0 16px 16px;
  font-size: 17px;
}

.review-score strong {
  font-size: 23px;
}

.review-score button {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: #55555b;
  background: white;
  border: 1px solid #c8c8ce;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.review-card {
  padding: 0 16px 22px;
}

.review-card + .review-card {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.review-author {
  display: flex;
  gap: 10px;
  align-items: center;
}

.review-author b,
.review-author span {
  display: block;
}

.review-author small {
  display: block;
  margin: 2px 0 3px;
  color: var(--muted);
  font-size: 12px;
}

.avatar {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #e3e3e8, #f8f8f9);
  border-radius: 999px;
}

.avatar.photo {
  background:
    radial-gradient(circle at 42% 38%, #f5bd7a 0 21%, transparent 22%),
    linear-gradient(135deg, #70331d, #f3b36c);
}

.review-item {
  margin: 12px 0 8px;
  color: #77777f;
}

.review-card p {
  font-size: 18px;
  line-height: 1.25;
}

.review-media {
  display: flex;
  gap: 10px;
}

.review-media img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  object-position: center 38%;
  border-radius: 8px;
}

.store-review {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 10px;
  align-items: center;
  padding: 18px 16px 20px;
  border-top: 1px solid var(--line);
}

.store-review h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.store-review p {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0;
  scrollbar-width: none;
}

.store-review p::-webkit-scrollbar {
  display: none;
}

.store-review p span {
  flex: 0 0 auto;
  padding: 7px 9px;
  background: #f4f4f5;
  border-radius: 5px;
  font-size: 14px;
}

.description-section {
  padding: 20px 16px;
}

.description-lead {
  margin: 18px 0 12px;
  color: #303038;
  font-size: 17px;
  line-height: 1.35;
}

.description-badges {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 16px;
  scrollbar-width: none;
}

.description-badges::-webkit-scrollbar {
  display: none;
}

.description-badges span {
  flex: 0 0 auto;
  padding: 7px 9px;
  color: #0b8d82;
  background: #e8fffb;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
}

.description-poster {
  margin: 0;
  overflow: hidden;
  background: #f5f3ef;
  border-radius: 8px;
}

.description-poster img {
  width: 100%;
  aspect-ratio: 0.8;
  object-fit: contain;
  object-position: center center;
  background: #fff;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.benefit-grid article {
  min-width: 0;
  padding: 11px 8px;
  background: #f7f8f8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.benefit-grid svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.benefit-grid b {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.15;
}

.benefit-grid p {
  margin: 5px 0 0;
  color: #63636b;
  font-size: 12px;
  line-height: 1.25;
}

.prep-card {
  margin-top: 18px;
  padding: 14px;
  background: linear-gradient(135deg, #fff7f9, #f2fffd);
  border: 1px solid #f3dfe5;
  border-radius: 8px;
}

.prep-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

.prep-card ol {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  margin: 0;
}

.prep-card li {
  color: #34343b;
  font-size: 14px;
  line-height: 1.35;
}

.spec-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.spec-list p {
  margin: 0;
  padding: 13px 0;
  font-size: 16px;
  line-height: 1.35;
  border-bottom: 1px solid var(--line);
}

.recommendations-section {
  padding: 20px 16px;
}

.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 22%;
  background: #f4f1ee;
}

.product-card:nth-child(2) img {
  object-position: center 45%;
}

.product-card h3 {
  display: -webkit-box;
  min-height: 40px;
  margin: 8px 8px 5px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card p {
  margin: 0 8px 10px;
  color: var(--accent);
  font-size: 17px;
  font-weight: 900;
}

.seller-card {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 18px 16px 22px;
  background: white;
}

.seller-logo {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  color: #060606;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 17px;
  font-weight: 950;
}

.seller-card h2 {
  margin: 0;
  font-size: 19px;
}

.seller-card p {
  margin: 4px 0 0;
  color: #707078;
}

.seller-card button {
  min-width: 92px;
  height: 40px;
  color: #111;
  background: #f1f1f2;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
}

.action-bar {
  position: fixed !important;
  right: auto;
  bottom: 0 !important;
  left: 50%;
  z-index: 24;
  display: grid;
  grid-template-columns: 54px 54px minmax(118px, 1fr) minmax(128px, 1fr);
  gap: 8px;
  width: min(100%, 430px);
  min-height: 84px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--line);
  transform: translate3d(-50%, 0, 0);
  backdrop-filter: blur(18px);
  backface-visibility: hidden;
  will-change: transform;
}

.mini-action {
  display: grid;
  gap: 3px;
  place-items: center;
  color: #101012;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
}

.mini-action svg {
  width: 25px;
  height: 25px;
}

.cart-action,
.buy-action {
  min-width: 0;
  height: 58px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.05;
}

.cart-action {
  color: #0d0d0f;
  background: #f2f2f3;
}

.buy-action {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: var(--accent);
  text-align: center;
}

.buy-action small {
  display: none;
}

.address-panel {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: stretch center;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}

.address-panel.open {
  visibility: visible;
  pointer-events: auto;
}

.panel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 16, 20, 0.36);
  opacity: 0;
  transition: opacity 180ms ease;
}

.address-panel.open .panel-backdrop {
  opacity: 1;
}

.address-form {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  padding: 0;
  scroll-padding: 92px 0 calc(150px + env(safe-area-inset-bottom));
  background: #f6f6f7;
  transform: translateY(100%);
  transition: transform 220ms ease;
  -webkit-overflow-scrolling: touch;
}

.address-panel.open .address-form {
  transform: translateY(0);
}

.address-header {
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  min-height: 78px;
  padding: 10px 12px;
  background: #f6f6f7;
}

.address-header h2 {
  grid-column: 2;
  margin: 0;
  text-align: center;
  font-size: 21px;
}

.address-form fieldset {
  margin: 18px 8px 22px;
  padding: 0 14px;
  background: white;
  border: 0;
  border-radius: 5px;
}

.address-form legend {
  position: relative;
  top: -10px;
  padding: 0 12px 0 0;
  color: #606067;
  font-size: 17px;
  font-weight: 800;
}

.field {
  position: relative;
  display: grid;
  min-height: 58px;
  align-items: center;
  border-bottom: 1px solid #eeeeef;
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.field:last-child {
  border-bottom: 0;
}

.field input,
.field select {
  width: 100%;
  min-width: 0;
  height: 58px;
  padding: 0;
  color: #202025;
  background: #fff;
  border: 0;
  border-radius: 0;
  outline: 0;
  font-size: 17px;
  caret-color: var(--accent);
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.field input::placeholder {
  color: #a0a0a7;
}

.field input:focus,
.field select:focus {
  background: #fff;
}

.field:focus-within {
  border-bottom-color: rgba(254, 44, 85, 0.42);
  box-shadow: inset 3px 0 0 rgba(254, 44, 85, 0.86);
}

.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus,
.field input:-webkit-autofill:active,
.field select:-webkit-autofill,
.field select:-webkit-autofill:hover,
.field select:-webkit-autofill:focus,
.field select:-webkit-autofill:active {
  background-color: #fff !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: #202025 !important;
  caret-color: var(--accent);
  transition: background-color 999999s ease-out 0s;
}

.field input:disabled {
  color: #77777e;
  background: #fafafa;
  -webkit-text-fill-color: #77777e;
  opacity: 1;
}

.number-field {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.number-field > input {
  height: 58px;
}

.no-number-option {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  color: #33333a;
  background: #f5f5f6;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.no-number-option input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.phone-field {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
}

.phone-field span {
  color: #8c8c93;
  font-size: 16px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  border-bottom: 1px solid #eeeeef;
}

.field-grid .field {
  border-bottom: 0;
}

.select-field {
  grid-template-columns: minmax(0, 1fr) 20px;
}

.select-field select {
  color: #202025;
  appearance: none;
}

.select-field svg {
  width: 18px;
  height: 18px;
  color: #77777e;
  transform: rotate(90deg);
}

.field-error {
  display: none;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding-bottom: 9px;
  color: #e94245;
  font-size: 15px;
  font-weight: 700;
}

.field-error svg {
  width: 20px;
  height: 20px;
  fill: #e94245;
  stroke: white;
  stroke-width: 1.7;
}

.field.invalid {
  border-bottom-color: #f2b1b2;
}

.field.invalid .field-error {
  display: flex;
}

.address-footer {
  position: sticky;
  bottom: 0;
  z-index: 4;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid #d9d9dd;
  backdrop-filter: blur(18px);
}

.privacy {
  width: 100%;
  margin: 0;
  padding: 0 4px 10px;
  color: #303036;
  text-align: center;
}

.save-address {
  display: block;
  width: 100%;
  max-width: 402px;
  height: 50px;
  margin: 0 auto;
  color: white;
  background: #f69aaf;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 900;
}

.save-address.ready {
  background: var(--accent);
}

.toast {
  position: fixed;
  right: 50%;
  bottom: 104px;
  z-index: 80;
  max-width: min(88vw, 360px);
  padding: 11px 14px;
  color: white;
  background: rgba(20, 20, 24, 0.86);
  border-radius: 999px;
  font-weight: 800;
  opacity: 0;
  transform: translate(50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

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

@media (min-width: 760px) {
  body {
    padding: 24px 0;
  }

  .shop-app {
    min-height: calc(100vh - 48px);
    border-radius: 28px;
    box-shadow: var(--shadow);
  }

  .action-bar,
  .address-form,
  .privacy,
  .save-address {
    box-shadow: none;
  }
}

@media (max-width: 374px) {
  .app-header {
    grid-template-columns: 34px minmax(0, 1fr) 34px 34px 34px;
    gap: 5px;
    padding-inline: 8px;
  }

  .icon-button {
    width: 34px;
    height: 34px;
  }

  .deal-strip {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .action-bar {
    grid-template-columns: 44px 44px minmax(104px, 1fr) minmax(112px, 1fr);
    gap: 6px;
    padding-inline: 8px;
  }

  .cart-action,
  .buy-action {
    font-size: 15px;
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

[hidden] {
  display: none !important;
}

.variant-panel svg,
.reviews-panel svg,
.app-screen svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.tabs {
  grid-template-columns: repeat(3, max-content);
  justify-content: space-between;
}

.store-review {
  position: relative;
  display: block;
  padding: 18px 16px 20px;
  border-top: 1px solid var(--line);
}

.store-review > svg {
  position: absolute;
  top: 22px;
  right: 14px;
  width: 20px;
  height: 20px;
  color: #6e6e75;
}

.store-review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-right: 24px;
}

.store-review-header h3 {
  margin: 0;
  font-size: 20px;
}

.store-review-header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.store-review-header strong {
  color: var(--accent);
  font-size: 28px;
  line-height: 1;
}

.store-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.store-metrics span {
  display: grid;
  gap: 4px;
  min-height: 58px;
  padding: 9px 8px;
  color: #44444c;
  background: #f7f7f8;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.15;
}

.store-metrics b {
  color: #101014;
  font-size: 18px;
}

.store-tags {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  margin-top: 10px;
  scrollbar-width: none;
}

.store-tags::-webkit-scrollbar {
  display: none;
}

.store-tags span {
  flex: 0 0 auto;
  padding: 6px 8px;
  color: #0b8d82;
  background: #e7fbf8;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}

.shop-app {
  padding-bottom: 68px;
}

.action-bar {
  grid-template-columns: 1fr;
  place-items: center;
  min-height: 0;
  padding: 6px 14px calc(5px + env(safe-area-inset-bottom));
}

.action-bar .buy-action {
  width: min(100%, 356px);
  max-width: 356px;
  justify-self: center;
  height: 50px;
  font-size: 17px;
  line-height: 1;
}

.phone-field .field-error {
  grid-column: 1 / -1;
}

.field-hint {
  display: none;
  min-height: 28px;
  padding-bottom: 9px;
  color: #0b8d82;
  font-size: 13px;
  font-weight: 700;
}

.field-hint.show {
  display: block;
}

.field-hint.error {
  color: #e94245;
}

.select-field select:disabled {
  color: #b0b0b7;
}

.variant-panel {
  position: fixed;
  inset: 0;
  z-index: 56;
  display: grid;
  place-items: end center;
  visibility: hidden;
  pointer-events: none;
}

.variant-panel.open {
  visibility: visible;
  pointer-events: auto;
}

.variant-panel.open .panel-backdrop {
  opacity: 1;
}

.variant-sheet {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  max-height: min(86vh, 740px);
  overflow-y: auto;
  padding: 10px 16px calc(14px + env(safe-area-inset-bottom));
  background: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: var(--shadow);
  transform: translateY(100%);
  transition: transform 220ms ease;
  scrollbar-width: none;
}

.variant-sheet::-webkit-scrollbar {
  display: none;
}

.variant-sheet::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin: 0 auto 8px;
  background: #e8e8ec;
  border-radius: 999px;
}

.variant-panel.open .variant-sheet {
  transform: translateY(0);
}

.sheet-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 10px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f2;
}

.variant-product {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
}

.variant-product img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #f0f0f2;
  border-radius: 7px;
}

.variant-product strong {
  color: var(--accent);
  font-size: 23px;
  line-height: 1;
}

.variant-product p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.25;
}

.option-group {
  margin-top: 16px;
}

.option-group h3 {
  margin: 0 0 9px;
  font-size: 16px;
  line-height: 1.2;
}

.option-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 84px;
  min-height: 38px;
  padding: 8px 11px;
  color: #19191e;
  background: #f7f7f8;
  border: 1px solid #ececf0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.12;
}

.option-chip::before {
  content: "";
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  background: var(--chip-color, #d1a03c);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
}

.option-chip[data-option="Old No. 7"] {
  --chip-color: #111111;
}

.option-chip[data-option="Tennessee Honey"] {
  --chip-color: #c98619;
}

.option-chip[data-option="Tennessee Apple"] {
  --chip-color: #50a548;
}

.option-chip[data-option="Tennessee Fire"] {
  --chip-color: #ce3d23;
}

.option-chip[data-option="Tennessee Blackberry"] {
  --chip-color: #5d2e72;
}

.option-chip.active {
  color: #111116;
  background: #fff;
  border-color: #111116;
  box-shadow: inset 0 0 0 1px #111116;
}

.flavor-chip {
  justify-content: flex-start;
  width: calc(50% - 5px);
  min-height: 56px;
  padding: 7px 9px;
  text-align: left;
}

.flavor-chip::before {
  display: none;
}

.flavor-chip img {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #f0f0f2;
  border-radius: 6px;
}

.flavor-chip span {
  min-width: 0;
  line-height: 1.08;
}

.confirm-variant {
  width: 100%;
  height: 50px;
  margin-top: 22px;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  font-size: 17px;
  font-weight: 900;
}

.reviews-panel {
  position: fixed;
  inset: 0;
  z-index: 58;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  visibility: hidden;
  pointer-events: none;
}

.reviews-panel.open {
  visibility: visible;
  pointer-events: auto;
}

.reviews-panel.open .panel-backdrop {
  opacity: 1;
}

.reviews-sheet {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  max-height: min(88vh, 780px);
  overflow: auto;
  padding: 18px 0 calc(18px + env(safe-area-inset-bottom));
  background: white;
  border-radius: 18px 18px 0 0;
  transform: translateY(105%);
  transition: transform 0.24s ease;
}

.reviews-panel.open .reviews-sheet {
  transform: translateY(0);
}

.reviews-sheet-header {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  padding: 0 16px 14px;
  border-bottom: 1px solid var(--line);
}

.reviews-sheet-header > div {
  grid-column: 2;
  text-align: center;
}

.reviews-sheet-header .icon-button {
  grid-column: 3;
  justify-self: end;
}

.reviews-sheet-header h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.15;
}

.expanded-review {
  padding-top: 18px;
  border-bottom: 1px solid var(--line);
}

.expanded-review:last-child {
  border-bottom: 0;
}

.app-screen {
  position: fixed;
  top: 0;
  right: 50%;
  bottom: 0;
  z-index: 90;
  width: min(100%, 430px);
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  background: #fff;
  transform: translateX(50%);
  -webkit-overflow-scrolling: touch;
}

.screen-open .shop-app {
  visibility: hidden;
}

.screen-open .action-bar {
  visibility: hidden;
  pointer-events: none;
}

.screen-header {
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  min-height: 68px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.screen-header > div,
.screen-header > h2 {
  grid-column: 2;
  text-align: center;
}

.screen-header h2 {
  margin: 0;
  font-size: 20px;
}

.screen-header p {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  margin: 3px 0 0;
  color: #0b8d82;
  font-size: 13px;
  font-weight: 800;
}

.screen-header p svg {
  width: 16px;
  height: 16px;
}

.checkout-screen {
  padding-bottom: 0;
  scroll-padding-bottom: calc(140px + env(safe-area-inset-bottom));
}

.checkout-address {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 22px;
  gap: 10px;
  align-items: start;
  width: 100%;
  padding: 10px 16px 12px;
  color: #141419;
  background: #fff;
  text-align: left;
}

.checkout-address > svg:first-child {
  color: #24242a;
}

.checkout-address b,
.checkout-address small {
  display: block;
}

.checkout-address b {
  font-size: 17px;
  line-height: 1.25;
}

.checkout-address small {
  margin-top: 5px;
  color: #34343b;
  font-size: 14px;
  line-height: 1.28;
}

.checkout-address > svg:last-child {
  align-self: center;
  color: #8a8a92;
}

.airmail-line {
  height: 4px;
  background: repeating-linear-gradient(110deg, var(--accent) 0 22px, transparent 22px 34px, var(--teal) 34px 56px, transparent 56px 68px);
}

.checkout-product,
.shipping-row,
.coupon-summary,
.order-summary {
  border-bottom: 8px solid #f5f5f6;
}

.checkout-product {
  padding: 14px 16px 12px;
}

.checkout-store-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.checkout-store-line h3 {
  margin: 0;
  font-size: 18px;
  white-space: nowrap;
}

.checkout-store-line button {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
  white-space: nowrap;
}

.checkout-store-line svg {
  width: 17px;
  height: 17px;
}

.popular {
  margin: 0 0 7px;
  color: #ad7c00;
  font-weight: 900;
}

.checkout-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 86px;
  gap: 10px;
  align-items: start;
}

.checkout-item img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
}

.checkout-item h4 {
  display: -webkit-box;
  margin: 0 0 6px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.23;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.checkout-variant {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
}

.checkout-item p {
  margin: 0 0 7px;
}

.flash-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 7px;
  color: #fff;
  background: var(--accent);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
}

.checkout-item p b {
  color: var(--accent);
}

.checkout-item strong {
  display: block;
  color: var(--accent);
  font-size: 18px;
}

.checkout-item small {
  color: var(--muted);
}

.qty-stepper {
  display: grid;
  grid-template-columns: 27px 30px 27px;
  align-items: center;
  justify-self: end;
  overflow: hidden;
  background: #f3f3f4;
  border-radius: 6px;
}

.qty-stepper button {
  display: grid;
  width: 28px;
  height: 32px;
  place-items: center;
  color: #33333a;
  background: transparent;
}

.qty-stepper svg {
  width: 16px;
  height: 16px;
}

.qty-stepper span {
  display: grid;
  height: 32px;
  place-items: center;
  background: #fff;
  font-size: 18px;
}

.shipping-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: #efffff;
}

.shipping-row b,
.shipping-row span {
  display: block;
}

.shipping-row b {
  margin-bottom: 8px;
  font-size: 17px;
}

.shipping-row strong {
  white-space: nowrap;
}

.shipping-row s {
  color: var(--muted);
  font-weight: 500;
}

.coupon-summary {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto auto 18px;
  gap: 8px;
  align-items: center;
  padding: 12px 16px;
}

.coupon-summary > svg:first-child {
  color: var(--accent);
}

.coupon-summary b {
  font-size: 16px;
}

.coupon-summary span {
  padding: 6px 8px;
  border-radius: 6px;
  font-weight: 900;
  white-space: nowrap;
}

.coupon-summary span:nth-of-type(1) {
  color: #17aaa0;
  background: #e8fffc;
}

.coupon-summary span:nth-of-type(2) {
  color: var(--accent);
  background: #fff0f4;
}

.order-summary {
  padding: 20px 16px 18px;
}

.order-summary h3 {
  margin: 0 0 20px;
  font-size: 20px;
}

.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 15px 0;
  font-size: 16px;
}

.summary-line.strong {
  font-size: 18px;
  font-weight: 900;
}

.summary-line.inset {
  padding-left: 18px;
}

.summary-line.accent b {
  color: #c3204d;
}

.summary-line.total {
  padding-top: 18px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 23px;
  font-weight: 900;
}

.summary-line.total b {
  font-size: 24px;
}

.savings-line {
  margin: 0;
  padding: 14px 16px;
  color: var(--accent);
  background: #fff0f4;
  border-bottom: 1px solid #ffd2dd;
  font-weight: 900;
}

.checkout-footer {
  position: sticky;
  bottom: 0;
  z-index: 4;
  width: 100%;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.checkout-footer > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.checkout-footer b {
  font-size: 20px;
}

.checkout-footer strong {
  color: var(--accent);
  font-size: 24px;
}

.checkout-footer button {
  display: grid;
  width: 100%;
  height: 58px;
  place-items: center;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.1;
}

.checkout-footer button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.checkout-footer small {
  font-size: 12px;
}

.payment-screen {
  background: #fff;
}

.payment-header {
  border-bottom: 0;
}

.payment-header h2 {
  margin: 0;
  font-size: 20px;
}

.payment-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
  gap: 8px;
  padding: 24px 16px 132px;
  background:
    radial-gradient(circle at 0 0, rgba(35, 201, 187, 0.2), transparent 34%),
    radial-gradient(circle at 100% 28%, rgba(254, 44, 85, 0.16), transparent 38%),
    #fff;
}

.payment-hero h1 {
  margin: 0 0 4px;
  font-size: 29px;
  line-height: 1.12;
}

.payment-hero strong {
  display: block;
  margin-bottom: 26px;
  font-size: 34px;
  line-height: 1;
}

.payment-hero p {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 10px 0;
  color: var(--muted);
  font-size: 17px;
}

.payment-hero p b {
  color: #111115;
}

.payment-hero p span {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 3px 6px;
  color: #fff;
  background: #f84b4f;
  border-radius: 5px;
  font-weight: 900;
}

.payment-hero p span svg {
  width: 16px;
  height: 16px;
}

.clock-badge {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  align-self: start;
  color: #fff;
  background: #ff9f12;
  border-radius: 999px;
}

.clock-badge svg {
  width: 31px;
  height: 31px;
  stroke-width: 2.8;
}

.pix-card {
  position: relative;
  z-index: 2;
  margin: -100px 16px 28px;
  padding: 28px 16px 22px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(18, 20, 30, 0.12);
}

.pix-card h3 {
  margin: 0 0 30px;
  font-size: 22px;
}

.pix-card p {
  overflow: hidden;
  margin: 0 0 28px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pix-card button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  color: #fff;
  background: var(--accent);
  border-radius: 6px;
  font-size: 20px;
  font-weight: 900;
}

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

.pix-instructions {
  padding: 0 16px 64px;
}

.pix-instructions h2 {
  margin: 0 0 24px;
  font-size: 27px;
  line-height: 1.15;
}

.pix-steps {
  display: grid;
  gap: 12px;
}

.pix-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 13px;
  background: #f7f7f8;
  border: 1px solid #eeeeef;
  border-radius: 8px;
}

.pix-step > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--accent);
  background: #fff0f4;
  border-radius: 999px;
}

.pix-step svg {
  width: 22px;
  height: 22px;
}

.pix-step b {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
}

.pix-step p {
  margin: 0;
  color: #55555d;
  font-size: 15px;
  line-height: 1.32;
}

.thank-you-screen {
  padding-bottom: 104px;
  background: #f6f6f7;
}

.thanks-header {
  border-bottom: 0;
}

.thanks-hero {
  padding: 22px 20px 24px;
  background:
    radial-gradient(circle at 10% 5%, rgba(35, 201, 187, 0.18), transparent 34%),
    radial-gradient(circle at 95% 20%, rgba(254, 44, 85, 0.12), transparent 36%),
    #fff;
  text-align: center;
}

.success-mark {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  margin: 0 auto 14px;
  color: #fff;
  background: #18b78f;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(24, 183, 143, 0.28);
}

.success-mark svg {
  width: 45px;
  height: 45px;
  stroke-width: 2.6;
}

.thanks-hero h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.12;
}

.thanks-hero p {
  max-width: 320px;
  margin: 10px auto 0;
  color: #55555d;
  font-size: 16px;
  line-height: 1.35;
}

.thanks-card,
.thanks-product,
.thanks-delivery,
.thanks-next {
  margin-top: 8px;
  padding: 16px;
  background: #fff;
}

.thanks-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.thanks-row:first-child {
  padding-top: 0;
}

.thanks-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.thanks-row span {
  color: var(--muted);
}

.thanks-row b {
  text-align: right;
}

.thanks-product {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
}

.thanks-product img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}

.thanks-product h3 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.thanks-product p {
  margin: 7px 0;
  color: var(--muted);
}

.thanks-product strong {
  color: var(--accent);
}

.thanks-delivery {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
}

.thanks-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #0b8d82;
  background: #e7fbf8;
  border-radius: 999px;
}

.thanks-icon svg {
  width: 24px;
  height: 24px;
}

.thanks-delivery h3,
.thanks-next h2 {
  margin: 0;
  font-size: 20px;
}

.thanks-delivery p {
  margin: 7px 0;
  color: #55555d;
  line-height: 1.32;
}

.thanks-delivery address {
  color: #17171c;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.thanks-next h2 {
  margin-bottom: 14px;
}

.thanks-footer {
  position: fixed;
  right: 50%;
  bottom: 0;
  z-index: 4;
  width: min(100%, 430px);
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--line);
  transform: translateX(50%);
  backdrop-filter: blur(18px);
}

.thanks-footer button {
  width: 100%;
  height: 56px;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  font-size: 18px;
  font-weight: 900;
}

@media (min-width: 760px) {
  .checkout-footer,
  .thanks-footer {
    bottom: 0;
  }
}

@media (max-width: 374px) {
  .store-metrics {
    grid-template-columns: 1fr;
  }

  .checkout-item {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .qty-stepper {
    grid-column: 2;
  }

  .coupon-summary {
    grid-template-columns: 24px minmax(0, 1fr) auto;
  }

  .coupon-summary span:nth-of-type(2),
  .coupon-summary > svg:last-child {
    display: none;
  }
}

@media (max-width: 759px) {
  .shop-app {
    width: 100%;
    padding-bottom: 66px;
  }

  .app-header {
    grid-template-columns: 36px minmax(0, 1fr) 36px 36px 36px;
    gap: 7px;
    min-height: 64px;
    padding: 10px 10px 8px;
  }

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

  .search-pill {
    height: 38px;
    border-radius: 9px;
  }

  .search-pill input {
    font-size: 14px;
  }

  .tabs {
    top: 64px;
    padding: 0 16px;
  }

  .tab-link {
    padding: 11px 0 10px;
    font-size: 15px;
  }

  .section {
    scroll-margin-top: 108px;
    border-bottom-width: 7px;
  }

  .gallery-frame {
    height: clamp(300px, 86vw, 360px);
  }

  .deal-strip {
    min-height: 62px;
    padding: 8px 16px;
  }

  .deal-strip > div:first-child > strong {
    font-size: 28px;
  }

  .deal-strip .discount {
    height: 25px;
    font-size: 16px;
  }

  .deal-strip .currency,
  .deal-strip .old-price,
  .flash span {
    font-size: 12px;
  }

  .flash strong {
    font-size: 13px;
  }

  .flash span {
    margin-top: 5px;
  }

  .product-info {
    padding: 12px 16px 10px;
  }

  .product-headline h1 {
    font-size: 18px;
    line-height: 1.18;
  }

  .product-headline p {
    font-size: 12px;
    line-height: 1.2;
  }

  .rating-line,
  .info-row {
    font-size: 14px;
  }

  .coupon-row {
    gap: 7px;
  }

  .coupon-row span {
    padding: 7px 8px;
    font-size: 12px;
  }

  .section-heading {
    padding: 16px 16px 8px;
  }

  .section-heading h2,
  .description-section h2,
  .recommendations-section h2 {
    font-size: 18px;
    line-height: 1.18;
  }

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

  .review-score {
    padding: 0 16px 13px;
    font-size: 15px;
  }

  .review-score strong {
    font-size: 21px;
  }

  .review-card {
    padding: 0 16px 18px;
  }

  .review-card + .review-card {
    padding-top: 15px;
  }

  .review-author {
    gap: 9px;
  }

  .avatar {
    width: 31px;
    height: 31px;
  }

  .review-item {
    margin: 10px 0 7px;
    font-size: 14px;
  }

  .review-card p {
    margin: 0 0 12px;
    font-size: 16px;
    line-height: 1.28;
  }

  .review-media {
    gap: 8px;
  }

  .review-media img {
    width: 86px;
    height: 86px;
    border-radius: 7px;
  }

  .store-review {
    padding: 16px 16px 18px;
  }

  .store-review-header h3 {
    font-size: 18px;
  }

  .store-review-header strong {
    font-size: 24px;
  }

  .store-metrics {
    gap: 7px;
    margin-top: 12px;
  }

  .store-metrics span {
    min-height: 52px;
    padding: 8px 7px;
    font-size: 11px;
  }

  .store-metrics b {
    font-size: 16px;
  }

  .action-bar {
    min-height: 0;
    padding: 6px 14px calc(5px + env(safe-area-inset-bottom));
  }

  .action-bar .buy-action {
    height: 48px;
    font-size: 17px;
  }

  .variant-sheet {
    max-height: min(82vh, 700px);
    padding: 8px 16px calc(10px + env(safe-area-inset-bottom));
    border-radius: 14px 14px 0 0;
  }

  .variant-product {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
  }

  .variant-product img {
    width: 58px;
    height: 58px;
  }

  .variant-product strong {
    font-size: 22px;
  }

  .option-group {
    margin-top: 14px;
  }

  .option-group h3 {
    font-size: 15px;
  }

  .option-chip {
    min-height: 36px;
    font-size: 13px;
  }

  .flavor-chip {
    min-height: 54px;
    padding: 7px 8px;
  }

  .flavor-chip img {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .confirm-variant {
    height: 48px;
    margin-top: 18px;
    font-size: 16px;
  }
}

@media (max-width: 374px) {
  .app-header {
    grid-template-columns: 34px minmax(0, 1fr) 34px 34px 34px;
    gap: 5px;
    padding-inline: 8px;
  }

  .icon-button {
    width: 34px;
    height: 34px;
  }

  .tabs {
    padding-inline: 14px;
  }

  .tab-link {
    font-size: 14px;
  }

  .deal-strip {
    min-height: 58px;
    padding: 7px 14px;
  }

  .deal-strip > div:first-child > strong {
    font-size: 25px;
  }

  .deal-strip .discount {
    height: 23px;
    padding-inline: 6px;
    font-size: 14px;
  }

  .deal-strip .currency,
  .deal-strip .old-price,
  .flash span {
    font-size: 11px;
  }

  .flash strong {
    font-size: 12px;
  }

  .section-heading h2,
  .description-section h2,
  .recommendations-section h2 {
    font-size: 17px;
  }

  .review-card p {
    font-size: 15px;
  }

  .review-media img {
    width: 80px;
    height: 80px;
  }

  .action-bar {
    padding-inline: 10px;
  }

  .action-bar .buy-action {
    width: min(100%, 334px);
    height: 46px;
    font-size: 16px;
  }

  .variant-sheet {
    padding-inline: 14px;
  }

  .flavor-chip {
    width: 100%;
  }
}
