#sm-account .main-wrap {
  margin: 0 auto;
  max-width: 80%;

  display: flex;
  flex-direction: column;
  gap: 32px;
}

#sm-account .main-wrap .col-wrap{
  display: flex;
  flex-wrap: wrap;
  margin: -16px;
}

#sm-account .account-top .title-wrap .title{
  font-family: Roboto;
  font-weight: 700;
  font-size: 24px;
  color: #FF7400;
}

#sm-account .col-left .page-block .title{
  font-size: 20px;
}

#sm-account .account-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#sm-account .main-wrap .col {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 50%;
  padding: 16px;
}

#sm-account .page-block {
  width: 100%;
  padding: 32px;
  background: #00000006;
}

#sm-account .forgot-password{
  text-decoration: none;
}

#sm-account .forgot-password:hover{
  color: #FF4000;
  text-decoration: underline;
}

#sm-account .title-wrap {
  /* margin-bottom: 30px; */
}

#sm-account .main-wrap.btn,
#sm-account .main-wrap .btn{
  margin-left: auto;
  width: fit-content;
}

#sm-account .title-wrap .title {
  font-weight: bold;
  font-size: 1.8em;
}

#sm-account .input-row {
  /* margin: -10px -7px; */
  display: flex;
  flex-direction: column;
}

#sm-account .input-col {
  /* padding: 10px 7px; */
  margin-top:32px;
}

#sm-account .input-wrap {
  position: relative;
  width: 100%;
}

#sm-account .input-wrap input {
  width: 100%;
  border: 1px solid #DDDDDD;
  background: #fff;
}
#sm-account .input-wrap input.error{
  border-color: red;
}
#sm-account .input-wrap label {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  transition: all .2s ease-in-out;
  /* border-left: 10px solid #fff; */
  /* border-right: 10px solid #fff; */
  font-size: 1.2em;
  font-weight: normal;
  opacity: .6;
  cursor: text;
}

#sm-account .input-wrap input:focus ~ label,
#sm-account .input-wrap input:not(:placeholder-shown) ~ label,
#sm-account .input-wrap input:autofill ~ label,
#sm-account .input-wrap input:-webkit-autofill ~ label {
  top: -12px;
  left: 0px;
  font-size: 1em;
  cursor: default;
}

#sm-account .input-wrap input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: transparent;
  opacity: 0;
}
#sm-account .input-wrap input::-moz-placeholder { /* Firefox 19+ */
  color: transparent;
  opacity: 0;
}
#sm-account .input-wrap input:-ms-input-placeholder { /* IE 10+ */
  color: transparent;
  opacity: 0;
}
#sm-account .input-wrap input:-moz-placeholder { /* Firefox 18- */
  color: transparent;
  opacity: 0;
}

#sm-account .btn {
  width: 100%;
}
#sm-account .page-block .input-col label a{
  color: #888;
  text-decoration: underline;
}

@media(max-width: 1199px){
  #sm-account .main-wrap{
    max-width: unset;
  }
}

@media (max-width: 992px) {
  #sm-account .main-wrap {
    flex-direction: column;
  }
  
  #sm-account .main-wrap .col {
    width: 100%;
  }
  
  #sm-account .col-left .page-block {
    border-bottom: 1px solid #eee;
    border-right: none;
  }
}

@media (max-width: 767px) {
  #sm-account .page-block {
    padding: 30px 20px;
  }
}
/* Account Dashboard Layout */

.tab-input {
  display: none;
}

#account-dashboard .account-row {
  display: flex;
  gap: 64px;
}
#account-dashboard .account-row .col-left{
  min-width: 240px;
}
#account-dashboard .account-row .col-right{
  width: 100%;
}

/* Account Dashboard Menu */
#account-dashboard .account-menu-title {
  font-family: Maven Pro;
  font-weight: 700;
  font-size: 24px;
  color: black;
  margin-bottom: 16px;
}

#account-dashboard .account-menu ul {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#account-dashboard .account-menu ul li {
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
}

#account-dashboard .account-menu ul li img {
  display: none;
  position: absolute;
  opacity: 0.1;
  left: -20px;
  top: 8px;
  height: 14px;
  width: 100px;
  z-index: -1;
}

#account-dashboard .account-menu ul .account-logout,
#account-dashboard .account-menu ul li label {
  font-family: Maven Pro;
  font-weight: 600;
  font-size: 16px;
  color: black;
  cursor: pointer;
  margin: 0;
}

/* Hover effect */
#account-dashboard .account-menu ul li .account-logout:hover,
#account-dashboard .account-menu ul li:hover label {
  color: #FF4000;
}

/* Highlight Active Tab */
#tab-dashboard:checked ~ #account-dashboard .account-menu ul li:nth-child(1) label,
#tab-account-information:checked ~ #account-dashboard .account-menu ul li:nth-child(2) label,
#tab-billing-address:checked ~ #account-dashboard .account-menu ul li:nth-child(3) label,
#tab-delivery-address:checked ~ #account-dashboard .account-menu ul li:nth-child(4) label,
#tab-wishlist:checked ~ #account-dashboard .account-menu ul li:nth-child(5) label,
#tab-newsletters:checked ~ #account-dashboard .account-menu ul li:nth-child(6) label {
  color: #FF4000;
}

