.cart-header {
    border-bottom: 1px solid #ccc;
    padding: 8px;
    background: #fff;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}
.cart-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cart-search-row {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 24px;
    padding: 4px 8px;
    min-width: 220px;
    background: #f8f8f8;
}
.cart-search-row .search-icon-btn,
.cart-search-row .send-icon-btn,
.cart-search-row .mic-icon-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    margin-right: 4px;
    cursor: pointer;
}
.cart-search-row .cart-search-input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 1rem;
    flex: 1;
    min-width: 80px;
}
.cart-logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}
.cart-logo-img {
    height: 36px;
    width: auto;
}
.cart-header-right-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cart-header-right-row .vertical-divider {
    width: 1px;
    height: 24px;
    background: #ccc;
    margin: 0 6px;
}
.cart-header-right-row .user-btn {
    background: #6c63ff;
    opacity: 0.5;
    border-radius: 50%;
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-header-right-row button {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #444;
}

.search-btn {
    display: none;
}

@media (max-width: 768px) {
    .cart-header-row {
        flex-direction: row;
        align-items: center;
    }
    .cart-search-row {
        display: none;
    }
    .cart-logo-row {
        justify-content: flex-start;
    }
    .cart-header-right-row .notif-btn,
    .cart-header-right-row .heart-btn,
    .cart-header-right-row .vertical-divider,
    .cart-header-right-row .user-btn {
        display: none;
    }
    .cart-header-right-row .search-icon-btn,
    .cart-header-right-row .menu-btn,
    .search-btn {
        display: inline-flex;
    }
}


/* Effet hover sur tous les boutons du header */
.cart-header-row button,
.cart-search-row button {
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.cart-header-row button:hover,
.cart-search-row button:hover {
    background: #f0f0ff;
    color: #6c63ff;
    box-shadow: 0 2px 8px #eee;
}
.cart-header-row button:active,
.cart-search-row button:active {
    background: #e0e0fa;
    color: #4b3bbd;
}

/* Effet hover sur la row search */
.cart-search-row {
    transition: box-shadow 0.2s, border-color 0.2s;
}
.cart-search-row:hover,
.cart-search-row:focus-within {
    box-shadow: 0 2px 12px #aaa;
    border-color: #6c63ff;
}

/* Effet sur l’input au focus */
.cart-search-row .cart-search-input:focus {
    background: #f0f0ff;
    border-radius: 16px;
}

.cart-title-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2px;
    padding: 1px 8px;
    background: linear-gradient(90deg, blueviolet 0%, #fff 100%);
    opacity: 0.5;
    box-shadow: 0 2px 12px #aaa;
    border-radius: 12px;
    border-bottom: 1px solid #ccc;
}
.cart-title-text {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    font-size: 1.5rem;
    font-weight: bold;
    color: #3a246a;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px #fff;
}
.cart-title-more-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #3a246a;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 50%;
    transition: background 0.2s;
}
.cart-title-more-btn:hover {
    background: #ece6fa;
}

.icon-btn {
  cursor: pointer;
  transition: transform 0.2s, color 0.2s;
}
.icon-btn:hover {
  transform: scale(1.1);
  color: blueviolet;
}