.home-gallery{width:var(--content);margin:0 auto;padding:96px 0 32px;scroll-margin-top:88px}
.home-gallery__heading{margin-bottom:28px}
.home-gallery__heading h2{font-family:Benzin-Bold,Arial,sans-serif;font-size:clamp(28px,3.5vw,48px);line-height:1.2;text-transform:uppercase;margin:0;max-width:680px}
.home-gallery__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 16px;list-style:none;padding:0;margin:0}
.home-gallery__item[hidden]{display:none}
.home-gallery__photo{display:block;border-radius:18px;overflow:hidden;background:#ebe7e1;text-decoration:none;color:inherit;transition:filter .18s}
.home-gallery__photo img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;object-position:center 65%}
.home-gallery__photo:hover{filter:brightness(1.05)}
.home-gallery__photo:focus-visible{outline:0;box-shadow:none;filter:brightness(.7)}
.home-gallery__more{display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap;margin-top:32px}
.home-gallery__more>span{font-size:12px;color:var(--muted)}
.home-gallery button,.gallery-viewer button{font:inherit;cursor:pointer;border:1px solid #c6c1b9;border-radius:12px;background:transparent;color:var(--ink);padding:12px 20px;min-height:44px;box-shadow:none;outline:0}
.home-gallery button:focus-visible,.gallery-viewer button:focus-visible,.gallery-viewer select:focus-visible{outline:0;box-shadow:none;border-color:#252b21;background:#eee1d9}
.gallery-viewer{position:fixed;inset:0;width:min(1180px,calc(100vw - 48px));max-width:none;height:min(850px,calc(100dvh - 48px));max-height:none;padding:0;margin:auto;border:0;border-radius:22px;background:#f6f3ef;color:var(--ink);box-shadow:0 24px 80px #0004;overflow:hidden}
.gallery-viewer::backdrop{background:#171916a8;backdrop-filter:blur(4px)}
.gallery-viewer__header{height:60px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 20px;border-bottom:1px solid var(--line)}
.gallery-viewer__header h2{font:600 17px/1.3 Montserrat,sans-serif;margin:0}
.gallery-viewer__header button,.gallery-viewer__navigation button{display:flex;align-items:center;justify-content:center;gap:0;flex:0 0 auto;padding:10px;width:44px;height:44px}
.gallery-viewer svg{display:block;flex:0 0 auto;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.gallery-viewer__body{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(440px,1fr);height:calc(100% - 60px);min-height:0;overflow-y:auto;overscroll-behavior:contain}
.gallery-viewer__visual{padding:16px;display:flex;flex-direction:column;min-width:0;min-height:0;background:#e9e5df}
.gallery-viewer__image{position:relative;min-height:0;flex:1;display:flex;align-items:center;justify-content:center;touch-action:pan-y pinch-zoom}
.gallery-viewer__image img{width:auto;height:auto;max-width:100%;max-height:100%;min-width:0;min-height:0;object-fit:contain;display:block;border-radius:16px}
.gallery-viewer__zoom{position:absolute;border:0;border-radius:16px;background-color:#e9e5df;background-repeat:no-repeat;pointer-events:none;z-index:1}
.gallery-viewer__zoom[hidden]{display:none}
.gallery-viewer__image img{cursor:default}
.gallery-viewer__image p{position:absolute;inset:auto 16px 16px;background:#fff;padding:12px;border-radius:10px;font-size:13px}
.gallery-viewer__navigation{display:flex;align-items:center;gap:10px;padding-top:10px}
.gallery-viewer__navigation>span{min-width:60px;text-align:center;font-size:13px;line-height:1.4}
.gallery-viewer a{color:inherit;text-underline-offset:4px}
.gallery-viewer a:focus-visible{outline:0;background:#eadbd2;text-decoration:underline}
.gallery-viewer__shop{padding:16px 20px 10px;min-width:0}
.gallery-product{margin:0;padding:10px 0;border:0;border-top:1px solid var(--line)}
.gallery-product:first-child{padding-top:0;border:0}
.gallery-product__top{display:flex;gap:14px;align-items:center;margin-bottom:8px}
.gallery-product__image-link{display:block;flex:0 0 auto;border-radius:10px;overflow:hidden}
.gallery-product__top img{display:block;width:66px;height:88px;object-fit:cover;background:transparent}
.gallery-product__summary{min-width:0;flex:1}
.gallery-product__top h3{font-size:17px;line-height:1.3;margin:0;font-weight:600}
.gallery-product__material{font-size:11px;line-height:1.3;margin:3px 0;color:var(--muted)}
.gallery-product__price{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-top:5px;line-height:1.2}
.gallery-product__price strong{font-size:26px;font-weight:650;letter-spacing:-.7px;white-space:nowrap}
.gallery-product__price s{font-size:12px;color:#77716a;white-space:nowrap}
.gallery-product__price>span{font-size:10px;color:#716b65;white-space:nowrap}
.gallery-product__price-note{font-size:10px;line-height:1.4;color:#6f5149;margin:4px 0 0}
.gallery-product__fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.gallery-product__field{display:flex;flex-direction:column;gap:5px;min-width:0}
.gallery-product__field>span{font-size:11px;font-weight:500;line-height:1.3}
.gallery-viewer .gallery-select{display:flex;align-items:center;gap:8px;justify-content:space-between;min-width:0;width:100%;height:42px;min-height:42px;padding:8px 10px;background:#fff;border:1px solid #c6bcb2;border-radius:10px;font-size:12px;line-height:1.3;text-align:left}
.gallery-select__value{display:flex;align-items:center;gap:7px;min-width:0}
.gallery-select__value>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.4}
.gallery-select>svg{width:16px;height:16px;stroke-width:1.8;transition:transform .15s}
.gallery-select[aria-expanded=true]>svg{transform:rotate(180deg)}
.gallery-select__swatch{display:block;width:15px;height:15px;flex:0 0 auto;border-radius:50%}
.gallery-select__list{position:fixed;z-index:20;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#baa89a transparent;padding:4px;background:#fffdfb;border:1px solid #bba99b;border-radius:12px;box-sizing:border-box}
.gallery-select__list[hidden]{display:none}
.gallery-select__option{min-height:42px;padding:9px 8px;display:flex;align-items:center;gap:8px;border-radius:7px;font-size:12px;line-height:1.35;cursor:pointer}
.gallery-select__option>span{flex:1}
.gallery-select__option>svg{width:15px;height:15px;color:#654b42}
.gallery-select__option:hover,.gallery-select__option.is-active{background:#efe4dc}
.gallery-select__option[aria-selected=true]{font-weight:600}
.gallery-viewer .gallery-select:focus-visible,.gallery-viewer .gallery-select[aria-expanded=true]{border-color:#80665a;background:#f6eee8;box-shadow:none;outline:0}
.gallery-product__bottom{display:flex;gap:12px;align-items:center;margin-top:9px}
.gallery-quantity{display:flex;align-items:center;gap:0;border:1px solid #c6bcb2;border-radius:10px;background:#fff;flex:0 0 auto;overflow:hidden;height:44px}
.gallery-viewer .gallery-quantity button{display:flex;align-items:center;justify-content:center;gap:0;min-height:42px;width:36px;height:42px;padding:10px;border:0;border-radius:0;background:transparent;color:#302923}
.gallery-quantity button>svg{width:16px;height:16px}
.gallery-quantity output{font-size:13px;line-height:1.3;min-width:25px;text-align:center}
.gallery-viewer .gallery-quantity button:hover:not(:disabled),.gallery-viewer .gallery-quantity button:focus-visible{background:#eadbd2}
.gallery-viewer .gallery-quantity button:disabled{opacity:.3;cursor:default}
.gallery-viewer .gallery-product__add,.gallery-viewer__feedback button{font-size:12px;line-height:1.4;padding:10px 14px;background:#262321;color:#fff;border:1px solid #262321}
.gallery-product__add{flex:1}
.gallery-viewer .gallery-product__add:focus-visible,.gallery-viewer__feedback button:focus-visible{background:#6b5347;color:#fff;border-color:#6b5347}
.gallery-viewer .gallery-product__add:disabled{cursor:default;background:#ded9d1;border-color:#ded9d1;color:#6c655d}
.gallery-product__link{font:inherit;text-decoration:none}
.gallery-product__link:hover,.gallery-product__link:focus-visible{text-decoration:underline}
.gallery-bundle{background:#eee1d9;border:0;border-radius:14px;padding:11px 14px;margin-top:6px}
.gallery-bundle[hidden]{display:none}
.gallery-bundle__header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.gallery-bundle h3{margin:0;font-size:15px;line-height:1.3;font-weight:600}
.gallery-bundle__description{font-size:10px;line-height:1.4;margin:4px 0 0;color:#6b5b51}
.gallery-bundle__images{display:flex;align-items:center;gap:3px;flex:0 0 auto}
.gallery-bundle__images img{display:block;width:30px;height:40px;object-fit:cover;border-radius:6px}
.gallery-bundle__pricing{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;margin-top:8px}
.gallery-bundle__pricing s{font-size:12px;color:#756357}
.gallery-bundle__pricing strong{font-size:24px;line-height:1.2;letter-spacing:-.5px}
.gallery-bundle__pricing>span{font-size:10px;color:#6a4f40}
.gallery-bundle__terms{margin:5px 0 9px;font-size:11px;line-height:1.4;color:#5a453a}
.gallery-bundle__actions{display:flex;align-items:center;gap:16px}
.gallery-viewer .gallery-bundle__actions button{min-height:40px;padding:9px 14px;border:1px solid #b79f8e;background:transparent;font-size:12px;line-height:1.4;font-weight:600}
.gallery-viewer .gallery-bundle__actions button:hover,.gallery-viewer .gallery-bundle__actions button:focus-visible{background:#ddc8b9;border-color:#80665a}
.gallery-bundle__actions>a{font-size:11px;line-height:1.4}
.gallery-viewer__feedback{display:flex;align-items:center;gap:12px;background:#eadbd7;border-radius:12px;padding:10px 12px;margin-top:4px}
.gallery-viewer__feedback[hidden]{display:none}
.gallery-viewer__feedback p{margin:0;font-size:11px;line-height:1.4;flex:1}
.gallery-viewer__feedback button{flex:0 0 auto}
@media(max-width:1000px){.home-gallery__grid{grid-template-columns:repeat(3,minmax(0,1fr))}.gallery-viewer{width:calc(100vw - 24px);height:calc(100dvh - 24px)}.gallery-viewer__body{grid-template-columns:minmax(0,1fr) 420px}.gallery-viewer__shop{padding:16px}.gallery-product__fields{gap:8px}}
@media(max-width:700px){.home-gallery{padding-top:64px}.home-gallery__heading{margin-bottom:24px}.home-gallery__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}.home-gallery__photo{border-radius:12px}.home-gallery__more{gap:12px;flex-direction:column}.gallery-viewer{width:100vw;height:100dvh;border-radius:0}.gallery-viewer__header{height:62px;padding:8px 14px}.gallery-viewer__header h2{font-size:16px}.gallery-viewer__body{height:calc(100% - 62px);display:block}.gallery-viewer__visual{padding:14px}.gallery-viewer__image{height:42dvh;flex:none;min-height:180px}.gallery-viewer__shop{padding:12px 16px 24px}.gallery-viewer__navigation{padding-top:10px}.gallery-viewer__feedback{flex-wrap:wrap}.gallery-product__price strong{font-size:25px}.gallery-viewer .gallery-select{padding:8px;font-size:11px}.gallery-select__value{gap:5px}.gallery-select__value .gallery-select__swatch{width:12px;height:12px}.gallery-product__top h3{font-size:16px}}
@media(max-width:360px){.gallery-viewer__shop{padding-left:12px;padding-right:12px}.gallery-product__fields{gap:8px}.gallery-viewer .gallery-select{padding:7px;font-size:10px;gap:4px}.gallery-select__value .gallery-select__swatch{display:none}.gallery-product__price{gap:5px}.gallery-product__price strong{font-size:24px}.gallery-product__price>span{font-size:9px}.gallery-product__bottom{gap:8px}.gallery-viewer .gallery-product__add{font-size:11px;padding:10px 8px}.gallery-bundle__images img{width:24px;height:32px}.gallery-bundle__pricing>span{flex-basis:100%}.gallery-bundle__actions{gap:12px}.gallery-viewer .gallery-bundle__actions button{font-size:11px;padding:9px}}
@media(prefers-reduced-motion:reduce){.home-gallery__photo{transition:none}}

.gallery-viewer--photo-only .gallery-viewer__body{grid-template-columns:minmax(0,1fr)}
.gallery-viewer__shop[hidden]{display:none}
@media(max-width:700px){.gallery-viewer--photo-only .gallery-viewer__visual{height:100%}.gallery-viewer--photo-only .gallery-viewer__image{height:auto;flex:1;min-height:0}}

@media(max-width:700px){.gallery-select__value>span{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.3}.gallery-viewer .gallery-select{height:44px;min-height:44px}}
