/* ================================================================
   Sauna Hat Club — WooCommerce Custom Styles
   Mini Cart, Cart Page, Checkout Page
   ================================================================ */

/* ══════════════════════════════
   MINI CART DRAWER
   ══════════════════════════════ */

/* ── Reset ── */
.woocommerce-mini-cart {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* ── Cart Item Row ── */
.woocommerce-mini-cart .woocommerce-mini-cart-item {
	display: grid;
	grid-template-columns: 64px 1fr auto;
	grid-template-rows: auto auto;
	column-gap: 0.85rem;
	row-gap: 2px;
	padding: 1rem 1.25rem;
	border-bottom: 1px solid rgba(200,200,190,0.25);
	position: relative;
	align-items: start;
	transition: background 0.15s;
}
.woocommerce-mini-cart .woocommerce-mini-cart-item:last-child {
	border-bottom: none;
}
.woocommerce-mini-cart .woocommerce-mini-cart-item:hover {
	background: rgba(255,255,255,0.6);
}

/* ── Thumbnail ── */
.woocommerce-mini-cart .woocommerce-mini-cart-item a:first-child {
	grid-row: 1 / 3;
	grid-column: 1;
}
.woocommerce-mini-cart .woocommerce-mini-cart-item img {
	width: 64px !important;
	height: 64px !important;
	object-fit: cover;
	border-radius: 6px;
	border: 1px solid rgba(200,200,190,0.25);
}

/* ── Product Name ── */
.woocommerce-mini-cart .woocommerce-mini-cart-item a:not(.remove) {
	font-family: var(--font-sans, 'Inter', sans-serif);
	font-size: 0.8rem;
	font-weight: 500;
	color: #2E3B2F;
	text-decoration: none;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	grid-column: 2;
	align-self: center;
}
.woocommerce-mini-cart .woocommerce-mini-cart-item a:not(.remove):hover {
	color: #4A7C6F;
}

/* ── Qty × Price ── */
.woocommerce-mini-cart .woocommerce-mini-cart-item .quantity {
	grid-column: 2;
	grid-row: 2;
	font-family: var(--font-sans, 'Inter', sans-serif);
	font-size: 0.7rem;
	color: rgba(46,59,47,0.45);
	letter-spacing: 0.02em;
}
.woocommerce-mini-cart .woocommerce-mini-cart-item .quantity .woocommerce-Price-amount {
	color: #4A7C6F;
	font-weight: 600;
}

/* ── Remove × ── */
.woocommerce-mini-cart .woocommerce-mini-cart-item a.remove {
	grid-column: 3;
	grid-row: 1 / 3;
	align-self: center;
	font-size: 0 !important;
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: transparent;
	color: rgba(46,59,47,0.25) !important;
	text-decoration: none;
	transition: all 0.2s;
	border: 1px solid transparent;
}
.woocommerce-mini-cart .woocommerce-mini-cart-item a.remove::after {
	content: '×';
	font-size: 16px;
	line-height: 1;
	font-weight: 300;
}
.woocommerce-mini-cart .woocommerce-mini-cart-item a.remove:hover {
	background: rgba(183,50,57,0.08);
	color: #B73239 !important;
	border-color: rgba(183,50,57,0.15);
}

/* ── Subtotal Bar ── */
.woocommerce-mini-cart__total {
	padding: 0.85rem 1.25rem;
	border-top: 1px solid rgba(200,200,190,0.35);
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: var(--font-sans, 'Inter', sans-serif);
	background: #f8f8f5;
}
.woocommerce-mini-cart__total strong {
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-weight: 500;
	color: rgba(46,59,47,0.5);
}
.woocommerce-mini-cart__total .woocommerce-Price-amount {
	font-size: 1.1rem;
	font-weight: 700;
	color: #2E3B2F;
	letter-spacing: -0.01em;
}

/* ── Action Buttons ── */
.woocommerce-mini-cart__buttons {
	padding: 0.75rem 1.25rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	background: #f8f8f5;
}
.woocommerce-mini-cart__buttons .button {
	display: block;
	width: 100%;
	text-align: center;
	padding: 0.75rem 1rem;
	font-family: var(--font-sans, 'Inter', sans-serif);
	font-size: 0.65rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	border: none;
	border-radius: 2px;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
}
.woocommerce-mini-cart__buttons .button.checkout {
	background: #2E3B2F;
	color: #F5F5F0;
	order: -1;
}
.woocommerce-mini-cart__buttons .button.checkout:hover {
	background: #4A7C6F;
}
.woocommerce-mini-cart__buttons .button.wc-forward:not(.checkout) {
	background: transparent;
	color: rgba(46,59,47,0.5);
	border: 1px solid rgba(200,200,190,0.4);
	font-weight: 500;
}
.woocommerce-mini-cart__buttons .button.wc-forward:not(.checkout):hover {
	border-color: #4A7C6F;
	color: #4A7C6F;
}

/* ── Empty Cart ── */
.woocommerce-mini-cart__empty-message {
	text-align: center;
	padding: 4rem 2rem;
	color: rgba(46,59,47,0.4);
	font-family: var(--font-sans, 'Inter', sans-serif);
	font-size: 0.8rem;
	letter-spacing: 0.02em;
}


/* ══════════════════════════════
   CART PAGE
   ══════════════════════════════ */

.wc-proceed-to-checkout .checkout-button,
.wc-proceed-to-checkout a {
	display: block !important;
	width: 100% !important;
	text-align: center !important;
	padding: 1rem 2rem !important;
	background: #2E3B2F !important;
	color: #F5F5F0 !important;
	font-family: var(--font-sans, 'Inter', sans-serif) !important;
	font-size: 0.7rem !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.2em !important;
	border: none !important;
	border-radius: 2px !important;
	cursor: pointer !important;
	transition: background 0.25s ease !important;
	text-decoration: none !important;
	margin-top: 0.5rem !important;
}
.wc-proceed-to-checkout .checkout-button:hover,
.wc-proceed-to-checkout a:hover {
	background: #4A7C6F !important;
}


/* ══════════════════════════════════════════════════════════════════
   CHECKOUT PAGE
   Root cause: page.php wraps content in max-w-3xl (768px).
   We bust that open for checkout, hide distractions, and let
   WooCommerce Blocks' own flexbox handle the two-column layout.
   ══════════════════════════════════════════════════════════════════ */

/* Distraction-free: hide nav, account icon, page header banner, footer */
.woocommerce-checkout .site-header .main-navigation,
.woocommerce-checkout .site-header .header-actions a[aria-label="Account"],
.woocommerce-checkout .site-footer {
	display: none !important;
}
.woocommerce-checkout .site-header {
	border-bottom: 1px solid rgba(200,200,190,0.3) !important;
}
/* Hide the dark "Checkout" page header banner from page.php */
.woocommerce-checkout article > header,
.woocommerce-checkout .site-main > header,
.woocommerce-checkout header.bg-shc-forest {
	display: none !important;
}

/* ── BUST OPEN the max-w-3xl container from page.php ── */
.woocommerce-checkout .site-main {
	max-width: 100% !important;
	padding: 0 !important;
}
.woocommerce-checkout article {
	padding: 0 !important;
	margin: 0 !important;
}
/* This is the key fix — page.php line 22: <div class="max-w-3xl"> */
.woocommerce-checkout article > div {
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}
.woocommerce-checkout .entry-content {
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}
.woocommerce-checkout .entry-content > * {
	max-width: 100% !important;
}
.wp-block-woocommerce-checkout {
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* ── Enable two-column flex layout ── */
.wc-block-checkout {
	max-width: 100% !important;
	margin: 0 !important;
	display: flex !important;
	flex-wrap: wrap !important;
	min-height: calc(100vh - 5rem) !important;
}

/* Global checkout font */
.wc-block-checkout,
.wc-block-checkout *,
.wp-block-woocommerce-checkout {
	font-family: var(--font-sans, 'Inter', sans-serif) !important;
}

/* ── Form column — fills entire left side ── */
.wc-block-checkout__main {
	padding: 2.5rem 4rem 3rem 4rem !important;
	flex: 1 1 0% !important;
	min-width: 0 !important;
}
@media (max-width: 768px) {
	.wc-block-checkout__main {
		padding: 1.5rem 1rem !important;
	}
}

/* ── Order summary sidebar ── */
.wc-block-checkout__sidebar {
	background: #f6f6f3 !important;
	border-left: 1px solid rgba(200,200,190,0.3) !important;
	padding: 2.5rem 2rem 3rem !important;
	flex: 0 0 440px !important;
	max-width: 440px !important;
	min-width: 340px !important;
}
@media (max-width: 768px) {
	.wc-block-checkout__sidebar {
		flex: 1 1 auto !important;
		max-width: 100% !important;
		min-width: 0 !important;
		border-left: none !important;
		border-top: 1px solid rgba(200,200,190,0.3) !important;
		padding: 1.5rem 1rem !important;
	}
}

/* ── Section Headings ── */
.wc-block-checkout .wc-block-components-checkout-step__title {
	font-size: 0.8rem !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.12em !important;
	color: #2E3B2F !important;
}
.wc-block-checkout .wc-block-components-checkout-step {
	border: none !important;
	padding-bottom: 1.25rem !important;
	margin-bottom: 0.25rem !important;
}

/* Order summary heading */
.wc-block-checkout__sidebar h2,
.wc-block-components-order-summary h2 {
	font-size: 1rem !important;
	font-weight: 600 !important;
	color: #2E3B2F !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	margin-bottom: 0.75rem !important;
}

/* ── Form Inputs ── */
.wc-block-checkout input[type="text"],
.wc-block-checkout input[type="email"],
.wc-block-checkout input[type="tel"],
.wc-block-checkout input[type="number"],
.wc-block-checkout select,
.wc-block-checkout textarea,
.wc-block-components-text-input input,
.wc-block-components-text-input textarea {
	font-size: 0.875rem !important;
	border: 1px solid rgba(200,200,190,0.55) !important;
	border-radius: 5px !important;
	transition: border-color 0.15s, box-shadow 0.15s !important;
	background: #fff !important;
}
.wc-block-checkout input:focus,
.wc-block-checkout select:focus,
.wc-block-components-text-input input:focus {
	border-color: #4A7C6F !important;
	box-shadow: 0 0 0 2px rgba(74,124,111,0.12) !important;
	outline: none !important;
}
.wc-block-components-text-input label {
	font-size: 0.75rem !important;
	color: rgba(46,59,47,0.5) !important;
}

/* ── Order Summary Items ── */
.wc-block-components-order-summary {
	border: none !important;
}
.wc-block-components-order-summary .wc-block-components-order-summary-item {
	padding: 0.75rem 0 !important;
	border-bottom: 1px solid rgba(200,200,190,0.2) !important;
}
.wc-block-components-order-summary .wc-block-components-order-summary-item:last-child {
	border-bottom: none !important;
}

/* Product thumbnail — forced square */
.wc-block-components-order-summary-item__image {
	width: 64px !important;
	height: 64px !important;
	min-width: 64px !important;
	max-width: 64px !important;
	min-height: 64px !important;
	max-height: 64px !important;
	border-radius: 8px !important;
	overflow: hidden !important;
	border: 1px solid rgba(200,200,190,0.3) !important;
	flex-shrink: 0 !important;
	position: relative !important;
}
.wc-block-components-order-summary-item__image img {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
}

/* Product name */
.wc-block-components-order-summary-item__description .wc-block-components-product-name {
	font-size: 0.8rem !important;
	font-weight: 500 !important;
	color: #2E3B2F !important;
	line-height: 1.35 !important;
}
.wc-block-components-order-summary-item__total-price {
	font-size: 0.8rem !important;
	font-weight: 600 !important;
	color: #2E3B2F !important;
}

/* Product metadata */
.wc-block-components-product-metadata {
	font-size: 0.7rem !important;
	color: rgba(46,59,47,0.45) !important;
	margin-top: 2px !important;
}

/* Prices */
.wc-block-components-order-summary-item__description del {
	color: rgba(46,59,47,0.35) !important;
	font-size: 0.7rem !important;
}
.wc-block-components-order-summary-item__description ins {
	text-decoration: none !important;
	font-weight: 600 !important;
	color: #2E3B2F !important;
	font-size: 0.75rem !important;
}

/* ── Sale Badge ── */
.wc-block-components-sale-badge {
	background: rgba(74,124,111,0.1) !important;
	color: #4A7C6F !important;
	font-size: 0.6rem !important;
	font-weight: 600 !important;
	border-radius: 3px !important;
	padding: 2px 6px !important;
	white-space: nowrap !important;
}

/* ── Totals ── */
.wc-block-components-totals-wrapper {
	border-top: 1px solid rgba(200,200,190,0.25) !important;
}
.wc-block-components-totals-item .wc-block-components-totals-item__label {
	font-size: 0.8rem !important;
	color: rgba(46,59,47,0.6) !important;
	font-weight: 400 !important;
}
.wc-block-components-totals-item .wc-block-components-totals-item__value {
	font-size: 0.8rem !important;
	font-weight: 600 !important;
	color: #2E3B2F !important;
}

/* Grand total */
.wc-block-components-totals-footer-item {
	border-top: 1px solid rgba(200,200,190,0.4) !important;
	padding-top: 1rem !important;
	margin-top: 0.25rem !important;
}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
	font-size: 0.85rem !important;
	font-weight: 600 !important;
	color: #2E3B2F !important;
}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-size: 1.2rem !important;
	font-weight: 700 !important;
	color: #2E3B2F !important;
}

