/* Apex Product Listing
 * Override colours from Elementor > Custom CSS, e.g. .apl-wrap{--apl-navy:#0a2a6b;--apl-orange:#f58220;}
 */
.apl-wrap {
	--apl-navy: #062a6b;
	--apl-navy-dark: #041f50;
	--apl-orange: #f58220;
	--apl-text: #0e1a35;
	--apl-muted: #7b8497;
	--apl-link: #2b4a85;
	--apl-border: #e3e7ef;
	--apl-soft: #f1f3f7;
	--apl-radius: 10px;
	position: relative;
	width: 100%;
	box-sizing: border-box;
	color: var(--apl-text);
	font-family: inherit;
	scroll-margin-top: 110px;
}
.apl-wrap *,
.apl-wrap *::before,
.apl-wrap *::after { box-sizing: border-box; }
.apl-wrap a { text-decoration: none; box-shadow: none; }
.apl-wrap ul { list-style: none; margin: 0; padding: 0; }
.apl-wrap li { margin: 0; padding: 0; list-style: none; }
.apl-wrap svg { display: block; width: 1em; height: 1em; flex: 0 0 auto; }

/* Neutralise theme button styles (Hello Elementor adds pink hover/borders). */
.apl-wrap button {
	font: inherit;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
	margin: 0;
	box-shadow: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

/* ---------- Search (standalone shortcode) ---------- */
.apl-search {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 6px 6px 6px 16px;
	background: #fff;
	border: 1px solid var(--apl-border);
	border-radius: 12px;
	box-shadow: 0 4px 14px rgba(6, 42, 107, 0.08);
}
.apl-search-icon { color: var(--apl-muted); font-size: 20px; display: flex; }
.apl-wrap .apl-search-input {
	flex: 1 1 auto;
	min-width: 0;
	height: 44px;
	margin: 0;
	padding: 0 4px;
	border: 0;
	outline: 0;
	background: transparent;
	box-shadow: none;
	border-radius: 0;
	font-size: 15px;
	color: var(--apl-text);
}
.apl-wrap .apl-search-input::placeholder { color: #a3abbb; opacity: 1; }
.apl-wrap .apl-search-btn {
	flex: 0 0 auto;
	height: 44px;
	padding: 0 26px;
	border: 1px solid var(--apl-navy);
	border-radius: 8px;
	background: var(--apl-navy);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	transition: background 0.2s;
}
.apl-wrap .apl-search-btn:hover,
.apl-wrap .apl-search-btn:focus { background: var(--apl-navy-dark); border-color: var(--apl-navy-dark); color: #fff; }

/* ---------- Category dropdown (standalone shortcode) ---------- */
.apl-cat { position: relative; width: 100%; }
.apl-wrap .apl-cat-toggle {
	width: 100%;
	min-height: 58px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0 18px;
	background: #fff;
	color: var(--apl-text);
	border: 1px solid var(--apl-border);
	border-radius: 12px;
	box-shadow: 0 4px 14px rgba(6, 42, 107, 0.08);
	font-size: 15px;
	font-weight: 600;
	text-align: left;
}
.apl-wrap .apl-cat-toggle:hover,
.apl-wrap .apl-cat-toggle:focus { background: #fff; color: var(--apl-text); border-color: var(--apl-navy); }
.apl-cat-toggle svg { font-size: 18px; transition: transform 0.2s; }
.apl-cat.is-open .apl-cat-toggle svg { transform: rotate(180deg); }
.apl-cat-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.apl-cat-panel {
	display: none;
	position: absolute;
	z-index: 50;
	top: calc(100% + 8px);
	left: 0;
	width: max(100%, 340px);
	max-height: 440px;
	overflow-y: auto;
	padding: 0 18px 8px;
	background: #fff;
	border: 1px solid var(--apl-border);
	border-radius: 12px;
	box-shadow: 0 18px 40px rgba(6, 42, 107, 0.18);
}
.apl-cat.is-open .apl-cat-panel { display: block; }
.apl-cat-head {
	position: sticky;
	top: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #fff;
	padding: 14px 0 10px;
	color: var(--apl-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.apl-wrap .apl-cat-clear {
	padding: 0;
	background: transparent;
	color: var(--apl-orange);
	border: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}
.apl-wrap .apl-cat-clear:hover,
.apl-wrap .apl-cat-clear:focus { background: transparent; color: var(--apl-navy); }
.apl-wrap .apl-cat-clear[hidden] { display: none; }

/* Rows are plain text rows: strip every Elementor/theme button style (background, shadow, border...) */
.apl-wrap .apl-cat-parent,
.apl-wrap .apl-cat-item,
.apl-wrap .apl-cat-clear,
.apl-wrap .apl-cat-parent:hover,
.apl-wrap .apl-cat-item:hover,
.apl-wrap .apl-cat-clear:hover,
.apl-wrap .apl-cat-parent:focus,
.apl-wrap .apl-cat-item:focus,
.apl-wrap .apl-cat-clear:focus,
.apl-wrap .apl-cat-parent:active,
.apl-wrap .apl-cat-item:active,
.apl-wrap .apl-cat-clear:active {
	background: transparent !important;
	background-image: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	text-shadow: none !important;
	text-decoration: none !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	min-height: 0 !important;
	height: auto !important;
	margin: 0 !important;
	font-family: inherit !important;
	-webkit-appearance: none;
	appearance: none;
	transform: none !important;
}
.apl-wrap .apl-cat-parent:focus:not(:focus-visible),
.apl-wrap .apl-cat-item:focus:not(:focus-visible) { outline: 0 !important; }
.apl-wrap .apl-cat-parent:focus-visible,
.apl-wrap .apl-cat-item:focus-visible { outline: 2px solid var(--apl-orange) !important; outline-offset: 2px; }

/* Parent rows (accordion) separated by hairlines */
.apl-cat-list { margin: 0; padding: 0; }
.apl-cat-node { border-top: 1px solid var(--apl-border); }
.apl-wrap .apl-cat-parent {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 15px 0 !important;
	color: var(--apl-text) !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
	text-align: left;
	cursor: pointer;
}
.apl-wrap .apl-cat-parent:hover { color: var(--apl-navy) !important; }
.apl-cat-node.has-selection > .apl-cat-parent,
.apl-cat-node.is-open > .apl-cat-parent { color: var(--apl-navy) !important; font-weight: 700 !important; }
.apl-cat-parent .apl-cat-name { flex: 1 1 auto; text-align: left; }
.apl-cat-parent svg { font-size: 16px; color: var(--apl-muted); transition: transform 0.2s; }
.apl-cat-node.is-open > .apl-cat-parent svg { transform: rotate(180deg); color: var(--apl-navy); }
.apl-cat-count { flex: 0 0 auto; color: var(--apl-muted); font-size: 13px; font-weight: 500; }

.apl-cat-sub { display: none; margin: 0 !important; padding: 0 0 12px 2px !important; }
.apl-cat-node.is-open > .apl-cat-sub { display: block; }
.apl-cat-deep { margin: 0 0 0 30px !important; padding: 0 !important; }

/* Checkbox rows (sub categories) */
.apl-wrap .apl-cat-item {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 0 !important;
	color: var(--apl-text) !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.35 !important;
	text-align: left;
	cursor: pointer;
}
.apl-wrap .apl-cat-item:hover { color: var(--apl-navy) !important; }
.apl-wrap .apl-cat-item.is-checked { color: var(--apl-navy) !important; font-weight: 600 !important; }
.apl-cat-item .apl-cat-name { flex: 1 1 auto; text-align: left; }
.apl-cat-item .apl-check {
	position: relative;
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	background: #fff;
	border: 1.5px solid #c5cce0;
	border-radius: 6px;
	box-shadow: none;
	transition: background 0.15s, border-color 0.15s;
}
.apl-cat-item:hover .apl-check { border-color: var(--apl-navy); }
.apl-cat-item.is-checked .apl-check { background: var(--apl-navy); border-color: var(--apl-navy); }
.apl-cat-item.is-checked .apl-check::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 2px;
	width: 5px;
	height: 10px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

/* Category without sub categories: same look as an accordion row, tick on the right when selected */
.apl-cat-leaf > .apl-cat-item { padding: 15px 0 !important; font-weight: 500 !important; }
.apl-cat-leaf > .apl-cat-item.is-checked { font-weight: 700 !important; }
.apl-cat-leaf-item .apl-check { display: none; }
.apl-tick { flex: 0 0 16px; width: 16px; height: 16px; color: var(--apl-navy); opacity: 0; }
.apl-tick svg { width: 16px; height: 16px; stroke-width: 3; }
.apl-cat-item.is-checked .apl-tick { opacity: 1; }

/* ---------- Heading row ---------- */
.apl-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 26px;
}
.apl-wrap .apl-title {
	margin: 0 0 6px;
	color: var(--apl-navy);
	font-size: 34px;
	font-weight: 700;
	line-height: 1.15;
}
.apl-wrap .apl-count { margin: 0; color: var(--apl-muted); font-size: 14px; }
.apl-wrap .apl-count strong { color: var(--apl-text); font-weight: 600; }
.apl-sort { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; font-size: 14px; color: var(--apl-muted); white-space: nowrap; }
.apl-sort label { flex: 0 0 auto; margin: 0; font-size: 14px; color: var(--apl-muted); white-space: nowrap; width: auto; }
.apl-wrap .apl-sort-select {
	height: 44px;
	min-width: 210px;
	flex: 0 0 auto;
	margin: 0;
	padding: 0 40px 0 14px;
	background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237b8497' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>") no-repeat right 14px center;
	color: var(--apl-text);
	border: 1px solid var(--apl-border);
	border-radius: 8px;
	font-size: 14px;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none;
}
.apl-wrap .apl-sort-select:focus { border-color: var(--apl-navy); outline: 0; }

/* ---------- Grid + cards ---------- */
.apl-results { position: relative; min-height: 120px; transition: opacity 0.2s; }
.apl-wrap.is-loading .apl-results,
.apl-wrap.is-loading .apl-pagination { opacity: 0.45; pointer-events: none; }
.apl-wrap.is-loading .apl-results::after {
	content: "";
	position: absolute;
	top: 80px;
	left: 50%;
	width: 36px;
	height: 36px;
	margin-left: -18px;
	border: 3px solid var(--apl-border);
	border-top-color: var(--apl-navy);
	border-radius: 50%;
	animation: apl-spin 0.7s linear infinite;
}
@keyframes apl-spin { to { transform: rotate(360deg); } }

.apl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.apl-cols-1 .apl-grid { grid-template-columns: minmax(0, 1fr); }
.apl-cols-2 .apl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.apl-cols-4 .apl-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.apl-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--apl-border);
	border-radius: var(--apl-radius);
	box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
	transition: box-shadow 0.25s, transform 0.25s;
}
.apl-card:hover { box-shadow: 0 14px 32px rgba(6, 42, 107, 0.14); transform: translateY(-2px); }

.apl-media { position: relative; aspect-ratio: 3 / 2; background: #0c0c0c; overflow: hidden; }
.apl-track {
	display: flex;
	height: 100%;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.apl-track::-webkit-scrollbar { display: none; }
.apl-slide { flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: start; display: block; }
.apl-slide img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; max-width: none; border-radius: 0; }
.apl-wrap .apl-nav {
	position: absolute;
	top: 50%;
	width: 32px;
	height: 32px;
	margin-top: -16px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(6, 20, 50, 0.45);
	color: #fff;
	border: 0;
	border-radius: 50%;
	font-size: 22px;
	opacity: 1;
	transition: background 0.2s;
}
.apl-wrap .apl-prev { left: 10px; }
.apl-wrap .apl-next { right: 10px; }
.apl-wrap .apl-nav:hover { background: var(--apl-navy); color: #fff; }

/* Dot pagination (active dot stretches into a pill) */
.apl-dotnav {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 14px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 7px;
	pointer-events: none;
}
.apl-wrap .apl-dot {
	pointer-events: auto;
	width: 9px;
	min-width: 0;
	height: 9px;
	min-height: 0;
	padding: 0;
	background: rgba(255, 255, 255, 0.92);
	border: 0;
	border-radius: 9px;
	opacity: 0.85;
	transition: width 0.3s, background 0.3s;
}
.apl-wrap .apl-dot:hover,
.apl-wrap .apl-dot:focus { background: #fff; opacity: 1; }
.apl-wrap .apl-dot.is-active { width: 30px; opacity: 1; background: #fff; }

/* Wishlist heart: TI WooCommerce Wishlist button restyled as the white square on the image.
 * Everything TI draws (wrappers, icon font, text, tooltip) is neutralised; the heart is our own. */
.apl-wrap .apl-wish {
	position: absolute;
	z-index: 2;
	top: 14px;
	right: 14px;
	width: 40px;
	height: 40px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
	overflow: hidden;
	transition: transform 0.2s;
}
.apl-wrap .apl-wish:hover { transform: scale(1.08); }
.apl-wrap .apl-wish .tinv-wraper,
.apl-wrap .apl-wish .tinv-wishlist,
.apl-wrap .apl-wish .tinvwl-loop-button-wrapper {
	position: static !important;
	display: block !important;
	float: none !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}
.apl-wrap .apl-card .apl-media .apl-wish .tinv-wraper.tinv-wishlist.tinvwl-loop-button-wrapper {
	margin: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding: 0 !important;
}
.apl-wrap .apl-wish .tinv-wishlist-clear,
.apl-wrap .apl-wish .tinvwl-tooltip,
.apl-wrap .apl-wish .tinvwl_add_to_wishlist-text,
.apl-wrap .apl-wish .tinvwl_remove_from_wishlist-text,
.apl-wrap .apl-wish .tinvwl_already_on_wishlist-text,
.apl-wrap .apl-wish a.tinvwl_add_to_wishlist_button img,
.apl-wrap .apl-wish *::after { display: none !important; content: none !important; }
.apl-wrap .apl-wish a.tinvwl_add_to_wishlist_button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-size: 0 !important;
	line-height: 0 !important;
	text-indent: 0;
	cursor: pointer;
}
.apl-wrap .apl-wish a.tinvwl_add_to_wishlist_button::before {
	content: "" !important;
	display: block !important;
	position: static !important;
	width: 20px !important;
	height: 20px !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 0 !important;
	background-color: #2b63c4 !important;
	color: #2b63c4 !important;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.apl-wrap .apl-wish a.tinvwl_add_to_wishlist_button.tinvwl-product-in-list::before {
	background-color: #e0304f !important;
	color: #e0304f !important;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E");
}

/* TI "added to wishlist" popup */
.tinvwl_added_to_wishlist.tinv-modal.tinv-modal-open .tinv-overlay { background: #0a1633 !important; opacity: 0.6 !important; }
.tinvwl_added_to_wishlist.tinv-modal .tinv-modal-inner {
	max-width: 380px !important;
	padding: 38px 28px 28px !important;
	background: #fff !important;
	border: 0 !important;
	border-radius: 16px !important;
	box-shadow: 0 24px 60px rgba(10, 22, 51, 0.35) !important;
	text-align: center !important;
}
.tinvwl_added_to_wishlist.tinv-modal .tinv-modal-inner > i {
	display: inline-block;
	margin: 0 auto;
	color: #2d2d2d !important;
}
.tinvwl_added_to_wishlist.tinv-modal .tinv-txt {
	margin: 16px 0 26px !important;
	color: #2b2b2b !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.65 !important;
	text-align: center !important;
}
.tinvwl_added_to_wishlist.tinv-modal .tinvwl-buttons-group {
	display: flex !important;
	flex-direction: column;
	gap: 12px;
	margin: 0 !important;
}
.tinvwl_added_to_wishlist.tinv-modal .tinvwl-buttons-group::before,
.tinvwl_added_to_wishlist.tinv-modal .tinvwl-buttons-group::after { display: none !important; }
.tinvwl_added_to_wishlist.tinv-modal .tinvwl-buttons-group button.button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100% !important;
	height: 48px;
	margin: 0 !important;
	padding: 0 18px !important;
	border: 0 !important;
	border-radius: 10px !important;
	box-shadow: none !important;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	cursor: pointer;
	transition: background-color 0.2s;
}
.tinvwl_added_to_wishlist.tinv-modal .tinvwl-buttons-group button.button i {
	margin: 0 !important;
	font-size: 17px !important;
	color: #fff !important;
	vertical-align: middle;
}
.tinvwl_added_to_wishlist.tinv-modal .tinvwl-buttons-group button.button i::before { top: 0 !important; }
.tinvwl_added_to_wishlist.tinv-modal .tinvwl-buttons-group button.tinvwl_button_view { background: #0a3aa8 !important; }
.tinvwl_added_to_wishlist.tinv-modal .tinvwl-buttons-group button.tinvwl_button_view:hover,
.tinvwl_added_to_wishlist.tinv-modal .tinvwl-buttons-group button.tinvwl_button_view:focus { background: #072a7c !important; }
.tinvwl_added_to_wishlist.tinv-modal .tinvwl-buttons-group button.tinvwl_button_close { background: #c8102e !important; }
.tinvwl_added_to_wishlist.tinv-modal .tinvwl-buttons-group button.tinvwl_button_close:hover,
.tinvwl_added_to_wishlist.tinv-modal .tinvwl-buttons-group button.tinvwl_button_close:focus { background: #9e0c24 !important; }
@media (prefers-reduced-motion: reduce) {
	.apl-wrap .apl-dot { transition: none; }
}

.apl-body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 14px; padding: 18px 18px 18px; }
.apl-wrap .apl-name { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.35; color: var(--apl-text); }
.apl-wrap .apl-name a { color: inherit; }
.apl-wrap .apl-name a:hover { color: var(--apl-navy); }
.apl-terms {
	padding: 12px 14px;
	background: var(--apl-soft);
	border-radius: 8px;
	font-size: 13.5px;
	line-height: 1.7;
	color: var(--apl-link);
}
.apl-wrap .apl-term { color: var(--apl-link); }
.apl-wrap .apl-term:hover { color: var(--apl-orange); }
.apl-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 6px; }
.apl-price-wrap { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.apl-from { font-size: 16px; font-weight: 700; color: var(--apl-text); }
.apl-price { font-size: 16px; color: var(--apl-text); }
.apl-price del { opacity: 0.55; margin-right: 6px; }
.apl-price ins { background: none; text-decoration: none; font-weight: 600; }
.apl-wrap .apl-quote {
	display: inline-block;
	padding: 7px 14px;
	background: #e4ecfb;
	color: var(--apl-navy);
	border-radius: 6px;
	font-size: 14px;
	font-weight: 700;
	transition: background 0.2s, color 0.2s;
}
.apl-wrap .apl-quote:hover { background: var(--apl-navy); color: #fff; }

.apl-wrap .apl-cart {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: var(--apl-navy);
	color: #fff;
	border: 0;
	border-radius: 9px;
	font-size: 20px;
	line-height: 1;
	transition: background 0.2s, transform 0.2s;
}
.apl-wrap .apl-cart:hover,
.apl-wrap .apl-cart:focus { background: var(--apl-orange); color: #fff; }
.apl-wrap .apl-cart.loading { opacity: 0.6; pointer-events: none; }
.apl-wrap .apl-cart.added { background: #1f9d55; }
.apl-wrap .added_to_cart { display: none; }

/* ---------- Empty state ---------- */
.apl-empty { padding: 60px 20px; text-align: center; background: #fff; border: 1px dashed var(--apl-border); border-radius: var(--apl-radius); }
.apl-empty p { margin: 0 0 16px; color: var(--apl-muted); font-size: 16px; }
.apl-wrap .apl-reset {
	padding: 10px 22px;
	background: var(--apl-navy);
	color: #fff;
	border: 0;
	border-radius: 8px;
	font-weight: 700;
}
.apl-wrap .apl-reset:hover,
.apl-wrap .apl-reset:focus { background: var(--apl-orange); color: #fff; }

/* ---------- Pagination ---------- */
.apl-pagination { margin-top: 44px; }
.apl-pages { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.apl-wrap .apl-page,
.apl-dots {
	min-width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 6px;
	background: transparent;
	color: var(--apl-text);
	border: 0;
	border-radius: 50%;
	font-size: 14px;
	font-weight: 600;
}
.apl-wrap button.apl-page:hover,
.apl-wrap button.apl-page:focus { background: var(--apl-soft); color: var(--apl-navy); }
.apl-wrap .apl-page.is-current { background: var(--apl-navy); color: #fff; }
.apl-dots { color: var(--apl-muted); }
.apl-page-arrow svg { font-size: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.apl-cols-3 .apl-grid,
	.apl-cols-4 .apl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.apl-grid,
	.apl-cols-2 .apl-grid,
	.apl-cols-3 .apl-grid,
	.apl-cols-4 .apl-grid { grid-template-columns: minmax(0, 1fr); }
	.apl-cat-panel { width: 100%; }
	.apl-wrap .apl-title { font-size: 28px; }
	.apl-search { padding-left: 12px; }
	.apl-wrap .apl-search-btn { padding: 0 16px; }
	.apl-sort { width: 100%; }
	.apl-wrap .apl-sort-select { flex: 1 1 auto; }
}

.apl-admin-note { padding: 12px 16px; background: #fff4e5; color: #8a4b00; border: 1px solid #f5c37a; border-radius: 8px; font-size: 13px; }
