/*
Theme Name: Бисерная мастерская
Theme URI: 
Author: Biser Atelier
Description: Светлая адаптивная тема для мастерской изделий из бисера. Каталог и корзина работают с WooCommerce; резервирование — с плагином Biser Reservations.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: biser-atelier
Tags: e-commerce, custom-logo, custom-menu, featured-images
*/
:root{--paper:#faf7f2;--surface:#fffdf9;--ink:#302c2a;--muted:#736c65;--berry:#742c40;--berry-dark:#511c2c;--line:#e4dcd2;--blush:#efe1df;--sage:#e8eadd;--radius:4px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.7 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-decoration-thickness:1px;text-underline-offset:4px}img{max-width:100%;height:auto}button,input,textarea,select{font:inherit}a,button,input,select,textarea{touch-action:manipulation}:focus-visible{outline:3px solid var(--berry);outline-offset:4px}.container{width:min(1200px,calc(100% - 80px));margin-inline:auto}.announcement{text-align:center;padding:8px 20px;background:var(--berry);color:var(--surface);font-size:11px;letter-spacing:.15em}.site-header{min-height:112px;display:flex;align-items:center;gap:32px;justify-content:space-between;border-bottom:1px solid var(--line)}.brand>a{display:flex;align-items:center;gap:12px;text-decoration:none;font-family:Georgia,serif;font-size:21px;line-height:1.2}.brand-icon{font:44px Georgia;color:var(--berry)}.brand small{display:block;font:10px/2.5 system-ui;letter-spacing:.11em;color:var(--muted)}.custom-logo{max-width:210px;max-height:70px;width:auto}.site-header nav ul{display:flex;gap:25px;padding:0;margin:0;list-style:none;flex-wrap:wrap}.site-header nav a,.cart-link{font-size:13px;text-decoration:none}.site-header nav a:hover,.text-link:hover{color:var(--berry)}.cart-link{white-space:nowrap;border-bottom:1px solid var(--ink);padding:5px 0}.cart-link span{margin-left:12px}.hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:65px;padding-block:60px 70px}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:10px;font-weight:650;color:var(--berry);margin:0 0 24px}h1,h2,h3{font-family:Georgia,"Times New Roman",serif;font-weight:400;line-height:1.14;margin:0 0 24px}h1{font-size:clamp(38px,4.8vw,66px);letter-spacing:-.035em}h2{font-size:clamp(32px,3.5vw,46px);letter-spacing:-.025em}h3{font-size:25px}.hero-description{color:var(--muted);font-size:15px;max-width:405px;margin-bottom:30px}.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.wp-element-button{display:inline-flex;align-items:center;justify-content:center;gap:25px;background:var(--berry);color:var(--surface);border:1px solid var(--berry);border-radius:var(--radius);padding:15px 24px;text-decoration:none;font-size:13px;font-weight:500;line-height:1.4;cursor:pointer}.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce #respond input#submit:hover{background:var(--berry-dark);color:var(--surface)}.woocommerce button.button.alt,.woocommerce a.button.alt,.woocommerce input.button.alt{background:var(--berry);color:var(--surface)}.woocommerce button.button.alt:hover,.woocommerce a.button.alt:hover{background:var(--berry-dark)}.woocommerce button.button:disabled,.woocommerce button.button:disabled[disabled]{opacity:.55;color:var(--surface);padding:15px 24px}.hero-note{font-size:10px;color:var(--muted);margin-top:16px}.hero-art{position:relative}.hero-image{display:block;width:100%;aspect-ratio:1/.99;object-fit:cover;border-radius:48% 48% 4px 4px;background:var(--blush)}.art-caption{position:absolute;right:-10px;bottom:18px;transform:rotate(-6deg);background:var(--surface);border:1px solid var(--line);padding:15px 22px;font:italic 17px/1.4 Georgia;color:var(--berry);box-shadow:0 6px 24px #302c2a08}.values{border-block:1px solid var(--line)}.values .container{display:flex;justify-content:space-around;gap:20px;padding-block:20px}.values span{font-size:12px;letter-spacing:.02em;color:var(--muted)}.collection{padding-block:75px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:36px}.section-heading .eyebrow{margin-bottom:14px}.section-heading h2{margin-bottom:0}.text-link{font-size:12px;white-space:nowrap}.empty-collection{text-align:center;border:1px dashed var(--line);padding:60px 24px;background:var(--surface)}.empty-collection>span{font-size:36px;color:var(--berry)}.empty-collection h3{margin-top:14px}.empty-collection p{color:var(--muted);font-size:14px}.about-section{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center;padding-block:15px 80px}.about-visual{display:flex;align-items:center;justify-content:center;gap:30px;background:var(--sage);min-height:320px;border-radius:4px 100px 4px 4px}.about-visual>span{font-size:100px;font-family:Georgia;color:var(--berry)}.about-visual p{font:italic 25px/1.5 Georgia;color:var(--berry)}.about-copy>p:last-child{color:var(--muted);font-size:14px}.how-section{border-top:1px solid var(--line);padding-block:65px 80px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:45px;margin-top:42px}.steps article>span{font:italic 28px Georgia;color:var(--berry)}.steps h3{font-size:23px;margin:20px 0 16px}.steps p{font-size:13px;color:var(--muted)}.site-footer{background:#eee6dc;padding-block:45px}.footer-inner{display:flex;justify-content:space-between;gap:35px}.footer-brand{font:24px Georgia;text-decoration:none}.site-footer p,.site-footer a:not(.footer-brand){font-size:12px;color:var(--muted)}.page-content,.shop-main{min-height:50vh;padding-block:55px 80px}.page-content>h1{font-size:44px}.page-content p{max-width:800px}.home-extra{padding-top:0}.journal-entry{border-bottom:1px solid var(--line);padding:25px 0}.journal-entry h2 a{text-decoration:none}.skip-link{position:absolute;left:16px;top:-100px;z-index:100;background:var(--surface);padding:12px}.skip-link:focus{top:16px}.woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin:0 0 35px}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{width:auto!important;float:none!important;margin:0!important;position:relative;display:flex;flex-direction:column}.woocommerce ul.products li.product a img{aspect-ratio:4/5;object-fit:cover;border-radius:3px;margin:0 0 18px;background:var(--blush)}.woocommerce ul.products li.product .woocommerce-loop-product__title{font:24px/1.3 Georgia;padding:0;margin:0 0 9px}.woocommerce ul.products li.product .price{color:var(--berry);font-size:15px;margin-bottom:14px}.woocommerce ul.products li.product .button{align-self:flex-start;margin-top:auto;background:transparent;color:var(--berry);padding:8px 16px;border-color:var(--line)}.woocommerce ul.products li.product .button:hover{background:var(--berry);color:var(--surface)}.biser-stock-badge{position:absolute;top:12px;left:12px;z-index:2;padding:6px 12px;background:var(--surface);color:var(--berry);font-size:11px;border:1px solid var(--line);border-radius:20px}.woocommerce span.onsale{background:var(--berry);z-index:3;min-height:0;line-height:1.7;padding:7px 13px;border-radius:20px;font-size:11px}.woocommerce .woocommerce-breadcrumb{font-size:12px;color:var(--muted);margin-bottom:28px}.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{font-size:12px;margin-bottom:30px}.woocommerce div.product .product_title{font-size:44px}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--berry);font-size:24px}.woocommerce div.product div.images img{border-radius:4px}.woocommerce div.product .stock{color:var(--berry)}.woocommerce div.product .woocommerce-tabs ul.tabs li{background:var(--paper);border-color:var(--line)}.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--surface)}.woocommerce .quantity .qty{min-height:50px;width:75px}.woocommerce div.product form.cart .button{min-height:50px}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,input[type=text],input[type=email],input[type=tel],input[type=search],input[type=password],input[type=number],textarea,select{background:var(--surface);border:1px solid var(--line);border-radius:3px;padding:12px;color:var(--ink);max-width:100%}.woocommerce form .form-row label{font-size:13px;margin-bottom:5px}.woocommerce form .form-row textarea{min-height:110px}.woocommerce form.checkout #order_review_heading{margin-top:40px}.woocommerce-checkout #payment{background:#eee6dc;border-radius:4px}.woocommerce table.shop_table{border-color:var(--line);border-radius:4px;background:var(--surface)}.woocommerce table.shop_table th{font-size:13px}.woocommerce table.shop_table td{font-size:14px}.woocommerce-message,.woocommerce-info,.woocommerce-error{background:var(--surface);border-top-color:var(--berry);font-size:14px}.woocommerce-message:before,.woocommerce-info:before{color:var(--berry)}.woocommerce .cart-collaterals .cart_totals h2{font-size:32px}.woocommerce .related{clear:both;padding-top:35px}.woocommerce nav.woocommerce-pagination ul{border-color:var(--line)}.woocommerce nav.woocommerce-pagination ul li span.current{color:var(--berry);background:var(--blush)}.woocommerce .woocommerce-customer-details address{border-color:var(--line)}.woocommerce table.shop_table .product-thumbnail img{width:70px}.woocommerce-privacy-policy-text{font-size:12px}.woocommerce-order-received .woocommerce-notice{font:26px Georgia;color:var(--berry)}.biser-checkout-note{padding:16px 22px;background:var(--sage);border-radius:4px;margin-bottom:25px;font-size:14px}.wp-block-image img{border-radius:4px}.alignwide{max-width:100%}.screen-reader-text{clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}
@media(max-width:900px){.container{width:calc(100% - 40px)}.site-header{gap:20px;flex-wrap:wrap;padding-block:22px}.site-header nav{order:3;width:100%}.site-header nav ul{justify-content:center;gap:24px}.hero{gap:30px;padding-top:40px}h1{font-size:46px}.art-caption{right:0;font-size:14px}.about-section{gap:35px}.woocommerce ul.products{gap:22px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:21px}}
@media(max-width:600px){.container{width:calc(100% - 36px)}.announcement{font-size:9px}.brand>a{font-size:18px}.brand small{font-size:8px}.brand-icon{font-size:36px}.site-header nav a{font-size:12px}.hero{grid-template-columns:1fr;gap:30px;padding-block:35px 45px}.hero-copy h1{font-size:48px;max-width:380px}.hero-art{max-width:440px;width:100%;margin:auto}.hero-image{aspect-ratio:1/1}.values .container{flex-direction:column;align-items:center;gap:7px;padding-block:15px}.collection{padding-block:45px}.section-heading{align-items:flex-start;gap:15px}.section-heading h2{font-size:32px}.section-heading>.text-link{font-size:10px;margin-top:30px}.about-section{grid-template-columns:1fr;gap:30px;padding-bottom:45px}.about-visual{min-height:240px}.about-copy h2{font-size:36px}.how-section{padding-block:45px}.steps{grid-template-columns:1fr;gap:22px;margin-top:25px}.steps article{border-top:1px solid var(--line);padding-top:20px}.steps h3{margin-top:10px}.footer-inner{flex-direction:column;gap:20px}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 14px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:19px}.woocommerce ul.products li.product .price{font-size:13px}.woocommerce ul.products li.product .button{font-size:11px;padding:8px 10px}.biser-stock-badge{left:5px;top:5px;font-size:9px;padding:4px 7px}.woocommerce div.product .product_title{font-size:36px}.page-content,.shop-main{padding-block:35px 50px}.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{float:none;display:block}.woocommerce form.checkout .col2-set .col-1,.woocommerce form.checkout .col2-set .col-2{float:none;width:100%}.woocommerce table.shop_table td{overflow-wrap:anywhere}.woocommerce-cart table.cart td.actions .coupon{display:flex;flex-wrap:wrap;gap:8px}.woocommerce-cart table.cart td.actions .coupon .input-text{width:100%}.woocommerce-cart table.cart td.actions .coupon .button{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
