/* ==========================================================================
   Cos de cumparaturi + checkout (one page) + lista de favorite - stil unitar
   Aliniat cu product-details.css / catalog.css: aceiasi tokeni, aceleasi
   carduri si butoane. Regulile sunt limitate la .html-shopping-cart-page,
   .html-checkout-page si .html-wishlist-page ca sa nu afecteze restul site-ului.
   ========================================================================== */

.html-shopping-cart-page,
.html-checkout-page,
.html-wishlist-page {
	--pd-brand: #a71e06;
	--pd-brand-600: #8a1905;
	--pd-brand-50: #fdf3f1;
	--pd-brand-100: #f9e1dc;
	--pd-ink: #112a46;
	--pd-text: #3a4250;
	--pd-muted: #6b7280;
	--pd-line: #e6e8ec;
	--pd-soft: #f6f7f9;
	--pd-blue: #2b71b8;
	--pd-ok: #13703a;
	--pd-ok-bg: #eaf7ef;
	--pd-radius: 12px;
	--pd-radius-lg: 16px;
	--pd-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 16px rgba(16, 24, 40, .06);
	--pd-shadow-hover: 0 2px 4px rgba(16, 24, 40, .05), 0 10px 28px rgba(16, 24, 40, .10);
}

/* --------------------------------------------------------------------------
   Titlu pagina
   -------------------------------------------------------------------------- */

.html-shopping-cart-page .page-title,
.html-checkout-page .page-title,
.html-wishlist-page .page-title {
	margin: 0 0 16px;
	padding: 0;
	border: 0;
	background: none;
	text-align: left;
}

.html-shopping-cart-page .page-title h1,
.html-checkout-page .page-title h1,
.html-wishlist-page .page-title h1 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: var(--pd-ink);
	font-size: 22px;
	line-height: 1.3;
	font-weight: 700;
	text-transform: none;
}

.html-shopping-cart-page .page-title h1::before,
.html-checkout-page .page-title h1::before,
.html-wishlist-page .page-title h1::before {
	content: "";
	flex: 0 0 4px;
	width: 4px;
	height: 22px;
	border-radius: 4px;
	background: var(--pd-brand);
}

/* --------------------------------------------------------------------------
   Bara de incredere (garantie, retur, metode de plata)
   -------------------------------------------------------------------------- */

.html-shopping-cart-page .cart-trust,
.html-checkout-page .cart-trust {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin: 0 0 16px;
	padding: 10px 16px;
	background: var(--pd-soft);
	border: 1px solid var(--pd-line);
	border-radius: var(--pd-radius);
}

.html-shopping-cart-page .cart-trust-item,
.html-checkout-page .cart-trust-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--pd-ink);
	font-size: 13px;
	font-weight: 600;
	transition: color .2s ease;
}

.html-shopping-cart-page .cart-trust-item:hover,
.html-checkout-page .cart-trust-item:hover {
	color: var(--pd-brand);
}

.html-shopping-cart-page .cart-trust-item img,
.html-checkout-page .cart-trust-item img {
	height: 20px;
}

.html-shopping-cart-page .cart-trust-payments,
.html-checkout-page .cart-trust-payments {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-left: auto;
}

.html-shopping-cart-page .cart-trust-payments img,
.html-checkout-page .cart-trust-payments img {
	height: 22px;
	padding: 2px 4px;
	background: #fff;
	border: 1px solid var(--pd-line);
	border-radius: 6px;
}

/* --------------------------------------------------------------------------
   Tabelul cu produse - card
   -------------------------------------------------------------------------- */

.html-shopping-cart-page .order-summary-content .cart,
.html-checkout-page .order-summary-content .cart {
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
	border: 1px solid var(--pd-line);
	border-radius: var(--pd-radius-lg);
	box-shadow: var(--pd-shadow);
	overflow: hidden;
}

