/* Page Layout */
:root {
    --primary-000: #f9e9ea;
    --primary-100: #ecbcc0;
    --primary-200: #df8f96;
    --primary-300: #d2626c;
    --primary-400: #c53542;
    --primary-450: #be1e2d;
    --primary-500: #af0823;
    --primary-700: #5f0f17;
    --primary-800: #39090d;
    --primary-900: #130304;
    --font-family-sans-serif: "Roboto", sans-serif;

    --complementary-500: #288A16;
    --complementary-400: #1C6010;

    --primary: var(--primary-500);
}

/* CSS reset */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
input,
button {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font-family: var(--font-family-sans-serif);
    vertical-align: baseline;
    box-sizing: border-box;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: "Verdana", sans-serif;
    font-size: 0.8rem;
}

.preload *,
.preload {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
    animation: none !important;
}

body>main {
    flex: 1;
}

main {
    margin-top: 4rem;
}


footer {
    min-height: 50px;
    width: 100%;
    margin-top: auto;
    font-size: 0.8rem;
    margin: auto;
}

footer .main-footer {
    gap: 0;
}

footer ul {
    display: flex;
    justify-content: center;
    gap: 1em;
}

footer .footer-social-media {
    border-radius: 100%;
    padding: 3px;
}

footer a.footer-social-media:hover {
    border-bottom: none;
}

footer a,
footer a:visited {
    color: #fff;
}

footer a:hover {
    color: var(--primary-500);
    border-bottom: none;
}

.footer-social-media markdown {
    padding: 0;
}

box.main-footer>box {
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 0 1rem;
    border-left: solid 3px white;
}

box.main-footer>box:first-child {
    border-left: none;
}

