/* 0.10.2 — customer-facing refinements; merchant branding stays editable. */
.customer-view {
  --shop-action: color-mix(in srgb, var(--accent) 65%, #000);
  --shop-readable: #5c626a;
}
.customer-view .shop-hero {
  height: clamp(150px, 21vw, 240px);
  min-height: 0;
}
.customer-view .shop-hero.no-cover { height: auto; min-height: 0; }
.customer-view .no-cover .hero-copy { position: static; }
.customer-view .hero-copy { inset: 0; padding: 24px 32px; display: flex; flex-direction: column; justify-content: center; max-width: 680px; }
.customer-view .hero-copy h1 { font-size: clamp(22px, 3vw, 34px); margin: 0 0 6px; line-height: 1.15; }
.customer-view .hero-copy .eyebrow { margin-bottom: 8px; }
.customer-view .hero-copy p { margin: 0; color: #fff; font-size: 13px; line-height: 1.4; }
.customer-view .no-cover .hero-copy p { color: #494b52; }
.customer-view .restaurant-meta,
.customer-view .food-content p,
.customer-view .section-title p,
.customer-view .section-title > span,
.customer-view .summary-row:not(.total):not(.discount),
.customer-view .customer-note,
.customer-view .checkout-steps,
.customer-view .upsell-card p,
.customer-view .timeline span { color: var(--shop-readable); }
.customer-view .restaurant-meta { font-size: 12px; }
.customer-view .category-nav button { color: #50545d; min-height: 44px; }
.customer-view .category-nav button.active,
.customer-view .btn.primary,
.customer-view .floating-bag,
.customer-view .checkout-steps .active b { background: var(--shop-action); color: white; }
.customer-view .checkout-steps .active,
.customer-view .timeline .reached { color: var(--shop-action); }
.customer-view .timeline .reached i { background: var(--shop-action); }
.customer-view :is(button,input,select,textarea):focus-visible { outline: 3px solid var(--shop-action); outline-offset: 3px; }
.customer-view .shop-search { margin-bottom: 12px; }
.customer-view .shop-search input { font-size: 15px; min-height: 44px; }
.customer-view .promo-strip { margin: 12px 0; }
.customer-view .promo-strip button { min-height: 44px; color: #765023; }
.customer-view .food-content p { font-size: 12px; }
.customer-view .cart-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.customer-view .product-footer { flex-wrap: wrap; gap: 8px; }
.customer-view .product-footer .btn { min-height: 48px; }
.customer-view .product-footer #draft-hint { flex-basis: 100%; color: #5c626a; text-align: center; font-size: 12px; }
.customer-view .product-footer .btn:disabled { cursor: not-allowed; }
.customer-view .product-footer .btn:disabled::after { display: none; }
.customer-view .choice { min-height: 44px; font-size: 14px; }
.customer-view .choice b { font-size: 13px; }
.customer-view .qty-control button { width: 34px; height: 34px; }
.customer-view .available-coupon { width: 100%; margin-bottom: 10px; color: #197a43; background: #e8f7ed; border-color: #bce4ca; }
.customer-view .review-items-title { margin: 20px 0 8px; font-size: 16px; }
.customer-view .detail-line small { display: block; margin-top: 4px; line-height: 1.5; }
.customer-view .tracking-eta { padding: 10px; background: #f3f5f7; border-radius: 9px; }
.customer-view .floating-bag small { display: block; font-size: 11px; opacity: .95; margin-top: 3px; }
.customer-view .favorite-strip { display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;padding:14px;border:1px solid #e1e5e9;border-radius:12px;background:white; }
.customer-view .favorite-strip strong { display:block;font-size:14px;color:var(--ink); }
.customer-view .favorite-strip small { display:block;font-size:12px;line-height:1.4;color:var(--shop-readable);margin-top:4px; }
.customer-view .favorite-actions { display:flex;flex-wrap:wrap;gap:7px; }
.customer-view .favorite-actions .btn { min-height:44px; }
.customer-view .post-purchase { border-color:#e1e5e9; }
.customer-view .post-purchase p { color:var(--shop-readable);font-size:13px;line-height:1.55; }
.customer-view .post-purchase .actions { flex-wrap:wrap;gap:10px; }
.customer-view .post-purchase .btn { min-height:44px; }
.customer-view .success-panel [data-c="copy-order"] { font-size:11px;padding:7px 12px;display:inline-flex;margin:0 0 12px; }
.customer-view .shop-footer-actions { display:flex;gap:8px;flex-wrap:wrap;align-items:center; }
.customer-view .shop-footer-actions .btn,.customer-view .customer-contact { min-height:40px; }
.customer-view .success-panel .actions { flex-wrap:wrap; }
.customer-view .pix-checkout .pix-total { display:block;font-size:28px;margin:14px 0; }
.customer-view .pix-qr { display:block;width:min(250px,90%);aspect-ratio:1;object-fit:contain;margin:18px auto;background:white;padding:8px;border:1px solid #dee2e6;border-radius:12px; }
.customer-view .pix-code { max-width:480px;margin:16px auto;text-align:left; }
.customer-view .pix-code textarea { resize:vertical;overflow-wrap:anywhere;font-size:12px;width:100%; }
.customer-view .pix-checkout .btn { min-height:44px;margin:6px; }
@media (max-width: 760px) {
  .customer-view .shop-hero { height: 150px; }
  .customer-view .shop-hero.no-cover { height: auto; min-height: 0; }
  .customer-view .hero-copy { padding: 14px 20px; }
  .customer-view .hero-copy .eyebrow { font-size: 9px; margin-bottom: 5px; }
  .customer-view .hero-copy p { font-size: 12px; }
  .customer-view .restaurant-intro { display: grid; grid-template-columns: 50px 1fr; padding: 14px 0; gap: 8px 12px; }
  .customer-view .restaurant-intro h2 { margin-bottom: 5px; }
  .customer-view .restaurant-intro > .status { display: inline-flex; grid-column: 2; justify-self: start; margin: 0; font-size: 11px; }
  .customer-view .restaurant-meta { gap: 6px 10px; font-size: 11px; }
  .customer-view .category-nav { margin-bottom: 10px; padding: 8px 0; }
  .customer-view .section-title { margin: 16px 0 10px; }
  .customer-view .food-card.horizontal .food-photo { height: auto; min-height: 112px; }
  .customer-view .food-card.horizontal .food-content { padding: 12px; }
  .customer-view .checkout-section { margin: 12px 0; padding: 16px; }
  .customer-view .checkout-section h2 { margin-bottom: 12px; }
  .customer-view .upsell-card { min-width: 150px; max-width: 180px; padding: 10px; }
  .customer-view .upsell-card .cart-thumb { height: 48px; margin-bottom: 6px; }
  .customer-view .checkout-bottom { padding-bottom: max(15px, env(safe-area-inset-bottom)); }
  .customer-view .floating-bag { bottom: max(12px, env(safe-area-inset-bottom)); }
  .customer-view #toast { bottom: 100px; }
  .customer-view .commerce-dialog { max-height: 94dvh; }
  .customer-view .product-picture { height: 132px; }
  .customer-view .review-panel .modal-actions { flex-wrap: wrap; }
  .customer-view .favorite-strip { align-items:flex-start;flex-direction:column; }
  .customer-view .favorite-actions { width:100%; }
  .customer-view .favorite-actions .primary { flex:1; }
}
@media (prefers-reduced-motion: reduce) {
  .customer-view .food-card, .customer-view .food-photo img, .customer-view .btn { transition: none; }
}
