body.shop-modal-open { overflow: hidden; }
.checkout-address { min-width:0; margin:0 0 28px; padding:20px; border:1px solid #e8d9b6; border-radius:14px; background:#fffaef; }
.checkout-address legend { padding:0 8px; font-size:18px; font-weight:700; color:#73541b; }
.checkout-address .demo-fill { margin:0 0 18px; }
.checkout-address .checkout-muted { margin-top:0; }
.checkout-field textarea { display:block; width:100%; min-width:0; border:1px solid #e3d7bd; border-radius:10px; padding:11px 12px; background:white; color:#44331b; font:inherit; font-size:14px; resize:vertical; }
.checkout-field textarea:focus { outline:2px solid #d6ac3b; outline-offset:2px; }
.checkout-field textarea[aria-invalid="true"] { border-color:#b64228; }
.checkout-postcode { max-width:240px; margin-bottom:0; }
.secure-delivery { padding:16px; border:1px solid #e8d9b6; border-radius:12px; background:#fffaef; text-align:left; max-width:440px; margin:20px auto; }
.secure-delivery strong { font-size:12px; color:#73541b; }
.secure-delivery #secure-address { white-space:pre-line; overflow-wrap:anywhere; margin:8px 0 0; }
@media(max-width:420px) { .checkout-address { padding:14px; } .checkout-address .checkout-field-row { grid-template-columns:1fr; gap:0; } }
.shop-dialog [hidden] { display: none !important; }
.shop-dialog::backdrop { background: rgba(37,28,14,.48); backdrop-filter: blur(3px); }
.checkout-eyebrow { display:block; font-size:11px; letter-spacing:1.6px; font-weight:700; color:#896723; margin-bottom:10px; }
.cart-drawer { position:fixed; inset:0 0 0 auto; margin:0; width:min(460px,100%); max-width:100%; height:100%; height:100dvh; max-height:none; border-radius:22px 0 0 22px; padding:0; background:#fffdf8; overflow:hidden; }
.cart-drawer[open] { display:flex; flex-direction:column; animation:cart-slide-in .3s ease both; }
@keyframes cart-slide-in { from { transform:translateX(100%); } to { transform:translateX(0); } }
.cart-drawer-heading { padding:30px 26px 20px; border-bottom:1px solid #eee3cc; }
.cart-drawer-heading h2 { margin:0 0 10px; font-size:28px; }
.cart-drawer-heading p { margin:0; color:#867458; font-size:13px; }
.cart-title-dot { display:inline-block; width:8px; height:8px; margin-left:10px; border-radius:50%; background:#e8b83e; }
.cart-drawer-items { flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:0 24px; }
.cart-drawer .shop-cart-row { gap:12px; padding:22px 0; border-color:#efe4cf; }
.shop-cart-row img { width:76px; height:76px; object-fit:contain; flex-shrink:0; background:#fbf4e5; border:1px solid #eee1c4; border-radius:12px; }
.cart-product-info { flex:1; min-width:0; font-size:14px; overflow-wrap:anywhere; }
.cart-product-info strong { display:block; line-height:1.5; }
.cart-product-info small { color:#7f715b; font-size:11px; }
.cart-product-info > span { display:block; color:#806013; font-weight:700; margin-top:7px; }
.shop-remove { min-width:40px; min-height:40px; }
.cart-empty { text-align:center; padding:70px 16px; color:#897653; line-height:1.8; }
.cart-drawer-footer { padding:24px; padding-bottom:max(24px,env(safe-area-inset-bottom)); background:#fff9ec; border-top:1px solid #ebdfc3; }
.checkout-total-row { display:flex; gap:14px; justify-content:space-between; align-items:center; }
.checkout-total-row strong { font-size:23px; color:#795917; }
.checkout-muted { color:#80725c; font-size:12px; line-height:1.7; margin:10px 0 16px; }
.shop-button:disabled { cursor:not-allowed; opacity:.45; }
.checkout-dialog { width:min(860px,calc(100% - 32px)); max-height:calc(100dvh - 32px); padding:32px; background:#fffdf9; }
.checkout-dialog h2 { font-size:28px; margin:0 0 15px; }
.checkout-dialog h2 i { font-size:21px; color:#997520; }
.checkout-demo-note { background:#fbf0d5; border:1px solid #ecdbac; border-radius:10px; padding:12px 16px; font-size:12px; line-height:1.7; margin-bottom:24px; color:#72551a; }
.checkout-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:30px; }
.payment-card { position:relative; overflow:hidden; padding:22px; border-radius:18px; background:radial-gradient(ellipse at 95% 0,#eed08e80,transparent 55%),linear-gradient(125deg,#5c401b,#977030); color:#fff3d3; box-shadow:0 12px 25px #5d3a1826; }
.payment-card-top,.payment-card-bottom { display:flex; justify-content:space-between; gap:12px; }
.payment-card-top { letter-spacing:2px; font-weight:700; align-items:center; }
.payment-card-demo { font-size:9px; padding:5px 8px; border:1px solid #f8dda36b; border-radius:6px; letter-spacing:1px; }
.payment-chip { display:block; width:35px; height:27px; border:1px solid #fce7a8; border-radius:6px; margin:18px 0; background:linear-gradient(90deg,transparent 45%,#9b7829 47%,#9b7829 50%,transparent 52%),linear-gradient(0deg,#efc96b 30%,#b38c33 32%,#f8df91 35%,#f8df91 65%,#b38c33 68%,#edc35e 70%); }
.payment-number { font:19px/1.4 ui-monospace,Consolas,monospace; letter-spacing:1px; margin:0 0 20px; white-space:nowrap; }
.payment-card-bottom { font-size:11px; }
.payment-card-bottom > div:first-child { min-width:0; }
.payment-card-bottom small { display:block; font-size:8px; letter-spacing:1px; color:#f5ddad; margin-bottom:5px; }
#preview-name { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:220px; }
.demo-fill { width:100%; border:1px dashed #dcc48e; background:#fffbef; color:#765418; padding:10px; border-radius:9px; font-size:12px; margin:16px 0; cursor:pointer; }
.checkout-field { margin-bottom:14px; min-width:0; }
.checkout-field label { display:block; font-size:12px; font-weight:600; margin-bottom:7px; }
.checkout-field input { width:100%; min-width:0; border:1px solid #e3d7bd; border-radius:10px; padding:11px 12px; background:white; color:#44331b; font-size:14px; min-height:44px; }
.checkout-field input:focus { outline:2px solid #d6ac3b; outline-offset:2px; }
.checkout-field input[aria-invalid="true"] { border-color:#b64228; }
.checkout-field-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.installments { min-width:0; margin:0; padding:0; border:0; }
.installments legend { font-size:18px; font-weight:700; border:0; margin:0; color:#4b381d; }
.installment-table { width:100%; font-size:11px; border-collapse:separate; border-spacing:0; border:1px solid #e8dcc0; border-radius:12px; overflow:hidden; }
.installment-table th,.installment-table td { padding:14px 8px; border-bottom:1px solid #e8dcc0; vertical-align:middle; }
.installment-table thead { background:#f7edda; color:#77613a; }
.installment-table td { text-align:right; }
.installment-table tr:last-child > * { border-bottom:0; }
.installment-table label { display:flex; align-items:center; gap:6px; font-weight:600; margin:0; cursor:pointer; min-height:24px; }
.installment-table input { accent-color:#a67d16; margin:0; flex-shrink:0; }
.installment-table tr:has(input:checked) { background:#fff1c9; }
.checkout-order-summary { background:#f7f2e7; border-radius:12px; padding:20px; margin:24px 0 12px; }
.checkout-order-summary > span { display:block; color:#7b6b51; font-size:12px; }
.checkout-order-summary strong { display:block; font-size:27px; color:#755510; margin:8px 0; }
.checkout-order-summary p { font-size:11px; line-height:1.7; color:#7b6b51; margin:0; }
.checkout-error { color:#a32c19; font-size:12px; line-height:1.6; }
.checkout-error:empty { display:none; }
.checkout-submit { min-height:50px; }
.checkout-submit-note { text-align:center; font-size:11px; }
.secure-status { text-align:center; padding:30px 20px; outline:none; }
.secure-status h3 { font-size:23px; line-height:1.5; margin:16px 0; }
.secure-status p { max-width:400px; margin:16px auto; color:#7a6b54; font-size:13px; line-height:1.8; }
.secure-check { width:88px; height:88px; margin:0 auto 24px; stroke:#2d8854; stroke-width:4; }
.secure-check circle { fill:#e6f4eb; }
.secure-check path { stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:60; animation:secure-tick .7s ease both; }
@keyframes secure-tick { from { stroke-dashoffset:60; } to { stroke-dashoffset:0; } }
.secure-dots { display:flex; justify-content:center; gap:7px; padding:10px; }
.secure-dots span { width:7px; height:7px; border-radius:50%; background:#ba9233; animation:secure-wait 1.3s ease-in-out infinite; }
.secure-dots span:nth-child(2) { animation-delay:.15s; }.secure-dots span:nth-child(3) { animation-delay:.3s; }
@keyframes secure-wait { 50% { opacity:.25; transform:translateY(-4px); } }
@media(max-width:650px) { .checkout-layout { grid-template-columns:1fr; gap:18px; } .checkout-dialog { padding:22px 18px; width:calc(100% - 20px); max-height:calc(100dvh - 20px); } .checkout-dialog h2 { font-size:24px; } .payment-card { max-width:360px; margin:auto; } .cart-drawer-heading { padding:26px 20px 18px; } .cart-drawer-items,.cart-drawer-footer { padding-left:18px; padding-right:18px; } }
@media(max-width:360px) { .payment-card { padding:16px; } .payment-number { font-size:16px; } .cart-drawer .shop-cart-row { gap:8px; } .shop-cart-row img { width:58px; height:58px; } .checkout-total-row strong { font-size:20px; } }
@media(prefers-reduced-motion:reduce) { .cart-drawer[open],.secure-check path,.secure-dots span { animation:none; } }
.order-payment-demo{border:0;border-top:1px solid #e5d4b0;padding:24px 0 0;margin:32px 0 0;min-width:0}.order-payment-demo legend{font-size:21px;font-weight:700;color:#4c321c;padding-right:12px}.order-payment-demo legend span{font-size:13px;font-weight:500}.order-payment-demo>p{font-size:12px;line-height:1.8;color:#897149;margin:0 0 22px}.order-payment-demo .payment-card{width:100%;max-width:400px;margin:auto}.order-payment-demo .payment-card small{color:#eedba8;margin:0 0 4px}.order-payment-demo .payment-number{color:#fff5d7}.order-payment-demo .checkout-field-row>div{min-width:0}.order-payment-demo .demo-fill{margin-top:18px}.pos-secure-dialog{border:1px solid #dcebdc;border-radius:24px;padding:36px 25px;width:min(460px,calc(100% - 32px));max-height:90dvh;color:#382413;background:#fffdf6;text-align:center;box-shadow:0 25px 90px #24180640}.pos-secure-dialog::backdrop{background:#24180699;backdrop-filter:blur(5px)}.pos-secure-dialog h2{font-size:24px;line-height:1.4}.pos-secure-dialog p{font-size:13px;line-height:1.8;color:#776b53}.pos-secure-dialog .secure-dots span{background:#2d8854}#order-submit:disabled{opacity:.65;cursor:wait;transform:none}
