@font-face {
    font-family: 'Futura PT W01 Light';
    src: url('../../assets/fonts/FuturaPT-Light.woff2') format('woff2');
    font-display: swap;
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Futura PT W01 Book';
    src: url('../../assets/fonts/FuturaPT-Book.woff2') format('woff2');
    font-display: swap;
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Futura PT W01 Demi';
    src: url('../../assets/fonts/FuturaPT-Demi.woff2') format('woff2');
    font-display: swap;
    font-weight: normal;
    font-style: normal;
}
/*@font-face {
    font-family: 'Futura PT W01 Medium';
    src: url('../../fonts/FuturaPT-Medium.woff2') format('woff2');
    font-display: swap;
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Futura PT W01 Heavy';
    src: url('../../fonts/FuturaPT-Heavy.woff2') format('woff2');
    font-display: swap;
    font-weight: normal;
    font-style: normal;
}*/


:root {
  --brand-colour:#968762;
  --brand-alt-colour:#8499a7;
  --font-colour:#222;
  --brand-font: 'Futura PT W01 Book', 'Open Sans', arial, sans-serif;
  --brand-font-bold: 'Futura PT W01 Demi', 'Open Sans', arial, sans-serif;
  --brand-font-light: 'Futura PT W01 Light', 'Open Sans', arial, sans-serif;
  --font-light-colour:#888;
  --font-heading-colour:#888;
  --border-colour:rgba(0, 0, 0, 0.05);
  --link-colour:#999;
  --bg-colour:#fff;
  --bg-colour-tint:#f3f3f3;
  --bg-colour-light-tint:#f7f7f7;
  --bg-config-tint:#f3f3f3;
  --bg-config-dark-tint:#e4e4e4;;
  --bg-dark-colour:#222;
  --button-colour:#fff;
  --button-bg-colour:#111;
  --border-radius:3px;
  --notificationheight: 1.25rem;
  --headerheight: 4.5rem;
  --headerheightmargin: -4.5rem;
  --shopmaxwidth: 1400px;
  --shopwidth: 100%;
  --input-text-size:18px;
  --input-height:50px;
  
  --wp--preset--font-size--small:18px;
}

/* -----------------------------
   Global
----------------------------- */

body {
    margin: 0;
    background: var(--bg-colour);
    color: var(--font-colour);
    font-family: var(--brand-font);font-size: 1.2em;
    line-height: 1.5;
        -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

a:hover {
    color: var(--brand-colour);
}

h1, h2, h3, h4, h5{font-weight:100;}

/* -----------------------------
   Links
----------------------------- */

a {
    color: var(--link-colour);
    text-decoration: none;
    transition: color 0.2s ease;
    outline:none;
}

/* Hover (primary interaction) */
a:hover {
    color: var(--brand-colour);
    
}

/* Active (click state) */
a:active {
    color: var(--brand-colour);
    opacity: 0.8;
    outline: none;
}

/* Visited (subtle, not distracting) */
a:visited {
    color: var(--font-light-colour);
}

/* Focus (keyboard accessibility) */
a:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(150, 135, 98, 0.25);
    border-radius: 2px;
}


.fa-light, .fa-regular, .fa-brands, .fa {
    display: inline-block;
    line-height: normal;
}

.fa:before, .fa-light:before, .fa-regular:before, .fa-brands:before, .menu-mega-menu-container .menu-item-has-children > a:after {
    content: " ";
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;
    height: 20px;
    vertical-align: bottom;
    display: inline-block;
}

.fa-user:before {
    background-image: url(https://trade.tailormade.uk/wp-content/uploads/tm-icon-profile.svg);
}

.fa-basket-shopping-simple:before {
    background-image: url(https://trade.tailormade.uk/wp-content/uploads/tm-icon-basket.svg);
}

.fa-arrow-right-from-bracket:before {
    background-image: url(http://trade.tailormade.uk/wp-content/uploads/tm-icon-arrow-right-from-bracket.svg);
}

/* ==========================================
   REMOVE ITEM ICONS
========================================== */

/* Reset default icon appearance */

.wc-block-cart-item__remove-link,
.tm-mini-basket-remove {
    position: relative;
    width: 25px;
    height: 25px;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 0;
    line-height: 0;
    color: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

/* Hide WooCommerce SVG */

.wc-block-cart-item__remove-link svg {
    display: none;
}

/* Custom icon */

.wc-block-cart-item__remove-link::before,
.tm-mini-basket-remove::before {
    content: "";
    width: 25px;
    height: 25px;
    display: block;
    background-image: url("https://trade.tailormade.uk/wp-content/uploads/tm-icon-remove.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Hover */

.wc-block-cart-item__remove-link:hover,
.tm-mini-basket-remove:hover {
    opacity: 0.6;
}

@media screen and (max-width: 760px) {
    .mobilehide {
        display: none !important;
    }
}

.tm-shop-filters__grid, .main-navigation, .tm-header-actions, .woocommerce ul.products li.product .button, 
.woocommerce div.product form.cart .button, .tm-mini-basket-button, .wc-block-components-checkout-place-order-button__text,
a.tm-active-filters__clear, .wp-block-gallery.has-nested-images figure.wp-block-image figcaption
{
    font-size: 13px;
    font-family: var(--brand-font-bold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    font-weight: 100;}

 .site-main {
    width: var(--shopwidth);
    max-width: var(--shopmaxwidth);
    margin: 0 auto;
    padding: 32px 0 56px;
}

.woocommerce-products-header {
    margin: 0 0 28px;
}

.woocommerce-products-header__title,
.page-title,
.entry-title {
    margin: auto;
    color: var(--font-colour);
    font-family: var(--brand-font-bold);
    font-size: clamp(25px, 4vw, 36px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-align:center;
}


.wp-block-separator {
    border: none;
    border-top: 1px solid var(--border-colour);
    background: none;
}

.term-description,
.page-description {
    max-width: 760px;
    color: var(--font-light-colour);
    font-size: 16px;
    line-height: 1.65;
}

/* -----------------------------
   Header
----------------------------- */

.site-header {
    position: relative; /* sticky 
    top: 0;
    z-index: 100; */
    background: var(--bg-colour);
    color: var(--font-colour);
}

.site-branding {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: var(--shopwidth);
    max-width: var(--shopmaxwidth);
    margin: 0 auto;
    padding: 18px 0;
    gap: 20px;
}

.header-site-branding {
    line-height: var(--headerheight);
    
    width: 33%;
}

.header-site-branding a {
    display: block;
    width: auto;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    text-indent: -10000px;
    margin: auto;
    max-width:200px;
    background-image: url(/wp-content/uploads/tailor-made-logo.svg);
}

.header-site-branding a:hover {
    color: var(--brand-colour);
}

.tm-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tm-header-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    color: var(--font-colour);
    font-size: 13px;
    text-decoration: none;
    column-gap: 4px;
    
}

.tm-header-action:visited {
    color: var(--font-colour);
}

.tm-header-action:hover {
    text-decoration:none;
    color: var(--brand-colour);
    outline:none;
}

.tm-header-action--primary {
    background:#fff;
    
    color: var(--brand-colour);
}

.tm-header-action--primary:hover {
    background: #fff;
    border-color: #fff;
    color: var(--font-colour);
}

.tm-header-action--secondary {
	opacity: 0.75;
}

/* -----------------------------
   Basket Button and Slide-out Basket
----------------------------- */

.tm-basket-link {
	position: relative;
}

.page-id-8 .tm-basket-link{ 
    visibility: hidden;
}

.tm-basket-count {
	
	background: #000;
    color: #fff;
    font-size: 12px;
    padding: 0;
    border-radius: 50%;
    line-height: 28px;
    width: 28px;
    text-align: center;
}


/* -----------------------------
   Mini Basket Panel
----------------------------- */

.tm-mini-basket-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	opacity: 0;
	visibility: hidden;
	z-index: 9998;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}


.tm-mini-basket-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    width: min(440px, 94vw);
    height: 100vh;
    background: var(--bg-colour);
    border-left: 1px solid var(--border-colour);
    transform: translateX(100%);
    transition: transform 0.25s ease;
}

.tm-mini-basket-panel.is-open,
body.tm-mini-basket-open .tm-mini-basket-panel {
    transform: translateX(0);
}

.tm-mini-basket-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    border-bottom: 1px solid var(--border-colour);
    background: var(--bg-colour);
}

.tm-mini-basket-header h2 {
    margin: 0;
    font-family: var(--brand-font-bold);
    font-size: 22px;
    line-height: 1.2;
    color: var(--font-colour);
}

.tm-mini-basket-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border-colour);
    border-radius: 999px;
    background: var(--bg-colour);
    color: var(--font-colour);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    padding:0;
}

.tm-mini-basket-panel a:hover{text-decoration:none;}

.tm-mini-basket-close:hover {
    border-color: var(--brand-colour);
    color: var(--brand-colour);
}

/* Items */

.tm-mini-basket-items {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    background: var(--bg-colour-light-tint);
}

.tm-mini-basket-item {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
    margin-bottom: 14px;
    border: 1px solid var(--border-colour);
    border-radius: var(--border-radius);
    background: var(--bg-colour);
}

.tm-mini-basket-item:last-child {
    margin-bottom: 0;
}

.tm-mini-basket-item-image img {
    width: 86px;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
    background: var(--bg-colour-light-tint);
}

.tm-mini-basket-item-info {
    min-width: 0;
}

.tm-mini-basket-item-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 32px;
    gap: 10px;
    align-items: start;
}

.tm-mini-basket-item-title {
    color: var(--font-colour);
    font-family: var(--brand-font-bold);
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
}

.tm-mini-basket-item-title:hover {
    color: var(--brand-colour);
}

.tm-mini-basket-item-attributes {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
	font-size: 13px;
	line-height: 1.45;
	opacity: 0.8;
}

.tm-mini-basket-item-attributes li {
	margin: 0 0 2px;
}



.tm-mini-basket-item-meta {
    margin-top: 10px;
    color: var(--font-light-colour);
    font-size: 13px;
}

.tm-mini-basket-item-price {
    margin-top: 6px;
    color: var(--font-colour);
    font-family: var(--brand-font-bold);
    font-size: 15px;
}

/* Footer */

.tm-mini-basket-footer {
    padding: 20px 24px 24px;
    border-top: 1px solid var(--border-colour);
    background: var(--bg-colour);
}

.tm-mini-basket-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-colour);
}

