/* Login remember-me matches the checkout's native, accessible checkbox styling. */
body.woocommerce-account #content .woocommerce-form-login label.woocommerce-form-login__rememberme {
  display:inline-flex !important; align-items:center !important; justify-content:flex-start;
  gap:10px; float:none !important; width:auto !important; min-height:24px;
  margin:0 !important; padding:0 !important; line-height:1.5 !important;
  direction:rtl; vertical-align:middle; cursor:pointer;
}
body.woocommerce-account #content .woocommerce-form-login label.woocommerce-form-login__rememberme>span {
  display:inline-block; margin:0 !important; padding:0 !important; line-height:1.5;
}
body.woocommerce-account #content .woocommerce-form-login label.woocommerce-form-login__rememberme::before,
body.woocommerce-account #content .woocommerce-form-login label.woocommerce-form-login__rememberme::after,
body.woocommerce-account #content .woocommerce-form-login label.woocommerce-form-login__rememberme>span::before,
body.woocommerce-account #content .woocommerce-form-login label.woocommerce-form-login__rememberme>span::after { content:none !important; }
body.woocommerce-account #content .woocommerce-form-login input#rememberme {
  appearance:none !important; -webkit-appearance:none !important; box-sizing:border-box;
  display:inline-block !important; position:static !important; float:none !important;
  width:20px !important; height:20px !important; min-width:20px; min-height:20px; flex:0 0 20px;
  margin:0 !important; padding:0 !important; transform:none !important; vertical-align:middle;
  opacity:1 !important; clip:auto !important; clip-path:none !important;
  border:2px solid #aeb3bb !important; border-radius:5px !important;
  background:#fff none center/15px 15px no-repeat !important;
  cursor:pointer; box-shadow:none !important;
}
body.woocommerce-account #content .woocommerce-form-login input#rememberme:checked {
  border-color:#e03131 !important; background-color:#e03131 !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10l4 4 8-8' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}
