.shg-profile-wrapper {
  width: 100%;
}

.shg-profile-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}

.shg-profile-card__header {
  padding: 16px 24px;
  border-bottom: 1px solid #e5e7eb;
  background-color: #f5f5f6;
}

.shg-profile-card__title {
  font-size: 14px;
  font-weight: 500;
  color: #191c1f;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.shg-profile-card__body {
  padding: 32px 24px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.shg-profile-avatar {
  flex-shrink: 0;
}

.shg-avatar-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
}

.shg-avatar-circle svg {
  width: 60px;
  height: 60px;
}

.shg-profile-form {
  flex: 1;
}

.shg-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.shg-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shg-form-group--gender {
  grid-column: 2;
}

.shg-form-group--location {
  grid-column: 1 / 3;
}

.shg-location-row {
  display: flex;
  gap: 16px;
  align-items: flex-end;
}

.shg-location-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.shg-location-col--country {
  flex: 3.1;
}

.shg-location-col--state {
  flex: 1.5;
}

.shg-location-col--zip {
  flex: 1.5;
}

.shg-label {
  font-size: 14px;
  font-weight: 400;
  color: #191c1f;
  margin: 0;
}

.shg-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 14px;
  color: #111827;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.shg-input:focus {
  border-color: #1e3a5f;
  box-shadow: 0 0 0 2px rgba(30, 58, 95, 0.1);
}

.shg-input--readonly {
  background-color: #f9fafb;
  color: #6b7280;
  cursor: not-allowed;
}

.shg-select-wrapper {
  position: relative;
}

.shg-select {
  width: 100%;
  padding: 10px 36px 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 14px;
  color: #111827;
  background: #ffffff;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.shg-select:focus {
  border-color: #1e3a5f;
  box-shadow: 0 0 0 2px rgba(30, 58, 95, 0.1);
}

.shg-select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #6b7280;
  font-size: 16px;
}

.shg-radio-group {
  display: flex;
  gap: 20px;
  padding: 10px 0;
  align-items: center;
}

.shg-radio-label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 14px;
  color: #374151;
  position: relative;
}

.shg-radio-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.shg-radio-custom {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
  flex-shrink: 0;
}

.shg-radio-label input[type="radio"]:checked + .shg-radio-custom {
  border-color: #2563eb;
  background: #2563eb;
  box-shadow: inset 0 0 0 3px #ffffff;
}

.shg-form-actions {
  margin-top: 24px;
}

.shg-btn-save {
  background-color: #1e3a5f;
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition:
    background-color 0.2s,
    transform 0.1s;
}

.shg-btn-save:hover {
  background-color: #162d4a;
}

.shg-btn-save:active {
  transform: scale(0.98);
}

@media (max-width: 640px) {
  .shg-profile-card__body {
    flex-direction: column;
    align-items: center;
  }

  .shg-form-grid {
    grid-template-columns: 1fr;
  }

  .shg-form-group--gender,
  .shg-form-group--location {
    grid-column: 1;
  }

  .shg-location-row {
    flex-direction: column;
  }

  .shg-location-col--country,
  .shg-location-col--state,
  .shg-location-col--zip {
    flex: 1;
    width: 100%;
  }
}

.shg-orders-wrapper {
  font-family: "Segoe UI", sans-serif;
  max-width: 720px;
}

.shg-order-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 10px;
  border-bottom: 1px solid #e8e8e8;
  flex-wrap: wrap;
}
.shg-order-card:last-child {
  border-bottom: none;
}

.shg-order-img {
  width: 80px;
  height: 80px !important;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  background: #f5f5f5;
}
.shg-order-img-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 28px;
  flex-shrink: 0;
}

.shg-order-info {
  flex: 1;
  min-width: 160px;
}
.shg-order-name {
  font-size: 16px;
  font-weight: 700;
  color: #191c1f;
  margin: 0 0 4px;
  line-height: 22px;
}
.shg-order-qty {
  font-size: 14px;
  font-weight: 400;
  color: #131118;
  margin: 0 0 10px;
}

