.catalog-grid-wrap{display:grid;grid-template-columns:240px minmax(0,1fr);gap:28px;align-items:start;margin-bottom:64px}.shop-eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:12px;color:#62836b;margin-top:24px}.shop-favorites-link{display:inline-block;color:#315b43;margin:12px 0 24px}.shop-card{position:relative;overflow:hidden;border:1px solid #dfe6dc;border-radius:22px!important;background:#fff;box-shadow:0 8px 30px #263b2410;transition:transform .3s,box-shadow .3s;display:flex;flex-direction:column}.shop-card:hover{transform:translateY(-5px);box-shadow:0 18px 38px #263b2422}.shop-card .thumb{background:linear-gradient(145deg,#f2f3e9,#e5ecdf);aspect-ratio:1.15;display:flex;align-items:center;justify-content:center;overflow:hidden;height:auto}.shop-card .thumb img{width:100%;height:100%;object-fit:contain;transition:transform .6s}.shop-card:hover .thumb img{transform:scale(1.04)}.shop-card .body{padding:24px;display:flex;flex-direction:column;flex:1}.shop-card .name{font-size:23px}.shop-card .short{line-height:1.65;color:#667263}.shop-card .price-row{margin-top:auto;padding-top:16px}.shop-card__actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:18px}.shop-card__actions .btn{padding:12px 8px;min-width:0;font-size:14px;text-align:center;justify-content:center}.favorite-button{display:inline-flex;width:46px;height:46px;border:1px solid #dde5d9;border-radius:50%;align-items:center;justify-content:center;background:#fff;color:#315b43;cursor:pointer;transition:transform .2s,background .2s;font-size:26px;flex-shrink:0}.shop-card>.favorite-button{position:absolute;right:14px;top:14px;z-index:2}.favorite-button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6}.favorite-button[aria-pressed=true]{background:#f9e8e5;color:#b65850;border-color:#eac7c2}.favorite-button[aria-pressed=true] svg{fill:currentColor}.favorite-button:hover{transform:scale(1.08)}.product-disclaimer{font-size:13px;line-height:1.5;color:#687160;padding:10px 12px;background:#f2f4ea;border-radius:8px;margin-top:12px}.shop-product__layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:64px;align-items:start;margin-top:28px}.shop-product__summary h1{font-size:clamp(32px,4vw,52px);line-height:1.1;margin:16px 0 24px}.shop-product__lead{font-size:18px;line-height:1.7;color:#677063}.shop-stock{color:#527450;font-size:14px}.shop-product .price{font-size:34px;color:#244c35}.shop-product__actions{display:flex;gap:14px;margin-top:24px;align-items:center}.shop-product__actions .btn{padding:16px 40px}.shop-gallery__stage{aspect-ratio:1;background:linear-gradient(140deg,#f2f3e9,#e1e9dc);border-radius:28px;overflow:hidden;display:grid;place-items:center}.shop-gallery__slide{width:100%;height:100%;object-fit:contain;min-height:0;animation:shop-photo .35s ease}.shop-gallery__slide[hidden]{display:none}.shop-gallery__controls{display:flex;align-items:center;justify-content:space-between;margin:16px 0;color:#60715e}.shop-gallery__controls button{border:1px solid #dce4d7;border-radius:50%;width:42px;height:42px;background:white;cursor:pointer}.shop-gallery__thumbs{display:flex;gap:10px;overflow:auto;padding:4px}.shop-gallery__thumbs button{flex:0 0 72px;height:72px;padding:4px;background:#f3f4ed;border:2px solid transparent;border-radius:12px;cursor:pointer}.shop-gallery__thumbs button[aria-pressed=true]{border-color:#547653}.shop-gallery__thumbs img{width:100%;height:100%;object-fit:contain}.shop-specs{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #dde4d7;margin-top:24px;padding-top:20px;gap:12px;font-size:14px}.shop-specs dd{margin:0;text-align:right}.shop-product__details{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:56px}.shop-product__details article{background:#f4f5ef;border:1px solid #e3e8de;border-radius:20px;padding:28px;line-height:1.8;overflow-wrap:anywhere}.shop-product__details h2{font-size:24px;margin-bottom:16px}.shop-status{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#244c35;color:white;padding:14px 24px;border-radius:14px;z-index:1000;max-width:90vw}button:disabled{opacity:.55;cursor:default}.shop-card a:focus-visible,.shop-product button:focus-visible,.favorite-button:focus-visible{outline:3px solid #a0b78a;outline-offset:3px}@keyframes shop-photo{from{opacity:.5;transform:scale(.98)}to{opacity:1;transform:scale(1)}}@media(max-width:900px){.catalog-grid-wrap{grid-template-columns:1fr}.shop-product__layout{gap:28px}.shop-card .body{padding:16px}}@media(max-width:640px){.shop-product__layout,.shop-product__details{grid-template-columns:1fr}.shop-product__details{margin-top:28px}.shop-card__actions{grid-template-columns:1fr}.shop-product__summary h1{font-size:34px}.shop-product__details article{padding:22px}}@media(prefers-reduced-motion:reduce){.shop-card,.shop-card .thumb img,.favorite-button{transition:none}.shop-gallery__slide{animation:none}.shop-card:hover,.shop-card:hover .thumb img,.favorite-button:hover{transform:none}}