body.woocommerce-account #content .woocommerce-form-login input#rememberme:focus-visible { outline:2px solid #e03131; outline-offset:3px; }
body.woocommerce-account #content .woocommerce-form-login input#rememberme:disabled { opacity:.5 !important; cursor:default; }
/* Account pages share the checkout's colours, cards and 30px section rhythm. */
body.woocommerce-account #content .woocommerce {
  --it-account-accent:#e03131; --it-account-ink:#252a33; --it-account-border:#e5e7eb;
  --it-account-gap:30px; --it-account-padding:24px;
  direction:rtl; text-align:right; color:var(--it-account-ink);
}
body.woocommerce-account #content .woocommerce:has(>.woocommerce-MyAccount-navigation) {
  display:grid !important; grid-template-columns:260px minmax(0,1fr); gap:var(--it-account-gap);
  align-items:start; width:100%; margin:0; padding:0; min-width:0;
}
body.woocommerce-account #content .woocommerce:has(>.woocommerce-MyAccount-navigation)::before,
body.woocommerce-account #content .woocommerce:has(>.woocommerce-MyAccount-navigation)::after { display:none !important; }
body.woocommerce-account #content :is(.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content) {
  box-sizing:border-box; float:none !important; width:100% !important; min-width:0; margin:0 !important;
  padding:var(--it-account-padding) !important; border:1px solid var(--it-account-border) !important;
  border-top:4px solid var(--it-account-accent) !important; border-radius:16px !important;
  background:#fff !important; box-shadow:0 6px 20px rgba(31,41,55,.04) !important;
}
body.woocommerce-account #content .woocommerce-MyAccount-navigation { padding:16px !important; }
body.woocommerce-account #content .woocommerce-MyAccount-navigation ul {
  display:grid; grid-template-columns:minmax(0,1fr); gap:8px; margin:0 !important; padding:0 !important; list-style:none;
}
body.woocommerce-account #content .woocommerce-MyAccount-navigation li { margin:0 !important; padding:0 !important; border:0 !important; list-style:none; }
body.woocommerce-account #content .woocommerce-MyAccount-navigation li a {
  display:flex !important; align-items:center; gap:12px; min-height:48px; box-sizing:border-box;
  padding:12px 14px !important; border:1px solid transparent; border-radius:8px !important;
  color:#475467 !important; background:transparent !important; font-weight:600; line-height:1.7;
  text-decoration:none !important; box-shadow:none !important;
}
body.woocommerce-account #content .woocommerce-MyAccount-navigation li a::before { flex:0 0 20px; position:static; margin:0 !important; }
body.woocommerce-account #content .woocommerce-MyAccount-navigation li.is-active a {
  background:#fff1f1 !important; color:#b42323 !important; border-color:#f4c7c7;
}
body.woocommerce-account #content .woocommerce-MyAccount-navigation li.is-active a::before { filter:none !important; }
body.woocommerce-account #content .woocommerce-MyAccount-navigation li a:hover { background:#f8f9fb !important; }
body.woocommerce-account #content .woocommerce-MyAccount-navigation li.is-active a:hover { background:#fff1f1 !important; }
body.woocommerce-account #content .woocommerce-MyAccount-content { line-height:1.9; overflow-wrap:anywhere; }
body.woocommerce-account #content .woocommerce-MyAccount-content :is(h2,h3) {
  color:var(--it-account-ink); font-size:20px; line-height:1.7; font-weight:700;
}
body.woocommerce-account #content .woocommerce-MyAccount-content h2.irantire-account-title {
  margin:0 0 24px !important; padding:0 0 16px !important; border:0 !important;
  border-bottom:1px solid #eceef2 !important; font-size:22px !important;
}
body.woocommerce-account #content .woocommerce-MyAccount-content>p { margin:0 0 20px; }
body.woocommerce-account #content .woocommerce-MyAccount-content>p:last-child { margin-bottom:0; }
body.woocommerce-account #content .woocommerce-MyAccount-content a:not(.button):not(.edit) { color:#b42323; text-underline-offset:4px; }
body.woocommerce-account #content .woocommerce-MyAccount-content :is(a.button,button.button,input.button,.woocommerce-Address a.edit) {
  display:inline-flex !important; align-items:center; justify-content:center; gap:8px; float:none !important;
  box-sizing:border-box; width:auto !important; max-width:100%; min-height:44px;
  margin:0 !important; padding:10px 18px !important; border:1px solid var(--it-account-accent) !important;
  border-radius:8px !important; background:var(--it-account-accent) !important; color:#fff !important;
  font:inherit; font-size:14px; font-weight:600; line-height:1.7; text-align:center;
  text-decoration:none !important; white-space:normal; box-shadow:none !important;
}
body.woocommerce-account #content .woocommerce-MyAccount-content :is(a.button,button.button,input.button):hover { background:#c92a2a !important; }
body.woocommerce-account #content :is(.woocommerce-MyAccount-navigation a,.woocommerce-MyAccount-content a,.woocommerce-MyAccount-content button):focus-visible {
  outline:2px solid #b42323 !important; outline-offset:3px; box-shadow:none !important;
}
body.woocommerce-account #content .woocommerce-MyAccount-content table.shop_table {
  width:100% !important; margin:0 0 24px !important; border:1px solid var(--it-account-border) !important;
  border-collapse:separate !important; border-spacing:0; border-radius:10px; table-layout:auto;
  background:#fff !important; font-size:14px;
}
body.woocommerce-account #content .woocommerce-MyAccount-content table.shop_table :is(th,td) {
  padding:14px 12px !important; text-align:right !important; vertical-align:middle;
  border:0 !important; border-bottom:1px solid #eceef2 !important; line-height:1.9; background:transparent !important;
}
body.woocommerce-account #content .woocommerce-MyAccount-content table.shop_table th { color:#344054; font-weight:700; background:#f8f9fb !important; }
body.woocommerce-account #content .woocommerce-MyAccount-content table.shop_table tbody tr:last-child td { border-bottom:0 !important; }
body.woocommerce-account #content .woocommerce-MyAccount-content table.shop_table tr:hover>td { background:transparent !important; }
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-status { color:#475467; font-weight:600; }
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions .button { margin:3px !important; }
body.woocommerce-account #content .woocommerce-MyAccount-content :is(.woocommerce-Price-amount,.woocommerce-Price-amount bdi) {
  display:inline-flex; flex-direction:row; direction:rtl; align-items:baseline; flex-wrap:wrap; gap:4px;
}
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-Price-currencySymbol { position:static !important; float:none !important; }
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-Addresses {
  display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--it-account-gap); margin:24px 0 0;
}
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-Addresses::before,
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-Addresses::after { display:none !important; }
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-Address {
  float:none !important; width:100% !important; min-width:0; margin:0 !important; padding:20px !important;
  box-sizing:border-box; border:1px solid var(--it-account-border); border-radius:12px; background:#fff;
}
body.woocommerce-account #content .woocommerce-Address-title { display:flex; flex-direction:column; align-items:flex-start; gap:16px; margin:0 0 20px; }
body.woocommerce-account #content .woocommerce-Address-title::before,
body.woocommerce-account #content .woocommerce-Address-title::after { display:none !important; }
body.woocommerce-account #content .woocommerce-Address-title h2 { float:none !important; margin:0 !important; padding:0 !important; font-size:18px; }
body.woocommerce-account #content .woocommerce-Address address { margin:0; padding:0; font-style:normal; color:#475467; line-height:2; }
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-EditAccountForm,
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-address-fields__field-wrapper {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px;
}
body.woocommerce-account #content .woocommerce-MyAccount-content .form-row {
  box-sizing:border-box; float:none !important; width:auto !important; min-width:0; margin:0 !important; padding:0 !important;
}
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-EditAccountForm>.clear { display:none; }
body.woocommerce-account #content .woocommerce-MyAccount-content :is(.form-row-wide,.woocommerce-EditAccountForm>fieldset,.woocommerce-EditAccountForm>p:not(.form-row)) { grid-column:1/-1; }
body.woocommerce-account #content .woocommerce-MyAccount-content .form-row label { display:block; margin:0 0 10px; color:#344054; font-weight:600; line-height:1.9; }
body.woocommerce-account #content .woocommerce-MyAccount-content .required { color:var(--it-account-accent); }
body.woocommerce-account #content .woocommerce-MyAccount-content :is(input.input-text,textarea,select) {
  box-sizing:border-box; width:100%; max-width:100%; min-width:0; min-height:48px;
  border:1px solid #d8dde5 !important; border-radius:8px !important; padding:10px 14px !important;
  font:inherit; line-height:1.8; color:#344054; background:#fff !important;
}
body.woocommerce-account #content .woocommerce-MyAccount-content input.irantire-locked-contact {
  background:#f7f8fa !important; color:#667085; cursor:default;
}
body.woocommerce-account #content .woocommerce-MyAccount-content .irantire-contact-lock-note {
  grid-column:1/-1; margin:0 !important; padding:12px 16px;
  border:1px solid #e4e7ec; border-radius:8px; background:#f8f9fb; color:#475467; line-height:1.9;
}
body.woocommerce-account #content .woocommerce-MyAccount-content :is(input.input-text,textarea,select):focus {
  outline:none !important; border-color:var(--it-account-accent) !important; box-shadow:0 0 0 2px rgba(224,49,49,.15) !important;
}
body.woocommerce-account #content .woocommerce-MyAccount-content :is(input[type=email],input[type=tel]) { direction:ltr; text-align:right; }
body.woocommerce-account #content .woocommerce-MyAccount-content #account_display_name_description { display:block; margin-top:8px; color:#667085; font-size:13px; }
body.woocommerce-account #content .woocommerce-MyAccount-content #account_display_name_description em { font-style:normal; }
body.woocommerce-account #content .woocommerce-MyAccount-content fieldset {
  display:grid; grid-template-columns:minmax(0,1fr); gap:20px; min-width:0;
  margin:10px 0 !important; padding:24px !important; border:1px solid var(--it-account-border) !important; border-radius:12px;
}
body.woocommerce-account #content .woocommerce-MyAccount-content fieldset legend { float:none; width:auto; margin:0; padding:0 10px; font-size:18px; font-weight:700; color:#252a33; }
body.woocommerce-account #content .woocommerce-MyAccount-content .password-input { display:block; position:relative; width:100%; }
body.woocommerce-account #content .woocommerce-MyAccount-content .password-input input { padding-left:48px !important; }
body.woocommerce-account #content .woocommerce-MyAccount-content button.show-password-input {
  position:absolute; top:0 !important; bottom:0 !important; left:4px !important; right:auto !important;
  display:grid; place-items:center; width:40px; height:100% !important; min-height:44px;
  transform:none !important; margin:0 !important; padding:0; border:0; background:transparent; color:#667085; box-shadow:none;
}
body.woocommerce-account #content .woocommerce-MyAccount-content .select2-container { width:100% !important; min-width:0; max-width:100%; }
body.woocommerce-account #content .woocommerce-MyAccount-content .select2-selection--single { height:48px !important; border:1px solid #d8dde5 !important; border-radius:8px !important; background:#fff !important; }
body.woocommerce-account #content .woocommerce-MyAccount-content .select2-selection__rendered { padding:0 14px 0 44px !important; line-height:46px !important; text-align:right !important; color:#344054 !important; }
body.woocommerce-account #content .woocommerce-MyAccount-content .select2-selection__arrow { left:14px !important; right:auto !important; top:0 !important; height:46px !important; }
body.woocommerce-account #content .woocommerce-address-fields>p { margin:24px 0 0; }
body.woocommerce-account #content .woocommerce-MyAccount-content :is(.woocommerce-info,.woocommerce-message,.woocommerce-error) {
  box-sizing:border-box; margin:0 0 24px !important; padding:18px 48px 18px 18px !important;
  border:1px solid #dce4ee !important; border-radius:10px; background:#f8fafc !important; color:#344054 !important;
}
body.woocommerce-account #content .woocommerce-MyAccount-content :is(.woocommerce-info,.woocommerce-message,.woocommerce-error)::before { right:18px !important; left:auto !important; top:20px; }
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-error { border-color:#f4c7c7 !important; background:#fff5f5 !important; }
/* Account information notices use a brand-colour SVG, independent of icon fonts. */
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-info { position:relative; line-height:1.9; }
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-info::before {
  content:"" !important; display:block !important; position:absolute !important;
  top:50% !important; right:18px !important; left:auto !important; bottom:auto !important;
  transform:translateY(-50%) !important; width:20px !important; height:20px !important;
  margin:0 !important; padding:0 !important; border:0 !important; pointer-events:none;
  background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e03131' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6'/%3E%3Ccircle cx='12' cy='7.5' r='.9' fill='%23e03131' stroke='none'/%3E%3C/svg%3E") center/20px 20px no-repeat !important;
  color:#e03131 !important;
}
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-info .button { margin:0 0 12px 12px !important; }
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-info:has(>.button) { display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-info>.button { flex-shrink:0; order:1; margin:0 !important; }
/* Saved order addresses: matching cards with equal height and no nested border. */
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-customer-details { margin:30px 0 0 !important; }
body.woocommerce-account #content .woocommerce-customer-details .woocommerce-columns--addresses {
  display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:stretch;
  gap:30px; margin:0 !important; padding:0 !important;
}
body.woocommerce-account #content .woocommerce-customer-details .woocommerce-columns--addresses::before,
body.woocommerce-account #content .woocommerce-customer-details .woocommerce-columns--addresses::after { display:none !important; }
body.woocommerce-account #content .woocommerce-customer-details .woocommerce-column {
  box-sizing:border-box; float:none !important; width:100% !important; min-width:0; margin:0 !important;
  padding:24px !important; border:1px solid var(--it-account-border) !important;
  border-top:4px solid var(--it-account-accent) !important; border-radius:16px !important;
  background:#fff; box-shadow:0 6px 20px rgba(31,41,55,.04);
}
body.woocommerce-account #content .woocommerce-customer-details .woocommerce-column__title {
  margin:0 0 20px !important; padding:0 0 16px !important;
  border:0 !important; border-bottom:1px solid #eceef2 !important; font-size:18px !important; text-align:right;
}
body.woocommerce-account #content .woocommerce-customer-details address {
  box-sizing:border-box; width:100%; min-width:0; margin:0 !important; padding:0 !important;
  border:0 !important; border-radius:0 !important; background:transparent; box-shadow:none;
  color:#475467; font-style:normal; text-align:right; line-height:2.1; overflow-wrap:anywhere;
}
body.woocommerce-account #content .woocommerce-customer-details address p {
  position:relative; margin:12px 0 0 !important; padding:0 28px 0 0 !important; min-height:28px;
  direction:ltr; text-align:right; overflow-wrap:anywhere;
}
body.woocommerce-account #content .woocommerce-customer-details address p::before {
  position:absolute; right:0 !important; left:auto !important; top:3px; margin:0 !important; color:#667085;
}
@media(max-width:1023px) {
  body.woocommerce-account #content .woocommerce:has(>.woocommerce-MyAccount-navigation) { grid-template-columns:minmax(0,1fr); }
  body.woocommerce-account #content .woocommerce-MyAccount-navigation ul { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:768px) {
  body.woocommerce-account #content .woocommerce-customer-details .woocommerce-columns--addresses { grid-template-columns:minmax(0,1fr); }
  body.woocommerce-account #content .woocommerce-customer-details .woocommerce-column { padding:16px !important; }
  body.woocommerce-account #content .woocommerce { --it-account-padding:16px; }
  body.woocommerce-account #content .woocommerce-MyAccount-navigation ul { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.woocommerce-account #content .woocommerce-MyAccount-navigation li a { padding:10px !important; gap:8px; font-size:13px; }
  body.woocommerce-account #content .woocommerce-MyAccount-content h2.irantire-account-title { font-size:20px !important; }
  body.woocommerce-account #content .woocommerce-MyAccount-content :is(.woocommerce-Addresses,.woocommerce-EditAccountForm,.woocommerce-address-fields__field-wrapper) { grid-template-columns:minmax(0,1fr); }
  body.woocommerce-account #content .woocommerce-MyAccount-content fieldset { padding:16px !important; }
  body.woocommerce-account #content .woocommerce-MyAccount-content table.shop_table_responsive { display:block; border:0 !important; background:transparent !important; }
  body.woocommerce-account #content .woocommerce-MyAccount-content table.shop_table_responsive thead { display:none !important; }
  body.woocommerce-account #content .woocommerce-MyAccount-content table.shop_table_responsive tbody { display:grid; gap:20px; }
  body.woocommerce-account #content .woocommerce-MyAccount-content table.shop_table_responsive tr { display:block; border:1px solid var(--it-account-border); border-radius:10px; overflow:hidden; }
  body.woocommerce-account #content .woocommerce-MyAccount-content table.shop_table_responsive :is(td,tbody th[scope="row"]) {
    display:flex !important; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px 12px;
    width:auto !important; padding:12px !important; text-align:right !important;
  }
  body.woocommerce-account #content .woocommerce-MyAccount-content table.shop_table_responsive :is(td,tbody th[scope="row"])::before {
    content:attr(data-title) !important; display:inline-block !important; float:none !important; font-weight:700; color:#344054;
  }
  body.woocommerce-account #content .woocommerce-MyAccount-content table.shop_table_responsive td.woocommerce-orders-table__cell-order-actions::before { display:none !important; }
}
