/* =========================================================================
 * Amox — redesigned product-category page
 * Loaded only where inc/category-page/category-page.php routes a category to
 * woocommerce/archive-product-amox.php. Everything is scoped under .acp.
 * RTL-first. Colours and product-card rules follow the homepage
 * (assets/css/homepage.css), so the two pages read as one site.
 *
 * Sections: Hero · Tag nav · Carousels · All products · About · Extras
 * ====================================================================== */

.acp {
	--acp-cream: #f6f3ec;
	--acp-cream-2: #efeae0;
	--acp-surface: #ffffff;
	--acp-green: #47715f;
	--acp-green-soft: rgba(71, 113, 95, 0.1);
	--acp-cta: #003720;
	--acp-cta-hover: #00230f;
	--acp-ink: #00130b;
	--acp-text: rgba(0, 0, 0, 0.78);
	--acp-muted: rgba(0, 0, 0, 0.56);
	--acp-line: rgba(0, 0, 0, 0.1);
	--acp-gold: #b9966e;
	--acp-radius: 20px;
	--acp-max: 1280px;
	--acp-sticky-top: 0px; /* set by front.js to the height of a fixed site header */

	/* The theme ships one family per weight (see `b, strong` in style.css).
	 * Adding font-weight on top makes the browser fake a second bold. */
	--acp-font-bold: 'oc-child-theme-bold', sans-serif;
	--acp-font-regular: 'oc-child-theme-regular', sans-serif;
	--acp-font-light: 'oc-child-theme-light', sans-serif;

	background: var(--acp-cream);
	color: var(--acp-text);
	direction: rtl;
	text-align: right;
	overflow-x: clip;
}
.acp *,
.acp *::before,
.acp *::after {
	box-sizing: border-box;
}
.acp-container {
	max-width: var(--acp-max);
	margin-inline: auto;
	padding-inline: 24px;
}
.acp-icon {
	width: 22px;
	height: 22px;
	flex: none;
}
.acp-icon--xs {
	width: 14px;
	height: 14px;
}
.acp [id] {
	scroll-margin-top: calc(var(--acp-sticky-top) + 72px);
}

/* ---- Buttons ------------------------------------------------------------ */
.acp-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 53px;
	padding: 0 30px;
	border-radius: 5px;
	background: var(--acp-cta);
	color: #f4f4ec;
	font-family: var(--acp-font-regular);
	font-size: 16px;
	letter-spacing: 0.02em;
	text-decoration: none;
	transition: background-color 0.2s ease, transform 0.2s ease;
}
.acp-btn:hover,
.acp-btn:focus-visible {
	background: var(--acp-cta-hover);
	color: #fff;
}
.acp-btn:focus-visible,
.acp-chip:focus-visible,
.acp-hero__more:focus-visible {
	outline: 2px solid var(--acp-green);
	outline-offset: 3px;
}
.acp-btn svg {
	transition: transform 0.2s ease;
}
.acp-btn:hover svg {
	transform: translateY(2px);
}

/* ==================== 1. HERO ============================================ */
.acp-hero {
	position: relative;
	padding-block: 28px 64px;
	background:
		radial-gradient(60% 80% at 15% 30%, rgba(185, 150, 110, 0.14), transparent 70%),
		linear-gradient(180deg, #fbf9f4 0%, var(--acp-cream) 100%);
	isolation: isolate;
}
.acp-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: 56px;
	align-items: center;
}

.acp-breadcrumbs {
	margin: 0 0 22px;
	font-size: 13px;
	color: var(--acp-muted);
}
.acp-breadcrumbs a {
	color: var(--acp-muted);
	text-decoration: none;
}
.acp-breadcrumbs a:hover {
	color: var(--acp-ink);
	text-decoration: underline;
}

.acp .acp-hero__title {
	margin: 0 0 18px;
	font-family: var(--acp-font-bold);
	font-weight: normal;
	font-size: clamp(32px, 3.6vw, 52px);
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: var(--acp-ink);
	text-wrap: balance;
}
.acp-hero__sub,
.acp-hero__desc {
	max-width: 54ch;
	margin: 0 0 26px;
	font-family: var(--acp-font-light);
	font-size: 18px;
	line-height: 1.65;
	color: var(--acp-text);
}
.acp-hero__desc p {
	margin: 0 0 0.8em;
}
.acp-hero__desc p:last-child {
	margin-bottom: 0;
}
/* Long SEO descriptions: three lines, then "read more". front.js shows the
 * button only when the text actually overflows. */
.acp-hero__desc.is-clamped .acp-hero__desc-inner {
	max-height: calc(1.65em * 3);
	overflow: hidden;
	-webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
	mask-image: linear-gradient(180deg, #000 55%, transparent);
}
.acp-hero__more {
	margin-top: 8px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--acp-green);
	font-family: var(--acp-font-bold);
	font-size: 15px;
	text-decoration: underline;
	text-underline-offset: 4px;
	cursor: pointer;
}
.acp-hero__more [data-less],
.acp-hero__more[aria-expanded="true"] [data-more] {
	display: none;
}
.acp-hero__more[aria-expanded="true"] [data-less] {
	display: inline;
}

.acp-hero__points {
	display: grid;
	gap: 12px;
	margin: 0; /* last item in the hero */
	padding: 0;
	list-style: none;
}
.acp-hero__points li {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	font-size: 16px;
	line-height: 1.45;
	color: var(--acp-ink);
}
.acp-hero__point-icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	flex: none;
	border-radius: 50%;
	background: var(--acp-surface);
	color: var(--acp-green);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}


/* Media: image, or a product collage when the category has no image. */
.acp-hero__media {
	position: relative;
}
.acp-hero__image {
	position: relative;
	aspect-ratio: 5 / 4;
	border-radius: var(--acp-radius);
	overflow: hidden;
	background: var(--acp-cream-2);
	box-shadow: 0 24px 60px -24px rgba(0, 40, 20, 0.35);
}
.acp .acp-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: acp-settle 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes acp-settle {
	from { transform: scale(1.06); }
	to { transform: scale(1); }
}

/* No hero image: three product photos on white tiles. */
.acp-hero__collage {
	position: relative;
	aspect-ratio: 5 / 4;
}
.acp-hero__tile {
	position: absolute;
	display: grid;
	place-items: center;
	border-radius: var(--acp-radius);
	background: var(--acp-surface);
	box-shadow: 0 20px 50px -24px rgba(0, 40, 20, 0.3);
	overflow: hidden;
}
.acp-hero__tile img {
	width: 86%;
	height: 86%;
	object-fit: contain;
}
.acp-hero__tile--0 {
	inset: 0 0 8% 32%;
	z-index: 1;
}
.acp-hero__tile--1 {
	inset: 2% 72% 58% 0;
	z-index: 2;
}
.acp-hero__tile--2 {
	inset: 46% 68% 4% 4%;
	z-index: 2;
}

@keyframes acp-rise {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: none; }
}

/* Filtered / sorted / page 2+: compact header, results first. */
.acp--filtered .acp-hero {
	padding-block: 20px 28px;
}
.acp--filtered .acp-hero__grid {
	grid-template-columns: 1fr;
}
.acp--filtered .acp-hero__title {
	font-size: clamp(26px, 2.6vw, 36px);
	margin-bottom: 10px;
}

