.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button {
    padding: 10px 20px;
    font-weight: 700;
    border: 0;
    border-radius: 0;
    background-color: #F09F4A !important;
    color: #fff;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button:hover,
.wc-block-components-button:hover {
    background-color: #000 !important;
    color: #fff;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #000;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0;
    margin-bottom:0;
    border-left: 1px solid #ddd;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    padding: 0 2rem;
    border-radius: 0;
    background-color: #FAFAFA;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a { 
    padding: .8rem 0;
    font-size: .9rem;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    border-bottom-color: #fff;
    font-weight: bold;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { 
    color: #F09F4A;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::after,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after, .woocommerce div.product .woocommerce-tabs ul.tabs li::before {
    display: none;
}


/* Style the tab list items */
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    display: inline-block; /* Makes the tabs sit side-by-side */
    margin-right: 5px; /* Adds some space between tabs */
}

.woocommerce div.product .woocommerce-tabs .panel {
    border: 1px solid #ddd;
    border-top: 0;
    padding: 20px;
}

@media (min-width: 992px) {
    .woocommerce div.product .woocommerce-tabs .panel {
        padding: 80px;
    }
}

.woocommerce-page .site-content {
    width: calc(100% - 40px);
    max-width: 1200px;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
}
/* tämä kavessi kassasivun, pitäis varmaan iffitellä, että jos sivupalkki. T 11.2.2025
@media (min-width: 992px) {
    .woocommerce-page .site-content {
        display: flex;
        flex-wrap: wrap;
    }
    .woocommerce-page .site-content > .widget-area { 
        order: 1;
        width: 25%;
        padding-right: 50px;
    }
    .woocommerce-page .site-content > .content-area {
        order: 2;
        width: 75%;
    }
}
*/

.woocommerce ul.products li.product .price, 
.wc-block-grid__product-price.price {
    color: #F09F4A;
    font-weight: 800;
    font-size: 1.25rem;
}
.discount-price {
    color: #F09F4A;
}
.original-price {
    color: #828282;
}
.woocommerce ul.products li.product .price .original-price,
.wc-block-grid__product-price.price .original-price,
.woocommerce ul.products li.product .price .price-description,
.wc-block-grid__product-price.price .price-description {
    font-size: 1.1rem;
    color: #494949;
}

.woocommerce ul.products li.product .dg-product-thumbnail-with-hover-overlay .price .original-price,
.woocommerce ul.products li.product .dg-product-thumbnail-with-hover-overlay .price .price-description {
 color: #fff;
}

.woocommerce ul.products li.product .price .price-description,
.wc-block-grid__product-price.price .price-description {
    font-size: .8rem;
    font-weight: 400;
}
.woocommerce-loop-product__title{
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    text-transform: none;
}

.woocommerce ul.products li.product .onsale {
    display: inline-block;
    top: auto;
    top: 7px;
    left: 0;
    right: auto;
    padding: 4px 8px;
    border-radius: 0;
    background-color: #F09F4A;
    color: #fff;
    line-height: 1;
    min-height: 0;
    min-width: 0;
}

.woocommerce .price,
.woocommerce ul.products li.product .price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}
.woocommerce .price > ins,
.woocommerce ul.products li.product .price > ins {
    order: 1;
    text-decoration: none;
    margin-right: 10px;
}
/* .woocommerce .price > del,
.woocommerce ul.products li.product .price > del{
    order: 2;
} */
.woocommerce div.product p.price del, .woocommerce div.product span.price del,
.woocommerce ul.products li.product .price > del {
    opacity: 1;
    font-weight: 400;
    color: #000;
}
.woocommerce ul.products li.product .price > del,
.woocommerce ul.products li.product .price > del {
    font-size: 1rem;    
}
.woocommerce .product_title.entry-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    text-transform: none;
}
.dg-hover-overlay .add_to_cart_inline > * {
    display: block !important;
    margin: auto;
}
.dg-hover-overlay .add_to_cart_inline {
  border: 0 !important;
  margin-bottom: 0;
}
.dg-hover-overlay .add_to_cart_inline .woocommerce-Price-amount {
    display: none !important;
}
.dg-hover-overlay .add_to_cart_inline,
.dg-hover-overlay a.added_to_cart {
    text-align: center;
}
.dg-hover-overlay a.added_to_cart {
    padding: 5px 10px !important;
    font-weight: 700;
}

.wc-block-components-form .wc-block-components-text-input input[type=email], .wc-block-components-form .wc-block-components-text-input input[type=number], .wc-block-components-form .wc-block-components-text-input input[type=tel], .wc-block-components-form .wc-block-components-text-input input[type=text], .wc-block-components-form .wc-block-components-text-input input[type=url], .wc-block-components-text-input input[type=email], .wc-block-components-text-input input[type=number], .wc-block-components-text-input input[type=tel], .wc-block-components-text-input input[type=text], .wc-block-components-text-input input[type=url] {
    border-radius: 0 !important;
}


@media (min-width: 992px) {
    li.product > .add_to_cart_button {
        display: none !important;
    }
}

a.woocommerce-loop-product__title_link:hover .woocommerce-loop-product__title {
    text-decoration: underline;
}
.woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
    line-height: 1.2;
}
.woocommerce-loop-product__title {
    font-weight: 600;
}

.woocommerce .quantity .qty {
    height: 36px;
    border-radius: 0 !important;
    border: 1px solid #D1D1D1;
}

.woocommerce a.added_to_cart {
    display: block;
}

.dg-product-brand-name {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.woocommerce .product_title.entry-title {
    font-size: 1.8rem !important;
    margin-bottom: 10px;
}