.shg-status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.shg-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}
.shg-badge-delivered,
.shg-badge-completed {
  background: #e6f4ea;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}
.shg-badge-processing,
.shg-badge-on-hold,
.shg-badge-pending {
  background: #fff8e1;
  color: #b8860b;
  border: 1px solid #ffe082;
}
.shg-badge-cancelled,
.shg-badge-failed,
.shg-badge-refunded {
  background: #fdecea;
  color: #c62828;
  border: 1px solid #ef9a9a;
}
.shg-status-msg {
  font-size: 14px;
  color: #5b636a;
  font-weight: 400;
}

.shg-order-price {
  font-size: 16px;
  font-weight: 700;
  color: #1565c0;
  min-width: 80px;
  padding-top: 4px;
}

.shg-order-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 130px;
  align-items: stretch;
}
.shg-btn-view {
  display: block;
  text-align: center;
  background: #1565c0;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  padding: 10px 27px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.2s;
}
.shg-btn-view:hover {
  background: #0d47a1;
  color: #fff !important;
}
.shg-btn-cancel {
  display: block;
  text-align: center;
  background: #fff;
  color: #c62828 !important;
  border: 2px solid #c62828;
  border-radius: 5px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.shg-btn-cancel:hover {
  background: #c62828;
  color: #fff !important;
}

.shg-no-orders {
  text-align: center;
  padding: 48px 20px;
  color: #888;
  font-size: 15px;
}
.shg-no-orders a {
  display: inline-block;
  margin-top: 14px;
  background: #1565c0;
  color: #fff;
  padding: 10px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
}

.shg-pagination {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
.shg-pagination a {
  background: #1565c0;
  color: #fff;
  padding: 8px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.shg-pagination a:hover {
  background: #0d47a1;
}

@media (max-width: 600px) {
  .shg-order-card {
    gap: 12px;
  }
  .shg-order-price {
    text-align: left;
    min-width: auto;
  }
  .shg-order-actions {
    width: 100%;
    flex-direction: row;
  }
  .shg-btn-view,
  .shg-btn-cancel {
    flex: 1;
  }
}
.woocommerce-MyAccount-navigation ul li a::before {
  display: none !important;
}
.woocommerce-MyAccount-navigation-link .woocommerce-MyAccount-navigation-link--inquiry .menu-item--inquiry{
	  display: none !important;
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--inquiry {
  display: none !important;
}
.woocommerce-MyAccount-navigation ul li a::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 12px;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-size: contain;
    float: left;
    margin-top: 2px;
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--dashboard a::after {
    background-image: url("../img/basil_user-outline.svg");
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--orders a::after {
    background-image: url("../img/store-front.svg");
}

.woocommerce-MyAccount-navigation ul li.menu-item--track-order a::after {
    background-image: url("../img/track-order.svg");
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--edit-address a::after {
    background-image: url("../img/location-icon.svg");
}

.woocommerce-MyAccount-navigation ul li.menu-item--settings a::after {
    background-image: url("../img/gear.svg");
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a::after {
    background-image: url("../img/logout.svg");
}

/* Followings icon */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--followings a::after,
.woocommerce-MyAccount-navigation ul li.menu-item--followings a::after {
    background-image: url("../img/following.png");
}

/* Support Tickets icon */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--support-tickets a::after,
.woocommerce-MyAccount-navigation ul li.menu-item--support-tickets a::after,
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--wcfmmp-support-tickets a::after {
    background-image: url("../img/support-tickets.png");
}

.woocommerce-MyAccount-navigation ul li a::after {
    transition: 0.3s;
}

.woocommerce-MyAccount-navigation ul li:hover a::after,
.woocommerce-MyAccount-navigation ul li.is-active a::after {
    filter: brightness(0) invert(1); 
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout:hover a,
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout.is-active a {
    color: #fff !important;
}
.menu-item--customer-logout a {
color: #D93319 !important;
}
.mepma-addr-wrap * { box-sizing: border-box; font-family: inherit; }

.mepma-addr-wrap {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    width: 100%;
}

.mepma-card-wrap {
    flex: 1 1 0;
    background: #fff;
    border: 1px solid #ddd;
	border-radius: 4px;
}
.mepma-card{
    padding: 0px 22px 28px ;
}
.mepma-card__head {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #191C1F;
    border-bottom: 1px solid #e5e5e5;
	background-color: #F5F5F6;
	padding: 16px 24px; 
	margin-bottom: 24px;
}

.mepma-label {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #191C1F;
    margin-bottom: 5px;
}
.mepma-label .opt { font-weight: 400; color: #999; }

.mepma-input,
.mepma-select {
    width: 100%;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #ccc;
    border-radius: 2px;
    background: #fff;
    font-size: 13px;
    color: #333;
    transition: border-color .15s;
    appearance: none;
    -webkit-appearance: none;
}
.mepma-input:focus,
.mepma-select:focus {
    outline: none;
    border-color: #e07b39;
}

.mepma-sel-wrap { position: relative; }
.mepma-sel-wrap::after {
    content: '';
    pointer-events: none;
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #666;
}

.mepma-row       { margin-bottom: 14px; }
.mepma-row-2col  { display: flex; gap: 12px; margin-bottom: 14px; }
.mepma-row-2col > * { flex: 1 1 0; }

.mepma-row-city-zip { display: flex; gap: 12px; margin-bottom: 14px; }
.mepma-city-wrap    { flex: 1.5 1 0; }
.mepma-zip-wrap     { flex: 1   1 0; }

.mepma-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 20px;
    background: #FA8232;
    color: #fff;
    border: none;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .15s;
}
.mepma-btn:hover { background: #c96a28; }

@media (max-width: 680px) {
    .mepma-addr-wrap    { flex-direction: column; }
    .mepma-row-city-zip { flex-wrap: wrap; }
}
.woocommerce .woocommerce-MyAccount-navigation, .woocommerce .woocommerce-MyAccount-content{
  padding-top: 0 !important;
  margin-bottom: 0 !important;
}
@media (max-width: 576px) {
  .woocommerce .woocommerce-MyAccount-navigation, .woocommerce .woocommerce-MyAccount-content{
  margin-bottom: 30px !important;
}
}

/* spacing issue */

 .woocommerce .track_order {
    background: #fff;
    margin-top: 5px;
    padding: 62px 0 62px;
}


  @media (min-width: 768px) and (max-width: 991.8px) {
    .shg-form-grid {
        display: block;
    }
    .shg-location-row {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
    }
    .woocommerce .woocommerce-MyAccount-content {
      width: 75%;
    }
    .woocommerce .woocommerce-MyAccount-navigation {
      width: 25%;
    }
}
.mepma-city-wrap .mepma-sel-wrap {
    background-image: none !important;
}

.mepma-city-wrap .mepma-sel-wrap::after {
    display: none !important;
}

.mepma-city-wrap select.mepma-select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: none !important;
    padding-right: 12px !important;
}
.woocommerce table.shop_table_responsive tr td, .woocommerce-page table.shop_table_responsive tr td{
  text-align: center !important;
}
@media (max-width: 768px) {
  .woocommerce table.shop_table_responsive thead, .woocommerce-page table.shop_table_responsive thead{
    display: contents;
  }
  .woocommerce table.shop_table_responsive tr, .woocommerce-page table.shop_table_responsive tr{
      display: table-row;
  }
  .woocommerce table.shop_table_responsive tbody tr:first-child td:first-child, .woocommerce-page table.shop_table_responsive tbody tr:first-child td:first-child{
    border: 1px solid gray;
  }
}