/* ================================================================
   My Account + Order Received — scoped stylesheet
   Loaded only on is_account_page() || is_order_received_page()
   ================================================================ */

/* ---- My Account — Downloads page card ---- */
.sc-downloads-card {
	border: 1px solid #f3f4f6;
	border-radius: 1rem;
	overflow: hidden;
	margin-bottom: 1.5rem;
	background: #fff;
}

.sc-downloads-card__header {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: #6b7280;
	padding: 0.875rem 1.25rem;
	background: #f9fafb;
	border-bottom: 1px solid #f3f4f6;
}

.sc-downloads-card__body {
	padding: 0;
}

/* Downloads table inside card */
body.woocommerce-account .sc-downloads-card table.woocommerce-MyAccount-downloads {
	width: 100% !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	font-size: 0.8125rem !important;
	margin: 0 !important;
}

body.woocommerce-account .sc-downloads-card table.woocommerce-MyAccount-downloads thead {
	display: none !important;
}

body.woocommerce-account .sc-downloads-card table.woocommerce-MyAccount-downloads tbody td {
	padding: 0.875rem 1.25rem !important;
	color: #6b7280 !important;
	border-bottom: 1px solid #f9fafb !important;
	vertical-align: middle !important;
}

body.woocommerce-account .sc-downloads-card table.woocommerce-MyAccount-downloads tbody tr:last-child td {
	border-bottom: none !important;
}

/* Product name — truncate */
body.woocommerce-account .sc-downloads-card table.woocommerce-MyAccount-downloads td.download-product {
	width: 50% !important;
	color: #111827 !important;
	font-weight: 500 !important;
	max-width: 0 !important;
	overflow: hidden !important;
	white-space: nowrap !important;
}

body.woocommerce-account .sc-downloads-card table.woocommerce-MyAccount-downloads td.download-product a {
	color: #111827 !important;
	text-decoration: none !important;
	display: block !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

body.woocommerce-account .sc-downloads-card table.woocommerce-MyAccount-downloads td.download-product a:hover {
	color: #dc4a26 !important;
}

/* Stat cells */
body.woocommerce-account .sc-downloads-card table.woocommerce-MyAccount-downloads td.download-remaining,
body.woocommerce-account .sc-downloads-card table.woocommerce-MyAccount-downloads td.download-expires {
	width: 15% !important;
	text-align: center !important;
	white-space: nowrap !important;
	cursor: help !important;
}

/* Download button cell */
body.woocommerce-account .sc-downloads-card table.woocommerce-MyAccount-downloads td.download-file {
	width: 1% !important;
	text-align: right !important;
	white-space: nowrap !important;
}

body.woocommerce-account .sc-downloads-card table.woocommerce-MyAccount-downloads a.woocommerce-MyAccount-downloads-file {
	display: inline-flex !important;
	align-items: center !important;
	padding: 0.5rem !important;
	border-radius: 0.5rem !important;
	background: #dc4a26 !important;
	color: #fff !important;
	border: none !important;
	text-decoration: none !important;
	transition: background 0.15s !important;
	width: auto !important;
	max-width: fit-content !important;
	line-height: 1 !important;
}

body.woocommerce-account .sc-downloads-card table.woocommerce-MyAccount-downloads a.woocommerce-MyAccount-downloads-file:hover {
	background: #c03d1c !important;
	color: #fff !important;
}

/* ================================================================
   My Account — License keys (License Manager for WooCommerce)
   ================================================================ */

/* My Account → License keys — flat listing card */
.sc-license-card {
	border: 1px solid #f3f4f6;
	border-radius: 1rem;
	overflow: hidden;
	margin-bottom: 1.5rem;
	background: #fff;
}
.sc-license-card__header {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: #6b7280;
	padding: 0.875rem 1.25rem;
	background: #f9fafb;
	border-bottom: 1px solid #f3f4f6;
}
.sc-license-card__body {
	padding: 0;
}

body.sc-theme .sc-license-table,
.sc-license-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 0.8125rem;
	margin: 0;
	table-layout: fixed;
}
.sc-license-table thead th {
	padding: 0.6875rem 1.25rem !important;
	text-align: left;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #9ca3af;
	background: #fff;
	border-bottom: 1px solid #f3f4f6;
	white-space: nowrap;
}
body.sc-theme .sc-license-table tbody tr,
.sc-license-table tbody tr {
	background: transparent;
}
body.sc-theme .sc-license-table tbody td,
.sc-license-table tbody td {
	padding: 0.875rem 1.25rem !important;
	border-bottom: 1px solid #f9fafb;
	vertical-align: middle;
	color: #374151;
	background: transparent;
}
body.sc-theme .sc-license-table tbody tr:last-child td,
.sc-license-table tbody tr:last-child td {
	border-bottom: none;
}

.sc-license-col-product {
	width: 40%;
	color: #111827 !important;
	font-weight: 500;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.sc-license-col-key {
	width: auto;
	overflow: hidden;
}
.sc-license-col-view {
	width: 50px;
	text-align: right;
	white-space: nowrap;
}

.sc-license-key-row {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	min-width: 0;
}
.sc-license-key-row .sc-license-keys-value {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.8125rem;
	color: #111827;
	background: transparent;
	padding: 0;
}
.sc-license-key-row .sc-license-keys-copy {
	flex: 0 0 auto;
}

a.sc-license-view-link,
.woocommerce-MyAccount-content a.sc-license-view-link {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 28px !important;
	height: 28px !important;
	border-radius: 0.5rem !important;
	color: #6b7280 !important;
	background: transparent !important;
	border: 1px solid transparent !important;
	text-decoration: none !important;
	padding: 0 !important;
	margin: 0 !important;
	box-shadow: none !important;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}
a.sc-license-view-link:hover,
.woocommerce-MyAccount-content a.sc-license-view-link:hover {
	background: #f9fafb !important;
	color: #111827 !important;
	border-color: #e5e7eb !important;
}
a.sc-license-view-link svg {
	display: block;
	stroke: currentColor;
	fill: none;
}

@media (max-width: 640px) {
	.sc-license-col-product {
		width: 45%;
	}
}

/* ================================================================
   License keys card — order-received + view-order pages
   Mirrors .sc-downloads-card
   ================================================================ */
.sc-license-keys-card {
	border: 1px solid #f3f4f6;
	border-radius: 1rem;
	overflow: hidden;
	margin-bottom: 1.5rem;
	background: #fff;
}
.sc-license-keys-card__header {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: #6b7280;
	padding: 0.875rem 1.25rem;
	background: #f9fafb;
	border-bottom: 1px solid #f3f4f6;
}
.sc-license-keys-card__body {
	padding: 0;
}
.sc-license-keys-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 0.8125rem;
	margin: 0;
}
.sc-license-keys-table thead {
	display: none;
}
.sc-license-keys-table tbody td {
	padding: 0.875rem 1.25rem;
	color: #6b7280;
	border-bottom: 1px solid #f9fafb;
	vertical-align: middle;
}
.sc-license-keys-table tbody tr:last-child td {
	border-bottom: none;
}
.sc-license-keys-col-product {
	width: 50%;
	color: #111827 !important;
	font-weight: 500;
	max-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.sc-license-keys-col-key {
	width: auto;
}
.sc-license-keys-value {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.8125rem;
	color: #111827;
	background: transparent;
	padding: 0;
	word-break: break-all;
}
.sc-license-keys-col-action {
	width: 1%;
	text-align: right;
	white-space: nowrap;
}
button.sc-license-keys-copy {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 30px !important;
	height: 30px !important;
	min-width: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 0.5rem !important;
	background: #dc4a26 !important;
	color: #fff !important;
	border: none !important;
	box-shadow: none !important;
	text-shadow: none !important;
	cursor: pointer;
	line-height: 1 !important;
	transition: background 0.15s;
}
button.sc-license-keys-copy:hover,
button.sc-license-keys-copy:focus {
	background: #c03d1c !important;
	color: #fff !important;
}
button.sc-license-keys-copy svg {
	display: inline-block;
	width: 14px;
	height: 14px;
	stroke: currentColor;
	fill: none;
}
button.sc-license-keys-copy .sc-license-keys-check-icon {
	display: none;
}
button.sc-license-keys-copy.is-copied {
	background: #10b981 !important;
}
button.sc-license-keys-copy.is-copied .sc-license-keys-copy-icon {
	display: none;
}
button.sc-license-keys-copy.is-copied .sc-license-keys-check-icon {
	display: inline-block;
}

/* ================================================================
   Single license detail page (/my-account/view-license-keys/<id>/)
   ================================================================ */
.sc-license-detail-card {
	border: 1px solid #f3f4f6;
	border-radius: 1rem;
	overflow: hidden;
	margin-bottom: 1.5rem;
	background: #fff;
}
.sc-license-detail-card__header {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: #6b7280;
	padding: 0.875rem 1.25rem;
	background: #f9fafb;
	border-bottom: 1px solid #f3f4f6;
}
.sc-license-detail-card__body {
	padding: 0;
}
.sc-license-detail-card__footer {
	padding: 1rem 1.25rem;
	border-top: 1px solid #f3f4f6;
	background: #fff;
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}
body.sc-theme .sc-license-detail-table,
.sc-license-detail-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 0.8125rem;
	margin: 0;
}
body.sc-theme .sc-license-detail-table tbody tr,
.sc-license-detail-table tbody tr {
	background: transparent;
}
body.sc-theme .sc-license-detail-table tbody th,
body.sc-theme .sc-license-detail-table tbody td,
.sc-license-detail-table tbody th,
.sc-license-detail-table tbody td {
	padding: 0.875rem 1.25rem !important;
	border-bottom: 1px solid #f9fafb;
	vertical-align: middle;
	text-align: left;
	background: transparent;
}
body.sc-theme .sc-license-detail-table tbody tr:last-child th,
body.sc-theme .sc-license-detail-table tbody tr:last-child td,
.sc-license-detail-table tbody tr:last-child th,
.sc-license-detail-table tbody tr:last-child td {
	border-bottom: none;
}
.sc-license-detail-table tbody th {
	width: 180px;
	color: #6b7280;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
	white-space: nowrap;
}
.sc-license-detail-table tbody td {
	color: #111827;
	max-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.sc-license-detail-table tbody td a {
	color: #111827;
	text-decoration: none;
	border-bottom: 1px dotted #d1d5db;
}
.sc-license-detail-table tbody td a:hover {
	color: #dc4a26;
	border-bottom-color: #dc4a26;
}
.sc-license-detail-key-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
}
.sc-license-detail-key-row .sc-license-keys-value {
	flex: 1 1 auto;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.sc-license-detail-key-row .sc-license-keys-copy {
	flex: 0 0 auto;
}
.sc-license-detail-activations {
	display: inline-flex;
	align-items: baseline;
	gap: 0.25rem;
	font-variant-numeric: tabular-nums;
	color: #111827;
}
.sc-license-detail-activations__sep {
	color: #9ca3af;
}

/* Activations table — card-inside, mirrors license detail table */
body.sc-theme .sc-license-detail-activations-table,
.sc-license-detail-activations-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 0.8125rem;
	margin: 0;
}
.sc-license-detail-activations-table thead th {
	padding: 0.75rem 1.25rem !important;
	text-align: left;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #9ca3af;
	background: #fff;
	border-bottom: 1px solid #f3f4f6;
}
body.sc-theme .sc-license-detail-activations-table tbody tr,
.sc-license-detail-activations-table tbody tr {
	background: transparent;
}
body.sc-theme .sc-license-detail-activations-table tbody td,
.sc-license-detail-activations-table tbody td {
	padding: 0.875rem 1.25rem !important;
	border-bottom: 1px solid #f9fafb;
	vertical-align: middle;
	color: #374151;
	background: transparent;
}
body.sc-theme .sc-license-detail-activations-table tbody tr:last-child td,
.sc-license-detail-activations-table tbody tr:last-child td {
	border-bottom: none;
}
.sc-license-detail-activations-col-actions {
	text-align: right;
	white-space: nowrap;
}
.sc-license-detail-empty {
	text-align: center;
	color: #9ca3af;
	padding: 1.5rem 1.25rem !important;
}
.sc-license-detail-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.125rem 0.5rem;
	border-radius: 999px;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.01em;
}
.sc-license-detail-badge::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}
.sc-license-detail-badge--on {
	background: #ecfdf5;
	color: #059669;
}
.sc-license-detail-badge--off {
	background: #f3f4f6;
	color: #6b7280;
}

