/* =========================================================================
   Onnen Company — main stylesheet
   Brand tokens first: change colors/fonts here and the whole site follows.
   ========================================================================= */

:root {
	--green: #00843d;        /* PMS 348 — logo green */
	--green-dark: #00632e;
	--green-deep: #0b3d26;
	--green-tint: #e8f4ed;
	--ink: #1d2a23;
	--muted: #5b6b62;
	--line: #d9e2dc;
	--bg: #ffffff;
	--bg-alt: #f4f7f5;
	--warn: #9a5b00;
	--warn-tint: #fff4e0;
	--error: #b3261e;
	--error-tint: #fdecea;

	--font-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
	--font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

	--radius: 6px;
	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--shadow: 0 1px 2px rgba(11, 61, 38, .06), 0 4px 16px rgba(11, 61, 38, .06);
}

/* ---- Base ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 16px/1.6 var(--font-body);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--green-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--green-deep); margin: 0 0 .6em; }
h1 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 800; }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; top: 8px; left: 8px; z-index: 999; background: #fff; padding: 8px 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 860px; }
.small { font-size: .875rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.req { color: var(--error); }

/* ---- Buttons ------------------------------------------------------------- */

.btn,
.button,
button.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
#place_order {
	display: inline-flex; align-items: center; justify-content: center; gap: .4em;
	padding: .7em 1.3em;
	border: 2px solid var(--green); border-radius: var(--radius);
	background: var(--green); color: #fff;
	font: 700 .95rem/1.2 var(--font-head); letter-spacing: .02em; text-decoration: none;
	cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.btn:hover, .button:hover, #place_order:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn:disabled, .button:disabled { opacity: .55; cursor: not-allowed; }
.button-secondary, .woocommerce a.button.button-secondary, .woocommerce button.button-secondary {
	background: #fff; color: var(--green);
}
.button-secondary:hover { background: var(--green-tint); color: var(--green-dark); }
.btn-light { background: #fff; color: var(--green-deep); border-color: #fff; }
.btn-light:hover { background: var(--green-tint); border-color: var(--green-tint); color: var(--green-deep); }
.btn-small { padding: .45em .9em; font-size: .85rem; }
.btn-large, #place_order { padding: .9em 1.8em; font-size: 1.05rem; }
.added_to_cart { display: inline-block; margin-top: 6px; font-size: .85rem; font-weight: 600; }

/* ---- Forms --------------------------------------------------------------- */

input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date],
input[type=password], input[type=search], input[type=url], select, textarea {
	width: 100%; padding: .65em .8em;
	border: 1px solid #b9c7be; border-radius: var(--radius);
	background: #fff; color: var(--ink); font: inherit;
}
input:focus, select:focus, textarea:focus { border-color: var(--green); outline: 2px solid var(--green-tint); outline-offset: 0; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .3em; }
.form-notice { padding: .8em 1em; border-radius: var(--radius); }
.form-notice.is-success { background: var(--green-tint); color: var(--green-deep); }
.form-notice.is-error { background: var(--error-tint); color: var(--error); }

/* ---- Top bar + header ---------------------------------------------------- */

