:root {
     --primary: #32b320;
     --secondary: #7a7e82;
     --tertiary: #13512d;
     --white: #fff;
     --black: #303030;
     --shadow: 0 0 0 0.2rem rgb(0 0 0 / 25%);
     --green: #32b320;
     --darkGreen: #1d7328;
     --grey: #7a7e82;
     --mid-min: 220px;
     --mid-max: 30vw;
     --hero-h: clamp(180px, 28vh, 300px); /* about half height */
     --rhombus-bg: #6b6f74;
     --light-grey: #e6e3e3;
}

.cky-btn-revisit-wrapper.cky-revisit-bottom-left {
    display: none;
}

/* PRIMARY */
.list-panel a,
.btn, .markdown-container a,
.radio-button-strip label span,
.composite-address-input .postcode-input,
.address-results label:hover, .dialog-panel h3,
.btn.call-to-action:hover,
.radio-button-strip label span.call-to-action:hover,
.composite-address-input .selected-address-summary .dayNum,
h1 .alt, h2 .alt, h3 .alt, h4 .alt, h5 .alt,
.custom-calendar .custom-calendar-nav .custom-calendar-nav-date .month h2,
button.btn.btn-primary:hover,
a.btn.btn-primary:hover,
.btn.btn-primary:hover,
.markdown-container a.btn-primary:hover,
.radio-button-strip label span.btn-primary:hover {
     color: var(--primary);
}

.btn:focus, .btn.focus {
    outline: 0;
    box-shadow: var(--shadow);
}

.card.hover:hover {
    background-color: var(--primary);
}

.text-primary {
    color: var(--primary) !important;
}

.landing-root .list-panel.yellow,
.landing-root .list-panel,
.btn:hover,
.markdown-container a:hover,
.radio-button-strip label span:hover,
.skip-capacity, .radio-button-strip label [type=radio]:checked+span,
.radio-button-strip label [type=radio]:active+span,
.radio-button-strip label [type=radio]:focus+span,
body .custom-calendar table.calendar-table td.isSelectable,
.customcheck:checked~.customcheck-o,
.customcheck-label:hover>.customcheck-o,
.btn.call-to-action, .radio-button-strip label span.call-to-action,
.landing-root .list-panel a:hover,
.navbar,
.full-page-overlay .dialog-container .dialog-title,
.highlight,
#postcode-form .list-panel.yellow,
.radio-button-strip label [type=radio]:checked+span:hover,
.radio-button-strip label [type=radio]:active+span:hover,
.radio-button-strip label [type=radio]:focus+span:hover,
button.btn.btn-primary,
a.btn.btn-primary,
.success-block,
.btn.btn-primary,
.markdown-container a.btn-primary,
.radio-button-strip label span.btn-primary,
#header-bottom,
#footer-bottom,
#menu,
.home-blocks .card,
.home-blocks .tile,
.progress-header ul.breadcrumb li.current:after,
.header-block,
.progress-header {
     background-color: var(--primary);
}

.btn, .markdown-container a,
.radio-button-strip label span,
.border-left,
.customcheck:checked~.customcheck-o,
.customcheck-o,
table.table th.sortable:hover,
.landing-root .panel-sign-in .list-panel a,
.landing-root .panel-sign-in .list-panel a:hover,
body .custom-calendar table.calendar-table td,
#footer-top, #header-top,
a.btn.btn-primary:hover,
button.btn.btn-primary:hover,
.btn.btn-primary:hover {
     border-color: var(--primary);
}

/* SECONDARY */
.custom-calendar table.calendar-table td.isSelectable:hover {
     background-color: var(--secondary);
}
.custom-calendar table.calendar-table td.isSelectable:hover {
     border-color: var(--secondary);
}

/* TERTIARY */
body .custom-calendar table.calendar-table td.today {
     background-color: var(--tertiary);
}
body .custom-calendar table.calendar-table td.today {
     border-color: var(--tertiary);
}

