.janthai-vendeurs-section {
    --janthai-vendeurs-green: #244c3a;
    --janthai-vendeurs-border: #d9e0d8;
    box-sizing: border-box;
    border: 1px solid var(--janthai-vendeurs-border);
    border-radius: 12px;
    padding: clamp(16px, 3vw, 28px);
}
.janthai-vendeurs-section h2 { margin: 0 0 .75em; }
.janthai-vendeurs-section p:last-child { margin-bottom: 0; }
.janthai-vendeurs-section .janthai-vendeurs-button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    box-sizing: border-box;
    padding: 8px 14px;
    border: 1px solid var(--janthai-vendeurs-green);
    border-radius: 7px;
    background: var(--janthai-vendeurs-green);
    color: #fff;
    font: inherit;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
}
.janthai-vendeurs-section > a.janthai-vendeurs-button { margin-bottom: 1rem; }
.janthai-vendeurs-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
    gap: 12px;
}
.janthai-vendeurs-filters label { display: grid; gap: .35rem; }
.janthai-vendeurs-filters select,
.janthai-vendeurs-section input[type="text"],
.janthai-vendeurs-section input[type="password"] {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 8px;
    font: inherit;
}
.janthai-vendeurs-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}
.janthai-vendeurs-totaux {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
    gap: 10px;
    margin: 0;
}
.janthai-vendeurs-totaux > div {
    border: 1px solid var(--janthai-vendeurs-border);
    border-radius: 7px;
    padding: 12px;
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    gap: 4px;
}
.janthai-vendeurs-totaux dd { margin: 0; font-size: 1.25em; font-weight: 700; }
.janthai-vendeurs-order { border-top: 1px solid var(--janthai-vendeurs-border); padding: 12px 0; }
.janthai-vendeurs-order:first-child { margin-top: 16px; }
.janthai-vendeurs-order summary { cursor: pointer; min-height: 44px; }
.janthai-vendeurs-order summary span { display: block; }
.janthai-vendeurs-allergy-tag { display: inline-block; color: #871a16; }
.janthai-vendeurs-allergy { border-left: 4px solid #ae2721; background: #fff0ef; color: #701610; padding: 12px; }
.janthai-vendeurs-allergy p { margin: .3rem 0 0; overflow-wrap: anywhere; }
.janthai-vendeurs-table { overflow-x: auto; margin: .5rem 0 1rem; }
.janthai-vendeurs-table table { width: 100%; border-collapse: collapse; }
.janthai-vendeurs-table th,
.janthai-vendeurs-table td { border-bottom: 1px solid #ccd5cd; padding: .5rem .45rem; text-align: left; }
.janthai-vendeurs-sheet { overflow-wrap: anywhere; }
.janthai-vendeurs-preview-placeholder { border: 1px dashed #8e9f92; padding: .75rem; }
.janthai-vendeurs-print { display: none; }
@media print {
    body.janthai-vendeurs-printing > :not(.janthai-vendeurs-print) { display: none !important; }
    body.janthai-vendeurs-printing .janthai-vendeurs-print { display: block !important; max-width: none; color: #000; }
    .janthai-vendeurs-print .janthai-vendeurs-sheet + .janthai-vendeurs-sheet { break-before: page; }
    .janthai-vendeurs-print .janthai-vendeurs-table { overflow: visible; }
    .janthai-vendeurs-print tr { break-inside: avoid; }
}

.jtv-catalogue, .jtv-checkout-page { --jtv-green: #244c3a; }
.jtv-catalogue-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1.25rem; }
.jtv-catalogue-section { margin: 2rem 0; }
.jtv-produit {
    border: 1px solid #d9e0d8;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.jtv-produit img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.jtv-produit h4, .jtv-produit p { margin: 0; }
.jtv-produit .jtv-prix { margin-top: auto; font-size: 1.15em; font-weight: 700; }
.jtv-quantite { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: .5rem; }
.jtv-quantite input.qty { width: 4em; min-height: 44px; }
.jtv-catalogue button.button, .jtv-catalogue a.button { background: var(--jtv-green); color: #fff; padding: .7rem 1rem; border-radius: 6px; }
.jtv-checkout .jtv-allergy-fields { border: 1px solid #d9e0d8; border-radius: 8px; padding: 1rem; margin-top: 1rem; }
.jtv-allergy-option { display: block; margin: .25rem 0; }
.jtv-allergy-option input { margin-right: .35rem; }
.jtv-checkout [hidden] { display: none !important; }