/* ==================== 2. TAG NAV ========================================= */
.acp-tagnav {
	position: sticky;
	top: var(--acp-sticky-top);
	z-index: 20;
	padding-block: 12px;
	background: rgba(246, 243, 236, 0.9);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-block: 1px solid var(--acp-line);
}
.acp-tagnav__list {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 2px;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.acp-tagnav__list::-webkit-scrollbar {
	display: none;
}
.acp-tagnav__list li {
	flex: none;
	margin: 0;
}
.acp-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 16px;
	border: 1px solid var(--acp-line);
	border-radius: 99px;
	background: var(--acp-surface);
	color: var(--acp-ink);
	font-size: 15px;
	white-space: nowrap;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.acp-chip:hover {
	border-color: var(--acp-green);
	color: var(--acp-ink);
}
.acp-chip.is-active {
	background: var(--acp-cta);
	border-color: var(--acp-cta);
	color: #f4f4ec;
}
.acp-chip__count {
	min-width: 24px;
	padding: 2px 7px;
	border-radius: 99px;
	background: var(--acp-green-soft);
	font-size: 12px;
	line-height: 1.4;
	text-align: center;
	color: var(--acp-green);
}
.acp-chip.is-active .acp-chip__count {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}
.acp-chip--all {
	font-family: var(--acp-font-bold);
}

/* ==================== 3. CAROUSELS ======================================= */
.acp-shelf {
	padding-block: 52px 8px;
}
.acp-shelf + .acp-shelf {
	border-top: 1px solid var(--acp-line);
	margin-top: 44px;
}
/* Best sellers: first carousel, on a white band so it reads as the highlight. */
.acp-shelf--best {
	padding-bottom: 52px;
	background: var(--acp-surface);
}
.acp-shelf--best + .acp-shelf {
	margin-top: 0;
	border-top: 0;
}
.acp-chip--best .acp-icon {
	color: #dc8200;
}
.acp-chip--best.is-active .acp-icon {
	color: #f4c46a;
}
.acp-shelf__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 26px;
}
.acp .acp-shelf__title {
	margin: 0;
	font-family: var(--acp-font-bold);
	font-weight: normal;
	font-size: clamp(24px, 2.2vw, 32px);
	line-height: 1.2;
	color: var(--acp-ink);
}
.acp-shelf__sub {
	margin: 6px 0 0;
	max-width: 60ch;
	font-size: 16px;
	color: var(--acp-muted);
}
.acp-shelf__count {
	flex: none;
	font-size: 14px;
	color: var(--acp-muted);
}

/* ---- Carousel cells --------------------------------------------------- */
.acp .acp-carousel.products {
	margin: 0 -10px !important;
	padding: 0 !important;
	list-style: none;
	display: block !important; /* let Flickity own the layout */
}
.acp .acp-carousel.products::before,
.acp .acp-carousel.products::after {
	display: none !important; /* WooCommerce clearfix would become an empty cell */
}
.acp-carousel:focus {
	outline: none;
}
.acp .acp-carousel.products li.product {
	width: 25% !important;
	padding-inline: 10px !important;
	margin: 0 !important;
	float: none !important;
}
/* Equal-height cells (front.js sets the height, desktop only), so the price
 * and button row sits on one line across the carousel. */
.acp .acp-carousel.is-equal li.product .item_wrap {
	height: 100% !important;
}

/* ---- Product card (design C, chosen 2026-09-27) ------------------------
 * Photo, name, then one row: price on the right, add-to-cart on the left.
 * Products with bundle options also show the options as a required radio
 * group above that row, and the price follows the chosen option (front.js
 * builds .acp-card-meta / .acp-opts / .acp-card-buy around the theme's own
 * markup). Applies to the carousels AND the all-products grid on this page.
 * !important is REQUIRED: the parent theme's `ul.products li.product`
 * rules are more specific. */
.acp ul.products li.product .item_wrap {
	position: relative !important; /* anchors the "added to cart" notice */
	display: flex !important;
	flex-direction: column !important;
	min-height: 0 !important;
	height: auto;
}
.acp ul.products li.product .wrap-for-top-part {
	border-radius: 10px !important;
	overflow: hidden !important;
	margin: 0 !important;
	background: #efede8;
}
.acp ul.products li.product .wrap-for-top-part img:is(.wp-post-image, .attachment-woocommerce_thumbnail, .woocommerce-placeholder):not(.oc-pb img) {
	border-radius: 10px !important;
	transition: transform 0.5s ease;
}
/* Same photo height on every card: one square box (the shop's product photos
 * are square), so each photo fills it — no bands, nothing cropped. Sized on the image itself, so it works
 * whatever wrappers the theme puts around it; corner badges are left alone. */
.acp ul.products li.product .wrap-for-top-part img:not(.oc-pb img):not(.br_alabel img):not([class*="berocket"] img) {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	max-width: none !important;
	aspect-ratio: 1 / 1 !important;
	object-fit: contain !important;
	object-position: center !important;
}
.acp ul.products li.product:hover .wrap-for-top-part img:is(.wp-post-image, .attachment-woocommerce_thumbnail, .woocommerce-placeholder):not(.oc-pb img) {
	transform: scale(1.03);
}
.acp ul.products li.product .bottom-part {
	display: flex !important;
	flex-direction: column !important;
	flex: 1 1 auto !important;
	align-items: stretch !important;
	justify-content: flex-start !important; /* no spreading: extra height goes above the price row only */
	text-align: right !important;
	gap: 6px !important;
	padding: 12px 2px 0 !important;
	width: 100% !important;
}
.acp ul.products li.product .bottom-part .loop_desc,
.acp ul.products li.product .bottom-part [class*="brand" i],
.acp ul.products li.product .bottom-part .posted_in,
.acp ul.products li.product .bottom-part .product_meta,
.acp ul.products li.product .bottom-part .product-brand,
.acp ul.products li.product .bottom-part .wd-product-brands-links {
	display: none !important;
}
.acp ul.products li.product .woocommerce-loop-product__title,
.acp ul.products li.product .woocommerce-loop-product__title a {
	font-family: var(--acp-font-bold) !important;
	font-weight: normal !important;
	font-size: 15.5px !important;
	line-height: 1.4 !important;
	letter-spacing: 0.01em !important;
	text-align: right !important;
	text-decoration: none !important;
	color: var(--acp-ink) !important;
}
.acp ul.products li.product .woocommerce-loop-product__title {
	margin: 0 !important;
	padding: 0 !important;
	min-height: calc(1.4em * 2) !important; /* 2 lines, so the meta line starts level */
	height: auto !important;
	width: 100% !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
}
/* When the theme wraps the whole title in the product link. */
.acp ul.products li.product .bottom-part > a:has(.woocommerce-loop-product__title) {
	color: inherit !important;
	text-decoration: none !important;
}
.acp ul.products li.product .woocommerce-loop-product__title a:hover {
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

/* "3 אפשרויות · עם מעמד או בלי" */
.acp-card-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	min-height: 22px;
	font-size: 13px;
	line-height: 1.4;
	color: var(--acp-muted);
}
.acp-card-meta b {
	font-family: var(--acp-font-bold);
	font-weight: normal;
	color: var(--acp-gold);
}