/* Inline forms (wrap the action buttons so they don't drop to new lines) */
.sc-license-detail-inline-form {
	display: inline-block;
	margin: 0;
}
.sc-license-detail-card__footer .sc-license-detail-inline-form + .sc-license-detail-inline-form,
.sc-license-detail-activations-col-actions .sc-license-detail-inline-form + .sc-license-detail-inline-form {
	margin-left: 0.375rem;
}

/* Buttons — defeat Storefront's default .woocommerce button styling */
.woocommerce-MyAccount-content button.sc-license-detail-btn,
.woocommerce-MyAccount-content a.sc-license-detail-btn,
button.sc-license-detail-btn,
a.sc-license-detail-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0.5rem 0.875rem !important;
	margin: 0 !important;
	border-radius: 0.5rem !important;
	font-size: 0.8125rem !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	text-shadow: none !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
	border: 1px solid transparent !important;
	min-height: 0 !important;
}
.woocommerce-MyAccount-content button.sc-license-detail-btn--primary,
.woocommerce-MyAccount-content a.sc-license-detail-btn--primary,
button.sc-license-detail-btn--primary,
a.sc-license-detail-btn--primary {
	background: #dc4a26 !important;
	color: #fff !important;
	border-color: #dc4a26 !important;
}
.woocommerce-MyAccount-content button.sc-license-detail-btn--primary:hover,
.woocommerce-MyAccount-content a.sc-license-detail-btn--primary:hover,
button.sc-license-detail-btn--primary:hover,
a.sc-license-detail-btn--primary:hover {
	background: #c03d1c !important;
	border-color: #c03d1c !important;
	color: #fff !important;
}
.woocommerce-MyAccount-content button.sc-license-detail-btn--ghost,
button.sc-license-detail-btn--ghost {
	background: #fff !important;
	color: #374151 !important;
	border-color: #e5e7eb !important;
}
.woocommerce-MyAccount-content button.sc-license-detail-btn--ghost:hover,
button.sc-license-detail-btn--ghost:hover {
	background: #f9fafb !important;
	color: #111827 !important;
	border-color: #d1d5db !important;
}
.woocommerce-MyAccount-content button.sc-license-detail-btn--danger:hover,
button.sc-license-detail-btn--danger:hover {
	background: #fef2f2 !important;
	color: #b91c1c !important;
	border-color: #fecaca !important;
}

/* ================================================================
   Order received / Thank you page
   ================================================================ */

/* Hide page title & entry-header — success banner replaces it */
body.woocommerce-order-received h1.entry-title,
body.woocommerce-order-received .entry-header {
	display: none !important;
}

body.woocommerce-order-received .entry-footer,
body.woocommerce-order-received .edit-link {
	display: none !important;
}

/* Outer wrapper — centred, max-width */
body.woocommerce-order-received .sc-thankyou-wrap {
	max-width: 600px !important;
	margin: 0 auto !important;
	padding-top: 2.5rem !important;
	padding-bottom: 3rem !important;
}

/* ---- Success / fail banner ---- */
.sc-thankyou-header {
	text-align: center !important;
	margin-bottom: 2rem !important;
}

@keyframes sc-circle-pop {
	0%   { transform: scale(0);    opacity: 0; }
	60%  { transform: scale(1.15); opacity: 1; }
	80%  { transform: scale(0.95); }
	100% { transform: scale(1); }
}

@keyframes sc-check-draw {
	to { stroke-dashoffset: 0; }
}

.sc-check-svg {
	overflow: visible !important;
}

.sc-check-circle {
	transform-origin: 22px 22px;
	animation: sc-circle-pop 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
}

.sc-check-path {
	animation: sc-check-draw 0.35s ease-out 0.35s forwards !important;
}

.sc-thankyou-icon {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin-bottom: 1rem !important;
}

.sc-thankyou-heading {
	font-size: 1.5rem !important;
	font-weight: 800 !important;
	color: #111827 !important;
	margin: 0 0 0.5rem !important;
	padding: 0 !important;
	border: none !important;
}

.sc-thankyou-sub {
	font-size: 0.9rem !important;
	color: #6b7280 !important;
	margin: 0 !important;
}

.sc-thankyou-sub strong {
	color: #374151 !important;
	font-weight: 600 !important;
}

/* ---- Order meta cards ---- */
.sc-order-meta-grid {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr) !important;
	gap: 0.75rem !important;
	margin-bottom: 1.75rem !important;
}

@media (min-width: 480px) {
	.sc-order-meta-grid {
		grid-template-columns: repeat(4, 1fr) !important;
	}
}

.sc-order-meta-item {
	background: #f9fafb !important;
	border: 1px solid #f3f4f6 !important;
	border-radius: 0.875rem !important;
	padding: 0.875rem 1rem !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 0.25rem !important;
}

.sc-meta-label {
	font-size: 0.7rem !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.07em !important;
	color: #9ca3af !important;
}

.sc-meta-value {
	font-size: 0.9rem !important;
	font-weight: 600 !important;
	color: #111827 !important;
	line-height: 1.3 !important;
}

/* ---- Gateway hook output — hidden visually but present in DOM ---- */
.sc-gateway-message {
	display: none !important;
}

/* Also hide the WC default order-overview list if it sneaks in */
body.woocommerce-order-received .woocommerce-order-overview {
	display: none !important;
}

