@font-face{font-family:"Pangolin";font-weight:400;font-display:swap;src:url(../fonts/pangolin-cyrillic-400-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Pangolin";font-weight:400;font-display:swap;src:url(../fonts/pangolin-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+20BD,U+2122,U+2212}
/* Керамичная: стили. Правила в DESIGN.md */

@font-face{font-family:"Golos Text";font-weight:400;font-display:swap;src:url(../fonts/golos-text-cyrillic-400-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Golos Text";font-weight:400;font-display:swap;src:url(../fonts/golos-text-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+20BD,U+2122,U+2212}
@font-face{font-family:"Golos Text";font-weight:500;font-display:swap;src:url(../fonts/golos-text-cyrillic-500-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Golos Text";font-weight:500;font-display:swap;src:url(../fonts/golos-text-latin-500-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+20BD,U+2122,U+2212}
@font-face{font-family:"Golos Text";font-weight:600;font-display:swap;src:url(../fonts/golos-text-cyrillic-600-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Golos Text";font-weight:600;font-display:swap;src:url(../fonts/golos-text-latin-600-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+20BD,U+2122,U+2212}

:root{
  --polka:#F7F5F1;
  --util:#EADFD3;
  --sazha:#141414;
  --shamot:#5B564F;
  --kobalt:#141414;
  --kobalt-hover:#3A3A3A;
  --plamya:#A33A0E;
  --liniya:#DDD6CB;
  --paper:#FFFFFF;
  --beige:#EADFD3;
  --sage:#C6D1C5;
  --pad:20px;
  --display:"Pangolin","Golos Text",system-ui,sans-serif;
  --text:"Golos Text",system-ui,-apple-system,"Segoe UI",sans-serif;
}
@media (min-width:720px){:root{--pad:32px}}
@media (min-width:1080px){:root{--pad:48px}}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:80px}
body{margin:0;background:var(--polka);color:var(--sazha);font-family:var(--text);font-size:17px;line-height:1.55;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
@media (min-width:720px){body{font-size:18px}}
img,svg{display:block;max-width:100%}
a{color:inherit}
p{margin:0}
h1,h2,h3{margin:0;font-weight:inherit}
ul,ol{margin:0;padding:0;list-style:none}
button,input{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--kobalt);outline-offset:3px;border-radius:2px}

.wrap{max-width:1280px;margin:0 auto;padding-inline:var(--pad)}
.skip{position:absolute;left:var(--pad);top:-60px;background:var(--sazha);color:var(--polka);padding:10px 14px;z-index:100}
.skip:focus{top:10px}

.h2{font-family:var(--display);font-weight:400;font-size:clamp(28px,3.6vw,48px);line-height:1.08;letter-spacing:0}

/* Кнопки и ссылки-действия */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 24px;border:0;border-radius:6px;background:var(--kobalt);color:#fff;font-weight:600;font-size:17px;text-decoration:none;cursor:pointer;transition:background-color .15s}
.btn:hover{background:var(--kobalt-hover)}
.btn--wide{width:100%}
.link{color:var(--kobalt);font-weight:600;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:4px}
.link:hover{color:var(--kobalt-hover)}

/* Тестовая плитка (signature element) */
.tile-body{fill:var(--util)}
.tile-glaze{fill:var(--g,#888);transform:translateY(var(--dip,0px));transition:transform .28s cubic-bezier(.3,.7,.2,1)}
.tile-hole{fill:var(--polka);stroke:rgba(31,30,28,.28);stroke-width:1}

/* Шапка */
.head{position:sticky;top:0;z-index:20;background:var(--polka);border-bottom:1px solid var(--liniya)}
.head__in{display:flex;flex-wrap:wrap;align-items:center;gap:0 24px;min-height:64px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;margin-right:auto;padding:8px 0}
.brand__tile{width:24px;height:32px}
.brand__name{font-family:var(--display);font-weight:400;font-size:19px;letter-spacing:0}
.menu-btn{min-height:44px;padding:0 14px;border:1.5px solid var(--sazha);border-radius:6px;background:transparent;font-weight:600;cursor:pointer}
.nav{display:none;flex-basis:100%;flex-direction:column;padding:8px 0 16px}
.nav.is-open{display:flex}
.nav a{padding:12px 0;font-weight:500;text-decoration:none;border-top:1px solid var(--liniya)}
.nav a:hover{color:var(--kobalt)}
.nav__phone{font-weight:600}
@media (min-width:1080px){
  .menu-btn{display:none}
  .nav{display:flex;flex-basis:auto;flex-direction:row;align-items:center;gap:28px;padding:0}
  .nav a{border:0;padding:10px 0;font-size:16px}
  .nav__phone{margin-left:12px;padding-left:28px !important;border-left:1px solid var(--liniya) !important}
}

/* Первый экран */
.hero{padding:40px 0 0}
.hero__grid{display:grid;grid-template-columns:minmax(0,1fr);gap:40px}
.hero__title{font-family:var(--display);font-weight:400;font-size:clamp(38px,5.6vw,80px);line-height:1.0;letter-spacing:0;max-width:14ch}
.hero__lead{margin-top:24px;max-width:38ch;color:var(--shamot);font-size:19px}
.hero__actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 28px;margin-top:32px}
.hero__index-title{font-weight:600;margin-bottom:14px}
@media (min-width:1080px){
  .hero{padding-top:72px}
  .hero__grid{grid-template-columns:minmax(0,7fr) minmax(0,5fr);align-items:center;gap:64px}
  .hero__index{padding-bottom:6px}
}

/* Указатель глазурей */
.glazes{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 4px 10px;margin:0 -4px;scrollbar-width:none}
.glazes::-webkit-scrollbar{display:none}
.glaze{flex:none;scroll-snap-align:start;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:0;border:0;background:none;cursor:pointer;text-align:left;font-weight:500;font-size:15px;line-height:1.3;color:inherit;text-decoration:none}
.glaze svg{width:72px;height:96px}
.glaze[aria-current="page"]{--dip:-26px}
.glaze[aria-current="page"] span{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
.glaze:hover span{color:var(--kobalt)}
@media (min-width:720px){
  .glazes--big{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));overflow:visible}
  .glazes--big .glaze svg{width:100%;height:auto}
}
@media (min-width:1080px){
  .glazes--big{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 18px}
  .glazes--big .glaze svg{width:100%;max-width:none}
}
.glazes--small .glaze{flex-direction:row;align-items:center;gap:8px;min-height:44px;padding:0 4px}
.glazes--small .glaze svg{width:24px;height:32px}
.glaze--all{padding-right:12px !important}

/* Ярмарка */
.event{margin-top:48px;padding:18px 0;border-top:1px solid var(--liniya);border-bottom:1px solid var(--liniya);color:var(--shamot);font-size:16px}
.event strong{color:var(--sazha);font-weight:600}

/* Каталог */
.catalog{padding:64px 0 72px}
.catalog__head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:16px 32px;margin-bottom:20px}
.cats{display:flex;flex-wrap:wrap;gap:4px 20px}
.cats a{display:inline-flex;align-items:center;min-height:44px;color:var(--shamot);font-weight:500;font-size:16px;text-decoration:none}
.cats a:hover{color:var(--sazha)}
.cats a[aria-current="page"]{color:var(--sazha);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
.catalog__count{margin:12px 0 20px;color:var(--shamot);font-size:15px}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 14px}
@media (min-width:720px){.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:36px 20px}}
@media (min-width:1080px){.grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:44px 24px}}
.card[hidden]{display:none}
.card a{display:flex;flex-direction:column;gap:6px;text-decoration:none;height:100%}
.card__photo{position:relative;aspect-ratio:4/5;border-radius:4px;background:var(--g);margin-bottom:8px;overflow:hidden}
.card__photo span{position:absolute;left:10px;bottom:10px;font-size:12px;font-weight:500;background:rgba(243,242,238,.92);padding:3px 8px;border-radius:3px}
.card__name{font-weight:600;font-size:17px;line-height:1.3}
.card a:hover .card__name{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}
.card__glaze{display:flex;align-items:center;gap:8px;color:var(--shamot);font-size:15px;line-height:1.35}
.card__glaze i{flex:none;width:10px;height:14px;border-radius:2px;background:linear-gradient(var(--util) 0 34%,var(--g) 34%)}
.card__buy{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 12px;margin-top:auto;padding-top:6px}
.price{font-weight:600;font-variant-numeric:tabular-nums}
.stock{font-size:14px;color:var(--shamot)}
.stock--low{color:var(--plamya);font-weight:500}
.empty{padding:40px 0;max-width:46ch}
.empty p{margin-bottom:20px}
.catalog__more{margin-top:44px}

/* Коллекции */
.collections{padding:88px 0;background:var(--paper)}
.coll{margin-top:32px;border-top:1px solid var(--liniya)}
.coll a{display:grid;grid-template-columns:44px minmax(0,1fr);gap:4px 18px;align-items:start;padding:20px 0;border-bottom:1px solid var(--liniya);text-decoration:none}
.coll svg{width:44px;height:59px;grid-row:span 2}
.coll__name{font-family:var(--display);font-weight:400;font-size:22px;line-height:1.2}
.coll__text{color:var(--shamot);max-width:56ch}
.coll a:hover .coll__name{color:var(--kobalt)}
.coll a:hover{--dip:-26px}
.coll a:focus-visible{--dip:-26px}
@media (min-width:720px){
  .coll a{grid-template-columns:56px minmax(0,14rem) minmax(0,1fr);gap:24px;align-items:center;padding:22px 0}
  .coll svg{width:56px;height:75px;grid-row:auto}
}

/* На заказ */
.order{padding:96px 0 88px}
.order__grid{display:grid;gap:28px}
.order__big{font-family:var(--display);font-weight:400;font-size:clamp(24px,3vw,38px);line-height:1.2;letter-spacing:0;max-width:24ch}
.order__small{margin-top:24px;font-size:20px;max-width:40ch}
.order__text{margin:20px 0 28px;color:var(--shamot);max-width:52ch}
@media (min-width:1080px){.order__grid{grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:48px}}

/* Мастер-класс */
.mk{padding:88px 0;background:var(--sazha);color:var(--polka)}
.mk .h2{color:#fff}
.mk__grid{display:grid;gap:48px}
.mk__lead{margin-top:18px;max-width:44ch;color:#CFCCC4}
.steps{counter-reset:s;margin-top:32px;display:grid;gap:18px}
.steps li{counter-increment:s;display:grid;grid-template-columns:44px minmax(0,1fr);gap:16px;align-items:baseline;max-width:48ch;color:#CFCCC4}
.steps li::before{content:counter(s);font-family:var(--display);font-weight:400;font-size:22px;color:#fff}
.steps strong{color:#fff;font-weight:600}
.mk__meta{margin-top:28px;color:#A9A59C;font-size:15px}
.form{background:var(--polka);color:var(--sazha);border-radius:6px;padding:28px;display:grid;gap:18px;align-self:start}
.form__title{font-family:var(--display);font-weight:400;font-size:22px;line-height:1.2}
.field{display:grid;gap:8px}
.field label{font-weight:600;font-size:15px}
.field input{min-height:52px;padding:0 14px;border:1.5px solid #8F8A80;border-radius:6px;background:#fff}
.field input:focus-visible{outline-offset:1px}
.field input[aria-invalid="true"]{border-color:var(--plamya)}
.field__err{color:var(--plamya);font-size:14px;font-weight:500}
.form__done{color:#1E6A3A;font-weight:600}
.mk .btn:focus-visible,.form :focus-visible{outline-color:var(--kobalt)}
@media (min-width:1080px){.mk__grid{grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:64px}}

/* Мастерская */
.studio{padding:120px 0}
.studio__grid{display:grid;gap:40px;align-items:center}
.studio__photo{position:relative;aspect-ratio:4/3;border-radius:4px;background:var(--g)}
.studio__photo span{position:absolute;left:12px;bottom:12px;font-size:13px;font-weight:500;background:rgba(243,242,238,.92);padding:4px 9px;border-radius:3px}
.studio__text p{margin-top:18px;max-width:46ch}
.studio__text p:first-of-type{margin-top:24px}
@media (min-width:1080px){.studio__grid{grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:72px}}

/* Подвал */
.foot{border-top:1px solid var(--liniya);padding:56px 0 120px;font-size:16px}
.foot__grid{display:grid;gap:36px}
.foot__brand{font-family:var(--display);font-weight:400;font-size:20px;margin-bottom:8px}
.foot__grid p{color:var(--shamot)}
.foot__grid p a{color:var(--sazha);font-weight:600;text-decoration:none}
.foot__h{font-size:15px;font-weight:600;color:var(--shamot);margin-bottom:10px}
.foot li{padding:4px 0}
.foot li a{text-decoration:none}
.foot li a:hover{color:var(--kobalt);text-decoration:underline}
@media (min-width:720px){.foot__grid{grid-template-columns:2fr 1fr 1fr}.foot{padding-bottom:64px}}

/* Нижняя панель на телефоне */
.dock{position:fixed;left:0;right:0;bottom:0;z-index:30;display:grid;grid-template-columns:repeat(3,1fr);background:var(--sazha);padding-bottom:env(safe-area-inset-bottom);transform:translateY(110%);transition:transform .25s ease}
.dock.is-on{transform:none}
.dock a{display:flex;align-items:center;justify-content:center;min-height:56px;color:#fff;font-weight:600;font-size:15px;text-decoration:none}
.dock a+a{border-left:1px solid #3A3835}
@media (min-width:720px){.dock{display:none}}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition-duration:0s !important;animation-duration:0s !important}
}

/* ===== WordPress: дополнения ===== */
.btn--ghost{background:transparent;color:var(--sazha);border:1.5px solid var(--sazha)}
.btn--ghost:hover{background:var(--sazha);color:var(--polka)}
.nav a[aria-current="page"]{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
.card__photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.card__photo:has(img){background:var(--paper)}
.form__hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form__fail{color:var(--plamya);font-weight:500}
.form__fail a{color:inherit;font-weight:600}
.mk__meta--set{color:#fff;font-weight:600;font-size:17px}
.order__photo{margin:28px 0 0;border-radius:4px;overflow:hidden;aspect-ratio:4/5;max-width:360px}
.order__photo img{width:100%;height:100%;object-fit:cover}
.studio__photo{margin:0;background:var(--paper);overflow:hidden}
.studio__photo img{width:100%;height:100%;object-fit:cover}
.studio__photo figcaption{position:absolute;left:12px;bottom:12px;font-size:14px;font-weight:500;background:rgba(243,242,238,.94);padding:4px 10px;border-radius:3px}

/* Внутренние страницы */
.page-main{padding:24px 0 96px}
.crumbs{display:flex;flex-wrap:wrap;gap:4px 0;font-size:15px;color:var(--shamot)}
.crumbs a{color:var(--shamot);text-decoration:none;min-height:32px;display:inline-flex;align-items:center}
.crumbs a:hover{color:var(--kobalt);text-decoration:underline}
.crumbs a+a::before,.crumbs a+span::before{content:"/";margin:0 10px;color:var(--liniya)}
.page-head{display:flex;gap:24px;align-items:center;margin:28px 0 28px}
.page-head__tile{flex:none;width:72px;height:96px}
@media (min-width:720px){.page-head__tile{width:96px;height:128px}}
.page-title{font-family:var(--display);font-weight:400;font-size:clamp(32px,4.6vw,60px);line-height:1.05;letter-spacing:0}
.page-lead{margin-top:14px;max-width:56ch;color:var(--shamot);font-size:19px}
.page-main .cats{margin-bottom:8px}
.page-main .grid{margin-top:4px}

/* Карточка товара */
.product{display:grid;gap:32px;margin-top:20px}
@media (min-width:1080px){.product{grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:64px;align-items:start}}
.product__main{position:relative;aspect-ratio:4/5;border-radius:4px;overflow:hidden;background:var(--paper)}
.product__main img{width:100%;height:100%;object-fit:cover}
.product__main--empty{background:var(--g)}
.product__main--empty span{position:absolute;left:12px;bottom:12px;font-size:14px;background:rgba(243,242,238,.94);padding:4px 10px;border-radius:3px}
.product__thumbs{display:flex;gap:10px;margin-top:12px;overflow-x:auto;padding:4px 2px 6px;scrollbar-width:thin}
.product__thumbs button{display:block;width:72px;height:72px;padding:0;border:2px solid transparent;border-radius:4px;overflow:hidden;background:none;cursor:pointer}
.product__thumbs button[aria-pressed="true"]{border-color:var(--sazha)}
.product__thumbs img{width:100%;height:100%;object-fit:cover}
@media (min-width:1080px){.product__media{position:sticky;top:88px}}
.product__glaze{display:inline-flex;align-items:center;gap:10px;color:var(--shamot);font-weight:500;text-decoration:none;min-height:44px}
.product__glaze svg{width:24px;height:32px}
.product__glaze:hover span{color:var(--kobalt);text-decoration:underline}
.product__title{margin-top:10px;font-family:var(--display);font-weight:400;font-size:clamp(30px,3.6vw,46px);line-height:1.08;letter-spacing:0}
.product__lead{margin-top:16px;color:var(--shamot);max-width:46ch}
.product__price{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 16px;margin-top:28px}
.product__price .price{font-size:30px;font-weight:600}
.price--sold{text-decoration:line-through;color:var(--shamot)}
.stock--sold{color:var(--plamya);font-weight:500}
.product__price .stock{font-size:16px}
.product__buy{display:grid;gap:10px;margin-top:22px;max-width:440px}
.product__call{margin-top:6px;font-size:15px;color:var(--shamot)}
.product__call a{color:var(--sazha);font-weight:600}
.specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:32px 0 0;border-top:1px solid var(--liniya)}
.specs div{padding:14px 0;border-bottom:1px solid var(--liniya)}
.specs dt{font-size:14px;color:var(--shamot)}
.specs dd{margin:2px 0 0;font-weight:600}
.product__text{margin-top:28px}
.product__note{margin-top:24px;font-size:15px;color:var(--shamot);max-width:46ch}
.related{margin-top:96px}
.related .h2{margin-bottom:28px}

/* Текст страниц и журнала */
.article{max-width:760px}
.article__photo{margin:0 0 32px;border-radius:4px;overflow:hidden}
.article__photo img{width:100%;height:auto}
.prose{max-width:66ch}
.prose>*+*{margin-top:1em}
.prose h2{font-family:var(--display);font-weight:400;font-size:28px;line-height:1.15;margin-top:1.6em}
.prose h3{font-weight:600;font-size:20px;margin-top:1.4em}
.prose ul,.prose ol{padding-left:1.3em}
.prose ul{list-style:disc}
.prose ol{list-style:decimal}
.prose li+li{margin-top:.35em}
.prose a{color:var(--kobalt);text-decoration-thickness:1.5px;text-underline-offset:3px}
.prose img{height:auto;border-radius:4px}
.prose figure{margin:1.6em 0}
.prose figcaption{margin-top:8px;font-size:15px;color:var(--shamot)}
.prose .wp-block-gallery,.prose .ker-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0;list-style:none}
.prose .ker-photos img{width:100%;aspect-ratio:4/5;object-fit:cover}
.article__form{margin-top:40px;max-width:440px}
.article__form .form{border:1px solid var(--liniya)}
.article__cta{margin-top:32px}
.journal{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:40px 24px;margin-top:8px}
.journal__item a{display:flex;flex-direction:column;gap:8px;text-decoration:none}
.journal__photo{aspect-ratio:4/5;border-radius:4px;overflow:hidden;background:var(--paper);margin-bottom:6px}
.journal__photo img{width:100%;height:100%;object-fit:cover}
.journal__date{font-size:15px;color:var(--shamot)}
.journal__title{font-family:var(--text);font-weight:600;font-size:19px;line-height:1.3}
.journal__item a:hover .journal__title{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}
.pager{display:grid;gap:12px;margin-top:56px;padding-top:24px;border-top:1px solid var(--liniya);max-width:760px}
.pager a{color:var(--kobalt);font-weight:600}
.nav-links{display:flex;gap:24px;margin-top:48px}
.nav-links a{color:var(--kobalt);font-weight:600}
.notfound{padding:48px 0}
.notfound__tile{width:96px;height:128px;margin-bottom:24px}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Правки после проверки в WordPress */
@media (max-width:719px){
  .cats{flex-wrap:nowrap;overflow-x:auto;gap:4px 18px;margin:0 calc(var(--pad)*-1);padding:0 var(--pad);scrollbar-width:none}
  .cats::-webkit-scrollbar{display:none}
  .cats a{flex:none;white-space:nowrap}
}
.studio__photo{aspect-ratio:4/5;max-width:560px;width:100%}

/* Первый экран с фото изделия */
.hero__side{display:contents}
.hero__photo{margin:0;border-radius:4px;overflow:hidden;background:var(--paper);aspect-ratio:4/3}
.hero__photo a{display:block;height:100%}
.hero__photo img{width:100%;height:100%;object-fit:cover}
@media (min-width:720px){.hero__photo{aspect-ratio:16/10}}
@media (min-width:1080px){
  .hero--photo{padding-top:48px}
  .hero--photo .hero__grid{grid-template-columns:minmax(0,6fr) minmax(0,5fr);grid-template-areas:"text photo" "index index";align-items:center;gap:40px 64px}
  .hero--photo .hero__text{grid-area:text}
  .hero--photo .hero__photo{grid-area:photo;aspect-ratio:1/1;max-height:540px}
  .hero--photo .hero__index{grid-area:index}
  .hero--photo .hero__title{font-size:clamp(38px,4.6vw,68px)}
  .hero--photo .glazes--big{grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}
  .hero--photo .glazes--big .glaze svg{width:100%;max-width:96px;height:auto}
}

/* Постраничная навигация каталога */
.pagination{margin-top:48px}
.pagination .nav-links{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 12px;border:1.5px solid var(--liniya);border-radius:6px;text-decoration:none;color:var(--sazha);font-weight:600}
.pagination a.page-numbers:hover{border-color:var(--sazha)}
.pagination .page-numbers.current{background:var(--sazha);border-color:var(--sazha);color:var(--polka)}
.pagination .dots{border:0}

/* Согласие в форме */
.field--check{grid-template-columns:22px minmax(0,1fr);align-items:start;gap:4px 10px}
.field--check input{width:20px;height:20px;margin:2px 0 0;accent-color:var(--kobalt)}
.field--check label{font-weight:400;font-size:14px;line-height:1.45;color:var(--shamot)}
.field--check label a{color:var(--kobalt)}
.field--check .field__err{grid-column:1/-1}
.field--check input[aria-invalid="true"]{outline:2px solid var(--plamya);outline-offset:2px}
.foot__docs{display:flex;flex-wrap:wrap;gap:6px 24px;margin-top:32px;font-size:14px}
.foot__docs a{color:var(--shamot)}

/* Бренд: логотип, бежевый и шалфей из логотипа */
.brand{padding:6px 0}
.brand__logo{display:block;height:54px;width:auto}
@media (min-width:1080px){.brand__logo{height:64px}}
.head__in{min-height:72px}
.collections{background:var(--sage)}
.coll{border-top-color:rgba(20,20,20,.18)}
.coll a{border-bottom-color:rgba(20,20,20,.18)}
.coll__text{color:#3D3C38}
.event{background:var(--beige);border:0;border-radius:4px;padding:16px 20px;color:#3D3A35}
.card__photo span,.studio__photo figcaption{background:rgba(255,255,255,.92)}
.mk .btn{background:var(--sazha)}
.form{background:#fff}
.mk :focus-visible{outline-color:#fff}
.mk .form :focus-visible{outline-color:var(--sazha)}
.hero__title,.page-title,.product__title{line-height:1.05}

/* Приём из логотипа: неровная чёрная рамка, за ней бежевое и шалфейное пятна */
.framed{position:relative;isolation:isolate;overflow:visible;background:none;border-radius:0}
.framed::before{content:"";position:absolute;z-index:-1;top:-14px;right:-14px;width:72%;height:78%;background:var(--beige);clip-path:polygon(3% 2%,100% 0,98% 97%,0 100%)}
.framed::after{content:"";position:absolute;z-index:-1;left:-14px;bottom:10%;width:30%;height:52%;background:var(--sage);border-radius:6px 2px 4px 18px;transform:rotate(-2deg)}
.framed > a,.framed > img{position:absolute;inset:10px;display:block;height:auto}
.framed img{width:100%;height:100%;object-fit:cover}
.framed__line{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;overflow:visible}
.framed__line path{fill:none;stroke:var(--sazha);stroke-width:9px;stroke-linejoin:round;vector-effect:non-scaling-stroke}
@media (max-width:719px){.framed::before{top:-8px;right:-8px}.framed::after{left:-8px}.framed__line path{stroke-width:7px}}
.tile-edge{fill:none;stroke:rgba(20,20,20,.14);stroke-width:1}
