.commerce-page{max-width:1440px;margin:auto}
.commerce-page [hidden]{display:none!important}
.commerce-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;font-size:12px;color:#786a60;margin:0 0 24px}
.commerce-heading{margin-bottom:28px}
.subpage-main .commerce-heading h1{margin:0 0 10px;font-size:clamp(30px,3.3vw,46px)}
.commerce-heading p{font-size:13px;color:#786a60}
.commerce-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,370px);gap:36px;align-items:start}
.commerce-main{min-width:0}
.cart-items,.checkout-form{border:1px solid #e8ded4;background:#fffaf5;padding:24px}
.cart-item{display:grid;grid-template-columns:120px minmax(0,1fr) auto;gap:20px;padding:22px 0;border-bottom:1px solid #e8ded4}
.cart-item:first-child{padding-top:0}.cart-item:last-child{padding-bottom:0;border-bottom:0}
.cart-item-image{aspect-ratio:1;background:#f2eae1;display:block;overflow:hidden}
.subpage-main .cart-item-image img{width:100%;height:100%;object-fit:contain}
.subpage-main .cart-item h2{font:600 15px/1.65 var(--font-body);letter-spacing:0;margin:0 0 6px}
.cart-item-info>p{margin:0 0 5px;font-size:13px}
.cart-line-total,.cart-price{font-weight:600;color:#a64009;font-size:14px}
.cart-line-total{white-space:nowrap;padding-top:3px}
.cart-item-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}
.cart-item-controls label{font-weight:400;font-size:12px;margin:0}
.subpage-main .cart-item-controls input{width:70px;padding:7px 8px;min-height:40px}
.subpage-main .cart-item-controls button{min-height:40px;padding:7px 10px;font-size:12px}
.subpage-main .cart-item-controls .cart-remove{background:transparent;color:#8b4c39;border-color:transparent}
.subpage-main .cart-item-controls .cart-update,.subpage-main .cart-secondary{background:#fffdf9;border:1px solid #d4c2b3;color:#3b332d}
.commerce-summary{border:1px solid #e8ded4;background:#f8f0e7;padding:26px;position:sticky;top:130px;min-width:0}
.subpage-main .commerce-summary h2,.subpage-main .checkout-form h2{font-size:25px;margin:0 0 22px}
.commerce-totals{margin:0}
.commerce-totals>div{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin:0 0 15px;font-size:13px}
.commerce-totals dt{font-weight:400;max-width:60%}.commerce-totals dd{margin:0;text-align:right}
.commerce-totals>div:first-child dd{font-size:19px;font-weight:600;color:#a64009}
.commerce-summary .button{display:flex;width:100%;gap:10px;margin-top:22px;text-decoration:none}
.commerce-help{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:20px;font-size:12px;color:#786a60}
.commerce-help .icon{width:16px;height:16px}.commerce-help a{font-weight:600;color:#a64009}
.commerce-note{font-size:12px;line-height:1.8;color:#786a60;margin-top:12px}
.commerce-back,.commerce-edit{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-size:13px;color:#a64009;margin-top:12px}
.commerce-back .icon{transform:rotate(180deg);width:18px;height:18px}
.checkout-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.checkout-field{min-width:0}.checkout-field-full{grid-column:1/-1}
.checkout-field label{display:block;font-size:13px;font-weight:500;margin:0 0 7px}.checkout-field label span{color:#a64009}
.subpage-main .checkout-field input,.subpage-main .checkout-field textarea{display:block;width:100%;font-size:14px;min-height:46px;background:#fffdf9}
.checkout-field textarea{resize:vertical}
.checkout-payment{margin:24px 0 20px;padding:0;border:0;min-width:0}
.checkout-payment legend{font:500 14px/1.6 var(--font-body);border:0;margin:0 0 8px;padding:0}
.checkout-payment label{display:flex;align-items:center;gap:10px;font-weight:400;font-size:13px;min-height:44px;cursor:pointer;margin:0}
.checkout-payment input{margin:0;accent-color:#b44100;flex:none}
.checkout-submit{width:100%}.subpage-main .checkout-submit:disabled{opacity:.65;cursor:wait}
.checkout-order-items{list-style:none;padding:0;margin:0 0 22px}
.checkout-order-items li{display:flex;align-items:baseline;gap:18px;padding:12px 0;border-bottom:1px solid #e3d6ca;font-size:12px}
.checkout-order-items a{flex:1;min-width:0;overflow-wrap:anywhere}.checkout-order-items span{color:#786a60;white-space:nowrap}.checkout-order-items strong{font-weight:500;white-space:nowrap}
.checkout-error{background:#fff1ec;color:#8d351d;padding:12px 14px;border:1px solid #e6b6a4;margin:0 0 16px;font-size:13px}
.checkout-success{padding:26px;border:1px solid #c7d7c6;background:#f2f7ef;color:#334b30;font-size:16px;margin:0 0 28px}
.cart-recommendations{margin-top:64px;border-top:1px solid #e8ded4;padding-top:32px}
.cart-section-heading{margin:0 0 25px}.subpage-main .cart-section-heading h2{font-size:clamp(25px,2.6vw,35px);margin:0 0 8px}.cart-section-heading p{font-size:13px;color:#786a60}
.cart-recommendation-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.cart-suggestion{display:flex;flex-direction:column;min-width:0;border:1px solid #e8ded4;background:#fffaf5}
.cart-suggestion-image{aspect-ratio:4/3;display:block;overflow:hidden;background:#f2eae1}
.subpage-main .cart-suggestion-image img{width:100%;height:100%;object-fit:contain}
.cart-suggestion-body{padding:18px;display:flex;flex:1;flex-direction:column;gap:12px}
.subpage-main .cart-suggestion h3{font:500 14px/1.6 var(--font-body);margin:0;letter-spacing:0;overflow-wrap:anywhere}
.cart-suggestion form{margin-top:auto}.subpage-main .cart-secondary{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px;min-height:44px;padding:9px 12px}
.cart-empty{padding:48px 24px;text-align:center;background:#fffaf5;border:1px solid #e8ded4}
.cart-empty>.icon{width:40px;height:40px;color:#b44100;margin-bottom:18px}.subpage-main .cart-empty h2{font-size:28px;margin:0 0 12px}.cart-empty p{font-size:14px;color:#786a60;margin-bottom:24px}.cart-empty .button{display:inline-flex}
@media(max-width:1099px){.commerce-layout{grid-template-columns:minmax(0,1fr) 300px;gap:24px}.cart-item{grid-template-columns:90px minmax(0,1fr);gap:15px}.cart-line-total{grid-column:2;margin:0}.cart-recommendation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:899px){.commerce-layout{grid-template-columns:minmax(0,1fr)}.commerce-summary{position:static}.commerce-summary .button{max-width:440px}.commerce-heading{margin-bottom:22px}}
@media(max-width:599px){.cart-items,.checkout-form,.commerce-summary{padding:18px}.checkout-fields{grid-template-columns:minmax(0,1fr);gap:15px}.cart-item{grid-template-columns:76px minmax(0,1fr);gap:14px}.subpage-main .cart-item h2{font-size:13px}.cart-line-total{font-size:13px}.cart-item-controls{gap:6px}.cart-item-controls label{width:100%}.cart-recommendations{margin-top:40px;padding-top:25px}.cart-recommendation-grid{grid-template-columns:minmax(0,1fr);gap:18px}.cart-suggestion{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:start}.cart-suggestion-image{aspect-ratio:1}.cart-suggestion-body{padding:14px;gap:10px}.subpage-main .cart-suggestion h3{font-size:13px}}
