.text-center {
    text-align: center;
    padding: 2rem;
}

.fa-lock {
    color: #6c757d;
}

.mb-3 {
    margin-bottom: 1rem;
}

.btn-primary {
    background-color: blueviolet;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: gainsboro;
}


.promo-row {
    display: flex;
    align-items: center;
    border: 1.5px solid grey;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(75,41,145,0.12);
    background: #f3f0fa;
    width: 100%;
}

.promo-icon {
    margin-left: 3px;
    font-size: 0.8em;
    color: #4B2991;
}

.promo-input {
    flex: 1;
    border: none;
    border-radius: 4px;
    font-size: 0.9em;
    margin: 0% 0.2em;
    background: #f3f0fa;
}

.promo-enter-btn {
    background: #4B2991;
    color: #fff;
    border: none;
    font-size: 0.7em;
    border-radius: 4px;
    box-shadow: 0 2px 8px #b699f9;
    padding: 0.2em 0.5em;
    cursor: pointer;
    font-weight: bold;
    margin-right: 0.3em;
}

.promo-enter-btn:hover {
    background: gray;
}




.couponRow {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    padding: 0.4em 0%;
    box-shadow: 0 2px 8px #eee;
}

.couponRow-left {
    display: flex;
    align-items: flex-start;
    gap: 0.5em;
}

.coupon-icon {
    font-size: 1.3em;
    color: #4B2991;
}

.coupon-text {
    font-size: 0.8em;
    color: #4B2991;
    font-weight: 500;
}

.coupon-add-btn {
    color: #4B2991;
    border: 1px solid #4B2991;
    border-radius: 4px;
    box-shadow: 0 2px 8px #b699f9;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.2s;
}

.coupon-add-btn:hover {
    background: #b699f9;
    color: #fff;
}





.giftRow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #4c299169 0%, #ffffff91 100%);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(75,41,145,0.10);
    min-height: 120px;
}

.giftRow-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1em;
    padding: 0.5em 1em;
}

.gift-main-text {
    font-size: 0.8em;
    color: #111;
    font-weight: bold;
}

.gift-sub-text {
    font-size: 0.6em;
    color: #888;
    font-weight: 500;
}

.gift-wrap-btn {
    color: blueviolet;
    background: transparent;
    border: none;
    font-size: 0.7em;
    cursor: pointer;
    font-weight: bold;
}

.gift-wrap-btn:hover {
    text-decoration: underline;
}

.gift-image {
    height: 100%;
    max-height: 120px;
    border-radius: 12px;
    object-fit: cover;
    margin-left: 1em;
}





.section-title {
    font-size: 1em;
    font-weight: bold;
    color: black;
    margin: 0 0 0.2em 0;
    letter-spacing: 0.5px;
}



.price-details-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.price-details-title {
    font-size: 1em;
    font-weight: bold;
    color: #4B2991;
    margin: 0.5em 0;
    text-align: left;
}

.price-details-box {
    background: #f3f3f3;
    border-radius: 8px;
    padding: 0.2em 0.4em;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.2em;
    width: 98%;
}

.price-details-item {
    font-size: 0.6em;
    font-weight: bold;
    color: #222;
    text-align: left;
}

.price-details-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.price-details-subtotal {
    font-size: 0.8em;
    color: #444;
    font-weight: 500;
}

.price-details-price {
    font-size: 0.81em;
    color: #4B2991;
    font-weight: bold;
}




.delivery-row {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: row;
}

.delivery-col {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.7em;
}

.delivery-label {
    font-size: 0.9em;
    color: #222;
    font-weight: 500;
    margin-bottom: 0.5em;
}

.delivery-list {
    display: flex;
    flex-direction: column;
    gap: 0.1em;
    width: 100%;
}

.delivery-option-row {
    display: flex;
    align-items: center;
    cursor: pointer;
    background: #fff;
    border-radius: 10px;
    padding: 0.1em 0.2em;
    gap: 0.1em;
    box-shadow: 0 2px 8px #eee;
    transition: background 0.2s, transform 0.3s;
}

