@import '/assets/theme-03/element.css';
@import '/assets/theme-03/new-items.css';
@import '/assets/theme-03/products-search.css';

@import '/assets/theme-03/tablet.css'(min-width: 768px);
@import '/assets/theme-03/laptop.css'(min-width: 1024px);

/* temp styles, ease of development */
header,
#home-splash {}

/* perm styles */

:root {
    --color-blue-dark: #12151c;
    --color-blue-med: #27354E;
    --color-blue-light: #415880;
    --color-blue-button-bg: #aebdd8;
    --color-red-med: #701404;
    --color-white-default: #fff;
}

#nav-hamburger {
    position: absolute;
    right: 0;
}

#nav-hamburger svg {
    color: var(--color-white-default);
    width: 30px;
    height: 30px;
}

.section-dark {
    background: var(--color-blue-med);
}

.section-dark,
.section-light {
    border-bottom: 1px solid var(--color-red-med);
}

.grid-cols-2 {
    text-align: center;
}

.content-block {
    padding: 32px;
    border-bottom: 1px solid var(--color-red-med);
}

.content-block:last-child {
    border: 0;
}

.content-block:has(.content-dark) {
    color: var(--color-white-default);
    background-color: var(--color-blue-med);
}

.ds-ajax-form {
    background-color: #fff;
    border: 1px solid var(--color-blue-light);
}

/* spinner https://loading.io/css/ */
/*
<div class="lds-facebook"><div></div><div></div><div></div></div>
*/
.lds-facebook,
.lds-facebook div {
    box-sizing: border-box;
}

.lds-facebook {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-facebook div {
    display: inline-block;
    position: absolute;
    left: 8px;
    width: 16px;
    /* change color */
    background: currentColor;
    animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

.lds-facebook div:nth-child(1) {
    left: 8px;
    animation-delay: -0.24s;
}

.lds-facebook div:nth-child(2) {
    left: 32px;
    animation-delay: -0.12s;
}

.lds-facebook div:nth-child(3) {
    left: 56px;
    animation-delay: 0s;
}

.product-details {
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    padding: 24px;
    background-color: #fff;
    border: 2px solid var(--color-blue-dark);
    border-radius: 12px;
    max-height: 90%;
    width: 90%;
    overflow: auto;
}

.product-details-controls {
    display: grid;
    grid-template-columns: auto auto;
    gap: 12px;
    margin-top: 12px;
}

.product-details-controls>div:last-child {
    text-align: right;
}

.product-details-image {
    margin-bottom: 12px;
}

@keyframes lds-facebook {
    0% {
        top: 8px;
        height: 64px;
    }

    50%,
    100% {
        top: 24px;
        height: 32px;
    }
}