/* Endrust Buy Table. px units: the site's root font size is 10px. */
.erbt{margin:0 0 6px;font-size:15px;line-height:1.4;container-type:inline-size;container-name:erbt}
.erbt-role{margin:0 0 6px}
.erbt-placeholder{padding:14px;border:1px dashed #CFCFCF;border-radius:6px;color:#666;font-size:14px}

.erbt .erbt-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #E3E3E3;border-radius:6px;overflow:hidden;margin:0 0 8px;background:#FFFFFF;font-size:15px;line-height:1.35}
.erbt .erbt-table thead th{background:#F6F6F6;color:#666666;font-size:12px;font-weight:700;letter-spacing:.8px;text-transform:uppercase;padding:9px 12px;text-align:left;border:0;border-bottom:1px solid #E3E3E3;vertical-align:middle}
.erbt .erbt-table thead th.erbt-h-buy{text-align:right}
.erbt .erbt-table tbody th,.erbt .erbt-table tbody td{padding:8px 12px;border:0;border-top:1px solid #EEEEEE;vertical-align:middle;text-align:left;background:#FFFFFF}
.erbt .erbt-table tbody tr:first-child th,.erbt .erbt-table tbody tr:first-child td{border-top:0}
.erbt .erbt-table tbody tr:hover th,.erbt .erbt-table tbody tr:hover td{background:#FAFAFA}
.erbt .erbt-size{font-weight:600;color:#141414;font-size:15px;text-transform:none;letter-spacing:0;min-width:110px}
.erbt .erbt-price{font-weight:800;font-size:16px;color:#141414;line-height:1.25}
.erbt-price .amount,.erbt-bulk .amount,.erbt-std-price .amount{color:inherit;white-space:nowrap}
.erbt-price del{color:#9A9A9A;font-weight:400;font-size:13px;margin-right:4px}
.erbt-price del .amount{color:#9A9A9A}
.erbt-price ins{text-decoration:none;color:#DB1B1B;background:none;font-weight:800}
.erbt-total{display:block;font-size:12px;font-weight:600;color:#777777}
.erbt-bulkline{display:block;font-size:12px;font-weight:700;color:#0F5A33;margin-top:1px}
.erbt-bulkline .amount{color:inherit}
.erbt-total:empty{display:none}
.erbt .erbt-bulk{font-weight:700;font-size:14px;color:#0F5A33;white-space:nowrap}
.erbt-bulk small{font-weight:400;color:#666666;font-size:12px}
.erbt .erbt-bulk.is-empty{color:#C4C4C4;font-weight:400}
.erbt .erbt-table tbody td.erbt-buy{width:1%;white-space:nowrap;text-align:right}

.erbt-form{display:inline-flex;align-items:center;gap:8px;margin:0;padding:0;vertical-align:middle}
.erbt-qty{display:inline-flex;align-items:stretch;border:1px solid #D4D4D4;border-radius:4px;overflow:hidden;height:36px;background:#FFFFFF;flex:none}
.erbt .erbt-form .erbt-step{width:30px;min-width:30px;height:auto;border:0;border-radius:0;background:#F4F4F4;color:#141414;font-size:17px;font-weight:700;line-height:1;cursor:pointer;padding:0;margin:0;box-shadow:none}
.erbt .erbt-form .erbt-step:hover,.erbt .erbt-form .erbt-step:focus-visible{background:#E9E9E9;color:#DB1B1B}
.erbt .erbt-form .erbt-input{width:40px;min-width:0;height:auto;min-height:0;border:0;border-radius:0;text-align:center;font-size:15px;font-weight:700;color:#141414;padding:0;margin:0;background:#FFFFFF;box-shadow:none;-moz-appearance:textfield;appearance:textfield}
.erbt .erbt-input::-webkit-inner-spin-button,.erbt .erbt-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.erbt .erbt-form .erbt-add{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:36px;min-height:36px;padding:0 14px !important;margin:0;background:#DB1B1B !important;color:#FFFFFF !important;border:0 !important;border-radius:4px !important;font-size:14px !important;font-weight:700 !important;line-height:1 !important;letter-spacing:0 !important;text-transform:none !important;cursor:pointer;box-shadow:none;transition:background .15s;white-space:nowrap}
.erbt .erbt-form .erbt-add:hover,.erbt .erbt-form .erbt-add:focus-visible{background:#B31515 !important;color:#FFFFFF !important}
.erbt .erbt-add svg{flex:none;width:16px;height:16px}
.erbt .erbt-add.is-busy{opacity:.6;pointer-events:none}
.erbt-row.is-out .erbt-size,.erbt-row.is-out .erbt-price{color:#9A9A9A}
.erbt-stock{display:inline-block;font-size:12px;font-weight:700;color:#8A8A8A;text-transform:uppercase;letter-spacing:.5px}
.erbt-stock.is-back{display:block;color:#B26A00;margin-top:4px;text-transform:none;letter-spacing:0;font-weight:600}

.erbt-notes{font-size:13px;line-height:1.5;color:#777777;margin:2px 0 0}
.erbt-notes a{color:#DB1B1B;text-decoration:underline;font-weight:600}

/* Standard WooCommerce form (simple products, extra options) */
.erbt-std .erbt-std-price{font-size:26px;font-weight:800;line-height:1.2;color:#141414;margin:0 0 12px}
.erbt-std .erbt-std-price del{font-size:18px;font-weight:400;color:#9A9A9A}
.erbt-std .erbt-std-price ins{text-decoration:none;color:#DB1B1B}
.erbt-std form.cart{margin:0}
.erbt-std form.cart:not(.variations_form),.erbt-std .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.erbt-std form.cart .quantity{margin:0}
.erbt-std form.cart .quantity .qty{height:42px;width:70px;font-size:15px;font-weight:700;text-align:center;border:1px solid #D4D4D4;border-radius:4px;padding:0 6px}
.erbt .erbt-std .single_add_to_cart_button{height:42px;padding:0 22px !important;background:#DB1B1B !important;color:#FFFFFF !important;border:0 !important;border-radius:4px !important;font-size:15px !important;font-weight:700 !important;letter-spacing:0 !important;text-transform:none !important;line-height:1 !important}
.erbt .erbt-std .single_add_to_cart_button:hover{background:#B31515 !important;color:#FFFFFF !important}
.erbt-std table.variations{margin:0 0 12px;border:0}
.erbt-std table.variations th,.erbt-std table.variations td{border:0;padding:6px 10px 6px 0;vertical-align:middle}
.erbt-std table.variations select{height:42px;min-width:220px;border:1px solid #D4D4D4;border-radius:4px;padding:0 10px;font-size:15px}

/* Narrow space (phones, or a narrow column): each size becomes a compact card */
@container erbt (max-width:500px){
	.erbt .erbt-table,.erbt .erbt-table tbody{display:block}
	.erbt .erbt-table thead{display:none}
	.erbt .erbt-table tbody tr.erbt-row{display:grid;grid-template-columns:1fr auto;gap:4px 10px;padding:10px 12px;border-top:1px solid #EEEEEE}
	.erbt .erbt-table tbody tr.erbt-row:first-child{border-top:0}
	.erbt .erbt-table tbody th,.erbt .erbt-table tbody td{display:block;padding:0;border:0;width:auto;min-width:0;background:transparent}
	.erbt .erbt-table tbody tr:hover th,.erbt .erbt-table tbody tr:hover td{background:transparent}
	.erbt .erbt-table tbody td.erbt-price{text-align:right}
	.erbt .erbt-bulk{grid-column:1 / -1;font-size:13px}
	.erbt-bulk::before{content:attr(data-label) ": ";font-weight:600;color:#666666}
	.erbt .erbt-bulk.is-empty{display:none}
	.erbt .erbt-table tbody td.erbt-buy{grid-column:1 / -1;white-space:normal;text-align:left;margin-top:4px;width:auto}
	.erbt-form{display:flex;width:100%}
	.erbt .erbt-form .erbt-add{flex:1 1 auto}
}
@supports not (container-type:inline-size){@media (max-width:767px){
	.erbt .erbt-table,.erbt .erbt-table tbody{display:block}
	.erbt .erbt-table thead{display:none}
	.erbt .erbt-table tbody tr.erbt-row{display:grid;grid-template-columns:1fr auto;gap:4px 10px;padding:10px 12px;border-top:1px solid #EEEEEE}
	.erbt .erbt-table tbody th,.erbt .erbt-table tbody td{display:block;padding:0;border:0;width:auto;min-width:0;background:transparent}
	.erbt .erbt-table tbody td.erbt-price{text-align:right}
	.erbt .erbt-bulk{grid-column:1 / -1;font-size:13px}
	.erbt-bulk::before{content:attr(data-label) ": ";font-weight:600;color:#666666}
	.erbt .erbt-bulk.is-empty{display:none}
	.erbt .erbt-table tbody td.erbt-buy{grid-column:1 / -1;white-space:normal;text-align:left;margin-top:4px;width:auto}
	.erbt-form{display:flex;width:100%}
	.erbt .erbt-form .erbt-add{flex:1 1 auto}
}}

/* Role price heading ("Dealer Price") in place of "Price" */
.erbt .erbt-table thead th.is-role,.erbt-cards .erbt-mini-head .is-role{color:#DB1B1B}

/* Shop cards: [endrust_shop_cards] */
.erbt-cards{container-type:inline-size;container-name:erbtcards;font-size:15px;line-height:1.4;color:#141414}
.erbt-cards-note{margin:0 0 14px}
.erbt-cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
@container erbtcards (max-width:960px){.erbt-cards-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@container erbtcards (max-width:620px){.erbt-cards-grid{grid-template-columns:minmax(0,1fr);gap:14px}}
.erbt-card{display:flex;flex-direction:column;gap:10px;background:#FFFFFF;border:1px solid #E3E3E3;border-radius:8px;padding:14px 14px 16px;box-sizing:border-box;min-width:0;container-type:inline-size;container-name:erbtcard;transition:box-shadow .2s,border-color .2s}
.erbt-card:hover{border-color:#CFCFCF;box-shadow:0 8px 24px rgba(0,0,0,.08)}
.erbt-card-img{display:flex;align-items:center;justify-content:center;height:180px;border-radius:6px;background:#FFFFFF;overflow:hidden}
.erbt-card-img img{max-width:100%;max-height:180px;width:auto;height:auto;object-fit:contain;border-radius:6px;margin:0}
.erbt-cards .erbt-card-title{margin:2px 0 0;font-size:16px;font-weight:700;line-height:1.3;text-align:center;text-transform:none;letter-spacing:0}
.erbt-cards .erbt-card-title a{color:#141414;text-decoration:none !important}
.erbt-cards .erbt-card-title a:hover{color:#DB1B1B}

/* Mini table: columns size | price | qty | add, lined up by subgrid */
.erbt-cards .erbt-mini{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(78px,auto) minmax(64px,auto);border:1px solid #E3E3E3;border-radius:6px;overflow:hidden;background:#FFFFFF}
.erbt-cards .erbt-mini.is-nolabel{grid-template-columns:minmax(0,1fr) minmax(78px,auto) minmax(64px,auto)}
.erbt-cards .erbt-mini-head,.erbt-cards .erbt-mini-row{grid-column:1 / -1;display:grid;grid-template-columns:subgrid;column-gap:8px;row-gap:6px;align-items:center;padding:7px 10px}
.erbt-cards .erbt-mini-head{background:#F6F6F6;border-bottom:1px solid #E3E3E3;font-size:11px;font-weight:700;letter-spacing:.8px;text-transform:uppercase;color:#666666}
.erbt-cards .erbt-mini-head .erbt-mini-qty{text-align:center}
.erbt-cards .erbt-mini:not(.is-nolabel) .erbt-mini-head span:nth-child(2){text-align:right}
.erbt-cards .erbt-mini-row{border-top:1px solid #EEEEEE}
.erbt-cards .erbt-mini-head + .erbt-mini-row{border-top:0}
.erbt-cards .erbt-size{font-size:14px;font-weight:600;min-width:0}
.erbt-cards .erbt-price{display:flex;flex-direction:column;line-height:1.2;font-size:15px;font-weight:800;text-align:right;white-space:nowrap}
.erbt-cards .erbt-mini.is-nolabel .erbt-price{text-align:left;font-size:17px}
.erbt-cards .erbt-price del{display:none}
.erbt-cards .erbt-price ins{text-decoration:none;background:none;color:inherit}
.erbt-cards .erbt-buy{grid-column:span 2;display:grid;grid-template-columns:subgrid;align-items:center}
.erbt-cards .erbt-buy .erbt-form{display:contents}
.erbt-cards .erbt-qty{display:inline-flex;align-items:stretch;border:1px solid #D4D4D4;border-radius:4px;overflow:hidden;height:32px;background:#FFFFFF;justify-self:center}
.erbt-cards .erbt-form .erbt-step{width:24px;min-width:24px;height:auto;border:0;border-radius:0;background:#F4F4F4;color:#141414;font-size:15px;font-weight:700;line-height:1;cursor:pointer;padding:0;margin:0;box-shadow:none}
.erbt-cards .erbt-form .erbt-step:hover{background:#E9E9E9;color:#DB1B1B}
.erbt-cards .erbt-form .erbt-input{width:28px;min-width:0;height:auto;min-height:0;border:0;border-radius:0;text-align:center;font-size:14px;font-weight:700;color:#141414;padding:0;margin:0;background:#FFFFFF;box-shadow:none;-moz-appearance:textfield;appearance:textfield}
.erbt-cards .erbt-input::-webkit-inner-spin-button,.erbt-cards .erbt-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.erbt-cards .erbt-form .erbt-add{display:inline-flex;align-items:center;justify-content:center;gap:5px;height:32px;min-height:32px;padding:0 11px !important;margin:0;background:#DB1B1B !important;color:#FFFFFF !important;border:0 !important;border-radius:4px !important;font-size:13px !important;font-weight:700 !important;line-height:1 !important;letter-spacing:0 !important;text-transform:none !important;cursor:pointer;box-shadow:none;white-space:nowrap}
.erbt-cards .erbt-form .erbt-add:hover{background:#B31515 !important}
.erbt-cards .erbt-add svg{width:15px;height:15px;flex:none}
.erbt-cards .erbt-add.is-busy{opacity:.6;pointer-events:none}
.erbt-cards .erbt-mini-row.is-out .erbt-size,.erbt-cards .erbt-mini-row.is-out .erbt-price{color:#9A9A9A}
.erbt-cards .erbt-stock{grid-column:1 / -1;text-align:center;font-size:11px;font-weight:700;color:#8A8A8A;text-transform:uppercase;letter-spacing:.5px}
.erbt-cards .erbt-bulkline{font-size:11px;font-weight:700;color:#0F5A33}
.erbt-cards .erbt-total{font-size:11px;font-weight:600;color:#777777}
.erbt-cards .erbt-total:empty{display:none}
.erbt-card-alt{display:flex;flex-direction:column;align-items:center;gap:10px;padding:6px 0}
.erbt-card-price{font-size:17px;font-weight:800;color:#141414}
.erbt-card-price del{display:none}
.erbt-card-price ins{text-decoration:none;background:none}
.erbt-cards a.erbt-card-btn{display:inline-flex;align-items:center;height:36px;padding:0 16px;border-radius:4px;background:#141414;color:#FFFFFF;font-size:14px;font-weight:700;text-decoration:none}
.erbt-cards a.erbt-card-btn:hover{background:#DB1B1B;color:#FFFFFF}
.erbt-cards a.erbt-card-more{margin-top:auto;padding-top:4px;align-self:center;font-size:14px;font-weight:700;color:#DB1B1B;text-decoration:none !important}
.erbt-cards a.erbt-card-more:hover{color:#B31515;text-decoration:underline !important}

/* A narrow card (phones, tight columns): each size stacks, button fills the row */
@container erbtcard (max-width:330px){
	.erbt-cards .erbt-mini:not(.is-nolabel){grid-template-columns:minmax(0,1fr) auto}
	.erbt-cards .erbt-mini:not(.is-nolabel) .erbt-mini-qty,.erbt-cards .erbt-mini:not(.is-nolabel) .erbt-mini-addh{display:none}
	.erbt-cards .erbt-mini:not(.is-nolabel) .erbt-buy{grid-column:1 / -1;display:block}
	.erbt-cards .erbt-mini:not(.is-nolabel) .erbt-buy .erbt-form{display:flex;gap:6px;width:100%}
	.erbt-cards .erbt-mini:not(.is-nolabel) .erbt-form .erbt-add{flex:1 1 auto;height:36px;min-height:36px;font-size:14px !important}
	.erbt-cards .erbt-mini:not(.is-nolabel) .erbt-qty{height:36px}
	.erbt-cards .erbt-mini:not(.is-nolabel) .erbt-stock{display:block;text-align:left}
}

.erbt .erbt-table.is-nolabel tbody td.erbt-price{font-size:18px}
@container erbt (max-width:500px){
	.erbt .erbt-table.is-nolabel tbody td.erbt-price{text-align:left}
}

/* ===== Options & add-ons (1.4.0) ===== */
.erbt-choices{display:flex;flex-direction:column;gap:8px;border:1px solid #E3E3E3;border-top:0;border-radius:0 0 6px 6px;padding:10px 12px 12px;margin-top:-1px;background:#fff}
.erbt-table + .erbt-choices{border-top:1px solid #EEEEEE}
.erbt-choice{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.erbt-choice-name{font-size:14px;font-weight:700;margin-right:4px}
.erbt-req{color:#DB1B1B}
.erbt-pill{position:relative;display:inline-flex;margin:0;cursor:pointer}
.erbt-pill input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.erbt-pill span{display:inline-flex;align-items:center;gap:4px;min-height:32px;min-width:60px;justify-content:center;padding:0 12px;border:1px solid #D4D4D4;border-radius:16px;background:#fff;color:#141414;font-size:13px;font-weight:700;line-height:1;transition:background .15s,border-color .15s}
.erbt-pill span em{font-style:normal;font-weight:600;opacity:.75}
.erbt-pill:hover span{border-color:#8a8a8a}
.erbt-pill input:checked + span{background:#141414;border-color:#141414;color:#fff}
.erbt-pill input:focus-visible + span{outline:2px solid #DB1B1B;outline-offset:2px}
.erbt-choices.is-card{border:0;border-radius:0;padding:4px 0 0;margin:0;background:transparent;gap:6px}
.erbt-choices.is-card .erbt-choice-name{font-size:12px}
.erbt-choices.is-card .erbt-pill span{min-height:28px;min-width:0;padding:0 9px;border-radius:14px;font-size:12px}

/* Goes well with */
.erbt-ups{margin-top:14px;border:1px solid #E3E3E3;border-radius:6px;overflow:hidden;background:#FBFBFB;container-type:inline-size}
.erbt-ups-head{padding:8px 12px;font-size:11px;font-weight:700;letter-spacing:.8px;text-transform:uppercase;color:#777;border-bottom:1px dashed #E3E3E3}
.erbt-up-row{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 12px;border-top:1px solid #EEEEEE}
.erbt-ups-head + .erbt-up-row{border-top:0}
.erbt-up-img{display:block;width:48px;height:48px;border-radius:4px;overflow:hidden;background:#F0F0F0}
.erbt-up-img img{width:100%;height:100%;object-fit:contain;display:block;margin:0}
.erbt-up-name{display:flex;flex-direction:column;gap:2px;min-width:0;line-height:1.3}
.erbt-up-name > a,.erbt-up-name > a:visited{font-size:14px;font-weight:700;color:#141414;text-decoration:none !important;border:0;box-shadow:none}
.erbt-up-name > a:hover{color:#DB1B1B}
.erbt-up-size{font-size:12px;color:#666}
.erbt-up-name .erbt-price{display:flex;align-items:baseline;gap:8px;font-size:15px;font-weight:800}
.erbt-up-name .erbt-total{font-size:12px;font-weight:600;color:#777}
.erbt-up-row .erbt-form{display:flex;align-items:center;gap:8px}
.erbt .erbt-up-row .erbt-form .erbt-add,.erbt-cards .erbt-up-row .erbt-form .erbt-add{background:#fff !important;color:#DB1B1B !important;border:1px solid #DB1B1B !important}
.erbt .erbt-up-row .erbt-form .erbt-add:hover,.erbt .erbt-up-row .erbt-form .erbt-add:focus-visible,.erbt-cards .erbt-up-row .erbt-form .erbt-add:hover,.erbt-cards .erbt-up-row .erbt-form .erbt-add:focus-visible{background:#DB1B1B !important;color:#fff !important}
.erbt .erbt-up-row .erbt-form .erbt-add.is-added,.erbt-cards .erbt-up-row .erbt-form .erbt-add.is-added{background:#0F5A33 !important;border-color:#0F5A33 !important;color:#fff !important}
.erbt-ups-more,.erbt-ups-more:visited{display:block;padding:8px 12px;font-size:13px;font-weight:700;border-top:1px solid #EEEEEE;color:#DB1B1B;text-decoration:none !important}
.erbt-ups-more:hover{color:#B31515}
.erbt .erbt-add.is-added,.erbt-cards .erbt-add.is-added{background:#0F5A33 !important}
@container (max-width:420px){
	.erbt-up-row{grid-template-columns:40px minmax(0,1fr);gap:8px 10px}
	.erbt-up-img{width:40px;height:40px}
	.erbt-up-row .erbt-buy{grid-column:1 / -1}
	.erbt-up-row .erbt-form{width:100%}
	.erbt-up-row .erbt-add{flex:1 1 auto}
}
/* on a shop card */
.erbt-ups.is-card{margin-top:8px;border-radius:6px}
.erbt-ups.is-card .erbt-ups-head{display:none}
.erbt-ups.is-card .erbt-up-row{grid-template-columns:minmax(0,1fr) auto;padding:7px 10px;border-top:0}
.erbt-ups.is-card .erbt-up-row + .erbt-up-row{border-top:1px solid #EEEEEE}
.erbt-ups.is-card .erbt-up-name > a{font-size:12px;font-weight:600}
.erbt-ups.is-card .erbt-up-name .erbt-price{font-size:13px}
@container (max-width:330px){
	.erbt-ups.is-card .erbt-up-row{grid-template-columns:1fr}
}
.erbt-cards .erbt-ups .erbt-buy{grid-column:auto;display:block}
.erbt-cards .erbt-ups .erbt-buy .erbt-form{display:flex;align-items:center;gap:6px}
.erbt-cards .erbt-ups .erbt-qty{height:30px}
.erbt-cards .erbt-ups .erbt-add{height:30px;padding:0 10px}
