body {
    font-family: "area-normal", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
/* Custom product list grid — Bootstrap 3 floats don't equalise heights, flex does */
.list > .row {
    display: flex;
    flex-wrap: wrap;
}
.list .product-group-box,
.list .product-product-box {
    display: flex;
}
h1, h2, h3, .h1, .h2, .h3 {
    font-weight: 900;
}
.h4, .h5, .h6, h4, h5, h6 {
    font-weight: 700!important;
}
.main-heading {
    font-size: 3rem;
    font-weight: 900;
}
#byg-add-to-basket-wrapper {
    #byg-price, .byg-currency {
        font-weight: 800!important;
    }
}
.basketsubmit {
    margin-top: 10px!important;
}
.group-purchase-block {
    .grouped-secondary-action, .wishlistform, #quoteform {
        margin-top: 10px!important;
    }
}

@media (min-width: 1200px) {
    .prodlist-col5 {
        width: 20%;
        float: left;
    }
    .prodlist-col5 .product-footer {
        flex-wrap: wrap;
    }
    .prodlist-col5 .product-price,
    .prodlist-col5 .product-sizes {
        width: 100%;
    }
}

.portal .panel-title {
    font-weight: 900;
}

#header-detail {
    text-align: right;
}
.search-box-container {
    position: relative;
}
#header-detail .header-sections {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-block;
}
#header-detail .header-sections > li {
    display: inline-block;
    vertical-align: middle;
    margin-left: 15px;
}
#header-detail .header-sections > li:first-child {
    margin-left: 0;
}
/* Keep header buttons tidy with search */
#header-detail .btn {
    padding-top: 6px;
    padding-bottom: 6px;
}
/* Make sure search input doesn’t explode the layout */
#header-detail .searchform .input-group {
    max-width: 100%;
}
#searchformbody .input-group-addon {
    background-color: unset;
}
.no-bg {
    background-color: unset;
    color: #000;
}
.btn-warning {
    color: #000;
    background-color: #ffbe2c;
    border-color: #ffbe2c;
}
.header-links-cart, .header-phone .fa {
    font-size: 12px;
    margin-right: 5px;
    color: #0f0f0f;
}
#header-detail .btn {
    font-weight: 800;
    font-size: 13px;
}
hr.top {
    border-top: 1px solid #ccc;
    margin-bottom: 10px;
}
hr.bottom {
    border-top: 1px solid #ccc;
    margin-top: 0;
}
i.fas.fa-search {
    font-size: 17px;
}
.bottom-three-adverts .col-md-4 {
    padding-right: 0;
    padding-bottom: 10px;
}
.top-right-advert {
    margin-top: 10px;
}
.spacer {
    margin-top: 10px;
}
.product-caption {
    height: 145px;
}
.product-box .wishlistform {
    left: 40px;
}
.owl-nav .owl-prev span, .owl-nav .owl-next span {}
#footer-logo {
    margin-top: 10px;
    width: 180px;
}
#footer-icon {
    margin-top: 50px;
    margin-bottom: 50px;
}
footer {
    background: #ffffff;
    color: #000;
    text-align: left;
}
#footer a {
    color: #999;
    font-weight: 700;
    display: block;
    padding: 10px 0;
}
#footer h3 {
    font-weight: 800;
    font-size: 14px;
}
#footer-links-section {
    margin-top: 50px;
}
#footer-corporate-section {
    margin-top: 50px;
}
.col-xs-12.col-sm-4.footer-corporate-copy.text-left.text-sm-right {
    color: #999;
}
.testimonials-section-block, .extra-details-section-block {
    margin-top: 50px;
    padding: 50px 0;
    background: #f5f5f5;
}
p.WysiwygTheme__paragraph img {
    width: 100%;
}
.col-xs-12.col-md-6.group-image-block, .col-xs-12.col-md-6.prod-image-block {
    margin-top: 25px;
}
.main-image {
    max-height: unset;
    background-color: #f5f5f5;
}
.prod-description-box {
    margin: 30px 0;
}
.code {
    margin: 30px 0;
    font-weight: 900;
}
.testimonial-block {
    background: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    margin-top: 15px;
    border-radius: 10px;
}
#footer .testimonial-block a {
    padding: 0;
    font-weight: normal;
}
span.testimonial-meta {
    display: inline-block;
}
span.testimonial-position {
    display: block;
}
span.testimonial-name {
    font-weight: 900;
    color: #000;
}
.col-md-12.home-content h2 {
    font-weight: 900;
    font-size: 65px;
}
.featured-title {
    background: none;
    padding: 15px 0;
    font-size: 3rem;
    font-weight: 900;
}
#splide-brands {
    border-top: 1px solid #ccc;
    padding-top: 50px;
    border-bottom: 1px solid #ccc;
}
#splide-categories .thumbnail, #splide-popular .thumbnail {
    padding: 0;
}
.homeCategory-title {
    padding: 4px;
    font-weight: 800;
    text-align: center;
    font-size: 12px;
}
#home-popular-section {
    margin-top: 50px;
    margin-bottom: 50px;
}
#splide-popular .homeCategory-title {
    font-size: 15px;
    padding: 10px;
}

.homepage-featured-section-header {
    margin-bottom: 25px;
}
.homepage-featured-section-inner {
    display: inline-block;
}
.homepage-featured-section-row {
    display: flex;
    align-items: center;
    gap: 16px;
}
.homepage-featured-section-title {
    font-size: 50px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}
.homepage-featured-section-viewall {
    background: #f6a800;
    color: #222;
    font-size: 14px;
    font-weight: 900;
    padding: 6px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: space-between; /* 🔥 key line */
    gap: 10px;

    min-width: 110px; /* ensures arrow has room */
}
.homepage-featured-section-viewall .arrow {
    font-weight: 900;
    margin-left: auto;
    background: #000;
    padding: 0 5px;
    color: #fff;
    border-radius: 4px
}
.homepage-featured-section-viewall .label {
    color: #000;
}
.homepage-featured-section-viewall:hover {
    text-decoration: none;
}
.homepage-featured-section-bars {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.homepage-featured-section-bars .bar {
    height: 10px;
    display: inline-block;
    transform: skewX(-30deg);
}
.bar-blue {
    width: 100%;
    background: #0077b6;
}
.bar-yellow {
    width: 10px;
    background: #f6a800;
}
.product-code {
    height: unset;
}
span.mpn-label {
    display: block;
    font-size: 1.5rem;
}
.grouped-price-block {
    margin: 25px 0;
    font-size: 1.5rem;
    .price {
        display: block;
        clear: both;
        font-size: 2.5rem;
        font-weight: 900;
    }
}
.product-purchase-block .price {
    font-size: 2.5rem;
    font-weight: 900;
}
.ourpriceis {
    max-width: 300px;
}
.ordering-as-sample {
    display: block;
    text-align: center;
    margin-bottom: 0;
    border: 1px solid #000;
    font-weight: 900;
    padding: 5px;
}
.details-container {
    .product-downloads {
        list-style: none;
        padding: 0;
        margin: 20px 0;
    }
    .product-downloads .download-link {
        margin-bottom: 12px;
        max-width: 300px;
    }
    .product-downloads .download-link a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px;
        border: 2px solid #222;
        border-radius: 4px;
        text-decoration: none;
        font-size: 16px;
        font-weight: 900;
        color: #222;
        background: #fff;
        transition: all 0.2s ease;
    }
    .product-downloads .download-link a:hover {
        background: #0077b6;
        color: #fff;
    }
    .product-downloads .download-link i {
        font-size: 20px;
    }
}
.product-heading-block {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
}
.product-heading-block h1 {
    order: 2;
    margin-top: 0;
}
.product-heading-block .product-mpn {
    order: 1;
    margin: 0 0 4px;
    font-weight: 600;
}