/* ── Place Order Button ── */
.wc-block-checkout__actions button,
.wc-block-components-checkout-place-order-button,
.wc-block-checkout .wc-block-components-button:not(.wc-block-components-button--link) {
	background: #2E3B2F !important;
	color: #F5F5F0 !important;
	font-size: 0.7rem !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.2em !important;
	padding: 1rem 2rem !important;
	border: none !important;
	border-radius: 4px !important;
	cursor: pointer !important;
	transition: background 0.2s ease !important;
	width: 100% !important;
}
.wc-block-checkout__actions button:hover,
.wc-block-components-checkout-place-order-button:hover,
.wc-block-checkout .wc-block-components-button:not(.wc-block-components-button--link):hover {
	background: #4A7C6F !important;
}

/* ── Radio & Checkbox ── */
.wc-block-components-radio-control__option {
	font-size: 0.8rem !important;
}
.wc-block-components-radio-control__input:checked {
	border-color: #4A7C6F !important;
	background: #4A7C6F !important;
}
.wc-block-checkout input[type="checkbox"]:checked {
	accent-color: #4A7C6F !important;
}

/* ── Payment Options ── */
.wc-block-checkout .wc-block-components-payment-method-label {
	font-size: 0.8rem !important;
}

/* ── Coupon ── */
.wc-block-components-totals-coupon-link {
	font-size: 0.75rem !important;
	color: #4A7C6F !important;
}
.wc-block-components-totals-coupon__input input {
	border-radius: 4px !important;
}
.wc-block-components-totals-coupon__button {
	background: #2E3B2F !important;
	color: #F5F5F0 !important;
	border-radius: 4px !important;
	font-size: 0.7rem !important;
	text-transform: uppercase !important;
	letter-spacing: 0.1em !important;
}