/* WHITE */
.landing-root .list-panel h3,
.landing-root .list-panel p,
.skip-capacity, .customcheck~.customcheck-o .fa-check,
#postcode-form .list-panel.yellow,
#postcode-form .list-panel.yellow h1,
#postcode-form .list-panel.yellow h2,
#postcode-form .list-panel.yellow h3,
#postcode-form .list-panel.yellow h4,
#postcode-form .list-panel.yellow h5,
#postcode-form .list-panel.yellow h6,
.progress-header h1,
ul.breadcrumb li a,
ul.breadcrumb li,
.progress-header span,
body .custom-calendar table.calendar-table td.today,
.custom-calendar table.calendar-table td.isSelectable:hover {
     color: var(--white);
}

.landing-root .list-panel a,
.btn.call-to-action:hover,
.radio-button-strip label span.call-to-action:hover,
.landing-root .panel-sign-in .list-panel,
a.btn.btn-primary:hover,
button.btn.btn-primary:hover,
.btn.btn-primary:hover,
.markdown-container a.btn-primary:hover,
.radio-button-strip label span.btn-primary:hover {
     background-color: var(--white);
}

.landing-root .list-panel a, .landing-root .list-panel a:hover {
     border-color: var(--white);
}

.home-blocks .tile,
.home-blocks .tile h1,
.home-blocks .tile h2,
.home-blocks .tile h3,
.home-blocks .tile h4,
.home-blocks .tile h5,
.home-blocks .tile h6 {
    color: var(--white);
    border-radius: 10px;
}

/* BLACK */
.panel-sign-in .panel-text,
.panel-sign-in .list-panel h3,
.panel-sign-in .list-panel p,
.wheely-bins {
     color: var(--black);
}

/* FONT */
body, h1, h2, h3, h4, div, span, li, ul, button, input, textarea, a, select, label {
  font-family: "Montserrat", sans-serif;
}

/* POSTCODE DIALOGUE BOX */
.dialog-panel {
    max-height: min(80vh, 500px);
    overflow: hidden scroll;
    position: fixed;
    top: 5%;
    margin-top: 0;
}

/* PRODUCT GRID STYLE */
.list-panel .flex-col.flex-expand {
    flex: 1 1 200px;
}

.list-panel.flex-row {
    flex-wrap: wrap;
    row-gap: 1rem;
}

/* DATE FORM / CALENDAR */
#date-form .col-12 > h2 {
    text-align: center;
    font-size: 45px;
}

#date-form .container .col-12 > h2:after {
    font-family: 'Font Awesome 5 Free';
    content: '\f0d1';
    margin-left: 20px;
    display: inline-block;
}

#date-form input#CollectionDate ~ .container tr > td.month > h2 {
    color: red;
}

#date-form input#CollectionDate ~ .container tr > td.prev .btn,
#date-form input#CollectionDate ~ .container tr > td.next .btn {
    color: red;
    border-color: red;
}

#date-form input#CollectionDate ~ .container tr > td.prev .btn:hover,
#date-form input#CollectionDate ~ .container tr > td.next .btn:hover {
    color: white;
    background-color: red;
}

#date-form input#CollectionDate ~ .container tr > td:not(.otherMonth) {
    border-color: red;
}

#date-form input#CollectionDate ~ .container tr > td.isSelectable {
    background-color: red;
}

#date-form input#CollectionDate ~ .container tr > td.isSelectable:hover {
    background-color: #7a7e82;
}

#date-form input#CollectionDate ~ .container tr > td.today {
    background-color: #9d0000;
}

#date-form .calendar-table th {
    text-align: center;
}

#date-form .calendar-table td {
    border-radius: 0px;
}