.tm-mini-basket-total span {
    color: var(--font-light-colour);
}

.tm-mini-basket-total strong,
.tm-mini-basket-total strong span {
    color: var(--font-colour);
    font-family: var(--brand-font-bold);
    font-size: 18px;
}

.tm-mini-basket-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: var(--input-height);
    width: 100%;
    margin-top: 10px;
    border: 1px solid var(--border-colour);
    border-radius: 999px;
    background: var(--bg-colour);
    color: var(--font-colour);
    font-family: var(--brand-font-bold);
    font-size: 14px;
    text-decoration: none;
}

.tm-mini-basket-button:hover {
    border-color: var(--brand-colour);
    color: var(--brand-colour);
}

.tm-mini-basket-button--primary {
    background: var(--button-bg-colour);
    border-color: var(--button-bg-colour);
    color: var(--button-colour);
}

.tm-mini-basket-button--primary:hover {
    background: var(--brand-colour);
    border-color: var(--brand-colour);
    color: #fff;
}

/* Optional overlay if your JS adds it */
.tm-mini-basket-overlay,
body.tm-mini-basket-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0,0,0,0.35);
}

/* Empty state */

.tm-mini-basket-empty {
    padding: 24px;
    border: 1px solid var(--border-colour);
    border-radius: var(--border-radius);
    background: var(--bg-colour);
    color: var(--font-light-colour);
    text-align: center;
}

/* Mobile */

@media (max-width: 480px) {
    .tm-mini-basket-header {
        padding: 18px;
    }

    .tm-mini-basket-items {
        padding: 14px;
    }

    .tm-mini-basket-item {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }

    .tm-mini-basket-item-image img {
        width: 72px;
    }

    .tm-mini-basket-footer {
        padding: 18px;
    }
}

/* -----------------------------
   Navigation
----------------------------- */

.main-navigation {
    border-bottom: 1px solid var(--border-colour);
    border-top: 1px solid var(--border-colour);
}

.main-navigation > div {
    width: var(--shopwidth);
    max-width: var(--shopmaxwidth);
    margin: 0 auto;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: auto;
    padding: 14px 0;
    list-style: none;
    justify-content: space-evenly;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    color: var(---link-colour);
    text-decoration: none;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    color: var(--brand-colour);
    text-decoration:none;
}

.menu-toggle {
    display: none;
}

/* -----------------------------
   Active Filters
----------------------------- */


.tm-active-filters {
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid var(--border-colour);
    background: var(--bg-colour-light-tint);
    border-radius: var(--border-radius);
}

.tm-active-filters__label {
    margin-bottom: 8px;
    font-family: var(--brand-font-bold);
}

.tm-active-filters__items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tm-active-filters__item,
.tm-active-filters__clear {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--border-colour);
    border-radius: var(--border-radius);
    background: var(--bg-colour);
    color: var(--font-colour);
    font-size: 13px;
    text-decoration: none;
}

a.tm-active-filters__clear {
    background: var(--brand-colour);
    color: #fff;
}

.tm-active-filters__item:hover,
.tm-active-filters__clear:hover {
    border-color: var(--brand-colour);
}

.tm-active-filters__item-remove {
    font-size: 17px;
    line-height: 1;
}

/* -----------------------------
   Shop Filters
----------------------------- */

.tm-shop-filters {
    margin: 0 0 28px;
    padding: 18px;
    border: 1px solid var(--border-colour);
    border-radius: var(--border-radius);
    background: var(--bg-colour-light-tint);
}

.tm-shop-filters__grid {
    display: grid;
    grid-template-columns: 1.1fr 1.1fr 1.6fr 1fr;
    gap: 22px;
    align-items: start;
}

.tm-shop-filters__field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tm-shop-filters__label {
    font-family: var(--brand-font-bold);
    font-size: 13px;
    letter-spacing: 0.02em;
    color: var(--font-colour);
}

.tm-shop-filters__select {
    width: 100%;
    height: var(--input-height);
    padding: 0 12px;
    border: 1px solid var(--border-colour);
    border-radius: var(--border-radius);
    background: var(--bg-colour);
    color: var(--font-colour);
}

.tm-shop-filters__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.tm-filter-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid var(--border-colour);
    border-radius: var(--border-radius);
    background: var(--bg-colour);
    color: var(--font-colour);
    text-decoration: none;
        font-size: 10px;
}

.tm-filter-pill:hover {
    border-color: var(--brand-colour);
}

.tm-filter-pill.is-active {
    border-color: var(--brand-colour);
    background: var(--bg-colour-tint);
    font-family: var(--brand-font-bold);
}

.tm-filter-pill__swatch {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.18);
    flex-shrink: 0;
}

.tm-filter-pill.is-active .tm-filter-pill__swatch {
    box-shadow: 0 0 0 2px var(--brand-colour);
}

