/* "החשבון שלי" — WooCommerce's own account templates, dressed in the site's language.
 * No design file exists for this area; it follows the cart / checkout / contact pages.
 */

.ac-head { max-width: 1440px; margin: 0 auto; padding: clamp(40px,5vw,72px) clamp(16px,3vw,40px) clamp(20px,2.5vw,32px); box-sizing: border-box; animation: riseIn .9s cubic-bezier(.2,.7,.25,1) both; }
.ac-head h1 { margin: 20px 0 0; font-size: clamp(34px,4vw,60px); font-weight: 200; letter-spacing: -.02em; line-height: 1.05; }
.ac-wrap { max-width: 1440px; margin: 0 auto; padding: clamp(16px,2.5vw,32px) clamp(16px,3vw,40px) clamp(64px,8vw,110px); box-sizing: border-box; }
.ac-wrap > .woocommerce { display: grid; grid-template-columns: minmax(0,240px) minmax(0,1fr); gap: clamp(28px,4.5vw,80px); align-items: start; }
.ac-wrap > .woocommerce > .woocommerce-notices-wrapper, .ac-wrap > .woocommerce > h2, .ac-wrap > .woocommerce > form, .ac-wrap > .woocommerce > .u-columns, .ac-wrap > .woocommerce > p { grid-column: 1 / -1; }
.ac-wrap > .woocommerce > .woocommerce-notices-wrapper:empty { display: none; }

