/* EZRA SHOP — Account: order timeline + light My Account skin. RTL-safe. */

/* ---------- Order timeline ---------- */
.ezra-timeline {
	--ezra-account-accent: #111;
	font-family: 'Assistant', sans-serif;
	border: 1px solid #ececec;
	border-radius: 14px;
	padding: 22px;
	margin: 24px 0;
	background: #fff;
	color: #111;
}
.ezra-timeline-top {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}
.ezra-timeline-title {
	font-size: 1.15rem;
	font-weight: 800;
}
.ezra-timeline-ready {
	font-size: 1rem;
	color: #333;
}
.ezra-timeline-ready strong {
	color: var(--ezra-account-accent);
}
.ezra-timeline-track {
	height: 8px;
	background: #eee;
	border-radius: 999px;
	overflow: hidden;
	margin-bottom: 18px;
}
.ezra-timeline-fill {
	height: 100%;
	background: var(--ezra-account-accent);
	border-radius: 999px;
	transition: width 0.4s ease;
}
.ezra-timeline-steps {
	display: flex;
	justify-content: space-between;
	gap: 8px;
}
.ezra-tl-step {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 6px;
}
.ezra-tl-dot {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #ddd;
	box-shadow: 0 0 0 1px #ddd;
}
.ezra-tl-step.is-done .ezra-tl-dot,
.ezra-tl-step.is-current .ezra-tl-dot {
	background: var(--ezra-account-accent);
	box-shadow: 0 0 0 1px var(--ezra-account-accent);
}
.ezra-tl-step.is-current .ezra-tl-dot {
	animation: ezra-tl-pulse 1.5s infinite;
}
@keyframes ezra-tl-pulse {
	0%, 100% { box-shadow: 0 0 0 1px var(--ezra-account-accent); }
	50% { box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.1); }
}
.ezra-tl-name {
	font-weight: 700;
	font-size: 0.9rem;
}
.ezra-tl-date {
	font-size: 0.8rem;
	color: #888;
}
.ezra-timeline-note {
	margin: 16px 0 0;
	font-size: 0.82rem;
	color: #999;
	text-align: center;
}

/* ---------- "My Account" skin — the checkout design language ----------
   White bubbles with soft gray borders (#e8e8e8, radius 14), Assistant,
   pill navigation with a lively hover, black/accent buttons. */
.ezra-account-skin .woocommerce,
.ezra-account-skin .woocommerce-MyAccount-navigation,
.ezra-account-skin .woocommerce-MyAccount-content {
	font-family: 'Assistant', sans-serif;
	color: #1a1a1a;
}

/* Two clean columns instead of WC floats: nav = 25% on the right (RTL first
   column), content = the remaining 75%. Scoped via :has() to the wrapper that
   actually contains My Account (woocommerce-account is a BODY class — a
   descendant selector on it matches nothing; that bug shipped in v3.63). */
@media (min-width: 881px) {
	.ezra-account-skin .woocommerce:has(.woocommerce-MyAccount-navigation) {
		display: grid;
		grid-template-columns: 25% minmax(0, 1fr);
		gap: 22px;
		align-items: start;
	}
	.ezra-account-skin .woocommerce:has(.woocommerce-MyAccount-navigation) > .woocommerce-notices-wrapper,
	.ezra-account-skin .woocommerce:has(.woocommerce-MyAccount-navigation) > .woocommerce-message,
	.ezra-account-skin .woocommerce:has(.woocommerce-MyAccount-navigation) > .woocommerce-error,
	.ezra-account-skin .woocommerce:has(.woocommerce-MyAccount-navigation) > .woocommerce-info {
		grid-column: 1 / -1;
	}
}
.ezra-account-skin .woocommerce-MyAccount-navigation,
.ezra-account-skin .woocommerce-MyAccount-content {
	float: none !important;
	width: 100% !important;
}