.tm-color-black .tm-filter-pill__swatch { background: #3a3a3a; }
.tm-color-blue .tm-filter-pill__swatch { background: #7f9cc4; }
.tm-color-brown .tm-filter-pill__swatch { background: #b59a7a; }
.tm-color-cream .tm-filter-pill__swatch { background: #e8e3cf; }
.tm-color-green .tm-filter-pill__swatch { background: #8fb58a; }
.tm-color-grey .tm-filter-pill__swatch { background: #bdbdbd; }
.tm-color-pink .tm-filter-pill__swatch { background: #e6a3a3; }
.tm-color-tan .tm-filter-pill__swatch { background: #d4a373; }
.tm-color-white .tm-filter-pill__swatch {
    background: #fff;
    border-color: #cfcfcf;
}

/* -----------------------------
   WooCommerce Shop Loop
----------------------------- */

.tm-shop-loop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.woocommerce .woocommerce-result-count {
    margin: 0 0 18px;
    color: var(--font-light-colour);
    font-size: 14px;
}

.woocommerce .woocommerce-ordering {
    margin: 0 0 18px;
}

.woocommerce .woocommerce-ordering select {
    min-height: var(--input-height);
    padding: 0 36px 0 12px;
    border: 1px solid var(--border-colour);
    border-radius: var(--border-radius);
    background-color: var(--bg-colour);
    color: var(--font-colour);
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin: 0;
    padding: 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;
    justify-content: space-between;
    border-radius: var(--border-radius);
    background: var(--bg-colour);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.woocommerce ul.products li.product:hover {
    border-color: var(--brand-colour);
    box-shadow: 0 12px 28px rgba(0,0,0,0.07);
    transform: translateY(-2px);
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: auto;
    margin: 0;
    background: var(--bg-colour-light-tint);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 16px 16px 6px;
    margin: 0;
    font-family: var(--brand-font-bold);
    color: var(--font-colour);
     font-size: clamp(14px, 1.1vw, 17px);
    line-height: 1.35;
}

.tm-product-card-spec {
    padding: 0 16px 4px;
    color: var(--font-colour);
    font-size: 13px;
    line-height: 1.4;
}

.tm-product-card-note {
    padding: 0 16px 10px;
    color: var(--font-light-colour);
    font-size: 13px;
    line-height: 1.4;
}

.woocommerce ul.products li.product .price {
    display: block;
    padding: 0 16px 14px;
    margin: 0;
    color: var(--font-colour);
    font-family: var(--brand-font-bold);
    font-size: 15px;
}

/*.woocommerce ul.products li.product .price::before {
    content: "From ";
    font-family: var(--brand-font);
    color: var(--font-light-colour);
}*/

.woocommerce ul.products li.product .button {
    margin: 0 16px 16px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    background: var(--button-bg-colour);
    color: var(--button-colour);
    font-size: 13px;
    font-family: var(--brand-font-bold);
    text-decoration: none;
        padding: 0 20px;
}

.woocommerce ul.products li.product .button:hover {
    background: var(--brand-colour);
    color: #fff;
}

/* -----------------------------
   Delivery Note
----------------------------- */
.tm-product-delivery-info {
	margin: 24px 0;
	padding: 18px;
	border: 1px solid var(--border-colour);
    background: var(--bg-colour-light-tint);
    border-radius: var(--border-radius);
}

.tm-product-delivery-info p {
	margin: 0 0 10px;
	font-family: var(--brand-font-bold);
}

.tm-product-delivery-info ul {
	margin: 0;
	padding-left: 18px;
}
c
.tm-product-delivery-info li {
	margin-bottom: 6px;
}

/* -----------------------------
   WordPress Gallery PhotoSwipe
----------------------------- */

.wp-block-gallery a,
.gallery a,
.tm-photoswipe-gallery-link {
    cursor: zoom-in;
}

.wp-block-gallery img,
.gallery img {
    border-radius: var(--border-radius);
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption{background:unset; text-shadow:unset; color:var(--font-colour); position: relative;}
.wp-block-gallery.has-nested-images figure.wp-block-image img {aspect-ratio: 3 / 2;}


/* -----------------------------
   Product Gallery Zoom Icon
----------------------------- */

/* Position the trigger */
.woocommerce-product-gallery__trigger {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-colour);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Hide default emoji image */
.woocommerce-product-gallery__trigger img {
    display: none !important;
}

/* Add your custom icon */
.woocommerce-product-gallery__trigger::before {
    content: "";
    width: 25px;
    height: 25px;
    display: block;
    background: url('/wp-content/uploads/tm-icon-search.svg') no-repeat center;
    background-size: contain;
}

/* Hover state */
.woocommerce-product-gallery__trigger:hover {
    background: var(--font-colour);
}

.woocommerce-product-gallery__trigger:hover::before {
    filter: brightness(0) invert(1); /* turns icon white if it's dark */
}

/* Optional subtle shadow for premium feel */
.woocommerce-product-gallery__trigger {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* -----------------------------
   No Products Found
----------------------------- */

.tm-no-products-found {
    margin: 32px 0 0;
    padding: clamp(28px, 5vw, 64px);
    border: 1px solid var(--border-colour);
    border-radius: var(--border-radius);
    background: var(--bg-colour);
    color: var(--font-colour);
    text-align: center;
}

.tm-no-products-found__eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--brand-colour);
    font-family: var(--brand-font-bold);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tm-no-products-found h2 {
   
    margin: 0 auto 14px;
    font-family: var(--brand-font-bold);
    font-size: clamp(26px, 3vw, 44px);
    line-height: 1.12;
    color: var(--font-colour);
}

.tm-no-products-found p {
    
    margin: 0 auto 26px;
    color: var(--font-light-colour);
    font-size: 15px;
    line-height: 1.65;
}

.tm-no-products-found__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--input-height);
    padding: 0 24px;
    border-radius: 999px;
    background: var(--button-bg-colour);
    color: var(--button-colour);
    font-family: var(--brand-font-bold);
    font-size: 14px;
    text-decoration: none;
}

.tm-no-products-found__button:visited {
    color: var(--button-colour);
}

.tm-no-products-found__button:hover {
    background: var(--brand-colour);
    color: #fff;
}

@media (max-width: 640px) {
    .tm-no-products-found {
        margin-top: 24px;
        padding: 28px 20px;
    }

    .tm-no-products-found__button {
        width: 100%;
    }
}

/* -----------------------------
   Pagination
----------------------------- */

.woocommerce nav.woocommerce-pagination {
    margin-top: 36px;
}

.woocommerce nav.woocommerce-pagination ul {
    border: none;
    display: flex;
    gap: 8px;
    justify-content: center;
        list-style: none;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    min-width: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-colour);
    border-radius: var(--border-radius);
    background: var(--bg-colour);
    color: var(--font-colour);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--bg-colour-tint);
    border-color: var(--border-colour);
    color: var(--font-colour);
}

/* -----------------------------
   Single Product Page Attributes
----------------------------- */

.pswp__bg {
    background: var(--bg-colour);}

.tm-product-config-options {
    margin: 0 0 24px;
    display: grid;
    gap: 16px;
}

.tm-product-config-option label {
    display: block;
    margin: 0 0 6px;
    font-family: var(--brand-font-bold);
}

.tm-product-config-option select {
    width: 100%;
    max-width: 320px;
    height: var(--input-height);
    padding: 0 12px;
    border: 1px solid var(--border-colour);
    border-radius: var(--border-radius);
    background: var(--bg-colour);
    color: var(--font-colour);
    font-size: 14px;
}

.single-product .tm-product-config-option select {max-width:unset;}

/* -----------------------------
   Single Product Smooth Pricing
----------------------------- */

.tm-smooth-pricing-note {
    margin: 12px 0 18px;
    /*padding: 12px 14px;
    border: 1px solid var(--border-colour);
    border-radius: var(--border-radius);
    background: var(--bg-config-tint);
    color: var(--font-colour);*/
}

.tm-live-pricing-box {
    margin: 0 0 24px;
}

.tm-live-pricing-summary {
    margin-bottom: 18px;
}

.tm-live-pricing-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
    border-top: 1px solid var(--border-colour);
    padding: 10px 0;
}

.tm-live-pricing-line:last-child {
    margin-bottom: 0;
}

.tm-live-pricing-label {
    font-family: var(--brand-font-bold);
}

.tm-live-unit-price-value,
.tm-live-total-price-value {
    font-family: var(--brand-font-bold);
}

.tm-pricing-table-wrap {
    overflow-x: auto;
    padding: 18px;
    border: 1px solid var(--border-colour);
    border-radius: var(--border-radius);
    background: var(--bg-colour-light-tint);
}

.tm-pricing-table-title {
    margin-bottom: 10px;
    font-family: var(--brand-font-bold);
}

.tm-pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.tm-pricing-table th,
.tm-pricing-table td {
    padding: 10px 12px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    white-space: nowrap;
}

.tm-pricing-table th {
    font-family: var(--brand-font-bold);
    font-weight:100;
}

.tm-pricing-row.is-active {
    background: var(--bg-config-dark-tint);
}

.tm-pricing-row.is-active td {
    font-family: var(--brand-font-bold);
}

.tm-pricing-row-threshold td:first-child {
    position: relative;
}


/* -----------------------------
   Single Product Layout
----------------------------- */


.single-product div.product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 580px);
    gap: 48px;
    align-items: start;
}

.single-product div.product .woocommerce-product-gallery {
    width: 100%;
    float: none;
    position: relative;
    display: flex;
    justify-content: center;
}

a.woocommerce-product-gallery__trigger {
    position: absolute;
    right: 0;
    top: 0;
}

.single-product div.product .summary {
    width: 100%;
    float: none;
    margin: 0;
    padding-top: 4%;
}

.single-product div.product .summary .price {
    margin: 0 0 14px;
    font-family: var(--brand-font-bold);
    font-size: 24px;
    color: var(--font-colour);
}

p.price:has(.tm-price-from) {
    display: none;
}

.single-product .tm-dynamic-product-description {
    margin: 18px 0;
    /*color: var(--font-light-colour);
    line-height: 1.6;*/
}

.single-product .stock {
    margin: 0 0 18px;
    color: var(--brand-colour);
    font-family: var(--brand-font-bold);
}

.single-product form.cart {
    margin: 24px 0;
    padding: 18px;
    border: 1px solid var(--border-colour);
    background: var(--bg-config-tint);
    border-radius: var(--border-radius);
}

.single-product form.cart .quantity {
    margin: 0 10px 0 0;
}

.single-product form.cart .qty {
    min-height: var(--input-height);
    border: 1px solid var(--border-colour);
    border-radius: var(--border-radius);
    float: left;
    width: 60px;
    margin-right: 5px;
        text-align: center;
}

.single-product .single_add_to_cart_button {
    min-height: var(--input-height);
    padding: 0 26px;
    border-radius: var(--border-radius);
    background: var(--button-bg-colour) !important;
    color: var(--button-colour);
    font-family: var(--brand-font-bold);
}

.single-product .single_add_to_cart_button:hover {
    background: var(--brand-colour);
}

.single-product .product_meta {
    margin-top: 20px;
    padding-top: 18px;
    color: var(--font-light-colour);
    font-size: 13px;
}

.single-product .product_meta > span {
    display: block;
    margin-bottom: 6px;
}

.single-product .post-navigation, .single-product .posted_in, .single-product .sku_wrapper {
	display: none !important;
}

.tm-product-specs-summary {
	margin-bottom: 16px;
}

.tm-product-specs-summary ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.tm-product-specs-summary li {
	
	margin-bottom: 4px;
}

.tm-product-specs-summary strong {
	display: inline-block;
	min-width: 90px;
}

.tm-trade-access-message {
	margin: 18px 0;
	padding: 14px 16px;
	background: #f7f5f2;
	border: 1px solid #e5dfd6;
}

/* -----------------------------
   Single Product Tabs as Open Sections
----------------------------- */

figure.wp-block-gallery.has-nested-images, .single-product .woocommerce-tabs {
    max-width: 1000px;
    margin-left:auto;
    margin-right:auto;
}

.single-product .woocommerce-tabs {
    grid-column: 1 / -1;
    margin-top: 42px;
    padding-top: 36px;
    border-top: 1px solid var(--border-colour);
}

/* Hide Woo tab buttons */
.single-product .woocommerce-tabs ul.tabs,
.single-product .woocommerce-tabs .wc-tabs {
    display: none !important;
}

/* Force all panels open */
.single-product .woocommerce-Tabs-panel,
.single-product .woocommerce-tabs .panel,
.single-product .wc-tab {
    display: block !important;
    margin: 0 0 28px;
    padding: 28px;
    border-radius: var(--border-radius);
    background: var(--bg-colour);
}

/* Panel headings */
.single-product .woocommerce-Tabs-panel h2,
.single-product .tm-product-tab-content h2 {
    margin: 0 0 18px;
    font-family: var(--brand-font-bold);
    font-size: 22px;
    line-height: 1.2;
}

/* Panel content */
.single-product .woocommerce-Tabs-panel p,
.single-product .tm-product-tab-content p {
    margin: 0 0 1.2em;
    line-height: 1.7;
}

div#tab-tm_disclaimer_options {
    grid-column: 1 / -1;
}

.single-product .woocommerce-Tabs-panel p:last-child,
.single-product .tm-product-tab-content p:last-child {
    margin-bottom: 0;
}

.single-product .tm-product-tab-content figure {
    margin: 24px 0;
}

.single-product .tm-product-tab-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

table.specification-table img.svgimg {
    aspect-ratio: 2 / 1;
    width: 100%;
    object-position: center;
    object-fit: cover;
}

/* Product attributes table */
.single-product table.woocommerce-product-attributes {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.single-product table.woocommerce-product-attributes th,
.single-product table.woocommerce-product-attributes td {
    padding: 12px;
    border-bottom: 1px solid var(--border-colour);
    text-align: left;
    vertical-align: top;
}

.single-product table.woocommerce-product-attributes th {
    width: 180px;
    font-family: var(--brand-font-bold);
    color: var(--font-colour);
        font-weight: 100;
}

.single-product table.woocommerce-product-attributes td p {
    margin: 0; padding: 0;
}

tr.woocommerce-product-attributes-item.woocommerce-product-attributes-item--attribute_pa_size .woocommerce-product-attributes-item__value p:after {
    content: "mm";
}

/* Responsive */
@media (max-width: 980px) {
    .single-product div.product {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .single-product .woocommerce-tabs {
        margin-top: 24px;
        padding-top: 24px;
                display: block;
    }
}

@media (max-width: 640px) {
    .single-product .woocommerce-Tabs-panel,
    .single-product .woocommerce-tabs .panel,
    .single-product .wc-tab {
        padding: 20px;
    }

    .single-product table.woocommerce-product-attributes th,
    .single-product table.woocommerce-product-attributes td {
        display: block;
        width: 100%;
        padding: 8px 0;
    }

    .single-product table.woocommerce-product-attributes th {
        padding-bottom: 2px;
    }
}

/* -----------------------------
   My Account Login / Register
----------------------------- */

#customer_login {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
}

#customer_login .u-column1,
#customer_login .u-column2 {
    float: none;
    width: auto;
    padding: 28px;
    border: 1px solid var(--border-colour);
    border-radius: var(--border-radius);
    background: var(--bg-colour);
}



#customer_login h2 {
    margin: 0 0 22px;
    font-family: var(--brand-font-bold);
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 1.15;
    color: var(--font-colour);
}

#customer_login form {
    margin: 0;
}

