.my-account {
  background-color: var(--medium-gray);
  padding-bottom: var(--margin-160);
}
.my-account h4 {
  margin-bottom: 30px;
  margin-top: 20px;
}

.account-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 992px) {
  .account-grid {
    grid-template-columns: 260px 1fr;
  }
}

/*
 * Account sidebar nav.
 * Reset WooCommerce's floated 30% column (it shrinks the nav inside
 * .account-sidebar) and drop the black/yellow CTA chrome.
 */
.woocommerce-account .account-sidebar .woocommerce-MyAccount-navigation,
.my-account .account-sidebar .woocommerce-MyAccount-navigation,
.woocommerce-account nav.woocommerce-MyAccount-navigation {
  float: none;
  width: 100%;
  max-width: 100%;
}

.woocommerce-account .account-content,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce .woocommerce-MyAccount-content,
.woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
}

.account-sidebar {
  background: var(--white);
  border: 1px solid #dbdbdb;
  padding: 8px 0;
}

.account-sidebar .woocommerce-MyAccount-navigation ul,
nav.woocommerce-MyAccount-navigation ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.account-sidebar .woocommerce-MyAccount-navigation li,
nav.woocommerce-MyAccount-navigation li {
  margin: 0;
  padding: 0;
  width: 100%;
  list-style: none;
}

.woocommerce .account-sidebar .woocommerce-MyAccount-navigation a,
.account-sidebar .woocommerce-MyAccount-navigation a,
nav.woocommerce-MyAccount-navigation ul li a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 12px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--black);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: normal;
  text-align: left;
  text-decoration: none;
  text-transform: none;
  box-shadow: inset 3px 0 0 transparent;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce .account-sidebar .woocommerce-MyAccount-navigation a:hover,
.woocommerce .account-sidebar .woocommerce-MyAccount-navigation a:focus,
.account-sidebar .woocommerce-MyAccount-navigation a:hover,
.account-sidebar .woocommerce-MyAccount-navigation a:focus {
  background: var(--bg-soft);
  color: var(--black);
}

.woocommerce .account-sidebar .woocommerce-MyAccount-navigation a:focus-visible,
.account-sidebar .woocommerce-MyAccount-navigation a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.woocommerce .account-sidebar .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce .account-sidebar .woocommerce-MyAccount-navigation li.is-active a:hover,
.woocommerce .account-sidebar .woocommerce-MyAccount-navigation li.is-active a:focus,
.account-sidebar .woocommerce-MyAccount-navigation li.is-active a,
.account-sidebar .woocommerce-MyAccount-navigation .is-active a,
nav.woocommerce-MyAccount-navigation .is-active a {
  background: #fff8dc;
  color: var(--black);
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--primary);
}

.account-sidebar .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout a {
  color: var(--gray-700);
}

.account-sidebar .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout a:hover,
.account-sidebar .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout a:focus {
  background: var(--bg-soft);
  color: var(--charcoal);
}

