/*
Theme Name: Everblossom Florals
Theme URI: https://everblossomflorals.com/
Author: Everblossom Florals
Description: Soft pastel flower-shop theme for Everblossom Florals (Garfield, NJ). WooCommerce shop with Standard / Deluxe / Premium sizes, product pop-up, optional add-ons, gift card message, local delivery zones, flower subscription plans, English / Español switch and floating WhatsApp button.
Version: 1.1.0
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: everblossom-florals
Tags: e-commerce, custom-logo, custom-menu, featured-images, translation-ready
WC requires at least: 8.0
*/

:root {
	--ebf-cream: #fdf9f5;
	--ebf-white: #ffffff;
	--ebf-blush: #fbe9e8;
	--ebf-pink: #f8d7da;
	--ebf-pink-hover: #f4c6cb;
	--ebf-peach: #fbe3d3;
	--ebf-peach-deep: #f6c9ad;
	--ebf-mint: #e5f2ea;
	--ebf-mint-deep: #cfe6d8;
	--ebf-green: #5f9a78;
	--ebf-ink: #3f3437;
	--ebf-muted: #7a6b6e;
	--ebf-btn-text: #5b3a40;
	--ebf-rose: #b8606e;
	--ebf-brown: #9c725d;
	--ebf-line: #f0e2df;
	--ebf-radius: 14px;
	--ebf-shadow: 0 6px 24px rgba(156, 114, 93, .08);
	--ebf-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--ebf-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
	--ebf-script: "Great Vibes", "Brush Script MT", cursive;
	--ebf-wrap: 1180px;
	/* Customizer > Everblossom > Colors (defaults = this design). */
	--ebf-c-topbar: #fbe9e8;
	--ebf-c-header: #ffffff;
	--ebf-c-menu: #3f3437;
	--ebf-c-strip: #e5f2ea;
	--ebf-c-footer: #ffffff;
	--ebf-c-footer-text: #3f3437;
	--ebf-c-footer-muted: #7a6b6e;
	--ebf-c-footer-bottom: #fdf9f5;
	--ebf-c-page: #fdf9f5;
	--ebf-c-heading: #3f3437;
	--ebf-c-subbanner: #e5f2ea;
	--ebf-c-subbanner-mid: #eef7f1;
	--ebf-c-wa: #c9ead6;
	--ebf-c-wa-icon: #1f6b43;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--ebf-c-page);
	color: var(--ebf-ink);
	font-family: var(--ebf-sans);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ebf-rose); text-decoration: none; }
a:hover { color: var(--ebf-brown); }
h1, h2, h3, h4 { font-family: var(--ebf-serif); font-weight: 500; line-height: 1.15; color: var(--ebf-c-heading); margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ebf-brown); 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 { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 1000; background: #fff; padding: 8px 14px; border-radius: 8px; }
.ebf-wrap { width: 100%; max-width: var(--ebf-wrap); margin: 0 auto; padding: 0 20px; }
.ebf-center { text-align: center; }
.ebf-narrow { max-width: 780px; }
[hidden] { display: none !important; }
.ebf-hp { position: absolute; left: -9999px; }

/* Icons */
.ebf-ico { display: inline-flex; width: 1.3em; height: 1.3em; flex: 0 0 auto; vertical-align: middle; }
.ebf-ico svg { width: 100%; height: 100%; }

/* Buttons – light pink with dark readable text */
.ebf-btn, .button, button.button, a.button, input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: .4em;
	background: var(--ebf-pink); color: var(--ebf-btn-text);
	border: 1px solid var(--ebf-pink-hover); border-radius: 8px;
	padding: .7em 1.6em; font-family: var(--ebf-sans); font-weight: 500; font-size: 1rem; line-height: 1.2;
	cursor: pointer; text-align: center; transition: background .2s, transform .2s, box-shadow .2s;
}
.ebf-btn:hover, .button:hover, input[type="submit"]:hover { background: var(--ebf-pink-hover); color: var(--ebf-ink); }
.ebf-btn:active { transform: translateY(1px); }
.ebf-btn[disabled], .ebf-btn.is-disabled { opacity: .55; cursor: not-allowed; }
.ebf-btn--block { display: flex; width: 100%; }
.ebf-btn--card { padding: .55em 1.2em; font-size: .95rem; width: 100%; }