#customer_login .form-row {
    margin: 0 0 18px;
}

#customer_login label {
    display: block;
    margin-bottom: 6px;
    font-family: var(--brand-font-bold);
    color: var(--font-colour);
}

#customer_login .required {
    color: var(--brand-colour);
}

#customer_login input.input-text {
    width: 100%;
    min-height: var(--input-height);
    padding: 0 14px;
    border: 1px solid var(--border-colour);
    border-radius: var(--border-radius);
    background: var(--bg-colour);
    color: var(--font-colour);
    font-size: 15px;
}

#customer_login input.input-text:focus {
    outline: none;
    border-color: var(--brand-colour);
    box-shadow: 0 0 0 2px rgba(150,135,98,0.15);
}

#customer_login .password-input {
    position: relative;
    display: block;
}

#customer_login .password-input input {
    padding-right: 46px;
}

#customer_login .show-password-input {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    opacity: 0.55;
    cursor: pointer;
}

#customer_login .show-password-input:hover {
    opacity: 1;
}

#customer_login .woocommerce-form-login__rememberme {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    font-family: var(--brand-font);
}

#customer_login .woocommerce-form__input-checkbox {
    width: 16px;
    height: 16px;
    accent-color: var(--brand-colour);
}

#customer_login .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--input-height);
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: var(--button-bg-colour);
    color: var(--button-colour);
    font-family: var(--brand-font-bold);
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
}

#customer_login .button:hover {
    background: var(--brand-colour);
    color: #fff;
}

#customer_login .lost_password {
    margin: 16px 0 0;
    font-size: 14px;
}

#customer_login .lost_password a,
#customer_login .woocommerce-privacy-policy-text a {
    color: var(--brand-colour);
    text-decoration: underline;
    text-underline-offset: 2px;
}

#customer_login .woocommerce-privacy-policy-text {
    margin: 18px 0;
    padding: 14px;
    border: 1px solid var(--border-colour);
    border-radius: var(--border-radius);
    background: var(--bg-colour-tint);
    color: var(--font-light-colour);
    font-size: 13px;
    line-height: 1.6;
}

#customer_login .woocommerce-privacy-policy-text p {
    margin: 0;
}

/* ==========================================
   LOST PASSWORD / RESET PASSWORD
========================================== */

.woocommerce-lost-password .woocommerce,
.woocommerce-account .lost_reset_password {
    max-width: 560px;
    margin: auto;
}

/* Form container */

.woocommerce .lost_reset_password {
    padding: 40px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #fafafa;
}

/* Intro text */

.woocommerce .lost_reset_password > p:first-child {
    margin: 0 0 32px;
    color: var(--font-light-colour);
    line-height: 1.7;
    font-size: 15px;
}

/* Labels */

.woocommerce .lost_reset_password label {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--heading-colour);
}

/* Input */

.woocommerce .lost_reset_password .input-text {
    width: 100%;
    height: 54px;
    padding: 0 18px;
    border: 1px solid rgba(0,0,0,0.12);
    background: #fff;
    color: var(--heading-colour);
    font-size: 15px;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.woocommerce .lost_reset_password .input-text:focus {
    outline: none;
    border-color: #111;
    background: #fff;
}

/* Field spacing */

.woocommerce .lost_reset_password .form-row {
    margin-bottom: 24px;
}

/* Button */

.woocommerce .lost_reset_password .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 54px;
    padding: 0 32px;
    border: none;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        opacity 0.2s ease;
}

.woocommerce .lost_reset_password .button:hover {
    background: #222;
}

/* Required asterisk */

.woocommerce .lost_reset_password .required {
    color: #888;
}

/* Mobile */

@media (max-width: 767px) {

    .woocommerce .lost_reset_password {
        padding: 28px;
    }

    .woocommerce .lost_reset_password .button {
        width: 100%;
    }
}


/* -----------------------------
   My Account Layout
----------------------------- */

.woocommerce-account.logged-in .woocommerce {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
}

.woocommerce-account:not(.logged-in) #customer_login {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.woocommerce-account:not(.logged-in) #customer_login .u-column1,
.woocommerce-account:not(.logged-in) #customer_login .u-column2 {
    width: auto;
    float: none;
}

/* Mobile */

@media (max-width: 860px) {
    .woocommerce-account:not(.logged-in) #customer_login {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .woocommerce-account:not(.logged-in) #customer_login .u-column1,
    .woocommerce-account:not(.logged-in) #customer_login .u-column2 {
        padding: 22px;
    }
}

/* -----------------------------
   Account Navigation
----------------------------- */

.woocommerce-MyAccount-navigation {
    background: var(--bg-colour);
    border: 1px solid var(--border-colour);
    border-radius: var(--border-radius);
    padding: 12px;
}

.woocommerce-MyAccount-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce-MyAccount-navigation li {
    margin: 0;
}

.woocommerce-MyAccount-navigation a {
    display: block;
    padding: 12px 14px;
    border-radius: var(--border-radius);
    color: var(--font-colour);
    text-decoration: none;
    transition: 0.2s ease;
}

/* Hover */
.woocommerce-MyAccount-navigation a:hover {
    background: var(--bg-colour-tint);
}

/* Active */
.woocommerce-MyAccount-navigation .is-active a {
    background: var(--bg-colour-tint);
    font-family: var(--brand-font-bold);
    border-left: 3px solid var(--brand-colour);
}

/* Logout slightly separated */
.woocommerce-MyAccount-navigation-link--customer-logout {
    
}

/* -----------------------------
   Account Content Panel
----------------------------- */

.woocommerce-MyAccount-content {
    background: var(--bg-colour);
    border: 1px solid var(--border-colour);
    border-radius: var(--border-radius);
    padding: 28px;
}

body.woocommerce-account main .woocommerce::before,
body.woocommerce-account main .woocommerce::after {
    content: none;
    display: none;
}

/* Typography inside account */
.woocommerce-MyAccount-content p {
    margin: 0 0 14px;
    line-height: 1.6;
}

.woocommerce-MyAccount-content a {
    color: var(--brand-colour);
    text-decoration: none;
}

.woocommerce-MyAccount-content a:hover {
    text-decoration: underline;
}

