/* Trendytegels calculator – clean, compact product-page layout */
.tt-box-price-info{
    margin:8px 0 18px;
    color:#424242;
    font-size:15px;
    line-height:1.6;
}
.tt-box-price-info strong{font-weight:700;color:#303030}
.tt-m2-calculator{
    box-sizing:border-box;
    width:100%;
    max-width:100%;
    margin:18px 0 24px;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    column-gap:12px;
    row-gap:22px;
}
.tt-m2-calculator *{box-sizing:border-box}
.tt-m2-field{display:flex;flex-direction:column;gap:7px;min-width:0}
.tt-m2-field label{
    margin:0;
    color:#303030;
    font-size:15px;
    font-weight:500;
    line-height:1.35;
}
.tt-m2-calculator input[type=number],
.tt-m2-calculator input[type=text],
.tt-m2-calculator select{
    width:100%;
    max-width:none;
    min-width:0;
    height:46px;
    min-height:46px;
    margin:0;
    padding:8px 11px;
    border:1px solid #bdbdbd;
    border-radius:5px;
    background:#fff;
    color:#303030;
    box-shadow:none;
    font-size:19px;
    font-weight:600;
    line-height:1.2;
}
.tt-m2-calculator input:focus,
.tt-m2-calculator select:focus{
    outline:none;
    border-color:#8B7355;
    box-shadow:0 0 0 2px rgba(139,115,85,.13);
}
.tt-m2-calculator input[readonly]{
    background:#f7f7f7;
    color:#777;
    cursor:default;
}
.tt-m2-result{
    grid-column:1 / -1;
    display:flex;
    flex-direction:column;
    gap:8px;
    margin-top:0;
    color:#424242;
    font-size:15px;
    line-height:1.5;
}
.tt-m2-total-heading{
    margin:0 0 2px;
    color:#303030;
    font-size:21px;
    font-weight:600;
}
.tt-m2-summary{
    display:flex;
    flex-wrap:wrap;
    align-items:baseline;
    gap:5px 10px;
    font-size:16px;
}
.tt-m2-summary strong{
    color:#303030;
    font-size:20px;
    font-weight:700;
}
.tt-m2-summary .tt-incl-vat{
    font-size:11px;
    color:#666;
}
@media (max-width:600px){
    .tt-m2-calculator{column-gap:10px;row-gap:17px}
    .tt-m2-field label{font-size:14px}
    .tt-m2-calculator input[type=number],
    .tt-m2-calculator input[type=text],
    .tt-m2-calculator select{height:44px;min-height:44px;font-size:17px;padding:7px 9px}
    .tt-m2-total-heading{font-size:20px}
    .tt-m2-summary{font-size:14px;gap:4px 7px}
    .tt-m2-summary strong{font-size:18px}
}

/* De calculator bepaalt het aantal dozen; verberg alleen de standaard hoeveelheid op de productpagina. */
.single-product form.cart.tt-has-m2-calculator .quantity { display: none !important; }

.tt-piece-pack-note { margin: 10px 0 14px; font-size: 14px; }

/* Mozaiek: compacte live totaalprijs, alleen voor producten per verpakking. */
.tt-piece-pack-live { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:8px 14px; margin:12px 0 16px; font-size:15px; }
.tt-piece-pack-live .tt-pack-live-price { font-size:21px; font-weight:700; color:#303030; }
.single-product .tt-piece-price-html small { font-size:.7em; font-weight:500; }

.tt-pack-live-sqm { display: block; font-size: 12px; color: #777; margin-top: 3px; }

/* Subtiel aantal fysieke tegels naast het totaal, alleen als doosinhoud bekend is. */
.tt-m2-summary .tt-total-tiles {
    font-size: 12px;
    font-weight: 400;
    color: #777;
    white-space: nowrap;
}

/* Productafhankelijke leveringsinformatie boven de calculator */
.tt-delivery-info { display:flex; flex-direction:column; gap:4px; padding:12px 14px; margin:12px 0; border:1px solid #e4e0da; border-radius:8px; background:#faf9f7; color:#333; font-size:14px; line-height:1.5; }
.tt-delivery-info strong { font-weight:600; }
.tt-delivery-info span { color:#626262; }
