.storefront {background:var(--bg);font-family:var(--body);color:var(--ink);font-size:17px}
.storefront[dir=rtl],html[dir=rtl] .storefront {font-family:var(--arabic);line-height:1.6}
.store-wrap {width:min(1240px,calc(100% - 64px));margin-inline:auto}
.store-header {border-bottom:1px solid #dcd6cb;background:var(--bg)}
.store-nav,.store-header nav,.store-footer .store-wrap,.product-buy,.shop-summary,.total-row,.basket-row {display:flex;align-items:center;justify-content:space-between;gap:16px}
.store-nav {min-height:80px}
.store-brand img {display:block;width:145px;height:69px;object-fit:contain}
.store-header nav {gap:18px}
.language-switch,.basket-link,.shop-back {font-size:1rem;font-weight:650}
.language-switch,.shop-back {text-decoration:underline;text-underline-offset:4px}
.basket-link,.store-button,.stepper {display:inline-flex;align-items:center;justify-content:center;border:2px solid var(--ink);border-radius:19px 23px 20px 21px}
.basket-link {background:var(--yellow);padding:6px 14px;gap:9px}
.basket-link span {min-width:24px;text-align:center;border-radius:50%;background:var(--ink);color:white;line-height:24px}
.store-intro {display:flex;align-items:center;justify-content:space-between;gap:20px;padding:44px 0 26px}
.store-intro h1,.checkout-title h1 {font-family:var(--display);font-size:clamp(2.2rem,4vw,3.8rem);line-height:1.17}
html[dir=rtl] .storefront :is(h1,h2,legend) {font-family:var(--arabic);letter-spacing:0}
.store-intro p {max-width:640px;margin:10px 0 0}
.store-intro img {max-width:15%;height:auto;transform:rotate(-4deg)}
.product-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,2vw,30px)}
.product-card {display:flex;flex-direction:column;min-width:0;border:2px solid var(--ink);border-radius:18px 22px 17px 23px;overflow:hidden;background:#fff;box-shadow:3px 4px var(--card-color)}
.card-grocery {--card-color:var(--green)} .card-sweets {--card-color:var(--pink)} .card-jungle {--card-color:var(--purple)}
.product-photo {display:block;width:100%;aspect-ratio:4/3;height:auto;border-bottom:2px solid var(--ink)}
.product-info {display:flex;flex-direction:column;align-items:stretch;flex:1;padding:clamp(14px,2vw,24px)}
.product-info h2 {font-size:clamp(1.4rem,2.1vw,2.15rem)}
.product-info p {line-height:1.48;color:#443f39;margin:9px 0 22px}
.product-buy {margin-top:auto;gap:6px;flex-wrap:wrap}
.product-buy b {font-size:1.125rem}
.store-button {min-height:44px;padding:7px 17px;font-weight:750;color:var(--ink);background:var(--yellow);font-family:inherit;font-size:1rem}
.product-card .store-button {background:var(--card-color)}
.store-button:hover,.basket-link:hover {box-shadow:2px 2px var(--ink)}
.store-button:disabled {opacity:.55;box-shadow:none}
.stepper {height:44px;overflow:hidden;background:#fff;gap:3px}
.stepper button {min-width:40px;align-self:stretch;border:0;background:transparent;color:var(--ink);font:700 1.2rem system-ui}
.stepper button:hover {background:var(--yellow)}
.stepper span {min-width:1.5em;text-align:center;font-weight:750}
.shop-summary,.basket-box,#order-form,#confirmation,#empty {border:2px solid var(--ink);border-radius:20px 24px 22px 18px;background:#fff}
.shop-summary {margin:26px 0 0;padding:12px 20px}
.shop-summary [data-subtotal] {margin-inline-start:10px}
.delivery-note {font-size:1rem;margin:24px 0 40px;color:#49443e}
.store-footer {padding:12px 0;border-top:1px solid #dcd6cb}
.store-footer img {display:block}
.store-footer small {font-size:.875rem}
.checkout-title {padding:28px 0 22px}
.checkout-title h1 {margin-top:10px}
.checkout-grid {display:grid;grid-template-columns:minmax(260px,.85fr) minmax(0,1.6fr);gap:28px;align-items:start;margin-bottom:42px}
.basket-box,#order-form,#confirmation,#empty {padding:clamp(18px,3vw,32px)}
#confirmation,#empty {margin-bottom:40px}
.basket-box {background:#fff7d9}
.basket-box h2,#confirmation h2,#empty h2 {font-size:1.75rem}
.basket-row {padding:14px 0;border-bottom:1px solid #cbc1a3;flex-wrap:wrap;gap:8px}
.basket-item {display:flex;gap:8px;align-items:center}
.basket-item img {border-radius:8px;object-fit:cover}
.basket-item strong {display:block}
.basket-item small {display:block;font-size:.9rem}
.total-row {margin:20px 0 16px}
#order-form fieldset {border:0;padding:0;margin:0 0 22px;min-width:0}
#order-form legend {font-family:var(--display);font-size:1.35rem;font-weight:750;padding:0;margin:0 0 10px}
.field {display:block;margin-bottom:12px;font-size:1rem;font-weight:650}
.form-pair {display:grid;grid-template-columns:1fr 1fr;gap:14px}
.field input,.field textarea {display:block;width:100%;min-height:46px;border:1.5px solid #746e66;border-radius:9px;background:#fff;padding:8px 10px;font:400 1rem/1.4 inherit;color:var(--ink);font-family:inherit;font-size:1rem;color-scheme:light}
.field textarea {resize:vertical}
.payment {display:inline-flex;align-items:center;gap:6px;margin-inline-end:12px;padding:8px 0}
.payment input {width:1.1rem;height:1.1rem;accent-color:#221f1a}
.field-help,#form-status {font-size:1rem;color:#48433f;margin:6px 0 12px}
.retry {background:none;border:0;font-family:inherit}
.storefront :focus-visible {outline:3px solid #114ba3;outline-offset:3px}
@media(max-width:820px){.store-wrap{width:calc(100% - 36px)}.product-grid{gap:12px}.checkout-grid{grid-template-columns:1fr 1.35fr;gap:16px}.form-pair{grid-template-columns:1fr;gap:0}}
@media(max-width:700px){.product-grid,.checkout-grid{grid-template-columns:1fr}.store-nav{min-height:66px}.store-brand img{width:108px;height:55px}.store-header nav{gap:10px}.store-intro{padding:30px 0 20px}.store-intro img{display:none}.product-card{max-width:530px;width:100%;margin:auto}.product-grid{gap:24px}.product-photo{width:100%}.product-info{padding:16px}.product-info p{margin:8px 0 13px}.store-wrap{width:calc(100% - 32px)}.shop-summary{padding:12px;flex-wrap:wrap}.store-footer small{font-size:.79rem}.checkout-title{padding-top:20px}}
