@charset "UTF-8";

/* global  */
div.woocommerce {
    width: 100%;
    max-width: var(--maxPageWidth);
    margin: auto;
}

/*  https://alphapilates.uk/checkout/  */
div.woocommerce div.woocommerce-info { 
    margin-bottom: 1rem;
}

div.woocommerce div.woocommerce-notices-wrapper {
    margin: 1rem;
}

nav.woocommerce-breadcrumb {
    padding-top: 10px;
    padding-bottom: 10px;
}


.woocommerce-error {
    color: red;
    font-weight: bold;
}

div.quantity {
    font-family: inherit;
    font-size: inherit;
    font-weight: bold;
}
div.quantity input[type='number'].input-text {
    padding: 0.5rem;
    margin: 0.5rem 0;
    width: 60px;
    font-family: inherit;
    font-size: inherit;
    font-weight: bold;
    text-align: center;
    border: solid thin var(--mainColor);
}

button.button, a.button {
    border: thin solid var(--mainColor);
    background-color: var(--mainColor);
    text-align: center;
    font-weight: bold;
    padding: 0.5rem 1.5rem;
    color: var(--darkGray);
    cursor: pointer;
    font-size: 1rem;
    transition: all .5s;
}

button.button:hover, a.button:hover {
    background-color: var(--transparentMainColor);
}

input.input-text {
    border: solid thin var(--mainColor);
    padding: 0.5rem;
    color: var(--mainColor);
    font-size: 1rem;
    font-weight: normal;
}

span.onsale {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--mainColor);
    color: white;
    padding: 3px 6px;
    /* border: solid thin var(--secondColor); */
    border-radius: 3px;
    z-index: 99;
}

span.price, p.price {
    color: var(--darkGray);
    font-size: 1rem;
    font-weight: bold;
}

span.price del bdi, p.price del bdi {
    opacity: 0.4;
    text-decoration: line-through;
    font-weight: normal;
}

/* product tabs ====================== */
ul.tabs {
    display: flex;
    gap: 1rem;
}
ul.tabs > li {
    padding: 0.3rem 1rem;
    font-weight: bold;
    border: solid thin  var(--mainColor);
}
ul.tabs > li.active {
    background-color: var(--mainColor);
}
ul.tabs > li > a {
    color: black;
}
/* product tabs ====================== */

/* product tabs Technical specifications ====================== */
#tab-technical-specifications > h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}
#tab-technical-specifications > ul {
    margin: 0 0 1rem 2rem;
    list-style: disc;
}
#tab-technical-specifications > ul > li {
    line-height: 130%;
}
/* product tabs Technical specifications ====================== */

div.term-description > p > img {
    width: 100%;
}

/* my-account */
nav.woocommerce-MyAccount-navigation {
    margin: 2rem 0;
    border-spacing: 0.5rem;
}

table.woocommerce-orders-table.woocommerce-MyAccount-orders.shop_table.shop_table_responsive.my_account_orders.account-orders-table {
    width: 100%;
}
table.woocommerce-orders-table.woocommerce-MyAccount-orders.shop_table.shop_table_responsive.my_account_orders.account-orders-table td {
    padding: 0.5rem 0;
    white-space: nowrap;
}
/* my-account */

/* product page ======================= */

div.single_variation_wrap {
    display: flex;
    justify-content:flex-start;
    gap: 1rem;
    align-items: center;

    > div > button {
        margin-left: 1rem;
    }
}

div.product > div.summary.entry-summary > form.variations_form.cart {
    width: 100%;
    display: block;
}

div.product > div.summary.entry-summary > form.variations_form.cart > table.variations {
    width: 100%;
    margin-bottom: 1rem;
}

div.product > div.summary.entry-summary > form.variations_form.cart > table.variations th.label {
    text-align: left;
    width: fit-content;
}

div.product > div.summary.entry-summary > form.variations_form.cart > table.variations select {
    width: 100%;
    padding: 0.8rem;
    border: solid thin var(--lightGray);
    border-radius: 3px;
    font-size: 1rem;
    font-family: inherit;
}
div.product > div.summary.entry-summary > form.variations_form.cart > table.variations select option {
/*    padding: 0.8rem;
    margin: 0.8rem;*/
}