.html-shopping-cart-page .order-summary-content .cart th,
.html-checkout-page .order-summary-content .cart th {
	padding: 12px 14px;
	background: var(--pd-soft);
	border: 0;
	border-bottom: 1px solid var(--pd-line);
	border-radius: 0;
	color: var(--pd-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.html-shopping-cart-page .order-summary-content .cart td,
.html-checkout-page .order-summary-content .cart td {
	padding: 16px 14px;
	background: #fff;
	border: 0;
	border-bottom: 1px solid var(--pd-line);
	border-radius: 0 !important;
	color: var(--pd-text);
	vertical-align: middle;
}

.html-shopping-cart-page .order-summary-content .cart tr:last-child td,
.html-checkout-page .order-summary-content .cart tr:last-child td {
	border-bottom: 0;
}

.html-shopping-cart-page .order-summary-content .cart .product-picture img,
.html-checkout-page .order-summary-content .cart .product-picture img {
	width: 80px;
	max-width: 80px;
	height: 80px;
	object-fit: contain;
	padding: 4px;
	background: #fff;
	border: 1px solid var(--pd-line);
	border-radius: 10px;
}

.html-shopping-cart-page .order-summary-content .cart .product a.product-name,
.html-checkout-page .order-summary-content .cart .product a.product-name {
	color: var(--pd-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	transition: color .2s ease;
}

.html-shopping-cart-page .order-summary-content .cart .product a.product-name:hover,
.html-checkout-page .order-summary-content .cart .product a.product-name:hover {
	color: var(--pd-brand);
}

.html-shopping-cart-page .order-summary-content .cart .attributes,
.html-shopping-cart-page .order-summary-content .cart .product-subtotal-minquantity,
.html-checkout-page .order-summary-content .cart .attributes,
.html-checkout-page .order-summary-content .cart .product-subtotal-minquantity {
	margin-top: 6px;
	color: var(--pd-muted);
	font-size: 12px;
}

.html-shopping-cart-page .order-summary-content .cart .secound-tva,
.html-checkout-page .order-summary-content .cart .secound-tva {
	margin-top: 6px;
	color: var(--pd-ok) !important;
	font-size: 12px;
	font-weight: 600;
}

.html-shopping-cart-page .order-summary-content .cart .edit-item a,
.html-checkout-page .order-summary-content .cart .edit-item a {
	color: var(--pd-brand);
	font-size: 12px;
	font-weight: 600;
}

.html-shopping-cart-page .order-summary-content .cart .product-unit-price,
.html-checkout-page .order-summary-content .cart .product-unit-price {
	color: var(--pd-text);
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

.html-shopping-cart-page .order-summary-content .cart .subtotal .product-subtotal,
.html-checkout-page .order-summary-content .cart .subtotal .product-subtotal {
	display: block;
	color: var(--pd-brand);
	font-size: 16px;
	font-weight: 800;
	letter-spacing: -.01em;
	white-space: nowrap;
}

/* "Economisiti" - pastila verde, ca pe pagina de produs */
.html-shopping-cart-page .order-summary-content .cart .subtotal .product-subtotal-old,
.html-checkout-page .order-summary-content .cart .subtotal .product-subtotal-old {
	display: inline-block;
	margin-top: 6px;
	padding: 3px 10px;
	background: var(--pd-ok-bg);
	border: 0;
	border-radius: 999px;
	color: var(--pd-ok);
	font-size: 12px;
	font-weight: 600;
}

.html-shopping-cart-page .order-summary-content .cart .subtotal .discount,
.html-checkout-page .order-summary-content .cart .subtotal .discount {
	color: var(--pd-ok);
	font-size: 12px;
	font-weight: 600;
}

/* cantitate */
.html-shopping-cart-page .order-summary-content .cart .qty-input,
.html-shopping-cart-page .order-summary-content .cart .qty-dropdown {
	width: 64px;
	height: 42px;
	padding: 0 6px;
	background: #fff;
	border: 1px solid var(--pd-line);
	border-radius: 10px;
	color: var(--pd-ink);
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.html-shopping-cart-page .order-summary-content .cart .qty-input:focus,
.html-shopping-cart-page .order-summary-content .cart .qty-dropdown:focus {
	border-color: var(--pd-brand);
	box-shadow: 0 0 0 3px var(--pd-brand-100);
	outline: none;
}

.html-checkout-page .order-summary-content .cart .product-quantity {
	color: var(--pd-ink);
	font-weight: 700;
}

.html-shopping-cart-page .visually-hidden,
.html-wishlist-page .visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* buton stergere produs */
.html-shopping-cart-page .order-summary-content .cart .deleteItem {
	width: 1px;
	text-align: center;
}

.html-shopping-cart-page .cart-remove-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	background: #fff;
	border: 1px solid var(--pd-line);
	border-radius: 10px;
	color: var(--pd-muted);
	font-size: 14px;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.html-shopping-cart-page .cart-remove-button:hover,
.html-shopping-cart-page .cart-remove-button:focus-visible {
	background: var(--pd-brand-50);
	border-color: var(--pd-brand-100);
	color: var(--pd-brand);
	outline: none;
}

/* --------------------------------------------------------------------------
   Butoane sub tabel (actualizeaza / goleste / continua)
   -------------------------------------------------------------------------- */

.html-shopping-cart-page .shopping-cart-page .common-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 14px 0 24px;
}

.html-shopping-cart-page .shopping-cart-page .common-buttons button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	float: none;
	width: auto !important;
	height: 42px;
	margin: 0 !important;
	padding: 0 16px;
	background: #fff !important;
	border: 1px solid var(--pd-line);
	border-radius: 10px;
	box-shadow: none;
	color: var(--pd-ink) !important;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1;
	text-transform: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.html-shopping-cart-page .shopping-cart-page .common-buttons button:before {
	margin: 0;
	font-size: 16px;
	color: inherit;
}

.html-shopping-cart-page .shopping-cart-page .common-buttons button:hover {
	background: var(--pd-brand-50) !important;
	border-color: var(--pd-brand-100);
	color: var(--pd-brand) !important;
}

.html-shopping-cart-page .shopping-cart-page .common-buttons .continue-shopping-button {
	margin-left: auto !important;
}

/* --------------------------------------------------------------------------
   Cupoane + estimare livrare - carduri pliabile
   -------------------------------------------------------------------------- */

.html-shopping-cart-page .cart-collaterals {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	align-items: start;
	gap: 12px;
	margin: 0 0 24px;
}

.html-shopping-cart-page .cart-collaterals:after {
	content: none;
}

.html-shopping-cart-page .cart-collaterals > div {
	float: none;
	width: auto;
	margin: 0;
	background: #fff;
	border: 1px solid var(--pd-line);
	border-radius: var(--pd-radius);
	box-shadow: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.html-shopping-cart-page .cart-collaterals > div:hover {
	border-color: #d5d9e0;
	box-shadow: var(--pd-shadow);
}

.html-shopping-cart-page .cart-collaterals > div > .title {
	height: auto;
	padding: 14px 16px 14px 44px;
	background: #fff;
	color: var(--pd-ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	text-align: left;
}

.html-shopping-cart-page .cart-collaterals > div > .title a {
	margin: -14px -16px -14px -44px;
	padding: 14px 16px 14px 44px;
	color: inherit;
}

.html-shopping-cart-page .cart-collaterals > div > .title:hover {
	color: var(--pd-brand);
}

.html-shopping-cart-page .cart-collaterals > div > .title:before {
	left: 16px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--pd-brand-50);
	color: var(--pd-brand);
	font-size: 8px;
	line-height: 18px;
	text-align: center;
}

.html-shopping-cart-page .cart-collaterals > div > .list {
	padding: 4px 16px 16px;
}

.html-shopping-cart-page .cart-collaterals .coupon-box .title,
.html-shopping-cart-page .cart-collaterals .giftcard-box .title {
	margin: 0 0 4px;
	text-align: left;
}

.html-shopping-cart-page .cart-collaterals .coupon-box .title strong,
.html-shopping-cart-page .cart-collaterals .giftcard-box .title strong {
	color: var(--pd-ink);
	font-size: 13px;
	font-weight: 700;
}

.html-shopping-cart-page .cart-collaterals .hint {
	margin: 0 0 10px;
	color: var(--pd-muted);
	font-size: 12px;
	text-align: left;
}

.html-shopping-cart-page .cart-collaterals .coupon-box,
.html-shopping-cart-page .cart-collaterals .giftcard-box {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	text-align: left;
}

.html-shopping-cart-page .cart-collaterals .coupon-box > .title,
.html-shopping-cart-page .cart-collaterals .coupon-box > .hint,
.html-shopping-cart-page .cart-collaterals .coupon-box > .message-failure,
.html-shopping-cart-page .cart-collaterals .coupon-box > .message-success,
.html-shopping-cart-page .cart-collaterals .coupon-box > .current-code,
.html-shopping-cart-page .cart-collaterals .giftcard-box > .title,
.html-shopping-cart-page .cart-collaterals .giftcard-box > .hint,
.html-shopping-cart-page .cart-collaterals .giftcard-box > .message-failure,
.html-shopping-cart-page .cart-collaterals .giftcard-box > .message-success,
.html-shopping-cart-page .cart-collaterals .giftcard-box > .current-code {
	flex: 0 0 100%;
	margin: 0;
}

.html-shopping-cart-page .cart-collaterals input[type="text"] {
	flex: 1 1 140px;
	width: auto !important;
	height: 42px;
	padding: 0 12px;
	background: #fff;
	border: 1px solid var(--pd-line);
	border-radius: 10px;
	color: var(--pd-ink);
	font-size: 14px;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.html-shopping-cart-page .cart-collaterals input[type="text"]:focus {
	border-color: var(--pd-brand);
	box-shadow: 0 0 0 3px var(--pd-brand-100);
	outline: none;
}

.html-shopping-cart-page .cart-collaterals .button-2,
.html-shopping-cart-page .cart-collaterals .apply-discount-coupon-code-button {
	flex: 0 0 auto;
	width: auto !important;
	height: 42px;
	line-height: 42px;
	margin: 0 !important;
	padding: 0 16px;
	background: var(--pd-ink) !important;
	border-radius: 10px;
	color: #fff !important;
	font-size: 13px;
	font-weight: 700;
	text-transform: none;
	transition: background-color .2s ease;
}

.html-shopping-cart-page .cart-collaterals .button-2:hover,
.html-shopping-cart-page .cart-collaterals .apply-discount-coupon-code-button:hover {
	background: var(--pd-brand) !important;
}

.html-shopping-cart-page .cart-collaterals .message-success {
	color: var(--pd-ok);
}

.html-shopping-cart-page .cart-collaterals .message-failure {
	color: var(--pd-brand);
}

.html-shopping-cart-page .cart-collaterals .current-code {
	color: var(--pd-text);
	font-size: 13px;
}

/* --------------------------------------------------------------------------
   Sumar comanda (totaluri + buton comanda)
   -------------------------------------------------------------------------- */

.html-shopping-cart-page .order-summary-content .totals,
.html-checkout-page .order-summary-content .totals {
	padding: 20px;
	background: #fff;
	border: 1px solid var(--pd-line);
	border-radius: var(--pd-radius-lg);
	box-shadow: var(--pd-shadow);
}

.html-shopping-cart-page .order-summary-content .totals > div,
.html-checkout-page .order-summary-content .totals > div {
	max-width: none;
}

.html-shopping-cart-page .totals-title,
.html-checkout-page .totals-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px !important;
	color: var(--pd-ink);
	font-size: 18px;
	font-weight: 700;
}

.html-shopping-cart-page .totals-title::before,
.html-checkout-page .totals-title::before {
	content: "";
	flex: 0 0 4px;
	width: 4px;
	height: 20px;
	border-radius: 4px;
	background: var(--pd-brand);
}

.html-shopping-cart-page .cart-footer .total-info,
.html-checkout-page .cart-footer .total-info {
	margin: 0 0 16px;
}

.html-shopping-cart-page .cart-total,
.html-checkout-page .cart-total {
	width: 100%;
	border-collapse: collapse;
}

.html-shopping-cart-page .cart-total td,
.html-checkout-page .cart-total td {
	padding: 9px 0;
	border-bottom: 1px solid var(--pd-line);
	color: var(--pd-text);
	font-size: 14px;
	vertical-align: top;
}

.html-shopping-cart-page .cart-total td label,
.html-checkout-page .cart-total td label {
	color: var(--pd-muted);
	font-size: 14px;
	font-weight: 500;
}

.html-shopping-cart-page .cart-total .cart-total-right,
.html-checkout-page .cart-total .cart-total-right {
	color: var(--pd-ink);
	font-weight: 600;
}

.html-shopping-cart-page .cart-total .order-total td,
.html-checkout-page .cart-total .order-total td {
	padding-top: 14px;
	border-bottom: 0;
}

.html-shopping-cart-page .cart-total .order-total td label,
.html-checkout-page .cart-total .order-total td label {
	color: var(--pd-ink);
	font-size: 18px;
	font-weight: 700;
}

.html-shopping-cart-page .cart-total .order-total td span,
.html-checkout-page .cart-total .order-total td span {
	color: var(--pd-brand);
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -.01em;
	line-height: 1.2;
}

/* "Calculat dupa adresa livrare" - text, nu suma */
.html-shopping-cart-page .cart-total .order-total td span:not(.value-summary):not(:has(*)),
.html-checkout-page .cart-total .order-total td span:not(.value-summary):not(:has(*)) {
	font-size: 14px;
	font-weight: 700;
}

.html-shopping-cart-page .min-amount-warning,
.html-checkout-page .min-amount-warning {
	margin: 0 0 12px;
	padding: 10px 12px;
	background: #fff6e8;
	border: 1px solid #fbdcaa;
	border-radius: 10px;
	color: #9a5b00;
	font-size: 13px;
	font-weight: 600;
}

.html-shopping-cart-page .totals .terms-of-service {
	margin: 0 0 14px;
	text-align: left;
	font-size: 13px;
}

/* butonul de comanda - acelasi stil ca "Adauga in cos" */
.html-shopping-cart-page .checkout-buttons .checkout-button {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 16px;
	background: var(--pd-brand) !important;
	background-image: none !important;
	border: 0;
	border-radius: 10px;
	box-shadow: 0 6px 16px rgba(167, 30, 6, .25);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	text-transform: none;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.html-shopping-cart-page .checkout-buttons .checkout-button:hover {
	background: var(--pd-brand-600) !important;
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(167, 30, 6, .35);
}

.html-shopping-cart-page .checkout-buttons .checkout-button:active {
	transform: translateY(0) scale(.98);
}

.html-shopping-cart-page .checkout-buttons .checkout-button:before {
	margin: 0;
	color: #fff;
}

.html-shopping-cart-page .checkout-buttons .checkout-button:hover:before {
	animation: ct-cart-ride .6s ease;
}

@keyframes ct-cart-ride {
	0% { transform: translateX(-30px); }
	60% { transform: translateX(6px); }
	100% { transform: translateX(0); }
}

/* informatie taxe / livrare */
.html-shopping-cart-page .tax-shipping-info {
	margin: 0 0 16px;
	color: var(--pd-muted);
	font-size: 12px;
	text-align: left;
}

.html-shopping-cart-page .order-summary-content > .message-error,
.html-shopping-cart-page .order-summary-content .cart .message-error {
	padding: 10px 14px;
	background: var(--pd-brand-50);
	border: 1px solid var(--pd-brand-100);
	border-radius: 10px;
	color: var(--pd-brand);
	font-size: 13px;
	text-align: left;
}

/* cos gol */
.html-shopping-cart-page .order-summary-content > .no-data {
	padding: 40px 24px;
	background: var(--pd-soft);
	border: 1px solid var(--pd-line);
	border-radius: var(--pd-radius-lg);
	color: var(--pd-text);
	font-size: 15px;
	font-weight: 600;
}

/* cross-sell - titlu de sectiune ca pe pagina de produs */
.html-shopping-cart-page .shopping-cart-page .product-grid .title {
	margin: 0 0 16px;
	padding: 0;
	border: 0;
	background: none;
	text-align: left;
}

.html-shopping-cart-page .shopping-cart-page .product-grid .title strong {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--pd-ink);
	font-size: 20px;
	font-weight: 700;
	text-transform: none;
}

.html-shopping-cart-page .shopping-cart-page .product-grid .title strong::before {
	content: "";
	flex: 0 0 4px;
	width: 4px;
	height: 20px;
	border-radius: 4px;
	background: var(--pd-brand);
}

/* --------------------------------------------------------------------------
   Desktop: produse in stanga, sumar lipicios in dreapta
   .cart-footer devine "transparent" ca sa-si lase copiii in grila formularului
   -------------------------------------------------------------------------- */

@media (min-width: 1025px) and (max-width: 1199px) {
	.html-shopping-cart-page .order-summary-content .totals {
		max-width: 420px;
		margin-left: auto;
	}
}

@media (min-width: 1200px) {
	.html-shopping-cart-page #shopping-cart-form {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 340px;
		column-gap: 24px;
		align-items: start;
		overflow: visible;
	}

	.html-shopping-cart-page #shopping-cart-form:after,
	.html-shopping-cart-page #shopping-cart-form .cart-footer:after {
		content: none;
		display: none;
	}

	.html-shopping-cart-page #shopping-cart-form .cart-footer {
		display: contents;
	}

	.html-shopping-cart-page #shopping-cart-form > *,
	.html-shopping-cart-page #shopping-cart-form .cart-footer > * {
		grid-column: 1;
		float: none;
		width: auto;
		min-width: 0;
	}

	.html-shopping-cart-page #shopping-cart-form .cart-footer > .totals {
		grid-column: 2;
		grid-row: 1 / span 8;
		position: sticky;
		top: 100px;
	}

	/* produsele recomandate pe toata latimea, sub ambele coloane */
	.html-shopping-cart-page #shopping-cart-form > .product-grid,
	.html-shopping-cart-page #shopping-cart-form > .carousel-wrapper,
	.html-shopping-cart-page #shopping-cart-form > div:last-child:not(.cart-footer):not(.table-wrapper) {
		grid-column: 1 / -1;
	}

	.html-shopping-cart-page .cart-options:empty {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   One page checkout - pasi
   -------------------------------------------------------------------------- */

.html-checkout-page .checkout-page > .page-title {
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

.html-checkout-page .opc {
	max-width: 1000px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.html-checkout-page .opc > li {
	margin: 0;
	background: #fff;
	border: 1px solid var(--pd-line);
	border-radius: var(--pd-radius-lg);
	box-shadow: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.html-checkout-page .opc > li.active {
	border-color: #d5d9e0;
	box-shadow: var(--pd-shadow);
}

.html-checkout-page .opc .step-title {
	display: flex;
	align-items: center;
	gap: 12px;
	height: auto;
	padding: 16px 48px 16px 20px;
	background: #fff;
	line-height: 1.3;
	text-align: left;
	white-space: normal;
}

.html-checkout-page .opc > li.active .step-title {
	border-bottom: 1px solid var(--pd-line);
}

.html-checkout-page .opc .step-title .number {
	flex: 0 0 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin: 0;
	background: var(--pd-soft);
	border: 1px solid var(--pd-line);
	border-radius: 50%;
	color: var(--pd-muted);
	font-size: 14px;
	font-weight: 700;
}

.html-checkout-page .opc .step-title .title {
	margin: 0;
	color: var(--pd-muted);
	font-size: 16px;
	font-weight: 700;
	text-transform: none;
}

/* pas deja parcurs (se poate reveni la el) */
.html-checkout-page .opc > li.allow:not(.active) .step-title .number {
	background: var(--pd-ok-bg);
	border-color: #cfead9;
	color: var(--pd-ok);
}

.html-checkout-page .opc > li.allow:not(.active) .step-title .title {
	color: var(--pd-ink);
}

.html-checkout-page .opc > li.allow:not(.active) .step-title:hover .title {
	color: var(--pd-brand);
}

.html-checkout-page .opc > li.allow:not(.active) .step-title:after {
	right: 20px;
	top: 50%;
	line-height: 1;
	transform: translateY(-50%);
	color: var(--pd-muted);
	font-size: 14px;
}

.html-checkout-page .opc > li.active .step-title .number {
	background: var(--pd-brand);
	border-color: var(--pd-brand);
	color: #fff;
	box-shadow: 0 4px 12px rgba(167, 30, 6, .25);
}

.html-checkout-page .opc > li.active .step-title .title {
	color: var(--pd-ink);
	font-size: 18px;
}

.html-checkout-page .opc .step {
	padding: 24px 32px 28px;
}

/* --------------------------------------------------------------------------
   Formulare (adresa facturare / livrare)
   -------------------------------------------------------------------------- */

.html-checkout-page .opc .section.new-billing-address,
.html-checkout-page .opc .section.new-shipping-address {
	max-width: 640px;
}

.html-checkout-page .opc .inputs label,
.html-checkout-page .opc .section > label,
.html-checkout-page .opc .select-pickup-points > label {
	color: var(--pd-ink);
	font-size: 13px;
	font-weight: 600;
}

.html-checkout-page .opc .inputs .required {
	color: var(--pd-brand);
}

.html-checkout-page .opc input[type="text"],
.html-checkout-page .opc input[type="email"],
.html-checkout-page .opc input[type="tel"],
.html-checkout-page .opc input[type="password"],
.html-checkout-page .opc select,
.html-checkout-page .opc textarea,
.html-checkout-page #checkout-step-confirm-order textarea {
	background-color: #fff;
	border: 1px solid var(--pd-line);
	border-radius: 10px;
	color: var(--pd-ink);
	font-size: 14px;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.html-checkout-page .opc input[type="text"]:focus,
.html-checkout-page .opc input[type="email"]:focus,
.html-checkout-page .opc input[type="tel"]:focus,
.html-checkout-page .opc input[type="password"]:focus,
.html-checkout-page .opc select:focus,
.html-checkout-page .opc textarea:focus {
	border-color: var(--pd-brand);
	box-shadow: 0 0 0 3px var(--pd-brand-100);
	outline: none;
}

.html-checkout-page .opc .input-validation-error {
	border-color: var(--pd-brand) !important;
	background-color: var(--pd-brand-50) !important;
}

.html-checkout-page .opc .field-validation-error {
	color: var(--pd-brand);
	font-size: 12px;
	font-weight: 600;
}

.html-checkout-page .opc .vat-note {
	color: var(--pd-muted);
	font-size: 12px;
}

/* "Livrare la aceeasi adresa" - pastila cu checkbox */
.html-checkout-page .opc .ship-to-same-address,
.html-checkout-page .opc .pickup-in-store {
	max-width: 640px;
	margin: 0 auto 20px !important;
}

.html-checkout-page .opc .ship-to-same-address .selector,
.html-checkout-page .opc .pickup-in-store .selector {
	margin: 0;
	padding: 12px 16px;
	background: var(--pd-soft);
	border: 1px solid var(--pd-line);
	border-radius: var(--pd-radius);
	text-align: left;
}

.html-checkout-page .opc .ship-to-same-address .selector:has(input:checked),
.html-checkout-page .opc .pickup-in-store .selector:has(input:checked) {
	background: var(--pd-ok-bg);
	border-color: #cfead9;
}

/* checkbox-uri si radio-uri - fara patratul rosu al temei */
.html-checkout-page .opc input[type="checkbox"] + label,
.html-checkout-page .opc input[type="radio"] + label,
.html-checkout-page .terms-of-service input[type="checkbox"] + label {
	color: var(--pd-ink);
	font-size: 13px;
	font-weight: 600;
}

.html-checkout-page .opc input[type="checkbox"] + label:before,
.html-checkout-page .opc input[type="radio"] + label:before,
.html-shopping-cart-page .terms-of-service input[type="checkbox"] + label:before {
	width: 18px;
	height: 18px;
	margin: 0 10px 0 0;
	box-sizing: border-box;
	background: #fff;
	border: 2px solid #c5cad3;
	border-radius: 5px;
	box-shadow: none;
	vertical-align: -4px;
	transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.html-checkout-page .opc input[type="radio"] + label:before {
	border-radius: 50%;
}

.html-checkout-page .opc input[type="checkbox"]:checked + label:before,
.html-shopping-cart-page .terms-of-service input[type="checkbox"]:checked + label:before {
	width: 18px;
	height: 18px;
	margin: 0 10px 0 0;
	background: var(--pd-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 12px no-repeat;
	border: 2px solid var(--pd-brand);
	box-shadow: none;
}

.html-checkout-page .opc input[type="radio"]:checked + label:before {
	width: 18px;
	height: 18px;
	margin: 0 10px 0 0;
	background: #fff;
	border: 5px solid var(--pd-brand);
	box-shadow: 0 0 0 3px var(--pd-brand-100);
}

/* --------------------------------------------------------------------------
   Metode de livrare / plata - carduri selectabile
   -------------------------------------------------------------------------- */

.html-checkout-page .shipping-method .method-list,
.html-checkout-page .payment-method .method-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 640px;
	margin: 0 auto 24px;
}

.html-checkout-page .shipping-method .method-list li,
.html-checkout-page .payment-method .method-list li {
	max-width: none;
	margin: 0;
	padding: 16px 18px 16px 52px;
	background: #fff;
	border: 1px solid var(--pd-line);
	border-radius: var(--pd-radius);
	transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.html-checkout-page .shipping-method .method-list li:hover,
.html-checkout-page .payment-method .method-list li:hover {
	border-color: #d5d9e0;
	box-shadow: var(--pd-shadow);
}

.html-checkout-page .shipping-method .method-list li:has(input:checked),
.html-checkout-page .payment-method .method-list li:has(input:checked) {
	background: var(--pd-brand-50);
	border-color: var(--pd-brand);
	box-shadow: 0 0 0 1px var(--pd-brand);
}

/* prima linie din lista de livrare e greutatea totala, nu o optiune */
.html-checkout-page .shipping-method .method-list li:not(:has(input)) {
	padding: 10px 16px !important;
	background: var(--pd-soft);
	border-style: dashed;
	box-shadow: none;
}

.html-checkout-page .shipping-method .method-list li:not(:has(input)) h2 {
	margin: 0;
	color: var(--pd-muted);
	font-size: 13px;
	font-weight: 600;
}

.html-checkout-page .shipping-method .method-list li:not(:has(input)) h2 b {
	color: var(--pd-ink);
}

.html-checkout-page .shipping-method .method-list li label,
.html-checkout-page .payment-method .method-list li label {
	color: var(--pd-ink);
	font-size: 15px;
	font-weight: 700;
}

.html-checkout-page .shipping-method .method-list input[type="radio"] + label:before,
.html-checkout-page .payment-method .method-list input[type="radio"] + label:before {
	left: 18px;
	margin: 0;
}

.html-checkout-page .shipping-method .method-description,
.html-checkout-page .payment-method .payment-description {
	margin: 4px 0 0;
	color: var(--pd-muted);
	font-size: 13px;
}

.html-checkout-page .payment-method .payment-logo img {
	max-height: 32px;
	width: auto;
}

/* --------------------------------------------------------------------------
   Butoane pasi (continua / inapoi / confirma)
   -------------------------------------------------------------------------- */

/* widget-urile din DB (ex. "plati securizate") erau plutite la 100% de regula
   din styles.css si impingeau randul de butoane la latime 0, in marginea dreapta */
.html-checkout-page .opc .checkout-data > div:not(.section) {
	float: none;
	clear: none;
	width: auto;
}

.html-checkout-page .opc .buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 8px;
}

.html-checkout-page .opc .buttons .back-link {
	margin: 0;
}

.html-checkout-page .opc .buttons .back-link:empty {
	display: none;
}

.html-checkout-page .opc .back-link a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 46px;
	padding: 0 18px;
	background: #fff;
	border: 1px solid var(--pd-line);
	border-radius: 10px;
	color: var(--pd-ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-transform: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.html-checkout-page .opc .back-link a:hover {
	background: var(--pd-brand-50);
	border-color: var(--pd-brand-100);
	color: var(--pd-brand);
}

.html-checkout-page .opc .buttons .button-1 {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 200px;
	height: 46px;
	margin: 0;
	padding: 0 24px;
	background: var(--pd-brand) !important;
	background-image: none !important;
	border: 0;
	border-radius: 10px;
	box-shadow: 0 6px 16px rgba(167, 30, 6, .25);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-transform: none;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.html-checkout-page .opc .buttons .button-1:hover {
	background: var(--pd-brand-600) !important;
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(167, 30, 6, .35);
}

.html-checkout-page .opc .buttons .button-1:active {
	transform: translateY(0) scale(.98);
}

.html-checkout-page .opc .buttons .button-1 .spaceleft {
	margin: 0;
	transition: transform .2s ease;
}

.html-checkout-page .opc .buttons .button-1:hover .spaceleft {
	transform: translateX(3px);
}

/* confirmarea finala - verde, ca sa se distinga de "Continua" */
.html-checkout-page .opc .confirm-order-next-step-button {
	min-width: 240px !important;
	background: var(--pd-ok) !important;
	box-shadow: 0 6px 16px rgba(19, 112, 58, .25) !important;
}

.html-checkout-page .opc .confirm-order-next-step-button:hover {
	background: #0f5c30 !important;
	box-shadow: 0 10px 22px rgba(19, 112, 58, .35) !important;
}

.html-checkout-page .opc .please-wait {
	flex: 0 0 100%;
	color: var(--pd-muted);
	font-size: 13px;
	text-align: center;
}

/* --------------------------------------------------------------------------
   Pasul de confirmare
   -------------------------------------------------------------------------- */

.html-checkout-page #checkout-step-confirm-order .inputs {
	margin: 20px 0 0;
	text-align: left;
}

.html-checkout-page #checkout-step-confirm-order .inputs label {
	display: block;
	margin: 0 0 6px;
	color: var(--pd-ink);
	font-size: 13px;
	font-weight: 600;
}

.html-checkout-page #checkout-step-confirm-order textarea {
	width: 100%;
	max-width: none;
	min-height: 90px;
	padding: 10px 12px;
}

.html-checkout-page .opc .order-review-data > div {
	background: #fff;
	border: 1px solid var(--pd-line);
	border-radius: var(--pd-radius);
}

.html-checkout-page .opc .order-review-data .billing-info .title,
.html-checkout-page .opc .order-review-data .shipping-info .title {
	background: var(--pd-soft);
	border-bottom: 1px solid var(--pd-line);
	border-radius: var(--pd-radius) var(--pd-radius) 0 0;
}

.html-checkout-page .opc .order-review-data > div .title strong,
.html-checkout-page .opc .order-review-data > div .info-list .name {
	color: var(--pd-ink);
}

.html-checkout-page .opc .order-review-data li {
	color: var(--pd-text);
}

.html-checkout-page .opc .terms-of-service {
	margin: 20px 0 0;
	padding: 12px 16px;
	background: var(--pd-soft);
	border: 1px solid var(--pd-line);
	border-radius: var(--pd-radius);
	text-align: left;
}

.html-checkout-page .terms-of-service .read {
	color: var(--pd-brand);
	font-size: 13px;
	font-weight: 600;
}

.html-checkout-page .opc .message-error,
.html-checkout-page .opc .min-order-warning {
	display: block;
	padding: 10px 14px;
	background: var(--pd-brand-50);
	border: 1px solid var(--pd-brand-100);
	border-radius: 10px;
	color: var(--pd-brand);
	font-size: 13px;
	text-align: left;
}

/* --------------------------------------------------------------------------
   Mobil / tableta - tabelul devine lista de carduri (tables.css)
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
	.html-shopping-cart-page .order-summary-content .cart,
	.html-checkout-page .order-summary-content .cart {
		background: none;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		overflow: visible;
	}

	/* fiecare produs = card in grila:
	   imagine | nume | sterge
	   [cantitate ......... pret ]
	   [cantitate ........ total ]
	   celula cantitatii ocupa toata bara de jos (si ii da fundalul),
	   pretul si totalul stau peste ea, aliniate la dreapta */
	.html-shopping-cart-page .order-summary-content .cart tr,
	.html-checkout-page .order-summary-content .cart tr {
		display: grid;
		grid-template-columns: 76px minmax(0, 1fr) auto;
		grid-template-rows: auto auto auto;
		width: auto;
		margin: 0 0 12px;
		padding: 0;
		background: #fff;
		border: 1px solid var(--pd-line) !important;
		border-radius: var(--pd-radius) !important;
		box-shadow: var(--pd-shadow);
		overflow: hidden;
	}

	.html-shopping-cart-page .order-summary-content .cart td,
	.html-checkout-page .order-summary-content .cart td {
		position: static;
		float: none;
		width: auto;
		height: auto;
		min-width: 0;
		padding: 12px 14px;
		border: 0 !important;
		background: transparent !important;
		text-align: left;
		overflow: visible;
	}

	.html-shopping-cart-page .order-summary-content .cart td.product-picture,
	.html-checkout-page .order-summary-content .cart td.product-picture {
		grid-column: 1;
		grid-row: 1;
		padding-right: 0;
	}

	.html-shopping-cart-page .order-summary-content .cart td.product-picture img,
	.html-checkout-page .order-summary-content .cart td.product-picture img {
		width: 64px;
		max-width: 64px;
		height: 64px;
	}

	.html-shopping-cart-page .order-summary-content .cart td.product,
	.html-checkout-page .order-summary-content .cart td.product {
		grid-column: 2;
		grid-row: 1;
		align-self: center;
		margin-left: 0;
	}

	.html-shopping-cart-page .order-summary-content .cart td.deleteItem {
		grid-column: 3;
		grid-row: 1;
		width: auto;
		padding-left: 0;
	}

	.html-shopping-cart-page .order-summary-content .cart td.quantity,
	.html-checkout-page .order-summary-content .cart td.quantity {
		grid-column: 1 / -1;
		grid-row: 2 / 4;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		gap: 4px;
		background: var(--pd-soft) !important;
		border-top: 1px solid var(--pd-line) !important;
	}

	.html-shopping-cart-page .order-summary-content .cart td.unit-price,
	.html-checkout-page .order-summary-content .cart td.unit-price {
		grid-column: 2 / -1;
		grid-row: 2;
		z-index: 1;
		align-self: end;
		padding-bottom: 2px;
		text-align: right;
	}

	.html-shopping-cart-page .order-summary-content .cart td.subtotal,
	.html-checkout-page .order-summary-content .cart td.subtotal {
		grid-column: 2 / -1;
		grid-row: 3;
		z-index: 1;
		padding-top: 2px;
		text-align: right;
	}

	.html-shopping-cart-page .order-summary-content .cart td.unit-price *,
	.html-checkout-page .order-summary-content .cart td.unit-price * {
		color: var(--pd-muted) !important;
		font-size: 13px !important;
		font-weight: 600 !important;
	}

	.html-shopping-cart-page .order-summary-content .cart td.subtotal .product-subtotal,
	.html-checkout-page .order-summary-content .cart td.subtotal .product-subtotal {
		color: var(--pd-brand) !important;
		font-weight: 800 !important;
	}

	.html-shopping-cart-page .order-summary-content .cart td.subtotal .product-subtotal-old,
	.html-checkout-page .order-summary-content .cart td.subtotal .product-subtotal-old {
		color: var(--pd-ok) !important;
		font-weight: 600 !important;
	}

	.html-shopping-cart-page .order-summary-content .cart td.subtotal .td-title,
	.html-checkout-page .order-summary-content .cart td.subtotal .td-title {
		display: none;
	}

	.html-shopping-cart-page .order-summary-content .cart .td-title,
	.html-checkout-page .order-summary-content .cart .td-title {
		color: var(--pd-muted);
		font-size: 12px;
		font-weight: 600;
	}

	.html-shopping-cart-page .shopping-cart-page .common-buttons .continue-shopping-button {
		margin-left: 0 !important;
	}

	.html-shopping-cart-page .order-summary-content .totals {
		margin-top: 0;
	}

	.html-shopping-cart-page .cart-trust-payments {
		margin-left: 0;
	}
}

/* tableta: doua carduri pe rand (tema le facea inline-block cu margini) */
@media (min-width: 768px) and (max-width: 1024px) {
	.html-shopping-cart-page .order-summary-content .cart tbody,
	.html-checkout-page .order-summary-content .cart tbody {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.html-shopping-cart-page .order-summary-content .cart tr,
	.html-checkout-page .order-summary-content .cart tr {
		margin: 0 !important;
		font-size: 14px;
	}
}

@media (max-width: 1000px) {
	.html-shopping-cart-page .page-title h1,
	.html-checkout-page .page-title h1 {
		font-size: 20px;
	}

	.html-checkout-page .opc .step {
		padding: 20px 16px;
	}

	.html-checkout-page .opc .step-title {
		padding: 14px 44px 14px 14px;
	}
}

@media (max-width: 600px) {
	.html-shopping-cart-page .shopping-cart-page .common-buttons button {
		flex: 1 1 100%;
		justify-content: center;
	}

	.html-checkout-page .opc .buttons .button-1,
	.html-checkout-page .opc .back-link,
	.html-checkout-page .opc .back-link a {
		flex: 1 1 100%;
		justify-content: center;
		width: 100%;
	}
}

/* ==========================================================================
   Lista de favorite (/wishlist)
   Acelasi card de tabel, aceleasi butoane si acelasi layout pe mobil ca la cos
   ========================================================================== */

.html-wishlist-page .wishlist-content > .message-error,
.html-wishlist-page .wishlist-content .cart .message-error {
	margin: 0 0 16px !important;
	padding: 10px 14px;
	background: var(--pd-brand-50);
	border: 1px solid var(--pd-brand-100);
	border-radius: 10px;
	color: var(--pd-brand);
	font-size: 13px;
	text-align: left;
}

.html-wishlist-page .wishlist-content .cart {
	margin-bottom: 0;
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
	border: 1px solid var(--pd-line);
	border-radius: var(--pd-radius-lg);
	box-shadow: var(--pd-shadow);
	overflow: hidden;
}

.html-wishlist-page .wishlist-content .cart th {
	padding: 12px 14px;
	background: var(--pd-soft);
	border: 0;
	border-bottom: 1px solid var(--pd-line);
	border-radius: 0;
	color: var(--pd-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.html-wishlist-page .wishlist-content .cart td {
	padding: 16px 14px;
	background: #fff;
	border: 0;
	border-bottom: 1px solid var(--pd-line);
	border-radius: 0 !important;
	color: var(--pd-text);
	vertical-align: middle;
}

.html-wishlist-page .wishlist-content .cart tr:last-child td {
	border-bottom: 0;
}

.html-wishlist-page .wishlist-content .cart .product-picture img {
	width: 80px;
	max-width: 80px;
	height: 80px;
	object-fit: contain;
	padding: 4px;
	background: #fff;
	border: 1px solid var(--pd-line);
	border-radius: 10px;
}

.html-wishlist-page .wishlist-content .cart .product a.product-name {
	color: var(--pd-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	transition: color .2s ease;
}

.html-wishlist-page .wishlist-content .cart .product a.product-name:hover {
	color: var(--pd-brand);
}

.html-wishlist-page .wishlist-content .cart .attributes {
	margin-top: 6px;
	color: var(--pd-muted);
	font-size: 12px;
}

.html-wishlist-page .wishlist-content .cart .edit-item a {
	color: var(--pd-brand);
	font-size: 12px;
	font-weight: 600;
}

.html-wishlist-page .wishlist-content .cart .product-unit-price {
	color: var(--pd-text);
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

.html-wishlist-page .wishlist-content .cart .subtotal .product-subtotal {
	display: block;
	color: var(--pd-brand);
	font-size: 16px;
	font-weight: 800;
	letter-spacing: -.01em;
	white-space: nowrap;
}

.html-wishlist-page .wishlist-content .cart .subtotal .discount {
	color: var(--pd-ok);
	font-size: 12px;
	font-weight: 600;
}

.html-wishlist-page .wishlist-content .cart .product-quantity {
	color: var(--pd-ink);
	font-weight: 700;
}

.html-wishlist-page .wishlist-content .cart .qty-input,
.html-wishlist-page .wishlist-content .cart .qty-dropdown {
	width: 64px;
	height: 42px;
	margin: 0;
	padding: 0 6px;
	background-color: #fff;
	border: 1px solid var(--pd-line);
	border-radius: 10px;
	color: var(--pd-ink);
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.html-wishlist-page .wishlist-content .cart .qty-input:focus,
.html-wishlist-page .wishlist-content .cart .qty-dropdown:focus {
	border-color: var(--pd-brand);
	box-shadow: 0 0 0 3px var(--pd-brand-100);
	outline: none;
}

/* buton stergere produs */
.html-wishlist-page .wishlist-content .cart .remove-from-cart {
	width: 1px;
	text-align: center;
}

.html-wishlist-page .wishlist-content .cart .remove-from-cart .cart-remove-button {
	position: static;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid var(--pd-line);
	border-radius: 10px;
	color: var(--pd-muted);
	font-size: 14px;
	cursor: pointer;
	transform: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.html-wishlist-page .wishlist-content .cart .remove-from-cart .cart-remove-button:after {
	content: none;
}

.html-wishlist-page .wishlist-content .cart .remove-from-cart .cart-remove-button:hover,
.html-wishlist-page .wishlist-content .cart .remove-from-cart .cart-remove-button:focus-visible {
	background: var(--pd-brand-50);
	border-color: var(--pd-brand-100);
	color: var(--pd-brand);
	outline: none;
}

/* "Adauga in cos" - checkbox cu bifa de brand, ca la acceptarea termenilor */
.html-wishlist-page .wishlist-content .cart td.add-to-cart label {
	color: var(--pd-ink);
	font-size: 0;
	font-weight: 600;
}

.html-wishlist-page .wishlist-content .cart .add-to-cart input[type="checkbox"] + label:before {
	width: 18px;
	height: 18px;
	box-sizing: border-box;
	background: #fff;
	border: 2px solid #c5cad3;
	border-radius: 5px;
	box-shadow: none;
	transition: border-color .2s ease, background-color .2s ease;
}

.html-wishlist-page .wishlist-content .cart .add-to-cart input[type="checkbox"]:checked + label:before {
	background: var(--pd-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 12px no-repeat;
	border-color: var(--pd-brand);
	box-shadow: none;
}

/* butoane sub tabel */
.html-wishlist-page .wishlist-content .buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 14px 0 0;
	font-size: 14px;
	text-align: left;
}

.html-wishlist-page .wishlist-content .buttons .button-2 {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	float: none;
	width: auto;
	min-width: 0;
	height: 42px;
	margin: 0;
	padding: 0 16px;
	background: #fff !important;
	border: 1px solid var(--pd-line);
	border-radius: 10px;
	box-shadow: none;
	color: var(--pd-ink) !important;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1;
	text-transform: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.html-wishlist-page .wishlist-content .buttons .button-2:before {
	margin: 0;
	font-size: 16px;
	color: inherit !important;
}

.html-wishlist-page .wishlist-content .buttons .button-2:after {
	content: none;
}

.html-wishlist-page .wishlist-content .buttons .button-2:hover {
	background: var(--pd-brand-50) !important;
	border-color: var(--pd-brand-100);
	color: var(--pd-brand) !important;
}

/* actiunea principala - ca "Adauga in cos" de pe pagina de produs */
.html-wishlist-page .wishlist-content .buttons .wishlist-add-to-cart-button {
	margin-left: auto;
	height: 46px;
	padding: 0 22px;
	background: var(--pd-brand) !important;
	border-color: var(--pd-brand);
	box-shadow: 0 6px 16px rgba(167, 30, 6, .25);
	color: #fff !important;
	font-size: 14px;
}

.html-wishlist-page .wishlist-content .buttons .wishlist-add-to-cart-button:hover {
	background: var(--pd-brand-600) !important;
	border-color: var(--pd-brand-600);
	box-shadow: 0 10px 22px rgba(167, 30, 6, .35);
	color: #fff !important;
	transform: translateY(-1px);
}

.html-wishlist-page .wishlist-content .buttons .wishlist-add-to-cart-button:active {
	transform: translateY(0) scale(.98);
}

.html-wishlist-page .wishlist-content .tax-shipping-info {
	margin: 14px 0 0;
	color: var(--pd-muted);
	font-size: 12px;
	text-align: left;
}

.html-wishlist-page .wishlist-content .tax-shipping-info a {
	color: var(--pd-brand);
}

/* link de partajare */
.html-wishlist-page .wishlist-page .share-info {
	margin: 24px 0;
	padding: 16px 20px;
	background: var(--pd-soft);
	border: 1px solid var(--pd-line);
	border-radius: var(--pd-radius);
	text-align: left;
}

.html-wishlist-page .wishlist-page .share-label {
	display: block;
	margin: 0 0 4px;
	color: var(--pd-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.html-wishlist-page .wishlist-page .share-info a {
	display: block;
	color: var(--pd-brand);
	font-size: 14px;
	font-weight: 600;
	word-break: break-all;
}

/* lista goala */
.html-wishlist-page .wishlist-page .page-body > .no-data {
	padding: 40px 24px;
	background: var(--pd-soft);
	border: 1px solid var(--pd-line);
	border-radius: var(--pd-radius-lg);
	color: var(--pd-text);
	font-size: 15px;
	font-weight: 600;
	text-align: center;
}

@media (max-width: 1024px) {
	.html-wishlist-page .wishlist-content .cart {
		display: block;
		width: 100%;
		background: none;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		overflow: visible;
	}

	/* fiecare produs = card in grila:
	   imagine | nume | sterge
	   [cantitate ......... pret ]
	   [cantitate ........ total ]
	   [adauga in cos .............] */
	.html-wishlist-page .wishlist-content .cart tr {
		display: grid;
		grid-template-columns: 76px minmax(0, 1fr) auto;
		grid-template-rows: auto auto auto auto;
		width: auto;
		margin: 0 0 12px;
		padding: 0;
		background: #fff;
		border: 1px solid var(--pd-line) !important;
		border-radius: var(--pd-radius) !important;
		box-shadow: var(--pd-shadow);
		overflow: hidden;
	}

	.html-wishlist-page .wishlist-content .cart td {
		position: static;
		float: none;
		width: auto;
		height: auto;
		min-width: 0;
		padding: 12px 14px;
		border: 0 !important;
		background: transparent !important;
		text-align: left;
		overflow: visible;
	}

	.html-wishlist-page .wishlist-content .cart td.product-picture {
		grid-column: 1;
		grid-row: 1;
		padding-right: 0;
	}

	.html-wishlist-page .wishlist-content .cart td.product-picture img {
		width: 64px;
		max-width: 64px;
		height: 64px;
	}

	.html-wishlist-page .wishlist-content .cart td.product {
		grid-column: 2;
		grid-row: 1;
		align-self: center;
		margin-left: 0;
	}

	.html-wishlist-page .wishlist-content .cart td.remove-from-cart {
		grid-column: 3;
		grid-row: 1;
		width: auto;
		padding-left: 0;
	}

	.html-wishlist-page .wishlist-content .cart td.quantity {
		grid-column: 1 / -1;
		grid-row: 2 / 4;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		gap: 4px;
		background: var(--pd-soft) !important;
		border-top: 1px solid var(--pd-line) !important;
	}

	.html-wishlist-page .wishlist-content .cart td.unit-price {
		grid-column: 2 / -1;
		grid-row: 2;
		z-index: 1;
		align-self: end;
		padding-bottom: 2px;
		text-align: right;
	}

	.html-wishlist-page .wishlist-content .cart td.subtotal {
		grid-column: 2 / -1;
		grid-row: 3;
		z-index: 1;
		padding-top: 2px;
		text-align: right;
	}

	.html-wishlist-page .wishlist-content .cart td.add-to-cart {
		grid-column: 1 / -1;
		grid-row: 4;
		border-top: 1px solid var(--pd-line) !important;
	}

	.html-wishlist-page .wishlist-content .cart td.unit-price * {
		color: var(--pd-muted) !important;
		font-size: 13px !important;
		font-weight: 600 !important;
	}

	.html-wishlist-page .wishlist-content .cart td.subtotal .product-subtotal {
		color: var(--pd-brand) !important;
		font-weight: 800 !important;
	}

	.html-wishlist-page .wishlist-content .cart td.subtotal .td-title {
		display: none;
	}

	.html-wishlist-page .wishlist-content .cart .td-title {
		color: var(--pd-muted);
		font-size: 12px;
		font-weight: 600;
	}

	.html-wishlist-page .wishlist-content .cart td.add-to-cart label.td-title {
		color: var(--pd-ink);
		font-size: 13px;
		text-transform: none;
	}

	.html-wishlist-page .wishlist-content .buttons .wishlist-add-to-cart-button {
		margin-left: 0;
	}
}

/* tableta: doua carduri pe rand */
@media (min-width: 768px) and (max-width: 1024px) {
	.html-wishlist-page .wishlist-content .cart tbody {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.html-wishlist-page .wishlist-content .cart tr {
		margin: 0 !important;
		font-size: 14px;
	}
}

@media (max-width: 1000px) {
	.html-wishlist-page .page-title h1 {
		font-size: 20px;
	}
}

@media (max-width: 600px) {
	.html-wishlist-page .wishlist-content .buttons .button-2 {
		flex: 1 1 100%;
		justify-content: center;
	}
}
