

.header-location [data-location-label] {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-icon {
  display: flex;
  flex-shrink: 0;
  color: var(--red);
  font-size: 24px;
  line-height: 1;
  transform: rotate(-20deg);
}

.location-modal .modal-card {
  width: min(100%, 640px);
  display: flex;
  flex-direction: column;
  max-height: min(90dvh, 780px);
  padding: 24px;
  overflow: clip;
}

.location-modal-heading {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding-right: 42px;
}
.location-modal .location-modal-heading h2 { font-size: 24px; letter-spacing: -.045em; }
.location-modal .modal-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  margin: 0;
  border-radius: 12px;
}

.location-modal .modal-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.location-modal .modal-card form {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  gap: 0;
  overflow: clip;
}

.location-step-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 3px 0 8px;
  scroll-padding-block: 8px;
  -webkit-overflow-scrolling: touch;
}
.location-actions {
  flex: 0 0 auto;
  padding-top: 14px;
  margin-top: 12px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.location-actions .button { width: 100%; min-height: var(--qf-action-height, 48px); justify-content: center; font-size: 14px; }
.location-modal .location-address-fields {
  display: grid;
  gap: 12px;
}

.customer-address-fields {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.customer-address-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}
.customer-address-grid > div { min-width: 0; }
.customer-address-street { grid-template-columns: minmax(0, 1fr) 96px; }
.customer-address-city { grid-template-columns: 1fr 1.2fr 64px; }
.customer-address-fields :is(.customer-address-grid, .address-autocomplete-field) label { display: block; margin: 0 0 6px; color: var(--ink); font-size: 12px; font-weight: 650; }
.customer-address-fields :is(.customer-address-grid, .address-autocomplete-field) label span { color: var(--muted); font-size: 11px; font-weight: 400; }
.customer-address-fields input:not([type="hidden"]):not([type="checkbox"]) { min-width: 0; width: 100%; height: 46px; font-size: 14px; }
.customer-address-extra { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.customer-address-extra summary { min-height: 22px; color: var(--muted); font-size: 12px; font-weight: 650; cursor: pointer; }
.customer-address-extra[open] > .customer-address-grid { margin-top: 14px; }
.customer-address-edit { justify-self: start; min-height: 36px; padding: 0; background: transparent; color: var(--red); font-size: 12px; font-weight: 700; text-align: left; }
.customer-address-edit[hidden] { display: none; }
.customer-address-return { min-height: 40px; padding: 0; margin-bottom: 12px; background: transparent; color: var(--red); font-size: 12px; font-weight: 700; }
.customer-address-return[hidden] { display: none; }
.location-modal form[data-address-entry="new"] [data-location-saved-block] { display: none; }

.customer-address-fields[hidden],
[data-address-manual-fields][hidden] {
  display: none !important;
}

.location-modal .location-address-fields[hidden] {
  display: none;
}

.location-modal .saved-address-block[hidden],
.location-modal [data-location-save-row][hidden],
.location-modal [data-location-status][hidden] {
  display: none !important;
}

.location-modal .modal-card select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
}

.location-modal .modal-card input[type="hidden"] {
  display: none;
}

@media (max-width: 560px) {
  .location-modal .modal-card {
    max-height: calc(100dvh - 16px);
    padding: 22px 16px max(16px, env(safe-area-inset-bottom));
    border-radius: 22px 22px 0 0;
  }
  .location-modal .location-modal-heading h2 { font-size: 22px; }
  .customer-address-grid { grid-template-columns: 1fr; gap: 12px; }
  .customer-address-street { grid-template-columns: minmax(0, 1fr) 84px; }
  .customer-address-city { grid-template-columns: minmax(0, 1fr) 64px; }
  .customer-address-city > div:first-child { grid-column: 1 / -1; }
}

.cart-modal-item span,
.cart-empty,
.order-admin-items,
.order-admin-summary span,
.order-terminal {
  color: var(--muted);
  font-size: 11px;
}

.cart-quantity {
  display: flex !important;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.cart-quantity button {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 17px;
  font-weight: 800;
}

.cart-quantity button:hover {
  background: var(--red);
  color: #fff;
}

.cart-quantity span {
  min-width: 14px;
  color: var(--ink);
  text-align: center;
  font-weight: 800;
}

.cart-modal-total {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 8px 0 0;
  font-size: 12px;
}

.cart-modal-total strong {
  font-size: 13px;
}

.cart-modal-grand-total {
  margin-top: 9px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
}

.cart-modal-grand-total strong {
  color: var(--red);
  font-size: 16px;
}

.order-form {
  padding-top: 19px;
  margin-top: 11px;
  border-top: 1px solid var(--line);
}

.cart-form-title {
  margin: 0 0 3px;
  font-size: 12px;
  font-weight: 800;
}

.cart-modal-card .form-grid {
  margin-top: 6px;
}

.cart-modal-card label {
  margin-top: 7px;
}

.cart-modal-card label span {
  color: var(--muted);
  font-weight: 500;
}

.cart-modal-card input,
.cart-modal-card textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: 0;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
}

.cart-modal-card input {
  height: 44px;
}

.cart-modal-card textarea {
  resize: vertical;
}

.cart-modal-card input:focus,
.cart-modal-card textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(217, 21, 43, 0.1);
}

.delivery-fee-hint {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.address-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 0;
}

.address-tools .address-location-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 14px;
  border-color: rgba(217, 21, 43, .18);
  background: #fff8f8;
  color: var(--red);
  font-size: 12px;
  font-weight: 750;
}

.address-map-link {
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
}

.address-location-status,
.address-map-attribution {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.address-location-status.is-error {
  color: var(--red-dark);
}

.address-map-attribution a {
  color: inherit;
  text-decoration: underline;
}

.address-autocomplete-field {
  display: grid;
  gap: 5px;
  margin-top: 0;
}

.address-autocomplete-field > label {
  margin-top: 0;
}

.address-autocomplete-field [data-address-autocomplete] {
  min-height: 44px;
}

.address-autocomplete-field gmp-place-autocomplete {
  display: block;
  width: 100%;
}

.address-autocomplete-status {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.address-autocomplete-status.is-error {
  color: var(--red-dark);
}

.customer-address-map-field {
  margin-top: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fafafa;
}

.customer-address-map-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 24px;
  cursor: pointer;
  list-style: none;
}
.customer-address-map-heading::-webkit-details-marker { display: none; }
.customer-address-map-heading::after { content: '+'; color: var(--muted); font-size: 20px; }
.customer-address-map-field[open] > .customer-address-map-heading::after { content: '−'; }
.customer-address-map-field > .customer-address-map-shell { margin-top: 12px; }
.customer-address-map-field > [data-customer-address-map-status] { margin-top: 8px; color: var(--muted); font-size: 11px; }
.customer-address-map-field > [hidden] { display: none; }

.customer-address-map-heading strong {
  color: var(--ink);
  font-size: 12px;
}

.customer-address-map-heading small,
.customer-address-map-help,
.customer-address-map-status {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.customer-address-map-status.is-error {
  color: var(--red-dark);
}

.customer-address-map-shell {
  position: relative;
  height: 230px;
  overflow: hidden;
  border: 1px solid #dfe1e5;
  border-radius: 11px;
  background: #e6eef2;
}

.customer-address-map {
  width: 100%;
  height: 100%;
  min-height: 230px;
}

.customer-address-map-pin {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  box-sizing: border-box;
  transform: translate(-50%, -50%);
  border: 3px solid var(--red);
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 2px 8px rgba(25, 29, 35, .3), 0 0 0 6px rgba(217, 21, 43, .14);
  pointer-events: none;
}

.customer-address-map-pin::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--red);
}

.customer-address-map-help {
  margin: 0;
}

.product-options-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 18px;
}

.product-options-card {
  width: min(100%, 560px);
  max-height: min(92vh, 760px);
  overflow: auto;
}

.product-options-card h2 {
  margin-bottom: 3px;
}

.product-options-price {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
}

.option-fieldset {
  display: grid;
  gap: 7px;
  padding: 13px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.option-fieldset legend {
  padding: 0;
  font-size: 13px;
  font-weight: 800;
}

.option-fieldset > small {
  color: var(--muted);
  font-size: 10px;
}

.option-choice {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.option-choice:has(input:checked) {
  border-color: var(--red);
  background: var(--red-soft);
}

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

.option-choice span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 12px;
}

.option-choice strong {
  font-size: 12px;
}

.option-choice small {
  color: var(--muted);
  font-size: 10px;
}

.product-options-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 14px;
}

.cart-item-options {
  color: var(--red) !important;
  font-size: 10px !important;
}

.order-message {
  padding: 11px 12px;
  margin: 6px 0 0;
  border-radius: 10px;
  background: var(--red-soft);
  color: var(--red-dark);
  font-size: 11px;
  line-height: 1.45;
}

.order-message.is-success {
  background: #effbf3;
  color: #19733f;
}

.order-form .button {
  width: 100%;
  margin-top: 8px;
}

.order-form .button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding-bottom: 118px;
}

.info-grid article {
  min-height: 220px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.info-grid article > span {
  color: var(--red);
  font-size: 10px;
  font-weight: 850;
}

.info-grid h2 {
  margin: 35px 0 9px;
  font-size: 19px;
  letter-spacing: -0.05em;
}

.info-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.8fr);
    gap: 24px;
  }

  .hero h1 {
    font-size: clamp(44px, 6.5vw, 66px);
  }

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

  .operation-section {
    gap: 35px;
  }

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

