:root {
  --page: #f5f8fb;
  --surface: #ffffff;
  --surface-soft: #edf7fc;
  --text: #14324a;
  --muted: #687c8d;
  --line: #dce7ed;
  --primary: #0788ca;
  --primary-dark: #05699e;
  --primary-soft: #e2f5fd;
  --green: #15965a;
  --green-soft: #e4f7ed;
  --red: #c7434b;
  --red-soft: #fff0f1;
  --orange: #f38a31;
  --yellow: #f7b733;
  --shadow-sm: 0 6px 20px rgba(19, 58, 82, 0.07);
  --shadow-lg: 0 24px 70px rgba(13, 45, 66, 0.18);
  --radius: 20px;
  --page-width: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--page);
}

body {
  min-height: 100vh;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--page);
  color: var(--text);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.hidden {
  display: none !important;
}

.page-width,
.header-inner,
.site-footer {
  width: min(var(--page-width), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border: 1px solid var(--line);
  border-radius: 17px;
  object-fit: contain;
  background: #fff;
}

.brand span,
.brand strong,
.brand small {
  display: block;
  min-width: 0;
}

.brand strong {
  overflow: hidden;
  color: #0c4770;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.82rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.icon-link,
.header-cart {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  color: var(--primary-dark);
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.icon-link:hover,
.header-cart:hover {
  transform: translateY(-1px);
  border-color: #a9d8ee;
  background: var(--primary-soft);
}

.icon-link svg,
.header-cart svg {
  width: 22px;
  height: 22px;
}

.instagram-link {
  color: #d6388a;
}

.header-cart {
  position: relative;
}

.header-cart span {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 22px;
  height: 22px;
  padding-inline: 5px;
  display: grid;
  place-items: center;
  border: 2px solid var(--surface);
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.73rem;
  font-weight: 800;
}

.store-summary {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid #cce7f4;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.store-main,
.delivery-info {
  min-height: 82px;
  padding: 17px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.store-main {
  flex-wrap: wrap;
  background: linear-gradient(110deg, #087fbd 0%, #18a7dc 100%);
  color: #fff;
}

.store-main p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.84rem;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d9e3e8;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.status-pill.open .status-dot {
  background: #56f0a1;
}

.status-pill.closed .status-dot {
  background: #ff8d91;
}

.delivery-info {
  border-left: 1px solid var(--line);
}

.delivery-icon {
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--primary-soft);
  font-size: 1.3rem;
}

.delivery-info strong,
.delivery-info small {
  display: block;
}

.delivery-info strong {
  font-size: 0.96rem;
}

.delivery-info small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.8rem;
}

.install-banner {
  position: relative;
  margin-top: 12px;
  min-height: 124px;
  padding: 14px 48px 14px 14px;
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  border: 1px solid #7fcce9;
  border-radius: 20px;
  background: linear-gradient(120deg, #e9f8fe 0%, #f8fcff 100%);
  box-shadow: 0 8px 24px rgba(7, 136, 202, 0.1);
}

.install-banner::before {
  content: "";
  position: absolute;
  top: -52px;
  right: -36px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(7, 136, 202, 0.07);
  pointer-events: none;
}

.install-banner img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  box-shadow: 0 3px 10px rgba(18, 59, 82, 0.12);
}

.install-copy span,
.install-copy strong,
.install-copy p {
  display: block;
}

.install-copy span {
  width: max-content;
  margin-bottom: 3px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #ffebd8;
  color: #b4570a;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.install-copy strong {
  color: #0b4f74;
  font-size: 1rem;
  line-height: 1.2;
}

.install-copy p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.79rem;
}

.install-button {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  width: auto;
  min-width: 164px;
  min-height: 41px;
  padding: 8px 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  justify-self: center;
  border: 0;
  border-radius: 13px;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.035em;
  animation: installPulse 1.25s ease-in-out infinite;
}

@keyframes installPulse {
  0%, 100% {
    transform: scale(1);
    background: #0788ca;
    box-shadow: 0 0 0 0 rgba(7, 136, 202, 0.42);
  }
  50% {
    transform: scale(1.045);
    background: #056fa7;
    box-shadow: 0 0 0 9px rgba(7, 136, 202, 0);
  }
}

.install-close {
  position: absolute;
  top: 5px;
  right: 6px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 1.25rem;
}

.browse-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  margin-top: 18px;
  border-block: 1px solid rgba(220, 231, 237, 0.9);
  background: rgba(245, 248, 251, 0.93);
  backdrop-filter: blur(14px);
}

.browse-inner {
  padding-block: 13px 10px;
}

.search-box {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  box-shadow: 0 3px 12px rgba(15, 52, 74, 0.04);
}

.search-box:focus-within {
  border-color: #75c4e7;
  box-shadow: 0 0 0 4px rgba(7, 136, 202, 0.1);
}

.search-box > svg {
  width: 21px;
  height: 21px;
  margin-left: 15px;
  color: var(--muted);
}

.search-box input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 1rem;
}

.search-box input::placeholder {
  color: #8b9aa7;
}

.search-box input::-webkit-search-cancel-button {
  display: none;
}

#clearSearch {
  width: 38px;
  height: 38px;
  margin-right: 4px;
  display: none;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-size: 1.45rem;
}

