/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.5.6
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* ==========================================================================
   SCW My Account
   Tokens match the homepage Elementor kit:
   pink #FA3375, text #0F1321, beige #EADED0, Manrope
   ========================================================================== */

body.woocommerce-account {
	--scw-pink: #fa3375;
	--scw-pink-hover: #e01e62;
	--scw-button-hover: #851dcf;
	--scw-accent: #f46668;
	--scw-text: #0f1321;
	--scw-black: #000000;
	--scw-muted: #5c6170;
	--scw-beige: #eaded0;
	--scw-beige-soft: #f8f4ef;
	--scw-surface: #f9fafd;
	--scw-white: #ffffff;
	--scw-border: #e4d8cc;
	--scw-font: "Manrope", sans-serif;
	font-family: var(--scw-font);
	color: var(--scw-text);
	background: var(--scw-surface);
}

body.woocommerce-account .site-main,
body.woocommerce-account .elementor-widget-woocommerce-my-account,
body.woocommerce-account .woocommerce {
	font-family: var(--scw-font);
	color: var(--scw-text);
}

/* Black, professional headings — override homepage hero sizes */
body.woocommerce-account .woocommerce-MyAccount-content h1,
body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3,
body.woocommerce-account .woocommerce-MyAccount-content h4,
body.woocommerce-account .scw-account-user-text h3,
body.woocommerce-account .scw-account-page-title,
body.woocommerce-account .classmarker-certifications__title,
body.woocommerce-account .woocommerce-Address-title h2,
body.woocommerce-account .woocommerce-order-details__title,
body.woocommerce-account .woocommerce-column__title,
body.woocommerce-account .elementor-widget-woocommerce-my-account h1,
body.woocommerce-account .elementor-widget-woocommerce-my-account h2,
body.woocommerce-account .elementor-widget-woocommerce-my-account h3,
body.woocommerce-account .elementor-widget-woocommerce-my-account h4 {
	color: var(--scw-black) !important;
	font-family: var(--scw-font) !important;
	font-weight: 700 !important;
	letter-spacing: -0.02em;
	line-height: 1.2;
	text-transform: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-content h1,
body.woocommerce-account .elementor-widget-woocommerce-my-account h1 {
	font-size: clamp(1.75rem, 3vw, 2.25rem) !important;
	margin: 0 0 0.75rem !important;
}

body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .scw-account-page-title,
body.woocommerce-account .classmarker-certifications__title,
body.woocommerce-account .woocommerce-Address-title h2,
body.woocommerce-account .woocommerce-order-details__title,
body.woocommerce-account .woocommerce-column__title,
body.woocommerce-account .elementor-widget-woocommerce-my-account h2 {
	font-size: clamp(1.5rem, 2.4vw, 1.85rem) !important;
	margin: 0 0 0.5rem !important;
}

body.woocommerce-account .woocommerce-MyAccount-content h3,
body.woocommerce-account .scw-account-user-text h3,
body.woocommerce-account .elementor-widget-woocommerce-my-account h3,
body.woocommerce-account .scw-avatar-upload-section h3 {
	font-size: 1.15rem !important;
	margin: 0 0 0.4rem !important;
}

body.woocommerce-account .scw-account-page-title,
body.woocommerce-account .classmarker-certifications__title {
	position: relative;
	padding-bottom: 0.7rem;
}

body.woocommerce-account .scw-account-page-title::after,
body.woocommerce-account .classmarker-certifications__title::after {
	content: "";
	display: block;
	width: 2.5rem;
	height: 3px;
	background: var(--scw-pink);
	margin-top: 0.55rem;
}

body.woocommerce-account .scw-account-page-intro,
body.woocommerce-account .classmarker-certifications__count {
	color: var(--scw-muted) !important;
	font-size: 0.95rem !important;
	font-weight: 500 !important;
	margin: 0 0 1.15rem !important;
	line-height: 1.5;
}

/* Layout — one row, one content panel (override Elementor 75% / 6% inset) */
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce,
body.woocommerce-account .woocommerce {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	width: 100%;
}

body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation.scw-account-navigation-container {
	float: none;
	width: 100% !important;
}

.scw-account-navigation-wrapper {
	width: 280px;
	flex: 0 0 280px;
	background: var(--scw-beige-soft);
	border: 1px solid var(--scw-border);
	border-radius: 12px;
	padding: 20px 0 8px;
	overflow: hidden;
}

body.woocommerce-account .woocommerce-MyAccount-content,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce-MyAccount-content {
	float: none !important;
	flex: 1 1 auto;
	width: auto !important;
	min-width: 0;
	background: var(--scw-white);
	border: 1px solid var(--scw-border);
	border-radius: 12px;
	padding: 24px 24px 20px !important;
	padding-inline-start: 24px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content-wrapper,
body.woocommerce-account .woocommerce-MyAccount-content-wrapper-no-data,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab__dashboard .woocommerce-MyAccount-content-wrapper,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab__orders .woocommerce-MyAccount-content-wrapper,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab__downloads .woocommerce-MyAccount-content-wrapper,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab__edit-account .woocommerce-MyAccount-content-wrapper,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab__edit-address .woocommerce-MyAccount-content-wrapper,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab__payment-methods .woocommerce-MyAccount-content-wrapper,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab__view-order .woocommerce-MyAccount-content-wrapper {
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

/* Profile card */
.scw-account-user {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 0 20px 20px;
	border-bottom: 1px solid var(--scw-border);
	margin-bottom: 8px;
}

.scw-account-user img,
.scw-current-avatar img {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--scw-pink);
}

.scw-account-user-text {
	text-align: left;
}

.scw-account-user-text h3,
.scw-account-user-text p {
	margin: 0;
}

.scw-account-user-text p {
	color: var(--scw-muted);
	font-size: 0.85rem;
	margin-top: 2px;
}

/* Navigation */
.woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 8px 0;
}

.woocommerce-MyAccount-navigation li {
	margin: 0;
}

.woocommerce-MyAccount-navigation li a,
li.woocommerce-MyAccount-navigation-link a,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation li a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 20px;
	color: var(--scw-black) !important;
	background: transparent !important;
	text-decoration: none;
	font-family: var(--scw-font);
	font-size: 0.95rem;
	font-weight: 600;
	border-left: 3px solid transparent !important;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.woocommerce-MyAccount-navigation li a:hover,
.woocommerce-MyAccount-navigation li.is-active a,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation li a:hover,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation li.is-active a {
	background: #f1ebe4 !important;
	color: var(--scw-pink) !important;
	border-left-color: var(--scw-pink) !important;
}

.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a {
	margin-top: 8px;
	border-top: 1px solid var(--scw-border);
	color: var(--scw-muted) !important;
}

.woocommerce-MyAccount-navigation li a::before {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	width: 20px;
	text-align: center;
	flex: 0 0 20px;
}

.woocommerce-MyAccount-navigation-link--dashboard a::before { content: "\f3fd"; }
.woocommerce-MyAccount-navigation-link--orders a::before { content: "\f291"; }
.woocommerce-MyAccount-navigation-link--subscriptions a::before { content: "\f2f1"; }
.woocommerce-MyAccount-navigation-link--downloads a::before { content: "\f019"; }
.woocommerce-MyAccount-navigation-link--edit-address a::before { content: "\f3c5"; }
.woocommerce-MyAccount-navigation-link--edit-account a::before { content: "\f007"; }
.woocommerce-MyAccount-navigation-link--regfox-submissions a::before { content: "\f073"; }
.woocommerce-MyAccount-navigation-link--certifications a::before { content: "\f5a2"; }
.woocommerce-MyAccount-navigation-link--available-exams a::before { content: "\f15c"; }
.woocommerce-MyAccount-navigation-link--payment-methods a::before { content: "\f09d"; }
.woocommerce-MyAccount-navigation-link--customer-logout a::before { content: "\f2f5"; }

button.scw-account-menu-toggle,
.scw-account-mobile-overlay {
	display: none;
}

/* Tables */
body.woocommerce-account .woocommerce-MyAccount-content-wrapper,
body.woocommerce-account .classmarker-certifications__table-wrap,
body.woocommerce-account .woocommerce-MyAccount-content-regfox-submissions {
	overflow-x: auto;
}

body.woocommerce-account table.shop_table,
body.woocommerce-account table.woocommerce-orders-table,
body.woocommerce-account table.woocommerce-MyAccount-orders,
body.woocommerce-account table.woocommerce-MyAccount-paymentMethods,
body.woocommerce-account table.woocommerce-table--order-details,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .shop_table {
	width: 100%;
	min-width: 560px;
	border: 1px solid #ece6de !important;
	border-radius: 10px;
	border-collapse: separate !important;
	border-spacing: 0;
	overflow: hidden;
	background: var(--scw-white);
	margin: 0 !important;
	font-size: 0.92rem;
}

body.woocommerce-account table.shop_table thead th,
body.woocommerce-account table.woocommerce-orders-table thead th,
body.woocommerce-account table.order_details thead th,
body.woocommerce-account table.woocommerce-table--order-details thead th,
body.woocommerce-account table.shop_table thead th span,
body.woocommerce-account table.woocommerce-orders-table thead th span,
body.woocommerce-account table.order_details thead th span,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .shop_table thead tr th,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .shop_table thead tr th span {
	background: #f6f1ea;
	color: var(--scw-black) !important;
	font-family: var(--scw-font);
	font-size: 0.68rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 11px 16px !important;
	padding-inline-start: 16px !important;
	padding-inline-end: 16px !important;
	border: 0 !important;
	border-bottom: 1px solid #ece6de !important;
	text-align: left;
	white-space: nowrap;
}

body.woocommerce-account table.shop_table td,
body.woocommerce-account table.woocommerce-orders-table td,
body.woocommerce-account table.woocommerce-orders-table th.woocommerce-orders-table__cell,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .shop_table td,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .shop_table th {
	padding: 13px 16px !important;
	padding-inline-start: 16px !important;
	padding-inline-end: 16px !important;
	vertical-align: middle;
	border: 0 !important;
	border-bottom: 1px solid #f2ece6 !important;
	color: var(--scw-text);
	font-size: 0.92rem;
	line-height: 1.4;
}

body.woocommerce-account table.shop_table tbody tr:last-child td,
body.woocommerce-account table.shop_table tbody tr:last-child th.woocommerce-orders-table__cell,
body.woocommerce-account table.woocommerce-orders-table tbody tr:last-child td,
body.woocommerce-account table.woocommerce-orders-table tbody tr:last-child th.woocommerce-orders-table__cell {
	border-bottom: 0 !important;
}

body.woocommerce-account table.shop_table tbody tr:hover {
	background: #fdfbf8;
}

body.woocommerce-account table.shop_table thead th.woocommerce-orders-table__header-order-actions,
body.woocommerce-account .woocommerce-orders-table__header-order-actions,
body.woocommerce-account .woocommerce-orders-table__cell-order-actions,
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .shop_table thead tr th.woocommerce-orders-table__header-order-actions,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .shop_table thead tr th.woocommerce-orders-table__header-order-actions span {
	text-align: center !important;
	vertical-align: middle;
	white-space: nowrap;
}

body.woocommerce-account table.shop_table thead th.woocommerce-orders-table__header-order-actions .nobr {
	display: inline-block;
	margin-right: -0.08em;
}

body.woocommerce-account .woocommerce-orders th.woocommerce-orders-table__header-order-actions,
body.woocommerce-account .woocommerce-orders td.woocommerce-orders-table__cell-order-actions {
	display: table-cell !important;
}

body.woocommerce-account .woocommerce-orders-table__cell-order-actions .button,
body.woocommerce-account .woocommerce-orders-table__cell-order-actions .woocommerce-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	margin: 0 auto !important;
	float: none !important;
	vertical-align: middle;
	line-height: 1;
}