.product-advert {
    margin-top: 20px;
}
.related-block {
    margin-top: 50px;
}
.product-group-box, .product-product-box, .home-products-standard {
    margin-bottom: 30px;

    /* =========================
   PRODUCT CARD STRUCTURE
   ========================= */
    .product-card {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    /* =========================
       META AREA
       ========================= */
    .product-meta {
        flex: 1 1 auto; /* 🔑 allows footer to stick to bottom */
        display: grid;
        grid-auto-rows: auto;
    }

    /* =========================
       TOP META ROW (SKU / COLOURS)
       ========================= */
    .product-meta-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
        border-bottom: 1px solid #ccc;
    }

    /* SKU cell */
    .product-code {
        padding: 6px 8px;
        border-right: 0;
        font-weight: 800;
        color: #999;
        display: flex;
        align-items: center;
    }
    .product-code a {
        color: #999;
        text-decoration: none;
    }

    /* Colours */
    .product-colours {
        padding: 6px 8px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
    }

    .swatch-grid-2x2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3px;
        flex-shrink: 0;
    }

    .swatch-row {
        display: flex;
        gap: 3px;
        flex-shrink: 0;
    }

    .swatch-grid-2x2 .swatch-block,
    .swatch-row .swatch-block {
        display: block;
        width: 14px;
        height: 14px;
        padding: 0;
        margin: 0;
        border-radius: 50%;
    }

    .swatch-grid-2x2 .swatch-block.White,
    .swatch-grid-2x2 .swatch-block.white,
    .swatch-grid-2x2 .swatch-block.Off-White,
    .swatch-row .swatch-block.White,
    .swatch-row .swatch-block.white,
    .swatch-row .swatch-block.Off-White {
        border: 1px solid #ccc;
    }

    .colour-count {
        font-size: 11px;
        color: #666;
        white-space: nowrap;
    }

    /* =========================
       NO SKU MODE
       ========================= */
    .product-meta-row.no-sku {
        grid-template-columns: 1fr;
    }

    .product-meta-row.no-sku .product-code {
        display: none;
    }

    .product-meta-row.no-sku .product-colours {
        justify-content: center;
    }

    /* =========================
       TITLE (ALWAYS PRESENT)
       ========================= */
    .product-title {
        border-bottom: 1px solid #ccc;
        padding: 10px;
        text-align: center;
        font-weight: 700;
    }

    /* =========================
   FOOTER (PINNED)
   ========================= */
    .product-footer {
        margin-top: auto; /* 🔥 pins to bottom */
        /*display: grid;*/
        grid-template-columns: 1fr auto; /* 🔑 FIX */
        align-items: center;
    }

    .product-footer .product-price {
        padding: 10px;
        font-weight: 800;
        text-align: left;
    }

    .product-footer .product-sizes {
        padding: 10px;
        display: flex;              /* 🔑 keeps number + label inline */
        align-items: center;
        gap: 6px;
        white-space: nowrap;
    }

    .product-footer .product-price, .product-footer .product-sizes b {
        font-size: 2rem;
    }
    
    .product-footer .product-sizes span {
        font-size: 11px;
        color: #777;
    }


}

#leftsidebar .portal.panel-default > .panel-heading, #leftsidebar .portal .panel-body {
    background: unset!important;
    color: #000 !important;
}
#leftsidebar .portal .panel-title a::after, #leftsidebar .portal .panel-body a {
    color: #000;
}
span.tab-title {
    font-weight: 900;
}
.related-groups-section-block {
    margin-top: 50px;
}

/* Homepage Categories 1 & 2 start */
.product-card {
    border: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-image-container-box {
    border-bottom: 1px solid #ccc;
    position: relative;
}
.main-product-image,
.image-container {
    position: relative;
}

.product-footer {
    display: flex;
}
.product-footer .product-price,
.product-footer .product-sizes {
    padding: 6px 8px;
    border-right: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}
.product-footer .product-price {
    width: 60%;
    font-weight: 900;
}
.product-footer .product-sizes {
    width: 40%;
    border-right: none;
    font-size: 18px;
}
.product-footer .product-sizes span {
    font-size: 12px;
    color: #999;
    margin-left: 3px;
}
.swatch-block {
    display:inline;
    margin: 2px;
    padding:10px;
    border-radius: 25px;
    background-color:#ccc;
}
#home-categoriesTwo-section {
    margin-top: 100px;
}
/* Homepage Categories 1 & 2 end */
.switch-content-section-block .WysiwygTheme__table {
    width: 100%;
}
.switch-content-section-block .WysiwygTheme__h2 {
    padding-bottom: 20px;
}
#footer .switch-content-section-block a.WysiwygTheme__link {
    display: inline;
    background-color: #f6a800;
    margin: 5px;
    padding: 10px;
    border-radius: 5px;
}
#footer .switch-content-section-block a.WysiwygTheme__link:last-child {
    background-color: #fff;
}
#footer .switch-content-section-block a.WysiwygTheme__link span {
    color: #000!important;
}
.switch-content-section-block .WysiwygTheme__layoutContainer {
    padding: 50px 100px;
}
.switch-content-section-block th.WysiwygTheme__tableCell.WysiwygTheme__tableCellHeader {
    padding: 30px 30px 45px;
    border: 0!important;
}
.switch-content-section-block div[data-lexical-layout-container] {
    gap: 60px;
}
.switch-content-section-block .WysiwygTheme__layoutItem:last-child .WysiwygTheme__paragraph:has(> span):not(:has(> *:not(span))) {
    display: none;
}
#footer .switch-content-section-block .WysiwygTheme__layoutItem:last-child {
    text-align: center;
}
#footer .switch-content-section-block h3 {
    font-size: 32px;
    margin-bottom: 30px;
}
#footer .switch-content-section-block h4 {
    font-size: 19px;
    margin-bottom: 10px;
}
#free-logo-setup-section ul {
    margin-top: 30px;
    font-size: 20px;
    font-weight: 900;
}
.switch-form {
    text-align: left;
}
#switch-content-section {
    padding: 30px 30px 45px;
    background-color: #0077b6;
    text-align: center;
    color: #fff;
    margin-bottom: 50px;
}
#switch-content-section li {
    display: inline-block;
    margin: 15px 5px 0;
}
#switch-content-section li:first-child a {
    background-color: #f6a800!important;
}
#footer {
    .WysiwygTheme__link {
        align-items: center;
        color: #fff;
        text-decoration: none;
        font-weight: 900;
    }
    .WysiwygTheme__link span {
        display: inline-block;
    }
    .WysiwygTheme__link::after {
        content: "\f061";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        padding: 2px 5px;
        margin-left: 20px;
        background: #000;
        color: #fff;
        font-size: 14px;
        border-radius: 4px;
    }
}
.WysiwygTheme__layoutItem img {
    max-width: 100%;
}
#splide-popular, #cat-carousel-container {
    clear: both;
}
.cat-image {
    top: unset;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: unset;
}
.product-filter-container {
    background: none;
}
.product-filter-container #accordion .panel-title {
    border-bottom: 2px solid #007eb5;
    margin-bottom: 0;
}
.product-filter-container #accordion .panel-heading a, .product-filter-container #accordion .panel-heading a.collapsed {
    padding-left: 0;
    padding-right: 0;
}
.product-filter-container #accordion .panel-body {
    padding: 10px;
    background-color: #f5f5f5;
}
.sortby {
    float: right;
    margin: 20px 0 15px 0;
}
.frmPageNav {
    border-top: 0;
}
.show.btn-group.btn-group-md, .layoutButtons.hidden-xs, .srch-pag-bar .search-mode-toggle {
    display: none!important;
}
.att-colour .variant-blocks.mode-css .block  {
    width: 20px;
    height: 20px;
    border-radius: 15px;
}
#leftsidebar {
    .panel {
        border: 0;
        margin-top: 25px;
    }
    .panel-default>.panel-heading {
        background-color: unset;
        border-color: #337ab7;
        border-width: 2px;
    }
    #filter-accordion-heading {
        display: none;
    }
    .panel-default > .panel-heading a {
        padding: 5px 0 10px;
        font-size: 14px;
        font-weight: 900;
    }
    .panel-body {
        padding: 15px 0;
    }
    input[type=checkbox] {
        float: right;
    }
    .panel-default > .panel-heading a:hover {
        background-color: transparent;
        color: #000;
    }
    .panel-title a:hover::after, .panel-title a.collapsed:hover::after {
        color: #000;
    }
    label.option {
        font-size: 12px;
    }
    .panel-title .collapsed::after {
        content: "\2b";
        color: #000;
        font-size: 10px;
    }
    .panel-title a::after {
        border: 1px solid #000;
        color: #000;
        content: "\f068";
        padding: 3px 5px;
        width: 22px;
        height: 22px;
        border-radius: 15px;
        font-size: 10px;
    }
    .panel-title {
        margin-bottom: 5px;
    }
}
.static-page {
    h1, h2 {
        font-weight: 900;
        color: #337ab7;
    }
    .btn-primary {
        padding: 10px 35px;
    }
    .free-logo-banner {
        padding: 15px;
        text-align: center;
        font-size: 4rem;
        background-color: #f6a800;
        margin-bottom: 50px;
    }
    #register-buttons {
        margin-top: 50px;
        padding-top: 20px;
        border-top: 1px solid #000;
        margin-bottom: 60px;
    }
    #accountreg {
        text-align: left;
    }
    .map-responsive {
        position: relative;
        padding-bottom: 45%;
        height: 0;
        overflow: hidden;
        margin-top: 50px;
    }
    .map-responsive iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .contact-section {
        padding: 30px 0;
    }

    .contact-title {
        font-weight: 900;
        color: #147aa3;
        margin-bottom: 15px;
    }

    .contact-sub {
        margin-bottom: 20px;
    }

    .contact-item {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        background: #147aa3;
        font-size: 2rem;
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 4px;
        margin-right: 15px;
    }

    .social-icons a {
        display: inline-block;
        width: 40px;
        height: 40px;
        background: #147aa3;
        color: #fff;
        font-size: 2rem;
        text-align: center;
        line-height: 40px;
        border-radius: 4px;
        margin-right: 8px;
    }

    .contact-right h2 {
        margin-top: 0;
    }

    .contact-form .form-control {
        border-radius: 4px;
        height: 45px;
    }

    .contact-form textarea.form-control {
        height: auto;
    }

    .contact-btn {
        background: #147aa3;
        border: none;
        padding: 10px 40px;
        font-weight: 900;
    }

    .contact-legal {
        font-size: 12px;
        color: #555;
    }
    span.contact-text {
        font-size: 16px;
        font-weight: 900;
    }
}
.article-detail {
    .WysiwygTheme__table {
        width: 100% !important;
        border: 0!important;
        margin-top: 50px!important;
    }
    .WysiwygTheme__table .WysiwygTheme__tableCell.WysiwygTheme__tableCellHeader {
        border: 0!important;
        ul.WysiwygTheme__ul {
            text-align: center;
        }
        li.WysiwygTheme__listItem {
            display: inline-block;
            margin: 15px 5px 0;
            a {
                display: inline;
                background-color: #f6a800;
                margin: 5px;
                padding: 10px;
                border-radius: 5px;
            }
        }
        li.WysiwygTheme__listItem a::after {
            content: "\f061";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            height: 100%;
            padding: 2px 5px;
            margin-left: 20px;
            background: #000;
            color: #fff;
            font-size: 14px;
            border-radius: 4px;
        }
        li.WysiwygTheme__listItem:last-child a {
            background-color: #ffffff;
        }
    }
    h1 {
        font-weight: 800;
        font-size: 5rem;
    }
    h2 {
        font-weight: 500;
    }
    h3 {
        font-weight: 800;
    }
    hr {
        width: 40%;
        border-top: 1px solid #ccc;
    }
}

