.dm-import-product .dm-container-narrow{padding-bottom:110px}
.dm-import-card{margin:20px 0;padding:clamp(22px,5vw,36px);background:#fff;border:1px solid #dce7d4;border-radius:26px;box-shadow:0 10px 36px #173a150d}
.dm-import-card h2{margin:10px 0;font-size:clamp(23px,5vw,32px);line-height:1.2}
.dm-import-card p,.dm-import-note p,.dm-package-form p,.dm-package-details p{color:#53634a;line-height:1.5}
.dm-import-card form{display:grid;gap:14px;margin-top:26px}
.dm-import-card form label{font-weight:700}
.dm-import-card .dm-control{min-height:52px;width:100%;font-size:16px;box-sizing:border-box}
.dm-import-card .dm-agent-primary{justify-content:center;min-height:52px;max-width:340px}
.dm-import-icon{display:inline-grid;place-items:center;color:#426d0e;background:#ebf4dd;border-radius:17px;width:55px;height:55px;font-size:29px}
.dm-import-note{display:flex;align-items:flex-start;gap:14px;padding:16px 20px;border-radius:18px;background:#f3f7ee}
.dm-import-note .dm-material{color:#3e6f18;flex:none;margin-top:3px}
.dm-import-note p{margin:0}
.dm-import-shortcut{display:flex;align-items:center;gap:14px;padding:16px 20px;margin:14px 0 20px;border:1px solid #dce7d4;border-radius:20px;background:#f7faf4;color:#234b14;text-decoration:none}
.dm-import-shortcut>span:nth-child(2){display:grid;gap:3px;flex:1;min-width:0}
.dm-import-shortcut small{font-size:13px;color:#5b6855;line-height:1.35}
.dm-package-form{margin-top:20px}
.dm-package-form .dm-control{font-size:16px;max-width:100%}
.dm-package-details dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 0}
.dm-package-details dl div{padding:14px 16px;background:#f5f8f1;border:1px solid #dce7d4;border-radius:14px;min-width:0}
.dm-package-details dt{font-size:13px;color:#5b6855}
.dm-package-details dd{margin:5px 0 0;font-weight:700;color:#223a18;font-size:17px}
.dm-import-rate{display:flex;align-items:center;gap:8px;margin:0!important;padding:11px 13px;border-radius:12px;background:#f1f7ea;color:#2d5519;font-size:13px;line-height:1.4}
.dm-import-rate .dm-material{font-size:19px;flex:none}
.dm-import-rate.is-blocked{background:#fff1e7;color:#7d3b14}
.dm-import-card .dm-agent-primary:disabled{opacity:.55;cursor:not-allowed;box-shadow:none;animation:none}
/* The controls float inside the full image frame, like the reference product gallery. */
.dm-product-page .dm-product-gallery-classic{aspect-ratio:1/1;width:100%;height:100vw;min-height:0;max-width:760px;max-height:760px;margin:0 auto;border-radius:0;background:#fff}
.dm-product-page .dm-product-gallery-classic .dm-product-slide{inset:0;background:#fff}
.dm-product-page .dm-product-gallery-classic .dm-product-slide img{width:100%;height:100%;object-fit:contain;object-position:center;background:#fff}
.dm-product-page .dm-product-image-actions{position:absolute;top:14px;right:14px;z-index:7;display:flex;flex-direction:column;gap:9px}
.dm-product-page .dm-product-image-actions .dm-product-favorite-wrap{position:static}
.dm-product-page .dm-product-image-actions .dm-favorite-btn,.dm-product-page .dm-product-image-zoom{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:1px solid rgba(27,28,28,.09);border-radius:50%;background:rgba(255,255,255,.94);color:#24321d;box-shadow:0 2px 12px rgba(0,0,0,.15);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);cursor:pointer}
.dm-product-page .dm-product-image-actions .dm-favorite-btn.is-active{color:#b21c32}
.dm-product-page .dm-product-image-zoom .dm-material{font-size:25px}
.dm-product-page .dm-product-gallery-bottom{position:absolute;z-index:7;left:14px;bottom:14px;display:flex;align-items:flex-end;gap:8px;max-width:calc(100% - 28px)}
.dm-product-page .dm-product-gallery-bottom .dm-product-video-entry{position:static;display:flex;align-items:center;gap:5px;width:auto;max-width:none}
.dm-product-page .dm-product-gallery-bottom .dm-product-video-play{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;background:rgba(255,255,255,.94);color:#24321d;border:1px solid rgba(27,28,28,.09);box-shadow:0 2px 12px rgba(0,0,0,.15)}
.dm-product-page .dm-product-gallery-bottom .dm-product-video-play svg{width:21px;height:21px;margin-left:2px}
.dm-product-page .dm-product-gallery-bottom .dm-product-video-entry small{display:none}
.dm-product-page .dm-product-photo-count{display:inline-flex;align-items:center;gap:3px;min-height:32px;padding:3px 9px;border:1px solid rgba(27,28,28,.1);border-radius:999px;background:rgba(255,255,255,.94);color:#25331e;font:inherit;font-size:12px;font-weight:700;box-shadow:0 2px 10px rgba(0,0,0,.12);cursor:pointer}
.dm-product-page .dm-product-photo-count .dm-material{font-size:16px;margin-right:2px}
.dm-product-page span.dm-product-photo-count{cursor:default}
.dm-product-page .dm-product-gallery-classic .dm-gallery-indicators{bottom:22px;min-height:10px;align-items:center;pointer-events:none}
.dm-product-page .dm-product-gallery-classic .dm-gallery-dot{background:#647452;box-shadow:0 0 0 2px #fff;pointer-events:auto}
.dm-product-page .dm-product-gallery-classic .dm-gallery-dot.is-active{background:#3a6a00}
.dm-product-page .dm-product-info-card{margin-top:0;border-radius:22px 22px 0 0}
.dm-product-page .dm-product-title-row{flex-direction:row;align-items:flex-start;gap:10px}
.dm-product-page .dm-product-title-row h1{overflow-wrap:anywhere}
.dm-product-page .dm-product-title-row .dm-product-stock{position:static;display:inline-flex;align-items:center;gap:4px;flex:0 0 auto;margin-top:4px;padding:4px 7px;border-radius:999px;background:#e9f6da;color:#285c08;font-size:11px;line-height:16px;font-weight:700;white-space:nowrap;box-shadow:none}
.dm-product-page .dm-product-title-row .dm-product-stock.is-out{background:#ffe7e2;color:#9b2419}
.dm-product-page .dm-product-title-row .dm-product-stock .dm-material{font-size:14px}
.dm-product-page .dm-product-subtitle{margin-top:6px}
.dm-product-page .dm-product-price{margin-top:14px;text-align:left}
.dm-product-image-lightbox{position:fixed;inset:0;z-index:2000;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:4px;padding:calc(56px + env(safe-area-inset-top)) 8px calc(54px + env(safe-area-inset-bottom));background:rgba(14,20,13,.96)}
.dm-product-image-lightbox[hidden]{display:none}
.dm-product-image-lightbox img{grid-column:2;grid-row:1;max-width:100%;max-height:calc(100dvh - 125px);justify-self:center;object-fit:contain}
.dm-product-image-lightbox button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:#1d2d19;cursor:pointer}
.dm-product-image-lightbox button .dm-material{font-size:27px}
.dm-product-image-lightbox button[hidden]{display:none}
.dm-product-image-lightbox-close{position:absolute;top:calc(12px + env(safe-area-inset-top));right:16px}
.dm-product-image-lightbox-prev{grid-column:1;grid-row:1}
.dm-product-image-lightbox-next{grid-column:3;grid-row:1}
.dm-product-image-lightbox-count{position:absolute;bottom:calc(16px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.92);color:#1d2d19;font-size:13px;font-weight:700}
.dm-product-page .dm-product-image-actions button:focus-visible,.dm-product-page .dm-product-gallery-bottom button:focus-visible,.dm-product-image-lightbox button:focus-visible{outline:3px solid #87c44a;outline-offset:3px}
@media(max-width:560px){.dm-product-page .dm-product-gallery-classic .dm-gallery-indicators{display:none}}
@media(max-width:420px){.dm-import-card{padding:20px}.dm-package-details dl{grid-template-columns:1fr 1fr}.dm-import-card .dm-agent-primary{max-width:none;width:100%}}
