/* Styles for order list page */
.account-panel__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 8px;
  cursor: pointer;
}

.account-panel__title {
  font-size: 14px;
  line-height: 1.3;
  margin: 0 0 0 8px;
  color: #FFFFFF;
  font-weight: 600;
}
.order-tabs { 
    display:flex; 
    border-bottom: 1px solid #FFD11A;
    margin-top: 16px;
}
.order-tabs .tab-item{ 
    background:#1a1a1a; 
    color:#E6E6E6; 
    border:none; 
    padding:6px; 
    border-top-left-radius:6px;
    border-top-right-radius: 6px; 
    cursor:pointer; 
    font-weight:500; 
    font-size: 12px;
    width: 100px;
}
.order-tabs .tab-item.active{ 
    background:#FFD11A; 
    color:#141414; 
    border-color:#FFD11A 
}
.account-order-list__empty{
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  padding-top: 104px;
}
.account-order-list__empty p {
  font-size: 14px;
  line-height: 150%;
  text-align: center;
  vertical-align: middle;
  color:#B3B3B3;
  margin:0;
}
.account-order-list__empty .btn {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap:8px;
  width: 360px;
}

/* Order list container */
.account-order-list__orders {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Order card */
.order-card, .order-info-shipment {
  background: #141414;
  border: 1px solid #262626;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  /* gap: 12px; */
}
.order-card-wrap, .order-info-shipment__wrap{
    padding:16px;
    border: 1px solid #262626;
    border-radius: 8px;
    background: #1a1a1a;
    cursor: pointer;
}

.order-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #262626;
}

.order-card__status {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  display: inline-block;
  white-space: nowrap;
}

.order-card__status--in-work {
  color: #FFEB99;
}

.order-card__status--complete {
  color: #1FC949;
}

.order-card__status--declined {
  color: #ED4B4B;
}

.order-card__status--return {
    color: #B3B3B3;
}

.order-card__date-number {
  font-size: 12px;
  color: #a1a1a1;
  margin-left: auto;
}

/* Order items list */
.order-card__items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
}

.order-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.order-item__image {
  width: 100px;
  height: 70px;
  flex-shrink: 0;
  background: #1a1a1a;
  border: 1px solid #262626;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.order-item__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.order-item__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding:7px 0;
}

.order-item__name {
  font-size: 12px;
  font-weight: 500;
  color: #FCFCFD;
  margin: 0;
  line-height: 1.2;
}

.order-item__prices {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  line-height: 1.3;
}
.order-item__price-wrap{
    display: flex;
    flex-direction: column;
    padding-top:10px;
    gap:4px;
}

.order-item__price-old {    
  color: #FFEB99;
  text-decoration: line-through;
}

.order-item__price {
  color: #FFFEFA;
  font-weight: 600;
}

.order-item__total {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: #FFFEFA;
  white-space: nowrap;
}
.order-total-price{
    display: flex;
    justify-content: space-between;
    padding-top:24px;
    font-size: 14px;
    font-weight: 700;
    color: #FCFCFD;
}

/* Order card button */
.order-card__button {
  background: #FFD11A;
  color: #141414;
  border: none;
  border-radius: 6px;
  padding: 8px;
  margin-top:16px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.order-card__button:hover {
  color:#141414;
}
.btn-dark{
	background-color: #262626;
	border: 1px solid #262626;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
	color:#F1F1F3;
}
.btn-dark:hover{
  color:#F1F1F3;
}
.btn-dark svg{
	color: #FFD11A;
}

/* Order summary */
.order-summary {
  background: #141414;
  border: 1px solid #262626;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.order-summary__total {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  color: #f1f1f3;
}

.order-summary__amount {
  color: #fbbf24;
}

.order-summary__button {
  background: #fbbf24;
  color: #141414;
  border: none;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.2s ease;
}

.order-summary__button:hover {
  background: #f59e0b;
}



/* *******************************  ORDER_INFO  ********************************** */
.account-order-info{
  width: 500px;
}
.account-order-info .account-panel__header {
  display: flex;
  align-items: center;
  gap:8px;
}
.order-info__main-info{
  display: flex;
  flex-direction: column;
  gap:8px;
}
.order-info__num-order{
  font-size:12px;
  line-height: 1.3;
  color:#FFFEFA;
}
.order-info__date-order{
  margin-left:auto;
  font-size: 10px;
  line-height: 1.3;
  color:#B3B3B3;
}
.order-info__order{
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top:16px;
}

.order-info-shipment__recipient, .order-info-shipment__payment, .order-info-shipment__shipping {
  display: flex;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #262626;
}
.order-info-shipment__payment {
  padding-top: 16px;
}
.order-info-shipment__shipping {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 16px;
  padding-bottom: 0;
  border-bottom: none;
}
.order-info-shipment__shipping-cost {
  display: flex;
  padding-bottom:16px;
}
.order-info-shipment__shipping-info{
  display: flex;
  gap: 8px;
}
.order-info-shipment__shipping-info img{
  height: 50px;
}
.order-info-shipment__info {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  color:#FCFCFD;
}
.order-info-shipment__shipping-info div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.order-info-shipment__title {
  width:120px;
  font-size: 10px;
  line-height: 1.3;
  color:#98989A;
}
.order-info-shipment__shipping-method {
  font-size: 10px;
  line-height: 1.3;
  color:#98989A;
}
.order-info-shipment__shipping-ttn {
  font-size: 12px;
  font-weight: 500;
  color:#FCFCFD;
}
.order-info-total{
  display: flex;
  flex-direction: column;
  padding: 16px;
  border-radius: 10px;
  background: #FFD11A0A;
}
.order-info-total__title{
  padding-top:8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color:#FFFFFF;
}
.order-info-total__wrap{
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid #333333;
  margin-bottom: 16px;
}
.order-info-total__row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  line-height: 1.3;
  color:#CCCCCC;
}
.to-pay{
  margin-bottom: 24px;
}
.to-pay span:first-of-type{
  font-weight: 600;
  color:#F1F1F3;
}
.to-pay:last-of-type {
  font-size: 16px;
  font-weight: 600;
  color:#F1F1F3;
}


/* MEDIA 500px */
@media(max-width: 500px){
  .account-order-list,
  .account-order-info,
  .order-tabs .tab-item{
    width: 100%!important;
  }
  .order-tabs{
    margin-left: -15px;
    margin-right: -15px;
  }
}

/* MEDIA 400px */
@media(max-width: 400px){
  .order-tabs .tab-item{
    padding: 6px 4px;
  }
}