/*
Theme Name: Mirhavogu
Theme URI: https://example.com/mirhavogu
Author: Your Name
Description: A luxury skin care ecommerce theme for Elementor and WooCommerce. Olive and cream palette, serif headings, demo homepage with built-in demo images.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mirhavogu
Tags: e-commerce, woocommerce, elementor, custom-logo, custom-menu, featured-images, translation-ready
*/

:root {
  --mv-olive: #4F5C3A;
  --mv-olive-dark: #3C4829;
  --mv-cream: #FBF6F1;
  --mv-beige: #F0E4D7;
  --mv-sand: #E6D3BE;
  --mv-gold: #A57F34;
  --mv-ink: #27271F;
  --mv-muted: #666655;
  --mv-line: #DCCBB3;
  --mv-white: #FFFFFF;

  --mv-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --mv-sans: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mv-script: 'Allura', 'Brush Script MT', cursive;
  --mv-wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mv-cream); color: var(--mv-ink); font-family: var(--mv-sans); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--mv-olive-dark); text-underline-offset: 3px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--mv-serif); font-weight: 500; line-height: 1.15; color: var(--mv-ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 2px solid var(--mv-olive); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; clip: auto; width: auto; height: auto; background: var(--mv-olive); color: #fff; padding: 10px 16px; border-radius: 999px; }
.fo-container { width: 100%; max-width: var(--mv-wrap); margin: 0 auto; padding: 0 24px; }
.fo-container--wide { max-width: 1480px; }
.fo-icon { flex: none; }

/* ---------- Buttons ---------- */
.fo-btn, .button, button[type="submit"], input[type="submit"],
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt,
.elementor-widget-button .elementor-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--mv-sans); font-weight: 700; font-size: .88rem; line-height: 1.2;
  padding: 13px 26px; border-radius: 999px; background: var(--mv-olive-dark); color: #fff;
  border: 1px solid var(--mv-olive-dark); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s;
}
.fo-btn:hover, .button:hover, button[type="submit"]:hover, input[type="submit"]:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover, .elementor-widget-button .elementor-button:hover { background: #2e381f; color: #fff; }
.fo-btn--block { width: 100%; border-radius: 3px; padding: 11px 12px; }

/* ---------- Forms ---------- */
input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="url"],
input[type="password"], input[type="number"], textarea, select,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
  width: 100%; font: inherit; color: var(--mv-ink); background: #fff; border: 1px solid var(--mv-line); border-radius: 3px; padding: 12px 14px;
}
input:focus, textarea:focus, select:focus { border-color: var(--mv-olive); outline: none; box-shadow: 0 0 0 3px rgba(79,92,58,.16); }