form.variations_form.cart > div.single_variation_wrap div.quantity {
    display: inline-block;
}

/*.woocommerce div.product form.cart .variations {
    border-bottom: 1px solid var(--ast-border-color);
    position: relative;
    margin-bottom: 1em;
    width: 100%;
}*/

div.product div.woocommerce-product-gallery__image a img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
}

/* product page ======================= */

/* products list ====================== */
ul.products {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 2%;
    margin: 1rem 0;
}
ul.products>li.product {
    margin-bottom: 1em;
    width: 32%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 4px 8px 16px var(--lightGray);
    transition: all .4s;
}
ul.products>li.product:hover {
    box-shadow: 4px 8px 16px var(--grayColor);
}
ul.products>li.product>a:first-child {
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 1rem;
}
ul.products>li.product>a:first-child  p {
    color: var(--darkGray);
    padding: 1rem;
}

ul.products>li.product>a:first-child>h2 {
    margin: 1rem 0;
    color: var(--midGray);
    justify-self: flex-end;
}
ul.products>li.product>a:first-child>img {
    width: 100%;
    object-position: top;
    margin-bottom: .5em;
    height: auto;
}
/* products list ====================== */

mark.count {
    background-color: transparent;
    color: inherit;
}

form.woocommerce-ordering {
    text-align: right;
    width: 100%;
    padding: 0.5rem 0;
}

form.woocommerce-ordering select.orderby {
    font: inherit;
    border: solid thin var(--mainColor);
    padding: 0.5rem 0;
}

form.woocommerce-ordering select.orderby option {
    padding: 0.5rem 0.2rem;
}

/*div.woocommerce-notices-wrapper {
    margin: 2rem 0;
}*/


div.cart-empty.woocommerce-info {
    margin: 2rem 0;
}



div.woocommerce-message > a.button {
    display: block;
    margin-bottom: 1rem;
    width: fit-content;
}



a.added_to_cart.wc-forward {
    border: var(--darkGray);
    background-color: var(--lightGray);
    text-align: center;
    font-weight: bold;
    padding: 0.5rem 1.5rem;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    transition: all .5s;
}
a.added_to_cart.wc-forward:hover {
    background-color: var(--lightGray);
    color: black;
}

/* product page ====================== */
div.product {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto auto auto auto;
    width: 100%;
    column-gap: 2%;
    position: relative;
}
div.product > div.woocommerce-product-gallery {
    position: relative;
    grid-column: 1/2;
    grid-row: 1/4;
}
div.product > div.woocommerce-product-gallery > div.flex-viewport > div.woocommerce-product-gallery__wrapper > div.woocommerce-product-gallery__image.flex-active-slide {
    /*width: unset;*/
    width: 100%;
}
div.product > div.woocommerce-product-gallery > ol {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
div.product > div.woocommerce-product-gallery > ol > li {
    width: 19%;
    justify-content: space-between;
    cursor: pointer;
}
div.product > div.woocommerce-product-gallery > ol > li > img {
    width: 100%;
    max-width: 150px;
    height: auto;
}

div.product > div.woocommerce-product-gallery > a.woocommerce-product-gallery__trigger  {
    position: absolute;
    right: 5%;
    top: 5%;
    z-index: 99;
}

div.product > div.summary.entry-summary {
    grid-column: 2/3;
    grid-row: 1/2;
    /*height: fit-content;*/
}
div.product > div.summary.entry-summary > h1 {
    margin-top: 0;
}

div.product > div.summary.entry-summary > form.cart {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
}

div.product > div.woocommerce-tabs.wc-tabs-wrapper {
    grid-column: 2/3;
    grid-row: 2/3;
    margin-top: 2rem;
}

div.product > section.related.products {
    grid-column: 1/3;
    grid-row: 4/5;
    margin-top: 2rem;
}
/* product page ====================== */


/*yith plugin start*/
div.yith-ywraq-add-to-quote {
    width: 100%;
/*    margin-left: 1rem;*/
    div.yith-ywraq-add-button.show {
        width: 100%;
        a.add-request-quote-button.button {
            width: 100%;
            padding: 0.5rem 0;
            margin: 0px;
        }
    }
}

div.yith-ywraq-before-table {
    margin-top: 1rem;
}

a.yith-ywraq-item-remove.remove {
    color: red;
    font-size: 3rem;
    font-weight: bold;
}

form#yith-ywraq-form input[type="submit"] {
    border: thin solid var(--mainColor);
    background-color: var(--mainColor);
    text-align: center;
    font-weight: bold;
    padding: 0.5rem 1.5rem;
    color: var(--darkGray);
    cursor: pointer;
    font-size: 1rem;
    transition: all .5s;
}