/* Navigation bubble + pill links. */
.ezra-account-skin .woocommerce-MyAccount-navigation {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 14px;
	padding: 10px;
}
.ezra-account-skin .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.ezra-account-skin .woocommerce-MyAccount-navigation li {
	border: 0;
	margin: 0;
	padding: 0;
}
.ezra-account-skin .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 12px 16px;
	border-radius: 10px;
	color: #333;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.ezra-account-skin .woocommerce-MyAccount-navigation li a:hover {
	background: #f4f4f4;
	color: #111;
	transform: translateX(-3px); /* a small "alive" nudge forward (RTL) */
}
.ezra-account-skin .woocommerce-MyAccount-navigation li.is-active a {
	background: var(--ezra-account-accent, #111);
	color: #fff;
	transform: none;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.ezra-account-skin .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a {
	color: #8a8a8a;
	font-weight: 500;
}
.ezra-account-skin .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
	background: #fdf0ef;
	color: #b3271e;
}

/* Content bubble — everything the active tab shows lives inside it. */
.ezra-account-skin .woocommerce-MyAccount-content {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 14px;
	padding: 26px 24px;
}
.ezra-account-skin .woocommerce-MyAccount-content > h2,
.ezra-account-skin .woocommerce-MyAccount-content > h3 {
	font-family: 'Assistant', sans-serif;
	font-weight: 800;
	color: #111;
	margin: 0 0 16px;
}
.ezra-account-skin .woocommerce-MyAccount-content p {
	line-height: 1.65;
}
/* The timeline bubble inside the content bubble: soften to a flat inner card. */
.ezra-account-skin .woocommerce-MyAccount-content .ezra-timeline {
	background: #fafafa;
	border-color: #eee;
}

/* Buttons — the checkout's black (accent) pill. */
.ezra-account-skin .woocommerce .button,
.ezra-account-skin .woocommerce button[type="submit"],
.ezra-account-skin .woocommerce .woocommerce-button {
	background: var(--ezra-account-accent, #111) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 999px;
	padding: 9px 22px;
	font-family: 'Assistant', sans-serif;
	font-weight: 700;
	font-size: 0.9rem;
	line-height: 1.4;
	cursor: pointer;
	transition: opacity 0.15s ease, transform 0.15s ease;
}
.ezra-account-skin .woocommerce .button:hover,
.ezra-account-skin .woocommerce button[type="submit"]:hover,
.ezra-account-skin .woocommerce .woocommerce-button:hover {
	opacity: 0.86;
	transform: translateY(-1px);
	color: #fff !important;
}

/* Orders (and other) tables — clean rounded card rows. */
.ezra-account-skin .woocommerce-orders-table,
.ezra-account-skin .woocommerce .shop_table {
	border: 1px solid #ececec;
	border-radius: 12px;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	width: 100%;
}
.ezra-account-skin .woocommerce .shop_table th,
.ezra-account-skin .woocommerce .shop_table td {
	border: 0;
	border-bottom: 1px solid #f2f2f2;
	padding: 12px 14px;
	text-align: right;
}
.ezra-account-skin .woocommerce .shop_table thead th {
	background: #fafafa;
	font-weight: 700;
	font-size: 0.85rem;
	color: #333;
}
.ezra-account-skin .woocommerce .shop_table tbody tr:last-child td {
	border-bottom: 0;
}
.ezra-account-skin .woocommerce .shop_table tbody tr:hover td {
	background: #fcfcfc;
}
.ezra-account-skin .woocommerce-orders-table .button {
	padding: 6px 16px;
	font-size: 0.82rem;
}

/* Address cards. */
.ezra-account-skin .woocommerce-Addresses .woocommerce-Address,
.ezra-account-skin .woocommerce-MyAccount-content address {
	background: #fafafa;
	border: 1px solid #eee;
	border-radius: 12px;
	padding: 16px 18px;
	font-style: normal;
	line-height: 1.7;
}
.ezra-account-skin .woocommerce-Address-title h3 {
	font-weight: 800;
	font-size: 1rem;
}
.ezra-account-skin .woocommerce-Address-title .edit {
	font-size: 0.82rem;
	color: #444;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Forms (edit account / addresses / login) — checkout-style fields. */
.ezra-account-skin .woocommerce-MyAccount-content input[type="text"],
.ezra-account-skin .woocommerce-MyAccount-content input[type="email"],
.ezra-account-skin .woocommerce-MyAccount-content input[type="tel"],
.ezra-account-skin .woocommerce-MyAccount-content input[type="password"],
.ezra-account-skin .woocommerce-MyAccount-content select {
	height: 44px;
	width: 100%;
	padding: 0 14px;
	border: 1px solid #dcdcdc;
	border-radius: 10px;
	background: #fff;
	font-family: 'Assistant', sans-serif;
	font-size: 0.95rem;
	color: #111;
	box-shadow: none;
	outline: none;
}
.ezra-account-skin .woocommerce-MyAccount-content input:focus,
.ezra-account-skin .woocommerce-MyAccount-content select:focus {
	border-color: #111;
}
.ezra-account-skin .woocommerce-MyAccount-content .form-row label {
	font-weight: 600;
	font-size: 0.85rem;
	color: #333;
	margin-bottom: 4px;
}
.ezra-account-skin .woocommerce-MyAccount-content fieldset {
	border: 1px solid #eee;
	border-radius: 12px;
	padding: 16px 18px;
	margin: 18px 0;
}
.ezra-account-skin .woocommerce-MyAccount-content fieldset legend {
	font-weight: 800;
	padding: 0 8px;
}

/* Mobile: nav becomes a horizontal pill strip; bubbles keep breathing room. */
@media (max-width: 880px) {
	.ezra-account-skin .woocommerce-MyAccount-navigation {
		padding: 8px;
		margin-bottom: 14px;
	}
	.ezra-account-skin .woocommerce-MyAccount-navigation ul {
		flex-direction: row;
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		gap: 6px;
		scrollbar-width: none;
	}
	.ezra-account-skin .woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
		display: none;
	}
	.ezra-account-skin .woocommerce-MyAccount-navigation li {
		flex: 0 0 auto;
	}
	.ezra-account-skin .woocommerce-MyAccount-navigation li a {
		padding: 9px 14px;
		font-size: 0.85rem;
		white-space: nowrap;
	}
	.ezra-account-skin .woocommerce-MyAccount-navigation li a:hover {
		transform: none;
	}
	.ezra-account-skin .woocommerce-MyAccount-content {
		padding: 18px 16px;
	}
}

@media (max-width: 600px) {
	.ezra-timeline {
		padding: 16px;
	}
	.ezra-tl-name {
		font-size: 0.8rem;
	}
}

/* ---------- Account hero strip (full row above the 25/75 grid) ---------- */
.ezra-account-hero {
	grid-column: 1 / -1;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 14px;
	padding: 20px 22px;
	font-family: 'Assistant', sans-serif;
}
.ezra-account-hero-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}
.ezra-hero-hi {
	font-size: 1.3rem;
	font-weight: 800;
	color: #111;
}
.ezra-hero-chips {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.ezra-hero-chip {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	border-radius: 999px;
	background: #fafafa;
	border: 1px solid #eee;
	font-size: 0.82rem;
	font-weight: 600;
	color: #444;
	text-decoration: none;
}
a.ezra-hero-chip--link {
	color: #111;
	transition: border-color 0.15s ease, transform 0.15s ease;
}
a.ezra-hero-chip--link:hover {
	border-color: #111;
	transform: translateY(-1px);
}
/* The timeline inside the hero: flat inner card, no double margins. */
.ezra-account-hero .ezra-timeline {
	margin: 16px 0 0;
	background: #fafafa;
	border-color: #eee;
}

/* ---------- "I received my order" ---------- */
.ezra-tl-confirm {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
	margin: 16px 0 0;
	padding-top: 14px;
	border-top: 1px dashed #e2e2e2;
}
.ezra-tl-confirm-q {
	font-size: 0.9rem;
	font-weight: 600;
	color: #333;
}
.ezra-tl-confirm-btn {
	border: 1.5px solid #1a7f4b;
	background: #fff;
	color: #1a7f4b;
	border-radius: 999px;
	padding: 8px 20px;
	font-family: 'Assistant', sans-serif;
	font-size: 0.88rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.ezra-tl-confirm-btn:hover {
	background: #1a7f4b;
	color: #fff;
	transform: translateY(-1px);
}
.ezra-timeline-ready--done {
	color: #1a7f4b;
	font-weight: 800;
}

@media (max-width: 880px) {
	.ezra-account-hero {
		padding: 16px;
		margin-bottom: 14px;
	}
	.ezra-hero-hi {
		font-size: 1.12rem;
	}
}
