/* Kavir Makhzan Home Product Table — classic red-header style based on the supplied reference */
.kmhp-wrap{direction:rtl;color:#243247;font-family:inherit;line-height:1.8;background:#f0f0f2;padding:16px 18px;border:0;border-radius:12px;box-sizing:border-box}
.kmhp-wrap *{box-sizing:border-box}
.kmhp-heading{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 12px;margin:0 0 12px;text-align:center}
.kmhp-title{margin:0;color:#0D2C66;font-size:clamp(21px,2.2vw,29px);line-height:1.5;font-weight:700}
.kmhp-date{margin:0;color:#16834a;font-size:13px;white-space:nowrap}
.kmhp-date strong{font-weight:700}
.kmhp-cats{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0 0 16px;padding:0}
.kmhp-cats button{appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:5px 15px;border:1px solid #d9d9d9;border-radius:999px;background:#fff;color:#343434;text-decoration:none;font-family:inherit;font-size:13px;line-height:1.5;white-space:nowrap;cursor:pointer;transition:background-color .18s ease,border-color .18s ease,color .18s ease}
.kmhp-cats button:hover,.kmhp-cats button.is-active{border-color:#f23850;color:#f23850;background:#fff}
.kmhp-table-scroll{max-width:100%;max-height:560px;overflow:auto;overscroll-behavior:contain;border:1px solid #e3e3e3;border-radius:12px;background:#fff;-webkit-overflow-scrolling:touch;box-shadow:0 2px 8px rgba(0,0,0,.035)}
.kmhp-table{width:100%;min-width:1000px;margin:0;border:0;border-collapse:separate;border-spacing:0;text-align:center;font-size:13px;line-height:1.6}
.kmhp-table th,.kmhp-table td{padding:7px 10px;border:0;border-bottom:1px solid #fff;border-left:0;vertical-align:middle;white-space:nowrap}
.kmhp-table thead th{position:sticky;top:0;z-index:2;background:#f23850;color:#fff;font-weight:700;box-shadow:0 1px 0 rgba(0,0,0,.04)}
.kmhp-table thead th:first-child{border-top-right-radius:9px}
.kmhp-table thead th:last-child{border-top-left-radius:9px}
.kmhp-table tr>*:last-child{border-left:0}
.kmhp-table tbody tr:nth-child(even){background:#fff}
.kmhp-table tbody tr:nth-child(odd){background:#f0f0f0}
.kmhp-table tbody tr:hover{background:#ffecef}
.kmhp-table tbody tr[hidden]{display:none!important}
.kmhp-table tbody tr:last-child td{border-bottom:0}
.kmhp-name{min-width:220px;text-align:right;white-space:normal!important}
.kmhp-name a{color:#111;text-decoration:none;font-weight:500}
.kmhp-name a:hover{color:#e71919;text-decoration:underline}
.kmhp-price{min-width:135px;color:#243247;white-space:nowrap}
.kmhp-price .amount{font-weight:600}
.kmhp-price del{opacity:.6;font-weight:400}
.kmhp-price ins{text-decoration:none}
.kmhp-buy{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:105px;min-height:32px;padding:4px 12px;border:1px solid #f23850;border-radius:6px;background:#f23850;color:#fff!important;text-decoration:none!important;font:inherit;font-size:13px;font-weight:600;line-height:1.5;white-space:nowrap;transition:background-color .18s ease,border-color .18s ease}
.kmhp-buy:hover{background:#d9233d;border-color:#d9233d;color:#fff!important}
.kmhp-out{color:#b42318;font-weight:600}
.kmhp-empty{text-align:center!important;padding:28px!important;color:#536176}
.kmhp-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 3px 0;font-size:13px;color:#536176}
.kmhp-footer a{color:#0D2C66;text-decoration:none;font-weight:600}
.kmhp-footer a:hover{text-decoration:underline;color:#087e8b}
.kmhp-status{display:none}
@media(max-width:767px){.kmhp-wrap{padding:13px 10px;border-radius:10px}.kmhp-heading{flex-direction:column;gap:2px}.kmhp-title{font-size:22px}.kmhp-date{font-size:12px;white-space:normal}.kmhp-cats{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding:2px 1px 9px;margin-bottom:13px}.kmhp-cats button{flex:0 0 auto}.kmhp-table-scroll{max-height:460px;border-radius:9px}.kmhp-table{font-size:12px;min-width:1000px}.kmhp-table td,.kmhp-table th{padding:8px 8px}.kmhp-footer{font-size:12px;align-items:flex-start}.kmhp-buy{min-width:94px}}

/* Icon-only add-to-cart control */
.kmhp-buy.kmhp-buy-icon{min-width:42px;width:42px;height:32px;padding:4px;gap:0}
.kmhp-buy.kmhp-buy-icon svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.kmhp-buy.kmhp-buy-icon:focus-visible{outline:2px solid #0d2c66;outline-offset:2px}
