/*
Theme Name: Pietro Simone

WooCommerce styles override
*/

/**
 * Shop tables
 */
table.shop_table_responsive thead {
    display: none;
}

table.shop_table_responsive tbody th {
    display: none;
}

table.shop_table_responsive tr td {
    display: block;
    text-align: right;
    clear: both;
}

table.shop_table_responsive tr td::before {
    content: attr(data-title) ": ";
    float: left;
}

table.shop_table_responsive tr td.product-remove a {
    text-align: left;
}

table.shop_table_responsive tr td.product-remove::before {
    display: none;
}

table.shop_table_responsive tr td.actions::before,
table.shop_table_responsive tr td.download-actions::before {
    display: none;
}

table.shop_table_responsive tr td.download-actions .button {
    display: block;
    text-align: center;
}

@media screen and (min-width: 48em) {

    table.shop_table_responsive thead {
        display: table-header-group;
    }

    table.shop_table_responsive tbody th {
        display: table-cell;
    }

    table.shop_table_responsive tr th,
    table.shop_table_responsive tr td {
        text-align: left;
    }

    table.shop_table_responsive tr td {
        display: table-cell;
    }

    table.shop_table_responsive tr td::before {
        display: none;
    }
}

/**
 * Products
 */
ul.products {
    margin: 0;
    padding: 0;
}

ul.products li.product {
    list-style: none;
    position: relative;
    margin-bottom: 2em;
}

ul.products li.product img {
    display: block;
}

ul.products li.product .button {
    display: block;
}



/**
 * Single product
 */
.single-product div.product {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 100%;
    width: 990px;
    margin: 0 auto;
    gap: 40px;
    padding: 40px 0;
}

.single-product div.product .woocommerce-product-gallery {
    position: relative;
    float: left;

    width: 33%;
}

.single-product div.product .summary.entry-summary {
    float: left;
    width: 62%;
}

.single-product div.product .woocommerce-product-details__short-description {
    text-transform: initial;
}

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    position: absolute;
    top: 2em;
    right: 1em;
    display: block;
    z-index: 99;
}

