/**
 * WooCommerce overrides
 *
 * @package DNA_Peptides
 */

.dna-shop-page ul.products,
.woocommerce ul.products,
ul.products.columns-4 {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 22px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	clear: both !important;
}

.dna-shop-page ul.products::before,
.dna-shop-page ul.products::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none !important;
	content: none !important;
}

.dna-shop-page ul.products li.product,
.woocommerce ul.products li.product {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	float: none !important;
	clear: none !important;
}

/* Product card in shop loop */
ul.products li.product.product-card {
	display: flex !important;
	flex-direction: column;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: var(--surface);
	overflow: hidden;
	transition: 0.25s;
	position: relative;
}

ul.products li.product.product-card:hover {
	transform: translateY(-6px);
	border-color: var(--border-strong);
	box-shadow: var(--shadow);
}

ul.products li.product .product-card__media .woocommerce-loop-product__link {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
}

ul.products li.product .product-card__media {
	position: relative;
	aspect-ratio: 1 / 1;
	display: grid;
	place-items: center;
	background: radial-gradient(circle at 50% 30%, rgba(139,92,246,0.18), transparent 70%), var(--bg-3);
	border-bottom: 1px solid var(--border);
	overflow: hidden;
}

ul.products li.product .product-card__body {
	padding: 16px 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
}

ul.products li.product .product-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 10px;
	gap: 10px;
}

ul.products li.product .product-card__foot .button {
	flex-shrink: 0;
}

.woocommerce .product-card__media img,
.woocommerce .product-card__media .dna-product-placeholder,
ul.products li.product .product-card__media img,
ul.products li.product .dna-product-placeholder {
	width: 78%;
	height: auto;
	max-height: 78%;
	object-fit: contain;
	margin: 0 auto;
	transition: 0.3s;
}

ul.products li.product:hover .product-card__media img,
ul.products li.product:hover .dna-product-placeholder {
	transform: translateY(-4px) scale(1.03);
}

.woocommerce .product-card__foot .button {
	margin: 0;
}

.woocommerce .product-card__foot .price del {
	color: var(--faint);
	font-size: 13px;
	font-weight: 500;
	margin-left: 4px;
}

.woocommerce .product-card__foot .price ins {
	text-decoration: none;
}

/* Single product */
.woocommerce div.product {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
}

.woocommerce div.product div.images {
	position: sticky;
	top: 96px;
	border-radius: var(--radius-lg);
	border: 1px solid var(--border);
	background: radial-gradient(circle at 50% 30%, rgba(139,92,246,0.2), transparent 70%), var(--bg-3);
	aspect-ratio: 1 / 1;
	display: grid;
	place-items: center;
	overflow: hidden;
	padding: 24px;
}

.woocommerce div.product div.images img,
.woocommerce div.product div.images .dna-product-placeholder {
	max-height: 72%;
	width: auto;
	object-fit: contain;
}

.woocommerce div.product .product_title {
	font-family: var(--font-display);
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 800;
	letter-spacing: -0.02em;
}

.woocommerce div.product p.price {
	font-family: var(--font-display);
	font-size: 32px;
	font-weight: 700;
	color: var(--text) !important;
}

.woocommerce div.product form.cart .button,
.woocommerce div.product .single_add_to_cart_button {
	background: var(--grad-violet) !important;
	color: #fff !important;
	border-radius: 999px !important;
	padding: 13px 24px !important;
	font-weight: 600 !important;
	border: none !important;
}

.woocommerce div.product form.cart .button:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 40px -10px rgba(139,92,246,0.9);
}

.woocommerce div.product .woocommerce-product-details__short-description {
	color: var(--muted);
}

.woocommerce div.product .variations select,
.woocommerce div.product .quantity .qty {
	background: var(--surface);
	border: 1px solid var(--border);
	color: var(--text);
	border-radius: 12px;
	padding: 10px;
}

/* Contact Form 7 */
.dna-cf7-form .field,
.wpcf7-form .field {
	margin-bottom: 16px;
}

