/*
Theme Name: СИМФИ Матрасы
Template: woodmart
Version: 1.0.0
Description: Каталог матрасов СИМФИ. Шаблон Architecture Studio.
*/
body.sm-site {margin:0;background:#f5f5f5;color:#242424;font-family:"Open Sans",Arial,sans-serif;line-height:1.55;padding-bottom:0}
.sm-site * {box-sizing:border-box}
.sm-site a {color:inherit}
.sm-site :is(h1,h2,h3,p,dl,dd) {margin:0}
.sm-site h1,.sm-site h2,.sm-site h3,.sm-brand {font-family:Commissioner,Arial,sans-serif}
.sm-skip {position:absolute;left:1rem;top:-100px;background:white;padding:8px;z-index:30}
.sm-skip:focus {top:4px}
.sm-header {background:#fff;border-bottom:1px solid #ddd9d4}
.sm-bar {display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:74px}
.sm-brand {display:inline-flex;align-items:baseline;gap:9px;color:#242424;text-decoration:none}
.sm-brand b {font-size:25px;letter-spacing:-.06em;line-height:1}
.sm-brand span {font-size:15px}
.sm-header nav {display:flex;gap:24px}
.sm-header nav a,.sm-phone,.sm-footer a {font-size:14px;text-decoration:none}
.sm-header a:hover,.sm-footer a:hover {text-decoration:underline;text-underline-offset:4px}
.sm-phone {font-weight:600}
.sm-site .sm-hero {grid-template-columns:minmax(0,1.9fr) minmax(0,1fr)}
.sm-site .sm-hero img {aspect-ratio:1.98;object-fit:cover}
.sm-site .sm-hero .sv-studio-hero-caption {justify-self:center}
.sm-site .sv-studio-button {text-decoration:none;font-family:"Open Sans",Arial,sans-serif}
.sm-grid,.sm-guide {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2vw,34px)}
.sm-card {display:flex;flex-direction:column;border-bottom:1px solid #ccc8c1;padding-bottom:14px;min-width:0}
.sm-card-img {display:block;aspect-ratio:4/3;margin-bottom:16px;overflow:hidden}
.sm-card-img img {display:block;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center;transition:transform .25s}
.sm-card-img:hover img {transform:scale(1.035)}
.sm-card h3 {margin:4px 0}
.sm-card h3 a {text-decoration:none}
.sm-kicker {font-size:12px;text-transform:uppercase;letter-spacing:.075em;font-weight:650;color:#615c55}
.sm-meta,.sm-crumb {font-size:14px;color:#5e5a54}
.sm-card-foot {display:flex;justify-content:space-between;gap:10px;align-items:baseline;margin-top:auto;padding-top:16px}
.sm-card-foot a,.sm-call {font-size:14px;text-underline-offset:3px}
.sm-guide p {margin-top:10px}
.sm-footer {border-top:1px solid #d8d5d0;margin-top:clamp(44px,6vw,90px)}
.sm-crumb {padding-top:24px}
.sm-filters {background:#edeae5;padding:clamp(18px,2.5vw,36px)}
.sm-fields {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr));gap:16px}
.sm-fields label,.sm-fields input,.sm-fields select {min-width:0}
.sm-fields input[type="search"],.sm-fields input[type="number"],.sm-fields select {box-sizing:border-box;width:100%;max-width:100%}
.sm-site label {display:grid;gap:6px;font-size:13px;font-weight:600;color:#35302c}
.sm-site :is(select,input[type=number],input[type=search]) {background-color:white;border:1px solid #b7b3ad;color:#242424;width:100%;height:44px;padding:0 10px;font:400 15px "Open Sans",Arial,sans-serif;border-radius:0}
.sm-controls {display:flex;align-items:center;gap:22px;margin-top:18px}
.sm-results {font-size:15px;margin:25px 0 16px}
.sm-pages {margin:22px 0;display:flex;gap:12px}
.sm-detail {display:grid;grid-template-columns:1.15fr 1fr;align-items:start;gap:clamp(26px,5vw,82px);margin-top:28px}
.sm-gallery {min-width:0;display:grid;align-content:start;gap:12px}
.sm-photo,.sm-photo img {display:block;width:100%;height:auto;max-height:none}
.sm-card-img,.sm-photo {background:linear-gradient(165deg,#fff 0%,#f6f6f8 52%,#e6e7eb 100%)}
.sm-photo[hidden],.sm-thumbs[hidden] {display:none}
.sm-thumbs {display:flex;gap:8px;flex-wrap:wrap}
.sm-thumbs button {width:68px;aspect-ratio:4/3;min-height:0;padding:0;border:0;overflow:hidden;cursor:pointer}
.sm-thumbs button[aria-pressed=true] {outline:2px solid #242424;outline-offset:2px}
.sm-thumbs img {display:block;width:100%;height:100%;object-fit:cover}
.sm-buy {display:grid;gap:18px;padding:10px 0 0}
.sm-site .sm-buy h1 {font-size:clamp(34px,4vw,64px)}
.sm-size {display:grid;gap:7px;max-width:330px}
.sm-price {font:600 28px Commissioner,Arial,sans-serif}
.sm-buy .sv-studio-button {justify-self:start}
.sm-spec-layout {display:grid;grid-template-columns:1fr 1fr;gap:clamp(26px,5vw,82px);margin-top:50px;border-top:1px solid #ccc8c1;padding-top:24px}
.sm-spec-layout h2 {margin-bottom:18px}
.sm-spec-layout p+p {margin-top:12px}
.sm-spec-layout dl div {display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:9px 0;border-bottom:1px solid #d8d5d0;font-size:15px}
.sm-spec-layout dd {font-weight:600}
@media(max-width:800px){.sm-grid,.sm-guide{grid-template-columns:repeat(2,minmax(0,1fr))}.sm-bar{gap:14px}.sm-site .sm-hero{grid-template-columns:1fr}.sm-site .sm-hero .sv-studio-hero-caption{max-width:none;justify-self:stretch}.sm-footer .sm-bar{flex-wrap:wrap;padding-block:18px}}
@media(max-width:620px){.sm-header .sm-bar{flex-wrap:wrap;padding-block:12px}.sm-header nav{gap:14px}.sm-phone{display:none}.sm-grid,.sm-guide,.sm-spec-layout,.sm-detail{grid-template-columns:1fr}.sm-detail{gap:14px}.sm-site .sv-studio-masthead{flex-wrap:wrap}.sm-controls{flex-wrap:wrap}.sm-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.sm-site .sm-hero img{aspect-ratio:1.52}.sm-spec-layout{margin-top:32px}.sm-footer .sm-bar{align-items:start;flex-direction:column}}
@media(max-width:380px){.sm-fields{grid-template-columns:1fr}.sm-bar{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.sm-card-img img{transition:none}}