/* Price + button row */
.acp-card-buy {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	padding-top: 8px;
}
.acp ul.products li.product .acp-card-buy .price_wrap {
	margin: 0 !important;
	width: auto !important;
	text-align: right !important;
}
.acp ul.products li.product .acp-card-buy .price,
.acp ul.products li.product .acp-card-buy .price bdi,
.acp ul.products li.product .acp-card-buy .price .woocommerce-Price-amount,
.acp ul.products li.product .acp-card-buy .price ins,
.acp-card-from .woocommerce-Price-amount {
	display: inline-block !important;
	margin: 0 !important;
	font-family: var(--acp-font-bold) !important;
	font-weight: normal !important;
	font-size: 18px !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-align: right !important;
	color: var(--acp-ink) !important;
	font-variant-numeric: tabular-nums;
}
.acp ul.products li.product .acp-card-buy .price ins,
.acp ul.products li.product .acp-card-buy .price ins bdi {
	text-decoration: none !important;
}
.acp ul.products li.product .acp-card-buy .price del,
.acp ul.products li.product .acp-card-buy .price del bdi,
.acp ul.products li.product .acp-card-buy .price del .woocommerce-Price-amount {
	font-family: var(--acp-font-regular) !important;
	font-size: 13px !important;
	color: var(--acp-muted) !important;
	margin-inline-start: 6px !important;
}
.acp-card-from {
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
	white-space: nowrap;
}
.acp-card-from small {
	font-size: 13px;
	color: var(--acp-muted);
}

