.apfy, .apfy-pop {
	--apfy-ink: #182820;
	--apfy-muted: #646467;
	--apfy-green: #17673a;
	--apfy-orange: #e8641b;
	--apfy-red: #e0243a;
	--apfy-line: #e6e9e7;
	--apfy-bg: #f6f8f6;
	font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	box-sizing: border-box;
}
.apfy *, .apfy-pop * { box-sizing: border-box; }

/* Homepage row */
.apfy { background: var(--apfy-bg); padding: 48px 16px; }
.apfy-in { max-width: 1140px; margin: 0 auto; }
.apfy-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.apfy-eyebrow { margin: 0 0 6px; color: var(--apfy-green); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.apfy-title { margin: 0; color: var(--apfy-ink); font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; line-height: 1.15; }
.apfy-sub { margin: 8px 0 0; color: var(--apfy-muted); font-size: 15px; font-weight: 500; }
.apfy-nav { display: flex; gap: 8px; flex-shrink: 0; }
.apfy-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--apfy-line); background: #fff; color: var(--apfy-ink); font-size: 24px; line-height: 1; cursor: pointer; padding: 0; }
.apfy-arrow:hover { border-color: var(--apfy-green); color: var(--apfy-green); }

.apfy-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.apfy-track::-webkit-scrollbar { display: none; }

.apfy-card { scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--apfy-line); border-radius: 12px; overflow: hidden; text-decoration: none !important; color: inherit; transition: box-shadow .2s, transform .2s; }
.apfy-card:hover { box-shadow: 0 10px 24px rgba(24, 40, 32, .10); transform: translateY(-2px); }
.apfy-img { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; }
.apfy-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.apfy-badge { position: absolute; top: 10px; left: 10px; background: var(--apfy-red); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 8px; border-radius: 6px; }
.apfy-body { display: flex; flex-direction: column; gap: 6px; padding: 14px; flex: 1; }
.apfy-cat { color: var(--apfy-green); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.apfy-name { color: var(--apfy-ink); font-size: 15px; font-weight: 800; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.apfy-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.apfy-price del { color: var(--apfy-muted); font-size: 13px; font-weight: 500; }
.apfy-price strong { color: var(--apfy-ink); font-size: 17px; font-weight: 800; }
.apfy-link { margin-top: auto; padding-top: 6px; color: var(--apfy-green); font-size: 14px; font-weight: 700; }

@media (max-width: 1024px) { .apfy-track { grid-auto-columns: calc((100% - 32px) / 3); } }
@media (max-width: 767px) {
	.apfy { padding: 36px 16px; }
	.apfy-nav { display: none; }
	.apfy-track { grid-auto-columns: 62%; gap: 12px; }
	.apfy-body { padding: 12px; }
	.apfy-name { font-size: 14px; }
	.apfy-price strong { font-size: 16px; }
}

/* Pop-up */
.apfy-pop { position: fixed; left: 16px; bottom: 16px; z-index: 99990; width: 340px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid var(--apfy-line); border-radius: 14px; box-shadow: 0 16px 40px rgba(24, 40, 32, .22); padding: 16px; opacity: 0; transform: translateY(16px); transition: opacity .3s, transform .3s; }
.apfy-pop.is-in { opacity: 1; transform: none; }
.apfy-pop .apfy-eyebrow { font-size: 11px; margin-bottom: 2px; }
.apfy-pop-title { margin: 0 28px 12px 0; color: var(--apfy-ink); font-size: 16px; font-weight: 800; line-height: 1.3; }
.apfy-x { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--apfy-muted); font-size: 22px; line-height: 1; cursor: pointer; padding: 0; }
.apfy-x:hover { background: var(--apfy-bg); color: var(--apfy-ink); }
.apfy-pop-list { display: flex; flex-direction: column; gap: 8px; }
.apfy-mini { display: flex; gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--apfy-line); border-radius: 10px; text-decoration: none !important; color: inherit; }
.apfy-mini:hover { border-color: var(--apfy-green); }
.apfy-mini .apfy-img { width: 60px; height: 60px; flex-shrink: 0; aspect-ratio: auto; }
.apfy-mini .apfy-body { padding: 0; gap: 3px; }
.apfy-mini .apfy-name { font-size: 13px; }
.apfy-mini .apfy-price strong { font-size: 14px; }
.apfy-mini .apfy-price del { font-size: 12px; }

