/*
Theme Name: Курочки от Нюрочки
Theme URI: https://kurochki-ot-nyurochki.derectim.chatgpt.site
Author: derectim
Description: Индивидуальная тема фермерского магазина с интеграцией WooCommerce, выезжающей корзиной, весовыми товарами и стартовым каталогом.
Version: 1.3.2
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: kurochki
Tags: e-commerce, food-and-drink, custom-logo, featured-images, responsive-layout
*/

:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #173227;
  background: #f8f4ea;
  font-synthesis: none;
  --green: #173d2b;
  --green-2: #285640;
  --cream: #f8f4ea;
  --cream-dark: #ece5d4;
  --orange: #d67638;
  --ink: #173227;
  --muted: #6d766f;
  --line: rgba(23, 50, 39, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--cream); }
body.overlay-open { overflow: hidden; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { left: 16px; top: 16px; z-index: 999; width: auto; height: auto; clip: auto; padding: 12px 18px; background: white; border-radius: 8px; color: var(--green); }
.container { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }

.topline { background: var(--green); color: rgba(255,255,255,.82); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.topline__inner { height: 35px; display: flex; align-items: center; justify-content: space-between; }
.topline__inner span { display: inline-flex; align-items: center; gap: 8px; }
.topline__farm { color: #e9d8a7; }

.header { position: sticky; top: 0; z-index: 40; background: rgba(248,244,234,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header__inner { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo__mark { width: 50px; height: 56px; display: grid; place-items: center; flex: 0 0 auto; }
.logo__mark img { width: 100%; height: 100%; object-fit: contain; }
.logo__mark--kurochki { width: 44px; }
.logo__mark--estate { width: 52px; }
.logo__copy { display: flex; flex-direction: column; line-height: .9; }
.logo__copy strong { font: 700 21px/1 Georgia, serif; letter-spacing: -.04em; }
.logo__copy em { color: var(--orange); font: italic 16px/1.2 Georgia, serif; }
.logo--estate { margin-left: auto; }
.logo--estate .logo__copy strong { font-size: 19px; }
.logo--light { color: #fff; }
.logo--light .logo__mark { padding: 4px; border-radius: 50%; background: #f8f4ea; }
.nav { display: flex; gap: clamp(22px, 3vw, 43px); font-size: 14px; font-weight: 700; }
.nav a { position: relative; padding: 10px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1px; background: var(--orange); transition: right .25s; }
.nav a:hover::after { right: 0; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.cart-button { height: 44px; border: 1px solid var(--green); background: transparent; border-radius: 999px; display: flex; align-items: center; gap: 9px; padding: 0 17px; cursor: pointer; font-size: 13px; font-weight: 700; transition: .2s; position: relative; }
.cart-button > .icon-cart { flex: 0 0 auto; stroke-width: 2; }
.cart-button:hover { background: var(--green); color: white; }
.cart-button .kurochki-cart-count { display: grid; place-items: center; min-width: 21px; height: 21px; border-radius: 50%; background: var(--orange); color: white; font-size: 11px; }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: var(--green); color: white; border-radius: 50%; place-items: center; cursor: pointer; }

.hero { min-height: 710px; padding: 65px 0 74px; overflow: hidden; position: relative; }
.hero::before { content: ''; position: absolute; width: 540px; height: 540px; border-radius: 50%; border: 1px solid rgba(23,61,43,.09); left: -330px; bottom: -250px; box-shadow: 0 0 0 68px rgba(23,61,43,.025), 0 0 0 135px rgba(23,61,43,.02); }
.hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(45px, 7vw, 100px); }
.hero__content { padding: 20px 0; position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; color: var(--orange); }
.eyebrow--green { color: var(--green-2); }
.eyebrow--light { color: #e9d8a7; }
h1, h2 { margin: 18px 0 20px; color: var(--ink); font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.055em; }
h1 { font-size: clamp(52px, 6vw, 83px); line-height: .95; }
h1 em, h2 em { color: var(--orange); font-weight: 400; }
.hero__content > p { max-width: 610px; margin: 0; color: #536058; font-size: 17px; line-height: 1.75; }
.hero__buttons { display: flex; align-items: center; gap: 12px; margin-top: 32px; }
.button { min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-size: 13px; font-weight: 800; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--green); color: white; }
.button--primary:hover { background: var(--green-2); }
.button--ghost { border-color: var(--line); background: rgba(255,255,255,.28); }
.button--cream { background: #f2e3b8; color: var(--green); }
.hero__proof { display: flex; flex-wrap: wrap; gap: 15px 24px; margin-top: 37px; padding-top: 27px; border-top: 1px solid var(--line); }
.hero__proof span { display: flex; align-items: center; gap: 8px; color: #516159; font-size: 12px; font-weight: 700; }
.hero__proof svg { color: var(--orange); }
.hero__visual { height: 600px; position: relative; }
.hero__visual::after { content: ''; position: absolute; inset: 34px -26px -24px 50px; border-radius: 220px 220px 24px 24px; background: #e8dfca; z-index: -1; }
.hero__visual > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% bottom; border-radius: 220px 220px 24px 24px; }
.hero__seal { position: absolute; top: 28px; left: -47px; width: 136px; height: 136px; border-radius: 50%; background: #f2e3b8; color: var(--green); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transform: rotate(-8deg); box-shadow: 0 12px 40px rgba(23,50,39,.12); border: 1px dashed rgba(23,61,43,.28); outline: 5px solid #f2e3b8; }
.hero__seal::before { content: '✦'; font-size: 15px; color: var(--orange); margin-bottom: 4px; }
.hero__seal span, .hero__seal small { text-transform: uppercase; letter-spacing: .14em; font-size: 8px; }
.hero__seal strong { margin: 2px 0; font: italic 21px Georgia, serif; }
.hero__note { position: absolute; right: -18px; bottom: 26px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; background: #fff; border-radius: 18px; box-shadow: 0 12px 44px rgba(23,50,39,.18); }
.hero__note-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 14px; background: #e3ecd9; color: var(--green); }
.hero__note span:last-child { display: flex; flex-direction: column; gap: 3px; }
.hero__note strong { font: 700 13px Georgia, serif; }
.hero__note small { color: var(--muted); font-size: 10px; }

.benefits { background: #e9e2d1; border-top: 1px solid rgba(23,50,39,.08); border-bottom: 1px solid rgba(23,50,39,.08); }
.benefits__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.benefits__grid > div { min-height: 128px; padding: 27px 35px; display: flex; align-items: flex-start; gap: 18px; border-right: 1px solid rgba(23,50,39,.12); }
.benefits__grid > div:first-child { border-left: 1px solid rgba(23,50,39,.12); }
.benefits__grid > div > span { color: var(--orange); font: italic 21px Georgia, serif; }
.benefits__grid p { margin: 0; color: #637168; font-size: 12px; line-height: 1.55; }
.benefits__grid strong { display: block; margin-bottom: 6px; color: var(--ink); font: 700 16px Georgia, serif; }

.founder { position: relative; overflow: hidden; background: #efe8d8; }
.founder::after { content: ''; position: absolute; width: 390px; height: 390px; border-radius: 50%; right: -210px; bottom: -230px; border: 1px solid rgba(23,61,43,.09); box-shadow: 0 0 0 62px rgba(23,61,43,.025), 0 0 0 124px rgba(23,61,43,.018); }
.founder__grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(55px, 8vw, 120px); position: relative; z-index: 1; }
.founder__visual { width: min(440px, 100%); position: relative; }
.founder__visual::before { content: ''; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid rgba(23,61,43,.18); border-radius: 26px 150px 26px 26px; }
.founder__visual img { width: 100%; height: auto; aspect-ratio: 1 / .98; object-fit: cover; object-position: center; border-radius: 26px 150px 26px 26px; position: relative; }
.founder__caption { position: absolute; right: -34px; bottom: 31px; padding: 14px 20px; border-radius: 999px; background: var(--green); color: #fff; font: italic 16px Georgia, serif; box-shadow: 0 14px 38px rgba(23,50,39,.2); }
.founder__content { max-width: 670px; }
.founder__content h2 { font-size: clamp(43px, 5vw, 67px); line-height: 1; }
.founder__content > p { max-width: 620px; margin: 0 0 12px; color: #5f6c63; font-size: 15px; line-height: 1.75; }
.founder__content .founder__lead { color: var(--ink); font: italic 22px/1.5 Georgia, serif; }
.founder__content .text-link { margin-top: 28px; }

.section { padding: 112px 0; }
.section-heading--row { display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: end; margin-bottom: 42px; }
.section-heading h2 { font-size: clamp(42px, 5.1vw, 68px); line-height: 1; margin-bottom: 0; }
.section-heading--row > p, .section-heading--center > p { color: var(--muted); font-size: 14px; line-height: 1.75; margin: 0 0 9px; }
.section-heading--center { max-width: 700px; text-align: center; margin: 0 auto 55px; }
.section-heading--center h2 { margin-bottom: 14px; }

.catalog { background: #fbf8f1; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 35px; }
.filters button { height: 42px; border-radius: 999px; padding: 0 18px; border: 1px solid var(--line); background: transparent; color: #5b675f; cursor: pointer; font-size: 12px; font-weight: 700; transition: .2s; }
.filters button:hover, .filters button.active { background: var(--green); border-color: var(--green); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { overflow: hidden; background: #fff; border-radius: 18px; border: 1px solid rgba(23,50,39,.09); transition: transform .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(23,50,39,.1); }
.product-card__image { position: relative; aspect-ratio: 1 / .92; overflow: hidden; background: #e9e2d2; }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.product-card:hover .product-card__image img { transform: scale(1.035); }
.product-card__badge, .product-card__category { position: absolute; top: 12px; padding: 7px 11px; border-radius: 999px; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.product-card__badge { left: 12px; background: #f2e3b8; color: var(--green); }
.product-card__category { right: 12px; background: rgba(255,255,255,.88); color: var(--green); backdrop-filter: blur(6px); }
.product-card__body { padding: 20px; }
.product-card__note { color: #879087; font-size: 11px; margin: 0 0 6px; }
.product-card h3 { min-height: 43px; margin: 0 0 18px; font: 700 19px/1.15 Georgia, serif; letter-spacing: -.02em; }
.product-card__footer { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { display: flex; flex-direction: column; gap: 2px; }
.price strong { font: 700 18px Georgia, serif; }
.price span { color: #8c938d; font-size: 10px; }
.add-button { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--green); color: white; cursor: pointer; transition: .2s; }
.add-button:hover { transform: rotate(90deg); background: var(--orange); }
.counter { height: 38px; display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.counter button { width: 34px; height: 100%; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; }
.counter span { min-width: 22px; text-align: center; font-size: 12px; font-weight: 800; }
.show-more { margin: 34px auto 0; padding: 10px 3px; border: 0; border-bottom: 1px solid var(--green); background: none; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; cursor: pointer; }
.catalog-empty { min-height: 210px; border: 1px dashed rgba(23,50,39,.22); border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); text-align: center; }
.catalog-empty svg { color: var(--orange); }
.catalog-empty strong { color: var(--ink); font: 700 20px Georgia, serif; }
.catalog-empty span { font-size: 12px; }

.about { overflow: hidden; }
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 9vw, 130px); align-items: center; }
.about__visual { position: relative; min-height: 620px; }
.about__image { height: 590px; width: 90%; overflow: hidden; border-radius: 26px 230px 26px 26px; }
.about__image img { width: 100%; height: 100%; object-fit: cover; object-position: 52% center; }
.about__visual::before { content: ''; position: absolute; width: 310px; height: 310px; border-radius: 50%; right: -10px; top: -27px; background: #e4dbc6; z-index: -1; }
.about__quote { position: absolute; right: -10px; bottom: 40px; width: 245px; padding: 24px; background: var(--green); color: #fff; border-radius: 18px; box-shadow: 0 18px 44px rgba(23,50,39,.23); }
.about__quote svg { color: #e9d8a7; fill: #e9d8a7; }
.about__quote p { margin: 12px 0 0; font: italic 16px/1.45 Georgia, serif; }
.about__content h2 { font-size: clamp(44px, 5.5vw, 72px); line-height: 1; }
.about__content > p { color: #637168; font-size: 14px; line-height: 1.8; }
.about__content .about__lead { color: var(--ink); font: 20px/1.55 Georgia, serif; }
.check-list { display: grid; gap: 12px; margin: 27px 0 30px; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; }
.check-list svg { width: 18px; color: var(--orange); }
.text-link { width: max-content; padding: 7px 0; border: 0; border-bottom: 1px solid var(--green); background: none; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; cursor: pointer; }

.quality { padding: 100px 0; background: var(--green); color: white; overflow: hidden; position: relative; }
.quality::after { content: ''; position: absolute; width: 430px; height: 430px; border-radius: 50%; border: 1px solid rgba(255,255,255,.07); right: -200px; top: -220px; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018); }
.quality__inner { position: relative; z-index: 1; }
.quality__intro { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid rgba(255,255,255,.16); margin-bottom: 54px; padding-bottom: 40px; }
.quality h2 { color: white; font-size: clamp(43px, 5vw, 67px); line-height: 1; margin: 14px 0 0; }
.quality h2 em { color: #e9d8a7; }
.quality__cards { display: grid; grid-template-columns: repeat(4, 1fr); }
.quality__cards article { min-height: 265px; padding: 12px 30px 10px; position: relative; border-right: 1px solid rgba(255,255,255,.14); }
.quality__cards article:first-child { padding-left: 0; }
.quality__cards article:last-child { border: 0; }
.quality__cards svg { width: 30px; height: 30px; color: #e9d8a7; margin-bottom: 52px; }
.quality__cards article > span { position: absolute; top: 12px; right: 28px; color: rgba(255,255,255,.35); font: italic 13px Georgia, serif; }
.quality__cards h3 { margin: 0 0 13px; font: 700 21px Georgia, serif; }
.quality__cards p { color: rgba(255,255,255,.59); font-size: 12px; line-height: 1.7; margin: 0; }

.delivery { background: #fbf8f1; }
.steps { max-width: 940px; margin: 0 auto 70px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 28px; align-items: center; }
.steps article { text-align: center; position: relative; }
.steps article > span { position: absolute; right: 26px; top: 2px; color: #b5b8b0; font: italic 13px Georgia, serif; }
.steps article > svg { width: 58px; height: 58px; padding: 16px; border-radius: 50%; background: #e7e0cd; color: var(--green); margin-bottom: 13px; }
.steps h3 { font: 700 18px Georgia, serif; margin: 4px 0 8px; }
.steps p { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 0; }
.steps > .icon-arrow-right { width: 23px; height: 23px; padding: 0; margin: 0; background: transparent; color: #9a9f99; }
.delivery-details { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: -24px 0 16px; }
.delivery-details article { min-height: 118px; display: flex; align-items: flex-start; gap: 14px; padding: 23px 21px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.delivery-details article > svg { width: 25px; height: 25px; flex: 0 0 auto; color: var(--orange); }
.delivery-details article div { display: flex; flex-direction: column; gap: 7px; }
.delivery-details span { color: var(--muted); font-size: 10px; line-height: 1.35; }
.delivery-details strong { font: 700 15px/1.35 Georgia, serif; }
.delivery-note { max-width: 920px; margin: 0 auto 34px; color: var(--muted); text-align: center; font-size: 11px; line-height: 1.65; }
.wholesale { display: grid; grid-template-columns: auto 1.2fr 1fr auto; align-items: center; gap: 25px; padding: 33px 36px; border-radius: 22px; background: var(--green); color: white; }
.wholesale__icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.09); color: #e9d8a7; }
.wholesale span { color: #e9d8a7; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; }
.wholesale h3 { margin: 7px 0 0; font: 700 20px Georgia, serif; }
.wholesale p { color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.6; }

.faq { background: #ece5d5; }
.faq__grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 100px; }
.faq__intro h2 { font-size: clamp(45px, 5.5vw, 72px); line-height: .98; }
.faq__intro p { max-width: 360px; color: var(--muted); font-size: 13px; line-height: 1.7; margin-bottom: 25px; }
.accordion { border-top: 1px solid rgba(23,50,39,.16); }
.accordion article { border-bottom: 1px solid rgba(23,50,39,.16); }
.accordion button { width: 100%; min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 0; background: none; text-align: left; cursor: pointer; padding: 20px 4px; }
.accordion button span { font: 700 18px Georgia, serif; }
.accordion button svg { width: 19px; transition: transform .25s; }
.accordion article.open button svg { transform: rotate(180deg); }
.accordion__content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s; }
.accordion__content p { overflow: hidden; color: var(--muted); font-size: 13px; line-height: 1.7; margin: 0; }
.accordion article.open .accordion__content { grid-template-rows: 1fr; }
.accordion article.open .accordion__content p { padding: 0 40px 24px 4px; }

.footer { background: #102d20; color: rgba(255,255,255,.65); }
.footer__top { padding: 70px 0 60px; display: grid; grid-template-columns: 1.2fr .65fr .85fr 1.4fr; gap: 50px; }
.footer__brand p { max-width: 240px; font-size: 12px; line-height: 1.7; margin-top: 21px; }
.footer__nav { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 12px; }
.footer__nav span, .footer__cta > span { color: #e9d8a7; margin-bottom: 8px; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.footer__nav a, .footer__nav button { color: rgba(255,255,255,.68); border: 0; background: none; padding: 0; cursor: pointer; }
.footer__nav a:hover, .footer__nav button:hover { color: white; }
.footer__cta { padding-left: 35px; border-left: 1px solid rgba(255,255,255,.13); }
.footer__cta h3 { color: #fff; font: 700 22px/1.35 Georgia, serif; margin: 9px 0 21px; }
.footer__cta .button { min-height: 46px; }
.footer__bottom { min-height: 65px; border-top: 1px solid rgba(255,255,255,.1); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; font-size: 10px; letter-spacing: .04em; }
.footer__bottom span:nth-child(2) { text-align: center; }
.footer__bottom span:last-child { text-align: right; }

.floating-cart { display: none; position: fixed; z-index: 32; right: 20px; bottom: 20px; width: 55px; height: 55px; border: 0; border-radius: 50%; background: var(--green); color: #fff; place-items: center; box-shadow: 0 10px 30px rgba(23,50,39,.3); }
.floating-cart span { position: absolute; right: -1px; top: -2px; min-width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); font-size: 10px; font-weight: 800; border: 2px solid var(--cream); }
.backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(10,25,18,.55); opacity: 0; visibility: hidden; transition: .3s; backdrop-filter: blur(3px); }
.backdrop.visible { opacity: 1; visibility: visible; }
.cart-drawer, .mobile-menu { position: fixed; top: 0; right: 0; width: min(470px, 100%); height: 100dvh; z-index: 80; background: #fbf8f1; transform: translateX(100%); transition: transform .35s cubic-bezier(.7,0,.2,1); }
.cart-drawer.open, .mobile-menu.open { transform: translateX(0); }
.cart-drawer { display: flex; flex-direction: column; }
.kurochki-cart-fragment { min-height: 0; flex: 1; display: flex; flex-direction: column; }
.drawer__head { padding: 28px 30px 23px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.drawer__head span { color: var(--orange); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.drawer__head h2 { margin: 4px 0 0; font-size: 35px; }
.drawer__head button, .mobile-menu__head button, .order-modal__close { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); background: transparent; border-radius: 50%; cursor: pointer; }
.drawer__body { flex: 1; overflow: auto; padding: 10px 30px; }
.empty-cart { height: 100%; min-height: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-cart > span { width: 70px; height: 70px; border-radius: 50%; background: #e8e1cf; display: grid; place-items: center; }
.empty-cart h3 { font: 700 24px Georgia, serif; margin: 20px 0 6px; }
.empty-cart p { color: var(--muted); font-size: 13px; margin: 0 0 22px; }
.cart-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 15px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item__image img, .cart-item > img { width: 84px; height: 84px; object-fit: cover; border-radius: 13px; }
.cart-item h3 { font: 700 15px Georgia, serif; margin: 4px 0 5px; }
.cart-item p { color: var(--muted); font-size: 10px; margin: 0 0 10px; }
.cart-item .counter { width: max-content; height: 30px; }
.cart-item .counter button { width: 29px; }
.cart-item__remove { align-self: start; border: 0; background: none; color: #959b96; cursor: pointer; padding: 4px; }
.drawer__footer { padding: 22px 30px 28px; border-top: 1px solid var(--line); background: #fff; }
.drawer__footer > div { display: flex; align-items: center; justify-content: space-between; }
.drawer__footer > div span { font-size: 12px; font-weight: 700; }
.drawer__footer > div strong { font: 700 24px Georgia, serif; }
.drawer__footer > p { color: var(--muted); font-size: 10px; }
.drawer__footer .button { width: 100%; min-height: 42px !important; height: 42px; padding: 0 18px !important; display: flex !important; align-items: center !important; justify-content: center !important; line-height: 1 !important; text-align: center; }
.drawer__footer .button svg { flex: 0 0 auto; align-self: center; }
.mobile-menu { left: 0; right: auto; transform: translateX(-100%); padding: 26px; }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.mobile-menu__logos { min-width: 0; display: flex; align-items: center; gap: 18px; }
.mobile-menu__logos .logo--estate { margin-left: 0; }
.mobile-menu nav { display: flex; flex-direction: column; margin-top: 10px; }
.mobile-menu nav a { min-height: 66px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font: 700 24px Georgia, serif; }
.mobile-menu > p { color: var(--muted); margin-top: 28px; font-size: 12px; line-height: 1.6; }
.order-modal { position: fixed; left: 50%; top: 50%; z-index: 90; width: min(530px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 43px; border-radius: 24px; background: #fbf8f1; opacity: 0; visibility: hidden; transform: translate(-50%, -46%) scale(.96); transition: .25s; }
.order-modal.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.order-modal__close { position: absolute; top: 20px; right: 20px; }
.order-modal h2 { font-size: 44px; margin: 13px 0 8px; }
.order-modal form > p, .order-success > p { color: var(--muted); font-size: 13px; line-height: 1.65; margin-bottom: 25px; }
.order-modal label { display: flex; flex-direction: column; gap: 7px; margin-bottom: 15px; color: #58645c; font-size: 11px; font-weight: 700; }
.order-modal input, .order-modal textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: white; padding: 14px 15px; outline: none; resize: vertical; }
.order-modal input:focus, .order-modal textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(23,61,43,.07); }
.order-modal .consent { flex-direction: row; align-items: flex-start; font-weight: 400; line-height: 1.4; }
.order-modal .consent input { width: 16px; margin-top: 1px; }
.order-modal form > .button { width: 100%; margin-top: 6px; }
.hp-field { position: absolute !important; left: -9999px !important; }
.form-status { min-height: 20px; margin: 2px 0 10px; font-size: 12px; line-height: 1.5; }
.form-status.is-success { color: #267444; }
.form-status.is-error { color: #b43b32; }
.button:disabled, .counter button:disabled { cursor: wait; opacity: .55; }
.button.is-loading::after { content: ''; width: 15px; height: 15px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: kurochki-spin .7s linear infinite; }
@keyframes kurochki-spin { to { transform: rotate(360deg); } }
.order-success { text-align: center; padding: 30px 5px 10px; }
.order-success > span { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto; background: #dfe9d7; color: var(--green); }
.order-success .button { min-width: 170px; }

@media (max-width: 1050px) {
  .nav { display: none; }
  .logo--estate { margin-left: auto; }
  .menu-button { display: grid; }
  .hero__grid { gap: 45px; }
  .hero__visual { height: 530px; }
  .hero__seal { left: -25px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .about__grid { gap: 70px; }
  .quality__cards { grid-template-columns: repeat(2, 1fr); gap: 38px 0; }
  .quality__cards article:nth-child(2) { border-right: 0; }
  .wholesale { grid-template-columns: auto 1fr auto; }
  .wholesale > p { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__cta { grid-column: 1 / -1; border: 0; border-top: 1px solid rgba(255,255,255,.13); padding: 35px 0 0; display: flex; align-items: center; gap: 30px; }
  .footer__cta h3 { flex: 1; margin: 0; }
}

@media (max-width: 820px) {
  .container { width: min(100% - 32px, 680px); }
  .topline__farm { display: none !important; }
  .topline__inner { justify-content: center; text-align: center; font-size: 9px; }
  .header__inner { height: 70px; gap: 12px; }
  .header > .header__inner > .logo--estate { display: inline-flex; }
  .header__actions { gap: 8px; }
  .cart-button .cart-button__label { display: none; }
  .cart-button { width: 44px; padding: 0; justify-content: center; border-radius: 50%; position: relative; }
  .cart-button .kurochki-cart-count { position: absolute; z-index: 2; top: -6px; right: -6px; min-width: 20px; width: auto; height: 20px; padding: 0 5px; border: 2px solid var(--cream); font-size: 10px; line-height: 1; }
  .cart-button > .icon-cart { width: 22px; height: 22px; }
  .hero { padding: 44px 0 60px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { width: min(540px, 100%); height: 570px; margin: 5px auto 0; }
  .hero__visual::after { right: -14px; }
  .hero__seal { left: -5px; top: 35px; }
  .hero__note { right: -7px; }
  .benefits__grid { grid-template-columns: 1fr; }
  .benefits__grid > div { min-height: 104px; border-right: 1px solid rgba(23,50,39,.12); border-bottom: 1px solid rgba(23,50,39,.12); }
  .section { padding: 82px 0; }
  .section-heading--row { grid-template-columns: 1fr; gap: 18px; }
  .section-heading--row > p { max-width: 500px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .founder__grid { grid-template-columns: 1fr; }
  .founder__visual { margin: 0 auto; }
  .founder__content { max-width: 620px; }
  .about__grid { grid-template-columns: 1fr; }
  .about__visual { width: min(580px, 100%); margin: 0 auto; }
  .about__content { max-width: 620px; }
  .quality__intro { display: block; }
  .steps { grid-template-columns: 1fr; max-width: 430px; gap: 18px; }
  .steps article { padding: 12px 0; }
  .steps__arrow { transform: rotate(90deg); margin: 0 auto; }
  .delivery-details { grid-template-columns: repeat(2, 1fr); margin-top: -20px; }
  .wholesale { grid-template-columns: auto 1fr; }
  .wholesale .button { grid-column: 1 / -1; }
  .faq__grid { grid-template-columns: 1fr; gap: 55px; }
  .faq__intro h2 br { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__cta { display: block; }
  .footer__cta h3 { margin: 8px 0 20px; }
  .footer__bottom { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .footer__bottom span:nth-child(2), .footer__bottom span:last-child { text-align: left; }
  .floating-cart { display: grid; }
}

@media (max-width: 540px) {
  .container { width: calc(100% - 24px); }
  .header__inner { gap: 8px; }
  .logo { gap: 6px; }
  .logo__mark { width: 40px; height: 48px; }
  .logo__mark--kurochki { width: 34px; }
  .logo__mark--estate { width: 42px; }
  .logo__copy strong { font-size: 16px; }
  .logo__copy em { font-size: 12px; }
  .hero { padding-top: 36px; }
  h1 { font-size: 48px; }
  .hero__content > p { font-size: 15px; line-height: 1.65; }
  .hero__buttons { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero__proof { display: grid; grid-template-columns: 1fr 1fr; }
  .hero__visual { height: 445px; }
  .hero__visual > img, .hero__visual::after { border-radius: 150px 150px 20px 20px; }
  .hero__seal { width: 104px; height: 104px; left: 2px; top: 16px; }
  .hero__seal strong { font-size: 17px; }
  .hero__seal small { display: none; }
  .hero__note { bottom: 15px; padding-right: 13px; }
  .hero__note-icon { width: 38px; height: 38px; }
  .benefits__grid > div { padding: 24px 20px; }
  .section { padding: 70px 0; }
  .section-heading h2, .about__content h2, .faq__intro h2 { font-size: 43px; }
  .founder__content h2 { font-size: 43px; }
  .founder__visual { width: calc(100% - 12px); }
  .founder__visual::before { inset: 14px -12px -14px 12px; border-radius: 20px 105px 20px 20px; }
  .founder__visual img { border-radius: 20px 105px 20px 20px; }
  .founder__caption { right: -6px; bottom: 18px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-left: -12px; margin-right: -12px; padding: 0 12px 7px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: 0 0 auto; }
  .product-grid { gap: 10px; }
  .product-card { border-radius: 13px; }
  .product-card__image { aspect-ratio: .92 / 1; }
  .product-card__category { display: none; }
  .product-card__badge { top: 8px; left: 8px; padding: 6px 8px; font-size: 7px; }
  .product-card__body { padding: 13px 11px 14px; }
  .product-card__note { font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .product-card h3 { min-height: 37px; font-size: 15px; margin-bottom: 12px; }
  .price strong { font-size: 15px; }
  .price span { font-size: 8px; }
  .add-button { width: 37px; height: 37px; }
  .product-card .counter { height: 34px; }
  .product-card .counter button { width: 27px; }
  .about__visual { min-height: 470px; }
  .about__image { width: 95%; height: 450px; border-radius: 20px 150px 20px 20px; }
  .about__quote { width: 210px; right: 0; bottom: -5px; padding: 18px; }
  .about__quote p { font-size: 14px; }
  .about__content .about__lead { font-size: 18px; }
  .quality { padding: 74px 0; }
  .quality h2 { font-size: 43px; }
  .quality__cards { grid-template-columns: 1fr; gap: 0; }
  .quality__cards article { min-height: 0; padding: 28px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .quality__cards svg { margin-bottom: 24px; }
  .quality__cards article > span { right: 4px; top: 30px; }
  .delivery-details { grid-template-columns: 1fr; gap: 8px; }
  .delivery-details article { min-height: 0; padding: 18px; }
  .delivery-note { text-align: left; }
  .wholesale { padding: 25px; gap: 15px; }
  .wholesale__icon { width: 52px; height: 52px; }
  .wholesale h3 { font-size: 17px; }
  .accordion button { min-height: 72px; }
  .accordion button span { font-size: 16px; }
  .footer__top { grid-template-columns: 1fr; padding-top: 55px; }
  .footer__brand, .footer__cta { grid-column: auto; }
  .order-modal { padding: 38px 22px 24px; }
  .order-modal h2 { font-size: 36px; }
  .drawer__head, .drawer__body, .drawer__footer { padding-left: 20px; padding-right: 20px; }
  .drawer__footer .button { min-height: 42px !important; height: 42px !important; padding-top: 0 !important; padding-bottom: 0 !important; }
}

@media (max-width: 430px) {
  .header__inner { gap: 7px; }
  .header > .header__inner > .logo { gap: 0; }
  .header > .header__inner > .logo .logo__copy { display: none; }
  .header > .header__inner > .logo--estate { margin-left: 0; }
  .header__actions { margin-left: auto; gap: 7px; }
  .header .cart-button, .header .menu-button { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* WordPress content and WooCommerce */
.product-card__image { display: block; }
.product-card h3 a:hover, .cart-item h3 a:hover { color: var(--orange); }
.footer__contacts { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 18px; font-size: 12px; }
.footer__contacts a { color: #fff; }
.floating-cart .kurochki-cart-count:empty, .cart-button .kurochki-cart-count:empty { display: none; }
.steps > .icon-arrow-right { flex: 0 0 auto; }
.content-main, .woo-main { min-height: 60vh; padding: 90px 0; background: #fbf8f1; }
.content-grid { display: grid; gap: 45px; }
.content-header { max-width: 820px; }
.content-header h1, .prose h1, .error-page h1 { font-size: clamp(46px, 6vw, 76px); }
.post-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.post-card { display: grid; grid-template-columns: minmax(180px, .7fr) 1fr; gap: 25px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.post-card__image { min-height: 230px; border-radius: 14px; overflow: hidden; }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; }
.post-card time, .prose time { color: var(--orange); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.post-card h2 { margin: 10px 0; font-size: 29px; }
.post-card p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.prose { max-width: 900px; }
.prose article > img { width: 100%; margin: 32px 0; border-radius: 24px; }
.prose p, .prose li, .archive-description { color: #536058; font-size: 16px; line-height: 1.8; }
.prose h2 { margin-top: 45px; font-size: 42px; }
.prose h3 { margin-top: 32px; font: 700 27px Georgia, serif; }
.prose a:not(.button) { color: var(--orange); text-decoration: underline; }
.error-page { max-width: 760px; text-align: center; }
.error-page .button { margin-top: 20px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 35px; }
.nav-links .page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; }
.nav-links .current { background: var(--green); color: #fff; border-color: var(--green); }

.woo-main .woocommerce-breadcrumb { margin-bottom: 35px; color: var(--muted); font-size: 11px; }
.woo-main .page-title { font-size: clamp(46px, 6vw, 72px); }
.woocommerce .woocommerce-result-count { color: var(--muted); font-size: 12px; }
.woocommerce .woocommerce-ordering { float: right; margin-top: -35px; }
.woocommerce select, .woocommerce input.input-text, .woocommerce textarea, .woocommerce .select2-container--default .select2-selection--single { min-height: 48px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 10px 13px; }
.woocommerce ul.products { clear: both; margin: 38px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; padding-bottom: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.woocommerce ul.products li.product a img { width: 100%; aspect-ratio: 1/.92; object-fit: cover; margin: 0 0 18px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product .price { padding: 0 18px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 52px; color: var(--ink); font: 700 19px/1.3 Georgia, serif; }
.woocommerce ul.products li.product .price { color: var(--ink); font: 700 18px Georgia, serif; }
.woocommerce ul.products li.product .button { min-height: 42px; margin: 15px 18px 0; padding: 0 18px; background: var(--green); color: #fff; }
.woocommerce span.onsale { z-index: 2; min-width: auto; min-height: auto; margin: 12px !important; padding: 7px 11px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 10px; line-height: 1; }
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(400px, .9fr); gap: clamp(45px, 7vw, 90px); }
.woocommerce div.product .woocommerce-product-gallery, .woocommerce div.product .summary { width: auto !important; float: none !important; }
.woocommerce div.product .woocommerce-product-gallery__wrapper img { border-radius: 26px; }
.woocommerce div.product .product_title { margin-top: 0; font-size: clamp(42px, 5vw, 66px); }
.woocommerce div.product p.price { color: var(--green); font: 700 27px Georgia, serif; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--muted); font-size: 15px; line-height: 1.75; }
.woocommerce .quantity .qty { width: 74px; height: 52px; border: 1px solid var(--line); border-radius: 999px; text-align: center; }
.woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #respond input#submit { min-height: 50px; padding: 0 23px; border: 0; border-radius: 999px; background: var(--green); color: #fff; font-weight: 800; }
.woocommerce button.button, .woocommerce a.button { display: inline-flex; align-items: center; justify-content: center; line-height: 1.2; text-align: center; }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button { min-height: 50px; margin-top: 0; margin-bottom: 0; }
.woocommerce button.button:hover, .woocommerce a.button:hover, .woocommerce input.button:hover { background: var(--green-2); color: #fff; }
.weight-notice { display: flex; align-items: flex-start; gap: 11px; margin: 22px 0; padding: 16px 18px; border-radius: 14px; background: #ece5d4; color: #526058; font-size: 12px; line-height: 1.6; }
.weight-notice svg { flex: 0 0 auto; color: var(--orange); }
.weight-notice strong { color: var(--ink); }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; margin-top: 50px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 8px; padding: 0; border: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs .panel { padding: 20px 0; color: var(--muted); line-height: 1.75; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { margin: 0 0 25px; padding: 18px 20px 18px 52px; border: 0; border-radius: 14px; background: #e5ecde; color: var(--ink); line-height: 1.5; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { top: 18px; color: var(--green); }
.woocommerce-error { background: #f5e0dc; }
.woocommerce-cart-form, .cart_totals, .woocommerce-checkout-review-order, .woocommerce-checkout .col2-set, .woocommerce-order { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.woocommerce table.shop_table { border: 0; border-collapse: collapse; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 17px 12px; border-color: var(--line); }
.woocommerce table.shop_table img { width: 74px; border-radius: 10px; }
.woocommerce .cart-collaterals { margin-top: 28px; }
.woocommerce .cart-collaterals .cart_totals { float: none; width: min(540px, 100%); margin-left: auto; }
.woocommerce form.checkout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: 28px; }
.woocommerce form.checkout > h3 { margin: 0; }
.woocommerce form.checkout #customer_details { grid-column: 1; }
.woocommerce form.checkout #order_review_heading, .woocommerce form.checkout #order_review { grid-column: 2; }
.woocommerce form.checkout #order_review_heading { grid-row: 1; align-self: end; }
.woocommerce form.checkout #order_review { grid-row: 2 / span 2; }
.woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2 { float: none; width: 100%; }
.woocommerce .col2-set .col-2 { margin-top: 24px; }
.woocommerce form .form-row { margin-bottom: 13px; }
.woocommerce form .form-row label { margin-bottom: 6px; color: #536058; font-size: 12px; font-weight: 700; }
.woocommerce-checkout #payment { background: #ece5d4; border-radius: 14px; }
.woocommerce-checkout #payment ul.payment_methods { border-color: var(--line); }
.woocommerce-account .woocommerce-MyAccount-navigation { float: left; width: 25%; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 18px; border-radius: 16px; background: #ece5d4; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 10px; }
.woocommerce-account .woocommerce-MyAccount-content { float: right; width: 70%; }
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { margin: 0 auto; padding: 70px max(24px, calc((100% - 1240px) / 2)); background: #fbf8f1; }
.wc-block-components-sidebar, .wc-block-cart-items, .wc-block-components-order-summary, .wc-block-checkout__main, .wc-block-checkout__sidebar { border-color: var(--line) !important; }
.wc-block-components-sidebar, .wc-block-checkout__main { padding: 24px !important; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.wc-block-components-button { min-height: 52px !important; border: 0 !important; border-radius: 999px !important; background: var(--green) !important; color: #fff !important; font-weight: 800 !important; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input { border: 1px solid var(--line) !important; border-radius: 12px !important; background: #fff !important; }
.wc-block-cart-item__image img { border-radius: 12px; }
.wc-block-components-product-name { color: var(--ink); font-family: Georgia, serif; font-weight: 700; }
.wc-block-components-totals-wrapper { border-color: var(--line) !important; }

@media (max-width: 1050px) {
  .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
  .woocommerce div.product { grid-template-columns: minmax(0, 1fr) minmax(330px, .9fr); }
  .post-list { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .steps > .icon-arrow-right { transform: rotate(90deg); margin: 0 auto; }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
  .woocommerce div.product, .woocommerce form.checkout { grid-template-columns: 1fr; }
  .woocommerce form.checkout #customer_details, .woocommerce form.checkout #order_review_heading, .woocommerce form.checkout #order_review { grid-column: 1; grid-row: auto; }
  .woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none; width: 100%; }
  .woocommerce-account .woocommerce-MyAccount-navigation { margin-bottom: 25px; }
  .post-card { grid-template-columns: 220px 1fr; }
}

@media (max-width: 540px) {
  .mobile-menu__head { align-items: flex-start; }
  .mobile-menu__logos { gap: 8px; }
  .mobile-menu__logos .logo { gap: 2px; }
  .mobile-menu__logos .logo__copy { display: none; }
  .content-main, .woo-main { padding: 64px 0; }
  .woocommerce .woocommerce-ordering { float: none; margin: 0 0 20px; }
  .woocommerce ul.products { gap: 10px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 54px; padding: 0 11px; font-size: 15px; }
  .woocommerce ul.products li.product .price { padding: 0 11px; font-size: 15px; }
  .woocommerce ul.products li.product .button { width: calc(100% - 22px); min-height: 38px; margin: 11px 11px 0; padding: 0 10px; font-size: 11px; }
  .woocommerce-cart-form, .cart_totals, .woocommerce-checkout-review-order, .woocommerce-checkout .col2-set, .woocommerce-order { padding: 16px; }
  .woocommerce table.shop_table_responsive tr td::before { margin-right: 12px; }
  .post-card { grid-template-columns: 1fr; }
  .post-card__image { min-height: 210px; }
}

/* ================================================================
   WooCommerce storefront — product, category, cart and checkout
   ================================================================ */

.woo-main { padding: 68px 0 100px; }
.woo-main > .container { position: relative; }
.woo-main .woocommerce-breadcrumb { margin: 0 0 26px; }
.woo-main .page-title { max-width: 820px; margin: 0 0 18px; line-height: .96; }
.woocommerce-products-header__title.page-title { font-size: clamp(48px, 6vw, 76px); }
.woocommerce-products-header .term-description { max-width: 700px; color: var(--muted); font-size: 14px; line-height: 1.75; }

.shop-category-nav { clear: both; display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 32px; }
.shop-category-nav a { min-height: 42px; display: inline-flex; align-items: center; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; color: #5b675f; font-size: 12px; font-weight: 700; transition: .2s; }
.shop-category-nav a:hover, .shop-category-nav a.is-active { border-color: var(--green); background: var(--green); color: #fff; }
.shop-category-nav + .woocommerce-result-count { margin-top: 12px; }

.woocommerce ul.products { align-items: stretch; margin-top: 28px; }
.woocommerce ul.products li.product.product-card { width: auto !important; min-width: 0; margin: 0 !important; padding: 0; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid rgba(23,50,39,.1); border-radius: 19px; }
.woocommerce ul.products li.product.product-card .product-card__image { width: 100%; margin: 0; display: block; aspect-ratio: 1 / .92; }
.woocommerce ul.products li.product.product-card .product-card__image img { width: 100%; height: 100%; margin: 0; aspect-ratio: auto; object-fit: cover; }
.woocommerce ul.products li.product.product-card .product-card__body { flex: 1; display: flex; flex-direction: column; }
.woocommerce ul.products li.product.product-card .product-card__body h3 { min-height: 43px; }
.woocommerce ul.products li.product.product-card .product-card__footer { margin-top: auto; }
.woocommerce ul.products li.product.product-card .price { display: flex; padding: 0; color: var(--ink); }
.woocommerce ul.products li.product.product-card .price strong { padding: 0; font: 700 18px Georgia, serif; }
.woocommerce ul.products li.product.product-card .price span { padding: 0; font-family: Arial, Helvetica, sans-serif; }
.woocommerce ul.products li.product.product-card .add-button { width: 44px; min-width: 44px; height: 44px; min-height: 44px; margin: 0; padding: 0; color: #fff; border-radius: 50%; }

.single-product .woo-main { padding-top: 54px; }
.single-product.woocommerce div.product { align-items: start; }
.single-product .woocommerce-product-gallery { position: relative !important; top: auto !important; overflow: visible; opacity: 1 !important; }
.single-product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product .woocommerce-product-gallery .flex-viewport { overflow: hidden !important; border-radius: 27px; }
.single-product .woocommerce-product-gallery__image > a { display: block; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid var(--line); border-radius: 27px; background: #e9e2d2; }
.single-product .woocommerce-product-gallery__image img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0 !important; }
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger { top: 18px; right: 18px; left: auto; z-index: 4; width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 8px 25px rgba(23,50,39,.12); }
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger::before { top: 13px; left: 13px; }
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger::after { top: 26px; left: 27px; }
.single-product .woocommerce-product-gallery .flex-control-thumbs { clear: both; display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 80px)); gap: 10px; margin: 12px 0 0 !important; padding: 0; list-style: none; }
.single-product .woocommerce-product-gallery .flex-control-thumbs[hidden],
.single-product .woocommerce-product-gallery .flex-control-thumbs:not(:has(li:nth-child(2))) { display: none !important; }
.single-product .woocommerce-product-gallery .flex-control-thumbs li { float: none !important; width: auto !important; margin: 0 !important; }
.single-product .woocommerce-product-gallery .flex-control-thumbs img { width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; padding: 3px; object-fit: cover; border: 1px solid var(--line); border-radius: 13px !important; background: #fff; opacity: .68; cursor: pointer; transition: border-color .2s, box-shadow .2s, opacity .2s; }
.single-product .woocommerce-product-gallery .flex-control-thumbs img:hover,
.single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); opacity: 1; }
.single-product.woocommerce div.product .summary { min-height: 100%; margin: 0 !important; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: 27px; background: #fff; }
.single-product.woocommerce div.product .product_title { margin: 0 0 15px; line-height: .98; }
.single-product.woocommerce div.product p.price { display: inline-flex; margin: 0; font-size: 29px; }
.single-product-unit { display: inline-flex; margin: 0 0 28px 9px; color: var(--muted); font-size: 12px; }
.single-product .woocommerce-product-details__short-description { margin: 0 0 20px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.single-product .woocommerce-product-details__short-description p { margin: 0; }
.single-product.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 25px 0 22px; }
.single-product.woocommerce div.product form.cart::before, .single-product.woocommerce div.product form.cart::after { display: none; }
.single-product.woocommerce div.product form.cart .button { flex: 1; min-height: 54px; }
.single-product.woocommerce div.product .product_meta { padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.8; }
.single-product.woocommerce div.product .product_meta .sku_wrapper { display: none; }
.single-product.woocommerce div.product .product_meta a { color: var(--green); font-weight: 700; }
.single-product .weight-notice { margin: 0 0 18px; }
.single-product.woocommerce div.product .woocommerce-tabs { padding-top: 10px; border-top: 1px solid var(--line); }
.single-product.woocommerce div.product .woocommerce-tabs ul.tabs { margin-bottom: 5px; }
.single-product.woocommerce div.product .woocommerce-tabs .panel { max-width: 820px; margin: 0; }
.single-product.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: 34px; }
.single-product.woocommerce div.product .related { margin-top: 76px; }
.single-product.woocommerce div.product .related > h2 { margin-bottom: 30px; font-size: clamp(38px, 4vw, 54px); }

/* WooCommerce and Gutenberg sometimes load button colors after the theme. */
body.woocommerce button.button,
body.woocommerce a.button,
body.woocommerce input.button,
body.woocommerce #respond input#submit,
body.woocommerce-page button.button,
body.woocommerce-page a.button,
body.woocommerce-page input.button,
body.woocommerce-page .wp-element-button,
.woocommerce-checkout #payment #place_order,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.wc-block-components-button:not(.is-link) {
  border-color: var(--green) !important;
  background: var(--green) !important;
  color: #fff !important;
}
body.woocommerce button.button:hover,
body.woocommerce a.button:hover,
body.woocommerce input.button:hover,
body.woocommerce-page button.button:hover,
body.woocommerce-page a.button:hover,
body.woocommerce-page input.button:hover,
body.woocommerce-page .wp-element-button:hover,
.woocommerce-checkout #payment #place_order:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.wc-block-components-button:not(.is-link):hover {
  border-color: var(--green-2) !important;
  background: var(--green-2) !important;
  color: #fff !important;
}

.commerce-main { padding: 70px 0 100px; }
.commerce-page { max-width: none; }
.commerce-page > article > header h1 { margin: 0 0 42px; font-size: clamp(48px, 6vw, 76px); line-height: .96; }
.commerce-page > article > .entry-content { max-width: none; }
.commerce-page .wp-block-woocommerce-cart, .commerce-page .wp-block-woocommerce-checkout { width: 100%; max-width: none; margin: 0; padding: 0; background: transparent; }

.woocommerce-cart .commerce-page .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 390px); gap: 28px; align-items: start; }
.woocommerce-cart .commerce-page .woocommerce-notices-wrapper, .woocommerce-cart .commerce-page .woocommerce > .woocommerce-message, .woocommerce-cart .commerce-page .woocommerce > .woocommerce-info { grid-column: 1 / -1; }
.woocommerce-cart .woocommerce-cart-form { grid-column: 1; margin: 0; padding: 28px; }
.woocommerce-cart .cart-collaterals { grid-column: 2; margin: 0; }
.woocommerce-cart .cart-collaterals .cart_totals { width: 100%; margin: 0; padding: 28px; }
.woocommerce-cart .cart-collaterals .cart_totals h2 { margin: 0 0 18px; font-size: 27px; }
.woocommerce-cart table.shop_table { margin: 0; }
.woocommerce-cart table.shop_table thead th { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.woocommerce-cart table.shop_table .product-thumbnail { width: 94px; }
.woocommerce-cart table.shop_table .product-thumbnail img { width: 82px; height: 82px; object-fit: cover; }
.woocommerce-cart table.shop_table .product-name a { font: 700 17px Georgia, serif; }
.woocommerce-cart table.shop_table .product-remove a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #8a938c !important; }
.woocommerce-cart table.shop_table .product-remove a:hover { background: #f4e3dc; color: #a34531 !important; }
.woocommerce-cart table.shop_table .quantity .qty { height: 42px; }
.woocommerce-cart .wc-proceed-to-checkout { padding: 18px 0 0; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { width: 100%; margin: 0; font-size: 13px; }
.woocommerce-cart .actions .button { min-height: 42px; }

.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(350px, .85fr); gap: 28px; align-items: start; }
.woocommerce-checkout form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 3; margin: 0; padding: clamp(24px, 3vw, 34px); border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.woocommerce-checkout form.checkout #order_review_heading { grid-column: 2; grid-row: 1; align-self: auto; margin: 0; padding: 27px 28px 0; border: 1px solid var(--line); border-bottom: 0; border-radius: 22px 22px 0 0; background: #fff; font: 700 27px Georgia, serif; }
.woocommerce-checkout form.checkout #order_review { grid-column: 2; grid-row: 2; margin-top: -28px; padding: 70px 28px 28px; border-radius: 22px; }
.woocommerce-checkout .woocommerce-billing-fields > h3, .woocommerce-checkout .woocommerce-shipping-fields, .woocommerce-checkout #ship-to-different-address { display: none; }
.checkout-contact-title { margin: 0 0 7px; font: 700 28px Georgia, serif; }
.checkout-contact-note { max-width: 560px; margin: 0 0 25px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper { display: grid; gap: 4px; }
.woocommerce-checkout .woocommerce-additional-fields { margin-top: 24px; padding-top: 23px; border-top: 1px solid var(--line); }
.woocommerce-checkout .woocommerce-additional-fields h3 { margin: 0 0 12px; font: 700 20px Georgia, serif; }
.woocommerce-checkout form .form-row { width: 100%; margin: 0 0 14px; padding: 0; }
.woocommerce-checkout form .form-row label { display: block; margin-bottom: 7px; }
.woocommerce-checkout form .form-row input.input-text, .woocommerce-checkout form .form-row textarea { width: 100%; min-height: 54px; }
.woocommerce-checkout form .form-row textarea { min-height: 110px; resize: vertical; }
.woocommerce-checkout-review-order-table { margin-bottom: 20px !important; }
.woocommerce-checkout-review-order-table .product-name { font: 700 14px Georgia, serif; }
.woocommerce-checkout #payment { margin-top: 18px; overflow: hidden; }
.woocommerce-checkout #payment ul.payment_methods { padding: 18px; }
.woocommerce-checkout #payment div.payment_box { margin: 12px 0 0; padding: 13px; background: rgba(255,255,255,.65); color: var(--muted); font-size: 12px; }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #payment div.form-row { padding: 18px; }
.woocommerce-checkout #payment #place_order { width: 100%; min-height: 56px; }

@media (max-width: 900px) {
  .woocommerce-cart .commerce-page .woocommerce, .woocommerce-checkout form.checkout { grid-template-columns: 1fr; }
  .woocommerce-cart .woocommerce-cart-form, .woocommerce-cart .cart-collaterals { grid-column: 1; }
  .woocommerce-checkout form.checkout #customer_details, .woocommerce-checkout form.checkout #order_review_heading, .woocommerce-checkout form.checkout #order_review { grid-column: 1; grid-row: auto; }
  .woocommerce-checkout form.checkout #order_review { margin-top: -28px; }
}

@media (max-width: 620px) {
  .woo-main, .commerce-main { padding: 48px 0 72px; }
  .woo-main > .container, .commerce-page { width: min(100% - 28px, 1240px); }
  .woo-main .page-title, .commerce-page > article > header h1 { font-size: 45px; }
  .shop-category-nav { flex-wrap: nowrap; margin-right: -14px; padding-right: 14px; overflow-x: auto; scrollbar-width: none; }
  .shop-category-nav::-webkit-scrollbar { display: none; }
  .shop-category-nav a { flex: 0 0 auto; }
  .woocommerce .woocommerce-ordering { width: 100%; }
  .woocommerce .woocommerce-ordering select { width: 100%; }
  .woocommerce ul.products { gap: 12px; }
  .woocommerce ul.products li.product.product-card .product-card__body { padding: 14px; }
  .woocommerce ul.products li.product.product-card .product-card__note { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .woocommerce ul.products li.product.product-card .product-card__body h3 { min-height: 38px; margin-bottom: 12px; font-size: 16px; }
  .woocommerce ul.products li.product.product-card .price strong { font-size: 15px; }
  .woocommerce ul.products li.product.product-card .add-button { width: 38px; min-width: 38px; height: 38px; min-height: 38px; }
  .single-product.woocommerce div.product { gap: 18px; }
  .single-product.woocommerce div.product .summary { padding: 24px 20px; border-radius: 20px; }
  .single-product .woocommerce-product-gallery .flex-viewport,
  .single-product .woocommerce-product-gallery__image > a { border-radius: 20px; }
  .single-product .woocommerce-product-gallery .flex-control-thumbs { grid-template-columns: repeat(auto-fill, minmax(58px, 70px)); gap: 8px; margin-top: 9px !important; }
  .single-product .woocommerce-product-gallery .flex-control-thumbs img { border-radius: 11px !important; }
  .single-product.woocommerce div.product form.cart { align-items: stretch; }
  .single-product.woocommerce div.product form.cart .button { padding: 0 16px; }
  .single-product.woocommerce div.product .related { margin-top: 50px; }
  .commerce-page > article > header h1 { margin-bottom: 28px; }
  .woocommerce-cart .woocommerce-cart-form, .woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-checkout form.checkout #customer_details { padding: 18px; border-radius: 17px; }
  .woocommerce-checkout form.checkout #order_review_heading { padding: 21px 20px 0; border-radius: 17px 17px 0 0; font-size: 23px; }
  .woocommerce-checkout form.checkout #order_review { padding: 64px 20px 20px; border-radius: 17px; }
}
