/**
 * Cart / Checkout / Thank-you redesign — Đông Dương Wine
 */

:root {
	--ddw-wine: #6e1b23;
	--ddw-wine-deep: #571018;
	--ddw-gold: #c08a3e;
	--ddw-price: #b02d2c;
	--ddw-green: #3d7a4e;
	--ddw-page: #fffdfa;
	--ddw-beige: #fbf6ee;
	--ddw-beige-soft: #fcf8f3;
	--ddw-beige-deep: #ede2d3;
	--ddw-thumb: #f5efe6;
	--ddw-border: #ede2d3;
	--ddw-line: #f2e9de;
	--ddw-line-soft: #f5ede3;
	--ddw-text: #2a2320;
	--ddw-ink: #3a322d;
	--ddw-body: #5c544e;
	--ddw-muted: #8a817c;
	--ddw-muted-soft: #a79d94;
	--ddw-muted-faint: #b7ada4;
	--ddw-pad: 22px;
	--ddw-radius: 10px;
	--ddw-shadow: 0 10px 30px rgba(110, 27, 35, 0.06);
}

/* -------------------------------------------------------------------------
 * Steps
 * ---------------------------------------------------------------------- */
.ddw-steps {
	background: transparent;
	padding: 1.6rem 0 0;
	margin-bottom: 1.6rem;
}

.ddw-steps .page-title-inner {
	min-height: 0;
	padding: 0;
}

.ddw-steps__nav {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: start;
	max-width: 1320px;
	margin: 0 auto;
}

.ddw-steps__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 9px;
	text-decoration: none;
	color: var(--ddw-muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-align: center;
}

.ddw-steps__item--static {
	cursor: default;
}

.ddw-steps__icon {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	border: 1.5px solid var(--ddw-border);
	color: var(--ddw-muted-faint);
	flex-shrink: 0;
	transition: background 0.24s ease, border-color 0.24s ease, color 0.24s ease;
}

.ddw-steps__icon i {
	font-size: 20px;
	line-height: 1;
	margin: 0;
}

.ddw-steps__icon .ddw-steps__cart-img {
	display: block;
	width: 22px;
	height: 22px;
	object-fit: contain;
}

.ddw-steps__item.is-current .ddw-steps__icon {
	background: var(--ddw-wine);
	border-color: var(--ddw-wine);
	color: #fff;
}

.ddw-steps__item.is-done .ddw-steps__icon {
	border-color: var(--ddw-gold);
	color: var(--ddw-wine);
}

.ddw-steps__item.is-current .ddw-steps__label {
	color: var(--ddw-wine);
}

.ddw-steps__item.is-done .ddw-steps__label {
	color: var(--ddw-gold);
}

/* Connector: center-to-center; icons (z-index) sit on top so nodes look joined. */
.ddw-steps__divider {
	position: absolute;
	top: 21px;
	left: 50%;
	width: 100%;
	height: 2px;
	z-index: 0;
	pointer-events: none;
	border-radius: 0;
	background: var(--ddw-border);
}

.ddw-steps__item.is-done .ddw-steps__divider {
	background: var(--ddw-gold);
}
.payment_method_vietqr img{display: none;}
/* -------------------------------------------------------------------------
 * Page shell (checkout layout)
 * ---------------------------------------------------------------------- */
.woocommerce-checkout .cart-container.page-checkout {
	padding-top: 0.5rem;
	padding-bottom: 2.5rem;
}

.woocommerce-cart #content,
.woocommerce-checkout #content {
	background: var(--ddw-page);
}

.woocommerce-cart .cart-container,
.woocommerce-checkout .cart-container {
	max-width: 1320px;
}

/* Purchase flow inherits Flatsome body / heading fonts from theme setup. */
.woocommerce-cart .ddw-cart,
.woocommerce-checkout .ddw-checkout,
.woocommerce-checkout .ddw-thankyou,
.ddw-steps,
.ddw-trust {
	color: var(--ddw-text);
}

.woocommerce-checkout .page-title:not(.ddw-steps) {
	display: none;
}

/* -------------------------------------------------------------------------
 * Shared cards / summary
 * ---------------------------------------------------------------------- */
.ddw-checkout__card,
.ddw-summary {
	background: #fff;
	border: 1px solid var(--ddw-border);
	border-radius: var(--ddw-radius);
	box-shadow: var(--ddw-shadow);
	padding: 0 var(--ddw-pad) var(--ddw-pad);
}