/* Also hide the WC default thank-you paragraph */
body.woocommerce-order-received .woocommerce-thankyou-order-received {
	display: none !important;
}

/* ---- Order details card ---- */
body.woocommerce-order-received .woocommerce-order-details {
	border: 1px solid #f3f4f6 !important;
	border-radius: 1rem !important;
	overflow: hidden !important;
	margin-bottom: 1rem !important;
}

body.woocommerce-order-received .woocommerce-order-details__title {
	font-size: 0.75rem !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.07em !important;
	color: #6b7280 !important;
	padding: 0.875rem 1.25rem !important;
	margin: 0 !important;
	background: #f9fafb !important;
	border-bottom: 1px solid #f3f4f6 !important;
}

/* Hide PRODUCT / TOTAL thead */
body.woocommerce-order-received .woocommerce-table--order-details thead {
	display: none !important;
}

body.woocommerce-order-received .woocommerce-table--order-details {
	width: 100% !important;
	border-collapse: collapse !important;
	font-size: 0.875rem !important;
	margin: 0 !important;
}

body.woocommerce-order-received .woocommerce-table--order-details tbody td {
	padding: 0.875rem 1.25rem !important;
	border-bottom: 1px solid #f9fafb !important;
	color: #374151 !important;
	vertical-align: top !important;
}

body.woocommerce-order-received .woocommerce-table--order-details tbody tr:last-child td {
	border-bottom: none !important;
}

body.woocommerce-order-received .woocommerce-table--order-details tbody .product-total {
	text-align: right !important;
	font-weight: 600 !important;
	color: #111827 !important;
	white-space: nowrap !important;
}

body.woocommerce-order-received .woocommerce-table--order-details tfoot td,
body.woocommerce-order-received .woocommerce-table--order-details tfoot th {
	padding: 0.625rem 1.25rem !important;
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	color: #6b7280 !important;
	border-bottom: 1px solid #f9fafb !important;
}

body.woocommerce-order-received .woocommerce-table--order-details tfoot td {
	text-align: right !important;
	color: #374151 !important;
}

body.woocommerce-order-received .woocommerce-table--order-details tfoot .order_total th,
body.woocommerce-order-received .woocommerce-table--order-details tfoot .order_total td {
	font-weight: 700 !important;
	font-size: 0.9375rem !important;
	color: #111827 !important;
	border-bottom: none !important;
	padding-top: 0.875rem !important;
	padding-bottom: 0.875rem !important;
}

/* Hide repetitive PAO addon meta labels in order details table.
   wc_display_item_meta() renders: <ul class="wc-item-meta"><li><strong class="wc-item-meta-label">Label:</strong> Value</li></ul> */
body.woocommerce-account .sc-account-wrap table.woocommerce-table--order-details .wc-item-meta-label,
body.woocommerce-account .sc-account-wrap table.woocommerce-table--order-details .wc-item-meta li strong,
body.woocommerce-order-received .woocommerce-table--order-details .wc-item-meta-label,
body.woocommerce-order-received .woocommerce-table--order-details .wc-item-meta li strong {
	display: none !important;
}

/* ---- Customer / billing details card ---- */
body.woocommerce-order-received .woocommerce-customer-details {
	border: 1px solid #f3f4f6 !important;
	border-radius: 1rem !important;
	overflow: hidden !important;
	margin-bottom: 1.5rem !important;
}

body.woocommerce-order-received .woocommerce-column__title {
	font-size: 0.75rem !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.07em !important;
	color: #6b7280 !important;
	padding: 0.875rem 1.25rem !important;
	margin: 0 !important;
	background: #f9fafb !important;
	border-bottom: 1px solid #f3f4f6 !important;
}

body.woocommerce-order-received .woocommerce-customer-details address {
	font-style: normal !important;
	font-size: 0.875rem !important;
	color: #4b5563 !important;
	line-height: 1.75 !important;
	padding: 1.125rem 1.25rem !important;
	margin: 0 !important;
}

body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
	gap: 0 !important;
}

/* ---- Action buttons ---- */
.sc-thankyou-actions {
	display: flex !important;
	justify-content: center !important;
	gap: 0.75rem !important;
	margin-top: 1.75rem !important;
	flex-wrap: wrap !important;
}

.sc-thankyou-btn {
	display: inline-flex !important;
	align-items: center !important;
	padding: 0.6875rem 1.5rem !important;
	border-radius: 0.75rem !important;
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	transition: background 0.15s, color 0.15s, border-color 0.15s !important;
	background: #dc4a26 !important;
	color: #fff !important;
	border: 1.5px solid #dc4a26 !important;
}

.sc-thankyou-btn:hover {
	background: #c03d1c !important;
	border-color: #c03d1c !important;
	color: #fff !important;
}

.sc-thankyou-btn--ghost {
	background: transparent !important;
	color: #374151 !important;
	border-color: #e5e7eb !important;
}

.sc-thankyou-btn--ghost:hover {
	background: #f9fafb !important;
	border-color: #d1d5db !important;
	color: #111827 !important;
}

/* ---- Downloads table ---- */
body.woocommerce-order-received .woocommerce-order-downloads {
	/* border: 1px solid #f3f4f6 !important; */
	/* border-radius: 1rem !important; */
	overflow: hidden !important;
	/* margin-bottom: 1rem !important; */
	background: #fff !important;
}

/* Hide section heading — table is self-explanatory */
body.woocommerce-order-received .woocommerce-order-downloads__title {
	font-size: 0.75rem !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.07em !important;
	color: #6b7280 !important;
	padding: 0.875rem 1.25rem !important;
	margin: 0 !important;
	background: #f9fafb !important;
	border-bottom: 1px solid #f3f4f6 !important;
}

body.woocommerce-order-received .woocommerce-table--order-downloads {
	width: 100% !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	font-size: 0.8125rem !important;
	margin: 0 !important;
	/* border-radius: 1rem !important; */
	overflow: hidden !important;
}

/* Hide thead */
body.woocommerce-order-received .woocommerce-table--order-downloads thead {
	display: none !important;
}

/* Column widths */
body.woocommerce-order-received .woocommerce-table--order-downloads td.download-product {
	width: 50% !important;
}

body.woocommerce-order-received .woocommerce-table--order-downloads td.download-remaining {
	width: 15% !important;
	text-align: center !important;
}

body.woocommerce-order-received .woocommerce-table--order-downloads td.download-expires {
	width: 15% !important;
	text-align: center !important;
}

/* Tooltip target span wrapping ∞ / Never */
.sc-tip-target {
	display: inline-flex;
	align-items: center;
	gap: 0.2rem;
	cursor: help;
	border-bottom: 1px dashed #d1d5db;
	padding-bottom: 1px;
}

/* JS tooltip pill — appended to body */
.sc-tooltip {
	position: fixed;
	z-index: 9999;
	background: #1f2937;
	color: #f9fafb;
	font-size: 0.7rem;
	font-weight: 500;
	padding: 0.3rem 0.65rem;
	border-radius: 0.375rem;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.15s;
	transform: translateX(-50%);
}

body.woocommerce-order-received .woocommerce-table--order-downloads th.download-file {
	width: 22% !important;
	text-align: right !important;
}

/* Body cells */
body.woocommerce-order-received .woocommerce-table--order-downloads tbody td {
	padding: 0.875rem 1.25rem !important;
	color: #6b7280 !important;
	/* border-bottom: none !important; */
	vertical-align: middle !important;
	font-size: 0.8125rem !important;
}

/* Product name cell — truncate long names */
body.woocommerce-order-received .woocommerce-table--order-downloads td.download-product {
	color: #111827 !important;
	font-weight: 500 !important;
	max-width: 0 !important;
	overflow: hidden !important;
	white-space: nowrap !important;
}

