/*#region boilerplate*/
h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/*#endregion*/

/* Fonts
.dm-serif-display-regular {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-style: normal;
}

.dm-serif-display-regular-italic {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-style: italic;
}

.windsong-regular {
  font-family: "WindSong", cursive;
  font-weight: 400;
  font-style: normal;
}

.windsong-medium {
  font-family: "WindSong", cursive;
  font-weight: 500;
  font-style: normal;
}

.playfair-display-<uniquifier> {
                       font-family: "Playfair Display", serif;
                       font-optical-sizing: auto;
                       font-weight: <weight>;
                       font-style: normal;
                   }
 */
/*#region global*/
:root{
    --nav-height: 3rem;
}

html, body {
    font-family: "EB Garamond", serif;
    font-weight: 400;
}

html, body {
    width:100%;
    height: 100%;
}

body {
    background: var(--white);
    color: var(--black);
    margin : 0;
}

body::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

.main-content {
    min-height: calc(100vh - 15rem);
}

h1 {
    font-size: 5rem;
    margin: 0;
}

h3 {
    margin: 0;
}

.btn {
    border: none;
    background-color: var(--black);
    color: var(--white);
    font-family: "EB Garamond", serif;
    font-weight: bold;
    cursor: pointer;
    padding: 10px;
    border-radius: var(--radius-small);
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    :root {

    }
    main {
        display:block;
    }
}

@media (max-width: 768px) {
    :root {

    }
}

@media (max-width: 480px) {
    :root {

    }
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}
/*#endregion*/
/*#region elements*/
hr {
    width: 100%;
}
/*#endregion*/
/*#region nav*/
.nav-container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    box-sizing: border-box;
}

nav {
    font-family: "DM Serif Display", serif;
    font-weight: 400;
    font-style: normal;
    display: flex;
    flex-direction: row;
    padding: calc(var(--spacing) / 2) ;
    height: 5rem;
    box-sizing: border-box;
}

.nav-left {
    justify-content: start;
    font-size: 1.3rem;
}

.nav-right {
    justify-content: end;
}

.nav-middle{
    justify-content: center;
    width: 35rem;
    min-width: 20rem;
    max-width: 100%;
}