/* Notices */
.woocommerce-notices-wrapper {
    margin-bottom: 18px;
}

/* -----------------------------
   Tables (Orders etc)
----------------------------- */

.woocommerce-MyAccount-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.woocommerce-MyAccount-content th,
.woocommerce-MyAccount-content td {
    padding: 12px;
    border-bottom: 1px solid var(--border-colour);
    text-align: left;
}

.woocommerce-MyAccount-content th {
    font-family: var(--brand-font-bold);
    font-weight: 100;
}

/* Buttons inside account */
.woocommerce-MyAccount-content .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: var(--border-radius);
    background: var(--button-bg-colour);
    color: var(--button-colour);
    font-size: 13px;
    font-family: var(--brand-font-bold);
    text-decoration: none;
    border: none;
}

.woocommerce-MyAccount-content .button:hover {
    background: var(--brand-colour);
}

/* -----------------------------
   Forms (edit account / address)
----------------------------- */

.woocommerce-MyAccount-content input,
.woocommerce-MyAccount-content select,
.woocommerce-MyAccount-content textarea {
    width: 100%;
    min-height: var(--input-height);
    padding: 0 12px;
    border: 1px solid var(--border-colour);
    border-radius: var(--border-radius);
    background: var(--bg-colour);
    color: var(--font-colour);
    font-size: 14px;
}

.woocommerce-MyAccount-content select{height: var(--input-height);}

.woocommerce-MyAccount-content textarea {
    padding: 10px 12px;
    min-height: 120px;
}

/* Labels */
.woocommerce-MyAccount-content label {
    display: block;
    margin-bottom: 6px;
    font-family: var(--brand-font-bold);
    font-size: 17px;
}

/* Field spacing */
.woocommerce-MyAccount-content .form-row {
    margin-bottom: 16px;
}

/* -----------------------------
   Account Form Styling
----------------------------- */

.woocommerce-EditAccountForm {
    display: block;
}

/* Two-column layout for first/last name */
.woocommerce-EditAccountForm .form-row-first,
.woocommerce-EditAccountForm .form-row-last {
    width: calc(50% - 8px);
    float: left;
}

.woocommerce-EditAccountForm .form-row-first {
    margin-right: 16px;
}

/* Clear floats */
.woocommerce-EditAccountForm .clear {
    clear: both;
}

/* Form rows */
.woocommerce-EditAccountForm .form-row {
    margin-bottom: 18px;
}

/* Labels */
.woocommerce-EditAccountForm label {
    display: block;
    margin-bottom: 6px;
    font-family: var(--brand-font-bold);
    font-size: 17px;
    color: var(--font-colour);
}

/* Required star */
.woocommerce-EditAccountForm .required {
    color: var(--brand-colour);
}

/* Inputs */
.woocommerce-EditAccountForm input.input-text,
.woocommerce-EditAccountForm input[type="email"],
.woocommerce-EditAccountForm input[type="password"] {
    width: 100%;
    height: var(--input-height);
    padding: 0 14px;
    border: 1px solid var(--border-colour);
    border-radius: var(--border-radius);
    background: var(--bg-colour);
    color: var(--font-colour);
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Focus state */
.woocommerce-EditAccountForm input:focus {
    outline: none;
    border-color: var(--brand-colour);
    box-shadow: 0 0 0 2px rgba(150, 135, 98, 0.15);
}

/* Help text */
#account_display_name_description {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--font-light-colour);
}

/* -----------------------------
   Password Section
----------------------------- */

.woocommerce-EditAccountForm fieldset {
    margin-top: 26px;
    padding: 18px;
    border: 1px solid var(--border-colour);
    border-radius: var(--border-radius);
    background: var(--bg-colour-tint);
}

.woocommerce-EditAccountForm legend {
    padding: 0 6px;
    font-family: var(--brand-font-bold);
    font-size: 14px;
    color: var(--font-colour);
}

/* Password input wrapper */
.password-input {
    position: relative;
    display: block;
}

/* Eye icon button */
.show-password-input {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    cursor: pointer;
    opacity: 0.6;
}

.show-password-input:hover {
    opacity: 1;
}

/* -----------------------------
   Submit Button
----------------------------- */

.woocommerce-EditAccountForm .button {
    margin-top: 10px;
    min-height: 44px;
    padding: 0 22px;
    border-radius: var(--border-radius);
    background: var(--button-bg-colour);
    color: var(--button-colour);
    font-family: var(--brand-font-bold);
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.woocommerce-EditAccountForm .button:hover {
    background: var(--brand-colour);
}


.woocommerce-error:focus,
.woocommerce-message:focus,
[role="alert"]:focus {
    outline: none;
}


/* -----------------------------
   Mobile
----------------------------- */

@media (max-width: 640px) {

    .woocommerce-EditAccountForm .form-row-first,
    .woocommerce-EditAccountForm .form-row-last {
        width: 100%;
        float: none;
        margin-right: 0;
    }

    .woocommerce-EditAccountForm fieldset {
        padding: 14px;
    }
}

/* -----------------------------
   Account Area Mobile
----------------------------- */

@media (max-width: 900px) {

    .woocommerce-account.logged-in .woocommerce {
        display: block;
    }

    .woocommerce-MyAccount-navigation {
        margin-bottom: 20px;
    }

    .woocommerce-MyAccount-navigation ul {
        display: flex;
        overflow-x: auto;
        gap: 8px;
    }

    .woocommerce-MyAccount-navigation li {
        flex: 0 0 auto;
    }

    .woocommerce-MyAccount-navigation a {
        white-space: nowrap;
        padding: 10px 12px;
        border: 1px solid var(--border-colour);
    }

    .woocommerce-MyAccount-navigation .is-active a {
        border-left: none;
        border-color: var(--brand-colour);
    }
}



/* -----------------------------
   Disable sidebar on WooCommerce
----------------------------- */

body.woocommerce .site,
body.woocommerce-page .site,
body.single-product .site {
    display: block;
}



body.woocommerce #secondary,
body.woocommerce-page #secondary,
body.single-product #secondary {
    display: none;
}


/* -----------------------------
   Standard page layout
----------------------------- */

.site {

    display: grid;
    grid-template-columns:
        minmax(calc((100vw - var(--shopmaxwidth)) / 2), 1fr)
        minmax(0, calc(var(--shopwidth) - 340px))
        300px
        minmax(calc((100vw - var(--shopmaxwidth)) / 2), 1fr);
    column-gap: 40px;
}

.site-header,
.site-footer {
    grid-column: 1 / -1;
}

.site-main {
    grid-column: 2;
}

.widget-area {
    grid-column: 3;
    padding: 40px 0 64px;
}

.entry-header {
    margin: 0 0 24px;
}

.entry-content {
    padding: 0 28px 28px 28px;
    background: var(--bg-colour);
    border-radius: var(--border-radius);
    min-height: 60vh;
}



.entry-content blockquote {
    margin: 28px 0;
    padding: 22px 26px;
    border-left: 3px solid var(--brand-colour);
    background: var(--bg-colour-tint);
    color: var(--font-colour);
}

.entry-footer {
    margin-top: 18px;
    color: var(--font-light-colour);
}

/* -----------------------------
   Sidebar widgets
----------------------------- */

.widget-area .widget {
    margin: 0 0 20px;
    padding: 22px;
    background: var(--bg-colour);
    border: 1px solid var(--border-colour);
    border-radius: var(--border-radius);
}

.widget-area h2,
.widget-area .wp-block-heading {
    margin: 0 0 14px;
    font-family: var(--brand-font-bold);
    font-size: 16px;
}

.widget-area ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.widget-area li {
    margin: 0 0 8px;
}

.widget-area a {
    color: var(--font-colour);
    text-decoration: none;
}

.widget-area a:hover {
    color: var(--brand-colour);
}

.menu-about-us-container  a {
    color: var(--link-colour);
    display: block;
    padding: 12px 14px;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: 0.2s;
}

.menu-about-us-container .current-menu-item a {
    font-family: var(--brand-font-bold);
    background: var(--bg-colour-tint);
    border-left: 3px solid var(--brand-colour);
    color: var(--font-colour);
}

.menu-about-us-container li {
    margin: 0;
}

.widget-area .wp-block-search__label {
    display: block;
    margin: 0 0 8px;
    font-family: var(--brand-font-bold);
}

.widget-area .wp-block-search__inside-wrapper {
    display: flex;
    gap: 8px;
}

.widget-area .wp-block-search__input {
    min-width: 0;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--border-colour);
    border-radius: var(--border-radius);
}

.widget-area .wp-block-search__button {
    height: 42px;
    padding: 0 14px;
    border: 0;
    border-radius: var(--border-radius);
    background: var(--button-bg-colour);
    color: var(--button-colour);
    cursor: pointer;
}

/* -----------------------------
   Footer
----------------------------- */

.site-footer {
    background: var(--bg-dark-colour);
    color: rgba(255,255,255,0.7);
}

/* Wrapper */
.tm-footer-main {
    width: var(--shopwidth);
    max-width: var(--shopmaxwidth);
    margin: 0 auto;
    padding: 24px 0 28px;
}

/* -----------------------------
   Legal menu (top row)
----------------------------- */

