/* Native PHP basket presentation. No client-side reconstruction. */
.sm-native-basket{font-family:Vazir,vazir,sans-serif;color:#243b38;float:none;padding:0;clear:both}
.sm-native-basket>.inside-title{background:transparent;color:#014a46;font-size:22px;font-weight:700;border:0;padding:18px 0;margin:0}
.sm-native-basket>.text{padding:0;background:transparent;border:0}
.sm-native-basket #basket{overflow:visible}
.sm-native-basket .basket-div-table-responsive{overflow:visible}
.sm-native-basket .basket-table-table{width:100%;border-collapse:separate;border-spacing:0;margin-bottom:0;background:#fff;border:1px solid #dce9e5;border-radius:14px}
.sm-native-basket .basket-table-table>thead{background:#e1f6f3;color:#014a46}
.sm-native-basket .basket-table-table>thead th{padding:14px 10px;border:0;font-size:13px;vertical-align:middle}
.sm-native-basket .basket-table-table>tbody>tr>td{padding:18px 10px;border-top:1px solid #e2e8f0;vertical-align:middle}
.sm-native-basket .basket-tr-prow td>div{padding:0}
.sm-native-basket .basket-tr-prow td:first-child>.row{margin:0;display:flex;gap:16px}
.sm-native-basket .basket-tr-prow td:first-child>.row>div:first-child{float:none;width:100px;flex:0 0 100px;padding:0}
.sm-native-basket .basket-tr-prow td:first-child>.row>div:last-child{float:none;flex:1;min-width:0;width:auto;padding:0}
.sm-native-basket .basket-img-pimg{width:100%;height:100px;object-fit:contain;background:#fff;border-radius:10px}
.sm-native-basket .basket-div-ptitle{font-size:15px;line-height:1.9;margin-bottom:8px}
.sm-native-basket .basket-div-ptitle a{color:#014a46}
.sm-native-basket .basket-div-garranty,.sm-native-basket .basket-div-psellindex,.sm-native-basket .basket-div-pcolor{color:#647570;font-size:12px;line-height:1.9;padding:0;display:block}
.sm-native-basket .basket-div-premove{margin-top:8px}
.sm-native-basket .btn{border-radius:9px;min-height:42px;font-family:inherit;white-space:normal}
.sm-native-basket .basket-div-premove .btn{width:100%;color:#a53636;border:1px solid #f0dddd;background:#fff;font-size:12px}
.sm-native-basket .basket-div-pamount,.sm-native-basket .basket-div-ptotalamount{font-size:14px;line-height:1.8;white-space:normal}
.sm-native-basket .basket-div-pamount s{color:#889995!important;font-size:12px}
.sm-native-basket .basket-div-ptotalamount{color:#014a46;font-weight:700}
.sm-native-basket select,.sm-native-basket .form-control,.sm-native-basket .basket-input-text-cfield{min-height:42px;border:1px solid #cddfd8;border-radius:8px;background:#fff;padding:6px 10px;max-width:100%;font-family:inherit}
.sm-native-basket .basket-div-pcount select{min-width:64px}
.sm-native-basket .basket-div-services{margin:12px 0 0}
.sm-native-basket .basket-div-services>div{padding:0 4px}
.sm-native-basket .basket-div-services-item{background:#f2fefc;border:1px solid #dce9e5;border-radius:8px;padding:8px;margin:0 0 8px}
.sm-native-basket input[type=checkbox]{accent-color:#016d67;width:18px;height:18px;vertical-align:middle}
.sm-native-basket .basket-table-table>tfoot>tr>td{padding:20px;border-top:1px solid #e2e8f0;vertical-align:top}
.sm-native-basket .basket-div-rules{padding:14px 0;text-align:right;font-size:13px;line-height:2}
.sm-native-basket .basket-div-rules a{color:#016d67;text-decoration:underline}
.sm-native-basket .basket-div-summary{background:#f2fefc;border:1px solid #d8ece6;border-radius:12px;padding:14px}
.sm-native-basket .basket-div-summary table{width:100%;border:0;table-layout:auto}
.sm-native-basket .basket-div-summary table td{padding:8px 0;border:0;width:auto;font-size:13px;line-height:1.8}
.sm-native-basket .basket-div-summary table td:last-child{text-align:left;padding-right:10px}
.sm-native-basket .basket-div-summary-totaldiscount td{padding-top:12px!important;color:#016d67}
.sm-native-basket .basket-div-summary-payprice td{border-top:1px solid #cddfd8!important;padding-top:14px!important;color:#014a46;font-weight:700}
.sm-native-basket .basket-div-summary-payprice td:last-child{font-size:18px}
.sm-native-basket .basket-div-btns{margin:18px 0;display:flex;gap:12px;align-items:center}
.sm-native-basket .basket-div-btns>div{width:50%;float:none;padding:0}
.sm-native-basket .basket-div-btns .btn{width:100%;padding:12px 16px;line-height:1.8;font-size:15px;margin:0}
.sm-native-basket .basket-div-btns-checkout .btn{background:#016d67;border-color:#016d67;font-weight:700}
.sm-native-basket .basket-div-btns-checkout .btn:hover{background:#014a46}
.sm-native-basket .basket-free-shipping-progress{margin:20px 0;border-color:#d8ece6;border-radius:12px;overflow:hidden}
.sm-native-basket .basket-free-shipping-progress .panel-heading{background:#e1f6f3;color:#014a46;border:0}
.sm-native-basket .basket-free-shipping-progress .panel-body{background:#f2fefc!important}
.sm-native-basket .basket-free-shipping-progress .progress-bar{background:#04a198}
.sm-native-basket #basket>span[style]{display:block;padding:24px 16px;border:1px solid #d8ece6;border-radius:12px;color:#475569!important;background:#f2fefc;text-align:center}
.sm-native-basket .basket-div-coupun-form{display:flex;gap:8px;flex-wrap:wrap}
.sm-native-basket .basket-div-coupun-form .form-control{float:none;width:auto;min-width:0;flex:1}
@media(max-width:767px){
 .sm-native-basket>.inside-title{font-size:20px}
 .sm-native-basket .basket-table-table{display:block;border:0;background:transparent}
 .sm-native-basket .basket-table-table>thead{display:none}
 .sm-native-basket .basket-table-table>tbody{display:flex;flex-direction:column;gap:14px}
 .sm-native-basket .basket-table-table>tbody>.basket-tr-prow{display:grid;grid-template-columns:minmax(0,1fr) minmax(60px,.7fr) minmax(0,1fr);gap:12px 8px;background:#fff;border:1px solid #dce9e5;border-radius:12px;padding:14px}
 .sm-native-basket .basket-table-table>tbody>.basket-tr-prow>td{display:block!important;padding:0;border:0;min-width:0;text-align:right}
 .sm-native-basket .basket-tr-prow>td:first-child{grid-column:1/-1;order:0}
 .sm-native-basket .basket-tr-prow>td:has(.basket-div-pamount){order:2}
 .sm-native-basket .basket-tr-prow>td:has(.basket-div-pcount){order:3;text-align:center}
 .sm-native-basket .basket-tr-prow>td:has(.basket-div-ptotalamount){order:4;text-align:left}
 .sm-native-basket .basket-tr-prow>td:has(.basket-input-text-cfield,.basket-select-cfield){grid-column:1/-1;order:1}
 .sm-native-basket .basket-tr-prow td:first-child>.row{gap:12px}
 .sm-native-basket .basket-tr-prow td:first-child>.row>div:first-child{width:76px;flex-basis:76px}
 .sm-native-basket .basket-img-pimg{height:84px}
 .sm-native-basket .basket-div-ptitle{font-size:14px}
 .sm-native-basket .basket-tr-prow .visible-xs{display:none!important}
 .sm-native-basket .basket-div-pamount:before{content:'قیمت واحد';display:block;font-size:11px;color:#647570;font-weight:400;margin-bottom:4px}
 .sm-native-basket .basket-div-pcount:before{content:'تعداد';display:block;font-size:11px;color:#647570;margin-bottom:4px}
 .sm-native-basket .basket-div-ptotalamount:before{content:'جمع کالا';display:block;font-size:11px;color:#647570;font-weight:400;margin-bottom:4px}
 .sm-native-basket .basket-div-pamount,.sm-native-basket .basket-div-ptotalamount{font-size:13px}
 .sm-native-basket .basket-span-currency-name{font-size:11px}
 .sm-native-basket .basket-div-services>div{width:100%;float:none}
 .sm-native-basket .basket-table-table>tfoot{display:block;margin-top:16px}
 .sm-native-basket .basket-table-table>tfoot>tr{display:flex;flex-direction:column-reverse}
 .sm-native-basket .basket-table-table>tfoot>tr>td{display:block;width:100%;padding:0;border:0}
 .sm-native-basket .basket-div-summary{padding:14px}
 .sm-native-basket .basket-div-summary table td{display:table-cell;width:auto}
 .sm-native-basket .basket-div-btns{flex-direction:column-reverse;gap:10px}
 .sm-native-basket .basket-div-btns>div{width:100%}
}
@media print{.sm-native-basket .basket-div-btns,.sm-native-basket .basket-div-premove{display:none}}
/* Summary visibility does not alter server accounting. */
.sm-native-basket .basket-div-summary-specialservice,.sm-native-basket .basket-div-summary-coupondiscount{display:none}
.sm-native-basket #basket .basket-free-shipping-progress{display:none}
.sm-native-basket .sm-basket-shipping{padding:16px;margin:20px 0;border:1px solid #d8ece6;border-radius:12px;background:#f2fefc;color:#014a46}
.sm-native-basket .sm-basket-shipping[hidden]{display:none}
.sm-native-basket .sm-basket-shipping p{margin:10px 0;font-size:13px;line-height:1.9}
.sm-native-basket .sm-shipping-track{height:10px;background:#dcebe6;border-radius:10px;overflow:hidden}
.sm-native-basket [data-shipping-progress]{height:100%;width:0;background:#04a198;border-radius:10px;transition:width .2s ease}
@media(max-width:767px){.sm-native-basket{width:100%;padding-left:12px;padding-right:12px;box-sizing:border-box}.sm-native-basket>.inside-title{padding-left:2px;padding-right:2px}}

.sm-native-basket .basket-table-table>tbody>.basket-tr-prow{background:#f2fefc;border-color:#cfe5df}
.sm-native-basket .basket-table-table>tbody>.basket-tr-prow>td{background:#f2fefc}

.sm-native-basket .basket-div-summary{background:#e1f6f3;border-color:#b4dcd3}
.sm-native-basket .basket-div-summary-totaldiscount td:last-child,.sm-native-basket .basket-div-summary-bonsdiscount td:last-child{color:#cf354b!important}
