/* Car Dealer Display – cards, vehicle page, gallery. Colours are CSS variables (set in WooCommerce → Aspect mașini or per Elementor widget). */
:root {
	--cd-ink: #0f172a;
	--cd-muted: #64748b;
	--cd-line: #e2e8f0;
	--cd-bg: #f5f7fa;
	--cd-card: #ffffff;
	--cd-accent: #d97706;
	--cd-accent-ink: #ffffff;
	--cd-sale: var(--cd-accent); /* reduced price: badge, new price, strike-through – brand colour */
	--cd-radius: 14px;
	--cd-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 16px rgba(15, 23, 42, .06);
	--cd-shadow-hover: 0 2px 6px rgba(15, 23, 42, .08), 0 14px 32px rgba(15, 23, 42, .12);
}

body.woocommerce-page, body.home { background: var(--cd-bg); }
body { color: var(--cd-ink); }

/* ----------------------------------------------------------- cards */
.woocommerce ul.products, .woocommerce-page ul.products, .woocommerce ul.products[class*="columns-"] { display: grid !important; grid-template-columns: repeat(var(--cd-cols, 3), minmax(0, 1fr)) !important; gap: 24px; margin: 0 0 32px; }
.cd-cols-2 { --cd-cols: 2; } .cd-cols-3 { --cd-cols: 3; } .cd-cols-4 { --cd-cols: 4; } .cd-cols-1 { --cd-cols: 1; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product {
	width: auto !important; margin: 0 !important; float: none !important; padding: 0 !important; position: relative;
	display: flex; flex-direction: column; background: var(--cd-card); border: 1px solid var(--cd-line); border-radius: var(--cd-radius); overflow: hidden;
	box-shadow: 0 1px 2px rgba(28, 25, 23, .04); transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.woocommerce ul.products li.product:hover { box-shadow: var(--cd-shadow-hover); border-color: transparent; transform: translateY(-2px); }
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #ece9e6; }
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap img,
.woocommerce ul.products li.product a img { width: 100%; height: 100%; object-fit: cover; margin: 0 !important; transition: transform .4s ease; }
.woocommerce ul.products li.product:hover .astra-shop-thumbnail-wrap img { transform: scale(1.03); }
.woocommerce ul.products li.product .astra-shop-summary-wrap { padding: 14px 18px 0; display: flex; flex-direction: column; flex: 1; }
.woocommerce ul.products li.product .ast-woo-product-category { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cd-muted); margin-bottom: 4px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 16px; line-height: 1.35; font-weight: 700; color: var(--cd-ink); margin: 0 0 12px; min-height: 2.7em; padding: 0;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.woocommerce ul.products li.product .price { order: 3; display: flex; flex-direction: column; justify-content: flex-end; min-height: 72px; margin: auto -18px 0 !important; padding: 12px 124px 14px 18px; border-top: 1px solid var(--cd-line); font-size: 26px; line-height: 1.1; font-weight: 800; letter-spacing: -.01em; color: var(--cd-ink) !important; }
.woocommerce ul.products li.product .price del { order: -1; font-size: 18px; font-weight: 700; color: #57534e; opacity: 1; margin-bottom: 4px; text-decoration: line-through 2px; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--cd-sale); }
.woocommerce ul.products li.product .button, .woocommerce ul.products li.product .ast-select-options-trigger { display: none !important; }

/* Year · km · fuel · gearbox as a 2×2 grid with small icons (car cards only). */
.cd-specs { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cd-spec { font-size: 12.5px; line-height: 1; padding: 6px 9px; border-radius: 999px; background: #f1f5f9; color: #334155; font-weight: 600; }
.cd-spec--year { background: #fef3c7; color: #92400e; }
li.product .cd-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 0 0 14px; }
li.product .cd-spec { display: flex; align-items: center; gap: 7px; min-width: 0; padding: 0; background: none; color: #44403c; font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
li.product .cd-spec::before { content: ""; flex: 0 0 16px; height: 16px; background: var(--cd-muted); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.cd-spec--year { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.cd-spec--km { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 17a8 8 0 1 1 16 0'/%3E%3Cpath d='M12 17l4-5'/%3E%3C/svg%3E"); }
.cd-spec--fuel { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V5a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v16M3 21h12M4 10h10M14 8l3 3v6a1.5 1.5 0 0 0 3 0V9l-3-3'/%3E%3C/svg%3E"); }
.cd-spec--gearbox { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 4v16M12 4v16M18 4v8H6'/%3E%3C/svg%3E"); }

/* "Vezi detalii" sits next to the price; the whole card is clickable. */
.cd-card-link {
	margin: 12px 18px 0; display: inline-flex; justify-content: center; align-items: center;
	padding: 10px 14px; border-radius: 10px; font-weight: 700; font-size: 14px;
	background: var(--cd-ink); color: #fff !important; text-decoration: none;
}
li.product .cd-card-link { position: absolute; right: 18px; bottom: 16px; margin: 0; padding: 9px 14px; font-size: 13.5px; border-radius: 999px; background: transparent; color: var(--cd-ink) !important; border: 1px solid var(--cd-line); transition: background .2s, color .2s, border-color .2s; }
li.product .cd-card-link::after { content: ""; position: absolute; inset: -2000px; } /* stretched to the whole card (clipped by its overflow) */
li.product:hover .cd-card-link { background: var(--cd-ink); border-color: var(--cd-ink); color: #fff !important; }
li.product .cd-card-link:focus-visible { outline: 2px solid var(--cd-accent); outline-offset: 2px; }
.cd-card-link:hover { background: var(--cd-accent); }

/* Status badges from Autovit Sync (top left) and "Preț redus" (top right) */
.woocommerce ul.products li.product .avs-badge { position: absolute; top: 12px; left: 12px; z-index: 2; margin: 0; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.woocommerce ul.products li.product .ast-onsale-card { position: absolute; top: 12px; right: 12px; left: auto; z-index: 2; display: inline-block !important; width: auto; height: auto; min-height: 0; padding: 8px 12px; border-radius: 999px; background: var(--cd-sale); color: #fff; font-size: 13px; font-weight: 700; line-height: 1; letter-spacing: .02em; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.woocommerce span.onsale { background: var(--cd-accent); border-radius: 999px; min-height: 0; min-width: 0; line-height: 1; padding: 7px 10px; }

/* Brand chips */
.cd-brands { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.cd-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--cd-line); background: #fff; color: var(--cd-ink) !important; font-weight: 600; font-size: 14px; text-decoration: none; }
.cd-chip span { font-size: 12px; color: var(--cd-muted); font-weight: 600; }
.cd-chip:hover { border-color: var(--cd-ink); }
.cd-chip.is-active { background: var(--cd-ink); border-color: var(--cd-ink); color: #fff !important; }
.cd-chip.is-active span { color: #cbd5e1; }

.woocommerce .woocommerce-result-count { color: var(--cd-muted); }
.woocommerce .woocommerce-ordering select { border-radius: 10px; border-color: var(--cd-line); padding: 8px 12px; }
.woocommerce-products-header__title.page-title { font-size: 34px; font-weight: 800; letter-spacing: -.02em; }

/* ------------------------------------------------------ vehicle page */
.single-product div.product { background: var(--cd-card); border-radius: var(--cd-radius); box-shadow: var(--cd-shadow); padding: 28px; }
.single-product div.product .woocommerce-product-gallery { border-radius: 12px; overflow: hidden; }
.single-product div.product .woocommerce-product-gallery__image img { aspect-ratio: 4 / 3; object-fit: cover; }
.single-product .product_meta, .single-product .summary .posted_in { display: none !important; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(8, 1fr); max-height: 220px; overflow-y: auto; gap: 6px; margin-top: 6px !important; }
.single-product div.product .flex-control-thumbs li { width: auto !important; margin: 0 !important; }
.single-product div.product .flex-control-thumbs img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.single-product div.product .product_title { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.single-product div.product p.price { font-size: 32px; font-weight: 800; color: var(--cd-ink); margin: 6px 0 14px; }
.single-product div.product p.price ins { text-decoration: none; color: var(--cd-accent); }
.single-product .summary .cd-specs { margin: 0 0 6px; }
.single-product .summary .cd-spec { font-size: 14px; padding: 8px 12px; }

.cd-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.cd-btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 20px; border-radius: 12px; font-weight: 700; border: 1px solid var(--cd-line); color: var(--cd-ink) !important; text-decoration: none; background: #fff; }
.cd-btn:hover { border-color: var(--cd-ink); }
.cd-btn--primary { background: var(--cd-accent); border-color: var(--cd-accent); color: var(--cd-accent-ink) !important; flex: 1 1 220px; }
.cd-btn--primary:hover { background: #b45309; border-color: #b45309; }

.cd-specs-grid { clear: both; margin: 32px 0 8px; padding-top: 24px; border-top: 1px solid var(--cd-line); }
.cd-specs-grid h2 { font-size: 22px; font-weight: 800; margin: 0 0 14px; }
.cd-specs-grid dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.cd-specs-grid dl > div { background: #f8fafc; border: 1px solid var(--cd-line); border-radius: 10px; padding: 12px 14px; }
.cd-specs-grid dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--cd-muted); font-weight: 700; margin: 0 0 4px; }
.cd-specs-grid dd { margin: 0; font-size: 16px; font-weight: 700; color: var(--cd-ink); }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { display: none; }
.single-product .woocommerce-tabs .panel h2:first-child { font-size: 22px; font-weight: 800; }

/* ------------------------------------------------------------ home */
.cd-hero { background: radial-gradient(1200px 400px at 85% -20%, rgba(217,119,6,.35), transparent 60%), var(--cd-ink); color: #fff; border-radius: 20px; padding: 56px 48px; margin: 0 0 28px; }
.cd-hero h1 { color: #fff; font-size: 46px; line-height: 1.08; font-weight: 800; letter-spacing: -.03em; margin: 0 0 14px; max-width: 14ch; }
.cd-hero p { color: #cbd5e1; font-size: 18px; max-width: 52ch; margin: 0 0 24px; }
.cd-hero .wp-block-button__link { background: var(--cd-accent) !important; border-radius: 12px !important; font-weight: 700; padding: 14px 24px; }
.cd-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 0; padding: 0; }
.cd-stats li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 12px 16px; min-width: 130px; }
.cd-stats strong { display: block; font-size: 26px; font-weight: 800; color: #fff; line-height: 1.1; }
.cd-stats span { color: #cbd5e1; font-size: 13px; }
@media (max-width: 600px) {
	/* Phones: all counters on one row, equal width. */
	.cd-stats { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; margin-top: 18px; }
	.cd-stats li { min-width: 0; padding: 10px 10px; }
	.cd-stats strong { font-size: 22px; }
	.cd-stats span { font-size: 12px; line-height: 1.3; display: block; }
}
.cd-section-title { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 8px 0 14px; }

/* Key facts in the vehicle summary */
.cd-keyfacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0 4px; }
.cd-keyfacts > div { border: 1px solid var(--cd-line); border-radius: 12px; padding: 12px 14px; }
.cd-keyfacts dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--cd-muted); font-weight: 700; margin: 0 0 3px; }
.cd-keyfacts dd { margin: 0; font-size: 16px; font-weight: 700; color: var(--cd-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------------------------------------------------- car gallery */
.cd-gallery button { appearance: none; margin: 0; border: 0; box-shadow: none; font: inherit; line-height: 1; text-transform: none; min-height: 0; }
.cd-gallery button:focus { outline: none; }
.cd-gallery { position: relative; }
.single-product div.product .cd-gallery { margin-bottom: 0; }
.cd-stage { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #0f172a; }
.cd-stage-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.cd-stage-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cd-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; padding: 0;
	display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.92); color: var(--cd-ink); cursor: pointer;
	box-shadow: 0 4px 14px rgba(0,0,0,.18); transition: background .15s, transform .15s; z-index: 2; }
.cd-nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.cd-gallery button:focus-visible { outline: 2px solid var(--cd-accent); outline-offset: 2px; }
.cd-nav svg, .cd-expand svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cd-nav--prev { left: 14px; }
.cd-nav--next { right: 14px; }
.cd-counter { position: absolute; left: 14px; bottom: 14px; padding: 6px 11px; border-radius: 999px; background: rgba(15,23,42,.72); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.cd-expand { position: absolute; right: 14px; bottom: 14px; width: 38px; height: 38px; border-radius: 10px; border: 0; padding: 0; display: flex; align-items: center; justify-content: center; background: rgba(15,23,42,.72); color: #fff; cursor: pointer; }
.cd-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 4px; scrollbar-width: thin; }
.cd-thumb { flex: 0 0 calc((100% - 48px) / 7); aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #e5e7eb; cursor: pointer; scroll-snap-align: start; opacity: .7; transition: opacity .15s, border-color .15s; }
.cd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cd-thumb:hover { opacity: 1; }
.cd-thumb.is-active { border-color: var(--cd-accent); opacity: 1; }

@media (max-width: 640px) {
	.cd-nav { width: 38px; height: 38px; }
	.cd-nav--prev { left: 8px; } .cd-nav--next { right: 8px; }
	.cd-thumb { flex-basis: calc((100% - 32px) / 5); }
}

/* ------------------------------------------------------- responsive */
@media (max-width: 1024px) {
	.woocommerce ul.products, .woocommerce-page ul.products, .woocommerce ul.products[class*="columns-"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.cd-specs-grid dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.woocommerce ul.products, .woocommerce-page ul.products, .woocommerce ul.products[class*="columns-"] { grid-template-columns: 1fr !important; gap: 16px; }
	.single-product div.product { padding: 16px; }
	.single-product div.product .product_title { font-size: 24px; }
	.cd-hero { padding: 32px 22px; border-radius: 14px; }
	.cd-hero h1 { font-size: 32px; }
	.cd-specs-grid dl { grid-template-columns: 1fr 1fr; }
	.cd-brands { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.cd-brands::-webkit-scrollbar { display: none; }
	.cd-brands .cd-chip { flex-shrink: 0; }
	.cd-chip { flex: 0 0 auto; }
}

@media (max-width: 600px) {
	/* Car page on phones: long values (e.g. engine version) wrap instead of being cut off; buttons full width. */
	.cd-keyfacts dd { white-space: normal; overflow-wrap: anywhere; }
	.cd-cta { flex-direction: column; }
	.cd-cta .cd-btn { flex: 0 0 auto; width: 100%; text-align: center; }
}

/* Offer of the month – glass card for dark banners */
.cd-offer { display: flex; align-items: center; gap: 14px; color: #fff !important; text-decoration: none; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22); border-radius: 18px; -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: background .2s, transform .2s; }
.cd-offer:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.cd-offer:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.cd-offer__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.cd-offer__label { align-self: flex-start; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--cd-accent); border-radius: 999px; padding: 4px 10px; }
.cd-offer__title { font-size: 17px; font-weight: 800; line-height: 1.25; color: #fff; }
.cd-offer__meta { font-size: 13px; color: rgba(255,255,255,.75); }
.cd-offer__price { font-size: 20px; font-weight: 800; color: #fff; }
.cd-offer__price del { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.6); margin-right: 6px; }
.cd-offer__price ins { text-decoration: none; }
.cd-offer__go { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); }
.cd-offer--card { flex-direction: column; align-items: stretch; padding: 12px; max-width: 380px; margin-left: auto; position: relative; }
.cd-offer--card .cd-offer__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; }
.cd-offer--card .cd-offer__body { padding: 4px 4px 6px; }
.cd-offer--card .cd-offer__go { position: absolute; right: 18px; bottom: 18px; }
.cd-offer--compact { padding: 10px 12px; }
.cd-offer--compact .cd-offer__img { width: 64px; height: 48px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; }
.cd-offer--compact .cd-offer__title { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cd-offer--compact .cd-offer__price { font-size: 15px; }
.cd-offer--compact .cd-offer__meta { display: none; }
@media (prefers-reduced-motion: reduce) { .cd-offer { transition: none; } .cd-offer:hover { transform: none; } }
.cd-offer--custom .cd-offer__text { display: block; font-size: 14px; line-height: 1.45; }
.cd-offer--custom.cd-offer--compact .cd-offer__text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; }
div.cd-offer--custom:hover { transform: none; }

/* cd: pagination – rounded buttons for every car list (stock, categories, offers) */
.woocommerce nav.woocommerce-pagination { margin: 28px 0 8px; text-align: center; }
.woocommerce nav.woocommerce-pagination ul.page-numbers { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; border: 0 !important; margin: 0; padding: 0; }
.woocommerce nav.woocommerce-pagination ul.page-numbers li { border: 0 !important; float: none; margin: 0; overflow: visible; }
.woocommerce nav.woocommerce-pagination ul.page-numbers li .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--cd-line, #e2e8f0) !important; background: #fff !important; color: var(--cd-ink) !important; font-weight: 600; font-size: 15px; line-height: 1; text-decoration: none; transition: border-color .15s, background .15s, color .15s; }
.woocommerce nav.woocommerce-pagination ul.page-numbers li a.page-numbers:hover { border-color: var(--cd-ink) !important; background: #f8fafc !important; }
.woocommerce nav.woocommerce-pagination ul.page-numbers li .page-numbers.current { background: var(--cd-ink) !important; border-color: var(--cd-ink) !important; color: #fff !important; }
.woocommerce nav.woocommerce-pagination ul.page-numbers li .page-numbers.dots { border-color: transparent !important; background: transparent !important; min-width: 24px; padding: 0 4px; color: var(--cd-muted, #64748b) !important; }
.woocommerce nav.woocommerce-pagination ul.page-numbers li .next, .woocommerce nav.woocommerce-pagination ul.page-numbers li .prev { font-size: 18px; }
.woocommerce nav.woocommerce-pagination ul.page-numbers li a.page-numbers:focus-visible { outline: 2px solid var(--cd-accent); outline-offset: 2px; }
@media (max-width: 600px) {
	.woocommerce nav.woocommerce-pagination ul.page-numbers { gap: 4px; flex-wrap: nowrap; }
	.woocommerce nav.woocommerce-pagination ul.page-numbers li .page-numbers { min-width: 36px; height: 40px; padding: 0 8px; font-size: 14px; border-radius: 10px; }
	.woocommerce nav.woocommerce-pagination ul.page-numbers li .page-numbers.dots { min-width: 14px; padding: 0; }
}

/* cd: related – "Descoperă alte modele" on car pages: swipeable row, 3 cars visible on desktop */
.single-product section.related.products { margin-top: 44px; clear: both; }
.cd-rel-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 16px; margin-bottom: 18px; }
.cd-rel-head h2 { margin: 0 !important; font-size: 28px; font-weight: 800; color: var(--cd-ink); }
.cd-rel-tools { display: flex; align-items: center; gap: 8px; }
.cd-rel-all { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border: 1px solid var(--cd-ink); border-radius: 12px; background: transparent; color: var(--cd-ink) !important; font-weight: 600; font-size: 15px; text-decoration: none; transition: background .15s, color .15s; }
.cd-rel-all:hover { background: var(--cd-ink); color: #fff !important; }
.cd-rel-nav { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--cd-line); background: #fff; color: var(--cd-ink); cursor: pointer; transition: border-color .15s, opacity .15s; }
.cd-rel-nav:hover:not(:disabled) { border-color: var(--cd-ink); }
.cd-rel-nav, .cd-rel-nav:hover, .cd-rel-nav:focus, .cd-rel-nav:active { background: #fff !important; color: var(--cd-ink) !important; box-shadow: none !important; }
.cd-rel-nav:hover:not(:disabled) { background: var(--cd-ink) !important; color: #fff !important; }
.cd-rel-nav:disabled { opacity: .35; cursor: default; }
.cd-rel-nav[hidden] { display: none; }
.cd-rel-all:focus-visible, .cd-rel-nav:focus-visible { outline: 2px solid var(--cd-accent); outline-offset: 2px; }
.single-product section.related.products ul.products { display: flex !important; gap: 24px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 !important; padding: 4px 2px 18px !important; grid-template-columns: none !important; }
.single-product section.related.products ul.products::-webkit-scrollbar { display: none; }
.single-product section.related.products ul.products::before, .single-product section.related.products ul.products::after { display: none !important; }
.single-product section.related.products ul.products li.product { flex: 0 0 calc((100% - 48px) / 3) !important; width: auto !important; max-width: none !important; margin: 0 !important; float: none !important; scroll-snap-align: start; }
@media (max-width: 921px) {
	.single-product section.related.products ul.products li.product { flex-basis: calc((100% - 24px) / 2) !important; }
}
@media (max-width: 600px) {
	.cd-rel-head h2 { font-size: 22px; }
	.cd-rel-all { height: 40px; padding: 0 14px; font-size: 14px; }
	.cd-rel-nav { width: 40px; height: 40px; }
	.single-product section.related.products ul.products { gap: 14px; }
	.single-product section.related.products ul.products li.product { flex-basis: 84% !important; }
}
@media (prefers-reduced-motion: reduce) { .cd-rel-all, .cd-rel-nav { transition: none; } }

/* cd: filters – the stock uses the full width; "Filtre" opens a side panel on every screen size ([cdd_filters], [cdd_search]) */
.cd-shop__main { min-width: 0; }
.cd-shop__main ul.products { --cd-cols: 3; gap: 28px; }
.cd-shop__side { position: fixed; z-index: 100000; top: 0; bottom: 0; left: 0; display: flex; width: min(420px, calc(100% - 56px)); /* phones: page stays visible on the right, tap it to close */ transform: translateX(-100%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
.cd-shop__side.is-open { transform: none; visibility: visible; }
.admin-bar .cd-shop__side { top: 32px; }
@media (max-width: 782px) { .admin-bar .cd-shop__side { top: 46px; } }
@media (max-width: 600px) { .admin-bar .cd-shop__side { top: 0; } }
.cd-f input[type="number"], .cd-f select { border-radius: 10px !important; }
.cd-shop__backdrop { position: fixed; inset: 0; z-index: 99999; background: rgba(20, 16, 14, .45); }
html.cd-lock, html.cd-lock body { overflow: hidden; }
.cd-filters { display: flex; flex-direction: column; width: 100%; height: 100%; min-height: 0; background: var(--cd-card); box-shadow: 12px 0 40px rgba(0, 0, 0, .18); }
/* [cdd_filters] placed on a normal page: a plain card. */
:not(.cd-shop__side) > .cd-filters { height: auto; border: 1px solid var(--cd-line); border-radius: var(--cd-radius); box-shadow: none; }
:not(.cd-shop__side) > .cd-filters .cd-filters__close { display: none; }
.cd-filters__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 0 20px; border-bottom: 1px solid var(--cd-line); }
.cd-filters__head h2 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; color: var(--cd-ink); }
.cd-filters .cd-filters__close { display: inline-grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; min-height: 0; margin: 0 -4px 0 0; padding: 0 !important; border: 0 !important; border-radius: 10px !important; background: #f5f3f1 !important; color: #57534e !important; box-shadow: none !important; line-height: 0; cursor: pointer; transition: background .15s, color .15s; }
.cd-filters .cd-filters__close:hover { background: #e7e5e4 !important; color: var(--cd-ink) !important; }
.cd-filters .cd-filters__close:focus-visible { outline: 2px solid var(--cd-accent); outline-offset: 2px; }
.cd-filters__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 20px 8px; scrollbar-width: thin; }
/* Filter groups inside the panel */
.cd-f { border-top: 1px solid var(--cd-line); }
.cd-f:first-child { border-top: 0; }
.cd-f summary { display: flex; align-items: center; gap: 8px; padding: 16px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 15px; color: var(--cd-ink); }
.cd-f summary::-webkit-details-marker { display: none; }
.cd-f summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--cd-muted); border-bottom: 2px solid var(--cd-muted); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.cd-f[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.cd-f__n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--cd-accent); color: #fff; font-size: 11.5px; }
.cd-f__in { padding: 0 0 16px; }
.cd-filters .cd-f__find { width: 100%; height: 42px; margin: 0 0 8px; padding: 0 12px 0 38px !important; border: 1px solid var(--cd-line) !important; border-radius: 10px !important; font-size: 15px; background: #faf9f8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M11 18a7 7 0 1 0 0-14 7 7 0 0 0 0 14zm5-2 4 4'/%3E%3C/svg%3E") 12px center / 16px no-repeat !important; box-shadow: none; }
.cd-f__hint { margin: 0 0 8px; font-size: 13px; color: var(--cd-muted); }
.cd-f__list, .cd-f__pills { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.cd-f__list li, .cd-f__pills li { margin: 0; list-style: none; }
.cd-f--model .cd-f__list { max-height: 320px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.cd-f__list li[hidden], .cd-f__list li.is-filtered, .cd-f__pills li.is-filtered { display: none; }
.cd-f__list label { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 8px; border-radius: 8px; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--cd-ink); }
.cd-f__list label:hover { background: #f7f5f3; }
.cd-f__list input { flex: 0 0 18px; width: 18px; height: 18px; margin: 0; accent-color: var(--cd-accent); }
.cd-f__label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cd-f__count { margin-left: auto; min-width: 28px; padding: 2px 8px; border-radius: 999px; background: #f3efec; text-align: center; font-size: 12px; font-weight: 600; color: var(--cd-muted); font-variant-numeric: tabular-nums; }
.cd-f__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cd-f__pills label { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--cd-line); border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--cd-ink); background: #fff; }
.cd-f__pills .cd-f__count { min-width: 0; padding: 0; background: none; }
.cd-f__pills input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cd-f__pills label:has(input:checked) { background: var(--cd-ink); border-color: var(--cd-ink); color: #fff; }
.cd-f__pills label:has(input:checked) .cd-f__count { color: rgba(255,255,255,.7); }
.cd-f__pills label:has(input:focus-visible), .cd-f__list label:has(input:focus-visible) { outline: 2px solid var(--cd-accent); outline-offset: 2px; }
.cd-f__range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cd-f__range label span { display: block; margin: 0 0 4px; font-size: 12.5px; color: var(--cd-muted); }
.cd-filters input[type="number"], .cd-filters select { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--cd-line); border-radius: 10px; background: #fff; font-size: 15px; color: var(--cd-ink); box-shadow: none; }
.cd-filters input:focus, .cd-filters select:focus { outline: none; border-color: var(--cd-ink); box-shadow: 0 0 0 3px rgba(28, 25, 23, .1); }
.cd-filters__foot { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--cd-line); background: #fff; box-shadow: 0 -6px 16px rgba(0,0,0,.05); }
.cd-filters__reset { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 18px; border-radius: 10px; color: var(--cd-ink) !important; font-weight: 600; font-size: 15px; text-decoration: none; }
.cd-filters__reset:hover { background: #f5f3f1; }
.cd-filters__apply { height: 48px; border: 0; border-radius: 10px; background: var(--cd-ink); color: #fff; font-weight: 700; font-size: 15.5px; cursor: pointer; }
.cd-filters__apply:hover, .cd-filters__apply:focus { background: var(--cd-accent); color: #fff; }

/* Search bar + active filters above the results */
.cd-bar { display: flex; gap: 10px; margin: 0 0 14px; }
.cd-search { flex: 1; display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 5px 0 14px; background: #fff; border: 1px solid var(--cd-line); border-radius: 12px; color: var(--cd-muted); }
.cd-search:focus-within { border-color: var(--cd-ink); box-shadow: 0 0 0 3px rgba(28, 25, 23, .08); }
.cd-search input { flex: 1; min-width: 0; height: 100%; border: 0 !important; padding: 0 !important; background: transparent !important; box-shadow: none !important; font-size: 15px; color: var(--cd-ink); outline: none; }
.cd-search button { height: 40px; padding: 0 18px; border: 0; border-radius: 9px; background: var(--cd-ink); color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; }
.cd-search button:hover { background: var(--cd-accent); }
.cd-bar__filters { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 20px; border: 0; border-radius: 12px; background: var(--cd-ink); color: #fff; font-weight: 700; font-size: 14.5px; cursor: pointer; transition: background .2s; }
.cd-bar__filters:hover { background: var(--cd-accent); }
.cd-bar__filters .cd-bar__short { display: none; }
.cd-bar__filters .cd-bar__n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--cd-accent); color: #fff; font-size: 11.5px; }
.cd-active { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; }
.cd-active a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 12px; border-radius: 999px; background: #f3efec; color: var(--cd-ink) !important; font-size: 13px; font-weight: 600; text-decoration: none; }
.cd-active a span { font-size: 16px; line-height: 1; color: var(--cd-muted); }
.cd-active a:hover { background: #e9e3de; }
.cd-active .cd-active__clear { background: transparent; text-decoration: underline; color: var(--cd-muted) !important; }
.cd-shop__main .woocommerce-result-count, .cd-shop__main .woocommerce-ordering { margin-bottom: 16px; }
.cd-shop__main .woocommerce-info { border-radius: 12px; }

@media (max-width: 1024px) { .cd-shop__main ul.products { --cd-cols: 2; gap: 20px; } }
@media (max-width: 640px) { .cd-shop__main ul.products { --cd-cols: 1; } }
@media (max-width: 640px) {
	.cd-search { height: 46px; }
	.cd-search svg { display: none; }
	.cd-bar__filters { height: 46px; padding: 0 14px; }
	.cd-bar__filters .cd-bar__long { display: none; }
	.cd-bar__filters .cd-bar__short { display: inline; }
	.cd-search input { font-size: 16px; } /* no zoom on iPhone */
}
@media (prefers-reduced-motion: reduce) { .cd-shop__side, .cd-f summary::after { transition: none; } }

/* Quick search (homepage / landing pages) */
.cd-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 12px; align-items: end; padding: 18px; background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(28, 25, 23, .12); }
.cd-quick__title { grid-column: 1 / -1; margin: 0; font-weight: 800; font-size: 18px; color: var(--cd-ink); }
.cd-quick label span { display: block; margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cd-muted); }
.cd-quick select { width: 100%; height: 50px; padding: 0 12px; border: 1px solid var(--cd-line); border-radius: 12px; background: #fff; font-size: 15px; color: var(--cd-ink); }
.cd-quick button { height: 50px; padding: 0 26px; border: 0; border-radius: 12px; background: var(--cd-accent); color: #fff; font-weight: 800; font-size: 15px; cursor: pointer; white-space: nowrap; }
.cd-quick button:hover { filter: brightness(1.1); }
@media (max-width: 767px) { .cd-quick { grid-template-columns: 1fr 1fr; } .cd-quick label:first-of-type { grid-column: 1 / -1; } .cd-quick button { grid-column: 1 / -1; } .cd-quick select { font-size: 16px; } }
.cd-empty { padding: 40px 24px; text-align: center; background: #fff; border: 1px dashed var(--cd-line); border-radius: var(--cd-radius); }
.cd-empty p { margin: 0 0 16px; color: var(--cd-muted); }
.cd-empty strong { color: var(--cd-ink); font-size: 18px; }
.cd-empty a { display: inline-block; padding: 12px 20px; border-radius: 10px; background: var(--cd-ink); color: #fff !important; font-weight: 700; text-decoration: none; }

/* Brand chips above the stock: one swipeable row on every screen size. */
.cd-brands--scroll { flex-wrap: nowrap; overflow-x: auto; margin: 0 0 14px; padding: 2px 2px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; overscroll-behavior-x: contain;
	-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
.cd-brands--scroll::-webkit-scrollbar { display: none; }
.cd-brands--scroll .cd-chip { flex: 0 0 auto; scroll-snap-align: start; }

/* Banner counters: glass cards that open the stock / category, with a "go to" arrow. */
.cd-stats li:has(> a) { padding: 0; }
.cd-stats li > a { position: relative; display: block; height: 100%; padding: 12px 40px 12px 16px; border-radius: inherit; color: inherit !important; text-decoration: none; }
.cd-stats li { transition: background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cd-stats__go { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; opacity: .8; transition: transform .25s ease, background .25s ease, color .25s ease, opacity .25s ease; }
.cd-stats li:has(> a):hover { background: rgba(255,255,255,.18); border-color: rgba(250,225,163,.55); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.25); }
.cd-stats li:has(> a):hover .cd-stats__go { opacity: 1; background: #fae1a3; color: #1c1917; transform: translate(2px, -2px); }
.cd-stats li > a:focus-visible { outline: 2px solid #fae1a3; outline-offset: 3px; }
@media (max-width: 767px) { .cd-stats li > a { padding: 10px 30px 10px 10px; } .cd-stats__go { top: 8px; right: 8px; width: 20px; height: 20px; } }
@media (prefers-reduced-motion: reduce) { .cd-stats li, .cd-stats__go { transition: none; } .cd-stats li:has(> a):hover { transform: none; } }

/* VAT status under the price ("TVA inclus deductibil / nedeductibil") – cards, car page, similar cars. */
.cd-vat { display: block; flex-basis: 100%; margin-top: 4px; font-size: 11.5px; font-weight: 700; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; color: #78716c; }
.woocommerce ul.products li.product .price .cd-vat { order: 9; }

/* ---------- Sort dropdown (sort.js) ---------- */
.woocommerce-ordering.has-cd-sort .cd-sort__native { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.woocommerce-ordering.has-cd-sort { position: relative; margin: 0; }
.cd-sort { position: relative; display: inline-flex; align-items: center; gap: 10px; }
.cd-sort__label { font-size: 14px; font-weight: 600; color: var(--cd-muted); white-space: nowrap; }
.cd-sort__btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-width: 210px; min-height: 46px; padding: 0 16px 0 18px; border: 1px solid var(--cd-line); border-radius: 14px; background: #fff; color: var(--cd-ink); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: 0 1px 2px rgba(28,25,23,.04); transition: border-color .18s, box-shadow .18s; }
.cd-sort__btn::after { content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .6; transition: transform .2s; }
.cd-sort.is-open .cd-sort__btn::after { transform: translateY(2px) rotate(-135deg); }
.cd-sort__btn:hover, .cd-sort.is-open .cd-sort__btn { border-color: var(--cd-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cd-accent) 14%, transparent); }
.cd-sort__btn:focus-visible { outline: 2px solid var(--cd-accent); outline-offset: 2px; }
.cd-sort.is-loading .cd-sort__btn { opacity: .7; }
.cd-sort__list { position: absolute; z-index: 50; top: calc(100% + 8px); right: 0; min-width: 100%; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--cd-line); border-radius: 16px; box-shadow: 0 18px 44px rgba(28,25,23,.16), 0 2px 6px rgba(28,25,23,.06); animation: cd-sort-in .16s ease-out; }
.cd-sort__list:focus { outline: none; }
@keyframes cd-sort-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.cd-sort__opt { position: relative; display: flex; align-items: center; min-height: 44px; padding: 0 40px 0 14px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--cd-ink); cursor: pointer; white-space: nowrap; }
.cd-sort__opt:hover, .cd-sort__opt.is-active { background: color-mix(in srgb, var(--cd-accent) 8%, #fff); }
.cd-sort__opt[aria-selected="true"] { color: var(--cd-accent); font-weight: 800; }
.cd-sort__opt[aria-selected="true"]::after { content: ""; position: absolute; right: 14px; top: 50%; width: 6px; height: 11px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: translateY(-65%) rotate(45deg); }
@media (max-width: 767px) { .cd-sort { width: 100%; } .cd-sort__btn { flex: 1 1 auto; min-width: 0; } .cd-sort__list { left: 0; right: 0; } }
@media (prefers-reduced-motion: reduce) { .cd-sort__list { animation: none; } .cd-sort__btn, .cd-sort__btn::after { transition: none; } }
/* Sort v1.1: theme button colours never apply, lighter look, room above the cars */
.woocommerce-ordering.has-cd-sort { margin-bottom: 24px !important; }
.cd-sort__btn, .cd-sort__btn:hover, .cd-sort__btn:focus, .cd-sort__btn:active, .cd-sort.is-open .cd-sort__btn { background: #fff !important; color: var(--cd-ink) !important; border: 1px solid var(--cd-line) !important; min-height: 42px; padding: 0 14px 0 16px; border-radius: 12px; font-size: 14.5px; font-weight: 600; box-shadow: none; }
.cd-sort__btn:hover, .cd-sort.is-open .cd-sort__btn { border-color: color-mix(in srgb, var(--cd-accent) 45%, var(--cd-line)) !important; box-shadow: 0 2px 10px rgba(28,25,23,.06); }
.cd-sort__btn::after { width: 8px; height: 8px; border-width: 1.5px; }
.cd-sort__list { padding: 5px; border-radius: 14px; box-shadow: 0 12px 32px rgba(28,25,23,.10), 0 1px 3px rgba(28,25,23,.05); }
.cd-sort__opt { min-height: 40px; font-size: 14.5px; font-weight: 500; }
.cd-sort__opt[aria-selected="true"] { font-weight: 700; }
.cd-sort__opt:hover, .cd-sort__opt.is-active { background: #faf6f2; }
.cd-sort__label { font-weight: 500; }
/* Gallery buttons keep their icon colour on hover/focus (themes often turn button text white) */
.cd-nav, .cd-nav:hover, .cd-nav:focus, .cd-nav:active { color: var(--cd-ink) !important; background: #fff !important; }
.cd-nav:focus-visible { outline: 2px solid var(--cd-accent); outline-offset: 2px; }

/* "Negociabil" next to the price (Autovit adverts with a negotiable price) */
.cd-negotiable { display: inline-flex; align-items: center; align-self: center; margin-left: 8px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--cd-line); background: #fff; color: var(--cd-muted); font-size: 12px; font-weight: 700; letter-spacing: .02em; line-height: 1.5; white-space: nowrap; vertical-align: middle; }
.price .cd-negotiable { order: 2; }

/* ---------- Price bubbles: "Negociabil" and the VAT text share one pill style ---------- */
.cd-vat, .cd-negotiable { display: inline-flex; align-items: center; flex: 0 0 auto; margin: 0; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--cd-line); background: #fff; color: var(--cd-muted); font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: .01em; text-transform: none; white-space: nowrap; vertical-align: middle; }
/* Cards: price with "Negociabil" to its right; VAT bubble on the line below; old price (if any) above. */
.woocommerce ul.products li.product .price { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: center; align-content: flex-end; gap: 6px 10px; }
.woocommerce ul.products li.product .price > del { order: -1; flex-basis: 100%; margin-bottom: -2px; }
.woocommerce ul.products li.product .price > .amount,
.woocommerce ul.products li.product .price > ins { order: 0; flex-basis: auto; }
.woocommerce ul.products li.product .price .cd-negotiable { order: 1; }
.woocommerce ul.products li.product .price::after { content: ""; order: 2; flex-basis: 100%; height: 0; }
.woocommerce ul.products li.product .price .cd-vat { order: 3; flex-basis: auto; margin-top: 0; }
/* Phones: price + "Negociabil" stay on one line next to the button; VAT bubble below. */
@media (max-width: 480px) {
	.woocommerce ul.products li.product .price { font-size: 24px; gap: 5px 8px; }
	.woocommerce ul.products li.product .price .cd-negotiable,
	.woocommerce ul.products li.product .price .cd-vat { padding: 1px 8px; font-size: 11px; }
}