.single-product div.product .woocommerce-product-gallery .flex-viewport {
    margin-bottom: 1em;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
    margin: 0;
    padding: 0;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
    list-style: none;
    cursor: pointer;
    float: left;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img {
    opacity: 0.5;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
    opacity: 1;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li:hover img {
    opacity: 1;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li {
    width: 48.1%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li:nth-child(2n) {
    margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li:nth-child(2n+1) {
    clear: both;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li {
    width: 30.79667%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n) {
    margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n+1) {
    clear: both;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
    width: 22.15%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n) {
    margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n+1) {
    clear: both;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li {
    width: 16.96%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n) {
    margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n+1) {
    clear: both;
}

.stock:empty::before {
    display: none;
}

.stock.in-stock {
    color: #0f834d;
}

.stock.out-of-stock {
    color: #e2401c;
}

.single-product form.cart .quantity {
    float: left;
    width: 100px;
    margin-right: 15px;
}

.single-product form.cart input.input-text {
    width: 100%;
    padding: 10px;
    text-align: center;
}

.single-product .product_meta {
    display: none;
}

/**
 * Checkout
 */


a.wc-block-components-product-name {
    color: #222222;
    font-weight: 500;
}

@media screen and (min-width: 768px) {

    .col2-set .form-row-first {
        float: left;
        margin-right: 3.8%;
    }

    .col2-set .form-row-last {
        float: right;
        margin-right: 0;
    }

    .col2-set .form-row-first,
    .col2-set .form-row-last {
        width: 48.1%;
    }
}

/**
 * General WooCommerce components
 */

/**
 * Header cart
 */
.site-header-cart {
    position: relative;
    margin: 0;
    padding: 0;
}

.site-header-cart .cart-contents {
    text-decoration: none;
}

.site-header-cart .widget_shopping_cart {
    display: none;
}

.site-header-cart .product_list_widget {
    margin: 0;
    padding: 0;
}

/**
 * Star rating
 */
.star-rating {
    overflow: hidden;
    position: relative;
    height: 1.618em;
    line-height: 1.618;
    width: 5.3em;
    font-family: star;
    font-weight: 400;
}

.star-rating::before {
    content: "\53\53\53\53\53";
    opacity: 0.25;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
}

.star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
}

.star-rating span::before {
    content: "\53\53\53\53\53";
    top: 0;
    position: absolute;
    left: 0;
    color: #4169e1;
}

p.stars a {
    position: relative;
    height: 1em;
    width: 1em;
    text-indent: -999em;
    display: inline-block;
    text-decoration: none;
    margin-right: 1px;
    font-weight: 400;
}

p.stars a::before {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 1em;
    height: 1em;
    line-height: 1;
    font-family: star;
    content: "\53";
    color: #404040;
    text-indent: 0;
    opacity: 0.25;
}

p.stars a:hover~a::before {
    content: "\53";
    color: #404040;
    opacity: 0.25;
}

p.stars:hover a::before {
    content: "\53";
    color: #4169e1;
    opacity: 1;
}

p.stars.selected a.active::before {
    content: "\53";
    color: #4169e1;
    opacity: 1;
}

p.stars.selected a.active~a::before {
    content: "\53";
    color: #404040;
    opacity: 0.25;
}

p.stars.selected a:not(.active)::before {
    content: "\53";
    color: #4169e1;
    opacity: 1;
}

/**
 * Tabs
 */
.woocommerce-tabs ul.tabs {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.woocommerce-tabs ul.tabs li {
    display: block;
    margin: 0;
    position: relative;
}

.woocommerce-tabs ul.tabs li a {
    padding: 1em 0;
    display: block;
}

.woocommerce-tabs .panel h2:first-of-type {
    margin-bottom: 1em;
}

/**
 * Password strength meter
 */
.woocommerce-password-strength {
    text-align: right;
}

.woocommerce-password-strength.strong {
    color: #0f834d;
}

.woocommerce-password-strength.short {
    color: #e2401c;
}

.woocommerce-password-strength.bad {
    color: #e2401c;
}

.woocommerce-password-strength.good {
    color: #3d9cd2;
}

/**
 * Forms
 */
.form-row.woocommerce-validated input.input-text {
    box-shadow: inset 2px 0 0 #0f834d;
}

.form-row.woocommerce-invalid input.input-text {
    box-shadow: inset 2px 0 0 #e2401c;
}

.required {
    color: #f00;
}

/**
 * Notices
 */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
    background-color: #e0d3ca;
    clear: both;
    padding: 15px 30px;
    outline: none;
    text-align: center;
    display: flex;
    margin: 0 auto;
    justify-content: center;
    width: fit-content;
}

.woocommerce-message a {
    margin-left: 30px;
    color: #000;
    border-bottom: 1px solid;
}

.woocommerce-info,
.woocommerce-noreviews,
p.no-comments {
    background-color: #e0d3ca;
}

.woocommerce-error {
    background-color: #e0d3ca;
}

.demo_store {
    position: fixed;
    left: 0;
    bottom: 0;
    right: 0;
    margin: 0;
    padding: 1em;
    background-color: #3d9cd2;
    z-index: 9999;
}

@media screen and (min-width: 48em) {

    /**
     * Header cart
     */
    .site-header-cart .widget_shopping_cart {
        position: absolute;
        top: 100%;
        width: 100%;
        z-index: 999999;
        left: -999em;
        display: block;
        box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    }

    .site-header-cart:hover .widget_shopping_cart,
    .site-header-cart.focus .widget_shopping_cart {
        left: 0;
        display: block;
    }
}

/**
 * WooCommerce widgets
 */

/**
 * WooCommerce Price Filter
 */
.widget_price_filter .price_slider {
    margin-bottom: 1.5em;
}

.widget_price_filter .price_slider_amount {
    text-align: right;
    line-height: 2.4;
}

.widget_price_filter .price_slider_amount .button {
    float: left;
}

.widget_price_filter .ui-slider {
    position: relative;
    text-align: left;
}

.widget_price_filter .ui-slider .ui-slider-handle {
    position: absolute;
    z-index: 2;
    width: 1em;
    height: 1em;
    cursor: ew-resize;
    outline: none;
    background: #4169e1;
    box-sizing: border-box;
    margin-top: -0.25em;
    opacity: 1;
}

.widget_price_filter .ui-slider .ui-slider-handle:last-child {
    margin-left: -1em;
}

.widget_price_filter .ui-slider .ui-slider-handle:hover,
.widget_price_filter .ui-slider .ui-slider-handle.ui-state-active {
    box-shadow: 0 0 0 0.25em rgba(0, 0, 0, 0.1);
}

.widget_price_filter .ui-slider .ui-slider-range {
    position: absolute;
    z-index: 1;
    display: block;
    border: 0;
    background: #4169e1;
}

.widget_price_filter .price_slider_wrapper .ui-widget-content {
    background: rgba(0, 0, 0, 0.1);
}

.widget_price_filter .ui-slider-horizontal {
    height: 0.5em;
}

.widget_price_filter .ui-slider-horizontal .ui-slider-range {
    height: 100%;
}

/* Button */

.wc-block-components-button {
    background-color: #61CE7000;
    font-weight: 500;
    padding: 18px 35px 18px 35px;
    text-decoration: none;
    color: #222;
    border: 2px solid;
    outline: unset
}

.wc-block-components-button:hover,
.wc-block-components-button:focus {

    background: #222;
    color: #fff;

}

/*SKINCARE*/

.product-tabs {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.product-tabs .btn-tab,
.product-tabs .btn-tab:hover {
    display: flex;
    border: 2px solid #222;
    background-color: transparent;
    color: #222;
    min-width: 400px;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
    font-weight: 500;
    cursor: pointer;
}

.product-tabs .btn-tab i.fa-solid {
    position: relative;
    top: -5px;
}

.product-cat-tab .btn-tab.active {
    color: #fff;
}

.product-cat-tab .btn-tab.active {
    border: 2px solid #ded3cb;
    background-color: #ded3cb;
    color: #222;
}


.product-cat-tab ul.taxonomy-list {
    display: flex;
    padding: 0;
    margin: 0;
    list-style-type: none;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 25px 50px;
    flex-wrap: wrap;
}


.product-cat-tab .tab-content {
    padding: 40px 0;
}

.product-cat-tab .tab-content ul.taxonomy-list a {
    font-size: 16px;
    font-weight: 600;
    color: #222;
	outline:unset
}

nav.woocommerce-breadcrumb {
    display: none;
}

/* AJAX Products */
ul.ajax-products {
    padding: 0;
    list-style-type: none;
    display: flex;
    flex-direction: row;
    margin: 0 0 40px;
    flex-wrap: wrap;
    gap: 30px;
}

ul.ajax-products li {
    width: calc(25% - 30px);
}

ul.ajax-products li h4 {
    text-align: center;
    font-weight: 500;
}

ul.ajax-products .product-info h4 a {
    color: #222;
}

ul.ajax-products .product-info span.price {
    text-align: center;
    display: block;
}


ul.ajax-products li .product-img {
    overflow: hidden;
    height: 200px;
}

ul.ajax-products li .product-img img {
    object-fit: cover;
    height: 100%;
    width: auto;
    margin: 0 auto;
    text-align: center;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: row;
}

.tab-content ul li {
    border-bottom: 1px solid #22222200;
    outline: unset;
}

.tab-content ul li.active,
.tab-content ul li:hover {
    border-bottom: 1px solid #222; outline: unset;
}




/* Shine */
.ajax-products li .product-img {
    position: relative;
    ajax-products
}

.ajax-products li .product-img::before {
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
}

.ajax-products li .product-img:hover::before {
    -webkit-animation: shine .75s;
    animation: shine .75s;
}

@-webkit-keyframes shine {
    100% {
        left: 125%;
    }
}

@keyframes shine {
    100% {
        left: 125%;
    }
}

.woocommerce-tabs.wc-tabs-wrapper {
    display: none;
}

/*Product info custom-accordion*/
.product-according-info .custom-accordion {
    margin-top: 30px;
    background: #eee;
    margin-bottom: 30px;
}

.product-according-info .accordion-item {
    border-top: 1px solid #eee;
}

.product-according-info .accordion-item:first-child {
    border-top: none;
}

.product-according-info .accordion-header {
    background: #f7f7f7;
    cursor: pointer;
    padding: 14px 20px;
    font-size: 14px;
    width: 100%;
    border: none;
    outline: none;
    text-align: left;
    transition: background 0.3s ease;
    font-weight: 500;
	display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.product-according-info .accordion-header .fa-solid{
	    margin: 0 0 0 auto;
	transition: all 0.3s ;
}
.product-according-info .accordion-header.active .fa-solid {
    transform: rotate(180deg);
}
.product-according-info .accordion-header::after {
	display:block;
	content:"";
}

.product-according-info .accordion-header:hover {
    background: #f7f7f7;
    color: #222;
}

.product-according-info .accordion-body {
     padding: 20px;
    font-size: 14px;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.3s;
    padding-block: 0;
}

.product-according-info .accordion-body p {
    font-size: 14px;
}

.product-according-info .accordion-body.active {
        height: unset;
    opacity: 1;
    padding-block: 20px 10px;
}


/*
#############################
ORDER RECived
##############################*/
.woocommerce-order-received .entry-title {
    text-align: center;
    font-weight: 500;
}

.woocommerce-order-received .woocommerce-order {
    margin: 0 auto;
    width: 960px;
    max-width: unset;
}

.woocommerce-order-received .woocommerce-thankyou-order-received {
    text-align: center;
    font-size: 18px;
}

.woocommerce-order-received ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
    padding: 0;
    margin: 0;
    display: flex;
    list-style-type: none;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    border: 1px solid #00000012;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 8px;
	background:#f2f2f2
}

.woocommerce-order-received ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details li {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 12px;
}

.woocommerce-order-received ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details li strong {
    font-size: 15px;
    font-weight: 500;
}

.woocommerce-order-received li.woocommerce-order-overview__total.total {
    order: 1;
}
.woocommerce-order-received thead {
    background: #f2f2f2;
}
.woocommerce-order-received .col2-set {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.woocommerce-order-received .woocommerce-table--order-details {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

.woocommerce-order-received .woocommerce-table--order-details td, .woocommerce-order-received .woocommerce-table--order-details th {
    border-bottom: 1px solid #00000012;
    padding: 10px  ;
}
.woocommerce-order-received .woocommerce-table--order-details thead th{
	border-bottom:2px solid #00000052;
	padding: 10px 20px;
	font-weight: 600;
}
.woocommerce-order-received  h2.woocommerce-column__title {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 22px;
}
.woocommerce-order-received .woocommerce-table--order-details th{

    font-size: 16px;
	font-weight:600

}
.woocommerce-order-received  .product-name a {
    color: #000;
    text-decoration: underline;
    font-size: 14px;
}
 
.woocommerce-order-received thead tr th.product-total{
	text-align:right;
}
.woocommerce-order-received .woocommerce-table--order-details th,
.woocommerce-order-received .woocommerce-table--order-details td {
    font-weight: 500;
    font-size: 14px;
    text-align: left;
}
 .woocommerce-order-received section.woocommerce-order-details > table > tfoot > tr:nth-child(3) > td{
	font-weight:bold;
}
.woocommerce-order-received .woocommerce-table--order-details tr td:last-child {
    text-align: right;
}

.woocommerce-order-received section.woocommerce-order-details {
    border-top: 1px solid #f2f2f2;
}
.woocommerce-order-received h2.woocommerce-order-details__title {
    font-weight: 500;
}
.woocommerce-order-received tfoot {
    text-align: left;
}
@media only screen and (max-width:990px) {

    ul.ajax-products li {
        width: calc(33% - 30px);
    }

    .product-tabs .btn-tab,
    .product-tabs .btn-tab:hover {
        padding: 20px 20px;
        min-width: 260px;
        font-size: 16px;
        gap: 15px;
    }

    .product-tabs {
        flex-wrap: wrap;
        gap: 30px
    }

    .single-product div.product .summary.entry-summary {
        width: 100%;
    }
}

@media only screen and (max-width:768px) {

    ul.ajax-products li {
        width: calc(50% - 30px);
    }

}

@media only screen and (max-width:560px) {
    .single-product div.product .woocommerce-product-gallery {
        position: relative;
        float: none;
        width: 200px;
        margin: 0 auto;
    }
}


@media only screen and (max-width:375px) {
    ul.ajax-products li h4 {

        font-size: 12px;
    }

    ul.ajax-products li .product-img {
        overflow: hidden;
        height: 150px;
    }
}