/* “Add to basket” label tweak */
#product-form > div:nth-child(10) > div > div.col-lg-7 > div.list-panel > table > tbody > tr:nth-child(1) > td.align-right > button {
    color: white;
    text-indent: -43px;
}
#product-form > div:nth-child(10) > div > div.col-lg-7 > div.list-panel > table > tbody > tr:nth-child(1) > td.align-right > button::after {
    content: "Add to basket";
    color: var(--primary);
}
#product-form > div:nth-child(10) > div > div.col-lg-7 > div.list-panel > table > tbody > tr:nth-child(1) > td.align-right > button:hover {
    color: var(--primary);
}
#product-form > div:nth-child(10) > div > div.col-lg-7 > div.list-panel > table > tbody > tr:nth-child(1) > td.align-right > button:hover::after {
    color: white;
}

/* HEADER */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 4.2rem;
}

.site-title {
    font-family: sans-serif;
    font-size: 2rem;
    font-weight: bold;
    color: var(--black);
    background: var(--primary);
    display: inline-block;
    padding: 0.25rem 1rem;
    clip-path: polygon(0 0, 90% 0, 100% 100%, 0 100%);
}

.btn-login {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* SERVICE CARDS */
.service-item {
    margin: 1rem 0;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0.5rem;
}

.service-panel {
    background: var(--light-grey);
    padding: 15px 0;
}

.service-panel .row {
    margin: 0 !important;
    min-height: 142px;
}

.service-panel .service-content {
    justify-content: space-between;
    padding: 1rem;
    display: flex;
    align-items: stretch;
}

.service-panel .service-icon {
    flex-shrink: 0;
    flex: 0 0 auto;
    align-content: center;
}

.service-icon img {
    height: 110px;
}

.service-title {
    top: 20px;
    font-weight: bold;
    color: var(--primary);
    flex: 1;
    text-align: right;
    white-space: nowrap;
    font-size: 20px;
    margin-bottom: 20px;
}

@media (max-width: 448px) {
    .service-icon img {
        height: 19.5vw;
    }
    .service-title {
        top: 12px;
    }
}

.service-panel .btn {
    background: var(--primary);
    color: var(--white) !important;
    align-self: flex-end;
    padding: 10px;
    overflow: hidden;
    border-radius: 0px !important;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition:
        background-color 0.1s ease,
        color 0.1s ease,
        transform 0.1s ease;
}

.service-action {
    text-align: right;
    align-content: center;
}

.service-details {
    display: none;
}

.service-info {
    align-content: center;
    justify-items: center;
}

@media (min-width: 750px) and (max-width: 1409px) {
    .service-item:first-child .service-details {
        display: block;
    }
}

@media (min-width: 920px) and (max-width: 1409px) {
    .service-item:not(:first-child) .service-details {
        display: block;
    }
}

.service-details {
    margin: 0 1rem;
    flex: 1 1 auto;
    text-align: center;
    align-content: center;
    color: var(--white);
    font-weight: 600;
}

.service-info ul {
    text-align: center;
}

.service-details ul {
    display: inline-block;
    text-align: left;
    transform-origin: center;
    list-style-type: disc !important;
    list-style-position: inside;
    margin: 0;
    margin-left: -35px;
}

.service-details li {
    margin-bottom: 0.5rem;
}

@media (min-width: 920px) {
    .service-item {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 1410px) {
    .service-item {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}

.service-panel .btn:hover {
    background-color: var(--white);
    color: var(--black) !important;
}

.service-panel .btn:active {
    transform: scale(1.05);
    color: var(--primary) !important;
}

.service-panel .btn:focus {
    box-shadow: none;
}

/* REGISTER SECTION */
.register-section {
    text-align: center;
    margin: 2rem 0;
}

.btn-register {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.shop-container {
    max-width: 1766px !important;
}

.service-panel .service-panel-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    flex: 0 0 auto;
    min-width: 0;
    padding-right: 30px;
    text-align: right;
}

/* SIGN IN / REGISTER BUTTONS */
#logoutForm h3 {
    margin-bottom: 15px;
}

.sign-in-action {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 20px;
    row-gap: 8px;
}

.sign-in-action .btn {
    font-size: 18px;
    flex: 1 1 178px;
    max-width: 178px;
}

.sign-in-action .inline {
    margin-bottom: 0;
}

@media (max-width: 478px) {
    .sign-in-action .inline {
        width: 400px;
    }
}

.register-button {
    background-color: var(--darkGreen);
    color: var(--white);
    border: none;
}

.signin-button {
    background-color: var(--green);
    color: var(--white);
    border: none;
}

.signin-button:hover {
    background-color: var(--darkGreen);
}

.myaccount-button {
    background-color: var(--green);
    color: var(--white);
    border: none;
}

.myaccount-button:hover {
    background-color: var(--darkGreen);
}

.changepassword-button {
    background-color: var(--darkGreen);
    color: var(--white);
    border: none;
}

.signout-button {
    background-color: var(--grey);
    color: var(--white);
    border: none;
}

/* HIRE PAGES – POSTCODE BLOCK */
#postcode-form .composite-address-input {
    background-color: var(--green);
    border-radius: 15px;
}

#postcode-form .composite-address-input input {
    width: calc(100% - 250px);
    top: -23px;
    left: -23px;
}