/* The theme's add-to-cart row, moved into .acp-card-buy (simple products). */
.acp ul.products li.product .acp-card-buy .quantity--wrapper {
	display: flex !important;
	justify-content: flex-end !important;
	gap: 8px;
	flex: 1 1 auto;
	max-width: 180px;
	margin: 0 !important;
	width: auto !important;
}
.acp ul.products li.product .quantity--wrapper .quantity {
	display: none !important;
}
.acp ul.products li.product .quantity--wrapper button.add-to-cart,
.acp ul.products li.product .acp-card-buy .add-to-cart {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 1 1 auto;
	width: 100% !important;
	max-width: 180px !important;
	min-width: 0 !important;
	height: 44px !important;
	margin: 0 !important;
	padding: 0 18px !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: var(--acp-cta) !important;
	color: #f4f4ec !important;
	font-family: var(--acp-font-regular) !important;
	font-weight: normal !important;
	font-size: 14.5px !important;
	line-height: 1.2 !important;
	letter-spacing: 0.02em !important;
	text-align: center !important;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.acp ul.products li.product .quantity--wrapper button.add-to-cart:hover,
.acp ul.products li.product .acp-card-buy .add-to-cart:hover {
	background: var(--acp-cta-hover) !important;
}
/* The theme paints some buttons with a ::before layer — keep ours flat. */
.acp ul.products li.product .acp-card-buy .add-to-cart::before {
	display: none !important;
}
.acp ul.products li.product .add-to-cart:focus-visible {
	outline: 2px solid var(--acp-gold) !important;
	outline-offset: 2px;
}

/* Stock lines on cards: empty ones are removed by front.js (and hidden here
 * as a fallback); a real backorder message stays as one small muted line. */
.acp ul.products li.product p.stock:empty {
	display: none !important;
}
.acp ul.products li.product p.stock {
	order: 0 !important;
	margin: 2px 0 0 !important;
	padding: 0 !important;
	font-size: 12.5px !important;
	line-height: 1.4 !important;
	color: var(--acp-muted) !important;
	text-align: right !important;
}

/* Quick checkout (inc/quick-checkout) on this page's cards: a square ⚡ icon
 * button beside add-to-cart instead of a second full button. Its label stays
 * for screen readers and as a tooltip (front.js). !important beats the inline
 * size/colour quick checkout copies from the theme's button. */
.acp ul.products li.product .quantity--wrapper.amox-qc-row {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 8px !important;
	max-width: 232px;
}
.acp ul.products li.product .quantity--wrapper.amox-qc-row > button.add-to-cart {
	flex: 1 1 auto !important;
	max-width: none !important;
}
.acp ul.products li.product a.amox-qc-btn--card {
	flex: none !important;
	display: grid !important;
	place-items: center !important;
	width: 44px !important;
	min-width: 44px !important;
	height: 44px !important;
	min-height: 44px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1.5px solid var(--acp-cta) !important;
	border-radius: 8px !important;
	background: transparent !important;
	color: var(--acp-cta) !important;
	font-size: 0 !important;
	box-shadow: none !important;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.acp ul.products li.product a.amox-qc-btn--card::before,
.acp ul.products li.product a.amox-qc-btn--card::after {
	content: none !important;
}
.acp ul.products li.product a.amox-qc-btn--card:hover {
	background: var(--acp-cta) !important;
	color: #f4f4ec !important;
}
.acp ul.products li.product a.amox-qc-btn--card:focus-visible {
	outline: 2px solid var(--acp-gold) !important;
	outline-offset: 2px;
}
.acp ul.products li.product a.amox-qc-btn--card .amox-qc-btn__icon,
.acp ul.products li.product a.amox-qc-btn--card svg {
	width: 18px !important;
	height: 18px !important;
	margin: 0 !important;
}
.acp ul.products li.product a.amox-qc-btn--card > span {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	white-space: nowrap !important;
}

/* Products with options: the theme's price line and add-to-cart row stay in
 * the DOM (the option click drives them) but are replaced visually. */
.acp ul.products li.product.acp-has-options .acp-price-replaced {
	display: none !important;
}

/* ---- "Added to cart" notice (front.js) -------------------------------- */
.acp-added {
	position: absolute;
	inset: auto 0 0 0;
	z-index: 6;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 12px;
	border-radius: 10px;
	background: var(--acp-cta);
	color: #f4f4ec;
	font-family: var(--acp-font-bold);
	font-size: 15px;
	box-shadow: 0 -10px 28px -12px rgba(0, 30, 15, 0.35);
	animation: acp-sheet-up 0.2s ease-out;
}
.acp-added[hidden] {
	display: none;
}
.acp-added.is-loading {
	background: var(--acp-surface);
	color: var(--acp-ink);
	font-family: var(--acp-font-regular);
}
.acp-added__spin {
	width: 16px;
	height: 16px;
	border: 2px solid var(--acp-line);
	border-top-color: var(--acp-cta);
	border-radius: 50%;
	animation: acp-spin 0.7s linear infinite;
}
@keyframes acp-spin {
	to { transform: rotate(360deg); }
}

/* ---- Bundle options on the card: list (chosen 2026-09-28) ---------------
 * The theme's own option buttons (inc/oc-additional-product-sale-button.php)
 * as a list under a "בחרו מעמד:" label — one row each: radio dot, short name,
 * price. The first option starts selected (front.js). */
.acp-opts-label {
	order: 0 !important;
	margin-top: 4px;
	font-size: 13px;
	color: var(--acp-muted);
}
.acp li.product .upsell-product-select--container.acp-opts {
	order: 0 !important; /* the theme sets order:4 — keep it above the price row */
	display: flex !important;
	flex-flow: column nowrap !important;
	gap: 6px;
	width: 100%;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0;
	overflow: visible;
}
.acp li.product .acp-opts button.upsell-product-btn,
.acp li.product .acp-opts button.upsell-product-btn:last-of-type,
.acp li.product .acp-opts button.upsell-product-btn.active {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100% !important;
	min-height: 40px;
	height: auto;
	margin: 0;
	padding: 7px 12px;
	border: 1px solid var(--acp-line);
	border-radius: 10px;
	background: #fff;
	box-shadow: none;
	color: var(--acp-ink);
	font-family: var(--acp-font-regular);
	font-weight: normal;
	font-size: 13.5px;
	line-height: 1.35;
	text-align: right;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.acp li.product .acp-opts button.upsell-product-btn:hover {
	border-color: rgba(0, 55, 32, 0.45);
}
.acp li.product .acp-opts button.upsell-product-btn.active {
	border-color: var(--acp-cta);
	background: rgba(0, 55, 32, 0.05);
	box-shadow: inset 0 0 0 1px var(--acp-cta);
}
.acp li.product .acp-opts button.upsell-product-btn:focus-visible {
	outline: 2px solid var(--acp-gold);
	outline-offset: 2px;
}
/* Radio dot, in the row's flow (the theme's absolute ::after dot is hidden). */
.acp li.product .acp-opts button.upsell-product-btn::before {
	content: "" !important;
	display: block !important;
	position: static !important;
	flex: none;
	order: -1;
	width: 16px;
	height: 16px;
	border: 1.5px solid rgba(0, 0, 0, 0.3);
	border-radius: 50%;
	background: #fff;
	transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.acp li.product .acp-opts button.upsell-product-btn.active::before {
	border-color: var(--acp-cta);
	background: var(--acp-cta);
	box-shadow: inset 0 0 0 3.5px #fff;
}
.acp li.product .acp-opts button.upsell-product-btn::after {
	display: none !important;
}
/* Name takes the row; price sits at the far left. "מומלץ" stays hidden. */
.acp li.product .acp-opts button.upsell-product-btn > span:not(.recommended-label):not(.acp-opt-price) {
	flex: 1 1 auto;
	min-width: 0;
}
.acp li.product .acp-opts .recommended-label {
	display: none !important;
}
.acp li.product .acp-opts .acp-opt-price {
	display: inline-flex;
	flex: none;
	order: 3;
}
.acp li.product .acp-opts .acp-opt-price,
.acp li.product .acp-opts .acp-opt-price .woocommerce-Price-amount {
	font-family: var(--acp-font-bold);
	font-size: 14px;
	white-space: nowrap;
	color: var(--acp-ink);
	font-variant-numeric: tabular-nums;
}
.acp li.product .acp-opts .woocommerce-Price-amount::before {
	display: none !important; /* the theme's leading "-" */
}

/* Used by the "added to cart" notice. */
@keyframes acp-sheet-up {
	from { transform: translateY(10px); opacity: 0.6; }
}

/* × close button of the price / sort sheets. */
.acp .acp-sheet__close {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #efede8;
	color: var(--acp-text);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}
.acp .acp-sheet__close:hover {
	background: #e3dfd5;
}
.acp .acp-sheet__close:focus-visible {
	outline: 2px solid var(--acp-gold);
	outline-offset: 2px;
}

/* Narrow cards (2-column phone grid): price above a full-width button. */
.acp ul.products li.product .bottom-part {
	container-type: inline-size;
}
@container (max-width: 250px) {
	.acp-card-buy {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}
	.acp ul.products li.product .acp-card-buy .quantity--wrapper,
	.acp ul.products li.product .quantity--wrapper button.add-to-cart {
		max-width: none !important;
	}
	.acp li.product .acp-opts button.upsell-product-btn,
	.acp li.product .acp-opts button.upsell-product-btn:last-of-type,
	.acp li.product .acp-opts button.upsell-product-btn.active {
		gap: 8px;
		min-height: 34px;
		padding: 5px 10px;
		font-size: 12.5px;
	}
}

/* Arrows — homepage style: dark-green circles, centred on the product IMAGE.
 * front.js sets --acp-arrow-top to half the image height. */
.acp .acp-carousel button.flickity-button,
.acp .acp-carousel button.flickity-prev-next-button {
	-webkit-appearance: none !important;
	appearance: none !important;
	width: 52px !important;
	height: 52px !important;
	min-width: 0 !important;
	max-width: none !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: var(--acp-cta) !important;
	color: #fff !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18) !important;
	overflow: hidden !important;
	top: var(--acp-arrow-top, 40%) !important;
	transition: opacity 0.2s ease, transform 0.2s ease;
}
.acp .acp-carousel button.flickity-button:hover {
	background: var(--acp-cta-hover) !important;
}
.acp .acp-carousel button.flickity-button:disabled {
	opacity: 0 !important;
	pointer-events: none;
}
.acp .acp-carousel button.flickity-button .flickity-button-icon {
	fill: #fff !important;
	width: 34% !important;
	height: 34% !important;
	left: 33% !important;
	top: 33% !important;
}
.acp .acp-carousel .flickity-prev-next-button.previous {
	right: -10px !important;
	left: auto !important;
}
.acp .acp-carousel .flickity-prev-next-button.next {
	left: -10px !important;
	right: auto !important;
}

/* ==================== PREMIUM SECTION ====================================
 * Dark green band explaining the SANSONE premium container: photo on a round
 * plate in the middle, features in two columns around it, NSF badge. Copy in
 * amox_cp_premium_content(); placed by the template after the first carousel
 * holding premium containers. */
.acp-premium {
	--acp-premium-ink: #f1ede3;
	--acp-premium-muted: rgba(241, 237, 227, 0.72);
	--acp-premium-gold: #d2b27f;
	--acp-premium-line: rgba(210, 178, 127, 0.35);
	position: relative;
	margin-top: 52px;
	padding-block: 76px 84px;
	background:
		radial-gradient(55% 65% at 50% 58%, rgba(71, 113, 95, 0.55) 0%, rgba(0, 55, 32, 0) 70%),
		linear-gradient(180deg, #0f3322 0%, #0a2419 100%);
	color: var(--acp-premium-muted);
	overflow: hidden;
	isolation: isolate;
}
/* Faint dot texture, like the brand's premium sheet. */
.acp-premium::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.2px);
	background-size: 18px 18px;
	-webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
	mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.acp-premium + .acp-shelf,
.acp-shelf--best + .acp-premium {
	margin-top: 0;
	border-top: 0;
}
.acp-premium__head {
	max-width: 640px;
	margin: 0 auto 56px;
	text-align: center;
}
.acp-premium__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	font-family: var(--acp-font-bold);
	font-size: 13px;
	letter-spacing: 0.14em;
	color: var(--acp-premium-gold);
}
.acp .acp-premium__title {
	margin: 0 0 14px;
	font-family: var(--acp-font-bold);
	font-weight: normal;
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1.15;
	color: var(--acp-premium-ink);
	text-wrap: balance;
}
.acp-premium__sub {
	margin: 0 auto;
	max-width: 54ch;
	font-family: var(--acp-font-light);
	font-size: 17px;
	line-height: 1.6;
}

.acp-premium__stage {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 400px) minmax(0, 1fr);
	align-items: center;
	gap: 48px;
}
.acp-premium--no-image .acp-premium__stage {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 900px;
	margin-inline: auto;
}
.acp-premium__list {
	display: grid;
	gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.acp-premium__item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin: 0;
}
.acp-premium__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	flex: none;
	border: 1px solid var(--acp-premium-line);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.04);
	color: var(--acp-premium-gold);
}
.acp-premium__text {
	display: grid;
	gap: 4px;
	padding-top: 2px;
}
.acp-premium__text strong {
	font-family: var(--acp-font-bold);
	font-weight: normal;
	font-size: 17px;
	line-height: 1.3;
	color: var(--acp-premium-ink);
}
.acp-premium__text span {
	font-size: 15px;
	line-height: 1.55;
}