@media (max-width: 991px) {
  .my-account,
  .my-account .container,
  .my-account .account-grid,
  .my-account .account-grid > *,
  .my-account .account-sidebar,
  .my-account .account-content,
  .woocommerce-account .account-content,
  .woocommerce-account .woocommerce-MyAccount-content,
  .bb-account-dashboard,
  .bb-dashboard-header,
  .bb-user-info,
  .dashboard-header {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  /*
   * overflow:visible here used to let nowrap tabs grow the grid past
   * the viewport; body { overflow-x: hidden } then clipped greeting,
   * nav labels, and stat titles mid-word.
   */
  .my-account .account-sidebar {
    overflow: hidden;
    padding: 10px;
  }

  .my-account .account-sidebar .woocommerce-MyAccount-navigation,
  .woocommerce-account .account-sidebar .woocommerce-MyAccount-navigation,
  .woocommerce-account nav.woocommerce-MyAccount-navigation {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .account-sidebar .woocommerce-MyAccount-navigation ul,
  nav.woocommerce-MyAccount-navigation ul {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 4px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .account-sidebar .woocommerce-MyAccount-navigation li,
  nav.woocommerce-MyAccount-navigation li {
    flex: 0 0 auto;
    width: auto;
    min-width: max-content;
  }

  .woocommerce .account-sidebar .woocommerce-MyAccount-navigation a,
  .account-sidebar .woocommerce-MyAccount-navigation a,
  nav.woocommerce-MyAccount-navigation ul li a {
    width: auto;
    max-width: none;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    padding: 10px 14px;
    border-radius: 8px;
    box-shadow: none;
  }

  .woocommerce .account-sidebar .woocommerce-MyAccount-navigation li.is-active a,
  .account-sidebar .woocommerce-MyAccount-navigation li.is-active a {
    box-shadow: none;
  }

  .bb-user-info h2,
  .dashboard-header h2 {
    font-size: clamp(22px, 6.4vw, 30px);
    line-height: 1.25;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .bb-user-info p,
  .dashboard-header p {
    max-width: 100%;
    margin-top: 8px;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: manual;
  }

  .bb-stats,
  .stat-box,
  .stat-box strong,
  .stat-box span,
  .bb-account-grid,
  .account-card,
  .dashboard-cards,
  .dashboard-card {
    min-width: 0;
    max-width: 100%;
  }

  .stat-box {
    box-sizing: border-box;
  }

  .stat-box strong,
  .stat-box span {
    display: block;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .woocommerce-MyAccount-content table.shop_table,
  .woocommerce-MyAccount-content .woocommerce-table,
  .my-account table.shop_table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.account-user {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.account-user img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #d9d9d9;
  padding: 2px;
}

.account-user-info h6 {
  margin-bottom: 4px;
}

.account-user-info p {
  font-size: var(--font-14);
  color: var(--gray-700);
  font-weight: var(--font-weight-500);
}

.account-menu {
  list-style: none;
}

.account-menu li {
  margin-bottom: 10px;
}

.account-menu a {
  text-decoration: none;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 30px;
  border-radius: 6px;
  transition: 0.3s;
}

.account-menu a:hover {
  background: var(--black);
  color: var(--primary);
}

.account-menu .active {
  background: var(--black);
  color: var(--primary);
}

.account-icon img {
  width: 20px;
  height: 20px;
}
.account-menu li a:hover img,
.account-menu li a.active img {
  filter: brightness(0) saturate(100%) invert(83%) sepia(45%) saturate(1610%)
    hue-rotate(357deg) brightness(101%) contrast(93%);
}



.bb-account-dashboard{

    /*max-width:1300px;*/
    margin:auto;
    padding:40px 0;

}
.account-content{margin-top:24px;}

.bb-dashboard-header{

    display:flex;
    align-items:center;
    gap:20px;
    margin-bottom:40px;

}

.bb-avatar img{

    border-radius:50%;

}

.bb-user-info h2{

    margin:0;
    font-size:clamp(22px, 4vw, 34px);
    font-weight:600;
    line-height:1.25;
    overflow-wrap:anywhere;

}

.bb-user-info p{

    margin-top:8px;
    color:#777;

}

.bb-stats{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-bottom:40px;

}

.stat-box{

    background:#fff;
    border:1px solid #e6e6e6;
    border-radius:12px;
    padding:20px;
    text-align:center;

}

.stat-box strong{

    display:block;
    font-size:34px;
    color:#f5ca27;

}

.bb-account-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;

}
.custom-edit-account .account-card{

    display:block;
    gap:18px;
    align-items:flex-start;

    background:#fff;

    border:1px solid #ddd;

    border-radius:12px;

    padding:25px;

    transition:.3s;

    color:#222;

    text-decoration:none;

}

.account-card{

    display:flex;
    gap:18px;
    align-items:flex-start;

    background:#fff;

    border:1px solid #ddd;

    border-radius:12px;

    padding:25px;

    transition:.3s;

    color:#222;

    text-decoration:none;

}

.account-card:hover{

    transform:translateY(-6px);

    box-shadow:0 15px 35px rgba(0,0,0,.08);

    border-color:#ff9900;

}

.account-card .icon{
  width:50px;
  height:auto;
  
  }

.account-card h4{

    margin:0;

    font-size:22px;
    font-weight:500;

}

.account-card p{

    margin-top:8px;

    color:#666;

}
.breadcrumb{margin-bottom:20px;}
.logout{

    border-color:#e53935;

}

.logout:hover{

    border-color:#e53935;

}

@media(max-width:992px){

.bb-account-grid{

grid-template-columns:repeat(2,1fr);

}

.bb-stats{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.bb-account-grid{

grid-template-columns:1fr;

}

.bb-stats{

grid-template-columns:1fr 1fr;

}

.bb-dashboard-header{

flex-direction:column;

text-align:center;

}

}

@media (max-width: 576px) {
  .bb-stats {
    grid-template-columns: 1fr;
  }
}
.woocommerce-MyAccount-content.full-width{
    width:100%;
    float:none;
    max-width:100%;
}
.order-additional-details{
    margin-top:40px;
    background:#fff;
    border-radius:12px;
    padding:30px;
    border:1px solid #e8e8e8;
    box-shadow:0 4px 12px rgba(0,0,0,.04);
}

.order-additional-details h5{
    font-size:24px;
    margin-bottom:25px;
    font-weight:700;
}

.bb-order-details-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
}

.bb-order-detail{
    background:#f8f8f8;
    border:1px solid #ececec;
    border-radius:10px;
    padding:18px 20px;
}

.bb-order-detail strong{
    display:block;
    color:#222;
    font-size:14px;
    margin-bottom:8px;
    font-weight:600;
}

.bb-order-detail span{
    display:block;
    color:#666;
    font-size:15px;
}

@media(max-width:768px){

    .bb-order-details-grid{
        grid-template-columns:1fr;
    }
    .bb-view-order-page .order-info-card-grid.first_row {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
    margin-bottom: 24px;
    margin-top: 24px;
}
.bb-view-order-page .order-info-card-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
}

}



.custom-edit-account .form-control {
      width: 100%;
    height: 50px !important;
    padding: 14px 12px !important;
    border: 1px solid var(--neutral-300) !important;
    border-radius: 6px !important;
    background: var(--light-gray) !important;
    font-size: var(--font-16) !important;
    font-weight: var(--font-weight-500) !important;
    outline: none !important;
    font-family: var(--font-family) !important;
}
.custom-edit-account .form-row {
     margin-bottom: 0px!important;
}