/******** Catalogue **********/
.ec-ctlg-title {
    font-size: 2rem;
}
.ec-ctlg-title-model {
    color: var(--wc-primary);
}
.ec-ctlg-category-title {
    text-transform: uppercase;
}

.ec-ctlg-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, 250px);
    grid-gap: 20px;
    justify-content: space-between;
    margin-bottom: 40px;
}
.ec-ctlg-pdt {
    cursor: pointer;
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding-bottom: 10px;
    border-radius: 10px;
    background-color: var(--wc-secondary);
    color: var(--wc-secondary-text);
    box-sizing: border-box !important;
    overflow: hidden;
}
.ec-ctlg-pdt:hover {
    filter: brightness(130%);
    box-shadow: 0px 0px 24px -10px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}
.ec-ctlg-pdt:visited, .ec-ctlg-pdt:link, .ec-ctlg-pdt:active {
    color: var(--wc-secondary-text);
    text-decoration: none;
}
.ec-ctlg-pdt-img-wrap {
    width: 100%;
}
.ec-ctlg-content-title {
    width: 100%;
    text-align: center;
    /* text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden; */
    padding: 0 10px;
    color: var(--wc-primary);
    font-size: 1.4rem;
}
.ec-ctlg-content-price {
    width: 100%;
    text-align: center;
    font-size: 0.6rem;
}
.ec-ctlg-content-price .woocommerce-Price-amount {
    font-style: italic;
    font-size: 1rem;
}

@media only screen and (max-width: 600px) {
    .ec-ctlg-category-title {
        font-size: 2rem
    }
    
}

@media only screen and (max-width: 380px) {
    .ec-ctlg-list {
        display: flex;
        flex-flow: column nowrap;
        justify-content: flex-start;
        align-items: stretch;
        gap: 40px;
    }
    
}

/******** Related products **********/
.ec-after-summary, .ec-after-cart {
    clear: both;
    margin: 50px 0;
}

/******** Product page **********/
.ec-product-sep {
    margin: 20px 0;
    border-top: 2px solid #00000080;
}

.ec-product-add-to-cart-group {
    margin-bottom: 40px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}
.ec-product-add-to-cart-group > * {
    margin: 0;
}

.ec-product-after-summary {
    clear: both;
}
/* resume */
.ec-product-personalize {
    margin-bottom: 20px;
}
.ec-product-option {
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
.ec-product-option > * {
    margin: 0;
}
.ec-product-option:first-child {
    flex: 0 1 auto;
}
.ec-product-option-label {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: flex-start;
}
.ec-product-option-label > span:last-child {
    padding-left: 10px;
    font-weight: 600;
}
.ec-product-option-price {
    flex: 0 0 auto;
    font-style: italic;
}

/* popup content */
.ec-product-option-values-title {
    width: 100%;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 20px 0;
}
.ec-product-option-values-title span:last-child {
    float: right;
}
.ec-product-option-values {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, 200px);
    grid-gap: 20px;
    justify-content: space-between;
}
.ec-product-option-value {
    cursor: pointer;
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    gap: 10px;
    /* border: 2px solid var(--wc-primary); */
    background-color: #FFFFFF10;
    border-radius: 10px;
    padding-bottom: 10px;
    overflow: hidden;
}
.ec-product-option-value.selected, .ec-product-option-value:hover {
    background-color: #FFFFFF80;
}
.ec-product-option-value-img {
    width: 100%;
}
.ec-product-option-value-name {
    color: var(--wc-primary);
    font-size: 1.2rem;
    padding: 0 5px;
}
.ec-product-option-value-price {
    font-size: 1rem;
    font-style: italic;
    padding: 0 5px;
}