form#yith-ywraq-form input[type="submit"]:hover {
    background-color: var(--transparentMainColor);
}
/*
table.shop_table.cart.shop_table_responsive thead tr th {
    padding: 1rem;
}

td.actions {
    text-align: right;
}

div.product > div.summary.entry-summary > div.yith-ywraq-add-to-quote { 
    display: inline-block;
    margin-left: 2%;
}
div.product > div.summary.entry-summary > form > div.yith-ywraq-add-to-quote {
    display: inline-block !important;
    margin-left: 2%;
    padding: 0.5rem;
}

div.product > div.summary.entry-summary > form > div.yith-ywraq-add-to-quote > div.yith_ywraq_add_item_browse-list.yith_ywraq_add_item_browse_message > a {
    color: var(--mainColor);
    text-decoration: underline;
    text-underline-offset: 3px;
}
*/


div.yith-ywraq-mail-form-wrapper {
    h3 {
        margin-bottom: 2rem;
    }
    form#yith-ywraq-default-form {
        width: 100%;
        max-width: 600px;
        p {
            width: 100%;
            input.input-text {
                display: inline-block;
                width: 100%;
            }
            textarea.input-text {
                display: inline-block;
                width: 100%;
                border: solid thin var(--mainColor);
                padding: 0.5rem;
                color: var(--mainColor);
                font-size: 1rem;
                font-weight: normal;
            }
            input[type="submit"] {
                border: thin solid var(--mainColor);
                background-color: var(--mainColor);
                text-align: center;
                font-weight: bold;
                padding: 0.5rem 1.5rem;
                color: var(--darkGray);
                cursor: pointer;
                font-size: 1rem;
                transition: all .5s;
            }
            input[type="submit"]:hover {
                background-color: var(--transparentMainColor);
            }
        }
    }
}
/*yith plugin end*/






/* nav.woocommerce-pagination =============*/
nav.woocommerce-pagination {
    margin: 1rem 0;
    font-weight: 600;
    font-size: 1.2rem;
}
nav.woocommerce-pagination > ul.page-numbers {
    display: flex;
    justify-content: center;
    gap: 0.2rem;
}
nav.woocommerce-pagination > ul.page-numbers > li {
    line-height: normal;
    margin-bottom: 0;
}
nav.woocommerce-pagination > ul.page-numbers > li > span {
    padding: 0.2rem 0.5rem;
    color: var(--mainColor);
}
nav.woocommerce-pagination > ul.page-numbers > li > a {
    padding: 0.2rem 0.5rem;
}
nav.woocommerce-pagination > ul.page-numbers > li > a:hover {
    color: var(--mainColor);
}
/* nav.woocommerce-pagination =============*/


/* cart =============================================  */
form.woocommerce-cart-form {
    width: 100%;
    max-width: var(--maxPageWidth);
    margin: auto;
}
form.woocommerce-cart-form table {
    width: 100%;
    border: var(--darkGray);
}

form.woocommerce-cart-form table thead {
    background-color: var(--lightGray);
    border: var(--darkGray);
}
form.woocommerce-cart-form table tbody tr {
    border-bottom: solid 1px var(--mainColor);
}