.dna-cf7-form label,
.wpcf7-form label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 7px;
	color: var(--muted);
}

.dna-cf7-form input,
.dna-cf7-form textarea,
.dna-cf7-form select,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
	width: 100%;
	padding: 13px 15px;
	border-radius: 12px;
	border: 1px solid var(--border);
	background: var(--surface);
	color: var(--text);
	font-size: 15px;
}

.dna-cf7-form input:focus,
.dna-cf7-form textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
	outline: none;
	border-color: var(--border-strong);
}

.wpcf7-form .wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 13px 24px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	background: var(--grad-violet);
	color: #fff;
	border: none;
	cursor: pointer;
	box-shadow: 0 10px 30px -10px rgba(139,92,246,0.7);
}

.wpcf7-form .wpcf7-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 40px -10px rgba(139,92,246,0.9);
}

.wpcf7-response-output {
	border-radius: 12px !important;
	margin-top: 16px !important;
}

/* Shop page */
.dna-shop-page .woocommerce-products-header {
	display: none;
}

.dna-shop-page .woocommerce-result-count,
.dna-shop-page .woocommerce-ordering {
	display: none;
}

@media (max-width: 980px) {
	.dna-shop-page ul.products,
	.woocommerce ul.products,
	ul.products.columns-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
	.woocommerce div.product {
		grid-template-columns: 1fr;
	}
	.woocommerce div.product div.images {
		position: static;
	}
}

@media (max-width: 560px) {
	.dna-shop-page ul.products,
	.woocommerce ul.products,
	ul.products.columns-4 {
		grid-template-columns: 1fr !important;
	}
}

/* ============================================================
   Cart & Checkout — WooCommerce Blocks (dark theme)
   ============================================================ */

.dna-wc-checkout-wrap .container,
.dna-wc-cart-wrap .container {
	max-width: var(--maxw);
}

.dna-page-checkout .wp-block-post-title,
.dna-page-cart .wp-block-post-title,
.dna-wc-checkout-wrap .wp-block-post-title,
.dna-wc-cart-wrap .wp-block-post-title {
	display: none;
}

/* Block wrapper */
.dna-wc-blocks,
.wc-block-checkout,
.wc-block-cart,
.wp-block-woocommerce-checkout,
.wp-block-woocommerce-cart {
	color: var(--text);
}

/* Section headings */
.wc-block-components-checkout-step__title,
.wc-block-components-title,
.wc-block-cart__totals-title,
.wc-block-components-order-summary__button-text,
.wc-block-components-panel__button {
	font-family: var(--font-display) !important;
	color: var(--text) !important;
}

.wc-block-components-checkout-step__description,
.wc-block-components-checkbox__label,
.wc-block-components-radio-control__label {
	color: var(--muted) !important;
}

/* Floating-label text inputs — preserve WC layout, only theme colors */
.wc-block-components-text-input,
.wc-block-components-form .wc-block-components-text-input {
	position: relative !important;
	line-height: 0 !important;
}

.wc-block-components-text-input label,
.wc-block-components-form .wc-block-components-text-input label {
	color: var(--muted) !important;
	left: 15px !important;
	top: 25px !important;
	transform: translateY(-50%) !important;
	transform-origin: top left !important;
	z-index: 2 !important;
	pointer-events: none !important;
}

.wc-block-components-text-input.is-active label,
.wc-block-components-text-input:focus-within label,
.wc-block-components-text-input input:-webkit-autofill + label,
.wc-block-components-form .wc-block-components-text-input.is-active label,
.wc-block-components-form .wc-block-components-text-input:focus-within label {
	top: 6px !important;
	transform: scale(0.82) !important;
	color: var(--faint) !important;
}

.wc-block-components-text-input input,
.wc-block-components-text-input input[type="text"],
.wc-block-components-text-input input[type="email"],
.wc-block-components-text-input input[type="tel"],
.wc-block-components-text-input input[type="password"],
.wc-block-components-textarea,
.wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-block-components-address-autocomplete-container input {
	background: var(--surface) !important;
	border: 1px solid var(--border) !important;
	border-radius: 12px !important;
	color: var(--text) !important;
	font-size: 16px !important;
	height: 50px !important;
	min-height: 50px !important;
	box-shadow: none !important;
	padding: 8px 15px !important;
}

