/* הקדשות ושמות ללוחות (matanya-dedications) */
.mtd{direction:rtl;text-align:right;margin:14px 0 16px;padding:14px 16px;border:1px solid #d9d2c3;border-radius:8px;background:#fbf9f5;font-size:15px;line-height:1.5;width:100%;box-sizing:border-box;clear:both}
.mtd *{box-sizing:border-box}
.mtd [hidden]{display:none!important}
.mtd-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.mtd-check{display:flex;gap:8px;align-items:center;font-weight:700;cursor:pointer;margin:0}
.mtd-check input,.mtd-modes input,.mtd-types input{width:18px;height:18px;margin:0;flex:none;accent-color:#1d3557}
.mtd-free{font-weight:400;color:#2e7d32}
.mtd textarea,.mtd input[type=text],.mtd input[type=number],.mtd select{width:100%;max-width:100%;padding:8px 10px;border:1px solid #c9c1b0;border-radius:6px;background:#fff;font:inherit;color:#222}
.mtd input::placeholder,.mtd textarea::placeholder{color:#a3a3a3!important;font-weight:400!important;opacity:1}
.mtd textarea{resize:vertical;min-height:84px;margin-top:10px}
.mtd-help{margin:10px 0 0;padding:8px 12px;background:#fff;border:1px solid #e3dccd;border-radius:6px;font-size:14px}
.mtd-help summary{cursor:pointer;font-weight:700}
.mtd-help p{margin:6px 0 2px}
.mtd-help ul{margin:2px 0 6px;padding-right:20px;padding-left:0}
.mtd-help li{margin:0}
.mtd-ex-title{font-weight:700}
.mtd-example{white-space:pre-line;text-align:center;background:#f6f2ea;border-radius:6px;padding:8px 10px;font-weight:600;line-height:1.6}
.mtd-use-example{margin-top:8px;background:#fff;border:1px solid #1d3557;color:#1d3557;border-radius:6px;padding:5px 12px;cursor:pointer;font:inherit;font-size:14px}
.mtd-help-line{font-size:13px;background:#fff;border:1px solid #e3dccd;border-radius:6px;padding:8px 10px;margin:0 0 10px}
.mtd-counter{font-size:13px;color:#666;margin-top:2px}
.mtd-note{font-size:13px;color:#555;margin:6px 0 0}
.mtd-title{margin:0 0 8px;font-size:17px;font-weight:700;font-family:inherit}
.mtd-h{margin:0 0 6px;font-size:15px;font-weight:700;font-family:inherit}
.mtd-modes{display:flex;flex-wrap:wrap;gap:8px 18px;margin-bottom:6px}
.mtd-modes label,.mtd-types label{display:flex;gap:6px;align-items:center;cursor:pointer;margin:0;font-weight:600}
.mtd-info{font-size:13px;color:#555;margin:0 0 8px}
.mtd-pane{margin-top:6px}
.mtd-section{margin:8px 0 12px}
.mtd-section h5{margin:0 0 6px;font-size:15px}
.mtd-section summary{cursor:pointer;font-weight:700;padding:6px 0}
.mtd-price-tag{font-weight:400;color:#555}
.mtd-row{border:1px solid #e3dccd;border-radius:6px;background:#fff;padding:10px;margin-bottom:8px}
.mtd-row.mtd-bad{border-color:#c62828;background:#fdecea}
.mtd-row-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.mtd-remove{background:none;border:0;color:#b71c1c;text-decoration:underline;cursor:pointer;padding:2px 4px;font:inherit;font-size:13px}
.mtd-types{display:flex;gap:18px;margin-bottom:8px}
.mtd-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 10px}
.mtd-field{display:flex;flex-direction:column;gap:3px;font-size:13px;font-weight:600;margin:0}
.mtd-field small{font-weight:400;color:#666}
.mtd-wide{grid-column:1/-1}
.mtd-add{background:#fff;border:1px dashed #1d3557;color:#1d3557;border-radius:6px;padding:6px 12px;cursor:pointer;font:inherit;font-size:14px}
.mtd-add:disabled{opacity:.45;cursor:not-allowed}
.mtd-progress{font-size:14px;margin:6px 0 0}
.mtd-error{color:#b71c1c;font-weight:700;margin:8px 0 0}
.mtd-summary{margin-top:10px;padding:8px 10px;background:#eef3f8;border-radius:6px;font-weight:700}
.mtd input[type=file]{font-size:14px;margin-top:4px;max-width:100%}
.single_add_to_cart_button.mtd-blocked{opacity:.5;cursor:not-allowed}
.mtd-qty{display:inline-block;min-width:2em;text-align:center}
@media (max-width:600px){
  .mtd{padding:12px;font-size:15px}
  .mtd-grid{grid-template-columns:1fr}
  .mtd textarea,.mtd input[type=text],.mtd input[type=number],.mtd select{font-size:16px}
}