body.woocommerce-account .woocommerce-orders-table__cell-order-number a,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce tbody .woocommerce-orders-table__cell-order-number > a {
	color: var(--scw-black) !important;
	font-weight: 700;
	text-decoration: none;
}

body.woocommerce-account .woocommerce-orders-table__cell-order-number a:hover {
	color: var(--scw-pink) !important;
}

body.woocommerce-account .elementor-widget-woocommerce-my-account {
	--links-normal-color: var(--scw-pink);
	--links-hover-color: var(--scw-pink-hover);
	--tables-links-normal-color: var(--scw-black);
	--tables-links-hover-color: var(--scw-pink);
	--tabs-normal-color: var(--scw-black);
	--tabs-hover-color: var(--scw-pink);
	--tabs-active-color: var(--scw-pink);
}

/* Content text links only — never nav or button-styled anchors */
body.woocommerce-account .woocommerce-MyAccount-content a:not(.button):not(.woocommerce-button):not(.woocommerce-Button):not(.classmarker-btn),
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-MyAccount-content a:not(.button):not(.woocommerce-button):not(.woocommerce-Button):not(.classmarker-btn) {
	color: var(--scw-pink) !important;
	font-weight: 600;
	text-decoration: none;
}

body.woocommerce-account .woocommerce-MyAccount-content a:not(.button):not(.woocommerce-button):not(.woocommerce-Button):not(.classmarker-btn):hover,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-MyAccount-content a:not(.button):not(.woocommerce-button):not(.woocommerce-Button):not(.classmarker-btn):hover {
	color: var(--scw-pink-hover) !important;
	text-decoration: underline;
}