/* ── Error Messages ── */
.wc-block-components-notice-banner.is-error {
	border-left-color: #B73239 !important;
	font-size: 0.8rem !important;
	border-radius: 4px !important;
}


/* ══════════════════════════════
   CLASSIC CHECKOUT OVERRIDES
   ══════════════════════════════ */

.woocommerce-checkout #place_order {
	background: #2E3B2F !important;
	color: #F5F5F0 !important;
	font-size: 0.7rem !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.2em !important;
	padding: 1rem 2rem !important;
	border: none !important;
	border-radius: 4px !important;
	width: 100% !important;
	cursor: pointer !important;
	transition: background 0.2s ease !important;
}
.woocommerce-checkout #place_order:hover {
	background: #4A7C6F !important;
}
.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
	border: 1px solid rgba(200,200,190,0.5) !important;
	border-radius: 5px !important;
}
.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus {
	border-color: #4A7C6F !important;
	box-shadow: 0 0 0 2px rgba(74,124,111,0.12) !important;
}


/* ══════════════════════════════════════════════════
   MY ACCOUNT — Dashboard, Orders, View Order, etc.
   ══════════════════════════════════════════════════ */

/* ── Page container — remove narrow max-w-3xl from page.php ── */
.woocommerce-account article > div {
	max-width: 960px !important;
	margin: 0 auto !important;
	padding: 2rem 2rem !important;
}
@media (max-width: 768px) {
	.woocommerce-account article > div {
		padding: 1rem !important;
	}
}

