/*
Theme Name: Komaroff ФОРМА
Theme URI: https://komaroff-dev.ru/
Author: Сергей Комаров
Description: Собственная демонстрационная тема без конструкторов.
Version: 1.0.0
Requires PHP: 8.1
Text Domain: komaroff-forma
License: GPL-2.0-or-later
*/
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:18px;line-height:1.5}button,input,textarea,select{font:inherit}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:6px}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:4px}img{max-width:100%;height:auto;display:block;object-fit:cover}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-weight:400;line-height:1.05;letter-spacing:-.035em}h1{font-size:clamp(46px,7.8vw,108px)}h2{font-size:clamp(34px,4.6vw,65px)}h3{font-size:clamp(26px,2.6vw,38px)}p{line-height:1.5}svg{flex-shrink:0}.wrap{width:calc(100% - 80px);max-width:1440px;margin:auto}.site-header{display:flex;align-items:center;justify-content:space-between;gap:32px;min-height:92px}.brand{font-size:33px;font-weight:700;letter-spacing:-.045em;line-height:1}.primary-nav ul{display:flex;gap:32px;align-items:center;list-style:none;margin:0;padding:0}.primary-nav a{font-size:17px}.outline-button{border:1px solid var(--ink);padding:11px 20px;font-size:15px}.menu-toggle{display:none;border:1px solid var(--line);padding:9px 12px;background:#fff}.button{display:inline-flex;align-items:center;gap:22px;justify-content:center;border:1px solid var(--ink);padding:16px 26px;color:#fff;background:var(--ink);font-size:18px;line-height:1.3}.text-link{display:inline-flex;gap:12px;align-items:center;text-decoration:underline;text-underline-offset:7px;color:var(--accent);font-size:21px}.fine{font-size:14px;color:#697076}.site-footer{padding:26px 0;margin-top:64px;border-top:1px solid var(--line);display:flex;align-items:center;gap:24px;justify-content:space-between;font-size:13px;color:#565b60}.site-footer nav{display:flex;gap:24px}.sr-only,.skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{position:fixed;z-index:99;left:10px;top:10px;background:#fff;padding:12px;color:#111}.article-head{margin:65px auto 35px;max-width:1000px}.article-head h1{font-size:clamp(42px,5.8vw,84px)}.article-content{max-width:820px;margin:42px auto 80px;font-size:21px;line-height:1.8}.article-content p{line-height:1.8}.article-content h2{font-size:36px;margin-top:46px}.article-content li{margin-bottom:12px}.article-cover{width:100%;max-height:690px;aspect-ratio:16/9;object-fit:cover}.archive-head{padding:55px 0 20px}.archive-head h1{margin-bottom:20px}.filter-nav{display:flex;flex-wrap:wrap;gap:28px;margin:15px 0 35px;font-size:18px}.filter-nav a[aria-current],.filter-nav .active{color:var(--accent);text-decoration:underline;text-underline-offset:8px}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px}.post-card img{width:100%;aspect-ratio:4/3}.post-card h2{font-size:30px;margin-top:18px;margin-bottom:12px}.post-card h3{margin:15px 0;font-size:28px}.post-card p{font-size:17px}.entry-meta{font-size:14px;margin:18px 0 12px;color:#565c63}.pagination{margin:45px 0;display:flex;gap:14px;flex-wrap:wrap}.pagination .page-numbers{padding:9px 15px;border:1px solid var(--line)}.pagination .current{background:var(--ink);color:white}.contact-form{display:grid;gap:22px;margin:36px 0}.contact-form label{display:grid;gap:8px;font-size:17px}.contact-form input,.contact-form textarea{width:100%;padding:14px;border:1px solid #a5aaad;background:#fff;border-radius:0;color:var(--ink)}.contact-form .button{justify-self:start}.form-success{padding:22px;background:#edf6ef;border-left:3px solid #2d6b40}.honey{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.search-form{display:flex;border:1px solid #a6abb1;align-items:center;min-width:240px}.search-form input{padding:9px 12px;min-width:0;flex:1;border:0;background:#fff;width:100%}.search-form button{border:0;padding:8px 10px;background:#fff;display:flex}.empty-state{padding:70px 0;max-width:700px}.empty-state h1{font-size:60px}.wp-block-image img{height:auto}.wp-block-gallery{gap:20px}.woocommerce .woocommerce-breadcrumb{margin:35px 0}.woocommerce div.product{margin-top:35px}.woocommerce .button{border-radius:0!important;background:var(--ink)!important;color:#fff!important;padding:14px 22px!important;font-weight:400!important;font-size:17px!important}.woocommerce div.product .product_title{font-size:clamp(36px,4vw,60px);margin-bottom:24px}.woocommerce ul.products li.product h2{font-size:25px}.woocommerce ul.products li.product .price{color:var(--ink)}.woocommerce div.product p.price{color:var(--ink);font-size:28px}.woocommerce div.product form.cart .button{float:none}.woocommerce input,.woocommerce select,.woocommerce textarea{font:inherit;padding:10px;border:1px solid #aaa;border-radius:0}.woocommerce .quantity .qty{width:80px;min-height:46px}.woocommerce form .form-row input.input-text{min-height:46px}.woocommerce table.shop_table{border-radius:0}.woocommerce .woocommerce-info,.woocommerce .woocommerce-message{border-top-color:var(--accent)}.woocommerce .woocommerce-info::before,.woocommerce .woocommerce-message::before{color:var(--accent)}.demo-shop-notice{padding:14px 0;margin-bottom:20px;border-block:1px solid var(--line);font-size:15px}.woocommerce .related.products{clear:both;padding-top:55px}.woocommerce-tabs{clear:both}.woocommerce-page .page-title{font-size:clamp(44px,6vw,82px)}
@media(max-width:900px){.wrap{width:calc(100% - 48px)}.site-header{gap:20px;min-height:76px}.brand{font-size:28px}.primary-nav ul{gap:20px}.primary-nav a{font-size:15px}.outline-button{font-size:13px;padding:9px 12px}.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.article-content{padding:0 20px}.site-footer{flex-wrap:wrap}}
@media(max-width:650px){body{font-size:17px}.wrap{width:calc(100% - 36px)}.site-header{flex-wrap:wrap;position:relative;gap:16px;padding:18px 0}.brand{font-size:26px}.menu-toggle{display:block;margin-left:auto}.primary-nav{display:none;width:100%}.primary-nav.open{display:block}.primary-nav ul{align-items:flex-start;flex-direction:column;gap:16px;padding:15px 0}.outline-button{display:none}.article-head{margin:35px auto 25px}.article-content{font-size:19px;padding:0}.post-grid{grid-template-columns:1fr;gap:32px}.site-footer{margin-top:40px;gap:20px}.site-footer nav{flex-wrap:wrap;gap:18px}.filter-nav{font-size:16px;gap:18px}.woocommerce ul.products li.product{width:48%!important}.woocommerce ul.products li.product h2{font-size:19px}.woocommerce div.product .product_title{font-size:39px}.woocommerce table.shop_table{font-size:14px}.search-form{min-width:0}.woocommerce table.shop_table_responsive tr td{max-width:100%}.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

:root{--ink:#282623;--accent:#80614b;--line:#c8c5c0}.brand{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:.18em}.site-header{gap:32px}.cart-link{font-size:16px;white-space:nowrap}.forma-hero{display:grid;grid-template-columns:45% 55%;align-items:center;gap:0;margin-top:22px}.forma-hero>div{padding:25px 25px 25px 0}.forma-hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(44px,5.1vw,76px);line-height:1.05;letter-spacing:-.05em;margin-bottom:42px}.forma-hero p{font-size:clamp(19px,2vw,28px);margin-bottom:45px}.forma-hero img{width:100%;height:clamp(500px,59vw,850px);object-fit:cover}.forma-products{padding-top:75px}.forma-products h2,.forma-story h2{font-family:Georgia,'Times New Roman',serif}.forma-products h2{font-size:clamp(34px,4.5vw,66px);margin-bottom:45px}.forma-products .filter-nav{margin-bottom:45px}.forma-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.forma-product img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover}.forma-product h3{font-family:Arial,sans-serif;font-size:21px;letter-spacing:0;margin:15px 0 7px}.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:22px}.forma-story{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:70px;padding-top:120px}.forma-story img{width:100%;aspect-ratio:1.2;object-fit:cover}.forma-story h2{font-size:clamp(34px,4.8vw,67px);margin-bottom:38px}.forma-story p{font-size:22px;margin-bottom:40px}.shop-content{padding-top:30px}.forma-story+.site-footer{margin-top:70px}.woocommerce div.product .product_title,.woocommerce-page .page-title{font-family:Georgia,serif}.woocommerce-cart .article-content,.woocommerce-checkout .article-content,.woocommerce-account .article-content{max-width:none}.woocommerce-cart .article-head,.woocommerce-checkout .article-head{max-width:none}.woocommerce-order-received .woocommerce-order-overview{padding:20px;background:#f5f4f1}
@media(max-width:900px){.forma-hero img{height:580px}.forma-hero h1{font-size:48px}.forma-hero p{font-size:20px}.forma-story{gap:32px}.forma-product h3{font-size:18px}.product-bottom{font-size:18px}}
@media(max-width:650px){.forma-hero{grid-template-columns:1fr;margin-top:0}.forma-hero>div{padding:25px 0 35px}.forma-hero h1{font-size:45px;margin-bottom:24px}.forma-hero p{font-size:20px;margin-bottom:26px}.forma-hero img{height:430px}.forma-products{padding-top:42px}.forma-products h2{font-size:35px;margin-bottom:26px}.forma-products .filter-nav{margin-bottom:26px}.forma-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 16px}.forma-product h3{font-size:17px}.product-bottom{font-size:17px}.forma-story{grid-template-columns:1fr;padding-top:55px}.forma-story h2{font-size:40px;margin:0 0 25px}.forma-story p{font-size:19px;margin-bottom:25px}.cart-link{font-size:15px}.forma-story img{aspect-ratio:1.1}}