.ebf-card__img, .woocommerce ul.products li.product a { position: relative; }
.ebf-card__badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--ebf-peach); color: var(--ebf-btn-text); font-size: .8rem; letter-spacing: .04em; padding: .3em .9em; border-radius: 999px; box-shadow: 0 2px 8px rgba(156, 114, 93, .12); }

/* Top bar (language) */
.ebf-topbar { background: var(--ebf-c-topbar); font-size: .88rem; }
.ebf-topbar__in { display: flex; justify-content: flex-end; min-height: 34px; align-items: center; }
.ebf-lang { display: flex; gap: .55em; align-items: center; color: var(--ebf-muted); }
.ebf-lang a { color: var(--ebf-muted); }
.ebf-lang a.is-active { color: var(--ebf-ink); font-weight: 500; }
.ebf-lang span { opacity: .5; }

/* Header */
.ebf-header { background: var(--ebf-c-header); box-shadow: 0 2px 14px rgba(156, 114, 93, .07); position: sticky; top: 0; z-index: 50; }
.admin-bar .ebf-header { top: 32px; }
.ebf-header__in { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.ebf-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.ebf-logo img, .ebf-logo .custom-logo { width: auto; max-height: 64px; }
.ebf-logo--header img, .ebf-logo--header .custom-logo { max-height: 64px; max-width: 220px; }
.ebf-logo--footer img, .ebf-logo--footer .custom-logo { max-height: 78px; max-width: 240px; }
.ebf-logo--text { font-family: var(--ebf-serif); font-size: 2rem; color: var(--ebf-brown); letter-spacing: .01em; }
.ebf-nav { margin-left: auto; }
.ebf-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.ebf-nav .menu a { display: block; padding: 8px 12px; color: var(--ebf-c-menu); font-size: .98rem; position: relative; }
.ebf-nav .menu a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--ebf-pink-hover); transform: scaleX(0); transition: transform .2s; }
.ebf-nav .menu a:hover::after, .ebf-nav .current-menu-item > a::after, .ebf-nav .current_page_item > a::after { transform: scaleX(1); }
.ebf-nav .current-menu-item > a, .ebf-nav .current_page_item > a { color: var(--ebf-rose); }
.ebf-nav .sub-menu { list-style: none; margin: 0; padding: 8px 0; position: absolute; background: #fff; box-shadow: var(--ebf-shadow); border-radius: 10px; display: none; min-width: 180px; }
.ebf-nav li { position: relative; }
.ebf-nav li:hover > .sub-menu { display: block; }
.ebf-cart { position: relative; color: var(--ebf-ink); display: inline-flex; padding: 6px; }
.ebf-cart .ebf-ico { width: 30px; height: 30px; }
.ebf-cart__count { position: absolute; top: -4px; right: -8px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: var(--ebf-pink); color: var(--ebf-btn-text); font-size: .78rem; display: flex; align-items: center; justify-content: center; font-weight: 500; }
.ebf-cart__count.is-empty { display: none; }
.ebf-burger { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.ebf-burger span { display: block; width: 24px; height: 2px; background: var(--ebf-ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.ebf-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ebf-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ebf-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Sections and titles */
.ebf-section { padding: 46px 0; }
.ebf-section--tight { padding: 22px 0; }
.ebf-title { text-align: center; font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 26px; }
.ebf-title--leaves::before, .ebf-title--leaves::after { content: "❦"; color: var(--ebf-peach-deep); font-size: .7em; margin: 0 .5em; vertical-align: middle; }
.ebf-rule { display: block; width: 64px; height: 2px; background: var(--ebf-peach-deep); margin: 14px auto 0; border-radius: 2px; }

/* Hero (no sale / discount) */
.ebf-hero { position: relative; background: linear-gradient(90deg, var(--ebf-blush) 0%, #fdf0ee 45%, rgba(253, 240, 238, 0) 70%), var(--ebf-blush); overflow: hidden; }
.ebf-hero__media { position: absolute; inset: 0 0 0 38%; }
.ebf-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ebf-hero__media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ebf-blush) 0%, rgba(251, 233, 232, .6) 18%, rgba(251, 233, 232, 0) 45%); z-index: 1; }
.ebf-hero__in { position: relative; z-index: 2; min-height: 460px; display: flex; align-items: center; }
.ebf-hero__text { max-width: 520px; padding: 40px 0; }
.ebf-hero__title { font-size: clamp(2.6rem, 6vw, 4.4rem); color: #6b3f3f; margin-bottom: .1em; }
.ebf-hero__tagline { font-family: var(--ebf-serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2rem); color: #6b3f3f; margin-bottom: .6em; }
.ebf-hero__sub { font-size: 1.08rem; margin-bottom: 1.4em; }

/* Mint info strip */
.ebf-strip { background: var(--ebf-c-strip); border-top: 1px solid var(--ebf-mint-deep); border-bottom: 1px solid var(--ebf-mint-deep); }
.ebf-strip__in { display: grid; grid-template-columns: 1fr 1fr; }
.ebf-strip p { margin: 0; padding: 14px 10px; display: flex; gap: .7em; align-items: center; justify-content: center; font-size: .98rem; }
.ebf-strip p + p { border-left: 1px solid var(--ebf-mint-deep); }
.ebf-strip .ebf-ico { width: 26px; height: 26px; color: var(--ebf-ink); }

/* Occasion circles */
.ebf-circles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.ebf-circles a { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ebf-ink); }
.ebf-circle { width: 100%; max-width: 150px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--ebf-blush); box-shadow: 0 0 0 6px #fff, 0 6px 18px rgba(156, 114, 93, .12); transition: transform .25s; }
.ebf-circle img { width: 100%; height: 100%; object-fit: cover; }
.ebf-circles a:hover .ebf-circle { transform: translateY(-3px); }
.ebf-circle__label { font-size: 1rem; text-align: center; }

/* Product cards */
.ebf-grid { display: grid; gap: 22px; }
.ebf-grid--4 { grid-template-columns: repeat(4, 1fr); }
.ebf-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ebf-card { background: #fff; border: 1px solid var(--ebf-line); border-radius: var(--ebf-radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.ebf-card:hover { box-shadow: var(--ebf-shadow); transform: translateY(-2px); }
.ebf-card__img { display: block; aspect-ratio: 4 / 3; background: var(--ebf-blush); overflow: hidden; }
.ebf-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ebf-card:hover .ebf-card__img img { transform: scale(1.03); }
.ebf-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; text-align: center; }
.ebf-grid--3 .ebf-card__body { text-align: left; }
.ebf-card__title { font-size: 1.3rem; margin: 0 0 .25em; }
.ebf-card__title a { color: var(--ebf-ink); }
.ebf-card__desc { font-size: .9rem; color: var(--ebf-muted); margin: 0 0 .5em; flex: 1; }
.ebf-card__price { font-weight: 500; margin: 0 0 .7em; }
.ebf-from { font-weight: 400; }

/* Subscription banner (below Best Sellers) */
.ebf-subbanner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; background: linear-gradient(90deg, var(--ebf-c-subbanner) 0%, var(--ebf-c-subbanner-mid) 60%, var(--ebf-c-subbanner) 100%); border-radius: var(--ebf-radius); overflow: hidden; border: 1px solid var(--ebf-mint-deep); }
.ebf-subbanner__text { padding: 30px 34px; }
.ebf-subbanner__text h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: .3em; }
.ebf-subbanner__img { height: 100%; min-height: 200px; }
.ebf-subbanner__img img { width: 100%; height: 100%; object-fit: cover; }

/* Reviews */
.ebf-reviews__list { display: grid; gap: 24px; max-width: 980px; margin: 0 auto; }
.ebf-reviews__list--2 { grid-template-columns: 1fr 1fr; }
.ebf-reviews__list--3 { grid-template-columns: repeat(3, 1fr); }
.ebf-review { margin: 0; text-align: center; }
.ebf-stars { color: #e8b04b; font-size: 1.4rem; letter-spacing: .15em; }
.ebf-review blockquote { margin: .4em auto; font-style: italic; max-width: 640px; font-size: 1.02rem; }
.ebf-review figcaption { color: var(--ebf-muted); font-size: .92rem; }

/* Pills (zones, filter) */
.ebf-pills { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.ebf-pills li { background: var(--ebf-mint); border-radius: 999px; padding: .55em 1.6em; display: inline-flex; gap: .4em; align-items: center; }
.ebf-pills .ebf-ico { color: var(--ebf-green); width: 1.1em; height: 1.1em; }
.ebf-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.ebf-pill { display: inline-block; border: 1px solid var(--ebf-line); background: #fff; color: var(--ebf-ink); border-radius: 999px; padding: .5em 1.4em; transition: background .2s; }
.ebf-pill:hover { background: var(--ebf-blush); color: var(--ebf-ink); }
.ebf-pill.is-active { background: var(--ebf-pink); border-color: var(--ebf-pink-hover); color: var(--ebf-btn-text); }

/* Guarantee band */
.ebf-guarantee { background: var(--ebf-blush); padding: 30px 0; margin-top: 30px; }
.ebf-guarantee__in { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; }
.ebf-badge { position: relative; width: 120px; height: 120px; color: var(--ebf-brown); background: #fff; border-radius: 50%; }
.ebf-badge svg { width: 100%; height: 100%; }
.ebf-badge .ebf-ico { position: absolute; inset: 0; margin: auto; width: 40px; height: 40px; color: var(--ebf-rose); }
.ebf-guarantee__text h2 { font-size: 1.7rem; margin-bottom: .2em; }
.ebf-guarantee__text p { margin: 0; }
.ebf-guarantee__side { border-left: 1px solid var(--ebf-pink-hover); padding-left: 30px; display: flex; gap: 16px; align-items: center; }
.ebf-guarantee__side p { margin: 0; }
.ebf-guarantee__side .ebf-ico { color: var(--ebf-rose); width: 28px; height: 28px; }

/* Footer */
.ebf-footer { background: var(--ebf-c-footer); color: var(--ebf-c-footer-text); border-top: 1px solid var(--ebf-line); padding-top: 40px; font-size: .95rem; }
.ebf-guarantee + .ebf-footer, .ebf-main:has(> .ebf-guarantee:last-child) + .ebf-footer { border-top: 0; }
.ebf-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding-bottom: 30px; }
.ebf-footer h3 { font-size: 1.3rem; color: var(--ebf-c-footer-text); }
.ebf-footer ul { list-style: none; margin: 0; padding: 0; }
.ebf-footer li { margin-bottom: .45em; display: flex; gap: .5em; align-items: center; }
.ebf-footer .menu a, .ebf-footer a { color: var(--ebf-c-footer-text); }
.ebf-footer a:hover { color: var(--ebf-rose); }
.ebf-footer__brand p { color: var(--ebf-c-footer-muted); margin-top: 12px; max-width: 340px; }
.ebf-footer__contact .ebf-ico { color: var(--ebf-brown); }
.ebf-footer__bottom { text-align: center; padding: 16px 20px; border-top: 1px solid var(--ebf-line); color: var(--ebf-c-footer-muted); font-size: .88rem; background: var(--ebf-c-footer-bottom); }

/* WhatsApp floating button */
.ebf-wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 62px; height: 62px; border-radius: 50%; background: var(--ebf-c-wa); color: var(--ebf-c-wa-icon); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(31, 107, 67, .22); transition: transform .2s; }
.ebf-wa-float:hover { transform: scale(1.06); color: var(--ebf-c-wa-icon); filter: brightness(.95); }
.ebf-wa-float .ebf-ico { width: 34px; height: 34px; }

/* Inner pages */
.ebf-page { padding: 40px 20px 60px; }
.ebf-page__head { text-align: center; margin-bottom: 30px; }
.ebf-page__head--left { text-align: left; }
.ebf-page__title { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: .15em; }
.ebf-page__title--rose { color: var(--ebf-rose); }
.ebf-page__sub { color: var(--ebf-muted); font-size: 1.1rem; margin: 0; }
.ebf-content > *:last-child { margin-bottom: 0; }
.ebf-content { font-size: 1.04rem; }
.ebf-empty { text-align: center; color: var(--ebf-muted); padding: 30px 0; }
.ebf-note { color: var(--ebf-muted); font-size: .92rem; margin-top: 24px; }
.ebf-card-box { background: #fff; border: 1px solid var(--ebf-line); border-radius: var(--ebf-radius); box-shadow: var(--ebf-shadow); padding: 26px; }
.ebf-panel { background: #fff; border-radius: 18px; box-shadow: var(--ebf-shadow); max-width: 860px; margin: 0 auto; padding: 34px 40px 30px; }
.ebf-panel .ebf-pills { margin-top: 22px; }

/* About */
.ebf-about { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.ebf-about__photo img { width: 100%; border-radius: var(--ebf-radius); object-fit: cover; aspect-ratio: 4 / 4.5; }
.ebf-photo-slot { aspect-ratio: 4 / 4.5; border-radius: var(--ebf-radius); border: 2px dashed var(--ebf-pink-hover); background: var(--ebf-blush); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--ebf-brown); }
.ebf-photo-slot .ebf-ico { width: 56px; height: 56px; }
.ebf-about__text .ebf-content p { margin-bottom: 1.1em; line-height: 1.75; }
.ebf-signature { font-family: var(--ebf-script); font-size: 2.3rem; color: var(--ebf-rose); margin: .2em 0 .6em; }

/* Delivery facts */
.ebf-facts { list-style: none; margin: 28px 0 0; padding: 26px 0 0; border-top: 1px solid var(--ebf-pink); display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.ebf-facts li { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ebf-facts li + li { border-left: 1px solid var(--ebf-line); }
.ebf-facts__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--ebf-mint); display: flex; align-items: center; justify-content: center; color: #c9776a; }
.ebf-facts__icon .ebf-ico { width: 38px; height: 38px; }

/* Contact */
.ebf-contact { background: linear-gradient(180deg, var(--ebf-blush) 0%, var(--ebf-cream) 100%); }
.ebf-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 780px; margin: 0 auto; }
.ebf-form { display: grid; gap: 14px; }
.ebf-form input[type="text"], .ebf-form input[type="email"], .ebf-form textarea, .ebf-gift textarea { width: 100%; border: 1px solid #e6d6d3; border-radius: 8px; padding: .75em .9em; background: #fff; }
.ebf-contact__info { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.ebf-contact__info ul { list-style: none; margin: 0 20px; padding: 22px 0 16px; border-bottom: 1px solid var(--ebf-line); }
.ebf-contact__info li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.ebf-contact__info .ebf-ico { width: 26px; height: 26px; color: var(--ebf-ink); }
.ebf-contact__wa a, .ebf-contact__wa .ebf-ico { color: #2f8a57; }
.ebf-contact__img { flex: 1; min-height: 180px; }
.ebf-contact__img img { width: 100%; height: 100%; object-fit: cover; }
.ebf-alert { padding: 12px 16px; border-radius: 10px; max-width: 780px; margin: 0 auto 16px; }
.ebf-alert--ok { background: var(--ebf-mint); }
.ebf-alert--err { background: var(--ebf-peach); }

/* Subscriptions */
.ebf-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 900px; margin: 0 auto; align-items: stretch; }
.ebf-plan { position: relative; background: #fff; border: 1px solid var(--ebf-line); border-radius: var(--ebf-radius); box-shadow: var(--ebf-shadow); display: flex; flex-direction: column; }
.ebf-plan.is-featured { border-color: var(--ebf-peach-deep); }
.ebf-plan__badge { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); background: var(--ebf-peach-deep); color: #fff; font-size: .95rem; padding: .35em 1.4em; z-index: 2; white-space: nowrap; clip-path: polygon(0 0, 100% 0, 94% 50%, 100% 100%, 0 100%, 6% 50%); }
.ebf-plan.is-featured .ebf-plan__badge { color: #fff; text-shadow: 0 1px 1px rgba(156, 114, 93, .4); }
.ebf-plan__img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--ebf-radius) var(--ebf-radius) 0 0; background: var(--ebf-blush); }
.ebf-plan__img img { width: 100%; height: 100%; object-fit: cover; }
.ebf-plan__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.ebf-plan__name { text-align: center; color: var(--ebf-rose); font-size: 1.7rem; margin: 0; }
.ebf-divider { display: flex; align-items: center; gap: 10px; color: var(--ebf-peach-deep); margin: 4px 0 8px; }
.ebf-divider::before, .ebf-divider::after { content: ""; flex: 1; height: 1px; background: var(--ebf-line); }
.ebf-divider .ebf-ico { width: 20px; height: 20px; }
.ebf-plan__summary { text-align: center; font-size: .95rem; margin-bottom: .6em; }
.ebf-tag { align-self: flex-start; background: var(--ebf-blush); color: var(--ebf-rose); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: .25em .7em; border-radius: 4px; font-weight: 500; }
.ebf-plan__price { margin: .4em 0 .4em; }
.ebf-plan__price strong { color: var(--ebf-rose); font-weight: 500; }
.ebf-checks { list-style: none; margin: 0 0 16px; padding: 0; font-size: .9rem; flex: 1; }
.ebf-checks li { display: flex; gap: 8px; align-items: center; margin-bottom: 3px; }
.ebf-checks .ebf-ico { color: #8cc5a3; width: 16px; height: 16px; }
.ebf-how { margin-top: 40px; }
.ebf-how .ebf-title { color: var(--ebf-rose); }
.ebf-how__steps { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 900px; text-align: center; }
.ebf-how__steps li { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ebf-how__steps li + li { border-left: 1px dashed var(--ebf-line); }
.ebf-how__icon { width: 70px; height: 70px; border-radius: 50%; background: var(--ebf-peach); display: flex; align-items: center; justify-content: center; color: var(--ebf-green); }
.ebf-how__icon .ebf-ico { width: 36px; height: 36px; }

/* Posts */
.ebf-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ebf-post-card { background: #fff; border-radius: var(--ebf-radius); padding: 0 0 18px; overflow: hidden; border: 1px solid var(--ebf-line); }
.ebf-post-card h2, .ebf-post-card .ebf-content { padding: 0 18px; }
.ebf-post-card h2 { font-size: 1.4rem; margin-top: 14px; }
.ebf-post-card h2 a { color: var(--ebf-ink); }

/* Modal (product pop-up) */
.ebf-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.ebf-modal__backdrop { position: absolute; inset: 0; background: rgba(63, 52, 55, .42); }
.ebf-modal__dialog { position: relative; background: var(--ebf-cream); border-radius: 18px; width: 100%; max-width: 980px; max-height: calc(100vh - 40px); overflow: auto; box-shadow: 0 20px 60px rgba(63, 52, 55, .25); }
.ebf-modal__close { position: absolute; top: 10px; right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ebf-ink); }
.ebf-modal__content { min-height: 200px; }
.ebf-modal.is-loading .ebf-modal__content::after { content: ""; display: block; width: 36px; height: 36px; margin: 80px auto; border: 3px solid var(--ebf-pink); border-top-color: var(--ebf-rose); border-radius: 50%; animation: ebfspin .8s linear infinite; }
@keyframes ebfspin { to { transform: rotate(360deg); } }
body.ebf-modal-open { overflow: hidden; }
.ebf-qv { display: grid; grid-template-columns: 1fr 1fr; }
.ebf-qv__media { background: var(--ebf-blush); }
.ebf-qv__media img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.ebf-qv__info { padding: 28px 28px 22px; }
.ebf-qv__title { font-size: 2rem; margin-right: 34px; }
.ebf-qv__price { font-size: 1.25rem; font-weight: 500; color: var(--ebf-rose); }
.ebf-qv__desc { font-size: .95rem; color: var(--ebf-muted); }
.ebf-qv__zones { font-size: .88rem; background: var(--ebf-mint); padding: 6px 10px; border-radius: 8px; }
.ebf-sizes { border: 0; padding: 0; margin: 14px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ebf-sizes legend { font-weight: 500; margin-bottom: 8px; padding: 0; }
.ebf-size { position: relative; border: 1px solid var(--ebf-line); background: #fff; border-radius: 10px; padding: 12px 8px; text-align: center; cursor: pointer; display: flex; flex-direction: column; gap: 2px; transition: border-color .2s, background .2s; }
.ebf-size input { position: absolute; opacity: 0; pointer-events: none; }
.ebf-size__name { font-weight: 500; }
.ebf-size__price { font-size: .92rem; color: var(--ebf-muted); }
.ebf-size:has(input:checked), .ebf-size.is-checked { border-color: var(--ebf-rose); background: var(--ebf-blush); box-shadow: 0 0 0 1px var(--ebf-rose) inset; }
.ebf-size:has(input:focus-visible) { outline: 2px solid var(--ebf-brown); }
.ebf-qv__addons { margin: 16px 0; }
.ebf-qv__addons h3 { font-size: 1.25rem; margin-bottom: 8px; }
.ebf-qv__addons h3 small { font-family: var(--ebf-sans); font-size: .8rem; color: var(--ebf-muted); }
.ebf-qv__addons-hint { display: none; font-size: .88rem; color: var(--ebf-muted); }
.ebf-qv__addons.is-locked .ebf-addons__grid { opacity: .45; pointer-events: none; filter: grayscale(.3); }
.ebf-qv__addons.is-locked .ebf-qv__addons-hint { display: block; }
.ebf-qv__buy { display: flex; gap: 12px; align-items: stretch; margin-top: 16px; }
.ebf-qv__buy .ebf-btn { flex: 1; }
.ebf-qty { display: inline-flex; border: 1px solid #e6d6d3; border-radius: 8px; background: #fff; overflow: hidden; }
.ebf-qty input { width: 46px; text-align: center; border: 0; -moz-appearance: textfield; appearance: textfield; }
.ebf-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.ebf-qty__btn { border: 0; background: none; width: 38px; font-size: 1.2rem; cursor: pointer; }
.ebf-qv__msg { min-height: 1.4em; margin: 10px 0 0; font-size: .95rem; }
.ebf-qv__msg.is-ok { color: var(--ebf-green); }
.ebf-qv__msg.is-err { color: #b0505c; }
.ebf-qv__more { font-size: .9rem; }

/* Add-ons (modal and cart) */
.ebf-addons__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.ebf-addons__grid--modal { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.ebf-addon { background: #fff; border: 1px solid var(--ebf-line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: 10px; cursor: pointer; position: relative; }
.ebf-addon input { position: absolute; opacity: 0; pointer-events: none; }
.ebf-addon__img { width: 100%; aspect-ratio: 1.2; background: var(--ebf-blush); overflow: hidden; }
.ebf-addon__img img { width: 100%; height: 100%; object-fit: cover; }
.ebf-addon__name { font-family: var(--ebf-serif); font-size: 1.08rem; margin-top: 6px; line-height: 1.2; padding: 0 4px; }
.ebf-addon__price { font-size: .95rem; margin-bottom: 6px; }
.ebf-addon__btn { border: 1px solid var(--ebf-pink-hover); background: var(--ebf-blush); color: var(--ebf-btn-text); border-radius: 6px; padding: .3em 1em; font-size: .88rem; }
.ebf-addons__grid--modal .ebf-addon__name { font-size: .95rem; }
.ebf-addon__added { display: none; }
.ebf-addon:has(input:checked), .ebf-addon.is-checked { border-color: var(--ebf-rose); box-shadow: 0 0 0 1px var(--ebf-rose) inset; }
.ebf-addon:has(input:checked) .ebf-addon__plus, .ebf-addon.is-checked .ebf-addon__plus { display: none; }
.ebf-addon:has(input:checked) .ebf-addon__added, .ebf-addon.is-checked .ebf-addon__added { display: inline; }
.ebf-addon:has(input:checked) .ebf-addon__btn, .ebf-addon.is-checked .ebf-addon__btn { background: var(--ebf-pink); }
.ebf-addon:has(input:focus-visible) { outline: 2px solid var(--ebf-brown); }

/* Responsive */
@media (max-width: 1000px) {
	.ebf-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.ebf-circles { grid-template-columns: repeat(3, 1fr); }
	.ebf-plans { grid-template-columns: 1fr; max-width: 420px; padding-top: 6px; gap: 34px; }
	.ebf-addons__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
	.ebf-burger { display: block; }
	.ebf-header__in { min-height: 70px; gap: 10px; }
	.ebf-logo--header img, .ebf-logo--header .custom-logo { max-height: 50px; max-width: 170px; }
	.ebf-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--ebf-c-header); box-shadow: 0 10px 20px rgba(156, 114, 93, .1); display: none; margin: 0; }
	.ebf-nav.is-open { display: block; }
	.ebf-nav .menu { flex-direction: column; padding: 10px 20px 16px; gap: 0; }
	.ebf-nav .menu a { padding: 12px 4px; border-bottom: 1px solid var(--ebf-line); }
	.ebf-nav .menu a::after { display: none; }
	.ebf-nav .sub-menu { position: static; display: block; box-shadow: none; padding-left: 14px; }
	.ebf-cart { order: 3; }
	.ebf-burger { order: 4; margin-left: 0; }
	.ebf-header__in > .ebf-logo { margin-right: auto; }
	.ebf-hero__media { inset: 0; opacity: .5; }
	.ebf-hero__media::before { background: linear-gradient(90deg, rgba(251, 233, 232, .9), rgba(251, 233, 232, .4)); }
	.ebf-hero__in { min-height: 380px; }
	.ebf-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.ebf-subbanner { grid-template-columns: 1fr; }
	.ebf-subbanner__img { order: -1; max-height: 220px; }
	.ebf-guarantee__in { grid-template-columns: auto 1fr; }
	.ebf-guarantee__side { grid-column: 1 / -1; border-left: 0; padding-left: 0; justify-content: center; text-align: center; }
	.ebf-about { grid-template-columns: 1fr; gap: 26px; }
	.ebf-contact__grid { grid-template-columns: 1fr; }
	.ebf-footer__grid { grid-template-columns: 1fr 1fr; }
	.ebf-footer__brand { grid-column: 1 / -1; }
	.ebf-qv { grid-template-columns: 1fr; }
	.ebf-qv__media img { min-height: 0; max-height: 300px; }
	.ebf-reviews__list--2, .ebf-reviews__list--3 { grid-template-columns: 1fr; }
	.ebf-posts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.ebf-strip__in { grid-template-columns: 1fr; }
	.ebf-strip p + p { border-left: 0; border-top: 1px solid var(--ebf-mint-deep); }
	.ebf-circles { grid-template-columns: repeat(3, 1fr); gap: 12px; }
	.ebf-grid--4, .ebf-grid--3 { grid-template-columns: 1fr 1fr; gap: 12px; }
	.ebf-card__title { font-size: 1.1rem; }
	.ebf-card__desc { font-size: .82rem; }
	.ebf-section { padding: 32px 0; }
	.ebf-facts { grid-template-columns: 1fr; gap: 18px; }
	.ebf-facts li + li { border-left: 0; }
	.ebf-panel { padding: 24px 18px; }
	.ebf-how__steps { grid-template-columns: 1fr 1fr; row-gap: 24px; }
	.ebf-how__steps li + li { border-left: 0; }
	.ebf-sizes { grid-template-columns: 1fr; }
	.ebf-size { flex-direction: row; justify-content: space-between; padding: 12px 14px; }
	.ebf-qv__info { padding: 20px 18px; }
	.ebf-addons__grid { grid-template-columns: repeat(2, 1fr); }
	.ebf-footer__grid { grid-template-columns: 1fr; }
	.ebf-posts { grid-template-columns: 1fr; }
	.ebf-guarantee__in { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.ebf-wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
	.woocommerce-cart .ebf-wa-float, .woocommerce-checkout .ebf-wa-float { bottom: 84px; }
}
@media (max-width: 782px) { .admin-bar .ebf-header { top: 46px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