/* The photo on a round plate with soft rings, NSF badge on its edge. */
.acp-premium__figure {
	position: relative;
	margin: 0;
	aspect-ratio: 1;
}
.acp-premium__plate {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	overflow: hidden;
	background: radial-gradient(circle at 50% 40%, #fbfaf6 0%, #e7e2d6 100%);
	box-shadow:
		0 0 0 14px rgba(255, 255, 255, 0.04),
		0 0 0 30px rgba(255, 255, 255, 0.025),
		0 40px 80px -30px rgba(0, 0, 0, 0.6);
}
.acp .acp-premium__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0;
}
.acp-premium__nsf {
	position: absolute;
	bottom: 4%;
	left: 2%;
	display: grid;
	place-items: center;
	align-content: center;
	width: 92px;
	height: 92px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: #0d5aa7;
	color: #fff;
	text-align: center;
	box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.45);
}
.acp-premium__nsf b {
	font-family: Arial, sans-serif;
	font-weight: 800;
	font-size: 26px;
	line-height: 1;
	letter-spacing: -0.02em;
}
.acp-premium__nsf small {
	margin-top: 3px;
	font-size: 10px;
	line-height: 1.1;
	opacity: 0.9;
}
.acp-chip--premium .acp-icon {
	color: var(--acp-gold);
}

@media (max-width: 1100px) {
	.acp-premium__stage {
		grid-template-columns: minmax(0, 1fr) minmax(240px, 320px) minmax(0, 1fr);
		gap: 32px;
	}
}
@media (max-width: 900px) {
	.acp-premium {
		margin-top: 40px;
		padding-block: 56px 60px;
	}
	.acp-premium__head {
		margin-bottom: 36px;
	}
	.acp-premium__stage,
	.acp-premium--no-image .acp-premium__stage {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 24px;
	}
	.acp-premium__figure {
		grid-column: 1 / -1;
		order: -1;
		width: min(300px, 78%);
		margin: 0 auto 16px;
	}
	.acp-premium__list {
		gap: 22px;
	}
}
/* Phones: the benefits become compact tiles, two per row — icon + title only
 * (the description line is hidden). The two lists merge into one grid. */
@media (max-width: 600px) {
	.acp-premium__stage,
	.acp-premium--no-image .acp-premium__stage {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}
	.acp-premium__list {
		display: contents;
	}
	.acp-premium__item {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 8px;
		min-height: 64px;
		padding: 14px 10px;
		text-align: center;
		border: 1px solid rgba(210, 178, 127, 0.22);
		border-radius: 14px;
		background: rgba(255, 255, 255, 0.05);
	}
	.acp-premium__text {
		padding-top: 0;
		justify-items: center;
		text-align: center;
	}
	.acp-premium__text strong {
		font-size: 14.5px;
		line-height: 1.25;
	}
	.acp-premium__text span {
		display: none;
	}
	.acp-premium__item--wide {
		grid-column: 1 / -1;
	}
	.acp-premium__sub {
		font-size: 16px;
	}
	.acp-premium__icon {
		width: 36px;
		height: 36px;
	}
	.acp-premium__icon .acp-icon {
		width: 19px;
		height: 19px;
	}
	.acp-premium__nsf {
		width: 76px;
		height: 76px;
	}
	.acp-premium__nsf b {
		font-size: 21px;
	}
}

/* ==================== 4. ALL PRODUCTS ==================================== */
.acp-all {
	padding-block: 64px 48px;
}
.acp--filtered .acp-all {
	padding-top: 24px;
}
.acp-shelves + .acp-all {
	margin-top: 44px;
	border-top: 1px solid var(--acp-line);
}
/* The grid keeps the theme's own shop styles; only neutralise box-model
 * rules .site-main may carry from the parent theme's page layout. */
.acp .acp-grid.site-main {
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
	float: none;
}

