:root {
    --font-family-base: 'Open Sans', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.5;
    --color-secondary: #6c757d;
    --color-bg: #ffffff;
    --color-text: #212529;
    --color-muted: #6c757d;
}
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    background-color: var(--color-bg);
    color: var(--color-text);
}
main {
    /* main - nav - footer */
    min-height: calc(100vh - 71px - 262px);
}
a {
    text-decoration: initial;
    color: initial;
}
button {
    cursor: pointer;
    background: transparent;
    border: initial;
    outline: initial;
}
input, textarea {
    font-family: var(--font-family-base);
    background: transparent;
    border: initial;
    outline: initial;
}
.container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}
@media (min-width: 1536px) {
    .container.extended {
        max-width: 1536px;
    }
}

/* NAVBAR */
header {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 2;
}
#navbar {
    border-bottom: 1px solid #ececec;
    height: 72px;
}
#navbar > .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.nav-logo {
    height: 56px;
    min-width: 190px;
}
.nav-logo > img {
    max-height: 100%;
}
nav > a, #nav-menu-trigger i{
    font-size: 18px;
    padding: 18px 8px;
    font-weight: 600;
    color: #00296b;
}
#nav-menu-trigger i {
    font-size: 28px;
    color: #00296b;
}
.nav-buttons {
    display: flex;
    height: 100%;
    align-items: center;
    gap: 16px;
    min-width: 190px;
}
.nav-buttons i {
    font-size: 22px;
    color: var(--color-text);
}
#nav-buttons-cart {
    position: relative;
}
#nav-buttons-cart span {
    background-color: var(--color-primary);
    color: #fff;
    position: absolute;
    padding-right: 1px;
    font-size: 13px;
    height: 17px;
    min-width: 16px;
    top: -12px;
    text-align: center;
    right: -7px;
    border-radius: 8px;
    line-height: 1.3;
    font-weight: 600;
}
/* PAGE TITLE */
.page-title {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-image: url("../images/page-title-background.png");
    padding-top: 10rem;
    padding-bottom: 10rem;
}
.page-title > h2 {
    font-size: 36px;
}
.page-title a:hover {
    text-decoration: underline;
}
.page-title span {
    cursor: pointer;
}
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance:textfield;
}
#preloader{
    top: 0;
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
@-webkit-keyframes rotate {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}
#preloader > div{
    width: 40px;
    height: 40px;
    border:solid 4px var(--color-primary);
    border-radius: 50%;
    border-right-color: transparent;
    border-bottom-color: transparent;
    -webkit-transition: all 0.5s ease-in;
    -webkit-animation-name:            rotate;
    -webkit-animation-duration:        1.0s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;

    transition: all 0.5s ease-in;
    animation-name:            rotate;
    animation-duration:        1.0s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
footer {
    background-color: #00296b;
    color: #ffffff;
    font-size: 14px;
}
footer > .container {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 48px 0px;
}
footer .about img {
    filter: brightness(0) invert(1);
    height: 36px;
}
footer .about p {
    color: #fff9;
    margin-top: 12px;
}
.footer-bottom {
    text-align: center;
    padding: 12px;
}
footer > .container > div{
    width: 30%;
}
footer .social-links, footer .info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
footer a > i{
    min-width: 24px;
    text-align: center;
    font-size: 19px;
}
footer h4{
    color: #c8c8c8;
}
footer a {
    color: inherit;
}
#main-search-window {
    top: 0;
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%23000' d='M20 1l-1-1-9 9-9-9-1 1 9 9-9 9 1 1 9-9 9 9 1-1-9-9'/%3E%3C/svg%3E"),pointer;
}
.input-container {
    cursor: text;
    background-color: #f1f1f1;
    border-radius: 50px;
    display: flex;
    width: 90%;
    max-width: 800px;
}
.input-container input {
    color: #6b7280;
    flex: 1;
    padding: 10px 40px;
    font-size: 24px;
    height: 60px;
}
.input-container button {
    width: 60px;
    height: 60px;
    color: #6b7280;
    font-size: 24px;
}
.snackbar {
    z-index: 9999;
    display: flex;
    align-items: center;
    position: fixed;
    bottom: -48px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    color: #fff;
    padding: 4px 14px;
    border-radius: 3px;
    min-height: 48px;
    min-width: 240px;
    max-width: 600px;
    transition: all 200ms ease-in-out;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}
.snackbar:has(.fa-circle-exclamation){
    background-color: #1C1A27;
}
.snackbar:has(.fa-triangle-exclamation){
    background-color: #FB8D1A;
}
.snackbar:has(.fa-circle-xmark){
    background-color: #c90000;
}
.snackbar:has(.fa-circle-check){
    background-color: #0aa332;
}
.snackbar.active {
    bottom: 8px;
}
.snackbar i {
    margin-right: 8px;
    font-size: 22px;
}
#not-found {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 75vh;
}
#not-found h1 {
    font-size: 56px;
    line-height: 56px;
    margin-bottom: 16px;
    text-align: center;
}
#not-found b {
    color: var(--color-primary);
}
#not-found span {
    font-weight: 500;
    color: var(--color-muted);
    margin-bottom: 32px;
    font-size: 18px;
    text-align: center;
}
#not-found a {
    background-color: var(--color-primary);
    color: #fff;
    font-weight: 600;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 4px;
}
#not-found a:hover {
    opacity: 0.8;
}
#nav-menu-trigger {
    display: none;
}

/* --- CSS RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-buttons {
        min-width: auto;
    }
    #nav-menu-trigger {
        display: block;
    }
    .container nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 100;
    }
    .container nav a {
        padding: 1rem;
        border-bottom: 1px solid #eee;
        text-align: center;
        display: block;
    }
    .page-title {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    footer > .container {
        flex-direction: column;
        gap: 24px;
        padding: 24px 0px;
    }
    footer > .container > div {
        width: 100%;
        padding: 0px 24px;
    }
    footer .social-links, footer .info {
        gap: 12px;
    }
}

.text-underline {
    background-image: url(../images/underline.svg);
    background-position: 50% 100%;
    background-repeat: no-repeat;
    background-size: 165px;
    background-attachment: scroll;
    margin-top: -8px;
    margin-bottom: -8px;
    padding-top: 8px;
    padding-bottom: 8px;
    font-family: Plusjakartasans, sans-serif;
    display: inline-block;
}