/* Purchase presentation only. Existing brand variables, business rules and editorial sections are retained. */
#mercados .z-market .z-market-content{gap:12px;padding-top:18px}
#mercados .z-market .z-market-title{margin:0;font-size:27px;line-height:1.15}
#mercados .z-market .z-card-price{display:flex;flex-direction:column;gap:4px}
#mercados .z-market .z-card-price .z-price{font-size:28px;line-height:1.2;font-weight:800;margin:0;color:var(--field)}
#mercados .z-market .z-price-caption{font-size:13px;line-height:1.5;color:var(--muted);margin:0}
#mercados .z-market .z-description{font-size:13px;line-height:1.55;margin:0;min-height:0;max-width:none}
#mercados .z-market .z-card-action{margin:2px 0}
#mercados .z-market .z-card-action .z-primary{width:100%;justify-content:center;min-height:48px;font-size:14px}
#mercados .z-market details{margin:0;padding-top:6px;border-top:1px solid var(--line)}
#mercados .z-market details>summary{font-size:14px;font-weight:700;min-height:44px;display:flex;align-items:center;justify-content:space-between}
#mercados .z-market details .contents{font-size:13px;line-height:1.5}
#mercados .z-market .z-photo-basket{display:none}
#mercados .z-market .z-card-photo{width:100%;aspect-ratio:1672/941}
#mercados .z-market .z-card-photo>img{width:100%;height:100%;object-fit:cover}
#offcanvasRight .z-cart-body{padding:20px!important}
#offcanvasRight #market-selection{margin:0;padding:0;background:transparent;border:0}
#offcanvasRight .z-cart-product{display:flex;align-items:center;gap:16px;padding-bottom:18px;border-bottom:1px solid var(--line)}
#offcanvasRight .z-cart-product>img{width:88px;height:88px;border-radius:14px;object-fit:cover;flex-shrink:0}
#offcanvasRight #market-selection-title{font-size:12px;font-weight:500;color:var(--muted);margin:0 0 2px}
#offcanvasRight #cart-market-name{font-size:22px;font-weight:800;color:var(--field);line-height:1.2;margin:0}
#offcanvasRight .z-market-switch{margin-top:8px}
#offcanvasRight .z-market-switch>summary{font-size:13px;font-weight:700;cursor:pointer;min-height:32px}
#offcanvasRight .z-market-switch label{display:block;font-size:12px;margin-top:8px}
#offcanvasRight .z-market-switch select{width:100%;font-size:16px;min-height:44px;margin-top:4px}
#offcanvasRight .z-cart-options{display:flex;flex-direction:column;gap:16px;padding:18px 0}
#offcanvasRight .z-cart-quantity{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;margin:0}
#offcanvasRight #quantity{width:88px;min-height:44px;font-size:16px;margin:0;text-align:center}
#offcanvasRight .z-basket-toggle{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);border-radius:14px;background:white;margin:0;cursor:pointer}
#offcanvasRight .z-basket-toggle input{width:20px;height:20px;min-height:20px;margin:0;flex-shrink:0;accent-color:var(--field)}
#offcanvasRight .z-basket-toggle strong{display:block;font-size:14px;line-height:1.5;font-weight:700}
#offcanvasRight .z-basket-toggle small{display:block;font-size:12px;color:var(--muted);margin-top:2px}
#offcanvasRight .z-basket-return-panel{margin:0;border-top:1px solid var(--line);padding-top:6px}
#offcanvasRight .z-basket-return-panel>summary{font-size:13px;line-height:1.5;min-height:44px;cursor:pointer;padding-top:10px}
#offcanvasRight #basket-return{display:flex;justify-content:space-between;align-items:center;font-size:13px;gap:12px;margin-top:12px}
#offcanvasRight #returned{width:88px;font-size:16px;min-height:44px;margin:0;text-align:center}
#offcanvasRight #cart-status{font-size:12px;color:var(--muted);margin:0 0 14px;line-height:1.5}
#offcanvasRight #quote-result:empty{display:none}
#offcanvasRight #quote-result h3{font-size:14px;margin:0 0 10px;font-weight:800}
#offcanvasRight .quote-breakdown,#checkout-view .quote-breakdown{display:grid;grid-template-columns:1fr auto;gap:8px 16px;font-size:14px;margin:0}
#offcanvasRight .quote-breakdown dt,#checkout-view .quote-breakdown dt{font-weight:500;margin:0}
#offcanvasRight .quote-breakdown dd,#checkout-view .quote-breakdown dd{text-align:right;font-weight:700;white-space:nowrap;margin:0}
#offcanvasRight .z-quote-schedule,#checkout-view .z-quote-schedule{border-top:1px solid var(--line);padding-top:12px;margin-top:14px}
#offcanvasRight .z-quote-schedule p,#checkout-view .z-quote-schedule p{font-size:12px;line-height:1.6;color:var(--muted);margin:0 0 6px}
#offcanvasRight .z-cart-footer .z-primary{font-size:15px;min-height:48px}
#checkout-view{padding:28px 28px 60px;scroll-margin-top:100px;max-width:1120px}
#checkout-view .z-checkout-heading{padding-bottom:24px}
#checkout-view .z-checkout-heading>.z-text-cta{font-size:13px;margin-bottom:14px;min-height:32px}
#checkout-view h1{font-size:34px;line-height:1.15;letter-spacing:-.8px;font-weight:800;margin:20px 0 10px;color:var(--field)}
#checkout-view .z-checkout-heading>p{font-size:14px;color:var(--muted);margin:0;line-height:1.6}
.z-purchase-steps{list-style:none;display:flex;gap:24px;align-items:center;padding:0;margin:0;flex-wrap:wrap;font-size:13px;color:var(--muted)}
.z-purchase-steps>li{display:flex;align-items:center;gap:7px;white-space:nowrap}
.z-purchase-steps>li>span{display:grid;place-items:center;width:24px;height:24px;border:1px solid var(--line);border-radius:50%;font-size:12px}
.z-purchase-steps>[aria-current=step]{color:var(--field);font-weight:800}
.z-purchase-steps>[aria-current=step]>span{background:var(--field);color:white;border-color:var(--field)}
#checkout-view .z-checkout-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:28px;align-items:start}
#checkout-view #purchase{margin:0;padding:0;min-width:0}
#checkout-view #delivery-step{padding:26px;border:1px solid var(--line);border-radius:24px;background:white;scroll-margin-top:95px}
#checkout-view #delivery-step>h2{font-size:23px;line-height:1.25;font-weight:800;letter-spacing:-.4px;margin:0 0 10px}
#checkout-view #delivery-guide{font-size:13px;line-height:1.6;color:var(--muted);margin:0 0 20px}
#checkout-view #purchase .grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#checkout-view #purchase .grid label{font-size:13px;line-height:1.5;margin:0}
#checkout-view input:not([type=checkbox]),#checkout-view select{width:100%;min-height:48px;font-size:16px;border:1px solid var(--line);border-radius:12px;background:var(--field-soft);padding:10px 12px;margin-top:6px}
#checkout-view input[type=checkbox]{width:20px;height:20px;min-height:20px;flex-shrink:0;margin:2px 0 0;accent-color:var(--field)}
#checkout-view #delivery-step>label,#checkout-view #data-policy-panel>label{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.6;margin-top:20px}
#checkout-view #data-policy-panel{min-width:0;border:1px solid var(--line);border-radius:14px;padding:16px;margin:20px 0}
#checkout-view #data-policy-panel legend{font-size:14px;font-weight:800;float:none;width:auto;padding:0 4px}
#checkout-view #data-policy-status{font-size:11px;line-height:1.5;overflow-wrap:anywhere}
#checkout-view #data-policy-panel summary{font-size:13px;min-height:32px;cursor:pointer}
#checkout-view #policy-text{max-height:320px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}
#checkout-view .summary-note,#checkout-view #purchase-status{font-size:12px;line-height:1.6;color:var(--muted)}
#checkout-view #create{width:100%;min-height:50px;font-size:15px;font-weight:800;background:var(--field);border-color:var(--field);border-radius:12px;color:white}
#checkout-view .z-test-data-tools{margin-top:18px;font-size:12px;color:var(--muted)}
#checkout-view .z-test-data-tools summary{cursor:pointer;min-height:32px;padding-top:5px}
#checkout-view #test-data{font-size:12px;margin-top:8px}
#checkout-view .z-checkout-aside{position:sticky;top:110px;min-width:0;padding:20px;border:1px solid var(--line);border-radius:22px;background:white}
#checkout-view .z-checkout-summary>summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;min-width:0}
#checkout-view .z-checkout-summary>summary::-webkit-details-marker{display:none}
#checkout-view .z-checkout-summary>summary>img{width:62px;height:62px;object-fit:cover;border-radius:12px;flex-shrink:0}
#checkout-view .z-checkout-summary>summary>span{min-width:0;flex:1}
#checkout-view #checkout-market-name{display:block;font-size:14px;line-height:1.4}
#checkout-view .z-checkout-summary>summary small{display:block;font-size:11px;line-height:1.5;color:var(--muted);margin-top:4px;text-decoration:underline}
#checkout-view #checkout-summary-total{font-size:16px;white-space:nowrap;color:var(--field)}
#checkout-view #checkout-quote{padding-top:20px}
#checkout-view #checkout-quote>h3{font-size:14px;font-weight:800;margin:0 0 12px}
#checkout-view #edit-checkout-market{font-size:13px;min-height:44px;margin-top:16px;width:100%}
#checkout-view .z-checkout-note{font-size:12px;line-height:1.6;color:var(--muted);margin:16px 0 0}
#mi-pedido #payment-progress{padding:0 0 20px;margin-bottom:20px;border-bottom:1px solid var(--line)}
#mi-pedido .payment-actions>button{font-size:15px;min-height:48px}
@media(max-width:899px){#checkout-view{padding:18px 20px 110px}#checkout-view h1{font-size:28px}#checkout-view .z-checkout-grid{grid-template-columns:1fr;gap:18px}#checkout-view .z-checkout-aside{position:static;order:-1;padding:16px}#checkout-view #delivery-step{padding:20px}#checkout-view .z-checkout-note{margin-top:10px}#checkout-view .z-checkout-heading{padding-bottom:18px}#checkout-view #edit-checkout-market{margin-top:10px}#checkout-view #purchase .grid{gap:14px}.z-purchase-steps{gap:14px;font-size:12px}}
@media(max-width:600px){#mercados .z-market .z-market-content{padding-top:14px;gap:10px}#mercados .z-market .z-market-title{font-size:25px}#mercados .z-market .z-card-price .z-price{font-size:27px}#checkout-view #purchase .grid{grid-template-columns:1fr}#checkout-view #checkout-summary-total{font-size:14px}#checkout-view #checkout-market-name{font-size:13px}#checkout-view .z-checkout-summary>summary{gap:9px}#checkout-view .z-checkout-summary>summary>img{width:48px;height:48px}}

/* Override inherited form rules only inside this purchase block. */
#checkout-view #delivery-step{margin:0;padding:26px}
#checkout-view #purchase #delivery-step>h2{font-size:23px;line-height:1.25;margin:0 0 10px}
#checkout-view #purchase .grid label{margin:0;font-size:13px}
#offcanvasRight #quote-result .quote-breakdown{gap:8px 16px;font-size:14px}
#offcanvasRight #quote-result .quote-breakdown dt,#offcanvasRight #quote-result .quote-breakdown dd{font-size:13px;border:0;padding:0}
#offcanvasRight .z-cart-footer{padding:18px 20px}
#offcanvasRight .z-cart-footer .z-demo-note{margin:8px 0 0;min-height:0;font-size:10px}
#offcanvasRight .z-cart-footer .z-back-selection{min-height:36px;padding:8px}
@media(max-width:899px){#checkout-view #delivery-step{padding:20px}}

#checkout-view{background:transparent;border:0;border-radius:0;margin:0 auto;box-shadow:none}
#checkout-view #edit-checkout-market{border:1px solid var(--line);border-radius:10px;background:var(--field-soft);color:var(--field);font-weight:700;padding:10px 14px}
/* Continuation belongs to the purchase, not to the editorial homepage. */
.z-purchase-recovery{--recovery-green:var(--field,#1c493a);display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:28px;row-gap:14px;max-width:1064px;margin:24px auto;padding:24px 28px;border:1px solid var(--line,#dce3d3);border-radius:20px;background:#fff;color:var(--recovery-green);box-shadow:0 8px 24px rgb(28 73 58 / 4%)}
.z-purchase-recovery[hidden],.z-purchase-recovery [hidden]{display:none!important}
.z-recovery-heading{grid-column:1/-1}
.z-recovery-kicker{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:800;letter-spacing:1.35px;color:var(--muted,#68775c);line-height:1.4}
.z-recovery-kicker>span{width:6px;height:6px;border-radius:50%;background:var(--recovery-green);box-shadow:0 0 0 3px var(--field-soft,#f0f4e8)}
.z-purchase-recovery h2{font-size:24px;font-weight:800;letter-spacing:-.65px;line-height:1.15;margin:7px 0 0;color:var(--recovery-green)}
.z-recovery-product{grid-column:1;display:flex;align-items:center;gap:14px;min-width:0}
.z-recovery-product>img{width:76px;height:76px;object-fit:cover;border-radius:12px;flex-shrink:0;border:1px solid var(--line,#dce3d3)}
.z-recovery-product-copy{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
.z-recovery-product-copy>strong{font-size:16px;line-height:1.3;font-weight:800}
.z-recovery-product-copy>span{font-size:12px;line-height:1.4;color:var(--muted,#68775c)}
.z-recovery-price{display:flex;flex-direction:column;gap:4px;text-align:right;margin-left:12px;flex-shrink:0}
.z-recovery-price>span{font-size:10px;line-height:1.4;color:var(--muted,#68775c)}
.z-recovery-price>strong{font-size:19px;line-height:1.2;font-weight:800;letter-spacing:-.45px;white-space:nowrap}
.z-purchase-recovery .z-recovery-message{grid-column:1;max-width:48rem;font-size:12px;line-height:1.5;margin:0;color:var(--muted,#68775c)}
.z-recovery-actions{grid-column:2;grid-row:2/4;display:flex;align-items:center;gap:12px}
.z-purchase-recovery .z-recovery-primary{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:46px;min-width:190px;padding:12px 18px;border:1px solid var(--recovery-green);border-radius:12px;background:var(--recovery-green);color:#fff;font:inherit;font-size:14px;font-weight:700;text-decoration:none;line-height:1.3;cursor:pointer;box-shadow:0 4px 9px rgb(28 73 58 / 9%);transition:box-shadow .18s,transform .18s}
.z-purchase-recovery .z-recovery-primary:hover{box-shadow:0 6px 14px rgb(28 73 58 / 15%);transform:translateY(-1px)}
.z-purchase-recovery .z-recovery-primary:focus-visible{outline:2px solid var(--recovery-green);outline-offset:4px}
.z-purchase-recovery .z-recovery-primary:disabled{opacity:.65;cursor:wait;transform:none}
.z-purchase-recovery .z-recovery-assurance{grid-column:1/-1;display:flex;align-items:center;gap:6px;font-size:10px;line-height:1.5;margin:0;color:var(--muted,#68775c);padding-top:12px;border-top:1px solid var(--line,#dce3d3)}
.z-recovery-assurance>svg{flex-shrink:0}
@media(max-width:600px){.z-purchase-recovery{display:flex;flex-direction:column;gap:14px;margin:16px;width:calc(100% - 32px);padding:20px;border-radius:18px}.z-purchase-recovery h2{font-size:22px}.z-recovery-product{gap:11px}.z-recovery-product>img{width:62px;height:68px;border-radius:10px}.z-recovery-product-copy>strong{font-size:14px}.z-recovery-product-copy>span{font-size:11px}.z-recovery-price{margin-left:0}.z-recovery-price>strong{font-size:17px}.z-recovery-actions{display:flex;width:100%}.z-purchase-recovery .z-recovery-primary{width:100%;min-width:0;min-height:46px}.z-purchase-recovery .z-recovery-message{font-size:12px}.z-purchase-recovery .z-recovery-assurance{border:0;padding:0;justify-content:center;font-size:10px}}
@media(prefers-reduced-motion:reduce){.z-purchase-recovery .z-recovery-primary{transition:none}}
#purchase [aria-invalid="true"]{border-color:#9b3f28;outline:1px solid #9b3f28}


.z-field-error{display:block;color:#8a3824;font-size:.8rem;line-height:1.4;margin-top:.35rem}