/* ---- Toolbar (front.js buildToolbar) ----------------------------------- */
.acp-toolbar {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 14px 24px;
	margin-bottom: 28px;
	padding: 12px 14px;
	border-radius: 14px;
	background: var(--acp-surface);
	box-shadow: 0 1px 2px rgba(0, 30, 15, 0.04), 0 6px 20px -12px rgba(0, 30, 15, 0.14);
}
.acp-toolbar__main {
	display: flex;
	align-items: center;
	gap: 14px;
}
.acp .acp-tool {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 42px;
	margin: 0;
	padding: 0 16px;
	border: 1.5px solid var(--acp-cta);
	border-radius: 99px;
	background: transparent;
	color: var(--acp-cta);
	font-family: var(--acp-font-bold);
	font-weight: normal;
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.acp .acp-tool::before,
.acp .acp-tool::after {
	content: none !important; /* the theme's button paint layer */
}
.acp .acp-tool:hover,
.acp .acp-tool.is-active {
	background: var(--acp-cta);
	color: #f4f4ec;
}
.acp .acp-tool:focus-visible {
	outline: 2px solid var(--acp-gold);
	outline-offset: 2px;
}
.acp-tool__badge {
	display: grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 99px;
	background: var(--acp-gold);
	color: #fff;
	font-size: 12px;
}
.acp-toolbar__count {
	font-size: 14px;
	color: var(--acp-muted);
	white-space: nowrap;
}

.acp-sort {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	min-width: 0;
}
.acp-sort__label {
	flex: none;
	font-size: 14px;
	color: var(--acp-muted);
}
.acp-sort__list {
	display: flex;
	gap: 6px;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.acp-sort__list::-webkit-scrollbar {
	display: none;
}
.acp .acp-sort__chip {
	flex: none;
	display: inline-flex;
	align-items: center;
	height: 36px;
	padding: 0 14px;
	border: 1px solid var(--acp-line);
	border-radius: 99px;
	background: var(--acp-cream);
	color: var(--acp-ink);
	font-size: 14px;
	white-space: nowrap;
	text-decoration: none;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}
.acp .acp-sort__chip:hover {
	border-color: var(--acp-cta);
	color: var(--acp-ink);
}
.acp .acp-sort__chip.is-active {
	background: var(--acp-cta-soft, rgba(0, 55, 32, 0.08));
	border-color: var(--acp-cta);
	color: var(--acp-cta);
	font-family: var(--acp-font-bold);
}
.acp .acp-sort__chip:focus-visible,
.acp .acp-active__chip:focus-visible,
.acp .acp-active__clear:focus-visible {
	outline: 2px solid var(--acp-gold);
	outline-offset: 2px;
}

.acp-active {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding-top: 12px;
	border-top: 1px solid var(--acp-line);
}
.acp .acp-active__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 32px;
	padding: 0 8px 0 12px;
	border-radius: 99px;
	background: var(--acp-green-soft);
	color: var(--acp-ink);
	font-size: 13.5px;
	text-decoration: none;
}
.acp .acp-active__chip:hover {
	background: rgba(71, 113, 95, 0.18);
	color: var(--acp-ink);
}
.acp-active__x {
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.08);
	font-size: 14px;
	line-height: 1;
}
.acp .acp-active__clear {
	margin-inline-start: 4px;
	font-size: 13.5px;
	color: var(--acp-green);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* The theme paints every <button> with ::before / ::after layers (a solid
 * green block on staging). None of this page's own buttons use them. */
.acp button[class^="acp-"]::before,
.acp button[class^="acp-"]::after,
.acp button[class*=" acp-"]::before,
.acp button[class*=" acp-"]::after {
	content: none !important;
	display: none !important;
}
.acp .acp-pop:focus {
	outline: none;
}

/* ---- Price dropdown (front.js pricePicker) ------------------------------ */
.acp-price {
	position: relative;
}
.acp-tool__cur {
	font-family: var(--acp-font-bold);
	font-size: 16px;
}
.acp-tool__chev {
	transition: transform 0.2s ease;
}
.acp-tool[aria-expanded="true"] {
	background: var(--acp-cta);
	color: #f4f4ec;
}
.acp-tool[aria-expanded="true"] .acp-tool__chev {
	transform: rotate(180deg);
}
.acp-pop {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 30;
	display: grid;
	gap: 18px;
	width: 380px;
	max-width: calc(100vw - 32px);
	padding: 18px;
	border-radius: 16px;
	background: var(--acp-surface);
	box-shadow: 0 2px 6px rgba(0, 30, 15, 0.06), 0 22px 50px -18px rgba(0, 30, 15, 0.35);
	animation: acp-rise 0.18s ease-out both;
}
.acp-pop[hidden],
.acp-pop-backdrop[hidden] {
	display: none;
}
.acp-pop-backdrop {
	display: none; /* phones only, below */
}
.acp-pop__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.acp-pop__head strong {
	font-family: var(--acp-font-bold);
	font-weight: normal;
	font-size: 17px;
	color: var(--acp-ink);
}
.acp-pop__quick {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.acp .acp-pop__range {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 36px;
	padding: 0 8px 0 12px;
	border: 1px solid var(--acp-line);
	border-radius: 99px;
	background: var(--acp-cream);
	color: var(--acp-ink);
	font-size: 14px;
	text-decoration: none;
	white-space: nowrap;
}
.acp .acp-pop__range:hover,
.acp .acp-pop__range.is-active {
	border-color: var(--acp-cta);
	color: var(--acp-ink);
}
.acp .acp-pop__range.is-active {
	background: rgba(0, 55, 32, 0.08);
}
.acp-pop__range-count {
	min-width: 22px;
	padding: 1px 6px;
	border-radius: 99px;
	background: #fff;
	font-size: 12px;
	text-align: center;
	color: var(--acp-muted);
}
.acp .acp-pop__range:focus-visible {
	outline: 2px solid var(--acp-gold);
	outline-offset: 2px;
}

/* Two-handle slider: two range inputs stacked on one track. Only their
 * thumbs take pointer events, so both handles stay grabbable. */
.acp-range {
	position: relative;
	height: 28px;
	margin: 0 10px;
}
.acp-range__track,
.acp-range__fill {
	position: absolute;
	top: 50%;
	height: 4px;
	margin-top: -2px;
	border-radius: 99px;
}
.acp-range__track {
	left: 0;
	right: 0;
	background: var(--acp-line);
}
.acp-range__fill {
	background: var(--acp-cta);
}
.acp .acp-range__input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	-webkit-appearance: none;
	appearance: none;
	pointer-events: none;
}
.acp .acp-range__input::-webkit-slider-runnable-track {
	background: none;
	border: 0;
}
.acp .acp-range__input::-moz-range-track {
	background: none;
	border: 0;
}
.acp .acp-range__input::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 24px;
	height: 24px;
	border: 2px solid var(--acp-cta);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 6px rgba(0, 30, 15, 0.2);
	cursor: grab;
	pointer-events: auto;
}
.acp .acp-range__input::-moz-range-thumb {
	width: 20px;
	height: 20px;
	border: 2px solid var(--acp-cta);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 6px rgba(0, 30, 15, 0.2);
	cursor: grab;
	pointer-events: auto;
}
.acp .acp-range__input:focus-visible::-webkit-slider-thumb {
	outline: 2px solid var(--acp-gold);
	outline-offset: 2px;
}
.acp .acp-range__input:focus-visible::-moz-range-thumb {
	outline: 2px solid var(--acp-gold);
	outline-offset: 2px;
}

