.product-layout {grid-template-areas:"visual heading" "visual summary";grid-template-rows:auto 1fr;column-gap:52px;row-gap:0}
.product-heading {grid-area:heading;min-width:0}
.product-visual {grid-area:visual;min-width:0}
.product-summary {grid-area:summary;min-width:0}
.gallery figure {margin:0}
.gallery-main {display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:8px}
.gallery figcaption {font-size:13px;color:var(--muted);min-height:2em;margin-top:8px;overflow-wrap:anywhere}
.gallery-thumbs {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:14px}
.gallery-thumbs a {display:block;border:2px solid transparent;border-radius:4px;overflow:hidden;background:#fff}
.gallery-thumbs a[aria-current=true] {border-color:#53b89a}
.gallery-thumbs a:hover {border-color:var(--green)}
.gallery-thumbs img {display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.gallery-controls {display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0;font-size:12px;color:var(--muted)}
.gallery-controls button {border:1px solid var(--line);background:#fff;color:var(--green);border-radius:5px;min-width:44px;min-height:44px;cursor:pointer}
.card-image {display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#fff}
.gallery [data-gallery-full] {cursor:zoom-in}
.image-lightbox {width:min(94vw,960px);max-width:94vw;max-height:94vh;max-height:94dvh;padding:0;border:0;border-radius:10px;background:#fff;color:var(--ink);box-shadow:0 16px 70px #0006;overflow:auto}
.image-lightbox:not([open]) {display:none}
.image-lightbox::backdrop {background:rgb(12 25 20 / 80%)}
.image-modal-open {overflow:hidden}
.lightbox-content {padding:12px 16px}
.lightbox-toolbar,.lightbox-navigation {display:flex;align-items:center;justify-content:space-between;gap:12px}
.lightbox-toolbar {font-size:13px;color:var(--muted);padding-bottom:8px}
.image-lightbox button {min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--green);cursor:pointer;padding:6px 12px}
.image-lightbox [data-lightbox-image] {display:block;width:100%;height:auto;max-height:calc(94vh - 170px);max-height:calc(94dvh - 170px);object-fit:contain}
.lightbox-navigation {padding-top:10px;font-size:13px;text-align:center}
.lightbox-navigation p {margin:0;overflow-wrap:anywhere}
.lightbox-navigation span {font-size:12px;color:var(--muted)}
@media(max-width:640px){.lightbox-content{padding:8px}.lightbox-navigation{gap:8px}.lightbox-navigation p{font-size:12px}}
@media(max-width:900px){.product-layout{column-gap:28px}}
@media(max-width:640px){.product-layout{grid-template-areas:"heading" "visual" "summary";grid-template-rows:auto;gap:16px}.product-heading h1{margin-top:5px}.product-heading .eyebrow{margin-top:0}.product-visual{width:100%;max-width:100%}.gallery-thumbs{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.gallery-thumbs a{min-height:44px}.product-layout>.placeholder{max-width:100%}.gallery figcaption{font-size:12px}}
