/* =========================================================================
   Salon Beschikbaar - Styling
   UPLOADPAD: /wp-content/themes/[thema]/css/woocommerce/salon-beschikbaar.css
   ========================================================================= */

/* --- Beschikbaarheid label in archief & single --- */
.salon-beschikbaar,
span.salon-beschikbaar {
    color: #8B6914 !important;
    font-weight: 500;
}

.salon-beschikbaar i {
    margin-right: 5px;
}

/* --- Product card: salon label --- */
.salon-product .salon-label,
.salon-beschikbaar-product .speciallabel {
    background: linear-gradient(135deg, #8B6914, #C4982A);
    color: #fff;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    border-radius: 4px;
}

.salon-product .salon-label i {
    margin-right: 4px;
}

/* --- Verberg outofstock styling voor salon producten --- */
.salon-beschikbaar-product .stock.out-of-stock,
.salon-beschikbaar-product .outofstock-label {
    display: none !important;
}

/* --- Salon button in archief --- */
.salon-product .salon-button,
a.button.salon-button {
    background: #8B6914;
    color: #fff;
    border: none;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

.salon-product .salon-button:hover,
a.button.salon-button:hover {
    background: #6E5310;
    color: #fff;
}

/* =========================================================================
   Salon Beschikbaar Blok (shortcode output)
   ========================================================================= */
.salon-beschikbaar-blok {
    padding: 40px 0;
    margin: 30px 0;
}

.salon-beschikbaar-titel {
    font-size: 28px;
    margin-bottom: 5px;
    text-align: center;
}

.salon-beschikbaar-subtitel {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 15px;
}

/* Products grid binnen het blok */
ul.salon-producten {
    display: grid;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.salon-producten.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

ul.salon-producten.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

ul.salon-producten.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* Salon product card in het blok */
.salon-producten li.salon-product {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.salon-producten li.salon-product:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.salon-producten .salon-product a {
    text-decoration: none;
    color: inherit;
}

.salon-producten .salon-product .leftcol {
    position: relative;
}

.salon-producten .salon-product .imagewrapper {
    overflow: hidden;
}

.salon-producten .salon-product .imagewrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.salon-producten .salon-product .middlecol {
    padding: 15px;
}

.salon-producten .salon-product .middlecol .brand img {
    max-height: 25px;
    width: auto;
    margin-bottom: 8px;
}

.salon-producten .salon-product .catnamearc {
    font-size: 12px;
    color: #999;
    margin: 0 0 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.salon-producten .salon-product h2 {
    font-size: 15px;
    margin: 0;
    line-height: 1.4;
}

.salon-producten .salon-product .rightcol {
    padding: 0 15px 15px;
    margin-top: auto;
}

.salon-producten .salon-product .archiveusp p {
    font-size: 13px;
    color: #8B6914;
    margin: 0 0 8px;
}

.salon-producten .salon-product .price {
    font-weight: 600;
    font-size: 16px;
    display: block;
}

/* =========================================================================
   Single Product - Salon Melding
   ========================================================================= */
.salon-melding-single {
    background: linear-gradient(135deg, #FDF6E3, #FAF0D1);
    border: 1px solid #E8D5A0;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.salon-melding-icon {
    width: 45px;
    height: 45px;
    background: #8B6914;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.salon-melding-tekst {
    flex: 1;
    min-width: 200px;
}

.salon-melding-tekst strong {
    font-size: 16px;
    display: block;
    margin-bottom: 4px;
    color: #6E5310;
}

.salon-melding-tekst p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.salon-contact-button,
a.button.salon-contact-button {
    background: #8B6914 !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
    transition: background 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.salon-contact-button:hover,
a.button.salon-contact-button:hover {
    background: #6E5310 !important;
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1100px) {
    ul.salon-producten.columns-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    ul.salon-producten.columns-4,
    ul.salon-producten.columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .salon-melding-single {
        flex-direction: column;
        text-align: center;
    }

    .salon-contact-button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    ul.salon-producten.columns-4,
    ul.salon-producten.columns-3,
    ul.salon-producten.columns-2 {
        grid-template-columns: 1fr;
    }
}
