/* EBS approved brand extension. Keep native WooCommerce markup and behaviors. */
.woocommerce .woocommerce-breadcrumb{font-size:13px;line-height:1.7;color:#415451;margin-bottom:32px}
.woocommerce .woocommerce-breadcrumb a{color:var(--ink)}
.woocommerce .page-title{max-width:850px;margin-bottom:28px}
.ebs-catalog-tools{display:grid;grid-template-columns:minmax(260px,.85fr) 1.5fr;gap:32px;align-items:center;border-block:1px solid var(--line);padding:26px 0;margin:28px 0 36px}
.ebs-catalog-tools .eyebrow{margin-bottom:10px}
.woocommerce-product-search{display:flex;gap:8px;align-items:stretch}
.woocommerce-product-search input[type=search]{width:100%;min-width:0;border:1px solid var(--line);background:#fff;border-radius:2px;padding:12px;font:inherit}
.woocommerce-product-search button{letter-spacing:0;flex-shrink:0}
.ebs-category-links{display:flex;gap:8px;flex-wrap:wrap}
.ebs-category-links a{display:inline-flex;align-items:center;min-height:40px;padding:7px 12px;border:1px solid var(--line);font-size:13px;text-decoration:none;background:#fff}
.ebs-category-links a:hover,.ebs-category-links a[aria-current=page]{background:var(--teal);color:#fff;border-color:var(--teal)}
.woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:28px 0}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{float:none;width:auto;margin:0;padding:0;display:flex;flex-direction:column}
/* Override WooCommerce's mobile percentage widths inside the theme-owned Grid. */
.woocommerce .content-shell ul.products[class*="columns-"]>li.product,.woocommerce-page .content-shell ul.products[class*="columns-"]>li.product{width:100%;min-width:0;max-width:none;float:none;clear:none;margin:0}
.woocommerce .content-shell ul.products[class*="columns-"] .woocommerce-loop-product__title,.woocommerce .content-shell ul.products[class*="columns-"] .ebs-card-category{overflow-wrap:anywhere}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:block;text-decoration:none}
.woocommerce ul.products li.product a img{margin:0 0 20px;width:100%;aspect-ratio:1;object-fit:contain;background:#fff}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font:400 27px/1.2 Georgia,"Times New Roman",serif;letter-spacing:-.025em;padding:0;margin-bottom:10px;color:var(--ink)}
.woocommerce ul.products li.product .price{font-size:16px;color:var(--teal);line-height:1.6;margin-top:8px}
.woocommerce ul.products li.product .price del{opacity:1;color:#56635d}
.ebs-card-category{display:block;margin:0 24px;font-size:12px;color:#4a5d58}
.woocommerce ul.products li.product .button{align-self:flex-start;margin-top:auto;max-width:calc(100% - 48px);white-space:normal}
.woocommerce .woocommerce-result-count{font-size:14px;color:#415451;margin:0 0 20px}
.woocommerce .woocommerce-ordering select{min-height:44px;border:1px solid var(--line);background:#fff;border-radius:2px;padding:10px 32px 10px 12px;color:var(--ink)}
.woocommerce nav.woocommerce-pagination{margin-top:36px}
.woocommerce nav.woocommerce-pagination ul{border-color:var(--line)}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{padding:14px 18px;min-height:44px}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--teal);color:#fff}
.woocommerce div.product{position:relative}
.woocommerce div.product div.images{width:52%;margin-bottom:40px}
.woocommerce div.product div.summary{width:43%;padding:0 0 0 12px;margin-bottom:40px}
.woocommerce div.product .product_title{font-size:clamp(36px,4.7vw,64px);line-height:1.08;margin-bottom:22px}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--teal);font-size:25px}
.woocommerce div.product .woocommerce-product-gallery{border:1px solid var(--line);background:#fff}
.woocommerce div.product div.images img{object-fit:contain;background:#fff;max-height:680px}
.woocommerce div.product div.images .flex-control-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:12px;border-top:1px solid var(--line)}
.woocommerce div.product div.images .flex-control-thumbs li{float:none;width:auto;list-style:none}
.woocommerce div.product div.images .flex-control-thumbs li img{aspect-ratio:1;object-fit:contain;opacity:.65;border:1px solid var(--line)}
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active{opacity:1;border-color:var(--teal)}
.woocommerce div.product .stock{font-size:14px;padding:10px 14px;background:#fff;border-left:3px solid var(--teal);color:var(--ink)}
.woocommerce div.product .out-of-stock{border-color:#885a35;color:#653815}
.ebs-specifications{margin:22px 0;padding-block:20px;border-block:1px solid var(--line)}
.ebs-specifications dl{margin:0}
.ebs-specifications dl>div{display:grid;grid-template-columns:85px 1fr;gap:16px;padding-bottom:12px}
.ebs-specifications dt{font-size:13px;color:#415451;font-weight:600}
.ebs-specifications dd{margin:0;font-size:15px;overflow-wrap:anywhere}
.ebs-small{font-size:13px;line-height:1.65;color:#415451}
.ebs-specifications .ebs-small{margin-bottom:0}
.ebs-product-enquiry{margin-top:28px;padding:26px;background:#e5e8df;border:1px solid var(--line)}
.ebs-product-enquiry h2{font-size:30px;line-height:1.15;margin-bottom:12px}
.ebs-product-enquiry p{font-size:14px}
.ebs-product-enquiry .button{margin:4px 0 16px;letter-spacing:.015em}
.ebs-product-enquiry .ebs-small{font-size:12px;margin-bottom:0}
.woocommerce div.product .product_meta{font-size:12px;line-height:1.9;border-top:1px solid var(--line);padding-top:20px;color:#415451}
.woocommerce div.product .product_meta>span{display:block}
.woocommerce div.product form.cart{margin:24px 0}
.woocommerce div.product form.cart .variations label{font-size:13px;font-weight:600}
.woocommerce div.product form.cart .variations select{width:100%;min-height:46px;border:1px solid var(--line);padding:10px;background:#fff;color:var(--ink)}
.woocommerce .quantity .qty{min-height:48px;min-width:72px;border:1px solid var(--line);background:#fff;padding:10px;color:var(--ink)}
.woocommerce div.product form.cart .button{margin-left:8px}
.woocommerce div.product .woocommerce-tabs{clear:both;padding-top:24px}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;margin-bottom:30px;border-bottom:1px solid var(--line)}
.woocommerce div.product .woocommerce-tabs ul.tabs::before{border:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li{border:0;border-radius:0;margin:0 22px 0 0;padding:0;background:transparent}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{font-weight:500;padding:14px 0;color:#415451}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:transparent;border-bottom:3px solid var(--teal)}
.woocommerce div.product .woocommerce-tabs .panel{max-width:900px;line-height:1.8}
.woocommerce .related.products{clear:both;padding-top:36px;border-top:1px solid var(--line)}
.woocommerce .related.products>h2{font-size:38px}
.woocommerce .woocommerce-error,.woocommerce .woocommerce-info,.woocommerce .woocommerce-message{background:#fff;border-color:var(--teal);color:var(--ink);font-size:15px}
.woocommerce .woocommerce-error{border-color:#9a3324}
.woocommerce .woocommerce-error::before{color:#9a3324}
.woocommerce .woocommerce-message::before,.woocommerce .woocommerce-info::before{color:var(--teal)}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form select{background:#fff;border:1px solid var(--line);border-radius:2px;padding:12px;color:var(--ink);min-height:46px}
.woocommerce form .form-row label{font-size:14px}
.woocommerce table.shop_table{border:1px solid var(--line);border-radius:0;background:#fff;border-collapse:collapse}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:18px;border-color:var(--line)}
.woocommerce .woocommerce-MyAccount-navigation{width:23%;border:1px solid var(--line);background:#fff}
.woocommerce .woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0}
.woocommerce .woocommerce-MyAccount-navigation li a{display:block;min-height:48px;padding:13px 18px;border-bottom:1px solid var(--line);font-size:14px;text-decoration:none}
.woocommerce .woocommerce-MyAccount-navigation li:last-child a{border:0}
.woocommerce .woocommerce-MyAccount-navigation li.is-active a{background:var(--teal);color:#fff}
.woocommerce .woocommerce-MyAccount-content{width:72%}
.wc-block-components-button:not(.is-link),.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button{border-radius:2px;min-height:48px;background:var(--teal);color:#fff;font-weight:600}
.wc-block-components-button:not(.is-link):disabled{opacity:.55;cursor:not-allowed}
.wc-block-components-text-input input,.wc-block-components-combobox-control input,.wc-blocks-components-select .wc-blocks-components-select__container{border-radius:2px!important;background:#fff!important}
.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout{color:var(--ink);padding-block:12px}
.wc-block-cart__sidebar,.wc-block-checkout__sidebar{background:#fff;padding:24px;border:1px solid var(--line);align-self:start}
.wc-block-components-title{font-family:Georgia,"Times New Roman",serif;letter-spacing:-.025em}
.content-shell .woocommerce a.remove{color:#8e3023!important;font-size:24px}
.content-shell .woocommerce a.remove:hover{background:#8e3023;color:#fff!important}
.content-shell:has(.woocommerce),.content-shell:has(.wp-block-woocommerce-cart),.content-shell:has(.wp-block-woocommerce-checkout){padding-block:42px 72px}
.ebs-empty-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
@media(max-width:900px){.ebs-catalog-tools{grid-template-columns:1fr;gap:22px}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.woocommerce div.product div.images{width:50%}.woocommerce div.product div.summary{width:46%;padding:0}.wc-block-cart__sidebar,.wc-block-checkout__sidebar{padding:18px}}
@media(max-width:760px){.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none;width:100%;margin:0 0 28px}.woocommerce div.product div.images img{max-height:550px}.woocommerce .woocommerce-ordering,.woocommerce .woocommerce-result-count{float:none;margin:0 0 16px}.woocommerce .woocommerce-ordering select{width:100%}.woocommerce ul.products{gap:16px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:23px;margin-inline:18px}.ebs-card-category{margin-inline:18px}.woocommerce ul.products li.product .price{margin-inline:18px;font-size:14px}.woocommerce ul.products li.product .button{margin:12px 18px 18px;max-width:calc(100% - 36px);padding:11px 14px;letter-spacing:0}.woocommerce .woocommerce-MyAccount-navigation,.woocommerce .woocommerce-MyAccount-content{float:none;width:100%;margin-bottom:26px}.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:12px}.woocommerce div.product .woocommerce-tabs ul.tabs li{margin-right:16px}.ebs-product-enquiry{padding:22px}.ebs-product-enquiry h2{font-size:29px}}
@media(max-width:360px){.woocommerce ul.products{grid-template-columns:1fr}.woocommerce-product-search{flex-direction:column}.woocommerce div.product div.images .flex-control-thumbs{grid-template-columns:repeat(4,minmax(0,1fr))}}
