:root {
    --primary-color: black;
    --secundary-color: white;
    --btn-primary-color: #000000c7;
    --btn-secundary-color: #e5e7eb;
    --bg-cart-wishlist-count: #EF4444;
    --primary-font-size: 16px;
    --secundary-font-size: 14px;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    --header-height: 80px;
    --aspect-ratio: 0.65;
}

/* HEADER */
.header {
    height: var(--header-height);
}

.header.homepage {
    height: 0 !important;
}

.header_wrapper {
    position: relative;
    background: white;
    color: var(--primary-color);
    height: var(--header-height);
}

.header_wrapper.scrollable {
    position: fixed !important;
    background: white;
    color: var(--primary-color);
}

.header_wrapper.no_scrollable {
    position: relative !important;
    background: white;
    color: var(--primary-color);
}

.header_wrapper.no_scrollable.home {
    position: fixed !important;
    background: linear-gradient(rgba(0, 0, 0, 0.3), transparent) !important;
    color: var(--secundary-color);
}

@media(min-width: 767px) {

    .header_wrapper.search_modal_open,
    .header_wrapper.no_scrollable.home.search_modal_open {
        background: white !important;
        color: var(--primary-color) !important;
    }
}

.header_container {
    display: grid !important;
    grid-template-columns: auto 2.5fr 1fr;
    height: var(--header-height);
}

.header_logo {
    order: 1;
    width: auto;
}

.header_pages {
    order: 2;
    width: auto !important;
}