#tab-dashboard:checked ~ #account-dashboard .account-menu ul li:nth-child(1) img,
#tab-account-information:checked ~ #account-dashboard .account-menu ul li:nth-child(2) img,
#tab-billing-address:checked ~ #account-dashboard .account-menu ul li:nth-child(3) img,
#tab-delivery-address:checked ~ #account-dashboard .account-menu ul li:nth-child(4) img,
#tab-wishlist:checked ~ #account-dashboard .account-menu ul li:nth-child(5) img,
#tab-newsletters:checked ~ #account-dashboard .account-menu ul li:nth-child(6) img {
  display: block;
}

/* Ensure only the corresponding tab content is visible */
#account-dashboard .tab-content {
  display: none;
}

#tab-dashboard:checked ~ #account-dashboard .col-right #sm-dashboard,
#tab-account-information:checked ~ #account-dashboard .col-right #sm-account-information,
#tab-billing-address:checked ~ #account-dashboard .col-right #sm-billing-address,
#tab-delivery-address:checked ~ #account-dashboard .col-right #sm-delivery-address,
#tab-orders:checked ~ #account-dashboard .col-right #sm-orders,
#tab-wishlist:checked ~ #account-dashboard .col-right #sm-wishlist,
#tab-newsletters:checked ~ #account-dashboard .col-right #sm-newsletters {
  display: flex;
}


/* account tabs  */
.tab-content{
  flex-direction: column;
  gap: 32px;
}

.tab-content .tab-title{
  font-family: Roboto;
  font-weight: 700;
  font-size: 24px;
  color: #FF7400;
}
.tab-content .tab-text{
  font-family: Roboto;
  font-weight: 400;
  font-size: 16px;
}

