/* ===================================================
   BOUTIQUE WESTY — stili aggiuntivi v2
   Da aggiungere in fondo a styleResponsive.css
   oppure includere con: <link href="/include/css/boutique-westy.css" rel="stylesheet">
   =================================================== */

.boutique-hero {
    text-align: center;
    padding: 2.5rem 1rem 2rem;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: .5rem;
}
.boutique-hero h1 {
    font-size: 24px;
    font-weight: 600;
    color: #324f92;
    margin-bottom: .5rem;
    padding: 0;
}
.boutique-hero p {
    font-size: 15px;
    color: #666;
    max-width: 620px;
    margin: 0 auto 1.25rem;
    line-height: 1.6;
}
.boutique-notice {
    display: inline-block;
    background: #fff8e1;
    color: #8a5e00;
    font-size: 13px;
    font-weight: 500;
    padding: 7px 16px;
    border-radius: 20px;
    border: 1px solid #f9d56e;
}
.boutique-section-title {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1.5rem 0 .75rem;
}
.boutique-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}
.boutique-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s ease, transform .2s ease;
}
.boutique-card:hover {
    box-shadow: 0 6px 24px rgba(50, 79, 146, .1);
    transform: translateY(-2px);
}

/* -----------------------------------------------
   SLIDER FOTO
   ----------------------------------------------- */
.boutique-card-slider {
    position: relative;
    overflow: hidden;
    background: #f7f7f7;
    height: 210px;
}
.boutique-slider-track {
    display: flex;
    height: 100%;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.boutique-slider-track::-webkit-scrollbar {
    display: none;
}
.boutique-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    height: 100%;
    overflow: hidden;
}
.boutique-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}
.boutique-card:hover .boutique-slide img {
    transform: scale(1.03);
}

/* Badge */
.boutique-badge {
    position: absolute;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 20px;
    line-height: 1;
    z-index: 2;
}
.boutique-badge-last {
    top: 10px;
    left: 10px;
    background: #991b1b;
    color: #fee2e2;
}
.boutique-badge-discount {
    top: 10px;
    right: 10px;
    background: #14532d;
    color: #dcfce7;
}

/* Frecce prev/next */
.boutique-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255,255,255,.88);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #324f92;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
    padding: 0;
    line-height: 1;
    opacity: 1;
    transition: opacity .2s;
}

.boutique-slider-btn-prev { left: 7px; }
.boutique-slider-btn-next { right: 7px; }

/* Dots */
.boutique-slider-dots {
    position: absolute;
    bottom: 7px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 2;
}
.boutique-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    border: 1px solid rgba(0,0,0,.15);
    cursor: pointer;
    transition: background .2s;
    padding: 0;
    flex-shrink: 0;
}
.boutique-dot.active {
    background: #fff;
}
/* slot singola foto: niente frecce né dots */
.boutique-card-slider.single .boutique-slider-btn,
.boutique-card-slider.single .boutique-slider-dots {
    display: none;
}

/* Body card */
.boutique-card-body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}
.boutique-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
}
.boutique-card-note {
    font-size: 12px;
    color: #888;
    font-style: italic;
    line-height: 1.4;
}
.boutique-card-stock {
    font-size: 12px;
    color: #aaa;
}

/* Prezzo — discreto */
.boutique-price {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    margin-top: auto;
    padding-top: .6rem;
}
.boutique-price-current {
    font-size: 15px;
    font-weight: 600;
    color: #324f92;
}
.boutique-price-old {
    font-size: 13px;
    color: #bbb;
    text-decoration: line-through;
}

/* Riga quantità */
.boutique-qty-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-top: .75rem;
    padding-top: .75rem;
    border-top: 1px solid #f0f0f0;
}
.boutique-qty-label {
    font-size: 13px;
    color: #888;
    flex: 1;
    font-weight: normal;
    padding: 0;
}
.boutique-qty-input {
    width: 64px !important;
    height: 34px !important;
    text-align: center;
    font-size: 15px !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #333 !important;
    padding: 0 !important;
}
.boutique-qty-input:focus {
    outline: none;
    border-color: #324f92 !important;
}

/* Form ordine */
.boutique-order-section {
    border-top: 1px solid #e8e8e8;
    padding: 2rem 0 3rem;
}
.boutique-order-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 2rem;
    max-width: 680px;
    margin: 0 auto;
}
.boutique-order-card h2 {
    font-size: 18px;
    font-weight: 600;
    color: #324f92;
    margin-bottom: 1.5rem;
    padding: 0;
    text-align: left;
}
.boutique-field {
    margin-bottom: 1.25rem;
}
.boutique-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
    padding: 0;
}
.boutique-field textarea,
.boutique-field input[type="text"],
.boutique-field input[type="tel"] {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: .6rem .9rem;
    font-size: 14px;
    color: #333;
    background: #fafafa;
    transition: border-color .15s;
    height: auto;
}
.boutique-field textarea {
    min-height: 120px;
    resize: vertical;
    font-family: Tahoma, Verdana, sans-serif;
    line-height: 1.6;
}
.boutique-field input[type="text"]:focus,
.boutique-field input[type="tel"]:focus,
.boutique-field textarea:focus {
    outline: none;
    border-color: #324f92;
    background: #fff;
}
.boutique-field-hint {
    font-size: 12px;
    color: #aaa;
    margin-top: 5px;
    font-weight: normal;
    padding: 0;
}
.boutique-payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
    margin-top: .25rem;
}
.boutique-payment-opt {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: .65rem 1rem;
    font-size: 13px;
    cursor: pointer;
    text-align: center;
    color: #666;
    background: #fafafa;
    transition: border-color .15s, color .15s, background .15s;
    user-select: none;
}
.boutique-payment-opt:hover {
    border-color: #324f92;
    color: #324f92;
}
.boutique-payment-opt.boutique-payment-sel {
    border: 2px solid #324f92;
    color: #324f92;
    background: #eef1fa;
    font-weight: 600;
}
.boutique-privacy {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: 1rem;
    background: #f7f8fb;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
    margin: 1.25rem 0 1.5rem;
}
.boutique-privacy input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #324f92;
    width: 16px;
    height: 16px;
}
.boutique-privacy label {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    font-weight: normal;
    padding: 0;
}
.boutique-btn-order {
    width: 100%;
    padding: .9rem;
    background: #324f92;
    color: #fff !important;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: .3px;
    transition: background .2s;
}
.boutique-btn-order:hover {
    background: #1e3268;
}

/* Responsive */
@media screen and (max-width: 600px) {
    .boutique-grid {
        grid-template-columns: 1fr 1fr;
        gap: .75rem;
    }
    .boutique-card-slider {
        height: 160px;
    }
    .boutique-order-card {
        padding: 1.25rem;
    }
    /* su mobile frecce sempre visibili (no hover) */
    .boutique-slider-btn {
        opacity: 1;
    }
}
@media screen and (max-width: 380px) {
    .boutique-grid {
        grid-template-columns: 1fr;
    }
}

.boutique-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}
.boutique-lightbox.open {
    display: flex;
}
.boutique-lightbox img {
    max-width: 92vw;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 6px;
    cursor: default;
}
.boutique-lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    opacity: .8;
}
.boutique-lightbox-close:hover { opacity: 1; }
.boutique-slide img { cursor: zoom-in; }
