/* =============================================
   PAGE BOUTIQUE
   ============================================= */

/* ---- Sidebar Filtres ---- */
.boutique-filters {
    background: #f7f5f2;
    border-radius: 12px;
    padding: 24px;
}

.boutique-filters-title {
    font-weight: 700;
    color: #c88a32;
    font-size: 20px;
    margin-bottom: 20px;
}

/* Select tri */
.boutique-select {
    width: 100%;
    padding: 8px 14px;
    border: 2px solid #c88a32;
    border-radius: 8px;
    background: white;
    color: #c88a32;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c88a32' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.boutique-select:focus {
    border-color: #a06a1a;
}

/* Groupe filtre */
.boutique-filter-group {
    margin-bottom: 8px;
}

.boutique-filter-category {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    cursor: pointer;
    user-select: none;
}

.boutique-filter-toggle {
    font-weight: 700;
    font-size: 16px;
    color: #333;
    width: 20px;
    text-align: center;
    cursor: pointer;
    flex-shrink: 0;
}

.boutique-filter-toggle:hover {
    color: var(--byam-gold);
}

.boutique-filter-label {
    font-weight: 700;
    font-size: 14px;
    color: #333;
}

.boutique-filter-label:hover {
    color: var(--byam-gold) !important;
}

.boutique-filter-options {
    padding-left: 24px;
    padding-bottom: 8px;
}

.boutique-filter-selected {
    color: var(--byam-cyan);
    font-weight: 600;
}


/* Checkboxes */
.boutique-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    cursor: pointer;
    font-size: 13px;
    color: #555;
}

.boutique-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #c88a32;
    cursor: pointer;
}

/* Bouton réinitialiser */
.btn-boutique-reset {
    display: block;
    width: 100%;
    padding: 10px 16px;
    margin-top: 20px;
    border: 2px solid #c88a32;
    border-radius: 20px;
    background: transparent;
    color: #c88a32;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.btn-boutique-reset:hover {
    background: #c88a32;
    color: white;
}

/* ---- Contenu principal ---- */
.boutique-content {
    background: #f7f5f2;
    border-radius: 12px;
    padding: 28px;
}

/* Section */
.boutique-section {
    margin-bottom: 40px;
}

.boutique-section:last-child {
    margin-bottom: 0;
}

.boutique-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #c88a32;
    text-transform: uppercase;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

/* ---- Product Card ---- */
.boutique-product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.boutique-product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.boutique-product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #f0ede8;
    overflow: hidden;
}

.boutique-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.boutique-product-card:hover .boutique-product-image {
    transform: scale(1.1);
}

.boutique-product-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0ede8, #e8e4dd);
}

/* Bouton panier */
.boutique-cart-btn {
    position: absolute;
    bottom: -20px;
    right: 12px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0CC0DF;
    border: none;
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(12, 192, 223, 0.3);
    z-index: 2;
}

.boutique-product-card:hover .boutique-cart-btn {
    bottom: 12px;
}

.boutique-cart-btn:hover {
    background: #0aa8c4;
    transform: scale(1.1);
}

/* Info produit */
.boutique-product-info {
    padding: 14px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.boutique-product-name {
    font-weight: 700;
    font-size: 14px;
    color: #c88a32;
    margin: 0 0 4px 0;
    min-height: calc(2 * 1.4 * 14px);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.boutique-product-price {
    font-weight: 700;
    font-size: 14px;
    color: #333;
    margin-top: auto;
}

/* Row produits + lien voir tous */
.boutique-products-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Voir tous */
.boutique-see-all {
    flex-shrink: 0;
    text-align: center;
    padding-left: 8px;
}

.boutique-see-all-link {
    color: var(--byam-cyan);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
    text-align: center;
    line-height: 1.4;
}

.boutique-see-all-link:hover {
    color: #a06a1a;
}

.boutique-see-all-link i {
    display: block;
    margin-top: 6px;
    font-size: 18px;
    transition: transform 0.3s;
}

.boutique-see-all-link:hover i {
    transform: translateX(4px);
}

.boutique-section-total {
    --bs-text-opacity: 1;
    color: var(--byam-gold);
}

/* Bouton "Voir les X produits" */
.boutique-btn-see-all {
    display: inline-block;
    padding: 10px 28px;
    border: 2px solid #c88a32;
    border-radius: 20px;
    color: #c88a32;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.boutique-btn-see-all:hover {
    background: #c88a32;
    color: white;
}

.boutique-btn-see-all i {
    margin-left: 6px;
    transition: transform 0.3s;
}

.boutique-btn-see-all:hover i {
    transform: translateX(4px);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .boutique-content {
        padding: 16px;
    }

    .boutique-section-title {
        font-size: 20px;
    }

    .boutique-product-card:hover {
        transform: none;
    }

    .boutique-cart-btn {
        bottom: 12px;
    }
}