.topbar { background: var(--green-deep); color: #d9eadf; font-size: .85rem; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar-inner { display: flex; gap: 1.5rem; align-items: center; min-height: 36px; }
.topbar-account { margin-left: auto; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 84px; }
.brand img { max-height: 60px; width: auto; }
.brand-name { font: 800 1.4rem var(--font-head); color: var(--green); text-decoration: none; text-transform: uppercase; letter-spacing: .06em; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.site-nav a { display: block; padding: .5em .8em; border-radius: var(--radius); color: var(--ink); text-decoration: none; font: 600 .95rem var(--font-head); }
.site-nav a:hover, .site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a { color: var(--green); background: var(--green-tint); }
.site-nav li { position: relative; }
.site-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: .4rem; z-index: 60; }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { display: flex; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.header-search { width: 260px; }
.woocommerce-product-search { display: flex; }
.woocommerce-product-search input[type=search] { border-radius: var(--radius) 0 0 var(--radius); }
.woocommerce-product-search button { border-radius: 0 var(--radius) var(--radius) 0; padding: 0 1em; border: 2px solid var(--green); background: var(--green); color: #fff; font: 700 .85rem var(--font-head); cursor: pointer; }

.order-list-link { display: inline-flex; align-items: center; gap: .45em; padding: .55em .9em; border: 2px solid var(--green); border-radius: var(--radius); color: var(--green); font: 700 .9rem var(--font-head); text-decoration: none; white-space: nowrap; }
.order-list-link:hover { background: var(--green); color: #fff; }
.order-count { min-width: 1.6em; padding: 0 .4em; border-radius: 999px; background: var(--green); color: #fff; text-align: center; font-size: .8rem; line-height: 1.6; }
.order-list-link:hover .order-count { background: #fff; color: var(--green); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 24px; height: 2px; background: var(--ink); position: relative; transition: transform .2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; } .nav-toggle-bars::after { top: 7px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---- Page header --------------------------------------------------------- */

.page-header { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 2rem 0 1.6rem; margin-bottom: 2rem; }
.page-title { margin: 0; }
.entry-content { padding-bottom: 3rem; }
.entry-content > * + h2 { margin-top: 1.6em; }

/* ---- Home ---------------------------------------------------------------- */

.feature-cards { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature-card {
	position: relative; min-height: 300px; display: flex; align-items: flex-end;
	background: var(--green-deep) var(--card-img, none) center / cover no-repeat;
	color: #fff; text-decoration: none; overflow: hidden;
}
.feature-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,61,38,.05) 30%, rgba(11,61,38,.85) 100%); transition: background .2s; }
.feature-card:hover::before { background: linear-gradient(180deg, rgba(0,132,61,.25) 0%, rgba(11,61,38,.9) 100%); }
.feature-card-body { position: relative; padding: 1.4rem; display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.feature-card-title { font: 800 1.5rem var(--font-head); text-transform: uppercase; letter-spacing: .03em; }

.home-intro { padding: 3.5rem 0 2.5rem; text-align: center; }
.home-intro h1 { text-transform: uppercase; letter-spacing: .02em; }
.home-intro .lead { font-size: 1.1rem; color: var(--muted); }
.home-search { max-width: 560px; margin: 1.6rem auto; }
.home-search input[type=search] { padding: .85em 1em; font-size: 1rem; }
.action-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

.home-categories { padding: 2.5rem 0 3.5rem; background: var(--bg-alt); }
.section-title { text-align: center; margin-bottom: 1.6rem; }

.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }
.cat-tile a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .15s, transform .15s, border-color .15s; }
.cat-tile a:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--green); }
.cat-tile-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.cat-tile-name { padding: .8rem; font: 700 .95rem var(--font-head); text-align: center; color: var(--green-deep); }

.home-content { padding: 3rem 0 0; }
.home-contact { padding: 3.5rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: start; }
.contact-details a { font-weight: 600; }
.contact-form .field { margin-bottom: 1rem; }

/* ---- Footer -------------------------------------------------------------- */

.site-footer { background: var(--green-deep); color: #cfe1d5; margin-top: 0; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-top: 3rem; padding-bottom: 2.5rem; }
.footer-brand img { max-height: 54px; width: auto; background: #fff; padding: 8px 12px; border-radius: var(--radius); margin-bottom: 1rem; }
.footer-brand .brand-name { color: #fff; }
.footer-heading { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.footer-contact strong { display: inline-block; min-width: 5.5em; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-top: 1rem; padding-bottom: 1rem; }
.footer-bottom p { margin: 0; }

/* ---- Catalog layout ------------------------------------------------------ */

.catalog-wrap { padding-top: 1.2rem; padding-bottom: 3.5rem; }
.woocommerce-breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 1.2rem; }
.woocommerce-breadcrumb a { color: var(--muted); }
.catalog-layout.has-sidebar { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.catalog-sidebar { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow: auto; }
.sidebar-toggle { display: none; }
.sidebar-title { font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.sidebar-help { margin-top: 1.5rem; padding: 1rem; background: var(--green-tint); border-radius: var(--radius); font-size: .9rem; }
.sidebar-help p { margin: 0 0 .5rem; }

.cat-tree ul { list-style: none; margin: 0; padding: 0; }
.cat-tree li { position: relative; }
.cat-tree a { display: block; padding: .38rem 2rem .38rem .6rem; border-radius: 4px; color: var(--ink); text-decoration: none; font-size: .92rem; line-height: 1.35; }
.cat-tree a:hover { background: var(--bg-alt); color: var(--green); }
.cat-tree > ul > li > a { font-weight: 700; font-family: var(--font-head); font-size: .9rem; }
.cat-tree .current-cat > a { background: var(--green); color: #fff; }
.cat-tree .children { display: none; padding-left: .8rem; margin-left: .6rem; border-left: 2px solid var(--line); }
.cat-tree li.is-open > .children { display: block; }
.cat-tree-toggle { position: absolute; right: 0; top: 2px; width: 28px; height: 28px; border: 0; background: none; cursor: pointer; border-radius: 4px; color: var(--muted); }
.cat-tree-toggle::before { content: ""; display: block; width: 8px; height: 8px; margin: auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .15s; }
.cat-tree-toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
.cat-tree-toggle:hover { background: var(--bg-alt); color: var(--green); }
.cat-tree .current-cat > .cat-tree-toggle { color: #fff; }

.woocommerce-products-header__title, .catalog-main > h1 { margin-bottom: .4rem; }
.term-description { color: var(--muted); max-width: 70ch; margin-bottom: 1.5rem; }
.woocommerce-result-count { float: left; margin: .5rem 0 1.2rem; color: var(--muted); font-size: .9rem; }
.woocommerce-ordering { float: right; margin-bottom: 1.2rem; }
.woocommerce-ordering select { width: auto; }

/* Product + subcategory grid */
ul.products { list-style: none; margin: 0 0 2rem; padding: 0; clear: both; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
ul.products::before, ul.products::after { display: none; }
ul.products li.product, ul.products li.product-category { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
ul.products li:hover { border-color: #b9d6c4; box-shadow: var(--shadow); }
ul.products li .woocommerce-loop-product__link,
ul.products li.product-category a { display: block; color: var(--ink); text-decoration: none; }
ul.products li img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; padding: .6rem; border-bottom: 1px solid var(--line); }
ul.products .woocommerce-loop-product__title,
ul.products .woocommerce-loop-category__title { font: 700 .9rem/1.3 var(--font-head); color: var(--green-deep); padding: .8rem .8rem .2rem; margin: 0; }
ul.products .woocommerce-loop-category__title .count { background: none; color: var(--muted); font-weight: 600; }
.item-number { display: block; padding: 0 .8rem .6rem; font: 600 .78rem var(--font-mono); color: var(--muted); letter-spacing: .03em; }
ul.products li.product .button, .loop-add { margin: auto .8rem .8rem; }
.loop-add { display: flex; gap: .4rem; align-items: stretch; }
.loop-add .quantity { flex: 0 0 64px; }
.loop-add .quantity input { height: 100%; padding: .4em; text-align: center; }
.loop-add .button { flex: 1; margin: 0; padding: .55em .6em; font-size: .85rem; }
.loop-add .added_to_cart { display: none; }
.button.loading { opacity: .6; }
.button.added::after { content: " ✓"; }

.woocommerce-pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0; }
.woocommerce-pagination a, .woocommerce-pagination span { display: block; min-width: 2.4em; padding: .45em .7em; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; text-decoration: none; }
.woocommerce-pagination .current { background: var(--green); border-color: var(--green); color: #fff; }

/* ---- Single product ------------------------------------------------------ */

.single-product div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.single-product div.product > .woocommerce-tabs,
.single-product div.product > .related,
.single-product div.product > .upsells { grid-column: 1 / -1; }
.woocommerce-product-gallery { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; background: #fff; }
.woocommerce-product-gallery__trigger { position: absolute; top: 1rem; right: 1rem; z-index: 5; }
.flex-control-thumbs { list-style: none; display: flex; gap: .5rem; padding: 0; margin: .8rem 0 0; }
.flex-control-thumbs li { width: 70px; }
.product_title { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.product_meta { display: flex; flex-direction: column; gap: .2rem; margin-bottom: 1.2rem; font-size: .9rem; color: var(--muted); }
.product_meta .sku_wrapper { font-weight: 700; color: var(--ink); }
.product_meta .sku { font-family: var(--font-mono); background: var(--green-tint); color: var(--green-deep); padding: .1em .45em; border-radius: 4px; }
.woocommerce-product-details__short-description { margin-bottom: 1.2rem; }
form.cart { display: flex; flex-wrap: wrap; gap: .6rem; align-items: stretch; padding: 1.2rem; background: var(--bg-alt); border-radius: var(--radius); margin: 1rem 0; }
form.cart .quantity { width: 90px; }
form.cart .quantity input { height: 100%; text-align: center; font-weight: 700; }
form.cart .single_add_to_cart_button { flex: 1; min-width: 180px; padding: .9em 1.4em; font-size: 1.05rem; }
form.variations_form { flex-direction: column; }
table.variations { width: 100%; }
table.variations th, table.variations td { padding: .3rem 0; text-align: left; }
.single_variation_wrap .woocommerce-variation-add-to-cart { display: flex; gap: .6rem; }
.single-order-help { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; }
.single-order-help p { margin: 0 0 .35rem; }
.stock.in-stock { color: var(--green); font-weight: 600; }
.woocommerce-tabs ul.tabs { list-style: none; display: flex; gap: .3rem; padding: 0; margin: 2rem 0 0; border-bottom: 2px solid var(--line); }
.woocommerce-tabs ul.tabs li a { display: block; padding: .6rem 1rem; text-decoration: none; font: 700 .9rem var(--font-head); color: var(--muted); }
.woocommerce-tabs ul.tabs li.active a { color: var(--green); box-shadow: inset 0 -3px 0 var(--green); }
.woocommerce-Tabs-panel { padding: 1.5rem 0; max-width: 75ch; }
.woocommerce-Tabs-panel h2:first-child { display: none; }
.related > h2 { margin-top: 1.5rem; }
.related ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---- Notices ------------------------------------------------------------- */

.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice {
	list-style: none; margin: 0 0 1.5rem; padding: 1rem 1.2rem; border-radius: var(--radius);
	background: var(--green-tint); color: var(--green-deep); border-left: 4px solid var(--green);
	display: flex; flex-wrap: wrap; gap: .8rem; align-items: center;
}
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; padding: .45em .9em; font-size: .85rem; }
.woocommerce-error { background: var(--error-tint); color: var(--error); border-color: var(--error); display: block; }
.woocommerce-error li { margin: .2rem 0; }
.woocommerce-info { background: #eef4fb; color: #1d4370; border-color: #3a74b8; }
.woocommerce-notices-wrapper:empty { display: none; }

/* ---- Tables: order list, checkout, order details, quick order ----------- */

.order-table, table.shop_table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; background: #fff; }
.order-table th, .order-table td, table.shop_table th, table.shop_table td { padding: .75rem .8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.order-table thead th, table.shop_table thead th { background: var(--bg-alt); font: 700 .8rem var(--font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.order-table .product-sku, .quick-order-table .qo-sku { font-family: var(--font-mono); font-size: .88rem; }
.order-table .product-quantity { width: 110px; }
.order-table .product-thumbnail { width: 72px; }
.order-table .product-thumbnail img { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--line); border-radius: 4px; }
.order-table .product-remove { width: 48px; text-align: center; }
.order-table a.remove { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; color: var(--error); font-size: 1.3rem; text-decoration: none; }
.order-table a.remove:hover { background: var(--error-tint); }
.order-table td.actions { text-align: right; border-bottom: 0; padding-top: 1rem; }
.order-table td.actions .button { margin-left: .5rem; }
.order-table td.actions .button-secondary { float: left; margin-left: 0; }
.order-table .quantity input { max-width: 90px; text-align: center; }
.review-edit { text-align: right; font-size: .9rem; border-bottom: 0 !important; }

.order-continue { max-width: 460px; margin-left: auto; padding: 1.5rem; border: 2px solid var(--green); border-radius: var(--radius); background: var(--green-tint); }
.order-continue .btn { width: 100%; }
.order-continue p:last-child { margin: .8rem 0 0; text-align: center; }
.cart-empty + .return-to-shop { margin-top: 1rem; }

/* ---- Checkout ------------------------------------------------------------ */

form.checkout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
#customer_details { display: block; }
#customer_details .col-1, #customer_details .col-2 { width: auto; float: none; }
#customer_details .col-2 { margin-top: 1.5rem; }
#order_review_heading { display: none; }
#order_review { position: sticky; top: 100px; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); }
#order_review::before { content: "Items in this order"; display: block; font: 700 1.1rem var(--font-head); color: var(--green-deep); margin-bottom: .8rem; }
#order_review .order-table { font-size: .9rem; }
.woocommerce-checkout #payment { background: none; }
.woocommerce-checkout #payment .place-order { padding: 0; margin-top: 1rem; }
#place_order { width: 100%; }
.woocommerce-privacy-policy-text { font-size: .8rem; color: var(--muted); }

.woocommerce form .form-row { margin: 0 0 1rem; padding: 0; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: calc(50% - .5rem); float: left; }
.woocommerce form .form-row-last { float: right; }
.woocommerce form .form-row-wide { clear: both; }
.woocommerce-billing-fields__field-wrapper::after,
.woocommerce-shipping-fields__field-wrapper::after,
.woocommerce-additional-fields__field-wrapper::after { content: ""; display: table; clear: both; }
.woocommerce form .form-row label .optional { color: var(--muted); font-weight: 400; }
.woocommerce form .form-row .required { color: var(--error); text-decoration: none; }
.woocommerce form .form-row.woocommerce-invalid input { border-color: var(--error); }
#ship-to-different-address label { display: flex; gap: .5rem; align-items: center; font: 700 1rem var(--font-head); color: var(--green-deep); cursor: pointer; }
#ship-to-different-address input { width: 18px; height: 18px; }
.woocommerce-billing-fields h3, .woocommerce-additional-fields h3 { padding-bottom: .5rem; border-bottom: 2px solid var(--green); }
.select2-container .select2-selection--single { height: auto; padding: .45em .5em; border-color: #b9c7be; }

/* ---- Thank you / order details ------------------------------------------ */

.thankyou-banner { display: flex; gap: 1rem; align-items: center; padding: 1.4rem; margin-bottom: 1.5rem; border-radius: var(--radius); background: var(--green-tint); color: var(--green); }
.thankyou-banner p { margin: 0; color: var(--green-deep); font-size: 1.05rem; background: none; border: 0; padding: 0; }
.order-overview { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 2rem; padding: 0; margin: 0 0 2rem; color: var(--muted); font-size: .9rem; }
.order-overview strong { display: block; color: var(--ink); font-size: 1rem; }
.order-extras { margin: 1rem 0; padding: 1rem; background: var(--bg-alt); border-radius: var(--radius); }
.order-extras p { margin: 0 0 .25rem; }
.order-note { margin-bottom: 1.5rem; }
.woocommerce-customer-details address { font-style: normal; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); }
.woocommerce-columns--addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.thankyou-account-note { margin-top: 2rem; padding: 1rem; border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---- My Account ---------------------------------------------------------- */

.woocommerce-account .woocommerce { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.woocommerce-MyAccount-navigation a { display: block; padding: .7rem 1rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.woocommerce-MyAccount-navigation li:last-child a { border-bottom: 0; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--green); color: #fff; }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.u-columns.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.woocommerce-orders-table .button { padding: .4em .8em; font-size: .8rem; }
.order-again .button { margin-top: .5rem; }

/* ---- Quick Order --------------------------------------------------------- */

.quick-order-intro { color: var(--muted); max-width: 70ch; }
.quick-order-table .col-qty { width: 100px; }
.quick-order-table .col-sku { width: 200px; }
.quick-order-table .col-x { width: 44px; text-align: center; }
.quick-order-table td { vertical-align: top; }
.quick-order-table input { padding: .55em .65em; }
.quick-order-table .qo-sku { text-transform: uppercase; }
.qo-match { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; min-height: 0; font-size: .82rem; margin-top: .3rem; }
.qo-match:empty { display: none; }
.qo-match img { width: 28px; height: 28px; object-fit: contain; border: 1px solid var(--line); border-radius: 3px; }
.qo-ok { color: var(--green); font-weight: 700; }
.qo-warn { color: var(--warn); }
.qo-loading { color: var(--muted); }
.qo-suggest { width: 100%; color: var(--muted); }
.qo-pick { margin: 2px; padding: .15em .5em; border: 1px solid var(--line); border-radius: 4px; background: #fff; font: 600 .8rem var(--font-mono); cursor: pointer; }
.qo-pick:hover { border-color: var(--green); color: var(--green); }
.qo-row[data-state="found"] .qo-sku { border-color: var(--green); background: var(--green-tint); }
.qo-row[data-state="missing"] .qo-sku, .qo-row[data-state="options"] .qo-sku { border-color: #e0b56a; background: var(--warn-tint); }
.qo-remove { width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 1.3rem; cursor: pointer; }
.qo-remove:hover { background: var(--error-tint); color: var(--error); }
.quick-order-tools { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.quick-order-paste { flex: 1; min-width: 260px; }
.quick-order-paste summary { cursor: pointer; font-weight: 600; color: var(--green); padding: .6em 0; }
.quick-order-paste label { font-weight: 400; color: var(--muted); }
.quick-order-paste textarea { font-family: var(--font-mono); margin-bottom: .6rem; }
.quick-order-submit { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: flex-end; padding: 1.2rem; background: var(--bg-alt); border-radius: var(--radius); }
.quick-order-status { margin: 0 auto 0 0; }
.quick-order-status.is-error { color: var(--error); }
.quick-order-status.is-warn { color: var(--warn); }
.unlisted-items { padding: 1rem 1.2rem; margin-bottom: 1.5rem; border-left: 4px solid #e0b56a; background: var(--warn-tint); border-radius: var(--radius); }

/* ---- Blog list ----------------------------------------------------------- */

.post-list { list-style: none; padding: 0; }
.post-list li { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.post-meta { color: var(--muted); font-size: .85rem; }

/* ---- Responsive ---------------------------------------------------------- */

@media (max-width: 1100px) {
	.header-search { display: none; }
	ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.feature-cards { grid-template-columns: repeat(2, 1fr); }
	.feature-card { min-height: 220px; }
}

@media (max-width: 900px) {
	.nav-toggle { display: block; order: 3; }
	.header-inner { flex-wrap: wrap; min-height: 70px; gap: .8rem; }
	.header-actions { order: 2; margin-left: auto; }
	.site-nav { order: 4; flex-basis: 100%; display: none; padding-bottom: 1rem; }
	.nav-open .site-nav { display: block; }
	.site-nav ul { flex-direction: column; }
	.site-nav .sub-menu { position: static; display: flex; box-shadow: none; border: 0; padding-left: 1rem; }
	.order-list-label { display: none; }

	.catalog-layout.has-sidebar { grid-template-columns: 1fr; gap: 1rem; }
	.catalog-sidebar { position: static; max-height: none; }
	.sidebar-toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); font: 700 .95rem var(--font-head); color: var(--green-deep); cursor: pointer; }
	.sidebar-toggle::after { content: "+"; font-size: 1.3rem; }
	.sidebar-toggle[aria-expanded="true"]::after { content: "−"; }
	.catalog-sidebar-inner { display: none; padding-top: 1rem; }
	.catalog-sidebar-inner.is-open { display: block; }
	.sidebar-title { display: none; }

	.single-product div.product { grid-template-columns: 1fr; gap: 1.5rem; }
	form.checkout { grid-template-columns: 1fr; }
	#order_review { position: static; }
	.contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
	.woocommerce-account .woocommerce, .u-columns.col2-set, .woocommerce-columns--addresses { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.hide-sm { display: none; }
	ul.products, .related ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
	.loop-add { flex-direction: column; }
	.loop-add .quantity { flex-basis: auto; }
	.feature-cards { grid-template-columns: 1fr; }
	.feature-card { min-height: 170px; }
	.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; float: none; }

	/* Stack table rows as cards */
	.order-table thead { display: none; }
	.order-table, .order-table tbody, .order-table tr, .order-table td { display: block; width: 100%; }
	.order-table tr { position: relative; padding: .8rem 0; border-bottom: 1px solid var(--line); }
	.order-table td { border: 0; padding: .25rem 0; }
	.order-table td[data-title]::before { content: attr(data-title); display: block; font: 700 .72rem var(--font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
	.order-table .product-remove, .quick-order-table .col-x { position: absolute; top: .6rem; right: 0; width: auto; }
	.order-table .product-thumbnail { display: none; }
	.order-table td.actions { text-align: left; }
	.order-table td.actions .button, .order-table td.actions .button-secondary { float: none; margin: .3rem 0; width: 100%; }
	.quick-order-table .col-qty, .quick-order-table .col-sku { width: 100%; }
	.quick-order-table .col-qty { max-width: 140px; }
	.quick-order-submit .btn { width: 100%; }
	.checkout .order-table tr { padding: .5rem 0; }
}

@media print {
	.topbar, .site-header, .site-footer, .catalog-sidebar, .woocommerce-breadcrumb, .order-again { display: none !important; }
}

/* =========================================================================
   Home call-to-action row (Browse Product · Specials/Promos · Order Form · Contact Us)
   ========================================================================= */

.home-intro { padding-bottom: 1rem; }
.home-ctas { padding: 0 0 3rem; }
.cta-search { max-width: 640px; margin: 0 auto 1.4rem; }
.cta-search input[type=search] { padding: .85em 1em; font-size: 1rem; }
.cta-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; max-width: 1040px; margin: 0 auto; }
.cta-tile {
	display: flex; flex-direction: column; align-items: flex-start; gap: .35rem;
	padding: 1.2rem 1.3rem; border-radius: var(--radius);
	background: var(--green); color: #fff; text-decoration: none;
	transition: background .15s, transform .15s, box-shadow .15s;
}
.cta-tile:hover { background: var(--green-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.cta-tile svg { margin-bottom: .3rem; opacity: .95; }
.cta-label { font: 800 1.05rem/1.2 var(--font-head); letter-spacing: .02em; }
.cta-sub { font-size: .85rem; opacity: .85; }
.content-search { max-width: 560px; margin: 1rem 0 1.5rem; }

/* =========================================================================
   Products dropdown (mega menu)
   ========================================================================= */

.site-nav li.has-mega { position: static; display: flex; align-items: center; }
.mega-toggle { width: 26px; height: 26px; margin-left: -.4rem; border: 0; background: none; cursor: pointer; color: var(--muted); border-radius: 4px; }
.mega-toggle::before { content: ""; display: block; width: 7px; height: 7px; margin: auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .15s; }
.has-mega.is-open .mega-toggle::before { transform: rotate(-135deg); }
.mega-panel {
	display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 60;
	background: #fff; border-top: 3px solid var(--green); border-bottom: 1px solid var(--line);
	box-shadow: 0 18px 40px rgba(11, 61, 38, .12);
	padding: 1.6rem 0 1rem;
}
.has-mega:focus-within > .mega-panel, .has-mega.is-open > .mega-panel { display: block; }
.mega-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.2rem 1.6rem; }
.mega-col ul { list-style: none; margin: .35rem 0 0; padding: 0; display: block; }
.mega-col li { margin: 0; }
.site-nav .mega-col a { display: inline; padding: 0; background: none; border-radius: 0; }
.site-nav .mega-col a.mega-top { display: block; font: 700 .92rem var(--font-head); color: var(--green-deep); padding-bottom: .3rem; border-bottom: 1px solid var(--line); }
.site-nav .mega-col ul a { display: block; padding: .18rem 0; font: 400 .88rem var(--font-body); color: var(--muted); }
.site-nav .mega-col a:hover { color: var(--green); background: none; }
.site-nav .mega-col a.mega-more { color: var(--green); font-weight: 600; }
.mega-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.site-nav .mega-foot a { display: inline; padding: 0; font: 600 .88rem var(--font-body); color: var(--green); background: none; }

@media (max-width: 900px) {
	.site-nav li.has-mega { flex-wrap: wrap; }
	.site-nav li.has-mega > a { flex: 1; }
	.mega-toggle { margin-left: 0; width: 40px; height: 40px; }
	.mega-panel { position: static; box-shadow: none; border: 0; padding: .4rem 0 .8rem .8rem; flex-basis: 100%; }
	.has-mega:hover > .mega-panel { display: none; }
	.has-mega.is-open > .mega-panel { display: block; }
	.mega-panel .wrap { padding: 0; }
	.mega-grid { grid-template-columns: 1fr; gap: .2rem; }
	.mega-col ul, .mega-foot { display: none; }
	.site-nav .mega-col a.mega-top { border: 0; padding: .45rem 0; font-weight: 600; }
}

/* =========================================================================
   Content converted from Divi / Elementor
   ========================================================================= */

.page-header-spacer { height: 2rem; }
.entry-content .converted-button { margin: 1rem 0; }
.entry-content .converted-button + .converted-button { margin-top: -.4rem; }
.entry-content .converted-image img { border-radius: var(--radius); }
.entry-content .converted-image { margin: 1.4rem 0; }
.converted-cta, .converted-slide { margin: 1.6rem 0; padding: 1.6rem; border-radius: var(--radius); background: var(--green-tint); }
.converted-cta h2, .converted-slide h2 { margin-top: 0; }
.converted-blurb { margin: 1.4rem 0; }
.converted-toggle { margin: .6rem 0; border: 1px solid var(--line); border-radius: var(--radius); padding: .2rem 1rem; }
.converted-toggle summary { cursor: pointer; font: 700 1rem var(--font-head); color: var(--green-deep); padding: .6rem 0; }
.entry-content .cat-grid { margin: 1.5rem 0 2rem; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

@media (max-width: 900px) {
	.cta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
	.cta-grid { grid-template-columns: 1fr; }
	.cta-tile { flex-direction: row; align-items: center; flex-wrap: wrap; }
	.cta-tile svg { margin: 0 .4rem 0 0; }
	.cta-sub { flex-basis: 100%; padding-left: calc(28px + .4rem); }
}

/* =========================================================================
   Home green strip: search + Browse Product · Specials/Promos · Order Form · Contact Us
   (same band as the previous site)
   ========================================================================= */

.cta-strip-wrap { padding: 1.5rem 0 3.5rem; }
.cta-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; background: #fff; }
.cta-strip > * { background: var(--green); }
.cta-strip-search { display: flex; align-items: center; padding: 14px; }
.cta-strip-search .woocommerce-product-search { width: 100%; }
.cta-strip-search input[type=search] { border: 0; border-radius: 3px 0 0 3px; min-width: 0; padding: .7em .8em; }
.cta-strip-search button { border: 0 !important; border-radius: 0 3px 3px 0 !important; background: #e6e6e6 !important; color: #555 !important; font: 400 1rem var(--font-body) !important; padding: 0 1em !important; }
.cta-strip-search button:hover { background: #d8d8d8 !important; }
.cta-strip-link {
	display: flex; align-items: center; justify-content: center; text-align: center;
	min-height: 86px; padding: 1rem;
	color: #fff; text-decoration: none; text-transform: uppercase;
	font: 800 1.05rem/1.2 var(--font-head); letter-spacing: .02em;
	transition: background .15s;
}
.cta-strip-link:hover, .cta-strip-link:focus-visible { background: var(--green-dark); color: #fff; }

@media (max-width: 900px) {
	.cta-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cta-strip-search { grid-column: 1 / -1; }
	.cta-strip-link { min-height: 64px; font-size: .95rem; }
}

/* =========================================================================
   v1.2 — dropdown bridge, product cards, modern hero
   ========================================================================= */

/* Invisible bridge between the menu link and the dropdown so it never closes mid-move. */
.mega-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -36px; height: 36px; }

/* WooCommerce's stylesheet adds clearfix pseudo-elements and floats that break the grid. */
.woocommerce ul.products::before, .woocommerce ul.products::after,
ul.products::before, ul.products::after { content: none !important; display: none !important; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	float: none !important; width: auto !important; margin: 0 !important; padding: 0;
}
.woocommerce ul.products li.product a img { margin: 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: .9rem .9rem .25rem; font-size: .95rem; line-height: 1.3;
}
.woocommerce ul.products li.product .item-number { padding: 0 .9rem .75rem; font-size: .75rem; }
.woocommerce ul.products li.product .loop-add,
.loop-add {
	display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: .5rem; align-items: stretch;
	margin: auto .9rem .9rem;
}
.loop-add .quantity { width: auto; margin: 0 !important; }
.woocommerce .loop-add .quantity .qty,
.loop-add .quantity input {
	width: 100% !important; height: 44px; padding: 0 .3rem; text-align: center; font-weight: 700;
}
.woocommerce ul.products li.product .loop-add .button,
.loop-add .button {
	margin: 0 !important; height: 44px; padding: 0 .6rem !important;
	white-space: nowrap; font-size: .85rem !important; line-height: 1;
	display: flex; align-items: center; justify-content: center;
}
.woocommerce ul.products li.product > .button { margin: auto .9rem .9rem; }
.woocommerce-result-count, .woocommerce-ordering { float: none !important; margin: 0 !important; }
.catalog-main > .woocommerce-result-count { display: inline-block; margin-bottom: 1.2rem !important; }
.catalog-main > .woocommerce-ordering { float: right !important; margin-bottom: 1.2rem !important; }
.catalog-main ul.products { clear: both; }

/* Modern home hero: intro left, four product tiles right. */
.home-hero { background: linear-gradient(180deg, var(--green-tint) 0%, #fff 100%); padding: 3rem 0 2.5rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 3rem; align-items: center; }
.hero-copy h1 { text-transform: uppercase; font-size: clamp(1.7rem, 3.2vw, 2.6rem); letter-spacing: .01em; color: var(--green); }
.hero-copy .lead { color: var(--muted); font-size: 1.05rem; max-width: 52ch; margin: 0 0 1.6rem; text-align: left; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-phone { margin: 1.2rem 0 0; font-size: .92rem; color: var(--muted); }
.hero-phone a { font-weight: 700; }
.hero-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.hero-tile {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: .35rem;
	aspect-ratio: 4 / 3; max-width: 100%; padding: 1.1rem; overflow: hidden;
	border-radius: 10px; color: #fff; text-decoration: none;
	background: var(--green-deep) var(--tile-img, none) center / cover no-repeat;
	box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.hero-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,61,38,0) 30%, rgba(11,61,38,.85) 100%); transition: background .2s; }
.hero-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(11,61,38,.18); color: #fff; }
.hero-tile:hover::before { background: linear-gradient(180deg, rgba(0,132,61,.15) 0%, rgba(11,61,38,.9) 100%); }
.hero-tile > * { position: relative; }
.hero-tile-label { align-self: flex-start; padding: .3em .7em; border-radius: 4px; background: #fff; color: var(--green-deep); font: 800 .95rem/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .03em; }
.hero-tile-cta { font-size: .85rem; font-weight: 600; opacity: .95; }
.cta-strip-wrap { padding-top: 2rem; }

@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; gap: 1.8rem; }
	.home-hero { padding: 2rem 0; }
}
@media (max-width: 480px) {
	.hero-products { gap: .6rem; }
	.hero-tile { aspect-ratio: 1; padding: .7rem; }
	.hero-tile-label { font-size: .78rem; }
	.hero-tile-cta { display: none; }
}

/* ---- Website order form (copy of the paper Fax/Email Order Form) --------- */

.order-form { max-width: 900px; margin: 0 auto; }
.of-sheet { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 4vw, 40px); box-shadow: var(--shadow); }
.of-head { text-align: center; margin-bottom: 1.5rem; }
.of-title { font: 800 clamp(1.4rem, 4vw, 2.2rem)/1.1 var(--font-head); text-transform: uppercase; letter-spacing: .04em; color: var(--ink); margin: 0 0 .6rem; }
.of-head .custom-logo-link { display: inline-block; }
.of-head img { max-height: 64px; width: auto; margin: 0 auto .4rem; }
.of-contact { font: 700 .82rem/1.5 var(--font-head); color: var(--green); margin: 0; }
.of-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem 1.5rem; margin-bottom: 1.5rem; }
.of-field { display: flex; align-items: baseline; gap: .6rem; margin: 0 0 .5rem; }
.of-field label { font: 700 .9rem var(--font-head); white-space: nowrap; }
.of-field input, .of-field textarea { flex: 1; min-width: 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: var(--bg-alt); padding: .35rem .5rem; font: inherit; }
.of-field textarea { border: 1px solid var(--line); }
.of-wide { grid-column: 1 / -1; }
.of-field.of-wide:has(textarea) { flex-direction: column; align-items: stretch; }
.of-date { grid-column: 2; }
.of-items { width: 100%; border-collapse: collapse; margin-bottom: .75rem; }
.of-items th { border: 2px solid var(--ink); font: 700 .9rem var(--font-head); padding: .35rem; text-align: center; }
.of-items td { border: 1px solid var(--ink); padding: 0; }
.of-items input { width: 100%; border: 0; background: var(--bg-alt); padding: .4rem .5rem; font: inherit; }
.of-items .of-qty { width: 12%; }
.of-items .of-sku { width: 22%; }
.of-items .of-sku input { font-family: var(--font-mono); text-transform: uppercase; }
.of-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 1.5rem; }
.of-actions .small { flex-basis: 100%; margin: 0; }
.order-form-copy { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.print-only { display: none; }
@media (max-width: 640px) {
	.of-grid { grid-template-columns: 1fr; }
	.of-date { grid-column: auto; }
	.of-field { flex-direction: column; align-items: stretch; gap: .2rem; }
}

@media print {
	@page { margin: .5in; }
	body { background: #fff; font-size: 11pt; }
	.topbar, .site-header, .site-footer, #wpadminbar, .no-print, .page-header, .entry-header, .breadcrumb, .skip-link, .hp, .cf-turnstile { display: none !important; }
	.print-only { display: block; }
	html { margin-top: 0 !important; }
	.site-main, .wrap, .entry-content { padding: 0 !important; margin: 0 !important; max-width: none !important; }
	.of-sheet { border: 0; box-shadow: none; padding: 0; }
	.of-field input, .of-field textarea, .of-items input { background: none; }
	.of-items tr { break-inside: avoid; }
	.of-fax-line { text-align: center; font: 700 12pt var(--font-head); margin-top: 1rem; }
}


/* -------------------------------------------------------------------------
 * Order form mode: green "Add to Order" (overrides WooCommerce's purple .alt
 * buttons) and the floating "View your order form" button.
 * ---------------------------------------------------------------------- */
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce button.button.alt.disabled,
.woocommerce button.button.alt:disabled,
.woocommerce button.button.alt:disabled[disabled] {
	background: var(--green);
	border-color: var(--green);
	color: #fff;
}
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover {
	background: var(--green-dark);
	border-color: var(--green-dark);
	color: #fff;
}

.single-order-help .order-form-help { margin-bottom: 10px; }
.single-order-help .order-form-help strong { color: var(--green-deep); }

.order-float {
	position: fixed;
	right: var(--gutter);
	bottom: var(--gutter);
	z-index: 90;
}
.order-float[hidden],
.is-order-form-page .order-float { display: none; }
.order-float-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px 12px 18px;
	background: var(--green-deep);
	color: #fff;
	border-radius: 999px;
	box-shadow: 0 6px 24px rgba(11, 61, 38, .28);
	text-decoration: none;
	font-family: var(--font-head);
	animation: onnen-float-in .3s ease both;
}
.order-float-link:hover,
.order-float-link:focus-visible { background: var(--green); color: #fff; }
.order-float-text { display: flex; flex-direction: column; line-height: 1.25; }
.order-float-text strong { font-size: .95rem; font-weight: 700; }
.order-float-text span { font-family: var(--font-body); font-size: .78rem; opacity: .85; }
.order-float-count {
	min-width: 28px;
	height: 28px;
	padding: 0 7px;
	border-radius: 999px;
	background: #fff;
	color: var(--green-deep);
	display: grid;
	place-items: center;
	font-weight: 800;
	font-size: .85rem;
}
@keyframes onnen-float-in {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .order-float-link { animation: none; } }
@media (max-width: 600px) {
	.order-float { left: 12px; right: 12px; bottom: 12px; }
	.order-float-link { justify-content: space-between; border-radius: 12px; }
}

/* Order form: remove a line */
th.of-remove-col,
td.of-remove-col { width: 2.5rem; padding: 0 !important; text-align: center; border: 0 !important; background: transparent !important; }
.of-remove { appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: #8a8f98; font-size: 1.4rem; line-height: 1; width: 2rem; height: 2rem; border-radius: 50%; cursor: pointer; visibility: hidden; }
tr.of-row-filled .of-remove { visibility: visible; }
.of-remove:hover,
.of-remove:focus-visible { background: #fde8e8; color: #b42318; outline: none; }
@media print { .of-remove-col { display: none !important; } }