body.woocommerce-order-received .woocommerce-table--order-downloads td.download-product a {
	color: #111827 !important;
	text-decoration: none !important;
	display: block !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

body.woocommerce-order-received .woocommerce-table--order-downloads td.download-product a:hover {
	color: #dc4a26 !important;
}

/* Stat cells — compact, centered */
body.woocommerce-order-received .woocommerce-table--order-downloads td.download-remaining,
body.woocommerce-order-received .woocommerce-table--order-downloads td.download-expires {
	white-space: nowrap !important;
	text-align: center !important;
}

/* Download button cell — right-aligned, shrink to fit */
body.woocommerce-order-received .woocommerce-table--order-downloads td.download-file {
	text-align: right !important;
	white-space: nowrap !important;
	width: 1% !important;
}

/* Download button */
body.woocommerce-order-received .woocommerce-table--order-downloads td.download-file a.woocommerce-MyAccount-downloads-file {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.3rem !important;
	padding: 0.5rem !important;
	font-size: 0.75rem !important;
	font-weight: 600 !important;
	border-radius: 0.5rem !important;
	background: #dc4a26 !important;
	color: #fff !important;
	border: none !important;
	text-decoration: none !important;
	transition: background 0.15s !important;
	white-space: nowrap !important;
	width: auto !important;
	max-width: fit-content !important;
	box-sizing: border-box !important;
	line-height: 1 !important;
}

body.woocommerce-order-received .woocommerce-table--order-downloads td.download-file a.woocommerce-MyAccount-downloads-file:hover {
	background: #c03d1c !important;
	color: #fff !important;
}

/* Hide "Order again" button */
body.woocommerce-order-received p.order-again {
	display: none !important;
}

/* ================================================================
   My Account page
   ================================================================ */

/* Full-width content area: sidebar removed via PHP, so site-main goes full-width */
body.woocommerce-account .content-area,
body.woocommerce-account .site-main {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}

body.woocommerce-account .widget-area {
	display: none !important;
}

/* Strip WC's own padding — sc-container inside my-account.php handles spacing */
body.woocommerce-account .woocommerce {
	display: block !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}


/* ---- Account wrap top breathing room ---- */
body.woocommerce-account .sc-account-wrap {
	padding-top: 2.5rem;
}

/* ---- Account header (avatar + name) ---- */
.sc-account-header {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 2rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid #f3f4f6;
}

.sc-account-avatar .sc-avatar-img,
.sc-account-avatar img {
	width: 48px !important;
	height: 48px !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	border: 2px solid #f3f4f6 !important;
	display: block !important;
}

.sc-account-name {
	font-size: 1.25rem !important;
	font-weight: 700 !important;
	color: #111827 !important;
	margin: 0 0 0.125rem !important;
	padding: 0 !important;
	border: none !important;
}

.sc-account-email {
	font-size: 0.875rem !important;
	color: #6b7280 !important;
	margin: 0 !important;
}

/* ---- Two-column layout ---- */
.sc-account-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: start;
}

@media (min-width: 768px) {
	.sc-account-layout {
		grid-template-columns: 196px 1fr;
		gap: 2rem;
	}
}

/* ---- Sidebar navigation ---- */
.sc-account-nav {
	background: #fff !important;
	border: 1px solid #f3f4f6 !important;
	border-radius: 0.875rem !important;
	overflow: visible !important;
	padding: 0.375rem !important;
	position: sticky !important;
	top: 5.5rem !important;
	width: 196px !important;
	float: none !important;
	box-sizing: border-box !important;
}

.sc-account-nav ul,
.sc-account-nav ul li {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	width: auto !important;
	border: none !important;
	overflow: visible !important;
}

.sc-account-nav ul {
	display: flex !important;
	flex-direction: column !important;
	gap: 0.125rem !important;
}

/* Neutralise Storefront's ::before Font Awesome icon injection */
.sc-account-nav ul li a::before {
	display: none !important;
	content: none !important;
}

/* Override Storefront's .hentry .entry-content … display:block with a matching-specificity rule */
.hentry .entry-content .woocommerce-MyAccount-navigation.sc-account-nav ul li a {
	display: flex !important;
	align-items: center !important;
	gap: 0.625rem !important;
	padding: 0.5625rem 0.75rem !important;
	border-radius: 0.5rem !important;
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	color: #374151 !important;
	text-decoration: none !important;
	width: 100% !important;
	box-sizing: border-box !important;
	white-space: nowrap !important;
	transition: background 0.12s, color 0.12s !important;
}

.sc-account-nav ul li a {
	display: flex !important;
	align-items: center !important;
	gap: 0.625rem !important;
	padding: 0.5625rem 0.75rem !important;
	border-radius: 0.5rem !important;
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	color: #374151 !important;
	text-decoration: none !important;
	width: 100% !important;
	box-sizing: border-box !important;
	white-space: nowrap !important;
	transition: background 0.12s, color 0.12s !important;
}

.sc-account-nav ul li a span {
	display: inline !important;
	visibility: visible !important;
	opacity: 1 !important;
	color: inherit !important;
	font-size: inherit !important;
	font-weight: inherit !important;
}

.sc-account-nav ul li a svg {
	display: block !important;
	flex-shrink: 0 !important;
	width: 15px !important;
	height: 15px !important;
	opacity: 0.5 !important;
	transition: opacity 0.12s !important;
}

.sc-account-nav ul li a:hover {
	background: #f9fafb !important;
	color: #111827 !important;
}

.sc-account-nav ul li a:hover svg {
	opacity: 0.7 !important;
}

.sc-account-nav ul li.is-active a {
	background: #fff4f1 !important;
	color: #dc4a26 !important;
	font-weight: 600 !important;
}

.sc-account-nav ul li.is-active a svg {
	opacity: 1 !important;
}

/* Logout — separated at bottom */
.sc-account-nav ul li.sc-nav-logout {
	margin-top: 0.25rem !important;
	padding-top: 0.25rem !important;
	border-top: 1px solid #f3f4f6 !important;
}

.sc-account-nav ul li.sc-nav-logout a {
	color: #9ca3af !important;
}

.sc-account-nav ul li.sc-nav-logout a:hover {
	color: #dc4a26 !important;
	background: #fff4f1 !important;
}

/* ---- Account content area ---- */
.woocommerce-MyAccount-content {
	min-width: 0 !important;
	float: none !important;
	width: auto !important;
	max-width: 680px !important;
}

.woocommerce-MyAccount-content > p {
	font-size: 0.9rem !important;
	color: #6b7280 !important;
	line-height: 1.6 !important;
	margin-bottom: 1.25rem !important;
}

.woocommerce-MyAccount-content > p a {
	color: #dc4a26 !important;
	text-decoration: none !important;
	font-weight: 500 !important;
}

.woocommerce-MyAccount-content > p a:hover {
	text-decoration: underline !important;
}

/* Section headings */
.woocommerce-MyAccount-content h2 {
	font-size: 1.1rem !important;
	font-weight: 700 !important;
	color: #111827 !important;
	margin: 0 0 1.25rem !important;
	padding-bottom: 0.875rem !important;
	border-bottom: 1px solid #f3f4f6 !important;
}

.woocommerce-MyAccount-content h3 {
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	color: #111827 !important;
	margin: 1.5rem 0 0.75rem !important;
}

/* ---- Orders table ---- */
body.woocommerce-account table.woocommerce-orders-table {
	width: 100% !important;
	border-collapse: collapse !important;
	outline: 1px solid #f3f4f6 !important;
	border: 0 !important;
	border-radius: 0.875rem !important;
	overflow: hidden !important;
	font-size: 0.875rem !important;
}

body.woocommerce-account table.woocommerce-orders-table thead th {
	background: #f9fafb !important;
	font-size: 0.68rem !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.07em !important;
	color: #6b7280 !important;
	padding: 0.75rem 1.25rem !important;
	border-bottom: 1px solid #f3f4f6 !important;
	text-align: left !important;
	white-space: nowrap !important;
}

body.woocommerce-account table.woocommerce-orders-table tbody tr {
	transition: background 0.12s !important;
}

body.woocommerce-account table.woocommerce-orders-table tbody tr:hover {
	background: #fafafa !important;
}

body.woocommerce-account table.woocommerce-orders-table td {
	padding: 0.875rem 1.25rem !important;
	border-bottom: 1px solid #f9fafb !important;
	color: #374151 !important;
	vertical-align: middle !important;
}

body.woocommerce-account table.woocommerce-orders-table tr:last-child td {
	border-bottom: none !important;
}

body.woocommerce-account .woocommerce-orders-table__cell-order-number a {
	font-weight: 700 !important;
	color: #111827 !important;
	text-decoration: none !important;
	font-size: 0.875rem !important;
}

body.woocommerce-account .woocommerce-orders-table__cell-order-number a:hover {
	color: #dc4a26 !important;
}

/* Order status badge */
body.woocommerce-account .woocommerce-orders-table__cell-order-status {
	font-size: 0.75rem !important;
	font-weight: 600 !important;
}

body.woocommerce-account mark.order-status {
	background: #f3f4f6 !important;
	color: #374151 !important;
	border: none !important;
	outline: none !important;
	padding: 0.2rem 0.6rem !important;
	border-radius: 999px !important;
	font-size: 0.72rem !important;
	font-weight: 600 !important;
	text-transform: capitalize !important;
	display: inline-block !important;
	vertical-align: middle !important;
}