.tm-footer-legal {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.tm-footer-legal ul {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: center;
}

.tm-footer-legal a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
}

.tm-footer-legal a:hover {
    color: var(--brand-colour);
}

/* Optional divider style */
.tm-footer-legal li {
    position: relative;
    padding: 0 10px;
}

.tm-footer-legal li:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -14px;
    color: rgba(255,255,255,0.3);
}

/* -----------------------------
   Company info (bottom row)
----------------------------- */

.tm-footer-company {
    text-align: center;
}

.tm-footer-company-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 6px;
    color: rgba(255,255,255,0.6);
}

/* Optional separators */
.tm-footer-company-inner span {
    position: relative;
}

.tm-footer-company-inner span:not(:last-child)::after {
    content: "•";
    margin-left: 5px;
    color: rgba(255,255,255,0.3);
}

/* -----------------------------
   Mobile
----------------------------- */

@media (max-width: 640px) {

    .tm-footer-legal ul {
        justify-content: center;
        gap: 12px;
    }

    .tm-footer-company-inner {
        flex-direction: column;
        gap: 6px;
    }

    .tm-footer-company-inner span::after {
        display: none;
    }
}

/* -----------------------------
   Footer Trade Support
----------------------------- */

.tm-footer-support {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    margin-bottom: 20px;
    padding: 45px 22px 65px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tm-footer-support__content {
    display: grid;
    gap: 6px;
}

.tm-footer-support__eyebrow {
    color: var(--brand-colour);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tm-footer-support__content strong {
    color: #fff;
}

.tm-footer-support__content span:not(.tm-footer-support__eyebrow) {
    color: rgba(255,255,255,0.65);
}

.tm-footer-support__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.tm-footer-support__button,
.tm-footer-support__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    text-decoration: none;
}

.tm-footer-support__button, .tm-footer-support__button:visited {
    background: var(--brand-colour);
    color: #fff;
    font-family: var(--brand-font-bold);
}

.tm-footer-support__button:hover {
    background: #fff;
    color: var(--font-colour);
}

.tm-footer-support__link {
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.8);
}

.tm-footer-support__link:hover {
    border-color: var(--brand-colour);
    color: var(--brand-colour);
}

@media (max-width: 760px) {
    .tm-footer-support {
        flex-direction: column;
        align-items: flex-start;
    }

    .tm-footer-support__actions {
        flex-wrap: wrap;
    }
}


/* -----------------------------
   Woo Notices (Errors / Messages)
----------------------------- */

.woocommerce-notices-wrapper {
    margin-bottom: 18px;
}

/* Base notice */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    list-style: none;
    margin: 0 0 16px;
    padding: 16px 18px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-colour);
    background: var(--bg-colour);
    color: var(--font-colour);
}

/* Remove default bullets */
.woocommerce-error li,
.woocommerce-message li,
.woocommerce-info li {
    margin: 0;
}

/* Error (validation) */
.woocommerce-error {
    border-color: #e5cfcf;
    background: #faf3f3;
    color: #6b2c2c;
}

/* Success */
.woocommerce-message {
    border-color: #d6e6d6;
    background: #f3faf3;
    color: #2f5c2f;
}

/* Info */
.woocommerce-info {
    border-color: var(--border-colour);
    background: var(--bg-colour-tint);
    color: var(--font-colour);
}

/* Links inside notices */
.woocommerce-error a,
.woocommerce-message a,
.woocommerce-info a {
    color: var(--brand-colour);
    text-decoration: underline;
}

/* Focus (replace blue outline) */
.woocommerce-error:focus,
.woocommerce-message:focus,
.woocommerce-info:focus {
    outline: none;
}

/* Optional: icon-style left border */

.woocommerce-error {
    border-left: 4px solid #c0392b;
}

.woocommerce-message {
    border-left: 4px solid #4caf50;
}

.woocommerce-info {
    border-left: 4px solid var(--brand-colour);
}


/* -----------------------------
   Checkout Page - Woo Blocks
----------------------------- */

.page-id-9 #site-navigation, .page-id-9 .tm-header-actions {
    display: none;
}

.page-id-9 .header-site-branding {
    width: 100%;
}

.page-id-9 .header-site-branding a{margin:auto;}


.woocommerce-checkout .wc-block-components-sidebar-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 40px;
    align-items: start;
}

.woocommerce-checkout .wc-block-components-main {
    width: 100%;
}

.woocommerce-checkout .wc-block-components-sidebar {
    width: 100%;
    position: sticky;
    top: calc(var(--headerheight) + 24px);
}

/* Checkout sections */
.woocommerce-checkout .wc-block-components-checkout-step {
    margin: 0 0 22px;
    padding: 24px;
    border: 1px solid var(--border-colour);
    border-radius: var(--border-radius);
    background: var(--bg-colour);
}

.woocommerce-checkout .wc-block-components-checkout-step__title,
.woocommerce-checkout .wc-block-components-title {
    margin: 0 0 18px;
    font-family: var(--brand-font-bold);
    font-size: 20px;
    line-height: 1.25;
    color: var(--font-colour);
}

/* Inputs */
.woocommerce-checkout .wc-block-components-text-input input,
.woocommerce-checkout .wc-blocks-components-select__select {
    min-height: var(--input-height);
    border: 1px solid var(--border-colour) !important;
    border-radius: var(--border-radius) !important;
    background: var(--bg-colour) !important;
    color: var(--font-colour);
    font-size: 15px;
}

.woocommerce-checkout .wc-block-components-text-input label,
.woocommerce-checkout .wc-blocks-components-select__label {
    color: var(--font-light-colour);
    font-size: 18px;
}

.woocommerce-checkout .wc-block-components-text-input input:focus,
.woocommerce-checkout .wc-blocks-components-select__select:focus {
    outline: none !important;
    border-color: var(--brand-colour) !important;
    box-shadow: 0 0 0 2px rgba(150,135,98,0.18) !important;
}

/* Address card */
.woocommerce-checkout .wc-block-components-address-card {
    border: 1px solid var(--border-colour);
    border-radius: var(--border-radius);
    background: var(--bg-colour-light-tint);
}

.woocommerce-checkout .wc-block-components-address-card__edit {
    color: var(--brand-colour);
    font-family: var(--brand-font-bold);
}

/* Notices */
.woocommerce-checkout .wc-block-components-notice-banner {
    border-radius: var(--border-radius);
    border-color: var(--brand-colour);
    background: #faf8f4;
    color: var(--font-colour);
}

/* Order note / terms */
.woocommerce-checkout .wc-block-checkout__order-notes,
.woocommerce-checkout .wc-block-checkout__terms {
    margin: 0 0 22px;
    padding: 20px 24px;
    border: 1px solid var(--border-colour);
    border-radius: var(--border-radius);
    background: var(--bg-colour);
}

.woocommerce-checkout .wc-block-checkout__terms {
    color: var(--font-light-colour);
}

/* Buttons */
.woocommerce-checkout .wc-block-components-button,
.woocommerce-checkout .wc-block-components-checkout-place-order-button {
    min-height: var(--input-height);
    border-radius: 999px !important;
    background: var(--button-bg-colour) !important;
    color: var(--button-colour) !important;
    font-family: var(--brand-font-bold);
    text-decoration: none;
}

.woocommerce-checkout .wc-block-components-button:hover,
.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
    background: var(--brand-colour) !important;
}

.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button {
    color: var(--link-colour);
    font-size: 14px;
    text-decoration: none;
}

.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button:hover {
    color: var(--brand-colour);
}

/* -----------------------------
   Checkout Sidebar / Order Summary
----------------------------- */

.woocommerce-checkout .wc-block-checkout__sidebar {
    padding: 24px;
    border: 1px solid var(--border-colour);
    border-radius: var(--border-radius);
    background: var(--bg-colour);
}

.woocommerce-checkout .wc-block-components-checkout-order-summary__title {
    padding: 0 0 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-colour);
}

.woocommerce-checkout .wc-block-components-checkout-order-summary__title-text {
    font-family: var(--brand-font-bold);
    font-size: 18px;
    color: var(--font-colour);
}

.woocommerce-checkout .wc-block-components-checkout-order-summary__title-price {
    font-family: var(--brand-font-bold);
    color: var(--font-colour);
}

/* Summary items */
.woocommerce-checkout .wc-block-components-order-summary-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-colour);
}

.woocommerce-checkout .wc-block-components-order-summary-item__image img {
    border-radius: var(--border-radius);
    background: var(--bg-colour-light-tint);
}

.woocommerce-checkout .wc-block-components-order-summary-item__quantity {
    background: var(--brand-colour);
    color: #fff;
    border: 0;
}

.woocommerce-checkout .wc-block-components-product-name {
    font-family: var(--brand-font-bold);
    font-size: 14px;
    line-height: 1.35;
    color: var(--font-colour);
}

.woocommerce-checkout .wc-block-components-product-price {
    color: var(--font-colour);
    font-family: var(--brand-font-bold);
}

.woocommerce-checkout .wc-block-components-product-metadata {
    margin-top: 8px;
    color: var(--font-light-colour);
    font-size: 12px;
    line-height: 1.5;
}

.woocommerce-checkout .wc-block-components-product-details__name {
    font-family: var(--brand-font-bold);
    color: var(--font-colour);
}