.header_pages li p {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.header_pages li p:hover {
    background: black;
    color: white;
}

.header_user {
    order: 3;
    width: auto !important;
}

.header_burguer {
    order: 1;
    width: auto !important;
}

.header_user_container {
    gap: 0.75rem;
}

.header_user_container .header-icon:hover {
    background: black;
    color: white;
    border-radius: 100%;
}

.header_back_store {
    display: flex;
    align-items: center;
}

.searchbar_form {
    color: var(--secundary-color);
    border: 1px solid var(--secundary-color);
    padding: 0.5rem 0.75rem;
    text-align: start;
    border-radius: 9999px;
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

.searchbar_form.on_focus {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.search-container {
    color: var(--primary-color)
}

.searchbar_form {
    height: 2rem;
}

.modal-search-open {
    --tw-translate-y: 0px;
    --tw-translate-x: 0px;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.modal-search-close {
    --tw-translate-y: 0px;
    --tw-translate-x: 100%;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.header_left_wrapper .content {
    height: calc(100vh - 4rem);
}

.header_left_wrapper .my_account_block {
    height: 100%;
    /* justify-content: space-between; */
}

.header_left_container .pages .page_category {
    padding: 0.75rem 0.75rem;
}

.header_left_container .pages .page {
    padding: 0.75rem 0.5rem;
}

.header_left_container .pages .page_category:hover,
.header_left_container .pages .page:hover {
    background-color: var(--primary-color);
    color: white;
}

.header_left_container .pages a {
    text-decoration-line: none;
}

@media (max-width: 767px) {
    .header_container {
        grid-template-columns: 1fr auto 1fr;
    }

    .header_logo {
        order: 2;
        width: auto;
    }

    .header_burguer {
        order: 1;
        width: auto;
    }

    .header_user #customer {
        display: none !important;
    }
}

/* FOOTER */
.footer_container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
}

.footer_container .home_newsletter {
    display: none;
}

body:has(.homepage) .footer_container .home_newsletter {
    width: 100% !important;
    display: flex !important;
    grid-column-start: 1 !important;
    grid-column-end: 4 !important;
}

.footer_container .footer_social_media {
    order: 1;
}

.footer_container .footer_logo {
    order: 2;
}

.footer_container .footer_pages_help {
    order: 3;
}

.footer_container .footer_pages_about {
    display: none;
}


@media (max-width: 1023px) {
    .footer_container {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    body:has(.homepage) .footer_container .home_newsletter {
        grid-column-start: 1 !important;
        grid-column-end: 1 !important;
    }

    .footer_container .footer_socialmedia {
        order: 2;
    }

    .footer_container .footer_logo {
        order: 1;
    }

    .footer_container .footer_socialmedia .socialmedia_links {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media (max-width: 767px) {
    .footer_container {
        display: flex;
        flex-direction: column;
        margin-bottom: 1rem;
    }
}

/* HOME */

.home_banner {
    /* height of div 'JOIN THE CIRCULAR REVOLUTION' */
    height: calc(100vh - 76px);
    filter: brightness(0.9);
}

.home_banner2,
.home_banner3 {
    display: none !important;
}

.home_banner_container {
    color: white;
}

.home_banner_container .text {
    display: none !important;
}

/* .home_newsletter {
    background-color: transparent;
}

.home_newsletter .newsletter_form label {
    color: var(--btn-primary-color);
    background-color: var(--bg-cart-wishlist-count) !important;
} 

.home_newsletter {
    display: none !important;
} */

.block-swiper-news {
    display: none !important;
}

.home-page-container {
    display: none;
}

.home-page-new_arrivals {
    display: none;
}

.home-page-circular .circular-buttons .shop_2nd_hand,
.home-page-circular .circular-buttons .shop_blosers,
.home-page-circular .circular-buttons .sell {
    display: none;
}

.home-page .new-arrivals-block {
    display: none;
}

/* PRODUCT PAGES */
.filter-products {
    display: flex;
    justify-content: space-between;
}

details[open] summary .minusIcon {
    display: flex !important;
}

details[open] summary .plusIcon {
    display: none !important;
}

details>summary:first-of-type {
    text-transform: none !important;
}

.product-photo .lazy-load-image-background,
.products-list a .lazy-load-image-background,
.new-arrivals a .lazy-load-image-background {
    --aspect-ratio: 0.65;
}

.product-photo .lazy-load-image-background::before,
.products-list a .lazy-load-image-background::before,
.new-arrivals a .lazy-load-image-background::before {
    padding-top: calc(100% / (0.02 + var(--aspect-ratio, 16/9)));
    content: "";
    display: block;
    height: 0;
    width: 100%;
}

/* PRODUCT */
.page-container .header_shopping_page,
.page-container .banner-products,
.page-container .breadcrumb {
    display: none !important;
}

.product-container .product-details {
    border: none !important;
}

.page-container .product-banner {
    display: none;
}

.product-container .product-details .product-listedby1 {
    margin-top: -1.5rem;
}

.product-container .product-details .product-listedby2 {
    display: none;
}

.product-listings .listing-list label input {
    display: none;
}

.products-list .block-condition,
.products-list .block-size {
    display: none;
}


/* BUTTONS */
.primary-button {
    border: 1px solid var(--primary-color);
    background-color: var(--primary-color) !important;
    color: white;
    padding: 0.6rem 2rem;
    text-decoration-line: none;
}

.primary-button:hover {
    border: 1px solid var(--btn-primary-color);
    background-color: var(--btn-primary-color) !important;
}

.secundary-button {
    border: 1px solid var(--btn-secundary-color);
    background-color: transparent !important;
    color: var(--primary-color);
    text-decoration-line: none;
    padding: 0.6rem 1rem;
}

.secundary-button:hover {
    background-color: var(--btn-secundary-color) !important;
}

.primary-extra-button {
    border: 1px solid var(--primary-color);
    background-color: var(--secundary-color) !important;
    color: var(--primary-color);
    padding: 0.6rem 2rem;
    text-decoration-line: none;
}

.extra-button,
.extra-button-small {
    background-color: var(--secundary-color) !important;
    color: var(--primary-color);
    padding: 0.6rem 2rem;
    text-decoration-line: none;
}

.extra-button:hover,
.extra-button-small:hover {
    background-color: var(--primary-color) !important;
    color: var(--secundary-color);
}

.button-option {
    border: 1px solid var(--btn-secundary-color);
    padding: 0.375rem;
    height: 2.25rem;
    text-decoration-line: none;
}

.button-option.selected,
.button-option.selected:hover {
    background-color: var(--primary-color) !important;
    color: var(--secundary-color);
}

.button-option:hover {
    border: 1px solid var(--btn-secundary-color);
    background-color: var(--btn-secundary-color) !important;
}

.black-input {
    accent-color: var(--primary-color);
}

input {
    max-height: 50px;
}