.oh-account-dashboard {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 55px 20px;
  color: #111;
}

.oh-account-dashboard *,
.oh-account-dashboard *:before,
.oh-account-dashboard *:after {
  box-sizing: border-box;
}

.oh-account-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.oh-account-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Priority Buttons */
.oh-account-priority {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 86px;
  padding: 20px;
  border-radius: 8px;
  text-decoration: none !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.oh-account-priority:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  color: #fff !important;
}

.oh-priority-red {
  background: linear-gradient(135deg, #e52629, #b80f16);
}

.oh-priority-red:after {
  content: "IMPORTANT";
  position: absolute;
  top: 8px;
  right: -34px;
  background: #fff;
  color: #e52629;
  font-size: 10px;
  letter-spacing: 0.06em;
  transform: rotate(38deg);
  padding: 4px 34px;
}

.oh-priority-dark {
  background: linear-gradient(135deg, #1b2025, #050505);
}

.oh-priority-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #fff;
}

.oh-priority-icon svg,
.oh-nav-icon svg,
.oh-nav-arrow svg,
.oh-quick-icon svg,
.oh-quick-grid i svg,
.oh-resource-icon svg,
.oh-order-row i svg,
.oh-help-strip svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  display: block;
}

.oh-account-priority strong {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-size: 26px;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.35px;
}

.oh-account-priority small {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.35;
  color: #fff;
}

.oh-account-priority i {
  margin-left: auto;
  width: 18px;
  height: 18px;
  color: #fff;
  font-style: normal;
  flex: 0 0 auto;
}

/* Sidebar Nav */
.oh-account-nav {
  margin-top: 8px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.oh-account-nav a {
  display: grid;
  grid-template-columns: 24px 1fr 16px;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 18px;
  border-bottom: 1px solid #eee;
  text-decoration: none !important;
  color: #111;
  font-family: "Bebas Neue", sans-serif;
  font-size: 20px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  transition: background 0.18s ease, color 0.18s ease;
}

.oh-account-nav a:last-child {
  border-bottom: 0;
}

.oh-account-nav a:hover,
.oh-account-nav a.is-active {
  background: #fff5f5;
  color: #e52629;
}

.oh-account-nav a.is-active {
  border-left: 4px solid #e52629;
  padding-left: 14px;
}

.oh-nav-icon {
  width: 24px;
  height: 24px;
  color: currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
}

.oh-nav-arrow {
  width: 16px;
  height: 16px;
  color: currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main */
.oh-account-main {
  min-width: 0;
}

.oh-welcome-card,
.oh-account-card,
.oh-help-strip,
.oh-wc-content-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

/* Welcome */
.oh-welcome-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 32px;
  margin-bottom: 30px;
  min-height: 150px;
}

.oh-welcome-left {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.oh-user-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #e9eaec;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #555;
  flex: 0 0 auto;
}

.oh-welcome-card span {
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
  color: #111;
}

.oh-welcome-card h2 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: 42px;
  line-height: 1;
  color: #111;
  letter-spacing: 0.35px;
}

.oh-welcome-card p {
  margin: 12px 0 0;
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  max-width: 560px;
}

.oh-welcome-illustration {
  width: 170px;
  height: 100px;
  color: #e52629;
  opacity: 0.55;
  flex: 0 0 auto;
}

.oh-welcome-illustration svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Quick Access */
.oh-quick-access {
  margin-bottom: 28px;
}

.oh-quick-access h3,
.oh-card-heading h3 {
  position: relative;
  margin: 0 0 18px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 26px;
  line-height: 1;
  text-transform: uppercase;
  color: #111;
  letter-spacing: 0.4px;
}

.oh-quick-access h3:after,
.oh-card-heading h3:after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  background: #e52629;
  margin-top: 7px;
}

.oh-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.oh-quick-grid a {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 18px;
  gap: 14px;
  align-items: center;
  min-height: 116px;
  padding: 20px 18px;
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 8px;
  text-decoration: none !important;
  color: #111;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.22s ease, border-color 0.22s ease,
    box-shadow 0.22s ease, background 0.22s ease;
}

.oh-quick-grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(229, 38, 41, 0.35);
  box-shadow: 0 16px 34px rgba(229, 38, 41, 0.1);
  background: #fffafa;
  color: #111;
}

.oh-quick-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(229, 38, 41, 0.09);
  color: #e52629;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.oh-quick-content {
  display: block;
  min-width: 0;
}

.oh-quick-grid strong {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-size: 23px;
  line-height: 1;
  color: #111;
  letter-spacing: 0.35px;
}