/* Totals */
.woocommerce-checkout .wc-block-components-totals-wrapper {
    border-color: var(--border-colour);
}

.wc-block-components-order-summary {
        padding: 0;
    }

.woocommerce-checkout .wc-block-components-totals-item {
    padding: 12px 0;
}

.woocommerce-checkout .wc-block-components-totals-item__label {
    color: var(--font-light-colour);
}

.woocommerce-checkout .wc-block-components-totals-item__value {
    font-family: var(--brand-font-bold);
    color: var(--font-colour);
}

.woocommerce-checkout .wc-block-components-totals-footer-item {
    padding-top: 18px;
    font-size: 18px;
}

.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    color: var(--font-colour);
    font-family: var(--brand-font-bold);
}

/* Checkbox */
.woocommerce-checkout .wc-block-components-checkbox__input, .wp-block-woocommerce-checkout-order-summary-totals-block {
    border-color: var(--border-colour);
}

.woocommerce-checkout .wc-block-components-checkbox__input:checked {
    background: var(--brand-colour);
    border-color: var(--brand-colour);
}


.wp-block-woocommerce-checkout-order-summary-block {
    border:none;
}    
    
/* -----------------------------
   Checkout Responsive
----------------------------- */

@media (max-width: 980px) {
    .woocommerce-checkout .wc-block-components-sidebar-layout {
        display: block;
    }

    .woocommerce-checkout .wc-block-components-sidebar {
        position: static;
        margin-top: 28px;
    }
}

@media (max-width: 640px) {
    .woocommerce-checkout .wc-block-components-checkout-step,
    .woocommerce-checkout .wc-block-checkout__order-notes,
    .woocommerce-checkout .wc-block-checkout__terms,
    .woocommerce-checkout .wc-block-checkout__sidebar {
        padding: 18px;
    }

    .woocommerce-checkout .wc-block-checkout__actions_row {
        display: grid;
        gap: 14px;
    }

    .woocommerce-checkout .wc-block-components-checkout-return-to-cart-button,
    .woocommerce-checkout .wc-block-components-checkout-place-order-button {
        width: 100%;
        justify-content: center;
    }
}



/* -----------------------------
   Basket Page - Woo Blocks
----------------------------- */

.woocommerce-cart .wp-block-woocommerce-cart {
    margin: 0;
}

.woocommerce-cart .wc-block-components-sidebar-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 40px;
    align-items: start;
}

.woocommerce-cart .wc-block-components-main {
    width: 100%;
}

.woocommerce-cart .wc-block-components-sidebar {
    width: 100%;
    position: sticky;
    top: calc(var(--headerheight) + 24px);
}


.tm-pro-forma-button {
    display: block;
    width: 100%;
    margin-top: 25px;
    text-align: center;
    text-decoration: none;
    border: 1px solid var(--border-colour);
    border-radius: 999px;
    background: var(--bg-colour-tint);
    padding: 12px 0;
}

.tm-pro-forma-wrap {
	display: flex;
    gap: 10px;
    margin: 30px 0 20px 0;
    border-top: 1px solid var(--border-colour);
        font-size: 16px;

}




/* Basket items panel */

.woocommerce-cart .wc-block-cart-items {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--border-colour);
    border-radius: var(--border-radius);
    background: var(--bg-colour);
    overflow: hidden;
}

.woocommerce-cart .wc-block-cart-items__header {
    background: var(--bg-colour-tint);
}

.woocommerce-cart .wc-block-cart-items__header th {
    padding: 14px 18px;
    color: var(--font-light-colour);
    font-family: var(--brand-font-bold);
    text-align: left;
}

.woocommerce-cart .wc-block-cart-items__row td {
    padding: 20px 18px;
    vertical-align: top;
    border-bottom: 1px solid var(--border-colour);
}

.woocommerce-cart .wc-block-cart-items__row:last-child td {
    border-bottom: 0;
}

.woocommerce-cart .wc-block-cart-item__image img {
    width: 84px;
    height: auto;
    border-radius: var(--border-radius);
    background: var(--bg-colour-light-tint);
}

.woocommerce-cart .wc-block-components-product-name {
    color: var(--font-colour);
    font-family: var(--brand-font-bold);
    font-size: 15px;
    line-height: 1.35;
    text-decoration: none;
}

.woocommerce-cart .wc-block-components-product-name:hover {
    color: var(--brand-colour);
}

.woocommerce-cart .wc-block-cart-item__prices,
.woocommerce-cart .wc-block-cart-item__total {
    color: var(--font-colour);
    font-family: var(--brand-font-bold);
}

.woocommerce-cart .wc-block-components-product-metadata {
    margin-top: 8px;
    color: var(--font-light-colour);
    font-size: 12px;
    line-height: 1.5;
}

.woocommerce-cart .wc-block-components-product-details__name {
    color: var(--font-colour);
    font-family: var(--brand-font-bold);
}

/* Quantity selector */

/* -----------------------------
   Basket Quantity Controls
----------------------------- */

.woocommerce-cart .wc-block-components-quantity-selector {
    display: inline-grid;
    grid-template-columns: 40px 40px 40px;
    align-items: center;
    min-height: 40px;
    border: 1px solid var(--border-colour);
    border-radius: 999px;
    background: var(--bg-colour);
    overflow: hidden;
}

.woocommerce-cart .wc-block-components-quantity-selector__input {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    color: var(--font-colour);
    font-family: var(--brand-font-bold);
    text-align: center;
    order: 2;
}

.woocommerce-cart .wc-block-components-quantity-selector__button {
    width: 40px;
    height: 40px;
    border: 0 !important;
    background: transparent !important;
    color: var(--font-colour);
    line-height: 1;
    cursor: pointer;
        padding: 0;
}

.wc-block-cart-item__quantity {
    display: flex;
    flex-direction: row;    column-gap: 5px;}

.woocommerce-cart .wc-block-components-quantity-selector__button--minus {
    order: 1;
}

.woocommerce-cart .wc-block-components-quantity-selector__button--plus {
    order: 3;
}

.woocommerce-cart .wc-block-components-quantity-selector__button:hover {
    color: var(--brand-colour);
}

.woocommerce-cart .wc-block-components-quantity-selector__button:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

/* Remove browser number arrows */
.woocommerce-cart .wc-block-components-quantity-selector__input::-webkit-outer-spin-button,
.woocommerce-cart .wc-block-components-quantity-selector__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.woocommerce-cart .wc-block-components-quantity-selector__input[type="number"] {
    -moz-appearance: textfield;
}

/* Remove button focus blue */
.woocommerce-cart .wc-block-components-quantity-selector__button:focus,
.woocommerce-cart .wc-block-components-quantity-selector__input:focus {
    outline: none;
    box-shadow: none;
}

.woocommerce-cart .wc-block-components-quantity-selector:focus-within {
    border-color: var(--brand-colour);
    box-shadow: 0 0 0 2px rgba(150, 135, 98, 0.15);
}
.woocommerce-cart .wc-block-cart-item__remove-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-colour);
    border-radius: 999px;
    background: var(--bg-colour);
    color: var(--font-light-colour);
        padding: 0;
}

.woocommerce-cart .wc-block-cart-item__remove-link:hover {
    border-color: var(--brand-colour);
    color: var(--brand-colour);
}

/* Sidebar totals */

.woocommerce-cart .wc-block-cart__sidebar {
    padding: 24px;
    border: 1px solid var(--border-colour);
    border-radius: var(--border-radius);
    background: var(--bg-colour);
}

.woocommerce-cart .wc-block-cart__totals-title {
    margin: 0 0 18px;
    padding-bottom: 16px;
    font-family: var(--brand-font-bold);
    font-size: 20px;
    color: var(--font-colour);
}

.woocommerce-cart .wc-block-components-totals-wrapper {
    border-color: var(--border-colour);
}

.woocommerce-cart .wc-block-components-totals-item {
    padding: 12px 0;
}

.woocommerce-cart .wc-block-components-totals-item__label {
    color: var(--font-light-colour);
}

.woocommerce-cart .wc-block-components-totals-item__value {
    color: var(--font-colour);
    font-family: var(--brand-font-bold);
}

.woocommerce-cart .wc-block-components-totals-footer-item {
    padding-top: 18px;
    font-size: 18px;
}

.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    color: var(--font-colour);
    font-family: var(--brand-font-bold);
}

/* Checkout button */

.woocommerce-cart .wc-block-cart__submit {
    margin-top: 22px;
}

.woocommerce-cart .wc-block-cart__submit-button {
    width: 100%;
    min-height: var(--input-height);
    border-radius: 999px !important;
    background: var(--button-bg-colour) !important;
    color: var(--button-colour) !important;
    font-family: var(--brand-font-bold);
    text-decoration: none;
}

.woocommerce-cart .wc-block-cart__submit-button:hover {
    background: var(--brand-colour) !important;
}

/* Empty basket notice / buttons */

.woocommerce-cart .wc-block-cart__empty-cart__title {
    font-family: var(--brand-font-bold);
    color: var(--font-colour);
}

.woocommerce-cart .wc-block-grid__product-add-to-cart .wp-block-button__link,
.woocommerce-cart .wc-block-components-button {
    border-radius: 999px !important;
}