body.woocommerce-account .woocommerce-orders-table__cell-order-status,
body.woocommerce-account .woocommerce-orders-table__cell-order-date,
body.woocommerce-account .woocommerce-orders-table__cell-order-total {
	color: var(--scw-text);
	font-weight: 500;
}

body.woocommerce-account .woocommerce-orders-table__row--status-processing .woocommerce-orders-table__cell-order-status,
body.woocommerce-account .woocommerce-orders-table__row--status-on-hold .woocommerce-orders-table__cell-order-status,
body.woocommerce-account .woocommerce-orders-table__row--status-pending .woocommerce-orders-table__cell-order-status {
	color: #9a5b00;
	font-weight: 700;
}

body.woocommerce-account .woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status {
	color: #146c36;
	font-weight: 700;
}

body.woocommerce-account .woocommerce-orders-table__row--status-cancelled .woocommerce-orders-table__cell-order-status,
body.woocommerce-account .woocommerce-orders-table__row--status-failed .woocommerce-orders-table__cell-order-status {
	color: #9b1c2c;
	font-weight: 700;
}

/* Buttons */
body.woocommerce-account .woocommerce-MyAccount-content .button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button,
body.woocommerce-account .woocommerce-form-login .button,
body.woocommerce-account .classmarker-btn,
body.woocommerce-account .classmarker-btn--primary,
body.woocommerce-account .woocommerce-Button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 18px;
	background: var(--scw-pink) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 8px;
	font-family: var(--scw-font);
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: background 0.15s ease, transform 0.15s ease;
}

