/* Recorrido del cliente. Los componentes de Wallet permanecen aparte. */
.customer-enabled #bag .aurum-drag-zone,.customer-enabled #bag .aurum-confirmed { display:none!important; }
.customer-primary { display:inline-flex; justify-content:center; align-items:center; gap:16px; min-height:48px; padding:14px 20px; border:1px solid #622b36; border-radius:5px; background:#622b36; color:#fff8eb; text-decoration:none; font:600 14px/1.3 var(--font-text); cursor:pointer; }
.customer-primary:disabled { opacity:.65; cursor:wait; }
.customer-cart-actions { margin-bottom:10px; }
.customer-cart-actions .customer-primary { width:100%; }
.customer-bag-amount { display:flex; align-items:center; justify-content:space-between; border-top:1px solid #bcae96; padding:14px 0 0; margin-top:8px; color:#622b36; font:400 13px var(--font-text); }
.customer-bag-amount strong { font:400 28px var(--font-display); }
.customer-detail-price { font:600 13px var(--font-text); color:#622b36; margin-top:18px; }
.customer-current-order { font:500 11px var(--font-text); color:inherit; text-underline-offset:5px; }
.customer-current-order { display:inline-flex; align-items:center; min-height:44px; }
.customer-page { margin:0; color:#25332c; background:#f2eee6; font:16px/1.5 var(--font-text); }
.customer-page * { box-sizing:border-box; }
.customer-page [hidden],.customer-enabled [hidden] { display:none!important; }
.customer-page a:focus-visible,.customer-page button:focus-visible { outline:3px solid #b58c56; outline-offset:4px; }
.customer-header { position:relative; display:flex; align-items:center; justify-content:space-between; gap:18px; min-height:91px; padding:18px max(22px,calc((100% - 1060px)/2)); background:#622b36; color:#f2eee6; }
.customer-header::after { content:""; position:absolute; inset:auto 0 -13px; height:16px; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 16'%3E%3Cpath d='M0 0H70C64 20 6 20 0 0Z' fill='%23622b36'/%3E%3Cpath d='M0 0C6 20 64 20 70 0' stroke='%23d4ba94' fill='none'/%3E%3C/svg%3E") repeat-x; background-size:70px 16px; }
.customer-header>a { color:inherit; font-size:12px; text-decoration:none; }
.customer-header>a:last-child { display:inline-flex; align-items:center; min-height:44px; }
.customer-brand { display:flex; align-items:center; gap:12px; }
.customer-brand img { object-fit:contain; filter:brightness(0) invert(.94); }
.customer-brand>span { font:400 26px/1 var(--font-display); letter-spacing:.15em; }
.customer-brand small { display:block; font:500 8px/1.4 var(--font-text); letter-spacing:.18em; margin-top:6px; }
.customer-page main { max-width:1100px; margin:auto; padding:40px 22px 48px; }
.customer-mode { color:#7a6659; font-size:9px; font-weight:650; letter-spacing:.17em; margin:0 0 30px; }
.customer-eyebrow { font:650 10px/1.4 var(--font-text); letter-spacing:.16em; color:#856344; margin:0 0 10px; }
.customer-heading { margin:0 0 30px; max-width:780px; }
.customer-page h1,.customer-page h2 { font-family:var(--font-display); font-weight:400; line-height:1.04; }
.customer-page h1 { font-size:clamp(40px,5.6vw,66px); letter-spacing:-.045em; margin:0 0 14px; color:#622b36; }
.customer-heading>p:last-child { max-width:580px; font-size:14px; color:#64594e; margin:0; }
.customer-layout { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(290px,1fr); gap:24px; align-items:start; }
.customer-paper,.customer-summary { border:1px solid #daccb9; background:#fffbf4; border-radius:13px; padding:28px; }
.customer-page h2 { font-size:28px; margin:0; }
.customer-section-title { display:flex; justify-content:space-between; align-items:baseline; gap:15px; margin-bottom:22px; }
.customer-section-title a { color:#622b36; font-size:12px; text-underline-offset:4px; }
.customer-item { display:grid; grid-template-columns:58px minmax(0,1fr) auto; align-items:center; gap:14px; padding:17px 0; border-top:1px solid #dfd2c0; }
.customer-item img { display:block; width:58px; height:68px; object-fit:cover; border-radius:4px; background:#e2d6c3; }
.customer-item h3 { font:400 20px/1.15 var(--font-display); margin:0 0 5px; overflow-wrap:anywhere; }
.customer-item p { margin:0; font-size:11px; color:#776354; }
.customer-item>strong { font-size:13px; font-weight:550; font-variant-numeric:tabular-nums; }
.customer-total { display:flex; align-items:baseline; justify-content:space-between; gap:20px; padding:20px 0 0; border-top:1px solid #b7a68f; margin-top:3px; font-size:13px; }
.customer-total>strong { color:#622b36; font:400 31px/1 var(--font-display); }
.customer-caption { color:#7b6a5b; font-size:11px; line-height:1.6; margin:12px 0 0; }
.customer-summary { background:#e9e2d5; }
.customer-summary h2 { font-size:34px; }
.customer-how { padding-left:19px; margin:24px 0; font-size:13px; color:#5e554b; }
.customer-how li { margin:12px 0; padding-left:5px; }
.customer-summary .customer-primary { width:100%; margin-top:22px; }
#customer-submit-status { color:#812e38; font-size:12px; margin-bottom:0; }
.customer-order-top { display:flex; align-items:center; justify-content:space-between; gap:15px; }
.customer-order-top h2 { font-size:48px; color:#622b36; letter-spacing:-.035em; }
.customer-badge { border:1px solid #c6b49d; border-radius:99px; color:#72503c; padding:5px 11px; font-size:11px; white-space:nowrap; }
.customer-badge[data-state="Listo"] { background:#e3eddf; color:#32533e; border-color:#a9b89a; }
.customer-progress { padding:0; list-style:none; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; margin:28px 0 12px; }
.customer-progress li { display:flex; align-items:center; gap:6px; border-bottom:2px solid #ded5c5; padding-bottom:12px; color:#837565; font-size:10px; }
.customer-progress li>span { display:grid; place-items:center; flex:none; width:22px; height:22px; border:1px solid #d0c4b1; border-radius:50%; font-size:10px; }
.customer-progress li[aria-current] { color:#622b36; border-color:#622b36; font-weight:650; }
.customer-progress li[aria-current]>span { background:#622b36; color:#fff6e8; border-color:#622b36; }
.customer-progress li[data-done] { color:#47704c; border-color:#9cb495; }
.customer-sync { color:#7e6c59; font-size:10px; margin-bottom:22px; }
.customer-sync[data-offline] { color:#8b343e; }
.customer-times { margin-top:22px; font-size:12px; }
.customer-times summary { cursor:pointer; color:#6c5141; text-underline-offset:4px; }
.customer-times dl { display:grid; grid-template-columns:1fr auto; gap:10px; margin:16px 0 0; font-size:11px; }
.customer-times dd { margin:0; text-align:right; }
.customer-pickup {   color:#f2eee6; border:1px solid #263c32;  text-align:center; }
.customer-pickup .customer-eyebrow { color:#d4ba94; }
.customer-pickup h2 { color:#f2eee6; font-size:31px; }
.customer-pickup>p:not(.customer-eyebrow) {  line-height:1.6; margin:14px auto 0;  color:#d4d5c8; }
.customer-qr-frame { width:min(248px,100%); margin:25px auto 0;    color:#1b342d; background:white; }
.customer-qr-frame img { width:100%; height:auto; display:block; aspect-ratio:1; }
.customer-qr-frame strong { display:block;  line-height:1.5;   }
.customer-save { display:inline-flex; align-items:center; min-height:44px; margin-top:7px;   text-underline-offset:4px; }
.customer-qr-error { padding:12px; margin-top:16px; border:1px solid #d4ba94; border-radius:5px; font-size:12px; }
.customer-qr-error button { min-height:44px; background:#f2eee6; color:#1b342d; border:0; border-radius:4px; padding:9px 14px; cursor:pointer; }
.customer-collected { padding:30px 0; }
.customer-collected>span { display:grid; place-items:center; margin:0 auto 20px; width:64px; height:64px; border:1px solid #d4ba94; border-radius:50%; color:#d4ba94; font-size:29px; }
.customer-collected strong { font:400 25px var(--font-display); }
.customer-collected p { color:#d4d5c8; font-size:13px; }
.customer-another { display:inline-flex; gap:30px; margin:22px 0 0; font-size:13px; color:#622b36; text-underline-offset:5px; }
.customer-message { max-width:680px; padding:16px 20px; border:1px solid #c7997b; background:#fcf1e2; border-radius:8px; margin:0 0 20px; font-size:13px; }
.customer-message button { background:transparent; color:#622b36; border:1px solid #b4977d; border-radius:4px; padding:8px 12px; cursor:pointer; }
.customer-footnote { font-size:10px; color:#8a7867; margin-top:36px; }
.customer-empty { padding:35px 0 80px; }
.customer-empty .customer-primary { margin-top:14px; }
@media(max-width:700px) {
 .customer-header { min-height:77px; padding:16px 18px; }
 .customer-brand>span { font-size:23px; }
 .customer-header>a:last-child { font-size:10px; }
 .customer-brand img { width:25px; height:31px; }
 .customer-page main { padding:34px 16px 35px; }
 .customer-mode { font-size:8px; margin-bottom:25px; }
 .customer-layout { grid-template-columns:minmax(0,1fr); gap:18px; }
 .customer-heading { margin-bottom:25px; }
 .customer-paper,.customer-summary { padding:22px 20px; }
 .customer-pickup { padding:28px 20px; }
 .customer-order-top h2 { font-size:42px; }
 #customer-receipt .customer-layout { display:flex; flex-direction:column; }
 #customer-receipt .customer-layout>div,#customer-receipt .customer-pickup { width:100%; }
 #customer-receipt .customer-pickup { order:-1; }
 .customer-progress li { font-size:9px; gap:5px; }
 .customer-item { grid-template-columns:46px minmax(0,1fr) auto; gap:11px; }
 .customer-item img { width:46px; height:56px; }
 .customer-item h3 { font-size:18px; }
 .customer-page h1 { font-size:44px; }
 .customer-current-order { font-size:9px; }
 #customer-review .customer-summary { padding-bottom:85px; }
 #customer-confirm { position:fixed; z-index:5; left:16px; bottom:max(12px,env(safe-area-inset-bottom)); width:calc(100% - 32px); min-height:52px; margin:0; box-shadow:0 0 0 8px #f2eee6e8,0 -8px 22px #f2eee6; }
}

/* La confirmación funciona como un comprobante de SANTEVANI, con su código de retiro. */
.customer-header-tools { display:flex; align-items:center; gap:22px; }
.customer-header-tools>a { color:inherit; font-size:12px; text-decoration:none; min-height:44px; display:inline-flex; align-items:center; }
.receipt-heading { padding-bottom:25px; border-bottom:1px solid #cdbca4; max-width:none; margin-bottom:30px; }
.receipt-heading h1 { font-size:clamp(42px,5.4vw,65px); font-style:italic; font-weight:400; }
#customer-receipt .customer-layout { grid-template-columns:minmax(0,1.18fr) minmax(310px,.82fr); gap:34px; }
.receipt-note { position:relative; border-radius:3px 3px 12px 12px; background:#fffcf6; padding:28px 30px; border-top:3px solid #622b36; box-shadow:0 8px 25px #3c2b1f06; }
.receipt-note-brand { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:26px; padding-bottom:17px; border-bottom:1px solid #d4c5ae; }
.receipt-note-brand>span:first-child { font:400 23px/1 var(--font-display); letter-spacing:.19em; color:#622b36; }
.receipt-note-brand>span:last-child { font:500 7px/1.4 var(--font-text); letter-spacing:.15em; color:#7a6655; }
.receipt-note .customer-order-top h2 { font:400 53px/1 var(--font-display); letter-spacing:-.045em; }
.receipt-confirmation-kind { margin:13px 0 0; font:500 8px/1.5 var(--font-text); letter-spacing:.13em; color:#8d7862; }
.receipt-note .customer-progress { margin:27px 0 10px; }
.receipt-note .customer-item h3 { font-size:23px; }
.receipt-note .customer-item img { width:48px; height:60px; }
.receipt-note .customer-total { padding-top:24px; margin-top:12px; }
.receipt-note .customer-total>strong { font:400 38px/1 var(--font-display); }
.customer-pickup { position:relative; overflow:hidden; padding:29px 28px 25px; border-radius:12px; background:radial-gradient(ellipse at top right,#2b4a3c55,transparent 70%),#1b342d; box-shadow:0 12px 32px #1b342d12; }
.customer-pickup::before { content:""; position:absolute; inset:0 0 auto; height:5px; background:#d4ba94; }
.customer-pickup>.customer-eyebrow { margin:0; font-size:8px; letter-spacing:.22em; }
.receipt-goat { display:block; margin:15px auto 14px; object-fit:contain; filter:brightness(0) invert(.83) sepia(.23); }
.customer-pickup h2 { font:400 29px/1.05 var(--font-display); letter-spacing:-.02em; }
.customer-pickup>p:not(.customer-eyebrow) { font-size:11px; max-width:250px; }
.customer-qr-frame { margin-top:22px; border:0; border-radius:8px; width:min(244px,100%); padding:10px 10px 12px; }
.customer-qr-frame strong { margin-top:4px; font-size:16px; letter-spacing:.12em; }
.customer-save { color:#d4ba94; font-size:10px; }
.customer-seal-copy { position:absolute; z-index:2; left:20px; right:20px; bottom:100px; text-align:center; color:#fff5e7; text-shadow:0 1px 15px #351d1b; }
.customer-seal-copy p { margin:0 0 7px; font:400 clamp(24px,4vw,40px)/1.1 var(--font-display); }
.customer-seal-copy>span { display:block; font:400 12px/1.5 var(--font-text); }
.customer-seal-copy small { display:block; margin-top:10px; font:500 8px/1.5 var(--font-text); letter-spacing:.16em; }
@media(max-width:700px) {
 .customer-header-tools { gap:14px; }
 .customer-header-tools>a { font-size:9px; }
 .receipt-heading { padding-bottom:22px; margin-bottom:23px; }
 .receipt-heading h1 { font-size:42px; }
 #customer-receipt .customer-layout { gap:22px; }
 .receipt-note { padding:23px 21px; }
 .receipt-note-brand { margin-bottom:22px; }
 .receipt-note .customer-order-top h2 { font-size:44px; }
 .receipt-note .customer-item h3 { font-size:20px; }
 .customer-pickup { padding:25px 23px 21px; }
 .customer-qr-frame { width:min(232px,100%); }
 .receipt-goat { width:22px; height:28px; margin:12px auto; }
 .customer-seal-copy { bottom:105px; }
}

/* Datos de quien pide, destinatarios y consentimiento de SMS (ritual-1) */
.customer-details { display:grid; gap:6px; margin:18px 0 4px; }
.customer-details label:not(.customer-consent) { font:600 12px/1.3 var(--font-text); color:#3d342c; margin-top:8px; }
.customer-details input[type=text],.customer-details input:not([type]),.customer-details input[type=tel],
.recipient-row input { width:100%; min-height:46px; padding:11px 13px; border:1px solid #bfae95; border-radius:5px; background:#fffbf4; color:#25332c; font:16px/1.3 var(--font-text); }
.customer-details input:focus-visible,.recipient-row input:focus-visible { outline:3px solid #b58c56; outline-offset:1px; border-color:#622b36; }
.customer-details input[aria-invalid] { border-color:#9b2a2a; }
.customer-field-hint { margin:0; font-size:12px; color:#64594e; }
.customer-field-error { margin:0; font-size:12px; font-weight:600; color:#8f2323; }
.customer-consent { display:grid; grid-template-columns:22px 1fr; gap:10px; align-items:start; margin-top:14px; font:12px/1.5 var(--font-text); color:#4b4239; cursor:pointer; }
.customer-consent input { width:20px; height:20px; margin:1px 0 0; accent-color:#622b36; }
.customer-consent a { color:#622b36; }
.customer-summary .customer-how { margin-top:18px; }
.customer-forget { display:block; margin:14px auto 0; padding:8px; border:0; background:none; color:#64594e; font:12px var(--font-text); text-decoration:underline; text-underline-offset:4px; cursor:pointer; }
.customer-recipients { margin:18px 0 4px; padding-top:14px; border-top:1px solid #e2d6c4; }
.customer-recipients summary { cursor:pointer; font:600 13px/1.4 var(--font-text); color:#622b36; min-height:32px; }
.customer-recipients .customer-caption { margin:6px 0 12px; }
#recipient-fields { display:grid; gap:10px; }
.recipient-row { display:grid; grid-template-columns:minmax(120px,.8fr) 1.2fr; gap:12px; align-items:center; font:14px/1.3 var(--font-display); color:#25332c; }
.customer-item-for { margin:4px 0 0; font:600 12px/1.4 var(--font-text); color:#622b36; }
.customer-repeat { display:inline-flex; gap:16px; align-items:center; min-height:46px; margin:22px 18px 0 0; padding:12px 18px; border:1px solid #622b36; border-radius:5px; background:#622b36; color:#fff8eb; font:600 14px var(--font-text); cursor:pointer; }
.customer-wallet-soon { margin:16px 0 0; padding-top:14px; border-top:1px solid rgba(242,238,230,.18); font-size:12px; line-height:1.5; color:rgba(242,238,230,.78); }
.customer-footnote a { color:inherit; }
@media (max-width:560px) { .recipient-row { grid-template-columns:1fr; gap:6px; } }
/* Contraste AA (4.5:1) en textos pequeños que axe marcó en la revisión y el comprobante. */
.customer-page .customer-eyebrow { color:#6b4e33; }
.customer-page .customer-caption,.customer-page .customer-footnote,.customer-page .customer-sync { color:#5c534a; }
.customer-page .receipt-confirmation-kind { color:#5f5246; }
.customer-page .customer-progress li { color:#5c534a; }
/* ritual-3: cuatro pasos y «Estoy aquí» */
.customer-page .customer-progress { grid-template-columns:repeat(4,minmax(0,1fr)); }
@media (max-width:480px) { .customer-page .customer-progress li { flex-direction:column; align-items:flex-start; gap:5px; } }
.customer-arrival { margin:4px auto 20px; max-width:300px; text-align:center; }
.customer-arrive { width:100%; min-height:50px; padding:13px 20px; border:1px solid #d4ba94; border-radius:5px; background:#f2eee6; color:#22362e; font:600 15px var(--font-text); letter-spacing:.01em; cursor:pointer; }
.customer-arrive:disabled { opacity:.7; cursor:wait; }
.customer-arrival-copy { margin:10px 0 0; font-size:12px; line-height:1.5; color:rgba(242,238,230,.86); }
/* ritual-4: hora de recogida, calendario y opinión */
.pickup-time { margin:4px 0 10px; padding:0; border:0; display:grid; gap:10px; }
.pickup-time legend { margin-bottom:8px; font:600 12px/1.3 var(--font-text); color:#3d342c; }
.pickup-option { display:grid; grid-template-columns:20px 1fr; gap:12px; align-items:start; padding:12px 14px; border:1px solid #cdbfa9; border-radius:6px; background:#fffbf4; cursor:pointer; }
.pickup-option:has(input:checked) { border-color:#622b36; box-shadow:inset 0 0 0 1px #622b36; }
.pickup-option:has(input:disabled) { opacity:.55; cursor:not-allowed; }
.pickup-option input { width:18px; height:18px; margin:2px 0 0; accent-color:#622b36; }
.pickup-option strong { display:block; font:600 14px/1.3 var(--font-text); color:#25332c; }
.pickup-option small { display:block; margin-top:2px; font:13px/1.4 var(--font-text); color:#5c534a; }
.pickup-slot-label { font:600 12px/1.3 var(--font-text); color:#3d342c; }
#pickup-slot { width:100%; min-height:46px; padding:10px 12px; border:1px solid #bfae95; border-radius:5px; background:#fffbf4; color:#25332c; font:16px/1.3 var(--font-text); }
.customer-details-label { margin:10px 0 0; font:600 12px/1.3 var(--font-text); letter-spacing:.06em; text-transform:uppercase; color:#6b4e33; }
.customer-pickup-when { margin:6px auto 4px; max-width:300px; padding:10px 14px; border:1px solid rgba(212,186,148,.5); border-radius:5px; color:#f2eee6; font:600 14px/1.4 var(--font-text); text-align:center; }
.customer-calendar { display:inline-block; margin:0 0 14px; color:#d4ba94; font:13px var(--font-text); text-decoration:underline; text-underline-offset:4px; }
.customer-feedback { margin:22px 0 4px; padding-top:18px; border-top:1px solid rgba(242,238,230,.2); text-align:center; }
.customer-feedback-title { margin:0 0 14px; font:400 21px/1.25 var(--font-display); color:#f2eee6; }
.feedback-options { display:grid; gap:8px; }
.feedback-options button,#feedback-send { min-height:46px; padding:11px 16px; border:1px solid rgba(212,186,148,.6); border-radius:5px; background:transparent; color:#f2eee6; font:600 14px var(--font-text); cursor:pointer; }
.feedback-options button:hover,.feedback-options button:focus-visible,#feedback-send:focus-visible { background:rgba(242,238,230,.1); outline:2px solid #d4ba94; outline-offset:2px; }
.feedback-note { display:grid; gap:8px; text-align:left; }
.feedback-note label { font:600 12px var(--font-text); color:#e6dfd3; }
.feedback-note textarea { width:100%; padding:10px 12px; border:1px solid #bfae95; border-radius:5px; background:#fffbf4; color:#25332c; font:15px/1.4 var(--font-text); resize:vertical; }
#feedback-send { background:#f2eee6; color:#22362e; border-color:#f2eee6; }
.feedback-thanks { margin:10px 0 0; font:14px/1.5 var(--font-text); color:#e6dfd3; }
.customer-wallet-soon p { margin:0; }
.customer-wallet-soon .wallet-buttons { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin:12px 0 2px; }
.customer-wallet-soon .wallet-add { min-height:44px; padding:10px 14px; border:1px solid rgba(242,238,230,.35); border-radius:8px; background:#111; color:#fff; font:600 13px var(--font-text); cursor:pointer; }
.customer-wallet-soon .wallet-demo-note { min-height:1.2em; margin:6px 0 0; font-size:12px; color:rgba(242,238,230,.82); }

/* Cancelar pedido (política: hasta empezar la preparación y 15 min antes de la recogida) */
.customer-cancel { margin:22px 0 0; padding-top:16px; border-top:1px solid #e2d6c4; }
.customer-cancel .customer-caption { margin:0 0 10px; }
.customer-cancel-btn { min-height:44px; padding:10px 16px; border:1px solid #9b2a2a; border-radius:5px; background:transparent; color:#8f2323; font:600 14px var(--font-text); cursor:pointer; }
.customer-cancel-btn:focus-visible { outline:3px solid #b58c56; outline-offset:2px; }