#postcode-form .composite-address-input .btn {
    display: inline-block;
    border-radius: 0px;
    height: 50px;
    margin: 0px;
    background: var(--black);
    color: var(--white) !important;
    padding: 10px;
    overflow: hidden;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition:
        background-color 0.1s ease,
        color 0.1s ease,
        transform 0.1s ease;
    position: relative;
    right: 0px;
    top: 0px;
}

#postcode-form .composite-address-input .btn:not(:disabled):hover {
    background-color: var(--white);
    color: var(--black) !important;
}

#postcode-form .composite-address-input .btn:not(:disabled):active {
    transform: scale(1.05);
    color: var(--primary) !important;
    transform: skew(-20deg);
}

#postcode-form .composite-address-input .btn:not(:disabled):focus {
    box-shadow: none;
}

input[type="text"] {
    position: relative !important;
    border-radius: 0px;
}

.progress-header > div > div > div > div.flex-row > div > h1 {
    text-transform: capitalize;
}

/* WASTE FORM BANNER */
#waste-form .list-panel {
    background: var(--primary);
    padding: 0 20px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    color: var(--white);
    flex-wrap: nowrap !important;
    height: 160px;
}

#waste-form .list-panel .btn {
    display: inline-block;
    border-radius: 0px;
    height: 50px;
    margin: 0px;
    background: var(--black);
    color: var(--white) !important;
    padding: 10px;
    overflow: hidden;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition:
        background-color 0.1s ease,
        color 0.1s ease,
        transform 0.1s ease;
    position: relative;
    right: 0px;
    top: 0px;
}

#waste-form .list-panel .btn:not(:disabled):hover {
    background-color: var(--white);
    color: var(--black) !important;
}

#waste-form .list-panel .btn:not(:disabled):active {
    transform: scale(1.05);
    color: var(--primary) !important;
    transform: skew(-20deg);
}

#waste-form .list-panel .btn:not(:disabled):focus {
    box-shadow: none;
}

/* DIALOG / FOOTER BUTTON PATTERN */
#disallowed-items-dialog .dialog-body > div:nth-child(3) button,
.full-page-overlay .dialog-footer > div > button,
#review-form .col-md-12 .btn-primary,
#checkout-payment .btn-primary {
    display: inline-block;
    border-radius: 0px;
    height: 50px;
    margin: 0px;
    background: var(--black);
    color: var(--white) !important;
    padding: 10px;
    overflow: hidden;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background-color 0.1s ease, color 0.1s ease, transform 0.1s ease;
}

#disallowed-items-dialog .dialog-body > div:nth-child(3) button {
    margin-left: 20px;
    margin-right: 11px;
}

.full-page-overlay .dialog-footer > div > button {
    margin-left: 20px;
    margin-right: 11px;
}

#review-form .col-md-12 .btn-primary {
    margin-left: 10px;
}