body.woocommerce-account .woocommerce-MyAccount-content .button:hover,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button:hover,
body.woocommerce-account .woocommerce-form-login .button:hover,
body.woocommerce-account .classmarker-btn:hover,
body.woocommerce-account .classmarker-btn--primary:hover,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce a.button:hover,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce a.classmarker-btn:hover,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce a.button:hover,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce a.classmarker-btn:hover {
	background: var(--scw-button-hover) !important;
	color: #fff !important;
	text-decoration: none !important;
}

body.woocommerce-account table.shop_table .button,
body.woocommerce-account table.woocommerce-orders-table .button,
body.woocommerce-account table.shop_table .classmarker-btn,
body.woocommerce-account table.woocommerce-orders-table .classmarker-btn,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .shop_table .button,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .shop_table .classmarker-btn {
	min-height: 32px;
	padding: 6px 12px !important;
	font-size: 0.78rem;
	border-radius: 6px;
	letter-spacing: 0.01em;
}

body.woocommerce-account .woocommerce-MyAccount-content a.button,
body.woocommerce-account .woocommerce-MyAccount-content a.woocommerce-button,
body.woocommerce-account .woocommerce-MyAccount-content a.classmarker-btn,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce a.button,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce a.woocommerce-button,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce a.classmarker-btn,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce a.button,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce a.woocommerce-button,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce a.classmarker-btn {
	color: #fff !important;
}

/* Notices / empty states */
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-error,
body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-info {
	background: var(--scw-beige-soft);
	border: 1px solid var(--scw-border);
	border-top-color: var(--scw-pink);
	border-top-width: 3px;
	border-radius: 10px;
	color: var(--scw-text);
	padding: 18px 20px;
	font-size: 0.98rem;
}

body.woocommerce-account .woocommerce-info::before,
body.woocommerce-account .woocommerce-message::before {
	color: var(--scw-pink);
}

/* Dashboard */
.scw-account-quick-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 1.5rem;
}

