.checkout-shell{max-width:1040px;margin:0 auto;padding:40px 24px 80px}.checkout-shell h1{font-size:48px}.checkout-shell h2{font-size:32px}.checkout-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.checkout-card{border:1px solid #ccd1c9;background:#fff;padding:24px;margin:18px 0}.checkout-card label{display:flex;flex-direction:column;gap:6px;margin:14px 0}.checkout-card input,.checkout-card textarea,.checkout-card select{font:inherit;padding:12px;border:1px solid #7b897e;width:100%;box-sizing:border-box;min-height:44px}.checkout-card input[type=checkbox]{width:22px;min-height:22px}.checkout-card .policy-check{display:flex;flex-direction:row;align-items:start}.checkout-card button,.cart-add,.cart-link{min-height:44px;padding:10px 16px;margin:6px 6px 6px 0}.checkout-card .qr{display:block;width:220px;max-width:100%;height:auto}.checkout-error{color:#8d2020!important}.checkout-status{padding:12px;background:#e8ede6}.cart-add{border:1px solid #294636;background:#294636;color:white;cursor:pointer}.cart-link{display:inline-flex;align-items:center}.help-launch{position:fixed;bottom:20px;right:20px;z-index:20;display:flex;gap:8px;flex-wrap:wrap;justify-content:end;max-width:calc(100% - 32px)}.help-launch a,.help-launch button{background:#203a2e;color:white;border:1px solid #fff;padding:12px;font:inherit;min-height:44px}.shopping-help{max-width:520px}.shopping-help button{margin:6px;padding:10px}.shopping-help p{white-space:pre-line}.order-items{padding-left:20px}.order-items li{margin-bottom:14px}.order-proof{max-width:100%;max-height:480px;object-fit:contain}.checkout-card small{display:block}.checkout-card :focus-visible,.help-launch :focus-visible{outline:3px solid #8b630a;outline-offset:3px}@media(max-width:700px){.checkout-grid{grid-template-columns:1fr}.checkout-shell{padding:24px 16px 110px}.checkout-shell h1{font-size:36px}.help-launch{bottom:8px;right:8px;font-size:13px}}

@media print{header,.help-launch,#copy-order,#refresh-order,#print-order{display:none!important}.checkout-shell{max-width:none;padding:0}.checkout-card{break-inside:avoid}.checkout-grid{display:block}}

.cart-item{display:flex;align-items:flex-start;gap:20px}.cart-item-photo{flex:0 0 100px}.cart-item-photo img{display:block;width:100px;max-height:150px;object-fit:contain;background:#f5f4ef}.cart-item-details{flex:1;min-width:0}.checkout-card button:disabled{opacity:.6;cursor:not-allowed}@media(max-width:480px){.cart-item{gap:12px;padding:14px}.cart-item-photo{flex-basis:72px}.cart-item-photo img{width:72px;max-height:108px}}

.orders-table-wrap{overflow-x:auto}.orders-table{width:100%;border-collapse:collapse;background:white;font-size:14px}.orders-table th,.orders-table td{padding:12px;text-align:left;border-bottom:1px solid #ccd1c9}.orders-table tbody tr{cursor:pointer}.orders-table tbody tr:hover{background:#e8ede6}.orders-table button{min-height:44px}.order-detail{position:fixed;inset:0;width:min(820px,calc(100% - 40px));max-height:85vh;overflow:auto;box-sizing:border-box;margin:auto}.order-detail::backdrop{background:#0008}.order-detail h2{overflow-wrap:anywhere}

.order-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.order-filters label{display:flex;flex-direction:column;gap:6px}.order-filters input{min-height:44px;width:100%}@media(max-width:600px){.order-filters{grid-template-columns:1fr}}
#my-orders form {max-width: 32rem; margin: 1rem 0;}
#my-orders input {display:block; width:100%; box-sizing:border-box; margin:.4rem 0; padding:.65rem;}
#customer-orders button {display:block; margin:.6rem 0;}

@media print {#my-orders {display:none!important;}}

.customer-order{border:1px solid #d6d9d2;padding:20px;margin:14px 0;background:#fafaf6;border-radius:4px}
.customer-order-top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:14px}
.order-badge{background:#e4ece3;color:#223d30;padding:6px 10px;border-radius:20px}
.customer-order-photos{display:flex;gap:10px;margin-top:16px}.customer-order-photos img{width:68px;height:84px;object-fit:contain;background:#f0f0e9;border-radius:3px}
.customer-order-items{line-height:1.7}.customer-order-reference{font-size:13px;overflow-wrap:anywhere;color:#596159}
.customer-order-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}#customer-orders .customer-order-actions button{margin:0;min-height:44px}.customer-order-actions .button{min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center;padding:10px 16px}
.customer-order-help{margin-bottom:0;font-size:14px}@media(max-width:480px){.customer-order{padding:14px}.customer-order-top{align-items:flex-start}.customer-order-photos img{width:56px;height:70px}}

#previous-orders>summary{cursor:pointer;padding:12px 0;font-weight:600;}
.customer-order[hidden]{display:none!important;}

.order-detail-toolbar{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fff;padding:6px 0 12px;}#close-order-x{width:44px;height:44px;min-width:44px;padding:0;font-size:30px;line-height:1;border:1px solid #cbd2c6;border-radius:50%;background:#f7f8f2;color:#263e30;cursor:pointer;}#close-order-x:hover{background:#e5ecdf;}

/* Cart stays visible outside the collapsed mobile navigation. */
header>.mobile-cart-link{display:none}
@media(max-width:760px){
 header{flex-wrap:wrap;column-gap:8px!important}
 header>.logo{order:0;width:140px!important;height:60px!important;margin-right:auto;flex-shrink:0}
 header>.logo img{width:200px!important;left:-21px!important;top:-56px!important}
 header>.mobile-cart-link{order:1;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 10px;margin:0;box-sizing:border-box;border:1px solid #243d31;border-radius:4px;color:#243d31;font-size:14px;white-space:nowrap;text-decoration:none}
 header>#menu{order:2;min-height:44px;padding:8px 10px;margin:0;font-size:14px}
 header>nav{order:3;flex-basis:100%}
 header nav>.cart-link{display:none!important}
}

/* Cart browsing links remain visible outside the collapsed header navigation. */
.checkout-toolbar{margin:0 0 20px}.checkout-continue{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:12px 20px;border:1px solid #294636;border-radius:4px;background:#294636;color:#fff;text-decoration:none;font-weight:600}.checkout-continue:hover{background:#345b48}.cart-item-collection{display:block;color:inherit;text-decoration:none;min-height:44px}.cart-item-collection strong{text-decoration:underline;text-underline-offset:3px}.cart-item-collection span{display:block;margin:12px 0}.cart-item-collection:hover strong{color:#345b48}.checkout-continue:focus-visible,.cart-item-collection:focus-visible{outline:3px solid #8b630a;outline-offset:3px}

.cart-preview-photo{flex:0 0 100px;width:100px;max-height:150px;object-fit:contain}@media(max-width:480px){.cart-preview-photo{flex-basis:72px;width:72px;max-height:108px}}

.checkout-shell h1.order-heading{font-family:'DM Sans',sans-serif;font-size:clamp(26px,4vw,34px);font-weight:500;letter-spacing:0;line-height:1.25;margin-bottom:12px}.order-reference{font-size:14px;overflow-wrap:anywhere;color:#566158}.order-items{list-style:none;padding:0}.order-items li{display:flex;gap:16px;align-items:flex-start;margin:20px 0}.order-item-photo{flex:0 0 88px;display:block}.order-item-photo img{display:block;width:88px;height:116px;object-fit:contain;background:#f5f4ef}.order-item-photo span{display:grid;place-items:center;min-height:100px;background:#f5f4ef;font-size:13px}.order-item-name{font-weight:600;text-decoration:underline;text-underline-offset:3px}.order-items li>div{min-width:0}.order-items li p{margin:6px 0}.checkout-card .telegram-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:#087caf;color:#fff;border:1px solid #087caf;min-height:46px;padding:12px 18px}.telegram-button svg{width:21px;height:21px;flex:none}.checkout-card .telegram-button:hover{background:#06638c}.checkout-card .telegram-button:disabled{opacity:.6}@media(max-width:480px){.order-item-photo{flex-basis:68px}.order-item-photo img{width:68px;height:92px}}

body:has(.checkout-shell){font-family:'DM Sans',sans-serif}.checkout-card h2{font-family:'Cormorant Garamond',Georgia,serif}

.order-edit{background:#fff;border:1px solid #d8d7ce;padding:16px;margin:18px 0}.order-edit summary{font-weight:600;cursor:pointer}.order-edit p{max-width:65ch}.order-edit button{min-height:44px}

.cart-continue-link{display:inline-flex;align-items:center;min-height:44px;color:#294636;font-weight:600;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:4px}.cart-continue-link:hover{color:#8b630a}.cart-continue-link:focus-visible{outline:3px solid #8b630a;outline-offset:4px}
.order-document-links{display:flex;gap:10px;flex-wrap:wrap}.order-document-links .button{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;text-decoration:none;background:#294636;color:#fff}.order-document-links .button:hover{background:#345b48}
.checkout-card .courier-tracking-link{display:inline-flex;align-items:center;box-sizing:border-box;min-height:44px;max-width:100%;margin-top:12px;padding:10px 16px;border:1px solid #294636;background:#294636;color:#fff;font-weight:600;text-decoration:underline;text-underline-offset:3px;line-height:1.5}
.checkout-card .courier-tracking-link:hover{background:#345b48}
.checkout-card .courier-tracking-link:focus-visible{outline:3px solid #8b630a;outline-offset:3px}
