/* Oeltek My Account CSS */

/* =========================
   NOT LOGGED-IN LOGIN PAGE
========================= */

body.woocommerce-account:not(.logged-in) {
  background: #ffffff !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce {
  direction: rtl !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-myaccount-auth-page {
  width: 100% !important;
  padding: 34px 14px 46px !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-myaccount-auth-card,
body.woocommerce-account:not(.logged-in) section.oeltek-myaccount-auth-card {
  width: 100% !important;
  max-width: 560px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-myaccount-auth-logo {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-myaccount-logo-img {
  width: 118px !important;
  height: auto !important;
  display: block !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-myaccount-auth-grid {
  display: block !important;
  width: 100% !important;
  max-width: 520px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-myaccount-auth-box {
  width: 100% !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

/* The ONLY visible main border */
body.woocommerce-account:not(.logged-in) .oeltek-myaccount-login-box {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 22px 24px 24px !important;
  background: #ffffff !important;
  border: 1px solid #dddddd !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-myaccount-auth-title,
body.woocommerce-account:not(.logged-in) .oeltek-login-title-inside-form {
  margin: 0 0 18px !important;
  padding: 0 !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #222222 !important;
  line-height: 1.5 !important;
  text-align: center !important;
}

/* Remove top helper sentence */
body.woocommerce-account:not(.logged-in) .oeltek-myaccount-login-box > .oeltek-myaccount-auth-desc {
  display: none !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-myaccount-auth-desc,
body.woocommerce-account:not(.logged-in) .oeltek-myaccount-password-note {
  margin: 0 auto 14px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 2 !important;
  color: #777777 !important;
}

/* Forms */
body.woocommerce-account:not(.logged-in) .oeltek-myaccount-login-form,
body.woocommerce-account:not(.logged-in) .oeltek-myaccount-register-form {
  width: 100% !important;
  display: grid !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-myaccount-login-form p,
body.woocommerce-account:not(.logged-in) .oeltek-myaccount-register-form p,
body.woocommerce-account:not(.logged-in) .form-row {
  margin: 0 !important;
  padding: 0 !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-myaccount-input {
  width: 100% !important;
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
  border: 1px solid #cfcfcf !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  color: #333333 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-align: right !important;
  outline: none !important;
  box-shadow: none !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-myaccount-input::placeholder {
  color: #8a8a8a !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-myaccount-input:focus {
  border-color: #cd626c !important;
  box-shadow: 0 0 0 3px rgba(205, 98, 108, .12) !important;
}

/* Main buttons */
body.woocommerce-account:not(.logged-in) .oeltek-myaccount-main-btn {
  width: 100% !important;
  height: 46px !important;
  min-height: 46px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 10px !important;
  background: #cd626c !important;
  color: #ffffff !important;
  border: 1px solid #cd626c !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.6 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-myaccount-main-btn:hover {
  background: #bf5660 !important;
  border-color: #bf5660 !important;
}

/* Remember + forgot password same line */
body.woocommerce-account:not(.logged-in) .oeltek-myaccount-actions-row {
  display: grid !important;
  gap: 10px !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-login-options-line {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin: 0 0 4px !important;
  direction: rtl !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-myaccount-remember {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  margin: 0 !important;
  font-size: 13px !important;
  color: #666666 !important;
  font-weight: 500 !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-myaccount-lostpass {
  display: none !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-myaccount-lostpass-link {
  color: #555555 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-myaccount-lostpass-link:hover {
  color: #cd626c !important;
}

/* OTP login */
body.woocommerce-account:not(.logged-in) .oeltek-otp-login-box {
  width: 100% !important;
  margin-top: 10px !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-otp-toggle-btn {
  width: 100% !important;
  height: 46px !important;
  min-height: 46px !important;
  border: 1px solid #cd626c !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: #cd626c !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-otp-panel {
  width: 100% !important;
  margin-top: 12px !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-otp-phone-row {
  width: 100% !important;
  height: 46px !important;
  display: grid !important;
  grid-template-columns: 1fr 34% !important;
  border: 1px solid #cfcfcf !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-otp-phone-row .oeltek-otp-phone-input {
  height: 46px !important;
  min-height: 46px !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-otp-request-btn {
  height: 46px !important;
  border: 0 !important;
  background: #cd626c !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-otp-request-btn.is-counting {
  background: #b7b7b7 !important;
  cursor: not-allowed !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-otp-code-wrap {
  margin-top: 12px !important;
  display: flex;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-otp-code-input {
  width: 160px !important;
  min-width: 160px !important;
  max-width: 160px !important;
  flex: 0 0 160px !important;
  height: 46px !important;
  text-align: center !important;
  direction: ltr !important;
  letter-spacing: 6px !important;
  font-size: 19px !important;
  font-weight: 800 !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-otp-countdown {
  display: none !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-otp-verify-btn {
  flex: 1 1 auto !important;
  height: 46px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #d8a0a5 !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  cursor: not-allowed !important;
  opacity: .55 !important;
  transition: all .18s ease !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-otp-verify-btn.is-active {
  background: #cd626c !important;
  opacity: 1 !important;
  cursor: pointer !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-otp-message {
  min-height: 22px !important;
  margin-top: 8px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.8 !important;
  text-align: center !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-otp-message.is-error {
  color: #c62828 !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-otp-message.is-success {
  color: #2e7d32 !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-otp-note {
  margin-top: 6px !important;
  color: #8a8a8a !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.9 !important;
  text-align: center !important;
}

/* Register block moved by JS under login/OTP */
body.woocommerce-account:not(.logged-in) .oeltek-myaccount-register-box,
body.woocommerce-account:not(.logged-in) .oeltek-myaccount-register-box.is-moved-under-login {
  width: 100% !important;
  max-width: 100% !important;
  margin: 12px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-myaccount-register-box .oeltek-myaccount-auth-title {
  display: none !important;
}

body.woocommerce-account:not(.logged-in) button.oeltek-register-toggle-btn,
body.woocommerce-account:not(.logged-in) button.oeltek-myaccount-main-btn.oeltek-register-toggle-btn {
  width: 100% !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: #cd626c !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-register-slide-box {
  display: none;
  margin-top: 12px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-myaccount-register-form {
  text-align: right !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-register-submit-btn {
  opacity: .45 !important;
  filter: grayscale(25%) !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
  transition: opacity .18s ease, filter .18s ease, background-color .18s ease !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-register-submit-btn.is-active {
  opacity: 1 !important;
  filter: none !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Messages */
body.woocommerce-account:not(.logged-in) .woocommerce-error {
  display: none !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce-message,
body.woocommerce-account:not(.logged-in) .woocommerce-info {
  display: block !important;
  margin: 0 auto 18px !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 2 !important;
  text-align: center !important;
  list-style: none !important;
  background: #f4fff5 !important;
  border: 1px solid #b7e2bd !important;
  color: #2e7d32 !important;
}

body.woocommerce-account:not(.logged-in) .oeltek-register-small-error {
  display: block !important;
  margin: 10px 0 0 !important;
  padding: 0 !important;
  color: #c62828 !important;
  background: transparent !important;
  border: none !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.9 !important;
  text-align: center !important;
  transition: opacity .3s ease !important;
}

/* Phone */
@media (max-width: 760px) {
  body.woocommerce-account:not(.logged-in) .oeltek-myaccount-auth-page {
    padding: 24px 12px 42px !important;
  }

  body.woocommerce-account:not(.logged-in) .oeltek-myaccount-auth-card {
    max-width: 100% !important;
  }

  body.woocommerce-account:not(.logged-in) .oeltek-myaccount-auth-grid {
    max-width: 100% !important;
  }

  body.woocommerce-account:not(.logged-in) .oeltek-myaccount-login-box {
    padding: 20px 16px 22px !important;
  }

  body.woocommerce-account:not(.logged-in) .oeltek-myaccount-logo-img {
    width: 110px !important;
  }

  body.woocommerce-account:not(.logged-in) .oeltek-myaccount-auth-title,
  body.woocommerce-account:not(.logged-in) .oeltek-login-title-inside-form {
    font-size: 18px !important;
  }

  body.woocommerce-account:not(.logged-in) .oeltek-otp-phone-row {
    grid-template-columns: 1fr 38% !important;
  }

  body.woocommerce-account:not(.logged-in) .oeltek-otp-code-input {
    width: 140px !important;
    min-width: 140px !important;
    max-width: 140px !important;
    flex: 0 0 140px !important;
  }
}

/* =========================
   LOGGED-IN MY ACCOUNT
========================= */

.woocommerce-account .oeltek-account-dashboard-card {
  direction: rtl;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 18px 0;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 14px;
}

.woocommerce-account .oeltek-account-dashboard-user {
  font-size: 15px;
  font-weight: 500;
  color: #555555;
  line-height: 1.8;
}

.logged-in.woocommerce-account .oeltek-account-nav-card {
  direction: rtl;
  box-sizing: border-box;
  padding: 18px 18px 12px;
  background: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 14px;
}

.logged-in.woocommerce-account .oeltek-account-nav-user {
  margin: 0 0 14px;
  padding: 0 0 12px;
  border-bottom: 1px solid #eeeeee;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  color: #555555;
}

.logged-in.woocommerce-account .oeltek-account-nav-card ul {
  margin: 0 !important;
  padding: 0 !important;
}

.logged-in.woocommerce-account .oeltek-account-nav-card li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  border-bottom: 1px solid #f1f1f1;
}

.logged-in.woocommerce-account .oeltek-account-nav-card li:last-child {
  border-bottom: 0;
}

.logged-in.woocommerce-account .oeltek-account-nav-card li a {
  display: block;
  padding: 10px 0;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.8;
  color: #666666 !important;
  text-decoration: none !important;
}

.logged-in.woocommerce-account .oeltek-account-nav-card li.is-active a,
.logged-in.woocommerce-account .oeltek-account-nav-card li a:hover {
  color: #333333 !important;
}

body.logged-in.woocommerce-account nav.woocommerce-MyAccount-navigation.oeltek-account-nav-card {
  width: 260px !important;
  min-width: 260px !important;
  max-width: 260px !important;
  margin: 0 0 0 32px !important;
  padding: 18px 18px 12px !important;
  background: #ffffff !important;
  border: 1px solid #e2e2e2 !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
  direction: rtl !important;
}

body.logged-in.woocommerce-account nav.oeltek-account-nav-card ul,
body.logged-in.woocommerce-account nav.oeltek-account-nav-card li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.logged-in.woocommerce-account nav.oeltek-account-nav-card li::before,
body.logged-in.woocommerce-account nav.oeltek-account-nav-card li::marker {
  display: none !important;
  content: none !important;
}

body.logged-in.woocommerce-account nav.oeltek-account-nav-card li {
  border-bottom: 1px solid #f1f1f1 !important;
}

body.logged-in.woocommerce-account nav.oeltek-account-nav-card li:last-child {
  border-bottom: 0 !important;
}

body.logged-in.woocommerce-account nav.oeltek-account-nav-card a {
  display: block !important;
  padding: 10px 0 !important;
  color: #666666 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.8 !important;
  text-decoration: none !important;
}

body.logged-in.woocommerce-account nav.oeltek-account-nav-card li.is-active a,
body.logged-in.woocommerce-account nav.oeltek-account-nav-card a:hover {
  color: #333333 !important;
}

body.logged-in.woocommerce-account .oeltek-account-nav-user {
  margin: 0 0 14px !important;
  padding: 0 0 12px !important;
  border-bottom: 1px solid #eeeeee !important;
  color: #444444 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.8 !important;
}
body.woocommerce-account:not(.logged-in) .oeltek-register-toggle-btn {
  position: relative;
  overflow: visible;
}

body.woocommerce-account:not(.logged-in) .oeltek-register-toggle-btn::before,
body.woocommerce-account:not(.logged-in) .oeltek-register-toggle-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 26px;
  height: 2px;
  background: #cd626c;
  transform: translateY(-50%);
  border-radius: 2px;
}

body.woocommerce-account:not(.logged-in) .oeltek-register-toggle-btn::before {
  right: calc(50% + 34px);
}

body.woocommerce-account:not(.logged-in) .oeltek-register-toggle-btn::after {
  left: calc(50% + 34px);
}
/* Login page: darker and thicker main account box border */
body.woocommerce-account:not(.logged-in) .oeltek-myaccount-login-box {
  border: 1.2px solid #b8b8b8 !important;
}
/* Login page: light gray background for main account box */
body.woocommerce-account:not(.logged-in) .oeltek-myaccount-login-box {
  background: #fafafa !important;
  border: 1.2px solid #b8b8b8 !important;
}
/* Login page: OTP button white background */
body.woocommerce-account:not(.logged-in) .oeltek-otp-toggle-btn {
  background: #ffffff !important;
}
/* Phone under My Account name */
body.logged-in.woocommerce-account .oeltek-account-nav-name {
  display: block !important;
}

body.logged-in.woocommerce-account .oeltek-account-nav-phone {
  display: block !important;
  margin-top: 2px !important;
  color: #8a8a8a !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  direction: ltr !important;
  text-align: right !important;
}

/* Empty orders custom block */
body.logged-in.woocommerce-account .oeltek-empty-orders {
  width: 100% !important;
  min-height: 360px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  direction: rtl !important;
}

body.logged-in.woocommerce-account .oeltek-empty-orders-icon {
  width: 120px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto 18px auto !important;
  opacity: 0.9 !important;
}

body.logged-in.woocommerce-account .oeltek-empty-orders-text {
  color: #666666 !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.9 !important;
}

@media (max-width: 767px) {
  body.logged-in.woocommerce-account .oeltek-empty-orders {
    min-height: 260px !important;
  }

  body.logged-in.woocommerce-account .oeltek-empty-orders-icon {
    width: 82px !important;
    margin-bottom: 12px !important;
  }

  body.logged-in.woocommerce-account .oeltek-empty-orders-text {
    font-size: 14px !important;
  }
}

/* Make empty orders icon larger */
body.logged-in.woocommerce-account .oeltek-empty-orders-icon {
  width: 300px !important;
}

@media (max-width: 767px) {
  body.logged-in.woocommerce-account .oeltek-empty-orders-icon {
    width: 205px !important;
  }
}

/* Phone: My Account menu full-width sticky top */
@media (max-width: 767px) {
  body.logged-in.woocommerce-account #main .woocommerce {
    display: flex !important;
    flex-direction: column !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.logged-in.woocommerce-account nav.woocommerce-MyAccount-navigation.oeltek-account-nav-card {
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 calc(50% - 50vw) 18px calc(50% - 50vw) !important;
    padding: 12px 14px !important;
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9998 !important;
    background: #ffffff !important;
  }

  body.logged-in.woocommerce-account nav.oeltek-account-nav-card ul {
    display: flex !important;
    flex-direction: row !important;
    gap: 18px !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    padding-bottom: 2px !important;
    scrollbar-width: none !important;
  }

  body.logged-in.woocommerce-account nav.oeltek-account-nav-card ul::-webkit-scrollbar {
    display: none !important;
  }

  body.logged-in.woocommerce-account nav.oeltek-account-nav-card li {
    border-bottom: 0 !important;
    flex: 0 0 auto !important;
  }

  body.logged-in.woocommerce-account nav.oeltek-account-nav-card a {
    padding: 6px 0 !important;
    font-size: 13px !important;
  }

  body.logged-in.woocommerce-account .oeltek-account-nav-user {
    margin-bottom: 8px !important;
    padding-bottom: 8px !important;
  }

  body.logged-in.woocommerce-account .woocommerce-MyAccount-content {
    width: 100% !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
  }
}

/* FINAL phone account menu layout */
@media (max-width: 767px) {
  body.logged-in.woocommerce-account nav.woocommerce-MyAccount-navigation.oeltek-account-nav-card {
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 calc(50% - 50vw) 18px calc(50% - 50vw) !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
    box-shadow: none !important;
  }

  body.logged-in.woocommerce-account nav.oeltek-account-nav-card ul {
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-evenly !important;
    align-items: center !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 6px !important;
    min-height: 46px !important;
    background: #6f6f6f !important;
    overflow-x: visible !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }

  body.logged-in.woocommerce-account nav.oeltek-account-nav-card li {
    flex: 1 1 0 !important;
    text-align: center !important;
    border: 0 !important;
  }

  body.logged-in.woocommerce-account nav.oeltek-account-nav-card a {
    display: block !important;
    padding: 12px 2px !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;
    text-align: center !important;
    text-decoration: none !important;
  }

  body.logged-in.woocommerce-account nav.oeltek-account-nav-card li.is-active a,
  body.logged-in.woocommerce-account nav.oeltek-account-nav-card a:hover {
    color: #ffffff !important;
  }

  body.logged-in.woocommerce-account .oeltek-account-nav-user {
    width: 100% !important;
    margin: 0 !important;
    padding: 10px 14px 12px !important;
    border: 0 !important;
    background: #ffffff !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }

  body.logged-in.woocommerce-account .oeltek-account-nav-name {
    color: #333333 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-align: left !important;
  }

  body.logged-in.woocommerce-account .oeltek-account-nav-phone {
    color: #8a8a8a !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    text-align: left !important;
    direction: ltr !important;
  }
}

/* FINAL phone: account menu sticks under dynamic header */
@media (max-width: 767px) {
  body.logged-in.woocommerce-account {
    --oeltek-account-menu-top: 0px;
    --oeltek-account-menu-h: 110px;
  }

  body.logged-in.woocommerce-account .entry-header {
    display: none !important;
  }

  body.logged-in.woocommerce-account nav.woocommerce-MyAccount-navigation.oeltek-account-nav-card {
    position: fixed !important;
    top: var(--oeltek-account-menu-top) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    z-index: 9999997 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
  }

  body.logged-in.woocommerce-account nav.oeltek-account-nav-card ul {
    order: 1 !important;
    width: 100% !important;
    min-height: 44px !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-evenly !important;
    align-items: center !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #b7b7b7 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    white-space: nowrap !important;
  }

  body.logged-in.woocommerce-account nav.oeltek-account-nav-card li {
    flex: 1 1 0 !important;
    text-align: center !important;
    border: 0 !important;
  }

  body.logged-in.woocommerce-account nav.oeltek-account-nav-card a {
    display: block !important;
    padding: 11px 1px !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.6 !important;
    text-align: center !important;
    text-decoration: none !important;
  }

  body.logged-in.woocommerce-account nav.oeltek-account-nav-card li.is-active a,
  body.logged-in.woocommerce-account nav.oeltek-account-nav-card a:hover {
    color: #ffffff !important;
  }

  body.logged-in.woocommerce-account .oeltek-account-nav-user {
    order: 2 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 10px 12px 12px !important;
    border: 0 !important;
    background: #ffffff !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }

  body.logged-in.woocommerce-account .oeltek-account-nav-name,
  body.logged-in.woocommerce-account .oeltek-account-nav-phone {
    text-align: left !important;
  }

  body.logged-in.woocommerce-account #main .woocommerce {
    padding-top: calc(var(--oeltek-account-menu-h) + 8px) !important;
  }
}

/* Phone final: lighter transparent account menu bar + transparent name area */
@media (max-width: 767px) {
  body.logged-in.woocommerce-account nav.oeltek-account-nav-card ul {
    background: rgba(183, 183, 183, 0.90) !important;
  }

  body.logged-in.woocommerce-account .oeltek-account-nav-user {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
  }

  body.logged-in.woocommerce-account nav.woocommerce-MyAccount-navigation.oeltek-account-nav-card {
    background: transparent !important;
    box-shadow: none !important;
  }
}

/* Phone final width fix: match header width, no overflow */
@media (max-width: 767px) {
  html,
  body.logged-in.woocommerce-account {
    overflow-x: hidden !important;
  }

  body.logged-in.woocommerce-account nav.woocommerce-MyAccount-navigation.oeltek-account-nav-card {
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    transform: none !important;
  }

  body.logged-in.woocommerce-account nav.oeltek-account-nav-card ul {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  body.logged-in.woocommerce-account nav.oeltek-account-nav-card li {
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.logged-in.woocommerce-account nav.oeltek-account-nav-card a {
    font-size: 11px !important;
    padding: 11px 1px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.logged-in.woocommerce-account .oeltek-account-nav-user {
    width: 100% !important;
    max-width: 100% !important;
    padding: 9px 12px 10px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  body.logged-in.woocommerce-account .oeltek-account-nav-name,
  body.logged-in.woocommerce-account .oeltek-account-nav-phone {
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}

/* My Account downloads / BL files */
body.logged-in.woocommerce-account .oeltek-empty-downloads {
  width: 100% !important;
  min-height: 260px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  color: #666666 !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.9 !important;
  direction: rtl !important;
}

body.logged-in.woocommerce-account .oeltek-account-downloads-list {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  direction: rtl !important;
}

body.logged-in.woocommerce-account .oeltek-account-download-card {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 16px !important;
  background: #ffffff !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 14px !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

body.logged-in.woocommerce-account .oeltek-account-download-icon {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f2f2f2 !important;
  border-radius: 10px !important;
  color: #777777 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  direction: ltr !important;
}

body.logged-in.woocommerce-account .oeltek-account-download-info {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}

body.logged-in.woocommerce-account .oeltek-account-download-title {
  color: #555555 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.8 !important;
}

body.logged-in.woocommerce-account .oeltek-account-download-type {
  margin-top: 3px !important;
  color: #999999 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
}

@media (max-width: 767px) {
  body.logged-in.woocommerce-account .oeltek-empty-downloads {
    min-height: 220px !important;
    font-size: 14px !important;
  }

  body.logged-in.woocommerce-account .oeltek-account-downloads-list {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body.logged-in.woocommerce-account .oeltek-account-download-card {
    padding: 12px !important;
    border-radius: 12px !important;
  }

  body.logged-in.woocommerce-account .oeltek-account-download-title {
    font-size: 13px !important;
  }
}

/* Phone: make downloads area smaller and lower */
@media (max-width: 767px) {
  body.logged-in.woocommerce-account.woocommerce-downloads .woocommerce-MyAccount-content,
  body.logged-in.woocommerce-account .woocommerce-MyAccount-content {
    padding-top: 18px !important;
  }

  body.logged-in.woocommerce-account .oeltek-empty-downloads {
    min-height: 180px !important;
    padding-top: 24px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
  }

  body.logged-in.woocommerce-account .oeltek-account-downloads-list {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    margin: 22px auto 0 auto !important;
    gap: 8px !important;
  }

  body.logged-in.woocommerce-account .oeltek-account-download-card {
    padding: 10px 11px !important;
    border-radius: 10px !important;
    gap: 9px !important;
  }

  body.logged-in.woocommerce-account .oeltek-account-download-icon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border-radius: 8px !important;
    font-size: 10px !important;
  }

  body.logged-in.woocommerce-account .oeltek-account-download-title {
    font-size: 12px !important;
    line-height: 1.7 !important;
  }

  body.logged-in.woocommerce-account .oeltek-account-download-type {
    font-size: 11px !important;
  }
}

/* Phone: push downloads content much lower under user name/phone */
@media (max-width: 767px) {
  body.logged-in.woocommerce-account .woocommerce-MyAccount-content {
    padding-top: 70px !important;
  }

  body.logged-in.woocommerce-account .oeltek-empty-downloads {
    padding-top: 70px !important;
  }

  body.logged-in.woocommerce-account .oeltek-account-downloads-list {
    margin-top: 70px !important;
  }
}

/* My Account orders table final style */
body.logged-in.woocommerce-account .woocommerce-orders-table {
  width: 100% !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: 1px solid #d8d8d8 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  direction: rtl !important;
  background: #ffffff !important;
  font-size: 15px !important;
}

body.logged-in.woocommerce-account .woocommerce-orders-table thead th {
  padding: 14px 12px !important;
  color: #111111 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  text-align: center !important;
  background: #ffffff !important;
  border-bottom: 1px solid #d8d8d8 !important;
}

body.logged-in.woocommerce-account .woocommerce-orders-table tbody td,
body.logged-in.woocommerce-account .woocommerce-orders-table tbody th {
  padding: 13px 12px !important;
  color: #666666 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-align: center !important;
  vertical-align: middle !important;
  border-bottom: 1px solid #e5e5e5 !important;
}

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

body.logged-in.woocommerce-account .woocommerce-orders-table .woocommerce-orders-table__cell-order-number a {
  color: #CC5F5A !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

body.logged-in.woocommerce-account .woocommerce-orders-table .woocommerce-button,
body.logged-in.woocommerce-account .woocommerce-orders-table a.button {
  min-width: 72px !important;
  padding: 8px 14px !important;
  background: #CC5F5A !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  text-align: center !important;
  text-decoration: none !important;
}

body.logged-in.woocommerce-account .oeltek-order-tracking-text,
body.logged-in.woocommerce-account .oeltek-order-empty-text,
body.logged-in.woocommerce-account .oeltek-order-cancelled-text {
  color: #777777 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.8 !important;
}

body.logged-in.woocommerce-account .oeltek-order-cancelled-text {
  color: #999999 !important;
}

@media (max-width: 767px) {
  body.logged-in.woocommerce-account .woocommerce-orders-table {
    font-size: 12px !important;
  }

  body.logged-in.woocommerce-account .woocommerce-orders-table tbody td,
  body.logged-in.woocommerce-account .woocommerce-orders-table tbody th {
    font-size: 12px !important;
    padding: 10px 8px !important;
  }

  body.logged-in.woocommerce-account .woocommerce-orders-table .woocommerce-button,
  body.logged-in.woocommerce-account .woocommerce-orders-table a.button {
    min-width: 58px !important;
    padding: 7px 10px !important;
    font-size: 12px !important;
  }
}

/* Desktop + tablet: keep user name/phone above the menu box */
@media (min-width: 768px) {
  body.logged-in.woocommerce-account nav.woocommerce-MyAccount-navigation.oeltek-account-nav-card {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  body.logged-in.woocommerce-account nav.oeltek-account-nav-card {
    display: flex !important;
    flex-direction: column !important;
  }

  body.logged-in.woocommerce-account nav.oeltek-account-nav-card .oeltek-account-nav-user {
    order: 1 !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    text-align: right !important;
  }

  body.logged-in.woocommerce-account nav.oeltek-account-nav-card .oeltek-account-nav-name {
    display: block !important;
    color: #444444 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.8 !important;
    text-align: right !important;
  }

  body.logged-in.woocommerce-account nav.oeltek-account-nav-card .oeltek-account-nav-phone {
    display: block !important;
    margin-top: 2px !important;
    color: #8a8a8a !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
    direction: ltr !important;
    text-align: right !important;
  }

  body.logged-in.woocommerce-account nav.oeltek-account-nav-card ul {
    order: 2 !important;
    padding: 18px 18px 12px !important;
    background: #ffffff !important;
    border: 1px solid #e2e2e2 !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
  }
}

/* Phone: add space between each order block */
@media (max-width: 767px) {
  body.logged-in.woocommerce-account .woocommerce-orders-table tbody tr {
    display: block !important;
    margin-bottom: 18px !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #ffffff !important;
  }

  body.logged-in.woocommerce-account .woocommerce-orders-table tbody tr:last-child {
    margin-bottom: 0 !important;
  }

  body.logged-in.woocommerce-account .woocommerce-orders-table tbody td,
  body.logged-in.woocommerce-account .woocommerce-orders-table tbody th {
    border-bottom: 1px solid #eeeeee !important;
  }

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

/* Phone: remove outer orders table border, keep each order card border */
@media (max-width: 767px) {
  body.logged-in.woocommerce-account .woocommerce-orders-table {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    overflow: visible !important;
  }

  body.logged-in.woocommerce-account .woocommerce-orders-table tbody {
    display: block !important;
    border: 0 !important;
    background: transparent !important;
  }
}

/* Order detail page: clean product rows */
body.logged-in.woocommerce-account .woocommerce-order-details {
  direction: rtl !important;
  max-width: 980px !important;
  margin: 0 auto 28px auto !important;
}

body.logged-in.woocommerce-account .woocommerce-order-details__title {
  color: #111111 !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  line-height: 1.8 !important;
  margin: 0 0 14px !important;
  text-align: right !important;
}

body.logged-in.woocommerce-account .woocommerce-table--order-details {
  width: 100% !important;
  border: 1px solid #e2e2e2 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: #ffffff !important;
}

body.logged-in.woocommerce-account .woocommerce-table--order-details th {
  color: #222222 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-align: right !important;
  padding: 12px 14px !important;
  background: #ffffff !important;
  border-bottom: 1px solid #eeeeee !important;
}

body.logged-in.woocommerce-account .woocommerce-table--order-details td {
  color: #666666 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-align: right !important;
  padding: 12px 14px !important;
  border-bottom: 1px solid #eeeeee !important;
  vertical-align: middle !important;
}

body.logged-in.woocommerce-account .oeltek-order-detail-product {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  direction: rtl !important;
}

body.logged-in.woocommerce-account .oeltek-order-detail-product-image {
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  border: 1px solid #eeeeee !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #fafafa !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.logged-in.woocommerce-account .oeltek-order-detail-product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

body.logged-in.woocommerce-account .oeltek-order-detail-product-title a,
body.logged-in.woocommerce-account .oeltek-order-detail-product-title {
  color: #444444 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.8 !important;
  text-decoration: none !important;
}

body.logged-in.woocommerce-account .oeltek-order-detail-product-qty {
  margin-top: 2px !important;
  color: #888888 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.7 !important;
}

body.logged-in.woocommerce-account .oeltek-order-detail-product-meta {
  margin-top: 2px !important;
  color: #999999 !important;
  font-size: 11px !important;
}

@media (max-width: 767px) {
  body.logged-in.woocommerce-account .woocommerce-order-details {
    max-width: 100% !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
  }

  body.logged-in.woocommerce-account .woocommerce-order-details__title {
    font-size: 18px !important;
  }

  body.logged-in.woocommerce-account .oeltek-order-detail-product-image {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
  }

  body.logged-in.woocommerce-account .oeltek-order-detail-product-title a,
  body.logged-in.woocommerce-account .oeltek-order-detail-product-title {
    font-size: 12px !important;
  }
}

/* Order detail: clean address block */
body.logged-in.woocommerce-account .oeltek-order-address-section {
  max-width: 980px !important;
  margin: 0 auto 28px auto !important;
  direction: rtl !important;
}

body.logged-in.woocommerce-account .oeltek-order-address-title {
  margin: 0 0 10px !important;
  color: #333333 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.8 !important;
  text-align: right !important;
}

body.logged-in.woocommerce-account .oeltek-order-address-card {
  width: 100% !important;
  padding: 13px 16px !important;
  border: 1px solid #e2e2e2 !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
  color: #666666 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 2 !important;
  text-align: right !important;
}

body.logged-in.woocommerce-account .oeltek-order-address-item {
  display: inline !important;
  color: #666666 !important;
}

body.logged-in.woocommerce-account .oeltek-order-address-item:not(:last-child)::after {
  content: " | ";
  color: #cccccc !important;
  margin: 0 7px !important;
}

body.logged-in.woocommerce-account .oeltek-order-address-name {
  font-weight: 700 !important;
  color: #555555 !important;
}

@media (max-width: 767px) {
  body.logged-in.woocommerce-account .oeltek-order-address-section {
    max-width: 100% !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
  }

  body.logged-in.woocommerce-account .oeltek-order-address-title {
    font-size: 14px !important;
  }

  body.logged-in.woocommerce-account .oeltek-order-address-card {
    padding: 11px 12px !important;
    font-size: 12px !important;
    border-radius: 10px !important;
  }
}

/* Order detail: smaller title + logistic row */
body.logged-in.woocommerce-account .woocommerce-order-details__title {
  font-size: 16px !important;
  font-weight: 700 !important;
  margin-bottom: 10px !important;
}

body.logged-in.woocommerce-account .oeltek-order-detail-logistic-row th,
body.logged-in.woocommerce-account .oeltek-order-detail-logistic-row td {
  color: #666666 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

@media (max-width: 767px) {
  body.logged-in.woocommerce-account .woocommerce-order-details__title {
    font-size: 14px !important;
  }

  body.logged-in.woocommerce-account .oeltek-order-detail-logistic-row th,
  body.logged-in.woocommerce-account .oeltek-order-detail-logistic-row td {
    font-size: 12px !important;
  }
}

/* View order top sentence */
body.logged-in.woocommerce-account .oeltek-view-order-status {
  color: #222222 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.9 !important;
  text-align: right !important;
}

body.logged-in.woocommerce-account .oeltek-view-order-status * {
  font-weight: 700 !important;
}

@media (max-width: 767px) {
  body.logged-in.woocommerce-account .oeltek-view-order-status {
    font-size: 14px !important;
  }
}

/* View order: red reorder button */
body.logged-in.woocommerce-account .woocommerce-order-details .order-again a.button,
body.logged-in.woocommerce-account .order-again a.button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 128px !important;
  padding: 10px 18px !important;
  background: #CC5F5A !important;
  color: #ffffff !important;
  border: 1px solid #CC5F5A !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.6 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

body.logged-in.woocommerce-account .woocommerce-order-details .order-again a.button:hover,
body.logged-in.woocommerce-account .order-again a.button:hover {
  background: #b94f4a !important;
  border-color: #b94f4a !important;
  color: #ffffff !important;
}

/* Phone cart: hide add/remove success messages only */
@media (max-width: 767px) {
  body.woocommerce-cart .woocommerce-notices-wrapper,
  body.woocommerce-cart .woocommerce-message,
  body.woocommerce-cart .woocommerce-info {
    display: none !important;
  }
}
