/* Presentation only. Scoped to customer transaction screens. */
body.sm-customer-ui{--smcu-bg:#10110f;--smcu-panel:#1b1c18;--smcu-soft:#24251f;--smcu-line:#3d3e33;--smcu-text:#f4efe4;--smcu-muted:#bcb9ac;--smcu-gold:#dabb73;background:var(--smcu-bg);color:var(--smcu-text)}
body.sm-customer-ui #main{font-size:16px;line-height:1.6}
body.sm-customer-ui #main *{box-sizing:border-box}
body.sm-customer-ui #main [hidden]{display:none!important}
body.sm-customer-ui .sm-transaction-page{max-width:1040px;margin-inline:auto;padding:24px 20px 40px}
body.sm-customer-ui .sm-transaction-title{font-size:clamp(24px,5vw,32px)!important;line-height:1.3;margin:0 0 20px!important;color:var(--smcu-text)!important}
body.sm-customer-ui #main .woocommerce-MyAccount-content{border:0!important;background:transparent!important;padding:0!important}
body.sm-customer-ui #main :is(h2,h3,h4,th){color:var(--smcu-text)!important}
body.sm-customer-ui #main :is(h2,h3){line-height:1.4}
body.sm-customer-ui #main :is(a,button,input,textarea,select,summary):focus-visible{outline:3px solid #edcd84!important;outline-offset:3px}
body.sm-customer-ui #main :is(button,.button){min-height:46px;line-height:1.35;white-space:normal;border-radius:10px;padding:12px 16px;box-shadow:none}
body.sm-customer-ui #main :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]),select,textarea){font-size:16px!important;color:var(--smcu-text);border-radius:9px;min-height:46px;background:var(--smcu-soft);border-color:#626250}
body.sm-customer-ui #main textarea{min-height:76px!important;height:76px;max-height:180px;resize:vertical;line-height:1.5}
body.sm-customer-ui #main :is(.woocommerce-info,.woocommerce-message,.woocommerce-error){padding:14px 16px!important;line-height:1.6;border-radius:10px;background:#22221b;color:var(--smcu-text);border:1px solid #655638;margin:0 0 16px!important;font-size:14px;list-style:none}
body.sm-customer-ui #main :is(.woocommerce-info,.woocommerce-message,.woocommerce-error)::before{display:none!important}
body.sm-customer-ui.woocommerce-order-received .smig-checkout-note{display:none!important}
body.sm-customer-ui.woocommerce-order-pay .smig-checkout-note{display:none!important}
body.sm-customer-ui.woocommerce-order-pay #order_review>.shop_table{table-layout:fixed;border-collapse:collapse;margin-bottom:20px}
body.sm-customer-ui.woocommerce-order-pay #order_review>.shop_table :is(td,th){padding:12px 8px!important;font-size:14px;overflow-wrap:anywhere;border-color:var(--smcu-line)!important}
body.sm-customer-ui.woocommerce-order-pay #order_review>.shop_table thead th:first-child{width:48%;text-align:left}
body.sm-customer-ui.woocommerce-order-pay #order_review>.shop_table thead th:nth-child(2){width:16%;text-align:center}
body.sm-customer-ui.woocommerce-order-pay #order_review>.shop_table :is(td,th):last-child{text-align:right}
body.sm-customer-ui #main #payment .payment_methods{padding:0!important;list-style:none;border:1px solid var(--smcu-line)!important;border-radius:12px;overflow:hidden}
body.sm-customer-ui #main #payment .payment_methods>li{padding:14px 12px!important;border-color:var(--smcu-line)!important;margin:0!important}
body.sm-customer-ui #main #payment .payment_methods label{font-size:14px!important;line-height:1.5}
body.sm-customer-ui #main #payment .payment_methods label img{max-width:98px!important;max-height:30px!important;object-fit:contain;background:#fff!important;padding:4px!important;border-radius:5px}
body.sm-customer-ui #main #payment input[type=radio]{accent-color:var(--smcu-gold)!important;width:20px;min-width:20px;height:20px;vertical-align:middle}
body.sm-customer-ui #main #payment .woocommerce-privacy-policy-text{font-size:13px!important;color:var(--smcu-muted);margin:16px 0;line-height:1.65}
body.sm-customer-ui #main #place_order{display:block!important;width:100%!important;min-height:50px;font-size:17px!important;border-radius:10px!important}
body.sm-customer-ui .sm-purchase-steps{gap:8px;margin:12px 0 20px}
body.sm-customer-ui .sm-purchase-steps>*{min-height:42px;padding:9px 5px!important;font-size:13px!important;line-height:1.35;border-radius:9px}
body.sm-customer-ui .smcu-order-summary{padding:22px;background:var(--smcu-panel);border:1px solid #57503a;border-radius:16px;margin:0 0 24px}
body.sm-customer-ui .smcu-order-top{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:14px}
body.sm-customer-ui .smcu-eyebrow{font-size:14px;font-weight:650;color:var(--smcu-muted)}
body.sm-customer-ui .smcu-status{font-size:12px;line-height:1.4;padding:5px 9px;background:#393020;color:#f0d18c;border-radius:20px}
body.sm-customer-ui .smcu-order-summary h2{font-size:25px!important;margin:0 0 8px!important;letter-spacing:0}
body.sm-customer-ui .smcu-state-message{font-size:14px;line-height:1.65;color:var(--smcu-muted);margin:0 0 18px}
body.sm-customer-ui .smcu-order-total{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-block:1px solid var(--smcu-line)}
body.sm-customer-ui .smcu-order-total>span{font-size:14px;color:var(--smcu-muted)}
body.sm-customer-ui .smcu-order-total strong{font-size:28px;line-height:1.3;color:var(--smcu-gold);text-align:right}
body.sm-customer-ui .smcu-order-meta{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0 0}
body.sm-customer-ui .smcu-order-meta :is(dt,dd){padding:0;margin:0;overflow-wrap:anywhere}
body.sm-customer-ui .smcu-order-meta dt{font-size:12px;color:var(--smcu-muted)}
body.sm-customer-ui .smcu-order-meta dd{font-size:14px;margin-top:3px}
body.sm-customer-ui .smcu-order-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
body.sm-customer-ui .smcu-order-actions:empty{display:none}
body.sm-customer-ui #main .smcu-order-actions .button{display:flex!important;align-items:center;justify-content:center;width:100%;margin:0!important;text-decoration:none!important;font-size:15px;background:transparent;color:var(--smcu-text);border:1px solid #655f4c;font-weight:650}
body.sm-customer-ui #main .smcu-order-actions .pay{grid-column:1/-1;order:-3;background:var(--smcu-gold)!important;color:#10110f!important;border-color:var(--smcu-gold)!important;font-size:17px;min-height:50px}
body.sm-customer-ui #main .smcu-order-actions .sm_edit_details{order:-2}
body.sm-customer-ui #main .smcu-order-actions .cancel{color:#e6b3a6!important;border-color:#63483f;font-weight:500}
body.sm-customer-ui #main .smcu-order-actions a.woocommerce-button.button{border-radius:10px!important;border:1px solid #655f4c!important}
body.sm-customer-ui #main .smcu-order-actions a.woocommerce-button.button:not(.pay){background:transparent!important;color:var(--smcu-text)!important}
body.sm-customer-ui #main .smcu-order-actions a.woocommerce-button.button.cancel{color:#e6b3a6!important;border-color:#63483f!important}
body.sm-customer-ui .woocommerce-order-details{padding:0!important;background:transparent!important;border:0!important;margin:0 0 24px!important}
body.sm-customer-ui .woocommerce-order-details__title{font-size:19px!important;margin:0 0 12px!important}
body.sm-customer-ui #main table.woocommerce-table--order-details{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;margin:0 0 16px;background:var(--smcu-panel);border:1px solid var(--smcu-line);border-radius:12px;overflow:hidden}
body.sm-customer-ui #main table.woocommerce-table--order-details :is(td,th){padding:14px 16px!important;border:0!important;border-bottom:1px solid var(--smcu-line)!important;vertical-align:top;font-size:14px;line-height:1.6;overflow-wrap:anywhere;background:transparent;color:var(--smcu-text)}
body.sm-customer-ui #main table.woocommerce-table--order-details th:first-child{width:62%;text-align:left}
body.sm-customer-ui #main table.woocommerce-table--order-details :is(td,th):last-child{text-align:right}
body.sm-customer-ui #main table.woocommerce-table--order-details thead th{font-size:12px;color:var(--smcu-muted)!important;font-weight:500}
body.sm-customer-ui #main table.woocommerce-table--order-details .product-name a{color:var(--smcu-text)!important;font-weight:650;text-decoration:none}
body.sm-customer-ui #main table.woocommerce-table--order-details .product-quantity{display:inline-block;white-space:nowrap;color:var(--smcu-muted);font-size:13px;margin-left:4px}
body.sm-customer-ui #main table.woocommerce-table--order-details .amount{color:var(--smcu-text)!important;font-weight:600;white-space:nowrap}
body.sm-customer-ui #main table.woocommerce-table--order-details tfoot th{font-weight:500;color:var(--smcu-muted)!important}
body.sm-customer-ui #main table.woocommerce-table--order-details small.shipped_via{display:block;font-size:12px;color:var(--smcu-muted)}
body.sm-customer-ui #main :is(.smcu-tracking,.smcu-billing,.smcu-note,.smcu-line-help){border:1px solid var(--smcu-line);border-radius:10px;background:var(--smcu-panel);margin:12px 0;overflow:hidden}
body.sm-customer-ui #main :is(.smcu-tracking,.smcu-billing,.smcu-note,.smcu-line-help)>summary{cursor:pointer;font-size:14px;font-weight:600;padding:13px 16px;color:var(--smcu-text)!important;min-height:46px}
body.sm-customer-ui .smcu-tracking .stoneman-tcat-tracking{border:0!important;padding:4px 16px 16px!important;margin:0!important;background:transparent!important}
body.sm-customer-ui .smcu-tracking .stoneman-tcat-tracking__title{font-size:17px!important}
body.sm-customer-ui .smcu-tracking .stoneman-tcat-tracking__lead{font-size:14px}
body.sm-customer-ui .woocommerce-customer-details{padding:0!important;border:0!important;margin:20px 0!important;background:transparent!important}
body.sm-customer-ui .woocommerce-columns--addresses{display:flex!important;flex-direction:column;gap:12px;margin:0!important}
body.sm-customer-ui .woocommerce-columns--addresses>*{width:100%!important;float:none!important;margin:0!important}
body.sm-customer-ui .woocommerce-column--shipping-address{order:-1;background:var(--smcu-panel);border:1px solid var(--smcu-line);border-radius:12px;padding:16px}
body.sm-customer-ui .woocommerce-column__title{font-size:17px!important;margin:0 0 8px!important}
body.sm-customer-ui .smcu-billing .woocommerce-column{padding:0 16px 16px}
body.sm-customer-ui .smcu-billing .woocommerce-column__title{display:none}
body.sm-customer-ui .woocommerce-customer-details address{border:0!important;padding:0!important;margin:0!important;border-radius:0;line-height:1.7;font-style:normal;font-size:14px;overflow-wrap:anywhere;background:transparent!important}
body.sm-customer-ui .woocommerce-customer-details address p{margin:6px 0 0!important;padding:0!important}
body.sm-customer-ui .woocommerce-customer-details address p::before{display:none!important}
body.sm-customer-ui .sm-line-member-entry{display:block!important;border:1px solid #385141!important;background:#17271f!important;color:#e4f0e7!important;padding:18px!important;border-radius:12px;margin:20px 0!important}
body.sm-customer-ui .sm-line-entry-content strong{color:#e4f0e7!important;font-size:18px!important;line-height:1.4}
body.sm-customer-ui .sm-line-entry-content p{color:#c2d4c8!important;font-size:14px!important;line-height:1.6;margin:6px 0 14px!important}
body.sm-customer-ui .sm-line-entry-actions{display:flex;flex-wrap:wrap;gap:10px;margin:0!important}
body.sm-customer-ui #main .sm-line-entry-actions :is(a,button){display:flex;justify-content:center;align-items:center;min-height:46px;padding:11px 16px!important;font-size:15px!important;border-radius:9px;line-height:1.4;text-decoration:none;margin:0!important}
body.sm-customer-ui #main .sm-line-entry-primary{background:#9ad9af!important;color:#102619!important;border:1px solid #9ad9af!important;flex:1}
body.sm-customer-ui #main .sm-line-entry-dismiss{color:#e4f0e7!important;background:transparent!important;border:1px solid #577764!important}
body.sm-customer-ui #main .smcu-line-help{margin:12px 0 0;background:transparent;border-color:#385141}
body.sm-customer-ui #main .smcu-line-help :is(p,.sm-line-entry-help){padding:0 14px;font-size:13px!important;color:#c2d4c8!important;line-height:1.6;margin:0 0 12px!important}
body.sm-customer-ui .sm-b2b-dashboard-card,body.sm-customer-ui .sm-wallet-dashboard-card{padding:18px!important;border-radius:12px;border:1px solid var(--smcu-line);background:var(--smcu-panel)!important;margin:16px 0!important;gap:16px}
body.sm-customer-ui .sm-b2b-dashboard-card h3,body.sm-customer-ui .sm-wallet-dashboard-card h3{font-size:21px!important;margin:4px 0!important}
body.sm-customer-ui .smcu-account-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0 22px}
body.sm-customer-ui #main .smcu-account-shortcuts a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 6px;border:1px solid #655f4c;border-radius:10px;background:var(--smcu-panel);color:var(--smcu-text)!important;font-size:14px;font-weight:600;text-decoration:none;text-align:center}
body.sm-customer-ui #main .sm-self-edit{border:0!important;background:transparent!important;padding:18px 16px!important;margin:0 auto!important;max-width:680px}
body.sm-customer-ui #main .sm-self-edit h1{font-size:26px!important;line-height:1.4;margin:0 0 12px!important}
body.sm-customer-ui #main .sm-self-edit h3{font-size:18px!important;margin:20px 0 12px!important}
body.sm-customer-ui #main .sm-self-edit label{font-size:14px}
body.sm-customer-ui #main .sm-self-edit .smse-grid{gap:14px}
body.sm-customer-ui #main .woocommerce form .form-row{padding:0;margin:0 0 14px}
body.sm-customer-ui #main .woocommerce form .form-row label{font-size:14px!important;margin-bottom:5px;line-height:1.5}
body.sm-customer-ui #main .woocommerce form .form-row .required{color:#eac979}
body.sm-customer-ui .smcu-note #order_comments_field{padding:0 14px 14px!important;margin:0!important}
body.sm-customer-ui .smcu-note #order_comments_field>label{display:none}
body.sm-customer-ui .smsg-picker-heading h3{font-size:17px!important}
body.sm-customer-ui :is(.smsg-earliest,#smsg-date-help,.smsg-rules){font-size:13px!important;line-height:1.6}
body.sm-customer-ui .smsg-date-options{display:grid!important;grid-template-columns:1fr 1fr;gap:10px}
body.sm-customer-ui .smsg-date-options>button{min-width:0;display:flex;flex-direction:column;gap:4px;font-size:14px!important;padding:10px!important;white-space:normal!important;align-items:center;color:var(--smcu-text)!important}
body.sm-customer-ui .smsg-date-options>button span{display:block;font-size:12px;line-height:1.5}
body.sm-customer-ui .smsg-date-options>button[aria-pressed=true]{border-color:var(--smcu-gold)!important;background:#332e20!important}
body.sm-customer-ui .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions{display:flex;flex-wrap:wrap;gap:8px}
body.sm-customer-ui .woocommerce-orders-table .button{margin:0!important}
/* Order history uses roomy cards instead of six squeezed columns, including App's narrow web container. */
body.sm-customer-ui #main .woocommerce-orders-table{display:block;width:100%;border:0!important;background:transparent!important}
body.sm-customer-ui #main .woocommerce-orders-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body.sm-customer-ui #main .woocommerce-orders-table tbody{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:16px}
body.sm-customer-ui #main .woocommerce-orders-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:18px;gap:14px;background:var(--smcu-panel)!important;border:1px solid var(--smcu-line)!important;border-radius:14px}
body.sm-customer-ui #main .woocommerce-orders-table tbody td{display:block!important;width:auto!important;padding:0!important;border:0!important;text-align:left!important;background:transparent!important;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
body.sm-customer-ui #main .woocommerce-orders-table tbody td::before{content:attr(data-title);display:block;float:none!important;font-size:12px;font-weight:400;color:var(--smcu-muted);margin:0 0 3px}
body.sm-customer-ui #main .woocommerce-orders-table tbody .woocommerce-orders-table__cell-order-number{font-size:20px;font-weight:700;white-space:nowrap}
body.sm-customer-ui #main .woocommerce-orders-table tbody .woocommerce-orders-table__cell-order-number::before,body.sm-customer-ui #main .woocommerce-orders-table tbody .woocommerce-orders-table__cell-order-date::before{display:none}
body.sm-customer-ui #main .woocommerce-orders-table tbody .woocommerce-orders-table__cell-order-date{text-align:right!important;font-size:12px;align-self:center}
body.sm-customer-ui #main .woocommerce-orders-table tbody .woocommerce-orders-table__cell-order-total{text-align:right!important}
body.sm-customer-ui #main .woocommerce-orders-table .woocommerce-orders-table__cell-order-total .amount{font-size:20px;color:var(--smcu-gold)!important}
body.sm-customer-ui #main .woocommerce-orders-table tbody .woocommerce-orders-table__cell-stoneman-tcat-logistics{grid-column:1/-1;padding:12px 0!important;border-block:1px solid var(--smcu-line)!important;font-size:13px;color:var(--smcu-muted)}
body.sm-customer-ui #main .woocommerce-orders-table tbody .woocommerce-orders-table__cell-order-actions{grid-column:1/-1;display:grid!important;grid-template-columns:1fr 1fr;gap:9px}
body.sm-customer-ui #main .woocommerce-orders-table tbody .woocommerce-orders-table__cell-order-actions::before{display:none}
body.sm-customer-ui #main .woocommerce-orders-table a.woocommerce-button.button{display:flex;align-items:center;justify-content:center;text-align:center;min-height:46px;padding:11px 8px!important;font-size:14px!important;border-radius:9px!important;border:1px solid #655f4c!important;background:transparent!important;color:var(--smcu-text)!important;text-decoration:none!important}
body.sm-customer-ui #main .woocommerce-orders-table a.woocommerce-button.button.pay{order:-2;grid-column:1/-1;background:var(--smcu-gold)!important;color:#10110f!important;border-color:var(--smcu-gold)!important}
body.sm-customer-ui #main .woocommerce-orders-table a.woocommerce-button.button.view{order:-1}
body.sm-customer-ui #main .woocommerce-orders-table a.woocommerce-button.button.cancel{order:2;grid-column:1/-1;color:#e6b3a6!important;border-color:transparent!important;font-weight:400}
@media(max-width:689px){
 body.sm-customer-ui .sm-transaction-page{padding:18px 14px 28px!important}
 body.sm-customer-ui .smcu-order-summary{padding:18px 16px}
 body.sm-customer-ui #main table.woocommerce-table--order-details :is(td,th){padding:12px!important}
 body.sm-customer-ui .smcu-order-actions{grid-template-columns:1fr}
 body.sm-customer-ui .smcu-order-actions .pay{grid-column:auto}
 body.sm-customer-ui .sm-b2b-dashboard-card,body.sm-customer-ui .sm-wallet-dashboard-card{flex-direction:column;align-items:flex-start}
 body.sm-customer-ui .woocommerce-MyAccount-navigation ul{display:flex;gap:8px;overflow:auto;padding:0 0 10px!important;scrollbar-width:thin}
 body.sm-customer-ui .woocommerce-MyAccount-navigation li{flex:0 0 auto;list-style:none;margin:0!important}
 body.sm-customer-ui .woocommerce-MyAccount-navigation a{display:block;padding:10px 14px!important;border:1px solid var(--smcu-line);border-radius:9px;font-size:14px;min-height:44px}
 body.sm-customer-ui .woocommerce-MyAccount-navigation .is-active a{background:var(--smcu-gold);color:#10110f!important}
 body.sm-customer-ui .woocommerce-orders-table td{overflow-wrap:anywhere}
}
@media(prefers-reduced-motion:reduce){body.sm-customer-ui #main *{scroll-behavior:auto!important}}


