/*
Theme Name: Stop Dăunători Modern
Theme URI: https://stage.stop-daunatori.ro/
Author: AGAN TRUST
Description: Temă WooCommerce rapidă și accesibilă, adaptată după direcția vizuală aprobată pentru Stop Dăunători.
Version: 1.3.0
Requires at least: 6.8
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: stop-daunatori-modern
*/

:root {
	--sdm-bg: #f6f5f2;
	--sdm-surface: #fff;
	--sdm-soft: #f3f1ec;
	--sdm-ink: #1e2124;
	--sdm-ink-2: #3e4246;
	--sdm-muted: #55595d;
	--sdm-line: #dcd9d3;
	--sdm-line-2: #ece9e4;
	--sdm-red: #a3211a;
	--sdm-red-dark: #7a1813;
	--sdm-red-soft: #f7e4e1;
	--sdm-dark: #1e2124;
	--sdm-focus: #1d5fa8;
	--sdm-ok: #1d5631;
	--sdm-ok-bg: #e6f0e8;
	--sdm-radius: 16px;
	box-sizing: border-box;
	color-scheme: light;
}

*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--sdm-bg);
	color: var(--sdm-ink);
	font-family: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
	font-size: 17px;
	line-height: 1.5;
	overflow-x: hidden;
}
body.admin-bar .sdm-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--sdm-red); }
a:hover { color: var(--sdm-red-dark); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--sdm-focus); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.screen-reader-text:focus { clip: auto !important; width: auto; height: auto; left: 12px; top: 12px; padding: 12px 16px; background: #fff; color: #111; z-index: 100000; }
.sdm-wrap { width: min(100% - 40px, 1200px); margin-inline: auto; }
.sdm-display, .sdm-section-title, .sdm-hero h1, .woocommerce-products-header__title, .product_title, .entry-title {
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: .2px;
}
.sdm-stage-note { background: #fff0b8; color: #3d3000; padding: 8px 20px; text-align: center; font-size: 14px; font-weight: 700; }
.sdm-topbar { background: #164e50; color: #fff; font-size: 15px; }
.sdm-topbar a:hover { color: #ffe1b0; }
.sdm-topbar a:focus-visible { color: #fff; outline-color: #ffe1b0; }
.sdm-topbar-inner { min-height: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.sdm-topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; min-height: 36px; }
.sdm-topbar .dashicons { font-size: 17px; width: 17px; height: 17px; }
.sdm-top-location { margin-left: auto; }
.sdm-header { position: sticky; top: 0; z-index: 60; background: var(--sdm-surface); border-bottom: 1px solid var(--sdm-line); box-shadow: 0 6px 20px rgb(30 33 36 / 4%); }
.sdm-head { min-height: 82px; display: flex; align-items: center; gap: 14px 24px; padding-block: 12px; }
.sdm-brand { display: flex; align-items: center; gap: 10px; color: var(--sdm-ink); text-decoration: none; flex: 0 1 auto; }
.sdm-logo { width: auto; height: 46px; object-fit: contain; }
.sdm-search { display: flex; flex: 1 1 360px; min-width: 180px; }
.sdm-search select { width: 150px; height: 50px; padding: 0 10px; border: 2px solid var(--sdm-ink); border-right: 1px solid var(--sdm-line); border-radius: 10px 0 0 10px; background: #fff; color: var(--sdm-ink); }
.sdm-search input { flex: 1; min-width: 0; height: 50px; border: 2px solid var(--sdm-ink); border-left: 0; border-right: 0; border-radius: 0; padding: 0 15px; background: var(--sdm-surface); color: var(--sdm-ink); }
.sdm-search button { min-width: 112px; height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 0 10px 10px 0; background: #e58a28; color: #1e2124; font-weight: 700; cursor: pointer; }
.sdm-search button:hover { background: #d5761c; color: #1e2124; }
.sdm-search button:focus-visible { outline-color: #164e50; }
.sdm-search .dashicons { font-size: 21px; width: 21px; height: 21px; }
.sdm-actions { display: flex; align-items: center; gap: 8px; }
.sdm-icon-button { width: 48px; height: 48px; border-radius: 10px; border: 2px solid var(--sdm-ink); color: var(--sdm-ink); background: transparent; align-items: center; justify-content: center; text-decoration: none; cursor: pointer; }
.sdm-icon-button .dashicons { font-size: 23px; width: 23px; height: 23px; }
.sdm-menu-toggle, .sdm-phone-button { display: none; }
.sdm-cart { min-height: 50px; padding: 4px 16px; display: inline-flex; align-items: center; gap: 10px; border-radius: 10px; background: var(--sdm-red); color: #fff; text-decoration: none; }
.sdm-cart:hover { color: #fff; background: var(--sdm-red-dark); }
.sdm-cart .dashicons { font-size: 23px; width: 23px; height: 23px; }
.sdm-cart-icon { display: block; flex: 0 0 24px; }
.sdm-cart span { display: flex; flex-direction: column; line-height: 1.05; }
.sdm-cart small { margin-top: 5px; font-size: 13px; }
.sdm-nav { border-top: 1px solid var(--sdm-line-2); }
.sdm-nav-inner { display: flex; align-items: center; gap: 1px; }
.sdm-nav a, .sdm-nav button { min-height: 51px; padding: 0 15px; border: 0; background: transparent; color: var(--sdm-ink); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; font-weight: 700; cursor: pointer; }
.sdm-nav a:hover, .sdm-nav button:hover, .sdm-nav button[aria-expanded="true"] { background: var(--sdm-red-soft); color: var(--sdm-red-dark); }
.sdm-nav .sdm-promo-link { color: var(--sdm-red); }
.sdm-mega { position: absolute; inset: 100% 0 auto; background: var(--sdm-surface); border-top: 1px solid var(--sdm-line-2); box-shadow: 0 20px 35px rgb(30 33 36 / 14%); }
.sdm-mega-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; padding-block: 24px 28px; }
.sdm-mega h2 { margin: 0 0 8px; font-size: 17px; }
.sdm-mega a { min-height: 38px; padding: 4px 0; color: var(--sdm-ink-2); font-weight: 600; }

.sdm-hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: 18px; padding-top: 26px; }
.sdm-panel { background: var(--sdm-surface); border: 1px solid var(--sdm-line); border-radius: var(--sdm-radius); }
.sdm-hero-copy { padding: clamp(28px, 5vw, 54px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.sdm-kicker { margin: 0 0 12px; color: var(--sdm-red); text-transform: uppercase; letter-spacing: .08em; font-size: 14px; font-weight: 800; }
.sdm-hero h1 { margin: 0; font-size: clamp(42px, 5.6vw, 68px); max-width: 13ch; }
.sdm-hero-copy > p:not(.sdm-kicker) { color: var(--sdm-ink-2); font-size: clamp(18px, 2vw, 20px); max-width: 38em; margin: 18px 0 24px; }
.sdm-button-row { display: flex; flex-wrap: wrap; gap: 10px; }
.sdm-button, .button, button.button, input.button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	min-height: 48px;
	padding: 0 20px;
	border-radius: 10px;
	border: 2px solid transparent;
	background: var(--sdm-red);
	color: #fff;
	font-weight: 800;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.sdm-button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--sdm-red-dark); color: #fff; }
.sdm-button-dark { background: var(--sdm-ink); }
.sdm-button-outline { background: transparent; color: var(--sdm-ink); border-color: var(--sdm-ink); }
.sdm-button-outline:hover { background: var(--sdm-soft); color: var(--sdm-ink); }
.sdm-hero-product { min-height: 410px; padding: 24px; display: flex; flex-direction: column; color: var(--sdm-ink); text-decoration: none; background: var(--sdm-soft); overflow: hidden; }
.sdm-hero-product-media { flex: 1; min-height: 0; display: grid; place-items: center; }
.sdm-hero-product-media img { width: 100%; height: 260px; object-fit: contain; mix-blend-mode: multiply; }
.sdm-hero-product-copy { padding-top: 14px; border-top: 1px solid var(--sdm-line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; align-items: end; }
.sdm-hero-product-copy small { grid-column: 1 / -1; color: var(--sdm-red); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.sdm-hero-product-copy strong { font-size: 25px; line-height: 1.1; }
.sdm-hero-product-copy .price { color: var(--sdm-red); font-size: 24px; font-weight: 800; white-space: nowrap; }
.sdm-perks { margin-top: 14px; display: grid; grid-template-columns: repeat(4, 1fr); }
.sdm-perk { min-height: 92px; padding: 18px 20px; display: flex; align-items: center; gap: 14px; }
.sdm-perk + .sdm-perk { border-left: 1px solid var(--sdm-line); }
.sdm-perk .dashicons { color: var(--sdm-red); font-size: 30px; width: 30px; height: 30px; }
.sdm-perk strong, .sdm-perk span { display: block; }
.sdm-perk span { color: var(--sdm-muted); font-size: 15px; }
.sdm-section { padding-top: 44px; }
.sdm-section-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.sdm-section-title { margin: 0; font-size: clamp(32px, 4vw, 42px); }
.sdm-section-head > a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 800; }
.sdm-pests { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.sdm-pest { min-height: 68px; padding: 10px 14px; display: flex; align-items: center; gap: 11px; border: 1px solid var(--sdm-line); border-radius: 12px; background: var(--sdm-surface); color: var(--sdm-ink); font-weight: 800; text-decoration: none; }
.sdm-pest:hover { color: var(--sdm-ink); border-color: var(--sdm-red); transform: translateY(-1px); }
.sdm-pest-media { width: 42px; height: 42px; border-radius: 10px; background: var(--sdm-red-soft); flex: none; overflow: hidden; display: grid; place-items: center; color: var(--sdm-red); }
.sdm-pest-media img { width: 100%; height: 100%; object-fit: cover; }
.sdm-pest-media .dashicons { font-size: 24px; width: 24px; height: 24px; }
.sdm-best-tabs { display: flex; flex-wrap: wrap; gap: 9px; margin: -2px 0 16px; }
.sdm-best-tabs a { min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; border: 2px solid var(--sdm-ink); border-radius: 999px; background: var(--sdm-surface); color: var(--sdm-ink); font-weight: 800; text-decoration: none; }
.sdm-best-tabs a[aria-selected="true"] { background: var(--sdm-ink); color: #fff; }

.woocommerce ul.products, ul.products.sdm-products { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; align-items: stretch; gap: 14px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product, ul.products.sdm-products li.product { width: auto !important; min-width: 0; margin: 0 !important; float: none !important; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--sdm-line); border-radius: 14px; background: var(--sdm-surface); }
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link, ul.products.sdm-products li.product > a.woocommerce-LoopProduct-link { min-width: 0; flex: 1; display: flex; flex-direction: column; text-decoration: none; }
.woocommerce ul.products li.product a img, ul.products.sdm-products li.product a img { width: 100%; height: 220px; object-fit: contain; margin: 0; padding: 18px; background: #fff; border-bottom: 1px solid var(--sdm-line-2); }
.woocommerce ul.products li.product .woocommerce-loop-product__title, ul.products.sdm-products li.product .woocommerce-loop-product__title { height: 85px; min-height: 85px; padding: 12px 14px 4px; color: var(--sdm-ink); font-size: 17px; line-height: 1.35; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.woocommerce ul.products li.product .price, ul.products.sdm-products li.product .price { margin: auto 14px 10px; color: var(--sdm-red); font-size: 20px; font-weight: 800; }
.woocommerce ul.products li.product .price del, ul.products.sdm-products li.product .price del { color: var(--sdm-muted); opacity: 1; font-size: 14px; }
.woocommerce ul.products li.product .price ins, ul.products.sdm-products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button, ul.products.sdm-products li.product .button { min-height: 48px; margin: auto 14px 14px; width: calc(100% - 28px); display: inline-flex; align-items: center; justify-content: center; text-align: center; line-height: 1.2; }
.sdm-products-featured li.product .star-rating { display: none; }
.woocommerce span.onsale { min-width: auto; min-height: auto; line-height: 1.2; margin: 10px !important; padding: 5px 9px; border-radius: 7px; background: var(--sdm-red); }
.sdm-promo-section { margin-top: 44px; padding: 26px; border-radius: var(--sdm-radius); background: #fff6e8; color: #1e2124; }
.sdm-promo-section .sdm-section { padding-top: 0; }
.sdm-promo-section .sdm-section-head a { color: #164e50; }
.sdm-promo-section .sdm-section-head a:hover { color: #0d383a; }
.sdm-promo-section .sdm-section-head a:focus-visible { outline-color: #164e50; }
.sdm-promo-section .sdm-section-title { color: #1e2124; }
.sdm-onsale-page { background: #fff6e8; }
.sdm-promo-section ul.products.sdm-products-promo { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sdm-promo-section ul.products.sdm-products-promo li.product a img { height: 178px; padding: 14px; }
.sdm-promo-section ul.products.sdm-products-promo li.product .woocommerce-loop-product__title { height: 72px; min-height: 72px; font-size: 16px; -webkit-line-clamp: 2; }
.sdm-promo-section ul.products.sdm-products-promo li.product .star-rating { display: none; }
.sdm-promo-section ul.products.sdm-products-promo li.product .button { margin-inline: 10px; width: calc(100% - 20px); padding-inline: 8px; }
.sdm-order-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sdm-order-step { min-height: 210px; padding: 24px; position: relative; overflow: hidden; }
.sdm-order-step > .dashicons { position: relative; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--sdm-red); color: #fff; font-size: 27px; }
.sdm-order-step h3 { margin: 18px 0 7px; font-size: 21px; }
.sdm-order-step p { margin: 0; color: var(--sdm-muted); }
.sdm-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sdm-blog-card { overflow: hidden; color: var(--sdm-ink); text-decoration: none; }
.sdm-blog-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.sdm-blog-card-copy { padding: 19px; display: block; }
.sdm-blog-card strong { display: block; font-size: 21px; line-height: 1.25; }
.sdm-blog-card span { display: block; color: var(--sdm-muted); margin-top: 7px; }
.sdm-blog-text-grid .sdm-blog-card { padding-bottom: 18px; display: flex; flex-direction: column; }
.sdm-blog-text-grid .sdm-blog-card em { display: inline-block; margin: auto 19px 0; color: var(--sdm-red); font-style: normal; font-weight: 800; }
.sdm-tips-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sdm-tip-card { min-width: 0; min-height: 230px; padding: 20px; display: flex; flex-direction: column; }
.sdm-tip-card > .dashicons { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: var(--sdm-red-soft); color: var(--sdm-red); font-size: 23px; }
.sdm-tip-card h3 { margin: 15px 0 7px; font-size: 21px; line-height: 1.15; }
.sdm-tip-card p { margin: 0 0 14px; color: var(--sdm-ink-2); }
.sdm-tip-card a { margin-top: auto; font-weight: 800; }

.site-main { min-height: 50vh; padding-bottom: 54px; }
.sdm-commerce { padding-top: 28px; }
.woocommerce .woocommerce-breadcrumb { color: var(--sdm-muted); margin-bottom: 20px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--sdm-ink); }
.woocommerce-products-header__title, .entry-title { font-size: clamp(38px, 5vw, 54px); margin: 0 0 20px; }
.woocommerce .woocommerce-result-count { color: var(--sdm-muted); }
.woocommerce .woocommerce-ordering select { min-height: 46px; padding: 0 38px 0 12px; border: 2px solid var(--sdm-ink); border-radius: 10px; background: var(--sdm-surface); }
.woocommerce div.product { display: flow-root; }
body.single-product { background: #fff; }
.sdm-guide { max-width: 880px; margin: 0 auto; padding: clamp(20px,4vw,48px); }
.sdm-guide .entry-content { font-size: 19px; line-height: 1.75; overflow-wrap: anywhere; }
.sdm-guide h2 { margin-top: 1.7em; font-size: 29px; line-height: 1.2; }
.sdm-guide .entry-title { line-height: 1.08; margin-top: 12px; }
body.single-product div.product { max-width: 1240px; margin-inline: auto; padding: 28px 20px; background: #fff; }
.single-product.woocommerce div.product div.images { width: 42%; max-width: 500px; margin-bottom: 32px; }
.single-product.woocommerce div.product div.summary { width: calc(58% - 38px); margin-bottom: 32px; }
/* FlexSlider owns the moving track width and transform. Frame only its viewport. */
.woocommerce div.product div.images .flex-viewport { background: #fff; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { max-width: none; margin: 0; border: 0; border-radius: 0; overflow: visible; background: #fff; }
.woocommerce div.product div.images .woocommerce-product-gallery__image a { height: 420px; min-height: 0; padding: 20px; display: flex; align-items: center; justify-content: center; background: #fff; }
.woocommerce div.product div.images .woocommerce-product-gallery__image img:not(.zoomImg) { flex: 0 1 auto; width: auto !important; max-width: 100%; height: auto; max-height: 380px; margin: auto; padding: 0; object-fit: contain; object-position: center; background: #fff; }
.woocommerce div.product div.images .woocommerce-product-gallery__image img.zoomImg { max-width: none; max-height: none; padding: 0; margin: 0; border: 0; }
.woocommerce div.product div.images .flex-control-thumbs { margin-top: 12px; display: grid; grid-template-columns: repeat(5, minmax(0, 72px)); gap: 10px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto; float: none; }
.woocommerce div.product div.images .flex-control-thumbs img { width: 72px; height: 72px; padding: 6px; border: 1px solid var(--sdm-line); border-radius: 9px; background: #fff; object-fit: contain; }
.sdm-onsale-page ul.products { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sdm-onsale-page ul.products li.product a img { height: 178px; padding: 14px; }
.sdm-onsale-page ul.products li.product .woocommerce-loop-product__title { height: 78px; min-height: 78px; font-size: 16px; -webkit-line-clamp: 3; }
.sdm-onsale-page ul.products li.product .star-rating { display: none; }
.sdm-onsale-page ul.products li.product .button { margin-inline: 10px; width: calc(100% - 20px); padding-inline: 8px; }
.woocommerce div.product .product_title { font-size: clamp(38px, 5vw, 52px); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--sdm-red); font-size: 34px; font-weight: 800; }
.woocommerce div.product form.cart { padding: 16px; border: 1px solid var(--sdm-line); border-radius: 14px; background: var(--sdm-surface); display: flex; gap: 10px; }
.woocommerce .quantity .qty { min-height: 48px; border: 2px solid var(--sdm-ink); border-radius: 10px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin-top: 40px; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-bottom-color: var(--sdm-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 0; background: transparent; }
.woocommerce div.product .woocommerce-tabs .panel { padding: 24px; border: 1px solid var(--sdm-line); border-radius: 0 0 14px 14px; background: var(--sdm-surface); }
.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce div.product .woocommerce-tabs .panel { font-size: 19px; line-height: 1.7; }
.woocommerce div.product .woocommerce-tabs .panel h2,
.woocommerce div.product .woocommerce-tabs .panel h3 { line-height: 1.2; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--sdm-red); background: var(--sdm-surface); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--sdm-red); }
.woocommerce table.shop_table, .woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register { border-color: var(--sdm-line); border-radius: 14px; background: var(--sdm-surface); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .select2-container--default .select2-selection--single { min-height: 48px; border: 1px solid var(--sdm-line); border-radius: 9px; background: var(--sdm-surface); padding: 10px 12px; }
.woocommerce #payment { background: var(--sdm-soft); border-radius: 14px; }
.sdm-content { padding-block: 38px 60px; }
.sdm-content article { max-width: 900px; margin: 0 auto; padding: clamp(22px, 4vw, 44px); }
.sdm-content .entry-content > * { max-width: 760px; }
.sdm-content .entry-content { font-size: 18px; line-height: 1.65; overflow-wrap: anywhere; }

.sdm-page-shell { padding-block: 38px 60px; }
.sdm-page-hero { margin-bottom: 18px; padding: clamp(26px, 5vw, 52px); background: var(--sdm-dark); color: #fff; }
.sdm-page-hero .entry-title { max-width: 14ch; margin-bottom: 12px; color: #fff; }
.sdm-page-hero p { max-width: 720px; margin: 0; color: #e9e7e3; font-size: 19px; }
.sdm-info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sdm-info-card { padding: 22px; }
.sdm-info-card h2, .sdm-info-card h3 { margin: 0 0 9px; line-height: 1.2; }
.sdm-info-card p { margin: 0; color: var(--sdm-ink-2); }
.sdm-info-card a { font-weight: 800; }
.sdm-map-link { margin-top: 14px; display: inline-flex; }
.sdm-guide { display: grid; gap: 14px; }
.sdm-guide-step { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 16px; padding: 22px; }
.sdm-guide-number { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--sdm-red); color: #fff; font: 800 27px/1 "Barlow Condensed", sans-serif; }
.sdm-guide-step h2 { margin: 0 0 7px; font-size: 25px; }
.sdm-guide-step p { margin: 0; color: var(--sdm-ink-2); font-size: 18px; }
.sdm-help-panel { margin-top: 18px; padding: 24px; background: var(--sdm-red-soft); border-color: #e7b9b4; }
.sdm-help-panel h2 { margin-top: 0; }
.sdm-form { padding: clamp(22px, 4vw, 36px); }
.sdm-form-intro { max-width: 760px; margin: 0 0 24px; color: var(--sdm-ink-2); font-size: 18px; }
.sdm-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sdm-field { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.sdm-field-full { grid-column: 1 / -1; }
.sdm-field label, .sdm-field legend { font-weight: 800; }
.sdm-field input, .sdm-field select, .sdm-field textarea { width: 100%; min-height: 50px; padding: 11px 13px; border: 1px solid var(--sdm-line); border-radius: 9px; background: #fff; color: var(--sdm-ink); }
.sdm-field textarea { min-height: 140px; resize: vertical; }
.sdm-field small { color: var(--sdm-muted); }
.sdm-consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; }
.sdm-consent input { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.sdm-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.sdm-form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sdm-form-status { margin-bottom: 18px; padding: 14px 18px; border-radius: 10px; background: var(--sdm-ok-bg); color: var(--sdm-ok); font-weight: 800; }
.sdm-form-status.is-error { background: var(--sdm-red-soft); color: var(--sdm-red-dark); }
.sdm-blog-archive { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sdm-blog-archive article { min-width: 0; display: flex; flex-direction: column; padding: 22px; }
.sdm-blog-archive h2 { margin: 0 0 9px; font-size: 25px; line-height: 1.2; }
.sdm-blog-archive h2 a { color: var(--sdm-ink); text-decoration: none; }
.sdm-blog-archive p { color: var(--sdm-ink-2); }
.sdm-blog-meta { margin-bottom: 12px; color: var(--sdm-muted); font-size: 14px; font-weight: 700; }
.sdm-blog-more { margin-top: auto; font-weight: 800; }
.sdm-pagination { margin-top: 22px; }

.sdm-footer { margin-top: 24px; background: #164e50; color: #f0f7f5; }
.sdm-footer-grid { padding-block: 40px; display: grid; grid-template-columns: 1.05fr .8fr 1.25fr 1fr; gap: 28px; }
.sdm-footer h2, .sdm-footer strong { color: #fff; }
.sdm-footer h2 { margin: 0 0 8px; font-family: "Barlow Condensed", sans-serif; font-size: 30px; }
.sdm-footer h3 { margin: 0 0 9px; color: #fff; font-size: 17px; }
.sdm-footer p { margin: 0; }
.sdm-footer a { color: #fff; }
.sdm-footer a:hover { color: #ffe1b0; }
.sdm-footer a:focus-visible { color: #fff; outline-color: #ffe1b0; }
.sdm-footer-links { display: flex; flex-direction: column; }
.sdm-footer-links a { min-height: 37px; display: inline-flex; align-items: center; color: #f0f7f5; }
.sdm-footer-links a:hover { color: #ffe1b0; }
.sdm-copyright { border-top: 1px solid #3a3e42; min-height: 52px; display: flex; align-items: center; justify-content: center; padding: 10px 20px; text-align: center; color: #c9c6c0; font-size: 14px; }

@media (max-width: 980px) {
	.sdm-head { flex-wrap: wrap; }
	.sdm-search { order: 3; flex-basis: 100%; }
	.sdm-search select { width: 140px; }
	.sdm-mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sdm-hero { grid-template-columns: 1fr; }
	.sdm-hero-product { min-height: 330px; }
	.sdm-hero-product-media img { height: 210px; }
	.sdm-perks { grid-template-columns: 1fr 1fr; }
	.sdm-perk:nth-child(3) { border-left: 0; border-top: 1px solid var(--sdm-line); }
	.sdm-perk:nth-child(4) { border-top: 1px solid var(--sdm-line); }
	.woocommerce ul.products, ul.products.sdm-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sdm-promo-section ul.products.sdm-products-promo { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sdm-pests { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.sdm-info-grid, .sdm-blog-archive { grid-template-columns: 1fr 1fr; }
	.sdm-footer-grid { grid-template-columns: 1fr 1fr; }
	.single-product.woocommerce div.product div.images,
	.single-product.woocommerce div.product div.summary { width: 100%; max-width: none; float: none; }
	.single-product.woocommerce div.product div.images { max-width: 560px; margin-inline: auto; }
	.sdm-onsale-page ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
	body { font-size: 16px; }
	body.admin-bar .sdm-header { top: 46px; }
	.sdm-wrap { width: min(100% - 28px, 1200px); }
	.sdm-topbar-inner { min-height: 36px; }
	.sdm-topbar .sdm-mail, .sdm-top-location { display: none; }
	.sdm-head { min-height: 72px; gap: 10px; }
	.sdm-menu-toggle, .sdm-phone-button { display: inline-flex; }
	.sdm-logo { height: 36px; }
	.sdm-brand { min-width: 0; }
	.sdm-actions { margin-left: auto; }
	.sdm-cart { width: 48px; padding: 0; justify-content: center; }
	.sdm-cart > span:not(.dashicons) { display: none; }
	.sdm-search button { min-width: 52px; }
	.sdm-search button span:last-child { display: none; }
	.sdm-nav { display: none; }
	.sdm-nav.is-open { display: block; max-height: calc(100vh - 150px); overflow: auto; }
	.sdm-nav-inner { flex-direction: column; align-items: stretch; width: 100%; }
	.sdm-nav a, .sdm-nav button { width: 100%; justify-content: flex-start; border-bottom: 1px solid var(--sdm-line-2); }
	.sdm-mega { position: static; box-shadow: none; }
	.sdm-mega-grid { width: min(100% - 28px, 1200px); grid-template-columns: 1fr; padding-block: 14px; }
	.sdm-hero { padding-top: 16px; }
	.sdm-hero-copy { padding: 24px 21px; }
	.sdm-hero h1 { font-size: clamp(39px, 12vw, 54px); }
	.sdm-hero-product { min-height: 300px; padding: 18px; }
	.sdm-hero-product-media img { height: 190px; }
	.sdm-hero-product-copy strong { font-size: 21px; }
	.sdm-perks { grid-template-columns: 1fr; }
	.sdm-perk + .sdm-perk, .sdm-perk:nth-child(3), .sdm-perk:nth-child(4) { border-left: 0; border-top: 1px solid var(--sdm-line); }
	.sdm-section { padding-top: 34px; }
	.sdm-section-head { align-items: flex-start; flex-direction: column; }
	.sdm-pests { grid-template-columns: 1fr 1fr; }
	.sdm-pest { min-height: 62px; padding: 8px 10px; }
	.sdm-best-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; }
	.sdm-best-tabs a { flex: 0 0 auto; }
	.woocommerce ul.products, ul.products.sdm-products { grid-template-columns: 1fr 1fr; gap: 10px; }
	.sdm-promo-section ul.products.sdm-products-promo { grid-template-columns: 1fr 1fr; }
	.sdm-onsale-page ul.products { grid-template-columns: 1fr 1fr; }
	.woocommerce ul.products li.product a img, ul.products.sdm-products li.product a img { height: 170px; padding: 12px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title, ul.products.sdm-products li.product .woocommerce-loop-product__title { height: 84px; min-height: 84px; font-size: 16px; line-height: 1.4; padding-inline: 10px; }
	.woocommerce ul.products li.product .price, ul.products.sdm-products li.product .price { margin-inline: 10px; font-size: 18px; }
	.woocommerce ul.products li.product .button, ul.products.sdm-products li.product .button { margin-inline: 10px; width: calc(100% - 20px); padding-inline: 8px; font-size: 14px; }
	.sdm-promo-section { padding: 20px 14px; }
	.sdm-order-steps, .sdm-blog-grid, .sdm-tips-grid { grid-template-columns: 1fr; }
	.sdm-info-grid, .sdm-blog-archive, .sdm-form-grid { grid-template-columns: 1fr; }
	.sdm-field-full, .sdm-consent, .sdm-form-actions { grid-column: auto; }
	.sdm-guide-step { grid-template-columns: 44px minmax(0, 1fr); padding: 18px; }
	.sdm-guide-number { width: 40px; height: 40px; font-size: 23px; }
	.sdm-order-step { min-height: auto; }
	.woocommerce div.product div.images .woocommerce-product-gallery__image a { height: 320px; padding: 14px; }
	.woocommerce div.product div.images .woocommerce-product-gallery__image img:not(.zoomImg) { max-height: 292px; }
	.sdm-footer-grid { grid-template-columns: 1fr; }
	.woocommerce div.product form.cart { position: sticky; bottom: 0; z-index: 25; box-shadow: 0 -8px 22px rgb(30 33 36 / 12%); }
}

@media (max-width: 420px) {
	.sdm-search select { display: none; }
	.sdm-search input { border-left: 2px solid var(--sdm-ink); border-radius: 10px 0 0 10px; }
	.sdm-pests { grid-template-columns: 1fr; }
	.woocommerce ul.products, ul.products.sdm-products { grid-template-columns: 1fr; }
	.sdm-onsale-page ul.products { grid-template-columns: 1fr; }
	.woocommerce ul.products li.product a img, ul.products.sdm-products li.product a img { height: 190px; }
	.woocommerce div.product div.images .woocommerce-product-gallery__image a { height: 280px; }
	.woocommerce div.product div.images .woocommerce-product-gallery__image img:not(.zoomImg) { max-height: 252px; }
}

@media (prefers-reduced-motion: no-preference) {
	.sdm-pest, .sdm-button, .button { transition: transform .16s ease, background-color .16s ease, border-color .16s ease; }
}