.ddw-checkout__card-title,
.ddw-summary__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 calc(var(--ddw-pad) * -1) 18px;
	padding: 18px var(--ddw-pad);
	border-bottom: 1px solid var(--ddw-line);
	font-size: 14.5px;
	font-weight: 600;
	color: var(--ddw-text);
	text-transform: uppercase;
	letter-spacing: 0.07em;
}

/* cart-totals wraps its title in a head element — bleed that instead. */
.ddw-summary__head {
	margin: 0 calc(var(--ddw-pad) * -1) 18px;
	padding: 18px var(--ddw-pad);
	border-bottom: 1px solid var(--ddw-line);
}

.ddw-summary__head .ddw-summary__title {
	margin: 0;
	padding: 0;
	border-bottom: 0;
}

.ddw-checkout__card-icon,
.ddw-summary__title-icon {
	color: var(--ddw-wine);
	display: inline-flex;
}

.ddw-summary__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	padding: 6px 0;
	font-size: 14px;
	color: var(--ddw-body);
	border: 0;
}

.ddw-summary__row > span:last-child {
	font-weight: 600;
	color: var(--ddw-text);
}

.ddw-summary__row.is-accent {
	color: var(--ddw-wine);
}

.ddw-summary__shipping.is-free .ddw-summary__shipping-value,
.ddw-summary__shipping.is-free > span:last-child {
	color: var(--ddw-green);
	font-weight: 600;
}

.ddw-summary__total {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: end;
	gap: 0 1rem;
	margin-top: 12px;
	padding-top: 13px;
	border-top: 1px solid var(--ddw-line);
}

.ddw-summary__total-label {
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--ddw-wine);
}

.ddw-summary__total-value {
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.3px;
	color: var(--ddw-price);
	text-align: right;
}

.ddw-summary__vat {
	grid-column: 2;
	font-size: 11.5px;
	color: var(--ddw-muted-soft);
	text-align: right;
}

.ddw-summary__cta,
.ddw-summary .checkout-button,
#place_order.ddw-summary__cta {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	height: 52px;
	margin-top: 14px;
	padding: 0 1.25rem !important;
	background: var(--ddw-wine) !important;
	border: 0 !important;
	border-radius: 6px !important;
	color: #fff !important;
	font-size: 14px;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	box-shadow: none !important;
	transition: background 0.28s ease, transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ddw-summary__cta:hover,
.ddw-summary .checkout-button:hover,
#place_order.ddw-summary__cta:hover {
	background: var(--ddw-wine-deep) !important;
	color: #fff !important;
	transform: translateY(-2px);
}

.ddw-security-note {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-top: 12px;
	padding: 11px 13px;
	background: var(--ddw-beige);
	border: 1px solid var(--ddw-line);
	border-radius: 6px;
	font-size: 12px;
	color: var(--ddw-muted);
	line-height: 1.4;
}

.ddw-security-note svg {
	flex-shrink: 0;
	color: var(--ddw-gold);
}

.ddw-hidden-field,
.ddw-checkout .form-row.ddw-hidden-field {
	display: none !important;
}

/* -------------------------------------------------------------------------
 * Checkout
 * ---------------------------------------------------------------------- */
.ddw-checkout__card {
	margin-bottom: 1.15rem;
}

.ddw-checkout__card--shipping .woocommerce-billing-fields > h3,
.ddw-checkout__card--shipping .woocommerce-shipping-fields > h3,
.ddw-checkout__card--shipping .woocommerce-additional-fields > h3 {
	display: none;
}

.ddw-checkout .woocommerce-billing-fields {
	border-top: none;
	padding-top: 0;
}

.ddw-checkout .form-row label {
	margin-bottom: 7px;
	font-size: 13px;
	font-weight: 500;
	color: var(--ddw-ink);
}

.ddw-checkout .form-row .required {
	color: var(--ddw-price);
	text-decoration: none;
}

.ddw-checkout .form-row .optional {
	color: var(--ddw-muted-soft);
	font-weight: 400;
}

.ddw-checkout .form-row input.input-text,
.ddw-checkout .form-row textarea,
.ddw-checkout .form-row select,
.ddw-checkout .select2-container .select2-selection--single {
	height: 44px;
	min-height: 44px;
	padding: 0 13px !important;
	border: 1px solid var(--ddw-border) !important;
	border-radius: 5px !important;
	background: #fff !important;
	font-size: 13.5px;
	color: var(--ddw-text);
	box-shadow: none !important;
	transition: border-color 0.24s ease;
}

