[data-fadeshow].product-images-display {
    border-radius: var(--pico-border-radius);
}

@media (min-width: 768px) {
    #product-details {
        margin-left: var(--pico-spacing);
    }
}

#quantity-price-mob {
    margin-top: var(--pico-spacing);
}

#product-details > * {
    width: 100%;
}

.add-item-options {
    margin-top: var(--pico-spacing);
}

.add-main-item-btn {
    width: 100%
}

#quantity-price-desk {
    display: none;
}

#quantity-price-desk > div,
#quantity-price-mob > div {
    margin-top: var(--pico-spacing);
}

#quantity-price-desk > div .add-to-basket-btn,
#quantity-price-mob > div .add-to-basket-btn {
    font-weight: 500;
}

#quantity-price-desk > div > div,
.quantity-div {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: calc(var(--pico-spacing) /2);
}

#quantity-price-desk > div *,
#quantity-price-mob > div * {
    margin: 0;
}

@media (max-width: 28.5rem) {
    #quantity-price-mob .add-to-basket-btn {
        margin-top: var(--pico-spacing);
    }
}

@media (min-width: 28.5rem) {
    #quantity-price-desk > div,
    #quantity-price-mob > div {
        display: grid;
        grid-template-columns: 9.5rem 1fr;
        gap: calc(var(--pico-spacing) /2);
    }
}


@media (min-width: 64rem) {
    #quantity-price-desk {
        display: block;
    }
    #quantity-price-mob {
        display: none;
    }
    
    #product-details {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    #product-title + hr {
        margin: 0;
    }

    #quantity-price-desk {
        align-self: end;
    }
    
    #quantity-price-desk .quantity-div {
        gap: var(--pico-spacing);
    }
} 

/* styling for when the product has no availble options to configure: */

@media (min-width: 768px) {
    .product-has-no-options #quantity-price-desk {
        display: block;
    }
    .product-has-no-options #quantity-price-mob {
        display: none;
    }

    .product-has-no-options #product-details {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}

@media (max-width: 64rem) {
    .product-has-no-options #quantity-price-desk > div {
        display: block;
    }

    .product-has-no-options #quantity-price-desk .add-to-basket-btn {
        margin-top: var(--pico-spacing);
    }
}

/* this will reset the styling to be uninfluenced by the styling writen just for those products without product options (those just above of this)*/
@media (max-width: 768px) {
    .product-has-no-options #quantity-price-desk > div {
        display: grid;
    }

    .product-has-no-options #quantity-price-desk .add-to-basket-btn {
        margin-top: 0;
    }
}

/* styling for the add ons drawer */

/* #add-ons-drawer.menu__box {
    padding: 0;
    position: fixed;
    z-index: 4;
    width: 90%;
     this just prevents users from seeing past the bottom of the drawer when they scroll very quickly 
    height: 120vh;
    max-width: 70rem;
    list-style: none;
    background-color: var(--pico-background-color);
    box-shadow: 2px 2px 12px rgba(0, 0, 0, .7);
    transition-duration: .25s;
} */


/* #add-ons-drawer.menu__box #add-ons-drawer-contents {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    this is going to help position #rest-at-end element at the bottom of the drawer 
    position: relative;
} */

#add-ons-drawer-success-alert {
    display: none;
    padding: 0;
    margin: 0;
    border-radius: 0;
    display: none;
    flex-direction: column;
    justify-content: end;
    align-items: center;
}

.alert-content {
    padding: var(--pico-spacing);
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

#countdown-bar {
    height: 10px;
    width: 100%;
    background-color: #666666;
    animation: shrink 7s linear forwards;
    align-self: flex-end;
}

@keyframes shrink {
    0% {
        width: 100%;
    }
    100% {
        width: 0%;
    }
}



#add-ons-drawer-success-alert > span > span {
    font-size: 18px;
}

/* #addons-header {
    padding: var(--pico-spacing);
    margin-bottom: 0;
} */

/* #add-ons {
    padding: var(--pico-spacing);
    overflow-y: auto;
} */

/* #add-ons-drawer #rest-at-end {
    width: 100%;
    padding: var(--pico-spacing);
    this is supposed to prevent this element from going beyond the viewport on mobile devices with a moving address bar
    position: sticky;
    bottom: 0;
} */

/* @media (min-width: 26rem) {
    #add-ons-drawer #rest-at-end {
        grid-template-columns: repeat(auto-fit,minmax(0%, 1fr));
    }
} */

/* #add-ons-drawer #rest-at-end button {
    width: 100%;
} */

/* @media (max-width: 500px) {
    #add-ons-drawer.menu__box {
        width: 100%;
    }
} */

/* styling the add ons cards */

.add-on {
    height: fit-content;
    background-color: var(--pico-card-background-color);
}

.add-on > form {
    display: flex;
    flex-direction: column;
}

.add-on img {
    object-fit: scale-down;
    margin-right: var(--pico-spacing);
    width: 10rem;
    height: 10rem;
}

@media (max-width: 50rem) {
    .add-on img {
        width: 7rem;
        height: 7rem;
    }
}

@media (max-width: 22rem) {
    .add-on img {
        width: 5rem;
        height: 5rem;
    }
}

@media (max-width: 19rem) {
    .add-on img {
        display: none;
    }
}

.add-on .title-price-div h4 {
    text-align: left;
    color: var(--pico-h5-color);
    margin-bottom: var(--pico-typography-spacing-vertical);;
}

.add-on > form > div > a {
    display: flex;
    flex-direction: row;
}