.wc-block-components-text-input.is-active input,
.wc-block-components-text-input.is-active input[type="text"],
.wc-block-components-text-input.is-active input[type="email"],
.wc-block-components-text-input.is-active input[type="tel"],
.wc-block-components-text-input.is-active input[type="password"],
.wc-block-components-text-input:focus-within input,
.wc-block-components-text-input:focus-within input[type="text"],
.wc-block-components-text-input:focus-within input[type="email"],
.wc-block-components-text-input:focus-within input[type="tel"],
.wc-block-components-text-input:focus-within input[type="password"],
.wc-block-components-text-input input:-webkit-autofill {
	padding-top: 24px !important;
	padding-bottom: 6px !important;
	padding-left: 15px !important;
	padding-right: 15px !important;
}

.wc-block-components-textarea {
	height: auto !important;
	min-height: 100px !important;
	padding: 15px !important;
	line-height: 1.5 !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-textarea:focus,
.wc-block-components-combobox .wc-block-components-combobox-control input:focus {
	border-color: var(--border-strong) !important;
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15) !important;
}

.wc-block-components-text-input input::placeholder,
.wc-block-components-textarea::placeholder {
	color: var(--faint) !important;
	opacity: 1 !important;
}

/* Select / country dropdowns — floating label layout */
.wc-blocks-components-select .wc-blocks-components-select__container {
	background: var(--surface) !important;
	border-radius: 12px !important;
	position: relative !important;
	min-height: 50px !important;
}

.wc-blocks-components-select .wc-blocks-components-select__label {
	left: 15px !important;
	top: 6px !important;
	font-size: 11px !important;
	color: var(--faint) !important;
	z-index: 2 !important;
	max-width: calc(100% - 30px) !important;
}

.wc-blocks-components-select .wc-blocks-components-select__select {
	background: transparent !important;
	border: 1px solid var(--border) !important;
	border-radius: 12px !important;
	color: var(--text) !important;
	height: 50px !important;
	min-height: 50px !important;
	padding: 20px 36px 6px 15px !important;
	font-size: 16px !important;
}

.wc-blocks-components-select .wc-blocks-components-select__select:focus {
	border-color: var(--border-strong) !important;
	box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15) !important;
}

/* Order summary sidebar */
.wc-block-components-sidebar,
.wc-block-checkout__sidebar,
.wc-block-cart__sidebar {
	background: linear-gradient(160deg, rgba(31,63,191,0.14), rgba(74,25,164,0.10)) !important;
	border: 1px solid var(--border-strong) !important;
	border-radius: var(--radius-lg) !important;
	padding: 24px !important;
}

.wc-block-components-order-summary-item__description,
.wc-block-components-order-summary-item__individual-prices,
.wc-block-components-product-metadata,
.wc-block-components-totals-item,
.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value {
	color: var(--muted) !important;
}

.wc-block-components-order-summary-item__quantity {
	color: var(--faint) !important;
}

.wc-block-components-product-name,
.wc-block-components-order-summary-item__individual-price,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	color: var(--text) !important;
	font-family: var(--font-display);
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-size: 1.25rem !important;
	font-weight: 700 !important;
}