/* Select2: keep rendered text vertically centered in 44px field */
.ddw-checkout .select2-container .select2-selection--single {
	display: flex !important;
	align-items: center;
	box-sizing: border-box;
}

.ddw-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
	position: relative;
	display: block;
	width: 100%;
	box-sizing: border-box;
	line-height: 44px !important;
	padding: 0 48px 0 0 !important;
	color: var(--ddw-text);
}

.ddw-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 42px !important;
	top: 1px !important;
	right: 6px !important;
}

/* Clear (×) lives inside .select2-selection__rendered — pin to the right, red */
.ddw-checkout .select2-container--default .select2-selection--single .select2-selection__rendered .select2-selection__clear {
	position: absolute;
	top: 0;
	right: 22px;
	left: auto;
	float: none;
	margin: 0;
	padding: 0;
	height: 44px;
	line-height: 44px !important;
	color: var(--ddw-price) !important;
	font-weight: 600;
	font-size: 16px;
	cursor: pointer;
}

.ddw-checkout .select2-container .select2-choice > .select2-chosen,
.ddw-checkout .select2-container .select2-selection--single .select2-selection__rendered,
.ddw-checkout .select2-selection {
	line-height: 44px !important;
	width: 100%;
}

.ddw-checkout .form-row textarea {
	height: auto;
	padding: 11px 13px !important;
	resize: vertical;
}

.ddw-checkout .form-row input.input-text:focus,
.ddw-checkout .form-row textarea:focus,
.ddw-checkout .form-row select:focus,
.ddw-checkout .select2-container--open .select2-selection--single {
	border-color: var(--ddw-gold) !important;
}

.ddw-checkout .form-row ::placeholder {
	color: var(--ddw-muted-faint);
}

.ddw-checkout .smt-vcac-field,
.ddw-checkout .form-row-first,
.ddw-checkout .form-row-last,
.ddw-checkout .form-row-wide {
	margin-bottom: 16px;
}

/* SMT VCAC: card theme already has "Thông tin giao hàng" — drop plugin box chrome */
.ddw-checkout .smt-vcac-section,
.ddw-checkout #smt-vcac-section-2cap,
.ddw-checkout #smt-vcac-section-3cap {
	margin: 0;
	padding: 0;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0;
	box-shadow: none;
}

.ddw-checkout #smt-vcac-address-wrapper {
	margin-top: 0;
}

.ddw-checkout .smt-vcac-auto-badge--standalone {
	display: inline-block;
	margin: 0 0 12px;
}

.ddw-checkout #customer_details {
	padding-bottom: 0.25rem;
}

/* Payment method cards */
.ddw-payment__methods {
	display: flex;
	flex-direction: column;
	gap: 11px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ddw-payment__method {
	margin: 0;
	border: 1px solid var(--ddw-border);
	border-radius: 6px;
	background: #fff;
	transition: border-color 0.24s ease, background 0.24s ease;
	margin-bottom: 10px;
}

.ddw-payment__method:hover {
	border-color: var(--ddw-gold);
	background: #fdfaf6;
}

.ddw-payment__method:has(input:checked) {
	border: 1.5px solid var(--ddw-wine);
	background: #fdf7f4;
}

.ddw-payment__method > input.input-radio {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ddw-payment__label {
	display: flex !important;
	flex-direction: row;
	align-items: center;
	gap: 11px;
	padding: 13px 15px;
	margin: 0 !important;
	cursor: pointer;
	font-weight: 400;
	color: var(--ddw-text);
	line-height: 1.35;
}

/* Radio is drawn on the label so the card can style its checked state. */
.ddw-payment__label::before {
	content: "";
	flex-shrink: 0;
	width: 17px;
	height: 17px;
	border-radius: 50%;
	border: 1.5px solid #d5cabe;
	box-shadow: inset 0 0 0 0 var(--ddw-wine);
	transition: border-color 0.24s ease, box-shadow 0.24s ease;
}

.ddw-payment__method:has(input:checked) .ddw-payment__label::before {
	border-color: var(--ddw-wine);
	box-shadow: inset 0 0 0 4.5px var(--ddw-wine);
}

.ddw-payment__gateway-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	color: var(--ddw-gold);
}

.ddw-payment__gateway-icon svg {
	display: block;
	width: 26px;
	height: 26px;
}

.ddw-payment__gateway-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 3px;
	min-width: 0;
	flex: 1 1 auto;
}

