.catalog-detail{align-items:start;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:38px;margin:12px 0 36px}.catalog-gallery{min-width:0}.catalog-gallery .gallery-main{max-width:none;aspect-ratio:1}.catalog-gallery .gallery-thumbs{max-width:none}.section-caption{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}.section-caption h2,.catalog-product-info .section-caption h2{font-size:18px;margin:0;font-weight:650;letter-spacing:-.02em}.section-caption>span{font-size:13px;color:#647368}.catalog-product-info h1{margin:8px 0 12px;line-height:1.15}.product-source-id{font-size:13px;color:#6b766f;margin-bottom:18px!important}.detail-price{color:#183b2b!important;font-size:36px;line-height:1.15;margin:18px 0 8px!important}.detail-price-note{font-size:12px;line-height:1.5;color:#657267;margin:0 0 6px!important}.rate-status{font-size:11px;color:#6a756e;min-height:16px;margin:0 0 18px!important}.product-action-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.agent-picker>summary,.copy-source{border:1px solid #c6d1c7;border-radius:8px;background:#fff;color:#183b2b;min-height:48px;padding:12px;font:inherit;font-size:13px;font-weight:650;display:flex;align-items:center;justify-content:center;gap:12px;cursor:pointer;text-align:center;list-style:none}.agent-picker>summary::-webkit-details-marker{display:none}.agent-picker{position:relative}.agent-options{position:absolute;top:calc(100% + 8px);left:0;width:min(440px,85vw);z-index:20;background:#fff;border:1px solid #d8e1d8;border-radius:12px;padding:16px;box-shadow:0 15px 35px #173a2a20}.agent-options p{font-size:12px;line-height:1.5;color:#58675d;margin:0 0 10px}.agent-options input{width:100%;border:1px solid #c6d1c7;border-radius:6px;padding:9px 10px;font:inherit;font-size:13px}.agent-list{display:grid;grid-template-columns:1fr 1fr;gap:5px;max-height:270px;overflow:auto;margin-top:10px}.agent-list a{display:flex;justify-content:space-between;border:1px solid #e0e7df;border-radius:6px;padding:11px;font-size:13px}.agent-list a:hover{background:#f0f6ed}.agent-list a[hidden],.catalog-detail [hidden]{display:none!important}.copy-status{font-size:12px;line-height:1.5;color:#375d40;margin:8px 0!important}.catalog-detail textarea{width:100%;min-height:90px;font-size:12px;border:1px solid #c6d1c7;border-radius:6px;padding:10px}.product-styles{padding-top:18px;border-top:1px solid #e0e6df;margin-top:20px}.style-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:8px;max-height:248px;overflow-y:auto;overscroll-behavior-y:contain;padding:3px 10px 3px 3px;scrollbar-gutter:stable;scrollbar-width:auto;scrollbar-color:#6e8d76 #eaf0e8}.style-grid:empty{display:none}.style-grid button{min-width:0;border:2px solid transparent;border-radius:8px;background:#f2f5ef;padding:2px;cursor:pointer;overflow:hidden}.style-grid button[aria-pressed=true]{border-color:#285b42;background:#e8f1e3;box-shadow:0 0 0 1px #285b42}.style-grid img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;display:block;border-radius:5px}.style-grid button>span{font-size:9px;line-height:1.2;display:block;padding:4px 1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.option-group{display:flex;gap:12px;align-items:center;margin-top:14px}.option-group>span{font-size:13px;font-weight:650;min-width:45px}.option-group select{min-height:42px;border:1px solid #c6d1c7;border-radius:7px;padding:8px;background:#fff;font:inherit;font-size:13px;max-width:100%}.selected-option{font-size:12px;line-height:1.5;margin:10px 0!important;color:#254d35}.style-note,.source-photos>p{font-size:12px;line-height:1.5;color:#69766c;margin:10px 0!important}.original-link{font-size:12px;text-decoration:underline;text-underline-offset:3px}.product-styles>[role=status]{font-size:13px;line-height:1.5}.product-styles>button{border:1px solid #c6d1c7;padding:7px 13px;border-radius:5px;background:#fff}.gallery-main>[data-gallery-next]{left:auto;right:8px}.gallery-main>.gallery-zoom{top:auto;bottom:12px;left:auto;right:12px;width:34px;height:34px;line-height:1;font-size:22px}.gallery-counter{position:absolute;bottom:15px;left:15px;padding:4px 10px;border-radius:20px;background:#ffffffeb;color:#173a2a;font-size:12px}.gallery-main>img{cursor:zoom-in}.product-qc,.source-photos{padding:24px 0;border-top:1px solid #dce4da}.qc-empty{padding:14px 18px;border:1px solid #e1e7df;background:#f4f6ef;border-radius:9px;font-size:13px;line-height:1.6}.qc-empty p{margin:0 0 7px}.qc-empty a{color:#285b42;font-weight:650}.source-photo-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.photo-tile{position:relative;padding:0;border:1px solid #dce4da;border-radius:8px;background:#f2f3ee;overflow:hidden;cursor:zoom-in}.photo-tile img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}.photo-tile span{position:absolute;bottom:5px;left:5px;padding:2px 7px;background:#ffffffdf;border-radius:20px;font-size:10px}.related-products{padding-top:18px}.related-products>h2{font-size:24px;margin:0 0 16px}.photo-viewer{border:0;border-radius:12px;background:#f8f9f5;width:min(92vw,1000px);max-height:92dvh;padding:42px 14px 16px;overflow:auto}.photo-viewer::backdrop{background:#10271feb;backdrop-filter:blur(3px)}.photo-viewer img{display:block;width:100%;height:75dvh;object-fit:contain}.photo-viewer>button{border:0;background:#fff;border-radius:50%;width:40px;height:40px;font-size:28px;line-height:1;position:absolute;cursor:pointer}.photo-viewer>[data-close-viewer]{right:10px;top:8px}.photo-viewer>[data-viewer-prev]{left:16px;top:48%}.photo-viewer>[data-viewer-next]{right:16px;top:48%}.photo-viewer p{font-size:12px;text-align:center;margin:8px 0 0}
@media(max-width:800px){.catalog-detail{gap:25px;grid-template-columns:1fr 1.1fr}.product-action-row{grid-template-columns:1fr}.style-grid{grid-template-columns:repeat(auto-fill,minmax(56px,1fr));max-height:215px}.source-photo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:680px){.catalog-detail{grid-template-columns:1fr;gap:22px;margin-bottom:24px}.catalog-gallery .gallery-main{max-width:420px}.catalog-gallery .gallery-thumbs{max-width:420px}.catalog-product-info h1{font-size:25px}.product-action-row{grid-template-columns:1fr 1fr}.agent-picker>summary,.copy-source{font-size:12px;padding:10px 8px}.detail-price{font-size:31px}.style-grid{grid-template-columns:repeat(auto-fill,minmax(58px,1fr));max-height:230px}.product-styles{margin-top:14px;padding-top:15px}.source-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.product-qc,.source-photos{padding:18px 0}.photo-viewer{width:96vw;padding:42px 8px 12px}.photo-viewer img{height:70dvh}.related-products>h2{font-size:22px}}
.catalog-detail{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}.catalog-product-info h1{font-size:30px;line-height:1.2;margin-top:4px}.style-grid{max-height:250px;overflow-y:scroll;scrollbar-gutter:stable;overscroll-behavior:contain;cursor:grab}.style-grid.is-dragging{cursor:grabbing;user-select:none}.style-grid img{pointer-events:none}.catalog-currency{font:inherit;border:1px solid #dce2dc;border-radius:8px;background:#fff;max-width:90px;padding:8px}.catalog-actions{overflow:visible}.catalog-header{overflow:visible}.catalog-languages{z-index:100;min-width:260px;display:grid;grid-template-columns:1fr 1fr;max-height:330px;overflow:auto}.catalog-languages a{font-size:13px}.source-photos{margin-top:28px}.source-photo-grid{max-height:340px;overflow:auto}.catalog-detail .buy-button{background:#c5ed56;color:#172115}.catalog-detail .style-grid button[aria-pressed=true]{border-color:#477418}.gallery-main>img{object-fit:contain}.detail-price-note,.rate-status,.style-note,.selected-option{font-size:12px;color:#5d6772;line-height:1.5}.agent-list [hidden]{display:none}.product-action-row{position:relative;z-index:5}.catalog-detail .gallery-main{max-height:520px}.photo-viewer{z-index:1000}
@media(max-width:680px){.catalog-detail{grid-template-columns:1fr;gap:16px}.catalog-detail .gallery-main{max-height:320px;max-width:320px}.catalog-gallery .gallery-thumbs{max-height:60px}.catalog-product-info h1{font-size:24px}.catalog-detail .style-grid{max-height:210px}.catalog-currency{max-width:72px;font-size:12px;padding:7px 3px}.catalog-languages{right:0;min-width:240px}.catalog-header{position:relative}.catalog-actions{flex-wrap:nowrap;gap:7px}.source-photo-grid{max-height:230px}.source-photos{margin-top:20px}.product-action-row{gap:7px}.related-products .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.catalog-actions{position:relative}.catalog-actions>details{position:static}.catalog-languages{top:calc(100% + 8px);right:0;max-width:calc(100vw - 32px)}

/* Keep the image column and purchase controls together above the source photo grid. */
.gallery-thumbs[hidden]{display:none}
.catalog-detail .gallery-main{margin-inline:auto}
.catalog-detail .gallery-thumbs{justify-content:flex-start}
.catalog-detail .style-grid button>span{font-size:.6875rem}
.style-grid:focus-visible,.style-grid button:focus-visible,.photo-tile:focus-visible{outline:2px solid #285b42;outline-offset:1px}