#disallowed-items-dialog .dialog-body > div:nth-child(3) button:not(:disabled):hover,
.full-page-overlay .dialog-footer > div > button:not(:disabled):hover,
#review-form .col-md-12 .btn-primary:not(:disabled):hover,
#checkout-payment .btn-primary:not(:disabled):hover {
    background-color: var(--white);
    color: var(--black) !important;
}

#disallowed-items-dialog .dialog-body > div:nth-child(3) button:not(:disabled):active,
.full-page-overlay .dialog-footer > div > button:not(:disabled):active,
#review-form .col-md-12 .btn-primary:not(:disabled):active,
#checkout-payment .btn-primary:not(:disabled):active {
    transform: scale(1.05);
    color: var(--primary) !important;
    transform: skew(-20deg);
}

#disallowed-items-dialog .dialog-body > div:nth-child(3) button:not(:disabled):focus,
.full-page-overlay .dialog-footer > div > button:not(:disabled):focus,
#review-form .col-md-12 .btn-primary:not(:disabled):focus,
#checkout-payment .btn-primary:not(:disabled):focus {
    box-shadow: none;
}

@media (max-width:470px) {
    #review-form .dialog-title > h2:nth-child(3) {
        display: contents;
    }
    #review-form .dialog-title > h2:nth-child(3) span {
        margin-top: 9px;
    }
}

#result-message .title {
    font-weight: 600;
}

#checkout-payment {
    padding-left: 0px;
    padding-right: 0px;
}

/* SELECT PRODUCT – POSTCODE INFO BLOCK */
#select-product-context #postcode-form .info-block {
    background-color: var(--green);
    border-radius: 15px;
    padding: 20px;
    color: var(--white);
}

#delivery-postcode-input {
    font-size: 20px;
    height: 46px;
    width: 70.3%;
}

#select-product-context #postcode-form .info-block .mb-2 {
    color: var(--white);
}

#select-product-context #postcode-form .info-block button {
    transform: skew(0deg);
    display: inline-block;
    border-radius: 0px;
    height: 50px;
    margin: 0px;
    background: var(--black);
    color: var(--white) !important;
    padding: 10px;
    overflow: hidden;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background-color 0.1s ease, color 0.1s ease, transform 0.1s ease;
    margin-top: -4px !important;
}

#select-product-context #postcode-form .info-block button:not(:disabled):hover {
    background-color: var(--white);
    color: var(--black) !important;
}

#select-product-context #postcode-form .info-block button:not(:disabled):active {
    transform: scale(1.05) skew(20deg);
    color: var(--primary) !important;
}

#select-product-context #postcode-form .info-block button:not(:disabled):focus {
    box-shadow: none;
}





#select-product-context #postcode-form .info-block .mb-2 {
    color: var(--white);
}

#select-product-context #postcode-form .info-block button {
    transform: skew(0deg);
    display: inline-block;
    border-radius: 0px;
    height: 50px;
    margin: 0px;
    background: var(--black);
    color: var(--white) !important;
    padding: 10px;
    overflow: hidden;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background-color 0.1s ease, color 0.1s ease, transform 0.1s ease;
    margin-top: -4px !important;
}

#select-product-context #postcode-form .info-block button:not(:disabled):hover {
    background-color: var(--white);
    color: var(--black) !important;
}

#select-product-context #postcode-form .info-block button:not(:disabled):active {
    transform: scale(1.05) skew(20deg);
    color: var(--primary) !important;
}

#select-product-context #postcode-form .info-block button:not(:disabled):focus {
    box-shadow: none;
}




.kwc-pasb button {
    color: var(--white);
}

.kwc-pasb button {
    transform: skew(0deg);
    display: inline-block;
    border-radius: 0px;
    height: 50px;
    margin: 0px;
    background: var(--black);
    color: var(--white) !important;
    padding: 10px;
    overflow: hidden;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background-color 0.1s ease, color 0.1s ease, transform 0.1s ease;
    margin-top: -4px !important;
}

.kwc-pasb button:not(:disabled):hover {
    background-color: var(--white);
    color: var(--black) !important;
}

