.commerce-intro{background:#e9dce1;padding:42px 0 45px}.commerce-intro h1{font-size:clamp(34px,4vw,54px);color:#542b39;margin:0 0 17px;line-height:1.25}.commerce-intro p{font-size:18px;color:#655d62;max-width:760px;margin:0}.commerce-content{padding-top:46px;padding-bottom:80px}.commerce-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:38px;align-items:start}.commerce-panel{background:white;border-radius:12px;padding:29px;min-width:0}.commerce-panel h2{font-size:26px;margin-bottom:25px}.commerce-panel h3{font-size:21px}.commerce-empty{padding:60px 35px;background:#fff;border-radius:12px}.commerce-empty h2{font-size:30px}.commerce-empty p{font-size:17px;color:#655d62;max-width:650px}.commerce-lines{list-style:none;padding:0;margin:0;display:grid;gap:22px}.commerce-line{display:grid;grid-template-columns:150px minmax(0,1fr);gap:24px;background:#fff;border-radius:12px;padding:24px;min-width:0}.commerce-photo{display:flex;align-items:center;background:#f2f0ed;border-radius:8px;overflow:hidden;align-self:start}.commerce-photo img{width:100%;height:170px;object-fit:contain}.commerce-line h2{font-size:23px;line-height:1.4;margin:0 0 10px}.commerce-line p{font-size:15px;color:#655d62;margin:6px 0}.commerce-line-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:end;margin-top:20px}.commerce-quantity{display:flex;flex-direction:column;gap:7px}.commerce-quantity label{font-size:15px}.commerce-quantity input{width:95px;min-height:48px;border:1px solid #c7b9be;border-radius:6px;font:inherit;padding:9px 12px}.commerce-quiet{border:0;background:none;color:#542b39;min-height:46px;text-decoration:underline;text-underline-offset:4px;font:inherit;font-size:15px;padding:8px 0}.commerce-line textarea{width:100%;min-height:80px;border:1px solid #c7b9be;border-radius:6px;padding:10px 12px;font-size:16px;font-family:inherit;margin-top:8px;resize:vertical}.commerce-form{display:flex;flex-direction:column;gap:27px}.commerce-fields{display:grid;grid-template-columns:1fr 1fr;gap:23px}.commerce-field{display:flex;flex-direction:column;gap:8px;min-width:0}.commerce-field.full{grid-column:1 / -1}.commerce-field label{font-size:16px;font-weight:500}.commerce-field input,.commerce-field select,.commerce-field textarea{min-height:53px;border:1px solid #c7b9be;border-radius:6px;padding:12px 14px;background:white;font:inherit;font-size:16px;width:100%}.commerce-field textarea{min-height:130px;resize:vertical}.commerce-field input[type=file]{padding:12px;font-size:15px;min-height:58px}.commerce-field input[type=file]::file-selector-button{background:#542b39;color:white;border:0;border-radius:5px;padding:9px 13px;margin-right:12px;font:inherit;cursor:pointer}.commerce-form fieldset{border:0;border-top:1px solid #d8d0cf;padding:23px 0 0;margin:0}.commerce-form legend{font-size:24px;font-weight:600;line-height:1.4;padding:0 0 14px}.commerce-form small,.commerce-help{font-size:15px;color:#655d62;line-height:1.8}.commerce-consent{display:flex;align-items:start;gap:12px;font-size:16px;line-height:1.8}.commerce-consent input{width:20px;height:20px;flex:none;margin-top:5px;accent-color:#542b39}.commerce-radio{display:flex;flex-wrap:wrap;gap:20px;min-height:48px;align-items:center}.commerce-radio label{display:flex;align-items:center;gap:10px;font-size:16px}.commerce-radio input{width:20px;height:20px;accent-color:#542b39}.commerce-totals{margin:0 0 26px}.commerce-totals>div{display:flex;justify-content:space-between;gap:18px;border-bottom:1px solid #e2d9dd;padding:14px 0;font-size:16px}.commerce-totals dt{color:#655d62}.commerce-totals dd{margin:0;text-align:right}.commerce-mini{list-style:none;padding:0;margin:0 0 20px;display:grid;gap:15px}.commerce-mini li{display:flex;gap:17px;align-items:center;font-size:16px}.commerce-mini img{width:70px;height:70px;object-fit:contain;background:#f2f0ed;border-radius:6px;flex:none}.commerce-notice{background:#efe4d2;color:#594527;border-left:3px solid #ae8950;padding:17px 20px;font-size:16px;line-height:1.8;border-radius:0 7px 7px 0}.commerce-alert{background:#f6e4e8;color:#842e43;padding:18px 22px;border-radius:8px;font-size:16px;line-height:1.8;margin-bottom:25px}.commerce-success{background:#e5ece7;color:#2e5940;padding:16px 20px;border-radius:8px;margin-bottom:23px;font-size:16px}.commerce-form-actions{display:flex;flex-wrap:wrap;align-items:center;gap:18px}.commerce-form-actions .button{max-width:100%}.commerce-summary-action{width:100%;margin-top:10px}.commerce-receipt{display:grid;grid-template-columns:1.35fr 1fr;gap:35px}.commerce-reference{background:#efe5e9;padding:22px;border-radius:8px;margin:25px 0;overflow-wrap:anywhere}.commerce-reference span{display:block;color:#655d62;font-size:15px;margin-bottom:10px}.commerce-reference strong{display:block;color:#542b39;font-size:23px;line-height:1.5;letter-spacing:.1px}.commerce-receipt h2{font-size:32px;margin-bottom:20px}.commerce-status{display:inline-flex;background:#e8d9bc;color:#654523;padding:8px 13px;font-size:15px;border-radius:5px;margin-bottom:20px}.commerce-facts{display:grid;grid-template-columns:1fr 1fr;gap:0 25px;margin:20px 0 30px}.commerce-facts>div{padding:13px 0;border-top:1px solid #ded1d7}.commerce-facts dt{font-size:15px;color:#655d62}.commerce-facts dd{font-size:17px;margin:6px 0 0;overflow-wrap:anywhere}.commerce-files{padding-left:20px}.commerce-files li{font-size:16px;margin:12px 0}.commerce-history{list-style:none;padding:0;margin:25px 0}.commerce-history li{padding:15px 0;border-bottom:1px solid #dfd6db;display:flex;justify-content:space-between;gap:20px;font-size:15px}.commerce-history time{font-size:14px;color:#655d62}.commerce-below{margin-top:25px;display:flex;gap:20px;flex-wrap:wrap;align-items:center}.commerce-error-list{margin:0;padding-left:20px}.commerce-full{grid-column:1 / -1}@media(max-width:1050px){.commerce-grid{gap:25px;grid-template-columns:minmax(0,1.3fr) minmax(270px,1fr)}.commerce-line{grid-template-columns:110px minmax(0,1fr);gap:18px;padding:20px}.commerce-panel{padding:25px}.commerce-receipt{gap:25px}}@media(max-width:800px){.commerce-grid,.commerce-receipt{grid-template-columns:1fr}.commerce-intro{padding:30px 0 36px}.commerce-content{padding-top:32px;padding-bottom:55px}.commerce-intro h1{font-size:38px}.commerce-intro p{font-size:17px}.commerce-line{grid-template-columns:140px minmax(0,1fr)}.commerce-panel{padding:27px}.commerce-line h2{font-size:23px}}@media(max-width:480px){.commerce-fields{grid-template-columns:1fr}.commerce-field.full{grid-column:auto}.commerce-line{grid-template-columns:95px minmax(0,1fr);gap:17px;padding:20px}.commerce-photo img{height:125px}.commerce-line h2{font-size:21px}.commerce-line-actions{gap:12px}.commerce-panel{padding:24px}.commerce-empty{padding:35px 25px}.commerce-intro h1{font-size:34px}.commerce-facts{grid-template-columns:1fr}.commerce-reference strong{font-size:20px}.commerce-receipt h2{font-size:28px}.commerce-form-actions{align-items:stretch;flex-direction:column}.commerce-form legend{font-size:23px}.commerce-history li{flex-direction:column;gap:6px}}

/* Long customer references and filenames must wrap inside narrow panels. */
.commerce-panel,.commerce-line-info,.commerce-history li{min-width:0;overflow-wrap:anywhere}.commerce-files a{overflow-wrap:anywhere}

.commerce-totals dt,.commerce-totals dd{min-width:0;overflow-wrap:anywhere}@media(max-width:480px){.commerce-totals>div{flex-direction:column;align-items:flex-start;gap:5px}.commerce-totals dd{text-align:left;margin-left:0}}
