:root {
  --main-bg: #41aa19;
  --white: #ffffff;
  --size: 0.3rem;
}

.lds-spinner {
    color: official;
    display: inline-block;
    width: 80px;
    height: 80px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 0;
    right: 0
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.overflow-hidden {
    overflow: hidden;
}
 
#loading-backdrop {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: #00000035;
    visibility: hidden
}

#loading-backdrop.active {
    visibility: visible
}

.lds-spinner div {
    transform-origin: 40px 40px;
    animation: lds-spinner 1.2s linear infinite
}

.lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3px;
    left: 37px;
    width: 6px;
    height: 18px;
    border-radius: 20%;
    background: #000
}

.lds-spinner div:nth-child(1) {
    transform: rotate(0);
    animation-delay: -1.1s
}

.lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s
}

.lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -.9s
}

.lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -.8s
}

.lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -.7s
}

.lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -.6s
}

.lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -.5s
}

.lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -.4s
}

.lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -.3s
}

.lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -.2s
}

.lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -.1s
}

.lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s
}

@keyframes lds-spinner {
    0% {
        opacity: 1
    }

    100% {
        opacity: 0
    }
}

button {
    color: #fff;
    padding: 10px 20px;
    width: 100%;
    display: block;
    min-width: max-content;
    font-size: 20px;
    border-width: 2px;
    border-style: solid;
    border-color: transparent;
    border-radius: 3px;
	transition: .2s all;
    background: var(--main-bg);
    cursor: pointer;
}

button:disabled {
    opacity: 0.6;
    pointer-events: none;
}

.in-stock {
	color: rgb(0, 175, 0);
}

.out-of-stock {
	color: red;
}

/* .orderable {
    color: #f1a600;
} */

button:hover {
    background-color: #3b9818;
}

html {
    scroll-behavior: smooth;
}

input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

input {
    width: 100%;
    border: 1px solid #afafaf;
}

input[type=text]:read-only {
    cursor: not-allowed;
    color: #a3a3a3;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-headline {
    background: var(--main-bg);
}

.page-headline h2 {
    color: var(--white);
    font-weight: 500;
}

section.section,
main {
    flex: 1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

body {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

ul,
ol {
    list-style: none;
}

.cms-content ul {
    list-style: disc;
    list-style-position: inside;
}

.cms-content ol {
    list-style: decimal;
    list-style-position: inside;
}

.cms-content a {
    color: #007bff;
    text-decoration: none;
}

.cms-content a:hover {
    color: #0056b3;
    text-decoration: underline;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.container {
	max-width: 1320px;
	margin: 0 auto;
	padding: 25px;
}

/* .pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#pagination-form {
    margin: 70px 0 35px;
}

#next-pagination-button,
#previous-pagination-button {
    height: 30px;
    padding: 0;
    width: 100%;
    max-width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    pointer-events: unset;
}

#show {
    width: fit-content;
    font-size: 1rem;
    padding: 3px 10px;
} */

.products-count {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    font-size: .8rem;
    flex-direction: row;
}

.pagination select {
    font-size: 0.75rem;
}

.pagination {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0;
    gap: 15px;
}

.products-count--hidden {
    visibility: hidden;
}

@media(min-width: 992px) {
    .pagination {
        flex-flow: row nowrap;
        align-items: flex-start;
    }
}

.pagination__form {
    display: flex;
    flex-flow: row nowrap;
    align-content: flex-start;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    margin-top: 0;
}

.pagination__pages {
    display: flex;
    flex-flow: row wrap;
    gap: 7px;
    align-content: flex-start;
    justify-content: center;
    align-items: flex-start;
}

.pagination__button {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0px;
    /* border: 1px solid var(--color-bg-primary-inverted); */
    background: #fff;
    color: #000;
    width: 30px;
    min-width: 30px;
    height: 30px;
    min-height: 30px;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    border: 1px solid #afafaf;
}

.pagination__button:hover,
.pagination__button:active,
.pagination__button:focus {
    background-color: var(--main-bg);
    border-color: var(--main-bg);
    transition: all 0.3s ease-out;
    color: #fff;
}

.pagination__button svg path {
    stroke: #000;
}

.pagination__button:hover svg path {
    stroke: #fff;
}

.button--active {
    background-color: var(--main-bg);
    color: #fff;
    border-color: var(--main-bg);
}

#select,
select {
    padding: 5px 10px;
    height: 30px;
    border: 1px solid #afafaf;
    background: unset;
    color: #000;
    min-width: 56px;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    padding-right: 20px;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23131313%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right .3rem top 50%;
    background-size: 0.5rem;
}

.hidden {
    display: none;
}

@media(max-width:768px) {
    .container {
        padding: 16px;
    }
}

@media(max-width:500px) {
    .container {
        padding: 8px;
    }

    button {
        padding: 10px 10px;
        font-size: .9rem;
    }

    body {
        font-size: .8rem;
    }

    .mobile {
        display: block;
    }

    .desktop {
        display: none !important;
    }

    .page-headline {
        background: var(--white);
        margin-top: 20px;
    }

    .page-headline h2 {
        color: var(--main-bg);
        text-align: center;
    }
}

@media(min-width:500px) {
    .mobile {
        display: none !important;
    }
}

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;
}

.ml-10 {
    margin-left: 10px;
}

.fw-700 {
    font-weight: 700;
}

.el-hidden {
    visibility: hidden;
}

.dp-block {
    display: block;
}

.dp-none {
    display: none;
}

.fw-500 {
    font-weight: 500;
}