.kwc-pasb button:not(:disabled):active {
    transform: scale(1.05) skew(20deg);
    color: var(--primary) !important;
}

.kwc-pasb button:not(:disabled):focus {
    box-shadow: none;
}



.isChecked {
    background-color: var(--green) !important;
    color: var(--white) !important;
}

/* PRODUCT CONTEXT – INFO BLOCK */
#product-context #product-form .list-item.info-block {
    background-color: var(--green);
    color: var(--white);
    padding: 20px;
}

#product-context #product-form .list-item.info-block.mb-3 input {
    font-size: 20px;
    height: 46px;
    width: 250px;
}

#product-context #product-form .list-item.info-block.mb-3 .mb-2 {
    color: var(--white);
}

#product-context #product-form .list-item.info-block.mb-3 {
    background-color: var(--green);
    border-radius: 15px;
    padding: 20px;
    color: var(--white);
}

#product-context #product-form .list-item.info-block.mb-3 button {
    transform: skew(0deg);
    display: inline-block;
    border-radius: 0px;
    height: 50px;
    margin: 0px;
    background: var(--black);
    color: var(--white) !important;
    padding: 10px 20px;
    overflow: hidden;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background-color 0.1s ease, color 0.1s ease, transform 0.1s ease;
    margin-left: 20px !important;
    margin-top: -4px !important;
}

#product-context #product-form .list-item.info-block.mb-3 button:not(:disabled):hover {
    background-color: var(--white);
    color: var(--black) !important;
}

#product-context #product-form .list-item.info-block.mb-3 button:not(:disabled):active {
    transform: scale(1.05) skew(-20deg);
    color: var(--primary) !important;
}

#product-context #product-form .list-item.info-block.mb-3 button:not(:disabled):focus {
    box-shadow: none;
}

/* DROPDOWN BUTTONS */
#dropdownMenuButton {
    background-color: var(--green);
    color: var(--white);
}

#dropdownMenuButton:hover {
    background-color: var(--darkGreen);
    color: var(--white);
}

.dayNum {
    display: inline-block;
}

.dayCharge {
    color: var(--white);
}

.radio-button-strip label span {
    background-color: var(--grey);
    color: var(--white);
}

/* HERO STRIP */
.hero img, .hero-mobile img { max-width: none; }

.hero {
  display: grid;
  grid-template-columns: 1fr minmax(var(--mid-min), var(--mid-max)) 1fr;
  width: 100%;
  height: var(--hero-h);
  overflow: hidden;
  position: relative;
}

.side {
  position: relative;
  overflow: hidden;
}

.track {
  display: flex;
  height: 100%;
  width: 200%;
  transform: translateX(0%);
  transition: transform 900ms ease-in-out;
}

.slide {
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  position: relative;
}

.slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mid {
  position: relative;
  z-index: 2;
  margin: 0 -4%;
  background: var(--rhombus-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: skew(-20deg);
  margin-left: -55px;
  margin-right: -55px;
}

.rhombus {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.rhombus-inner {
  transform: skew(20deg);
  color: #fff;
  text-align: center;
  padding: clamp(12px, 3.2vw, 28px);
}

.rhombus-inner .title {
  font-size: clamp(18px, 3.5vw, 36px);
  font-weight: 700;
  margin-bottom: 0.5em;
}

.rhombus-inner .subtitle {
  font-size: clamp(12px, 2vw, 18px);
  line-height: 1.3;
}

.title {
  font-weight: 800;
  font-size: clamp(22px, 5.2vw, 52px);
  line-height: 1.05;
  letter-spacing: .02em;
  margin-bottom: clamp(8px, 1.4vw, 14px);
}

.subtitle {
  font-size: clamp(14px, 2.1vw, 22px);
  line-height: 1.35;
  opacity: .95;
}

.hero-mobile {
  display: none;
  position: relative;
  width: 100%;
  height: var(--hero-h);
  overflow: hidden;
}

.hero-mobile .mob-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 800ms ease;
}
.hero-mobile .mob-slide.active { opacity: 1; }

.hero-mobile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.42);
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  padding: 18px;
  z-index: 999 !important;
}