.ddw-payment__gateway-title {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--ddw-text);
}

.ddw-payment__gateway-note {
	font-size: 12.5px;
	font-weight: 400;
	color: var(--ddw-muted);
}

.ddw-payment__method .payment_box {
	margin: 0;
	padding: 0 15px 13px 66px;
	background: transparent;
	border: 0;
	font-size: 12.5px;
	color: var(--ddw-muted);
}

.ddw-payment__place-order {
	margin: 0.75rem 0 0;
	padding: 0;
	border: 0;
}

.ddw-checkout__card--order .ddw-review {
	margin-bottom: 0.5rem;
}

.ddw-review__items {
	list-style: none;
	margin: 0 0 0.75rem;
	padding: 0;
}

.ddw-review__item {
	display: grid;
	grid-template-columns: 56px 1fr auto;
	gap: 0.65rem;
	align-items: center;
	padding: 0.65rem 0;
	border-bottom: 1px solid var(--ddw-border);
}

.ddw-review__thumb img {
	width: 56px;
	height: 56px;
	object-fit: contain;
	border-radius: 6px;
	background: var(--ddw-beige);
}

.ddw-review__name {
	display: block;
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.3;
}

.ddw-review__qty {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 0.35rem;
	padding: 0.15rem 0.55rem;
	border-radius: 999px;
	background: var(--ddw-beige);
	border: 1px solid var(--ddw-border);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.3;
	color: var(--ddw-wine);
}

.ddw-review__total {
	font-weight: 700;
	color: var(--ddw-wine);
	white-space: nowrap;
	font-size: 0.9rem;
}

.ddw-checkout__sidebar .ddw-payment--place-order {
	margin-top: 0.5rem;
}

/* -------------------------------------------------------------------------
 * Thank you
 * ---------------------------------------------------------------------- */
.ddw-thankyou__hero {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 28px;
	align-items: center;
	padding: 34px 36px;
	margin-bottom: 20px;
	background: linear-gradient(180deg, var(--ddw-page) 0%, var(--ddw-beige) 100%);
	border: 1px solid var(--ddw-border);
	border-radius: var(--ddw-radius);
	text-align: left;
}

.ddw-thankyou__check {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 112px;
	height: 112px;
	margin: 0;
	border-radius: 50%;
	border: 3px solid var(--ddw-gold);
	background: #fff;
	color: var(--ddw-wine);
}

/* Desktop check beside copy; mobile check lives inside hero-body */
.ddw-thankyou__check.desktop {
	display: flex;
}

.ddw-thankyou__check.mobile {
	display: none;
}

/* Mobile: icon left + title right (desktop: heading only) */
.ddw-thankyou__check-title-wrapper {
	display: block;
}

.ddw-thankyou__heading {
	margin: 0 0 10px;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ddw-wine);
}

.ddw-thankyou__lead {
	max-width: none;
	margin: 0 0 4px;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--ddw-body);
}

.ddw-thankyou__lead--last {
	margin-bottom: 20px;
}

.ddw-thankyou__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 14px 32px;
}

.ddw-thankyou__meta-box {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	padding: 0;
	border: 0;
	background: none;
	text-align: left;
}

.ddw-thankyou__meta-label {
	display: inline;
	margin: 0;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ddw-muted);
}

.ddw-thankyou__meta-value {
	font-size: 14px;
	font-weight: 600;
	color: var(--ddw-text);
}

.ddw-thankyou__meta-box--code .ddw-thankyou__meta-value {
	padding: 7px 16px;
	border: 1.5px dashed var(--ddw-price);
	border-radius: 5px;
	background: #fff;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--ddw-price);
}

.ddw-thankyou__thead,
.ddw-thankyou__item {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 34px 92px 96px;
	gap: 12px;
	align-items: center;
}

.ddw-thankyou__thead {
	margin: 0 calc(var(--ddw-pad) * -1);
	padding: 11px var(--ddw-pad);
	background: var(--ddw-beige);
	border-bottom: 1px solid var(--ddw-line);
	font-size: 10.5px;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--ddw-muted);
}

.ddw-thankyou__thead-product {
	grid-column: 1 / span 2;
}

.ddw-thankyou__thead-qty {
	text-align: center;
}

.ddw-thankyou__thead-price,
.ddw-thankyou__thead-total {
	text-align: right;
}