/* navigation */
.woocommerce-MyAccount-navigation { position: sticky; top: 110px; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid #0E0E0E; }
.woocommerce-MyAccount-navigation li { border-bottom: 1px solid #ECE6DC; }
.woocommerce-MyAccount-navigation a { display: flex; align-items: center; min-height: 52px; font-size: 14.5px; color: #5E584F; }
.woocommerce-MyAccount-navigation a:hover { color: #0E0E0E; }
.woocommerce-MyAccount-navigation .is-active a { color: #0E0E0E; }
.woocommerce-MyAccount-navigation .is-active a::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #B8935A; margin-left: 12px; }

/* content */
.woocommerce-MyAccount-content { min-width: 0; font-size: 15.5px; line-height: 1.95; color: #4A453E; }
.woocommerce-MyAccount-content > p:first-child { margin-top: 0; }
.woocommerce-MyAccount-content a, .ac-wrap .woocommerce-LostPassword a, .ac-wrap .woocommerce-privacy-policy-text a { color: #0E0E0E; text-decoration: underline; text-underline-offset: 3px; }
.ac-wrap h2, .ac-wrap h3, .ac-wrap legend { margin: 0 0 18px; font-size: clamp(22px,2.2vw,30px); font-weight: 200; color: #0E0E0E; padding: 0; }
.ac-wrap h3 { font-size: 19px; font-weight: 300; }
.ac-wrap mark { background: transparent; color: #0E0E0E; font-weight: 400; }
.ac-wrap address { font-style: normal; line-height: 1.9; }

/* forms (login, register, lost password, address, account details) */
.ac-wrap form { max-width: 640px; margin: 0; }
.ac-wrap .woocommerce-MyAccount-content form { max-width: 720px; }
.ac-wrap .form-row { margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ac-wrap .form-row label { font-size: 13px; color: #5E584F; }
.ac-wrap .required { color: #9A3B2E; text-decoration: none; border: 0; }
.ac-wrap input.input-text, .ac-wrap input[type=text], .ac-wrap input[type=email], .ac-wrap input[type=tel], .ac-wrap input[type=password], .ac-wrap select, .ac-wrap textarea { width: 100%; height: 50px; border: 1px solid #DCD4C7; background: #FFFFFF; padding: 0 14px; font-size: 15px; color: #0E0E0E; box-sizing: border-box; border-radius: 0; }
.ac-wrap textarea { height: auto; min-height: 92px; padding: 12px 14px; }
.ac-wrap input:focus, .ac-wrap select:focus, .ac-wrap textarea:focus { border-color: #0E0E0E; outline: none; }
.ac-wrap input:focus-visible, .ac-wrap select:focus-visible { outline: 2px solid #85672E; outline-offset: 3px; }
.ac-wrap .password-input { position: relative; display: block; }
.ac-wrap .show-password-input { position: absolute; left: 6px; top: 3px; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; color: #6B655C; }
.ac-wrap .show-password-input::after { content: 'הצגה'; font-size: 12px; }
.ac-wrap .show-password-input.display-password::after { content: 'הסתרה'; }
.ac-wrap fieldset { border: 1px solid #ECE6DC; margin: 28px 0 20px; padding: 22px 22px 8px; min-width: 0; }
.ac-wrap fieldset legend { font-size: 13px; letter-spacing: .12em; color: #5E584F; padding: 0 8px; margin: 0; }
.ac-wrap em, .ac-wrap .description { display: block; font-style: normal; font-size: 12.5px; color: #6B655C; line-height: 1.7; }
.ac-wrap .woocommerce-form__label-for-checkbox { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; color: #4A453E; cursor: pointer; }
.ac-wrap input[type=checkbox] { accent-color: #0E0E0E; width: 17px; height: 17px; }
.ac-wrap .woocommerce-password-strength { font-size: 12.5px; color: #6B655C; margin-top: 6px; }
.ac-wrap .woocommerce-password-strength.bad, .ac-wrap .woocommerce-password-strength.short { color: #9A3B2E; }
.ac-wrap .woocommerce-password-strength.strong { color: #3E5A3A; }
.ac-wrap .woocommerce-address-fields__field-wrapper, .ac-wrap .woocommerce-EditAccountForm { display: block; }
.ac-wrap #billing_country_field, .ac-wrap #shipping_country_field { display: none; }

/* buttons */
.ac-wrap .button, .ac-wrap button[type=submit] { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 30px; background: #0E0E0E; color: #F6F2EB !important; border: 0; cursor: pointer; font-size: 13px; letter-spacing: .16em; text-decoration: none !important; border-radius: 0; }
.ac-wrap .button:hover, .ac-wrap button[type=submit]:hover { background: #2A2724; }
.ac-wrap table .button, .ac-wrap .woocommerce-Address .edit { min-height: 40px; padding: 0 16px; background: transparent; color: #0E0E0E !important; border: 1px solid #0E0E0E; letter-spacing: .1em; font-size: 12.5px; }
.ac-wrap .woocommerce-Address .edit { display: inline-flex; align-items: center; margin-bottom: 12px; }
.ac-wrap .woocommerce-form-login__rememberme { margin-inline-end: 18px; }
.ac-wrap .woocommerce-LostPassword { margin: 18px 0 0; font-size: 13.5px; }

/* login + register side by side */
.ac-wrap .u-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(28px,4vw,72px); }
.ac-wrap .u-column1, .ac-wrap .u-column2 { float: none; width: auto; }

/* orders */
.ac-wrap table.shop_table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ac-wrap table.shop_table th { text-align: right; font-weight: 300; font-size: 12px; letter-spacing: .14em; color: #6B655C; padding: 0 0 14px; border-bottom: 1px solid #0E0E0E; }
.ac-wrap table.shop_table td { padding: 16px 0; border-bottom: 1px solid #ECE6DC; vertical-align: middle; color: #0E0E0E; }
.ac-wrap table.shop_table td:last-child, .ac-wrap table.shop_table th:last-child { text-align: left; }
.ac-wrap table.shop_table tfoot th { border-bottom: 1px solid #ECE6DC; padding: 14px 0; letter-spacing: 0; font-size: 14px; color: #4A453E; }
.ac-wrap .woocommerce-Addresses { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; margin-top: 22px; }
.ac-wrap .woocommerce-Address { float: none; width: auto; padding: 22px 24px; background: #F4EFE7; }
.ac-wrap .woocommerce-Address-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; }
.ac-wrap .woocommerce-pagination { display: flex; gap: 10px; margin-top: 22px; }
.ac-wrap .woocommerce-order-details, .ac-wrap .woocommerce-customer-details { margin-top: 36px; }
.ac-wrap ul.woocommerce-order-overview { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 40px; font-size: 13px; color: #6B655C; }
.ac-wrap ul.woocommerce-order-overview strong { display: block; font-weight: 300; font-size: 16px; color: #0E0E0E; }

/* notices (WooCommerce's default styles are not loaded here) */
.ac-wrap .woocommerce-error, .ac-wrap .woocommerce-message, .ac-wrap .woocommerce-info { list-style: none; margin: 0 0 22px; padding: 14px 16px; font-size: 13.5px; line-height: 1.7; background: #F4EFE7; border: 1px solid #E7E0D4; color: #3E5A3A; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; }
.ac-wrap .woocommerce-error { color: #9A3B2E; background: #FBF1EE; border-color: #EBCFC8; }
.ac-wrap .woocommerce-info { color: #4A453E; }
.ac-wrap .woocommerce-info .button, .ac-wrap .woocommerce-message .button { min-height: 40px; padding: 0 18px; }
.ac-wrap .clear { display: none; }

@media (prefers-reduced-motion: reduce) { .ac-head { animation: none; } }
@media (max-width: 900px) {
	.ac-wrap > .woocommerce { grid-template-columns: minmax(0,1fr); }
	.woocommerce-MyAccount-navigation { position: static; }
	.woocommerce-MyAccount-navigation ul { display: flex; overflow-x: auto; scrollbar-width: none; border-top: 0; gap: 6px; padding: 3px; margin: -3px; }
	.woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
	.woocommerce-MyAccount-navigation li { flex: none; border: 1px solid #DCD4C7; }
	.woocommerce-MyAccount-navigation a { min-height: 40px; padding: 0 16px; font-size: 14px; }
	.woocommerce-MyAccount-navigation .is-active { background: #0E0E0E; border-color: #0E0E0E; }
	.woocommerce-MyAccount-navigation .is-active a { color: #F6F2EB; }
	.woocommerce-MyAccount-navigation .is-active a::before { display: none; }
	.ac-wrap .u-columns, .ac-wrap .woocommerce-Addresses { grid-template-columns: minmax(0,1fr); }
	.ac-wrap table.shop_table thead { display: none; }
	.ac-wrap table.shop_table tr { display: block; padding: 14px 0; border-bottom: 1px solid #ECE6DC; }
	.ac-wrap table.shop_table td { display: flex; justify-content: space-between; gap: 14px; padding: 4px 0; border: 0; text-align: left; }
	.ac-wrap table.shop_table td::before { content: attr(data-title); color: #6B655C; font-size: 12.5px; }
	.ac-wrap table.shop_table td:last-child { justify-content: flex-start; padding-top: 10px; }
	.ac-wrap table.shop_table td:last-child::before { display: none; }
}
