.catalog.p27-table-mode{display:none}
.p27-catalog-table[hidden]{display:none}
.p27-catalog-table{overflow-x:auto;background:#fffdf9;border:1px solid #e4ddd2;border-radius:10px;margin-top:12px}
.p27-catalog-table table{width:100%;border-collapse:collapse;text-align:left;font-size:14px;line-height:1.4}
.p27-catalog-table caption{text-align:left;padding:12px 14px;font-weight:650;color:#756b5f;border-bottom:1px solid #e4ddd2}
.p27-catalog-table th,.p27-catalog-table td{padding:10px 14px;vertical-align:top;border-bottom:1px solid #eee8df}
.p27-catalog-table thead th{background:#f6f2eb;font-weight:600;white-space:nowrap}
.p27-catalog-table tbody th{width:32%;font-weight:600}
.p27-catalog-table tbody+tbody{border-top:1px solid #d9cdbc}
.p27-catalog-table tbody:hover{background:#fbf7f0}
.p27-catalog-table th button{border:0;background:none;color:inherit;padding:0;font:inherit;text-align:left;cursor:pointer}
.p27-catalog-table th button:hover{color:#9c3b12;text-decoration:underline}
.p27-table-price{white-space:nowrap;font-variant-numeric:tabular-nums}
.p27-table-price small{display:block;font-size:11px;color:#81756a;white-space:normal;margin-top:3px}
.p27-table-summary{padding:10px 14px;margin:0;font-size:12px;color:#81756a;border-bottom:1px solid #e4ddd2}
@media(max-width:640px){.p27-catalog-table table{min-width:560px;font-size:13px}.p27-catalog-table th,.p27-catalog-table td{padding:9px 10px}}
/* Keep amounts intact; only date labels may wrap inside their column. */
.p27-catalog-table table{table-layout:fixed;min-width:760px}
.p27-catalog-table thead th:first-child,.p27-catalog-table tbody th{width:29%}
.p27-catalog-table thead th:nth-child(2){width:29%}
.p27-catalog-table td,.p27-catalog-table tbody th{overflow-wrap:anywhere}
.p27-table-price{white-space:normal}
.p27-table-price-main{display:flex;align-items:center;flex-wrap:wrap;gap:5px 10px}
.p27-table-price-main>span:first-child,.p27-table-period-price{white-space:nowrap;overflow-wrap:normal}
.p27-table-price small.p27-table-period{display:flex;flex-wrap:wrap;gap:2px 8px;line-height:1.45;margin-top:6px}
.p27-table-period>span:first-child{flex-basis:100%}
.p27-table-period-price{font-weight:600;color:#675b4d}
.p27-table-price-controls{display:inline-flex;gap:4px;white-space:nowrap}
.p27-table-price-controls button{width:25px;height:25px;min-height:0;padding:0;border:1px solid #decebd;border-radius:6px;background:#fffaf3;color:#9c3b12;font-family:inherit;font-size:16px;font-weight:600;line-height:1;cursor:pointer}
.p27-table-price-controls button:hover{background:#f0dfce;border-color:#ad683a}
.p27-table-price-controls button:disabled{opacity:.4;cursor:wait}
.p27-table-price small.p27-table-profit{color:#39704d;margin-top:6px}
.p27-table-price small.p27-table-profit.is-negative{color:#a72f26}
.p27-table-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;padding:10px 14px;border-bottom:1px solid #e4ddd2;font-size:12px;color:#756b5f}
.p27-table-toolbar .p27-table-summary{padding:0;border:0;margin-right:auto}
.p27-table-toolbar label{display:flex;align-items:center;gap:8px}
.p27-table-toolbar input,.p27-table-toolbar button{box-sizing:border-box;height:34px;min-height:0;padding:5px 9px;border:1px solid #dfd4c6;border-radius:6px;background:#fffdf9;color:#675b4d;font:inherit;width:auto}
.p27-table-toolbar button{cursor:pointer}.p27-table-toolbar button:disabled{opacity:.5;cursor:default}
.p27-table-status{margin:0;padding:8px 14px;font-size:12px;color:#756b5f;border-bottom:1px solid #e4ddd2}

.p27-table-profit-range{display:flex;flex-wrap:wrap;gap:0 4px;margin-top:3px;line-height:1.45}
.p27-table-profit-range strong{white-space:nowrap;font-weight:600;overflow-wrap:normal}
.p27-table-profit-range.is-negative{color:#a72f26}

.p27-table-mobile-label{display:none}
@media(max-width:760px){
 .p27-catalog-table{overflow-x:visible;min-width:0}
 .p27-catalog-table table{display:block;table-layout:auto;min-width:0;width:100%;font-size:14px}
 .p27-catalog-table caption{display:block;padding:10px 12px;font-size:12px;line-height:1.45}
 .p27-catalog-table thead{display:none}
 .p27-catalog-table tbody{display:block;width:100%}
 .p27-catalog-table tbody:hover{background:transparent}
 .p27-catalog-table tbody+tbody{border-top:2px solid #d9cdbc}
 .p27-catalog-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border-bottom:1px solid #e4ddd2}
 .p27-catalog-table tbody tr:last-child{border-bottom:0}
 .p27-catalog-table tbody th{display:block;grid-column:1/-1;width:auto;padding:0;background:#f6f2eb;border-bottom:1px solid #e4ddd2;font-size:16px;line-height:1.4}
 .p27-catalog-table tbody th button{display:block;box-sizing:border-box;width:100%;min-height:44px;padding:12px;text-align:left}
 .p27-catalog-table tbody td{display:block;min-width:0;width:auto;border-bottom:0;padding:8px 12px 12px}
 .p27-catalog-table tbody .p27-table-variant{grid-column:1/-1;padding:12px 12px 4px;font-weight:600;line-height:1.4}
 .p27-table-mobile-label{display:block;margin-bottom:4px;font-size:12px;font-weight:400;color:#81756a}
 .p27-table-price-main{flex-direction:column;align-items:flex-start;gap:8px}
 .p27-table-price-main>span:first-child{font-size:16px;font-weight:650}
 .p27-table-price-controls{gap:8px}
 .p27-table-price-controls button{width:44px;height:44px;font-size:20px;border-radius:8px;touch-action:manipulation}
 .p27-table-price small{font-size:12px;line-height:1.45}
 .p27-table-unit .p27-table-price{grid-column:1/-1}
 .p27-table-unit .p27-table-price:last-child{display:none}
 .p27-table-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px}
 .p27-table-toolbar .p27-table-summary{grid-column:1/-1;margin:0}
 .p27-table-toolbar label{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0}
 .p27-table-toolbar input{box-sizing:border-box;width:100%;max-width:100%;min-width:0;height:44px;font-size:16px}
 .p27-table-toolbar>button{height:44px;align-self:end;font-size:14px}
 .p27-table-status{padding:10px 12px;font-size:12px;line-height:1.45}
}

/* Explicit date/control columns avoid Safari date input intrinsic-width overlap. */
.p27-table-date-filter{display:grid;grid-template-columns:auto minmax(130px,160px) auto;align-items:center;gap:8px;max-width:100%;min-width:0}
.p27-table-date-filter label{display:block;margin:0;min-width:0}
.p27-table-date-input{min-width:0;overflow:hidden;border-radius:6px}
.p27-table-toolbar .p27-table-date-input input{display:block;box-sizing:border-box;appearance:none;-webkit-appearance:none;width:100%;min-width:0;max-width:100%;margin:0}
.p27-table-date-input input::-webkit-date-and-time-value{text-align:left;min-height:1.4em}
.p27-table-date-input input::-webkit-datetime-edit{min-width:0;padding:0}
@media(max-width:760px){
 .p27-table-toolbar{display:flex;align-items:stretch;flex-direction:column;gap:12px}
 .p27-table-date-filter{width:100%;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px}
 .p27-table-date-filter label{grid-column:1/-1;line-height:1.4}
 .p27-table-toolbar .p27-table-date-filter input,.p27-table-toolbar .p27-table-date-filter button{height:44px;min-height:44px;max-height:44px;box-sizing:border-box;line-height:normal}
 .p27-table-date-filter button{align-self:stretch;white-space:nowrap;padding:8px 12px;font-size:14px}
}

.p27-table-variant-id{display:inline-block;white-space:nowrap;font-size:12px;font-weight:400;color:#81756a;margin-left:4px}
.p27-table-provider{display:block;margin-top:4px;font-size:12px;font-weight:400;line-height:1.4;color:#756b5f;overflow-wrap:anywhere}
