/*
Theme Name: Cây giống RRIV
Theme URI: https://caygiongrriv.com
Author: Trung tâm Nghiên cứu Phát triển Giống cao su
Description: Giao diện cho website quảng bá và bán cây giống cao su, chuối, dứa MD2. Hỗ trợ WooCommerce.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: rriv-caygiong
*/

:root {
	--canopy: #173d24;
	--leaf: #2a6b3f;
	--leaf-soft: #e4ece2;
	--latex: #fbfbf7;
	--soil: #8e3b22;
	--soil-dark: #6d2b18;
	--gold: #e2b33b;
	--ink: #1a2119;
	--muted: #586257;
	--line: #d5ddd2;
	--white: #fff;
	--radius: 8px;
	--wrap: 1180px;
	--font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--latex);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf); text-underline-offset: 3px; }
a:hover { color: var(--canopy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--canopy); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 10px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

/* ---------- Buttons ---------- */
.btn, .button, button.button, input[type="submit"], .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font: 600 16px/1.2 var(--font);
	padding: 14px 22px;
	border-radius: var(--radius);
	border: 2px solid transparent;
	text-decoration: none;
	cursor: pointer;
	background: var(--leaf); color: var(--white);
	transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, input[type="submit"]:hover { background: var(--canopy); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #f0c552; color: var(--ink); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-green { background: var(--leaf); }
.btn-light { background: var(--white); color: var(--soil-dark); }
.btn-light:hover { background: var(--latex); color: var(--soil-dark); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: var(--white); }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce #place_order, .woocommerce button.single_add_to_cart_button {
	background: var(--soil); color: var(--white);
}
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce button.single_add_to_cart_button:hover { background: var(--soil-dark); }
.text-link { font-weight: 600; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--canopy); color: #cfe0cf; font-size: 14px; }
.topbar-inner { display: flex; gap: 24px; align-items: center; padding: 8px 0; }
.topbar-phone { margin-left: auto; color: var(--white); text-decoration: none; }
.topbar-phone strong { color: var(--gold); }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--canopy); }
.brand-mark { width: 40px; height: 40px; color: var(--leaf); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.brand-text small { font-size: 12.5px; color: var(--muted); }
.custom-logo { max-height: 56px; width: auto; }

.site-nav { margin-left: auto; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav .menu > li { position: relative; }
.site-nav a { display: block; padding: 10px 12px; text-decoration: none; color: var(--ink); font-weight: 500; border-radius: 6px; }
.site-nav a:hover, .site-nav .current-menu-item > a, .site-nav .current_page_item > a { color: var(--leaf); background: var(--leaf-soft); }
.site-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%; min-width: 230px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(23,61,36,.12); display: none; }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { display: block; }

.cart-link { position: relative; display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--canopy); border-radius: 50%; }
.cart-link:hover { background: var(--leaf-soft); }
.cart-link svg { width: 26px; height: 26px; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--soil); color: var(--white); font-size: 11.5px; font-weight: 700; display: grid; place-items: center; }