#clearSearch.visible {
  display: grid;
  place-items: center;
}

.category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 10px;
  padding: 1px 0 3px;
  scrollbar-width: none;
}

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

.category-tabs button {
  flex: 0 0 auto;
  min-height: 39px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: #405e71;
  font-size: 0.88rem;
  font-weight: 700;
  transition: 160ms ease;
}

.category-tabs button:hover {
  border-color: #9dd1e8;
}

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

.menu-block {
  padding-top: 30px;
}

.catalog-block {
  padding-bottom: 64px;
}

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

.eyebrow {
  display: block;
  margin-bottom: 3px;
  color: var(--primary-dark);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.section-heading h1,
.section-heading h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.section-emoji {
  font-size: 1.6rem;
}

.result-count {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.popular-grid,
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  min-height: 184px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 154px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 3px 14px rgba(14, 51, 73, 0.045);
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: #b8dce9;
  box-shadow: var(--shadow-sm);
}

.product-content {
  min-width: 0;
  padding: 17px 8px 16px 17px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product-badges {
  min-height: 22px;
  margin-bottom: 7px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 7px;
  background: #fff1e5;
  color: #b45a0c;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.product-badge.flavors {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.product-card h3 {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card p {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-bottom {
  width: 100%;
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
}

.price-label,
.price-value {
  display: block;
}

.price-label {
  color: var(--muted);
  font-size: 0.69rem;
}

.price-value {
  color: var(--primary-dark);
  font-size: 1.05rem;
  font-weight: 900;
}

.add-button {
  min-height: 38px;
  padding: 8px 12px;
  border: 0;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  transition: background 160ms ease, transform 160ms ease;
}

.add-button:hover {
  transform: translateY(-1px);
  background: var(--primary-dark);
}

.product-image {
  min-width: 0;
  margin: 9px;
  overflow: hidden;
  border-radius: 15px;
  background: #eaf5fa;
}

.product-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 240ms ease;
}

.product-image.contain img,
.modal-product-photo.contain {
  padding: 5px;
  object-fit: contain;
}

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

.empty-results {
  padding: 50px 20px;
  text-align: center;
}

.empty-results > span {
  display: block;
  margin-bottom: 10px;
  font-size: 2.2rem;
}

.empty-results p {
  margin: 5px 0 16px;
  color: var(--muted);
}

.empty-results button {
  min-height: 42px;
  padding: 9px 15px;
  border: 0;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
}

.floating-cart {
  position: fixed;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 55;
  width: min(600px, calc(100% - 24px));
  min-height: 58px;
  padding: 8px 13px;
  display: grid;
  grid-template-columns: 39px 1fr auto;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 17px;
  background: #0b354d;
  color: #fff;
  box-shadow: 0 16px 40px rgba(8, 37, 54, 0.28);
}

.floating-cart-count {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--primary);
  font-weight: 900;
}

.floating-cart-label {
  text-align: left;
  font-weight: 800;
}

.floating-cart strong {
  font-size: 0.96rem;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  visibility: hidden;
  opacity: 0;
  background: rgba(5, 25, 37, 0.5);
  backdrop-filter: blur(3px);
  transition: opacity 180ms ease, visibility 180ms ease;
}

.overlay.active {
  visibility: visible;
  opacity: 1;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  visibility: hidden;
  opacity: 0;
  padding: 18px;
  display: grid;
  place-items: center;
  pointer-events: none;
  transition: opacity 170ms ease, visibility 170ms ease;
}