.ddw-thankyou__items {
	list-style: none;
	margin: 0 calc(var(--ddw-pad) * -1) 14px;
	padding: 0;
}

.ddw-thankyou__item {
	padding: 12px var(--ddw-pad);
	border-bottom: 1px solid var(--ddw-line-soft);
}

.ddw-thankyou__thumb img {
	width: 44px;
	height: 50px;
	object-fit: cover;
	border-radius: 3px;
	background: var(--ddw-thumb);
}

.ddw-thankyou__info {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.ddw-thankyou__name {
	display: block;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--ddw-text);
}

.ddw-thankyou__item-meta {
	display: block;
	margin: 0;
	font-size: 11.5px;
	color: var(--ddw-muted);
}

.ddw-thankyou__item-size {
	display: block;
	font-size: 11px;
	color: var(--ddw-muted-faint);
}

.ddw-thankyou__qty {
	text-align: center;
	font-size: 13px;
	color: var(--ddw-body);
}

.ddw-thankyou__unit {
	text-align: right;
	font-size: 13px;
	color: var(--ddw-body);
}

.ddw-thankyou__line-total {
	text-align: right;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--ddw-price);
	white-space: nowrap;
}

.ddw-thankyou__card {
	margin-bottom: 1rem;
}

.ddw-thankyou__address {
	display: flex;
	flex-direction: column;
	gap: 11px;
}

.ddw-thankyou__addr-row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	font-size: 13.5px;
}

.ddw-thankyou__addr-label {
	color: var(--ddw-muted);
}

.ddw-thankyou__addr-value {
	font-weight: 600;
	color: var(--ddw-text);
	text-align: right;
}

.ddw-thankyou__pay {
	display: flex;
	align-items: center;
	gap: 13px;
}

.ddw-thankyou__pay-icon {
	display: inline-flex;
	flex-shrink: 0;
	color: var(--ddw-gold);
}

.ddw-thankyou__pay-text {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.ddw-thankyou__pay-method {
	margin: 0;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--ddw-text);
}

.ddw-thankyou__pay-note {
	font-size: 12.5px;
	color: var(--ddw-muted);
}

.ddw-thankyou__support {
	background: var(--ddw-beige);
	text-align: center;
}

.ddw-thankyou__support .ddw-checkout__card-title {
	justify-content: center;
	margin-bottom: 5px;
	padding-bottom: 0;
	border-bottom: 0;
	font-size: 13.5px;
	color: var(--ddw-wine);
}

.ddw-thankyou__support-lead {
	margin: 0 0 18px;
	font-size: 13px;
	color: var(--ddw-muted);
}

.ddw-thankyou__support-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ddw-thankyou__support-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.ddw-thankyou__support-list a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-decoration: none;
}

.ddw-thankyou__support-phones {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
}

.ddw-thankyou__support-phones .ddw-thankyou__support-note {
	display: block;
	line-height: 1.35;
}

.ddw-thankyou__support-phones .ddw-thankyou__support-note:hover {
	color: var(--ddw-wine);
}

.ddw-thankyou__support-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--ddw-border);
	color: var(--ddw-price);
}

.ddw-thankyou__support-title {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--ddw-text);
}

.ddw-thankyou__support-note {
	font-size: 12px;
	color: var(--ddw-muted);
	word-break: break-word;
}

.ddw-thankyou__ctas {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 20px 0 0;
}

.ddw-thankyou__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 52px;
	padding: 0 1rem;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.26s ease, color 0.26s ease, transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ddw-thankyou__cta svg {
	flex-shrink: 0;
}

.ddw-thankyou__cta--outline {
	border: 1px solid var(--ddw-gold);
	color: var(--ddw-wine);
	background: #fff;
}

.ddw-thankyou__cta--outline:hover {
	background: #fbf2e4;
	color: var(--ddw-wine);
}

.ddw-thankyou__cta--track {
	border-color: var(--ddw-price);
	color: var(--ddw-price);
}

.ddw-thankyou__cta--track:hover {
	background: #fbede9;
	color: var(--ddw-price);
}

.ddw-thankyou__cta--solid {
	border: 0;
	background: var(--ddw-wine);
	color: #fff;
	font-weight: 700;
}

.ddw-thankyou__cta--solid:hover {
	background: var(--ddw-wine-deep);
	color: #fff;
	transform: translateY(-2px);
}