.overlay .title {
  font-size: clamp(22px, 6.2vw, 40px);
  margin-bottom: .4em;
}

.overlay .subtitle {
  font-size: clamp(14px, 3.6vw, 18px);
}

@media (max-width: 768px) and (orientation: portrait) {
  .hero { display: none; }
  .hero-mobile { display: block; }
}

/* HEADER / NAV BAR */
#header-bottom .container {
  padding: 0;
}
#header-bottom .row {
  margin-left: 0;
  margin-right: 0;
}

/* Head menu bar */
#head-menu {
  display: flex;
  width: 100%;
  align-items: center;
  flex-wrap: wrap;
  height: 60px !important;
}

#head-menu .block:last-child {
  flex-grow: 2;
  text-align: right;
}

/* Large (desktop) nav */
#header-bottom .large-nav {
    display: flex;
    justify-content: space-between;
}

#header-bottom .large-nav .nav-link {
  text-transform: uppercase;
  font-weight: 400;
  cursor: pointer;
}

#header-bottom .large-nav .nav-item {
  background-color: #1b3825;
  padding: 10px 15px;
  border-radius: 25px;
  cursor: pointer;
}

#header-bottom .large-nav .nav-item a:hover {
  color: white !important;
}

#header-bottom .large-nav .nav-item:hover {
  background-color: #3e704f !important;
}

#header-bottom {
    color: white !important;
}

header.hide-mobile-app .navbar {
    height: 60px !important;
}

/* Right-justified account/basket strip */
.sign-out-addon {
  justify-content: right;
  text-transform: uppercase;
}

/* Mobile nav specifics */
#head-menu .mobile-nav .nav-item {
  text-align: left;
}
#header-bottom .mobile-nav .nav {
  justify-content: flex-end;
}

/* Responsive visibility */
@media screen and (max-width: 1081px) {
  .large-nav { display: none !important; }
  #head-menu {
    flex-direction: column;
    align-items: stretch;
  }
  #head-menu .block {
    text-align: center;
  }
  .nav-description {
    margin-top: 40px;
  }
  .sign-out-addon {
    margin-top: -20px;
  }
}

@media screen and (max-width: 901px) {
  .nav-item span {
    display: none;
  }
}

@media screen and (max-width: 437px) {
  .phone-nav {
    display: none;
  }
}

@media screen and (max-width: 363px) {
  .account-nav {
    display: none;
  }
}

.large-nav .nav-description {
  align-items: center;
}

@media screen and (min-width: 1082px) {
  .mobile-nav { display: none; }
  .nav-description {
    max-width: 20.8%;
  }
}

#head-menu > div.block.menu-block > div.large-nav > ul.nav.nav-open-on-hover.nav-fill {
  text-align-last: left;
}

.why-choose-us h4 {
    padding: 6px 0px 15px 15px;
    color: var(--primary);
    margin-top: 20px;
    text-align: left;
}

.why-choose-us p {
    text-align: left;
    padding: 0px 15px;
}

.nav-description {
    align-content: center;
    display: flex;
}

/* Hide some header bits on smaller viewports */
@media screen and (max-width: 745px) {
    header.hide-mobile-app > nav > ul.navbar-nav.mr-auto {
        display: none;
    }

    header.hide-mobile-app > nav {
        justify-content: space-between;
    }

    header.hide-mobile-app > nav > ul.nav.navbar-nav.navbar-right > li.basket-info.nav-item {
        display: none;
    }
}

/* ACCREDITATIONS STRIP */
.accreditations img {
    width: 20vw;
    height: 20vw;
    max-width: 150px;
    max-height: 150px;
}

.accreditations {
    display: flex;
    justify-content: space-evenly;
    background: var(--light-grey);
    padding-top: 20px;
    padding-bottom: 20px;
    flex-flow: wrap;
}