.nav-toggle { display: none; margin-left: auto; align-items: center; gap: 8px; background: none; border: 1px solid var(--line); padding: 9px 12px; border-radius: var(--radius); font: 600 15px var(--font); color: var(--canopy); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--canopy); color: var(--white); overflow: hidden; }
.hero-rows { position: absolute; inset: 0 0 0 30%; width: 70%; height: 100%; }
.hero-rows .bag { fill: #0f2a18; }
.hero-rows .stem { stroke: #6fa36f; fill: none; }
.hero-rows .leaf { fill: #5f9f5f; }
.hero-rows .leaf-b { fill: #79b46a; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--canopy) 28%, rgba(23,61,36,.55) 55%, rgba(23,61,36,0) 80%); pointer-events: none; }
.hero.has-photo::after { background: linear-gradient(90deg, rgba(23,61,36,.94) 25%, rgba(23,61,36,.55) 60%, rgba(23,61,36,.15)); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-inner { position: relative; z-index: 1; padding: clamp(64px, 10vw, 128px) 0 clamp(72px, 10vw, 136px); }
.hero-org { color: #b9d3b9; font-weight: 500; margin-bottom: 18px; }
.hero-title { color: var(--white); font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; max-width: 13em; margin-bottom: 22px; }
.hero-text { font-size: clamp(17px, 1.6vw, 20px); max-width: 34em; color: #e3ede3; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { padding: 16px 26px; font-size: 17px; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section-title { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -0.02em; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }

/* Crops */
.crop-grid { display: grid; gap: 16px; grid-template-columns: 1.25fr 1fr; grid-auto-rows: minmax(280px, auto); margin-top: 24px; }
.crop-count-3 .crop-0 { grid-row: span 2; }
.crop-count-1, .crop-count-2 { grid-template-columns: repeat(2, 1fr); }
.crop-count-4 .crop-0, .crop-count-5 .crop-0 { grid-row: span 2; }
.crop { display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--white); background: var(--canopy); }
.crop-media { flex: 1 1 auto; min-height: 150px; position: relative; overflow: hidden; background: var(--leaf-soft); }
.crop-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 75%; transition: transform .4s ease; }
.crop:hover .crop-img { transform: scale(1.04); }
.crop:hover .crop-link { text-decoration: underline; }
.crop-body { padding: 20px 24px 22px; display: flex; flex-direction: column; gap: 4px; }
.crop-name { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.crop-0 .crop-name { font-size: clamp(28px, 3vw, 36px); }
.crop-0 .crop-media { min-height: 320px; }
.crop-desc { color: #d3e2d3; max-width: 36em; font-size: 15.5px; }
.crop-link { font-weight: 600; color: var(--gold); margin-top: 6px; }

/* About */
.about { background: var(--white); border-block: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-media img { border-radius: 12px; width: 100%; aspect-ratio: 9/7; object-fit: cover; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--leaf-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%232a6b3f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }

/* Steps: một quy trình thật nên dùng số thứ tự */
.step-list { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 0; margin: 28px 0 0; border-top: 3px solid var(--canopy); }
.step-list li { counter-increment: step; padding: 24px 28px 8px 0; display: flex; flex-direction: column; gap: 6px; }
.step-list li::before { content: counter(step); font-size: 44px; font-weight: 800; color: var(--soil); line-height: 1; margin-bottom: 8px; }
.step-list strong { font-size: 20px; color: var(--canopy); }
.step-list span { color: var(--muted); }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 24px; }
.card { display: flex; flex-direction: column; }
.card-media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--radius); }
.card-body { padding-top: 14px; }
.card-date { font-size: 14px; color: var(--muted); }
.card-title { font-size: 20px; margin: 4px 0 8px; }
.card-title a { color: var(--canopy); text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.card-excerpt { color: var(--muted); font-size: 15.5px; }

/* CTA band: màu đất đỏ bazan */
.cta-band { background: var(--soil); color: var(--white); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding: 48px 0; }
.cta-title { color: var(--white); font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; margin-bottom: 6px; }
.cta-band p { margin: 0; color: #f6ddd3; }
.cta-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cta-phone { font-size: clamp(26px, 3vw, 34px); font-weight: 800; color: var(--white); text-decoration: none; margin-right: 12px; letter-spacing: -0.01em; }
.cta-phone:hover { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { background: var(--canopy); color: #cfe0cf; font-size: 15.5px; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding: 56px 0 36px; }
.site-footer .brand { color: var(--white); margin-bottom: 14px; }
.site-footer .brand-mark { color: var(--gold); }
.site-footer .brand-text small { color: #b9d3b9; }
.footer-title { color: var(--white); font-size: 17px; margin-bottom: 14px; }
.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { margin-bottom: 8px; }
.footer-menu a { text-decoration: none; }
.footer-menu a:hover { text-decoration: underline; }
.footer-phone { font-size: 24px; font-weight: 800; text-decoration: none; color: var(--gold) !important; }
.footer-contact p { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 18px 0; font-size: 14px; color: #a9c2a9; }

/* ---------- Pages & posts ---------- */
.page-wrap { padding: 28px 0 80px; }
.crumbs, .woocommerce .woocommerce-breadcrumb { font-size: 14px; color: var(--muted); margin: 0 0 20px; }
.crumbs a, .woocommerce .woocommerce-breadcrumb a { color: var(--muted); }
.crumbs .sep, .woocommerce-breadcrumb .sep { margin: 0 8px; color: #9aa59a; }
.page-title, .woocommerce-products-header__title, .product_title { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.02em; }
.page-lead { color: var(--muted); max-width: 46em; }
.entry { max-width: 760px; }
.entry-meta { color: var(--muted); font-size: 15px; }
.entry-hero { margin: 0 0 28px; }
.entry-hero img { border-radius: 12px; width: 100%; }
.prose { font-size: 18px; }
.prose h2 { font-size: 26px; margin-top: 1.6em; }
.prose h3 { font-size: 21px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius); }
.prose figure { margin: 1.6em 0; }
.prose figcaption, .wp-element-caption { font-size: 14.5px; color: var(--muted); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 16px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--leaf-soft); color: var(--canopy); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--gold); color: var(--canopy); }
.entry-cta { margin: 40px 0 24px; padding: 20px 24px; background: var(--leaf-soft); border-radius: var(--radius); }
.entry-cta p { margin: 0; }
.entry-nav { display: flex; justify-content: space-between; gap: 20px; font-size: 15px; border-top: 1px solid var(--line); padding-top: 18px; }
.entry-nav span:last-child { text-align: right; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; background: var(--white); }
.page-numbers.current { background: var(--canopy); color: var(--white); border-color: var(--canopy); }
.empty { padding: 40px 0; }
.search-form { display: flex; gap: 8px; max-width: 480px; }
.search-form label { flex: 1; }

/* Forms */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], input[type="password"], select, textarea, .woocommerce form .form-row .input-text, .woocommerce form .form-row select {
	width: 100%; font: 400 16px/1.4 var(--font); padding: 12px 14px; border: 1px solid #b9c4b7; border-radius: 6px; background: var(--white); color: var(--ink);
}
input:focus, select:focus, textarea:focus { border-color: var(--leaf); outline: 2px solid rgba(42,107,63,.25); outline-offset: 0; }
label { font-weight: 500; }
.widget { margin-bottom: 32px; }
.widget-title { font-size: 18px; }

/* ---------- WooCommerce ---------- */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 24px 0 0; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; padding: 0 0 20px; }
.woocommerce ul.products li.product a img { margin: 0 0 14px; aspect-ratio: 1/1; object-fit: cover; border-radius: 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 19px !important; font-weight: 700; color: var(--canopy); padding: 0 20px !important; margin: 0 0 6px; }
.woocommerce ul.products li.product .price { color: var(--soil) !important; font-weight: 700; font-size: 17px !important; padding: 0 20px; margin-bottom: 14px !important; }
.woocommerce ul.products li.product .button { margin: auto 20px 0 !important; align-self: flex-start; }
.woocommerce ul.products li.product .rriv-loop-giong { padding: 0 20px; font-size: 14.5px; color: var(--muted); margin: -4px 0 12px; }
.woocommerce span.onsale { background: var(--gold); color: var(--ink); }
.woocommerce .woocommerce-result-count { color: var(--muted); font-size: 15px; }
.woocommerce .woocommerce-ordering select { width: auto; }

.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0; }
.woocommerce div.product div.images img { border-radius: 12px; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--soil); font-size: 28px; font-weight: 800; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin: 24px 0; }
.woocommerce div.product form.cart .quantity input { height: 52px; width: 90px; }
.woocommerce div.product form.cart .single_add_to_cart_button { height: 52px; }
.woocommerce div.product .woocommerce-product-details__short-description { color: #2f3a2e; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 20px; border-bottom: 1px solid var(--line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; border-radius: 0; margin: 0 20px 0 0; padding: 0; }
.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 ul.tabs li a { padding: 12px 0; color: var(--muted); font-weight: 600; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--canopy); box-shadow: inset 0 -3px 0 var(--soil); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 780px; }
.woocommerce div.product .product_meta { font-size: 15px; color: var(--muted); }
.woocommerce .related > h2, .woocommerce .upsells > h2 { font-size: 26px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--leaf) !important; background: var(--white) !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--leaf) !important; }
.woocommerce table.shop_table { border-radius: 10px; background: var(--white); }
.woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-checkout #order_review { background: var(--white); }
#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment { background: var(--leaf-soft) !important; border-radius: 10px !important; }
.woocommerce form .form-row label { font-weight: 500; }
.woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2 { max-width: 100%; }

/* Giỏ hàng, thanh toán, tài khoản: dùng hết bề ngang */
.woocommerce-cart .entry, .woocommerce-checkout .entry, .woocommerce-account .entry { max-width: none; }
.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0 48px; align-items: start; }
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
.woocommerce-checkout #customer_details { grid-column: 1; grid-row: 1 / span 3; }
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { float: none; width: 100%; }
.woocommerce-checkout #order_review_heading { grid-column: 2; margin-top: 0; }
.woocommerce-checkout #order_review { grid-column: 2; padding: 20px; border: 1px solid var(--line); border-radius: 12px; }
.woocommerce-checkout h3 { font-size: 22px; }
.rriv-hidden-country, #billing_country_field { display: none !important; }
.woocommerce-checkout #payment div.payment_box { background: var(--white) !important; color: var(--ink) !important; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--white) !important; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { padding: 12px 14px; }
.woocommerce-Tabs-panel table, .entry-content .wp-block-table table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 1.2em 0; }
.woocommerce-Tabs-panel table th, .woocommerce-Tabs-panel table td, .wp-block-table th, .wp-block-table td { border: 1px solid var(--line) !important; padding: 10px 12px; text-align: left; }
.woocommerce-Tabs-panel table th, .wp-block-table th { background: var(--leaf-soft); color: var(--canopy); }
.wp-block-table thead { border-bottom: 0 !important; }
.woocommerce-Tabs-panel h2 { font-size: 24px; margin-top: 1.2em; }
.woocommerce-Tabs-panel h2:first-child { margin-top: 0; }
.woocommerce div.product .rriv-quote-note { color: var(--muted); font-size: 15px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.topbar-hours { display: none; }
	.woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-about { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; }
	.site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); display: none; padding: 8px 20px 16px; box-shadow: 0 16px 30px rgba(23,61,36,.12); }
	.site-nav.is-open { display: block; }
	.site-nav .menu { flex-direction: column; }
	.site-nav a { padding: 12px 8px; font-size: 17px; }
	.site-nav .sub-menu { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 14px; min-width: 0; }
	.header-inner { position: relative; }
	.cart-link { order: 2; }
	.about-grid, .woocommerce div.product { grid-template-columns: 1fr; gap: 28px; }
	.woocommerce-checkout form.checkout { grid-template-columns: 1fr; }
	.woocommerce-checkout #customer_details, .woocommerce-checkout #order_review_heading, .woocommerce-checkout #order_review { grid-column: 1; grid-row: auto; }
	.post-grid { grid-template-columns: repeat(2, 1fr); }
	.step-list { grid-template-columns: 1fr; border-top: 0; }
	.step-list li { border-top: 2px solid var(--canopy); padding: 18px 0; flex-direction: row; flex-wrap: wrap; column-gap: 16px; }
	.step-list li::before { font-size: 34px; margin: 0; }
	.step-list li strong { align-self: center; }
	.step-list li span { flex-basis: 100%; }
	.hero-rows { inset: 0; width: 100%; opacity: .45; }
	.hero::after { background: linear-gradient(180deg, rgba(23,61,36,.7), var(--canopy) 85%); }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.topbar-addr { display: none; }
	.topbar-phone { margin: 0 auto; }
	.brand-text small { display: none; }
	.brand-text strong { font-size: 19px; }
	.crop-grid, .crop-count-1, .crop-count-2 { grid-template-columns: 1fr; }
	.crop-count-3 .crop-0, .crop-count-4 .crop-0, .crop-count-5 .crop-0 { grid-row: auto; }
	.crop-media, .crop-0 .crop-media { min-height: 200px; }
	.post-grid { grid-template-columns: 1fr; }
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: 1fr 1fr !important; gap: 14px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 16px !important; padding: 0 12px !important; }
	.woocommerce ul.products li.product .price, .woocommerce ul.products li.product .rriv-loop-giong { padding: 0 12px; }
	.woocommerce ul.products li.product .button { margin: auto 12px 0 !important; padding: 10px 12px; font-size: 14.5px; }
	.footer-grid { grid-template-columns: 1fr; }
	.cta-phone { margin-right: 0; }
	.hero-actions .btn { flex: 1 1 100%; }
	.prose { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; animation: none !important; }
}
