.psm-purchase-mode,.psm-pen-matrix{box-sizing:border-box;min-width:0;max-width:100%;padding:22px;margin:0 0 26px;border:1px solid #d9e6ed;border-radius:18px;background:#f6fafc;color:#163248}
.psm-purchase-mode h3,.psm-pen-matrix h3{font-family:Montserrat,sans-serif!important;font-size:21px!important;font-weight:600!important;line-height:1.35;margin:0 0 14px}
.psm-purchase-mode p,.psm-pen-matrix>p{font-size:13px;line-height:1.7;color:#536b7b;margin:12px 0 0}
.psm-purchase-mode__buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.psm-purchase-mode__buttons button{min-height:48px;padding:12px 10px;border:1px solid #cadde7;border-radius:11px;background:#fff;color:#163248;font-size:14px;font-weight:600;line-height:1.4;white-space:normal;cursor:pointer}
.psm-purchase-mode__buttons button[aria-pressed=true]{border-color:#b90065;color:#a50063;background:#fff0f8;box-shadow:0 0 0 2px #b9006510}
.psm-purchase-mode .psm-sample-price{padding:12px 14px;border-radius:10px;background:#fff0f8;color:#a50063;font-weight:600}
.psm-is-sample .quantity button,.psm-is-sample .quantity .botiga-quantity-plus,.psm-is-sample .quantity .botiga-quantity-minus,.psm-is-sample .woocommerce-variation-price{display:none!important}
.psm-sample-cart-label{display:block;color:#a50063;font-size:12px}
.psm-pen-batch-attachments .ps-cart-file-row__actions,.psm-pen-batch-attachments .ps-cart-file-row--add,.psm-pen-matrix .reset_variations{display:none!important}
.psm-pen-batch-note{display:block;margin-top:10px;color:#536b7b;font-size:12px;line-height:1.6}
.psm-pen-matrix-product table.variations tr:has(select[name="attribute_colore"]),.psm-pen-matrix-product table.variations tr:has(select[name="attribute_taglia"]),.psm-pen-matrix-product form.cart .quantity{display:none!important}
.psm-pen-matrix{background:#fff9f0;border-color:#eadac1}
.psm-pen-matrix__scroll{max-width:100%;overflow-x:auto;min-width:0;margin-top:18px}
.psm-pen-matrix table{width:100%;table-layout:fixed;border-collapse:collapse;border:0;margin:0;background:#fff;font-size:13px}
.psm-pen-matrix th,.psm-pen-matrix td{padding:12px 8px;border:0;border-bottom:1px solid #eee4d6;text-align:left;vertical-align:middle;overflow-wrap:anywhere}
.psm-pen-matrix thead{color:#72522d;background:#f4eadc;font-size:12px}
.psm-pen-matrix th:first-child{width:34%}.psm-pen-matrix th:nth-child(2){width:20%}.psm-pen-matrix th:nth-child(3){width:23%}.psm-pen-matrix th:nth-child(4){width:23%}
.psm-pen-matrix tbody th{font-weight:600}
.psm-pen-matrix__color{display:inline-block;vertical-align:middle;width:21px;height:21px;border-radius:6px;border:1px solid #0002;margin-right:8px}
.psm-pen-matrix input[type=number]{box-sizing:border-box;width:100%;max-width:106px;min-width:0;min-height:44px;padding:8px;background:#fff;border:1px solid #d5dfe5;border-radius:8px;font-size:14px;color:#163248}
.psm-pen-matrix input[aria-invalid=true]{border-color:#b42536}
.psm-pen-matrix__totals{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:16px;padding:16px;background:#fff;border:1px solid #eadac1;border-radius:11px;font-size:13px}
.psm-pen-matrix__totals>strong{font-size:22px;color:#87531e}
.psm-pen-matrix .psm-pen-matrix__error{color:#a91f35;font-weight:600}
.psm-purchase-mode :is(button,input):focus-visible,.psm-pen-matrix input:focus-visible{outline:3px solid #b90065;outline-offset:3px}
@media(max-width:560px){.psm-purchase-mode,.psm-pen-matrix{padding:16px}.psm-purchase-mode__buttons{grid-template-columns:minmax(0,1fr)}.psm-pen-matrix table,.psm-pen-matrix tbody{display:block}.psm-pen-matrix thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.psm-pen-matrix tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:14px;border:1px solid #eadac1;border-radius:12px;margin-bottom:10px;background:#fff}.psm-pen-matrix tbody th,.psm-pen-matrix tbody td{display:block;width:auto!important;padding:0;border:0}.psm-pen-matrix tbody th{grid-column:1/-1;margin-bottom:2px}.psm-pen-matrix td::before{content:attr(data-label);display:block;font-size:11px;color:#73624e;margin-bottom:5px}.psm-pen-matrix td[data-psm-row-total]{grid-column:1/-1;padding-top:7px;border-top:1px solid #eee4d6;display:flex;justify-content:space-between}.psm-pen-matrix td[data-psm-row-total]::before{margin:0}.psm-pen-matrix input[type=number]{max-width:none}}