.delivery-option-row:hover {
    background: #f3f0fa;
    transform: translateX(8px);
}

.delivery-icon {
    font-size: 0.8em;
    color: #bbb;
    transition: color 0.2s;
}

.delivery-icon-selected {
    font-size: 0.8em;
    color: #4B2991;
    transition: color 0.2s;
}

.delivery-option-text {
    font-size: 0.6em;
    color: #222;
    font-weight: 500;
}


.discount-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.discount-label {
    font-size: 0.8em;
    color: #222;
    font-weight: 500;
}

.discount-value {
    font-size: 0.8em;
    color: #e74c3c;
    font-weight: bold;
}


.tax-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0.1em 0;
}

.tax-label {
    font-size: 0.8em;
    color: #222;
    font-weight: 500;
}

.tax-value {
    font-size: 0.6em;
    color: #4B2991;
    font-weight: bold;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    border: 1px solid #38bdf8;
    border-radius: 6px;
    background: #e0f2fe;
    padding: 0.1em 0.2em;
}

.total-label {
    font-size: 0.8em;
    color: #0ea5e9;
    font-weight: bold;
}

.total-value {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: row;
    font-size: 0.6em;
    color: green;
    font-weight: bold;
}

.order-btn {
    background: blueviolet;
    color: white;
    border-radius: 8px;
    padding: 8px 2px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transform: translateY(-2px);
}

.order-btn:hover {
    background: gainsboro;
    color: #4B2991;
    transition: background 0.2s;
}








.floating-loader {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.2);
  display: flex; align-items: center; justify-content: center;
  z-index: 99999;
}
.loader-circle {
  width: 60px; height: 60px;
  border: 6px solid #ccc;
  border-top: 6px solid blueviolet;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Styles pour le loader de code promo */
.promo-loading {
    display: flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.5em;
    background: #f3f0fa;
    border-radius: 8px;
    border: 1.5px solid #4B2991;
}

.promo-loading .loader-circle {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-top: 2px solid #4B2991;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.promo-loading span {
    font-size: 0.8em;
    color: #4B2991;
    font-weight: 500;
}

/* Styles pour la rangée code promo appliqué */
.code-promo-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2em 0;
    border-top: 1px solid #e0e0e0;
    margin-top: 0.2em;
}

.code-promo-label {
    font-size: 0.8em;
    color: #4B2991;
    font-weight: 600;
}

.code-promo-discount {
    font-size: 0.8em;
    color: #e74c3c;
    font-weight: bold;
}

/* Styles pour l'interface de code promo appliqué */
.applied-promo-container {
    background: linear-gradient(145deg, #f8f9ff, #e6f2ff);
    border: 2px solid #4B2991;
    border-radius: 12px;
    padding: 1rem;
    margin: 0.5rem 0;
    box-shadow: 0 4px 12px rgba(75, 41, 145, 0.1);
    transition: all 0.3s ease;
}

.applied-promo-container:hover {
    box-shadow: 0 6px 20px rgba(75, 41, 145, 0.15);
    transform: translateY(-2px);
}

.applied-promo-row {
    display: flex;
    margin: 0.5rem 0;
    align-items: center;
}

.applied-promo-row.space-between {
    justify-content: space-between;
}

.promo-icon-applied {
    color: #4B2991;
    font-size: 1.2em;
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.promo-applied-text {
    font-size: 0.9em;
    font-weight: 600;
    color: #4B2991;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.promo-value-text {
    font-size: 1em;
    font-weight: bold;
    color: #27ae60;
    background: rgba(39, 174, 96, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.promo-modify-btn {
    background: linear-gradient(145deg, #4B2991, #6a4fb8);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 8px rgba(75, 41, 145, 0.3);
}

.promo-modify-btn:hover {
    background: linear-gradient(145deg, #6a4fb8, #8b7cc8);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(75, 41, 145, 0.4);
}

.promo-modify-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(75, 41, 145, 0.3);
}

.promo-modify-btn i {
    font-size: 0.9em;
}