/* ── Two-column layout: nav sidebar + content ── */
.woocommerce-account .woocommerce {
	display: flex !important;
	gap: 2.5rem !important;
	align-items: flex-start !important;
	font-family: var(--font-sans, 'Inter', sans-serif) !important;
}
@media (max-width: 768px) {
	.woocommerce-account .woocommerce {
		flex-direction: column !important;
		gap: 1.5rem !important;
	}
}

/* ── Sidebar Navigation ── */
.woocommerce-MyAccount-navigation {
	flex: 0 0 200px !important;
	min-width: 200px !important;
	position: sticky !important;
	top: 6rem !important;
}
.woocommerce-MyAccount-navigation ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 2px !important;
}
.woocommerce-MyAccount-navigation ul li {
	margin: 0 !important;
	padding: 0 !important;
}
.woocommerce-MyAccount-navigation ul li a {
	display: block !important;
	padding: 0.65rem 1rem !important;
	font-size: 0.8rem !important;
	font-weight: 500 !important;
	color: rgba(46,59,47,0.65) !important;
	text-decoration: none !important;
	border-radius: 6px !important;
	transition: all 0.15s ease !important;
	letter-spacing: 0.01em !important;
}
.woocommerce-MyAccount-navigation ul li a:hover {
	background: rgba(74,124,111,0.06) !important;
	color: #2E3B2F !important;
}
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--orders.is-active a {
	background: rgba(74,124,111,0.1) !important;
	color: #2E3B2F !important;
	font-weight: 600 !important;
}
@media (max-width: 768px) {
	.woocommerce-MyAccount-navigation {
		flex: 1 1 auto !important;
		min-width: 0 !important;
		position: relative !important;
		top: 0 !important;
	}
	.woocommerce-MyAccount-navigation ul {
		flex-direction: row !important;
		flex-wrap: wrap !important;
		gap: 4px !important;
	}
	.woocommerce-MyAccount-navigation ul li a {
		padding: 0.5rem 0.75rem !important;
		font-size: 0.7rem !important;
		white-space: nowrap !important;
	}
}

/* ── Main Content Area ── */
.woocommerce-MyAccount-content {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	font-family: var(--font-sans, 'Inter', sans-serif) !important;
}

/* ── Order Status Banner ── */
.woocommerce-MyAccount-content > p:first-of-type {
	background: #f6f6f3 !important;
	border: 1px solid rgba(200,200,190,0.35) !important;
	border-radius: 8px !important;
	padding: 1rem 1.25rem !important;
	font-size: 0.85rem !important;
	color: #2E3B2F !important;
	line-height: 1.5 !important;
	margin-bottom: 2rem !important;
}
.woocommerce-MyAccount-content > p:first-of-type mark {
	background: rgba(74,124,111,0.12) !important;
	color: #2E3B2F !important;
	padding: 2px 6px !important;
	border-radius: 3px !important;
	font-weight: 600 !important;
}

/* ── Section Headings (Order details, Billing address, etc.) ── */
.woocommerce-MyAccount-content h2 {
	font-family: var(--font-sans, 'Inter', sans-serif) !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.1em !important;
	color: #2E3B2F !important;
	margin: 2rem 0 1rem !important;
	padding-bottom: 0.5rem !important;
	border-bottom: 1px solid rgba(200,200,190,0.3) !important;
}
.woocommerce-MyAccount-content h2:first-of-type {
	margin-top: 0 !important;
}

