/* Tuscany House — public product page */
.vm-product-page{background:#f8f7f4;min-height:70vh}
.vm-product-wrap{max-width:1320px;margin:0 auto;padding:34px 32px 100px}
.vm-breadcrumb{font:500 12px/1.5 Inter,Arial,sans-serif;letter-spacing:.06em;color:#777;margin-bottom:34px}
.vm-breadcrumb a{color:#777;text-decoration:none}.vm-breadcrumb a:hover{color:#111}
.vm-product-main{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(360px,.65fr);gap:72px;align-items:start}
.vm-gallery-stage{position:relative;background:#eceae5;aspect-ratio:1/1;overflow:hidden}
.vm-gallery-image{display:none;width:100%;height:100%;object-fit:cover}
.vm-gallery-image.is-active{display:block}
.vm-gallery-placeholder{height:100%;display:flex;align-items:center;justify-content:center;font:400 30px Georgia,serif;color:#777}
.vm-gallery-thumbs{display:flex;gap:10px;margin-top:12px;overflow:auto;padding-bottom:4px}
.vm-thumb{border:1px solid transparent;background:none;padding:0;flex:0 0 88px;width:88px;height:88px;cursor:pointer;overflow:hidden}
.vm-thumb.is-active{border-color:#1d1d1b}.vm-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.vm-product-info{padding:38px 0 0}
.vm-product-brand{font:600 11px/1 Inter,Arial,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:#777;margin-bottom:28px}
.vm-product-kicker{font:500 11px/1 Inter,Arial,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#8a867f;margin-bottom:15px}
.vm-product-info h1{font:400 clamp(38px,4vw,66px)/1.02 "Cormorant Garamond",Georgia,serif;margin:0 0 16px;color:#1c1c1a}
.vm-product-subtitle{font:400 17px/1.55 Inter,Arial,sans-serif;color:#6e6c67;margin:0 0 28px}
.vm-product-price{font:500 15px/1.4 Inter,Arial,sans-serif;letter-spacing:.04em;padding:18px 0;border-top:1px solid #ddd9d2;border-bottom:1px solid #ddd9d2;margin-bottom:28px}
.vm-product-short{font:400 15px/1.75 Inter,Arial,sans-serif;color:#555;margin-bottom:28px}
.vm-spec{display:flex;justify-content:space-between;gap:25px;border-top:1px solid #e1ded8;padding:14px 0;font:400 13px/1.5 Inter,Arial,sans-serif}
.vm-spec span{color:#888}.vm-spec strong{font-weight:500;color:#333;text-align:right}
.vm-product-cta{display:flex;align-items:center;justify-content:space-between;text-decoration:none;background:#1d1d1b;color:#fff;padding:18px 21px;margin-top:28px;font:500 12px/1 Inter,Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase}
.vm-product-cta span{font-size:20px;line-height:1}
.vm-product-description{display:grid;grid-template-columns:260px 1fr;gap:70px;border-top:1px solid #ddd9d2;margin-top:95px;padding-top:45px}
.vm-description-label{font:600 10px/1.3 Inter,Arial,sans-serif;letter-spacing:.18em;color:#888}
.vm-description-text{max-width:760px;font:400 16px/1.85 Inter,Arial,sans-serif;color:#4f4d49}
@media(max-width:900px){
 .vm-product-wrap{padding:25px 18px 70px}.vm-product-main{grid-template-columns:1fr;gap:38px}
 .vm-product-info{padding-top:0}.vm-gallery-stage{aspect-ratio:4/3}
 .vm-product-description{grid-template-columns:1fr;gap:20px;margin-top:60px}
}
@media(max-width:560px){
 .vm-product-info h1{font-size:46px}.vm-gallery-stage{aspect-ratio:1/1}
 .vm-thumb{flex-basis:72px;width:72px;height:72px}
}


/* Tuscany House — description layout hardening */
.vm-product-description{min-width:0;overflow:hidden;}
.vm-product-description > *{min-width:0;}
.vm-description-text{width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow-wrap:anywhere;word-break:break-word;white-space:normal;overflow:hidden;}
.vm-description-text img,.vm-description-text iframe,.vm-description-text video,.vm-description-text table{max-width:100%;height:auto;}
.vm-description-text pre,.vm-description-text code{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;}


/* TUSCANY HOUSE — MOBILE GALLERY FIX v3 */
html, body { max-width:100%; overflow-x:hidden; }

.vm-product-page,
.vm-product-page * { box-sizing:border-box; }

.vm-product-page {
    width:100%;
    max-width:100%;
    overflow-x:hidden;
}

.vm-product-wrap,
.vm-product-main,
.vm-gallery,
.vm-gallery-stage,
.vm-gallery-thumbs {
    min-width:0;
    max-width:100%;
}

.vm-product-wrap { width:100%; }

.vm-gallery {
    width:100%;
    overflow:hidden;
}

.vm-gallery-stage {
    width:100%;
    max-width:100%;
    min-width:0;
    overflow:hidden;
}

.vm-gallery-image {
    display:none;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    height:100% !important;
    object-fit:cover;
}

.vm-gallery-image.is-active { display:block; }

.vm-gallery-thumbs {
    display:flex;
    width:100%;
    max-width:100%;
    min-width:0;
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
}

@media (max-width:900px) {
    .vm-product-wrap {
        width:100%;
        max-width:100%;
        padding-left:18px;
        padding-right:18px;
    }

    .vm-product-main {
        width:100%;
        max-width:100%;
        min-width:0;
        grid-template-columns:minmax(0,1fr);
    }

    .vm-gallery {
        width:100%;
        max-width:100%;
        min-width:0;
    }

    .vm-gallery-stage {
        width:100%;
        max-width:100%;
        aspect-ratio:4/3;
    }
}

@media (max-width:560px) {
    .vm-product-wrap {
        padding-left:14px;
        padding-right:14px;
    }

    .vm-gallery-stage {
        width:100%;
        max-width:100%;
        aspect-ratio:1/1;
    }

    .vm-gallery-image {
        width:100% !important;
        max-width:100% !important;
        height:100% !important;
        object-fit:cover;
    }

    .vm-thumb {
        flex:0 0 68px !important;
        width:68px !important;
        max-width:68px !important;
        height:68px !important;
    }

    .vm-product-info,
    .vm-product-description {
        width:100%;
        max-width:100%;
        min-width:0;
        overflow-wrap:anywhere;
    }
}


/* TUSCANY HOUSE — DESKTOP RESTORE
   Mobile rules above remain untouched. */
@media (min-width: 901px) {
    .vm-product-page {
        width: auto;
        max-width: none;
        overflow-x: visible;
    }

    .vm-product-wrap {
        max-width: 1320px;
        width: auto;
        margin: 0 auto;
        padding: 34px 32px 100px;
    }

    .vm-product-main {
        display: grid;
        grid-template-columns: minmax(0, 1.35fr) minmax(360px, .65fr);
        gap: 72px;
        align-items: start;
        width: auto;
        max-width: none;
    }

    .vm-gallery {
        width: auto;
        max-width: none;
        overflow: visible;
    }

    .vm-gallery-stage {
        width: auto;
        max-width: none;
        min-width: 0;
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }

    .vm-gallery-image {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }

    .vm-gallery-thumbs {
        width: auto;
        max-width: none;
    }

    .vm-thumb {
        flex: 0 0 88px !important;
        width: 88px !important;
        max-width: 88px !important;
        height: 88px !important;
    }
}
