/* Utrady Studio v1.7.2: universal visual library + promotional and gallery sections */
.ws172-library{margin-top:16px;border:1px solid #dfe8e2;border-radius:17px;overflow:hidden;background:#fff;box-shadow:0 4px 18px rgba(14,44,31,.035)}
.ws172-library-head{padding:17px 14px 12px;background:linear-gradient(135deg,#f1f9f4,#fff)}
.ws172-library-head h4{font-size:16px;font-weight:800;letter-spacing:-.025em;margin:3px 0 6px;color:#153c2c}
.ws172-library-head p{font-size:11px;line-height:1.5;margin:0;color:#587266}
.ws172-kicker{font-size:9px;font-weight:800;letter-spacing:.13em;color:#177d51}
.ws172-library-count{display:flex;justify-content:space-between;padding:9px 14px;border-block:1px solid #e7eee8;color:#557164;font-size:10px;font-weight:700}
.ws172-library-group{padding:0 9px 12px;max-height:560px;overflow-y:auto;scrollbar-width:thin}
.ws172-group-title{font-size:10px;letter-spacing:.075em;text-transform:uppercase;font-weight:800;color:#789187;margin:16px 5px 8px}
.ws172-library-card{border:1px solid #e5e9e5;background:#fff;border-radius:13px;margin-bottom:8px;padding:10px 7px;display:grid;grid-template-columns:38px minmax(0,1fr) 32px;gap:7px;align-items:center;transition:background .17s,border-color .17s,box-shadow .17s}
.ws172-library-card:hover,.ws172-library-card:focus-within{background:#f7fbf8;border-color:#b7d5c2;box-shadow:0 4px 12px rgba(25,89,61,.07)}
.ws172-block-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#eaf6ef;color:#1c8357;font-size:23px;font-weight:550;line-height:1}
.ws172-icon-promotion,.ws172-icon-delivery{color:#b76530;background:#fff1e1}.ws172-icon-gallery,.ws172-icon-editorial{background:#f2ebff;color:#7955a3}.ws172-icon-faq{background:#eaf2ff;color:#42679c}
.ws172-block-icon svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none}
.ws172-card-copy{display:flex;flex-direction:column;min-width:0;gap:3px}
.ws172-card-copy strong{font-size:12px;line-height:1.25;color:#1b342a;overflow-wrap:anywhere}
.ws172-card-copy small{font-size:10px;line-height:1.35;color:#65796f;overflow-wrap:anywhere}
.ws172-used{font-size:9px;font-weight:750;color:#22805b;line-height:1.3}
.ws172-add-btn{display:flex;align-items:center;justify-content:center;width:31px;height:31px;border:1px solid #b5d2bf;border-radius:10px;background:#eff9f1;color:#166a47;font-size:23px;font-weight:400;cursor:pointer;line-height:1}
.ws172-add-btn:hover{background:#167346;color:white}.ws172-add-btn:focus-visible{outline:3px solid #9ccab1;outline-offset:2px}.ws172-add-btn:disabled{opacity:.35;cursor:not-allowed}
.ws172-library-error{color:#9b3030;font-size:11px;padding:7px 14px}
.ws172-gallery-editor{padding:13px;background:#f6faf8;border:1px solid #deebe3;border-radius:12px;margin-block:12px}.ws172-gallery-editor>strong{font-size:12px;color:#254435}
.ws172-gallery-slot{padding:9px 0;border-bottom:1px solid #e6ece7}.ws172-gallery-slot .st-btn{margin-top:5px;font-size:11px}.ws172-gallery-slot.is-active{border-left:3px solid #27875d;padding-left:8px}
.ws.ws-v2 .ws172-promo,.ws.ws-v2 .ws172-gallery{--ws172-ink:var(--p-ink,#302b28);--ws172-primary:var(--ws-control-primary,var(--p-primary,#a25135));--ws172-on-primary:var(--ws-control-on-primary,#fff);--ws172-background:var(--ws162-background,var(--p-bg,#fff7ef));--ws172-card:var(--p-card,#fff4e7);background:var(--ws172-background);color:var(--ws172-ink);box-sizing:border-box;margin-block:clamp(24px,4vw,56px)}
.ws.ws-v2 .ws172-promo *,.ws.ws-v2 .ws172-gallery *{box-sizing:border-box}
.ws.ws-v2 .ws172-eyebrow{font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:800;color:var(--ws172-primary);margin:0 0 12px}
.ws.ws-v2 .ws172-promo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(20px,4vw,64px);align-items:center;padding:clamp(27px,4vw,66px);border:1px solid color-mix(in srgb,var(--ws172-ink) 13%,transparent);border-radius:20px;overflow:hidden;min-height:275px}
.ws.ws-v2 .ws172-promo-content h2,.ws.ws-v2 .ws172-gallery header h2{font-size:clamp(28px,3.3vw,47px);line-height:1.15;letter-spacing:-.025em;margin:0 0 15px;color:var(--ws172-ink)}
.ws.ws-v2 .ws172-promo-content>p:last-of-type,.ws.ws-v2 .ws172-gallery header>p:last-child{line-height:1.7;font-size:14px;opacity:.8;color:var(--ws172-ink)}
.ws.ws-v2 .ws172-cta{margin-top:14px;display:inline-flex;align-items:center;gap:12px;background:var(--ws172-primary);color:var(--ws172-on-primary)!important;text-decoration:none;padding:12px 19px;border-radius:10px;min-height:44px;font-size:13px;font-weight:800}
.ws.ws-v2 .ws172-cta:focus-visible{outline:3px solid var(--ws172-ink);outline-offset:3px}
.ws.ws-v2 .ws172-promo-media{border-radius:16px;overflow:hidden;min-height:225px;height:100%;background:var(--ws172-card)}
.ws.ws-v2 .ws172-promo-media img{width:100%;height:100%;max-height:420px;object-fit:cover;display:block}
.ws.ws-v2 .ws172-promo:not(:has(.ws172-promo-media)){grid-template-columns:1fr;min-height:240px}
.ws.ws-v2.ws-theme-nova .ws172-promo-auto,.ws.ws-v2 .ws172-promo-banner{background:var(--ws172-card);border-radius:13px}
.ws.ws-v2.ws-theme-atelier .ws172-promo-auto h2,.ws.ws-v2 .ws172-promo-editorial h2{font-family:Georgia,serif;font-size:clamp(33px,4vw,56px);font-weight:500}
.ws.ws-v2 .ws172-gallery{padding:clamp(24px,4vw,58px);border-radius:18px}
.ws.ws-v2 .ws172-gallery header{margin-bottom:22px}
.ws.ws-v2 .ws172-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ws.ws-v2 .ws172-gallery-image{border-radius:13px;overflow:hidden;background:var(--ws172-card);aspect-ratio:4/5}
.ws.ws-v2 .ws172-gallery-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.ws.ws-v2 .ws172-gallery-image:hover img{transform:scale(1.035)}
.ws.ws-v2 .ws172-gallery-mosaic .ws172-gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.ws.ws-v2 .ws172-gallery-mosaic .ws172-gallery-image:first-child{grid-column:span 2;grid-row:span 2;aspect-ratio:unset}
.ws.ws-v2 .ws172-gallery-editorial .ws172-gallery-image{border-radius:2px}
.ws.ws-v2.ws-theme-atelier .ws172-gallery-auto .ws172-gallery-image{border-radius:2px}
.ws.ws-v2.ws-theme-sora .ws172-gallery-auto .ws172-gallery-image{border-radius:24px}
.ws.ws-v2.ws-theme-nova .ws172-gallery-auto .ws172-gallery-image{border-radius:10px}
.ws.ws-v2 .ws172-gallery-empty{font-size:14px;padding:42px 20px;text-align:center;border:1px dashed color-mix(in srgb,var(--ws172-ink) 30%,transparent);border-radius:14px;opacity:.8}
@media(max-width:800px){.ws.ws-v2 .ws172-promo{grid-template-columns:1fr}.ws.ws-v2 .ws172-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ws.ws-v2 .ws172-gallery-mosaic .ws172-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.ws.ws-v2 .ws172-gallery-grid{gap:8px}.ws.ws-v2 .ws172-gallery-mosaic .ws172-gallery-image:first-child{grid-column:span 2;grid-row:auto;aspect-ratio:1.5}}
@media(prefers-reduced-motion:reduce){.ws172-library-card,.ws.ws-v2 .ws172-gallery-image img{transition:none}}