/* ── Order Details Table ── */
.woocommerce-table--order-details {
	width: 100% !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	border: 1px solid rgba(200,200,190,0.3) !important;
	border-radius: 8px !important;
	overflow: hidden !important;
	font-size: 0.85rem !important;
	margin-bottom: 1.5rem !important;
}
.woocommerce-table--order-details thead th {
	background: #f6f6f3 !important;
	font-size: 0.7rem !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.1em !important;
	color: rgba(46,59,47,0.6) !important;
	padding: 0.75rem 1rem !important;
	border-bottom: 1px solid rgba(200,200,190,0.3) !important;
	text-align: left !important;
}
.woocommerce-table--order-details tbody td {
	padding: 0.85rem 1rem !important;
	border-bottom: 1px solid rgba(200,200,190,0.15) !important;
	color: #2E3B2F !important;
	vertical-align: top !important;
}
.woocommerce-table--order-details tbody tr:last-child td {
	border-bottom: none !important;
}
.woocommerce-table--order-details tbody td a {
	color: #4A7C6F !important;
	text-decoration: none !important;
	font-weight: 500 !important;
}
.woocommerce-table--order-details tbody td a:hover {
	text-decoration: underline !important;
}
.woocommerce-table--order-details tbody td .amount {
	font-weight: 600 !important;
	white-space: nowrap !important;
}
.woocommerce-table--order-details tfoot th {
	text-align: right !important;
	padding: 0.65rem 1rem !important;
	font-size: 0.8rem !important;
	font-weight: 500 !important;
	color: rgba(46,59,47,0.6) !important;
	border-top: 1px solid rgba(200,200,190,0.2) !important;
}
.woocommerce-table--order-details tfoot td {
	padding: 0.65rem 1rem !important;
	font-size: 0.85rem !important;
	font-weight: 600 !important;
	color: #2E3B2F !important;
	border-top: 1px solid rgba(200,200,190,0.2) !important;
	text-align: right !important;
}
/* Highlight total row */
.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-table--order-details tfoot tr:last-child td {
	border-top: 1px solid rgba(200,200,190,0.4) !important;
	font-weight: 700 !important;
	font-size: 0.9rem !important;
	color: #2E3B2F !important;
}

/* ── Orders List Table (order history) ── */
.woocommerce-orders-table {
	width: 100% !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	border: 1px solid rgba(200,200,190,0.3) !important;
	border-radius: 8px !important;
	overflow: hidden !important;
	font-size: 0.85rem !important;
}
.woocommerce-orders-table thead th {
	background: #f6f6f3 !important;
	font-size: 0.7rem !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.1em !important;
	color: rgba(46,59,47,0.6) !important;
	padding: 0.75rem 1rem !important;
	border-bottom: 1px solid rgba(200,200,190,0.3) !important;
	text-align: left !important;
}
.woocommerce-orders-table tbody td {
	padding: 0.85rem 1rem !important;
	border-bottom: 1px solid rgba(200,200,190,0.15) !important;
	color: #2E3B2F !important;
	vertical-align: middle !important;
}
.woocommerce-orders-table tbody tr:last-child td {
	border-bottom: none !important;
}
.woocommerce-orders-table tbody td a {
	color: #4A7C6F !important;
	text-decoration: none !important;
}
.woocommerce-orders-table tbody td a:hover {
	text-decoration: underline !important;
}
/* View button */
.woocommerce-orders-table .woocommerce-button,
.woocommerce-orders-table .button {
	display: inline-block !important;
	padding: 0.45rem 1rem !important;
	font-size: 0.65rem !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.12em !important;
	background: #2E3B2F !important;
	color: #F5F5F0 !important;
	border-radius: 4px !important;
	border: none !important;
	text-decoration: none !important;
	transition: background 0.2s !important;
}
.woocommerce-orders-table .woocommerce-button:hover,
.woocommerce-orders-table .button:hover {
	background: #4A7C6F !important;
}

/* ── Customer Details (Billing / Shipping Address) ── */
.woocommerce-customer-details {
	margin-top: 1rem !important;
}
.woocommerce-customer-details .woocommerce-columns {
	display: flex !important;
	gap: 1.5rem !important;
	flex-wrap: wrap !important;
}
.woocommerce-customer-details .woocommerce-column {
	flex: 1 1 280px !important;
	background: #f6f6f3 !important;
	border: 1px solid rgba(200,200,190,0.3) !important;
	border-radius: 8px !important;
	padding: 1.25rem 1.5rem !important;
}
.woocommerce-customer-details .woocommerce-column h2 {
	border-bottom: none !important;
	margin: 0 0 0.5rem !important;
	padding-bottom: 0 !important;
	font-size: 0.75rem !important;
}
.woocommerce-customer-details address {
	font-style: normal !important;
	font-size: 0.85rem !important;
	line-height: 1.6 !important;
	color: rgba(46,59,47,0.75) !important;
}
.woocommerce-customer-details address p {
	margin: 0.15rem 0 !important;
}
/* When address is a direct child (single billing, no columns wrapper) */
.woocommerce-customer-details > address {
	background: #f6f6f3 !important;
	border: 1px solid rgba(200,200,190,0.3) !important;
	border-radius: 8px !important;
	padding: 1.25rem 1.5rem !important;
	font-style: normal !important;
	font-size: 0.85rem !important;
	line-height: 1.6 !important;
	color: rgba(46,59,47,0.75) !important;
	max-width: 400px !important;
}

/* ── Dashboard welcome message ── */
.woocommerce-MyAccount-content > p a {
	color: #4A7C6F !important;
	font-weight: 500 !important;
}
.woocommerce-MyAccount-content > p a:hover {
	text-decoration: underline !important;
}