/* Product thumb in order summary & cart */
.wc-block-components-order-summary .wc-block-components-order-summary-item__image,
.wc-block-components-order-summary-item__image,
.wc-block-cart-item__image {
	width: 48px !important;
	min-width: 48px !important;
	max-width: 48px !important;
	height: 48px !important;
	flex-shrink: 0 !important;
	padding-bottom: 0 !important;
	margin-top: 8px !important;
	border-radius: 10px !important;
	overflow: hidden !important;
	border: 1px solid var(--border) !important;
	background: radial-gradient(circle at 50% 30%, rgba(139,92,246,0.18), transparent 70%), var(--bg-3) !important;
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: center !important;
	position: relative !important;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__image > img,
.wc-block-components-order-summary-item__image img,
.wc-block-cart-item__image img,
.wc-block-components-order-summary-item__image .dna-product-placeholder,
.wc-block-cart-item__image .dna-product-placeholder {
	width: 48px !important;
	height: 48px !important;
	max-width: 48px !important;
	max-height: 48px !important;
	min-width: 48px !important;
	min-height: 48px !important;
	object-fit: contain !important;
	display: block !important;
	margin: 0 !important;
	padding: 4px !important;
	box-sizing: border-box !important;
	flex-shrink: 0 !important;
}

/* Checkout steps */
.wc-block-components-checkout-step {
	border-bottom: 1px solid var(--border);
	padding-bottom: 24px !important;
	margin-bottom: 24px !important;
}

.wc-block-components-checkout-step:last-child {
	border-bottom: none;
}

/* Payment methods */
.wc-block-components-radio-control-accordion-option {
	background: var(--surface) !important;
	border: 1px solid var(--border) !important;
	border-radius: 12px !important;
	margin-bottom: 8px !important;
}

.wc-block-components-radio-control__option--checked-option-highlighted,
.wc-block-components-radio-control-accordion-option--checked-option-highlighted {
	border-color: var(--border-strong) !important;
	background: var(--grad-soft) !important;
}

.wc-block-components-radio-control__input {
	accent-color: var(--violet) !important;
}

/* Checkbox */
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] {
	background: var(--surface) !important;
	border: 1px solid var(--border) !important;
	border-radius: 4px !important;
}

/* Notices — payment errors, validation, etc. */
.wc-block-components-notice-banner,
.wc-block-checkout .wc-block-components-notice-banner,
.wc-block-components-notices .wc-block-components-notice-banner {
	display: flex !important;
	align-items: flex-start !important;
	gap: 10px !important;
	border-radius: 12px !important;
	border: 1px solid var(--border) !important;
	background: rgba(251, 191, 36, 0.12) !important;
	color: var(--text) !important;
	padding: 14px 16px !important;
	margin-bottom: 16px !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
}

.wc-block-components-notice-banner.is-error,
.wc-block-components-notice-banner--error {
	background: rgba(248, 113, 113, 0.15) !important;
	border-color: rgba(248, 113, 113, 0.45) !important;
	color: #fecaca !important;
}

.wc-block-components-notice-banner.is-error .wc-block-components-notice-banner__content,
.wc-block-components-notice-banner--error .wc-block-components-notice-banner__content {
	color: #fecaca !important;
}

.wc-block-components-notice-banner.is-info,
.wc-block-components-notice-banner.is-warning {
	background: rgba(251, 191, 36, 0.12) !important;
	border-color: rgba(251, 191, 36, 0.4) !important;
}

.wc-block-components-validation-error {
	color: #f87171 !important;
	font-size: 13px !important;
	padding-top: 6px !important;
}

/* Buttons — Place order, Proceed to checkout */
.wc-block-components-checkout-place-order-button,
.wc-block-cart__submit-container .wc-block-components-button,
.wc-block-components-button:not(.is-link) {
	background: var(--grad-violet) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 999px !important;
	padding: 14px 28px !important;
	font-weight: 600 !important;
	font-size: 15px !important;
	box-shadow: 0 10px 30px -10px rgba(139,92,246,0.7) !important;
	transition: transform 0.18s ease, box-shadow 0.25s ease !important;
}

.wc-block-components-checkout-place-order-button:hover,
.wc-block-cart__submit-container .wc-block-components-button:hover,
.wc-block-components-button:not(.is-link):hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 16px 40px -10px rgba(139,92,246,0.9) !important;
}

.wc-block-components-button.is-link,
.wc-block-components-panel__button {
	color: var(--violet-light) !important;
	background: transparent !important;
}

/* Coupon field */
.wc-block-components-totals-coupon__input input {
	background: var(--surface) !important;
	border: 1px solid var(--border) !important;
	border-radius: 12px !important;
	color: var(--text) !important;
}