ul.wc-block-components-express-payment__event-buttons {
    margin: 0;
    padding: 0;
}

/* -----------------------------
   Basket Responsive
----------------------------- */

@media (max-width: 980px) {
    .woocommerce-cart .wc-block-components-sidebar-layout {
        display: block;
    }

    .woocommerce-cart .wc-block-components-sidebar {
        position: static;
        margin-top: 28px;
    }
}

@media (max-width: 760px) {
    .woocommerce-cart .wc-block-cart-items,
    .woocommerce-cart .wc-block-cart-items tbody,
    .woocommerce-cart .wc-block-cart-items tr,
    .woocommerce-cart .wc-block-cart-items td {
        display: block;
        width: 100%;
    }

    .woocommerce-cart .wc-block-cart-items thead {
        display: none;
    }

    .woocommerce-cart .wc-block-cart-items__row {
        padding: 18px;
        border-bottom: 1px solid var(--border-colour);
    }

    .woocommerce-cart .wc-block-cart-items__row td {
        padding: 0;
        border-bottom: 0;
    }

    .woocommerce-cart .wc-block-cart-item__image {
        margin-bottom: 14px;
    }

    .woocommerce-cart .wc-block-cart-item__image img {
        width: 100%;
        max-width: 160px;
    }

    .woocommerce-cart .wc-block-cart-item__total {
        margin-top: 14px;
        text-align: left;
    }

    .woocommerce-cart .wc-block-cart__sidebar {
        padding: 18px;
    }
}

.wc-block-cart .wp-block-woocommerce-cart-order-summary-block  {
     border-bottom:unset;
}
.wp-block-woocommerce-cart-order-summary-totals-block {
    border-top: unset;
}

.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:focus {
    box-shadow: unset;
    outline: none;
}


/* ==========================================
   ORDER RECEIVED / THANK YOU PAGE
========================================== */

.woocommerce-order {
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================
   SUCCESS NOTICE
========================= */

.woocommerce-notice--success.woocommerce-thankyou-order-received {
    background: #f3faf3;
    border: 1px solid #d6e6d6;
    border-left: 4px solid #4caf50;
    padding: 22px 26px;
    margin-bottom: 40px;
    font-size: 16px;
    color: #2f5c2f;
    border-radius: 2px;
}

/* =========================
   ORDER OVERVIEW
========================= */

.woocommerce-order-overview {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin: 0 0 60px;
    padding: 0;
    list-style: none;
    border: 1px solid rgba(0,0,0,0.06);
    background: #fafafa;
}

.woocommerce-order-overview li {
    padding: 28px;
    border-right: 1px solid rgba(0,0,0,0.06);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--font-light-colour);
}

.woocommerce-order-overview li:last-child {
    border-right: none;
}

.woocommerce-order-overview strong {
    display: block;
    margin-top: 10px;
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--heading-colour);
}

/* =========================
   SECTION HEADINGS
========================= */

.woocommerce-order-details__title,
.woocommerce-column__title {
    margin: 0 0 28px;
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--heading-colour);
}

/* =========================
   ORDER DETAILS TABLE
========================= */

.woocommerce-order-details {
    margin-bottom: 80px;
}

.woocommerce-order-details table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-order-details thead th {
    padding: 0 0 18px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--font-light-colour);
    text-align: left;
}

.woocommerce-order-details tbody td {
    padding: 28px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    vertical-align: top;
}

.woocommerce-table__product-name a {
    color: var(--heading-colour);
    text-decoration: none;
}

.woocommerce-table__product-name a:hover {
    opacity: 0.7;
}

.product-quantity {
    display: inline-block;
    margin-left: 8px;
    color: var(--font-light-colour);
}

/* =========================
   ITEM META
========================= */

.wc-item-meta {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}


.wc-item-meta li {
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--font-light-colour);
}

.wc-item-meta-label {
    color: var(--heading-colour);
    margin-right: 4px;
}

.wc-item-meta p {
    display: inline;
    margin: 0;
}

/* =========================
   ORDER TOTALS / TFOOT
========================= */

.woocommerce-order-details tfoot tr {
    border-top: 1px solid rgba(0,0,0,0.06);
}

.woocommerce-order-details tfoot th,
.woocommerce-order-details tfoot td {
    padding: 24px 0;
    vertical-align: middle;
    line-height: 1.4;
}

.woocommerce-order-details tfoot th {
    width: 80%;
    color: var(--heading-colour);
    text-align:right;
    padding-right: 24px;
}


/* Price formatting */

.woocommerce-order-details tfoot .amount {
    font-variant-numeric: tabular-nums;
}

/* Shipping method */

.woocommerce-order-details tfoot small.shipped_via {
    display: inline-block;
    margin-left: 6px;
    color: var(--font-light-colour);
    font-size: 13px;
}

/* Note row */

.woocommerce-order-details tfoot tr:last-child th,
.woocommerce-order-details tfoot tr:last-child td {
    padding-top: 28px;
}

.woocommerce-order-details tfoot tr:last-child td {
    color: var(--font-light-colour);
    font-style: italic;
}

/* =========================
   CUSTOMER DETAILS
========================= */

.woocommerce-customer-details .addresses {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.woocommerce-customer-details address {
    margin: 0;
    padding: 32px;
    background: #fafafa;
    border: 1px solid rgba(0,0,0,0.06);
    font-style: normal;
        height: 100%;
}

.woocommerce-customer-details--email,
.woocommerce-customer-details--phone {
    margin-top: 18px;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 980px) {

    .woocommerce-order-overview {
        grid-template-columns: 1fr 1fr;
    }

    .woocommerce-order-overview li:nth-child(2n) {
        border-right: none;
    }

    .woocommerce-customer-details .addresses {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {

    .woocommerce-order-overview {
        grid-template-columns: 1fr;
    }

    .woocommerce-order-overview li {
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }

    .woocommerce-order-overview li:last-child {
        border-bottom: none;
    }

    .woocommerce-order-details__title,
    .woocommerce-column__title {
        font-size: 22px;
    }

    .woocommerce-order-details table,
    .woocommerce-order-details tbody,
    .woocommerce-order-details tr,
    .woocommerce-order-details td,
    .woocommerce-order-details th,
    .woocommerce-order-details tfoot {
        display: block;
        width: 100%;
    }

    .woocommerce-order-details thead {
        display: none;
    }

    .woocommerce-order-details tbody td,
    .woocommerce-order-details tfoot td,
    .woocommerce-order-details tfoot th {
        text-align: left;
    }

    .woocommerce-order-details tfoot th,
    .woocommerce-order-details tfoot td {
        padding: 12px 0;
    }

    .woocommerce-order-details tfoot tr:nth-last-child(3) th,
    .woocommerce-order-details tfoot tr:nth-last-child(3) td {
        font-size: 18px;
    }

    .woocommerce-customer-details address {
        padding: 24px;
    }
}


/* -----------------------------
   Page layout responsive
----------------------------- */

@media (max-width: 1100px) {
    .site {
        display: block;
    }

    .site-main,
    .widget-area {
        width: var(--shopwidth);
        max-width: var(--shopmaxwidth);
        margin: 0 auto;
        padding: 32px 0;
    }

    .widget-area {
        padding-top: 0;
    }
}

@media (max-width: 640px) {
    .entry-content {
        padding: 0 20px 20px 20px;
    }

    .widget-area .widget {
        padding: 18px;
    }

    .widget-area .wp-block-search__inside-wrapper {
        flex-direction: column;
    }

    .widget-area .wp-block-search__button {
        width: 100%;
    }
}




/* -----------------------------
   Responsive
----------------------------- */

@media (max-width: 1200px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tm-shop-filters__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .site-header {
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .site-branding {
        padding: 14px 0;
        gap: 14px;
    }
    
    .header-site-branding {
    
    flex-grow: 1;}

    

    .tm-header-actions {
        display: flex;
        gap: 8px;
    }

    .tm-header-action {
        min-height: 34px;
        padding: 0 12px;
        font-size: 12px;
    }

    

    .main-navigation {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .main-navigation ul {
        flex-wrap: nowrap;
        gap: 18px;
        width: max-content;
        min-width: 100%;
        padding: 11px 0;
    }

    .main-navigation li {
        flex: 0 0 auto;
    }

    .main-navigation a {

        white-space: nowrap;
    }
}

@media (max-width: 760px) {
    .site-main,
    .woocommerce-page .site-main {
        padding: 22px 0 44px;
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .tm-shop-filters__grid {
        grid-template-columns: 1fr;
    }

    .woocommerce .woocommerce-result-count,
    .woocommerce .woocommerce-ordering {
        float: none;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .tm-active-filters {
        align-items: flex-start;
        flex-direction: column;
    }

    .tm-live-pricing-line {
        
        
    }
    
    .tm-pro-forma-wrap {
	display: block;}

    .tm-pricing-table {
        font-size: 13px;
    }

    .tm-pricing-table th,
    .tm-pricing-table td {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }

    .tm-shop-filters {
        padding: 14px;
    }

    .tm-filter-pill {
        min-height: 36px;
        padding: 0 12px;
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    

    .tm-header-action--primary {
        min-height: 32px;
        padding: 0 10px;
        font-size: 12px;
    }

    .main-navigation ul {
        gap: 15px;
    }
}