/* Еко Няшки — нова картка товару */
.ec-card {
	--ec-ink: #1F2A1A;
	--ec-muted: #5B6455;
	--ec-green: #3F7A22;
	--ec-green-dark: #2C5A16;
	--ec-soft: #F6F8F2;
	--ec-line: #ECEEE6;
	--ec-border: #DADDD4;
	--ec-star: #E8A317;
	--ec-red: #B3243E;
	max-width: 1240px;
	margin: 0 auto;
	padding: 12px 16px 120px;
	box-sizing: border-box;
	font-family: Manrope, system-ui, -apple-system, sans-serif;
	color: var(--ec-ink);
	font-size: 15px;
	line-height: 1.5;
}
.ec-card *, .ec-card *::before, .ec-card *::after { box-sizing: border-box; }
.ec-card a { color: var(--ec-green); }
.ec-card button { font-family: inherit; letter-spacing: normal; text-transform: none; box-shadow: none; }
.ec-card h1, .ec-card h2, .ec-card h3 { font-family: inherit; color: var(--ec-ink); letter-spacing: normal; }

.ec-crumbs { font-size: 13px; color: var(--ec-muted); margin-bottom: 12px; }
.ec-crumbs a { color: var(--ec-muted); }

/* Галерея */
.ec-gallery { display: flex; gap: 12px; margin: 0 -16px; }
.ec-gallery__thumbs { display: none; }
.ec-gallery__main { position: relative; flex: 1; min-width: 0; background: #F4F5F0; }
.ec-gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ec-gallery__track::-webkit-scrollbar { display: none; }
.ec-gallery__slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.ec-gallery__slide img { width: 100%; height: 100%; object-fit: contain; }
.ec-gallery__badges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; pointer-events: none; }
.ec-gallery__badges span { background: #fff; color: var(--ec-green); border: 1px solid #DDE8D2; border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 700; }
.ec-gallery__arrow { display: none; }
.ec-gallery__count { position: absolute; right: 12px; bottom: 12px; background: rgba(31, 42, 26, .75); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }

/* Покупка */
.ec-buy { display: flex; flex-direction: column; gap: 16px; padding-top: 16px; }
.ec-title { margin: 0; font-size: 25px; line-height: 1.2; font-weight: 800; }
.ec-meta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font-size: 14px; margin-top: -8px; }
.ec-meta__rating { color: var(--ec-ink) !important; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.ec-meta__rating u { color: var(--ec-green); }
.ec-meta__stock { color: var(--ec-green-dark); font-weight: 700; }
.ec-meta__stock.is-out { color: var(--ec-red); }
.ec-stars { color: var(--ec-star); letter-spacing: 1px; }
.ec-stars__off { color: #C9CEC2; }
.ec-short { color: var(--ec-muted); font-size: 15px; }
.ec-short p { margin: 0 0 4px; }
.ec-trust { display: flex; gap: 8px; flex-wrap: wrap; font-size: 12px; }
.ec-trust span { background: var(--ec-soft); border-radius: 8px; padding: 6px 10px; }

.ec-price__row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ec-price__now { font-size: 32px; font-weight: 800; letter-spacing: -.5px; }
.ec-price__old { font-size: 17px; color: #7B817C; }
.ec-price__unit { color: var(--ec-muted); font-size: 14px; }
.ec-price__pieces { color: var(--ec-green-dark); font-weight: 700; font-size: 14px; }
.ec-tag { background: #E6F1DC; color: var(--ec-green-dark); font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }

.ec-block { display: flex; flex-direction: column; gap: 10px; }
.ec-label { font-size: 14px; font-weight: 700; }
.ec-note { font-size: 13px; color: var(--ec-muted); margin: 0; }
.ec-note b { color: var(--ec-ink); }
.ec-ok { color: var(--ec-green-dark) !important; }

.ec-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ec-choice { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 13px; font-weight: 700; color: var(--ec-muted, #6B7266); }
.ec-choice select { appearance: none; -webkit-appearance: none; width: 100%; min-width: 0; height: 48px; border: 1px solid var(--ec-border); border-radius: 14px; padding: 0 36px 0 14px; font: inherit; font-size: 16px; font-weight: 700; color: var(--ec-ink); cursor: pointer;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231F2A1A' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; }
#ec-card#ec-card .ec-choice select { border-radius: 14px !important; } /* «Додатковий CSS» теми квадратить поля */
.ec-choice select:focus { outline: 0; border-color: var(--ec-green, #3F7A22); box-shadow: 0 0 0 3px rgba(63,122,34,.15); }
.ec-label small { font-weight: 600; color: var(--ec-muted, #6B7266); margin-left: 6px; font-size: .85em; }
.ec-weights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ec-weight { position: relative; text-align: left; display: flex; flex-direction: column; gap: 2px; padding: 12px; min-height: 72px; border: 1px solid var(--ec-border); border-radius: 14px; background: #fff; color: var(--ec-ink); cursor: pointer; }
.ec-weight:hover { border-color: var(--ec-green); background: #fff; color: var(--ec-ink); }
.ec-weight b { font-size: 16px; }
.ec-weight span { font-weight: 700; }
.ec-weight small { font-size: 12px; color: var(--ec-muted); }
.ec-weight em { position: absolute; top: -9px; right: 10px; background: var(--ec-red); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.ec-weight.is-active { border: 2px solid var(--ec-green); background: #F1F7EA; padding: 11px; }

.ec-seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: #F1F3EC; border-radius: 12px; padding: 4px; }
.ec-seg button { height: 42px; border: 0; border-radius: 9px; background: transparent; color: var(--ec-muted); font-size: 14px; font-weight: 800; cursor: pointer; padding: 0 8px; }
.ec-seg button:hover { background: rgba(255, 255, 255, .6); color: var(--ec-ink); }
.ec-seg button.is-active { background: #fff; color: var(--ec-ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }

.ec-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ec-chips--scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
.ec-chip { flex: none; display: inline-flex; align-items: center; height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ec-border); background: #fff; color: var(--ec-ink) !important; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.ec-chip:hover { border-color: var(--ec-green); background: #fff; }
.ec-chip.is-active { border: 2px solid var(--ec-green); background: #F1F7EA; font-weight: 800; }
.ec-chip:disabled { opacity: .4; cursor: not-allowed; }
.ec-presets { display: flex; gap: 8px; }
.ec-presets button { flex: 1; height: 42px; border: 1px solid var(--ec-border); border-radius: 10px; background: #fff; color: var(--ec-ink); font-size: 13px; font-weight: 800; cursor: pointer; }
.ec-presets button:hover { border-color: var(--ec-green); background: #fff; color: var(--ec-ink); }
.ec-mix-count { font-weight: 800; }

.ec-qty-row { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.ec-qty { display: flex; align-items: center; border: 1px solid var(--ec-border); border-radius: 12px; }
.ec-qty button { width: 48px; height: 48px; border: 0; background: transparent; color: var(--ec-ink); font-size: 22px; cursor: pointer; padding: 0; }
.ec-qty button:hover { background: var(--ec-soft); color: var(--ec-ink); }
.ec-qty span { min-width: 40px; text-align: center; font-size: 17px; font-weight: 800; }

.ec-ladder { background: var(--ec-soft); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ec-ladder__text { font-size: 14px; }
.ec-ladder__bar { height: 10px; border-radius: 5px; background: #E1E6DA; overflow: hidden; }
.ec-ladder__bar span { display: block; height: 100%; border-radius: 5px; background: var(--ec-green); transition: width .3s; }
.ec-ladder__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ec-step { background: #fff; border: 1px solid #E1E6DA; border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.ec-step b { font-size: 13px; }
.ec-step span { font-size: 11px; line-height: 1.3; }
.ec-step.is-done { background: var(--ec-green); border-color: var(--ec-green); color: #fff; }

.ec-actions { display: flex; flex-direction: column; gap: 10px; }
.ec-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 20px; border-radius: 14px; font-size: 16px; font-weight: 800; cursor: pointer; text-decoration: none !important; border: 0; }
.ec-btn--main { background: var(--ec-green); color: #fff !important; }
.ec-btn--main:hover { background: var(--ec-green-dark); color: #fff; }
.ec-btn--main:disabled { opacity: .5; cursor: default; }
.ec-btn--ghost { background: #fff; color: var(--ec-ink) !important; border: 2px solid var(--ec-ink); }
.ec-btn--ghost:hover { background: var(--ec-soft); color: var(--ec-ink); }
.ec-btn--dark { background: var(--ec-ink); color: #fff !important; }
.ec-quick { display: flex; flex-direction: column; gap: 8px; background: var(--ec-soft); border-radius: 14px; padding: 14px; }
.ec-quick label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; }
.ec-quick input { height: 48px; border: 1px solid var(--ec-border); border-radius: 10px; padding: 0 12px; font-size: 16px; background: #fff; }
.ec-quick__msg { font-size: 13px; color: var(--ec-green-dark); font-weight: 700; }
.ec-countdown { font-size: 14px; color: var(--ec-ink); padding-left: 26px; position: relative; }
.ec-countdown::before { content: ''; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border: 2px solid var(--ec-green); border-radius: 50%; }
.ec-toast { position: fixed; left: 16px; right: 16px; bottom: 96px; z-index: 99; background: var(--ec-ink); color: #fff; border-radius: 12px; padding: 12px 16px; font-size: 14px; font-weight: 700; text-align: center; }

/* Секції */
.ec-section { margin-top: 40px; }
.ec-section h2 { margin: 0 0 14px; font-size: 21px; font-weight: 800; }
.ec-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ec-section__head span { font-size: 13px; color: var(--ec-muted); }

.ec-cross { display: flex; flex-direction: column; }
.ec-cross__item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ec-line); }
.ec-cross__img { flex: none; width: 64px; height: 64px; border-radius: 12px; background: #F4F5F0; overflow: hidden; display: block; }
.ec-cross__img img { width: 100%; height: 100%; object-fit: cover; }
.ec-cross__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ec-cross__name { color: var(--ec-ink) !important; font-weight: 700; font-size: 14px; line-height: 1.3; text-decoration: none; }
.ec-cross__meta { font-size: 12px; color: var(--ec-muted); }
.ec-cross__price { font-weight: 800; }
.ec-plus { flex: none; width: 48px; height: 48px; border-radius: 12px; border: 2px solid var(--ec-green); background: #fff; color: var(--ec-green); font-size: 22px; font-weight: 700; cursor: pointer; padding: 0; }
.ec-plus:hover { background: #F1F7EA; color: var(--ec-green); }
.ec-plus.is-added { background: var(--ec-green); color: #fff; }

.ec-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 10px; border-bottom: 1px solid var(--ec-line); }
.ec-tabs button { flex: none; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ec-border); background: #fff; color: var(--ec-ink); font-size: 14px; font-weight: 700; cursor: pointer; }
.ec-tabs button:hover { background: var(--ec-soft); color: var(--ec-ink); }
.ec-tabs button.is-active { background: var(--ec-ink); border-color: var(--ec-ink); color: #fff; }
.ec-tab { padding-top: 20px; }
.ec-prose { font-size: 15px; line-height: 1.65; }
.ec-prose h2, .ec-prose h3 { font-size: 18px; margin: 18px 0 6px; }
.ec-specs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin: 0; max-width: 760px; }
.ec-specs dt, .ec-specs dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--ec-line); }
.ec-specs dt { color: var(--ec-muted); }
.ec-specs dd { font-weight: 700; }
.ec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ec-table th { text-align: left; color: var(--ec-muted); font-size: 13px; padding: 8px; border: 0; }
.ec-table td { padding: 12px 8px; border: 0; border-top: 1px solid var(--ec-line); }
.ec-two { display: flex; flex-wrap: wrap; gap: 32px; }
.ec-two > * { flex: 1 1 320px; min-width: 0; }

.ec-reviews { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.ec-reviews__summary { flex: 1 1 260px; background: var(--ec-soft); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.ec-reviews__avg { font-size: 36px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.ec-reviews__avg .ec-stars { font-size: 18px; }
.ec-reviews__total { color: var(--ec-muted); font-size: 14px; }
.ec-reviews__row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ec-muted); }
.ec-reviews__row span { flex: 1; height: 8px; border-radius: 4px; background: #E1E6DA; overflow: hidden; }
.ec-reviews__row i { display: block; height: 100%; background: var(--ec-star); }
.ec-reviews__list { flex: 2 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ec-review-form { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--ec-line); border-radius: 16px; padding: 16px; }
.ec-review-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; flex: 1 1 200px; }
.ec-review-form input, .ec-review-form textarea { border: 1px solid var(--ec-border); border-radius: 10px; padding: 10px 12px; font-size: 15px; background: #fff; }
.ec-review-form__row { display: flex; gap: 10px; flex-wrap: wrap; }
.ec-rate { display: flex; gap: 2px; }
.ec-rate button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 30px; color: #C9CEC2; cursor: pointer; padding: 0; }
.ec-rate button:hover { background: transparent; }
.ec-rate button.is-on { color: var(--ec-star); }
.ec-review { border-bottom: 1px solid var(--ec-line); padding-bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.ec-review header { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ec-review time { margin-left: auto; color: var(--ec-muted); font-size: 13px; }
.ec-review p { margin: 0; }

.ec-faq details { border-top: 1px solid var(--ec-line); }
.ec-faq summary { min-height: 54px; display: flex; align-items: center; font-weight: 700; cursor: pointer; list-style: none; }
.ec-faq summary::after { content: '+'; margin-left: auto; font-size: 22px; color: var(--ec-muted); }
.ec-faq details[open] summary::after { content: '−'; }
.ec-faq p { margin: 0 0 14px; color: #2F382B; }

.ec-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 98; background: #fff; border-top: 1px solid var(--ec-line); box-shadow: 0 -6px 20px rgba(31, 42, 26, .08); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; }
.ec-sticky__sum { display: flex; flex-direction: column; min-width: 0; }
.ec-sticky__sum span { font-size: 12px; color: var(--ec-muted); }
.ec-sticky__sum b { font-size: 19px; }
.ec-sticky .ec-btn { flex: 1; min-height: 50px; font-size: 15px; padding: 0 10px; }

@media (min-width: 960px) {
	.ec-card { padding: 20px 24px 64px; }
	.ec-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
	.ec-gallery { margin: 0; position: sticky; top: 24px; }
	.ec-gallery__thumbs { display: flex; flex-direction: column; gap: 10px; width: 84px; flex: none; }
	.ec-gallery__thumb { width: 84px; height: 84px; padding: 0; border: 2px solid transparent; border-radius: 12px; background: #F4F5F0; overflow: hidden; cursor: pointer; }
	.ec-gallery__thumb:hover { border-color: var(--ec-border); background: #F4F5F0; }
	.ec-gallery__thumb.is-active { border-color: var(--ec-green); }
	.ec-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
	.ec-gallery__main { border-radius: 20px; overflow: hidden; }
	.ec-gallery__arrow { display: flex; position: absolute; top: 50%; margin-top: -24px; width: 48px; height: 48px; border-radius: 24px; border: 0; background: #fff; color: var(--ec-ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .12); font-size: 26px; line-height: 1; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
	.ec-gallery__arrow:hover { background: #fff; color: var(--ec-ink); }
	.ec-gallery__arrow--prev { left: 14px; }
	.ec-gallery__arrow--next { right: 14px; }
	.ec-buy { padding-top: 0; }
	.ec-title { font-size: 34px; }
	.ec-price__now { font-size: 40px; }
	.ec-weights { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.ec-seg { max-width: 440px; }
	.ec-actions { flex-direction: row; }
	.ec-actions .ec-btn--main { flex: 1; }
	.ec-section h2 { font-size: 26px; }
	.ec-cross { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
	.ec-cross__item { flex-direction: column; align-items: stretch; border: 1px solid var(--ec-line); border-radius: 18px; padding: 14px; }
	.ec-cross__img { width: 100%; height: 140px; }
	.ec-cross__item .ec-plus { align-self: flex-end; margin-top: -48px; }
	.ec-tabs { gap: 4px; border-bottom: 2px solid var(--ec-line); padding-bottom: 0; }
	.ec-tabs button, .ec-tabs button:hover { height: 52px; border: 0; border-radius: 0; background: transparent; color: var(--ec-muted); border-bottom: 3px solid transparent; margin-bottom: -2px; font-size: 16px; }
	.ec-tabs button.is-active { background: transparent; color: var(--ec-ink); border-bottom-color: var(--ec-green); }
	.ec-tab { padding-top: 28px; }
	.ec-sticky { display: none; }
	.ec-toast { left: auto; right: 24px; bottom: 24px; max-width: 420px; }
}

/* ===== v0.2: м'які форми, анімації, нові блоки ===== */
.ec-card { --ec-ease: cubic-bezier(.2, .8, .2, 1); }

/* Тема Astra примусово робить кнопки квадратними — повертаємо заокруглення */
.ec-card .ec-btn, .ec-card .ec-seg, .ec-card .ec-seg button, .ec-card .ec-presets button,
.ec-card .ec-chip, .ec-card .ec-tabs button, .ec-card .ec-qty, .ec-card .ec-quick input { border-radius: 999px !important; }
.ec-card .ec-weight { border-radius: 18px !important; }
.ec-card .ec-plus, .ec-card .ec-gallery__arrow, .ec-card .ec-qty button { border-radius: 50% !important; }
.ec-card .ec-review-form input, .ec-card .ec-review-form textarea { border-radius: 14px !important; }
.ec-card .ec-gallery__thumb { border-radius: 14px !important; }
.ec-card .ec-ladder, .ec-card .ec-quick, .ec-card .ec-reviews__summary, .ec-card .ec-review-form, .ec-card .ec-keyfacts { border-radius: 22px; }
.ec-card .ec-step { border-radius: 14px; }

/* Плавні переходи для всього інтерактивного */
.ec-card .ec-btn, .ec-card .ec-weight, .ec-card .ec-chip, .ec-card .ec-plus, .ec-card .ec-presets button,
.ec-card .ec-seg button, .ec-card .ec-tabs button, .ec-card .ec-qty button, .ec-card .ec-gallery__arrow,
.ec-card .ec-gallery__thumb, .ec-card .ec-cross__item, .ec-card .ec-step, .ec-card .ec-rate button {
	transition: transform .25s var(--ec-ease), box-shadow .25s var(--ec-ease), background-color .2s, border-color .2s, color .2s, opacity .2s;
}
.ec-card .ec-btn:active, .ec-card .ec-weight:active, .ec-card .ec-chip:active, .ec-card .ec-plus:active,
.ec-card .ec-presets button:active, .ec-card .ec-qty button:active { transform: scale(.96); }

@media (hover: hover) {
	.ec-card .ec-btn--main:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(63, 122, 34, .32); }
	.ec-card .ec-btn--ghost:hover, .ec-card .ec-btn--dark:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(31, 42, 26, .14); }
	.ec-card .ec-weight:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(31, 42, 26, .10); }
	.ec-card .ec-chip:hover, .ec-card .ec-presets button:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(31, 42, 26, .10); }
	.ec-card .ec-plus:hover { transform: scale(1.08) rotate(90deg); background: var(--ec-green); color: #fff; }
	.ec-card .ec-plus.is-added:hover { transform: scale(1.08); background: var(--ec-green-dark); }
	.ec-card .ec-gallery__arrow:hover { transform: scale(1.08); box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
	.ec-card .ec-gallery__thumb:hover { transform: translateY(-2px); }
	.ec-card .ec-rate button:hover { transform: scale(1.2); }
	.ec-card .ec-cross__name:hover { color: var(--ec-green) !important; }
}

/* Головне фото плавно збільшується при наведенні */
.ec-gallery__slide { overflow: hidden; }
.ec-gallery__slide img { transition: transform .6s var(--ec-ease); }
@media (hover: hover) and (min-width: 960px) {
	.ec-gallery__main:hover .ec-gallery__slide img { transform: scale(1.06); }
	.ec-card .ec-cross__item:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(31, 42, 26, .10); border-color: transparent; }
	.ec-cross__img img { transition: transform .5s var(--ec-ease); }
	.ec-cross__item:hover .ec-cross__img img { transform: scale(1.06); }
}

/* Відгук на дії: ціна «стрибає», «+» підстрибує, кнопка зеленіє */
@keyframes ec-bump { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes ec-pop { 0% { transform: scale(.7); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
.ec-card .is-bump { display: inline-block; animation: ec-bump .35s var(--ec-ease); }
.ec-card .ec-plus.is-bump { animation: ec-pop .4s var(--ec-ease); }
.ec-card .ec-btn.is-done { background: var(--ec-green-dark); }
.ec-ladder__bar span { transition: width .6s var(--ec-ease); }
.ec-step.is-done { animation: ec-pop .4s var(--ec-ease); }

/* Плавна поява блоків при прокручуванні */
.ec-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ec-ease), transform .7s var(--ec-ease); }
.ec-reveal.is-in { opacity: 1; transform: none; }
@keyframes ec-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ec-buy > * { animation: ec-in .6s var(--ec-ease) both; }
.ec-buy > *:nth-child(2) { animation-delay: .05s; }
.ec-buy > *:nth-child(3) { animation-delay: .1s; }
.ec-buy > *:nth-child(4) { animation-delay: .15s; }
.ec-buy > *:nth-child(5) { animation-delay: .2s; }
.ec-buy > *:nth-child(n+6) { animation-delay: .25s; }
.ec-gallery { animation: ec-in .6s var(--ec-ease) both; }
.ec-tab:not([hidden]) { animation: ec-in .35s var(--ec-ease) both; }
.ec-toast:not([hidden]) { animation: ec-in .3s var(--ec-ease) both; border-radius: 999px; }

/* «Коротко про товар» */
.ec-about { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.ec-about .ec-prose { flex: 3 1 420px; min-width: 0; }
.ec-keyfacts { flex: 2 1 300px; min-width: 0; background: var(--ec-soft); padding: 20px; }
.ec-keyfacts h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; }
.ec-specs--compact dt, .ec-specs--compact dd { padding: 9px 0; border-bottom-color: #E1E6DA; }
.ec-link { margin-top: 12px; padding: 0; border: 0; background: none !important; color: var(--ec-green) !important; font-weight: 800; font-size: 15px; cursor: pointer; }
.ec-link:hover { text-decoration: underline; }

/* Instagram */
.ec-insta .ec-section__head a { font-weight: 700; font-size: 14px; }
.ec-insta #sb_instagram { padding-bottom: 0 !important; }
.ec-insta #sb_instagram .sbi_photo { border-radius: 16px; overflow: hidden; transition: transform .4s var(--ec-ease); }
.ec-insta #sb_instagram .sbi_item:hover .sbi_photo { transform: scale(1.03); }
.ec-insta__btn { margin-top: 14px; width: 100%; }
@media (min-width: 960px) { .ec-insta__btn { width: auto; } }

@media (prefers-reduced-motion: reduce) {
	.ec-card *, .ec-card *::before, .ec-card *::after { animation: none !important; transition: none !important; }
	.ec-reveal { opacity: 1; transform: none; }
}

/* ===== v0.3: виправлення конфліктів з темою Astra ===== */
.ec-card h1, .ec-card h2, .ec-card h3 { line-height: 1.25 !important; clear: none; float: none; }
.ec-card .ec-prose h3 { display: block; margin: 0 0 10px !important; font-size: 18px; font-weight: 800; }
.ec-card .ec-prose ul, .ec-card .ec-prose ol { margin: 0 0 12px 20px !important; padding: 0 !important; }
.ec-card .ec-prose li { margin: 0 0 6px; }
.ec-card .ec-prose p { margin: 0 0 12px; }
.ec-card .ec-table, .ec-card .ec-table th, .ec-card .ec-table td { border-left: 0 !important; border-right: 0 !important; background: transparent; }
.ec-card .ec-table { border: 0 !important; margin: 0; }
.ec-card .ec-table thead th { border-top: 0 !important; }
.ec-tag--warn { background: #FFF1D6; color: #7A4B00; }

/* Прибираємо зайве в куті: кнопка «вгору» теми та сповіщення Smash Balloon для адміна */
.ec-card-page #ast-scroll-top, .ec-card-page .sb-notification-ctn, .ec-card-page #sbi-notifications { display: none !important; }
@media (max-width: 959px) {
	/* Липка панель не перекривається круглою кнопкою чату справа */
	.ec-sticky { padding-right: 88px; }
}

/* ===== v0.4: тема перебивала форму кнопок — фіксуємо через #ec-card ===== */
#ec-card button { border-radius: 999px !important; }
#ec-card .ec-weight { border-radius: 18px !important; }
#ec-card .ec-plus, #ec-card .ec-gallery__arrow, #ec-card .ec-qty button, #ec-card .ec-rate button { border-radius: 50% !important; }
#ec-card .ec-gallery__thumb { border-radius: 14px !important; }
#ec-card .ec-link { border-radius: 0 !important; }

/* Перемикач «Один смак / Мікс» */
#ec-card .ec-seg { border-radius: 999px !important; padding: 5px; gap: 4px; background: #EEF1E8; }
#ec-card .ec-seg button { height: 44px; color: var(--ec-muted); }
#ec-card .ec-seg button.is-active { background: #fff; color: var(--ec-ink); box-shadow: 0 2px 10px rgba(31, 42, 26, .12); }

/* Смаки: однакові «пігулки» в обох режимах */
.ec-chips--scroll { padding: 6px 4px 10px; margin: -6px -4px 0; -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); }
#ec-card .ec-chip { height: 42px; padding: 0 16px; border: 1px solid var(--ec-border); background: #fff; font-size: 14px; font-weight: 600; color: var(--ec-ink); gap: 8px; }
#ec-card .ec-chip.is-active { border: 2px solid var(--ec-green); background: #F1F7EA; font-weight: 800; padding: 0 15px; }
#ec-card .ec-chip--pick i { font-style: normal; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: #EEF1E8; color: var(--ec-green); font-size: 13px; font-weight: 800; transition: background .2s, color .2s; }
#ec-card .ec-chip--pick.is-active i { background: var(--ec-green); color: #fff; }
#ec-card .ec-chip--more { border-style: dashed; color: var(--ec-green); font-weight: 800; }
#ec-card [data-ec-mix] { gap: 8px; }

/* Швидкий вибір кількості смаків */
#ec-card .ec-presets { gap: 8px; flex-wrap: wrap; }
#ec-card .ec-presets button { flex: 0 0 auto; height: 38px; padding: 0 16px; border: 1px solid var(--ec-border); background: #fff; font-size: 13px; font-weight: 800; color: var(--ec-ink); }
#ec-card .ec-presets button.is-active { background: var(--ec-ink); border-color: var(--ec-ink); color: #fff; }
.ec-mix-count { font-size: 14px; }
[data-ec-pane="mix"] { display: flex; flex-direction: column; gap: 12px; }
[data-ec-pane="mix"][hidden] { display: none; }

@media (min-width: 960px) {
	#ec-card .ec-tabs button { border-radius: 0 !important; }
}

/* ===== v0.5: відгуки, Google ===== */
.ec-google-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 18px; border: 1px solid var(--ec-line); border-radius: 22px; background: #fff; }
.ec-google-cta div { display: flex; flex-direction: column; gap: 2px; flex: 1 1 240px; }
.ec-google-cta span { font-size: 13px; color: var(--ec-muted); }
#ec-card .ec-btn--google { gap: 10px; background: #fff; color: #1F1F1F !important; border: 1px solid #DADCE0; font-size: 15px; font-weight: 700; min-height: 46px; }
@media (hover: hover) { #ec-card .ec-btn--google:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(60, 64, 67, .18); background: #fff; } }
.ec-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.ec-google-signin { min-height: 44px; }
.ec-or { display: flex; align-items: center; gap: 10px; color: var(--ec-muted); font-size: 12px; margin: 4px 0; }
.ec-or::before, .ec-or::after { content: ''; flex: 1; height: 1px; background: var(--ec-line); }
.ec-who { display: flex; flex-direction: column; gap: 10px; }
.ec-who[hidden], .ec-signed[hidden], .ec-review-done[hidden], .ec-review-form[hidden] { display: none !important; }
.ec-signed { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--ec-soft); border-radius: 999px; padding: 6px 14px 6px 6px; font-size: 14px; }
.ec-signed img { width: 32px; height: 32px; border-radius: 50%; }
.ec-signed .ec-link { margin: 0 0 0 auto; font-size: 13px; }
.ec-review-form__msg { color: var(--ec-red); font-size: 13px; font-weight: 700; }
.ec-review-done { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; background: #F1F7EA; border-radius: 22px; padding: 20px; animation: ec-in .4s var(--ec-ease) both; }
.ec-review-done span { color: #2F382B; font-size: 14px; }
.ec-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.ec-avatar--letter { display: inline-flex; align-items: center; justify-content: center; background: #E6F1DC; color: var(--ec-green-dark); font-weight: 800; }
.ec-tag--google { background: #E8F0FE; color: #1A56C4; }
.ec-review { padding: 16px; border: 1px solid var(--ec-line); border-radius: 20px; border-bottom: 1px solid var(--ec-line); transition: box-shadow .25s var(--ec-ease); }
@media (hover: hover) { .ec-review:hover { box-shadow: 0 10px 24px rgba(31, 42, 26, .08); } }

/* ===== v0.6 ===== */
#ec-card .ec-btn.is-loading { position: relative; opacity: .85; }
#ec-card .ec-btn.is-loading::after { content: ''; width: 16px; height: 16px; margin-left: 10px; border: 2px solid rgba(255, 255, 255, .5); border-top-color: #fff; border-radius: 50%; animation: ec-spin .7s linear infinite; }
@keyframes ec-spin { to { transform: rotate(360deg); } }
#ec-card .ec-plus[aria-busy="true"] { cursor: progress; }

/* ===== v0.7: на сторінці картки прибираємо чужі плаваючі кнопки ===== */
.ec-card-page #scrollToTopBtn { display: none !important; }
@media (max-width: 959px) {
	/* Чат SendPulse закриває кнопку «Додати в кошик» — на мобільному ховаємо, зв'язок є в липкій панелі */
	.ec-card-page sp-live-chat { display: none !important; }
	.ec-sticky { padding-right: 16px; }
}
.ec-sticky__chat { flex: none; width: 50px; height: 50px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #E8F4FB; color: #229ED9 !important; transition: transform .2s; }
.ec-sticky__chat:active { transform: scale(.94); }

/* ===== v0.8 ===== */
/* Більше фото зліва на десктопі */
@media (min-width: 960px) {
	.ec-top { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; }
	.ec-gallery__thumbs { width: 96px; }
	.ec-gallery__thumb { width: 96px; height: 96px; }
}
/* Смаки з фото */
#ec-card .ec-flavors { gap: 8px; }
#ec-card .ec-flavors.is-collapsed .is-extra { display: none; }
#ec-card .ec-chip--img, #ec-card .ec-chip--pick { padding: 0 14px 0 4px; height: 46px; }
#ec-card .ec-chip--img img, #ec-card .ec-chip--pick img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: #F4F5F0; flex: none; }
#ec-card .ec-chip--pick i { margin-left: 2px; }
#ec-card .ec-chip.is-loading { opacity: .6; pointer-events: none; }
#ec-card .ec-chip.is-loading::after { content: ''; width: 14px; height: 14px; margin-left: 6px; border: 2px solid var(--ec-border); border-top-color: var(--ec-green); border-radius: 50%; animation: ec-spin .7s linear infinite; }
.ec-card.is-switching .ec-buy, .ec-card.is-switching .ec-gallery { opacity: .55; transition: opacity .2s; }
/* Лесенка */
.ec-ladder__note { font-size: 12px; color: var(--ec-muted); }
.ec-card--after { padding-top: 0; padding-bottom: 120px; }
@media (min-width: 960px) { .ec-card--after { padding-bottom: 64px; } }

/* ===== v0.9.1: розкладка з Astra 4, доставка блоками, відгуки ===== */
/* Astra 4 ставить вміст у flex-рядок — картка і блок Instagram мають іти один під одним на всю ширину */
.ec-card-page .ast-container { flex-wrap: wrap; }
.ec-card-page .ast-container > .ec-card, .ec-card-page #primary .ec-card { width: 100%; flex: 1 1 100%; max-width: 1240px; }
/* Галерея: фото не розтягується на висоту мініатюр, стрілки по центру фото */
.ec-gallery { align-items: flex-start; }
@media (min-width: 960px) {
	.ec-gallery__thumbs { max-height: 640px; overflow-y: auto; scrollbar-width: thin; padding-right: 2px; }
	.ec-weight b { white-space: nowrap; }
}
/* Доставка й оплата — блоками */
.ec-dl { display: flex; flex-direction: column; gap: 14px; }
.ec-dl__title { margin: 6px 0 0; font-size: 20px; font-weight: 800; }
.ec-dl__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.ec-dl__card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--ec-line); border-radius: 20px; background: #fff; transition: transform .25s, box-shadow .25s; }
@media (hover: hover) { .ec-dl__card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(31, 42, 26, .08); } }
.ec-dl__card--accent { background: #F1F7EA; border-color: #DDE8D2; }
.ec-dl__ico { width: 46px; height: 46px; border-radius: 14px; background: #F1F7EA; color: var(--ec-green); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.ec-dl__card--accent .ec-dl__ico { background: #fff; }
.ec-dl__card b { font-size: 17px; }
.ec-dl__card span { font-size: 14px; color: var(--ec-muted); line-height: 1.4; }
.ec-dl__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.ec-dl__tags em { font-style: normal; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #F4F5F0; color: var(--ec-ink); }
.ec-dl__tags em:first-child { background: var(--ec-green); color: #fff; }
.ec-dl__free { padding: 12px 16px; border-radius: 999px; background: var(--ec-soft); font-size: 14px; align-self: flex-start; }
.ec-pay { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.ec-pay__item { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--ec-line); }
.ec-pay__item span { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #F1F7EA; color: var(--ec-green); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; }
.ec-pay__item div { display: flex; flex-direction: column; }
.ec-pay__item b { font-size: 15px; } .ec-pay__item small { font-size: 13px; color: var(--ec-muted); }
/* Відгуки: спочатку відгуки, потім форма; компактніше */
.ec-reviews__empty { padding: 18px; border-radius: 18px; background: var(--ec-soft); color: var(--ec-muted); }
#ec-card .ec-write { align-self: flex-start; min-height: 48px; padding: 0 26px; }
.ec-write-box { display: flex; flex-direction: column; gap: 12px; }
.ec-write-box[hidden] { display: none; }
#ec-card .ec-rate { gap: 0; margin: -4px 0 -2px -6px; }
#ec-card .ec-rate button { width: 36px; height: 36px; font-size: 28px; }
.ec-review-form { gap: 8px; padding: 18px; }
.ec-review-form .ec-label { margin-bottom: -2px; }
.ec-who { gap: 8px; }
.ec-google-cta { padding: 14px 16px; }
#ec-card .ec-btn--google { min-height: 42px; }
/* Instagram унизу сторінки */
.ec-insta h2 { margin-bottom: 8px; }

/* ===== v0.9.2: «Додатковий CSS» теми робить УСІ кнопки сайту квадратними і з успадкованим шрифтом
   (селектор button:not(#masthead …) з !important). Усередині картки повертаємо свої форми й розміри. ===== */
#ec-card#ec-card [hidden] { display: none !important; }
#ec-card#ec-card button { border-radius: 999px !important; font-family: inherit !important; }
#ec-card#ec-card .ec-weight { border-radius: 18px !important; font-size: 15px !important; }
#ec-card#ec-card .ec-gallery__thumb { border-radius: 14px !important; }
#ec-card#ec-card .ec-plus, #ec-card#ec-card .ec-gallery__arrow, #ec-card#ec-card .ec-qty button, #ec-card#ec-card .ec-rate button { border-radius: 50% !important; }
#ec-card#ec-card .ec-btn { font-size: 16px !important; }
#ec-card#ec-card .ec-sticky .ec-btn { font-size: 15px !important; }
#ec-card#ec-card .ec-seg button, #ec-card#ec-card .ec-chip, #ec-card#ec-card .ec-tabs button { font-size: 14px !important; }
#ec-card#ec-card .ec-presets button { font-size: 13px !important; }
#ec-card#ec-card .ec-qty button, #ec-card#ec-card .ec-plus { font-size: 22px !important; }
#ec-card#ec-card .ec-gallery__arrow { font-size: 26px !important; }
#ec-card#ec-card .ec-rate button { font-size: 28px !important; }
#ec-card#ec-card .ec-link { font-size: 15px !important; border-radius: 0 !important; }
@media (min-width: 960px) {
	#ec-card#ec-card .ec-tabs button { font-size: 16px !important; border-radius: 0 !important; }
}
/* Менше порожнього місця між Instagram і футером */
.ec-card--after { padding-bottom: 32px !important; }
#ec-card { padding-bottom: 24px; }
@media (max-width: 959px) { .ec-card--after { padding-bottom: 110px !important; } }

/* v0.12.3: поля вводу — шрифт картки, трохи жирніший */
.ec-card input, .ec-card textarea, .ec-card select { font-family: Manrope, system-ui, -apple-system, sans-serif !important; font-weight: 600; color: var(--ec-ink); letter-spacing: .2px; }
.ec-card input::placeholder, .ec-card textarea::placeholder { font-weight: 500; color: #9AA093; }

/* v0.13.2: тема дає спискам margin-top −22.5px — список «наїжджав» на заголовок (Калорійність…).
 * Нормальні відступи для списків і заголовків в описах товарів (23 короткі й 129 повних описів зі списками). */
.ec-card :is(.ec-short, .ec-prose) :is(ul, ol) { margin: 4px 0 12px 22px !important; padding: 0 !important; }
.ec-card :is(.ec-short, .ec-prose) li { margin: 0 0 3px !important; padding: 0 !important; }
.ec-card :is(.ec-short, .ec-prose) li::marker { color: var(--ec-green); }
.ec-card .ec-short p:empty { display: none; }
.ec-card .ec-prose :is(h1, h2, h3, h4, h5, h6) { font-family: inherit !important; color: var(--ec-ink); line-height: 1.3; margin: 22px 0 8px !important; letter-spacing: normal; }
.ec-card .ec-prose :is(h1, h2) { font-size: 22px !important; font-weight: 800; }
.ec-card .ec-prose h3 { font-size: 19px !important; font-weight: 800; }
.ec-card .ec-prose :is(h4, h5, h6) { font-size: 16px !important; font-weight: 700; }
.ec-card .ec-prose > :first-child { margin-top: 0 !important; }
.ec-card .ec-prose hr { border: 0; border-top: 1px solid var(--ec-line); margin: 20px 0; }
/* Кнопки — завжди в один рядок */
.ec-card .ec-btn, .ec-sticky .ec-btn { white-space: nowrap; }
@media (max-width: 600px) { .ec-sticky .ec-btn { font-size: 15px !important; padding: 0 14px !important; letter-spacing: normal !important; } }