/* ── Edit Account / Address Forms ── */
.woocommerce-MyAccount-content .woocommerce-EditAccountForm label,
.woocommerce-MyAccount-content .woocommerce-address-fields label {
	font-size: 0.75rem !important;
	font-weight: 500 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.05em !important;
	color: rgba(46,59,47,0.6) !important;
	margin-bottom: 0.25rem !important;
	display: block !important;
}
.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="tel"],
.woocommerce-MyAccount-content input[type="password"],
.woocommerce-MyAccount-content select,
.woocommerce-MyAccount-content textarea {
	width: 100% !important;
	border: 1px solid rgba(200,200,190,0.5) !important;
	border-radius: 5px !important;
	padding: 0.65rem 0.85rem !important;
	font-size: 0.85rem !important;
	font-family: var(--font-sans, 'Inter', sans-serif) !important;
	transition: border-color 0.15s, box-shadow 0.15s !important;
	background: #fff !important;
}
.woocommerce-MyAccount-content input:focus,
.woocommerce-MyAccount-content select:focus {
	border-color: #4A7C6F !important;
	box-shadow: 0 0 0 2px rgba(74,124,111,0.12) !important;
	outline: none !important;
}
.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content button[type="submit"] {
	display: inline-block !important;
	padding: 0.75rem 2rem !important;
	font-size: 0.7rem !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.18em !important;
	background: #2E3B2F !important;
	color: #F5F5F0 !important;
	border-radius: 4px !important;
	border: none !important;
	cursor: pointer !important;
	transition: background 0.2s !important;
	text-decoration: none !important;
	font-family: var(--font-sans, 'Inter', sans-serif) !important;
}
.woocommerce-MyAccount-content .button:hover,
.woocommerce-MyAccount-content button[type="submit"]:hover {
	background: #4A7C6F !important;
}

/* ── No Orders / Notices ── */
.woocommerce-MyAccount-content .woocommerce-info,
.woocommerce-MyAccount-content .woocommerce-message {
	background: #f6f6f3 !important;
	border: 1px solid rgba(200,200,190,0.3) !important;
	border-left: 3px solid #4A7C6F !important;
	border-radius: 6px !important;
	padding: 1rem 1.25rem !important;
	font-size: 0.85rem !important;
	color: #2E3B2F !important;
}

/* ══════════════════════════════════════════════════
   GLOBAL WOOCOMMERCE NOTICES
   ══════════════════════════════════════════════════ */

/* Base notice styling */
.woocommerce-notices-wrapper {
	margin-bottom: 1.5rem !important;
}

/* Only show the LAST notice when multiple are stacked */
.woocommerce-notices-wrapper .woocommerce-message:not(:last-of-type),
.woocommerce-notices-wrapper .woocommerce-info:not(:last-of-type),
.woocommerce-notices-wrapper .woocommerce-error:not(:last-of-type) {
	display: none !important;
}

/* Also hide duplicate notice wrappers — only show last wrapper */
.woocommerce-account .woocommerce-notices-wrapper ~ .woocommerce-notices-wrapper {
	display: none !important;
}

/* Success / Message notice */
.woocommerce-message {
	font-family: var(--font-sans, 'Inter', sans-serif) !important;
	background: #f0fdf4 !important;
	border: 1px solid #bbf7d0 !important;
	border-left: 3px solid #4A7C6F !important;
	border-radius: 8px !important;
	padding: 0.85rem 1.25rem !important;
	font-size: 0.85rem !important;
	color: #2E3B2F !important;
	line-height: 1.5 !important;
	display: flex !important;
	align-items: center !important;
	gap: 0.75rem !important;
	flex-wrap: wrap !important;
	position: relative !important;
	margin-bottom: 0.5rem !important;
}
.woocommerce-message::before {
	content: "✓" !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 22px !important;
	height: 22px !important;
	background: #4A7C6F !important;
	color: #fff !important;
	border-radius: 50% !important;
	font-size: 0.7rem !important;
	font-weight: 700 !important;
	flex-shrink: 0 !important;
}
.woocommerce-message .button {
	margin-left: auto !important;
	padding: 0.4rem 1rem !important;
	font-size: 0.65rem !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.12em !important;
	background: #2E3B2F !important;
	color: #F5F5F0 !important;
	border-radius: 4px !important;
	border: none !important;
	text-decoration: none !important;
	transition: background 0.2s !important;
	white-space: nowrap !important;
}
.woocommerce-message .button:hover {
	background: #4A7C6F !important;
}

/* Info notice */
.woocommerce-info {
	font-family: var(--font-sans, 'Inter', sans-serif) !important;
	background: #f6f6f3 !important;
	border: 1px solid rgba(200,200,190,0.35) !important;
	border-left: 3px solid #4A7C6F !important;
	border-radius: 8px !important;
	padding: 0.85rem 1.25rem !important;
	font-size: 0.85rem !important;
	color: #2E3B2F !important;
	line-height: 1.5 !important;
	margin-bottom: 0.5rem !important;
}
.woocommerce-info::before {
	content: "i" !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 22px !important;
	height: 22px !important;
	background: rgba(74,124,111,0.15) !important;
	color: #4A7C6F !important;
	border-radius: 50% !important;
	font-size: 0.7rem !important;
	font-weight: 700 !important;
	font-style: italic !important;
	flex-shrink: 0 !important;
	margin-right: 0.5rem !important;
}