/* ---------- Top bar ---------- */
.fo-topbar { background: var(--mv-olive); color: #fff; font-size: .82rem; font-weight: 700; }
.fo-topbar__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 32px; gap: 16px; }
.fo-topbar__left { display: inline-flex; align-items: center; gap: 10px; }
.fo-topbar__right { display: inline-flex; align-items: center; justify-content: flex-end; gap: 14px; font-weight: 400; }
.fo-topbar a { color: #fff; display: inline-flex; }

/* ---------- Header ---------- */
.fo-header { position: sticky; top: 0; z-index: 50; background: var(--mv-cream); border-bottom: 1px solid #efe5d9; }
.admin-bar .fo-header { top: 32px; }
.fo-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 62px; }
.fo-logo { display: grid; justify-items: center; width: max-content; text-decoration: none; color: var(--mv-olive-dark); position: relative; top: 10px; margin-bottom: -10px; }
.fo-logo__mark { width: 34px; height: auto; margin-bottom: -2px; }
.fo-logo__name { font-family: var(--mv-serif); font-size: 1.9rem; letter-spacing: .04em; line-height: 1; }
.fo-logo__sub { display: flex; align-items: center; gap: 10px; font-size: .72rem; letter-spacing: .32em; color: var(--mv-olive); margin-top: 2px; width: 100%; justify-content: center; }
.fo-logo__sub::before, .fo-logo__sub::after { content: ""; height: 1px; width: 22px; background: var(--mv-gold); }
.fo-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 34px; }
.fo-nav a { text-decoration: none; font-size: .92rem; color: var(--mv-ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.fo-nav a:hover, .fo-nav .current-menu-item > a, .fo-nav .current_page_item > a { border-bottom-color: var(--mv-olive); color: var(--mv-olive-dark); }
.fo-nav li { position: relative; }
.fo-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 8px; }
.fo-nav .sub-menu { position: absolute; top: 100%; left: -16px; min-width: 210px; background: #fff; border: 1px solid var(--mv-line); border-radius: 3px; padding: 14px 18px; flex-direction: column; gap: 10px; display: none; z-index: 5; }
.fo-nav li:hover > .sub-menu, .fo-nav li:focus-within > .sub-menu { display: flex; }
.fo-utils { display: flex; justify-content: flex-end; align-items: center; gap: 24px; }
.fo-utils a { color: var(--mv-olive-dark); display: inline-flex; position: relative; }
.fo-cart-count { position: absolute; top: -9px; right: -11px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--mv-gold); color: #fff; font-size: .68rem; font-weight: 700; line-height: 1; }
.fo-menu-toggle { display: none; background: none; border: 1px solid var(--mv-line); color: var(--mv-olive-dark); padding: 9px 16px; }
.fo-menu-toggle:hover { background: none; color: var(--mv-olive-dark); }
.fo-header__inner > .custom-logo-link { display: block; }
.fo-header__inner > .custom-logo-link img { max-height: 52px; width: auto; }

/* ---------- Hero ---------- */
.fo-hero { position: relative; background: linear-gradient(100deg, #f3e6d8 0%, #f7eee3 55%, #efe0d0 100%); overflow: hidden; }
.fo-hero::before { content: ""; position: absolute; left: 0; bottom: 0; width: 20%; max-width: 300px; aspect-ratio: 1; background: url('assets/img/hero-leaves.svg') no-repeat left bottom / contain; opacity: .4; pointer-events: none; }
.fo-hero__slide { display: none; }
.fo-hero__slide.is-active { display: block; }
.fo-hero__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 340px; padding-top: 0; padding-bottom: 0; }
.fo-hero__copy { position: relative; padding: 36px 0; }
.fo-hero__eyebrow, .fo-hero__eyebrow p { font-size: .82rem; letter-spacing: .12em; color: var(--mv-olive-dark); margin-bottom: 8px; font-weight: 400; }
.fo-hero h1, .fo-hero__title .elementor-heading-title { font-size: clamp(2.8rem, 5.2vw, 4.6rem); margin: 0; line-height: 1.05; }
.fo-hero__script, .fo-hero__script .elementor-heading-title { font-family: var(--mv-serif); font-style: italic; font-weight: 400; font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin: 4px 0 14px; color: var(--mv-ink); line-height: 1.15; }
.fo-hero__text, .fo-hero__text p { max-width: 38ch; margin: 0 0 22px; }
.fo-hero__img { width: 100%; max-height: 420px; object-fit: contain; object-position: right bottom; justify-self: end; }
.fo-hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--mv-olive); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.fo-hero__arrow:hover { background: var(--mv-olive-dark); }
.fo-hero__arrow--prev { left: 40px; }
.fo-hero__arrow--prev svg { transform: scaleX(-1); }
.fo-hero__arrow--next { right: 40px; }

/* ---------- Features ---------- */
.fo-features { background: var(--mv-cream); border-bottom: 1px solid #efe5d9; }
.fo-features__grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 16px; padding-bottom: 16px; }
.fo-feature { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 4px 16px; color: var(--mv-olive-dark); }
.fo-feature + .fo-feature { border-left: 1px solid var(--mv-line); }
.fo-feature strong { display: block; font-family: var(--mv-serif); font-weight: 500; font-size: .95rem; color: var(--mv-ink); }
.fo-feature span { display: block; font-size: .78rem; color: var(--mv-muted); }

/* ---------- Section titles ---------- */
.fo-section { padding: 26px 0 30px; }
.fo-title, .fo-title .elementor-heading-title { display: flex; align-items: center; justify-content: center; gap: 18px; text-align: center; font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin: 0 0 18px; font-weight: 500; }
.fo-title::before, .fo-title::after { content: ""; flex: 0 1 70px; height: 1px; background: var(--mv-gold); }
.fo-title .elementor-heading-title::before, .fo-title .elementor-heading-title::after { content: ""; flex: 0 1 70px; height: 1px; background: var(--mv-gold); }
.fo-title .elementor-heading-title { margin: 0; }

/* ---------- Categories ---------- */
.fo-cats__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; max-width: 1180px; margin: 0 auto; }
.fo-cat { display: block; background: var(--mv-beige); text-decoration: none; color: var(--mv-ink); overflow: hidden; border-radius: 2px; transition: transform .25s; }
.fo-cat:hover { transform: translateY(-3px); }
.fo-cat img { width: 100%; aspect-ratio: 380/280; object-fit: cover; }
.fo-cat span { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 6px; font-family: var(--mv-serif); font-size: .9rem; border-top: 1px solid #e6d8c6; background: #f4e8db; }

/* ---------- Best sellers ---------- */
.fo-best__grid { display: grid; grid-template-columns: 2.2fr 1fr; gap: 20px; align-items: stretch; }
.fo-best__products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fo-pcard { position: relative; background: #f6ece1; border: 1px solid #eadccb; box-shadow: 0 2px 8px rgba(80,60,30,.08); padding: 10px 14px 14px; text-align: center; }
.fo-pcard__img { display: block; }
.fo-pcard__img img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 6px; }
.fo-pcard h3 { font-family: var(--mv-sans); font-size: .85rem; font-weight: 500; margin: 0 0 4px; }
.fo-pcard h3 a { color: var(--mv-ink); text-decoration: none; }
.fo-stars { margin: 0 0 4px; color: #e5a824; font-size: .8rem; letter-spacing: 1px; }
.fo-stars span { color: var(--mv-muted); letter-spacing: 0; font-size: .75rem; }
.fo-price { margin: 0 0 10px; font-weight: 700; font-size: .98rem; }
.fo-price del { color: var(--mv-muted); font-weight: 400; font-size: .8rem; margin-left: 4px; }
.fo-sale { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--mv-olive-dark); color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; line-height: 1; }
.fo-offer { position: relative; background: linear-gradient(120deg, #f6ece1, #efdfcc); border: 1px solid #eadccb; display: grid; grid-template-columns: 1fr; align-items: center; overflow: hidden; min-height: 280px; }
.fo-offer__copy { position: relative; z-index: 2; padding: 28px 20px 28px 30px; max-width: 80%; }
.fo-offer__script { font-family: var(--mv-serif); font-style: italic; font-size: clamp(1.15rem, 1.8vw, 1.6rem); margin: 0 0 4px; }
.fo-offer__big { font-family: var(--mv-serif); font-weight: 600; font-size: clamp(1.8rem, 2.5vw, 2.6rem); white-space: nowrap; line-height: 1.05; margin: 0 0 6px; }
.fo-offer img { position: absolute; right: -8%; bottom: -4%; width: 58%; z-index: 1; }

/* ---------- Bottom strip ---------- */
.fo-strip { background: var(--mv-beige); margin-top: 14px; }
.fo-strip__grid { display: grid; grid-template-columns: auto 1.6fr auto; align-items: center; gap: 0; padding-top: 22px; padding-bottom: 22px; }
.fo-strip__item { display: flex; align-items: center; gap: 16px; color: var(--mv-olive-dark); padding: 0 32px; }
.fo-strip__item + .fo-strip__item { border-left: 1px solid var(--mv-line); }
.fo-strip__item strong { display: block; font-family: var(--mv-serif); font-weight: 500; font-size: .98rem; color: var(--mv-ink); }
.fo-strip__item span { display: block; font-size: .78rem; color: var(--mv-muted); }
.fo-strip__news { flex-wrap: wrap; }
.fo-subscribe { display: flex; gap: 0; flex: 1 1 260px; min-width: 240px; }
.fo-subscribe input { border-radius: 2px 0 0 2px; font-size: .8rem; padding: 11px 12px; }
.fo-subscribe button { border-radius: 0 2px 2px 0; padding: 11px 20px; font-size: .82rem; }
.fo-strip__script { font-family: var(--mv-script); font-size: 2.1rem; color: var(--mv-olive-dark); white-space: nowrap; }

/* ---------- Footer ---------- */
.fo-footer { background: var(--mv-olive-dark); color: #dfe5d2; padding: 64px 0 28px; }
.fo-footer a { color: #dfe5d2; text-decoration: none; }
.fo-footer a:hover { color: #fff; text-decoration: underline; }
.fo-footer h3, .fo-footer .widget-title { color: #fff; font-size: 1.15rem; margin-bottom: .8em; }
.fo-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; }
.fo-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.fo-footer__brand { font-family: var(--mv-serif); font-size: 1.7rem; letter-spacing: .05em; color: #fff; margin-bottom: 12px; }
.fo-footer__bar { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); font-size: .85rem; }

/* ---------- Content ---------- */
.fo-main { min-height: 50vh; }
.fo-page { padding: 56px 0 80px; }
.fo-entry-title { margin-bottom: .4em; }
.fo-entry-meta { color: var(--mv-muted); font-size: .9rem; margin-bottom: 2rem; }
.fo-entry-content { max-width: 760px; }
.fo-entry-content > * + * { margin-top: 1.1em; }
.fo-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.fo-card__thumb { aspect-ratio: 4/3; background: var(--mv-beige); overflow: hidden; margin-bottom: 14px; }
.fo-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.fo-card h2 { font-size: 1.4rem; }
.fo-card h2 a { text-decoration: none; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 40px; }
.page-numbers { padding: 8px 14px; border: 1px solid var(--mv-line); border-radius: 999px; text-decoration: none; }
.page-numbers.current { background: var(--mv-olive-dark); color: #fff; border-color: var(--mv-olive-dark); }

/* ---------- WooCommerce (matches the homepage product cards) ---------- */
.woocommerce .woocommerce-breadcrumb { color: var(--mv-muted); font-size: .85rem; margin-bottom: 22px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--mv-muted); }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0 0 3rem; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products[class*="columns-"] li.product { width: auto; float: none; margin: 0; position: relative; background: #f6ece1; border: 1px solid #eadccb; box-shadow: 0 2px 8px rgba(80,60,30,.08); padding: 10px 14px 14px; text-align: center; }
.woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
.woocommerce ul.products.columns-2 { grid-template-columns: repeat(2, 1fr); }
.woocommerce ul.products li.product a img { aspect-ratio: 1; object-fit: cover; width: 100%; margin: 0 0 8px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--mv-sans); font-size: .9rem; font-weight: 500; padding: 0 0 4px; color: var(--mv-ink); }
.woocommerce ul.products li.product .star-rating { margin: 0 auto 6px; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--mv-ink); font-weight: 700; }
.woocommerce ul.products li.product .price del { color: var(--mv-muted); font-weight: 400; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button { width: 100%; border-radius: 3px; margin-top: 8px; padding: 11px 12px; }
.woocommerce span.onsale { background: var(--mv-olive-dark); color: #fff; min-width: 0; min-height: 0; line-height: 1; padding: 6px 11px; border-radius: 999px; font-weight: 700; font-size: .72rem; top: 14px; left: 14px; right: auto; }
.woocommerce .star-rating span::before { color: #e5a824; }
.woocommerce div.product .product_title { font-size: clamp(2rem, 3.6vw, 3rem); }
.woocommerce div.product form.cart { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; margin: 24px 0; }
.woocommerce .quantity .qty { width: 80px; text-align: center; padding: 12px 8px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 24px; border-bottom: 1px solid var(--mv-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; border: 0; box-shadow: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; margin: 0 24px 0 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 0; font-weight: 700; color: var(--mv-muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--mv-olive-dark); border-bottom: 2px solid var(--mv-olive); }
.woocommerce table.shop_table { border: 1px solid var(--mv-line); border-radius: 3px; background: #fff; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { background: var(--mv-beige); border-top-color: var(--mv-olive); color: var(--mv-ink); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--mv-olive); }
.woocommerce form.checkout .col2-set { width: 100%; float: none; }
.woocommerce-checkout #payment { background: var(--mv-beige); border-radius: 3px; }

/* ---------- Elementor version of the homepage ---------- */
.elementor-widget-heading .elementor-heading-title { font-family: var(--mv-serif); font-weight: 500; }
.fo-hero.e-con { background: linear-gradient(100deg, #f3e6d8 0%, #f7eee3 55%, #efe0d0 100%); position: relative; overflow: hidden; }
.fo-hero.e-con > * { position: relative; z-index: 1; }
.fo-hero.e-con .fo-hero__img img { width: 100%; max-height: 420px; object-fit: contain; object-position: right bottom; }
.fo-features.e-con { background: var(--mv-cream); border-bottom: 1px solid #efe5d9; }
.fo-feature.e-con + .fo-feature.e-con { border-left: 1px solid var(--mv-line); }
.fo-feature .elementor-heading-title { font-size: .95rem; font-family: var(--mv-serif); }
.fo-feature .elementor-widget-text-editor { font-size: .78rem; color: var(--mv-muted); }
.fo-cat-e { background: var(--mv-beige); overflow: hidden; }
.fo-cat-e img { width: 100%; aspect-ratio: 380/280; object-fit: cover; }
.fo-cat-e .elementor-heading-title { font-size: .9rem; text-align: center; padding: 8px 6px; background: #f4e8db; margin: 0; }
.fo-cat-e .elementor-heading-title a { color: var(--mv-ink); text-decoration: none; }
.fo-best-e .woocommerce ul.products { grid-template-columns: repeat(4, 1fr); }
.fo-offer-e.e-con { background: linear-gradient(120deg, #f6ece1, #efdfcc); border: 1px solid #eadccb; overflow: hidden; }
.fo-offer-e .fo-offer__big .elementor-heading-title { font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 600; line-height: 1.05; }
.fo-offer-e .fo-offer__script .elementor-heading-title { font-style: italic; font-weight: 400; font-size: clamp(1.15rem, 1.8vw, 1.6rem); }
.fo-strip.e-con { background: var(--mv-beige); }
.fo-signup form { display: flex; max-width: 420px; }
.fo-signup input[type="email"] { border-radius: 2px 0 0 2px; }
.fo-signup button { border-radius: 0 2px 2px 0; }
.fo-script .elementor-heading-title { font-family: var(--mv-script); font-weight: 400; font-size: 2.2rem; color: var(--mv-olive-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .fo-best__grid { grid-template-columns: 1fr; }
  .fo-offer { min-height: 260px; }
  .fo-cats__grid { grid-template-columns: repeat(3, 1fr); }
  .fo-strip__grid { grid-template-columns: 1fr; gap: 20px; }
  .fo-strip__item + .fo-strip__item { border-left: 0; }
  .fo-strip__item { padding: 0; }
}
@media (max-width: 1024px) {
  .woocommerce ul.products, .woocommerce ul.products.columns-3 { grid-template-columns: repeat(2, 1fr); }
  .fo-best__products { grid-template-columns: repeat(2, 1fr); }
  .fo-posts { grid-template-columns: repeat(2, 1fr); }
  .fo-footer__grid { grid-template-columns: 1fr 1fr; }
  .fo-features__grid { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
  .fo-feature:nth-child(3) { border-left: 0; }
}
@media (max-width: 900px) {
  .fo-topbar__center { display: none; }
  .fo-topbar__inner { grid-template-columns: 1fr 1fr; }
  .fo-header__inner { grid-template-columns: auto 1fr auto; }
  .fo-logo { top: 0; margin-bottom: 0; }
  .fo-menu-toggle { display: inline-flex; justify-self: center; }
  .fo-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--mv-cream); border-bottom: 1px solid var(--mv-line); padding: 8px 24px 20px; display: none; }
  .fo-nav.is-open { display: block; }
  .fo-nav ul { flex-direction: column; gap: 2px; }
  .fo-nav a { display: block; padding: 12px 0; }
  .fo-nav .sub-menu { position: static; display: flex; border: 0; padding: 0 0 0 16px; background: none; }
  .fo-hero__inner { grid-template-columns: 1fr; text-align: left; }
  .fo-hero__img { max-height: 300px; justify-self: center; }
  .fo-hero__arrow { top: auto; bottom: 16px; transform: none; }
  .fo-hero__arrow--prev { left: 16px; }
  .fo-hero__arrow--next { right: 16px; }
  .fo-hero::before { display: none; }
}
@media (max-width: 640px) {
  .fo-topbar__right { display: none; }
  .fo-topbar__inner { grid-template-columns: 1fr; justify-items: center; }
  .fo-cats__grid { grid-template-columns: repeat(2, 1fr); }
  .fo-features__grid { grid-template-columns: 1fr; }
  .fo-feature + .fo-feature { border-left: 0; }
  .fo-feature { justify-content: flex-start; }
  .fo-best__products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .fo-offer__copy { max-width: 100%; padding-bottom: 150px; }
  .fo-offer img { width: 80%; right: -10%; }
  .woocommerce ul.products { gap: 12px; }
  .fo-posts, .fo-footer__grid { grid-template-columns: 1fr; }
  .fo-subscribe { flex-basis: 100%; }
  .fo-strip__script { font-size: 1.8rem; white-space: normal; }
}
@media (max-width: 782px) { .admin-bar .fo-header { top: 46px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
