:root{--green:#0b412d;--gold:#c39a38;--paper:#f7f1e6;--ink:#17382b}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f4efe6;color:var(--ink);font-family:Arial,sans-serif}.page{width:100%}.desktop-build{width:100%;max-width:1536px;margin:0 auto;background:#f5efe4;overflow:hidden}.slice{position:relative;width:100%;line-height:0}.slice-image{display:block;width:100%;height:auto;user-select:none;pointer-events:none}.hotspot{position:absolute;z-index:6;display:block;border:0;background:transparent;padding:0;margin:0;cursor:pointer}.hotspot:focus-visible{outline:3px solid #d8ad49;outline-offset:2px;border-radius:4px}.true-logo{position:absolute;left:4.68%;top:10.7%;width:7.35%;aspect-ratio:1;z-index:7;border-radius:50%;overflow:hidden;background:transparent;line-height:0}.true-logo img{display:none}
/* HEADER — координаты пересчитаны из утверждённого 1536×1024 макета в локальный блок 1536×136 */
.nav-home{left:38.0%;top:37.65%;width:4.6%;height:24.1%}.nav-catalog{left:42.9%;top:37.65%;width:4.5%;height:24.1%}.nav-delivery{left:47.7%;top:37.65%;width:4.8%;height:24.1%}.nav-about{left:52.6%;top:37.65%;width:3.5%;height:24.1%}.nav-reviews{left:56.2%;top:37.65%;width:4.4%;height:24.1%}.nav-contacts{left:60.5%;top:37.65%;width:4.4%;height:24.1%}.phone{left:69.5%;top:21.1%;width:10.6%;height:30.9%}.top-catalog{left:82.2%;top:63.2%;width:9.8%;height:28.6%;border-radius:5px}
/* HERO — локальный блок 1536×257, начинается на y=136 */
.hero-catalog{left:13.4%;top:68.6%;width:11.4%;height:16.7%;border-radius:4px}
/* КАТЕГОРИИ — локальный блок 1536×192, начинается на y=393 */
.cat{top:10.3%;height:89%;border-radius:4px}.cat-fish{left:4.4%;width:17.7%}.cat-mollusks{left:22.8%;width:17.7%}.cat-caviar{left:41.3%;width:17.4%}.cat-shrimp{left:59.5%;width:17.5%}.cat-crab{left:77.7%;width:17.5%}
/* КОНТАКТЫ — локальный блок 1536×195, начинается на y=710 */
.section-anchor{position:absolute;top:0;left:0;width:1px;height:1px}.delivery-anchor{left:76%}.map{left:47.6%;top:4.0%;width:25.9%;height:92.0%}.find-us{left:31.5%;top:74.4%;width:8.2%;height:19.4%;border-radius:4px}
.mobile-fallback{display:none}.modal{position:fixed;inset:0;z-index:100;display:none}.modal.open{display:block}.backdrop{position:absolute;inset:0;background:rgba(5,31,22,.72);backdrop-filter:blur(4px)}.panel{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(1080px,92vw);max-height:88vh;overflow:auto;background:#fbf7ef;border:1px solid #cbb67c;border-radius:14px;padding:26px;box-shadow:0 30px 90px #0008;line-height:normal}.close{position:absolute;right:16px;top:10px;border:0;background:none;font-size:36px;color:#315445;cursor:pointer}.modal-brand{display:flex;align-items:center;gap:16px;padding-right:42px}.modal-brand img{width:74px;height:74px;border-radius:50%}.modal-brand small{letter-spacing:2px;color:#a97f25}.modal-brand h2{font-family:Georgia,serif;font-size:32px;margin:3px 0;color:#123f2d}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0;padding-top:16px;border-top:1px solid #dfd2b2}.tabs button{border:1px solid #cab990;background:#fffaf1;border-radius:30px;padding:9px 15px;cursor:pointer;color:#244537}.tabs button.active{background:var(--green);color:#fff;border-color:var(--green)}.products{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.product{background:white;border:1px solid #dfd3b9;border-radius:9px;overflow:hidden}.product img{width:100%;height:130px;object-fit:cover}.product .copy{padding:13px}.product h3{font-family:Georgia,serif;margin:0 0 8px;color:#173f2e}.product p{font-size:12px;min-height:32px;color:#62665f}.product strong{display:block;margin:10px 0}.product button{width:100%;border:0;border-radius:5px;background:var(--green);color:#fff;padding:9px;cursor:pointer}.shipping{margin-top:18px;padding:13px 15px;background:#efe7d7;border-radius:7px;display:flex;gap:16px;font-size:12px}.shipping b{color:var(--green)}body.modal-open{overflow:hidden}
.dynamic-hours{position:absolute;z-index:8;left:84.55%;top:30.5%;width:7.25%;height:25%;background:#f7f1e7;display:flex;flex-direction:column;justify-content:center;gap:3px;padding-left:.05%;font-family:Arial,sans-serif;font-size:12px;line-height:1.05;color:#151515;white-space:nowrap}.dynamic-hours div{line-height:1.05}
@media(max-width:760px){.desktop-build{display:none}.mobile-fallback{display:block;min-height:100vh;background:linear-gradient(#fffdf8,#f2eadc);padding:18px}.m-head{display:flex;align-items:center;gap:12px;border-bottom:1px solid #d6c59b;padding-bottom:12px}.m-head img{width:76px;height:76px;border-radius:50%}.m-head div{display:flex;flex-direction:column}.m-head b{font-family:Georgia,serif;font-size:20px}.m-head span{font-size:12px;margin-top:5px}.mobile-fallback h1{font-family:Georgia,serif;color:var(--green);font-size:42px;line-height:1;margin:34px 0 8px}.mobile-fallback>p{font-family:Georgia,serif}.m-primary{border:0;border-radius:5px;background:var(--green);color:white;padding:13px 18px;margin:8px 0 22px}.m-cats{display:grid;grid-template-columns:1fr 1fr;gap:10px}.m-cats button{position:relative;height:135px;border:0;border-radius:8px;overflow:hidden;padding:0;background:#173f2d;color:white}.m-cats button:last-child{grid-column:1/-1}.m-cats img{width:100%;height:100%;object-fit:cover;opacity:.72}.m-cats b{display:none}.m-info{margin-top:20px;border:1px solid #d5c69e;padding:16px;border-radius:8px;display:grid;gap:8px}.m-info a{display:inline-block;color:var(--green);font-weight:700}.panel{width:94vw;padding:18px}.modal-brand img{width:58px;height:58px}.modal-brand h2{font-size:25px}.products{grid-template-columns:1fr}.shipping{display:block}}
/* Functional overlays only. The approved homepage artwork/coordinates above are unchanged. */
.product-actions{display:grid;grid-template-columns:.8fr 1.4fr;gap:8px}.product-actions .details{background:#fff;color:var(--green);border:1px solid #bca66e}.product-detail{display:grid;grid-template-columns:minmax(300px,1fr) minmax(330px,1fr);gap:28px;align-items:start}.product-detail-img{width:100%;height:360px;object-fit:cover;border-radius:10px;border:1px solid #d7c9a7}.product-detail-copy small{letter-spacing:2px;color:#a97f25}.product-detail-copy h2{font-family:Georgia,serif;font-size:38px;color:var(--green);margin:7px 0 8px}.product-detail-copy>p{color:#61655e}.variant-list{display:grid;gap:9px;margin:18px 0}.variant{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:12px;border:1px solid #d7c9a7;border-radius:8px;background:#fff;cursor:pointer}.variant b{color:var(--green)}.weight-note{font-size:13px;background:#f1e9d9;border-radius:7px;padding:12px}.receipt-add,.receipt-open,.receipt-confirm,.receipt-empty button,.checkout-success button{border:0;border-radius:5px;padding:12px 16px;cursor:pointer;font-weight:700}.receipt-add,.receipt-confirm,.checkout-success button{background:var(--green);color:#fff}.receipt-open{background:#efe6d2;color:var(--green);margin-left:7px}.receipt-list{display:grid;gap:9px;margin-top:20px}.receipt-row{display:grid;grid-template-columns:1.5fr auto 1fr auto;gap:14px;align-items:center;padding:13px;border:1px solid #ddd0b1;border-radius:8px;background:#fff}.receipt-row>div:first-child{display:grid;gap:4px}.receipt-row span{font-size:12px;color:#686b64}.qty{display:flex;align-items:center;gap:8px}.qty button,.remove{width:30px;height:30px;border:1px solid #cdbb90;border-radius:50%;background:#fff;cursor:pointer;color:var(--green)}.remove{font-size:20px}.receipt-row strong{font-size:13px}.receipt-summary{margin-top:18px;padding-top:16px;border-top:1px solid #d8c9a8}.receipt-summary>div{display:flex;justify-content:space-between;gap:20px}.receipt-summary p{font-size:13px;background:#f1e9d9;padding:12px;border-radius:7px}.receipt-empty{text-align:center;padding:36px 0;line-height:2}.receipt-empty button{background:var(--green);color:#fff;margin-top:12px}.checkout-form{display:grid;gap:14px;margin-top:20px}.checkout-form>label{display:grid;gap:6px;font-weight:700}.checkout-form input,.checkout-form textarea{width:100%;border:1px solid #cdbd98;border-radius:6px;padding:11px;background:white;font:inherit}.checkout-form fieldset{border:1px solid #d2c29e;border-radius:7px;padding:12px}.checkout-form fieldset label{margin-right:18px}.checkout-note{font-size:13px;background:#f1e9d9;padding:12px;border-radius:7px}.checkout-success{text-align:center;padding:35px 20px}.checkout-success h3{font-family:Georgia,serif;color:var(--green);font-size:30px;margin:0 0 12px}
@media(max-width:760px){.product-detail{grid-template-columns:1fr}.product-detail-img{height:220px}.product-detail-copy h2{font-size:30px}.product-actions{grid-template-columns:1fr}.receipt-row{grid-template-columns:1fr auto}.receipt-row strong{grid-column:1/2}.receipt-row .remove{grid-column:2/3;grid-row:2}.receipt-open{margin:8px 0 0;display:block;width:100%}.receipt-add{width:100%}}
.catalog-actions{display:flex;justify-content:flex-end;margin:14px 0 0}.catalog-actions button{border:1px solid #bca66e;background:#fffaf1;color:var(--green);border-radius:6px;padding:10px 14px;font-weight:700;cursor:pointer}.add-feedback{position:fixed;right:22px;bottom:22px;z-index:240;background:#0b412d;color:white;padding:12px 16px;border-radius:8px;box-shadow:0 10px 35px #0004;line-height:1.25;opacity:0;transform:translateY(8px);pointer-events:none;transition:.2s}.add-feedback.show{opacity:1;transform:none}

/* v7: multi-add flow without changing approved homepage */
.quick-variant{display:grid;gap:5px;margin:10px 0 8px;font-size:11px;color:#6b6e67}.quick-variant select{width:100%;border:1px solid #d6c7a5;border-radius:6px;background:#fffaf1;color:var(--green);padding:8px;font:inherit}.receipt-addmore{display:flex;justify-content:flex-start;margin:14px 0}.receipt-addmore button{border:1px solid #bca66e;background:#fffaf1;color:var(--green);border-radius:6px;padding:10px 14px;font-weight:700;cursor:pointer}

/* v9: полноценная Капитанская квитанция. Главная страница не изменена. */
.receipt-meta{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 8px}.receipt-meta span{background:#efe7d7;border:1px solid #ddcfaf;border-radius:999px;padding:7px 11px;font-size:12px}.receipt-item-main{display:grid;gap:4px;min-width:0}.receipt-item-main b{overflow-wrap:anywhere}.type-badge{display:inline-block;width:max-content;max-width:100%;font-style:normal;font-size:10px;font-weight:700;letter-spacing:.2px;border-radius:999px;padding:4px 8px;background:#edf1ed;color:#315445}.type-badge.weight{background:#f6edd6;color:#805f16}.type-badge.piece{background:#e8f1eb;color:#1c593e}.type-badge.request{background:#f0ece5;color:#6a6154}.receipt-row strong small{font-weight:400;color:#72756f}.receipt-addmore{gap:10px;flex-wrap:wrap;justify-content:space-between}.receipt-clear{border:1px solid #c9b995;background:transparent;color:#6a6154;border-radius:6px;padding:10px 14px;font-weight:700;cursor:pointer}.receipt-comment{display:grid;gap:7px;margin:16px 0;font-size:13px;font-weight:700}.receipt-comment textarea{width:100%;resize:vertical;border:1px solid #cdbd98;border-radius:7px;padding:11px;background:#fff;font:inherit;color:var(--ink)}.receipt-summary{display:grid;gap:9px}.receipt-summary>div{padding:2px 0}.receipt-summary .receipt-total{margin-top:5px;padding-top:12px;border-top:1px solid #d8c9a8;font-size:17px}.receipt-summary .receipt-confirm{margin-top:7px;width:100%;font-size:15px}.receipt-empty h3{font-family:Georgia,serif;color:var(--green);font-size:26px;margin:0 0 5px}.receipt-empty p{color:#676b64;line-height:1.5}
@media(max-width:760px){.receipt-meta{margin-top:12px}.receipt-row{gap:9px}.receipt-item-main{grid-column:1/-1}.receipt-row .qty{grid-column:1/2}.receipt-row strong{grid-column:1/2}.receipt-row .remove{grid-column:2/3;grid-row:2}.receipt-addmore{display:grid;grid-template-columns:1fr}.receipt-addmore button{width:100%}}

#checkoutModal{z-index:140} #receiptModal{z-index:120} #productModal{z-index:115} #catalogModal{z-index:110}

/* v11: checkout navigation — functionality only, approved main page untouched */
.checkout-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:2px}
.checkout-back{border:1px solid #cdbd98;border-radius:5px;padding:12px 16px;cursor:pointer;font-weight:700;background:#fff;color:var(--green)}
.checkout-back:hover{background:#f6f1e6}
@media(max-width:620px){.checkout-actions{grid-template-columns:1fr}.checkout-back{order:2}}

/* v12: order status and seller weight confirmation; approved homepage untouched */
#orderModal{z-index:160}.order-panel{width:min(860px,92vw)}.order-status{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:20px 0 14px;padding:13px 15px;border-radius:8px}.order-status b{font-family:Georgia,serif;font-size:19px}.order-status span{font-size:12px}.order-status.waiting{background:#f6edd6;border:1px solid #ddc98d;color:#765716}.order-status.confirmed{background:#e8f1eb;border:1px solid #b9d1c1;color:#1c593e}.order-lead,.seller-note{line-height:1.5;color:#5f655e}.order-list,.final-receipt{display:grid;gap:8px;margin:16px 0}.order-line,.final-row{display:flex;justify-content:space-between;gap:18px;align-items:center;background:#fff;border:1px solid #ddd0b1;border-radius:8px;padding:13px}.order-line>div,.final-row>div{display:grid;gap:4px}.order-line span,.final-row span{font-size:12px;color:#6b6e67}.seller-demo{width:100%;margin-top:12px;border:1px dashed #b9943e;background:#fffaf1;color:var(--green);border-radius:7px;padding:12px;font-weight:700;cursor:pointer}.seller-head{display:flex;align-items:center;gap:15px;margin:20px 0 8px}.seller-head button{border:1px solid #cdbd98;background:#fff;border-radius:6px;padding:9px 12px;color:var(--green);cursor:pointer}.seller-head small{color:#a97f25;letter-spacing:1px}.seller-head h3{font-family:Georgia,serif;color:var(--green);font-size:25px;margin:3px 0}.seller-form{display:grid;gap:10px;margin-top:16px}.seller-row{display:grid;grid-template-columns:1.4fr 1fr;gap:18px;align-items:center;background:#fff;border:1px solid #ddd0b1;border-radius:8px;padding:13px}.seller-row>div{display:grid;gap:4px}.seller-row span{font-size:12px;color:#6b6e67}.seller-row label{display:grid;gap:5px;font-size:12px;font-weight:700}.seller-row input{width:100%;border:1px solid #cdbd98;border-radius:6px;padding:10px;font:inherit}.final-total{display:flex;justify-content:space-between;align-items:center;margin-top:5px;padding:15px 4px 2px;border-top:1px solid #d8c9a8;font-size:19px}.final-total b{font-family:Georgia,serif;color:var(--green);font-size:24px}@media(max-width:620px){.order-status,.order-line,.final-row{align-items:flex-start;flex-direction:column}.seller-row{grid-template-columns:1fr}.seller-head{align-items:flex-start;flex-direction:column}}

/* v13: customer confirmation actions; approved homepage untouched */
.customer-confirm-actions{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:10px;margin-top:14px}.customer-confirm-actions button,.customer-state button{border-radius:6px;padding:12px 14px;font-weight:700;cursor:pointer}.customer-change,.customer-secondary{border:1px solid #cdbd98;background:#fff;color:var(--green)}.customer-cancel{border:1px solid #d8b9ae;background:#fff8f5;color:#8b3827}.order-status.cancelled{background:#f6e7e2;border:1px solid #ddb9ad;color:#843927}.customer-state{text-align:center;padding:28px 12px}.customer-state h3{font-family:Georgia,serif;color:var(--green);font-size:28px;margin:0 0 10px}.customer-state p{max-width:620px;margin:0 auto 18px;line-height:1.55;color:#5f655e}.customer-state button{margin:5px}.customer-state.success{background:#f2f7f3;border:1px solid #c7d9cc;border-radius:9px}.cancelled-state{background:#fff8f5;border:1px solid #e3c9c0;border-radius:9px}@media(max-width:680px){.customer-confirm-actions{grid-template-columns:1fr}}

/* v14 manager live totals */
.seller-summary{margin:18px 0;padding:16px 18px;border:1px solid #d7c79b;border-radius:14px;background:#fffdf6}.seller-summary>div{display:flex;justify-content:space-between;gap:20px;padding:7px 0}.seller-summary .seller-grand{margin-top:6px;padding-top:13px;border-top:1px solid #d7c79b;font-size:1.15rem;color:#174f3b}.seller-row>[data-line-total]{min-width:110px;text-align:right}
\n/* v16: final customer receipt only; approved main/catalog/cart remain unchanged */\n.customer-final-receipt{margin:16px 0;border:1px solid #ddd0b1;border-radius:9px;overflow:hidden;background:#fff}.customer-final-head,.customer-final-row{display:grid;grid-template-columns:minmax(220px,1.6fr) minmax(110px,.7fr) minmax(100px,.65fr) minmax(120px,.75fr);gap:12px;align-items:center;padding:11px 14px}.customer-final-head{background:#f7f2e7;color:#6f613f;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.55px}.customer-final-row{border-top:1px solid #eee5d1;font-size:14px}.customer-final-row>div:not(.customer-final-product){color:#4e554f}.customer-final-row>strong{text-align:right;color:var(--green);font-family:Georgia,serif;font-size:16px}.customer-final-product{display:grid;gap:3px}.customer-final-product b{color:#183f31}.customer-final-product span{font-size:12px;color:#72766f}.customer-final-total{display:flex;justify-content:space-between;align-items:center;padding:16px 14px;border-top:2px solid #d8c9a8;background:#fbfaf6;font-size:18px}.customer-final-total b{font-family:Georgia,serif;color:var(--green);font-size:25px}.final-comment{margin:12px 0;padding:12px 14px;border:1px solid #e1d6bc;border-radius:8px;background:#fffdf8}.final-comment span{font-size:11px;color:#8b7545;font-weight:800;text-transform:uppercase}.final-comment p{margin:5px 0 0;color:#515650}.compact-success{padding:18px 12px;margin-bottom:13px}.compact-success h3{font-size:24px}.confirmed-copy{opacity:.98}@media(max-width:720px){.customer-final-head{display:none}.customer-final-row{grid-template-columns:1fr 1fr;gap:7px}.customer-final-product{grid-column:1/-1}.customer-final-row>strong{text-align:left}.customer-final-total{font-size:16px}.customer-final-total b{font-size:21px}}\n
/* v17: payment -> fulfillment -> completed. Approved homepage/catalog/cart untouched. */
.status-track{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:16px 0 18px}.status-step{position:relative;display:grid;justify-items:center;gap:6px;text-align:center;color:#8b8f89;font-size:11px;font-weight:700}.status-step:not(:last-child):after{content:"";position:absolute;top:14px;left:62%;right:-38%;height:2px;background:#ddd4bf}.status-step i{position:relative;z-index:1;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;border:2px solid #d1c5aa;background:#fff;font-style:normal}.status-step.done{color:#1c593e}.status-step.done i{border-color:#6b9a7d;background:#e8f1eb}.status-step.done:not(:last-child):after{background:#8cb09a}.status-step.current i{box-shadow:0 0 0 4px #e8f1eb}.fulfillment-meta,.fulfillment-card{display:grid;grid-template-columns:1fr auto;gap:10px 20px;margin:14px 0;padding:15px 17px;border:1px solid #ddd0b1;border-radius:9px;background:#fffdf8}.fulfillment-meta span,.fulfillment-card span{color:#6b6e67}.fulfillment-meta b,.fulfillment-card b{color:var(--green);text-align:right}.manager-action-box{margin-top:16px;padding:16px;border:1px dashed #b9943e;border-radius:9px;background:#fffaf1}.manager-action-box small{color:#a97f25;font-weight:800;letter-spacing:.8px}.manager-action-box p{margin:7px 0 12px;color:#5f655e}.manager-action-box .receipt-confirm{width:100%}@media(max-width:620px){.status-track{grid-template-columns:repeat(2,1fr);row-gap:16px}.status-step:after{display:none}.fulfillment-meta,.fulfillment-card{grid-template-columns:1fr}.fulfillment-meta b,.fulfillment-card b{text-align:left}}
/* v22: clearer fulfillment choice and customer flow; homepage visuals unchanged */
.checkout-panel{max-height:92vh;overflow:auto}.checkout-person{display:grid;grid-template-columns:1fr 1fr;gap:12px}.checkout-person label,.delivery-details label{display:grid;gap:6px;font-weight:700}.delivery-choice{display:grid!important;grid-template-columns:1fr 1fr;gap:10px;border:0!important;padding:0!important}.delivery-choice legend{grid-column:1/-1;font-weight:800;margin-bottom:2px}.delivery-card{margin:0!important;display:grid!important;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:14px;border:2px solid #d8c9a8;border-radius:10px;background:#fff;cursor:pointer}.delivery-card.selected{border-color:var(--green);background:#f3f7f2}.delivery-card input{width:auto}.delivery-card span{display:grid;gap:3px}.delivery-card small{font-weight:400;color:#6c7068}.delivery-card em{font-style:normal;font-size:12px;font-weight:800;color:var(--green)}.delivery-details{border:1px solid #d8c9a8;border-radius:10px;background:#fff;padding:14px}.delivery-details[hidden]{display:none!important}.delivery-details h3{margin:0 0 8px;color:var(--green);font-family:Georgia,serif}.delivery-details p{margin:5px 0;line-height:1.45}.delivery-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.checkout-form select{width:100%;border:1px solid #cdbd98;border-radius:6px;padding:11px;background:#fff;font:inherit}.delivery-price-note{margin-top:10px;padding:10px;border-radius:7px;background:#f1e9d9;font-size:13px;line-height:1.45}.checkout-flow-note{display:grid;gap:5px;background:#f1e9d9;padding:13px;border-radius:9px;font-size:13px}.checkout-flow-note b{color:var(--green);margin-bottom:3px}.receipt-empty #openActiveOrder{margin-right:8px;background:#b99542;color:#fff}@media(max-width:700px){.checkout-person,.delivery-choice,.delivery-grid{grid-template-columns:1fr}.delivery-choice legend{grid-column:auto}.delivery-card{grid-template-columns:auto 1fr}.delivery-card em{grid-column:2}.checkout-actions{display:grid;gap:8px}.checkout-actions button{width:100%}}

/* v26: product photos stay inside catalog/card frames regardless of source proportions */
.products{min-width:0}
.product{min-width:0;overflow:hidden}
.product>img,
.product img{
  display:block;
  width:100%;
  height:130px;
  max-width:100%;
  object-fit:cover;
  object-position:center;
}
.product-detail{min-width:0}
.product-detail-img{
  display:block;
  width:100%;
  max-width:100%;
  height:360px;
  object-fit:cover;
  object-position:center;
  overflow:hidden;
}
@media(max-width:760px){.product-detail-img{height:220px}}

/* v27: customer catalog image bounds fix only */
.products{min-width:0}
.product{min-width:0;max-width:100%;overflow:hidden}
.product-image-frame{width:100%;height:130px;max-width:100%;overflow:hidden;position:relative;display:block;background:#f2ecdf}
.product-image-frame>img{display:block;width:100%;height:100%;max-width:100%;min-width:0;object-fit:cover;object-position:center;margin:0;padding:0}
.product>.copy{min-width:0;max-width:100%;overflow:hidden}
@media(max-width:760px){.product-image-frame{height:180px}}

/* v28: hard containment for customer catalog product photos only */
.products{
  min-width:0;
  width:100%;
}
.product{
  min-width:0;
  max-width:100%;
  width:100%;
  overflow:hidden !important;
  position:relative;
  contain:layout paint;
}
.product-image-frame{
  position:relative !important;
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  height:130px !important;
  min-height:130px !important;
  max-height:130px !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
  background:#f2ecdf;
  isolation:isolate;
}
.product-image-frame > img{
  position:absolute !important;
  inset:0 !important;
  display:block !important;
  width:100% !important;
  height:100% !important;
  min-width:0 !important;
  min-height:0 !important;
  max-width:100% !important;
  max-height:100% !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  object-fit:cover !important;
  object-position:center !important;
  box-sizing:border-box !important;
  transform:none !important;
}
.product-detail{
  min-width:0 !important;
  overflow:hidden;
}
.product-detail > *{
  min-width:0 !important;
  max-width:100% !important;
}
.product-detail-img{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  height:360px !important;
  max-height:360px !important;
  object-fit:cover !important;
  object-position:center !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
}
@media(max-width:760px){
  .product-image-frame{height:180px !important;min-height:180px !important;max-height:180px !important}
  .product-detail-img{height:220px !important;max-height:220px !important}
}


/* v29: definitive customer catalog image clipping. No source image can size the grid/card. */
#catalogModal .panel,
#catalogModal .products,
#catalogModal .product,
#catalogModal .product-image-frame,
#catalogModal .product-image-frame img{
  box-sizing:border-box !important;
}
#catalogModal .products{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  overflow:visible !important;
}
#catalogModal .product{
  width:auto !important;
  min-width:0 !important;
  max-width:100% !important;
  overflow:hidden !important;
  border-radius:9px !important;
}
#catalogModal .product-image-frame{
  position:relative !important;
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  height:130px !important;
  min-height:130px !important;
  max-height:130px !important;
  overflow:hidden !important;
  border-radius:0 !important;
  contain:strict !important;
}
#catalogModal .product-image-frame > img{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  min-width:100% !important;
  min-height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:cover !important;
  object-position:center !important;
  display:block !important;
  overflow:hidden !important;
}
#catalogModal .product .copy{
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  box-sizing:border-box !important;
  overflow:hidden !important;
}
@media(max-width:760px){
  #catalogModal .products{grid-template-columns:1fr !important}
  #catalogModal .product-image-frame{height:180px !important;min-height:180px !important;max-height:180px !important}
}


/* v30: customer catalog card photos are backgrounds, so image pixels cannot escape the frame. */
#catalogModal .product-image-frame{
  display:block !important;
  position:relative !important;
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  height:130px !important;
  min-height:130px !important;
  max-height:130px !important;
  overflow:hidden !important;
  background-size:cover !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
  contain:layout paint size !important;
}
#catalogModal .product-image-frame > img{display:none !important;}
@media(max-width:760px){#catalogModal .product-image-frame{height:180px !important;min-height:180px !important;max-height:180px !important;}}


/* v31: product image safety — always keep the COMPLETE photo inside the catalogue frame. */
#catalogModal .product-image-frame{
  overflow:hidden !important;
  background-size:contain !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
  background-color:#f7f3ea !important;
}
#catalogModal .product{
  overflow:hidden !important;
}


/* v34: editable RF delivery note, fed from admin settings */
.delivery-rf-note{display:grid;gap:5px;margin:10px 0 14px;padding:12px 14px;border:1px solid #d9c89f;border-radius:10px;background:#fff9ea;color:#315044}.delivery-rf-note b{font-family:Georgia,serif;color:#174633}.delivery-rf-note span{font-size:12px;font-weight:700}.delivery-rf-note small{font-size:11px;color:#6e746e;line-height:1.4}


/* v36: таймер резерва в заказе покупателя */
.reserve-buyer{display:grid;grid-template-columns:1fr auto;gap:5px 18px;align-items:center;margin:0 0 15px;padding:13px 15px;border:1px solid #d7c48f;border-radius:11px;background:#fff9e7;color:#315347}.reserve-buyer span{font-size:12px;font-weight:800}.reserve-buyer b{font-size:24px;letter-spacing:.04em;color:#8b6b1f}.reserve-buyer small{grid-column:1/-1;font-size:11px;line-height:1.45;color:#697269}.reserve-buyer.warning{background:#fff2d7;border-color:#d7a74f}.reserve-buyer.warning b{color:#a65424}.reserve-buyer.expired{background:#fff1ed;border-color:#d9aea4}.reserve-buyer.expired b{color:#9a382b;font-size:17px}.reserve-buyer.released{background:#f3f4f1;border-color:#c9cec7}.reserve-buyer.released b{font-size:15px;color:#66706a}@media(max-width:640px){.reserve-buyer{grid-template-columns:1fr}.reserve-buyer b{font-size:21px}.reserve-buyer small{grid-column:auto}}

/* v42: discreet technical indicator; does not alter approved page layout. */
.server-mode-badge{position:fixed;right:8px;bottom:8px;z-index:99999;padding:3px 7px;border-radius:999px;background:rgba(8,54,42,.82);color:#fff;font:700 9px/1.2 Arial,sans-serif;letter-spacing:.08em;pointer-events:none;opacity:.55}

/* v43: functional review carousel and footer hotspots without changing the approved image layout. */
.contact-slice{position:relative}
.review-live{position:absolute;left:10.7%;top:21%;width:15.1%;height:48%;z-index:3;background:#f7f2e8;box-sizing:border-box;padding:5px 8px 2px 0;pointer-events:none;color:#2e302d;font-family:Arial,sans-serif;font-size:11px;line-height:1.55}
.review-live-text{min-height:47px}
.review-live-author{margin-top:6px;font-size:11px;color:#263128}
.review-arrow{z-index:6;border-radius:50%;cursor:pointer}
.review-prev{left:6.1%;top:72.5%;width:2.0%;height:18.5%}
.review-next{left:22.8%;top:72.5%;width:2.0%;height:18.5%}
.footer-slice{position:relative}
.footer-about{left:32.2%;top:36%;width:4.2%;height:18%}
.footer-quality{left:32.2%;top:53%;width:7.8%;height:18%}
.footer-contacts{left:32.2%;top:70%;width:5.5%;height:18%}
.footer-delivery{left:46.7%;top:36%;width:8.7%;height:18%}
.footer-return{left:46.7%;top:53%;width:7.5%;height:18%}
.footer-faq{left:46.7%;top:70%;width:7.8%;height:18%}
.footer-whatsapp{left:61.3%;top:43%;width:2.6%;height:31%}
.footer-telegram{left:64.1%;top:43%;width:2.6%;height:31%}
.footer-instagram{left:66.9%;top:43%;width:2.6%;height:31%}
.footer-info-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:10050;background:#0b4a37;color:#fff;border:1px solid #d1aa53;border-radius:10px;padding:12px 18px;box-shadow:0 10px 34px rgba(0,0,0,.28);font:14px/1.4 Arial,sans-serif;max-width:min(560px,90vw);text-align:center}

/* v44: stars in the approved review image remain the single rating layer; no duplicate live stars. */


/* v45.2: Captain's receipt is integrated into the approved header, not floating over the page */
/* v45.4: receipt is built into the native right-hand button slot of the approved header */
.header-slice .main-receipt-dock{position:absolute;left:82.2%;top:63.2%;z-index:12;width:9.8%;height:28.6%;display:grid;grid-template-columns:minmax(0,1fr) 20px;align-items:center;gap:5px;padding:2px 8px;border:0;border-radius:5px;background:#0b472f;color:#fff;cursor:pointer;text-align:center;box-shadow:inset 0 0 0 1px rgba(184,147,61,.22);font-family:Arial,sans-serif;overflow:hidden}
.header-slice .main-receipt-dock:hover{filter:brightness(1.045)}
.main-receipt-copy{display:block;min-width:0;line-height:1}.main-receipt-copy b{display:block;font:700 clamp(7px,.62vw,10px)/1.05 Georgia,serif;color:#f7e8b1;white-space:normal}.main-receipt-copy small{display:none}
.main-receipt-count{display:grid;place-items:center;width:18px;height:18px;border-radius:999px;background:#d7b556;color:#153d2f;font-weight:900;font-size:9px;line-height:1}.main-receipt-dock.has-order .main-receipt-count{background:#fff;color:#0b513a}
.m-receipt{position:relative;width:100%;margin:9px 0 14px;padding:12px 46px 12px 14px;border:1px solid #c49d48;border-radius:9px;background:#0d503a;color:#fff;text-align:left;display:grid;gap:3px}.m-receipt b{font-family:Georgia,serif;color:#f5df9d}.m-receipt span{font-size:12px;opacity:.9}.m-receipt em{position:absolute;right:12px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#d7b556;color:#173f31;font-style:normal;font-weight:900}
.stock-badge{position:absolute;left:10px;top:10px;z-index:3;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:800;line-height:1}.stock-badge.in{background:#e6f2e9;color:#175b3e;border:1px solid #9fc6aa}.stock-badge.out{background:#f5e7e3;color:#8b352b;border:1px solid #d9aaa2}.product-image-frame{position:relative}.product.is-unavailable .product-image-frame{opacity:.68}.product.is-unavailable [data-add]{cursor:not-allowed;opacity:.55}.product-stock{display:inline-flex;width:max-content;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:800}.product-stock.in{background:#e6f2e9;color:#175b3e}.product-stock.out{background:#f5e7e3;color:#8b352b}.receipt-add:disabled{opacity:.55;cursor:not-allowed}.buyer-wait-note{margin-top:14px;padding:12px 14px;border:1px solid #ddcfad;border-radius:8px;background:#faf6ea;color:#59645c;font-size:13px;line-height:1.45}
@media(max-width:760px){.desktop-build{display:none}.main-receipt-dock{display:none!important}}

/* v45 mobile text clean: category artwork already contains labels; never draw extra labels */
@media(max-width:760px){.m-cats button>b,.m-cats button::before,.m-cats button::after{display:none!important;content:none!important}}

/* v45: active seller phone inside expired-reserve messages; layout unchanged */
.seller-phone-link{color:inherit;font-weight:800;text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
.seller-phone-link:active{opacity:.7}

/* v45 mobile catalog photo proportions fix: preserve source aspect ratio, no stretching. */
@media(max-width:760px){
  #catalogModal .product-image-frame{
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    aspect-ratio:4 / 3 !important;
    overflow:hidden !important;
    background-size:contain !important;
    background-position:center center !important;
    background-repeat:no-repeat !important;
    background-color:#f7f3ea !important;
  }
  #catalogModal .product-image-frame > img{
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    object-fit:contain !important;
    object-position:center !important;
  }
  #productModal .product-detail-img{
    display:block !important;
    width:100% !important;
    height:auto !important;
    max-height:68vh !important;
    aspect-ratio:auto !important;
    object-fit:contain !important;
    object-position:center !important;
    background:#f7f3ea !important;
  }
}

/* v47 mobile stage 1 — Главная. Uses approved Desktop artwork as the visual source; catalog/order modals are untouched. */
@media(max-width:760px){
  .desktop-build{display:none!important}
  .mobile-fallback.mobile-home-v47{display:block!important;padding:0!important;background:#f7f1e6!important;min-height:100vh;color:#17382b;overflow:hidden}
  .m47-head{padding:12px 14px 13px;background:#f8f2e8;border-top:1px solid #c8aa62;border-bottom:1px solid #cdbb8d;box-shadow:0 2px 12px #654d2412}
  .m47-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--green);min-width:0}
  .m47-brand img{width:64px;height:64px;border-radius:50%;flex:0 0 64px}
  .m47-brand span{display:grid;min-width:0;line-height:1.05}.m47-brand small{font-family:Georgia,serif;font-size:10px;letter-spacing:1.4px}.m47-brand b{font-family:Georgia,serif;font-size:22px;white-space:nowrap}.m47-brand em{font-style:normal;font-size:10px;color:#493f31;margin-top:6px}
  .m47-phone{display:block;margin:9px 0 8px;text-decoration:none;color:var(--green);font-family:Georgia,serif;font-weight:700;font-size:18px}
  .m47-head-actions{display:grid;grid-template-columns:.72fr 1.28fr;gap:8px}.m47-head-actions>button{min-height:44px;border-radius:6px;border:1px solid #b99341;background:var(--green);color:#fff;font-weight:800}
  .m47-head-actions .m-receipt{position:relative;margin:0;padding:7px 38px 7px 10px;display:grid;text-align:left;line-height:1.05;background:#fffaf0;color:var(--green)}.m47-head-actions .m-receipt b{font-size:12px}.m47-head-actions .m-receipt span{font-size:10px;font-weight:400;margin-top:4px}.m47-head-actions .m-receipt em{position:absolute;right:9px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--green);color:#fff;font-style:normal}

  .m47-hero{background:#ece4d6;border-bottom:1px solid #d3bf8d}
  .m47-hero-copy,.m47-hero-ship{background-image:url('assets/sections/hero.png');background-repeat:no-repeat;position:relative}
  .m47-hero-copy{height:190px;background-size:auto 190px;background-position:left top}
  .m47-hero-hotspot{position:absolute;left:14%;top:67%;width:42%;height:23%;border:0;background:transparent;cursor:pointer}
  .m47-hero-ship{height:176px;background-size:auto 176px;background-position:68% center;border-top:1px solid #e3d8c2}

  .m47-catalog,.m47-benefits{padding:20px 14px}.m47-catalog h2,.m47-benefits h2{margin:0 0 13px;text-align:center;font:700 25px/1 Georgia,serif;text-transform:uppercase;color:var(--green)}
  .m47-cat-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.m47-cat{height:128px;border:0;border-radius:7px;overflow:hidden;background-image:url('assets/sections/catalog.png');background-repeat:no-repeat;background-size:500% 100%;box-shadow:0 2px 8px #503b201f;cursor:pointer}.m47-fish{background-position:0 0}.m47-mollusks{background-position:25% 0}.m47-caviar{background-position:50% 0}.m47-shrimp{background-position:75% 0}.m47-crab{background-position:100% 0;grid-column:1/-1;background-size:250% 100%;background-position:100% 0;height:138px}

  .m47-benefits{padding-top:10px}.m47-benefit-grid{display:grid;gap:8px}.m47-benefit{height:82px;border:1px solid #d6c59c;border-radius:7px;background-image:url('assets/sections/benefits.png');background-repeat:no-repeat;background-size:400% 100%;background-color:#f8f2e8}.m47-benefit-1{background-position:0 0}.m47-benefit-2{background-position:33.333% 0}.m47-benefit-3{background-position:66.666% 0}.m47-benefit-4{background-position:100% 0}

  .m47-contact{padding:8px 14px 18px;display:grid;gap:9px}.m47-contact-card{display:block;height:150px;border:1px solid #d6c59c;border-radius:7px;background-image:url('assets/sections/contact.png');background-repeat:no-repeat;background-size:400% 100%;background-color:#f8f2e8}.m47-reviews-card{background-position:0 0}.m47-island-card{background-position:33.333% 0}.m47-map-card{background-position:66.666% 0}.m47-delivery-card{background-position:100% 0}
  .m47-footer{display:grid;grid-template-columns:auto 1fr;gap:9px 11px;align-items:center;padding:16px 14px 20px;background:#0b3527;color:#f7f1e6;border-top:2px solid #b99341}.m47-footer img{width:50px;height:50px;border-radius:50%;grid-row:1/3}.m47-footer div{display:grid}.m47-footer b{font-family:Georgia,serif;font-size:17px}.m47-footer span{font-size:10px;opacity:.85;margin-top:3px}.m47-footer a{color:#f4d88e;text-decoration:none;font-weight:800;font-size:15px}
}
@media(max-width:390px){
 .m47-brand b{font-size:19px}.m47-brand img{width:58px;height:58px;flex-basis:58px}.m47-hero-copy{height:176px;background-size:auto 176px}.m47-hero-ship{height:164px;background-size:auto 164px}.m47-cat{height:118px}.m47-contact-card{height:142px}
}

/* v47 mobile full Desktop adaptation — same composition/content, responsive typography, no stretched artwork. */
@media(max-width:760px){
  html,body{width:100%;max-width:100%;overflow-x:hidden}
  .desktop-build{display:none!important}
  .mobile-fallback.mobile-desktop-adapt{display:block!important;width:100%!important;min-height:100vh!important;padding:0!important;overflow:hidden!important;background:#f7f1e6!important;color:#17382b!important}
  .mobile-desktop-adapt *{max-width:100%}
  .m47-head-desktop-adapt{padding:12px 14px 14px!important;background:#f8f2e8!important;border-top:1px solid #c8aa62!important;border-bottom:1px solid #cdbb8d!important}
  .m47-head-top{display:flex;align-items:center;gap:8px;justify-content:space-between}.m47-head-top .m47-brand{flex:1;min-width:0}.m47-brand b{white-space:normal!important;font-size:clamp(18px,5.4vw,23px)!important;line-height:.98!important}.m47-brand small{font-size:9px!important}.m47-brand em{font-size:10px!important;line-height:1.2!important}.m47-brand img{width:62px!important;height:62px!important;flex:0 0 62px!important}
  .m47-menu-toggle{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border:1px solid #b99341;border-radius:6px;background:#fffaf0;color:var(--green);font-size:22px}
  .m47-mobile-nav{display:none;grid-template-columns:1fr 1fr;gap:5px;margin:10px 0 2px;padding:8px;background:#efe7d7;border:1px solid #d5c397;border-radius:7px}.m47-mobile-nav.open{display:grid}.m47-mobile-nav a,.m47-mobile-nav button{display:block;border:0;background:transparent;color:var(--green);padding:9px 8px;text-align:left;text-decoration:none;font:700 13px/1.1 Arial,sans-serif}
  .m47-contact-line{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 8px}.m47-phone{margin:0!important;font-size:17px!important;white-space:nowrap}.m47-hours{display:grid;text-align:right;line-height:1.15;font-size:9px}.m47-hours b{font-size:9px;margin-bottom:2px}.m47-hours em{font-style:normal}
  .m47-head-actions{grid-template-columns:.72fr 1.28fr!important}.m47-head-actions>button{min-height:46px!important}.m47-head-actions .m-receipt b{font-size:11px!important}

  .m47-hero-adapt{display:grid!important;background:#ede4d5!important;border-bottom:1px solid #d3bf8d!important;overflow:hidden}.m47-hero-copy-live{padding:25px 18px 17px;background:linear-gradient(180deg,#f8f0e2 0%,#eee5d7 100%);position:relative;z-index:2}.m47-eyebrow{font:700 clamp(19px,6vw,28px)/1 Georgia,serif;letter-spacing:.04em;color:#153e2e}.m47-hero-copy-live h1{margin:3px 0 8px;font:700 clamp(43px,13vw,61px)/.85 Georgia,serif;letter-spacing:.01em;color:#123f2d;overflow-wrap:normal;word-break:normal}.m47-hero-copy-live p{margin:0 0 15px;font:400 clamp(15px,4.3vw,19px)/1.25 Georgia,serif;color:#254639}.m47-hero-copy-live button{border:1px solid #b8933d;border-radius:5px;background:#0b412d;color:#fff;padding:12px 15px;font:700 14px/1 Arial,sans-serif;box-shadow:0 2px 7px #0002}.m47-hero-copy-live button span{display:inline-grid;place-items:center;margin-left:7px;width:20px;height:20px;border-radius:50%;background:#d4aa48;color:#17382b;font-size:20px}.m47-hero-ship-live{display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:cover!important;object-position:center!important;border-top:1px solid #ded0b5}

  .m47-catalog-adapt,.m47-benefits-adapt{padding:21px 14px!important}.m47-catalog-adapt h2,.m47-benefits-adapt h2,.m47-contact-adapt h2{margin:0 0 14px;text-align:center;font:700 clamp(22px,6.7vw,28px)/1 Georgia,serif;text-transform:uppercase;color:var(--green)}
  .m47-catalog-adapt .m47-cat-grid{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}.m47-catalog-adapt .m47-cat{display:block!important;width:100%!important;height:auto!important;aspect-ratio:271/170!important;padding:0!important;border:0!important;border-radius:7px!important;overflow:hidden!important;background:none!important;box-shadow:0 2px 8px #503b201f!important}.m47-catalog-adapt .m47-cat img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}

  .m47-benefits-adapt{padding-top:5px!important}.m47-benefits-adapt .m47-benefit-grid{display:grid!important;gap:9px!important}.m47-benefits-adapt .m47-benefit{display:block!important;width:100%!important;height:auto!important;min-height:0!important;border:1px solid #d6c59c!important;border-radius:7px!important;overflow:hidden!important;background:none!important}.m47-benefits-adapt .m47-benefit img{display:block;width:100%;height:auto}

  .m47-contact-adapt{display:grid!important;gap:12px!important;padding:8px 14px 20px!important}.m47-live-review,.m47-island-live,.m47-delivery-live{padding:17px 16px;border:1px solid #d6c59c;border-radius:8px;background:#faf5eb}.m47-live-review h2,.m47-island-live h2,.m47-delivery-live h2{text-align:left!important;font-size:21px!important;margin-bottom:12px!important}.m47-review-box{position:relative;padding:15px 16px 44px;background:#fffdf8;border:1px solid #dfd3b9;border-radius:7px}.m47-review-box p{margin:0 0 13px;font:400 14px/1.5 Arial,sans-serif}.m47-review-box b{display:block;font-size:12px}.m47-stars{margin-top:7px;color:#b98724;font-size:18px;letter-spacing:1px}.m47-review-arrows{position:absolute;left:12px;right:12px;bottom:8px;display:flex;justify-content:space-between}.m47-review-arrows button{display:grid;place-items:center;width:30px;height:30px;border:1px solid #c9ad68;border-radius:50%;background:#fffaf0;color:#a67d24;font-size:25px;line-height:1}
  .m47-island-live p{margin:0 0 10px;font-size:14px}.m47-island-live>a:not(.m47-find){display:block;color:var(--green);font-weight:700;text-decoration:none;margin-bottom:13px}.m47-find{display:inline-block;padding:11px 16px;border-radius:5px;background:var(--green);color:#fff;text-decoration:none;font-weight:700;font-size:13px}.m47-map-live{display:block;border:1px solid #d6c59c;border-radius:8px;overflow:hidden;background:#fff}.m47-map-live img{display:block!important;width:100%!important;height:auto!important;object-fit:contain!important}.m47-delivery-live p{margin:5px 0;font-size:14px;line-height:1.3}.m47-delivery-live h3{margin:17px 0 7px;font:700 18px/1 Georgia,serif;text-transform:uppercase;color:var(--green)}

  .m47-footer-adapt{display:block!important;padding:20px 16px 24px!important;background:#0b3527!important;color:#f7f1e6!important}.m47-footer-brand{display:flex;align-items:center;gap:11px;padding-bottom:15px;border-bottom:1px solid #ffffff26}.m47-footer-brand img{width:58px!important;height:58px!important;grid-row:auto!important}.m47-footer-brand span{display:grid}.m47-footer-brand b{font:700 18px/1 Georgia,serif}.m47-footer-brand em{margin-top:5px;font-style:normal;font-size:10px;line-height:1.35;opacity:.85}.m47-footer-links{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:17px 0}.m47-footer-links section{display:grid;gap:8px}.m47-footer-links b,.m47-social b{color:#e5bf61;font:700 12px/1 Georgia,serif;text-transform:uppercase}.m47-footer-links a,.m47-footer-links button,.m47-social a,.m47-social button{padding:0;border:0;background:transparent;color:#f7f1e6;text-align:left;text-decoration:none;font:400 11px/1.25 Arial,sans-serif}.m47-social{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;padding-top:14px;border-top:1px solid #ffffff26}.m47-social b{flex-basis:100%}.m47-social a,.m47-social button{color:#f3d17d;font-weight:700}

  .panel{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;left:10px!important;right:10px!important;top:10px!important;bottom:10px!important;transform:none!important;max-height:none!important;padding:16px!important;border-radius:10px!important}.modal-brand{align-items:flex-start!important}.modal-brand h2{font-size:clamp(22px,7vw,28px)!important;line-height:1.03!important;overflow-wrap:anywhere}.tabs{flex-wrap:nowrap!important;overflow-x:auto!important;padding-bottom:4px!important}.tabs button{flex:0 0 auto!important}.products{grid-template-columns:1fr!important}.shipping{display:grid!important;gap:5px!important;line-height:1.35!important}.product-detail{grid-template-columns:1fr!important;gap:16px!important}.product-detail-copy h2{font-size:28px!important;line-height:1.05!important}.receipt-row{grid-template-columns:minmax(0,1fr) auto!important;gap:9px!important}.checkout-form fieldset label{display:block;margin:8px 0!important}.receipt-summary>div{align-items:flex-start!important}.receipt-summary>div>*{min-width:0}.checkout-success{padding:24px 8px!important}
}
@media(max-width:380px){.m47-brand img{width:56px!important;height:56px!important;flex-basis:56px!important}.m47-brand b{font-size:17px!important}.m47-contact-line{align-items:flex-start;flex-direction:column}.m47-hours{text-align:left}.m47-head-actions{grid-template-columns:1fr!important}.m47-footer-links{grid-template-columns:1fr!important}}

/* v47 MOBILE FINAL ADAPTATION */
@media (max-width:760px){
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}body{min-width:0!important;width:100%!important;overflow-x:hidden!important}.desktop-build{display:none!important}.mobile-fallback.mobile-desktop-adapt{display:block!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;overflow-x:hidden!important;background:#f7f1e6!important;color:#17382b!important}.mobile-desktop-adapt,.mobile-desktop-adapt *{box-sizing:border-box!important}
.m47-head-desktop-adapt{padding:10px 12px 12px!important}.m47-head-top{display:grid!important;grid-template-columns:minmax(0,1fr) 40px!important;align-items:center!important;gap:8px!important}.m47-brand{display:grid!important;grid-template-columns:54px minmax(0,1fr)!important;gap:9px!important;align-items:center!important;min-width:0!important}.m47-brand img{width:54px!important;height:54px!important;flex:none!important}.m47-brand span{min-width:0!important;display:block!important}.m47-brand small{display:block!important;font-size:9px!important;line-height:1!important;letter-spacing:1.2px!important}.m47-brand b{display:block!important;margin-top:2px!important;font-size:clamp(18px,5.5vw,22px)!important;line-height:1.02!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}.m47-brand em{display:block!important;margin-top:4px!important;font-size:10px!important;line-height:1.2!important}.m47-menu-toggle{width:40px!important;height:40px!important;min-width:40px!important;padding:0!important;font-size:20px!important}.m47-mobile-nav{display:none!important;grid-template-columns:1fr 1fr!important;gap:4px!important;margin:8px 0 0!important;padding:7px!important}.m47-mobile-nav.open{display:grid!important}.m47-mobile-nav a,.m47-mobile-nav button{min-width:0!important;padding:9px!important;font:700 13px/1.15 Arial,sans-serif!important;text-decoration:none!important;overflow-wrap:normal!important;word-break:normal!important}.m47-contact-line{display:grid!important;grid-template-columns:1fr!important;gap:5px!important;margin:9px 0 8px!important}.m47-phone{font-size:18px!important;line-height:1.1!important;white-space:normal!important}.m47-hours{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:2px 7px!important;text-align:left!important;font-size:10px!important;line-height:1.25!important}.m47-hours b{flex-basis:100%!important;font-size:10px!important}.m47-head-actions{display:grid!important;grid-template-columns:.8fr 1.2fr!important;gap:7px!important}.m47-head-actions>button{min-width:0!important;min-height:45px!important;padding:8px 10px!important;font-size:13px!important}.m47-head-actions .m-receipt{padding-right:38px!important}.m47-head-actions .m-receipt b{font-size:11px!important;line-height:1.05!important}.m47-head-actions .m-receipt span{font-size:10px!important}
.m47-hero-adapt{display:block!important}.m47-hero-copy-live{padding:22px 16px 18px!important}.m47-eyebrow{font-size:clamp(15px,4.5vw,19px)!important;line-height:1.1!important}.m47-hero-copy-live h1{margin:5px 0 8px!important;font-size:clamp(38px,11.5vw,52px)!important;line-height:.92!important;letter-spacing:0!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}.m47-hero-copy-live p{margin:0 0 15px!important;font:400 16px/1.3 Georgia,serif!important}.m47-hero-copy-live button{min-height:42px!important;padding:10px 13px!important;font-size:13px!important}.m47-hero-ship-live{width:100%!important;height:auto!important;aspect-ratio:16/9!important;object-fit:cover!important;object-position:64% center!important}
.m47-catalog-adapt,.m47-benefits-adapt{padding:20px 12px!important}.m47-catalog-adapt h2,.m47-benefits-adapt h2,.m47-contact-adapt h2{margin:0 0 12px!important;font-size:clamp(21px,6vw,26px)!important;line-height:1.05!important;white-space:normal!important}.m47-catalog-adapt .m47-cat-grid{grid-template-columns:1fr 1fr!important;gap:8px!important}.m47-catalog-adapt .m47-cat{width:100%!important;aspect-ratio:1.45/1!important;height:auto!important;min-width:0!important}.m47-catalog-adapt .m47-cat:last-child{grid-column:1/-1!important;aspect-ratio:2.4/1!important}.m47-catalog-adapt .m47-cat img{width:100%!important;height:100%!important;object-fit:cover!important}.m47-benefits-adapt .m47-benefit-grid{gap:8px!important}.m47-benefits-adapt .m47-benefit{height:auto!important;min-height:0!important}.m47-benefits-adapt .m47-benefit img{width:100%!important;height:auto!important;object-fit:contain!important}
.m47-contact-adapt{padding:5px 12px 18px!important;gap:10px!important}.m47-live-review,.m47-island-live,.m47-delivery-live{padding:15px 14px!important}.m47-live-review h2,.m47-island-live h2,.m47-delivery-live h2{font-size:20px!important;line-height:1.08!important}.m47-review-box p,.m47-island-live p,.m47-delivery-live p{font-size:14px!important;line-height:1.45!important}.m47-map-live img{display:block!important;width:100%!important;height:auto!important;object-fit:contain!important}.m47-footer-adapt{padding:16px 12px calc(18px + env(safe-area-inset-bottom))!important}.m47-footer-brand{grid-template-columns:52px 1fr!important;gap:10px!important}.m47-footer-brand img{width:52px!important;height:52px!important}.m47-footer-links{grid-template-columns:1fr 1fr!important;gap:14px!important}.modal .panel{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;left:8px!important;right:8px!important;top:8px!important;bottom:8px!important}
}
@media(max-width:380px){.m47-brand{grid-template-columns:48px minmax(0,1fr)!important}.m47-brand img{width:48px!important;height:48px!important}.m47-brand b{font-size:17px!important}.m47-head-actions{grid-template-columns:1fr!important}.m47-catalog-adapt .m47-cat-grid{grid-template-columns:1fr!important}.m47-catalog-adapt .m47-cat:last-child{grid-column:auto!important;aspect-ratio:1.45/1!important}.m47-footer-links{grid-template-columns:1fr!important}}

/* v47 MOBILE COMPLETE RESPONSIVE PASS — derived from Desktop, no content/logic changes */
@media (max-width:760px){
  :root{--m-pad:14px;--m-gap:10px}
  html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  body{font-size:14px!important;-webkit-text-size-adjust:100%!important;text-size-adjust:100%!important}
  .mobile-fallback.mobile-desktop-adapt{font-family:Arial,sans-serif!important}

  /* Header: compact, readable and aligned like Desktop */
  .m47-head-desktop-adapt{padding:10px var(--m-pad) 12px!important;border-bottom:1px solid #cdb77d!important}
  .m47-head-top{grid-template-columns:minmax(0,1fr) 42px!important;gap:10px!important}
  .m47-brand{grid-template-columns:46px minmax(0,1fr)!important;gap:9px!important}
  .m47-brand img{width:46px!important;height:46px!important}
  .m47-brand small{font-size:8px!important;letter-spacing:1.25px!important}
  .m47-brand b{font-size:clamp(17px,4.9vw,20px)!important;line-height:1.02!important;letter-spacing:-.25px!important}
  .m47-brand em{font-size:9px!important;line-height:1.2!important;margin-top:3px!important}
  .m47-menu-toggle{width:42px!important;height:42px!important;border-radius:8px!important;font-size:18px!important}
  .m47-mobile-nav{grid-template-columns:1fr 1fr!important;margin-top:8px!important;padding:6px!important;gap:4px!important}
  .m47-mobile-nav a,.m47-mobile-nav button{font-size:12px!important;padding:8px!important}
  .m47-contact-line{margin:10px 0 9px!important;gap:5px!important}
  .m47-phone{font:700 17px/1.08 Georgia,serif!important;letter-spacing:.2px!important}
  .m47-hours{font-size:10px!important;line-height:1.3!important;gap:2px 8px!important}
  .m47-hours b{font-size:10px!important}
  .m47-head-actions{grid-template-columns:1fr 1.32fr!important;gap:7px!important}
  .m47-head-actions>button{min-height:42px!important;padding:7px 9px!important;font-size:12px!important;border-radius:7px!important}
  .m47-head-actions .m-receipt{padding:7px 34px 7px 10px!important;text-align:left!important}
  .m47-head-actions .m-receipt b{font-size:10px!important;line-height:1.05!important}
  .m47-head-actions .m-receipt span{font-size:9px!important;line-height:1.2!important}
  .m47-head-actions .m-receipt em{width:27px!important;height:27px!important;right:7px!important;font-size:12px!important}

  /* Hero: same Desktop message, scaled for phone instead of enlarged */
  .m47-hero-adapt{border-bottom:1px solid #d3c18e!important}
  .m47-hero-copy-live{padding:20px var(--m-pad) 17px!important}
  .m47-eyebrow{font:400 13px/1.1 Arial,sans-serif!important;letter-spacing:.2px!important}
  .m47-hero-copy-live h1{margin:5px 0 8px!important;font-size:clamp(32px,9.2vw,38px)!important;line-height:.95!important;letter-spacing:-.8px!important;max-width:100%!important}
  .m47-hero-copy-live p{margin:0 0 14px!important;font:400 14px/1.35 Georgia,serif!important}
  .m47-hero-copy-live button{min-height:40px!important;padding:9px 12px!important;font-size:12px!important;border-radius:6px!important}
  .m47-hero-ship-live{display:block!important;width:100%!important;height:clamp(185px,54vw,225px)!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:58% center!important}

  /* Desktop category cards restacked without distortion */
  .m47-catalog-adapt{padding:20px var(--m-pad) 22px!important}
  .m47-catalog-adapt h2,.m47-benefits-adapt h2,.m47-contact-adapt h2{font-size:clamp(20px,5.7vw,24px)!important;line-height:1.05!important;margin-bottom:12px!important;letter-spacing:-.2px!important}
  .m47-cat-grid{grid-template-columns:1fr 1fr!important;gap:9px!important}
  .m47-cat{border-radius:8px!important;overflow:hidden!important;aspect-ratio:1.38/1!important;min-height:0!important}
  .m47-cat:last-child{grid-column:1/-1!important;aspect-ratio:2.45/1!important}
  .m47-cat img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}

  .m47-benefits-adapt{padding:18px var(--m-pad) 22px!important}
  .m47-benefit-grid{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
  .m47-benefit{overflow:hidden!important;border-radius:8px!important}
  .m47-benefit img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}

  /* Reviews / contacts / delivery */
  .m47-contact-adapt{padding:0 var(--m-pad) 20px!important;display:grid!important;gap:10px!important}
  .m47-live-review,.m47-island-live,.m47-delivery-live{padding:14px!important;border-radius:8px!important}
  .m47-live-review h2,.m47-island-live h2,.m47-delivery-live h2{font-size:19px!important}
  .m47-review-box p,.m47-island-live p,.m47-delivery-live p{font-size:13px!important;line-height:1.42!important}
  .m47-review-arrows button{width:36px!important;height:36px!important}
  .m47-map-live{overflow:hidden!important;border-radius:8px!important}
  .m47-map-live img{display:block!important;width:100%!important;height:auto!important;object-fit:contain!important}

  /* Footer */
  .m47-footer-adapt{padding:16px var(--m-pad) calc(18px + env(safe-area-inset-bottom))!important}
  .m47-footer-brand{display:grid!important;grid-template-columns:46px minmax(0,1fr)!important;gap:9px!important}
  .m47-footer-brand img{width:46px!important;height:46px!important}
  .m47-footer-brand b{font-size:15px!important}.m47-footer-brand em{font-size:9px!important}
  .m47-footer-links{grid-template-columns:1fr 1fr!important;gap:14px!important}
  .m47-footer-links b,.m47-social b{font-size:11px!important}.m47-footer-links a,.m47-footer-links button,.m47-social a,.m47-social button{font-size:10px!important}

  /* Catalog modal — phone layout from same Desktop catalog */
  .modal .panel{inset:6px!important;width:auto!important;max-width:none!important;max-height:none!important;padding:14px!important;border-radius:10px!important;transform:none!important;left:6px!important;right:6px!important;top:6px!important;bottom:6px!important}
  .modal-brand{gap:10px!important;padding-right:34px!important}.modal-brand img{width:48px!important;height:48px!important}.modal-brand small{font-size:9px!important}.modal-brand h2{font-size:22px!important;line-height:1.05!important}
  .close{right:10px!important;top:6px!important;font-size:30px!important}
  .tabs{margin:13px 0 10px!important;padding-top:11px!important;gap:6px!important;flex-wrap:nowrap!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
  .tabs button{padding:8px 11px!important;font-size:12px!important;white-space:nowrap!important}
  .products{grid-template-columns:1fr!important;gap:10px!important}
  .product{display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;min-height:118px!important}
  .product>img{width:112px!important;height:100%!important;min-height:118px!important;object-fit:cover!important}
  .product .copy{padding:10px!important;min-width:0!important}.product h3{font-size:16px!important;margin-bottom:5px!important}.product p{font-size:11px!important;min-height:0!important;margin:4px 0!important}.product strong{font-size:13px!important;margin:7px 0!important}.product button{font-size:12px!important;padding:8px!important}
  .shipping{font-size:10px!important;padding:10px!important;margin-top:12px!important}

  /* Product detail / receipt / checkout / status — prevent Desktop widths on phone */
  .product-detail{grid-template-columns:1fr!important;gap:12px!important}.product-detail-gallery,.product-detail-copy{min-width:0!important}.product-detail-copy h2{font-size:23px!important}.product-detail-copy p,.product-detail-copy label{font-size:12px!important}
  .receipt-row{grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;padding:10px 0!important}.receipt-row>*{min-width:0!important}.receipt-row img{width:58px!important;height:58px!important;object-fit:cover!important}.receipt-summary{font-size:12px!important}.receipt-summary strong{font-size:15px!important}
  .checkout-form{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}.checkout-form input,.checkout-form textarea,.checkout-form select{width:100%!important;min-width:0!important;font-size:16px!important}.checkout-form fieldset{min-width:0!important}.checkout-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}.checkout-actions button{width:100%!important;min-height:42px!important}
  .order-status,.checkout-success{max-width:100%!important;padding:18px 8px!important}.order-status h2,.checkout-success h2{font-size:23px!important}.order-status p,.checkout-success p{font-size:13px!important;line-height:1.4!important}
}

@media (max-width:390px){
  :root{--m-pad:12px}
  .m47-brand{grid-template-columns:42px minmax(0,1fr)!important}.m47-brand img{width:42px!important;height:42px!important}.m47-brand b{font-size:16px!important}.m47-brand em{font-size:8.5px!important}
  .m47-phone{font-size:16px!important}.m47-head-actions{grid-template-columns:.92fr 1.08fr!important}
  .m47-hero-copy-live h1{font-size:32px!important}.m47-hero-ship-live{height:190px!important}
  .m47-catalog-adapt h2,.m47-benefits-adapt h2,.m47-contact-adapt h2{font-size:20px!important}
  .product{grid-template-columns:96px minmax(0,1fr)!important}.product>img{width:96px!important}
}

/* v47 STRICT MOBILE FIT PASS — preserve Desktop artwork proportions on phones */
@media (max-width:760px){
  /* Never crop the approved hero artwork: the whole ship and coastline must remain visible. */
  .m47-hero-ship-live{
    display:block!important;
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
    object-position:center center!important;
    background:#e9dfcf!important;
  }

  /* Category artwork already contains its own typography; preserve the entire source image. */
  .m47-catalog-adapt .m47-cat,
  .m47-cat{
    height:auto!important;
    min-height:0!important;
    aspect-ratio:271/170!important;
    overflow:hidden!important;
    background:#102f24!important;
  }
  .m47-catalog-adapt .m47-cat:last-child,
  .m47-cat:last-child{
    grid-column:1/-1!important;
    aspect-ratio:271/170!important;
    max-width:calc(50% - 4.5px)!important;
    width:100%!important;
    justify-self:center!important;
  }
  .m47-catalog-adapt .m47-cat img,
  .m47-cat img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    object-position:center center!important;
  }

  /* Every Desktop-derived decorative/section image keeps its natural proportions. */
  .m47-benefit img,
  .m47-map-live img,
  .m47-island-live img,
  .m47-delivery-live img{
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    object-fit:contain!important;
    object-position:center!important;
  }

  /* Mobile text blocks stay inside the viewport and keep deliberate line breaks. */
  .m47-brand b,.m47-brand em,.m47-phone,.m47-hours,.m47-hero-copy-live h1,
  .m47-hero-copy-live p,.m47-catalog-adapt h2,.m47-benefits-adapt h2,
  .m47-contact-adapt h2,.m47-review-box p,.m47-island-live p,.m47-delivery-live p{
    max-width:100%!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
  }

  /* Product/catalog media never leaves its frame. */
  .product,.product-detail,.product-detail-gallery,.product-detail-copy{min-width:0!important;max-width:100%!important}
  .product>img,.product img,.product-detail img{
    max-width:100%!important;
    object-position:center!important;
  }
}
@media (max-width:390px){
  .m47-hero-ship-live{height:auto!important;max-height:none!important}
  .m47-catalog-adapt .m47-cat:last-child,.m47-cat:last-child{max-width:100%!important;grid-column:1/-1!important}
}

/* v47.1.2 — product photo gallery */
.product-detail-gallery{min-width:0;display:grid;gap:10px}
.product-thumbs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}
.product-thumb{display:block;min-width:0;aspect-ratio:1;border:1px solid #d7c9a7;border-radius:8px;padding:2px;background:#fff;cursor:pointer;overflow:hidden}
.product-thumb.active{outline:2px solid var(--green);outline-offset:1px}
.product-thumb img{display:block;width:100%;height:100%;object-fit:cover;border-radius:5px}
@media(max-width:760px){.product-thumbs{grid-template-columns:repeat(6,minmax(42px,1fr));overflow-x:auto;padding:2px 1px 5px}.product-thumb{min-width:42px}}


/* v47.1.3 — standalone product photo lightbox */
.photo-lightbox{position:fixed;inset:0;z-index:12000;display:none;align-items:center;justify-content:center;padding:18px}
.photo-lightbox.open{display:flex}
.photo-lightbox-backdrop{position:absolute;inset:0;background:rgba(10,24,18,.82);backdrop-filter:blur(2px)}
.photo-lightbox-panel{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;max-width:min(1100px,94vw);max-height:90vh;padding:12px;border-radius:14px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.35)}
.photo-lightbox-panel img{display:block;max-width:100%;max-height:calc(90vh - 24px);width:auto;height:auto;object-fit:contain;border-radius:9px}
.photo-lightbox-close{position:absolute;right:6px;top:6px;z-index:2;width:38px;height:38px;border:0;border-radius:50%;background:rgba(255,255,255,.94);color:#173e2d;font-size:27px;line-height:1;cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.18)}
body.photo-lightbox-open{overflow:hidden}
#productModal .product-detail-img{cursor:zoom-in}
@media(max-width:760px){.photo-lightbox{padding:10px}.photo-lightbox-panel{max-width:96vw;max-height:86vh;padding:8px}.photo-lightbox-panel img{max-height:calc(86vh - 16px)}.photo-lightbox-close{width:36px;height:36px;font-size:25px}}

/* v47.1.4 — mobile lightbox uses the whole phone viewport */
@media(max-width:760px){
  .photo-lightbox{
    padding:max(10px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left)) !important;
    background:transparent !important;
  }
  .photo-lightbox-panel{
    width:100% !important;
    max-width:100% !important;
    height:100% !important;
    max-height:100% !important;
    padding:46px 8px 12px !important;
    border-radius:12px !important;
    background:rgba(12,24,18,.96) !important;
    box-shadow:none !important;
  }
  .photo-lightbox-panel img{
    max-width:100% !important;
    max-height:100% !important;
    width:auto !important;
    height:auto !important;
    object-fit:contain !important;
    border-radius:8px !important;
  }
  .photo-lightbox-close{
    position:absolute !important;
    top:8px !important;
    right:8px !important;
    width:38px !important;
    height:38px !important;
    font-size:26px !important;
  }
  #productModal .product-detail-img{cursor:zoom-in !important;}
}

/* v47.12 order chat */
.order-chat{margin-top:18px;border:1px solid #d8e1db;border-radius:18px;background:#fff;overflow:hidden}.order-chat-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 16px;background:#f5f8f5;border-bottom:1px solid #e1e8e3}.order-chat-head div{display:grid;gap:2px}.order-chat-head b{color:#174936}.order-chat-head small,.order-chat-head span{color:#6a766f;font-size:12px}.order-chat-messages{max-height:280px;overflow:auto;padding:14px;display:grid;gap:10px;background:#fbfcfb}.order-chat-msg{max-width:82%;padding:10px 12px;border-radius:14px;background:#eef2ef}.order-chat-msg.mine{margin-left:auto;background:#e8f2ec}.order-chat-msg b{font-size:11px;color:#3c6655}.order-chat-msg p{margin:3px 0;white-space:pre-wrap;overflow-wrap:anywhere}.order-chat-msg small{display:block;text-align:right;color:#7b8580;font-size:10px}.order-chat-form{display:flex;gap:8px;padding:12px;border-top:1px solid #e1e8e3}.order-chat-form textarea{flex:1;resize:vertical;min-height:46px;border:1px solid #cfd8d2;border-radius:12px;padding:10px;font:inherit}.order-chat-form button{border:0;border-radius:12px;padding:0 16px;background:#174936;color:#fff;font-weight:700}.order-chat-empty{color:#748078;text-align:center;padding:16px}

/* === Desktop production visual fix 2026-08-20 === */
@media (min-width: 721px){

  /* Статус заказа: ровно 4 колонки */
  #orderModal .status-track{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:0;
    width:100%;
    margin:16px 0 18px;
    overflow:hidden;
  }

  #orderModal .status-step{
    min-width:0;
    position:relative;
  }

  /* Линия только между соседними кружками */
  #orderModal .status-step:not(:last-child)::after{
    left:calc(50% + 20px);
    right:calc(-50% + 20px);
    width:auto;
  }

  /* Подписи не растягивают шкалу */
  #orderModal .status-step span{
    display:block;
    max-width:150px;
    line-height:1.25;
    overflow-wrap:normal;
    word-break:normal;
  }

  /* Карточка "Способ / сумма / статус" */
  #orderModal .fulfillment-card > div{
    display:grid;
    grid-template-columns:minmax(170px,1fr) auto;
    gap:20px;
    align-items:center;
  }

  #orderModal .fulfillment-card > div + div{
    border-top:1px solid #eee5d1;
    padding-top:10px;
  }

  #orderModal .fulfillment-card span{
    display:block;
  }

  #orderModal .fulfillment-card b{
    display:block;
    margin-left:12px;
  }
}

/* === end Desktop production visual fix === */