/*  to get the price to rest at the bottom: */
.add-on .title-price-div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.add-on h6.price {
    margin: 0;
}

.add-on .add-to-basket-btn {
    margin-top: calc(var(--pico-spacing) * 2);
    margin-bottom: 0;
}


@media (max-width: 30rem) {
    .add-on .add-to-basket-btn {
        margin-top: var(--pico-spacing);
    }
}

/* styling for the product details toggling */
.product-detail {
    display: none;
}
#description {
    display: block;
}

#product-detail-toggles {
    overflow: hidden;
}

#product-detail-toggles > div {
    border-bottom: var(--pico-border-width) solid var(--pico-primary);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: 0;
    overflow: visible;
}

.product-detail-toggle {
    background-color: transparent;
    color: var(--pico-primary);
    font-weight: 400;
    border: none;
    position: relative;
    top: calc(var(--pico-border-width) *2);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.product-detail-toggle:hover {
    background-color: rgba(210, 67, 23, 0.07);
}

.product-detail-toggle:first-of-type {
    margin-left: var(--pico-spacing);
}

.product-detail-toggle.toggle-on {
    color: var(--pico-color);
    background-color: rgb(19, 23, 31);
    border: var(--pico-border-width) solid var(--pico-primary);
    border-bottom: none;
}

#specs-toggle-mob {
    display: inline-block;
}
#specs-toggle-desk {
    display: none;
}

@media (max-width: 23rem) {
    #product-detail-toggles > div {
        display: flex;
        flex-direction: row;
        justify-content: start;
    }
}
@media (max-width: 27rem) {
    .product-detail-toggle:first-of-type {
        margin-left: 0;
    }
}

@media (min-width: 26.25rem) {
    #specs-toggle-mob {
        display: none;
    }
    #specs-toggle-desk {
        display: inline-block;
    }
}

/* styling for the product details content */

.product-detail {
    padding-top: var(--pico-spacing);
}

/* styling for the description: */


/* @media (min-width: 48rem) {
    #description,
    #included {
        padding: var(--pico-spacing);
    }
} */

#description li,
#included li {
    list-style-type: disc;
}

/* .alert.basket-notif {
    
} */

/* @media (max-width: 48rem) { */
    /* .add-item-form {
        width: 45vw;
    } */
/* 
    [data-fadeshow].desktop-fadeshow .fs-slides,
    [data-fadeshow].desktop-fadeshow .fs-slide { */
        /* margin: 0 auto 0 auto; */
        /* width: 45vw;
        height: 45vw;
    } */
    /* calc(45vw - calc(var(--space-3) * 2)) */

    /* [data-fadeshow].desktop-fadeshow .fs-slide-bg, 
    .product-images-display.desktop-fadeshow {
        max-height: 45vw;
        max-width: 45vw;
    } */

    /* #product-details > p {
        display: none;
    }
    #product-details > hr {
        display: none;
    }

    .add-item-options {
        flex-direction: column;
    }

    #item-container > #product-details select#color-picker-desk-mob {
        width: 13rem;
    }
    #item-container > #product-details select#os-picker-desk-mob {
        width: 13rem;
    }
    
} */
/* 
@media (max-width: 40rem) {
    .tablet-fadeshow {
        display: block;
    }
    .desktop-fadeshow {
        display: none;
    }
    .mobile-fadeshow {
        display: none;
    }

    [data-fadeshow].tablet-fadeshow .fs-slides,
    [data-fadeshow].tablet-fadeshow .fs-slide {
        margin: 0 auto 0 auto;
        width: calc(45vw - calc(var(--space-2) * 1));
        height: calc(45vw - calc(var(--space-2) * 1));
    }

    [data-fadeshow].tablet-fadeshow .fs-slide-bg, 
    .product-images-display.tablet-fadeshow {
        margin: 0 auto 0 auto;
        max-height: calc(45vw - calc(var(--space-2) * 1));
        max-width: calc(45vw - calc(var(--space-2) * 1));
    }
} */
/* 
@media (max-width: 30rem) { */
    /* mobile fadeshow */
    /* [data-fadeshow].mobile-fadeshow .fs-slides,
    [data-fadeshow].mobile-fadeshow .fs-slide { */
        /* margin: 0 auto 0 auto; */
        /* width: calc(95vw - calc(var(--space-2) * 2));
        height: calc(95vw - calc(var(--space-2) * 2));
    } */
/* 
    [data-fadeshow].mobile-fadeshow .fs-slide-bg, 
    .product-images-display.mobile-fadeshow {
        margin: 0 auto 0 auto;
        max-height: calc(95vw - calc(var(--space-2) * 2));
        max-width: calc(95vw - calc(var(--space-2) * 2));
    }

    .tablet-fadeshow {
        display: none;
    }
    .desktop-fadeshow {
        display: none;
    }
    .mobile-fadeshow {
        display: block;
    }

    .not-sure-mobile {
        font-size: var(--font-size-4);
    }
} */

/* styling for the desktop description section */

/* [data-fadeshow].mobile-fadeshow .fs-slide-bg, 
.product-images-display.mobile-fadeshow {
    width: 100%;
}

[data-fadeshow].mobile-fadeshow .fs-slides,
[data-fadeshow].mobile-fadeshow .fs-slide {
    width: 100%;
}

[data-fadeshow].tablet-fadeshow .fs-slide-bg, 
.product-images-display.tablet-fadeshow {
    width: 100%;
}

[data-fadeshow].desktop-fadeshow .fs-slide-bg, 
.product-images-display.desktop-fadeshow {
    width: 100%;
}
     */