/* Error notice */
.woocommerce-error {
	font-family: var(--font-sans, 'Inter', sans-serif) !important;
	background: #fef2f2 !important;
	border: 1px solid #fecaca !important;
	border-left: 3px solid #B73239 !important;
	border-radius: 8px !important;
	padding: 0.85rem 1.25rem !important;
	font-size: 0.85rem !important;
	color: #991b1b !important;
	line-height: 1.5 !important;
	margin-bottom: 0.5rem !important;
	list-style: none !important;
}
.woocommerce-error::before {
	content: "!" !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 22px !important;
	height: 22px !important;
	background: #B73239 !important;
	color: #fff !important;
	border-radius: 50% !important;
	font-size: 0.7rem !important;
	font-weight: 700 !important;
	flex-shrink: 0 !important;
	margin-right: 0.5rem !important;
}


/* ══════════════════════════════════════════════════
   TRACK ORDER PAGE
   ══════════════════════════════════════════════════ */
.shc-track-page {
	min-height: 60vh;
	padding: 2.5rem 1rem 4rem;
	background: #F5F5F0;
	font-family: var(--font-sans, 'Inter', sans-serif);
}
.shc-track-container {
	max-width: 660px;
	margin: 0 auto;
}

/* ── Card base ── */
.shc-track-card {
	background: #fff;
	border: 1px solid rgba(200,200,190,0.35);
	border-radius: 10px;
	padding: 1.75rem 2rem;
	margin-bottom: 1rem;
	box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

/* ── Lookup Form ── */
.shc-track-form-row {
	display: flex;
	gap: 0.75rem;
	margin-bottom: 1rem;
}
@media (max-width: 540px) {
	.shc-track-form-row {
		flex-direction: column;
	}
}
.shc-track-field {
	flex: 1;
}
.shc-track-field label {
	display: block;
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(46,59,47,0.55);
	margin-bottom: 0.35rem;
}
.shc-track-field input {
	width: 100%;
	border: 1px solid rgba(200,200,190,0.5);
	border-radius: 6px;
	padding: 0.7rem 0.85rem;
	font-size: 0.85rem;
	font-family: inherit;
	transition: border-color 0.15s, box-shadow 0.15s;
	background: #fff;
	box-sizing: border-box;
}
.shc-track-field input:focus {
	border-color: #4A7C6F;
	box-shadow: 0 0 0 3px rgba(74,124,111,0.1);
	outline: none;
}
.shc-track-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	padding: 0.8rem;
	background: #2E3B2F;
	color: #F5F5F0;
	border: none;
	border-radius: 6px;
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	cursor: pointer;
	transition: background 0.2s;
	font-family: inherit;
}
.shc-track-submit:hover {
	background: #4A7C6F;
}
.shc-track-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}
.shc-track-error {
	margin-top: 0.75rem;
	padding: 0.65rem 1rem;
	background: #fdf2f2;
	border: 1px solid #fca5a5;
	border-radius: 6px;
	font-size: 0.8rem;
	color: #991b1b;
}

/* ── Order Header Card ── */
.shc-track-header-card {
	padding: 1.25rem 1.75rem;
}
.shc-track-order-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}
.shc-track-order-title {
	font-size: 1.15rem;
	font-weight: 700;
	color: #2E3B2F;
	margin: 0;
}
.shc-track-order-date {
	font-size: 0.78rem;
	color: rgba(46,59,47,0.5);
}
.shc-track-status {
	display: inline-block;
	padding: 0.3rem 0.85rem;
	font-size: 0.65rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	border-radius: 100px;
	white-space: nowrap;
}
.shc-track-status--pending {
	background: #fef3c7;
	color: #92400e;
}
.shc-track-status--processing {
	background: rgba(74,124,111,0.12);
	color: #2E3B2F;
}
.shc-track-status--on-hold {
	background: #fef3c7;
	color: #92400e;
}
.shc-track-status--completed {
	background: #d1fae5;
	color: #065f46;
}
.shc-track-status--cancelled,
.shc-track-status--refunded,
.shc-track-status--failed {
	background: #fee2e2;
	color: #991b1b;
}

/* ── Timeline ── */
.shc-track-timeline {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding: 1.5rem 0 2rem;
	position: relative;
}
.shc-track-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	flex: 1;
	min-width: 0;
}
.shc-track-step:last-child {
	flex: 0 0 auto;
}
.shc-track-step-dot {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #e5e5e0;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 2;
	transition: all 0.3s;
}
.shc-track-step--done .shc-track-step-dot {
	background: #4A7C6F;
	color: #fff;
}
.shc-track-step--active .shc-track-step-dot {
	background: #2E3B2F;
	box-shadow: 0 0 0 4px rgba(46,59,47,0.12);
}
.shc-track-step-pulse {
	width: 8px;
	height: 8px;
	background: #fff;
	border-radius: 50%;
	animation: shcPulse 1.5s ease-in-out infinite;
}
@keyframes shcPulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.5; transform: scale(1.3); }
}
.shc-track-step-label {
	margin-top: 0.5rem;
	font-size: 0.65rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgba(46,59,47,0.4);
	text-align: center;
	white-space: nowrap;
}
.shc-track-step--done .shc-track-step-label {
	color: #4A7C6F;
}
.shc-track-step--active .shc-track-step-label {
	color: #2E3B2F;
}
.shc-track-step-line {
	position: absolute;
	top: 14px;
	left: 50%;
	width: 100%;
	height: 2px;
	background: #e5e5e0;
	z-index: 1;
}
.shc-track-step-line--done {
	background: #4A7C6F;
}