@media only screen and (min-width: 992px) {
    #footer .switch-content-section-block .WysiwygTheme__layoutItem:last-child {
        padding: 0 50px;
    }
    #client-service-section {
        padding: 15px 40px 15px 140px;
    }
    #free-logo-setup-section{
        padding: 15px 140px 15px 40px;
        text-align: center;
    }
    .homepage-featured-section-bars {
        margin-right: -50px;
    }
    .col-md-12.home-content h2 {
        padding-right: 100px;
        margin-top: 0;
    }
    .col-xs-12.col-sm-3.col-md-2.logo-container {
        margin-top: 10px;
        padding-right: 120px;
    }
    .navbar .level3 a {
        line-height: 2;
        font-size: 14px;
    }
    .navbar .level3 a:hover {
        color: #007eb5;
        text-decoration: none;
        font-weight: 900;
    }
    .dropdown-menu {
        top: 53px;
    }
    .yamm .dropdown.yamm-fw .dropdown-menu {
        left: 15px;
        right: 15px;
    }
    .level1.dropdown.yamm-fw a.dropdown-toggle {
        position: relative;
    }
    .level1.dropdown.yamm-fw:hover a.dropdown-toggle:before,
    .level1.dropdown.yamm-fw:active a.dropdown-toggle:before,
    .level1.dropdown.yamm-fw:focus a.dropdown-toggle:before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        height: 5px;                 /* thickness of underline */
        background: #007eb5;         /* your highlight colour */
        bottom: 10px;                 /* move UP from the bottom */
    }
    .level1.dropdown.yamm-fw:hover a.dropdown-toggle:after {
        content: "\f054";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
    }
    .yamm .nav-heading a {
        color: #000;
        text-transform: capitalize;
        font-size: 15px;
    }
    .navbar .nav-heading {
        border-bottom: 3px solid #007eb5;
    }
    #main-nav2 > ul > li > ul {
        border: 0;
        background-color: #f5f5f5;
        box-shadow: none;
        border-left: 15px solid #fff;
        border-right: 15px solid #fff;
    }
    .navbar, .megamenu-block {
        position: unset;
    }
    .navbar-row {
        position: relative;
    }
    .col-md-2.col-lg-3.right-links {
        top: -5px;
    }
    a.dropdown-toggle:after {
        content: "\f078"; /* chevron down */
        font-family: "Font Awesome 6 Free";
        font-weight: 900; /* solid */
        margin-left: 6px;
        display: inline-block;
        color: #ccc;
    }
    .yamm .level1>a.btn {
        padding: 10px;
    }
    .yamm .level1>a.btn-primary {
        color: #fff;
        background-color: #007eb5;
        border-color: #007eb5;
    }
    .yamm .level1:hover {
        background: unset;
    }
    .navbar-default .navbar-nav>li>a {
        color: #000;
    }
    .yamm .level1 {
        padding: 0 30px 0 0;
    }
    .navbar-default {
        background-color: unset;
        min-height: unset;
    }
    .yamm .level1>a {
        font-size: 13px!important;
        font-weight: 800;
        text-transform: unset;
        padding: 10px 0 22px;
    }
    div#SearchResults {
        text-align: left;
    }
    .vatToggle {
        width: unset;
        padding-top: 0;
    }
    /* VAT toggle styles */
    .vat-toggle-wrapper {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 12px;
        white-space: nowrap;
    }
    .vat-label {
        cursor: pointer;
        opacity: 0.6;
    }
    .vat-label.active {
        font-weight: 800;
        opacity: 1;
    }
    .vat-toggle-switch {
        position: relative;
        width: 46px;
        height: 24px;
        border-radius: 12px;
        border: 1px solid #ccc;
        background-color: #e5e5e5;
        padding: 0;
        outline: none;
        cursor: pointer;
        vertical-align: middle;
    }
    .vat-toggle-switch .vat-knob {
        position: absolute;
        top: 1px;
        left: 2px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background-color: #fff;
        transition: left 0.2s ease-in-out;
        box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
    }
    .vat-toggle-switch.on {
        background-color: #007eb5;
        border-color: #007eb5;
    }
    .vat-toggle-switch.on .vat-knob {
        left: 24px;
    }
    .vat-toggle-switch.off {
        background-color: #e5e5e5;
        border-color: #ccc;
    }
    .yamm {
        margin-top: 0;
    }
    /* Mega menu row: vertically centre both columns */
    .menu-container.hidden-sm.hidden-xs > .container > .row {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    /* Kill extra navbar gap so height is purely from the items */
    .menu-container .navbar {
        margin-bottom: 0;
        border: 0;
    }

    /* Right-hand quick contact links */
    .quick-contact-links {
        list-style: none;
        margin: 0;
        padding: 0;
        text-align: right;
        font-weight: 800;
        font-size: 13px;
    }

    .quick-contact-links li {
        display: inline-block;
        vertical-align: middle;
    }

    .quick-contact-links li + li {
        margin-left: 20px; /* tweak spacing as you like */
    }

    .quick-contact-links a i {
        margin-right: 6px;
    }

    header {
        margin-top: 20px;
    }
    .search-box-container {
        width: 200px;
    }
}
@media only screen and (min-width: 1200px) {
    .search-box-container {
        width: 400px;
    }
    .col-xs-12.col-sm-3.col-lg-2.logo-container {
        padding-right: 120px;
        padding-top: 10px;
    }
}
@media only screen and (min-width: 1400px) {
    body.wide-design .container {
        width: 1370px;
    }
    .is-basket-container, #checkout {
        padding: 15px 150px!important;
    }
    #onepage-form-col {
        padding-right: 150px!important;
    }
    .co-progress {
        padding: 0px 20%;
    }
    .switch-form {
        padding: 25px 100px;
    }
}
@media only screen and (min-width: 1600px) {
    body.wide-design .container {
        width: 1570px;
    }
}
@media only screen and (min-width: 1730px) {
    body.wide-design .container {
        width: 1700px;
    }
}
@media only screen and (max-width: 1399px) {
    .custom-quote-btn {
        display: none!important;
    }
}
@media only screen and (min-width: 481px) and (max-width: 767px) {
    .list .col-xs-12 {
        width: 50%;
    }
}
@media only screen and (max-width: 480px) {
    .navbar-brand {
        padding: 10px 0;
        width: 40%;
    }
    .col-md-12.home-content h2 {
        font-size: 35px;
    }
    .homepage-featured-section-row {
        display: block;
    }
}
@media (max-width: 991px) {
    .navbar-header {
        height: 55px;
    }
    .navbar-default {
        background-color: #fff;
        border-color: #000;
        box-shadow: unset!important;
    }
    .drilldown a {
        padding-left: 0;
        color: #000;
        font-weight: 900;
        text-align: left;
    }
    .drilldown li {
        background: #fff;
    }
    .drilldown a.navback {
        background: #007eb5;
        color: #fff;
    }
    i.fas.fa-chevron-right.has-children {
        float: right;
    }
    .get-a-quote-btn, .login-btn {
        width: 100%;
        padding: 15px;
        font-weight: 900;
    }
    body.offcanvas-open {
        overflow: hidden;
    }
    #offcanvas-menu {
        position: fixed;
        top: 55px;
        left: -260px;
        width: 260px;
        height: calc(100% - 55px);
        background: #fff;
        z-index: 1020;
        overflow-y: auto;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0,0,0,0.25);
    }
    #offcanvas-menu.active {
        left: 0;
    }
    /* BACKDROP */
    #offcanvas-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.7);
        z-index: 1010;
        display: none;
    }
    #offcanvas-backdrop.active {
        display: block;
    }
    .offcanvas-close-gutter {
        position: fixed;
        top: 70px;
        left: -45px;
        width: 35px;
        height: 35px;
        border-radius: 20px;
        background: #fff;
        border: 0;
        font-size: 15px;
        line-height: 33px;
        text-align: center;
        box-shadow: 2px 0 6px rgba(0,0,0,0.25);
        z-index: 1030;
        transition: left 0.3s ease;
    }
    /* when menu is active, slide X into gutter */
    #offcanvas-menu.active + .offcanvas-close-gutter,
    body.offcanvas-open .offcanvas-close-gutter {
        left: 280px;
    }
    .offcanvas-close-gutter i {
        pointer-events: none;
    }
    .offcanvas-body {
        padding: 15px;
    }
    .offcanvas-search {
        margin-bottom: 15px;
    }
    .offcanvas-nav {
        margin-top: 10px;
    }
    .drilldown {
        margin: 15px 0;
    }
    .navbar .navbar-toggle {
        margin-right: 0;
        margin-left: 10px;
        margin-top: 10px;
        padding: 5px 10px;
        font-size: 15px;
        background: #007eb5;
        color: #fff;
    }
    .navbar a.navbar-toggle {
        font-size: 15px;
    }
    .navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
        background-color: #ccc;
        color: #000;
    }
    .quick-contact-links li a {
        margin-top: 10px;
        color: #000;
        font-weight: 900;
        font-size: 16px;
        display: block;
    }
    .switch-content-section-block .WysiwygTheme__layoutContainer {
        padding: 50px 0;
    }
}