.oh-quick-grid small {
  display: block;
  margin-top: 7px;
  font-size: 13px;
  color: #666;
  line-height: 1.45;
}

.oh-quick-grid i {
  width: 18px;
  height: 18px;
  color: #111;
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, color 0.18s ease;
}

.oh-quick-grid a:hover i {
  transform: translateX(3px);
  color: #e52629;
}

/* Cards */
.oh-account-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 28px;
}

.oh-account-card {
  padding: 22px;
  min-width: 0;
}

.oh-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #eee;
  margin: -22px -22px 16px;
  padding: 18px 22px 12px;
}

.oh-card-heading h3 {
  margin-bottom: 0;
}

.oh-card-heading a {
  font-size: 13px;
  color: #e52629;
  text-decoration: none !important;
}

.oh-card-heading a:hover {
  color: #111;
}

/* Resources */
.oh-resource-list {
  overflow-y: auto;
  padding-right: 6px;
}

.oh-resource-list::-webkit-scrollbar {
  width: 6px;
}

.oh-resource-list::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 10px;
}

.oh-resource-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  text-decoration: none !important;
  color: #111;
}

.oh-resource-item:last-child {
  border-bottom: 0;
}

.oh-resource-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(229, 38, 41, 0.08);
  color: #e52629;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  flex: 0 0 auto;
}

.oh-resource-info {
  min-width: 0;
}

.oh-resource-item strong {
  display: block;
  font-size: 14px;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.oh-resource-item small {
  display: block;
  margin-top: 4px;
  color: #777;
  font-size: 12px;
}

.oh-resource-item em {
  margin-left: auto;
  font-style: normal;
  border: 1px solid #e52629;
  color: #e52629;
  border-radius: 4px;
  padding: 7px 11px;
  font-size: 11px;
  text-transform: uppercase;
  transition: 0.18s ease;
}

.oh-resource-item:hover em {
  background: #e52629;
  color: #fff;
}

/* Recent Orders */
.oh-order-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto 16px;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #eee;
  text-decoration: none !important;
  color: #111;
}

.oh-order-row:last-child {
  border-bottom: 0;
}

.oh-order-row strong {
  display: block;
  font-size: 14px;
  color: #111;
}

.oh-order-row small {
  color: #777;
  font-size: 12px;
}

.oh-order-status {
  background: #e5f5e9;
  color: #26733b;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  white-space: nowrap;
}

.oh-order-row em {
  font-style: normal;
  font-size: 14px;
  color: #333;
  white-space: nowrap;
}

.oh-order-row i {
  width: 16px;
  height: 16px;
  color: #111;
  font-style: normal;
}

.oh-order-row:hover i {
  color: #e52629;
}

/* Help */
.oh-help-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  background: #fff7f7;
  border-color: #f3b8b8;
  margin-bottom: 28px;
}

.oh-help-strip > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.oh-help-strip span {
  width: 48px;
  height: 48px;
  color: #e52629;
  flex: 0 0 auto;
}

.oh-help-strip strong {
  display: block;
  font-size: 16px;
  color: #111;
}

.oh-help-strip small {
  display: block;
  margin-top: 4px;
  color: #666;
}

.oh-help-strip a {
  background: #e52629;
  color: #fff !important;
  border-radius: 6px;
  padding: 13px 24px;
  text-decoration: none !important;
  font-size: 13px;
  text-transform: uppercase;
  transition: 0.18s ease;
}

.oh-help-strip a:hover {
  background: #111;
  color: #fff !important;
}

/* Woo Content */
.oh-wc-content-card {
  padding: 26px;
}

.oh-wc-content-only {
  min-height: 220px;
}

.oh-wc-content-card .woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.oh-wc-content-card .woocommerce-MyAccount-navigation {
  display: none !important;
}

.oh-empty-text {
  margin: 0;
  color: #777;
}

/* Responsive */
@media (max-width: 1024px) {
  .oh-account-layout {
    grid-template-columns: 1fr;
  }

  .oh-account-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .oh-account-nav {
    grid-column: 1 / -1;
  }

  .oh-welcome-illustration {
    width: 140px;
  }
}