@media (max-width: 767px) {
	.apfy-pop { left: 12px; right: 12px; bottom: 84px; width: auto; max-width: none; }
	.apfy-pop .apfy-mini:nth-child(n+3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.apfy-card, .apfy-pop { transition: none; }
}

/* ---------- Ember Sales countdown (inside the homepage banner) ---------- */
.apfy-cd { font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.apfy-cd-label { color: #fff; font-size: 15px; font-weight: 700; }
.apfy-cd-boxes { display: inline-flex; gap: 8px; }
.apfy-cd-box { display: inline-flex; flex-direction: column; align-items: center; min-width: 58px; padding: 8px 6px 6px; border-radius: 10px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(4px); }
.apfy-cd-box b { color: #fff; font-size: 24px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.apfy-cd-box i { color: #ffd2b3; font-size: 10px; font-style: normal; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
.apfy-cd.is-last-day .apfy-cd-box { background: #e8641b; border-color: #e8641b; }
.apfy-cd.is-last-day .apfy-cd-box i { color: #fff; }

/* ---------- Search bar under the banner ---------- */
.apfy-search { font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; position: relative; z-index: 3; padding: 0 16px; margin-top: -34px; }
.apfy-search-in { max-width: 1140px; margin: 0 auto; background: #fff; border-radius: 14px; box-shadow: 0 14px 34px rgba(24, 40, 32, .16); padding: 16px; }
.apfy-search-form { display: flex; align-items: center; gap: 10px; border: 2px solid #e6e9e7; border-radius: 10px; padding: 4px 4px 4px 12px; transition: border-color .2s; }
.apfy-search-form:focus-within { border-color: #17673a; }
.apfy-search-ico { width: 20px; height: 20px; color: #646467; flex-shrink: 0; }
.apfy-search-form input[type="search"] { flex: 1; min-width: 0; border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent !important; padding: 10px 0 !important; font-size: 16px; color: #182820; }
.apfy-search-form button { flex-shrink: 0; background: #17673a; color: #fff; border: 0; border-radius: 8px; padding: 12px 22px; font-size: 15px; font-weight: 800; cursor: pointer; }
.apfy-search-form button:hover { background: #0f4f2b; }
.apfy-chips { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.apfy-chips::-webkit-scrollbar { display: none; }
.apfy-chip { flex-shrink: 0; padding: 7px 14px; border-radius: 999px; background: #f3f7f2; color: #17673a !important; font-size: 13px; font-weight: 700; text-decoration: none !important; border: 1px solid #dfe9e0; }
.apfy-chip:hover { background: #17673a; color: #fff !important; }
.apfy-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Section that holds the search bar + Picked for you */
.apfy-home-tools { position: relative; z-index: 3; }
.apfy-home-tools .elementor-widget-wrap { padding: 0 !important; }
.apfy-home-tools .elementor-widget { margin: 0 !important; }
.apfy-home-tools .apfy { padding-top: 36px; background: transparent; }

/* ---------- Homepage banner: compact on phones ---------- */
@media (max-width: 767px) {
	.elementor-element-43bd086f { padding: 26px 16px 58px !important; }
	.elementor-element-43bd086f > .elementor-container { min-height: 0 !important; }
	.elementor-element-43bd086f .elementor-widget:not(:last-child) { margin-bottom: 12px !important; }
	.elementor-element-43bd086f { padding-top: 22px !important; }
	.elementor-element-72219893 .elementor-heading-title { font-size: 10.5px !important; letter-spacing: .06em; white-space: nowrap; }
	.elementor-element-1f1cc5bb > .elementor-widget-wrap { padding: 0 !important; }
	.elementor-element-422546a7 { display: none !important; }
	.elementor-element-71dfb2f2 .elementor-heading-title { font-size: 26px !important; line-height: 1.1 !important; }
	.elementor-element-71dfb2f2 .elementor-heading-title br { display: none; }
	.elementor-element-71dfb2f2 .elementor-heading-title span { display: block !important; font-size: .7em !important; margin-top: 4px !important; }
	.elementor-element-4d0f00b0, .elementor-element-4d0f00b0 p { font-size: 13.5px !important; line-height: 1.4 !important; }
	.elementor-element-6ab43ea7 > .elementor-container { display: flex !important; flex-wrap: nowrap !important; gap: 10px; }
	.elementor-element-6ab43ea7 .elementor-column { width: auto !important; flex: 1 1 0; }
	.elementor-element-6ab43ea7 .elementor-widget-wrap { padding: 0 !important; }
	.elementor-element-6ab43ea7 .elementor-button-wrapper, .elementor-element-6ab43ea7 .elementor-button { width: 100%; justify-content: center; text-align: center; }
	.elementor-element-6ab43ea7 .elementor-widget { margin: 0 !important; }
	.elementor-element-4d0f00b0 .elementor-widget-container > *:last-child { margin-bottom: 0; }
	.elementor-element-43bd086f .elementor-button { padding: 11px 6px !important; font-size: 13px !important; white-space: nowrap; }
	.elementor-element-43bd086f .elementor-button-icon { margin-right: 5px !important; }
	.apfy-cd { gap: 6px; }
	.apfy-cd-label { font-size: 12.5px; width: 100%; }
	.apfy-cd-box { min-width: 0; flex: 1; padding: 7px 4px 5px; }
	.apfy-cd-boxes { display: flex; width: 100%; max-width: 320px; gap: 6px; }
	.apfy-cd-box b { font-size: 19px; }
	.apfy-cd-box i { font-size: 9px; margin-top: 3px; }
	.apfy-search { margin-top: -38px; padding: 0 12px; }
	.apfy-search-in { padding: 12px; }
	.apfy-search-form button { padding: 11px 16px; }
	.apfy-home-tools .apfy { padding-top: 28px; }
}

/* ---------- Homepage banner: shorter on laptops/desktops too ---------- */
@media (min-width: 768px) {
	.elementor-element-43bd086f { padding-top: 44px !important; padding-bottom: 74px !important; }
	.elementor-element-43bd086f > .elementor-container { min-height: 0 !important; }
	.elementor-element-43bd086f .elementor-widget:not(:last-child) { margin-bottom: 16px !important; }
	.elementor-element-71dfb2f2 .elementor-heading-title { font-size: clamp(40px, 4.6vw, 60px) !important; line-height: 1.05 !important; }
	.elementor-element-71dfb2f2 .elementor-heading-title br { display: none; }
	.elementor-element-71dfb2f2 .elementor-heading-title span { display: block !important; margin-top: 8px !important; }
	.elementor-element-4d0f00b0, .elementor-element-4d0f00b0 p { font-size: 17px !important; }
	.apfy-cd-label { font-size: 16px; }
	.apfy-cd-box { min-width: 64px; }
	.apfy-cd-box b { font-size: 26px; }
}

/* ---------- "Which machine?" picker before WhatsApp order ---------- */
html.apfy-lock, html.apfy-lock body { overflow: hidden !important; }
.apfy-om { --apfy-ink: #182820; --apfy-muted: #646467; --apfy-green: #17673a; --apfy-line: #e6e9e7; --apfy-bg: #f6f8f6; position: fixed; inset: 0; z-index: 100000; background: rgba(10, 30, 20, .55); display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; transition: opacity .25s; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.apfy-om * { box-sizing: border-box; }
.apfy-om.is-in { opacity: 1; }
.apfy-om-panel { position: relative; width: 100%; max-width: 520px; max-height: min(92vh, 760px); display: flex; flex-direction: column; gap: 10px; background: #fff; border-radius: 16px; padding: 22px 20px 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); transform: translateY(14px); transition: transform .25s; }
.apfy-om.is-in .apfy-om-panel { transform: none; }
.apfy-om .apfy-eyebrow { margin: 0; color: var(--apfy-green); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.apfy-om-title { margin: 0 30px 0 0; color: var(--apfy-ink); font-size: 21px; font-weight: 800; line-height: 1.2; }
.apfy-om-sub { margin: 0; color: var(--apfy-muted); font-size: 14px; }
.apfy-om .apfy-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--apfy-muted); font-size: 24px; line-height: 1; cursor: pointer; padding: 0; }
.apfy-om .apfy-x:hover { background: var(--apfy-bg); color: var(--apfy-ink); }
.apfy-om-search, .apfy-om-input { width: 100%; border: 2px solid var(--apfy-line) !important; border-radius: 10px !important; padding: 11px 12px !important; font-size: 16px !important; color: var(--apfy-ink); background: #fff !important; outline: 0; box-shadow: none !important; }
.apfy-om-search:focus, .apfy-om-input:focus { border-color: var(--apfy-green) !important; }
.apfy-om-list { flex: 1; min-height: 160px; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 6px; padding: 2px; margin: 0 -2px; }
.apfy-om-head { margin: 6px 0 0; color: var(--apfy-muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.apfy-om-empty { margin: 8px 0; color: var(--apfy-muted); font-size: 14px; }
.apfy-om-opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: #fff; border: 2px solid var(--apfy-line); border-radius: 10px; padding: 7px 10px 7px 7px; cursor: pointer; color: inherit; font: inherit; }
.apfy-om-opt:hover { border-color: #b9d3c1; }
.apfy-om-opt.is-on { border-color: var(--apfy-green); background: #f1f8f3; }
.apfy-om-opt img { width: 48px; height: 48px; object-fit: contain; border-radius: 6px; background: #fff; flex-shrink: 0; }
.apfy-om-opt-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.apfy-om-opt-n { color: var(--apfy-ink); font-size: 14px; font-weight: 700; line-height: 1.3; }
.apfy-om-opt .apfy-price { display: flex; gap: 8px; align-items: baseline; }
.apfy-om-opt .apfy-price del { color: var(--apfy-muted); font-size: 12px; }
.apfy-om-opt .apfy-price strong { color: var(--apfy-ink); font-size: 14px; font-weight: 800; }
.apfy-om-tick { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--apfy-line); color: transparent; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.apfy-om-opt.is-on .apfy-om-tick { background: var(--apfy-green); border-color: var(--apfy-green); color: #fff; }
.apfy-om-err { margin: 0; min-height: 0; color: #c0262d; font-size: 13px; font-weight: 600; }
.apfy-om-err:empty { display: none; }
.apfy-om-go { width: 100%; border: 0; border-radius: 10px; padding: 14px; background: #1fa855; color: #fff; font-size: 16px; font-weight: 800; cursor: pointer; }
.apfy-om-go:hover { background: #17673a; }
.apfy-om-go:disabled { background: #b8c4bc; cursor: not-allowed; }
@media (max-width: 767px) {
	.apfy-om { padding: 0; align-items: flex-end; }
	.apfy-om-panel { max-width: none; max-height: 92vh; border-radius: 16px 16px 0 0; padding: 18px 16px 16px; }
	.apfy-om-title { font-size: 19px; }
}
/* Keep the theme's uppercase button style out of the picker */
.apfy-om button, .apfy-om-opt, .apfy-om-opt * { text-transform: none !important; letter-spacing: normal !important; }
.apfy-om-go { letter-spacing: .02em !important; }
.apfy-om-opt { min-height: 0 !important; line-height: 1.3 !important; box-shadow: none !important; }
.apfy-om-list > * { flex-shrink: 0 !important; }

/* ---------- Top info bar on phones: office address, delivery note, phone numbers ---------- */
@media (max-width: 767px) {
	#ast-mobile-header .ast-above-header-bar { display: block !important; background: rgb(18, 61, 44) !important; min-height: 0 !important; padding: 6px 12px !important; border: 0 !important; }
	#ast-mobile-header .ast-above-header-bar .site-above-header-wrap,
	#ast-mobile-header .ast-above-header-bar .ast-builder-grid-row { min-height: 0 !important; }
	#ast-mobile-header .site-header-above-section-center { flex-direction: column !important; gap: 2px; align-items: center; }
	#ast-mobile-header .ast-header-html-1 p, #ast-mobile-header .ast-header-html-2 p { margin: 0 !important; color: rgb(234, 242, 236) !important; font-size: 11.5px !important; line-height: 1.35 !important; font-weight: 500; text-align: center; }
	#ast-mobile-header .ast-header-html-2 p { font-weight: 700; font-size: 12.5px !important; }
	#ast-mobile-header .ast-above-header-bar a { color: #fff !important; text-decoration: none; }
}