.ddw-thankyou .woocommerce-order-details,
.ddw-thankyou .woocommerce-customer-details {
	display: none;
}

/* -------------------------------------------------------------------------
 * Trust strip (shared by cart / checkout / thank-you)
 * ---------------------------------------------------------------------- */
.ddw-trust {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	padding: 22px 0;
	margin-top: 26px;
	background: var(--ddw-beige);
	border: 1px solid var(--ddw-border);
	border-radius: var(--ddw-radius);
}

.ddw-trust__item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 0 16px;
}

.ddw-trust__item svg {
	flex-shrink: 0;
	color: var(--ddw-gold);
}

.ddw-trust__text {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.ddw-trust__title {
	font-size: 13px;
	font-weight: 600;
	color: var(--ddw-text);
}

.ddw-trust__note {
	font-size: 13px;
	color: var(--ddw-muted);
}

/* -------------------------------------------------------------------------
 * Responsive
 * ---------------------------------------------------------------------- */
@media (max-width: 1199px) {
	.ddw-thankyou__hero {
		grid-template-columns: minmax(0, 1fr);
		justify-items: center;
		text-align: center;
	}

	.ddw-thankyou__meta {
		justify-content: center;
	}
}

@media (max-width: 899px) {
	.ddw-trust {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 20px;
	}

	.ddw-thankyou__ctas {
		grid-template-columns: minmax(0, 1fr);
	}

	.ddw-thankyou__support-list {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.ddw-thankyou__support-item,
	.ddw-thankyou__support-list a {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: flex-start;
		text-align: left;
		gap: 12px;
	}

	.ddw-thankyou__support-item--phone .ddw-thankyou__support-title {
		flex: 1 1 auto;
	}

	.ddw-thankyou__support-phones {
		flex: 1 1 100%;
		padding-left: 50px;
		align-items: flex-start;
	}
}

@media (max-width: 849px) {
	/* Shared shell — tighter steps + card padding when columns stack */
	.ddw-steps {
		padding: 1rem 0 0;
		margin-bottom: 1.1rem;
	}

	.ddw-steps__item {
		gap: 6px;
		padding: 0 4px;
		font-size: 10px;
		letter-spacing: 0.06em;
	}

	.ddw-steps__label {
		font-size: 10px;
		letter-spacing: 0.06em;
		line-height: 1.25;
		max-width: 7.5em;
	}

	.ddw-steps__icon {
		width: 36px;
		height: 36px;
	}

	.ddw-steps__icon i {
		font-size: 17px;
	}

	.ddw-steps__icon .ddw-steps__cart-img {
		width: 18px;
		height: 18px;
	}

	.ddw-steps__divider {
		top: 17px;
		left: calc(50% + 22px);
		right: calc(-50% + 22px);
		width: auto;
	}

	.woocommerce-cart .ddw-cart,
	.woocommerce-checkout .ddw-checkout,
	.woocommerce-checkout .ddw-thankyou,
	.ddw-trust {
		--ddw-pad: 16px;
	}

	.ddw-checkout__card,
	.ddw-summary {
		padding: 0 var(--ddw-pad) var(--ddw-pad);
	}

	/* Checkout — unsticky sidebar after Flatsome column stack */
	.ddw-checkout__sidebar .is-sticky-column,
	.ddw-checkout__sidebar .col-inner,
	.ddw-checkout__sidebar .is-sticky-column .col-inner {
		position: static !important;
		top: auto !important;
	}

	/* Checkout forms — full-width halves + Select2 */
	.ddw-checkout .form-row-first,
	.ddw-checkout .form-row-last,
	.ddw-checkout .smt-vcac-field.form-row-first,
	.ddw-checkout .smt-vcac-field.form-row-last {
		float: none !important;
		width: 100% !important;
		max-width: 100% !important;
		clear: both;
	}

	/* SMT VCAC uses min-width:768 grid — force single column under Flatsome stack */
	.ddw-checkout .smt-vcac-section-3cap .smt-vcac-fields,
	.ddw-checkout .smt-vcac-section-2cap .smt-vcac-fields,
	.ddw-checkout .smt-vcac-fields {
		display: block !important;
		grid-template-columns: none !important;
	}

	.ddw-checkout .smt-vcac-fields .form-row,
	.ddw-checkout .smt-vcac-fields .form-row-first,
	.ddw-checkout .smt-vcac-fields .form-row-last,
	.ddw-checkout .smt-vcac-fields .smt-vcac-col-1-3,
	.ddw-checkout .smt-vcac-fields .smt-vcac-col-full {
		float: none !important;
		width: 100% !important;
		max-width: 100% !important;
		grid-column: auto !important;
		clear: both;
	}

	.ddw-checkout .select2-container {
		width: 100% !important;
	}

	.ddw-checkout .form-row input.input-text,
	.ddw-checkout .form-row textarea,
	.ddw-checkout .form-row select {
		max-width: 100%;
	}

	/* Payment — less indent; readable gateway row */
	.ddw-payment__method .payment_box {
		padding-left: 15px;
		padding-right: 15px;
	}

	.ddw-payment__label {
		gap: 10px;
	}

	.ddw-payment__gateway-icon {
		flex-shrink: 0;
	}

	.ddw-payment__gateway-text {
		min-width: 0;
	}

	/* Review lines + place order */
	.ddw-review__item {
		grid-template-columns: 52px minmax(0, 1fr);
	}

	.ddw-review__name {
		min-width: 0;
	}

	.ddw-review__total {
		grid-column: 2;
		justify-self: start;
		white-space: normal;
	}

	.ddw-checkout__sidebar .ddw-payment--place-order,
	.ddw-payment__place-order {
		margin-top: 0.75rem;
	}

	#place_order.ddw-summary__cta,
	.ddw-summary__cta,
	.ddw-summary .checkout-button {
		width: 100%;
		min-height: 52px;
	}

	/* Thank-you hero — mobile: check | title row + centered copy + meta rows */
	.ddw-thankyou__hero {
		position: relative;
		display: block;
		padding: 28px 18px 24px;
		text-align: center;
	}

	.ddw-thankyou__check.desktop {
		display: none !important;
	}

	.ddw-thankyou__check-title-wrapper {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		gap: 14px;
		width: 100%;
		margin: 0 0 12px;
		text-align: left;
	}

	.ddw-thankyou__check.mobile {
		display: flex;
		flex-shrink: 0;
		width: 56px;
		height: 56px;
		border-width: 2.5px;
	}

	.ddw-thankyou__check.mobile svg {
		width: 28px;
		height: 28px;
	}

	.ddw-thankyou__hero-body {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 100%;
	}

	.ddw-thankyou__check-title-wrapper .ddw-thankyou__heading {
		flex: 1;
		min-width: 0;
		max-width: none;
		margin: 0;
		padding: 0;
		font-size: 22px;
		line-height: 1.25;
		letter-spacing: 0.03em;
		text-align: left;
	}

	.ddw-thankyou__lead {
		max-width: 28em;
		margin: 0 0 6px;
		padding: 0 4px;
		font-size: 14px;
		line-height: 1.55;
		text-align: left;
	}

	.ddw-thankyou__lead--last {
		margin-bottom: 18px;
	}

	.ddw-thankyou__meta {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		width: 100%;
		max-width: 100%;
		margin: 0;
		flex-wrap: nowrap;
	}

	.ddw-thankyou__meta-box {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		width: 100%;
		max-width: 100%;
		text-align: left;
	}

	.ddw-thankyou__meta-label {
		flex: 0 1 auto;
		min-width: 0;
		font-size: 11px;
		letter-spacing: 0.08em;
	}

	.ddw-thankyou__meta-value {
		flex: 0 0 auto;
		font-size: 14px;
		text-align: right;
	}

	.ddw-thankyou__meta-box--code .ddw-thankyou__meta-value {
		padding: 6px 12px;
	}

	.ddw-thankyou__thead {
		display: none;
	}

	.ddw-thankyou__item {
		grid-template-columns: 44px minmax(0, 1fr);
		row-gap: 8px;
	}

	.ddw-thankyou__qty,
	.ddw-thankyou__unit,
	.ddw-thankyou__line-total {
		display: flex;
		align-items: baseline;
		justify-content: space-between;
		gap: 0.75rem;
		grid-column: 2;
		text-align: right;
	}

	.ddw-thankyou__qty::before,
	.ddw-thankyou__unit::before,
	.ddw-thankyou__line-total::before {
		content: attr(data-title);
		font-size: 11px;
		font-weight: 600;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		color: var(--ddw-muted);
		text-align: left;
	}
}

@media (max-width: 699px) {
	.ddw-trust {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 18px;
	}

	.ddw-trust__item {
		justify-content: flex-start;
	}
}
