/* V4 käytettävyys: pikahinta, Lisävalinnat, isot kosketusalueet, mobiilin kiinteä hintapalkki */
.tr-actions-v4{display:flex;justify-content:space-between;align-items:stretch;gap:12px;flex-wrap:wrap;margin:0 0 16px}
.tr-actions-v4 .btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;margin:0}
.tr-pricing-details.tr-v4-hidden-summary>summary{display:none}
.tr-quick-v4 input{font-size:18px;letter-spacing:.06em}
.tr-extras-v4,.parcel-extras-v4{border:1px solid #ddd;border-radius:8px;padding:0 12px;margin:10px 0 14px;background:#fafafa}
.tr-extras-v4>summary,.parcel-extras-v4>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:700;list-style-position:inside}
.tr-extras-v4[open],.parcel-extras-v4[open]{padding-bottom:10px}
.tr-confirm-v4{font-weight:600}
#customerOrderForm label.check,#customerOrderForm .orderer-options label,#quoteRequestFormV100 label.check{min-height:44px;display:flex;align-items:center;gap:10px}
#customerOrderForm input[type=checkbox],#customerOrderForm input[type=radio],#quoteRequestFormV100 input[type=checkbox],#quoteRequestFormV100 input[type=radio]{width:24px;height:24px;min-width:24px;margin:0;accent-color:#d71920}
#customerOrderForm input[type=number],#customerOrderForm input[type=tel],#customerOrderForm input[type=date],#customerOrderForm select{min-height:44px}
.tr-sticky-v4{display:none}
@media(max-width:760px){
 .tr-actions-v4{flex-direction:column}.tr-actions-v4 .btn{width:100%}
 .tr-sticky-v4{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:50;gap:10px;align-items:center;justify-content:space-between;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #ddd;box-shadow:0 -4px 16px rgba(0,0,0,.12)}
 .tr-sticky-v4 .tr-sticky-price{font-weight:700;font-size:15px;line-height:1.2}
 .tr-sticky-v4 .tr-sticky-price small{display:block;font-weight:400;font-size:12px;color:#555}
 .tr-sticky-v4 .btn{min-height:48px;margin:0;white-space:nowrap}
 body.tr-has-sticky-v4{padding-bottom:84px}
}
/* Kollikortit: kaksi rinnakkain työpöydällä, yksi mobiilissa */
#packageCards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
#packageCards>.panel{margin:0;padding:12px}
#packageCards .tr-fields-v4{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 10px}
#packageCards .tr-fields-v4>label:first-child{grid-column:1/-1}
#packageCards .tr-fields-v4 label{margin:0}
#packageCards .parcel-extras-v4{margin:8px 0 0;padding:0 10px}
#packageCards .parcel-extras-v4 .parcel-extras{display:flex;flex-direction:column;gap:2px}
.tr-badge-v4{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:999px;background:#d71920;color:#fff;font-size:12px;font-weight:700}
@media(max-width:760px){#packageCards{grid-template-columns:1fr}}
#customerOrderForm .parcel-extras-v4 .parcel-extras{padding-top:0!important;gap:0;display:flex;flex-direction:column}
.tr-extras-v4>summary,.parcel-extras-v4>summary{list-style:none;gap:8px}
.tr-extras-v4>summary::-webkit-details-marker,.parcel-extras-v4>summary::-webkit-details-marker{display:none}
.tr-extras-v4>summary::before,.parcel-extras-v4>summary::before{content:"＋";display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#eee;font-size:14px}
.tr-extras-v4[open]>summary::before,.parcel-extras-v4[open]>summary::before{content:"−"}
/* V4 kollirivit */
.tr-row-head-v4{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px}
.tr-row-remove-v4{min-height:44px;padding:0 14px;border:1px solid #d9b3b6;border-radius:7px;background:#fff;color:#b00020;font-weight:600;cursor:pointer}
#packageCards .tr-fields-v4{grid-template-columns:repeat(3,minmax(0,1fr))}
#packageCards .tr-fields-v4>label:first-child{grid-column:auto}
#packageCards .tr-fields-v4 .tr-qty-v4 input{font-weight:700}
#packageCards .tr-fields-v4>label:nth-child(2){grid-column:span 2}
.tr-row-add-wrap-v4{grid-column:1/-1;display:flex;align-items:center}
.tr-row-add-v4{min-height:44px}
@media(max-width:420px){#packageCards .tr-fields-v4{grid-template-columns:repeat(2,minmax(0,1fr))}#packageCards .tr-fields-v4>label:nth-child(2){grid-column:auto}}
