.shopping-cart {
    width: 100%;
    padding: 40px;
}

.shopping-cart__container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px;
    margin-top: 20px;
}

.shopping-cart__products--cards--container {
    width: 60%;
}

.shopping-cart__products--cards--container.empty__shopping-cart {
    width: 100%;
    min-height: 400px;
    background-color: #1e1f26;
    padding: 20px;
    border: 1px solid #404148;
    border-radius: 10px;
}
.empty__shopping-cart-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.empty__shopping-cart-image{
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.empty__shopping-cart-image img{
    width:200px;
    height:200px;
}

.empty__shopping-cart-container .cart-empty.woocommerce-info{
    background-color: transparent;
    border: transparent;
    justify-content: center;
}

.empty__shopping-cart-return{
    margin: 40px 20px;
}

.empty__shopping-cart-return .return-to-shop{
    display: flex;
    align-items: center;
    gap: 5px;
}

.shopping-cart__products--cards {
    width: 100%;
    background-color: #3E404A;
    padding: 20px 5px;
    border: 1px solid #404148;
    border-radius: 10px;
}

.shopping-cart__product--card {
    display: flex;
    align-items: center;
    flex: 1;
}

.shopping-cart__product--image {
    width: 80px;
    height: 100px;
    border-radius: 10px;
    margin: 0 5px 0 0;
}

.shopping-cart__product--details--container {
    flex-grow: 2;
}

.shopping-cart__product--title {
    font-size: 1.1em;
    line-height: 28px;
}

.shopping-cart__product--details {
    font-size: .8em;
    line-height: 20px;
    color: #B6B8C2;
}

.shopping-cart__svg {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    width: 16px; /* Adjust icon size */
    height: 16px;
    fill: white; /* Inherit the text color */
}

.shopping-cart__quantity-decrease {
    left: 5px;
}

.shopping-cart__quantity-increase {
    right: 5px;
}



.shopping-cart__empty-cart {
    margin: 10px auto;
    text-align: center;
    white-space: pre-line;
}

.shopping-cart__timeout-cart-message {
    margin-top: 30px;
    font-size: small;
    font-style: italic;
    color: #55F5FF;
}


.shopping-cart__product--quantity-input {
    width: 80px; 
    border-radius: 8px;
    border: 1px solid #E8EAED;
    background-color: black;
    color: white;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 19.2px;
    outline: none;
    padding: 0 30px;
    height: 30px; 
}

.shopping-cart__product--quantity-price {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shopping-cart__product--quantity-container {
    display: flex;
    align-items: center; 
    gap: 5px; 
    position: relative;
}

.shopping-cart__product--quantity-controls {
    display: flex;
    align-items: center;
    position: relative;
}

.shopping-cart__product--price--container {
    /*
    background-color: #e5e5e5;
    color: black;
    */
    padding: 10px 20px;
    border-radius: 15px;
    
    text-align: center;
}

.shopping-cart__product--remove--container {
    flex-grow: 1;
    margin: auto 10px;
    text-align: right;
    font-size: small;
}

.shopping-cart__product--remove {
    color: #F77366;
    text-decoration: underline;
    margin-left: 15px;
}

h3.shopping-cart__summary--title {
    font-weight: 700;
}

.shopping-cart__summary--card--container {
    width: 30%;
    background-color: #D9D9D9;
    color: black;
    padding: 20px;
    border-radius: 10px;
}

.vendor-customer-registration{
    display: none !important;
}

.woocommerce-privacy-policy-text{
    display: none !important;
}

.shopping-cart__summary--card--container h3, .shopping-cart__summary--card--container span, .shopping-cart__summary--card--container p{
    color: black;
}

.shopping-cart__summary--item span{
    font-size: x-large;
    font-weight: 600;
}

.shopping-cart__summary--title {
    margin: auto;
}

.shopping-cart__summary--item {
    display: flex;
    justify-content: space-between;
    margin: 30px 0 10px;
}

.shopping-cart__summary--item-details {
    display: flex;
    justify-content: space-between;
    margin: 0;
}

hr.shopping-cart__divider{
    border: 0;
    height: 2px;
    background: #ffffff;
    margin: 10px 5px;
}

.shopping-cart__summary--card--container hr.shopping-cart__divider{
    border: 0;
    height: 1px;
    background: #7A7C86;
    margin: 10px auto;
    width: 85%;
}

.shopping-cart__summary--title, .shopping-cart__summary--detail {
    margin: 20px auto;
}

.shopping-cart__summary--detail--title {
    font-weight: bold;
    margin: 10px auto;
    font-size: medium;
}

.shopping-cart__summary--detail--title svg {
    height: 16px;
}

.shopping-cart__summary--detail--text {
    margin-left: 30px; 
    font-size: small;
}

.shopping-cart__continue--shopping {
    color: white;
    display: inline-block;
    margin: 40px 0px;
    padding: 8px 15px;
    border-radius: 8px;
    border: white solid 2px;
    font-size: 16px;
    line-height: 24px;
}

.shopping-cart__summary--item-price-quantity {
    font-size: small;
    font-style: italic;
}

.shopping-cart__summary--reserve{
    padding: 0px;
}

.shopping-cart__summary--reserve-button {
    width: 280px;
    background-color: #55F5FF;
    color: #161822;
    font-size: 20px;
    font-weight: 500;
    margin: 0px auto;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    outline: none;
}

.shopping-cart__summary--reserve-button:hover {
    transform: translateY(-2px);
}

.shopping-cart__summary--reserve-button svg {
    width: 20px; 
    height: 20px;
    fill: white;
}

.shopping-cart__summary--reserve-button:active {
    transform: translateY(0);
    background-color: #018849;
}

@media (max-width: 768px) {
    .shopping-cart {
        width: 100%;
        padding: 20px;
    }
    .shopping-cart__products--cards--container {
        width: 100%;
    }

    .shopping-cart__container {
        flex-direction: column;
        gap: 20px;
    }

    .shopping-cart__product--card {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .shopping-cart__product--image{
        margin: 10px 0;
        width: 100px;
        height: auto;
    }

    .shopping-cart__product--price--container {
        margin: 10px;
        font-size: 1em;
    }

    .shopping-cart__product--remove {
        margin-left: 0;
        font-size: 1em;
    }

    .shopping-cart__summary--card--container {
        width: 100%;
        margin-top: 20px;
    }

    .shopping-cart__summary--item {
        font-size: 14px;
    }

    .shopping-cart__continue--shopping {
        margin: 20px auto auto 20px;
    }

    .shopping-cart__summary--breadcrumb .ll-stepper__item em {
        color: #ffffff !important;
    }
}


@media (max-width: 480px) {
    .shopping-cart__container {
        gap: 0px;
    }

    .shopping-cart__summary--card--container {
        padding: 15px;
    }


    .shopping-cart__summary--item {
        font-size: 12px;
    }

    .shopping-cart__product--image {
        width: 70px;
    }

    .shopping-cart__product--title {
        font-size: 1em;
    }

    .shopping-cart__product--details {
        font-size: .7em;
    }
}

/* Loader container */
.loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(000, 000, 000, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

/* Spinner animation */
.loader-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--light-blue-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

/* Keyframes for spinning */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ll-stepper {
  --dot: 40px;
  --color-active: #FF7373;   /* étape en cours */
  --color-done: #329BFF;     /* étapes terminées */
  --color-next: #7A7C86;     /* étapes à venir */
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  padding: 0 8px;
  margin-bottom: 16px;
}

/* Ligne de base (gris par défaut) */
.ll-stepper::before {
    content: "";
    position: absolute;
    top: 18px; /* aligné verticalement au centre des cercles (28px/2) */
    left: calc(var(--dot-size, 33%) / 2);
    right: calc(var(--dot-size, 33%) / 2);
    height: 4px; 
    z-index:0;
    background: var(--color-next);
    z-index: 0;
}

/* Étape */
.ll-stepper__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}
.ll-stepper__item > span {
  width: var(--dot);
  height: var(--dot);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  background: var(--color-next);
  color: #fff;
}
.ll-stepper__item em {
  margin-top: 6px;
  font-style: normal;
  font-size: 15px;
  font-weight: 600;
  color: #151922;
}

/* Active (rouge) */
.ll-stepper__item.is-active > span {
  background: var(--color-active);
  color: #fff;
}

/* Terminée (bleu) */
.ll-stepper__item.is-complete > span {
  background: var(--color-done);
  color: #fff;
}

/* Trait bleu entre étapes terminées */
.ll-stepper__item.is-complete + .ll-stepper__sep::before {
  background: var(--color-done);
}

/* Traits (séparateurs) */
.ll-stepper__sep {
  flex: 1;
  position: relative;
}
.ll-stepper__sep::before {
  content: "";
  position: absolute;
  top: calc(var(--dot)/2 - 2px);
  left: -18px;
  right: 0;
  height: 4px;
  background: var(--color-next);
  z-index: 0;
  width:150%;
}
