:root{--bg:#faf8f3;--ink:#292722;--muted:#786f60;--gold:#826625;--border:#e6dfcf;--wash:#f0e8d8}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.5 Arial,sans-serif}main{max-width:680px;margin:auto;padding:12px 20px 120px}header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);gap:12px}header>a{color:var(--gold);font-size:24px;text-decoration:none;min-width:44px;min-height:44px;display:grid;place-items:center}header img{object-fit:contain}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}header button{border:0;background:transparent;color:var(--ink);font-size:12px;min-height:44px;padding:0}header button span{display:inline-grid;place-items:center;background:var(--wash);border-radius:20px;min-width:24px;height:24px;margin-left:4px;font-weight:bold}.intro{padding:28px 0 16px}.eyebrow{display:block;font-size:10px;letter-spacing:1.8px;color:var(--gold)}h1{font:normal 34px/1.18 Georgia,serif;margin:10px 0 14px}h2{font-size:18px;line-height:1.35}p{margin:0 0 14px}.intro p{color:var(--muted)}input[type=search],textarea{display:block;width:100%;padding:14px;border:1px solid var(--border);border-radius:12px;background:white;color:var(--ink);font-size:16px}.categories{display:flex;overflow-x:auto;gap:8px;padding:16px 0 10px;scrollbar-width:thin}.category{white-space:nowrap;border:1px solid var(--border);background:#fff;color:var(--muted);border-radius:24px;padding:10px 15px;min-height:44px;font-size:13px}.category[aria-pressed=true]{background:var(--ink);color:#fff;border-color:var(--ink)}.catalog-caption{display:flex;align-items:center;justify-content:space-between;min-height:42px;gap:8px}.catalog-caption p{font-size:12px;color:var(--muted);margin:0}.catalog-caption button,.text-button{border:0;background:transparent;color:var(--gold);font-size:12px;padding:10px 0;min-height:44px}.products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product{border:1px solid var(--border);border-radius:16px;background:white;overflow:hidden;display:flex;flex-direction:column}.product-photo{height:170px;background:#fff;display:grid;place-items:center;padding:14px}.product-photo img{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}.photo-placeholder{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(130deg,#f8f5ed,#eee8db);border-radius:10px;color:#a1957b}.photo-placeholder span{font-size:18px;letter-spacing:2px;font-family:Georgia,serif}.photo-placeholder small{font-size:10px;margin-top:8px}.product-body{padding:0 12px 12px;display:flex;flex-direction:column;flex:1}.code{font-size:9px;color:var(--muted);letter-spacing:1px}.product h2{font-size:13px;font-weight:400;line-height:1.45;margin:7px 0 14px;overflow-wrap:anywhere}.quantity{margin-top:auto}.add,.stepper{width:100%;min-height:44px;border:1px solid var(--border);border-radius:9px;background:var(--bg);color:var(--gold)}.add{font-size:13px}.stepper{display:flex;align-items:center;justify-content:space-between;background:var(--wash)}.stepper button{min-width:42px;height:42px;border:0;background:transparent;color:var(--ink);font-size:21px}.stepper output{font-size:14px;font-weight:bold}.footnote{font-size:12px;color:var(--muted);margin-top:20px}.empty{text-align:center;padding:40px 16px;color:var(--muted)}.empty h2{color:var(--ink)}.primary,.secondary{border:0;background:var(--gold);color:white;padding:14px 20px;border-radius:11px;min-height:48px}.secondary{background:white;color:var(--gold);border:1px solid var(--border)}.wide{width:100%}.cart-bar{position:fixed;bottom:0;left:0;right:0;padding:12px 20px max(16px,env(safe-area-inset-bottom));background:linear-gradient(0deg,var(--bg) 85%,transparent)}.cart-bar>button{max-width:640px;margin:auto;display:flex;width:100%;justify-content:space-between;align-items:center;border:0;background:var(--ink);border-radius:14px;color:white;text-align:left;padding:14px 20px;box-shadow:0 5px 25px #29272222}.cart-bar b,.cart-bar small{display:block}.cart-bar b{font-size:15px}.cart-bar small{font-size:11px;color:#ddd0b6;margin-top:3px}.cart-bar>button>span:last-child{font-size:26px}.back{display:block;margin:14px 0}.cart-item{display:flex;border-bottom:1px solid var(--border);padding:16px 0;gap:14px}.cart-item .product-photo{width:90px;height:115px;flex-shrink:0;padding:4px;border-radius:10px;overflow:hidden}.cart-item .photo-placeholder span{font-size:11px}.cart-item .photo-placeholder small{font-size:8px;text-align:center}.cart-item-body{flex:1;min-width:0}.cart-item h2{font-size:14px;margin:4px 0 12px;font-weight:400}.cart-item .quantity{width:144px;display:inline-block;vertical-align:middle}.remove{margin-left:16px}.form-card{background:white;border:1px solid var(--border);border-radius:16px;margin:24px 0 16px;padding:18px}.form-card h2{margin:0 0 16px;font-family:Georgia,serif;font-weight:400;font-size:24px}.segmented{display:flex;gap:6px;background:var(--bg);padding:4px;border-radius:10px;margin-bottom:18px}.segmented button{flex:1;border:0;background:transparent;border-radius:8px;min-height:44px;color:var(--muted)}.segmented button[aria-pressed=true]{background:var(--wash);color:var(--ink)}label:not(.radio){display:block;margin-bottom:7px;font-size:13px}fieldset{border:0;padding:0;margin:20px 0}legend{font-size:13px;margin-bottom:10px}.radio{display:inline-flex;align-items:center;margin-right:18px;min-height:44px;gap:6px}.radio input{accent-color:var(--gold);width:18px;height:18px}.muted{font-size:12px;color:var(--muted)}#location-help{margin-top:8px}.location-results{max-height:240px;overflow:auto}.location-results button{width:100%;text-align:left;background:var(--bg);border:0;border-bottom:1px solid var(--border);padding:12px;color:var(--ink);min-height:44px;font-size:13px}.selected-location{font-size:13px;color:#43613e;margin-top:10px}.notice{padding:16px;background:var(--wash);border-radius:12px;margin-bottom:18px;font-size:13px}.notice p{margin:6px 0 0;color:var(--muted)}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:white;border:1px solid var(--border);border-radius:14px;padding:18px;font:14px/1.65 Arial,sans-serif}.review-actions{display:flex;gap:10px;flex-wrap:wrap}.review-actions button{flex:1}.shops-link{display:block;color:var(--gold);margin-top:24px}#status{font-size:13px;color:var(--gold);margin-top:16px}footer{text-align:center;font-size:9px;letter-spacing:1.6px;color:var(--muted);padding:30px 0 6px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}:focus-visible{outline:3px solid #a8873d;outline-offset:3px}h1:focus{outline:none}[hidden]{display:none!important}@media(max-width:360px){main{padding-left:12px;padding-right:12px}.products{gap:8px}.product-body{padding:0 10px 10px}.product-photo{height:145px;padding:10px}h1{font-size:30px}.cart-item .product-photo{width:65px}.remove{margin-left:8px}.stepper button{min-width:38px}}@media(min-width:600px){.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
.product-photo{position:relative}.product-photo:has(.image-note){padding-bottom:28px}.image-note{position:absolute;bottom:5px;left:4px;right:4px;text-align:center;font-size:9px;color:var(--muted)}

/* Repeated taps, including misses beside quantity controls, must not zoom the page.
   Scrolling and intentional two-finger zoom remain available. */
html,body{touch-action:manipulation}
.stepper{min-height:50px;overflow:hidden}
.stepper button{flex:1 1 44px;min-width:44px;height:48px;padding:0;touch-action:manipulation}
.stepper output{flex:0 0 24px;text-align:center;pointer-events:none}
.stepper button:active:not(:disabled){background:#e3d6bb}
.quantity{touch-action:manipulation}
.how-it-works{padding-left:22px;max-width:760px;font-size:15px;line-height:1.6}.how-it-works li{margin:8px 0}.intro #open-my-requests{margin:14px 0 8px}.buyer-request{border:1px solid #dfd6c4;border-radius:16px;padding:20px;margin:18px 0;background:#fff}.buyer-request h3{margin-top:0}.buyer-request li{margin:10px 0;line-height:1.5}.buyer-offer{margin-top:18px;padding:18px;border-radius:12px;background:#f5f1e8}.offer-total{font-size:20px;font-weight:700}.request-open{color:#386349}.request-history{margin:32px 0}.request-history>summary{font-size:20px;font-weight:600;cursor:pointer}
/* Buyer requests: compact expandable cards and seller contact sheet. */
.buyer-request{padding:0;overflow:hidden;box-shadow:0 3px 16px #29272206}.request-summary{position:relative;display:block;padding:20px 44px 20px 20px;cursor:pointer;list-style:none}.request-summary::-webkit-details-marker{display:none}.request-heading{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.request-heading strong{font-size:18px}.request-badge{display:inline-block;background:#f0e8d8;color:#68572f;border-radius:20px;font-size:11px;padding:4px 9px}.request-badge.has-offers{background:#e7efe5;color:#345b39}.request-meta,.request-caption{display:block;color:var(--muted);font-size:12px;margin-top:6px}.request-chevron{position:absolute;right:19px;top:24px;font-size:22px;color:var(--gold);transition:transform .18s}.buyer-request[open] .request-chevron{transform:rotate(180deg)}.buyer-request[open] .request-summary{border-bottom:1px solid var(--border);background:#fcfaf5}.request-body{padding:20px}.request-timeline{padding-left:12px;border-left:3px solid #c9b581;color:var(--muted);font-size:13px}.request-body h3{font-size:14px;margin:20px 0 12px}.requested-items{padding:0;list-style:none}.requested-items li{display:flex;gap:14px;justify-content:space-between;padding:10px 0;border-bottom:1px solid #eee8dd;font-size:13px}.requested-items strong{white-space:nowrap}.request-empty{background:#f8f6f0;border-radius:12px;padding:16px;margin-top:20px}.request-empty strong{font-size:14px}.request-empty p{font-size:13px;color:var(--muted);margin:6px 0 0}.buyer-offer{border:1px solid #e4dac3;background:#faf7ef;padding:16px}.buyer-offer h3{font-size:17px;margin-top:0}.buyer-offer ul{padding-left:18px;font-size:13px}.buyer-offer>p{font-size:13px}.buyer-offer .offer-total{font-size:22px;padding-top:10px;border-top:1px solid #e4dac3}.choose-offer{width:100%;margin:6px 0 10px;min-height:46px}.offer-hint{font-size:12px!important;color:var(--muted);line-height:1.5;margin-bottom:0}.request-history{border-top:1px solid var(--border);padding-top:20px}.request-history>summary{font-size:17px;min-height:44px}#my-requests-status{font-size:11px;color:var(--muted);margin:8px 0 22px}.seller-dialog{border:1px solid var(--border);border-radius:20px;background:var(--bg);color:var(--ink);padding:24px;width:calc(100% - 32px);max-width:460px;max-height:85dvh;overflow:auto;box-sizing:border-box}.seller-dialog::backdrop{background:#29272280}.seller-dialog>.text-button{display:block;margin-left:auto;padding-top:0}.seller-dialog h2{font-family:Georgia,serif;font-weight:400;font-size:27px;margin:10px 0}.seller-actions{display:grid;gap:10px;margin:20px 0}.seller-contact{display:block;padding:13px 15px;background:#fff;border:1px solid var(--border);border-radius:10px;color:var(--gold);text-decoration:none;overflow-wrap:anywhere}.seller-contact:first-child{background:var(--gold);color:white;border-color:var(--gold)}.contact-error{color:#963c2b;font-size:13px}.request-summary:focus-visible,.seller-contact:focus-visible{outline:3px solid #a78942;outline-offset:-3px}@media(max-width:380px){.request-summary{padding-left:16px}.request-body{padding:16px}.request-heading{align-items:flex-start;flex-direction:column}}@media(prefers-reduced-motion:reduce){.request-chevron{transition:none}}

.verified-partner-badge{display:inline-block!important;width:40px!important;height:40px!important;max-width:none!important;object-fit:contain;vertical-align:middle;margin-left:8px;flex-shrink:0}.coverage-chip{display:inline-block;margin:4px;padding:8px 10px;border:1px solid #dfd6c4;border-radius:18px;background:#faf7ef}.partner-settings details{margin:14px 0}.partner-settings summary{cursor:pointer;min-height:40px}.partner-settings select{max-width:100%;width:100%}
.review-delivery{padding:18px 20px;background:#f0e8d8;border-radius:14px;margin:20px 0}.review-delivery strong{display:block;margin-top:5px}.review-table-wrap{border:1px solid var(--border);border-radius:14px;background:white;margin:18px 0 10px}.review-table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:13px}.review-table th{background:#f5f1e8;color:var(--muted);font-size:11px;letter-spacing:.4px;text-align:left;padding:12px}.review-table td{padding:10px 6px;border-top:1px solid var(--border);vertical-align:middle;overflow-wrap:anywhere}.review-table .review-product-name{white-space:normal;overflow-wrap:anywhere;line-height:1.5}.review-table th{padding:12px 6px;letter-spacing:0}.review-table th:first-child{width:30px}.review-table th:nth-child(2){width:56px}.review-table th:last-child{width:48px;text-align:center}.review-table .review-photo{padding:6px 2px}.review-photo .product-photo{width:50px;height:60px;padding:3px}.review-photo .photo-placeholder span{font-size:9px}.review-photo .photo-placeholder small{display:none}.review-code{color:var(--muted)}.review-quantity{font-weight:700;text-align:center}.review-count{color:var(--muted);font-size:12px;text-align:right}.review-comment{padding:16px;border-left:3px solid #c9b581;margin:18px 0}.review-comment p{margin:6px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.delivery-note{padding:16px 0}.cancel-request{margin-top:20px;border-top:1px solid var(--border);padding-top:8px}.cancel-request>.text-button{color:#984b39}.cancel-confirm{padding:14px;background:#fbf0ec;border-radius:10px}.cancel-confirm button{margin-right:14px}.cancel-confirm p{font-size:13px}

.review-scroll-hint{display:none;font-size:11px;color:var(--muted);margin:8px 0}@media(max-width:650px){.review-scroll-hint{display:block}}

.requested-table th:first-child{width:56px}.requested-table th:nth-child(2){width:auto}.requested-table th:last-child{width:48px}

.review-photo .photo-placeholder span{white-space:nowrap;letter-spacing:0}


.buy-intro{padding:18px 0 10px}.buy-intro-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.buy-intro-heading h1{font-size:28px;margin:0}.intro.buy-intro #open-my-requests{margin:0;font-size:14px;padding:10px 12px;min-height:44px}.journey{font-size:15px;margin:16px 0 8px;color:var(--ink)!important;font-weight:600}.intro .buy-intro-note{font-size:14px;margin:8px 0}.how-details{font-size:14px;color:var(--muted)}.how-details summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:var(--gold)}.how-details summary::before{content:'＋';margin-right:8px}.how-details[open] summary::before{content:'−'}.how-details p{margin:4px 0 12px}.product h2,.cart-item h2{font-size:16px;line-height:1.45}.code{font-size:12px;letter-spacing:.3px}.category,.add,header button,.catalog-caption p,.text-button,.footnote,.muted,.location-results button,.selected-location,.notice,.review-count,.cart-bar small,label:not(.radio),legend,#status{font-size:14px}.offer-hint{font-size:14px!important}.buyer-offer>p,.buyer-offer ul,.request-timeline,.request-body h3,.request-empty p,.request-meta,.request-caption,.request-badge,#my-requests-status,.review-table,.review-table th{font-size:14px}.image-note{position:static;display:block;font-size:12px;text-align:center;padding:4px;line-height:1.3}.product-photo:has(.image-note){height:210px;grid-template-rows:minmax(0,1fr) auto;padding-bottom:4px}.cart-item .product-photo:has(.image-note){height:145px}.review-photo .product-photo:has(.image-note){height:auto;min-height:80px}.review-photo .image-note{font-size:12px;overflow-wrap:anywhere}.photo-placeholder small,.cart-item .photo-placeholder small{font-size:12px}.availability,.undo-removal{padding:14px;background:var(--wash);border-radius:12px;margin:12px 0;font-size:14px}.availability p{margin:0}.undo-removal{display:flex;gap:12px;align-items:center;overflow-wrap:anywhere}.undo-removal span{flex:1;min-width:0}.undo-removal button{flex-shrink:0}.auth-recovery{display:block;text-decoration:none;text-align:center;margin:12px 0}.radio{align-items:flex-start;padding:10px 0}.radio input{flex:0 0 20px;margin-top:2px}.form-card{padding:16px}.product-body{padding:0 10px 12px}.format{font-size:14px;color:var(--gold);margin:0 0 8px}.product-body h2{margin-bottom:8px}.review-table th:first-child{width:24px}.review-table th:last-child{width:42px}.buyer-offer .offer-total{font-size:19px}footer{font-size:12px;letter-spacing:0}@media(max-width:360px){.products{grid-template-columns:1fr}.product{display:grid;grid-template-columns:95px minmax(0,1fr)}.product-photo,.product-photo:has(.image-note){width:95px;height:180px;padding:8px}.product-body{padding:12px}.cart-item .product-photo{width:65px}.cart-item .quantity{width:144px}.remove{margin-left:0}.cart-item .product-photo:has(.image-note){height:160px}.buy-intro-heading h1{font-size:25px}.journey{font-size:14px}.review-table .review-product-name{font-size:14px}}

.auth-help{display:block}.undo-removal .text-button{padding:8px;min-width:70px}

@media(max-width:360px){.remove{margin-left:8px}}

@media(max-width:360px){.buy-intro-heading{gap:8px}.buy-intro-heading h1{font-size:22px}.intro.buy-intro #open-my-requests{padding:8px}}

/* Shared request/offer tables: reserve photo width independently of checkout columns. */
.buyer-items-wrap{border:1px solid var(--border);border-radius:12px;overflow:hidden;background:#fff;margin:16px 0}
.buyer-items-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:14px}
.buyer-items-table th{padding:10px 8px;background:#f5f1e8;text-align:left;font-size:12px;color:var(--muted);box-sizing:border-box}
.buyer-items-table th:first-child{width:64px}.buyer-items-table th:last-child{width:44px;text-align:center}
.buyer-items-table td{padding:12px 8px;border-top:1px solid var(--border);vertical-align:top;box-sizing:border-box}
.buyer-items-table .buyer-item-photo{padding:12px 6px}
.buyer-item-photo .product-photo,.buyer-item-photo .product-photo:has(.image-note){width:50px;height:60px;min-height:0;padding:2px;display:flex;align-items:center;justify-content:center;box-sizing:border-box}
.buyer-item-photo .product-photo img{width:100%;height:100%;object-fit:contain}.buyer-item-photo .image-note{display:none}
.buyer-item-photo .photo-placeholder span{font-size:8px;letter-spacing:0;white-space:nowrap}.buyer-item-photo .photo-placeholder small{display:none}
.buyer-item-description{overflow-wrap:anywhere;line-height:1.45}.buyer-item-name{display:block;font-weight:500}
.buyer-item-quantity{text-align:center;font-weight:700;white-space:nowrap}
.buyer-item-description .buyer-item-note{font-size:12px;color:var(--muted);margin:6px 0;line-height:1.45}
.buyer-item-description .buyer-item-unit-price{font-size:12px;color:var(--muted);margin:8px 0 2px}.buyer-item-total{display:block;font-size:13px}
.buyer-item-badge{display:inline-block;font-size:11px;font-weight:600;color:#805a18;background:#f6ecd5;padding:3px 7px;border-radius:5px;margin:0 0 6px}.buyer-item-badge.unavailable{background:#f3e8e5;color:#964e3d;margin-top:6px}
.buyer-offer .buyer-items-wrap{margin:12px 0 16px}.buyer-offer>p{overflow-wrap:anywhere}
@media(max-width:440px){.request-body{padding:14px}.buyer-offer{padding:12px}.buyer-items-table{font-size:13px}.buyer-items-table th:first-child{width:56px}.buyer-items-table th:last-child{width:36px}.buyer-items-table th,.buyer-items-table td{padding-left:6px;padding-right:6px}.buyer-items-table .buyer-item-photo{padding-left:4px;padding-right:4px}.buyer-item-photo .product-photo,.buyer-item-photo .product-photo:has(.image-note){width:46px;height:56px}.buyer-item-total{font-size:12px}}

.discussion-thread{display:grid;gap:10px;margin:18px 0;max-height:40vh;overflow:auto}.discussion-message{border:1px solid #e4dac3;border-radius:10px;padding:12px;background:#fff;overflow-wrap:anywhere}.discussion-message.buyer{background:#f7f1e4}.discussion-message small{display:block;color:#756f65;font-size:12px;margin-top:4px}.discussion-message p{white-space:pre-wrap;font-size:14px;margin:8px 0 0}.offer-versions{margin:16px 0;padding:12px;border:1px solid #e4dac3;border-radius:10px}.offer-versions summary{cursor:pointer}.offer-version{font-size:13px;color:#756f65}.discussion-form fieldset{border:1px solid #e4dac3;border-radius:10px;padding:12px}.discussion-form .discussion-check{display:flex;align-items:flex-start;gap:10px;margin:12px 0;line-height:1.4}.discussion-check input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;margin:2px 0 0;padding:0}.discussion-form textarea,.partner-reply textarea{box-sizing:border-box;width:100%;max-width:100%;font:inherit;padding:10px;resize:vertical}.discussion-form>label,.partner-reply label{display:block;margin:14px 0}.discussion-form button[type=submit],.discuss-offer{width:100%;margin:12px 0}.discussion-dialog{max-width:620px}.offer-dialog .offer-versions h2{font-size:20px}.contact-label{font-weight:600;margin:8px 0 0}

.request-clock{display:flex;flex-direction:column;gap:5px;padding:12px 14px;margin:12px 0;background:#edf2eb;border:1px solid #d5dfd0;border-radius:10px;color:#36503a;line-height:1.4;min-width:0;grid-column:1 / -1}
.request-clock .request-clock-value{font:600 16px Arial,sans-serif;font-variant-numeric:tabular-nums}.request-clock small{display:block;font-size:11px;font-weight:400;white-space:normal;overflow-wrap:anywhere}.request-clock .request-clock-rule{color:#68695e}.request-clock.is-warning{background:#fff4d9;border-color:#e8cd88;color:#785514}.request-clock.is-urgent{background:#fff0eb;border-color:#e4ad99;color:#973f27}.request-clock.is-expired{background:#f0eeea;border-color:#ddd8cf;color:#756f65}.request-summary .request-clock{margin:8px 0 0}.purchase-summary{align-items:flex-start}.purchase-summary>.purchase-badge{margin-top:2px}.purchase-summary>.purchase-chevron{margin-top:6px}.repeat-request{margin-top:18px}.discussion-dialog .request-clock{margin:12px 0}

.delivery-note label.radio{display:flex;flex-direction:row;align-items:flex-start;gap:10px}.delivery-note .radio input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;padding:0;margin:2px 0 0}.delivery-note .radio span{min-width:0;line-height:1.4}#purchase-recipient:empty{display:none}

.request-clock{display:block!important;width:auto!important;padding:2px 0!important;margin:5px 0!important;border:0!important;background:transparent!important;box-shadow:none!important}.request-clock .request-clock-value{font-size:13px!important;font-weight:500!important;line-height:1.4}.request-summary,.purchase-summary{position:relative;padding-right:48px!important}.request-delete{position:absolute;right:8px;top:8px;width:32px;height:32px;padding:0!important;border:0;background:transparent;font-size:24px;color:#867c69;line-height:1;cursor:pointer}.purchase-history{margin-top:20px}.purchase-history>summary{padding:12px;cursor:pointer;font-weight:600}

/* Wider catalog: keep readable cards as more columns become available. */
@media(min-width:900px){main:has(#catalog-screen:not([hidden])){max-width:960px}.products{grid-template-columns:repeat(4,minmax(0,1fr))}}

.products .product-photo{grid-template-rows:minmax(0,1fr)}
.products .product-photo:has(.image-note){grid-template-rows:minmax(0,1fr) auto}
.products .product-photo img{min-height:0;min-width:0}

#delivery-destination{width:100%;min-height:48px;padding:12px;border:1px solid var(--border);border-radius:10px;background:white;color:var(--ink);font:inherit;margin-bottom:16px}#cdek-picker{margin-bottom:22px}#cdek-picker>p{margin:10px 0}#cdek-results{max-height:330px;overflow:auto;display:grid;gap:8px}.cdek-point{display:flex;flex-direction:column;gap:4px;text-align:left;padding:12px;border:1px solid var(--border);border-radius:10px;background:white;color:var(--ink);overflow-wrap:anywhere}.cdek-point span{font-size:13px;color:var(--muted)}.cdek-point[aria-pressed=true]{border:2px solid var(--gold);background:var(--wash)}#cdek-selected{font-weight:600;color:var(--gold);overflow-wrap:anywhere}

.seller-phone{display:grid;gap:5px;padding:18px;border:1px solid #d9c495;border-radius:14px;background:#f2e7cf;color:#49391b;text-decoration:none}.seller-phone small{font-size:12px}.seller-phone strong{font-size:23px;letter-spacing:.3px}.seller-phone span{font-size:13px;color:#806525}.seller-messenger{display:block;text-align:center;padding:15px;border-radius:12px;text-decoration:none;color:#fff;font-weight:600}.seller-messenger.telegram{background:#167eaf}.seller-messenger.max{background:#6550bd}.seller-message{margin:16px 0;border:1px solid var(--border);border-radius:12px;padding:12px}.seller-message summary{cursor:pointer;font-size:14px;min-height:30px}.seller-message textarea{display:block;box-sizing:border-box;width:100%;margin:10px 0;padding:12px;border:1px solid var(--border);border-radius:8px;font:14px/1.5 inherit;resize:vertical}.seller-message button{width:100%}.seller-phone:focus-visible,.seller-messenger:focus-visible{outline:3px solid #b39754;outline-offset:3px}@media(max-width:360px){.seller-phone strong{font-size:20px}}