.modal.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.modal-content,
.rating-card {
  width: min(590px, 100%);
  max-height: 92dvh;
  overflow-y: auto;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.product-modal {
  padding: 22px;
}

.close-button {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font-size: 1.45rem;
  line-height: 1;
}

.modal-product-head {
  display: grid;
  grid-template-columns: 118px 1fr;
  align-items: center;
  gap: 16px;
  padding-right: 38px;
}

.modal-product-photo {
  width: 118px;
  height: 118px;
  border-radius: 18px;
  object-fit: cover;
  background: var(--surface-soft);
}

.modal-product-head h2 {
  font-size: 1.45rem;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.modal-product-head p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.option-heading {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.option-heading h3 {
  font-size: 1rem;
}

.option-heading span {
  color: var(--muted);
  font-size: 0.76rem;
}

.flavor-select,
.checkout input,
.checkout select,
.checkout textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: 0;
  background: #fbfdfe;
}

.flavor-select {
  min-height: 50px;
  padding: 11px 13px;
}

.flavor-select:focus,
.checkout input:focus,
.checkout select:focus,
.checkout textarea:focus {
  border-color: #72c4e9;
  box-shadow: 0 0 0 4px rgba(7, 136, 202, 0.1);
}

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

.size-option {
  position: relative;
  min-height: 62px;
  padding: 9px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fbfdfe;
  text-align: center;
  cursor: pointer;
}

.size-option.selected {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: inset 0 0 0 1px var(--primary);
}

.size-option span,
.size-option strong {
  display: block;
}

.size-option span {
  font-size: 0.79rem;
}

.size-option strong {
  color: var(--primary-dark);
  font-size: 0.84rem;
}

.size-option input {
  position: absolute;
  opacity: 0;
}

.addons-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.addon-option {
  min-height: 46px;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdfe;
  font-size: 0.82rem;
  cursor: pointer;
}

.addon-option.selected {
  border-color: #8ccce8;
  background: var(--primary-soft);
}

.addon-option input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: var(--primary);
}

.qty-control {
  margin-top: 20px;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.qty-control > strong {
  font-size: 0.9rem;
}

.qty-buttons,
.cart-qty {
  display: flex;
  align-items: center;
  gap: 9px;
}

.qty-buttons button,
.cart-qty button {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--primary-dark);
  font-size: 1.15rem;
  font-weight: 800;
}

.modal-actions {
  position: sticky;
  bottom: -22px;
  margin: 21px -22px -22px;
  padding: 13px 22px calc(13px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: auto minmax(190px, 1fr);
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.modal-total span,
.modal-total strong {
  display: block;
}

.modal-total span {
  color: var(--muted);
  font-size: 0.72rem;
}

.modal-total strong {
  color: var(--primary-dark);
  font-size: 1.05rem;
}

.modal-add-button,
.finish-button,
.rating-continue {
  min-height: 49px;
  border: 0;
  border-radius: 13px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
}

.modal-add-button:disabled,
.finish-button:disabled,
.rating-continue:disabled {
  cursor: not-allowed;
  background: #a8b8c1;
  opacity: 0.8;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: -500px;
  z-index: 80;
  width: min(470px, 96vw);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transition: right 220ms ease;
}

.cart-panel.active {
  right: 0;
}

.cart-header {
  min-height: 82px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.cart-header h2 {
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.cart-header button {
  width: 41px;
  height: 41px;
  flex: 0 0 41px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  font-size: 1.45rem;
}

.cart-scroll {
  min-height: 0;
  overflow-y: auto;
  flex: 1;
}

.cart-items {
  padding: 15px 18px 2px;
}

.empty-cart {
  padding: 35px 15px;
  border: 1px dashed #bdd3df;
  border-radius: 16px;
  background: #f8fbfc;
  text-align: center;
}

.empty-cart span {
  display: block;
  font-size: 2rem;
}

.empty-cart h3 {
  margin-top: 6px;
  font-size: 1rem;
}

.empty-cart p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
}

.cart-item {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fbfdfe;
}

.cart-item + .cart-item {
  margin-top: 9px;
}

.cart-item-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.cart-item h3 {
  font-size: 0.93rem;
  line-height: 1.25;
}

.cart-item-meta {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.cart-item-price {
  flex: 0 0 auto;
  color: var(--primary-dark);
  font-size: 0.91rem;
  font-weight: 900;
}

.cart-item-actions {
  margin-top: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-qty button {
  width: 30px;
  height: 30px;
  font-size: 1rem;
}

.cart-qty strong {
  min-width: 20px;
  text-align: center;
  font-size: 0.85rem;
}

.remove-button {
  border: 0;
  background: transparent;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 700;
}

.checkout {
  padding: 17px 18px max(25px, env(safe-area-inset-bottom));
  display: grid;
  gap: 12px;
}

.checkout-title {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkout-title span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 900;
}

.checkout-title h3 {
  font-size: 0.94rem;
}

.checkout label {
  display: grid;
  gap: 5px;
  color: #476276;
  font-size: 0.78rem;
  font-weight: 700;
}

.checkout label small {
  display: inline;
  color: var(--muted);
  font-size: 0.71rem;
  font-weight: 500;
}

.checkout input,
.checkout select,
.checkout textarea {
  min-height: 46px;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 400;
}

.checkout textarea {
  min-height: 78px;
  resize: vertical;
}

.delivery-progress {
  padding: 11px 12px;
  border: 1px solid #c8e7d7;
  border-radius: 13px;
  background: #f1fbf6;
  color: #317050;
  font-size: 0.77rem;
}

.delivery-progress strong {
  color: var(--green);
}

.progress-track {
  height: 6px;
  overflow: hidden;
  margin-top: 8px;
  border-radius: 999px;
  background: #dcefe5;
}

.progress-track span {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--green);
}

.order-totals {
  padding: 13px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfdfe;
}

.order-totals > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.83rem;
}

.order-totals strong {
  color: var(--text);
}

.order-totals .grand-total {
  margin-top: 3px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
}

.order-totals .grand-total strong {
  color: var(--primary-dark);
  font-size: 1.12rem;
}

.closed-notice {
  padding: 10px 11px;
  border: 1px solid #f0c9cb;
  border-radius: 12px;
  background: var(--red-soft);
  color: #9d3036;
  font-size: 0.78rem;
  text-align: center;
}

.finish-button {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #1ca75b;
  box-shadow: 0 10px 24px rgba(28, 167, 91, 0.18);
}

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

.rating-modal {
  z-index: 100;
}

.rating-card {
  width: min(410px, 100%);
  padding: 27px 23px 22px;
  text-align: center;
}

.rating-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--primary-soft);
  font-size: 1.8rem;
}

.rating-card h2 {
  font-size: 1.3rem;
  letter-spacing: -0.025em;
}

.rating-card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.86rem;
}

.stars {
  margin: 19px 0;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.stars button {
  border: 0;
  background: transparent;
  color: #d7e0e5;
  font-size: 2.45rem;
  line-height: 1;
  transition: color 120ms ease, transform 120ms ease;
}

.stars button.active {
  color: var(--yellow);
  transform: translateY(-2px);
}

.rating-continue {
  width: 100%;
}

.rating-skip {
  margin-top: 10px;
  padding: 7px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  z-index: 120;
  max-width: calc(100% - 32px);
  padding: 11px 15px;
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, 8px);
  border-radius: 12px;
  background: #12384e;
  color: #fff;
  box-shadow: var(--shadow-lg);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
  transition: 180ms ease;
}

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

.site-footer {
  margin-bottom: 95px;
  padding-block: 24px;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  object-fit: contain;
  background: #fff;
}

.site-footer strong {
  display: block;
  font-size: 0.86rem;
}

.site-footer p {
  color: var(--muted);
  font-size: 0.75rem;
}

.site-footer a {
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 800;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(7, 136, 202, 0.25);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .page-width,
  .header-inner,
  .site-footer {
    width: min(100% - 24px, var(--page-width));
  }

  .header-inner {
    min-height: 76px;
  }

  .brand img {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    border-radius: 14px;
  }

  .brand strong {
    max-width: 215px;
    font-size: 0.96rem;
  }

  .brand small {
    font-size: 0.75rem;
  }

  .icon-link,
  .header-cart {
    width: 43px;
    height: 43px;
    border-radius: 13px;
  }

  .store-summary {
    grid-template-columns: 1fr;
    margin-top: 12px;
  }

  .store-main,
  .delivery-info {
    min-height: 66px;
    padding: 13px 15px;
  }

  .store-main {
    justify-content: space-between;
  }

  .delivery-info {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .browse-bar {
    margin-top: 12px;
  }

  .popular-grid {
    margin-inline: -12px;
    padding-inline: 12px;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .popular-grid::-webkit-scrollbar {
    display: none;
  }

  .popular-grid .product-card {
    width: min(88vw, 355px);
    flex: 0 0 min(88vw, 355px);
    scroll-snap-align: start;
  }

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

  .product-card {
    min-height: 170px;
    grid-template-columns: minmax(0, 1fr) 137px;
  }

  .product-content {
    padding: 14px 6px 14px 14px;
  }

  .product-badges {
    min-height: 19px;
    margin-bottom: 5px;
  }

  .product-card h3 {
    font-size: 0.98rem;
  }

  .product-image {
    margin: 8px;
    border-radius: 14px;
  }

  .add-button {
    padding-inline: 10px;
  }

  .cart-panel {
    top: auto;
    right: 0;
    bottom: -105dvh;
    width: 100%;
    height: min(94dvh, 820px);
    border-top: 1px solid var(--line);
    border-left: 0;
    border-radius: 24px 24px 0 0;
    transition: bottom 230ms ease;
  }

  .cart-panel.active {
    right: 0;
    bottom: 0;
  }

  .cart-header {
    min-height: 76px;
  }

  .modal {
    padding: 0;
    place-items: end center;
  }

  .modal-content {
    width: 100%;
    max-height: 93dvh;
    border-radius: 24px 24px 0 0;
  }

  .rating-modal {
    padding: 18px;
    place-items: center;
  }

  .rating-card {
    border-radius: 23px;
  }
}

@media (max-width: 480px) {
  .brand small {
    display: none;
  }

  .brand strong {
    max-width: 155px;
    font-size: 0.88rem;
  }

  .header-actions {
    gap: 7px;
  }

  .store-main p {
    font-size: 0.76rem;
  }

  .delivery-icon {
    width: 41px;
    height: 41px;
    flex-basis: 41px;
  }

  .install-banner {
    grid-template-columns: 52px 1fr;
    padding: 12px 42px 12px 12px;
  }

  .install-banner img {
    width: 52px;
    height: 52px;
  }

  .menu-block {
    padding-top: 25px;
  }

  .product-card {
    grid-template-columns: minmax(0, 1fr) 124px;
  }

  .product-card p {
    -webkit-line-clamp: 2;
  }

  .product-bottom {
    align-items: center;
  }

  .price-value {
    font-size: 0.96rem;
  }

  .modal-product-head {
    grid-template-columns: 92px 1fr;
    gap: 12px;
  }

  .modal-product-photo {
    width: 92px;
    height: 92px;
  }

  .modal-product-head h2 {
    font-size: 1.18rem;
  }

  .addons-list {
    grid-template-columns: 1fr;
  }

  .modal-actions {
    grid-template-columns: auto 1fr;
  }

  .site-footer {
    grid-template-columns: 42px 1fr;
  }

  .site-footer a {
    grid-column: 2;
  }
}

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

/* ============ TITO'S v4 — redesign ============ */
:root{
  --page:#f4f9ff; --surface:#fff; --surface-soft:#eaf4ff; --text:#0f1f4d; --muted:#5f6f8f; --line:#e1eaf6;
  --primary:#0a84ff; --primary-dark:#0b3fb5; --primary-soft:#e6f2ff; --navy:#16237a;
  --pink:#ff4f8b; --yellow:#ffc43d; --green:#16a05c;
  --shadow-sm:0 8px 26px rgba(22,35,122,.09); --shadow-lg:0 30px 80px rgba(10,20,80,.28);
  --radius:24px; --ease:cubic-bezier(.22,1,.36,1); --spring:cubic-bezier(.34,1.56,.64,1);
  --display:"Baloo 2","Segoe UI",system-ui,sans-serif;
}
body{font-family:"Plus Jakarta Sans","Segoe UI",Roboto,Helvetica,Arial,sans-serif;background:var(--page);color:var(--text)}
h1,h2,h3,.price-value,.brand strong{font-family:var(--display)}

/* ---- Intro ---- */
body.is-intro{overflow:hidden}
.splash{position:fixed;inset:0;z-index:1000;background:#fdfdfd;display:grid;place-items:center;transition:opacity .6s ease,transform .6s var(--ease),visibility .6s}
.splash.leave{opacity:0;visibility:hidden;transform:scale(1.04);pointer-events:none}
.splash video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;background:#fdfdfd}
.splash-load{position:absolute;left:50%;bottom:calc(max(34px,env(safe-area-inset-bottom)) + 18px);width:min(300px,68vw);transform:translate(-50%,14px);opacity:0;transition:opacity .4s ease,transform .5s var(--ease);display:flex;flex-direction:column;align-items:center;gap:8px}
.splash-load.show{opacity:1;transform:translate(-50%,0)}
.splash-track{width:100%;height:7px;border-radius:99px;background:#dbe9f8;overflow:hidden}
.splash-track span{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#00a2ff,#16237a)}
.splash-load b{font:800 .78rem var(--display);letter-spacing:.08em;color:var(--navy)}

/* ---- Header ---- */
.site-header{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.72);backdrop-filter:saturate(1.6) blur(18px);-webkit-backdrop-filter:saturate(1.6) blur(18px);border-bottom:1px solid transparent;transition:border-color .3s,box-shadow .3s,background .3s}
.site-header.scrolled{border-color:var(--line);box-shadow:0 8px 30px rgba(22,35,122,.08);background:rgba(255,255,255,.9)}
.header-inner{min-height:74px}
.brand img{width:52px;height:52px;border:0;border-radius:16px;background:#fff;box-shadow:0 6px 16px rgba(10,132,255,.25);transition:transform .4s var(--spring)}
.brand:hover img{transform:rotate(-6deg) scale(1.06)}
.brand strong{color:var(--navy);font-size:1.15rem;font-weight:800}
.icon-link,.header-cart{border-radius:16px;transition:transform .25s var(--spring),background .2s,box-shadow .2s}
.icon-link:hover,.header-cart:hover{transform:translateY(-2px) scale(1.05);box-shadow:0 8px 18px rgba(10,132,255,.18)}
.icon-link:active,.header-cart:active,.add-button:active,.hero-cta:active{transform:scale(.92)}
.header-cart span{background:var(--pink);border-color:#fff}
.header-cart span.bump{animation:bump .5s var(--spring)}
@keyframes bump{0%{transform:scale(1)}40%{transform:scale(1.55)}100%{transform:scale(1)}}

/* ---- Hero ---- */
.hero{position:relative;overflow:hidden;margin-top:-74px;padding:calc(74px + 34px) 0 90px;color:#fff;background:linear-gradient(135deg,#0a84ff 0%,#0b5fe0 52%,#16237a 100%)}
.hero-bg i{position:absolute;border-radius:50%;background:rgba(255,255,255,.1);animation:floaty 9s ease-in-out infinite}
.hero-bg i:nth-child(1){width:320px;height:320px;top:-110px;right:-60px}
.hero-bg i:nth-child(2){width:170px;height:170px;bottom:30px;left:-50px;animation-delay:-3s;background:rgba(255,79,139,.28)}
.hero-bg i:nth-child(3){width:90px;height:90px;top:40%;right:30%;animation-delay:-6s;background:rgba(255,196,61,.3)}
@keyframes floaty{50%{transform:translate(14px,-22px) scale(1.06)}}
.hero-inner{position:relative;display:grid;grid-template-columns:1.25fr .75fr;align-items:center;gap:24px}
.hero-copy>*{animation:rise .8s var(--ease) both}
.hero-copy>*:nth-child(2){animation-delay:.08s}.hero-copy>*:nth-child(3){animation-delay:.16s}.hero-copy>*:nth-child(4){animation-delay:.24s}
@keyframes rise{from{opacity:0;transform:translateY(22px)}}
.hero h1{margin:14px 0 8px;font-size:clamp(2rem,6.4vw,3.6rem);line-height:1.02;font-weight:800;letter-spacing:-.02em}
.hero h1 em{display:block;font-style:normal;color:var(--yellow)}
.hero-copy>p{color:rgba(255,255,255,.85);font-weight:600}
.status-pill{padding:8px 14px;background:rgba(255,255,255,.18);backdrop-filter:blur(8px);font-weight:700}
.status-pill.open .status-dot{background:#4dffa6;animation:pulse 1.8s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(77,255,166,.7)}100%{box-shadow:0 0 0 10px rgba(77,255,166,0)}}
.hero-actions{margin-top:20px;display:flex;flex-wrap:wrap;align-items:center;gap:14px}
.hero-cta{display:inline-flex;align-items:center;gap:8px;padding:14px 22px;border-radius:999px;background:#fff;color:var(--primary-dark);font:800 1rem var(--display);box-shadow:0 12px 28px rgba(0,0,40,.25);transition:transform .25s var(--spring),box-shadow .25s}
.hero-cta:hover{transform:translateY(-3px);box-shadow:0 18px 34px rgba(0,0,40,.3)}
.hero-cta svg{width:20px;height:20px;transition:transform .25s}.hero-cta:hover svg{transform:translateX(4px)}
.delivery-info{min-height:0;padding:0;border:0;gap:10px}
.delivery-icon{width:44px;height:44px;border-radius:14px;background:rgba(255,255,255,.18)}
.delivery-info small{color:rgba(255,255,255,.8)}
.hero-art{display:grid;place-items:center}
.hero-art img{width:min(100%,300px);border-radius:32px;background:#fff;padding:6px;box-shadow:0 30px 60px rgba(0,0,50,.35);animation:rise .9s .2s var(--ease) both,bob 5s 1s ease-in-out infinite}
@keyframes bob{50%{transform:translateY(-10px) rotate(-1.5deg)}}
.hero-wave{position:absolute;left:0;bottom:-1px;width:100%;height:60px;fill:var(--page);stroke:none}

/* ---- Install banner ---- */
.install-banner{margin-top:-18px;position:relative;z-index:2;border:0;border-radius:22px;background:#fff;box-shadow:var(--shadow-sm)}
.install-copy span{background:var(--pink);color:#fff}
.install-copy strong{color:var(--navy);font-family:var(--display)}
.install-button{background:var(--primary);border-radius:999px}

/* ---- Browse bar ---- */
.browse-bar{top:74px;margin-top:20px;border:0;background:rgba(244,249,255,.88)}
.search-box{height:52px;border-radius:999px;border-color:transparent;box-shadow:var(--shadow-sm);transition:box-shadow .25s,transform .25s var(--ease)}
.search-box:focus-within{transform:translateY(-1px);box-shadow:0 0 0 3px rgba(10,132,255,.25),var(--shadow-sm);border-color:transparent}
.category-tabs button{display:inline-flex;align-items:center;gap:6px;border:0;box-shadow:0 3px 10px rgba(22,35,122,.07);transition:transform .25s var(--spring),background .2s,color .2s}
.category-tabs button i{font-style:normal}
.category-tabs button:hover{transform:translateY(-2px)}
.category-tabs button:active{transform:scale(.93)}
.category-tabs button.active{background:linear-gradient(135deg,#0a84ff,#0b3fb5);box-shadow:0 8px 18px rgba(10,132,255,.4)}

/* ---- Sections ---- */
.eyebrow{color:var(--pink);letter-spacing:.14em}
.section-heading h1,.section-heading h2{font-family:var(--display);font-size:clamp(1.7rem,4vw,2.4rem);font-weight:800;color:var(--navy);letter-spacing:-.01em}
.section-emoji{animation:bob 3s ease-in-out infinite}

/* ---- Cards ---- */
.popular-grid,.products-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px}
.product-card{display:flex;flex-direction:column;min-height:0;cursor:pointer;border:0;border-radius:var(--radius);box-shadow:0 6px 22px rgba(22,35,122,.08);transition:transform .35s var(--spring),box-shadow .35s}
.product-card:hover{transform:translateY(-6px);box-shadow:0 22px 44px rgba(10,60,180,.18);border-color:transparent}
.product-card:active{transform:scale(.97)}
.product-image{position:relative;margin:0;border-radius:0;aspect-ratio:4/3;background:linear-gradient(160deg,#dff0ff,#f6fbff)}
.product-image img{transition:transform .6s var(--ease)}
.product-card:hover .product-image img{transform:scale(1.08)}
.product-image.contain img{padding:10px}
.product-badges{position:absolute;top:10px;left:10px;min-height:0;margin:0}
.product-badge{background:var(--pink);color:#fff;box-shadow:0 4px 10px rgba(255,79,139,.4)}
.product-badge.flavors{background:rgba(255,255,255,.92);color:var(--primary-dark)}
.product-content{flex:1;padding:16px 16px 14px}
.product-card h3{font-size:1.22rem;font-weight:800;color:var(--navy);line-height:1.12}
.product-card p{margin-top:5px;font-size:.84rem;-webkit-line-clamp:2}
.product-bottom{padding-top:14px;align-items:center}
.price-value{font-size:1.4rem;font-weight:800;color:var(--primary-dark);line-height:1}
.add-button{width:46px;height:46px;min-height:0;padding:0;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#0a84ff,#0b3fb5);box-shadow:0 8px 18px rgba(10,132,255,.4);transition:transform .3s var(--spring)}
.add-button svg{width:22px;height:22px;stroke-width:2.6;transition:transform .35s var(--spring)}
.product-card:hover .add-button{transform:scale(1.1)}.add-button:hover svg{transform:rotate(90deg)}
.reveal{opacity:0;transform:translateY(26px) scale(.98)}
.reveal.in{opacity:1;transform:none;transition:opacity .6s var(--ease) var(--d,0ms),transform .7s var(--ease) var(--d,0ms),box-shadow .35s}
.reveal.in:hover{transition-delay:0s;transform:translateY(-6px)}
.reveal.in:active{transform:scale(.97)}

/* ---- Floating cart / toast ---- */
.floating-cart{background:linear-gradient(135deg,#16237a,#0b3fb5);border-radius:999px;animation:slideUp .5s var(--spring) both;transition:transform .25s var(--spring)}
.floating-cart:active{transform:translateX(-50%) scale(.96)}
.floating-cart-count{background:var(--pink);border-radius:50%}
@keyframes slideUp{from{opacity:0;transform:translate(-50%,40px)}}
.toast{background:var(--navy);border-radius:999px;transition:opacity .3s,transform .4s var(--spring),visibility .3s}

/* ---- Overlay / modal / cart motion ---- */
.overlay{background:rgba(8,14,60,.55);backdrop-filter:blur(6px);transition:opacity .35s ease,visibility .35s}
.modal{transition:opacity .3s ease,visibility .3s}
.modal-content,.rating-card{border:0;border-radius:30px;transform:translateY(40px) scale(.94);opacity:0;transition:transform .5s var(--spring),opacity .3s ease}
.modal.active .modal-content,.modal.active .rating-card{transform:none;opacity:1}
.product-modal{padding:0}
.close-button{top:14px;right:14px;background:rgba(255,255,255,.95);box-shadow:0 6px 16px rgba(0,0,60,.2);transition:transform .3s var(--spring)}
.close-button:hover{transform:rotate(90deg) scale(1.08)}
#modalBody{padding:0 22px 22px}
.modal-product-head{display:block;padding:0;margin:0 -22px}
.modal-product-photo{width:100%;height:230px;border-radius:0;object-fit:cover;background:linear-gradient(160deg,#dff0ff,#f6fbff)}
.modal-product-photo.contain{object-fit:contain;padding:10px}
.modal-product-info{padding:18px 22px 0}
.modal-product-head h2{font-family:var(--display);font-size:1.7rem;font-weight:800;color:var(--navy)}
.option-heading h3{font-family:var(--display);font-size:1.1rem;color:var(--navy)}
.size-option,.addon-option{border-radius:16px;border:2px solid var(--line);background:#fff;transition:transform .25s var(--spring),border-color .2s,background .2s,box-shadow .2s}
.size-option:active,.addon-option:active{transform:scale(.94)}
.size-option.selected{border-color:var(--primary);background:var(--primary-soft);box-shadow:0 8px 18px rgba(10,132,255,.22);animation:pop .4s var(--spring)}
.addon-option.selected{border-color:var(--primary);background:var(--primary-soft)}
@keyframes pop{50%{transform:scale(1.07)}}
.qty-control{border-radius:18px;border-width:2px}
.qty-buttons button,.cart-qty button{border-radius:50%;transition:transform .2s var(--spring),background .2s}
.qty-buttons button:active,.cart-qty button:active{transform:scale(.8);background:var(--primary-soft)}
.modal-actions{bottom:0;margin:21px -22px -22px}
.modal-add-button,.finish-button,.rating-continue{border-radius:999px;background:linear-gradient(135deg,#0a84ff,#0b3fb5);font-family:var(--display);font-size:1.05rem;box-shadow:0 10px 22px rgba(10,132,255,.35);transition:transform .25s var(--spring),box-shadow .25s}
.modal-add-button:hover:not(:disabled),.finish-button:hover:not(:disabled){transform:translateY(-2px)}
.modal-add-button:active:not(:disabled),.finish-button:active:not(:disabled),.rating-continue:active:not(:disabled){transform:scale(.96)}
.modal-add-button:disabled,.finish-button:disabled,.rating-continue:disabled{background:#b4c2d6;box-shadow:none}
.finish-button{background:linear-gradient(135deg,#22c066,#139a52);box-shadow:0 10px 24px rgba(28,167,91,.35)}
.modal-total strong{font-family:var(--display);font-size:1.3rem}

.cart-panel{border:0;transition:right .5s var(--ease)}
.cart-header h2{font-family:var(--display);font-weight:800;color:var(--navy)}
.cart-item{border-radius:18px;animation:rise .4s var(--ease) both}
.checkout-title span{background:var(--primary);color:#fff;border-radius:50%}
.checkout input:focus,.checkout select:focus,.checkout textarea:focus{border-color:var(--primary)}
.stars button:hover{transform:scale(1.2)}.stars button.active{animation:pop .4s var(--spring)}

/* ---- Footer ---- */
.site-footer{border-top:0;border-radius:24px;background:#fff;padding:18px;box-shadow:var(--shadow-sm)}
.site-footer a{padding:10px 16px;border-radius:999px;background:var(--primary-soft)}

/* ---- Responsivo ---- */
@media (max-width:760px){
  .header-inner{min-height:66px}
  .hero{margin-top:-66px;padding:calc(66px + 22px) 0 74px}
  .hero-inner{grid-template-columns:1fr}.hero-art{display:none}
  .browse-bar{top:66px}
  .popular-grid,.products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .popular-grid{display:flex;overflow-x:auto;margin-inline:-12px;padding:4px 12px 14px}
  .popular-grid .product-card{flex:0 0 66vw;width:66vw;max-width:270px;scroll-snap-align:start}
  .product-content{padding:12px 12px 12px}
  .product-card h3{font-size:1.02rem}.product-card p{font-size:.76rem}
  .price-value{font-size:1.2rem}.add-button{width:40px;height:40px}
  .cart-panel{transition:bottom .55s var(--ease)}
  .modal-content{border-radius:30px 30px 0 0;transform:translateY(100%)}
  .modal-product-photo{height:210px}
}
@media (max-width:360px){.products-grid{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none}.splash{transition:none}}

/* ajustes finos */
.site-header{background:#fff}
.site-header.scrolled{background:rgba(255,255,255,.94)}
.hero{margin-top:0;padding:34px 0 90px}
@media (max-width:760px){.hero{margin-top:0;padding:24px 0 74px}}

/* ===== v5: pagamento online / Meus pedidos ===== */
.header-orders{display:inline-flex;align-items:center;gap:7px;height:42px;padding:0 14px;border-radius:999px;background:var(--primary-soft);color:var(--primary-dark);font-weight:700;font-size:14px;text-decoration:none;position:relative}
.header-orders svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.header-orders i{font-style:normal;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--primary);color:#fff;font-size:11px;display:grid;place-items:center}
@media (max-width:560px){.header-orders span{display:none}.header-orders{width:42px;padding:0;justify-content:center}.header-orders i{position:absolute;top:-4px;right:-4px}}
.pay-note{font-size:13px;line-height:1.4;color:var(--muted);background:var(--surface-soft);border-radius:12px;padding:10px 12px;margin:-4px 0 12px}