.tab-content .tab-top{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* 
.tab-content .tab-details{
  padding: 32px;
  background: #F9F9F9;
} */


/* account tab dashboard  */
.tab-details.tab-details-account-dashboard{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px;
}

.tab-details-item{
  display: flex;
  gap: 16px;
  flex-direction: column;
  overflow: scroll;
}

.tab-details-item .tab-details-title{
  font-family: Maven Pro;
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;  
}

.tab-details-item ul{
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tab-details-item ul li{
  font-family: Roboto;
  font-weight: 400;
  font-size: 16px;
}
.tab-details-item ul label{
  margin: 0;
  cursor: pointer;
}

.tab-details-item .tab-details-edit {
  font-family: Roboto;
  font-weight: 400;
  font-size: 16px;
  text-decoration: underline;
  color: #FF4000;
}

.order-product__title{
  flex: 2;
}

.order-product__quantity,
.order-product__unit-price,
.order-product__subtotal{
  flex: 1;
}

/* recent orders  */
.tab-details-item:has(.table-recent-orders){
  gap: 0px;
}

.tab-details-item .table-recent-orders {
  border-collapse: separate;
  border-spacing: 0 16px;
}

.tab-details-item .table-recent-orders .tab-recent-orders-sort th{
  padding: 8px 24px;
}

.tab-details-item .table-recent-orders .tab-recent-orders-sort th > div{
  display: flex;
  align-items: center;
  gap: 8px;
}
.tab-details-item .table-recent-orders .tab-recent-orders-sort th div{
  font-family: Maven Pro;
  font-weight: 700;
  font-size: 16px;
}


.tab-details-item .table-recent-orders .tab-recent-orders-sort a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(-2px);
}

.tab-details-item .table-recent-orders .tab-recent-orders-sort a i{
  height: 10px;
  font-weight: 700;
}

.tab-details-item .table-recent-orders tbody tr {
  background:rgb(244 244 244 / 25%);
  border: 1px solid #DDDDDD;
}

.tab-details-item .table-recent-orders tbody tr td {
  font-family: Roboto;
  font-weight: 400;
  font-size: 16px;
  padding: 8px 24px;
}


.order-overview__inner .order-overview__top{
  display: flex;
  gap: 16px;
}

.order-overview__payment,
.order-overview__shipment{
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

.order-overview__subtitle{
  font-weight: bold;
  font-size: 18px;
}

.order-product__details{
  display: flex;
  justify-content: space-between;
  width: 100%;
}

@media(max-width: 991px){
  .order-product__details{
    flex-direction: column;
  }
}

.order-summary{
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: end;
  align-items: end;
}

.order-summary > div{
  min-width: 300px;
  display: flex;
  justify-content: space-between;
}

.order-summary > div:first-of-type{
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ddd;
}

.order-summary > div:last-of-type{
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #ddd;
}

.clickable-row{
  position: relative;
}

.clickable-row .arrows{
  position: absolute;
  right: 24px;
  top: 0;
  bottom: 0;
  height: 100%;
  display: flex;
  align-items: center;
}

.clickable-row.open-order .arrows{
  transform: rotate(180deg);
}

.tab-details-item .table-recent-orders tbody tr.clickable-row.cancelled{
  background: #ff40000f;
}

.tab-details-item .table-recent-orders tbody tr.clickable-row.completed{
  background: #7ab55c17;
}




/* tab account information */
.tab-details.tab-details-account-information{
  padding: 0;
  background: inherit;
}

.tab-details.tab-details-account-information .tab-details-item{
  padding: 32px;
  background: #F9F9F9;
}

.tab-details.tab-details-account-information form{
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.select-outer{
  position: relative;
}

.select-outer select{
  width: 100%;
  cursor: pointer;
}

.select-outer .bx {
  font-size: 20px;
  position: absolute;
  right: 10px;
  height: 100%;
  display: flex;
  align-items: center;
}

/* tab details form  */
.tab-details-form .inputs{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tab-details-form .inputs label{
  font-family: Roboto;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0%;
}

.tab-details-form .inputs .input{
  display: flex;
  flex-direction: column;
  padding: 0;
}

.tab-details-form .inputs .input.password_input{
  justify-content: end;
}

.tab-details-form .inputs .input.password_input .ui.checkbox{
  padding: 13px 0;
}

.tab-details-form .inputs .input .standard-input{
  background: white;
  border: 1px solid #DDDDDD;
}

.tab-details-form .change-password {
  display: none;
  /* flex-direction: column; */
  gap: 24px;
  grid-column: 1 / span 2;
}
.tab-details-form .change-password .input {
  flex: 1;
}

.tab-details-item:has(#password-change:checked) .change-password{
  display: flex;
}

.tab-details-form .btn-wrap{
  display: flex;
  justify-content: end;
}

.tab-details-form .btn-wrap .btn{
  border-radius: 4px;
  background: #ff4000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  padding: 0 16px;
  min-width: 100px;
}

form:has(.private:checked) .company-info {
  display: none;
}

@media(max-width:991px){
  #account-dashboard .account-row{
    flex-direction: column;
  }
  #account-dashboard .account-menu ul{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}
@media(max-width:767px){
  .tab-details-form .inputs{
    display: flex;
    flex-direction: column;
  }

  .tab-details-form .change-password{
    flex-direction: column;
  }

  #account-dashboard .account-row .col-left{
    min-width: 160px;
  }
}

/* wishlist  */
.wishlist-products{
  display: flex; 
  flex-direction: column;
  gap: 20px;
}

.wishlist-products .wishlist-product{
  /* display: flex;  */
  display: grid;
  grid-template-columns: 100px 4fr 1fr .2fr;
  gap: 30px;
  background: #F9F9F9;
  padding: 0 16px;
}

.wishlist-products .wishlist-product a.btn{
  background: #ff4000;
  border-radius: 4px;
  margin-top: auto;
  margin-bottom: auto;
}

.wishlist-product .product-info .title{
  font-size: 1.15em;
  font-weight: 600;
}

.wishlist-product .product-info .brand {
  font-weight: 700;
  color: #aaa;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.wishlist-product .image-wrap{
  position: relative;
  width: 100px;
  overflow: hidden;
  padding: 5px;
  background: #fff;
}

.wishlist-product .product-info{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wishlist-product .delete-product{
  display: flex;
  color: #aaa;
  font-size: 1.5em;
  margin-left: auto;
  align-items: center;
}
.wishlist-product .delete-product a{
  display: flex;
  align-items: center;
}

@media(max-width:767px){
  .wishlist-products .wishlist-product a.btn span{
    display: none;
  }
}

@media(max-width:600px){
  .wishlist-products .wishlist-product div.empty-btn,
  .wishlist-products .wishlist-product a.btn{
    display: none;
  }

  .wishlist-products .wishlist-product{
    grid-template-columns: 100px 4fr .2fr;
  }
}
/* end wishlist  */

/* newsletter  */
.tab-details.tab-details-newsletter .tab-details-form{
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.tab-details.tab-details-newsletter .tab-details-item{
  padding: 32px;
  background: #F9F9F9;
}

.sm-input-checkbox{
  height: 16px;
  width: 16px;
  border: 2px solid black;
  border-radius: 2px;
  position: relative;
  transition: .3s ease all;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1px;
}

.tab-details-item:has(#subscribe-input:checked) .sm-input-checkbox span{
  height: 100%;
  width: 100%;
  border-radius: 1px;
  transition: .3s ease all;
}

.tab-details-item:has(#subscribe-input:checked) .sm-input-checkbox{
  border: 2px solid #ff4000;
}

.tab-details-item:has(#subscribe-input:checked) .sm-input-checkbox span{
  background-color: #ff4000;
}

.tab-details-newsletter .tab-details-item label{
  display: flex;
  gap: 8px;
  cursor: pointer;
  width: fit-content;
}
/* end newsletter  */