@media (max-width: 760px) {
  .shell {
    width: min(100% - 34px, 600px);
  }

  .announcement-inner {
    justify-content: center;
    min-height: 35px;
  }

  .announcement-inner > a {
    display: none;
  }

  .header-inner {
    min-height: 67px;
    gap: 15px;
  }

  .desktop-nav,
  .header-location,
  .login-link {
    display: none;
  }

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

  .mobile-menu-button {
    display: block;
  }

  .mobile-menu:not([hidden]) {
    display: grid;
    gap: 2px;
    padding-top: 0;
    padding-bottom: 13px;
  }

  .mobile-menu a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
    color: #60666b;
    font-size: 12px;
    font-weight: 750;
  }

  .mobile-menu form {
    margin: 0;
  }

  .mobile-menu-link {
    width: 100%;
    padding: 12px 4px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    color: #60666b;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 750;
    text-align: left;
  }

  .hero {
    display: block;
    min-height: 0;
    padding-top: 57px;
    padding-bottom: 49px;
  }

  .hero-lead {
    margin-top: 20px;
    font-size: 14px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .trust-item,
  .trust-item:first-child {
    min-height: 53px;
    padding: 7px 0;
    border-right: 0;
  }

  .section {
    padding-top: 61px;
  }

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

  .section-heading h2,
  .menu-intro h2 {
    font-size: 29px;
  }

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

  .category-card:last-child {
    grid-column: span 2;
  }

  .category-card {
    min-height: 120px;
  }

  .section-stores {
    padding-bottom: 67px;
  }

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

  .store-visual {
    min-height: 190px;
  }

  .operation-section {
    display: block;
    padding-bottom: 66px;
  }

  .operation-intro {
    position: static;
    margin-bottom: 35px;
  }

  .operation-intro h2 {
    font-size: 36px;
  }

  .cta-section {
    padding-bottom: 66px;
  }

  .cta-box {
    display: block;
    min-height: 0;
    padding: 31px 25px;
  }

  .cta-box .button {
    width: 100%;
    margin-top: 27px;
  }

  .footer-main {
    display: block;
    padding-top: 36px;
    padding-bottom: 30px;
  }

  .footer-links {
    gap: 46px;
    margin-top: 35px;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom span:last-child {
    display: block;
    margin-top: 7px;
  }

  .page-hero,
  .simple-hero {
    padding-top: 55px;
    padding-bottom: 48px;
  }

  .search-results {
    padding-bottom: 70px;
  }

  .store-cover-inner {
    grid-template-columns: 78px 1fr;
    min-height: 276px;
    gap: 17px;
    padding-top: 53px;
  }

  .store-logo {
    width: 78px;
    height: 78px;
    border-width: 5px;
    border-radius: 21px;
    font-size: 38px;
  }

  .store-heading {
    padding-top: 18px;
  }

  .store-heading h1 {
    font-size: 39px;
  }

  .store-heading > p {
    font-size: 11px;
    line-height: 1.45;
  }

  .store-meta {
    gap: 9px;
    margin-top: 13px;
    font-size: 9px;
  }

  .store-menu {
    padding-top: 39px;
    padding-bottom: 72px;
  }

  .menu-intro {
    align-items: flex-start;
  }

  .menu-intro .outline-button {
    flex: 0 0 auto;
  }

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

  .product-image {
    min-height: 174px;
  }

  .info-grid {
    grid-template-columns: 1fr;
    padding-bottom: 70px;
  }
}

@media (max-width: 450px) {
  .shell {
    width: min(100% - 28px, 600px);
  }

  .hero h1,
  .page-hero h1,
  .simple-hero h1 {
    font-size: 43px;
  }

  .menu-intro h2 {
    font-size: 26px;
  }

  .menu-intro .outline-button {
    font-size: 9px;
  }

  .store-cover-inner {
    grid-template-columns: 1fr;
    min-height: 340px;
    padding-top: 56px;
    padding-bottom: 29px;
  }

  .store-logo {
    width: 66px;
    height: 66px;
    font-size: 31px;
  }

  .store-heading {
    padding-top: 0;
  }

  .store-heading h1 {
    font-size: 42px;
  }

  .store-meta {
    gap: 6px;
  }

  .store-meta span {
    padding-right: 6px;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
  }

  .store-meta span:last-child {
    border-right: 0;
  }

  .cart-bar {
    gap: 9px;
    padding-left: 10px;
  }

  .cart-bar > strong {
    display: none;
  }

  .cart-bar .button {
    padding: 0 11px;
    font-size: 10px;
  }
}

/* Mercado Pago transparent checkout: keep Pix and card inside the QueroFood modal. */
[data-payment-restart][hidden] {
  display: none !important;
}

.cart-payment[hidden],
.payment-brick-shell[hidden],
.payment-pix-result[hidden] {
  display: none;
}

.cart-payment {
  padding-top: 22px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.cart-payment-order {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 14px;
  padding: 13px 15px;
  margin-bottom: 12px;
  border: 1px solid #ececee;
  border-radius: 14px;
  background: #fafafa;
}

.cart-payment-order span {
  color: var(--muted);
  font-size: 11px;
}

.cart-payment-order strong {
  color: var(--ink);
  font-size: 13px;
  text-align: right;
}

.payment-brick-note {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.payment-pix-form {
  display: grid;
  gap: 8px;
  padding: 16px;
  margin: 0 0 12px;
  border: 1px solid #e5e6e8;
  border-radius: 16px;
  background: #fff;
}

.payment-pix-form[hidden] {
  display: none;
}

.payment-pix-form-title,
.payment-pix-form-copy {
  margin: 0;
}

.payment-pix-form-title {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.payment-pix-form-copy,
.payment-pix-form > small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.payment-pix-form label {
  display: grid;
  gap: 6px;
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.payment-pix-form input {
  width: 100%;
  height: 44px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
}

.payment-pix-form input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(217, 21, 43, .11);
  outline: 0;
}

.payment-submit-button {
  width: 100%;
}

.payment-method-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 4px;
  margin: 0 0 12px;
  border: 1px solid #e5e6e8;
  border-radius: 16px;
  background: #f5f5f6;
}

.payment-method-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 9px;
  row-gap: 3px;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 13px;
  appearance: none;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  line-height: 1.25;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.payment-method-option::before {
  content: '';
  grid-row: 1 / span 2;
  width: 18px;
  height: 18px;
  border: 1.5px solid #c5c8cd;
  border-radius: 50%;
  background: #fff;
}

.payment-method-option:not(:disabled):hover {
  background: rgba(255, 255, 255, .78);
}

.payment-method-option strong {
  display: block;
  font-size: 13px;
  line-height: 1.2;
}

.payment-method-option small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.25;
}

.payment-method-option.is-active {
  border-color: rgba(217, 21, 43, .32);
  background: #fff;
  box-shadow: 0 2px 7px rgba(21, 23, 25, .07);
}

.payment-method-option.is-active::before {
  border-color: var(--red);
  background: radial-gradient(circle, var(--red) 0 4px, #fff 4.5px);
}

.payment-method-option:disabled {
  opacity: .55;
  cursor: wait;
}

.payment-method-option:focus-visible {
  outline: 3px solid rgba(217, 21, 43, .2);
  outline-offset: 1px;
}

.payment-brick-shell {
  min-height: 280px;
  padding: 4px 0 0;
}

.payment-brick-shell [data-payment-brick] {
  min-height: 260px;
}

.payment-pix-result {
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 18px 12px 10px;
  border: 1px solid #e4e8e5;
  border-radius: 17px;
  background: #fbfefc;
  text-align: center;
}

.payment-pix-result .eyebrow {
  margin: 0;
  color: #19733f;
}

.payment-pix-result h3 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  letter-spacing: -.04em;
}

.payment-pix-result img {
  width: min(100%, 220px);
  height: auto;
  aspect-ratio: 1;
  padding: 8px;
  border: 1px solid #e6e8e6;
  border-radius: 12px;
  background: #fff;
}

.payment-pix-result p:not(.eyebrow) {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.payment-pix-result code {
  display: block;
  width: 100%;
  max-height: 84px;
  padding: 9px 10px;
  overflow: auto;
  border: 1px solid #e6e8e6;
  border-radius: 9px;
  background: #fff;
  color: #4d5450;
  font-size: 9px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-align: left;
}

.payment-pix-result small {
  color: var(--muted);
  font-size: 10px;
}

.cart-payment-actions {
  grid-template-columns: 1fr;
  margin-top: 16px;
}

.order-message.is-info {
  border-color: #d8e6f7;
  background: #f5f9ff;
  color: #285d8d;
}

.payment-method-settings {
  display: grid;
  gap: 13px;
  padding: 16px;
  margin: 16px 0 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fafafa;
}

.payment-method-settings > div:first-child {
  display: grid;
  gap: 4px;
}

.payment-method-settings strong {
  color: var(--ink);
  font-size: 13px;
}

.payment-method-settings small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.payment-method-settings .check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.payment-method-settings .button {
  width: max-content;
}

@media (max-width: 560px) {
  .payment-method-settings .button {
    width: 100%;
    justify-content: center;
  }
}

.auth-shell,
.account-shell {
  min-height: 640px;
  display: grid;
  place-items: center;
  padding-top: 72px;
  padding-bottom: 88px;
}

.auth-card,
.account-card {
  width: min(100%, 520px);
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.auth-card h1,
.account-card h1 {
  margin: 12px 0 0;
  font-size: clamp(37px, 6vw, 58px);
  letter-spacing: -0.07em;
  line-height: 0.98;
}

.auth-intro,
.account-lead {
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.auth-form {
  display: grid;
  gap: 9px;
}

.auth-form label {
  margin-top: 9px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
}

.auth-form label span {
  color: var(--muted);
  font-weight: 500;
}

.auth-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #d9dbde;
  border-radius: 12px;
  outline: 0;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.auth-form input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(217, 21, 43, 0.1);
}

.auth-form .button {
  width: 100%;
  margin-top: 16px;
}

.auth-resend-form {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.auth-resend-form .outline-button {
  width: 100%;
}

.form-help {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.auth-error {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid #f4b9c0;
  border-radius: 11px;
  background: var(--red-soft);
  color: var(--red-dark);
  font-size: 12px;
  line-height: 1.5;
}

.auth-switch {
  margin: 25px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

.auth-switch a {
  color: var(--red);
  font-weight: 750;
}

.account-card {
  width: min(100%, 680px);
}

.account-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 28px 0;
}

.account-details div {
  display: grid;
  gap: 7px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}

.account-details span {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.account-details strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
}

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

.account-actions form {
  margin: 0;
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: 16px;
  width: min(100%, 1000px);
}

.account-layout .account-card {
  width: 100%;
}

.account-orders {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

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

.account-orders-heading h2 {
  margin: 9px 0 0;
  font-size: 25px;
  letter-spacing: -0.06em;
}

.account-orders-heading > span {
  color: var(--muted);
  font-size: 10px;
}

.account-order-list {
  display: grid;
  gap: 9px;
}

.account-order {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.account-order-heading,
.account-order-heading > div,
.account-order-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-order-heading > div {
  align-items: flex-start;
  flex-direction: column;
  gap: 4px;
}

.account-order-heading strong {
  font-size: 13px;
}

.account-order-heading span:not(.order-status) {
  color: var(--muted);
  font-size: 10px;
}

.account-order > p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.account-order-footer {
  padding-top: 9px;
  border-top: 1px solid var(--line);
}

.account-order-footer span {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-order-footer strong {
  flex: 0 0 auto;
  font-size: 13px;
}

.account-order-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 2px;
}

.account-order-actions form {
  margin: 0;
}

.account-order-actions .outline-button {
  min-height: var(--qf-action-height, 48px);
  padding: 0 12px;
  font-size: 10px;
}

.account-empty {
  padding: 25px 16px;
  border: 1px dashed #d9dcdf;
  border-radius: 13px;
  background: #fff;
}

.account-empty strong {
  font-size: 12px;
}

.account-empty p {
  margin: 7px 0 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 560px) {
  .auth-card,
  .account-card {
    padding: 28px 20px;
    border-radius: 20px;
  }

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

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

  .account-orders {
    padding: 20px 16px;
  }

  .account-address-book {
    padding: 20px 16px;
  }

  .account-address {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-address form,
  .account-address form .text-danger {
    width: 100%;
  }

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

  .account-actions .button,
  .account-actions form,
  .account-actions .outline-button {
    width: 100%;
  }

  .account-order-actions .outline-button,
  .account-order-actions form {
    width: 100%;
  }
}

/* White-label, SEO e instalação PWA */

@media (max-width: 760px) {
  .product-detail-card {
    grid-template-columns: 1fr;
  }

  .product-detail-visual,
  .product-detail-visual img {
    min-height: 270px;
  }

  .product-detail-copy {
    padding: 30px 22px 34px;
  }
}

@media (max-width: 560px) {
  .product-detail-shell {
    padding-top: 43px;
  }

  .payment-connection {
    align-items: flex-start;
    flex-direction: column;
  }

  .payment-connection-action,
  .payment-connection-action form,
  .payment-connection-action .button {
    width: 100%;
  }

  .domain-row {
    grid-template-columns: 1fr;
  }

  .domain-status {
    justify-self: start;
  }
}

.media-upload-current {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.media-upload-current img {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.media-upload-current.is-empty {
  min-height: 0;
  padding: 2px 0;
}

.courier-store-field {
  position: relative;
}

.courier-store-search {
  position: relative;
}

.courier-store-suggestions[hidden] {
  display: none;
}

.courier-store-suggestions {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  left: 0;
  z-index: 20;
  display: grid;
  gap: 3px;
  max-height: 240px;
  overflow-y: auto;
  padding: 5px;
  border: 1px solid #e1e2e5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(17, 18, 20, 0.12);
}

.courier-store-option {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 10px 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.courier-store-option:hover,
.courier-store-option:focus-visible {
  outline: 0;
  background: #fff1f3;
}

.courier-store-option strong {
  font-size: 12px;
}

.courier-store-option small,
.courier-store-empty {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

@media (max-width: 760px) {
  .admin-stat-grid {
    grid-template-columns: 1fr;
  }

  .admin-review-row {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-review-actions {
    width: 100%;
  }

  .admin-review-actions form,
  .admin-review-actions button,
  .admin-review-actions > .outline-button {
    width: 100%;
  }

  .admin-review-note {
    max-width: none;
    text-align: left;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .dashboard-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .dashboard-shell {
    padding-top: 48px;
  }

  .dashboard-heading,
  .dashboard-store-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-heading .outline-button {
    width: 100%;
  }

  .dashboard-card {
    padding: 20px 16px;
  }

  .form-grid-two,
  .form-grid-three {
    grid-template-columns: 1fr;
  }

  .media-upload-grid {
    grid-template-columns: 1fr;
  }

  .media-upload-row {
    align-items: stretch;
    flex-direction: column;
  }

  .media-upload-form .button {
    width: 100%;
  }

  .product-admin-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .inline-add-form > div {
    align-items: stretch;
    flex-direction: column;
  }

  .hours-row {
    grid-template-columns: minmax(78px, 1fr) auto minmax(78px, 1fr);
    gap: 5px;
    padding-block: 7px;
    border-bottom: 1px solid #eceef1;
  }

  .hours-row strong { grid-column: 1; grid-row: 1; }
  .hours-row > input[type="time"]:first-of-type { grid-column: 1; grid-row: 2; }
  .hours-row > span { grid-column: 2; grid-row: 2; text-align: center; }
  .hours-row > input[type="time"]:last-of-type { grid-column: 3; grid-row: 2; }
  .hours-row .check-row { grid-column: 2 / 4; grid-row: 1; justify-self: end; }
}

.courier-link-controls {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.courier-link-controls .courier-link-actions {
  justify-content: flex-end;
}

.courier-link-controls .outline-button,
.courier-link-controls .button {
  min-height: var(--qf-action-height, 48px);
  padding: 0 10px;
  font-size: 10px;
}

.courier-link-status-paused {
  border-color: #f0dca4;
  background: #fffdf7;
}

@media (max-width: 900px) {
  .courier-columns,
  .tracking-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .courier-status-card,
  .tracking-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .courier-status-card,
  .tracking-side-card,
  .tracking-card-heading,
  .tracking-courier {
    padding-right: 16px;
    padding-left: 16px;
  }

  .courier-status-actions,
  .courier-status-actions .courier-availability-form,
  .courier-status-actions .button,
  .courier-offer-actions,
  .courier-offer-actions form,
  .courier-offer-actions .button,
  .courier-active-actions,
  .courier-active-actions form,
  .courier-active-actions .button,
  .courier-document-row form,
  .courier-document-row input[type="file"],
  .courier-document-row .button,
  .delivery-operation form,
  .delivery-operation .button,
  .delivery-operation .outline-button {
    width: 100%;
  }

  .courier-offer-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .courier-link-row,
  .courier-link-review {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .courier-link-state,
  .courier-link-controls,
  .courier-link-review .courier-link-actions {
    grid-column: 2;
    justify-content: flex-start;
    justify-items: start;
    text-align: left;
  }

  .tracking-map,
  .tracking-map-frame,
  .tracking-map-empty {
    min-height: 260px;
    height: 260px;
  }

  .tracking-location-meta {
    padding-right: 16px;
    padding-left: 16px;
  }
}:root {
  --qf-action-height: 48px;
  --red: #d9152b;
  --red-dark: #b80f22;
  --red-soft: #fff0f2;
  --ink: #151719;
  --muted: #6c7177;
  --line: #e7e8ea;
  --surface: #f8f8f7;
  --white: #ffffff;
  --shadow-sm: 0 10px 28px rgba(21, 23, 25, 0.07);
  --shadow-lg: 0 28px 70px rgba(21, 23, 25, 0.14);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
}

* {
  box-sizing: border-box;
}

html.custom-dialog-open,
html.custom-dialog-open body {
  overflow: hidden;
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #bd2338;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  /* Keep ordinary form fields readable without focus zoom on mobile. */
  body :is(input, select, textarea):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]):not(.quantity-choice-input) {
    font-size: 16px !important;
  }
  body :is(.modal-close, .review-close, .location-change) {
    min-width: 44px;
    min-height: 44px;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

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

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

button {
  border: 0;
  cursor: pointer;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.announcement {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.announcement-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.announcement b {
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.13em;
}

.announcement a {
  color: #fff;
  font-weight: 700;
}

.announcement a span,
.text-link span,
.button span,
.operation-card a span {
  color: var(--red);
  font-size: 16px;
  margin-left: 6px;
  transition: transform 160ms ease;
  display: inline-block;
}

.announcement a span {
  color: #ff6d7b;
}

.announcement a:hover span,
.text-link:hover span,
.button:hover span,
.operation-card a:hover span {
  transform: translateX(4px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(231, 232, 234, 0.8);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 42px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.brand-tenant {
  min-width: 0;
  max-width: 100%;
}

.brand-tenant > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-tenant .brand-mark,
.brand-tenant .brand-logo {
  flex-shrink: 0;
}

.brand-wordmark {
  display: block;
  width: clamp(145px, 44vw, 190px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.brand-footer .brand-wordmark {
  width: 240px;
}

.brand > span:last-child > span {
  color: var(--red);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 10px;
  color: #fff;
  background: var(--red);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.08em;
  box-shadow: 0 5px 12px rgba(217, 21, 43, 0.22);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-right: auto;
  color: #5d6267;
  font-size: 13px;
  font-weight: 650;
}

.desktop-nav a,
.login-link {
  transition: color 160ms ease;
}

.desktop-nav a:hover,
.login-link:hover {
  color: var(--red);
}

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

.header-location {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.header-location:hover {
  border-color: #c7cbd0;
  box-shadow: var(--shadow-sm);
}

.header-location > span:first-child {
  color: var(--red);
  font-size: 17px;
}

.login-link {
  font-size: 13px;
  font-weight: 750;
}

.header-logout-form {
  margin: 0;
}

.header-logout-form .login-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.mobile-menu-button span {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--ink);
}

.mobile-menu {
  display: none;
}

.hero {
  min-height: 600px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  align-items: center;
  gap: 52px;
  padding-top: 66px;
  padding-bottom: 76px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--red);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px var(--red-soft);
  vertical-align: 1px;
}

.hero h1,
.page-hero h1,
.simple-hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(46px, 5.3vw, 78px);
  font-weight: 850;
  letter-spacing: -0.075em;
  line-height: 0.98;
}

.hero-period {
  color: var(--red);
}

.hero-lead {
  max-width: 480px;
  margin: 25px 0 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.location-bar {
  width: min(100%, 482px);
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 61px;
  padding: 9px 13px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 9px 28px rgba(21, 23, 25, 0.04);
}

.location-icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 11px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 23px;
}

.location-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.location-copy .label {
  color: #94989d;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.location-copy strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-change {
  color: var(--red);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}

.search-form {
  width: min(100%, 482px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 5px 5px 16px;
  border: 1px solid var(--ink);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(21, 23, 25, 0.06);
}

.search-form:focus-within {
  border-color: var(--red);
  box-shadow: 0 10px 30px rgba(217, 21, 43, 0.1);
}

.search-icon {
  color: var(--red);
  font-size: 24px;
  line-height: 1;
  transform: rotate(-20deg);
}

.search-form input {
  min-width: 0;
  flex: 1;
  height: 42px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}

.search-form input::placeholder {
  color: #9b9fa4;
}

.search-form button {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 11px;
  background: var(--red);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  transition: background 160ms ease, transform 160ms ease;
}

.search-form button:hover {
  background: var(--red-dark);
  transform: translateX(1px);
}

.quick-search {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 15px;
  color: #9a9ea2;
  font-size: 11px;
}

.quick-search a {
  color: #5c6268;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #d9dbdd;
  text-underline-offset: 3px;
}

.quick-search a:hover {
  color: var(--red);
  text-decoration-color: var(--red);
}

.tracking-live-stale,
.tracking-live-offline {
  color: #9a6511;
}

.tracking-live-stale i,
.tracking-live-offline i {
  background: #d99b27;
  box-shadow: 0 0 0 4px rgba(217, 155, 39, 0.14);
}

.tracking-live-waiting {
  color: var(--muted);
}

.tracking-live-waiting i {
  background: #979ba1;
  box-shadow: 0 0 0 4px rgba(151, 155, 161, 0.14);
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fcfcfc;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 92px;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 25px;
  border-right: 1px solid var(--line);
}

.trust-item:first-child {
  padding-left: 0;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-symbol {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 10px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 18px;
  font-weight: 850;
}

.trust-item strong,
.trust-item small {
  display: block;
}

.trust-item strong {
  font-size: 12px;
}

.trust-item small {
  margin-top: 4px;
  color: #91969b;
  font-size: 10px;
}

.section {
  padding-top: 92px;
  padding-bottom: 0;
}

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

.section-heading .eyebrow {
  margin-bottom: 8px;
}

.section-heading h2,
.operation-intro h2,
.menu-intro h2,
.simple-hero h1 {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 830;
  letter-spacing: -0.07em;
  line-height: 1.03;
}

.text-link {
  padding-bottom: 3px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 800;
  transition: color 160ms ease, border-color 160ms ease;
}

.text-link:hover {
  color: var(--red);
  border-color: var(--red);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 13px;
}

.category-card {
  position: relative;
  min-height: 137px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.category-card::after {
  position: absolute;
  right: -18px;
  bottom: -30px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
  content: "";
}

.category-card:hover {
  border-color: #ced1d4;
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.category-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 13px;
  background: #fff;
  font-size: 23px;
}

.category-card strong {
  position: relative;
  z-index: 1;
  font-size: 12px;
}

.category-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  color: #9b9fa3;
  font-size: 14px;
}

.category-pizza {
  background: #fff1f2;
}

.category-hamburguer {
  background: #fff8e8;
}

.category-pastel {
  background: #f1f3ff;
}

.category-acai {
  background: #f6f0ff;
}

.category-bebidas {
  background: #eefbf7;
}

.section-stores {
  padding-bottom: 102px;
}

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

.store-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 5px 16px rgba(21, 23, 25, 0.025);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.store-card:hover {
  border-color: #d1d4d7;
  box-shadow: var(--shadow-sm);
  transform: translateY(-5px);
}

.store-visual {
  position: relative;
  min-height: 176px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.store-visual::before,
.store-visual::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  content: "";
}

.store-visual::before {
  width: 220px;
  height: 220px;
}

.store-visual::after {
  width: 285px;
  height: 285px;
}

.store-visual-red {
  background: linear-gradient(140deg, #be1328, #f1535f);
}

.store-visual-dark {
  background: linear-gradient(140deg, #17191c, #454950);
}

.store-visual-gold {
  background: linear-gradient(140deg, #e79623, #ffd36d);
}

.store-visual-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.store-emoji {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 102px;
  height: 102px;
  border: 7px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  font-size: 51px;
  line-height: 1;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.17);
  transform: rotate(-6deg);
}

.store-visual-lines {
  position: absolute;
  right: 20px;
  bottom: 16px;
  z-index: 1;
  width: 46px;
  height: 2px;
  background: rgba(255, 255, 255, 0.63);
  box-shadow: 0 -7px 0 rgba(255, 255, 255, 0.35), 0 -14px 0 rgba(255, 255, 255, 0.18);
}

.store-card-body {
  padding: 17px 17px 18px;
}

.store-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.store-card h3,
.store-card p {
  margin: 0;
}

.store-card h3 {
  font-size: 15px;
  letter-spacing: -0.03em;
}

.store-card p {
  margin-top: 5px;
  color: #83888d;
  font-size: 11px;
}

.rating {
  padding: 6px 7px;
  border-radius: 8px;
  background: #fff8e8;
  color: #a86306;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.store-card-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 17px;
  color: #73787d;
  font-size: 10px;
}

.store-card-meta span:first-child {
  color: var(--ink);
  font-weight: 750;
}

.operation-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
  padding-bottom: 105px;
}

.operation-intro {
  position: sticky;
  top: 130px;
}

.operation-intro h2 {
  font-size: clamp(32px, 4vw, 52px);
}

.operation-intro h2 span {
  color: var(--red);
}

.operation-intro > p:last-child {
  max-width: 350px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.operation-cards {
  display: grid;
  gap: 12px;
}

.operation-card {
  position: relative;
  min-height: 160px;
  padding: 23px 24px 21px 74px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--surface);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.operation-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateX(5px);
}

.operation-card-red {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.operation-card-red a,
.operation-card-red .operation-number,
.operation-card-red p {
  color: rgba(255, 255, 255, 0.71);
}

.operation-card-red h3,
.operation-card-red a {
  color: #fff;
}

.operation-card-red a span {
  color: #ffadb6;
}

.operation-number {
  position: absolute;
  top: 25px;
  left: 24px;
  color: #aeb2b6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.operation-icon {
  position: absolute;
  right: 26px;
  top: 24px;
  color: rgba(21, 23, 25, 0.22);
  font-size: 27px;
}

.operation-card-red .operation-icon {
  color: rgba(255, 255, 255, 0.42);
}

.operation-card h3 {
  margin: 12px 0 7px;
  font-size: 17px;
  letter-spacing: -0.04em;
}

.operation-card p {
  max-width: 420px;
  margin: 0 0 16px;
  color: #787e83;
  font-size: 12px;
  line-height: 1.5;
}

.operation-card a {
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.cta-section {
  padding-bottom: 102px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  min-height: 260px;
  padding: 42px 52px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #fff;
}

.eyebrow-light {
  color: #ff7c89;
}

.cta-box h2 {
  margin: 0;
  font-size: clamp(29px, 4vw, 50px);
  font-weight: 830;
  letter-spacing: -0.07em;
  line-height: 1;
}

.cta-box h2 span {
  color: #ff6f7c;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--qf-action-height, 48px);
  padding: 0 17px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

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

.button-light {
  background: #fff;
  color: var(--ink);
}

.button-light:hover {
  background: var(--red-soft);
}

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

.button-primary:hover {
  background: var(--red-dark);
}

.button-dark {
  background: var(--ink);
  color: #fff;
}

.button-dark:hover {
  background: #33363a;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fafafa;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  padding-top: 51px;
  padding-bottom: 43px;
}

.brand-footer {
  font-size: 18px;
}

.footer-brand p {
  margin: 13px 0 0 40px;
  color: #92979c;
  font-size: 11px;
}

.footer-links {
  display: flex;
  gap: 95px;
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 11px;
  min-width: 105px;
}

.footer-links strong {
  margin-bottom: 3px;
  font-size: 11px;
}

.footer-links a {
  color: #858a8f;
  font-size: 10px;
}

.footer-links a:hover {
  color: var(--red);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 20px;
  border-top: 1px solid var(--line);
  color: #a0a4a8;
  font-size: 9px;
}

.location-modal[hidden],
.mobile-menu[hidden],
.cart-bar[hidden],
.cart-modal[hidden],
.order-message[hidden] {
  display: none;
}

.location-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 23, 25, 0.55);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 410px);
  padding: 31px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 17px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface);
  color: #6b7075;
  font-size: 20px;
  line-height: 1;
}

.modal-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 25px;
}

.modal-card h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.06em;
}

.modal-card > p:not(.eyebrow) {
  margin: 10px 0 23px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.modal-card form {
  display: grid;
  gap: 8px;
}

.modal-card label {
  color: #6d7277;
  font-size: 10px;
  font-weight: 800;
}

.modal-card input {
  width: 100%;
  height: 47px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: 0;
  font-size: 13px;
}

.modal-card input:focus {
  border-color: var(--red);
}

.modal-card .button {
  margin-top: 8px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 110;
  max-width: min(360px, calc(100% - 44px));
  padding: 13px 17px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(9px);
  transition: opacity 160ms ease, transform 160ms ease;
}

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

.page-hero,
.simple-hero {
  padding-top: 80px;
  padding-bottom: 70px;
}

.page-hero {
  border-bottom: 1px solid var(--line);
}

.page-hero h1,
.simple-hero h1 {
  max-width: 750px;
  font-size: clamp(43px, 6vw, 74px);
}

.page-hero h1 span {
  color: var(--red);
}

.page-hero > p:not(.eyebrow),
.simple-hero > p:not(.eyebrow) {
  max-width: 530px;
  margin: 20px 0 26px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.search-results {
  padding-bottom: 105px;
}

.product-result {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 90px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.product-result:hover {
  border-color: #cfd2d5;
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.result-emoji {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  border-radius: 15px;
  background: var(--red-soft);
  font-size: 28px;
}

.product-result > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.product-result strong,
.product-result small {
  display: block;
}

.product-result strong {
  font-size: 13px;
}

.product-result small {
  margin-top: 4px;
  overflow: hidden;
  color: #8a8f94;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-result > span:last-child {
  color: var(--red);
  font-size: 18px;
}

.empty-state {
  display: grid;
  justify-items: center;
  padding: 70px 20px;
  border: 1px dashed #d9dcdf;
  border-radius: var(--radius-md);
  text-align: center;
}

.empty-state > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  font-size: 28px;
}

.empty-state h3 {
  margin: 18px 0 5px;
  font-size: 19px;
  letter-spacing: -0.04em;
}

.empty-state p {
  max-width: 390px;
  margin: 0 0 21px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.store-cover {
  color: #fff;
}

.store-cover-red {
  background: linear-gradient(135deg, #a80f23, #ed5965);
}

.store-cover-dark {
  background: linear-gradient(135deg, #141619, #484d55);
}

.store-cover-gold {
  background: linear-gradient(135deg, #c77709, #f6c759);
}

.store-cover-inner {
  position: relative;
  display: grid;
  grid-template-columns: 105px 1fr;
  align-items: center;
  gap: 25px;
  min-height: 310px;
  padding-top: 46px;
  padding-bottom: 48px;
}

.back-link {
  position: absolute;
  top: 25px;
  left: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  font-weight: 700;
}

.back-link:hover {
  color: #fff;
}

.store-logo {
  display: grid;
  place-items: center;
  width: 105px;
  height: 105px;
  border: 7px solid rgba(255, 255, 255, 0.9);
  border-radius: 29px;
  background: rgba(255, 255, 255, 0.25);
  font-size: 52px;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
}

.store-heading {
  padding-top: 28px;
}

.store-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 11px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  font-weight: 750;
}

.store-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8cf3ad;
}

.store-heading h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 65px);
  font-weight: 850;
  letter-spacing: -0.08em;
  line-height: 1;
}

.store-heading > p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: 13px;
}

.store-heading > p span {
  margin: 0 5px;
  color: rgba(255, 255, 255, 0.45);
}

.store-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  margin-top: 19px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
}

.store-meta span:first-child {
  color: #fff;
  font-weight: 800;
}

.store-menu {
  padding-top: 55px;
  padding-bottom: 110px;
}

.menu-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 28px;
}

.menu-intro .eyebrow {
  margin-bottom: 8px;
}

.menu-intro h2 {
  font-size: 32px;
}

.outline-button {
  min-height: var(--qf-action-height, 48px);
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.outline-button:hover {
  border-color: var(--red);
  color: var(--red);
}

.category-nav {
  display: flex;
  gap: 9px;
  padding-bottom: 18px;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.category-nav a {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: #6d7277;
  font-size: 10px;
  font-weight: 750;
}

.category-nav a:hover {
  border-color: var(--red);
  color: var(--red);
}

.menu-category {
  padding-top: 34px;
  scroll-margin-top: 105px;
}

.menu-category-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.menu-category-title h3 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.05em;
}

.menu-category-title span {
  color: #9a9fa4;
  font-size: 10px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding-top: 15px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}

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

.product-image {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 158px;
  overflow: hidden;
}

.product-image::before {
  position: absolute;
  width: 125px;
  height: 125px;
  border: 7px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: radial-gradient(circle at 42% 33%, #ffdd8b 0 6%, transparent 6.7%), radial-gradient(circle at 67% 60%, #a92d20 0 7%, transparent 7.6%), conic-gradient(#e86424, #f4b340, #c54724, #e86424);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.16);
  content: "";
  transform: rotate(-7deg);
}

.product-image > span {
  position: relative;
  z-index: 1;
  font-size: 0;
}

.product-image > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 158px;
  object-fit: cover;
}

.product-image-red {
  background: #fff0f2;
}

.product-image-dark {
  background: #f1f2f3;
}

.product-image-gold {
  background: #fff6e2;
}

.product-image b {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 7px;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font-size: 8px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.product-card-content {
  position: relative;
  padding: 15px 15px 17px;
}

.product-card h4,
.product-card p {
  margin: 0;
}

.product-card h4 {
  padding-right: 35px;
  font-size: 13px;
  letter-spacing: -0.025em;
}

.product-card p {
  min-height: 32px;
  margin-top: 6px;
  color: #858b90;
  font-size: 10px;
  line-height: 1.45;
}

.product-card-content > strong {
  display: block;
  margin-top: 12px;
  font-size: 13px;
}

.add-product {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.add-product:hover {
  background: var(--red);
  color: #fff;
  transform: scale(1.06);
}

.cart-bar {
  position: fixed;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 17px;
  width: min(600px, calc(100% - 44px));
  min-height: 62px;
  padding: 9px 10px 9px 17px;
  margin: 0 auto;
  border: 1px solid #2f3236;
  border-radius: 16px;
  background: rgba(21, 23, 25, 0.96);
  color: #fff;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}

.cart-bar > div {
  flex: 1;
  color: rgba(255, 255, 255, 0.65);
  font-size: 10px;
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  margin-right: 7px;
  border-radius: 7px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 850;
}

.cart-bar > strong {
  font-size: 12px;
}

.cart-bar .button {
  min-height: var(--qf-action-height, 48px);
}

.cart-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
}

.cart-modal-card {
  width: min(100%, 590px);
  max-height: min(92vh, 780px);
  overflow: auto;
}

.cart-modal-card h2 {
  margin-bottom: 24px;
}

.cart-modal-items {
  display: grid;
  gap: 8px;
}

.cart-modal-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.cart-modal-item > div:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.cart-modal-item strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-address-book {
  width: min(100%, 1000px);
  margin-top: 16px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.account-address-list {
  display: grid;
  gap: 9px;
}

.account-address {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.account-address-heading {
  display: flex;
  align-items: center;
  gap: 8px;
}

.account-address-heading strong {
  font-size: 12px;
}

.account-address small,
.account-address p {
  display: block;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.account-address p {
  max-width: 720px;
}

.address-default {
  padding: 4px 7px;
  border-radius: 99px;
  background: var(--red-soft);
  color: var(--red-dark);
  font-size: 9px;
  font-weight: 800;
}

.account-address form {
  flex: 0 0 auto;
  margin: 0;
}

.address-form {
  display: grid;
  gap: 9px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.address-form label {
  margin-top: 8px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 750;
}

.address-form label span {
  color: var(--muted);
  font-weight: 500;
}

.address-form input,
.address-form select {
  width: 100%;
  min-height: 43px;
  padding: 0 13px;
  border: 1px solid #d9dbde;
  border-radius: 11px;
  outline: 0;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
}

.address-form input:focus,
.address-form select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(217, 21, 43, 0.1);
}

.address-form .button {
  justify-self: start;
  margin-top: 10px;
}

.saved-address-block {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafafa;
}

.saved-address-block label {
  color: var(--ink);
  font-size: 11px;
  font-weight: 750;
}

.saved-address-block select {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid #d9dbde;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
}

.saved-address-block a {
  color: var(--red);
  font-size: 10px;
  font-weight: 750;
}

@media (max-width: 560px) {
  .auth-card,
  .account-card {
    padding: 28px 20px;
    border-radius: 20px;
  }

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

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

  .account-orders {
    padding: 20px 16px;
  }

  .account-address-book {
    padding: 20px 16px;
  }

  .account-address {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-address form,
  .account-address form .text-danger {
    width: 100%;
  }

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

  .account-actions .button,
  .account-actions form,
  .account-actions .outline-button {
    width: 100%;
  }

  .account-order-actions .outline-button,
  .account-order-actions form {
    width: 100%;
  }
}

/* White-label, SEO e instalação PWA */
.tenant-site .brand-mark,
.tenant-site .button-primary {
  background: var(--tenant-primary);
}

.tenant-site .brand > span:last-child,
.tenant-site .brand > span:last-child > span,
.tenant-site .desktop-nav a:hover,
.tenant-site .login-link:hover,
.tenant-site .text-link span,
.tenant-site .button span,
.tenant-site .operation-card a span,
.tenant-site .tracking-heading h1 span,
.tenant-site .dashboard-number,
.tenant-site .outline-button:hover,
.tenant-site .category-nav a:hover,
.tenant-site .product-card-link:hover {
  color: var(--tenant-primary);
}

.tenant-site .button-primary:hover {
  background: var(--tenant-primary);
  filter: brightness(0.9);
}

.tenant-site .brand-mark {
  box-shadow: 0 5px 12px color-mix(in srgb, var(--tenant-primary) 22%, transparent);
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  object-fit: cover;
}

.store-cover {
  background-color: var(--store-primary, var(--red));
  background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.04)), var(--store-cover-image);
  background-position: center;
  background-size: cover;
}

.store-logo img {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  object-fit: cover;
}

.product-card-link {
  display: inline-block;
}

.product-detail-shell {
  min-height: 650px;
  padding-top: 65px;
  padding-bottom: 100px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 11px;
}

.breadcrumbs a {
  color: var(--ink);
  font-weight: 750;
}

.product-detail-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.product-detail-visual {
  display: grid;
  min-height: 390px;
  place-items: center;
  overflow: hidden;
}

.product-detail-visual span {
  font-size: 100px;
}

.product-detail-visual img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.product-detail-card[data-store-open="false"] .product-detail-visual img {
  filter: grayscale(1);
}

.product-detail-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 48px;
}

.product-detail-copy h1 {
  margin: 9px 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.08em;
  line-height: 0.98;
}

.product-detail-copy > p:not(.eyebrow) {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.product-detail-price {
  margin-top: 24px;
  font-size: 25px;
}

.product-detail-actions {
  margin-top: 26px;
}

.product-detail-actions .button {
  min-height: var(--qf-action-height, 48px);
}

.dashboard-domain-card {
  display: grid;
  gap: 15px;
  margin-top: 14px;
}

.payment-connection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.payment-connection-copy {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.payment-provider-mark {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 11px;
  background: #009ee3;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.payment-connection-copy strong,
.payment-connection-copy small {
  display: block;
}

.payment-connection-copy strong {
  font-size: 12px;
}

.payment-connection-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.payment-connection-action {
  flex: 0 0 auto;
}

.payment-connection-action form {
  margin: 0;
}

.payment-connection-action .button {
  min-height: var(--qf-action-height, 48px);
  padding: 0 13px;
  font-size: 10px;
}

.domain-list {
  display: grid;
  gap: 9px;
}

.domain-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}

.domain-row strong,
.domain-row small {
  display: block;
}

.domain-row strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
}

.domain-row small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.domain-status {
  padding: 6px 8px;
  border-radius: 8px;
  background: var(--red-soft);
  color: var(--red-dark);
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.domain-verification {
  margin: 12px 0 0;
  padding: 12px;
  border-radius: 11px;
  background: #fff8e8;
  color: #79500d;
  font-size: 11px;
  line-height: 1.55;
}

.domain-verification p{margin:6px 0 12px}
.domain-verification label{display:block;margin:12px 0 6px;font-size:11px;font-weight:700}
.domain-copy-row{display:flex;gap:8px;align-items:center;min-width:0}
.domain-copy-row input{flex:1;min-width:0;width:0;min-height:44px;padding:0 10px;border:1px solid #e3d8c3;border-radius:9px;background:#fff;color:#573a0d;font:11px ui-monospace,monospace}
.domain-row .domain-verification .domain-copy-row .outline-button{min-height: var(--qf-action-height, 48px);padding:0 12px;font-size:11px;border-color:#e3d8c3;background:#fff;white-space:nowrap}
.domain-verification small{line-height:1.6;margin-top:10px;color:#79500d}
.domain-verification code{font-size:10px;overflow-wrap:anywhere}
.domain-verification .domain-copy-status{margin:10px 0 0;color:#27835f}
.domain-verification .domain-copy-status[data-state=error]{color:var(--red-dark)}
.domain-next-step{margin-top:12px;border-top:1px solid #eadfc8;padding-top:12px}
.domain-next-step summary{font-weight:700;cursor:pointer;min-height:32px}
.domain-next-step p{margin:6px 0 0}

@media (max-width: 760px) {
  .product-detail-card {
    grid-template-columns: 1fr;
  }

  .product-detail-visual,
  .product-detail-visual img {
    min-height: 270px;
  }

  .product-detail-copy {
    padding: 30px 22px 34px;
  }
}

@media (max-width: 560px) {
  .product-detail-shell {
    padding-top: 43px;
  }

  .payment-connection {
    align-items: flex-start;
    flex-direction: column;
  }

  .payment-connection-action,
  .payment-connection-action form,
  .payment-connection-action .button {
    width: 100%;
  }

  .domain-row {
    grid-template-columns: 1fr;
  }

  .domain-status {
    justify-self: start;
  }
}

.dashboard-shell {
  padding-top: 72px;
  padding-bottom: 100px;
}

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

.dashboard-heading h1 {
  margin: 12px 0 0;
  font-size: clamp(44px, 6vw, 72px);
  letter-spacing: -0.08em;
  line-height: 0.95;
}

.dashboard-heading h1 span {
  color: var(--red);
}

.dashboard-heading p:not(.eyebrow) {
  max-width: 490px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.dashboard-stores {
  display: grid;
  gap: 28px;
}

.dashboard-store {
  display: grid;
  gap: 14px;
}

.dashboard-store-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 0 4px;
}

.dashboard-store-top h2 {
  margin: 12px 0 4px;
  font-size: 29px;
  letter-spacing: -0.06em;
}

.dashboard-store-top p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.store-state-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #858a90;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.store-state-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c0c3c6;
}

.store-state-pill.is-live {
  color: #198749;
}

.store-state-pill.is-live i {
  background: #27a963;
}

.dashboard-card {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.dashboard-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 22px;
}

.dashboard-card-heading h2,
.dashboard-card-heading h3 {
  margin: 9px 0 0;
  letter-spacing: -0.06em;
}

.dashboard-card-heading h2 {
  font-size: 27px;
}

.dashboard-card-heading h3 {
  font-size: 21px;
}

.dashboard-number {
  color: var(--red);
  font-size: 11px;
  font-weight: 850;
}

.dashboard-form,
.product-admin-edit {
  display: grid;
  gap: 9px;
}

.dashboard-form label,
.product-admin-edit label,
.inline-add-form > label {
  margin-top: 8px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 750;
}

.dashboard-form input,
.dashboard-form textarea,
.dashboard-form select,
.product-admin-edit input,
.product-admin-edit textarea,
.product-admin-edit select,
.inline-add-form input {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #d9dbde;
  border-radius: 11px;
  outline: 0;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.dashboard-form textarea,
.product-admin-edit textarea {
  resize: vertical;
}

.dashboard-form input:focus,
.dashboard-form textarea:focus,
.dashboard-form select:focus,
.product-admin-edit input:focus,
.product-admin-edit textarea:focus,
.product-admin-edit select:focus,
.inline-add-form input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(217, 21, 43, 0.1);
}

.form-grid {
  display: grid;
  gap: 10px;
}

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

.form-grid-three {
  grid-template-columns: 1.3fr 0.45fr 1fr;
}

.check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 7px 0;
}

.check-row {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 7px 0 !important;
  color: var(--muted) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}

.check-row input {
  width: 16px !important;
  height: 16px;
  padding: 0 !important;
  accent-color: var(--red);
}

.dashboard-form .button {
  justify-self: start;
  margin-top: 12px;
}

.media-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
  margin-top: 14px;
}

.media-upload-form {
  display: grid;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  gap: 8px;
  padding: 12px;
  border: 1px dashed #cfd2d6;
  border-radius: 12px;
  background: #fafafa;
}

.media-upload-form > label {
  color: var(--ink);
  font-size: 11px;
  font-weight: 750;
}

.media-upload-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.media-upload-form input[type="file"] {
  min-width: 0;
  padding: 8px;
  border: 1px solid #d9dbde;
  border-radius: 9px;
  background: #fff;
  color: var(--muted);
  font-size: 11px;
}

.media-upload-form .button {
  flex: 0 0 auto;
  min-height: var(--qf-action-height, 48px);
  padding: 0 12px;
  font-size: 10px;
}

.media-upload-status,
.form-help {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.media-upload-status.is-success {
  color: #19733f;
}

.media-upload-status.is-error {
  color: var(--red);
}

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

  .media-upload-form,
  .media-upload-row {
    min-width: 0;
    width: 100%;
  }

  .media-upload-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .media-upload-form input[type="file"] {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .media-upload-form .button {
    width: 100%;
  }
}

.dashboard-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 14px;
  margin-top: 14px;
}

.category-list,
.product-admin-list {
  display: grid;
  gap: 8px;
}

.category-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  font-size: 12px;
}

.category-row span {
  flex: 1;
  font-weight: 750;
}

.category-row small {
  color: var(--muted);
  font-size: 10px;
}

.category-row form {
  margin: 0;
}

.icon-delete {
  width: 25px;
  height: 25px;
  border-radius: 7px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 17px;
  line-height: 1;
}

.inline-add-form {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.inline-add-form > div {
  display: flex;
  gap: 7px;
}

.inline-add-form .button {
  flex: 0 0 auto;
  min-height: var(--qf-action-height, 48px);
  padding: 0 13px;
  font-size: 10px;
}

.dashboard-empty {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.product-management {
  margin-top: 14px;
}

.product-admin-row {
  display: grid;
  gap: 9px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.product-admin-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.product-admin-main strong {
  font-size: 13px;
}

.product-admin-main span {
  color: var(--muted);
  font-size: 10px;
}

.product-admin-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.order-management {
  margin-top: 14px;
}

.order-admin-list {
  display: grid;
  gap: 9px;
}

.order-admin-row {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.order-admin-heading,
.order-admin-heading > div,
.order-admin-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
}

.order-admin-heading > div {
  align-items: flex-start;
  flex-direction: column;
  gap: 4px;
}

.order-admin-heading strong {
  font-size: 13px;
}

.order-admin-heading span:not(.order-status) {
  color: var(--muted);
  font-size: 10px;
}

.order-status {
  padding: 6px 8px;
  border-radius: 8px;
  background: var(--red-soft);
  color: var(--red-dark);
  font-size: 9px;
  font-weight: 800;
  text-align: right;
}

.order-status-delivered {
  background: #effbf3;
  color: #19733f;
}

.order-status-canceled,
.order-status-refunded {
  background: #f1f2f3;
  color: var(--muted);
}

.order-admin-items {
  margin: 0;
  line-height: 1.5;
}

.order-admin-summary strong {
  flex: 0 0 auto;
  font-size: 13px;
}

.order-admin-summary span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-admin-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 4px;
}

.order-admin-actions .button {
  min-height: var(--qf-action-height, 48px);
  padding: 0 13px;
  font-size: 10px;
}

.product-admin-actions .button {
  min-height: var(--qf-action-height, 48px);
  padding: 0 14px;
  font-size: 10px;
}

.dashboard-card-lead {
  max-width: 720px;
  margin: -2px 0 18px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.form-label-like {
  margin: 8px 0 7px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 750;
}

.hours-editor {
  display: grid;
  gap: 5px;
  padding-top: 5px;
}

.hours-row {
  display: grid;
  grid-template-columns: 84px 1fr auto 1fr auto;
  align-items: center;
  gap: 7px;
  padding: 5px 0;
}

.hours-row strong {
  font-size: 11px;
}

.hours-row span {
  color: var(--muted);
  font-size: 10px;
}

.hours-row input[type="time"] {
  min-width: 0;
}

.operations-checks {
  align-items: end;
  margin: 0;
}

.zone-list,
.option-group-list,
.option-item-list {
  display: grid;
  gap: 9px;
}

.delivery-zone-card,
.dashboard-operations-card {
  margin-top: 14px;
}

.zone-row,
.option-group-row {
  display: grid;
  gap: 9px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.zone-row + .zone-row {
  margin-top: 0;
}

.zone-row .product-admin-actions {
  align-items: center;
}

.option-management {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.option-management-heading,
.option-group-heading,
.option-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.option-management-heading {
  align-items: flex-start;
  flex-direction: column;
  gap: 3px;
}

.option-management-heading strong {
  font-size: 12px;
}

.option-management-heading small,
.option-group-heading small {
  color: var(--muted);
  font-size: 10px;
}

.option-group-heading > div {
  display: grid;
  gap: 3px;
}

.option-item-list {
  padding: 7px 0 0 10px;
}

.option-item-row {
  justify-content: flex-start;
  padding: 7px 9px;
  border-radius: 9px;
  background: #f8f8f8;
  font-size: 11px;
}

.option-item-row span {
  flex: 1;
}

.option-item-row small {
  color: var(--muted);
  font-size: 10px;
}

.option-item-row form,
.option-group-heading form {
  margin: 0;
}

.option-item-form,
.option-group-form {
  margin-top: 6px;
}

.text-danger {
  padding: 8px 0;
  background: transparent;
  color: var(--red);
  font-size: 11px;
  font-weight: 750;
}

.dashboard-message {
  margin: -12px 0 25px;
  padding: 13px 15px;
  border-radius: 11px;
  font-size: 12px;
}

.dashboard-message-error {
  border: 1px solid #f4b9c0;
  background: var(--red-soft);
  color: var(--red-dark);
}

.dashboard-message-success {
  border: 1px solid #b9e6cc;
  background: #effbf3;
  color: #19733f;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.admin-stat {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.admin-stat strong {
  display: block;
  margin-top: 7px;
  font-size: 28px;
  letter-spacing: -0.06em;
}

.admin-stat span {
  color: var(--muted);
  font-size: 10px;
}

.admin-review-list {
  display: grid;
  gap: 9px;
}

.admin-review-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}

.admin-review-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-review-main strong {
  font-size: 12px;
}

.admin-review-main small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.admin-review-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-review-actions form {
  margin: 0;
}

.admin-review-actions > .outline-button {
  min-height: var(--qf-action-height, 48px);
  font-size: 10px;
}

.admin-review-note {
  max-width: 260px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  text-align: right;
}

@media (max-width: 760px) {
  .admin-stat-grid {
    grid-template-columns: 1fr;
  }

  .admin-review-row {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-review-actions {
    width: 100%;
  }

  .admin-review-actions form,
  .admin-review-actions button,
  .admin-review-actions > .outline-button {
    width: 100%;
  }

  .admin-review-note {
    max-width: none;
    text-align: left;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .dashboard-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .dashboard-shell {
    padding-top: 48px;
  }

  .dashboard-heading,
  .dashboard-store-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-heading .outline-button {
    width: 100%;
  }

  .dashboard-card {
    padding: 20px 16px;
  }

  .form-grid-two,
  .form-grid-three {
    grid-template-columns: 1fr;
  }

  .media-upload-grid {
    grid-template-columns: 1fr;
  }

  .media-upload-row {
    align-items: stretch;
    flex-direction: column;
  }

  .media-upload-form .button {
    width: 100%;
  }

  .product-admin-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .inline-add-form > div {
    align-items: stretch;
    flex-direction: column;
  }

  .hours-row {
    grid-template-columns: minmax(78px, 1fr) auto minmax(78px, 1fr);
    gap: 5px;
    padding-block: 7px;
    border-bottom: 1px solid #eceef1;
  }

  .hours-row strong { grid-column: 1; grid-row: 1; }
  .hours-row > input[type="time"]:first-of-type { grid-column: 1; grid-row: 2; }
  .hours-row > span { grid-column: 2; grid-row: 2; text-align: center; }
  .hours-row > input[type="time"]:last-of-type { grid-column: 3 / 5; grid-row: 2; }
  .hours-row .check-row { grid-column: 2 / 5; grid-row: 1; justify-self: end; }
}

.courier-shell {
  padding-bottom: 96px;
}

.courier-status-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 10px 0 14px;
  padding: 24px;
  border-radius: 20px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.courier-status-copy h2 {
  margin: 9px 0 6px;
  font-size: 26px;
  letter-spacing: -0.06em;
}

.courier-status-copy p:last-child {
  margin: 0;
  color: #c8cbd0;
  font-size: 12px;
}

.courier-status-copy .eyebrow {
  color: #ffb6bf;
}

.courier-status-actions,
.courier-offer-actions,
.courier-active-actions,
.courier-link-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.courier-status-actions .button {
  min-height: var(--qf-action-height, 48px);
  padding: 0 13px;
  font-size: 10px;
}

.courier-availability {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid #3a3d42;
  border-radius: 99px;
  color: #f0f1f2;
  font-size: 10px;
  font-weight: 750;
}

.courier-availability i,
.courier-location-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #979ba1;
}

.courier-availability-available i,
.courier-location-dot {
  background: #44c879;
  box-shadow: 0 0 0 4px rgba(68, 200, 121, 0.13);
}

.courier-availability-busy i {
  background: #ffba45;
}

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

.courier-intro,
.dashboard-card-lead {
  margin: -8px 0 21px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.courier-offer-list,
.courier-link-list {
  display: grid;
  gap: 9px;
}

.courier-document-list {
  display: grid;
  gap: 9px;
}

.courier-document-row {
  display: grid;
  gap: 13px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.courier-document-row > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.courier-document-row strong {
  font-size: 12px;
}

.courier-document-row form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.courier-document-row input[type="file"] {
  min-width: 0;
  flex: 1 1 230px;
  color: var(--muted);
  font-size: 10px;
}

.courier-document-row .button {
  min-height: var(--qf-action-height, 48px);
  padding: 0 12px;
  font-size: 10px;
}

.courier-document-status {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.courier-document-status-approved {
  color: #198749;
}

.courier-document-status-rejected {
  color: var(--red);
}

.courier-offer,
.courier-active-delivery,
.courier-link-row {
  display: grid;
  gap: 10px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.courier-offer-heading,
.courier-offer-heading > div,
.courier-offer-footer,
.courier-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.courier-offer-heading > div {
  align-items: flex-start;
  flex-direction: column;
  gap: 4px;
}

.courier-offer-heading strong,
.courier-link-row strong {
  font-size: 12px;
}

.courier-offer-heading span:not(.order-status),
.courier-link-row small {
  color: var(--muted);
  font-size: 10px;
}

.courier-offer > p,
.courier-active-delivery > p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.courier-offer-footer strong {
  font-size: 14px;
}

.courier-offer-actions .button,
.courier-active-actions .button,
.courier-link-actions .button {
  min-height: var(--qf-action-height, 48px);
  padding: 0 12px;
  font-size: 10px;
}

.courier-link-row {
  justify-content: flex-start;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.courier-link-icon,
.courier-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 17px;
}

.courier-link-row > span:nth-child(2) {
  display: grid;
  gap: 4px;
}

.courier-link-state {
  color: var(--muted);
  font-size: 10px;
  text-align: right;
}

.courier-link-review {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.courier-link-review .courier-link-actions {
  grid-column: 2 / -1;
  justify-content: flex-end;
}

.courier-location-control {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  border-radius: 10px;
  background: #f7f8f9;
  color: var(--muted);
  font-size: 10px;
}

.delivery-operation {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid #f4c0c6;
  border-radius: 11px;
  background: #fff7f8;
  color: var(--red-dark);
  font-size: 11px;
  line-height: 1.45;
}

.delivery-operation small {
  color: var(--muted);
  font-size: 10px;
}

.delivery-operation form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.delivery-operation .button,
.delivery-operation .outline-button {
  min-height: var(--qf-action-height, 48px);
  padding: 0 11px;
  font-size: 10px;
}

.tracking-shell {
  min-height: 680px;
  padding-top: 70px;
  padding-bottom: 100px;
}

.tracking-heading,
.tracking-heading > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.tracking-heading > div {
  flex-direction: column;
  gap: 7px;
}

.tracking-heading h1 {
  margin: 5px 0 0;
  font-size: clamp(35px, 6vw, 62px);
  letter-spacing: -0.08em;
  line-height: 0.96;
}

.tracking-heading h1 span {
  color: var(--red);
}

.tracking-heading p:last-child {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.tracking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 14px;
  margin-top: 30px;
}

.tracking-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.tracking-main-card {
  overflow: hidden;
}

.tracking-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 23px 17px;
}

.tracking-card-heading h2 {
  margin: 8px 0 0;
  font-size: 24px;
  letter-spacing: -0.06em;
}

.tracking-map {
  min-height: 340px;
  background: #eef1f2;
}

.tracking-map-frame {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
}

.tracking-map-empty {
  display: grid;
  min-height: 340px;
  padding: 32px;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  background: radial-gradient(circle at 25% 30%, rgba(217, 21, 43, 0.09), transparent 28%), linear-gradient(135deg, #f4f6f7 25%, transparent 25%) 0 0 / 26px 26px, linear-gradient(225deg, #f4f6f7 25%, transparent 25%) 0 0 / 26px 26px, linear-gradient(45deg, #f4f6f7 25%, transparent 25%) 13px 13px / 26px 26px, linear-gradient(315deg, #f4f6f7 25%, #eef1f2 25%) 13px 13px / 26px 26px;
}

.tracking-location-meta {
  padding: 10px 23px;
  border-top: 1px solid var(--line);
  color: #24794c;
  font-size: 10px;
  line-height: 1.45;
  background: #f4fbf6;
}

.tracking-location-stale,
.tracking-location-offline {
  color: #8d6014;
  background: #fff8e9;
}

.tracking-location-waiting {
  color: var(--muted);
  background: #f7f8f9;
}

.tracking-courier {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 17px 23px 21px;
  border-top: 1px solid var(--line);
}

.tracking-courier > span:last-child {
  display: grid;
  gap: 4px;
}

.tracking-courier strong {
  font-size: 12px;
}

.tracking-courier small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.tracking-side-card {
  padding: 23px;
}

.tracking-side-summary {
  display: grid;
  gap: 6px;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--line);
}

.tracking-side-summary span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tracking-side-summary strong {
  font-size: 13px;
  line-height: 1.4;
}

.tracking-timeline {
  padding-top: 23px;
}

.tracking-timeline ol {
  display: grid;
  gap: 16px;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.tracking-timeline li {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 11px;
}

.tracking-timeline li > span:last-child {
  display: grid;
  gap: 4px;
  margin-top: -2px;
}

.tracking-timeline strong {
  font-size: 11px;
}

.tracking-timeline small {
  color: var(--muted);
  font-size: 10px;
}

.timeline-dot {
  width: 9px;
  height: 9px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px var(--red-soft);
}

@media (max-width: 900px) {
  .courier-columns,
  .tracking-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .courier-status-card,
  .tracking-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .courier-status-card,
  .tracking-side-card,
  .tracking-card-heading,
  .tracking-courier {
    padding-right: 16px;
    padding-left: 16px;
  }

  .courier-status-actions,
  .courier-status-actions .courier-availability-form,
  .courier-status-actions .button,
  .courier-offer-actions,
  .courier-offer-actions form,
  .courier-offer-actions .button,
  .courier-active-actions,
  .courier-active-actions form,
  .courier-active-actions .button,
  .courier-document-row form,
  .courier-document-row input[type="file"],
  .courier-document-row .button,
  .delivery-operation form,
  .delivery-operation .button,
  .delivery-operation .outline-button {
    width: 100%;
  }

  .courier-offer-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .courier-link-row,
  .courier-link-review {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .courier-link-state,
  .courier-link-review .courier-link-actions {
    grid-column: 2;
    justify-content: flex-start;
    text-align: left;
  }

  .tracking-map,
  .tracking-map-frame,
  .tracking-map-empty {
    min-height: 260px;
    height: 260px;
  }

  .tracking-location-meta {
    padding-right: 16px;
    padding-left: 16px;
  }
}

/* Product engine: variations, sizes and composition rules */
.variant-editor {
  display: grid;
  gap: 12px;
  margin: 17px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcfc;
}

.variant-editor legend {
  padding: 0 6px;
  color: var(--ink);
  font-weight: 700;
}

.variant-editor legend span,
.variant-row label span {
  color: var(--muted);
  font-weight: 400;
}

.variant-editor .form-help {
  margin: 0;
}

.variant-rows {
  display: grid;
  gap: 10px;
}

.variant-row {
  display: grid;
  grid-template-columns: minmax(150px, 2fr) minmax(100px, 1fr) minmax(100px, 1fr) auto auto;
  align-items: end;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.variant-row > div {
  min-width: 0;
}

.variant-row label:not(.check-row) {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}

.variant-row input {
  width: 100%;
}

.variant-row .variant-default {
  align-self: center;
  white-space: nowrap;
}

.variant-row .icon-delete {
  align-self: center;
}

.variant-editor-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.option-group-settings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfc;
}

.option-group-settings .form-help {
  grid-column: 1 / -1;
  margin: 0;
}

.option-group-settings label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}

.slot-count-label {
  display: grid;
  gap: 6px;
}

.slot-count-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.slot-count-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: .88rem;
}

.variant-choice-list {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
}

.variant-choice-list label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-options-price {
  margin: 12px 0 0;
  color: var(--ink);
  font-weight: 700;
}

.cart-item-variant {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: .86rem;
}

@media (max-width: 760px) {
  .variant-row {
    grid-template-columns: 1fr 1fr;
  }

  .variant-row > div:first-of-type {
    grid-column: 1 / -1;
  }

  .variant-row .variant-default {
    grid-column: 1 / 2;
  }

  .variant-row .icon-delete {
    justify-self: end;
  }

  .option-group-settings {
    grid-template-columns: 1fr;
  }

  .option-group-settings .form-help {
    grid-column: auto;
  }
}

.store-visual-with-cover {
  background-color: #2e3135;
  background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.12)), var(--store-card-cover);
  background-position: center;
  background-size: cover;
}

.store-card[data-store-open="false"] .store-visual {
  filter: grayscale(1);
}

.store-card-logo {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 92px;
  padding: 7px;
  border: 5px solid rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.22);
  object-fit: contain;
}

[hidden] {
  display: none !important;
}

/* Pizza customization: one clear choice per step. */
.product-options-intro {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.option-fieldset-help {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.slot-pricing-note {
  display: block;
  margin: 1px 0 4px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 750;
}

.slot-count-label {
  margin-top: 7px;
}

.slot-count-label > strong {
  display: block;
  font-size: 12px;
}

.slot-count-label > small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.slot-count-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.slot-count-option {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.slot-count-option:has(input:checked) {
  border-color: var(--red);
  background: var(--red-soft);
  box-shadow: 0 0 0 1px rgba(217, 21, 43, .12);
}

.slot-count-option input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  accent-color: var(--red);
}

.slot-count-option span {
  display: grid;
  gap: 2px;
}

.slot-count-option strong {
  font-size: 12px;
}

.slot-count-option small {
  color: var(--muted);
  font-size: 10px;
}

.slot-fields {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.slot-choice {
  display: grid;
  grid-template-columns: minmax(105px, .46fr) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.slot-choice > span {
  display: grid;
  gap: 2px;
}

.slot-choice > span strong {
  font-size: 12px;
}

.slot-choice > span small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.3;
}

.slot-choice select {
  min-width: 0;
}

.slot-configuration-warning,
.product-config-warning,
.option-group-warning {
  padding: 10px 11px;
  border-radius: 9px;
  background: #fff6e8;
  color: #8a5200;
  font-size: 11px;
  line-height: 1.45;
}

.product-config-warning {
  margin: 10px 0 0;
}

.option-group-guide {
  display: grid;
  gap: 3px;
  margin: 0 0 12px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfc;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.option-group-guide strong {
  color: var(--ink);
  font-size: 12px;
}

.option-group-settings-heading {
  display: grid;
  gap: 3px;
  grid-column: 1 / -1;
}

.option-group-settings-heading strong {
  color: var(--ink);
  font-size: 12px;
}

.option-group-settings-heading small,
.option-group-setting-field small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.option-group-setting-field {
  display: grid;
  gap: 5px;
}

.option-group-setting-field > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

@media (max-width: 560px) {
  .slot-count-options {
    grid-template-columns: 1fr;
  }

  .slot-choice {
    grid-template-columns: 1fr;
    gap: 7px;
  }
}

.slot-base-choice {
  border-color: #cfd3d8;
  background: #f6f7f8;
}

.slot-base-choice > strong {
  color: var(--ink);
  font-size: 12px;
  text-align: right;
}

/* Category onboarding: keep each rule visible and understandable. */
.category-setup-card .dashboard-card-heading {
  align-items: flex-start;
}

.category-setup-card .dashboard-card-lead {
  max-width: 470px;
}

.category-create-box {
  display: grid;
  gap: 0;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #e6e8ec;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
  box-shadow: 0 10px 28px rgba(28, 31, 36, .05);
}

.category-create-heading,
.category-option-create-heading {
  display: grid;
  gap: 4px;
}

.category-create-heading strong,
.category-option-create-heading strong {
  color: var(--ink);
  font-size: 16px;
  letter-spacing: -.025em;
}

.category-create-heading small,
.category-template-help,
.category-option-create-heading small,
.category-option-limits-heading small,
.category-option-setting-field small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.category-create-heading small {
  max-width: 540px;
  color: #5f6670;
  font-size: 12px;
}

.category-create-form,
.category-option-create-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.category-create-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.category-create-field,
.category-option-create-fields label {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.category-create-field {
  padding: 15px;
  border: 1px solid #dfe3e8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(28, 31, 36, .045);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.category-create-field:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(217, 21, 43, .1);
}

.category-create-field-heading {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-height: 31px;
}

.category-create-field-heading > span:last-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.category-create-field-heading strong {
  color: var(--ink);
  font-size: 13px;
  letter-spacing: -.01em;
}

.category-create-field-heading small {
  color: #5f6670;
  font-size: 11px;
  line-height: 1.45;
}

.category-create-step {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #f4cbd0;
  border-radius: 10px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 11px;
  font-weight: 850;
}

.category-create-field input,
.category-create-field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d8dce2;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
}

.category-create-field input::placeholder {
  color: #9aa0a8;
}

.category-option-create-fields label > span,
.category-option-limits-fields label > span {
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.category-template-help {
  margin: 0;
  padding: 12px 13px;
  border: 1px solid #f2d3d8;
  border-left: 4px solid var(--red);
  border-radius: 11px;
  background: #fff6f7;
  color: #4e555e;
  font-size: 12px;
  line-height: 1.5;
}

.category-create-form .button {
  justify-self: start;
  min-height: var(--qf-action-height, 48px);
  padding: 0 17px;
  border-radius: 12px;
  font-size: 11px;
  box-shadow: 0 7px 16px rgba(217, 21, 43, .14);
}

.category-option-management {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.category-option-create {
  display: grid;
  gap: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.category-option-create-heading {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.category-option-create-heading .form-step-label {
  margin-bottom: 1px;
}

.category-option-create-form {
  margin-top: 14px;
}

.category-option-create-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.category-option-create-fields .option-group-setting-field,
.category-option-limits-fields .option-group-setting-field {
  align-content: start;
  min-width: 0;
}

.category-option-create-fields .option-group-setting-field small {
  margin-top: 1px;
}

.category-option-limits {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e1e5e9;
  border-radius: 13px;
  background: #f8fafb;
}

.category-option-limits-heading {
  display: grid;
  grid-column: 1 / -1;
  gap: 3px;
}

.category-option-limits-heading strong {
  color: var(--ink);
  font-size: 13px;
}

.category-option-limits-fields {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.category-option-limits-fields input {
  min-height: 44px;
  border-radius: 11px;
  background: #fff;
  font-size: 13px;
}

.category-option-create-form > .check-row {
  margin: 0;
}

.category-option-create-form > .button {
  justify-self: start;
  min-width: 180px;
  min-height: var(--qf-action-height, 48px);
  border-radius: 12px;
}

.option-group-badge {
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff1f2;
  color: var(--red-dark);
  font-size: 10px;
  font-weight: 750;
}

.form-step-label {
  color: var(--red);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .1em;
}

.category-pizza-rule-form {
  grid-template-columns: minmax(0, 1fr);
  background: #fffaf9;
  border-color: #f1d8d2;
}

.category-pizza-rule-form .option-group-settings-heading {
  padding-bottom: 2px;
}

.category-rule-fieldset {
  min-width: 0;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.category-rule-fieldset legend {
  padding: 0 4px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.category-rule-fieldset > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

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

.category-slot-choice,
.category-price-choice {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
}

.category-slot-choice:has(input:checked),
.category-price-choice:has(input:checked) {
  border-color: var(--red);
  background: var(--red-soft);
}

.category-slot-choice input,
.category-price-choice input {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  accent-color: var(--red);
}

.category-slot-choice span,
.category-price-choice span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.category-slot-choice strong,
.category-price-choice strong {
  font-size: 11px;
}

.category-slot-choice small,
.category-price-choice small {
  color: var(--muted);
  font-size: 9px;
}

.category-price-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.category-rule-summary {
  margin: 0;
  padding: 9px 10px;
  border-radius: 9px;
  background: #fff6e8;
  color: #8a5200;
  font-size: 10px;
  line-height: 1.45;
}

/* Prevent nested forms from compressing labels and controls into one line. */
.option-group-settings {
  grid-template-columns: minmax(0, 1fr);
}

.option-group-settings > .form-grid-three,
.option-group-settings > .form-grid-two,
.option-group-settings > .check-row,
.option-group-settings > .button,
.option-group-settings > .category-rule-fieldset,
.option-group-settings > .category-rule-summary {
  grid-column: 1 / -1;
}

.option-group-settings > .form-grid-three,
.option-group-settings > .form-grid-two {
  display: grid;
  gap: 10px;
}

.option-group-settings > .form-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.option-group-settings > .form-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 760px) {
  .category-create-fields,
  .category-option-create-fields,
  .category-option-limits,
  .option-group-settings > .form-grid-three,
  .option-group-settings > .form-grid-two {
    grid-template-columns: 1fr;
  }

  .category-option-create-form > .button {
    width: 100%;
    justify-self: stretch;
  }

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

@media (max-width: 420px) {
  .category-slot-options,
  .category-price-options,
  .category-option-limits-fields {
    grid-template-columns: 1fr;
  }
}

/* Shared group settings: readable controls and clear hierarchy. */
.option-group-settings {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid #e5e8ec;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
  box-shadow: 0 8px 22px rgba(28, 31, 36, .045);
}

.option-group-settings-heading {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.option-group-settings-heading strong {
  color: var(--ink);
  font-size: 14px;
  letter-spacing: -.02em;
}

.option-group-settings-heading small,
.option-group-setting-card small {
  color: #5f6670;
  font-size: 11px;
  line-height: 1.45;
}

.option-group-settings-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.option-group-setting-card {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #dfe3e8;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(28, 31, 36, .035);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.option-group-setting-card:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(217, 21, 43, .1);
}

.option-group-setting-card > span {
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.option-group-setting-card input,
.option-group-setting-card select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d8dce2;
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
}

.option-group-setting-card-wide {
  width: 100%;
}

.option-group-settings-limits {
  display: grid;
  gap: 11px;
  padding: 13px;
  border: 1px solid #e1e5e9;
  border-radius: 13px;
  background: #f8fafb;
}

.option-group-settings-limits-heading {
  display: grid;
  grid-column: 1 / -1;
  gap: 3px;
}

.option-group-settings-limits-heading strong {
  color: var(--ink);
  font-size: 13px;
}

.option-group-settings-limits-heading small {
  color: #5f6670;
  font-size: 11px;
  line-height: 1.45;
}

.option-group-settings-limits-fields {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.option-group-settings-limits-fields .option-group-setting-card {
  padding: 10px;
}

.option-group-settings > .check-row {
  margin: 0;
  padding: 2px 0;
  color: #4f5660;
  font-size: 11px;
}

.option-group-settings > .button {
  justify-self: start;
  min-height: var(--qf-action-height, 48px);
  min-width: 170px;
  border-radius: 12px;
  font-size: 11px;
}

.category-existing-groups {
  display: grid;
  gap: 10px;
  margin-top: 2px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.category-existing-heading {
  display: grid;
  gap: 3px;
}

.category-existing-heading strong {
  color: var(--ink);
  font-size: 13px;
  letter-spacing: -.01em;
}

.category-existing-heading small {
  color: #5f6670;
  font-size: 11px;
  line-height: 1.45;
}

@media (max-width: 420px) {
  .option-group-settings-limits-fields {
    grid-template-columns: 1fr;
  }

  .option-group-settings > .button {
    width: 100%;
    justify-self: stretch;
  }
}

/* Compact min/max quantity controls. */
.quantity-choice-fields {
  display: grid;
  grid-template-columns: minmax(86px, 1fr) auto minmax(86px, 1fr);
  align-items: center;
  justify-content: stretch;
  gap: 10px;
}

.quantity-choice-field {
  display: grid;
  width: 100%;
  min-width: 0;
  justify-items: center;
  align-items: start;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
}

.quantity-choice-label {
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.quantity-choice-box {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  padding: 0;
  border: 1px solid #dfe3e8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(28, 31, 36, .05);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.quantity-choice-box:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(217, 21, 43, .1);
}

.quantity-choice-input {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.quantity-choice-input:focus {
  outline: none;
}

.quantity-choice-divider {
  align-self: center;
  color: #9aa0a8;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

@media (max-width: 420px) {
  .quantity-choice-fields {
    grid-template-columns: minmax(72px, 1fr) auto minmax(72px, 1fr);
    gap: 8px;
  }

  .quantity-choice-box {
    width: 56px;
    height: 56px;
  }

  .quantity-choice-label {
    font-size: 9px;
  }
}

/* Keep quantity heading and controls on separate rows. */
.category-option-limits,
.option-group-settings-limits {
  display: block;
}

.category-option-limits-heading,
.category-option-limits-fields,
.option-group-settings-limits-heading,
.option-group-settings-limits-fields {
  width: 100%;
}

.category-option-limits-fields,
.option-group-settings-limits-fields {
  margin-top: 12px;
}

/* Organização do editor de cardápio */
.dashboard-card-subtitle {
  margin: 6px 0 0;
  color: var(--muted, #6b7280);
  font-size: .9rem;
  line-height: 1.45;
}

.category-list,
.product-admin-sections {
  display: grid;
  gap: 12px;
}

.category-admin-block,
.product-admin-details,
.option-group-row {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, .1);
  border-radius: 16px;
  background: #fff;
}

.category-admin-block > summary,
.product-admin-details > summary,
.option-group-row > summary {
  list-style: none;
}

.category-admin-block > summary::-webkit-details-marker,
.product-admin-details > summary::-webkit-details-marker,
.option-group-row > summary::-webkit-details-marker {
  display: none;
}

.category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 16px 18px;
  cursor: pointer;
  transition: background .18s ease;
}

.category-row:hover,
.product-admin-summary:hover,
.option-group-heading:hover {
  background: #fff8f7;
}

.category-row-copy,
.category-row-actions,
.product-admin-summary-copy,
.product-admin-summary-action {
  display: flex;
  align-items: center;
}

.category-row-copy {
  min-width: 0;
  gap: 10px;
}

.category-row-copy strong {
  color: #111827;
  font-size: 1rem;
}

.category-row-copy small,
.product-admin-category {
  color: #6b7280;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.category-row-actions {
  flex: 0 0 auto;
  gap: 12px;
}

.category-row-actions form,
.option-group-heading form {
  margin: 0;
}

.category-row-toggle,
.product-admin-summary-action > span,
.option-group-toggle {
  color: #9b1c1c;
  font-size: 1.1rem;
  font-weight: 800;
  transition: transform .18s ease;
}

.category-admin-block[open] .category-row-toggle,
.product-admin-details[open] .product-admin-summary-action > span,
.option-group-row[open] .option-group-toggle {
  transform: rotate(180deg);
}

.category-admin-content,
.product-admin-details-content,
.option-group-content {
  border-top: 1px solid rgba(17, 24, 39, .08);
}

.category-admin-content {
  padding: 16px;
  background: #fffdfd;
}

.product-admin-sections {
  margin-top: 8px;
}

.product-category-section {
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, .1);
  border-radius: 18px;
  background: #f8fafc;
}

.product-category-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(17, 24, 39, .08);
}

.product-category-heading .form-step-label {
  display: block;
  margin-bottom: 4px;
}

.product-category-heading h4 {
  margin: 0;
  color: #111827;
  font-size: 1.05rem;
}

.product-category-count {
  flex: 0 0 auto;
  color: #6b7280;
  font-size: .85rem;
  font-weight: 700;
}

.product-category-section .product-admin-list {
  gap: 10px;
  padding: 12px;
}

.product-category-empty {
  margin: 0;
  padding: 8px 4px 4px;
}

.product-admin-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  cursor: pointer;
}

.product-admin-summary-copy {
  min-width: 0;
  align-items: flex-start;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
}

.product-admin-summary-copy strong {
  overflow: hidden;
  max-width: 100%;
  color: #111827;
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-admin-summary-copy > span:last-child {
  color: #6b7280;
  font-size: .86rem;
}

.product-admin-summary-action {
  flex: 0 0 auto;
  gap: 8px;
  color: #9b1c1c;
  font-size: .88rem;
  font-weight: 800;
}

.product-admin-details-content {
  padding: 18px;
  background: #fff;
}

.product-admin-details-content > .option-management {
  margin-top: 20px;
}

.option-group-list {
  display: grid;
  gap: 10px;
}

.option-group-row {
  border-radius: 14px;
  background: #fff;
}

.option-group-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
}

.option-group-heading > div {
  min-width: 0;
  flex: 1 1 auto;
}

.option-group-heading strong,
.option-group-heading small {
  display: block;
}

.option-group-heading strong {
  color: #111827;
}

.option-group-heading small {
  margin-top: 3px;
  color: #6b7280;
  font-size: .82rem;
}

.option-group-heading form {
  flex: 0 0 auto;
}

.option-group-content {
  padding: 16px;
  background: #fffdfd;
}

@media (max-width: 720px) {
  .category-row,
  .product-admin-summary,
  .product-category-heading {
    align-items: flex-start;
  }

  .category-row,
  .product-admin-summary {
    gap: 12px;
  }

  .category-row-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .category-row-actions {
    gap: 8px;
  }

  .product-admin-summary-action {
    padding-top: 2px;
    font-size: .8rem;
  }

  .product-admin-summary-action > span {
    font-size: 1rem;
  }

  .product-category-heading {
    flex-direction: column;
    gap: 6px;
  }

  .product-category-count {
    align-self: flex-start;
  }

  .category-admin-content,
  .product-admin-details-content,
  .option-group-content {
    padding: 14px;
  }

  .option-group-heading {
    align-items: flex-start;
  }

  .option-group-heading > div {
    padding-top: 1px;
  }
}

/* Keep product customization scroll inside the modal on desktop and touch devices. */
html.product-options-open,
html.product-options-open body {
  overflow: hidden;
  overscroll-behavior: none;
}

.product-options-modal {
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.product-options-modal .modal-backdrop {
  touch-action: none;
}

.product-options-card {
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

/* Guided product customization: one decision per screen. */
.product-options-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-options-card form {
  min-width: 0;
}

.product-options-progress {
  display: grid;
  gap: 9px;
  margin: 2px 0 12px;
}

.product-options-progress > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.product-options-progress [data-product-options-step-label] {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.product-options-progress [data-product-options-step-title] {
  color: var(--ink);
  font-size: 11px;
}

.product-options-progress-track {
  display: block;
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: #ececef;
}

.product-options-progress-track i {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: var(--red);
  transition: width .2s ease;
}

.product-options-content,
.product-options-card [data-product-options-content] {
  min-height: 220px;
}

.product-options-card [data-product-options-content] .product-options-intro {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.product-options-card [data-product-options-content] > .option-fieldset {
  padding-top: 4px;
  border-top: 0;
}

.product-options-card .product-options-actions {
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  margin-top: 0;
  padding-block: 4px;
  border-top: 1px solid var(--line);
}

.product-options-card .product-options-actions .button,
.product-options-card .product-options-actions .outline-button {
  min-height: var(--qf-action-height, 48px);
}

@media (max-width: 560px) {
  .product-options-modal {
    place-items: end center;
    padding: 0;
  }

  .product-options-card {
    width: 100%;
    min-height: min(100dvh, 760px);
    max-height: 100dvh;
    padding: 25px 19px 17px;
    border-radius: 22px 22px 0 0;
  }

  .product-options-content,
  .product-options-card [data-product-options-content] {
    min-height: 0;
  }
}

/* Ajustes de compatibilidade com os estilos legados do painel */
.category-row {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.category-row > .category-row-copy {
  flex: 1 1 auto;
}

.category-row > .category-row-actions {
  flex: 0 0 auto;
}

.product-admin-details,
.option-group-row {
  padding: 0;
}

/* Redesign compacto do painel */
.dashboard-store {
  max-width: 860px;
  margin-inline: auto;
}

.dashboard-quick-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.dashboard-quick-nav a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 11px 12px;
  color: var(--ink, #151515);
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.dashboard-quick-nav a:hover {
  border-color: #d71920;
  box-shadow: 0 8px 24px rgba(20, 20, 20, .07);
  transform: translateY(-1px);
}

.dashboard-quick-nav a span {
  color: #d71920;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.dashboard-quick-nav a strong {
  overflow: hidden;
  font-size: .82rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-quick-nav a small {
  color: #8b8b8b;
  font-size: .74rem;
}

.dashboard-section {
  overflow: hidden;
  margin: 12px 0;
  padding: 0;
}

.dashboard-section > summary {
  list-style: none;
  cursor: pointer;
}

.dashboard-section > summary::-webkit-details-marker,
.product-category-section > summary::-webkit-details-marker,
.product-admin-details > summary::-webkit-details-marker,
.category-admin-block > summary::-webkit-details-marker,
.inline-disclosure > summary::-webkit-details-marker,
.product-supporting-content > summary::-webkit-details-marker {
  display: none;
}

.dashboard-section-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 18px 22px;
  border: 0;
}

.dashboard-section-summary::after {
  content: '+';
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #d71920;
  border: 1px solid #f0c5c7;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
}

.dashboard-section[open] > .dashboard-section-summary::after {
  content: '−';
}

.dashboard-section-summary h3 {
  margin: 3px 0 0;
}

.dashboard-section-summary .eyebrow {
  margin: 0;
}

.dashboard-section-summary-meta {
  margin-left: auto;
  color: #8b8b8b;
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
}

.dashboard-section-summary-meta span {
  display: none;
}

.dashboard-section-body {
  padding: 0 22px 22px;
  border-top: 1px solid #f0f0f0;
}

.dashboard-section-body > .dashboard-form,
.dashboard-section-body > .category-create-box,
.dashboard-section-body > .category-list,
.dashboard-section-body > .product-admin-sections {
  margin-top: 18px;
}

.dashboard-section-body .dashboard-form {
  gap: 14px;
}

.category-create-box {
  padding: 16px;
  background: #fafafa;
  border: 1px solid #ededed;
  border-radius: 16px;
}

.category-create-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}

.category-create-heading strong {
  font-size: 1rem;
}

.category-create-fields {
  gap: 10px;
}

.category-create-field-heading {
  margin-bottom: 6px;
}

.category-create-field-heading strong {
  font-size: .78rem;
}

.category-list {
  display: grid;
  gap: 8px;
}

.category-admin-block {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
}

.category-admin-block[open] {
  border-color: #d8d8d8;
  box-shadow: 0 8px 24px rgba(20, 20, 20, .05);
}

.category-row {
  min-height: 58px;
  padding: 12px 14px;
}

.category-row-copy small {
  display: block;
  margin-top: 3px;
  color: #8d8d8d;
  font-size: .72rem;
}

.category-admin-content {
  padding: 0 14px 14px;
  border-top: 1px solid #f0f0f0;
}

.product-management .dashboard-section-body {
  padding-bottom: 18px;
}

.product-admin-sections {
  display: grid;
  gap: 8px;
}

.product-category-section {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
}

.product-category-section[open] {
  border-color: #d6d6d6;
}

.product-category-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}

.product-category-heading h4 {
  margin: 3px 0 0;
}

.product-category-count {
  color: #8b8b8b;
  font-size: .74rem;
  font-weight: 700;
  white-space: nowrap;
}

.product-category-toggle {
  display: inline-block;
  margin-left: 5px;
  color: #d71920;
  font-size: 1rem;
}

.product-category-section[open] .product-category-toggle,
.product-admin-details[open] .product-admin-summary-action span,
.inline-disclosure[open] summary span,
.product-supporting-content[open] summary span {
  transform: rotate(180deg);
}

.product-admin-list {
  display: grid;
  gap: 8px;
  padding: 0 10px 10px;
}

.product-admin-details {
  overflow: hidden;
  background: #fafafa;
  border: 1px solid #ededed;
  border-radius: 12px;
}

.product-admin-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}

.product-admin-summary-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.product-admin-summary-copy strong {
  overflow: hidden;
  font-size: .92rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-admin-summary-copy > span:last-child {
  color: #8b8b8b;
  font-size: .74rem;
}

.product-admin-category {
  color: #d71920;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.product-admin-summary-action {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  color: #d71920;
  font-size: .76rem;
  font-weight: 800;
}

.product-admin-summary-action span,
.inline-disclosure summary span,
.product-supporting-content summary span {
  transition: transform .2s ease;
}

.product-admin-details-content {
  padding: 0 14px 14px;
  border-top: 1px solid #ececec;
}

.product-admin-edit {
  gap: 12px;
  margin-top: 14px;
}

.product-extra-fields,
.product-supporting-content,
.inline-disclosure {
  overflow: hidden;
  margin-top: 12px;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
}

.product-extra-fields > summary,
.product-supporting-content > summary,
.inline-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 13px;
  color: #333;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 800;
  list-style: none;
}

.product-extra-fields[open] > summary,
.product-supporting-content[open] > summary,
.inline-disclosure[open] > summary {
  border-bottom: 1px solid #ededed;
}

.inline-disclosure-body {
  display: grid;
  gap: 12px;
  padding: 13px;
}

.product-supporting-content .inline-disclosure-body > .media-upload-form,
.product-supporting-content .inline-disclosure-body > .option-management {
  margin: 0;
}

.product-supporting-content .option-management {
  padding-top: 0;
  border-top: 0;
}

.dashboard-section-body .form-help,
.dashboard-section-body .dashboard-card-subtitle {
  display: none;
}

@media (max-width: 720px) {
  .dashboard-quick-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .dashboard-quick-nav a {
    padding: 10px;
    border-radius: 12px;
  }

  .dashboard-section-summary,
  .dashboard-section-body {
    padding-inline: 15px;
  }

  .dashboard-section-summary {
    padding-block: 15px;
  }

  .dashboard-section-body {
    padding-bottom: 15px;
  }

  .product-category-heading {
    min-height: 55px;
    padding-inline: 12px;
  }

  .product-admin-list {
    padding-inline: 7px;
  }

  .product-admin-summary {
    min-height: 58px;
    padding-inline: 12px;
  }

  .product-admin-details-content,
  .category-admin-content {
    padding-inline: 11px;
  }

  .category-create-box {
    padding: 13px;
  }
}

/* Keep the wizard actions visible while only the option list scrolls. */
.product-options-card {
  overflow: hidden;
}

.product-options-card form {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  overflow: hidden;
}

.product-options-card [data-product-options-content] {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  padding-block: 2px 8px;
  scroll-padding-block: 8px 12px;
  -webkit-overflow-scrolling: touch;
}

.product-options-card .product-options-actions {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  justify-content: flex-end;
  background: var(--surface);
  box-shadow: 0 -4px 10px rgba(20, 20, 20, .04);
}

.product-options-card .product-options-actions[data-has-back="true"] {
  justify-content: space-between;
}

.product-options-card .product-options-actions > .button,
.product-options-card .product-options-actions > .outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Modern flavor cards: replace native selects without changing the pizza rules. */
.slot-fields {
  gap: 10px;
}

.slot-picker,
.slot-base-choice {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.slot-picker {
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.slot-picker.is-attention {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}

.slot-picker-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.slot-picker-heading > div,
.slot-base-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.slot-picker-heading strong,
.slot-base-copy strong {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.2;
}

.slot-picker-heading small,
.slot-base-copy small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.slot-picker-status {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 99px;
  background: #f1f2f3;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.slot-picker-status.is-selected {
  background: var(--red-soft);
  color: var(--red-dark);
}

.slot-flavor-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.slot-flavor-option {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 50px;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.slot-flavor-option:hover {
  border-color: #c7cbd0;
  background: #fcfcfc;
}

.slot-flavor-option:has(input:checked) {
  border-color: var(--red);
  background: var(--red-soft);
  box-shadow: 0 0 0 1px rgba(217, 21, 43, .1);
}

.slot-flavor-option:focus-within {
  outline: 2px solid rgba(217, 21, 43, .25);
  outline-offset: 2px;
}

.slot-flavor-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.slot-flavor-option-copy {
  display: grid;
  flex: 1 1 auto;
  min-width: 0;
  gap: 3px;
}

.slot-flavor-option-copy strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slot-flavor-option-copy small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.2;
}

.slot-flavor-option-check,
.slot-base-check {
  display: grid;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid #d6d9dc;
  border-radius: 50%;
  color: transparent;
  font-size: 11px;
  font-weight: 900;
}

.slot-flavor-option:has(input:checked) .slot-flavor-option-check,
.slot-base-check {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.slot-base-choice {
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  border-color: #d7dade;
  background: #f7f8f9;
}

.slot-base-choice > strong {
  overflow: hidden;
  max-width: 42%;
  color: var(--ink);
  font-size: 11px;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 380px) {
  .slot-flavor-options {
    grid-template-columns: 1fr;
  }
}

.slot-base-choice {
  grid-template-columns: minmax(0, 1fr) auto;
}

.slot-base-copy strong {
  overflow: visible;
  white-space: normal;
  text-overflow: clip;
  overflow-wrap: anywhere;
}

/* Comfortable reading scale for the guided product customization. */
.product-options-card .product-options-progress [data-product-options-step-label] {
  font-size: 12px;
}

.product-options-card .product-options-progress [data-product-options-step-title] {
  font-size: 14px;
  font-weight: 750;
}

.product-options-card [data-product-options-content] .product-options-intro {
  font-size: 13px;
}

.product-options-card [data-product-options-content] .option-fieldset > legend {
  font-size: 15px;
  line-height: 1.25;
}

.product-options-card [data-product-options-content] .option-fieldset-help,
.product-options-card [data-product-options-content] .slot-count-label > small {
  font-size: 12px;
}

.product-options-card [data-product-options-content] .slot-pricing-note {
  font-size: 12px;
}

.product-options-card [data-product-options-content] .slot-count-label > strong {
  font-size: 14px;
}

.product-options-card [data-product-options-content] .slot-count-option {
  min-height: 62px;
  padding: 11px 12px;
}

.product-options-card [data-product-options-content] .slot-count-option strong,
.product-options-card [data-product-options-content] .option-choice strong {
  font-size: 14px;
}

.product-options-card [data-product-options-content] .slot-count-option small,
.product-options-card [data-product-options-content] .option-choice small {
  font-size: 12px;
}

.product-options-card [data-product-options-content] .option-choice {
  min-height: 54px;
  padding: 11px 12px;
}

.product-options-card [data-product-options-content] .option-choice input {
  width: 18px;
  height: 18px;
}

.product-options-card .slot-picker-heading strong,
.product-options-card .slot-base-copy strong {
  font-size: 14px;
  line-height: 1.3;
}

.product-options-card .slot-picker-heading small,
.product-options-card .slot-base-copy small {
  font-size: 12px;
}

.product-options-card .slot-picker-status {
  padding: 6px 9px;
  font-size: 11px;
}

.product-options-card .slot-flavor-option {
  min-height: 58px;
  gap: 10px;
  padding: 11px 12px;
}

.product-options-card .slot-flavor-option-copy strong {
  overflow: visible;
  font-size: 14px;
  line-height: 1.3;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}

.product-options-card .slot-flavor-option-copy small {
  font-size: 12px;
  line-height: 1.25;
}

.product-options-card .slot-flavor-option-check,
.product-options-card .slot-base-check {
  width: 20px;
  height: 20px;
  font-size: 12px;
}

.product-options-card .product-options-actions > .button,
.product-options-card .product-options-actions > .outline-button {
  min-height: var(--qf-action-height, 48px);
  padding-right: 16px;
  padding-left: 16px;
  font-size: 14px;
}

.product-options-card .product-options-actions > .button,
.product-options-card .product-options-actions > .outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  line-height: 1;
}

.product-options-card .product-options-actions .product-options-arrow {
  display: inline-block;
  margin-left: 8px;
  color: inherit;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-1px);
}

.product-options-card .product-options-actions > .outline-button .product-options-arrow {
  margin-right: 8px;
  margin-left: 0;
}

.product-options-card .product-options-actions > .button:hover .product-options-arrow {
  transform: translate(2px, -1px);
}

.product-options-summary {
  display: block;
  flex: 0 0 auto;
  min-height: 1.35em;
  margin: 1px 0 7px;
  overflow: visible;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.product-options-card [data-product-options-message] {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  padding: 10px 12px;
  border: 1px solid #ffd1d7;
  border-radius: 12px;
  background: #fff6f7;
  box-shadow: 0 3px 10px rgba(217, 21, 43, .06);
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.product-options-card [data-product-options-message]::before {
  display: grid;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  content: '!';
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.product-options-card [data-product-options-message][hidden] {
  display: none;
}

/* Cart redesign: clear hierarchy, grouped customizations and a calmer checkout. */
html.cart-open,
html.cart-open body {
  overflow: hidden;
  overscroll-behavior: none;
}

.cart-bar {
  gap: 14px;
  border: 1px solid #e2e3e5;
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  color: var(--ink);
  box-shadow: 0 14px 35px rgba(21, 23, 25, .16);
}

.cart-bar > div {
  color: var(--muted);
}

.cart-bar > strong {
  color: var(--ink);
  font-size: 13px;
}

.cart-bar .button {
  background: var(--red);
  color: #fff;
}

.cart-bar .button:hover {
  background: var(--red-dark);
}

.cart-modal-card {
  width: min(100%, 640px);
  display: flex;
  flex-direction: column;
  height: min(90dvh, 820px);
  max-height: min(90dvh, 820px);
  padding: 29px 30px 25px;
  overflow: clip;
  border: 1px solid rgba(21, 23, 25, .08);
  border-radius: 26px;
}

.cart-modal-card .modal-close {
  top: 20px;
  right: 20px;
  background: #f5f5f5;
  color: #777b80;
}

.cart-modal-card:has(> .order-form:not([hidden])[data-address-entry="saved"]) { height: auto; }

.cart-modal-heading {
  flex: 0 0 auto;
  padding-right: 42px;
  margin-bottom: 20px;
}

.cart-modal-heading .eyebrow {
  margin-bottom: 8px;
}

.cart-modal-heading h2 {
  margin: 0;
  font-size: 32px;
  letter-spacing: -.065em;
}

.cart-modal-subtitle {
  max-width: 360px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.cart-modal-items {
  gap: 10px;
  margin-bottom: 14px;
}

.cart-modal-item {
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border: 1px solid #e9eaec;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(21, 23, 25, .035);
}

.cart-item-copy {
  display: grid;
  flex: 1 1 auto;
  gap: 8px;
  min-width: 0;
}

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

.cart-item-line > div:first-child {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.cart-modal-item strong {
  overflow: visible;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}

.cart-item-total {
  flex: 0 0 auto;
  color: var(--ink) !important;
  font-size: 14px !important;
  white-space: nowrap;
}

.cart-item-variant {
  width: max-content;
  padding: 4px 8px;
  border-radius: 99px;
  background: #f4f4f5;
  color: var(--muted) !important;
  font-size: 10px !important;
  font-weight: 800;
  line-height: 1.2;
}

.cart-item-breakdown {
  display: grid;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid #f0f0f1;
}

.cart-item-option-group {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.cart-item-option-group span {
  color: var(--muted) !important;
  font-size: 9px !important;
  font-weight: 850;
  letter-spacing: .06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.cart-item-option-group strong {
  color: #454a4f;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
}

.cart-item-unit {
  color: var(--muted) !important;
  font-size: 10px !important;
}

.cart-quantity {
  gap: 8px;
  padding: 4px;
  border: 1px solid #e8e9eb;
  border-radius: 12px;
  background: #fafafa;
}

.cart-quantity button {
  width: 30px;
  height: 30px;
  border: 1px solid #e1e2e4;
  border-radius: 9px;
  background: #fff;
  color: var(--red);
  font-size: 17px;
}

.cart-quantity span {
  min-width: 16px;
  font-size: 12px;
}

.cart-modal-totals {
  padding: 13px 16px;
  border: 1px solid #ececee;
  border-radius: 16px;
  background: #fafafa;
}

.cart-modal-total {
  padding: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.cart-modal-total strong {
  color: var(--ink);
  font-size: 13px;
}

.cart-modal-grand-total {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid #e5e6e8;
}

.cart-modal-grand-total span {
  color: var(--ink);
  font-weight: 800;
}

.cart-modal-grand-total strong {
  color: var(--red);
  font-size: 19px;
}

.cart-delivery-hint {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 10px 12px;
  margin: 10px 0 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7f8f9;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.cart-delivery-hint[hidden] { display: none !important; }

.cart-delivery-hint[data-quote-status="available"] { border-color: #d7eadd; background: #f4faf6; color: #226a40; }

.cart-delivery-hint::before {
  flex: 0 0 auto;
  color: var(--red);
  content: '⌖';
  font-size: 15px;
  line-height: 1;
}

.cart-form-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.cart-step-number {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 10px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.cart-form-title {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.cart-form-heading small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.cart-modal-card .order-form {
  gap: 0;
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

/* Scroll each checkout stage independently, keeping its actions in view. */
.cart-modal-card > [data-cart-review],
.cart-modal-card > .order-form,
.cart-modal-card > .cart-payment {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow: clip;
}

.cart-modal-card > [hidden] {
  display: none;
}

.cart-modal-card > [data-cart-review] > .order-message,
.cart-modal-card > .order-form > .order-message,
.cart-modal-card > .cart-payment > .order-message {
  flex: 0 0 auto;
  margin: 0 0 8px;
}

.cart-step-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  padding-block: 2px 8px;
  scroll-padding-block: 8px 12px;
  -webkit-overflow-scrolling: touch;
}

.order-form > .cart-step-content {
  display: grid;
  align-content: start;
  gap: 8px;
}

.cart-modal-card .cart-step-actions {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  padding-top: 12px;
  margin-top: 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 -4px 10px rgba(20, 20, 20, .04);
}

.cart-step-actions > .cart-continue-button {
  margin-top: 0;
}

.cart-modal-card > .cart-success {
  min-height: 0;
  overflow-y: auto;
}

.cart-modal-card .order-form .button[data-order-submit] {
  min-height: var(--qf-action-height, 48px);
  margin-top: 14px;
  font-size: 13px;
  box-shadow: 0 -7px 15px rgba(255, 255, 255, .96);
}

@media (max-width: 560px) {
  .cart-bar {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: calc(100% - 24px);
    gap: 9px;
    padding: 8px 8px 8px 11px;
  }

  .cart-bar > div {
    font-size: 10px;
  }

  .cart-bar > strong {
    display: block;
    font-size: 12px;
  }

  .cart-bar .button {
    padding: 0 12px;
    font-size: 10px;
  }

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

  .cart-modal-card {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    padding: 26px 17px max(18px, env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
  }

  .cart-modal-heading h2 {
    font-size: 29px;
  }

  .cart-modal-item {
    padding: 14px;
  }

  .cart-item-option-group {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 8px;
  }
}

.cart-continue-button {
  width: 100%;
  min-height: 50px;
  justify-content: center;
  margin-top: 14px;
  font-size: 13px;
}

.cart-form-actions {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.cart-form-actions-single {
  grid-template-columns: minmax(0, 1fr);
}

.cart-form-actions > button {
  display: flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin-top: 0 !important;
  text-align: center;
}

.cart-delivery-actions .cart-form-actions { margin-top: 10px; }
.cart-delivery-summary { display: flex; justify-content: space-between; gap: 16px; }
.cart-delivery-summary > div { display: grid; gap: 4px; }
.cart-delivery-summary > div:last-child { text-align: right; }
.cart-delivery-summary span { color: var(--muted); font-size: 11px; }
.cart-delivery-summary strong { font-size: 14px; }
.cart-delivery-summary [data-checkout-total] { color: var(--red); font-size: 18px; }
.cart-address-links { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; }
.cart-address-links a { font-size: 11px; }
.cart-saved-address-label { color: var(--ink); font-size: 11px; font-weight: 750; }
.checkout-address-options { display: grid; min-width: 0; gap: 8px; align-content: start; padding: 0; }
.checkout-address-options > div { min-width: 0; }
.checkout-address-options .location-saved-address-select { min-height: 58px; border-color: #e4e6e9; transition: border-color .15s, background .15s; }
.checkout-address-options .location-saved-address-select[aria-pressed="true"] { border-color: #d9152b77; background: #fff8f8; box-shadow: 0 0 0 2px #d9152b0b; }
.checkout-address-options .location-saved-address-select[aria-pressed="true"] .location-saved-address-radio { border-color: var(--red); background: var(--red); }
.checkout-address-options .location-saved-address-new { min-height: 46px; justify-content: flex-start; }
.checkout-address-return { justify-content: flex-start; min-height: 38px; margin: 0 0 10px; text-align: left; }
.cart-delivery-note { display: grid; gap: 6px; margin-top: 12px; }
.cart-delivery-note label { margin-top: 0; font-size: 12px; }

.cart-success[hidden] {
  display: none;
}

.cart-success {
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 22px 12px 8px;
  text-align: center;
}

.cart-success-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 4px;
  border-radius: 18px;
  background: #eaf8ef;
  color: #19733f;
  font-size: 28px;
  font-weight: 900;
}

.cart-success .eyebrow {
  margin: 0;
  color: #19733f;
}

.cart-success h3 {
  margin: 0;
  color: var(--ink);
  font-size: 27px;
  letter-spacing: -.055em;
}

.cart-success > p:not(.eyebrow) {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.customer-delivery-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d7eadd;
  border-radius: 16px;
  background: #f4faf6;
  text-align: left;
}

.customer-delivery-code[hidden] { display: none; }
.customer-delivery-code strong { display: block; font-size: 13px; }
.customer-delivery-code small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.customer-delivery-code output { flex-shrink: 0; color: #166338; font-size: 28px; font-weight: 850; letter-spacing: .08em; font-variant-numeric: tabular-nums; }


[data-customer-pickup] { width: 100%; min-width: 0; }
[data-customer-pickup][hidden] { display: none; }
.customer-pickup-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid #d7eadd;
  border-radius: 18px;
  background: #f4faf6;
  color: var(--ink);
  text-align: left;
  overflow-wrap: anywhere;
}
.customer-pickup-card > strong { font-size: 16px; }
.customer-pickup-card > p { margin: 0; font-size: 13px; line-height: 1.5; }
.customer-pickup-card > small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.customer-pickup-address { display: flex; align-items: flex-start; gap: 10px; padding: 14px 0; border-block: 1px solid #d7eadd; }
.customer-pickup-address > svg { flex-shrink: 0; margin-top: 2px; color: #19733f; }
.customer-pickup-address > div { display: grid; gap: 6px; min-width: 0; }
.customer-pickup-address strong { font-size: 12px; }
.customer-pickup-address span { font-size: 14px; line-height: 1.5; }
.customer-pickup-route { width: 100%; justify-content: center; gap: 8px; text-align: center; white-space: normal; }

.cart-success-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 430px);
  gap: 9px;
  margin-top: 10px;
}

.cart-success-actions > * {
  min-height: 48px;
  justify-content: center;
  text-align: center;
}

@media (max-width: 560px) {
  .cart-success-actions {
    grid-template-columns: 1fr;
  }
}

.saved-address-block select[hidden],
.saved-address-block label[hidden] {
  display: none;
}

@media (max-width: 560px) {
  .cart-form-actions {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 8px;
  }
}

.cart-remove-confirm {
  position: fixed;
  z-index: 4;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(21, 23, 25, .38);
  backdrop-filter: blur(5px);
}

.cart-remove-confirm-card {
  width: min(100%, 380px);
  padding: 28px 24px 22px;
  border: 1px solid rgba(21, 23, 25, .08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 65px rgba(21, 23, 25, .2);
  text-align: center;
}

.cart-remove-confirm-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 13px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
}

.cart-remove-confirm-card .eyebrow {
  margin-bottom: 7px;
}

.cart-remove-confirm-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  letter-spacing: -.045em;
}

.cart-remove-confirm-card > p:not(.eyebrow) {
  max-width: 290px;
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.cart-remove-confirm-card > p strong {
  color: var(--ink);
  font-weight: 800;
}

.cart-remove-confirm-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 9px;
  margin-top: 20px;
}

.cart-remove-confirm-actions > button {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  text-align: center;
}

.cart-remove-confirm-danger {
  background: var(--red);
  color: #fff;
}

.cart-remove-confirm-danger:hover {
  background: var(--red-dark);
}

@media (max-width: 420px) {
  .cart-remove-confirm-card {
    padding: 25px 18px 19px;
  }

  .cart-remove-confirm-actions {
    grid-template-columns: 1fr;
  }
}

/* Catalog list: compact rows keep the product information visible at a glance. */
.store-menu .product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-top: 10px;
}

.store-menu .product-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  min-height: 108px;
  border-radius: 14px;
  transform: none;
}

.store-menu .product-card:hover {
  transform: translateY(-1px);
}

.store-menu .product-image {
  min-height: 108px;
  height: 100%;
  border-radius: 0;
}

.store-menu .product-image::before {
  width: 64px;
  height: 64px;
  border-width: 4px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, .13);
}

.store-menu .product-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-menu .product-image b {
  top: 7px;
  left: 7px;
  padding: 4px 5px;
  font-size: 7px;
}

.store-menu .product-card-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 12px 48px 12px 13px;
}

.store-menu .product-card h4 {
  overflow: hidden;
  padding-right: 0;
  font-size: 13px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-menu .product-card p {
  display: -webkit-box;
  min-height: 0;
  margin-top: 4px;
  overflow: hidden;
  color: #858b90;
  font-size: 10px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.store-menu .product-card-content > strong {
  margin-top: 7px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
}

.store-menu .add-product {
  top: 50%;
  right: 12px;
  bottom: auto;
  width: 32px;
  height: 32px;
  transform: translateY(-50%);
}

.store-menu .add-product:hover {
  transform: translateY(calc(-50% - 2px));
}

.store-menu .menu-category {
  padding-top: 25px;
}

.store-menu .menu-category-title {
  padding-bottom: 10px;
}

@media (max-width: 760px) {
  .store-menu .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .store-menu .product-card {
    grid-template-columns: 78px minmax(0, 1fr);
    min-height: 96px;
  }

  .store-menu .product-image {
    min-height: 96px;
  }

  .store-menu .product-card-content {
    padding: 11px 47px 11px 12px;
  }
}

/* Action arrows must keep contrast against filled buttons, including tenant colors. */
.button-primary > span,
.button-dark > span,
.cart-bar .button > span {
  color: #fff !important;
}

.button-light > span {
  color: var(--red) !important;
}

/* Keep the arrow optically centered with the button label. */
.button > span,
.outline-button > span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  vertical-align: middle;
  transform: translateY(-1px);
}

.button:hover > span {
  transform: translate(4px, -1px);
}

.outline-button:hover > span {
  transform: translate(2px, -1px);
}

/* Store identity: keep the logo, name and cover treatment from competing. */
.store-cover.store-cover-clean {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  background-image: none !important;
  border-bottom: 1px solid var(--line);
}

.store-cover.store-cover-clean::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: var(--red);
  content: '';
}

.store-cover-clean .store-cover-inner {
  display: block;
  min-height: 0;
  padding-top: 44px;
  padding-bottom: 28px;
}

.store-cover-clean .back-link {
  position: static;
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 11px;
}

.store-cover-clean .back-link:hover {
  color: var(--red);
}

.store-cover-clean .store-identity {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 920px;
}

.store-cover-clean .store-logo {
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  color: var(--store-primary, var(--red));
  box-shadow: 0 14px 28px rgba(20, 22, 25, 0.09);
}

.store-cover-clean .store-logo img {
  border-radius: 23px;
}

.store-cover-clean .store-heading {
  min-width: 0;
  padding-top: 0;
}

.store-cover-clean .store-status {
  margin-bottom: 10px;
  padding: 6px 9px;
  border-radius: 99px;
  background: #eefaf2;
  color: #237a45;
  font-size: 10px;
}

.store-cover-clean .store-heading h1 {
  color: var(--ink);
  font-size: clamp(34px, 4.2vw, 52px);
  letter-spacing: -0.07em;
}

.store-cover-clean .store-heading > p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
}

.store-cover-clean .store-heading > p span {
  color: #b8bdc2;
}

.store-cover-clean .store-meta {
  gap: 7px;
  margin-top: 14px;
  color: var(--muted);
}

.store-cover-clean .store-meta span {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font-size: 10px;
}

.store-cover-clean .store-meta span:first-child {
  color: var(--ink);
}

@media (max-width: 760px) {
  .store-cover-clean .store-cover-inner {
    padding-top: 38px;
    padding-bottom: 25px;
  }

  .store-cover-clean .back-link {
    margin-bottom: 20px;
  }

  .store-cover-clean .store-identity {
    align-items: flex-start;
    gap: 16px;
  }

  .store-cover-clean .store-logo {
    width: 74px;
    height: 74px;
    border-radius: 20px;
  }

  .store-cover-clean .store-logo img {
    border-radius: 19px;
  }

  .store-cover-clean .store-heading h1 {
    font-size: clamp(30px, 7vw, 42px);
    line-height: 1.04;
  }

  .store-cover-clean .store-heading > p {
    font-size: 11px;
    line-height: 1.45;
  }

  .store-cover-clean .store-meta {
    margin-top: 11px;
  }

  .store-cover-clean .store-meta span {
    min-height: 25px;
    padding: 0 8px;
    font-size: 9px;
  }
}

@media (max-width: 450px) {
  .store-cover-clean .store-cover-inner {
    padding-top: 35px;
  }

  .store-cover-clean .store-identity {
    gap: 13px;
  }

  .store-cover-clean .store-logo {
    width: 64px;
    height: 64px;
    border-radius: 17px;
    font-size: 30px;
  }

  .store-cover-clean .store-logo img {
    border-radius: 16px;
  }

  .store-cover-clean .store-heading h1 {
    font-size: 30px;
  }

  .store-cover-clean .store-heading > p {
    margin-top: 7px;
    font-size: 10px;
  }

  .store-cover-clean .store-meta {
    gap: 5px;
  }

  .store-cover-clean .store-meta span {
    padding: 0 7px;
    font-size: 8px;
  }
}

.auth-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.auth-actions a {
  text-decoration: none;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.auth-actions a:hover,
.auth-actions a:focus-visible {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-actions-signup {
  color: var(--red);
  font-weight: 750;
}

.auth-actions-recovery {
  color: var(--muted);
  font-weight: 650;
  text-align: right;
}

.site-feedback-main {
  min-height: 420px;
}

.site-feedback-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 22px;
  background: rgba(21, 23, 25, 0.54);
  backdrop-filter: blur(5px);
}

.site-feedback-dialog {
  width: min(100%, 440px);
  margin: auto;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.site-feedback-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 24px;
  font-weight: 850;
}

.site-feedback-dialog .eyebrow {
  margin-bottom: 9px;
}

.site-feedback-dialog h1 {
  margin: 0;
  font-size: clamp(29px, 7vw, 38px);
  letter-spacing: -0.065em;
  line-height: 1.05;
}

.site-feedback-copy {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.site-feedback-actions {
  display: grid;
  gap: 14px;
  margin-top: 25px;
}

.site-feedback-actions .button {
  width: 100%;
  justify-content: center;
}

.site-feedback-secondary {
  justify-self: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 3px;
}

.site-feedback-secondary:hover,
.site-feedback-secondary:focus-visible {
  color: var(--red);
  text-decoration: underline;
}

@media (max-width: 560px) {
  .site-feedback-overlay {
    padding: 16px;
  }

  .site-feedback-dialog {
    padding: 26px 22px;
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-feedback-overlay,
  .site-feedback-dialog {
    animation: none;
  }
}

.auth-page-action {
  width: 100%;
  margin-top: 14px;
  justify-content: center;
}

/* Address autocomplete: keep the Google search inside the form on every screen size. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.address-autocomplete-field,
.address-autocomplete-field > label,
.address-autocomplete-field [data-address-autocomplete],
.address-autocomplete-control {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.address-autocomplete-field {
  overflow: visible !important;
}

.address-autocomplete-field [data-address-autocomplete] {
  position: relative;
  overflow: visible !important;
}

.address-autocomplete-control {
  position: relative;
}

.address-autocomplete-control > input {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: 0;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
}

.address-autocomplete-control > input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(217, 21, 43, 0.1);
}

.address-autocomplete-suggestions {
  position: absolute;
  z-index: 50;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  display: grid;
  max-height: 280px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(21, 23, 25, 0.16);
}

.address-autocomplete-suggestions[hidden] {
  display: none;
}

.address-autocomplete-suggestion {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 3px;
  padding: 11px 13px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.address-autocomplete-suggestion + .address-autocomplete-suggestion {
  border-top: 1px solid #f0f0f1;
}

.address-autocomplete-suggestion:hover,
.address-autocomplete-suggestion[aria-selected="true"] {
  background: var(--red-soft);
}

.address-autocomplete-suggestion strong,
.address-autocomplete-suggestion small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.address-autocomplete-suggestion strong {
  font-size: 12px;
}

.address-autocomplete-suggestion small {
  color: var(--muted);
  font-size: 10px;
}

@media (max-width: 560px) {
  .address-autocomplete-suggestions {
    max-height: 220px;
  }
}

/* Mantém o mapa estável durante a busca assíncrona do endereço. */
.customer-address-map-heading small[data-customer-address-map-status]:not([hidden]) {
  display: block;
}

.customer-address-map-shell.is-loading::after {
  content: '';
  position: absolute;
  z-index: 3;
  inset: 0;
  background: rgba(255, 255, 255, .08);
  pointer-events: none;
}

.customer-address-map-shell.is-loading::before {
  content: '';
  position: absolute;
  z-index: 4;
  top: 12px;
  right: 12px;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, .85);
  border-top-color: var(--red);
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(25, 29, 35, .35);
  animation: customer-address-map-spin .7s linear infinite;
  pointer-events: none;
}

@keyframes customer-address-map-spin {
  to { transform: rotate(360deg); }
}

/* Painel do entregador: foco no turno, na próxima ação e nas ofertas. */
.courier-shell {
  max-width: 1160px;
  padding-top: clamp(28px, 5vw, 64px);
  padding-bottom: 104px;
}

.courier-page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.courier-page-heading .eyebrow {
  margin: 0 0 10px;
  color: var(--red);
}

.courier-page-heading h1 {
  max-width: 730px;
  margin: 0;
  font-size: clamp(32px, 4.6vw, 55px);
  line-height: 1.08;
  letter-spacing: -0.065em;
}

.courier-page-heading p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.courier-vehicle-tag {
  flex: 0 0 auto;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: #464b51;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}

.courier-shell .courier-status-card {
  position: relative;
  align-items: center;
  margin: 0 0 22px;
  padding: clamp(22px, 3vw, 32px);
  overflow: hidden;
  border-radius: 25px;
  background: #19202a;
  box-shadow: 0 18px 40px rgba(20, 28, 38, .14);
}

.courier-shell .courier-status-card::after {
  position: absolute;
  right: -70px;
  bottom: -125px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 50%;
  box-shadow: 0 0 0 46px rgba(255, 255, 255, .035), 0 0 0 95px rgba(255, 255, 255, .025);
  content: '';
  pointer-events: none;
}

.courier-shell .courier-status-available {
  background: linear-gradient(125deg, #172a2d, #19202a 65%);
}

.courier-shell .courier-status-busy {
  background: linear-gradient(125deg, #30241c, #19202a 65%);
}

.courier-status-copy,
.courier-status-actions {
  position: relative;
  z-index: 1;
}

.courier-shell .courier-status-copy .eyebrow {
  margin: 0 0 12px;
  color: #ffa7b1;
  font-size: 11px;
}

.courier-shell .courier-status-copy h2 {
  margin: 0 0 9px;
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.13;
  letter-spacing: -.045em;
}

.courier-shell .courier-status-copy p:last-child {
  max-width: 440px;
  color: #c7d1d8;
  font-size: 13px;
  line-height: 1.5;
}

.courier-shell .courier-status-actions {
  flex-shrink: 0;
  flex-direction: column;
  align-items: flex-end;
}

.courier-shell .courier-status-actions .button {
  min-width: 176px;
  min-height: var(--qf-action-height, 48px);
  justify-content: center;
  padding: 0 17px;
  border-radius: 12px;
  font-size: 12px;
}

.courier-shell .courier-pause-button {
  background: #fff;
  color: #19202a;
}

.courier-shell .courier-availability {
  min-height: 30px;
  padding: 5px 11px;
  border-color: rgba(255,255,255,.19);
  color: #fff;
  font-size: 11px;
}

.courier-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(285px, 1fr);
  align-items: start;
  gap: 20px;
}

.courier-workspace-grid.is-onboarding {
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
}

.courier-workspace-main,
.courier-workspace-aside {
  display: grid;
  min-width: 0;
  gap: 18px;
}

.courier-panel,
.courier-details {
  min-width: 0;
  border: 1px solid #ebedf0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(30, 35, 44, .045);
}

.courier-panel {
  padding: clamp(18px, 2.5vw, 25px);
}

.courier-current {
  border-color: #ead9da;
  background: #fffafa;
}

.courier-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.courier-section-heading .eyebrow {
  margin: 0 0 5px;
  color: var(--red);
  font-size: 10px;
}

.courier-section-heading h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -.045em;
}

.courier-count,
.courier-detail-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 29px;
  min-height: 29px;
  padding: 4px 9px;
  border-radius: 100px;
  background: #f3f4f5;
  color: #424950;
  font-size: 11px;
  font-weight: 750;
}

.courier-shell .courier-offer,
.courier-shell .courier-active-delivery {
  padding: 20px;
  border-color: #e8ebee;
  border-radius: 16px;
  gap: 18px;
}

.courier-shell .courier-offer-heading {
  align-items: flex-start;
}

.courier-shell .courier-offer-heading strong {
  font-size: 15px;
  letter-spacing: -.02em;
}

.courier-shell .courier-offer-heading span:not(.order-status) {
  font-size: 11px;
  line-height: 1.45;
}

.courier-route-points {
  display: grid;
  gap: 13px;
  padding: 4px 0 4px 4px;
}

.courier-route-points > div {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  gap: 13px;
}

.courier-route-points > div > span:last-child {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.courier-route-points small {
  color: var(--muted);
  font-size: 11px;
}

.courier-route-points strong {
  overflow-wrap: anywhere;
  color: #252a30;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.courier-route-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  margin-top: 4px;
  border: 3px solid #1d7272;
  border-radius: 50%;
}

.courier-route-dot.is-dropoff {
  border-color: var(--red);
}

.courier-payout-note {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff8ec;
  color: #765520;
  font-size: 11px;
  line-height: 1.4;
}

.courier-shell .courier-offer-actions,
.courier-shell .courier-active-actions {
  justify-content: flex-end;
  gap: 12px;
}

.courier-shell .courier-offer-actions .button,
.courier-shell .courier-active-actions .button,
.courier-route-link,
.courier-decline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--qf-action-height, 48px);
  padding: 0 15px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 750;
}

.courier-decline-button,
.courier-route-link {
  border: 1px solid #e0e3e6;
  background: #fff;
  color: #343a40;
}

.courier-empty-state {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 23px 4px 12px;
}

.courier-empty-state > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 5px;
  border-radius: 14px;
  background: #f6f3f3;
  color: var(--red);
  font-size: 24px;
}

.courier-empty-state strong {
  font-size: 15px;
}

.courier-empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.courier-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 76px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
}

.courier-details > summary::-webkit-details-marker {
  display: none;
}

.courier-details > summary > span:first-child {
  display: grid;
  gap: 4px;
}

.courier-details > summary small {
  color: var(--muted);
  font-size: 11px;
}

.courier-details > summary strong {
  font-size: 15px;
  letter-spacing: -.025em;
}

.courier-details[open] > summary {
  border-bottom: 1px solid #edf0f2;
}

.courier-details-content {
  padding: 16px;
}

.courier-shell .courier-link-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 9px 11px;
  padding: 13px;
}

.courier-shell .courier-link-controls {
  grid-column: 2;
  justify-items: start;
  gap: 8px;
}

.courier-shell .courier-link-controls .courier-link-actions {
  justify-content: flex-start;
  gap: 8px;
}

.courier-shell .courier-link-actions .outline-button,
.courier-shell .courier-link-actions .button,
.courier-shell .courier-link-actions .text-danger {
  min-height: var(--qf-action-height, 48px);
  padding: 0 11px;
  font-size: 11px;
}

.courier-shell .courier-link-state {
  font-size: 11px;
}

.courier-detail-help,
.courier-detail-empty {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.courier-shell .courier-document-row {
  padding: 13px;
}

.courier-shell .courier-document-row > div {
  flex-wrap: wrap;
}

.courier-shell .courier-document-row input[type='file'] {
  max-width: 100%;
  font-size: 11px;
}

.courier-shell .courier-document-row input[type='file']::file-selector-button {
  margin-right: 9px;
  padding: 8px 10px;
  border: 1px solid #dfe2e5;
  border-radius: 8px;
  background: #f8f9fa;
  color: #30353b;
  font-weight: 700;
  cursor: pointer;
}

.courier-shell .courier-document-row .button {
  min-height: var(--qf-action-height, 48px);
  font-size: 11px;
}

.courier-shell .courier-location-control {
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 850px) {
  .courier-workspace-grid,
  .courier-workspace-grid.is-onboarding {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .courier-shell {
    width: min(100% - 28px, 1180px);
  }

  .courier-page-heading {
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .courier-page-heading p:last-child {
    font-size: 12px;
  }

  .courier-vehicle-tag {
    display: none;
  }

  .courier-shell .courier-status-card {
    gap: 20px;
  }

  .courier-shell .courier-status-actions,
  .courier-shell .courier-status-actions .courier-availability-form,
  .courier-shell .courier-status-actions .button {
    align-items: stretch;
    width: 100%;
  }

  .courier-shell .courier-offer-heading {
    flex-wrap: wrap;
  }

  .courier-shell .courier-offer-actions,
  .courier-shell .courier-active-actions {
    align-items: stretch;
  }

  .courier-shell .courier-offer-actions form,
  .courier-shell .courier-offer-actions button,
  .courier-shell .courier-active-actions form,
  .courier-shell .courier-active-actions button,
  .courier-shell .courier-active-actions .courier-route-link {
    width: 100%;
  }
}

/* Entregador: a entrega ocupa a tela; documentos e vínculos ficam em Ajustes. */
.courier-shell {
  max-width: 960px;
  padding-top: 24px;
}

.courier-topbar {
  display: flex;
  justify-content: flex-end;
  min-height: 32px;
  margin-bottom: 12px;
}

.courier-accessible-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.courier-settings-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  color: #545960;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.courier-settings-link:hover { color: var(--red); }

.courier-shell .courier-status-card {
  min-height: 104px;
  padding: 18px 23px;
  border-radius: 19px;
  box-shadow: 0 10px 24px rgba(20, 28, 38, .12);
}

.courier-shell .courier-status-card::after { display: none; }
.courier-shell .courier-status-copy .eyebrow { margin-bottom: 6px; font-size: 10px; }
.courier-shell .courier-status-copy h2 { margin-bottom: 4px; font-size: clamp(19px, 2.2vw, 25px); }
.courier-shell .courier-status-copy p:last-child { margin: 0; font-size: 11px; }
.courier-shell .courier-status-actions { flex-direction: row; align-items: center; gap: 12px; }
.courier-shell .courier-status-actions .button { min-width: 140px; }

.courier-delivery-main,
.courier-settings-grid { display: grid; gap: 18px; }

.courier-settings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.courier-settings-grid .courier-details > summary { min-height: 62px; }
.courier-current { display: grid; gap: 14px; }
.courier-current .courier-section-heading { margin: 0; }
.courier-current .courier-active-delivery + .courier-active-delivery { border-top: 2px solid #ead9da; }
.courier-offers-panel .courier-section-heading { margin-bottom: 12px; }
.courier-waiting { color: #7b5b2e; font-size: 12px; font-weight: 700; }
.courier-addon { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; border: 1px solid #dde6e4; border-radius: 14px; background: #f5fbf9; }
.courier-addon strong { font-size: 14px; }
.courier-addon p { margin: 5px 0; font-size: 12px; }
.courier-addon small { color: #4c6260; font-size: 11px; }
.courier-addon .button { min-height: var(--qf-action-height, 48px); white-space: nowrap; }

@media (max-width: 740px) {
  .courier-settings-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .courier-shell .courier-status-card { padding: 18px; }
  .courier-shell .courier-status-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .courier-shell .courier-status-actions .button { width: 100%; }
  .courier-addon { flex-direction: column; align-items: stretch; }
  .courier-addon .button { width: 100%; }
}

.admin-document-dialog {
  width: min(1040px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: transparent;
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
}

.admin-document-dialog::backdrop {
  background: rgba(14, 18, 21, 0.68);
  backdrop-filter: blur(5px);
}

.admin-document-dialog[open] {
  display: flex;
}

.admin-document-dialog-frame {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  border-radius: inherit;
  background: var(--white);
}

.admin-document-dialog-header,
.admin-document-dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
}

.admin-document-dialog-header {
  border-bottom: 1px solid var(--line);
}

.admin-document-dialog-header .eyebrow {
  margin: 0 0 4px;
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-document-dialog-header h2 {
  margin: 0;
  font-size: clamp(17px, 2.3vw, 22px);
  line-height: 1.3;
}

.admin-document-close {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
}

.admin-document-close:hover {
  background: var(--red-soft);
  color: var(--red-dark);
}

.admin-document-viewer {
  position: relative;
  display: grid;
  min-height: 260px;
  height: min(72vh, 760px);
  place-items: center;
  overflow: auto;
  background: #17191c;
}

.admin-document-image:not([hidden]) {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.admin-document-pdf:not([hidden]) {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  background: #fff;
}

.admin-document-status {
  position: absolute;
  z-index: 1;
  max-width: calc(100% - 36px);
  margin: 0;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.admin-document-dialog-footer {
  min-height: 68px;
  color: var(--muted);
  font-size: 12px;
}

.admin-document-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-document-review-actions form {
  margin: 0;
}

.admin-document-review-actions .button,
.admin-document-dialog-footer .outline-button {
  min-height: var(--qf-action-height, 48px);
  padding: 10px 15px;
  font-size: 13px;
}

.admin-document-reject {
  border: 1px solid #f1c7cc;
  background: var(--white);
  color: var(--red-dark);
}

.admin-document-reject:hover {
  background: var(--red-soft);
}

.admin-document-dialog-footer .outline-button {
  flex: 0 0 auto;
}

.admin-document-dialog [hidden] {
  display: none !important;
}

@media (max-width: 620px) {
  .admin-document-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 17px;
  }

  .admin-document-dialog-header,
  .admin-document-dialog-footer {
    padding: 14px 16px;
  }

  .admin-document-viewer {
    min-height: 230px;
    height: 68vh;
  }

  .admin-document-dialog-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .admin-document-review-actions {
    width: 100%;
  }

  .admin-document-review-actions form,
  .admin-document-review-actions .button,
  .admin-document-dialog-footer .outline-button {
    width: 100%;
  }
}

/* Route preview and pickup-only location sharing. */
.courier-point-map { display: inline-block; margin-top: 5px; color: #b61225; font-size: 13px; font-weight: 600; }
.courier-offer-map-link { display: inline-flex; margin: 4px 0 12px; }
.courier-location-help { margin: 12px 0; color: #666; font-size: 13px; }
.courier-location-control small { display: block; margin-top: 4px; color: #666; }
.courier-location-retry { flex-shrink: 0; border: 0; border-radius: 8px; padding: 9px; color: #b61225; background: #fff; font: inherit; font-size: 12px; cursor: pointer; }
.tracking-google-link { display: inline-block; margin: 14px 20px 0; }
.tracking-google-link[hidden], .courier-location-retry[hidden] { display: none; }
.tracking-live-ended { background: #f2f2f2; color: #666; }
.tracking-live-ended i { background: #999; animation: none; }
@media (max-width: 600px) { .courier-shell .courier-location-control { flex-wrap: wrap; } }

/* Online courier map with the rider, pickup and delivery stops. */
.courier-live-map {
  position: relative;
  height: clamp(250px, 34vw, 340px);
  min-height: 250px;
  overflow: hidden;
  border: 1px solid #303744;
  border-radius: 16px;
  background: #151a22;
  isolation: isolate;
}

.courier-active-delivery .courier-live-map { height: clamp(230px, 30vw, 300px); }
.courier-live-map-canvas { position: absolute; inset: 0; overflow: hidden; touch-action: none; cursor: grab; }
.courier-live-map-canvas:active { cursor: grabbing; }
.courier-map-tiles,
.courier-map-markers { position: absolute; inset: 0; overflow: hidden; }
.courier-map-tile { position: absolute; width: 256px; height: 256px; max-width: none; filter: invert(.91) hue-rotate(180deg) brightness(.84) saturate(.7); user-select: none; pointer-events: none; }
.courier-map-pin { position: absolute; z-index: 2; display: grid; justify-items: center; gap: 4px; transform: translate(-50%, -55%); white-space: nowrap; pointer-events: none; }
.courier-map-pin i { display: grid; place-items: center; width: 27px; height: 27px; border: 3px solid #fff; border-radius: 50% 50% 50% 2px; background: #ba1e2d; box-shadow: 0 3px 12px #05070ba8; transform: rotate(-45deg); }
.courier-map-pin i::after { color: #fff; font-size: 11px; font-style: normal; font-weight: 850; transform: rotate(45deg); }
.courier-map-pin.is-pickup i { background: #218a6b; }
.courier-map-pin.is-pickup i::after { content: 'R'; }
.courier-map-pin.is-dropoff i { background: #c42d43; }
.courier-map-pin.is-dropoff i::after { content: 'E'; }
.courier-map-pin.is-courier i { width: 23px; height: 23px; border: 3px solid #fff; border-radius: 50%; background: #2c8bff; box-shadow: 0 0 0 7px #2c8bff42, 0 3px 12px #05070ba8; transform: none; }
.courier-map-pin.is-courier i::after { content: ''; }
.courier-map-pin small { padding: 4px 8px; border: 1px solid #ffffff36; border-radius: 20px; background: #111720e8; color: #fff; font-size: 10px; font-weight: 800; line-height: 1.2; }
.courier-live-map-status { position: absolute; z-index: 3; left: 12px; bottom: 11px; max-width: calc(100% - 155px); padding: 7px 10px; border: 1px solid #ffffff2b; border-radius: 10px; background: #10151cdd; color: #fff; font-size: 10px; line-height: 1.35; backdrop-filter: blur(8px); }
.courier-map-controls { position: absolute; z-index: 4; top: 12px; right: 12px; display: grid; justify-items: end; gap: 8px; }
.courier-map-controls > button,
.courier-map-controls > span > button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #ffffff35; border-radius: 12px; background: #111720e8; color: #fff; font: inherit; font-size: 21px; font-weight: 650; cursor: pointer; box-shadow: 0 4px 14px #05070b70; }
.courier-map-controls > span { display: grid; gap: 6px; }
.courier-map-controls > span > button { width: 34px; height: 34px; border-radius: 10px; font-size: 20px; }
.courier-map-attribution { position: absolute; z-index: 3; right: 8px; bottom: 7px; padding: 3px 6px; border-radius: 5px; background: #111720d9; color: #e7e9ed; font-size: 9px; }
.courier-map-attribution a { color: inherit; text-decoration: none; }
.courier-map-legend { display: flex; flex-wrap: wrap; gap: 14px; color: #606a75; font-size: 10px; }
.courier-map-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.courier-map-legend i { width: 9px; height: 9px; border-radius: 50%; background: #2c8bff; box-shadow: 0 0 0 3px #2c8bff2c; }
.courier-map-legend i.is-pickup { background: #218a6b; box-shadow: 0 0 0 3px #218a6b2c; }
.courier-map-legend i.is-dropoff { background: #c42d43; box-shadow: 0 0 0 3px #c42d432c; }
.courier-shell .courier-live-map + .courier-map-legend { margin: -9px 0 0; }
.courier-shell .courier-addon { flex-direction: column; align-items: stretch; }
.courier-addon-copy { display: grid; gap: 5px; }
.courier-addon-actions { display: flex; align-items: stretch; gap: 10px; }
.courier-addon-actions form { flex: 1 1 0; }
.courier-addon-actions button { width: 100%; }
.courier-addon .courier-offer-countdown { margin: 0; }
.courier-offer-countdown { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 2px; color: #68717c; font-size: 11px; }
.courier-offer-countdown strong { color: #c52a3c; font-size: 14px; font-variant-numeric: tabular-nums; }
.courier-shell .courier-decline-button { position: relative; isolation: isolate; overflow: hidden; width: 100%; background: #fff; }
.courier-decline-progress { position: absolute; z-index: 0; bottom: 0; left: 0; width: 100%; height: 4px; background: #c52a3c; transition: width .2s linear; }
.courier-decline-label { position: relative; z-index: 1; }
.courier-shell .courier-offer-actions button:disabled { opacity: .55; cursor: wait; }
@media (max-width: 620px) {
  .courier-live-map { height: 270px; min-height: 240px; }
  .courier-active-delivery .courier-live-map { height: 245px; }
  .courier-live-map-status { max-width: calc(100% - 125px); }
}

/* Center standalone button labels while preserving composite catalog controls. */
button:not([hidden]):not(.location-saved-address-select):not(.location-saved-address-new):not(.customer-address-return):not(.checkout-address-trigger):not(.header-location):not(.mobile-menu-button):not(.mobile-menu-link):not(.payment-method-option):not(.m-category):not(.m-add-category):not(.m-product-row) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  vertical-align: middle;
}

.mobile-menu-link:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

button[hidden] {
  display: none;
}

@media (max-width: 760px) {
  .desktop-nav,
  .header-location,
  .login-link {
    display: none;
  }

  .mobile-menu-button {
    display: block;
  }
}
.admin-table-scroll { overflow-x: auto; }
.admin-fairness-table { width: 100%; border-collapse: collapse; text-align: left; }
.admin-fairness-table th, .admin-fairness-table td { padding: 12px; border-bottom: 1px solid #ececec; }
.admin-payout-form { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; }
.admin-payout-form label { display: grid; gap: 6px; }
.order-settlement { padding: 12px 0; border-top: 1px solid #ececec; }
.order-settlement summary { cursor: pointer; font-weight: 600; }
.order-settlement dl { display: grid; gap: 8px; margin: 12px 0; }
.order-settlement dl > div { display: flex; justify-content: space-between; gap: 12px; }
.order-settlement dd { margin: 0; font-weight: 600; white-space: nowrap; }

/* Saved delivery addresses share one selectable list with explicit delete confirmation. */
.location-saved-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.location-modal .saved-address-block { padding: 0; margin-bottom: 0; border: 0; background: #fff; }
.location-saved-address-title {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}
.location-saved-address-list {
  display: grid;
  gap: 8px;
}
.location-saved-address {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 7px;
}
.location-saved-address-select {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
  min-height: 60px;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e6e8eb;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.location-saved-address-select:hover,
.location-saved-address-select.is-selected,
.location-saved-address-select[aria-pressed="true"] {
  border-color: rgba(217, 21, 43, .48);
  background: #fff8f8;
}
.location-saved-address-radio {
  display: grid;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  place-items: center;
  border: 1.5px solid #c9cdd2;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
.location-saved-address-select.is-selected .location-saved-address-radio,
.location-saved-address-select[aria-pressed="true"] .location-saved-address-radio {
  border-color: var(--red);
  background: var(--red);
}
.location-saved-address-copy {
  display: grid;
  text-align: left;
  min-width: 0;
  gap: 3px;
}
.location-saved-address-copy strong {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
}
.location-saved-address-copy em {
  padding: 3px 7px;
  border-radius: 99px;
  background: #f1f3f5;
  color: #636a70;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}
.location-saved-address-copy small {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  text-overflow: ellipsis;
}
.location-saved-address-delete {
  display: grid;
  width: 44px;
  min-height: 44px;
  place-items: center;
  align-self: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--red);
  cursor: pointer;
}
.location-saved-address-delete:hover {
  background: #fff1f2;
}
.location-saved-address-delete svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
.location-saved-address-new {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px dashed #efbdc4;
  border-radius: 12px;
  background: #fff8f8;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}
.location-saved-address-new span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid #f1d7da;
  border-radius: 50%;
  font-size: 15px;
}
.address-delete-confirm[hidden] {
  display: none;
}
.location-modal .address-delete-confirm {
  z-index: 3;
}
.address-delete-confirm .cart-remove-confirm-card {
  position: relative;
  z-index: 1;
}
.address-delete-confirm .address-delete-status {
  margin: 12px 0 0;
  color: var(--red);
  font-size: 11px;
  line-height: 1.4;
}
.address-delete-confirm .address-delete-status[hidden] {
  display: none;
}
.store-card-meta [data-delivery-estimate],
.store-card-mobile-details [data-delivery-estimate],
.search-store-delivery [data-delivery-estimate],
.store-meta [data-delivery-estimate] {
  font-weight: 800;
}
body[data-screen-protection="true"],
body[data-screen-protection="true"] *,
body[data-screen-protection="true"] *::before,
body[data-screen-protection="true"] *::after {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
body[data-screen-protection="true"] :is(input, textarea, select, [contenteditable]:not([contenteditable="false"]), [role="textbox"], [role="combobox"]),
body[data-screen-protection="true"] [contenteditable]:not([contenteditable="false"]) * {
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}
.product-card[data-add-product]:not([aria-disabled="true"]) {
  cursor: pointer;
}
.toast {
  bottom: max(var(--toast-bottom, 22px), calc(22px + env(safe-area-inset-bottom, 0px)));
  overflow-wrap: anywhere;
}
@media (max-width: 560px) {
  .location-modal { padding: 0; place-items: end center; }
  .location-saved-address-select {
    min-height: 56px;
    padding: 8px;
  }
}

/* A direct account destination stays available in the shared header. */
.header-account-link {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid #f2cbd1;
  border-radius: 13px;
  background: #fff4f5;
  color: #c31528;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease;
}
.header-account-link:hover {
  border-color: #d9152b;
  background: #ffecef;
}
.header-account-link:focus-visible,
.mobile-account-link:focus-visible {
  outline: 2px solid #d9152b;
  outline-offset: 3px;
}
.header-account-link svg,
.mobile-account-link svg {
  flex-shrink: 0;
  width: 19px;
  height: 19px;
}
.header-account-link .account-link-compact {
  display: none;
}
.mobile-menu .mobile-account-link {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 5px;
  padding: 13px 12px;
  border: 1px solid #f2cbd1;
  border-radius: 12px;
  background: #fff4f5;
  color: #c31528;
  font-weight: 750;
}
@media (max-width: 1040px) {
  .header-account-link .account-link-label { display: none; }
  .header-account-link .account-link-compact { display: inline; }
  .header-inner { gap: 24px; }
  .header-actions { gap: 12px; }
  .header-location [data-location-label] { max-width: 150px; }
}
@media (max-width: 1000px) {
  .browse-page .mobile-menu:not([hidden]) {
    display: grid;
    gap: 2px;
    padding-bottom: 13px;
  }
  .browse-page .header-actions .header-logout-form { display: none; }
}
@media (max-width: 760px) {
  .header-inner { gap: 12px; }
  .header-actions { gap: 8px; }
  .header-actions .header-logout-form { display: none; }
  .header-account-link { padding: 10px 11px; }
}
@media (max-width: 360px) {
  .header-account-link { width: 44px; padding: 0; }
  .header-account-link .account-link-compact { display: none; }
}

/* Product inspection remains available outside opening hours. */
.product-detail-copy > p.product-availability-note,
.product-options-card .product-availability-note {
  flex: 0 0 auto;
  margin: 12px 0 4px;
  padding: 10px 12px;
  border: 1px solid #f1dfb7;
  border-radius: 10px;
  background: #fff8e9;
  color: #775321;
  font-size: 12px;
  line-height: 1.5;
}
.product-options-card .product-options-actions > button:disabled {
  background: #e9ebef;
  border-color: #e9ebef;
  color: #626a76;
  cursor: not-allowed;
  box-shadow: none;
}


.cart-pickup-location {
  display: grid;
  gap: 4px;
  margin: 12px 0;
  padding: 12px 14px;
  border: 1px solid #e6e9ed;
  border-radius: 12px;
  background: #f8fafb;
  line-height: 1.45;
}
.cart-pickup-location[hidden] { display: none; }
.cart-pickup-location strong { color: var(--ink); font-size: 12px; }
.cart-pickup-location span { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }

/* Checkout receiving options are also used on the restaurant home page. */
.cart-modal .checkout-fulfillment-options {
  display: grid;
  gap: 10px;
  margin: 14px 0 16px;
  padding: 0;
  border: 0;
}

.cart-modal .checkout-fulfillment-options legend {
  margin: 0 0 9px;
  padding: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}

.cart-modal .checkout-fulfillment-options-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cart-modal .checkout-fulfillment-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 66px;
  padding: 12px 14px;
  border: 1px solid #e3e5e9;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.cart-modal .checkout-fulfillment-option:has(input:checked) {
  border-color: #d9152b;
  background: #fff8f8;
  box-shadow: 0 0 0 2px rgb(217 21 43 / 8%);
}

.cart-modal .checkout-fulfillment-option:focus-within {
  outline: 2px solid rgb(217 21 43 / 24%);
  outline-offset: 2px;
}

.cart-modal .checkout-fulfillment-option input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #d9152b;
}

.cart-modal .checkout-fulfillment-option > span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.cart-modal .checkout-fulfillment-option strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
}

.cart-modal .checkout-fulfillment-option small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}

@media (max-width: 560px) {
  .cart-modal .checkout-fulfillment-options-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cart-modal .checkout-fulfillment-option {
    transition: none;
  }
}

/* Keep disabled checkout fields and status text hidden even when component styles set display. */
[data-checkout-delivery-fields][hidden],
[data-whatsapp-save-status][hidden] { display: none !important; }


/* Selected controls stay clear without the translucent red halo. */
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid #737b86;
  outline-offset: 2px;
}
.option-choice:has(input:checked),
.slot-count-option:has(input:checked),
.category-slot-choice:has(input:checked),
.category-price-choice:has(input:checked),
.slot-flavor-option:has(input:checked),
.cart-modal .checkout-fulfillment-option:has(input:checked),
.payment-method-option.is-active,
.location-saved-address-select.is-selected,
.location-saved-address-select[aria-pressed="true"] {
  border-color: #c7cbd0;
  background: #f7f8f9;
  box-shadow: none;
}
:focus-visible {
  outline-color: #737b86 !important;
  box-shadow: none !important;
}
.cart-kitchen-note {
  margin: 0 0 14px;
}
.slot-flavor-option:focus-within,
.cart-modal .checkout-fulfillment-option:focus-within,
.payment-method-option:focus-visible {
  outline: 2px solid #737b86;
  outline-offset: 2px;
}
.cart-modal .checkout-fulfillment-option:focus-within {
  outline-color: #737b86;
}
.cart-ingredient-removal {
  margin-top: 9px;
  font-size: 12px;
}
.cart-ingredient-removal summary {
  width: fit-content;
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}
.cart-ingredient-removal > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 8px 0 2px;
}
.cart-ingredient-removal label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  color: var(--ink);
  cursor: pointer;
}
.cart-ingredient-removal input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #737b86;
}
.order-kitchen-note {
  margin: 9px 0;
  padding: 9px 11px;
  border-radius: 9px;
  background: #f5f6f7;
  color: var(--ink);
  font-size: 12px;
}

.m-ingredient-removal-setting {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #e3e5e9;
  border-radius: 12px;
  background: #fff;
}
.m-ingredient-removal-setting .m-check {
  margin: 0;
}
.m-ingredient-removal-setting [data-ingredient-removal-hint] {
  display: block;
  line-height: 1.45;
}

.courier-earnings{border:1px solid var(--line);border-radius:18px;padding:22px;margin-bottom:20px;background:#fff;min-width:0}
.courier-earnings h2{font-size:1.2rem;margin:0 0 18px}
.courier-earnings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}
.courier-earnings-grid div{display:grid;gap:8px;background:#f7f9fa;border-radius:10px;padding:14px;min-width:0}
.courier-earnings-grid span{font-size:.8rem;color:#68757e}
.courier-earnings-grid strong{font-size:1.1rem;overflow-wrap:anywhere}
.courier-earnings-history{display:grid;gap:12px;margin-top:20px}
.courier-earnings-history article{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid #e7ecee;min-width:0}
.courier-earnings-history article>div{display:grid;gap:5px;min-width:0}
.courier-earnings-history strong{font-size:.9rem;overflow-wrap:anywhere}
.courier-earnings-history span,.courier-earnings-history small{font-size:.75rem;color:#68757e}
@media(max-width:360px){.courier-earnings{padding:16px}.courier-earnings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.courier-earnings-history article{flex-wrap:wrap}}

.cart-loyalty{padding:14px 16px;border:1px solid #d6e4cf;border-radius:14px;background:#f7faf5;margin:14px 0}.cart-loyalty label{display:grid;gap:8px;font-size:13px;font-weight:700;color:#385d38}.cart-loyalty select{width:100%;min-width:0;min-height:44px;border:1px solid #cdd8c8;border-radius:8px;background:#fff;padding:8px;font:inherit;color:#343c31}.cart-loyalty small{display:block;font-size:12px;line-height:1.5;margin-top:8px;color:#697264}[data-loyalty-discount-row]{color:#397144}[data-loyalty-discount-row][hidden],.cart-loyalty[hidden]{display:none}