.acp-pop__fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}
.acp-pop__field {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 46px;
	padding: 0 12px;
	border: 1px solid var(--acp-line);
	border-radius: 10px;
	background: #fff;
	cursor: text;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.acp-pop__field:focus-within {
	border-color: var(--acp-cta);
	box-shadow: 0 0 0 3px rgba(0, 55, 32, 0.1);
}
.acp-pop__field-label,
.acp-pop__field-cur {
	flex: none;
	font-size: 13px;
	color: var(--acp-muted);
}
.acp .acp-pop__field input {
	flex: 1;
	min-width: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--acp-ink);
	font: inherit;
	font-size: 16px; /* 16px stops iOS from zooming in on focus */
	text-align: left;
	direction: ltr;
	-moz-appearance: textfield;
}
.acp .acp-pop__field input::-webkit-outer-spin-button,
.acp .acp-pop__field input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.acp .acp-pop__field input:focus {
	outline: none;
}
.acp-pop__foot {
	display: flex;
	align-items: center;
	gap: 14px;
}
.acp .acp-pop__reset {
	flex: none;
	font-size: 14px;
	color: var(--acp-green);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.acp .acp-pop__apply {
	flex: 1;
	height: 48px;
	margin: 0;
	padding: 0 18px;
	border: 0;
	border-radius: 10px;
	background: var(--acp-cta);
	color: #f4f4ec;
	font-family: var(--acp-font-bold);
	font-weight: normal;
	font-size: 15.5px;
	cursor: pointer;
	transition: background-color 0.15s ease;
}
.acp .acp-pop__apply::before,
.acp .acp-pop__apply::after {
	content: none !important;
}
.acp .acp-pop__apply:hover {
	background: var(--acp-cta-hover);
}
.acp .acp-pop__apply:disabled {
	background: #e3dfd5;
	color: var(--acp-muted);
	cursor: default;
}
.acp .acp-pop__apply:focus-visible {
	outline: 2px solid var(--acp-gold);
	outline-offset: 2px;
}

/* Sort sheet (phones): the options as full-width rows. */
.acp-sort-m {
	display: none; /* desktop shows the chips */
}
.acp-tool__label {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.acp-tool__label-pre {
	font-family: var(--acp-font-regular);
	opacity: 0.75;
}
.acp-tool__range {
	white-space: nowrap;
}
.acp-tool__alt {
	display: none; /* short labels, phones only */
}
.acp-tool__short {
	display: none;
}
.acp-pop__list {
	display: grid;
}
.acp .acp-pop__option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 54px;
	padding: 0 4px;
	border-bottom: 1px solid var(--acp-line);
	color: var(--acp-ink);
	font-size: 16px;
	text-decoration: none;
}
.acp .acp-pop__option:last-child {
	border-bottom: 0;
}
.acp .acp-pop__option.is-active {
	font-family: var(--acp-font-bold);
	color: var(--acp-cta);
}
.acp .acp-pop__option:focus-visible {
	outline: 2px solid var(--acp-gold);
	outline-offset: -2px;
}

/* Phones, all-products grid: two equal-height columns, so the price and
 * add-to-cart row lines up across each row (it sits at the card's bottom). */
@media (max-width: 768px) {
	.acp .acp-grid ul.products {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 24px 12px !important;
		margin: 0 !important;
	}
	.acp .acp-grid ul.products::before,
	.acp .acp-grid ul.products::after {
		display: none !important;
	}
	.acp .acp-grid ul.products li.product {
		display: flex !important;
		width: auto !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
		float: none !important;
	}
	.acp .acp-grid ul.products li.product .item_wrap {
		flex: 1 1 auto;
		width: 100%;
		height: auto !important;
	}
}

/* Phones: one row of two equal buttons, no card around them. */
@media (max-width: 768px) {
	.acp-toolbar {
		gap: 10px;
		margin-bottom: 20px;
		padding: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}
	.acp-toolbar__main {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
		gap: 10px;
	}
	.acp-toolbar__count,
	.acp-sort {
		display: none;
	}
	.acp-sort-m {
		display: block;
	}
	.acp .acp-tool {
		width: 100%;
		justify-content: center;
		height: 48px;
		padding: 0 12px;
		border: 1px solid var(--acp-line);
		border-radius: 12px;
		background: var(--acp-surface);
		color: var(--acp-ink);
		font-size: 15px;
		box-shadow: 0 1px 2px rgba(0, 30, 15, 0.05);
	}
	.acp .acp-tool.is-active,
	.acp .acp-tool[aria-expanded="true"] {
		border-color: var(--acp-cta);
		background: var(--acp-cta);
		color: #f4f4ec;
	}
	.acp-active {
		padding-top: 0;
		border-top: 0;
	}
	/* Short labels on phones — "מחיר · סינון · מיון" — so three buttons fit. */
	.acp-tool__label-pre,
	.acp-tool__range,
	.acp-tool__label,
	.acp-tool__long,
	.acp-tool__chev {
		display: none;
	}
	.acp-tool__alt {
		display: inline;
	}
	.acp .acp-tool {
		gap: 6px;
		padding: 0 8px;
		white-space: nowrap;
	}
	.acp-tool__short {
		display: inline;
	}
}

/* Phones: the panel becomes a bottom sheet over a dimmed page. */
@media (max-width: 768px) {
	.acp-pop-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 9998;
		background: rgba(0, 19, 11, 0.45);
		animation: acp-fade 0.2s ease-out both;
	}
	.acp-pop {
		position: fixed;
		top: auto;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 9999;
		width: auto;
		max-width: none;
		max-height: 85vh;
		overflow-y: auto;
		padding: 10px 18px calc(18px + env(safe-area-inset-bottom, 0px));
		border-radius: 20px 20px 0 0;
		animation: acp-sheet-in 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}
	/* Grab handle */
	.acp-pop::before {
		content: "";
		justify-self: center;
		width: 40px;
		height: 4px;
		border-radius: 99px;
		background: var(--acp-line);
	}
	html.acp-pop-open,
	html.acp-pop-open body {
		overflow: hidden;
	}
}
@keyframes acp-fade {
	from { opacity: 0; }
}
@keyframes acp-sheet-in {
	from { transform: translateY(100%); }
}

/* The theme's own bar stays in the page for its drawers, minus the look. */
.acp .acp-grid.has-acp-toolbar .acp-theme-tool {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
.acp .acp-grid.has-acp-toolbar .filter_wrap {
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}
.acp .acp-grid.has-acp-toolbar .filter_wrap::before,
.acp .acp-grid.has-acp-toolbar .filter_wrap::after,
.acp .acp-grid.has-acp-toolbar .filter_wrap .oc-woo-filter-panel-btn--container::before,
.acp .acp-grid.has-acp-toolbar .filter_wrap .oc-woo-filter-panel-btn--container::after,
.acp .acp-grid.has-acp-toolbar .woocommerce-ordering::before,
.acp .acp-grid.has-acp-toolbar .woocommerce-ordering::after {
	content: none !important;
	display: none !important;
}
.acp .acp-grid.has-acp-toolbar .woocommerce-result-count {
	display: none !important;
}

@media (max-width: 768px) {
	.acp-toolbar {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
		padding: 12px;
	}
	.acp-toolbar__main {
		justify-content: space-between;
	}
	.acp-sort {
		justify-content: flex-start;
	}
	/* Chips scroll edge to edge inside the card. */
	.acp-sort__list {
		margin-inline-end: -12px;
		padding-inline-end: 12px;
	}
}

/* ==================== 6. FAQ ============================================
 * Title + intro on one side (sticky on desktop), the questions as rounded
 * cards on the other; answers open inline (<details>). */
.acp-faq {
	padding-block: 80px;
	background: var(--acp-cream);
	border-top: 1px solid var(--acp-line);
}
.acp-faq__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
	align-items: start;
	gap: 64px;
}
.acp-faq__head {
	position: sticky;
	top: calc(var(--acp-sticky-top) + 96px);
}
.acp-faq__eyebrow {
	display: block;
	margin-bottom: 12px;
	font-family: var(--acp-font-bold);
	font-size: 13px;
	letter-spacing: 0.14em;
	color: var(--acp-gold);
}
.acp .acp-faq__title {
	margin: 0 0 14px;
	font-family: var(--acp-font-bold);
	font-weight: normal;
	font-size: clamp(30px, 3vw, 42px);
	line-height: 1.12;
	color: var(--acp-ink);
}
.acp-faq__lead {
	margin: 0;
	max-width: 32ch;
	font-family: var(--acp-font-light);
	font-size: 17px;
	line-height: 1.6;
	color: var(--acp-muted);
}
.acp-faq__list {
	display: grid;
	gap: 10px;
}
.acp-faq__item {
	border: 1px solid var(--acp-line);
	border-radius: 16px;
	background: var(--acp-surface);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.acp-faq__item:hover {
	border-color: rgba(0, 55, 32, 0.3);
}
.acp-faq__item[open] {
	border-color: var(--acp-cta);
	box-shadow: 0 14px 34px -22px rgba(0, 40, 20, 0.35);
}
.acp-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 22px;
	list-style: none;
	cursor: pointer;
}
.acp-faq__item summary::-webkit-details-marker {
	display: none;
}
.acp-faq__item summary:focus-visible {
	outline: 2px solid var(--acp-gold);
	outline-offset: 2px;
	border-radius: 16px;
}
.acp-faq__q {
	font-family: var(--acp-font-bold);
	font-size: 17px;
	line-height: 1.4;
	color: var(--acp-ink);
}
/* ＋ that turns into × */
.acp-faq__icon {
	position: relative;
	width: 34px;
	height: 34px;
	flex: none;
	border-radius: 50%;
	background: var(--acp-green-soft);
	transition: background-color 0.2s ease, transform 0.25s ease;
}
.acp-faq__icon::before,
.acp-faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 2px;
	margin: -1px 0 0 -6px;
	border-radius: 2px;
	background: var(--acp-green);
	transition: background-color 0.2s ease;
}
.acp-faq__icon::after {
	transform: rotate(90deg);
}
.acp-faq__item[open] .acp-faq__icon {
	background: var(--acp-cta);
	transform: rotate(45deg);
}
.acp-faq__item[open] .acp-faq__icon::before,
.acp-faq__item[open] .acp-faq__icon::after {
	background: #fff;
}
.acp-faq__a {
	padding: 0 22px 20px;
	font-size: 15.5px;
	line-height: 1.75;
	color: var(--acp-text);
}
.acp-faq__a p {
	margin: 0 0 0.8em;
}
.acp-faq__a p:last-child {
	margin-bottom: 0;
}
.acp-faq__item[open] .acp-faq__a {
	animation: acp-rise 0.25s ease-out both;
}

