/* Shima server-rendered cart: stable across WooCommerce Cart Block changes. */
.shima-cart-page .shima-server-cart{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start;width:100%}
.shima-cart-page .shima-server-cart-form,.shima-cart-page .shima-server-cart-summary{background:#fff;border:1px solid #dfe9e3;border-radius:18px;box-shadow:0 10px 28px rgba(15,44,29,.04)}
.shima-cart-page .shima-server-cart-form{padding:18px;min-width:0}
.shima-cart-page .shima-server-cart-grid{width:100%;direction:rtl}
.shima-cart-page .shima-server-cart-head,.shima-cart-page .shima-server-cart-row{display:grid;grid-template-columns:48px 48px 82px minmax(190px,1.6fr) 150px 132px 155px;gap:10px;align-items:center}
.shima-cart-page .shima-server-cart[data-sales-mode="quantity"] .shima-server-cart-head,.shima-cart-page .shima-server-cart[data-sales-mode="quantity"] .shima-server-cart-row{grid-template-columns:48px 48px 82px minmax(260px,1fr) 150px}
.shima-cart-page .shima-server-cart[data-sales-mode="pair"] .shima-server-cart-head,.shima-cart-page .shima-server-cart[data-sales-mode="pair"] .shima-server-cart-row{grid-template-columns:48px 48px 82px minmax(220px,1fr) 180px 150px}
.shima-cart-page .shima-server-cart-head{min-height:52px;padding:0 12px 10px;border-bottom:1px solid #dfe9e3;color:#64736b;font-size:11px;font-weight:900;text-align:center}
.shima-cart-page .shima-server-cart-head .is-name{text-align:right}
.shima-cart-page .shima-server-cart-body{display:grid;gap:12px;padding-top:12px}
.shima-cart-page .shima-server-cart-row{min-height:116px;padding:14px 12px;border:1px solid #dfe9e3;border-radius:16px;background:linear-gradient(180deg,#fff,#fbfdfc)}
.shima-cart-page .shima-server-cart-cell{min-width:0;text-align:center;color:#273a31;font-size:12px;font-weight:800}
.shima-cart-page .shima-server-cart-cell.is-name{text-align:right}.shima-cart-page .shima-server-cart-cell.is-name>a,.shima-cart-page .shima-server-cart-cell.is-name>strong{color:#132119;font-size:12.5px;line-height:1.9;font-weight:900;text-decoration:none}
.shima-cart-page .shima-server-cart-meta{margin-top:4px;color:#7a867f;font-size:10px;line-height:1.6}
.shima-cart-page .shima-server-cart-cell.is-image img{width:76px;height:76px;object-fit:cover;border:1px solid #dce7e0;border-radius:13px;background:#f6faf7}
.shima-cart-page .shima-server-cart-remove{width:36px;height:36px;display:inline-grid;place-items:center;border:1px solid #ffd3d9;border-radius:10px;background:#fff2f4;color:#dc4859;font-size:22px;text-decoration:none;line-height:1}
.shima-cart-page .shima-server-cart-cell.is-money{color:#087b43;font-weight:950}.shima-cart-page .shima-server-cart-cell.is-pair small{display:block;margin-top:4px;color:#718078;font-size:9.5px;line-height:1.5}
.shima-cart-page .shima-server-cart-cell.is-qty .quantity{display:inline-flex;align-items:center}.shima-cart-page .shima-server-cart-cell.is-qty .qty{width:78px;min-height:42px;border:1px solid #d9e5de;border-radius:11px;background:#f8fbf9;text-align:center;font-weight:950}.shima-cart-page .shima-server-cart-cell.is-qty>small{display:block;margin-top:4px;color:#718078;font-size:10px}
.shima-cart-page .shima-server-cart-actions{display:flex;justify-content:flex-end;padding-top:14px}.shima-cart-page .shima-server-cart-actions .button{min-height:44px;padding:0 18px!important;border:0!important;border-radius:11px!important;background:#edf6f1!important;color:#087b43!important;font-weight:900!important}
.shima-cart-page .shima-server-cart-summary{padding:20px;position:sticky;top:18px}.shima-cart-page .shima-server-cart-summary h2{margin:0 0 14px;color:#132119;font-size:17px;font-weight:950}.shima-cart-page .shima-server-summary-row{min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e4ece7;color:#4c5d54;font-size:12.5px;font-weight:850}.shima-cart-page .shima-server-summary-row strong{color:#087b43;font-weight:950}.shima-cart-page .shima-server-summary-row.is-total{font-size:14px;color:#132119}.shima-cart-page .shima-server-summary-note{margin:10px 0 16px;padding:12px 13px;border-radius:12px;background:#f2f8f4;color:#3f5a4c;font-size:11.5px;line-height:1.9;font-weight:750}.shima-cart-page .shima-server-checkout-button{min-height:52px;display:flex;align-items:center;justify-content:center;margin-top:14px;padding:0 16px;border-radius:13px;background:linear-gradient(135deg,#07944f,#087e45);color:#fff!important;text-decoration:none;font-size:13px;font-weight:950;box-shadow:0 9px 22px rgba(7,148,79,.16)}
@media(max-width:1100px){.shima-cart-page .shima-server-cart{grid-template-columns:1fr}.shima-cart-page .shima-server-cart-summary{position:static}.shima-cart-page .shima-server-cart-head{display:none}.shima-cart-page .shima-server-cart-row,.shima-cart-page .shima-server-cart[data-sales-mode="quantity"] .shima-server-cart-row,.shima-cart-page .shima-server-cart[data-sales-mode="pair"] .shima-server-cart-row{grid-template-columns:54px 72px minmax(0,1fr);grid-template-areas:"action image name" "index image name" "qty qty qty" "money money money";gap:8px 12px}.shima-cart-page .shima-server-cart-cell.is-action{grid-area:action}.shima-cart-page .shima-server-cart-cell.is-index{grid-area:index}.shima-cart-page .shima-server-cart-cell.is-image{grid-area:image}.shima-cart-page .shima-server-cart-cell.is-name{grid-area:name}.shima-cart-page .shima-server-cart-cell.is-qty{grid-area:qty;padding-top:8px;border-top:1px solid #edf2ef}.shima-cart-page .shima-server-cart-cell.is-money{grid-area:money;text-align:right}.shima-cart-page .shima-server-cart-cell.is-total{margin-top:-4px}.shima-cart-page .shima-server-cart-row>.is-money+.is-qty{grid-area:qty}.shima-cart-page .shima-server-cart-row>.is-qty+.is-money{grid-area:money}.shima-cart-page .shima-server-cart-cell.is-image img{width:68px;height:68px}}
@media(max-width:600px){.shima-cart-page .shima-server-cart-form{padding:12px}.shima-cart-page .shima-server-cart-row{padding:12px}.shima-cart-page .shima-server-cart-summary{padding:16px}}

/* 3.3.2 — cart carton quantity stepper */
.shima-cart-page .shima-cart-qty-stepper{display:inline-grid;grid-template-columns:38px 66px 38px;align-items:stretch;direction:ltr;border:1px solid #d9e5de;border-radius:12px;overflow:hidden;background:#f8fbf9;box-shadow:0 3px 10px rgba(15,44,29,.035)}
.shima-cart-page .shima-cart-qty-stepper .quantity{display:block;margin:0!important}
.shima-cart-page .shima-cart-qty-stepper .qty{width:66px!important;min-width:66px;min-height:42px!important;height:42px;border:0!important;border-right:1px solid #e2ebe6!important;border-left:1px solid #e2ebe6!important;border-radius:0!important;background:#fff!important;text-align:center!important;font-size:14px;font-weight:950;box-shadow:none!important;appearance:textfield;-moz-appearance:textfield}
.shima-cart-page .shima-cart-qty-stepper .qty::-webkit-outer-spin-button,.shima-cart-page .shima-cart-qty-stepper .qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.shima-cart-page .shima-cart-qty-btn{width:38px;min-width:38px;height:42px;padding:0;border:0;background:#f2f8f4;color:#087b43;font:950 20px/1 Vazirmatn,Tahoma,sans-serif;cursor:pointer;transition:background .15s ease,color .15s ease,transform .08s ease}
.shima-cart-page .shima-cart-qty-btn:hover:not(:disabled){background:#e2f2e8;color:#056638}
.shima-cart-page .shima-cart-qty-btn:active:not(:disabled){transform:scale(.94)}
.shima-cart-page .shima-cart-qty-btn:focus-visible{outline:2px solid #07944f;outline-offset:-2px}
.shima-cart-page .shima-cart-qty-btn:disabled{cursor:not-allowed;color:#aab8b0;background:#f7f9f8;opacity:.65}
.shima-cart-page .shima-server-cart-cell.is-qty>small{margin-top:6px}
@media(max-width:600px){.shima-cart-page .shima-cart-qty-stepper{grid-template-columns:42px 72px 42px}.shima-cart-page .shima-cart-qty-stepper .qty{width:72px!important;min-width:72px}.shima-cart-page .shima-cart-qty-btn{width:42px;min-width:42px}}