header {
    background-color: var(--primary-500);
    text-align: right;
    z-index: 100;
    max-height: 7rem;
    background: repeating-linear-gradient(-45deg, #bf0019, #bf0019 5px, #c51a30 5px, #c51a30 7px);
}

/* New Defaults*/
i {
    font-style: italic;
}

section {
    background-color: #fff;
}

section.content {
    width: min(1200px, 80%);
    margin: auto;
}

section.content-narrow {
    width: min(600px, 80%);
    margin: auto;
}

section.content-medium-narrow {
    width: min(750px, 80%);
    margin: auto;
}

section.content-variable-width {
    max-width: 100%;
    width: min(1200px, 80%);
    margin: auto;
}

section.content-variable-width:has(.wide-view) {
    width: 85%;
}


/* detail list */
dl {
    display: block;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 0;
    margin-right: 0;
    font-size: 1rem;
}

dd {
    display: block;
    margin-left: 40px;
}

dt {
    font-weight: bold;
    display: block;
}


/*Links */
a {
    color: var(--primary-800);
    text-decoration: none;
    cursor: pointer;
    letter-spacing: 0.1em;
    border: none;
}

a:hover {
    border-bottom: solid 1px var(--primary-800);
}

.link {
    display: inline-block;
    background-color: transparent;
    border: none;
    cursor: pointer;
    border-bottom: solid 1px var(--primary-800);
}


/* Headings  */
h1 {
    display: block;
    font-size: 2em;
    margin-top: 0.67em;
    margin-bottom: 0.67em;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}


h2 {
    display: block;
    font-size: 1.5em;
    margin-top: 0.83em;
    margin-bottom: 0.83em;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}


h3 {
    display: block;
    font-size: 1.17em;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}

/* P tag */
p {
    display: block;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 0;
    margin-right: 0;
}



/* buttons */
.btn {
    display: inline-block;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    border: solid 1px var(--primary-500);
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    line-height: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background-color: var(--primary-500);
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

.btn:hover {
    background-color: var(--primary-400);
}

a.btn:hover,
button.btn:hover {
    border: solid 1px var(--primary-500);
}

.btn.clear {
    background-color: white;
    border: solid 1px #555555;
    color: #555555;
    font-weight: bold;
}

.btn.dark {
    background-color: #606060;
    border: solid 1px #606060;
    color: white;
    font-weight: bold;
}

.btn.dark:hover {
    border: solid 1px #555555;
}

.btn.icon-btn {
    display: flex;
    align-items: center;
}

.btn-complementary {
    background-color: var(--complementary-500);
    border: solid 1px var(--complementary-500);
}

.btn-complementary:hover {
    background-color: var(--complementary-400);
}

.btn-container {
    margin: auto;
}

.float-right {
    float: right;
}

/* btn after list */

.brand-list+.btn,
.product-list+.btn,
.featured-list+.btn,
.product-detail-line+.btn,
.main-btn {
    display: block;
    margin: 1rem auto;
    width: fit-content;
    font-size: 0.6rem;
    width: -moz-fit-content;
}


@media only screen and (min-width: 728px) {

    .brand-list+.btn,
    .product-list+.btn,
    .featured-list+.btn,
    .cart-button,
    .main-btn {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}


/* header */

.nav-item {
    display: flex;
    padding: 0;
    color: #fff;
    position: relative;
    height: 100%;
    align-items: center;
}

.nav-item a {
    text-decoration: none;
    color: #fff;
    white-space: nowrap;
    padding: 0.5rem;
}

.nav-item a img.main-logo {
    max-height: 3rem;
    vertical-align: middle;
}

.nav-item svg {
    min-width: 24px;
    width: 24px;
}

.nav-item span {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
}

.nav-item a:visited {
    color: #fff;
}

.nav-item.main-logo-container {
    height: 4.5rem;
    padding: 0;
    margin-left: 1rem;
    background-color: white;
    border-radius: 0 0 5px 5px;

}

.nav-item.main-logo-container a {
    padding-top: 1rem;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}

.nav-item a:hover {
    color: #f1f1f1;
    border: none;
}

.nav-item.dropdown-container .dropdown-list {
    display: none;
    position: absolute;
    top: 100%;
    flex-direction: column;
    align-items: start;
    background-color: #bf0019;
    text-align: left;
}

.nav-item.dropdown-container:hover .dropdown-list, .nav-item .dropdown-list:hover {
    display: flex;
}

.nav-item.dropdown-container .dropdown-list li {
    width: 100%;
}

.nav-item.dropdown-container .dropdown-list li a {
    width: 100%;
    display: block;
}

.nav-item.dropdown-container .dropdown-list li:hover {
    background-color: var(--primary-400);
}

header {
    display: flex;
    width: 100%;
    flex-flow: row nowrap;
    justify-content: center;
    position: fixed;
    height: 4rem;
}

header ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

header .menu-sidebar-button {
    height: 100%;
    background: repeating-linear-gradient(-45deg, #bf0019, #bf0019 5px, #c51a30 5px, #c51a30 7px);
    border: none;
}

header .btn {
    padding: 0.2rem;
}

header .btn:focus {
    outline: none;
}

@media only screen and (min-width: 1024px) {
    .nav-item a img.main-logo {
        max-height: 6rem;
    }

    .nav-item.main-logo-container {
        padding: 0;
        height: 8rem;
        margin-top: -2rem;
    }

    .nav-item.nav-item.main-logo-container a {
        padding-top: 1.5rem;
    }
}

/* Desktop Header */
header .desktop-header {
    display: none;
    text-transform: uppercase;
    font-size: 1rem;
}

.desktop-header form {
    display: flex;
    font-size: 0.9rem;
}

.desktop-header form input[type='text'] {
    flex-grow: 1;
    padding: 0.4em;
    border: 1.5px solid #BCBEC0;
    border-radius: 5px 0 0 5px;
}

.desktop-header form .search-form-btn {
    border: 1px solid#BCBEC0;
    background-color: #BCBEC0;
    border-radius: 0 5px 5px 0;
    font-size: 0.7rem;
    padding-left: 1rem;
    padding-right: 1rem;
    text-transform: capitalize;
}

.header-main {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    max-height: 5rem;
}

.header-secondary {
    display: none;
}

.nav-item.header-cart a {
    display: flex;
}

.nav-item.header-cart a span {
    font-size: 0.8rem;
}


/*Mobile header container*/

.mobile-header-container {
    display: flex;
    align-items: center;
}


@media only screen and (min-width: 1025px) {

    aside.sidebar.right,
    .menu-sidebar-button,
    .mobile-header-container {
        display: none;
    }

    main {
        margin-top: 0rem;
    }

    header {
        flex-direction: column;
        height: auto;
        max-height: 7rem;
        position: relative;
    }

    header .desktop-header {
        display: inherit;
        /* gap: 1rem; */
        height: 5rem;
    }

    .header-main,
    .header-secondary ul {
        max-width: 1200px;
        margin-right: auto;
        margin-left: auto;
        height: auto;
        text-transform: uppercase;
    }

    .header-secondary {
        display: flex;
        background-color: #E0E0E0;
        height: 2.5rem;
    }

    .header-secondary ul {
        max-width: 1200px;
        gap: 2rem;
        justify-content: flex-end;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .header-secondary a {
        color: #4d4d4d;
    }

    .header-secondary a:visited {
        color: #4d4d4d;
    }

    .header-secondary a:hover {
        color: var(--primary-500);
        border-bottom: none;
    }

    .header-secondary .link-button {
        color: #4d4d4d;
        background-color: transparent;
        cursor: pointer;
        text-transform: uppercase;
        letter-spacing: 0.1em;
    }

    .header-secondary .link-button:hover {
        color: var(--primary-500);
    }

}


/* Sidebars */
aside.sidebar {
    position: fixed;
    top: 4rem;
    bottom: 0;
    width: 100vw;
    max-width: 350px;
    transform: scaleX(0);
    transition: transform 100ms;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    z-index: 10000;
    height: 100%;
}

aside.siderbar * {
    font-family: 'Raleway', sans-serif;
}

aside.sidebar.open>.backdrop {
    position: absolute;
    z-index: -1;
    top: 0;
    right: -10000vw;
    bottom: 0;
    left: -10000vw;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    transition: none;
}

aside.sidebar.open {
    transform: scaleX(1);
}

aside.sidebar>.content {
    background-color: #fff;
    flex: 1 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1rem 1rem 1rem;
}

/* Left sidebar */

aside.sidebar.right {
    right: 0;
    transform-origin: right;
}

aside.sidebar a,
aside.sidebar p {
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1.2rem;
    color: #808080;
}

aside.sidebar a:visited {
    color: #808080;
}

aside.sidebar a:hover {
    color: var(--primary-500);
    border-bottom: none !important;

}

aside.sidebar li {
    margin-top: 1.2rem;
}

aside.sidebar.right form {

    display: flex;
}

aside.sidebar.right form input[type="text"] {
    flex-grow: 1;
    padding: 0.5em;
    font-size: 1.05rem;
    width: 40%;
    border: 1.5px solid #BCBEC0;
    border-radius: 8px 0 0 8px;
    outline: none;
}

aside.sidebar.right form input[type="text"]:focus {
    box-shadow: 0 0 2pt 2pt #e8e8e8;
}

aside.sidebar.right form input[type="text"],
aside.sidebar.right button {
    font-weight: bold;
}

aside.sidebar form .btn {
    background-color: #BCBEC0;
    border: 1px solid#BCBEC0;
    border-radius: 0 8px 8px 0;
    text-transform: capitalize;
}


aside.sidebar form .logout-btn {
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1.2rem;
    color: var(--primary-500);
    cursor: pointer;
    background-color: transparent;
}

.logout-btn:hover {
    color: var(--primary-700) !important;
}

aside.sidebar li {
    margin-top: 2rem;
}

.homepage-titles {
    width: 100%;
    text-align: center;
}

.homepage-main-title {
    color: #c30017;
    font-size: 0.8rem;
    font-weight: bold;
    text-decoration: none;
    padding: 0rem;
}

.homepage-subtitle {
    color: #4d4d4d;
    font-size: 1.1rem;
    padding: 0rem;
}

.homepage-titles span {
    white-space: nowrap;
}

@media only screen and (min-width: 728px) {
    .homepage-main-title {
        font-size: 1.5rem;
    }

    .homepage-subtitle {
        font-size: 1.3rem;
    }
}

/* Breadcumbs */
.inline-breadcrumbs-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-bottom: 0.5rem;
}

.breadcrumbs {
    text-align: left;
    margin-top: 1rem;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
    sborder-bottom: 4px solid #e8e8e8;
}

.breadcrumbs.inline-breadcrumbs {
    border-bottom: none;
    margin: 0;
    padding-bottom: 0;
}

.breadcrumbs ul {
    display: inline-flex;
    flex-wrap: wrap;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs ul li a {
    color: inherit;
    font-size: 0.6rem;
    font-weight: bold;
    text-decoration: none;
    text-transform: capitalize;
}

.breadcrumbs ul li a:visited {
    color: inherit;
}

.breadcrumbs ul li a:hover {
    color: var(--primary-400);
    border-bottom: none;
}

.breadcrumbs ul li:not(:last-child):after {
    color: inherit;
    margin-right: 0.2rem;
    margin-left: 0.2rem;
    content: ">";
    font-size: 0.6rem;
    font-weight: bold;
}

.breadcrumbs img {
    height: 24px;
}

@media only screen and (min-width: 728px) {

    .breadcrumbs ul li:not(:last-child):after,
    .breadcrumbs ul li a {
        font-size: 0.8rem;
    }
}


.add-all-to-cart-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Tables */
.form-table {}

form table {
    overflow: hidden;
}

table {
    width: 100%;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

th,
td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
}

tbody tr {
    cursor: pointer;
}

tbody tr:hover {
    background-color: var(--primary-000);
}

table.order-table {
    margin-bottom: 1.5rem;
}

/*Range image*/
.range-image,
.range-image img {
    object-fit: cover;
    max-height: 45vw;
    width: 100%;
    height: auto;
    object-position: 0% 50%;
    overflow-y: hidden;
}

.range-description {
    margin: auto;
    width: fit-content;
    font-size: 1.1rem;
}

.range-description>p {
    margin: 0;
}

@media only screen and (min-width: 700px) {

    .range-image,
    .range-image img {
        smax-height: 35vw;
        max-height: 400px;
    }
}



/*Panel List, i.e. all lists that are made up of image blocks*/
.panel-list-title {
    text-align: center;
    display: block;
    border-top: 4px solid #e8e8e8;
    padding-top: 0.5rem;
    font-weight: bold;
    color: #4d4d4d;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0.5rem;
    padding-top: 1rem;
}

.panel-list-title.no-border {
    border-top: none;
}

.panel-list-description {
    text-align: center;
    display: block;
    border-top: 4px solid #e8e8e8;
    padding-top: 0.5rem;
    color: #4d4d4d;
    width: 100%;
    font-size: 1.2rem;
    font-weight: normal;
}

p.no-results {
    text-align: center;
    font-size: 1.2rem;
    color: #646466;
}

/*Brand list*/
.brand-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    padding-top: 0.5rem;
    margin-bottom: 2rem;
}

.brand-list li,
.featured-list li {
    flex-basis: 49%;
    position: relative;

}

.brand-list li img {
    width: 100%;
    object-fit: cover;
    max-height: min(25vw, 250px);

    aspect-ratio: 185/79;
}


.brand-list .list-flag,
.featured-list .list-flag {
    position: absolute;
    background-color: #C30030;
    padding: 0.2rem;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}

.featured-list .list-flag {
    font-size: 0.5rem;
}


/* Featured List. Featured products on front page */
.featured-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    justify-content: center;
    padding-top: 0.5rem;

    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.featured-list li img {
    width: 100%;
    object-fit: cover;
    height: 100%;
}

.featured-list li a:hover,
.brand-list li a:hover {
    border: none;
}

.brand-list li .btn.clear:hover {
    border: 1px solid var(--primary-500);
}


@media only screen and (min-width: 1024px) {
    .brand-list {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .brand-list .list-flag,
    .featured-list .list-flag {
        padding: 0.3rem;
        font-size: 0.8rem;
    }

    .panel-list-title {
        font-size: 1.5rem;
        padding-top: 1.5rem;
    }

    .featured-list {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .featured-list li img {
        object-fit: cover;
    }
}


/*Category Accordian */
.category-accordian {
    width: 100%;
    min-width: 250px;
    font-size: 1rem;
}

.category-accordian span,
.category-accordian a {
    letter-spacing: 0.05em;
}

.category-accordian summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
}

.category-accordian ul a {
    padding: 0.5rem;
    display: block;
}

.category-accordian-line-container {
    padding: 0.5rem;
    text-transform: capitalize;
}

.category-accordian .category-accordian-line-container>a {
    display: block;
    padding: 0.5rem;
}

.category-accordian a:hover {
    border-bottom: none;
    color: var(--primary-400);
}

.category-accordian ul {
    margin-left: 1rem;
}

.category-accordian>a,
.category-accordian>b {
    padding: 0.5rem;
    margin-top: 0rem;
    display: block;
}

.category-accordian details {
    margin-top: 0;
}

.category-accordian a.selected,
.category-accordian span.selected {
    font-weight: bold;
}

details.category-accordian summary::-webkit-details-marker {
    display: none;
}

.category-accordian summary::after {
    content: '+';
    float: right;
    text-align: center;
    width: 10px;
}

.category-accordian details[open]>summary::after {
    content: '-';
}

details.category-accordian[open]>summary.category-accordian-title::after {
    content: '-';
}

.category-accordian summary.no-lines::after {
    content: "" !important;
}


details.category-accordian details[open] summary~* {
    animation: rise 0.1s ease-in-out;
}

@keyframes rise {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

.category-accordian-title {
    margin-bottom: 1rem;
    border-bottom: 2px solid gray;
}

.product-display-count {
    display: flex;
    justify-content: center;
}

.product-grid {
    display: block;
}


.product-grid.manuals {
    gap: 1rem;
    width: 100%;
}

@media only screen and (min-width: 768px) {
    .category-accordian {
        width: 25%;
        display: block;
    }

    .product-grid {
        display: flex;
    }
}

/*Product list*/
.product-list {
    margin-bottom: 1rem;
    display: flex;
    gap: 2rem;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin: auto;
    margin-top: 1rem;
    text-align: center;
    padding-bottom: 1rem;
    width: 100%;
}

div:has(>.product-list) {
    flex-grow: 1;
}


.product-list-options {
    text-align: right;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
}

.product-list li {
    flex: 1 0 100px;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.product-list li.full-width-item {
    max-width: 100%;
    flex-basis: 100%;
    display: flex;
    justify-content: center;

}

.product-list li.full-width-item div {
    width: 100%;
    text-align: left;
    padding-bottom: 0.5rem;
    border-bottom: 4px solid #e8e8e8;
}

.product-list li.full-width-item label {
    font-size: 1rem;
}


@media only screen and (min-width:768px) {
    .product-list li.full-width-item div {
        width: 90%;
        ;
    }

    .product-list li {
        max-width: 120px;
    }
}


.product-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.product-card a:hover {
    text-decoration: none;
    border: none;
}

.product-card {
    padding: 1px;
    display: flex;
    justify-content: flex-end;
    position: relative;
    flex-direction: column;
    height: 100%;
    -webkit-tap-highlight-color: transparent;
    border: 1px solid transparent;
}


.product-card .price-line .price-line-inner {
    height: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    gap: 0.25rem;
    justify-content: center;
}

.product-card .product-card-banner {
    display: flex;
    justify-content: center;
}

.product-card .product-card-banner p {
    display: flex;
    align-items: center;
    text-transform: uppercase;
    margin: 0;
}

.product-show-title-area .product-card-banner p {
    display: flex;
    align-items: center;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.product-card .product-card-banner p span,
.product-show-title-area .product-card-banner p span {
    padding: 0.4rem;
    border: 1px solid #666;
    color: #666;
    font-weight: bold;
}

.product-card .product-card-banner.clearance p span,
.product-show-title-area .product-card-banner.clearance p span {
    color: var(--primary-500);
    border-color: var(--primary-500);
}

.product-card:hover {
    border: 1px solid #e8e8e8;
}

.product-image {
    line-height: 0;
    padding-bottom: 100%;
    position: relative;
}

.product-card .product-card-banner.small {
    font-size: 0.5rem;
}

.product-inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    height: 100%;
    overflow: hidden;
}

.product-card img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.product-card-name {
    height: 3.5rem;
}

.product-card-name p {
    line-height: 0.85rem;
    max-height: 100%;
    overflow: hidden;
}

@media only screen and (min-width: 425px) {
    .product-list li {
        flex-basis: 200px;
        max-width: 200px;
    }

    .product-card-name {
        height: 2.75rem;
    }
}


/*Category list*/
.category-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: auto;
    padding-bottom: 1rem;
}

.category-list li {
    margin-top: 1rem;

}

.category-list li a {
    text-decoration: none;
    text-transform: uppercase;
    color: #4d4d4d;
}

.category-list li a {
    border: none;
}

.category-list li a:visited {
    color: #4d4d4d;
}

.category-list li:last-child {
    margin-bottom: 1rem;
}


@media only screen and (min-width: 728px) {
    .category-list li {
        font-size: 1.2rem;
    }

    .category-list {
        grid-template-columns: 1fr 1fr 1fr;
    }

}

/* Product show page */

.product-show-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
    margin: auto;
    max-width: 500px;
    position: relative;
    padding-top: 505px;
    width: 100%;
}


.product-show-images input[type=radio] {
    opacity: 0;
    position: fixed;
    width: 0;
}

.product-show-images label {
    position: relative;
    flex-basis: 19%;

    /*@@DEV dummy border for testing*/
    /* border: 1px dashed black !important; */
}

.product-show-images label.video-image {
    flex-basis: 50%;
    border: 1px solid transparent;
}

@media only screen and (max-width:500px) {
    .product-show-images {
        padding-top: 85vw;
    }
}

.product-show-images label:hover {
    border: 1px solid #e8e8e8 !important;
}

.product-show-images input[type=radio]+label img {
    cursor: pointer;
    height: 100%;
    width: 100%;
    object-fit: contain;
}

/* .product-show-images input[type=radio]:checked+label{
    order: -0;
    margin: auto;
    display: flex;
    justify-content: center;
    flex-basis: 100%;
} */

.product-show-images input[type=radio]:checked+label {
    border: 1px solid var(--complementary-500);
}

.product-show-images input[type=radio]:checked+label:hover {
    border: 1px solid var(--complementary-500) !important;
}

.product-show-images input[type=radio]:checked+label img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
}

.product-show-images input[type=radio]:checked+label.video-image img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
}

.product-show-images label.video-image .product-show-video-inner picture {
    display: flex;
}


.product-show-outer {
    line-height: 0;
    padding-bottom: 100%;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.product-show-inner {
    position: absolute;
    top: 0;
    background-color: #fff;
    height: 100%;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.video-image .product-show-inner {
    height: 100%;
    width: 100%;
}

.product-show-main {
    min-height: 300px;
    width: 100%;
    position: absolute;
    top: 0;
    opacity: 0;
    z-index: 1;
    width: 100%;
}

.product-show-main .product-show-inner {
    width: 100%;
}

label.video-image>.product-show-outer {
    padding-bottom: 50%;
}

img.product-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-play-button {
    position: absolute;
    top: 45%;
    width: 15%;
    left: 45%;
}

.thumbnail-button {
    position: absolute;
    top: 0%;
    left: 45%;
    width: 15% !important;
}

.video-play-button:hover {
    filter: invert(16%) sepia(98%) saturate(3613%) hue-rotate(341deg) brightness(68%) contrast(106%);
}

.embedded-video {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(200, 200, 200, 0.8);
    cursor: pointer;
    display: flex;
}

.embedded-video-inner {
    max-width: 100%;
    max-height: 50vw;
    height: 720px;
    z-index: 6;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20vh;
    background-color: black;
    position: relative;
}

.embedded-video-inner img {
    position: absolute;
    cursor: pointer;
    right: 5px;
    top: 5px;
}

.embedded-video-inner img:hover {
    background-color: var(--primary-700);
}

.product-show-images input[type=radio]:checked+label+.product-show-main {
    opacity: 1;
    z-index: 5;
    transition: opacity 0.2s ease-in-out;
}


.break-line {
    flex-basis: 100%;
    height: 0;
}

.product-title {
    text-align: left;
    font-weight: normal;
    color: #4d4d4d;
    margin-top: 0;
}

.product-description p,
.category-description {
    font-size: 1rem;
    line-height: 1.6rem;
    white-space: pre-line;
}

.product-description li {
    font-size: 1rem;
    line-height: 1.6rem;
}


.product-detail-line {
    padding-bottom: 0.2rem;
    border-bottom: 2px solid #c8c8c8;
    font-size: 1rem;
    line-height: 1rem;
}

.product-detail-line.break-line {
    margin-bottom: 2.5rem;
}

.product-care-instructions p {
    display: inline-block;
}

.product-detail-title {
    text-transform: capitalize;
    font-weight: bold;
    font-size: 1.1rem;
    color: #4d4d4d;
}

.product-detail-title::after {
    display: inline-block;
    margin-right: 0.5rem;
    content: ":";
    font-weight: bold;
    font-size: 1.1rem;
    color: #4d4d4d;
}

.product-detail-line.wide-line {
    border-bottom: none;
}

ul.product-features {
    font-size: 1rem;
    line-height: 1.6rem;
    list-style-type: disc;
    margin-left: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

ul.product-features li p {
    margin-top: 0;
    margin-bottom: 0;
}

.product-categorization-area p {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: normal;
}

.product-categorization-area p span:not(:last-child)::after {
    content: ',';
}


@media only screen and (min-width: 1024px) {
    .product-detail-grid {
        columns: 2;
    }

    .product-detail-line {
        width: 100%;
        display: inline-block;
    }

    .product-display-top {
        gap: 1rem;
        border-bottom: 3px solid #c8c8c8;
        padding-bottom: 2rem;
        margin-bottom: 1rem;
    }

    .product-display-top {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "images titles"
            "images description"
            "images buttons"
            "images categorization";
        grid-template-rows: auto 1fr auto;
        gap: 0;
    }

    .product-show-title-area {
        grid-area: titles;
    }

    .product-show-images-area {
        grid-area: images;
    }

    .product-show-description-area {
        grid-area: description;
    }

    .product-show-buttons-area {
        grid-area: buttons;
    }

    .product-categorization-area {
        grid-area: categorization;
    }
}

/* Pagination */

ul.pagination {
    list-style-type: none;
    display: block;
    margin: 1rem 0;
    text-align: center;
}

ul.pagination li {
    display: inline;

}

ul.pagination li>* {
    text-align: center;
    display: inline-block;
    min-width: 2rem;
    height: 100%;
    line-height: 1.5rem;
    color: var(--primary-500);
    text-decoration: none;
}

ul.pagination li.active>* {
    background-color: var(--primary-500);
    color: #fff;
}

ul.pagination a:hover {
    background-color: var(--primary-300);
    color: #fff;
    border-bottom: 0;
}


/*forms */
fieldset>input,
fieldset>label,
fieldset>select {
    display: block;
    width: 100%;
}


form.login-register-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1em;
}


fieldset label {
    font-weight: bold;
    margin-bottom: 0.2rem;
}

fieldset>input:required:valid {
    border-color: #393;
    background-color: white;
    background-image: url(/svg/check.svg);
    background-position: right;
    background-repeat: no-repeat;
}

fieldset>input:required:invalid {
    border-color: #933;
    background-color: white;
    background-image: url(/svg/close.svg);
    background-position: right;
    background-repeat: no-repeat;
}

fieldset>legend {
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    font-weight: bold;
}

fieldset>input[type=checkbox] {
    width: auto;
    margin-left: 0;
    margin-right: 0;
}

fieldset.flex {
    display: flex;
    gap: 1em;
}

fieldset.flex label {
    margin-bottom: 0;
}


/** Fieldset with bubble **/
div.input-container {
    position: relative;
}

fieldset.required-with-bubble>input:required:valid {
    background-image: unset;
}

fieldset.required-with-bubbled>input:required:invalid {
    background-image: unset;
}


fieldset.required-with-bubble input:required:invalid {
    border-color: #933;
}

fieldset.required-with-bubble input:required:valid {
    border-color: black;
}

fieldset.required-with-bubble div.input-container:has(input:required:valid)::after {
    content: url("/svg/check-circle.svg");
    display: inline-block;
    height: 24px;
    width: 24px;
    right: -24px;
    position: absolute;
}

fieldset.required-with-bubble div.input-container:has(input:required:invalid)::after {
    content: url("/svg/close-circle.svg");
    display: inline-block;
    height: 24px;
    width: 24px;
    right: -24px;
    position: absolute;
}

fieldset.required-with-bubble div {
    display: flex;
    gap: 0.25rem;
}

fieldset.required-with-bubble div input:required {
    flex-basis: 100%
}

select option.bold-option {
    font-weight: bold;
}

input,
select {
    border: solid 1px black;
    padding: 0.2em 0.5em;
}

form.form-button {
    display: inline-block;
}

form.form-button.centered {
    display: block;
    margin: auto;
    width: fit-content;
}

fieldset textarea {
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
    min-height: 100px;
    margin-top: 1px;
}

/*form error */
.form-error {
    margin-left: 1rem;
}

/* Navigation lists */
nav ul {
    list-style-type: none;
    display: block;
    margin: 1rem 0;
}

nav ul li {
    margin: 1rem 0;
    padding: 0.3rem 0;
    display: block;
}

nav ul li>* {
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    padding: 0.3rem 0rem;
    font-size: 0.8rem;
    line-height: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

nav ul a:hover {
    border-bottom: solid 1px var(--primary-400);
}

/* Detail Summary */
details {
    margin-top: 0.5rem;
}

summary {
    padding: 0.5rem;
    cursor: pointer;
}

summary h2 {
    display: inline;
}


/* Brand Links */
.brand-links {
    border-top: 4px solid #e8e8e8;
    padding-top: 2rem;
    text-align: center;
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: left;
}

.brand-links div {
    flex-basis: 100%;
}

.brand-links a {
    width: fit-content;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    white-space: nowrap;
}

.brand-about {
    flex-basis: 100%;
    width: 100%;
}

img.icon {
    height: 25px;
}

@media only screen and (max-width: 375px) {
    .brand-links .btn.icon-btn {
        font-size: 0.6rem;
    }
}


/*Front end editor CSS */
box picture img {
    width: inherit;
}

markdown * {
    font-family: inherit;
}

markdown p {
    line-height: 1.5rem;
}

markdown ol {
    list-style-type: decimal;
    margin-left: 1rem;
}

markdown ul {
    list-style-type: disc;
    margin-left: 1rem;
}

markdown hr {
    border: 2px solid #e8e8e8;
}

main>* {
    width: 100%;
    margin: auto;
}

picture,
picture * {
    max-width: 100%;
}

grid {
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

grid>* {
    flex: 1 0 200px;
}

box,
.fcs-box {
    display: block;
    gap: 1rem;
    position: relative;
    width: auto;
}

[style*="--aspect-ratio"]> :first-child {
    width: 100%;
}

[style*="--aspect-ratio"]>img {
    height: auto;
}

@supports (--custom: property) {
    [style*="--aspect-ratio"] {
        position: relative;
    }

    [style*="--aspect-ratio"]::before {
        position: relative !important;
        content: "";
        display: block;
        padding-bottom: calc(100% / (var(--aspect-ratio)));
    }

    [style*="--aspect-ratio"]> :first-child {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
    }
}

box>*,
.fcs-box>* {
    z-index: 1;
    /* This is a default so background-picture can be underneath it */
    position: relative;
    /* Also required to put background-picture behind */
}

markdown {
    display: block;
    padding: 0rem;
    /* A reasonable default? */
}

a.box-link {
    display: block;
}

a.box-link:hover {
    border-bottom: none;
}

a.btn.box-link:hover {
    border-bottom: 1px solid var(--primary-500);
}

/* Contact Form */
.contact-form {
    width: 90%;
    max-width: 800px;
    margin: auto;
}

.contact-form fieldset {
    margin-bottom: 0.8rem;
}

/* Slideshow */
.slideshow {
    display: flex;
    overflow-x: auto;
    width: 100%;
    gap: 0;
    -ms-scroll-snap-type: x mandatory;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    /* Internet Explorer 10+ */
    scrollbar-width: none;
    /* Firefox */
    scroll-behavior: smooth;
}

.slideshow::-webkit-scrollbar {
    display: none;
    /* Safari and Chrome */
}

.slideshow+nav {
    padding: 1rem 1rem 0 1rem;
    text-align: center;
}

.slideshow+nav a {
    display: inline-block;
    margin: 8px;
    width: 1rem;
    height: 1rem;
    background-color: #666;
    border-radius: 50%;
    color: transparent;
    outline: 0;

    -webkit-tap-highlight-color: transparent;
}

.slideshow+nav a.current {
    background-color: var(--primary, dodgerblue);
}

.slideshow>* {
    overflow: hidden;
    scroll-snap-align: start;
}

.slideshow>.product-card {
    width: 200px;
    flex: 0 0 200px;
    overflow: initial;
}

@media only screen and (max-width:600px) {
    .slideshow {
        max-height: 350px;
    }
}

/**Marquee banner on FCS**/
.marquee {
    --gap: 1rem;

    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;


    gap: var(--gap);
    user-select: none;
}

.marquee > .banner{
    width: 100%;
    min-width: 100%;
    max-width: unset;
    height: 100%;
    gap: var(--gap);

    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    
    background-color: inherit;
}

.marquee > .banner p {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
    display: block;
    white-space: nowrap;

    max-width: fit-content;
}

.marquee.play > .banner {
    animation: scroll linear infinite;
    animation-play-state: running;
    animation-duration: 45s;
}

/**
    A few extra classes for scroll direction and speed.
**/
.marquee.play.slow > .banner {
    /* Apply animation to this element */	
    animation-duration: 120s;
}

.marquee.play.fast > .banner {
    animation-duration: 25s;
}

.marquee.play.reversed > .banner {
    animation-direction: reverse;
}

.marquee:hover > .banner {
    animation-play-state: paused;
}

/* Move it (define the animation) */
@keyframes scroll {
    from{
        transform: translateX(0);
    }
    to {
        transform: translateX( calc(-100% - var(--gap) ));
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee > .banner {
        animation-play-state: paused !important;
    }
}

picture.background-picture {
    z-index: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    position: absolute;
}

picture.background-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

picture.background-picture,
picture.background-picture * {
    max-height: inherit;
}

.price-display {
    text-align: right;
    font-size: 1.1rem;
}

.price-display.alert {
    color: var(--primary-400);
    font-weight: bold;
}

.price-display.alert span {
    color: var(--primary-400);
}
.price-display.alert.mov-note {
    font-size: 0.9rem;
}

.price-display.alert b::before{
    content: "*";
}

table.cart-table input {
    max-width: 70px;
    min-width: 35px;
}

table.cart-table .cart-quantity-cell {
    width: 130px;
    position: relative;
}

table.cart-table .cart-quantity-cell:has(.cart-force-inner-note) {
    height: 95px;
}

table.cart-table .cart-force-inner-note {
    position: absolute;
    width: inherit;
    margin-top: 0.2rem;
}

table.cart-table .cart-warning {
    font-weight: bold;
    color: var(--primary-500);
}

.cart-note {
    display: block;
    margin-bottom: 2rem;
}

.cart-note fieldset {
    margin-top: 1rem;
}

.cart-note fieldset.order-number-field {
    width: max(300px, 25%);
    max-width: 100%;
}

.cart-table-container {
    /* overflow-x: auto;
    overflow-y: hidden; */
}

.cart-table thead{
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 10;
}

.cart-table td.staff-price input, .cart-table td.staff-price span {
    background-color: var(--primary-000);
    border: 1px solid var(--primary-500);
    font-weight: bold;
    color: var(--primary-500);
}

.cart-table tr:has(td.staff-price):hover {
    background-color: #DCDCDC;
}

.cart-table span.cart-price-span {
    padding: 0.5rem;
}

.cart-table-footer {
    display: flex;
    justify-content: space-between;
}

.cart-table-footer .cart-total-note {
    font-size: 0.9rem;
    flex: 1 90%;
}

.cart-table-footer .cart-totals{
    flex: 1 50%;
}

/**
    Admin cart
**/
.cart-table .conditional-green {
    background-color: #d4edda;
}

.cart-table .conditional-orange {
    background-color: #ffeb9c;
}

.cart-table .conditional-red {
    background-color: #f8d7da;
}



@media only screen and (max-width: 768px) {
    .inessential {
        display: none;
    }

    .cart-table th,
    .cart-table td {
        padding: 10px;
    }

    .slideshow+nav a {
        width: 0.5rem;
        height: 0.5rem;
        margin: 4px;
    }

    table.cart-table input {
        max-width: 40px;
    }

    .cart-table-footer {
        flex-wrap: wrap;
    }

    .cart-table-container {
        overflow-x: auto;
        overflow-y: hidden;
    }
}

.card-buttons {
    display: flex;
    justify-content: center;
}

.card-buttons add-to-cart {
    flex-basis: 100%;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    padding-bottom: 2rem;
    border-bottom: 4px solid #e8e8e8;
    align-items: center;
    column-gap: 2rem;
    row-gap: 1rem;
}

.cart-header .cart-title {
    order: 0;
    white-space: nowrap;
}

.cart-header .suboptions {
    flex-basis: 100%;
    order: 1;
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    justify-content: flex-start;
}

.cart-header .empty-cart-form {
    order: 2;
}

@media only screen and (max-width:768px) {
    .cart-header {
        flex-wrap: wrap;
    }
    .cart-header .empty-cart-form {
        order: 1;
    }

    .cart-header .suboptions {
        justify-content: space-between;
        order: 2;
    }

    .cart-header .cart-title {
        white-space: normal;
    }

    .cart-header h1 {
        font-size: 1.2rem;
    }
}

@media only screen and (max-width:300px) {
    .cart-header .suboptions a, .cart-header .suboptions form {
        flex-grow: 1;
    }

    .cart-header .suboptions form .btn {
        width: 100%;
    }

    .cart-header .suboptions {
        flex-wrap: wrap;
    }
}

/** now we need custom ordering between two states**/

.empty-cart.btn {
    display: flex;
    height: fit-content;
    white-space: nowrap;;
}

.empty-cart>* {
    height: 1rem;
}

.empty-cart span {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/** New cart things **/
.cart-order-notes {
    display: flex;
    flex-direction: column;
    max-width: 650px;
    margin: auto;
}



.options-line {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.options-line .suboptions {
    display: flex;
    gap: 2rem;
}

.options-line .suboptions .btn {
    height: fit-content;
    white-space: nowrap;
}

.options-line h1 {
    margin-top: 0;
    max-width: 650px;
}



form:has(.empty-cart.btn) {
    display: flex;
    flex-direction: column;
}

.cart-order-notes>div {
    flex-grow: 1;
}

.cart-order-notes fieldset:not(.flex) {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: inherit;
}

.order-button {
    font-size: 1rem;
    padding: 1.2rem;
    width: 300px;
}

/**Cart popup container**/
.cart-modal {
    width: 350px;
    padding: 0;
    border: 0;
}

.cart-modal .inner {
    height: fit-content;
    min-height: 300px;
    max-height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    justify-content: space-between;
}

#pre_order_check .inner:has(.confirm) {
    background-color: var(--primary-450);
}

#pre_order_check .inner:has(.default) {
    background-color: #d8d4d4;
}

.cart-modal .inner .top {
    display: flex;
    justify-content: flex-end;
}

.cart-modal .inner .top button {
    background-color: transparent;
    cursor: pointer;
    padding: 0.25rem;
}

.cart-modal .inner .body {
    flex-basis: 100%;
}

.order-confirmation-popup {
    height: 100%;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    margin-bottom: 2rem;
}

.order-confirmation-popup p {
    font-size: 1rem;
}

.order-confirmation-popup .options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 300px;
    margin: auto;
    align-items: center;
}

.order-confirmation-popup.confirm {
    background-color: var(--primary-450);
    color: white;
}

.order-confirmation-popup.default {
    background-color: #d8d4d4;
    color: black;
}

.order-confirmation-popup .btn.confirm {
    color: black;
    background-color: white;
    border-color: black;
    font-size: 0.8rem;
    width: 250px;
    padding: 0.5rem;
    text-transform: none;
    font-weight: bold;
}

.order-confirmation-popup .link {
    width: fit-content;
    margin: auto;
}

.order-confirmation-popup.confirm .link {
    color: white;
    border-color: white;
}

/* Add to cart */
add-to-cart .add-to-cart {
    position: relative;
    display: flex;
    margin: 2px;
}

add-to-cart .sr {
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

add-to-cart span {
    flex: 1;
    text-align: space-between;
}

add-to-cart label {
    width: 100%;
    border: solid 1px #ccc;
    border-radius: 0;
    flex: 1;
}

add-to-cart input {
    text-align: center;
    border: none;
    width: 100%;
    height: 100%;
}

add-to-cart button.add {
    flex: 1;
}

add-to-cart button.l {
    margin-right: -1px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

add-to-cart button.r {
    margin-left: -1px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

add-to-cart .notice,
favourite-button .notice {
    position: absolute;
    right: 0;
    top: 0;
    left: 0;
    text-align: center;
    margin-top: -2rem;
    padding: 0.25em 1.5em;
    background-color: var(--primary-400);
    color: #fff;
    min-height: 2rem;
    animation: slideup 0.2s;
    white-space: normal;
    max-width: 100%;
}

add-to-cart button.r .sr,
add-to-cart button.l .sr {
    display: none;
}


@media only screen and (min-width:768px) {

    add-to-cart button:hover .sr,
    add-to-cart button:focus .sr {
        clip: unset;
        -webkit-clip-path: unset;
        clip-path: unset;
        display: inline-block;
        height: auto;
        width: auto;
        background-color: #000;
        overflow: visible;
        color: #eee;
        padding: 0.5em 1em;
        font-size: 0.86em;
        bottom: -0.5em;
        transform: translateY(100%);
    }

    add-to-cart button.l:hover .sr,
    add-to-cart button.l:focus .sr {
        right: unset;
        left: 0;
    }

    add-to-cart button.r:hover .sr,
    add-to-cart button.r:focus .sr {
        left: unset;
        right: 0;
    }
}

.cart-table .add-to-cart {
    white-space: nowrap;
}

.cart-table .add-to-cart .sr {
    display: none;
}

.cart-table .add-to-cart label {
    text-align: center;
}

/* remove rockers */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

#cart-display {
    font-size: 0.9rem;
}

@media only screen and (max-width:425px) {

    add-to-cart button.r,
    add-to-cart button.l {
        padding: 0.3rem 0.5rem;
    }

    add-to-cart .notice,
    favourite-button .notice {
        margin-top: -2.5rem;
        font-size: 0.6rem;
        width: 100%;
    }
}

@media only screen and (max-width:325px) {

    add-to-cart button.add,
    .exclusive-tag {
        font-size: 0.6rem;
        flex-basis: unset;
    }
}

.shaker {
    animation: shake 0.25s;
    animation-iteration-count: 2;
}

@keyframes shake {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-5deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}


/*favourite-button*/
favourite-button .favourite-button {
    display: flex;
    position: relative;
    margin: 2px;
}

favourite-button button.btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    padding: 0;
}

favourite-button button.btn:hover {
    background-color: transparent;
    border: none;
}

favourite-button svg {
    max-width: 25px;
    width: 25px;
}

favourite-button span {
    flex: 1;
    text-align: center;
    display: none;
}


favourite-button p {
    color: #333;
    white-space: nowrap;
    font-size: 0.6rem;
}


@media only screen and (min-width: 425px) {

    favourite-button p {
        font-size: 0.8rem;
    }
}


@keyframes slideup {
    from {
        transform: translateY(110%);
    }

    to {
        transform: translateY(0%);
    }
}

.product-show-buttons-container {
    margin: auto;
    margin-bottom: 0;
    display: flex;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.product-show-buttons {
    margin: auto;
    margin-bottom: 0;
    display: flex;
    width: 100%;
    justify-content: center;
}

.product-show-buttons-container i {
    flex-basis: 100%;
    text-align: center;
    margin-top: 0.5rem;
}

.product-show-buttons .add-to-cart,
.product-show-buttons .exclusive-tag {
    height: 35px;
}

.product-show-buttons add-to-cart,
.product-show-buttons .exclusive-tag {
    flex-basis: 60%;
    max-width: 40%;
}

.exclusive-tag {
    flex: 1;
    margin: 2px;
    color: #fff;
    background-color: gray;
    border: gray;
    display: flex;
    justify-content: center;
    cursor: default;
    flex-direction: column;
}

.exclusive-tag:hover {
    background-color: gray;
    border: gray;
    cursor: default;
}

.exclusive-tag .btn {
    background-color: gray;
    border: none;
}

add-to-cart.exclusive-add-to-cart .btn {
    background-color: gray;
    border: solid 1px gray;
}


/*Image bank */
/*Should have made a more generic flex list */
.file-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.file-list li {
    margin-bottom: 1rem;
}

.product-grid.imagebank-grid {
    gap: 1rem;
}

.imagebank-card {
    cursor: pointer;
}

.imagebank-card p {
    line-break: anywhere;
}

.imagebank-card.selected {
    border: 1px solid var(--complementary-500);
}

.button-bar {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.flex-button-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.flex-button-bar div {
    display: flex;
    align-items: center;
}

.flex-button-bar #image_search {
    width: 220px;
    font-size: 0.9rem;
    flex-grow: 1;

}

.flex-button-bar #image_search::placeholder {
    font-style: italic;
}

#product-list {
    scroll-margin-top: 200px;
}

h1.tag-header {
    text-align: center;
    color: #666;
}

dl.user-details {
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    max-width: 500px;
    /* set the container width*/
    overflow: visible;
    width: 100%;
    border-left: solid 4px var(--primary-100);
    padding-left: 1rem;
}

dl.order-details {
    max-width: 550px;
}

dl.user-details dd,
dl.user-details dt {
    padding-bottom: 1rem;
}

dl.user-details dt {
    flex: 0 1 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    padding-right: 1rem;
}

dl.user-details dt:after {
    content: ":";
}

dl.user-details dd {
    flex: 0 1 100%;
    margin-left: auto;
    text-align: left;
    text-overflow: ellipsis;
    overflow: hidden;
}

.profile-leave-form {
    display: flex;
    margin-top: 1rem;
    font-size: 1.1rem;
}

.profile-leave-form fieldset {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.25rem
}

@media only screen and (min-width: 768px) {

    dl.user-details dt,
    dl.user-details dd {
        flex: 0 1 50%;
    }

    dl.order-details dt {
        flex: 0 1 30%;
    }

    dl.order-details dd {
        flex: 0 1 70%;
    }
}

.instagram-feed {
    display: flex;
    justify-content: space-between;
    overflow-x: auto;
    margin: auto;
    scroll-snap-type: x mandatory;
    max-width: 80%;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.instagram-feed::-webkit-scrollbar {
    display: none;
}

.instagram-feed a {
    min-width: 25%;
    width: 25%;
    display: block;
    position: relative;
    scroll-snap-align: start;
    padding: 0 0.5rem;
}

.instagram-feed a:hover {
    border: none;
}

.instagram-feed a img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.instagram-feed .post-caption {
    position: absolute;
    max-width: 100%;
    width: 100%;
    height: 100%;
    font-size: 0.6rem;
    text-align: center;
    max-width: 100ch;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 0;
}

.instagram-feed .post-caption span {
    display: none;
    word-break: break-word;
    line-height: 0.6rem;
    max-height: 100%;
    overflow: hidden;
}

.instagram-feed .post-caption:hover {
    background-color: #646466;
    opacity: 0.8;
}

.instagram-feed .post-caption:hover span {
    color: #f1f1f1;
    display: block;
}


@media only screen and (min-width: 1024px) {
    .instagram-feed .post-caption {
        font-size: 1.5rem;
    }

    .instagram-feed .post-caption span {
        line-height: 1.5rem;
        padding: 1rem;
    }
}


/** Homepage news-item list **/
.latest-news-container {
    text-align: center;
}
.news-item-list {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin: auto;
    justify-content: space-between;
    margin-bottom: 2rem;
    margin-top: 2rem;
    max-width: 80%;
}

li:has(.news-card) {
    flex-basis: 450px;
}

.news-item-list .news-card a.image-inner{
    max-height: 450px;
    display: block;
    aspect-ratio: 8 / 7;
}

.news-item-list .news-card a.image-inner:hover{
    border-bottom: none;
}

.news-item-list .news-card a.image-inner img {
    display: block;
    max-height: inherit;
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.news-item-list .news-card h2 {
    font-family: 'Noto Serif';
    font-weight: normal;
    line-height: 1.1em;
}

.news-item-list .news-card .card-details {
    display: flex;
    justify-content: space-between;
    color: #808080;
    margin-top: 1rem;
    font-size: 1rem;
    text-align: left;
}

.news-item-list .news-card .card-lower {
    text-align: left;
}

.news-item-list .news-card .action-link:hover {
    color: var(--primary-700);
}

.news-item-list .news-card .action-link {
    text-transform: uppercase;
    border-bottom: 1px solid;
    font-weight: bold;
    color: #222;
}

@media only screen and (min-width: 768px) {
    .news-item-list {
        flex-wrap: nowrap;
    }
}

/*No select class*/
.noSelect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.grecaptcha-badge {
    z-index: 10;
}


div.bordered-box {
    border: 1px solid black;
    padding: 0.3rem;
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1.1rem;
}

a.email-link {
    color: var(--primary-500);
}

.alert-box {

    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    border: 1px solid transparent;
    border-radius: .25rem;
    padding: .75rem 1.25rem;
}

.alert-box.success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    font-size: 0.9rem;
}


.imagebank-landing-container,
.imagebank-landing-container div {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.imagebank-landing-container p {
    text-align: center;
    color: #4d4d4d;
}

.imagebank-landing-container div.row-flex-container {
    flex-direction: row;
    ;
    padding: 1rem;
}

.imagebank-landing-container div {
    margin-top: 1rem;
}

.imagebank-landing-container div:first-child {
    margin-top: 0;
}

.imagebank-landing-container div.limited-width {
    max-width: 600px;
}


/**
*   Downloads flex options
*/
.flex-wrap-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.flex-wrap-container.downloads-bar {
    margin-bottom: 4rem;
    margin-top: 4rem;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.downloads-bar a img {
    max-height: 150px;
    width: auto;
}

.downloads-bar a {
    display: block;
    text-decoration: none;
    border: none;
}

.downloads-bar p {
    font-size: 1rem;
    text-align: center;
    text-decoration: underline;
}

.downloads-bar p:hover {
    color: var(--primary-500)
}

@media only screen and (min-width: 768px) {
    .flex-wrap-container {
        justify-content: space-evenly;
    }
}

.column-flex-container {
    display: flex;
    flex-direction: column;
}

.column-flex-container .btn {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    padding: 1rem;
    font-size: 1rem;
}

.downloads-header img {
    max-width: 300px;
}

.downloads-header .img-link:hover {
    border: 0px transparent;
}

.downloads-header a.btn {
    font-size: 0.95rem;
}

.catalogue-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-evenly;
    border-bottom: 4px solid #e8e8e8;
    padding-bottom: 2rem;
}

.catalogue-container:last-child {
    border-bottom: 0px;
}

.catalogue-container a {
    flex-basis: 200px;
    position: relative;
}

.catalogue-container a .catalog-card-text {
    display: none;
}

.catalogue-container a .catalog-card-text p {
    margin-top: 0;
    margin-bottom: 0.5rem;
    width: 100%;
}


.catalogue-container a:hover .catalog-card-text {
    position: absolute;
    max-width: 100%;
    width: 100%;
    height: 100%;
    font-size: 1.5rem;
    text-align: center;
    max-width: 100ch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    left: 0;
    color: #fff;
    background-color: rgb(168, 168, 168, 0.7);
    flex-wrap: wrap;
}


.catalogue-container a:hover {
    border-bottom: 0px;
}

.catalogue-container a img {
    max-width: 100%;
}

.catalogue-container-header {
    color: #787878;

}

.catalogue-container.manuals {
    flex-basis: 100%;
    margin-top: 1rem;
    justify-content: space-between;
    border-bottom: none;
}

.manual-home-container {
    width: 100%;
}

/**
    Price list cards
**/
.catalogue-container.pricelist-container .pricelist-card {
    display: flex;
    flex-direction: column;
    position: relative;
    flex-basis: 200px;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.pricelist-card .download-links {
    display: flex;
}

.pricelist-card .download-links a {
    color: #D0342C;
    white-space: nowrap;
    display: flex;
    align-items: center;
    font-size: 0.7rem;
}

.pricelist-card .download-links a:hover {
    color: var(--primary-800);
}


@media only screen and (min-width: 496px) {
    .catalogue-container {
        justify-content: flex-start;
    }

    .catalogue-container.manuals {
        margin-top: 0;
        justify-content: flex-start;
        gap: 1rem;
    }

}

.table-row-form input {
    width: 80px;
}

div.news_item_container {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 4px solid #e8e8e8;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

div.news_item_container:last-child {
    border-bottom: none;
}


.btn.news-button {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
    gap: 0.5rem;
    line-height: 1rem;
}

@media only screen and (max-width:768px) {
    div.news_item_container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

.blog-title {
    margin: auto;
    width: fit-content;
    text-align: center;
}

.blog-title h1 {
    font-family: 'Noto Serif';
    font-weight: normal;
    font-size: 2.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.blog-title .date {
    font-family: 'Noto Serif';
    font-weight: normal;
    font-style: italic;
    font-size: 1rem;
}

.blog-title .brand {
    font-weight: normal;
}

/**Stockist info**/
.stockist-grid {
    display: flex;
    flex-wrap: wrap;
}

.stockist-card {
    text-align: center;
    flex-basis: 100%;
    padding: 0.25rem;
    margin-top: 1rem;
}

.stockist-card a {
    text-decoration: underline;
}

.stockist-container .stockist-note {
    text-align: center;
    color: gray;
}

.stockist-container {
    border-top: 4px solid #e8e8e8;
    margin-bottom: 1rem;
}

.stockist-container summary {
    display: flex;
    border-bottom: 2px solid black;
    justify-content: space-between;
}

.stockist-container details summary::after {
    content: '+';
    font-size: 1.2rem;
}

.stockist-container details[open] summary::after {
    content: '-';
    font-size: 1.2rem;
}

.stockist-container summary h3 {
    margin: 0;
    text-transform: uppercase;
}

@media only screen and (min-width:768px) {
    .stockist-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 1rem;
        margin-top: 1rem;
    }

    .stockist-card {
        text-align: center;
        flex-basis: 50%;
        padding: 0.1rem;
        margin-top: 0rem;
    }
}

.manual-title {
    flex-basis: 100%;
    border-bottom: 4px solid #e8e8e8;
    line-height: 1rem;
    padding-bottom: 1rem;
    margin-top: 0.5rem;
    font-size: 1.2rem;
    font-weight: 400;
}

.manual-title-container {
    flex-basis: 100%;
}

.manual-card {
    position: relative;
    flex-basis: 220px;
    display: flex;
    flex-direction: column;
    justify-content: end;
}


.manual-card b,
.video-card b {
    display: block;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    line-break: anywhere;
}

.manual-card .card-link {
    position: unset;
    display: flex;
    flex-grow: 1;
    align-items: center;
    border: 1px solid transparent;
}

.manual-card .download-link,
.video-card .download-link {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    color: #D0342C;
}

.manual-card .download-link {
    flex-basis: unset;
}

.manual-card .download-link:hover,
.video-card .download-link:hover {
    color: var(--primary-800)
}

.manual-card .card-link:hover {
    border: 1px solid #288A16;
}


.catalogue-container.videos {
    width: 100%;
    border-bottom: none;
}

.video-card {
    flex-basis: 300px;
}

.video-card .card-link {
    display: flex;
    flex-direction: column;
    max-height: 350px;
}

.video-card.no-select {
    cursor: default;
}

.video-card img {
    border: 1px solid transparent;
    max-height: inherit;
    object-fit: cover;
}

.video-card img:hover {
    border: 1px solid #288A16;
}

.video-card.no-select img:hover {
    border: 1px solid transparent;
}


/**
* Form for editing user data. 
**/
form.address-form,
.address-form .billing-address,
.address-form .shipping-address {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

form.address-form .multi-input,
.cart-address-form.address-form .multi-input {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
}

form.address-form .multi-input div.stacked-input,
.cart-address-form.address-form div.stacked-input {
    display: flex;
    flex-direction: column;
    flex: 1;
}

form.address-form .multi-input div.stacked-input input,
.cart-address-form.address-form div.stacked-input input {
    margin: 0;
}

.cart-address-form.address-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    column-gap: 2rem;
}

.cart-address-form.address-form .shipping-toggle {
    flex-basis: 100%;
    font-size: 1rem;
    font-weight: bold;
    display: flex;
}

.cart-address-form.address-form .shipping-toggle .half-width {
    flex-basis: 50%;
    padding: 1rem;
}

.cart-address-form.address-form .shipping-toggle .toggle-box {
    background-color: var(--primary-450);
    color: #fff;
}

.cart-address-form.address-form .shipping-toggle .toggle-box input[type=checkbox] {
    transform: scale(1.5);
}

.cart-address-form.address-form .shipping-toggle input,
.cart-address-form.address-form .shipping-toggle label {
    cursor: pointer;
}


.cart-address-form.address-form .billing-address,
.cart-address-form.address-form .shipping-address {
    flex-grow: 1;
    max-width: 600px;
}


.order-details-container {
    display: flex;
    flex-wrap: wrap;
}

.amendment-note {
    color: var(--primary-500);
    font-weight: bold;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

tr.removed-line {
    background-color: var(--primary-100);
}