/* Edzőmaszk theme: dark layout with coral accents, mobile first. */

:root {
	--bg: #25292b;
	--bg-alt: #1e2123;
	--bg-deep: #191c1e;
	--text: #aaa9a9;
	--text-strong: #ffffff;
	--muted: #8a949a;
	--accent: #ee6059;
	--accent-strong: #d0413a;
	--sale: #35baf2;
	--line: rgba(255, 255, 255, 0.1);
	--field: #3a3f44;
	--container: 1170px;
	--font-head: Montserrat, Arial, Helvetica, sans-serif;
	--font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
/* WebP delivery wraps images in <picture>; keep the img as the layout child. */
picture { display: contents; }
/* Embedded videos in old texts have a fixed 560px width; they follow the column instead. */
iframe, video, embed { max-width: 100%; }
iframe[src*="youtube"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
a { color: var(--text-strong); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; color: var(--text-strong); line-height: 1.28; margin: 0 0 0.6em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; margin: 0; padding: 10px 16px; background: #fff; color: #111; line-height: 1.4; }
.container { width: 100%; max-width: calc(var(--container) + 40px); margin: 0 auto; padding: 0 20px; }
/* Reading width for articles, about 70 characters a line; the double class outranks the wider breakpoints. */
.container.container--narrow { max-width: 740px; }
.text-center { text-align: center; }
.edz-icon { display: inline-block; flex: none; width: 1em; height: 1em; vertical-align: -0.125em; }

/* Buttons and fields */
.btn { display: inline-block; padding: 14px 26px; border: 1px solid rgba(255, 255, 255, 0.6); color: rgba(255, 255, 255, 0.6); font-family: var(--font-head); font-size: 15px; line-height: 1.3; text-align: center; transition: color 0.2s, border-color 0.2s; }
.btn:hover { color: #fff; border-color: #fff; }
.btn--primary { border-color: var(--accent-strong); background: var(--accent-strong); color: #fff; }
.btn--primary:hover { border-color: #b9362f; background: #b9362f; color: #fff; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"], input[type="number"], input[type="url"], textarea, select {
	max-width: 100%; padding: 12px 14px; border: 1px solid var(--field); border-radius: 0; background: var(--bg-alt); color: #e8e8e8; font: inherit; font-size: 15px; line-height: 1.4;
}
label { color: #dddddd; }
.search-form { display: flex; gap: 8px; margin: 20px 0; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; }
.search-form .search-submit { padding: 12px 20px; border: 0; background: var(--accent-strong); color: #fff; font-family: var(--font-head); font-size: 14px; cursor: pointer; }

/* Header */
.site-header { position: relative; z-index: 20; background: var(--bg-alt); }
.site-header--overlay { position: absolute; top: 0; left: 0; right: 0; background: transparent; }
.site-header__inner { display: flex; align-items: center; gap: 12px; min-height: 88px; padding-top: 12px; padding-bottom: 12px; }
.site-logo { display: block; flex: none; margin-right: auto; line-height: 0; }
.site-logo__image { display: block; width: auto; height: 64px; }
.site-header__actions { display: flex; align-items: center; gap: 2px; }
.header-cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #fff; font-size: 16px; }
.header-cart__count { position: absolute; top: 3px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent-strong); color: #fff; font-family: var(--font-head); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: #fff; font-size: 22px; cursor: pointer; }
.menu-toggle__close, .menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline-block; }
.site-nav { display: none; }
.site-nav.is-open { display: block; position: absolute; top: 100%; left: 0; right: 0; padding: 8px 20px 20px; background: var(--bg-alt); border-top: 1px solid var(--line); }
.site-nav__list { list-style: none; margin: 0; padding: 0; }
.site-nav__list a { display: block; padding: 12px 0; color: #fff; font-family: var(--font-head); font-size: 15px; line-height: 1.4; }
.site-nav__list .current-menu-item > a, .site-nav__list a:hover { color: var(--accent); }
.site-nav__list .edz-menu-button > a { display: inline-block; margin: 6px 0; padding: 8px 22px; background: var(--accent-strong); color: #fff; font-size: 14px; }
.site-nav__list .edz-menu-button > a:hover { background: #b9362f; color: #fff; }
/* Once the header has scrolled out of view it comes back as a slim fixed bar; theme.js sets the class and height. */
.site-header.is-stuck { position: fixed; top: var(--wp-admin--admin-bar--height, 0px); left: 0; right: 0; z-index: 40; background: var(--bg-alt); box-shadow: 0 2px 14px rgba(0, 0, 0, 0.4); animation: edz-header-in 0.25s ease-out; }
.site-header.is-stuck .site-header__inner { min-height: 60px; padding-top: 6px; padding-bottom: 6px; }
.site-header.is-stuck .site-logo__image { height: 44px; }
.site-header:not(.site-header--overlay).is-stuck + .site-main { margin-top: var(--edz-header-height, 88px); }
@keyframes edz-header-in { from { transform: translateY(-100%); } to { transform: none; } }

/* Front page hero */
.hero { position: relative; display: flex; align-items: center; justify-content: center; min-height: 520px; height: 80vh; height: 80svh; max-height: 1100px; overflow: hidden; background: #101213; }
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__content { position: relative; padding-top: 110px; text-align: center; }
.hero__title { margin: 0 0 36px; font-size: clamp(42px, 8vw, 110px); line-height: 1.2; color: #fff; }

/* Sections */
.section { padding: 70px 0; }
.section--dark { background: var(--bg-alt); }
.section-title { margin: 0 0 40px; font-size: 26px; text-align: center; }
.section--benefits { position: relative; padding-bottom: 60px; }
.section--arrow::after { content: ""; position: absolute; left: 50%; bottom: -24px; z-index: 2; transform: translateX(-50%); border: 24px solid transparent; border-top-color: var(--bg); border-bottom: 0; }
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; margin: 0; padding: 0; list-style: none; }
.benefit { text-align: center; }
.benefit__icon { display: inline-flex; align-items: center; justify-content: center; width: 81px; height: 81px; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font-size: 40px; }
.benefit__title { margin: 16px 0 0; font-size: 16px; }

/* Why buy here: a band on the front page, a compact list under the add-to-cart button */
.trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; margin: 0 0 50px; padding: 0; list-style: none; }
.trust__item { display: flex; flex-direction: column; align-items: center; gap: 16px; color: #fff; font-family: var(--font-head); font-size: 15px; font-weight: 700; line-height: 1.45; text-align: center; }
.trust__icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 81px; height: 81px; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font-size: 32px; }
.trust--compact { grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0 0 28px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust--compact .trust__item { flex-direction: row; gap: 12px; color: #dddddd; font-family: var(--font-body); font-size: 14px; font-weight: 400; text-align: left; }
.trust--compact .trust__icon { width: 20px; height: auto; border: 0; font-size: 16px; }

.section--quote { padding: 90px 0; }
.quote { max-width: 764px; margin: 0 auto; text-align: center; }
.quote__text { margin: 0; }
.quote__text p { margin: 0; color: #fff; font-size: 20px; line-height: 1.8; letter-spacing: 0.04em; }
.quote__author { margin-top: 36px; color: #fff; font-size: 16px; font-weight: 700; letter-spacing: 2px; line-height: 1.5; }

/* Front page products */
.home-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; margin: 0 0 40px; padding: 0; list-style: none; }
.home-product__link { display: block; max-width: 359px; margin: 0 auto; }
.home-product__media { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: #fff; }
.home-product__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-product__body { display: block; padding: 14px 4px 0; }
.home-product__name { display: block; color: #fff; font-family: var(--font-head); font-size: 13px; font-weight: 700; line-height: 1.5; text-align: center; text-transform: uppercase; }
.home-product__price { display: block; margin-top: 6px; color: var(--text); text-align: center; }
.home-product__price ins, .home-product__link:hover .home-product__price ins { color: var(--sale); text-decoration: none; }
.home-product__link:hover .home-product__name { color: var(--accent); }

/* Post cards */
.post-grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 40px; margin-bottom: 50px; }
.post-card { background: var(--bg-alt); }
.post-card__media { display: block; }
.post-card__image { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-card__body { padding: 28px 25px 26px; }
.post-card__title { margin: 0 0 10px; font-size: 20px; line-height: 1.45; }
.post-card__title a { color: #fff; }
.post-card__title a:hover { color: var(--accent); }
.post-card__excerpt { margin: 0; }

/* Facebook band */
.section--cta { padding: 50px 0 45px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta__title { margin: 0; font-size: 28px; }

/* Footer */
.site-footer { background: var(--bg-alt); color: #999999; }
.site-footer__widgets { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 60px; padding-bottom: 60px; }
.footer-title { margin: 0 0 24px; color: var(--muted); font-size: 14px; font-weight: 400; line-height: 1.5; }
.site-footer p { margin: 0; }
.site-footer p a { text-decoration: underline; text-underline-offset: 2px; }
.footer-col a { color: var(--text); }
.footer-col a:hover { color: var(--accent); }
.footer-list { margin: 0; padding: 0; list-style: none; }
.footer-list li { padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); line-height: 1.9; }
.footer-list a { display: flex; align-items: baseline; gap: 8px; }
.footer-list .edz-icon { width: 0.55em; }
.contact-list { margin: 18px 0 0; padding: 0; list-style: none; }
.contact-list li { padding: 4px 0; }
.contact-list a { display: inline-flex; align-items: center; gap: 10px; }
.contact-list .edz-icon { width: 1.3em; height: 1.3em; color: var(--accent); }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { padding: 6px 0; }
.footer-image { display: block; max-width: 240px; overflow: hidden; border-radius: 8px; background: #fff; }
.footer-image img { display: block; width: 100%; }
.site-footer__bottom { background: var(--bg-deep); }
.site-footer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.copyright { color: var(--text); font-size: 13px; line-height: 1.8; }
.copyright a { color: var(--text); }
.copyright a.copyright__accent { color: var(--accent); }
.copyright a:hover { color: #fff; }
.site-footer__end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.credit { color: var(--text); font-size: 13px; }
.credit:hover { color: #fff; }
.social-facebook { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--accent-strong); color: #fff; font-size: 18px; }
.social-facebook:hover { background: #b9362f; color: #fff; }
.to-top { position: fixed; right: 20px; bottom: 0; z-index: 30; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 36px; border-radius: 4px 4px 0 0; background: #333333; color: #fff; font-size: 20px; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--accent-strong); color: #fff; }

/* Pages and posts */
.section--page { padding: 50px 0 80px; }
.page-title { margin: 0 0 28px; font-size: 26px; }
.entry-meta { margin: -14px 0 20px; color: var(--muted); font-size: 14px; }
.entry-image { margin: 0 0 30px; }
.entry-image img { display: block; width: 100%; }
.entry-content { font-size: 17px; line-height: 1.75; }
.entry-content > * { max-width: 100%; }
.entry-content h2 { margin: 1.6em 0 0.6em; font-size: 23px; }
.entry-content h3 { margin: 1.4em 0 0.5em; font-size: 19px; }
.entry-content a { color: var(--accent); text-decoration: underline; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: #dddddd; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 8px 10px; border: 1px solid var(--field); text-align: left; }
/* Article texts carry inline styles written for light pages (RankFlow table rows and boxes, old grey notes):
   light backgrounds get dark text, dark grey text gets the readable muted grey. */
.entry-content :is([style*="background-color: #f" i], [style*="background-color:#f" i], [style*="background: #f" i], [style*="background:#f" i]),
.entry-content :is([style*="background-color: #f" i], [style*="background-color:#f" i], [style*="background: #f" i], [style*="background:#f" i]) :is(h2, h3, h4, th) { color: #222222; }
.entry-content :is([style*="background-color: #f" i], [style*="background-color:#f" i], [style*="background: #f" i], [style*="background:#f" i]) a { color: #b9362f; }
.entry-content :is([style*="color: #666"], [style*="color:#666"], [style*="color: #3d3c3c" i]) { color: var(--muted) !important; }
.post-navigation .nav-links { display: grid; gap: 16px; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--line); }
.post-navigation a { display: block; color: #fff; font-family: var(--font-head); font-weight: 700; line-height: 1.5; }
.nav-label { display: block; color: var(--muted); font-family: var(--font-body); font-size: 13px; font-weight: 400; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers { display: inline-block; min-width: 44px; padding: 8px 14px; border: 1px solid var(--field); color: #fff; line-height: 1.6; text-align: center; }
.page-numbers.current { border-color: var(--accent-strong); background: var(--accent-strong); }
.notfound-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 10px 0 40px; padding: 0; list-style: none; }
.notfound-links a { color: var(--accent); }
.section-subtitle { font-size: 18px; }

/* WooCommerce: shared */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
	padding: 14px 26px; border: 0; border-radius: 0; background: var(--accent-strong); color: #fff; font-family: var(--font-head); font-size: 14px; font-weight: 700; line-height: 1.3;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce #respond input#submit:hover { background: #b9362f; color: #fff; }
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled], .woocommerce button.button.alt.disabled, .woocommerce button.button.alt.disabled:hover { padding: 14px 26px; background: var(--field); color: #cccccc; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews { border-top-color: var(--accent); background: var(--bg-alt); color: #dddddd; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--accent); }
.woocommerce .star-rating span::before, .woocommerce p.stars a { color: var(--accent); }
.woocommerce span.onsale { min-width: 3.4em; min-height: 3.4em; padding: 0; border-radius: 50%; background: var(--accent-strong); color: #fff; font-family: var(--font-head); font-size: 12px; font-weight: 700; line-height: 3.4em; }
.woocommerce .woocommerce-ordering { float: none; margin: 0 0 30px; }
.woocommerce .woocommerce-ordering select { min-width: 260px; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0 0 40px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { display: flex; flex-direction: column; float: none; width: auto !important; margin: 0 !important; padding: 0; background: var(--bg-alt); }
/* Square frames, so cards line up even when a product photo is portrait. */
.woocommerce ul.products li.product a img { display: block; width: 100%; aspect-ratio: 1; margin: 0; object-fit: cover; }
.woocommerce ul.products li.product .woocommerce-loop-product__link { display: block; }
.product-card__body { padding: 18px 15px 12px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { margin: 0 0 6px; padding: 0; color: #fff; font-family: var(--font-head); font-size: 17px; font-weight: 700; line-height: 1.45; }
.woocommerce ul.products li.product .price { margin: 0; color: var(--accent); font-size: 15px; }
.woocommerce ul.products li.product .price del { color: var(--text); opacity: 1; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.product-card__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; margin: auto 15px 0; padding: 12px 0 14px; border-top: 1px solid var(--line); }
.woocommerce ul.products li.product .product-card__actions .button { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 4px 0; background: none; color: #fff; font-size: 12px; font-weight: 400; }
.woocommerce ul.products li.product .product-card__actions .button:hover, .product-card__details:hover { background: none; color: var(--accent); }
.woocommerce ul.products li.product .product-card__actions .added_to_cart { padding: 0; color: var(--accent); font-size: 12px; }
.product-card__details { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-family: var(--font-head); font-size: 12px; line-height: 1.8; }

/* WooCommerce: product page */
.woocommerce div.product .product_title { font-size: 24px; color: #fff; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--accent); font-size: 18px; }
.woocommerce div.product p.price ins, .woocommerce div.product span.price ins { text-decoration: none; }
.woocommerce div.product form.cart { margin: 24px 0; }
.woocommerce-product-details__short-description h2, .woocommerce-product-details__short-description h3 { margin: 1.4em 0 0.6em; font-size: 17px; }
.woocommerce-product-details__short-description h2 a { color: var(--accent); }
.woocommerce-product-details__short-description ul, .woocommerce-Tabs-panel--description ul { margin: 0.4em 0 1.2em; padding-left: 1.3em; }
.woocommerce-product-details__short-description li, .woocommerce-Tabs-panel--description li { margin-bottom: 0.3em; }
.woocommerce div.product form.cart .variations { margin-bottom: 16px; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { padding: 6px 10px 6px 0; line-height: 1.6; color: #dddddd; }
.woocommerce div.product form.cart .reset_variations { color: var(--accent); }
.woocommerce .quantity .qty { width: 4.6em; padding: 12px 6px; border: 1px solid var(--field); background: var(--bg-alt); color: #fff; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-bottom-color: var(--field); }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border-color: var(--field); border-radius: 0; background: var(--bg-alt); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom-color: var(--bg); background: var(--bg); }
.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 { color: #fff; font-family: var(--font-head); font-weight: 400; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff; }
/* The gallery before its script runs takes the height it will have after, so the summary below does not jump:
   the script adds the first image to the thumbnails, which needs one more row when the rest fill full rows. */
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { font-size: 0; }
.woocommerce div.product div.images .woocommerce-product-gallery__image:nth-child(n+2) { vertical-align: top; }
.woocommerce div.product .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper:has(> .woocommerce-product-gallery__image:nth-child(4n+1):last-child:not(:first-child))::after { content: ""; display: block; width: 25%; aspect-ratio: 1; }
.woocommerce div.product .woocommerce-tabs .panel h2:first-child { font-size: 20px; }
.woocommerce #reviews #comments ol.commentlist li .comment-text { border-color: var(--field); border-radius: 0; }
.woocommerce .related > h2, .woocommerce .upsells > h2 { margin: 40px 0 24px; font-size: 22px; }
.woocommerce div.product .product_meta { color: var(--muted); font-size: 14px; line-height: 1.8; }
.woocommerce div.product .product_meta a { color: var(--text); }

/* WooCommerce: cart, checkout, account */
.woocommerce table.shop_table { border-color: var(--field); border-radius: 0; color: #dddddd; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td, .woocommerce-cart .cart-collaterals .cart_totals tr td, .woocommerce-cart .cart-collaterals .cart_totals tr th { border-top-color: var(--field); }
.woocommerce table.shop_table th { color: #fff; font-family: var(--font-head); }
.woocommerce a.remove { color: var(--accent) !important; }
.woocommerce a.remove:hover { background: var(--accent-strong); color: #fff !important; }
.woocommerce form .form-row label { color: #dddddd; line-height: 1.6; }
.woocommerce form .form-row .required { color: var(--accent); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { border-radius: 0; background: var(--bg-alt); color: #e8e8e8; }
.woocommerce-checkout #payment, .woocommerce #payment { border-radius: 0; background: var(--bg-alt); color: #dddddd; }
.woocommerce-checkout #payment ul.payment_methods { border-bottom-color: var(--field); }
.woocommerce-checkout #payment div.payment_box { background: var(--bg); color: #dddddd; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--bg); }
.woocommerce-checkout #payment ul.payment_methods li { line-height: 1.8; }
.select2-container--default .select2-selection--single { height: 46px; border-color: var(--field); border-radius: 0; background: var(--bg-alt); }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: #e8e8e8; line-height: 44px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; }
.select2-dropdown { border-color: var(--field); background: var(--bg-alt); color: #dddddd; }
.woocommerce-MyAccount-navigation ul { margin: 0 0 30px; padding: 0; list-style: none; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
.woocommerce-MyAccount-navigation li.is-active a { color: var(--accent); }

/* Free delivery progress in the cart */
.free-shipping { margin: 0 0 24px; padding: 16px 18px; background: var(--bg-alt); color: var(--text); }
.free-shipping p { margin: 0 0 10px; }
.free-shipping strong { color: var(--text-strong); }
.free-shipping__bar { display: block; height: 6px; overflow: hidden; border-radius: 3px; background: var(--field); }
.free-shipping__bar span { display: block; height: 100%; background: var(--accent); }

/* Phones: the front page lists three posts compactly */
@media (max-width: 799px) {
	.post-grid--home { gap: 14px; }
	.post-grid--home .post-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; }
	.post-grid--home > .post-card:nth-child(n+4) { display: none; }
	.post-grid--home .post-card__image { height: 112px; aspect-ratio: 1; }
	.post-grid--home .post-card__body { padding: 12px 16px; }
	.post-grid--home .post-card__title { margin: 0; font-size: 16px; }
	.post-grid--home .post-card__excerpt { display: none; }
}

@media (min-width: 800px) {
	.container { max-width: calc(var(--container) + 60px); padding: 0 30px; }
	.section { padding: 110px 0; }
	.section-title { margin-bottom: 60px; font-size: 32px; }
	.btn { padding: 17px 40px; font-size: 18px; }
	.hero { min-height: 560px; height: 100vh; }
	.benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.trust { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.trust--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
	.quote__text p { font-size: 26px; }
	.home-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px 40px; margin-bottom: 50px; }
	.home-product__body { padding: 36px 40px 44px; background: var(--bg); }
	.home-product__name { font-size: 15px; }
	.home-product__price { margin-top: 24px; }
	.home-product:first-child { grid-column: 2; }
	.home-product:nth-child(2) { grid-column-start: 1; }
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__widgets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.post-navigation .nav-links { grid-template-columns: 1fr 1fr; }
	.post-navigation .nav-next { text-align: right; }
	.page-title { font-size: 32px; }
	.woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 22px; }
}

@media (min-width: 1024px) {
	.site-header__inner { gap: 42px; min-height: 195px; padding-top: 32px; padding-bottom: 32px; }
	.site-logo__image { height: 131px; }
	.site-header.is-stuck .site-header__inner { min-height: 84px; padding-top: 10px; padding-bottom: 10px; }
	.site-header.is-stuck .site-logo__image { height: 62px; }
	.site-nav { display: block; }
	.site-nav__list { display: flex; align-items: center; gap: 42px; }
	.site-nav__list a { padding: 0; }
	.site-nav__list .edz-menu-button > a { margin: 0; }
	.menu-toggle { display: none; }
	.section { padding: 150px 0; }
	.section-title { font-size: 36px; }
	.section--benefits { padding: 140px 0 60px; }
	.section--benefits .section-title { margin-bottom: 100px; }
	.section--quote { padding: 170px 0; }
	.quote__text p { font-size: 28px; }
	.quote__author { font-size: 18px; }
	.section--cta { padding: 65px 0 50px; }
	.cta__title { font-size: 36px; }
	.post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.post-card__title { font-size: 22px; }
	.site-footer__widgets { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; padding-top: 88px; padding-bottom: 100px; }
	.copyright { font-size: 14px; }
	.section--page { padding: 80px 0 120px; }
	.woocommerce ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
	.site-header.is-stuck { animation: none; }
}