/* ==================== 5. ABOUT =========================================== */
.acp-about {
	padding-block: 56px;
	background: var(--acp-surface);
}
.acp-about__inner {
	max-width: 860px;
}
.acp-about__text {
	margin-top: 18px;
	font-size: 17px;
	line-height: 1.75;
}

/* ==================== 6. EXTRAS (FAQ, blog) ============================== */
.acp-extras {
	padding-block: 24px 64px;
}
.acp-extras:not(:has(*:not(.acp-container))) {
	display: none;
}

/* ==================== Motion ============================================= */
@media (prefers-reduced-motion: reduce) {
	.acp *,
	.acp *::before,
	.acp *::after {
		animation: none !important;
		transition: none !important;
	}
}

/* ==================== Responsive ========================================= */
@media (max-width: 1100px) {
	.acp-hero__grid {
		gap: 36px;
	}
	.acp .acp-carousel.products li.product {
		width: 33.3333% !important;
	}
}

@media (max-width: 900px) {
	.acp-hero {
		padding-block: 16px 40px;
	}
	.acp-hero__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	/* Image first on phones and tablets: it sells, and the title follows right under it. */
	.acp-hero__media {
		order: -1;
		padding-bottom: 0;
	}
	/* Taller on phones (4:3), so less of the category photo is cut off. */
	.acp-hero__image,
	.acp-hero__collage {
		aspect-ratio: 4 / 3;
	}
	.acp-breadcrumbs {
		margin-bottom: 14px;
	}
	.acp-hero__sub,
	.acp-hero__desc {
		font-size: 16px;
	}
}

/* Phones: no long category description (and no "להמשך קריאה") in the hero —
 * the products come sooner. The text stays in the HTML for search engines;
 * a short custom subtitle from the panel still shows. */
@media (max-width: 768px) {
	.acp-hero__desc {
		display: none;
	}
	.acp-hero__title {
		margin-bottom: 14px;
	}
}

@media (max-width: 768px) {
	.acp .acp-carousel.products li.product {
		width: 46% !important; /* a peek of the next card says "swipe" */
	}
	.acp .acp-carousel button.flickity-button {
		display: none !important; /* swipe on touch screens */
	}
	/* Tighter gaps between carousels (roughly half the desktop spacing). */
	.acp-shelf {
		padding-top: 26px;
		padding-bottom: 4px;
	}
	.acp-shelf + .acp-shelf,
	.acp-shelves + .acp-all {
		margin-top: 18px;
	}
	.acp-shelf--best {
		padding-bottom: 26px;
	}
	.acp-shelf__head {
		margin-bottom: 16px;
	}
	.acp-faq {
		padding-block: 44px 48px;
	}
	.acp-faq__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
	}
	.acp-faq__head {
		position: static;
	}
	.acp-faq__lead {
		font-size: 15.5px;
	}
	.acp-faq__item summary {
		padding: 16px;
		gap: 12px;
	}
	.acp-faq__q {
		font-size: 15.5px;
	}
	.acp-faq__icon {
		width: 30px;
		height: 30px;
	}
	.acp-faq__a {
		padding: 0 16px 16px;
		font-size: 15px;
	}
	.acp-all {
		padding-top: 44px;
	}
}

@media (max-width: 520px) {
	.acp-container {
		padding-inline: 16px;
	}
	.acp .acp-carousel.products li.product {
		width: 70% !important;
	}
	/* Phones: the same square photo box as everywhere else (set on the image,
	 * so the theme's wrappers don't matter); cards are a bit narrower so the
	 * whole card still fits on the screen. */
	.acp .acp-carousel.products li.product .wrap-for-top-part {
		position: relative !important;
		height: auto !important;
		min-height: 0 !important;
		padding: 0 !important;
		overflow: hidden !important;
	}
	.acp .acp-carousel.products li.product .wrap-for-top-part .oc-pb {
		z-index: 3;
	}
	.acp .acp-carousel.products li.product .bottom-part {
		gap: 4px !important;
		padding-top: 10px !important;
	}
	/* Slimmer option rows on phones. */
	.acp li.product .acp-opts button.upsell-product-btn,
	.acp li.product .acp-opts button.upsell-product-btn:last-of-type,
	.acp li.product .acp-opts button.upsell-product-btn.active {
		gap: 8px;
		min-height: 34px;
		padding: 5px 10px;
		font-size: 12.5px;
	}
	.acp .acp-carousel.products li.product .woocommerce-loop-product__title,
	.acp .acp-carousel.products li.product .woocommerce-loop-product__title a {
		font-size: 15px !important;
	}
	.acp-hero__image,
	.acp-hero__collage {
		margin-inline: -16px;
		border-radius: 0;
	}
	.acp-hero__collage {
		margin-inline: 0;
	}
	.acp-btn {
		width: 100%;
		justify-content: center;
	}
	.acp-shelf__head {
		align-items: flex-start;
		flex-direction: column;
		gap: 4px;
	}
	.acp-tagnav {
		padding-block: 10px;
	}
	.acp-tagnav .acp-container {
		padding-inline: 0;
	}
	.acp-tagnav__list {
		padding-inline: 16px;
	}
}
