/* Checkout presentation only. Keep Simple Checkout controls and server totals intact. */
#simplecheckout_form_0 .mall-checkout-optional{grid-column:1/-1;min-width:0;border:0}
#simplecheckout_form_0 .mall-checkout-optional>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;padding:8px 0;font-size:14px;line-height:1.5;font-weight:500;color:#454654;cursor:pointer}
#simplecheckout_form_0 .mall-checkout-optional>summary::-webkit-details-marker{display:none}
#simplecheckout_form_0 .mall-checkout-optional>summary:after{content:"";width:8px;height:8px;flex:0 0 8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:0 3px 4px 0}
#simplecheckout_form_0 .mall-checkout-optional[open]>summary:after{transform:rotate(225deg);margin-bottom:0}
#simplecheckout_form_0 .mall-checkout-optional>summary:hover{color:var(--checkout-accent)}
#simplecheckout_form_0 .mall-checkout-optional>summary:focus-visible{outline:2px solid var(--checkout-accent);outline-offset:4px;border-radius:6px}
#simplecheckout_form_0 .mall-checkout-optional[open]>summary{margin-bottom:8px}
#simplecheckout_form_0 #simplecheckout_comment{padding:10px 26px}
#simplecheckout_form_0 #simplecheckout_comment:has(details[open]){padding-bottom:22px}
#simplecheckout_form_0 #simplecheckout_comment .checkout-heading[hidden]{display:none!important}
#simplecheckout_form_0 #simplecheckout_customer fieldset{row-gap:16px}
#simplecheckout_form_0 #simplecheckout_cart .table-responsive{overflow:visible;border:0;margin:0 0 24px}
#simplecheckout_form_0 #simplecheckout_cart table.simplecheckout-cart{display:block;width:100%;border:0}
#simplecheckout_form_0 #simplecheckout_cart colgroup,#simplecheckout_form_0 #simplecheckout_cart thead{display:none}
#simplecheckout_form_0 #simplecheckout_cart tbody{display:grid;gap:12px;width:100%}
#simplecheckout_form_0 #simplecheckout_cart .mall-order-item{display:grid;grid-template-columns:88px minmax(0,1fr) 112px auto 32px;gap:20px;align-items:center;padding:18px;border:1px solid #e8e8ee;border-radius:16px;background:#fff;width:100%;margin:0;position:relative}
#simplecheckout_form_0 #simplecheckout_cart .mall-order-item>td{display:block!important;float:none;width:auto!important;min-width:0;padding:0!important;border:0!important;text-align:left;grid-column:auto;grid-row:auto}
#simplecheckout_form_0 #simplecheckout_cart .mall-order-item>td:before{display:none!important}
#simplecheckout_form_0 #simplecheckout_cart .mall-order-item>td.model,#simplecheckout_form_0 #simplecheckout_cart .mall-order-item>td.price,#simplecheckout_form_0 #simplecheckout_cart .mall-order-item td.name .image{display:none!important}
#simplecheckout_form_0 #simplecheckout_cart .mall-order-item td.image img{display:block;width:88px;height:88px;max-width:100%;object-fit:contain;border-radius:8px}
#simplecheckout_form_0 #simplecheckout_cart .mall-order-item td.name>a{display:block;font-size:14px;line-height:1.55;font-weight:500;overflow-wrap:anywhere}
#simplecheckout_form_0 #simplecheckout_cart .mall-order-item .options:empty{display:none}
#simplecheckout_form_0 #simplecheckout_cart .mall-order-item .quantity .input-group{width:112px;max-width:112px!important;height:40px;border:1px solid #dedee7;border-radius:10px;overflow:hidden;justify-content:center;background:#fff}
#simplecheckout_form_0 #simplecheckout_cart .mall-order-item .quantity .input-group-btn{flex:0 0 34px}
#simplecheckout_form_0 #simplecheckout_cart .mall-order-item .quantity button{width:34px;min-width:34px;height:38px;min-height:38px;border-radius:0;background:transparent!important;margin:0}
#simplecheckout_form_0 #simplecheckout_cart .mall-order-item .quantity button:hover{background:#eeeeff!important}
#simplecheckout_form_0 #simplecheckout_cart .mall-order-item .quantity input{flex:0 0 42px;width:42px;height:38px;font-size:14px;line-height:38px;margin:0;box-shadow:none}
#simplecheckout_form_0 #simplecheckout_cart .mall-order-item td.total{text-align:right!important;font-size:16px;font-weight:600;white-space:nowrap;line-height:1.4}
#simplecheckout_form_0 #simplecheckout_cart .mall-order-item td.remove{align-self:start}
#simplecheckout_form_0 #simplecheckout_cart .mall-order-item td.remove button{display:flex;align-items:center;justify-content:center;padding:0;width:32px;height:36px;min-width:32px;border:0;background:transparent!important;color:#797b87!important;border-radius:8px;box-shadow:none}
#simplecheckout_form_0 #simplecheckout_cart .mall-order-item td.remove button:hover{background:#f3f3f8!important;color:#272936!important}
#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart-total{display:flex;align-items:baseline;justify-content:space-between;gap:16px;text-align:left;font-size:14px;padding:8px 0}
#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart-total>span:first-child{min-width:0}
#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart-total-value{margin-left:auto;flex:0 0 auto}
#simplecheckout_form_0 #simplecheckout_cart .simplecheckout-cart-total-remove:empty{display:none}
#simplecheckout_form_0 #simplecheckout_cart #total_total{border-top:1px solid #e8e8ee;padding:16px 0 0;margin-top:10px;font-size:23px;font-weight:600}
#simplecheckout_form_0 #buttons{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:16px 24px;padding:22px 26px!important}
#simplecheckout_form_0 #buttons:before,#simplecheckout_form_0 #buttons:after{display:none}
#simplecheckout_form_0 #buttons .simplecheckout-button-right{display:contents}
#simplecheckout_form_0 #buttons #agreement_checkbox{grid-column:1/-1;grid-row:1;width:100%;max-width:none;margin:0}
#simplecheckout_form_0 #buttons #agreement_checkbox .checkbox{margin:0}
#simplecheckout_form_0 #buttons #agreement_checkbox label{color:#747580;font-size:12px;line-height:1.65}
#simplecheckout_form_0 #buttons .simplecheckout-button-left{display:block!important;grid-column:1;grid-row:2;order:0;width:auto;text-align:left}
#simplecheckout_form_0 #buttons #simplecheckout_button_back{display:inline-flex;align-items:center;justify-content:flex-start;background:transparent!important;padding:12px 0;min-height:44px;font-size:13px;gap:9px;border:0!important;white-space:nowrap}
#simplecheckout_form_0 #buttons #simplecheckout_button_back:before{content:"";width:7px;height:7px;border-left:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
#simplecheckout_form_0 #buttons #simplecheckout_button_confirm{grid-column:2;grid-row:2;display:flex;align-items:center;justify-content:center;width:100%;min-height:58px;margin:0;padding:16px 20px;border-radius:14px;font-size:16px;letter-spacing:0;line-height:1.5;white-space:normal;text-align:center}
@media(max-width:991px){#simplecheckout_form_0 #simplecheckout_cart .mall-order-item{grid-template-columns:80px minmax(0,1fr) 112px auto 32px;gap:14px}}
@media(max-width:767px){
 #simplecheckout_form_0 #simplecheckout_cart{padding:18px 16px}
 #simplecheckout_form_0 #simplecheckout_comment{padding:8px 20px}
 #simplecheckout_form_0 #simplecheckout_cart .mall-order-item{grid-template-columns:64px minmax(0,1fr) 28px;gap:14px 12px;padding:14px;border-radius:14px}
 #simplecheckout_form_0 #simplecheckout_cart .mall-order-item td.image{grid-column:1;grid-row:1;align-self:start}
 #simplecheckout_form_0 #simplecheckout_cart .mall-order-item td.image img{width:64px;height:72px}
 #simplecheckout_form_0 #simplecheckout_cart .mall-order-item td.name{grid-column:2;grid-row:1}
 #simplecheckout_form_0 #simplecheckout_cart .mall-order-item td.name>a{font-size:13px;line-height:1.5}
 #simplecheckout_form_0 #simplecheckout_cart .mall-order-item td.remove{grid-column:3;grid-row:1}
 #simplecheckout_form_0 #simplecheckout_cart .mall-order-item td.remove button{width:28px;min-width:28px;height:32px}
 #simplecheckout_form_0 #simplecheckout_cart .mall-order-item td.quantity{grid-column:1/3;grid-row:2;justify-self:start}
 #simplecheckout_form_0 #simplecheckout_cart .mall-order-item td.total{grid-column:2/4;grid-row:2;justify-self:end;align-self:center;font-size:15px}
 #simplecheckout_form_0 #simplecheckout_cart .mall-care-cart{padding:10px;margin-top:10px}
 #simplecheckout_form_0 #simplecheckout_cart #total_total{font-size:21px}
 #simplecheckout_form_0 #buttons{gap:14px;padding:18px 16px!important}
 #simplecheckout_form_0 #buttons #simplecheckout_button_confirm{min-height:56px;padding:14px 10px;font-size:15px}
}
@media(max-width:359px){
 #simplecheckout_form_0 #simplecheckout_cart{padding:16px 12px}
 #simplecheckout_form_0 #simplecheckout_cart .mall-order-item{padding:12px;grid-template-columns:52px minmax(0,1fr) 24px;gap:12px 8px}
 #simplecheckout_form_0 #simplecheckout_cart .mall-order-item td.image img{width:52px;height:64px}
 #simplecheckout_form_0 #simplecheckout_cart .mall-order-item .quantity .input-group{width:98px;max-width:98px!important}
 #simplecheckout_form_0 #simplecheckout_cart .mall-order-item .quantity .input-group-btn{flex-basis:29px}
 #simplecheckout_form_0 #simplecheckout_cart .mall-order-item .quantity button{width:29px;min-width:29px}
 #simplecheckout_form_0 #simplecheckout_cart .mall-order-item .quantity input{width:38px;flex-basis:38px}
 #simplecheckout_form_0 #simplecheckout_cart .mall-order-item td.total{font-size:14px}
 #simplecheckout_form_0 #buttons{gap:12px;padding:16px 12px!important}
 #simplecheckout_form_0 #buttons #simplecheckout_button_confirm{font-size:14px}
}

@media(max-width:767px){
 #simplecheckout_form_0 #buttons .simplecheckout-button-left{grid-row:1;align-self:start}
 #simplecheckout_form_0 #buttons #agreement_checkbox{grid-column:2;grid-row:1}
 #simplecheckout_form_0 #buttons #simplecheckout_button_confirm{grid-column:1/-1;grid-row:2}
}

/* Hide the decorative Safari contact badge; retain semantic autocomplete. */
#simplecheckout_customer input::-webkit-contacts-auto-fill-button{visibility:hidden;display:none!important;pointer-events:none;position:absolute;right:0}