/* ── Processing Info ── */
.shc-track-processing {
	background: #f6f6f3;
	border-radius: 8px;
	padding: 1.5rem;
	text-align: center;
	margin-top: 0.5rem;
}
.shc-track-processing-icon {
	font-size: 1.5rem;
	margin-bottom: 0.25rem;
}
.shc-track-processing h3 {
	font-size: 0.95rem;
	font-weight: 700;
	color: #2E3B2F;
	margin: 0 0 0.25rem;
}
.shc-track-processing > p {
	font-size: 0.8rem;
	color: rgba(46,59,47,0.6);
	margin: 0 0 1rem;
	line-height: 1.4;
}
.shc-track-progress-wrap {
	max-width: 340px;
	margin: 0 auto;
}
.shc-track-progress-bar {
	height: 6px;
	background: #e5e5e0;
	border-radius: 100px;
	overflow: hidden;
}
.shc-track-progress-fill {
	height: 100%;
	background: linear-gradient(90deg, #4A7C6F, #2E3B2F);
	border-radius: 100px;
	transition: width 0.8s cubic-bezier(0.4,0,0.2,1);
}
.shc-track-progress-labels {
	display: flex;
	justify-content: space-between;
	font-size: 0.65rem;
	color: rgba(46,59,47,0.45);
	margin-top: 0.35rem;
}
.shc-track-estimate {
	font-size: 0.78rem !important;
	color: rgba(46,59,47,0.6) !important;
	margin-top: 0.75rem !important;
}

/* ── Shipped Card ── */
.shc-track-shipped {
	background: #f0fdf4;
	border-radius: 8px;
	padding: 1.5rem;
	text-align: center;
	margin-top: 0.5rem;
}
.shc-track-shipped-icon {
	font-size: 1.5rem;
	margin-bottom: 0.25rem;
}
.shc-track-shipped h3 {
	font-size: 0.95rem;
	font-weight: 700;
	color: #2E3B2F;
	margin: 0 0 0.25rem;
}
.shc-track-dispatched-sub {
	font-size: 0.8rem;
	color: rgba(46,59,47,0.6);
	margin: 0 0 1rem;
}
.shc-track-shipped-detail {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
}
.shc-track-shipped-label {
	font-size: 0.7rem;
	color: rgba(46,59,47,0.5);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.shc-track-shipped-value {
	font-size: 0.85rem;
	font-weight: 600;
	color: #2E3B2F;
	font-family: monospace;
	letter-spacing: 0.03em;
}
.shc-track-carrier-btn {
	display: inline-block;
	padding: 0.6rem 1.5rem;
	background: #2E3B2F;
	color: #F5F5F0;
	text-decoration: none;
	font-size: 0.65rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	border-radius: 4px;
	transition: background 0.2s;
}
.shc-track-carrier-btn:hover {
	background: #4A7C6F;
}

/* ── Completed Card ── */
.shc-track-completed {
	background: #f0fdf4;
	border-radius: 8px;
	padding: 1.5rem;
	text-align: center;
	margin-top: 0.5rem;
}
.shc-track-completed-icon {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #4A7C6F;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}
.shc-track-completed h3 {
	font-size: 0.95rem;
	font-weight: 700;
	color: #2E3B2F;
	margin: 0 0 0.25rem;
}
.shc-track-completed p {
	font-size: 0.8rem;
	color: rgba(46,59,47,0.6);
	margin: 0;
}

/* ── Order Items ── */
.shc-track-section-title {
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: rgba(46,59,47,0.5);
	margin: 0 0 1rem;
}
.shc-track-items {
	display: flex;
	flex-direction: column;
}
.shc-track-item {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid rgba(200,200,190,0.2);
}
.shc-track-item:last-child {
	border-bottom: none;
}
.shc-track-item-img {
	width: 48px;
	height: 48px;
	border-radius: 6px;
	overflow: hidden;
	background: #f6f6f3;
	flex-shrink: 0;
}
.shc-track-item-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.shc-track-item-info {
	flex: 1;
	min-width: 0;
}
.shc-track-item-name {
	display: block;
	font-size: 0.82rem;
	font-weight: 500;
	color: #2E3B2F;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.shc-track-item-meta {
	font-size: 0.7rem;
	color: rgba(46,59,47,0.45);
}
.shc-track-item-price {
	font-size: 0.82rem;
	font-weight: 600;
	color: #2E3B2F;
	white-space: nowrap;
}
.shc-track-total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 0.85rem;
	margin-top: 0.25rem;
	border-top: 1px solid rgba(200,200,190,0.35);
	font-size: 0.9rem;
	color: #2E3B2F;
}
.shc-track-total strong {
	font-size: 1rem;
}

/* ── Results fade in ── */
.shc-track-results {
	animation: shcFadeIn 0.4s ease-out;
}
@keyframes shcFadeIn {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: translateY(0); }
}