.ec-product-option-values2 {
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 30px;
}
.ec-product-option-value2 {
    cursor: pointer;
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    /* border: 2px solid var(--wc-primary); */
    background-color: #FFFFFF10;
    border-radius: 10px;
    padding-right: 20px;
    overflow: hidden;
}
.ec-product-option-value2.selected, .ec-product-option-value2:hover {
    background-color: #FFFFFF80;
}
.ec-product-option-value2-img {
    flex: 0 0 auto;
    height: 150px !important;
}
.ec-product-option-value2-wrapper {
    flex: 1 1 auto;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-bottom: 10px;
}
.ec-product-option-value2-name {
    color: var(--wc-primary);
    font-size: 1.4rem;
}
.ec-product-option-value2-price {
    font-size: 1rem;
    font-style: italic;
}
.ec-product-option-value2-desc {
    width: 100%;
    font-size: 1rem;
}
.ec-product-option-value2-desc-small {
    display: none;
    width: 100%;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

/* Theme shit */
.site-main {
    max-width: 1140px !important;
}
.woocommerce-page div.product div.images{
    width: 400px !important;
    max-width: 35% !important;
}
.woocommerce-page div.product div.summary {
    width: 60% !important;
}

/* Responsive and Theme shit */
@media only screen and (max-width: 1200px) {
    .site-main {
        max-width: 95vw !important;
    }
}
@media only screen and (max-width: 960px) {
    .ec-product-option-values-title {
        font-size: 1.4rem;
    }
    .ec-product-option-values {
        grid-template-columns: repeat(auto-fill, 150px);
    }
    .ec-product-option-value2-img {
        height: 100px !important;
    }
    .ec-product-option-value-name, .ec-product-option-value2-name {
        font-size: 1.2rem;
    }
    .ec-product-option-value-price, .ec-product-option-value2-price, .ec-product-option-value2-desc {
        font-size: 0.8rem;
    }
    /* .ec-product-option-value2 {
        flex-flow: column nowrap;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 20px;
    } */
    .woocommerce-page div.product div.images{
        float: none !important;
        width: 400px !important;
        max-width: 100% !important;
    }
    .woocommerce-page div.product div.summary {
        float: none !important;
        width: 100% !important;
    }
}
@media only screen and (max-width: 750px) {
    .ec-product-option-value2 {
        flex-flow: row wrap;
        gap: 10px;
    }
    .ec-product-option-value2-wrapper:has(.ec-product-option-value2-desc) {
        display: flex;
        flex-flow: column nowrap;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 10px;
    }
    .ec-product-option-value2-desc {
        display: none;
    }
    .ec-product-option-value2-desc-small {
        display: block;
    }
}
@media only screen and (max-width: 500px) {
    .ec-product-option-values {
        display: flex;
        flex-flow: column nowrap;
        justify-content: flex-start;
        align-items: stretch;
        gap: 40px;
    }
}

/******** Cart page **********/
.ec-cart-table {
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
    border-radius: 5px;
    border: 1px solid var(--wc-secondary);
    box-sizing: border-box;
}
.ec-cart-table-head {
    font-weight: 700;
}
.ec-cart-table-line {
    width: 100%;
    display: grid;
    grid-template-columns: 70% auto;
    grid-gap: 0 20px;
    padding: 10px;
}
.ec-cart-table-head > .ec-cart-table-line {
    background-color: var(--wc-secondary);
    color: var(--wc-secondary-text);
}
.ec-cart-table-body > .ec-cart-table-line {
    border-bottom: 1px solid var(--wc-secondary);
}
.ec-cart-table-line-product, .ec-cart-table-line-subtotal {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.ec-cart-table-line-product > .product-image {
    flex: 0 0 auto;
}
.ec-cart-table-line-product > .product-name {
    text-align: left;
    flex: 1 1 auto;
}
.ec-cart-table-line-product > .product-name > .product-name-div {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.ec-cart-table-line-product > .product-name > .product-name-div > .product-name-txt {
    font-size: 1.2rem;
}
.ec-cart-table-line-product > .product-name > .product-name-div .amount {
    font-size: 1rem;
    font-style: italic;
}
.ec-cart-table-line-product > .product-name dl.variation {
    font-size: 1rem;
    list-style: none outside;
}
.ec-cart-table-line-product > .product-name dl.variation dt {
    float: left;
    clear: both;
    margin-right: 10px;
}
.ec-cart-table-line-product > .product-name dl.variation dd {
    text-align: left;
    margin: 0;
}
.ec-cart-table-line-subtotal-qty a.product-remove {
    display: block;
    margin-top: 20px;
    font-size: 1rem;
    text-decoration: underline;
    color: #000;
}
.ec-cart-table-line-subtotal-qty a.product-remove:hover {
    text-decoration: none;
    color: var(--wc-secondary);
}
.ec-cart-table-foot {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px;
}
.ec-cart-table-foot > .coupon {
    flex: 1 1 auto;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}
.ec-cart-table-foot > .coupon > .input-text {
    flex: 0 1 auto;
    width: 200px;
}

.ec-cart {
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
}
.ec-cart .ec-cart-table {
    width: 100%;
}
.ec-cart > .cart-collaterals {
    margin-top: 40px;
    width: 100%;
}
.ec-cart > .cart-collaterals > .cart_totals {
    max-width: 400px;
    float: right;
}
.ec-cart > .cart-collaterals > .cart_totals > h2 {
    font-size: 1.4rem;
}

.wc-block-cart__empty-cart__title.with-empty-cart-icon:before{background-color:currentColor;content:"";display:block;height:5em;margin:0 auto 2em;mask-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzOCIgaGVpZ2h0PSIzOCIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iY3VycmVudENvbG9yIiBkPSJNMTkgMEM4LjUwNCAwIDAgOC41MDQgMCAxOXM4LjUwNCAxOSAxOSAxOSAxOS04LjUwNCAxOS0xOVMyOS40OTYgMCAxOSAwWm02LjEyOSAxMi44NzFhMi40NDkgMi40NDkgMCAwIDEgMi40NTIgMi40NTIgMi40NDkgMi40NDkgMCAwIDEtMi40NTIgMi40NTEgMi40NDkgMi40NDkgMCAwIDEtMi40NTItMi40NTEgMi40NDkgMi40NDkgMCAwIDEgMi40NTItMi40NTJaTTExLjY0NSAzMS4yNThjLTIuMDMgMC0zLjY3Ny0xLjYwOS0zLjY3Ny0zLjYgMC0xLjUzMyAyLjE4My00LjYyOCAzLjE4Ny01Ljk2MWEuNjEuNjEgMCAwIDEgLjk4IDBjMS4wMDQgMS4zMzMgMy4xODggNC40MjggMy4xODggNS45NiAwIDEuOTkyLTEuNjQ4IDMuNjAxLTMuNjc4IDMuNjAxWm0xLjIyNi0xMy40ODRhMi40NDkgMi40NDkgMCAwIDEtMi40NTItMi40NTEgMi40NDkgMi40NDkgMCAwIDEgMi40NTItMi40NTIgMi40NDkgMi40NDkgMCAwIDEgMi40NTIgMi40NTIgMi40NDkgMi40NDkgMCAwIDEtMi40NTIgMi40NTFabTEzLjA0IDExLjgxNEE4Ljk4OSA4Ljk4OSAwIDAgMCAxOSAyNi4zNTVjLTEuNjI0IDAtMS42MjQtMi40NTIgMC0yLjQ1MmExMS40IDExLjQgMCAwIDEgOC43ODggNC4xMjJjMS4wNTcgMS4yNTctLjg1OSAyLjc5Ni0xLjg3OCAxLjU2M1oiLz48L3N2Zz4=);mask-position:center;mask-repeat:no-repeat;mask-size:5em;width:5em}

@media only screen and (max-width: 960px) {
    .ec-cart-table-line {
        grid-template-columns: 100%;
    }
    .ec-cart-table-line-subtotal {
        margin-top: 10px;
    }
    .ec-cart-table-head > .ec-cart-table-line > .ec-cart-table-line-subtotal {
        display: none;
    }
}

@media only screen and (max-width: 600px) {
    .ec-cart-table-line-product {
        display: block;
    }
    .ec-cart-table-foot {
        flex-flow: column nowrap;
        justify-content: flex-start;
        align-items: stretch;
    }
    .ec-cart-table-foot > .coupon > * {
        width: 100% !important;
    }
    .ec-cart > .cart-collaterals > .cart_totals {
        max-width: 100%;
        width: 100%;
    }
}