body.woocommerce-account .woocommerce-orders-table__row--status-completed mark { background: #dcfce7 !important; color: #166534 !important; }
body.woocommerce-account .woocommerce-orders-table__row--status-processing mark { background: #dbeafe !important; color: #1e40af !important; }
body.woocommerce-account .woocommerce-orders-table__row--status-on-hold mark { background: #fef9c3 !important; color: #854d0e !important; }
body.woocommerce-account .woocommerce-orders-table__row--status-cancelled mark { background: #fee2e2 !important; color: #991b1b !important; }
body.woocommerce-account .woocommerce-orders-table__row--status-pending mark { background: #f3f4f6 !important; color: #374151 !important; }

/* Action buttons */
body.woocommerce-account .woocommerce-orders-table__cell-order-actions .button {
	display: inline-flex !important;
	align-items: center !important;
	padding: 0.3rem 0.75rem !important;
	font-size: 0.78rem !important;
	border-radius: 0.5rem !important;
	background: #f3f4f6 !important;
	color: #374151 !important;
	text-decoration: none !important;
	font-weight: 600 !important;
	border: none !important;
	margin-right: 0.375rem !important;
	transition: background 0.12s, color 0.12s !important;
}

body.woocommerce-account .woocommerce-orders-table__cell-order-actions .button:hover {
	background: #dc4a26 !important;
	color: #fff !important;
}

/* ---- Addresses ---- */
body.woocommerce-account .woocommerce-Addresses {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr) !important;
	gap: 1.25rem !important;
	width: 100% !important;
}

@media (max-width: 640px) {
	body.woocommerce-account .woocommerce-Addresses {
		grid-template-columns: 1fr !important;
	}
}

body.woocommerce-account .woocommerce-Address,
body.woocommerce-account .woocommerce-Address.u-column1,
body.woocommerce-account .woocommerce-Address.u-column2 {
	border: 1px solid #f3f4f6 !important;
	border-radius: 0.875rem !important;
	overflow: hidden !important;
	min-width: 0 !important;
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.woocommerce-account .woocommerce-Address-title {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	flex-wrap: nowrap !important;
	background: #f9fafb !important;
	padding: 0.75rem 1.25rem !important;
	border-bottom: 1px solid #f3f4f6 !important;
	margin: 0 !important;
}

body.woocommerce-account .woocommerce-Address-title h2 {
	font-size: 0.8rem !important;
	font-weight: 700 !important;
	color: #111827 !important;
	margin: 0 !important;
	border: none !important;
	padding: 0 !important;
	white-space: nowrap !important;
	flex: 1 !important;
}

body.woocommerce-account .woocommerce-Address-title .edit {
	font-size: 0.78rem !important;
	color: #dc4a26 !important;
	text-decoration: none !important;
	font-weight: 500 !important;
	white-space: nowrap !important;
	flex-shrink: 0 !important;
	margin-left: 0.75rem !important;
}

body.woocommerce-account address {
	font-style: normal !important;
	font-size: 0.875rem !important;
	color: #4b5563 !important;
	line-height: 1.75 !important;
	padding: 1.25rem !important;
	word-break: normal !important;
	overflow-wrap: break-word !important;
}

/* ---- View Order page ---- */

body.woocommerce-account .woocommerce-order > p {
	font-size: 0.875rem !important;
	color: #4b5563 !important;
	margin-bottom: 1.5rem !important;
	line-height: 1.6 !important;
}

/* Status badge inline in the intro sentence */
body.woocommerce-account mark.order-status {
	border: none !important;
	outline: none !important;
	padding: 0.2rem 0.625rem !important;
	border-radius: 999px !important;
	font-size: 0.72rem !important;
	font-weight: 600 !important;
	text-transform: capitalize !important;
	vertical-align: middle !important;
	display: inline-block !important;
}

body.woocommerce-account mark.order-status span {
	display: inline !important;
}

body.woocommerce-account mark.order-status.status-processing,
body.woocommerce-account mark.order-status.status-processing span { background: #dbeafe !important; color: #1e40af !important; }
body.woocommerce-account mark.order-status.status-completed,
body.woocommerce-account mark.order-status.status-completed span  { background: #dcfce7 !important; color: #166534 !important; }
body.woocommerce-account mark.order-status.status-on-hold,
body.woocommerce-account mark.order-status.status-on-hold span    { background: #fef9c3 !important; color: #854d0e !important; }
body.woocommerce-account mark.order-status.status-cancelled,
body.woocommerce-account mark.order-status.status-cancelled span  { background: #fee2e2 !important; color: #991b1b !important; }
body.woocommerce-account mark.order-status.status-pending,
body.woocommerce-account mark.order-status.status-pending span    { background: #f3f4f6 !important; color: #374151 !important; }

/* ---- Downloads table (My Account) ---- */
body.woocommerce-account .woocommerce-order-downloads {
	overflow: visible !important;
	background: #fff !important;
	margin: 0 !important;
}

/* h2 title replaced by sc-downloads-card__header in the template override */
body.woocommerce-account .woocommerce-order-downloads__title {
	display: none !important;
}

body.woocommerce-account .woocommerce-table--order-downloads {
	width: 100% !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	font-size: 0.8125rem !important;
	margin: 0 !important;
	/* border-radius: 1rem !important; */
	overflow: hidden !important;
}

/* Hide thead */
body.woocommerce-account .woocommerce-table--order-downloads thead {
	display: none !important;
}

/* Body cells */
body.woocommerce-account .woocommerce-table--order-downloads tbody td {
	padding: 0.875rem 1.25rem !important;
	color: #6b7280 !important;
	/* border-bottom: none !important; */
	vertical-align: middle !important;
	background-color: #fff !important;
}


/* Column widths */
body.woocommerce-account .woocommerce-table--order-downloads td.download-product {
	color: #111827 !important;
	font-weight: 500 !important;
	max-width: 0 !important;
	overflow: hidden !important;
	white-space: nowrap !important;
	width: 50% !important;
}

body.woocommerce-account .woocommerce-table--order-downloads td.download-product a {
	color: #111827 !important;
	text-decoration: none !important;
	display: block !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

body.woocommerce-account .woocommerce-table--order-downloads td.download-product a:hover {
	color: #dc4a26 !important;
}

body.woocommerce-account .woocommerce-table--order-downloads td.download-remaining,
body.woocommerce-account .woocommerce-table--order-downloads td.download-expires {
	text-align: center !important;
	white-space: nowrap !important;
	width: 15% !important;
	cursor: help !important;
}

body.woocommerce-account .woocommerce-table--order-downloads td.download-file {
	text-align: right !important;
	white-space: nowrap !important;
	width: 1% !important;
}

/* Download button — icon only */
body.woocommerce-account .woocommerce-table--order-downloads a.woocommerce-MyAccount-downloads-file {
	display: inline-flex !important;
	align-items: center !important;
	padding: 0.5rem !important;
	border-radius: 0.5rem !important;
	background: #dc4a26 !important;
	color: #fff !important;
	border: none !important;
	text-decoration: none !important;
	transition: background 0.15s !important;
	width: auto !important;
	max-width: fit-content !important;
	line-height: 1 !important;
}

body.woocommerce-account .woocommerce-table--order-downloads a.woocommerce-MyAccount-downloads-file:hover {
	background: #c03d1c !important;
	color: #fff !important;
}

/* My Account download + license styles moved to my-account.css (conditionally enqueued) */

/* Order details + customer details cards */
body.woocommerce-account .woocommerce-order-details,
body.woocommerce-account .woocommerce-customer-details {
	border: 1px solid #f3f4f6 !important;
	border-radius: 1rem !important;
	overflow: hidden !important;
	margin-bottom: 1.5rem !important;
}

body.woocommerce-account .woocommerce-order-details__title,
body.woocommerce-account .woocommerce-column__title {
	font-size: 0.8rem !important;
	font-weight: 700 !important;
	color: #111827 !important;
	padding: 0.875rem 1.25rem !important;
	margin: 0 !important;
	background: #f9fafb !important;
	border-bottom: 1px solid #f3f4f6 !important;
	text-transform: none !important;
}

body.woocommerce-account .woocommerce-table--order-details {
	width: 100% !important;
	border-collapse: collapse !important;
	font-size: 0.875rem !important;
	margin-bottom: 0 !important;
}

body.woocommerce-account .woocommerce-table--order-details thead th {
	background: #f9fafb !important;
	font-size: 0.68rem !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.07em !important;
	color: #6b7280 !important;
	padding: 0.75rem 1.25rem !important;
	border-bottom: 1px solid #f3f4f6 !important;
	text-align: left !important;
}

body.woocommerce-account .woocommerce-table--order-details tbody td {
	padding: 0.875rem 1.25rem !important;
	color: #374151 !important;
	border-bottom: 1px solid #f9fafb !important;
	vertical-align: middle !important;
}

body.woocommerce-account .woocommerce-table--order-details tfoot tr:last-child td {
	border-bottom: none !important;
}

body.woocommerce-account .woocommerce-table--order-details tfoot td,
body.woocommerce-account .woocommerce-table--order-details tfoot th {
	padding: 0.75rem 1.25rem !important;
	border-bottom: 1px solid #f9fafb !important;
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	color: #374151 !important;
}

body.woocommerce-account .woocommerce-table--order-details tfoot .order_total td,
body.woocommerce-account .woocommerce-table--order-details tfoot .order_total th {
	font-weight: 700 !important;
	color: #111827 !important;
}

/* Billing / shipping address inside customer-details */
body.woocommerce-account .woocommerce-customer-details address {
	padding: 1rem 1.25rem !important;
	font-style: normal !important;
	font-size: 0.875rem !important;
	color: #4b5563 !important;
	line-height: 1.75 !important;
	border: none !important;
	margin-bottom: 0;
}

body.woocommerce-account .woocommerce-customer-details .woocommerce-columns {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
	gap: 0 !important;
}

/* ---- Select2 overrides (country/state pickers) ---- */

.select2-container--default .select2-selection--single {
	border: 1px solid #e5e7eb !important;
	border-radius: 0.5rem !important;
	height: 2.75rem !important;
	background: #fff !important;
	box-shadow: none !important;
	/* Keep display:block so select2's absolute-positioned arrow works correctly */
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #111827 !important;
	font-size: 0.9rem !important;
	padding-left: 0.875rem !important;
	padding-right: 2rem !important;
	line-height: 2.75rem !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 2.75rem !important;
	top: 0 !important;
	right: 0.5rem !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
	border-color: #6b7280 transparent transparent transparent !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
	border-color: transparent transparent #6b7280 transparent !important;
}

.select2-dropdown {
	border: 1px solid #e5e7eb !important;
	border-radius: 0.5rem !important;
	box-shadow: 0 4px 16px -2px rgba(0,0,0,0.08) !important;
	/* No overflow:hidden — select2 manages internal scrolling itself */
}

.select2-container--default .select2-search--dropdown {
	padding: 0.5rem !important;
	background: #f9fafb !important;
	border-bottom: 1px solid #f3f4f6 !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
	border: 1px solid #e5e7eb !important;
	border-radius: 0.375rem !important;
	padding: 0.4rem 0.75rem !important;
	font-size: 0.875rem !important;
	color: #111827 !important;
	outline: none !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
	border-color: #dc4a26 !important;
	box-shadow: 0 0 0 3px rgba(220,74,38,0.1) !important;
}

.select2-results__option {
	font-size: 0.875rem !important;
	padding: 0.5rem 0.875rem !important;
	color: #374151 !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
	background: #fff4f1 !important;
	color: #dc4a26 !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
	background: #dc4a26 !important;
	color: #fff !important;
}

/* ---- Account edit form ---- */
.woocommerce-MyAccount-content .woocommerce-form-row,
.woocommerce-MyAccount-content .form-row {
	margin-bottom: 1rem !important;
}

.woocommerce-MyAccount-content .woocommerce-form-row label,
.woocommerce-MyAccount-content .form-row label {
	display: block !important;
	font-size: 0.78rem !important;
	font-weight: 600 !important;
	color: #374151 !important;
	margin-bottom: 0.35rem !important;
	text-transform: none !important;
}

.woocommerce-MyAccount-content .woocommerce-form-row .required {
	color: #dc4a26 !important;
}

.woocommerce-MyAccount-content fieldset {
	border: 1px solid #f3f4f6 !important;
	border-radius: 0.75rem !important;
	padding: 0 !important;
	margin: 1.5rem 0 !important;
	overflow: hidden !important;
}

.woocommerce-MyAccount-content fieldset legend {
	display: block !important;
	width: 100% !important;
	float: left !important;
	font-size: 1rem !important;
	font-weight: 500 !important;
	color: #374151 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	padding: 0.75rem 1.25rem !important;
	margin: 0 0 15px !important;
	background: #fff !important;
	border-bottom: 1px solid #f3f4f6 !important;
	box-sizing: border-box !important;
}

.woocommerce-MyAccount-content fieldset .form-row,
.woocommerce-MyAccount-content fieldset .woocommerce-form-row {
	padding: 0 1.25rem !important;
}

.woocommerce-MyAccount-content fieldset .form-row:last-child,
.woocommerce-MyAccount-content fieldset .woocommerce-form-row:last-child {
	padding-bottom: 1.25rem !important;
	margin-bottom: 0 !important;
}

/* ---- Password show/hide toggle ---- */
.woocommerce-MyAccount-content .password-input,
.woocommerce form .password-input {
	display: block !important;
	position: relative !important;
	width: 100% !important;
}

.woocommerce-MyAccount-content .password-input input,
.woocommerce form .password-input input {
	width: 100% !important;
	padding-right: 2.75rem !important;
	box-sizing: border-box !important;
}

.woocommerce-MyAccount-content .show-password-input,
.woocommerce form .show-password-input {
	position: absolute !important;
	right: 0.75rem !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	cursor: pointer !important;
	color: #9ca3af !important;
	background: none !important;
	border: none !important;
	padding: 0 !important;
	line-height: 1 !important;
	font-size: 1rem !important;
	display: flex !important;
	align-items: center !important;
	transition: color 0.15s !important;
}

.woocommerce-MyAccount-content .show-password-input:hover,
.woocommerce form .show-password-input:hover {
	color: #374151 !important;
}

/* Display name hint text */
.woocommerce-MyAccount-content .form-row em,
.woocommerce-MyAccount-content .woocommerce-form-row em {
	display: block !important;
	font-size: 0.78rem !important;
	font-style: italic !important;
	color: #9ca3af !important;
	margin-top: 0.35rem !important;
	border: none !important;
	padding: 0 !important;
	background: none !important;
}

.woocommerce-MyAccount-content button[type="submit"],
.woocommerce-MyAccount-content input[type="submit"] {
	background: #dc4a26 !important;
	color: #fff !important;
	border: none !important;
	border-radius: 0.625rem !important;
	padding: 0.7rem 1.75rem !important;
	font-size: 0.9rem !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	transition: background 0.15s !important;
	font-family: inherit !important;
}

.woocommerce-MyAccount-content button[type="submit"]:hover,
.woocommerce-MyAccount-content input[type="submit"]:hover {
	background: #c03d1c !important;
}

/* =============================================================
   Subscription view page
   ============================================================= */

.sc-sub-card {
	border: 1px solid #f3f4f6;
	border-radius: 1rem;
	overflow: hidden;
	margin-bottom: 1.5rem;
}

.sc-sub-card__header {
	font-size: 0.8rem;
	font-weight: 700;
	color: #111827;
	padding: 0.875rem 1.25rem;
	background: #f9fafb;
	border-bottom: 1px solid #f3f4f6;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.sc-sub-card__body {
	padding: 0;
}

/* --- Subscription details table (status / dates / payment / actions) --- */

.sc-sub-card__body--details table.subscription_details {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
}

.sc-sub-card__body--details table.subscription_details tbody tr {
	border-bottom: 1px solid #f9fafb !important;
}

.sc-sub-card__body--details table.subscription_details tbody tr:last-child {
	border-bottom: none !important;
}

.sc-sub-card__body--details table.subscription_details tbody td:first-child {
	width: 38% !important;
	padding: 0.75rem 1.25rem !important;
	font-size: 0.75rem !important;
	font-weight: 600 !important;
	color: #6b7280 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.04em !important;
	vertical-align: middle !important;
}

.sc-sub-card__body--details table.subscription_details tbody td:last-child {
	padding: 0.75rem 1.25rem !important;
	font-size: 0.875rem !important;
	color: #111827 !important;
	vertical-align: middle !important;
}

/* Status badge */
.sc-sub-status {
	display: inline-block;
	padding: 0.2rem 0.65rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	background: #f3f4f6;
	color: #6b7280;
}

.sc-sub-status--active {
	background: #dcfce7;
	color: #16a34a;
}

.sc-sub-status--on-hold {
	background: #fef9c3;
	color: #92400e;
}

.sc-sub-status--cancelled,
.sc-sub-status--expired {
	background: #fee2e2;
	color: #b91c1c;
}

.sc-sub-status--pending {
	background: #dbeafe;
	color: #1d4ed8;
}

/* Action buttons in details table */
.sc-sub-btn {
	display: inline-block;
	padding: 0.4rem 0.9rem;
	border: 1.5px solid #e5e7eb;
	border-radius: 0.5rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: #374151;
	text-decoration: none !important;
	background: #fff;
	transition: border-color 0.15s, color 0.15s, background 0.15s;
	margin-right: 0.5rem;
	margin-bottom: 0.25rem;
}

.sc-sub-btn:hover {
	border-color: #dc4a26;
	color: #dc4a26;
	background: #fff8f6;
	text-decoration: none !important;
}

.sc-sub-btn--sm {
	padding: 0.3rem 0.7rem;
	font-size: 0.73rem;
}

/* Subscription updates / notes */
.sc-sub-notes {
	border-top: 1px solid #f3f4f6;
}

.sc-sub-notes__header {
	font-size: 0.75rem;
	font-weight: 700;
	color: #6b7280;
	padding: 0.75rem 1.25rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	background: #fafafa;
	border-bottom: 1px solid #f3f4f6;
}

.sc-sub-notes .woocommerce-OrderUpdates {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sc-sub-notes .woocommerce-OrderUpdate {
	padding: 0.75rem 1.25rem;
	border-bottom: 1px solid #f9fafb;
}

.sc-sub-notes .woocommerce-OrderUpdate:last-child {
	border-bottom: none;
}

.sc-sub-notes .woocommerce-OrderUpdate-meta {
	font-size: 0.72rem;
	color: #9ca3af;
	margin: 0 0 0.25rem;
}

.sc-sub-notes .woocommerce-OrderUpdate-description p {
	font-size: 0.875rem;
	color: #374151;
	margin: 0;
}

/* --- Products / totals table --- */

.sc-sub-card__body--totals table.order_details {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
}

.sc-sub-card__body--totals table.order_details thead {
	display: none;
}

.sc-sub-card__body--totals table.order_details tbody tr {
	border-bottom: 1px solid #f9fafb !important;
}

.sc-sub-card__body--totals table.order_details tbody tr:last-child {
	border-bottom: none !important;
}

.sc-sub-card__body--totals table.order_details tbody td {
	padding: 0.875rem 1.25rem !important;
	font-size: 0.875rem !important;
	color: #111827 !important;
	vertical-align: middle !important;
}

.sc-sub-card__body--totals table.order_details tbody td.product-name {
	color: #374151 !important;
}

.sc-sub-card__body--totals table.order_details tbody td.product-name a {
	color: #111827 !important;
	font-weight: 600 !important;
	text-decoration: none !important;
}

.sc-sub-card__body--totals table.order_details tbody td.product-name a:hover {
	color: #dc4a26 !important;
}

.sc-sub-card__body--totals table.order_details tbody td.product-total {
	text-align: right !important;
	font-weight: 600 !important;
	color: #111827 !important;
	width: 30% !important;
	white-space: nowrap !important;
}

.sc-sub-card__body--totals table.order_details tfoot tr {
	border-top: 1px solid #f3f4f6 !important;
}

.sc-sub-card__body--totals table.order_details tfoot th,
.sc-sub-card__body--totals table.order_details tfoot td {
	padding: 0.75rem 1.25rem !important;
	font-size: 0.8rem !important;
	color: #6b7280 !important;
}

.sc-sub-card__body--totals table.order_details tfoot td {
	text-align: right !important;
	font-weight: 600 !important;
	color: #374151 !important;
}

.sc-sub-card__body--totals table.order_details tfoot tr:last-child th,
.sc-sub-card__body--totals table.order_details tfoot tr:last-child td {
	font-size: 0.9rem !important;
	font-weight: 700 !important;
	color: #111827 !important;
}

/* --- Related orders table --- */

.sc-sub-card__body--orders {
	overflow-x: auto;
}

.sc-sub-orders-table {
	width: 100%;
	border-collapse: collapse;
}

.sc-sub-orders-table thead tr {
	border-bottom: 1px solid #f3f4f6;
}

.sc-sub-orders-table thead th {
	padding: 0.75rem 1.25rem;
	font-size: 0.72rem;
	font-weight: 700;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-align: left;
	background: #fafafa;
	white-space: nowrap;
}

.sc-sub-orders-table tbody tr {
	border-bottom: 1px solid #f9fafb;
}

.sc-sub-orders-table tbody tr:last-child {
	border-bottom: none;
}

.sc-sub-orders-table tbody td {
	padding: 0.875rem 1.25rem;
	font-size: 0.875rem;
	color: #374151;
	vertical-align: middle;
}

.sc-sub-orders-table tbody td a {
	color: #111827;
	font-weight: 600;
	text-decoration: none;
}

.sc-sub-orders-table tbody td a:hover {
	color: #dc4a26;
}

.sc-sub-order-status {
	display: inline-block;
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	background: #f3f4f6;
	color: #6b7280;
}

.sc-sub-order-status--completed {
	background: #dcfce7;
	color: #16a34a;
}

.sc-sub-order-status--processing {
	background: #dbeafe;
	color: #1d4ed8;
}

.sc-sub-order-status--pending,
.sc-sub-order-status--on-hold {
	background: #fef9c3;
	color: #92400e;
}

.sc-sub-order-status--cancelled,
.sc-sub-order-status--failed,
.sc-sub-order-status--refunded {
	background: #fee2e2;
	color: #b91c1c;
}

.sc-sub-order-actions {
	white-space: nowrap;
}

/* Fix: prevent existing .woocommerce-account styles from fighting subscription tables */
body.woocommerce-account .sc-sub-card table.subscription_details,
body.woocommerce-account .sc-sub-card table.order_details,
body.woocommerce-account .sc-sub-card .sc-sub-orders-table {
	border: none !important;
	border-radius: 0 !important;
	overflow: visible !important;
	margin-bottom: 0 !important;
}

body.woocommerce-account .sc-sub-card table.subscription_details thead,
body.woocommerce-account .sc-sub-card table.order_details thead {
	display: none !important;
}

/* Hide order-details heading on subscription view only (has its own card header) */
body.woocommerce-view-subscription h2.woocommerce-order-details__title,
body.woocommerce-view-subscription .woocommerce-order-details > h2 {
	display: none !important;
}

/* =============================================================
   Edit address page (billing / shipping)
   ============================================================= */

.sc-address-card {
	border: 1px solid #f3f4f6;
	border-radius: 1rem;
	overflow: hidden;
	margin-bottom: 1.5rem;
}

.sc-address-card__header {
	font-size: 0.8rem;
	font-weight: 700;
	color: #111827;
	padding: 0.875rem 1.25rem;
	background: #f9fafb;
	border-bottom: 1px solid #f3f4f6;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.sc-address-card__body {
	padding: 1.5rem 1.25rem 0;
}

/* 2-column grid for address fields */
.sc-address-card .woocommerce-address-fields__field-wrapper {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 0 1rem !important;
}

.sc-address-card .woocommerce-address-fields__field-wrapper .form-row-first {
	grid-column: 1 !important;
}

.sc-address-card .woocommerce-address-fields__field-wrapper .form-row-last {
	grid-column: 2 !important;
}

.sc-address-card .woocommerce-address-fields__field-wrapper .form-row-wide {
	grid-column: 1 / -1 !important;
}

/* Field rows */
.sc-address-card .form-row {
	margin-bottom: 1rem !important;
	float: none !important;
	width: auto !important;
	clear: none !important;
}

/* Labels */
.sc-address-card .form-row label {
	display: block !important;
	font-size: 0.78rem !important;
	font-weight: 600 !important;
	color: #374151 !important;
	margin-bottom: 0.35rem !important;
	text-transform: none !important;
}

.sc-address-card .form-row label .required {
	color: #dc4a26 !important;
}

/* Inputs + selects */
.sc-address-card .form-row input.input-text,
.sc-address-card .form-row select {
	width: 100% !important;
	padding: 0.625rem 0.875rem !important;
	border: 1.5px solid #e5e7eb !important;
	border-radius: 0.5rem !important;
	font-size: 0.875rem !important;
	color: #111827 !important;
	background: #fff !important;
	box-shadow: none !important;
	outline: none !important;
	transition: border-color 0.15s !important;
	box-sizing: border-box !important;
}

.sc-address-card .form-row input.input-text:focus,
.sc-address-card .form-row select:focus {
	border-color: #dc4a26 !important;
	box-shadow: 0 0 0 3px rgba(220,74,38,0.08) !important;
}

/* select2 container inside address card */
.sc-address-card .select2-container {
	width: 100% !important;
}

.sc-address-card .select2-container--default .select2-selection--single {
	height: 2.5rem !important;
	border: 1.5px solid #e5e7eb !important;
	border-radius: 0.5rem !important;
	display: flex !important;
	align-items: center !important;
}

.sc-address-card .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 1 !important;
	padding-left: 0.875rem !important;
	font-size: 0.875rem !important;
	color: #111827 !important;
}

.sc-address-card .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 2.5rem !important;
}

/* WC Subscriptions billing-contact checkbox */
.sc-address-card .woocommerce-address-fields .form-row.form-row-wide:has(input[type="checkbox"]) {
	grid-column: 1 / -1 !important;
	margin-top: 0.25rem !important;
}

/* Save button + footer row */
/* WC Subscriptions "update all subscriptions addresses" checkbox */
.sc-address-card label.woocommerce-form__label-for-checkbox {
	display: flex !important;
	align-items: center !important;
	font-size: 0.875rem !important;
	color: #374151 !important;
	cursor: pointer !important;
	font-weight: 400 !important;
	margin: 0 !important;
}

.sc-address-card input[type="checkbox"].input-checkbox {
	flex-shrink: 0 !important;
	width: 1rem !important;
	height: 1rem !important;
	margin: 0 0.5rem 0 0 !important;
	vertical-align: text-bottom !important;
	cursor: pointer !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	border: 1.5px solid #d1d5db !important;
	border-radius: 0.25rem !important;
	background: #fff !important;
	outline: none !important;
	box-shadow: none !important;
	transition: border-color 0.15s, background 0.15s !important;
	position: relative !important;
	display: inline-block !important;
}

.sc-address-card input[type="checkbox"].input-checkbox:checked {
	background: #dc4a26 !important;
	border-color: #dc4a26 !important;
}

.sc-address-card input[type="checkbox"].input-checkbox:checked::after {
	content: "" !important;
	display: block !important;
	position: absolute !important;
	left: 0.3rem !important;
	top: 0.05rem !important;
	width: 0.35rem !important;
	height: 0.6rem !important;
	border: 2px solid #fff !important;
	border-top: none !important;
	border-left: none !important;
	transform: rotate(45deg) !important;
}

.sc-address-card .woocommerce-address-fields > .form-row {
	margin: 0.75rem 0 1rem !important;
}

.sc-address-card__footer {
	padding: 1.25rem 0 0rem;
	border-top: 1px solid #f3f4f6;
	margin-top: 0.5rem;
}

.sc-address-save-btn {
	display: inline-block !important;
	background: #dc4a26 !important;
	color: #fff !important;
	border: none !important;
	border-radius: 0.5rem !important;
	padding: 0.6rem 1.5rem !important;
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	transition: background 0.15s !important;
	text-decoration: none !important;
}

.sc-address-save-btn:hover {
	background: #c03d1c !important;
	color: #fff !important;
}

/* =============================================================
   My Account — Dashboard
   ============================================================= */

.sc-dashboard {
	width: 100%;
}

.sc-dashboard__greeting {
	font-size: 0.9rem;
	color: #6b7280;
	margin: 0 0 1.5rem;
	line-height: 1.6;
}

.sc-dashboard__greeting strong {
	color: #111827;
	font-weight: 600;
}

.sc-dashboard-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.875rem;
}

.sc-dashboard-card {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	padding: 1rem 1.125rem;
	border: 1px solid #f3f4f6;
	border-radius: 0.875rem;
	text-decoration: none;
	background: #fff;
	transition: border-color 0.15s, box-shadow 0.15s;
	text-decoration: none !important;
}

.sc-dashboard-card:hover {
	border-color: #e5e7eb;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	text-decoration: none;
}

.sc-dashboard-card__icon {
	flex-shrink: 0;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 0.625rem;
	background: #fff8f6;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #dc4a26;
}

.sc-dashboard-card:hover .sc-dashboard-card__icon {
	background: #dc4a26;
	color: #fff;
}

.sc-dashboard-card__content {
	flex: 1;
	min-width: 0;
}

.sc-dashboard-card__title {
	font-size: 0.875rem;
	font-weight: 600;
	color: #111827;
	margin-bottom: 0.15rem;
}

.sc-dashboard-card__desc {
	font-size: 0.75rem;
	color: #9ca3af;
	line-height: 1.4;
}

.sc-dashboard-card__arrow {
	flex-shrink: 0;
	color: #d1d5db;
	transition: color 0.15s, transform 0.15s;
}

.sc-dashboard-card:hover .sc-dashboard-card__arrow {
	color: #dc4a26;
	transform: translateX(2px);
}

@media (max-width: 900px) {
	.sc-dashboard-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.sc-dashboard-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.sc-address-card .woocommerce-address-fields__field-wrapper {
		grid-template-columns: 1fr !important;
	}
	.sc-address-card .woocommerce-address-fields__field-wrapper .form-row-first,
	.sc-address-card .woocommerce-address-fields__field-wrapper .form-row-last,
	.sc-address-card .woocommerce-address-fields__field-wrapper .form-row-wide {
		grid-column: 1 !important;
	}
}

/* ================================================================
   View Order — Related subscriptions card
   WCS hooks related-subscriptions.php into woocommerce_order_details_after_order_table,
   which fires inside section.woocommerce-order-details.
   Strip the standalone card chrome and blend it as a section within the outer card.
   ================================================================ */

body.woocommerce-account .woocommerce-order-details .sc-related-subs-card {
	border: none !important;
	border-radius: 0 !important;
	margin-bottom: 0 !important;
	border-top: 1px solid #f3f4f6 !important;
}

body.woocommerce-account .woocommerce-order-details .sc-related-subs-card .sc-sub-card__header {
	background: #f9fafb !important;
	border-bottom: 1px solid #f3f4f6 !important;
}

/* "Order again" paragraph rendered inside section.woocommerce-order-details */
body.woocommerce-account .woocommerce-order-details p.order-again {
	margin: 0 !important;
	padding: 0.875rem 1.25rem !important;
	border-top: 1px solid #f3f4f6 !important;
}

body.woocommerce-account .woocommerce-order-details p.order-again .button {
	display: inline-block !important;
	padding: 0.5rem 1.25rem !important;
	border-radius: 0.5rem !important;
	background: #dc4a26 !important;
	color: #fff !important;
	font-size: 0.8125rem !important;
	font-weight: 500 !important;
	text-decoration: none !important;
	border: none !important;
	box-shadow: none !important;
	outline: none !important;
	line-height: 1.4 !important;
	transition: background 0.15s !important;
}

body.woocommerce-account .woocommerce-order-details p.order-again .button:hover {
	background: #c03d1c !important;
	color: #fff !important;
}

/* ---- Razorpay success message on order-received ---- */
body.sc-theme #msg-razorpay-success.woocommerce-info{
	justify-content: center;
}

/* ---- WC Subscriptions billing contact checkbox — edit account page ---- */
body.woocommerce-account form.woocommerce-EditAccountForm label.woocommerce-form__label-for-checkbox {
	display: flex !important;
	align-items: center !important;
	gap: 0.5rem !important;
	font-size: 0.875rem !important;
	color: #374151 !important;
	cursor: pointer !important;
	font-weight: 400 !important;
}

body.woocommerce-account form.woocommerce-EditAccountForm input[type="checkbox"].input-checkbox {
	flex-shrink: 0 !important;
	width: 1rem !important;
	height: 1rem !important;
	margin: 0 0.5rem 0 0 !important;
	vertical-align: text-bottom !important;
	cursor: pointer !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	border: 1.5px solid #d1d5db !important;
	border-radius: 0.25rem !important;
	background: #fff !important;
	outline: none !important;
	box-shadow: none !important;
	transition: border-color 0.15s, background 0.15s !important;
	position: relative !important;
	display: inline-block !important;
}

body.woocommerce-account form.woocommerce-EditAccountForm input[type="checkbox"].input-checkbox:checked {
	background: #dc4a26 !important;
	border-color: #dc4a26 !important;
}

body.woocommerce-account form.woocommerce-EditAccountForm input[type="checkbox"].input-checkbox:checked::after {
	content: "" !important;
	display: block !important;
	position: absolute !important;
	left: 0.3rem !important;
	top: 0.05rem !important;
	width: 0.35rem !important;
	height: 0.6rem !important;
	border: 2px solid #fff !important;
	border-top: none !important;
	border-left: none !important;
	transform: rotate(45deg) !important;
}

/* Mailchimp newsletter radio buttons — edit account page */
body.woocommerce-account form.woocommerce-EditAccountForm label:has(input[type="radio"]) {
	display: flex !important;
	align-items: center !important;
	gap: 0.5rem !important;
	font-size: 0.875rem !important;
	color: #374151 !important;
	cursor: pointer !important;
	margin: 0 !important;
	font-weight: 400 !important;
}

body.woocommerce-account form.woocommerce-EditAccountForm p.woocommerce-form-row:has(input[type="radio"]) {
	margin-bottom: 0.5rem !important;
	padding: 0 !important;
}

body.woocommerce-account form.woocommerce-EditAccountForm p.woocommerce-form-row:has(label[for="mailchimp_woocommerce_is_transactional"]) {
    margin-bottom: 1.5rem !important;
}

body.woocommerce-account form.woocommerce-EditAccountForm input[type="radio"].woocommerce-form__input-radio {
	flex-shrink: 0 !important;
	width: 1rem !important;
	height: 1rem !important;
	margin: 0 0.5rem 0 0 !important;
	vertical-align: middle !important;
	cursor: pointer !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	border: 1.5px solid #d1d5db !important;
	border-radius: 50% !important;
	background: #fff !important;
	outline: none !important;
	box-shadow: none !important;
	transition: border-color 0.15s, background 0.15s !important;
	position: relative !important;
	display: inline-block !important;
}

body.woocommerce-account form.woocommerce-EditAccountForm input[type="radio"].woocommerce-form__input-radio:checked {
	background: #dc4a26 !important;
	border-color: #dc4a26 !important;
}

body.woocommerce-account form.woocommerce-EditAccountForm input[type="radio"].woocommerce-form__input-radio:checked::after {
	content: "" !important;
	display: block !important;
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
	width: 0.35rem !important;
	height: 0.35rem !important;
	border-radius: 50% !important;
	background: #fff !important;
}