/* MISC */
#slugLink {
    width: 99%;
}

#product-form > div.full-page-overlay > div > div > div.dialog-body.py-4 > div > div > button {
    z-index: 2;
}

/* FULL BLEED FOOTER SCROLLER */
.full-bleed-footer {
    position: relative;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 99.6vw;
    background: #f5f5f5;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.scroller {
    overflow: hidden;
    width: 100%;
    padding: 16px 0;
}

.full-bleed-footer .track {
    display: flex;
    align-items: stretch;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
    will-change: transform;
}

.tile {
    flex: 0 0 auto;
    min-width: 180px;
}

.tile a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    border-radius: 12px;
    padding: 12px 14px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    color: inherit;
}

.tile a:hover,
.tile a:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    outline: none;
}

.tile img {
    display: block;
    height: 64px;
    width: auto;
    object-fit: contain;
    margin-bottom: 8px;
}

.tile .caption {
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
    color: #333;
}

@media (prefers-reduced-motion: reduce) {
    .track {
      animation: none !important;
      transform: none !important;
    }
}

/* Rhombus adjustment */
@media (max-width: 1850px) {
  .rhombus-inner {
    transform: skewX(0deg);
    transform-origin: left center;
  }

  .rhombus-inner .subtitle span {
    display: inline-block;
    transform: skewX(20deg);
  }
}

#select-product-context #postcode-form {
    margin-bottom: 0px;
}

/* Narrow template tweaks */
#product-form  div.narrow-template .radio-button-strip {
    align-items: center;
}

/* Misc layout */
.composite-address-input .postcode-input.wide {
  white-space: nowrap;
}

#checkout-signin {
  margin-top: 20px;
}

#select-product-context #delivery-postcode-input {
  display: block;
}

/* Hero text trim on certain widths */
@media (max-width: 1440px) {
    #online-order-container > section.hero > div.mid > div > div > p > span:nth-child(4) {
        display: none;
    }
}

#product-form .info-block-container {
    background: var(--green);
    border: 1px solid var(--green);
}


.composite-address-input .postcode-buttons {
    position: absolute;
    top: 19px;
    right: 50px;
}

#product-form .kwc-pasb {
    top: 3px;
    right: -210px;
}

@media screen and (max-width: 768px) {
    .composite-address-input .postcode-buttons {
	top: 65px;
        left: 10px;
    }
}

@media screen and (max-width: 500px) {
    .composite-address-input .postcode-buttons {
	top: 25px;
        left: -33px;
    }
}

@media screen and (min-width: 769px) {
   .postcode-buttons kwc-pasb {
        right: 50px;
        top: 20px;
    }
}

@media screen and (max-width: 768px) {
    .composite-address-input .postcode-input {
         margin: 0px;
    }
}

.kwc-shpc {
    padding: 42px;
    width: 100% !important;
}

.composite-address-input .selected-address-summary {
    color: white;
}

#postcode-form > div > div > div > div > div:nth-child(1) > div.list-item.info-block > div > div > div.composite-address-input.postcode-composite.kwc-pas {
    width: auto;
}

#delivery-postcode-input {
    width: 100% !important;
}


@media screen and (min-width: 769px) {
   #postcode-form > div > div > div > div > div:nth-child(1) > div.list-item.info-block > div > div > div.composite-address-input.postcode-composite.kwc-pas > div {
        right: -210px;
    }
}

#postcode-form > div > div > div > div > div:nth-child(1) > div.list-item.info-block > div > div > div.composite-address-input.postcode-composite.kwc-pas > div {
        top: -20px !important;
}

@media screen and (max-width: 500px) {
    #product-form .kwc-pasb {
        left: -11px;
    }
}

#product-form > div:nth-child(18) > div > div.col-lg-7 > div.info-block-container > div.list-item.info-block > div > div > div.kwc-pasda > a > span {
    color: #348b41;
}

#kw-podsh {
    top: -40px;
}