.scw-account-quick-link {
	display: block;
	padding: 18px 18px 16px;
	background: var(--scw-beige-soft);
	border: 1px solid var(--scw-border);
	border-radius: 10px;
	text-decoration: none !important;
	color: var(--scw-text) !important;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.scw-account-quick-link:hover {
	border-color: var(--scw-pink);
	transform: translateY(-1px);
	text-decoration: none !important;
}

.scw-account-quick-link strong {
	display: block;
	color: var(--scw-black);
	font-size: 1rem;
	margin-bottom: 4px;
}

.scw-account-quick-link span {
	display: block;
	color: var(--scw-muted);
	font-size: 0.85rem;
	font-weight: 500;
}

/* Addresses */
body.woocommerce-account .woocommerce-Addresses {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

body.woocommerce-account .woocommerce-Address {
	background: var(--scw-beige-soft);
	border: 1px solid var(--scw-border);
	border-radius: 10px;
	padding: 18px 20px;
}

body.woocommerce-account .woocommerce-Address-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

body.woocommerce-account .woocommerce-Address address {
	font-style: normal;
	color: var(--scw-text);
	line-height: 1.6;
}

/* Forms */
body.woocommerce-account .woocommerce-EditAccountForm .form-row,
body.woocommerce-account .woocommerce-address-fields .form-row,
body.woocommerce-account .woocommerce-form-login .form-row {
	margin-bottom: 1rem;
}

body.woocommerce-account .woocommerce-EditAccountForm label,
body.woocommerce-account .woocommerce-address-fields label,
body.woocommerce-account .woocommerce-form-login label,
body.woocommerce-account .scw-avatar-upload-section label {
	display: block;
	color: var(--scw-black);
	font-size: 0.88rem;
	font-weight: 700;
	margin-bottom: 6px;
}

body.woocommerce-account .woocommerce-EditAccountForm input.input-text,
body.woocommerce-account .woocommerce-address-fields input.input-text,
body.woocommerce-account .woocommerce-form-login input.input-text,
body.woocommerce-account .woocommerce-EditAccountForm select,
body.woocommerce-account .woocommerce-address-fields select,
body.woocommerce-account .scw-avatar-upload-section input[type="file"] {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid var(--scw-border);
	border-radius: 8px;
	background: var(--scw-white);
	color: var(--scw-text);
	font-family: var(--scw-font);
	font-size: 0.95rem;
}

body.woocommerce-account .woocommerce-EditAccountForm input.input-text:focus,
body.woocommerce-account .woocommerce-address-fields input.input-text:focus,
body.woocommerce-account .woocommerce-form-login input.input-text:focus {
	outline: 2px solid rgba(250, 51, 117, 0.25);
	border-color: var(--scw-pink);
}

.scw-avatar-upload-section {
	margin-bottom: 1.75rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--scw-border);
}

.scw-current-avatar {
	margin-bottom: 0.75rem;
}

.scw-avatar-save-notice {
	margin-top: 12px;
	padding: 12px 14px;
	background: #fff8e5;
	border: 1px solid #f5d97b;
	border-radius: 8px;
	color: #8a6d1d;
	font-size: 0.92rem;
	line-height: 1.4;
}

body.woocommerce-account .woocommerce-EditAccountForm fieldset {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border: 0;
	border-top: 1px solid var(--scw-border);
}

body.woocommerce-account .woocommerce-EditAccountForm legend {
	color: var(--scw-black);
	font-size: 1.05rem;
	font-weight: 700;
	padding: 0;
}

/* View order */
body.woocommerce-account .scw-account-back {
	display: inline-flex;
	align-items: center;
	margin: 0 0 12px;
	color: var(--scw-muted) !important;
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none !important;
}

body.woocommerce-account .scw-account-back:hover {
	color: var(--scw-pink) !important;
}

body.woocommerce-account .scw-order-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin: 0 0 1.35rem;
}

body.woocommerce-account .scw-order-meta-item {
	color: var(--scw-muted);
	font-size: 0.92rem;
	font-weight: 500;
}