@media (max-width: 767px) {
  .oh-account-dashboard {
    padding: 35px 14px;
  }

  .oh-account-sidebar,
  .oh-quick-grid,
  .oh-account-two-col {
    grid-template-columns: 1fr;
  }

  .oh-welcome-card {
    display: block;
    padding: 22px;
  }

  .oh-welcome-left {
    display: block;
  }

  .oh-user-avatar {
    margin-bottom: 16px;
  }

  .oh-welcome-card h2 {
    font-size: 34px;
  }

  .oh-welcome-illustration {
    margin-top: 18px;
    width: 130px;
    height: 76px;
  }

  .oh-quick-grid a {
    grid-template-columns: 54px minmax(0, 1fr) 18px;
    min-height: 104px;
  }

  .oh-resource-item {
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: flex-start;
  }

  .oh-resource-item em {
    grid-column: 2;
    margin-left: 0;
    width: max-content;
  }

  .oh-order-row {
    grid-template-columns: 1fr auto;
    align-items: flex-start;
  }

  .oh-order-row em,
  .oh-order-row i {
    display: none;
  }

  .oh-help-strip {
    display: block;
  }

  .oh-help-strip a {
    display: inline-flex;
    margin-top: 16px;
  }

  .oh-account-priority {
    min-height: 78px;
  }
}
/* Normal WooCommerce account tab content polish */
.oh-wc-content-card {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 30px;
}

/* Orders table */
.oh-wc-content-card table.shop_table {
  width: 100%;
  border: 1px solid #e3e3e3 !important;
  border-collapse: collapse !important;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.oh-wc-content-card table.shop_table th {
  background: #f7f7f7;
  color: #111;
  font-family: "Bebas Neue", sans-serif;
  font-size: 20px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 16px !important;
  border: 1px solid #ddd !important;
}

.oh-wc-content-card table.shop_table td {
  padding: 16px !important;
  border: 1px solid #e2e2e2 !important;
  font-size: 15px;
  color: #222;
}

.oh-wc-content-card table.shop_table a {
  color: #e52629;
  text-decoration: none;
}

.oh-wc-content-card table.shop_table a:hover {
  color: #111;
}

/* Address page */
.oh-wc-content-card .woocommerce-Addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.oh-wc-content-card .woocommerce-Address {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.oh-wc-content-card .woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 15px;
}

.oh-wc-content-card .woocommerce-Address-title h2 {
  margin: 0;
  font-size: 34px;
  font-family: "Bebas Neue", sans-serif;
  line-height: 1;
  color: #111;
}

.oh-wc-content-card .woocommerce-Address-title a {
  color: #e52629;
  font-size: 15px;
  text-decoration: none;
}

.oh-wc-content-card address {
  font-size: 16px;
  line-height: 1.6;
  color: #222;
}

/* Account details form */
.oh-wc-content-card form.woocommerce-EditAccountForm,
.oh-wc-content-card form {
  max-width: 100%;
}

.oh-wc-content-card .form-row {
  margin-bottom: 18px !important;
}

.oh-wc-content-card label {
  display: block;
  font-size: 15px;
  color: #111;
  margin-bottom: 7px;
}

.oh-wc-content-card input.input-text,
.oh-wc-content-card input[type="text"],
.oh-wc-content-card input[type="email"],
.oh-wc-content-card input[type="password"],
.oh-wc-content-card select,
.oh-wc-content-card textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d8d8d8 !important;
  border-radius: 6px;
  padding: 11px 14px;
  font-size: 15px;
  background: #fff;
  color: #111;
  outline: none;
}

.oh-wc-content-card input:focus,
.oh-wc-content-card select:focus,
.oh-wc-content-card textarea:focus {
  border-color: #e52629 !important;
  box-shadow: 0 0 0 3px rgba(229, 38, 41, 0.12);
}

.oh-wc-content-card fieldset {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 22px;
  margin: 22px 0;
}

.oh-wc-content-card legend {
  font-family: "Bebas Neue", sans-serif;
  font-size: 24px;
  color: #111;
  padding: 0 8px;
}

.oh-wc-content-card button.button,
.oh-wc-content-card .button {
  background: #e52629 !important;
  color: #fff !important;
  border: 1px solid #e52629 !important;
  border-radius: 6px !important;
  padding: 13px 28px !important;
  font-size: 14px !important;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: 0.2s ease;
}

.oh-wc-content-card button.button:hover,
.oh-wc-content-card .button:hover {
  background: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
}

/* Notice */
.oh-wc-content-card .woocommerce-info,
.oh-wc-content-card .woocommerce-message,
.oh-wc-content-card .woocommerce-error {
  border-radius: 8px;
  background: #fff7f7;
  border-top: 3px solid #e52629;
  color: #111;
  padding: 16px 18px;
}

/* Mobile */
@media (max-width: 767px) {
  .oh-wc-content-card {
    padding: 20px;
  }

  .oh-wc-content-card .woocommerce-Addresses {
    grid-template-columns: 1fr;
  }

  .oh-wc-content-card table.shop_table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .oh-wc-content-card .woocommerce-Address-title h2 {
    font-size: 28px;
  }
}