form.woocommerce-cart-form table td,
form.woocommerce-cart-form table th {
    padding: .5rem;
    text-align: left;
}

form.woocommerce-cart-form table td.product-remove a {
    color: red;
    font-size: 3rem;
    font-weight: bold;
}

form.woocommerce-cart-form table td.product-thumbnail a img {
    width: 100%;
    max-width: 200px;
    height: auto;
}
form.woocommerce-cart-form table td.product-thumbnail p.hidden-name {
    display: none;
    text-align: center;
}


/* coupon  */
form.woocommerce-cart-form td.actions {
    text-align: right;
}
form.woocommerce-cart-form td.actions div.coupon {
    width: 100%;
    margin-bottom: 1rem;
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
}
form.woocommerce-cart-form td.actions div.coupon label {
    display: none;
}

form.woocommerce-cart-form td.actions div.coupon input#coupon_code {
    width: 15rem;
}
/* coupon  */

/* Σύνολα καλαθιού  */
div.cart-collaterals {
    width: 100%;
    max-width: var(--maxPageWidth);
    margin: 1rem auto;
    text-align: right;
}
div.cart-collaterals > div.cart_totals {
    display: inline-block;
    text-align: left;
    width: 100%;
    max-width: 600px;
}
div.cart-collaterals > div.cart_totals > h2 {
    margin: 1rem 0;
}
div.cart-collaterals > div.cart_totals > div.wc-proceed-to-checkout > a {
    display: inline-block;
    width: 100%;
}
div.cart-collaterals > div.cart_totals > table.shop_table {
    /*border: 1px solid rgba(0,0,0,.3);*/
    border: var(--lg-border);
    width: 100%;
    border-radius: 5px;
    text-align: left;
    /*width: fit-content;*/
    margin-bottom: 2rem;
}
div.cart-collaterals > div.cart_totals > table.shop_table a {
    text-decoration: underline;
    text-decoration-color: var(--mainColor);
}
div.cart-collaterals > div.cart_totals > table.shop_table tr.cart-subtotal {
    /*border-bottom: 1px solid rgba(0,0,0,.3);*/
    border-bottom: var(--lg-border);
}
div.cart-collaterals > div.cart_totals > table.shop_table tr.order-total {
    /*border-top: 1px solid rgba(0,0,0,.3);*/
    border-top: var(--lg-border);
}
div.cart-collaterals > div.cart_totals > table.shop_table tr th {
    width: fit-content;
    padding: 0.5rem 1rem;
    vertical-align: top;
}
div.cart-collaterals > div.cart_totals > table.shop_table tr td {
    /*width: fit-content;*/
    padding: 0.5rem 1rem;
    /*border: 1px solid rgba(0,0,0,.3);*/
}
/* Σύνολα καλαθιού  */
/* cart =============================================  */


@media screen and (width < 900px) {
    ul.products > li.product {
        width: 49%;
    }
}

@media (width < 800px) {
    div.product {
        grid-template-columns: 1fr;
    }
    div.product > div.woocommerce-product-gallery {
        grid-column: 1/2;
        grid-row: 2/3;
    }

    div.product >  div.summary.entry-summary {
        grid-column: 1/2;
        grid-row: 1/2;
    }

    div.product >  div.woocommerce-tabs.wc-tabs-wrapper {
        grid-column: 1/2;
        grid-row: 3/4;
    }

    div.product > section.related.products {
        grid-column: 1/2;
        grid-row: 4/5;
    }
}


@media screen and (width < 640px) {
    ul.products > li.product {
        width: 100%;
    }
}

@media (width < 600px) {
    form.woocommerce-cart-form td.actions div.coupon {
        flex-direction: column;
    }
    form.woocommerce-cart-form td.actions div.coupon input#coupon_code {
        width: unset;
    }

    form.woocommerce-cart-form table th.product-name,
    form.woocommerce-cart-form table td.product-name {
        display: none;
    }

    form.woocommerce-cart-form table td.product-thumbnail p.hidden-name {
        display: block;
    }

}