.all-materials-calculator{max-width:1120px;margin:32px auto 60px;padding:0 24px;display:flex;flex-direction:column;gap:22px;color:#eee}.all-materials-calculator button{cursor:pointer}.all-materials-calculator button:disabled{opacity:.45;cursor:not-allowed}.am-intro,.am-catalog-heading,.am-row-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.am-intro{align-items:flex-start}.am-intro h2{font-size:26px;font-weight:750;line-height:1.25;letter-spacing:-.025em}.am-intro p:not(.am-eyebrow){font-size:14px;color:#aaa;margin-top:8px;max-width:720px;line-height:1.6}.am-eyebrow{font-size:10px;letter-spacing:.17em;font-weight:700;color:#ef997e;margin-bottom:8px}.am-count{white-space:nowrap;font-size:12px;color:#e8a58e;border:1px solid #b5331b70;background:#b5331b15;border-radius:99px;padding:8px 12px}.am-global{display:grid;grid-template-columns:2fr 1fr;gap:18px;border:1px solid #ffffff16;border-radius:18px;background:#171717;padding:22px}.am-field{display:flex;flex-direction:column;gap:8px;min-width:0}.am-field>span{font-size:12px;color:#bbb}.am-field input,.am-field select,.am-catalog-heading input{background:#101010;border:1px solid #ffffff22;border-radius:10px;color:#eee;color-scheme:dark;font-size:14px;padding:12px 13px;width:100%;min-width:0;min-height:44px}.am-field input:focus,.am-field select:focus,.am-catalog-heading input:focus{outline:2px solid #c65034;outline-offset:1px}.am-catalog-heading h3{font-weight:650;font-size:17px}.am-catalog-heading input{max-width:300px}.am-catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.am-choice{display:flex;align-items:center;gap:12px;min-height:90px;text-align:left;padding:17px 15px;border:1px solid #ffffff18;border-radius:14px;background:#191919;transition:background .15s,border-color .15s}.am-choice:hover{border-color:#c65a3d99;background:#211916}.am-choice-selected{border-color:#d45a39;background:linear-gradient(120deg,#b5331b26,#211916)}.am-check{width:24px;height:24px;border:1px solid #ffffff30;border-radius:7px;display:grid;place-items:center;flex-shrink:0;font-size:18px;color:#aaa}.am-choice-selected .am-check{background:#b5331b;border-color:#d45a39;color:#fff}.am-choice-copy{display:flex;flex-direction:column;gap:7px;min-width:0}.am-choice strong{font-size:13px;line-height:1.45;font-weight:650}.am-choice small{font-size:11px;color:#aaa}.am-custom-btn{align-self:flex-start;padding:10px 15px;font-size:13px;color:#e8b29f;border:1px dashed #be614666;border-radius:10px;background:#b5331b0a}.am-selected-list{display:flex;flex-direction:column;gap:14px}.am-row{border:1px solid #ffffff1c;background:#191919;border-radius:16px;padding:20px}.am-row-heading{margin-bottom:16px}.am-row-heading h3{font-weight:650;font-size:15px}.am-remove{width:34px;height:34px;flex-shrink:0;border:1px solid #ffffff17;border-radius:9px;font-size:23px;background:#ffffff04;line-height:1}.am-row-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.am-row-note{font-size:11px;color:#aaa;margin-top:13px}.am-row-result{padding-top:14px;margin-top:16px;border-top:1px solid #ffffff10;font-size:13px;color:#bbb}.am-row-result strong{color:#f3a38d}.am-hint,.am-muted{font-size:13px;color:#aaa;line-height:1.6}.am-error,.am-success{padding:14px 17px;border-radius:12px;font-size:13px;line-height:1.6}.am-error{background:#df414118;border:1px solid #df414150;color:#ffacac}.am-success{background:#12aa7710;border:1px solid #12aa7740;color:#93dbbe}.am-summary{padding:24px;border:1px solid #b5331b66;border-radius:18px;background:linear-gradient(125deg,#b5331b12,#191919 60%)}.am-summary h3{font-size:20px;font-weight:700}.am-summary-items{margin-top:18px;border-bottom:1px solid #ffffff16;padding-bottom:13px;display:grid;gap:12px}.am-summary-items>div{display:flex;justify-content:space-between;gap:18px;font-size:13px}.am-summary-items>div>span:last-child{min-width:0;text-align:right;color:#c2c2c2}.am-summary dl{display:grid;gap:12px;margin-top:18px;font-size:13px}.am-summary dl>div{display:flex;align-items:center;justify-content:space-between;gap:16px}.am-summary dt{color:#aaa}.am-summary dd{font-variant-numeric:tabular-nums;text-align:right}.am-summary .am-summary-total{padding-top:15px;border-top:1px solid #b5331b50;font-weight:700}.am-summary-total dd{color:#ef997e;font-size:27px;letter-spacing:-.025em}.am-client{border:1px solid #ffffff1a;border-radius:14px;background:#ffffff04}.am-client summary{padding:16px;font-size:13px;font-weight:600;cursor:pointer}.am-client .am-row-fields{grid-template-columns:repeat(3,minmax(0,1fr));padding:0 16px 20px}.am-actions{display:flex;gap:10px;flex-wrap:wrap}.all-materials-calculator .btn-secondary{padding:12px 16px;font-size:12px;min-height:44px;border:1px solid #ffffff24;background:#ffffff05;border-radius:11px}.all-materials-calculator .btn-premium{font-size:12px;padding:12px 20px;min-height:44px;border-radius:11px}
@media(max-width:1000px){.am-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}.am-row-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.am-client .am-row-fields{grid-template-columns:1fr}}
@media(max-width:540px){.all-materials-calculator{padding:0 16px;margin:24px auto 44px;gap:18px}.am-intro{flex-wrap:wrap;gap:12px}.am-intro h2{font-size:22px}.am-global{padding:17px;gap:14px;grid-template-columns:1fr 1fr}.am-catalog-heading{align-items:stretch;flex-direction:column;gap:12px}.am-catalog-heading input{max-width:none}.am-catalog{grid-template-columns:1fr;gap:8px}.am-choice{min-height:76px;padding:14px 16px}.am-row{padding:16px}.am-row-fields{grid-template-columns:1fr}.am-summary{padding:18px}.am-summary-items>div{flex-direction:column;gap:4px}.am-summary-total dd{font-size:23px}.am-actions>button{flex:1 1 45%}.am-count{font-size:11px;padding:6px 10px}}
@media(prefers-reduced-motion:reduce){.am-choice{transition:none}}

@media(max-width:540px){.am-summary-items>div>span:last-child{text-align:left}}
/* Keep product names and quantity equations on separate lines, including
   numeric brand names, so calculator photos can be read as invoice items. */
.am-summary-items>div{flex-direction:column;align-items:flex-start;gap:5px}
.am-summary-items>div>span:last-child{font-size:14px;line-height:1.6;text-align:left}

.am-summary-discount dt{font-size:15px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:#eee}