.wc-block-components-totals-coupon__button {
	border-radius: 999px !important;
	border: 1px solid var(--border) !important;
	background: var(--surface) !important;
	color: var(--text) !important;
}

.wc-block-components-totals-coupon__button:hover {
	border-color: var(--border-strong) !important;
	background: var(--surface-2) !important;
}

/* Cart table */
.wc-block-cart-items__row {
	border-bottom: 1px solid var(--border) !important;
}

.wc-block-cart-items__header th {
	color: var(--faint) !important;
	font-size: 12px !important;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.wc-block-cart-item__product .wc-block-components-product-name {
	font-family: var(--font-display);
	color: var(--text) !important;
}

.wc-block-cart-item__quantity .wc-block-components-quantity-selector {
	border: 1px solid var(--border) !important;
	border-radius: 12px !important;
	overflow: hidden;
	background: var(--surface) !important;
}

.wc-block-cart-item__quantity input {
	background: var(--bg-3) !important;
	color: var(--text) !important;
	border: none !important;
}

.wc-block-cart-item__quantity button {
	background: var(--surface) !important;
	color: var(--text) !important;
}

/* Dividers */
.wc-block-components-order-summary .wc-block-components-panel__content,
.wc-block-components-totals-wrapper {
	border-color: var(--border) !important;
}

/* Hide wp-site-blocks default gap on checkout */
.dna-page-checkout .wp-site-blocks,
.dna-page-cart .wp-site-blocks {
	padding-top: 0;
}

@media (max-width: 980px) {
	.wc-block-checkout,
	.wc-block-cart {
		gap: 24px;
	}
}

/* ============================================================
   Order Received / Thank You
   ============================================================ */

.dna-page-order-received .wp-block-post-title,
.dna-wc-order-received-wrap .wp-block-post-title {
	display: none;
}

.container--narrow {
	max-width: 920px;
}

.dna-order-received {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* Success banner */
.dna-order-received__success {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding: 28px;
	border-radius: var(--radius-lg);
	border: 1px solid rgba(52, 211, 153, 0.35);
	background:
		linear-gradient(135deg, rgba(52, 211, 153, 0.12), rgba(31, 63, 191, 0.10)),
		var(--surface);
	box-shadow: 0 20px 50px -24px rgba(52, 211, 153, 0.35);
}

.dna-order-received__success--failed {
	border-color: rgba(248, 113, 113, 0.4);
	background:
		linear-gradient(135deg, rgba(248, 113, 113, 0.12), rgba(74, 25, 164, 0.08)),
		var(--surface);
	box-shadow: none;
}

.dna-order-received__icon {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(52, 211, 153, 0.15);
	border: 1px solid rgba(52, 211, 153, 0.35);
	color: #6ee7b7;
}

.dna-order-received__success--failed .dna-order-received__icon {
	background: rgba(248, 113, 113, 0.12);
	border-color: rgba(248, 113, 113, 0.35);
	color: #fca5a5;
}

.dna-order-received__icon svg {
	width: 28px;
	height: 28px;
}

.dna-order-received__eyebrow {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #6ee7b7;
	margin-bottom: 6px;
}

.dna-order-received__success .woocommerce-thankyou-order-received {
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 2.5vw, 1.6rem);
	font-weight: 700;
	color: var(--text);
	line-height: 1.35;
	margin: 0;
	background: none;
	border: none;
	padding: 0;
}

.dna-order-received__sub {
	margin-top: 10px;
	font-size: 14px;
	color: var(--muted);
	line-height: 1.6;
}

.dna-order-received__sub strong {
	color: var(--text);
	font-weight: 600;
}

/* Order overview cards */
.dna-order-overview {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 14px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.dna-order-overview::before,
.dna-order-overview::after {
	display: none !important;
	content: none !important;
}

.dna-order-overview li {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 20px !important;
	margin: 0 !important;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: var(--surface);
	float: none !important;
	clear: none !important;
}

.dna-order-overview__label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--faint);
}

.dna-order-overview li strong {
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 700;
	color: var(--text);
	word-break: break-word;
}