body.woocommerce-account .scw-order-status,
body.woocommerce-account mark.order-status {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: #fff4e5;
	color: #9a5b00;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

body.woocommerce-account .scw-order-status--completed,
body.woocommerce-account .scw-order-status--processing.scw-order-status--completed {
	background: #e7f6ee;
	color: #146c36;
}

body.woocommerce-account .scw-order-status--completed {
	background: #e7f6ee;
	color: #146c36;
}

body.woocommerce-account .scw-order-status--processing {
	background: #fff4e5;
	color: #9a5b00;
}

body.woocommerce-account .scw-order-status--cancelled,
body.woocommerce-account .scw-order-status--failed,
body.woocommerce-account .scw-order-status--refunded {
	background: #fde8ea;
	color: #9b1c2c;
}

body.woocommerce-account .woocommerce-order-details,
body.woocommerce-account .woocommerce-customer-details,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab__view-order .order_details,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab__view-order .woocommerce-table--order-downloads {
	margin-top: 0.25rem;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

body.woocommerce-account .woocommerce-order-details {
	margin-bottom: 1.5rem;
}

body.woocommerce-account .woocommerce-order-details__title {
	margin-bottom: 0.85rem !important;
}

body.woocommerce-account table.order_details,
body.woocommerce-account table.woocommerce-table--order-details {
	min-width: 0;
}

body.woocommerce-account table.order_details .scw-order-product {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	max-width: 42rem;
}

body.woocommerce-account table.order_details .scw-order-product-title,
body.woocommerce-account table.order_details .scw-order-product-title a,
body.woocommerce-account table.woocommerce-table--order-details .product-name a {
	color: var(--scw-black) !important;
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
}

body.woocommerce-account table.order_details .scw-order-product-title a:hover {
	color: var(--scw-pink) !important;
}

body.woocommerce-account table.order_details .scw-order-product-desc {
	color: var(--scw-muted);
	font-size: 0.88rem;
	font-weight: 400;
	line-height: 1.45;
}

body.woocommerce-account table.order_details .scw-order-product-qty,
body.woocommerce-account table.order_details .product-quantity {
	color: var(--scw-muted);
	font-size: 0.8rem;
	font-weight: 400;
}

body.woocommerce-account table.order_details .wc-item-meta {
	display: none;
}

body.woocommerce-account table.order_details .wc-item-meta li {
	margin: 0;
	color: var(--scw-muted);
	font-size: 0.8rem;
}

body.woocommerce-account table.order_details .wc-item-meta p {
	margin: 0;
	display: inline;
}

body.woocommerce-account table.order_details tbody tr.order_item td,
body.woocommerce-account table.order_details tbody tr.order_item th,
body.woocommerce-account table.woocommerce-table--order-details tbody tr.order_item td {
	vertical-align: top !important;
}

body.woocommerce-account table.order_details tbody .product-total,
body.woocommerce-account table.woocommerce-table--order-details tbody .product-total {
	padding-top: 14px !important;
	font-size: 1.02rem !important;
	font-weight: 700 !important;
	line-height: 1.35;
	color: var(--scw-black);
}

body.woocommerce-account table.order_details thead .product-total,
body.woocommerce-account table.order_details .product-total,
body.woocommerce-account table.order_details tfoot th,
body.woocommerce-account table.order_details tfoot td {
	text-align: right;
	white-space: nowrap;
}

body.woocommerce-account table.order_details thead .product-total,
body.woocommerce-account table.order_details tbody .product-total,
body.woocommerce-account table.order_details tfoot td {
	width: 1%;
}

body.woocommerce-account table.order_details tfoot th,
body.woocommerce-account table.woocommerce-table--order-details tfoot th,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce table.order_details tfoot th {
	text-align: right !important;
	background: #faf8f5 !important;
	color: var(--scw-muted) !important;
	font-family: var(--scw-font);
	font-size: 0.8rem !important;
	font-weight: 500 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	border: 0 !important;
	border-top: 1px solid #f2ece6 !important;
	padding: 8px 10px 8px 16px !important;
}

body.woocommerce-account table.order_details tfoot td,
body.woocommerce-account table.woocommerce-table--order-details tfoot td,
body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce table.order_details tfoot td {
	text-align: right !important;
	background: #faf8f5 !important;
	color: var(--scw-text) !important;
	font-size: 0.8rem !important;
	font-weight: 500 !important;
	letter-spacing: normal !important;
	border: 0 !important;
	border-top: 1px solid #f2ece6 !important;
	padding: 8px 16px 8px 20px !important;
	white-space: nowrap;
	min-width: 6.75rem;
	font-variant-numeric: tabular-nums;
	font-feature-settings: "tnum" 1;
}

body.woocommerce-account table.order_details tfoot .amount,
body.woocommerce-account table.order_details tfoot .woocommerce-Price-amount,
body.woocommerce-account table.order_details tfoot bdi,
body.woocommerce-account table.order_details tfoot .woocommerce-Price-currencySymbol {
	letter-spacing: normal !important;
	word-spacing: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	font-variant-numeric: tabular-nums;
}

body.woocommerce-account table.order_details tfoot .scw-minus {
	display: inline;
	margin-right: 0.12em;
	letter-spacing: 0 !important;
}

body.woocommerce-account table.order_details tfoot tr:last-child th,
body.woocommerce-account table.order_details tfoot tr:last-child td,
body.woocommerce-account table.woocommerce-table--order-details tfoot tr:last-child th,
body.woocommerce-account table.woocommerce-table--order-details tfoot tr:last-child td {
	background: #f6f1ea !important;
	color: var(--scw-black) !important;
	font-size: 0.85rem !important;
	font-weight: 700 !important;
	letter-spacing: normal !important;
	border-top: 1px solid #ece6de !important;
}

body.woocommerce-account table.order_details .product-purchase-note td {
	background: #f8f4ef;
	color: var(--scw-text);
	font-size: 0.88rem;
	font-weight: 500;
	line-height: 1.55;
	padding: 14px 16px !important;
}

body.woocommerce-account table.order_details .product-purchase-note p {
	margin: 0 0 0.7em;
}

body.woocommerce-account table.order_details .product-purchase-note p:last-child {
	margin-bottom: 0;
}

body.woocommerce-account .woocommerce-customer-details {
	margin-top: 8px;
}

body.woocommerce-account .woocommerce-customer-details .woocommerce-column__title {
	margin-bottom: 0.65rem !important;
}

body.woocommerce-account .woocommerce-customer-details address,
body.woocommerce-account .woocommerce-customer-details .woocommerce-column {
	background: var(--scw-beige-soft);
	border: 1px solid var(--scw-border);
	border-radius: 10px;
	padding: 16px 18px;
	font-style: normal;
	line-height: 1.6;
}

body.woocommerce-account .woocommerce-columns--addresses {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

body.woocommerce-account .woocommerce-customer-details--email,
body.woocommerce-account .woocommerce-customer-details--phone {
	margin: 8px 0 0;
	color: var(--scw-text);
}

body.woocommerce-account mark.order-number,
body.woocommerce-account mark.order-date {
	background: transparent;
	color: var(--scw-black);
	font-weight: 700;
}

body.woocommerce-account .woocommerce-badge,
body.woocommerce-account .classmarker-status-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

body.woocommerce-account .woocommerce-badge--completed,
body.woocommerce-account .classmarker-status-badge--completed {
	background: #e7f6ee;
	color: #146c36;
}

body.woocommerce-account .woocommerce-badge--pending,
body.woocommerce-account .classmarker-status-badge--available {
	background: #fff4e5;
	color: #9a5b00;
}

/* Login */
body.woocommerce-account .woocommerce-form-login,
body.woocommerce-account .u-column1.col-1,
body.woocommerce-account .u-column2.col-2 {
	max-width: 480px;
}

body.woocommerce-account:not(.logged-in) .woocommerce {
	display: block;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-login {
	background: var(--scw-white);
	border: 1px solid var(--scw-border);
	border-radius: 12px;
	padding: 28px 28px 24px;
	margin: 0 auto;
}

body.woocommerce-account:not(.logged-in) h2 {
	color: var(--scw-black) !important;
	font-size: 1.6rem !important;
	text-align: center;
}

/* Certifications plugin alignment */
body.woocommerce-account .classmarker-certifications {
	--cm-accent: var(--scw-pink);
	--cm-text: var(--scw-black);
	--cm-text-muted: var(--scw-muted);
}

/* Mobile */
@media (max-width: 900px) {
	body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce,
	body.woocommerce-account .woocommerce {
		display: block;
	}

	.scw-account-navigation-wrapper,
	body.woocommerce-account .woocommerce-MyAccount-content {
		width: 100%;
		flex: none;
	}

	.scw-account-navigation-wrapper {
		background: transparent;
		border: 0;
		padding: 0;
		overflow: visible;
	}

	.scw-account-card {
		margin-bottom: 12px;
		background: var(--scw-beige-soft);
		border: 1px solid var(--scw-border);
		border-radius: 12px;
		padding: 16px 0 0;
	}

	.scw-account-user {
		border-bottom: 0;
		margin-bottom: 0;
	}

	button.scw-account-menu-toggle {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		gap: 8px;
		width: 100%;
		min-height: 48px;
		margin: 12px 0 0;
		padding: 14px 18px;
		background: var(--scw-pink);
		color: #fff;
		border: 0;
		border-radius: 8px;
		font-family: var(--scw-font);
		font-size: 0.95rem;
		font-weight: 700;
		cursor: pointer;
	}

	.woocommerce-MyAccount-navigation {
		position: fixed;
		top: 0;
		left: 0;
		width: 320px;
		max-width: 86vw;
		height: 100vh;
		background: var(--scw-white);
		z-index: 999999;
		transform: translateX(-105%);
		transition: transform 0.25s ease;
		overflow-y: auto;
		box-shadow: 12px 0 30px rgba(0, 0, 0, 0.18);
		padding-top: 20px;
	}

	body.scw-account-menu-open .woocommerce-MyAccount-navigation {
		transform: translateX(0);
	}

	.scw-account-mobile-overlay {
		position: fixed;
		inset: 0;
		background: rgba(15, 19, 33, 0.45);
		z-index: 999998;
	}

	body.scw-account-menu-open .scw-account-mobile-overlay {
		display: block !important;
	}

	body.scw-account-menu-open {
		overflow: hidden;
	}

	body.woocommerce-account .woocommerce-MyAccount-content,
	body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce-MyAccount-content {
		margin-top: 16px;
		padding: 18px 16px !important;
		padding-inline-start: 16px !important;
	}

	body.woocommerce-account .woocommerce-Addresses,
	.scw-account-quick-links {
		grid-template-columns: 1fr;
	}

	body.woocommerce-account table.shop_table thead {
		display: none;
	}

	body.woocommerce-account table.shop_table,
	body.woocommerce-account table.woocommerce-orders-table,
	body.woocommerce-account .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .shop_table {
		min-width: 0;
		border: 0 !important;
		background: transparent;
	}

	body.woocommerce-account table.shop_table tbody tr,
	body.woocommerce-account table.woocommerce-orders-table tbody tr {
		display: block;
		background: var(--scw-white);
		border: 1px solid var(--scw-border);
		border-radius: 10px;
		margin-bottom: 12px;
		padding: 8px 4px;
	}

	body.woocommerce-account table.shop_table td,
	body.woocommerce-account table.woocommerce-orders-table td,
	body.woocommerce-account table.woocommerce-orders-table th.woocommerce-orders-table__cell {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 12px;
		width: 100%;
		padding: 10px 14px !important;
		padding-inline-start: 14px !important;
		padding-inline-end: 14px !important;
		border: 0 !important;
		text-align: right;
	}

	body.woocommerce-account table.shop_table td::before,
	body.woocommerce-account table.woocommerce-orders-table td::before,
	body.woocommerce-account table.woocommerce-orders-table th.woocommerce-orders-table__cell::before {
		content: attr(data-title);
		color: var(--scw-muted);
		font-size: 0.72rem;
		font-weight: 700;
		letter-spacing: 0.05em;
		text-transform: uppercase;
		text-align: left;
	}

	body.woocommerce-account .woocommerce-orders-table__cell-order-actions,
	body.woocommerce-account .woocommerce-orders td.woocommerce-orders-table__cell-order-actions {
		display: flex !important;
		justify-content: space-between;
		align-items: center;
	}

	body.woocommerce-account .woocommerce-orders-table__cell-order-actions::before {
		display: flex;
		align-items: center;
		min-height: 32px;
		line-height: 1;
	}

	body.woocommerce-account .woocommerce-orders-table__cell-order-actions .button,
	body.woocommerce-account .woocommerce-orders-table__cell-order-actions .woocommerce-button {
		margin: 0 !important;
	}

	body.woocommerce-account table.order_details,
	body.woocommerce-account table.woocommerce-table--order-details {
		min-width: 0;
		display: table;
		border: 1px solid #ece6de !important;
		background: var(--scw-white);
	}

	body.woocommerce-account table.order_details thead {
		display: table-header-group;
	}

	body.woocommerce-account table.order_details tbody tr,
	body.woocommerce-account table.order_details tfoot tr {
		display: table-row;
		background: transparent;
		border: 0;
		border-radius: 0;
		margin: 0;
		padding: 0;
	}

	body.woocommerce-account table.order_details td,
	body.woocommerce-account table.order_details th,
	body.woocommerce-account table.order_details th.woocommerce-orders-table__cell {
		display: table-cell;
		width: auto;
		text-align: left;
		padding: 12px 14px !important;
	}

	body.woocommerce-account table.order_details td::before,
	body.woocommerce-account table.order_details th::before {
		content: none;
	}

	body.woocommerce-account table.order_details .product-total,
	body.woocommerce-account table.order_details tfoot th,
	body.woocommerce-account table.order_details tfoot td {
		text-align: right !important;
	}

	body.woocommerce-account .woocommerce-columns--addresses {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	body.woocommerce-account .woocommerce-MyAccount-content {
		padding: 16px 12px;
	}

	.scw-account-user {
		padding: 0 14px 14px;
	}
}
