/*
Theme Name: SIMFI Шкафы-купе
Template: woodmart
Version: 1.1.0
Description: Оформление WoodMart Architecture Studio для шкафов-купе.
Text Domain: simfi-kupe
*/
.kupe-shell { max-width: 1200px; margin: auto; padding: clamp(24px, 5vw, 70px) 20px; }
.kupe-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 0 0 30px; }
.kupe-nav a { text-decoration: underline; text-underline-offset: 4px; }
.kupe-masthead { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 75px); align-items: center; padding: clamp(24px, 5vw, 70px); background: #f2eee7; }
.kupe-masthead h1 { font-size: clamp(36px, 5vw, 68px); line-height: 1.03; margin-bottom: 18px; }
.kupe-masthead img { width: 100%; display: block; }
.kupe-heading { margin: 44px 0 18px; }
.kupe-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.kupe-card { display: block; padding: 22px; border: 1px solid #e1dbd1; background: #fbfaf7; }
.kupe-card strong { display: block; padding-top: 10px; font-size: 20px; }
.kupe-card img { aspect-ratio: 4 / 3; width: 100%; object-fit: contain; }
.kupe-form { margin: 24px 0; max-width: 560px; }
.kupe-form label { display: block; margin-bottom: 12px; }
.kupe-form select { width: 100%; }
.kupe-form output { display: block; font-size: 20px; margin: 16px 0; min-height: 30px; }
.kupe-form button { margin: 10px 0; }
.kupe-filling { margin: 0 0 18px; }
.kupe-filling[hidden] { display: none; }
.kupe-filling img { width: min(100%, 290px); height: auto; }
.kupe-filling figcaption { font-size: 13px; }
.kupe-decor-sample { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; font-size: 13px; }
.kupe-decor-sample [hidden] { display: none; }
.kupe-decor-sample img { width: 100px; height: 76px; object-fit: cover; border: 1px solid #aaa; }
.kupe-decor-sample a { text-decoration: underline; text-underline-offset: 3px; }
.kupe-facade { display: flex; width: min(100%, 270px); height: 135px; margin: 10px 0 18px; border: 6px solid transparent; background: linear-gradient(var(--kupe-profile),var(--kupe-profile)) padding-box, var(--kupe-texture, linear-gradient(#dedede,#dedede)) center / cover border-box; gap: 3px; padding: 3px; }
.kupe-facade i { display: block; flex: 1; background: var(--kupe-texture, repeating-linear-gradient(135deg,#e9e9e9 0 4px,#dcdcdc 4px 5px)) center / cover; border: 2px solid var(--kupe-profile); box-shadow: 1px 0 1px #0004; }
.kupe-facade i[data-material="mirror"] { background: linear-gradient(125deg, #a2a9b0, #f3f3f0 48%, #bdc5c9); }
@media (max-width: 700px) { .kupe-masthead, .kupe-cards { grid-template-columns: 1fr; } }

.kupe-wordmark { color: var(--wd-title-color, #242424); font-family: var(--wd-title-font); font-size: clamp(16px, 1.6vw, 21px); font-weight: 700; white-space: nowrap; }
.kupe-header-picks { white-space: nowrap; }
.kupe-architecture .wd-slider { background: #e9dfd6; }
.kupe-architecture .wd-slide-bg::after { position: absolute; inset: 0; background: linear-gradient(90deg,#e9dfd6 0%,transparent 48%); content: ""; pointer-events: none; }
.kupe-architecture .wd-slide-bg img { object-fit: contain; object-position: 95% 50%; }
.kupe-architecture .wd-slide-container .wp-block-wd-title { margin-block: 0 14px; }
.kupe-architecture .wd-slide-container .wp-block-wd-button { align-self: flex-start; background: #ead2bd; color: #2c241c; }
.kupe-architecture .wd-slide-container .kupe-slide-copy { color: #47403a; max-width: 320px; }
.kupe-architecture .kupe-cards { gap: clamp(16px, 2.5vw, 36px); }
.kupe-architecture .kupe-card { padding: 0; border: none; background: white; }
.kupe-architecture .kupe-card img { display: block; }
.kupe-card-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; color: #242424; }
.kupe-card-caption strong { padding: 0; margin-bottom: 4px; font-weight: 600; }
.kupe-card-caption > div > span { color: #554d46; }
.kupe-card-arrow { color: #473526; background: #e9c7a9; display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; font-size: 18px; }
.kupe-architecture #catalog, .kupe-architecture #measure { scroll-margin-top: 110px; }
@media (max-width: 768px) {
  .kupe-architecture .wd-slide-bg img { object-position: center top; }
  .kupe-architecture .wd-slide-bg::after { background: linear-gradient(0deg,#e9dfd6 3%,transparent 60%); }
  .kupe-architecture .wd-slide-container .wp-block-wd-title { font-size: clamp(27px, 6vw, 38px); }
}