.dna-order-overview__total strong {
	font-size: 1.15rem;
	color: var(--violet-light);
}

/* Action buttons */
.dna-order-received__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.dna-order-received__actions .btn {
	min-width: 180px;
	text-align: center;
	justify-content: center;
}

/* Details grid */
.dna-order-received__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

@media (min-width: 900px) {
	.dna-order-received__grid {
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
		align-items: start;
	}
}

.dna-order-received .woocommerce-order-details,
.dna-order-received .woocommerce-customer-details {
	margin: 0;
	padding: 24px;
	border-radius: var(--radius-lg);
	border: 1px solid var(--border-strong);
	background: linear-gradient(160deg, rgba(31, 63, 191, 0.12), rgba(74, 25, 164, 0.08));
}

.dna-order-received .woocommerce-order-details__title,
.dna-order-received .woocommerce-column__title {
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--text);
	margin: 0 0 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--border);
}

/* Order table */
.dna-order-received .shop_table {
	width: 100%;
	border-collapse: collapse;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--border);
	background: rgba(6, 12, 40, 0.35);
}

.dna-order-received .shop_table thead th {
	padding: 12px 16px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--faint);
	background: var(--surface);
	border-bottom: 1px solid var(--border);
	text-align: left;
}

.dna-order-received .shop_table tbody td,
.dna-order-received .shop_table tfoot th,
.dna-order-received .shop_table tfoot td {
	padding: 14px 16px;
	border-bottom: 1px solid var(--border);
	color: var(--muted);
	font-size: 14px;
	vertical-align: top;
}

.dna-order-received .shop_table tbody td.product-name {
	color: var(--text);
	font-weight: 500;
}

.dna-order-received .shop_table tbody td.product-total,
.dna-order-received .shop_table tfoot td {
	text-align: right;
	white-space: nowrap;
}

.dna-order-received .shop_table tfoot th {
	font-weight: 500;
	color: var(--muted);
	text-align: left;
}

.dna-order-received .shop_table tfoot tr:last-child th,
.dna-order-received .shop_table tfoot tr:last-child td {
	border-bottom: none;
	font-family: var(--font-display);
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--text);
	padding-top: 18px;
}

.dna-order-received .shop_table .product-quantity {
	display: block;
	font-size: 12px;
	color: var(--faint);
	margin-top: 4px;
	font-weight: 400;
}

.dna-order-received .wc-item-meta {
	margin-top: 8px;
	font-size: 13px;
	color: var(--faint);
}

/* Billing / shipping address */
.dna-order-received address {
	font-style: normal;
	line-height: 1.75;
	color: var(--muted);
	padding: 18px;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: rgba(6, 12, 40, 0.35);
}

.dna-order-received .woocommerce-customer-details--phone,
.dna-order-received .woocommerce-customer-details--email {
	margin-top: 10px;
	font-size: 14px;
	color: var(--muted);
}

.dna-order-received .woocommerce-columns--addresses {
	display: grid;
	gap: 20px;
}

.dna-order-received .woocommerce-columns--2 {
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.dna-order-received .woocommerce-columns--2 {
		grid-template-columns: 1fr 1fr;
	}
}

/* Failed payment buttons */
.dna-order-received__success--failed .woocommerce-thankyou-order-failed-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 16px;
}

.dna-order-received__success--failed .woocommerce-thankyou-order-failed-actions .button {
	margin: 0;
}

/* Reset default WC notice chrome inside our card */
.dna-order-received .woocommerce-notice {
	background: transparent;
	border: none;
	padding: 0;
	margin: 0;
}

.dna-order-received .woocommerce-notice::before {
	display: none;
}

@media (max-width: 640px) {
	.dna-order-received__success {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.dna-order-overview {
		grid-template-columns: 1fr 1fr;
	}

	.dna-order-received__actions {
		flex-direction: column;
	}

	.dna-order-received__actions .btn {
		width: 100%;
	}
}

@media (max-width: 420px) {
	.dna-order-overview {
		grid-template-columns: 1fr;
	}
}