#checkout {
    background: none!important;
}

.portalindexheader {
    color: #007eb5!important;
}

/* Abbreviations */

.block.BE { background-color:#f5f5dc; }   /* BE = Beige */
.block.BK { background-color:#000000; }   /* BK = Black */
.block.BL { background-color:#0057b8; }   /* BL = Blue */
.block.BR { background-color:#8b4513; }   /* BR = Brown */
.block.GN { background-color:#008000; }   /* GN = Green */
.block.GO { background-color:#ffd700; }   /* GO = Gold */
.block.GY { background-color:#808080; }   /* GY = Grey */
.block.HY { background-color:#d4af37; }   /* HY = Honey / Brass-ish */
.block.OR { background-color:#ffa500; }   /* OR = Orange */
.block.PU { background-color:#800080; }   /* PU = Purple */
.block.RD { background-color:#cc0000; }   /* RD = Red */
.block.TE { background-color:#008080; }   /* TE = Teal */
.block.WH { background-color:#ffffff; }   /* WH = White */
.block.YE { background-color:#ffd300; }   /* YE = Yellow */

.block.Allure-Blue { background-color:#1f75fe; }
.block.Army-Green { background-color:#4b5320; }
.block.Ash { background-color:#b2beb5; }
.block.Baby-Pink { background-color:#f4c2c2; }
.block.Beige { background-color:#f5f5dc; }
.block.Black { background-color:#000000; }
.block.Blue { background-color:#0057b8; }
.block.Blue-Grey { background-color:#6699cc; }
.block.Bright-Red { background-color:#ff0000; }
.block.Bronze { background-color:#cd7f32; }
.block.Brown { background-color:#8b4513; }
.block.Brushed-Brass { background-color:#b5a642; }
.block.Brushed-Chrome { background-color:#cfd8dc; }
.block.Brushed-Nickel { background-color:#a9a9a9; }
.block.Burgundy { background-color:#800020; }
.block.Carbon { background-color:#2a2a2a; }
.block.Charcoal { background-color:#36454f; }
.block.Chrome { background-color:#e0e0e0; }
.block.Chrome-Plated { background-color:#dcdcdc; }
.block.Clear { background-color:transparent; }
.block.Copper { background-color:#b87333; }
.block.Cream { background-color:#fffdd0; }
.block.Dark-Blue { background-color:#003366; }
.block.Dark-Brown { background-color:#654321; }
.block.Dark-Green { background-color:#013220; }
.block.Dark-Grey { background-color:#555555; }
.block.Dark-Oak { background-color:#7b4a12; }
.block.Dark-Red { background-color:#8b0000; }
.block.Ebony { background-color:#0c0c0c; }
.block.Espresso { background-color:#4b2e2e; }
.block.Gloss-Black { background-color:#111111; }
.block.Gloss-White { background-color:#ffffff; }
.block.Gold { background-color:#ffd700; }
.block.Graphite { background-color:#3a3a3a; }
.block.Green { background-color:#008000; }
.block.Grey { background-color:#808080; }
.block.Gunmetal { background-color:#2a3439; }
.block.Ivory { background-color:#fffff0; }
.block.Light-Blue { background-color:#add8e6; }
.block.Light-Grey { background-color:#d3d3d3; }
.block.Lime-Green { background-color:#32cd32; }
.block.Matt-Black { background-color:#1c1c1c; }
.block.Matt-Chrome { background-color:#bfc1c2; }
.block.Matt-Gold { background-color:#c9b037; }
.block.Matt-Nickel { background-color:#9e9e9e; }
.block.Midnight-Blue { background-color:#191970; }
.block.Natural { background-color:#e6d3a3; }
.block.Navy { background-color:#000080; }
.block.Nickel { background-color:#b0b0b0; }
.block.Oak { background-color:#c68642; }
.block.Olive { background-color:#808000; }
.block.Orange { background-color:#ffa500; }
.block.Pearl { background-color:#f8f8ff; }
.block.Pewter { background-color:#8e8e8e; }
.block.Pink { background-color:#ffc0cb; }
.block.Polished-Brass { background-color:#e1c16e; }
.block.Polished-Chrome { background-color:#f5f5f5; }
.block.Polished-Nickel { background-color:#cccccc; }
.block.Purple { background-color:#800080; }
.block.Red { background-color:#cc0000; }
.block.Rose-Gold { background-color:#b76e79; }
.block.Sand { background-color:#c2b280; }
.block.Satin-Chrome { background-color:#cfd3d6; }
.block.Satin-Nickel { background-color:#b5b5b5; }
.block.Silver { background-color:#c0c0c0; }
.block.Slate { background-color:#708090; }
.block.Steel { background-color:#b0b7c0; }
.block.Stone { background-color:#a49a8d; }
.block.Taupe { background-color:#8b8589; }
.block.Teak { background-color:#b5651d; }
.block.Titanium { background-color:#878681; }
.block.Transparent { background-color:transparent; }
.block.White { background-color:#ffffff; }
.block.Wood { background-color:#deb887; }
.block.Yellow { background-color:#ffd300; }

/* Product group page — From / To price side by side */
.grouped-price-block .price-range {
    display: inline-grid;
    grid-template-rows: auto auto;
    grid-auto-flow: column;
    column-gap: 1.5rem;
}
.grouped-price-block .price-range .price-separator {
    padding-left: 1.5rem;
    border-left: 2px solid #ddd;
    margin-left: -1.5rem;
}

.article-banner {
    width: 100%;
    line-height: 0;
}
.article-banner-img {
    width: 100%;
    display: block;
    height: auto;
}
body[data-article-banner="1"] .container > hr.bottom {
    display: none;
}

/* Pull-quote blocks — identified by P4 setting white background-color on the layoutItem */
.article-detail .WysiwygTheme__layoutItem[style*="background-color: rgb(255, 255, 255)"] {
    padding: 30px 20px;
    text-align: center;
    background-image: url('../images/block.jpg'), url('../images/block.jpg');
    background-position: top left, bottom right;
    background-size: auto, auto;
    background-repeat: no-repeat, no-repeat;
}
/* Reset Bootstrap's code element styling (crimson colour, monospace, pink bg) */
.article-detail .WysiwygTheme__layoutItem[style*="background-color: rgb(255, 255, 255)"] code,
.article-detail .WysiwygTheme__layoutItem[style*="background-color: rgb(255, 255, 255)"] .WysiwygTheme__textCode {
    font-family: inherit !important;
    font-size: inherit !important;
    color: inherit !important;
    background: none !important;
    padding: 0 !important;
    white-space: normal !important;
    border-radius: 0 !important;
}
/* Quote text */
.article-detail .WysiwygTheme__layoutItem[style*="background-color: rgb(255, 255, 255)"] .WysiwygTheme__paragraph {
    font-size: 1.5em;
    font-style: italic;
    line-height: 1.65;
    color: #1a1a1a;
    margin-bottom: 0;
}
/* Attribution line (second paragraph) */
.article-detail .WysiwygTheme__layoutItem[style*="background-color: rgb(255, 255, 255)"] .WysiwygTheme__paragraph + .WysiwygTheme__paragraph {
    font-size: 0.82em;
    font-style: normal;
    font-weight: 900;
    color: #666;
    margin-top: 14px;
    letter-spacing: 0.01em;
}

/* Grey layout blocks */
.article-detail .WysiwygTheme__layoutItem[style*="background-color: rgb(233, 232, 232)"] {
    padding: 50px;
    .WysiwygTheme__textBold {
        font-size: 2.5rem;
    }
    .WysiwygTheme__paragraph:first-child {
        color: grey;
    }
    .WysiwygTheme__paragraph {
        margin-bottom: 0;
        font-size: small;
        font-weight: 900;
    }
}
.article-detail .WysiwygTheme__layoutItem[style*="background-color: rgb(233, 232, 232)"] .WysiwygTheme__layoutContainer {
    align-items: center;
}
.article-detail .WysiwygTheme__layoutItem[style*="background-color: rgb(233, 232, 232)"] code,
.article-detail .WysiwygTheme__layoutItem[style*="background-color: rgb(233, 232, 232)"] .WysiwygTheme__textCode {
    font-family: inherit !important;
    font-size: inherit !important;
    color: inherit !important;
    background: none !important;
    padding: 0 !important;
    white-space: normal !important;
    border-radius: 0 !important;
}

/* BYG — Add to basket button */
#byg-add-to-basket {
    background-color: #2ecc40;
    border-color: #27ae36;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    padding: 10px 25px;
}
#byg-add-to-basket:hover,
#byg-add-to-basket:focus {
    background-color: #27ae36;
    border-color: #219a30;
}
#byg-add-to-basket::after {
    content: "\f067";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    color: #000;
    font-size: 1em;
    align-self: stretch;
    padding: 0 8px;
    margin-left: 10px;
    border-radius: 3px;
}

/* ═══════════════════════════════════════════════════════════════
   BASKET PAGE
   ═══════════════════════════════════════════════════════════════ */

.is-basket-container {
    padding-top: 20px;
    padding-bottom: 40px;
}

.is-basket-row {
    margin-top: 20px;
}

.is-basket-left {
    padding-right: 20px;
}

.is-basket-right {
    padding-left: 10px;
}

.is-promo-banner {
    background-color: #007eb5;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 2px;
}

.is-promo-banner--bottom {
    margin-top: 15px;
    margin-bottom: 0;
    padding: 30px 20px;
    font-size: 15px;
}

.is-basket-empty {
    padding: 30px 0;
    text-align: center;
    font-size: 16px;
    color: #555;
}

.is-basket-empty a {
    color: #007eb5;
    font-weight: 600;
}

.is-basket-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 0;
}

.is-item-divider {
    border-top: 1px solid #e5e5e5;
    margin: 0;
}

.is-item-remove {
    flex: 0 0 auto;
    padding-top: 4px;
}

.is-item-remove a {
    color: red;
    font-size: 15px;
    display: inline-block;
    padding: 2px 4px;
    transition: color 0.15s;
}

.is-item-remove a:hover {
    color: #cc0000;
}

.is-item-img {
    flex: 0 0 80px;
    width: 80px;
}

.is-item-img img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #e5e5e5;
}

.is-item-body {
    flex: 1 1 auto;
    min-width: 0;
}

.is-item-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
}

.is-item-title a {
    color: #222;
    text-decoration: none;
}

.is-item-title a:hover {
    color: #007eb5;
    text-decoration: underline;
}

.is-item-customisation {
    font-size: 12px;
    color: #555;
    margin-bottom: 2px;
}

.is-item-decoration-price {
    font-size: 12px;
    color: #007eb5;
    font-weight: 600;
    margin-top: 4px;
}

.is-item-logo-thumb {
    margin: 4px 0 2px;
}

.is-logo-thumb {
    max-width: 100px;
    max-height: 100px;
    display: block;
    object-fit: contain;
    border: 1px solid #e5e5e5;
    background: #fafafa;
    padding: 2px;
}

.is-item-sku {
    font-size: 11px;
    color: #999;
    margin-bottom: 4px;
}

.is-item-comments {
    font-size: 12px;
    color: #777;
    margin-top: 4px;
    font-style: italic;
}

.is-item-qty {
    flex: 0 0 auto;
    text-align: center;
    min-width: 100px;
}

.is-item-qty-label {
    font-size: 11px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 7px;
}

.is-qty-control {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #ccc;
    padding: 8px;
    gap: 6px;
    background: #fff;
}

.is-qty-btn {
    background: transparent;
    border: 1.5px solid #333;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    padding: 0;
    cursor: pointer;
    font-size: 10px;
    color: #333;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.is-qty-btn:hover {
    background: #007eb5;
    border-color: #007eb5;
    color: #fff;
}

.is-qty-input {
    width: 28px !important;
    min-width: 28px;
    max-width: 28px;
    text-align: center;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    background: transparent;
    height: auto !important;
    line-height: 1;
}

.is-item-total {
    flex: 0 0 auto;
    text-align: right;
    min-width: 75px;
}

.is-item-total-label {
    font-size: 11px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.is-item-total span {
    font-size: 15px;
    font-weight: 900;
    color: #222;
}

.is-basket-note {
    font-size: 11px;
    color: #888;
    margin: 10px 0 20px;
}

.is-basket-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 24px;
}

.is-basket-faqs {
    margin-top: 30px;
    border-top: 2px solid #007eb5;
    padding-top: 20px;
}

.is-faq-title {
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 900;
    font-size: 4rem;
}

.is-basket-faqs .Collapsible__container {
    border: none;
    border-bottom: 1px solid #333;
    border-radius: 0;
    background-color: transparent;
    overflow: visible;
    box-shadow: none;
    transition: none;
}

.is-promo-banner-img {
    margin-bottom: 30px;
}

.is-promo-banner-img.is-promo-banner-img--secondary {
    margin-bottom: 0;
}

.is-basket-faqs .Collapsible__container:hover {
    box-shadow: none;
}

.is-basket-faqs .Collapsible__title {
    display: block;
    background-color: transparent;
    color: #222;
    padding: 13px 5px 13px 28px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    list-style: none;
    justify-content: flex-start;
    transition: color 0.15s;
}

.is-basket-faqs .Collapsible__title::-webkit-details-marker {
    display: none;
}

.is-basket-faqs .Collapsible__title::after {
    content: none;
}

.is-basket-faqs .Collapsible__title::before {
    content: '\f067';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 10px;
    line-height: 1;
    border: 2px solid #333;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
}

.is-basket-faqs .Collapsible__container[open] .Collapsible__title::before {
    content: '\f068';
}

.is-basket-faqs .Collapsible__title:hover {
    background-color: transparent;
    color: #007eb5;
}

.is-basket-faqs .Collapsible__title p {
    margin: 0;
    display: inline;
}

.is-basket-faqs .Collapsible__content {
    display: none;
    padding: 5px 5px 18px 28px;
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    animation: isFaqFadeIn 0.25s ease;
}

.is-basket-faqs .Collapsible__container[open] .Collapsible__content {
    display: block;
}

@keyframes isFaqFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.is-basket-faqs .Collapsible__content p {
    margin: 0;
}

.is-basket-faqs .WysiwygTheme__paragraph:empty,
.is-basket-faqs .WysiwygTheme__paragraph br:only-child {
    display: none;
}

/* ── Right-column shared summary panel (basket + checkout) ── */

.is-summary-panel {
    background: #eee;
    border: 1px solid #333;
    border-radius: 3px;
    padding: 18px;
    margin-bottom: 0;
}

.is-summary-divider {
    border-top: 1px solid #333;
    margin: 12px 0;
}

.is-summary-subtotal {
    display:         flex;
    justify-content: space-between;
    align-items:     baseline;
    font-size:       16px;
    font-weight:     600;
    color:           #222;
    padding-bottom:  2px;
}

.is-summary-section {
    margin-bottom: 5px;
}

.is-summary-section > strong {
    display:        block;
    font-size:      12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color:          #888;
    margin-bottom:  8px;
}

.is-summary-section-header {
    font-weight:   600;
    font-size:     13px;
    color:         #333;
    margin-bottom: 6px;
}

.is-summary-row {
    display:         flex;
    justify-content: space-between;
    align-items:     baseline;
    font-size:       13px;
    color:           #444;
    padding:         4px 0;
    font-weight:     600;
}

.is-summary-item {
    display:         flex;
    justify-content: space-between;
    align-items:     baseline;
    font-size:       12px;
    color:           #666;
    padding:         2px 0;
}

.is-summary-item-desc {
    flex:          1 1 auto;
    min-width:     0;
    padding-right: 8px;
}

.is-summary-item-sku {
    display:        block;
    font-size:      10px;
    color:          #aaa;
    letter-spacing: 0.2px;
}

.is-summary-item-val {
    flex:        0 0 auto;
    text-align:  right;
    white-space: nowrap;
}

.is-summary-grand-total {
    font-size:   16px !important;
    font-weight: 900;
    color:       #222 !important;
    border-top:  2px solid #222;
    padding-top: 10px !important;
    margin-top:  6px;
}

.is-summary-grand-total strong {
    font-size: 18px;
}

.is-service-group {
    margin-top:   8px;
    padding-left: 8px;
    border-left:  2px solid #007eb5;
}

.is-service-group + .is-service-group {
    margin-top: 10px;
}

.is-service-group-product {
    font-size:     12px;
    font-weight:   700;
    color:         #333;
    margin-bottom: 3px;
}

.is-service-line {
    padding-left: 4px;
}

.is-service-for {
    color: #666;
}

.is-service-detail {
    color:       #888;
    margin-left: 4px;
}

.is-svc-total {
    flex:        0 0 auto;
    text-align:  right;
    white-space: nowrap;
}

/* ── Postcode row (basket) ── */

.is-postcode-row {
    display:       flex;
    gap:           6px;
    margin-bottom: 10px;
}

.is-postcode-input {
    flex:            1 1 auto;
    height:          34px !important;
    font-size:       13px !important;
    text-transform:  uppercase;
}

.is-postcode-btn {
    flex:        0 0 auto;
    background:  #007eb5;
    color:       #fff;
    border:      none;
    padding:     6px 14px;
    font-size:   13px;
    font-weight: 600;
    border-radius: 3px;
    transition:  background 0.15s;
    height:      34px;
    line-height: 1;
}

.is-postcode-btn:hover {
    background: #005f8a;
    color: #fff;
}

/* ── Delivery options (basket) ── */

.is-delivery-options {
    margin-top: 4px;
}

.is-delivery-hint {
    font-size:  12px;
    color:      #999;
    margin:     4px 0;
    font-style: italic;
}

.is-delivery-error {
    font-size: 12px;
    margin:    6px 0 0;
    padding:   6px 10px;
}

.is-delivery-option {
    display:       flex;
    align-items:   center;
    gap:           8px;
    font-size:     13px;
    font-weight:   normal;
    padding:       6px 8px;
    cursor:        pointer;
    margin-bottom: 3px;
    border-radius: 3px;
    border:        1px solid transparent;
    transition:    background 0.1s, border-color 0.1s;
}

.is-delivery-option:hover {
    background: #f5f5f5;
}

.is-delivery-option--active {
    background:   #eaf5fb;
    border-color: #007eb5;
}

.is-delivery-option input[type="radio"] {
    margin:      0;
    flex-shrink: 0;
}

.is-delivery-label {
    flex:  1 1 auto;
    color: #333;
}

.is-delivery-price {
    flex:        0 0 auto;
    font-weight: 600;
    color:       #222;
}

/* ── Checkout button (basket + checkout) ── */

.is-checkout-btn-wrap {
    display:         flex;
    justify-content: flex-end;
    margin-top:      16px;
}

.is-checkout-btn {
    display:          inline-flex;
    align-items:      center;
    gap:              0;
    padding:          10px 0 10px 20px;
    background-color: #5cb85c;
    color:            #fff !important;
    text-transform:   uppercase;
    letter-spacing:   0.5px;
    text-decoration:  none;
    border-radius:    3px;
    overflow:         hidden;
    transition:       background-color 0.2s;
    font-size:        15px;
    font-weight:      700;
}

.is-checkout-btn:hover,
.is-checkout-btn:focus {
    background-color: #2e6437;
    color:            #fff !important;
    text-decoration:  none;
}

.is-checkout-btn .is-checkout-arrow {
    display:         inline-flex;
    align-items:     center;
    justify-content: center;
    width:           20px;
    height:          100%;
    margin:          0 10px;
    background:      #fff;
    color:           #000;
    align-self:      stretch;
    padding:         0 10px;
}

/* ── Basket responsive ── */

@media (max-width: 991px) {
    .is-basket-left {
        padding-right: 15px;
    }

    .is-basket-right {
        padding-left: 15px;
        margin-top: 30px;
    }

    .is-item-img {
        flex: 0 0 60px;
        width: 60px;
    }
}

@media (max-width: 767px) {
    .is-basket-item {
        flex-wrap: wrap;
    }

    .is-item-remove { order: 1; }

    .is-item-img {
        order: 2;
        flex: 0 0 70px;
    }

    .is-item-body {
        order: 3;
        flex: 1 1 calc(100% - 110px);
    }

    .is-item-qty {
        order: 4;
        flex: 1 1 auto;
        text-align: left;
    }

    .is-item-total {
        order: 5;
        flex: 0 0 auto;
        text-align: right;
    }
}

/* ═══════════════════════════════════════════════════════════════
   CHECKOUT PAGE
   ═══════════════════════════════════════════════════════════════ */

/* Brand variables */
:root {
    --co-accent:      #007eb5;
    --co-accent-dark: #005f89;
    --co-accent-tint: #e6f4fa;
    --is-green:       #5cb85c;
    --is-green-dark:  #449d44;
}

/* Alpine x-cloak */
[x-cloak] { display: none !important; }

/* Left column title */
.co-form-col-title {
    font-size:     20px;
    font-weight:   700;
    color:         #333;
    margin:        0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ddd;
}

/* Login prompt */
.co-login-prompt {
    margin-bottom: 20px;
}

.co-login-btn {
    background-color: #f0a500;
    border-color:     #d48b00;
    color:            #000 !important;
    font-weight:      700;
    font-size:        15px;
    padding:          12px 20px;
    border-radius:    3px;
}

.co-login-btn:hover,
.co-login-btn:focus {
    background-color: #d48b00;
    border-color:     #b87700;
    color:            #fff !important;
}

.co-login-btn .fa {
    margin-right: 8px;
}

/* Toggle switch (create account / different delivery address) */
.co-switch-section {
    margin:     16px 0 0;
    padding:    14px 0 14px;
    border-top: 1px solid #e0e6ed;
}

.co-switch-section + .co-switch-section {
    border-top: 1px solid #e0e6ed;
}

.co-switch-heading {
    font-size:     15px;
    font-weight:   600;
    color:         #222;
    margin-bottom: 10px;
}

.co-switch-row {
    display:     flex;
    align-items: center;
    gap:         10px;
}

.co-switch-label {
    font-size:   14px;
    color:       #999;
    font-weight: 500;
    transition:  color 0.15s;
}

.co-switch-label.co-switch-label-active {
    color: #222;
}

.co-switch-track {
    position:      relative;
    display:       inline-flex;
    align-items:   center;
    width:         44px;
    height:        24px;
    border-radius: 12px;
    background:    #ccd1d9;
    border:        none;
    cursor:        pointer;
    padding:       0;
    transition:    background 0.2s;
    flex-shrink:   0;
    outline:       none;
}

.co-switch-track:focus-visible {
    box-shadow: 0 0 0 3px rgba(0, 126, 181, 0.3);
}

.co-switch-track.co-switch-on {
    background: var(--co-accent);
}

.co-switch-thumb {
    position:      absolute;
    left:          3px;
    width:         18px;
    height:        18px;
    border-radius: 50%;
    background:    #fff;
    box-shadow:    0 1px 3px rgba(0,0,0,0.25);
    transition:    left 0.2s;
}

.co-switch-on .co-switch-thumb {
    left: 23px;
}

/* Delivery section in right panel */
.is-co-delivery-section > strong {
    display:       block;
    font-size:     13px;
    font-weight:   700;
    color:         #333;
    margin-bottom: 8px;
}

.is-co-delivery-section .row.delivery-methods > .col-xs-12:not(#deliverycharges) > h3,
.is-co-delivery-section .row.delivery-methods > .col-xs-12:not(#deliverycharges) > label,
.is-co-delivery-section .row.delivery-methods > .col-xs-12:not(#deliverycharges) > .inputrow {
    display: none !important;
}

.is-co-delivery-section .row.delivery-methods {
    margin: 0;
}

.is-co-delivery-section .row.delivery-methods .col-xs-12 {
    padding: 0;
}

.is-co-delivery-section #deliverycharges .selectable-block {
    border:        1px solid #ccc;
    border-radius: 3px;
    padding:       8px 10px;
    margin-bottom: 6px;
    background:    #fff;
    cursor:        pointer;
    font-size:     13px;
    transition:    border-color 0.15s, background 0.15s;
}

.is-co-delivery-section #deliverycharges .selectable-block:hover {
    border-color: var(--co-accent);
    background:   var(--co-accent-tint);
}

.is-co-delivery-section #deliverycharges .selectable-block.active,
.is-co-delivery-section #deliverycharges .selectable-block.selected {
    border-color: var(--co-accent);
    background:   var(--co-accent-tint);
}

.is-co-delivery-section .skeleton-loader {
    background:       linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
    background-size:  200% 100%;
    animation:        co-skeleton 1.4s infinite;
    border-radius:    3px;
    height:           36px;
    margin-bottom:    6px;
}

@keyframes co-skeleton {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Strip .co-section boxing from left column */
#onepage-form-col .co-section,
#onepage-form-col section.co-section,
#onepage-form-col .invoice-panel,
#onepage-form-col .billadd {
    background:    transparent !important;
    border:        none        !important;
    box-shadow:    none        !important;
    border-radius: 0          !important;
    padding:       0          !important;
    margin-bottom: 0          !important;
}

#onepage-form-col .co-section + .co-section,
#onepage-form-col .billadd + .co-contact-fields,
#onepage-form-col .co-create-account-wrap + section {
    margin-top: 14px;
}

#onepage-form-col .panel-heading {
    display: none;
}

/* Checkout columns: flexbox overrides Bootstrap 3 floats so position:sticky works */
@media (min-width: 768px) {
    #onepage-cols {
        display:     flex;
        flex-wrap:   wrap;
        align-items: flex-start;
    }
    #onepage-form-col {
        flex:      0 0 66.6667%;
        max-width: 66.6667%;
    }
    #onepage-right-wrap {
        flex:      0 0 33.3333%;
        max-width: 33.3333%;
    }
    #onepage-submit-col {
        flex: 0 0 100%;
    }
}


/* Left column right gutter */
#onepage-form-col {
    padding-right: 30px;
}

/* Secondary promotional images */
.co-checkout-promo-img {
    margin-top: 10px;
}

.co-checkout-promo-img img {
    width:   100%;
    height:  auto;
    display: block;
}

/* Right-panel form rows */
.is-co-panel-row {
    margin-bottom: 10px;
}

.is-co-panel-heading {
    display:       block;
    font-size:     13px;
    font-weight:   700;
    color:         #333;
    margin-bottom: 8px;
}

.is-co-panel-label {
    display:       block;
    font-size:     13px;
    font-weight:   600;
    color:         #333;
    margin-bottom: 4px;
}

.is-co-textarea {
    font-size:  13px;
    resize:     vertical;
    min-height: 52px;
}

/* Delivery address fields */
.co-delivery-addr-fields {
    margin-top:  14px;
    padding-top: 14px;
    border-top:  1px solid #e0e6ed;
}

.co-addr-group-label {
    display:       block;
    font-size:     13px;
    font-weight:   600;
    color:         #333;
    margin:        14px 0 6px;
}

.co-addr-group .inputrow {
    margin-bottom: 6px;
}

.co-addr-group .inputrow:last-child {
    margin-bottom: 0;
}

.co-contact-fields {
    margin-top: 14px;
}

.co-create-account-wrap {
    margin-bottom: 14px;
}

/* Terms label */
.co-terms-check-row {
    display:     flex;
    align-items: flex-start;
    gap:         8px;
}

.co-terms-check-row .co-custom-check {
    flex-shrink: 0;
    margin-top:  2px;
}

.co-terms-label {
    font-weight: normal;
    cursor:      pointer;
    font-size:   11px;
    color:       #888;
    line-height: 1.5;
    margin:      0;
}

/* Hide "Payment Method 1 / 2" legends — core generates these; we suppress them per-theme */
.is-co-panel-row fieldset > legend {
    display: none;
}

/* Place order button */
.co-place-btn {
    font-size:      15px;
    letter-spacing: 0.03em;
    font-weight:    700;
}

.co-place-btn:disabled,
.co-place-btn[disabled] {
    opacity: 0.55;
    cursor:  not-allowed;
}

/* Back to basket bar */
#onepage-submit-col {
    padding: 10px 15px 20px;
}

.co-submit-bar {
    display:     flex;
    align-items: center;
    gap:         12px;
}

.co-back-btn {
    font-size: 14px;
}

/* MOV warning */
.co-mov-warning {
    font-size:     13px;
    margin-top:    10px;
    margin-bottom: 0;
}

/* Promo code */
.co-promo-input-group {
    display: flex;
    gap:     8px;
}

.co-promo-input-group .form-control {
    flex: 1;
}

.co-promo-btn {
    white-space: nowrap;
}

.co-promo-active {
    align-items: center;
}

.co-promo-active-value {
    height:       auto;
    background:   #efffef;
    border-color: #5cb85c;
}

/* Approver select */
.co-approver-select label {
    font-weight:   600;
    margin-bottom: 4px;
    display:       block;
}

/* Field hint */
.co-field-hint {
    display:    block;
    font-size:  11px;
    color:      #888;
    margin-top: 2px;
}

/* PO number */
.co-po-number {
    max-width: 340px;
}

/* Marketing opt-in */
.co-marketing label {
    font-weight: normal;
    cursor:      pointer;
}

.co-custom-check {
    margin-right: 6px;
}

.co-terms-link {
    color:           var(--co-accent);
    text-decoration: underline;
}

/* Terms modal */
.co-terms-overlay {
    position:        fixed;
    inset:           0;
    background:      rgba(0,0,0,0.55);
    z-index:         9999;
    display:         flex;
    align-items:     center;
    justify-content: center;
    padding:         20px;
}

.co-terms-modal {
    background:      #fff;
    border-radius:   4px;
    max-width:       660px;
    width:           100%;
    max-height:      80vh;
    display:         flex;
    flex-direction:  column;
    box-shadow:      0 8px 32px rgba(0,0,0,0.22);
}

.co-terms-modal-header {
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    padding:         14px 18px;
    border-bottom:   1px solid #ddd;
}

.co-terms-modal-header h4 {
    margin:    0;
    font-size: 16px;
}

.co-terms-modal-close {
    background:  none;
    border:      none;
    font-size:   22px;
    cursor:      pointer;
    color:       #888;
    line-height: 1;
    padding:     0 4px;
}

.co-terms-modal-body {
    padding:    18px;
    overflow-y: auto;
    flex:       1;
    font-size:  14px;
    line-height: 1.6;
}

/* Account blocked */
.co-account-block {
    margin-bottom: 16px;
}

/* Billing summary card (logged-in) */
.co-billing-summary h3 {
    font-size:     16px;
    margin-bottom: 10px;
}

.co-billing-card {
    font-size:     14px;
    color:         #555;
    padding:       10px 12px;
    background:    #f7f9fc;
    border:        1px solid #dce3ea;
    border-radius: 3px;
}

/* No approvers */
.co-approver-none {
    font-size:  14px;
    color:      #888;
    margin-top: 10px;
}

/* Checkout responsive */
@media (max-width: 991px) {
    #onepage-right-wrap {
        margin-top: 24px;
    }
}

@media (max-width: 767px) {
    .co-terms-overlay {
        padding: 12px;
    }
}

.co-completion-panel.text-center h2 {
    color: #222;
    font-weight: 600;
    text-transform: capitalize;
}

/* ── Order complete panel ───────────────────────────────────────────────────── */
.co-completion-panel {
    border: none;
    box-shadow: none;
    padding: 3rem 1rem;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}
.co-completion-icon {
    display: none;
}
.is-order-complete-header {
    margin-bottom: 1.5rem;
}
.is-order-complete-thankyou {
    color: #0077b6;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0.1rem;
    line-height: 1.1;
}
.is-order-complete-title {
    font-weight: 600;
    text-transform: uppercase;
    color: #222;
    margin-top: 15px;
    margin-bottom: 30px;
}
.is-order-complete-body {
    margin: 0 auto 2rem;
    color: #555;
    line-height: 1.6;
}
.is-order-complete-actions {
    margin-top: 50px;
    margin-bottom: 3rem;
}
.is-order-complete-btn {
    background-color: #0077b6;
    color: #fff !important;
    border: none;
    padding: 0.8rem 2.5rem;
    border-radius: 4px;
}
.is-order-complete-btn:hover {
    background-color: #0d3352;
}
.is-order-complete-info-cards {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 200px;
}
.is-info-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #0077b6;
    border-radius: 4px;
    padding: 1rem 2rem;
    color: #0077b6;
    text-decoration: none;
    flex: 1;
    justify-content: center;
    transition: border-color 0.15s, color 0.15s;
}
.is-info-card i {
    color: #333;
}
.is-info-card:hover {
    border-color: #0077b6;
    color: #004080;
    text-decoration: none;
}
@media (max-width: 600px) {
    .is-order-complete-info-cards { gap: 0.5rem; }
    .is-info-card { flex: 1 1 40%; padding: 0.75rem 1rem; }
}

/* ── Stepper: all steps ticked on order complete ─────────────────────────────── */
.co-progress--complete .co-step-circle,
.co-progress--complete .co-step-active .co-step-circle {
    background: #0077b6;
    border-color: #0077b6;
    box-shadow: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* suppress the default active white-dot pseudo-element */
.co-progress--complete .co-step-active .co-step-circle::after {
    display: none;
}
.co-progress--complete .co-step-circle i {
    color: #fff;
    font-size: 14px;
    line-height: 1;
    position: static;
}

/* Category text blocks — rendered below the product list on categories with text-category1/2 attributes */
.cat-text-blocks {
    clear: both;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0 1rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e5e5;
}
.cat-text-block__title {
    font-weight: 900;
    margin-bottom: 20px;
}
.cat-text-block__body {
    line-height: 25px;
    font-size: 13px;
    font-weight: 600;
}
.cat-text-block__body h4 {
    font-weight: 800!important;
    font-size: 1.5rem;
}