.nav-link {
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.nav-link-home {
    font-family: "WindSong", cursive;
    font-size: 2rem;
    line-height: 2rem;
}

.nav-left > .nav-link
{
    padding: 0.5rem 0;
    margin-right: 3rem;
    text-align: center;
}

.nav-link:hover:not(.nav-link-home)
{
    transition: ease-in-out 200ms;
    text-decoration: underline;
}

.active-nav-link
{
    border-bottom: 1px solid;
}

.nav-svg-container > svg {
    height: 1.3rem;
    fill: var(--black);
    transition: ease-in-out 200ms;
}

.nav-svg-container {
    min-width: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    cursor: pointer;
}

.nav-btn {
    border: none;
    background-color: var(--black);
    color: var(--white) !important;
    text-align: center;
    cursor: pointer;
    border-radius: var(--radius);
    transition: ease-in-out 200ms;
    font-family: "Playfair Display", serif;
    font-weight: 400;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.nav-menu-wrapper {
    display: flex;
    align-items: center;
}

.nav-menu-wrapper:hover > .nav-menu-btn{
    color: var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}

.nav-menu-wrapper:hover > .nav-menu-btn > svg{
    fill: var(--primary-color);
}

.nav-menu-btn {
    transition: ease-in-out 200ms;
}

.nav-menu-btn > svg {
    height: 1.3rem;
    fill: var(--black);
    transition: ease-in-out 200ms;
}

.nav-menu {
    display: none;
    position: absolute;
    background-color: var(--white);
    z-index: 2;
    padding: var(--spacing);
    box-shadow: rgba(0, 0, 0, 0.1) 0 4px 24px;
    transition: ease-in-out 200ms;
    border-radius: var(--radius-small);
    top: 4rem;
    gap: 1rem;
}

.nav-menu-offset-left{
    transform: translate(-65%, 0);
}

.nav-menu-wrapper:hover > .nav-menu {
    display: flex;
    flex-direction: column;
}

.nav-menu-category-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-menu-wrapper:hover > .nav-menu-categories{
    display: flex;
    flex-direction: row;
    gap: 3rem;
}

.nav-menu-category {
    font-family: "EB Garamond", serif;
    display: flex;
    flex-direction: column;
}

.nav-menu-item {
    width: max-content;
    margin-right: 0;
    font-weight: bold;
}

.nav-menu-sub-item{
    font-size: 1.1rem;
}

.nav-search-container{
    display: grid;
    grid-template-columns: 1fr 3rem;
    width: 100%;
}

.nav-search-input {
    background-color: transparent;
    height: 100%;
    box-sizing: border-box;
    padding: 5px 15px;
    border-color: var(--light);
    border-style: solid;
    border-width: 1px 0 1px 1px;
    border-radius: var(--radius-small) 0 0 var(--radius-small);
}

.nav-search-input:focus-visible{
    outline: none;
}

.nav-search-btn {
    height: 100%;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    background-color: var(--white);
    border-width: 1px 1px 1px 0;
    border-style: solid;
    border-color: var(--light);
    cursor: pointer;
    border-radius: 0 var(--radius-small) var(--radius-small) 0;
}

/*#region mobile*/
.nav-container-mobile{
    display: none;
}

.icon-menu-container {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.icon-menu {
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.icon-menu > path {
    fill: var(--black);
}

/*#endregion*/
@media (max-width: 1200px) {
}

@media (max-width: 840px) {
    .nav-container{
        display: none;
    }
    .nav-container-mobile {
        display: flex;
    }
}
/*#endregion*/
/*#region plp*/
.plp{
    display: grid;
    gap: 2rem;
    grid-template-columns: 15rem auto;
    padding: 2rem;
}

.plp-filters {
    display: grid;
    grid-template-columns: 1fr;
    height: fit-content;
    row-gap: var(--spacing);
    box-sizing: border-box;
    position: sticky;
    top: 0;
}

.plp-product-container{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.plp-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    justify-content: space-evenly;
    justify-items: center;
    column-gap: var(--spacing);
    row-gap: calc(var(--spacing) * 2);
    box-sizing: border-box;
}


.plp-filter-input-group{
    display: grid;
    grid-template-columns: 1fr;
    max-width: 25rem;
    gap: var(--spacing-small);
}

select.plp-filter-input {
    border: 1px solid var(--light);
    border-radius: var(--radius-small);
    padding: 5px;
    background-color: transparent;
}

.pdp-info-tabs{
    display: grid;
    grid-template-columns: 1fr;
    row-gap: var(--spacing);
}

.pdp-info-tab-title{
    font-weight: bold;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.pdp-info-tab-content{
    
}

@media (max-width: 980px) {
    .plp{
        grid-template-columns: 1fr;
    }
    .plp-products{
        grid-column: 1;
    }
    .plp-filters{
        position: relative;
    }
}
@media (max-width: 720px) {
    .plp{
        grid-template-columns: 1fr;
    }
    .plp-products{
        grid-column: 1;
    }
    .plp-filters{
        position: relative;
    }
}
/*#endregion*/
/*#region basket*/
.basket-empty {
    margin: 10rem auto 0 auto;
    width: 50%;
    text-align: center;
    font-size: 1.5rem;
}

.basket-empty > .btn {
    font-size: 1.5rem;
    padding: 1rem 2rem;
}

.basket-page{
    display: grid;
    gap: var(--spacing);
    grid-template-columns: auto 25rem;
    padding: var(--spacing);
    align-items: start;
    
}

.basket{
    grid-column: 1;
    padding: 1rem;
}

.basket-header {
    font-weight: bold;
}

.basket-line-template{
    display: grid;
    grid-template-columns: 10rem auto 3rem 6rem 10rem 7rem;
    gap: 2rem;
    align-items: center;
    justify-items: center;
    text-align: center;
}

.basket-line{
    height: calc(8rem + 2 * var(--spacing-small));
}

.basket-line:not(:last-child){
    margin-bottom: 1rem;
}

.basket-line-img {
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    max-height: 10rem;
    justify-self: left;
}

.basket-line-product{
    width: 100%;
    text-align: left;
}

.basket-line-sum{
    width: 100%;
    text-align: right;
}

.basket-line-action {
    display: grid;
    grid-template-columns: repeat(3, 3rem);
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
    margin: auto;
}

.basket-line-action > input {
    text-align: center;
    aspect-ratio: 1 / 1;
}

.adjust-quantity-btn {
    aspect-ratio: 1 / 1;
    border: none;
    color: var(--white);
    background-color: var(--secondary-color);
    cursor: pointer;
}

.basket-summary-btn {
    width: 100%;
    background-color: var(--secondary-color);
    text-align: center;
    padding: 0.5rem;
    border: none;
    color: var(--white);
    cursor: pointer;
}

.basket-summary-row {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.basket-summary-row:last-of-type {
    padding-top: 1rem;
    border-top: solid 1px var(--light);
}

@media (max-width: 1440px) {
    .basket-line-template{
        grid-template-columns: 10rem auto 10rem 6rem;
        gap: 1rem;
    }
    .responsive-hide-small {
        display: none;
    }
    .responsive-hide-smaller {
        display: none;
    }
}
@media (max-width: 1200px) {
    .basket-page{
        grid-template-columns: 100%;
    }
    .basket{
        grid-row: 2;
    }
    .basket-summary{
        grid-row: 1;
        grid-column: 1;
    }
    .basket-line-template{
        grid-template-columns: 10rem auto 3rem 6rem 10rem 7rem;
    }
    .responsive-hide-small {
        display: block;
    }
    .responsive-hide-smaller {
        display: block;
    }
}
@media (max-width: 960px) {
    .basket-line-template{
        grid-template-columns: 10rem auto 10rem 7rem;
    }
    .responsive-hide-smaller {
        display: none;
    }
    .responsive-hide-small {
        display: none;
    }
}
@media (max-width: 720px) {
    .basket-page {
        font-size: 1rem;
        padding: 0;
    }
    .basket-line-template{
        grid-template-columns: 10rem auto 5rem 7rem;
    }
}

/*#endregion*/
/*#region checkout*/
.checkout-page{
    max-width: 45rem;
    margin: auto;
    display: grid;
    grid-template-columns: 30rem 25rem;
    column-gap: var(--spacing);
}

.checkout-title{
}

.checkout-title > h1{
    font-size: 3rem;
    text-align: center;
    margin-bottom: var(--spacing);
}

.input-section{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: var(--spacing);
}

@media (max-width: 1200px) {
    .checkout-page{
        grid-template-columns: 100%;
        row-gap: var(--spacing);
    }
}
@media (max-width: 720px) {
    .input-section {
        padding: 0 var(--spacing);
    }
}
/*#endregion*/
/*#region account*/
.account-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0 var(--spacing);
    align-items: center;
}

.account-container-single-col{
    display: grid;
    grid-template-columns: 1fr;
    padding: 0 var(--spacing);
    align-items: center;
}

.account-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing);
    width: 100%;
    max-width: 30rem;
    padding: var(--spacing);
}

.account-container > h1 {
    text-align: center;
}

@media (max-width: 1200px) {
    .account-container {
        grid-template-columns: 1fr;
        justify-items: center;
    }
}
/*#endregion*/
/*#region pdp*/
.product-detail-page{
    display: grid;
    padding: var(--spacing) calc(2 * var(--spacing));
    grid-template-columns: 1fr 30rem;
    gap: var(--spacing);
    max-width: 75rem;
    margin: auto;
    --image-grid-gap: 0.5rem;
    --image-radius: 0px;
}

.gallery-cell > img {
    width: 100%;
}

.pdp-images{
    display: grid;
    grid-column: 1;
    grid-template-columns: 100%;
    width: 100%;
    grid-gap: var(--image-grid-gap);
    box-sizing: border-box;
}

.pdp-primary-image{
    grid-row: 1;
    grid-column: span 2;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: var(--radius-small);
    background-color: var(--lighter);
}

.pdp-title{
    grid-column: 1;
}

.pdp-details{
    grid-column: 1;
}

.pdp-config{
    grid-column: 2;
    grid-row: 1;
    background-color: var(--white);
    color: var(--black);
    height: fit-content;
    padding: var(--spacing);
    border-radius: var(--banner-radius);
}

.pdp-title > h1 {
    font-weight: lighter;
    font-size: 3rem;
}

.pdp-title > h2 {
    font-style: italic;
    font-weight: lighter;
    font-family: "Roboto Light", serif;
}

.pdp-price {
}

.pdp-price > h2 {
    font-size: 2rem;
    font-weight: normal;
    margin: 0;
}

.pdp-config > *:not(:first-child) {
    margin-top: var(--spacing);
}

.pdp-variant-selector{
    display: grid;
    grid-template-columns: repeat(auto-fit, 6rem);
    gap: var(--image-grid-gap);
    width: 100%;
}

.pdp-variant-preview {
    border-radius: var(--radius-small);
    overflow: hidden;
    cursor: pointer;
    text-align: center;
}

.pdp-variant-preview > img {
    border-radius: var(--radius-small);
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    box-sizing: border-box;
    border: 5px solid transparent;
}

.pdp-selected-variant {
    border-color: var(--primary-color) !important;
}

.pdp-change-amount-svg{
    width: 1.2rem;
    height: 1.2rem;
    background-color: transparent;
    fill: var(--black);
    cursor: pointer;
}

.pdp-add-to-basket {
    display: grid;
    grid-template-columns: 10.5rem auto;
    grid-column-gap: var(--image-grid-gap);
}
.pdp-add-btn {
    border-radius: var(--radius-small);
    width: 100%;
    text-align: center;
    background-color: var(--black);
    border: 2px solid var(--black);
    color: var(--white);
    font-family: "Playfair Display", serif;
    font-weight: 400;
    font-size: 1.2rem;
    height: 3rem;
    cursor: pointer;
}

.pdp-action-group{
    display: grid;
    grid-template-columns: 1fr;
    row-gap: var(--spacing-small);
}

@media (max-width: 1200px) {
    .product-detail-page {
        grid-template-columns: 1fr 22.5rem;
        padding: 0.5rem;
        max-width: 100%;
    }
    .pdp-config{
        padding: 0.5rem;
    }
}
@media (max-width: 840px) {
    .product-detail-page{
        grid-template-columns: 1fr;
        padding: 0;
        gap: 0;
    }
    .pdp-config{
        grid-column: 1;
        grid-row: 2;
        padding: var(--spacing-small);
    }
    .pdp-add-to-basket {
        grid-template-columns: auto 1fr;
        grid-column-gap: var(--spacing-small);
    }
}
/*#endregion*/
/*#region confirmation*/
.confirmation-page{
    margin: 2rem;
}

.confirmation-container {
    display: flex;
    flex-direction: column;
    max-width: 30rem;
    margin: 5rem auto 0 auto;
    font-size: 1.5rem;
    gap: 1rem;
    text-align: justify;
    
}

.confirmation-container > h1 {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 2rem;
}

.confirmation-end{
    margin-top: 2rem;
    text-align: center;
    font-size: 1.8rem;
    width: 100%;
    font-weight: bold;
}

.confirmation-container > button {
    width: fit-content;
    padding: 1rem 3rem;
    font-size: 1.5rem;
    margin: 2rem auto 0 auto;
}

@media (max-width: 720px) {
    .confirmation-container > h1 {
        font-size: 3rem;
    }
    .confirmation-container {
        font-size: 1.2rem;
    }
    .confirmation-end {
        font-size: 1.5rem;
    }
}
/*#endregion*/

.slider-img{
    height: 35rem;
    width: 100%;
    object-fit: cover;
}

@media (min-width: 1200px) {
    .slider-caption {
        width: 40% !important;
        height: 50% !important;
        right: 15% !important;
        bottom: 15% !important;
        left: auto;
    }
}


.page-selector-container {
    display: grid;
    justify-content: center;
    gap: var(--spacing-small);
    grid-auto-flow: column;
}

.page-selector-btn{
    width: 2.5rem;
    height: 2.5rem;
    background-color: transparent;
    color: var(--black);
    border: none;
    padding: 0.5rem;
    border-radius: var(--radius-small);
    font-size: 1rem;
    cursor: pointer;
    transition: ease-in-out 200ms;
}

.page-selector-btn:hover{
    background-color: var(--black);
    color: var(--white);
    border: none;
}

.page-selector-arrow{
    width: 1rem;
    height: 1rem;
    fill: var(--black);
}

.selected-page {
    color: var(--black);
    background-color: var(--white);
}

.page-selector-btn:hover > .page-selector-arrow {
    fill: var(--black);
}

.icon-delete {
    fill: var(--red);
    cursor: pointer;
}


.test-banner {
    width: 100vw;
    height: 1.5rem;
    background-color: var(--red);
    color: var(--white);
    text-align: center;
}