.shop-product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));gap:24px;align-items:stretch}.shop-card{max-width:420px}.shop-card .thumb{background-image:none}.shop-card .badge{display:inline-flex;padding:4px 9px;border-radius:20px;font-size:11px;font-weight:600;background:#e8eddd;color:#36563c}.shop-card .badge-sale{background:#f4e9d7;color:#876331}.shop-card .badge-hit{background:#dde9dc}.shop-gallery__stage{position:relative}.shop-gallery__slide{position:absolute;inset:0}.shop-card .thumb img{min-height:0}
.shop-product .price-row{display:flex;align-items:baseline;flex-wrap:wrap;gap:14px}.shop-product .old-price{color:#7d8375;font-size:18px}

/* Unified product cards: complete photos, aligned content and purchase controls. */
#main .shop-product-grid { grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr)); gap:24px; align-items:stretch; }
#main .shop-card { min-width:0; max-width:none; width:100%; box-sizing:border-box; border-color:#dcd6c6; background:#fffdf8; }
#main .shop-card .thumb { position:relative; display:block; width:100%; aspect-ratio:1; flex:none; background:#f1eee5; border-bottom:1px solid #e7e0d2; }
#main .shop-card .thumb img { position:absolute; inset:0; display:block; width:100%; height:100%; padding:18px; box-sizing:border-box; object-fit:contain; }
#main .shop-card:hover .thumb img { transform:none; }
#main .shop-card .body { min-width:0; padding:22px; gap:14px; }
#main .shop-card__badges { display:flex; flex-wrap:wrap; gap:6px; min-height:24px; align-items:start; }
#main .shop-card .name { font-size:clamp(21px,2vw,25px); line-height:1.25; margin:0; overflow-wrap:anywhere; }
#main .shop-card .short { font-size:14px; line-height:1.65; margin:0; overflow-wrap:anywhere; }
#main .shop-card .price-row { display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 12px; margin: auto 0 0; padding-top:8px; }
#main .shop-card .price { font-size:24px; font-weight:700; color:#244c35; white-space:nowrap; }
#main .shop-card .old-price { font-size:14px; white-space:nowrap; }
#main .shop-card__notice { min-height:40px; }
#main .shop-card .product-disclaimer { font-size:12px; margin:0; padding:8px 10px; }
#main .shop-card__actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:0; align-items:stretch; }
#main .shop-card__actions .btn { display:flex; align-items:center; justify-content:center; box-sizing:border-box; width:100%; min-width:0; min-height:48px; height:100%; padding:12px 8px; font-size:14px; line-height:1.35; white-space:normal; }
#main .shop-card > .favorite-button { top:12px; right:12px; box-shadow:0 3px 12px #203c2914; }
#main .catalog-grid-wrap { grid-template-columns:240px minmax(0,1fr); gap:28px; align-items:start; }
#main .catalog-grid-wrap > * { min-width:0; }
#main .catalog-filter { box-sizing:border-box; border:1px solid #e0d9ca; }
#main .catalog-filter input[type=number] { min-width:0; box-sizing:border-box; }
/* Row subgrids synchronize every content line without cutting off descriptions. */
@supports(grid-template-rows:subgrid) {
 #main .shop-product-grid { row-gap:24px; }
 #main .shop-product-grid > .shop-card { display:grid; grid-row:span 7; grid-template-rows:subgrid; row-gap:0; }
 #main .shop-product-grid > .shop-card > .body { display:grid; grid-row:span 6; grid-template-rows:subgrid; row-gap:14px; }
 #main .shop-card .price-row { margin:0; }
}
@media(max-width:900px) { #main .catalog-grid-wrap { grid-template-columns:minmax(0,1fr); gap:20px; } }
@media(max-width:600px) { #main .shop-product-grid { grid-template-columns:minmax(0,1fr); gap:20px; } #main .shop-card .body { padding:20px; } #main .shop-card .thumb { aspect-ratio:1.15; } }
