/*
Theme Name: Standish - Boutique de pieces
Theme URI: http: //mysite.com/
Description: Theme enfant par Standish
Author: Standish Communications
Author URI: https: //www.standish.ca/
Template: oceanwp
Version: 0.1
*/

.elementor.elementor-1047.dce-elementor-post-7712 img {
    width: auto;
}

.center-toggle-icon .elementor-toggle .elementor-tab-title {
    line-height: 75px
}

.center-toggle-icon .elementor-tab-title a {
    color: #ffffff !important;
}

#wpadminbar {
    display: none !important;
}

html {
    margin-top: 0 !important;
}

main#main {
    opacity: 0;
    transition: opacity 1.5s;
}

main#main.ready {
    opacity: 1;
}

.loading_animation {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%);
    opacity: 0 !important;
    visibility: hidden;
}

body:not(.ready) .loading_animation {
    opacity: 0.95;
    visibility: visible;
}

.woocommerce #order_review table.shop_table tbody td.product-name {
    font-weight: 600;
    line-height: 1.2;
    font-size: 1.1em;
}

.product_short_desc.warning {
    border: 1px solid #a13241;
    padding: 1em;
    margin-top: 0.5em;
    font-size: 0.9em;
    color: #a13241;
    background: #f4f1f2;
    text-transform: none;
    font-weight: normal;
}

li.title h2 .product_short_desc.warning {
    text-align: left;
    max-width: 90%;
    margin: auto;
    position: absolute;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s;
}

.xoo-wsc-pname .product_short_desc.warning {
    font-size: 0.75em;
}


.xoo-wsc-modal .xoo-wsc-sm-left .xoo-wsc-sml-qty,
.xoo-wsc-modal .xoo-wsc-sm-left .xoo-wsc-priceBox {
    display: none;
}

body .xoo-wsc-products:not(.xoo-wsc-pattern-card) .xoo-wsc-img-col {
    width: 20%;
}

.xoo-wsc-modal .xoo-wsc-products:not(.xoo-wsc-pattern-card) a {
    pointer-events: none !important;
}

body.woocommerce-order-received .woocommerce-order-details .product_short_desc.warning {
    margin-top: 0.5em;
    font-size: 16px;
    line-height: 1.2em;
    margin-bottom: 1em;
}

li.title h2 .dashicons.dashicons-warning {
    cursor: pointer;
    display: inline-block;
    margin-left: 0.25em;
}


ul.products .woo-entry-inner li.title h2 a {
    pointer-events: unset;
}

.elementor-products-grid ul.products.elementor-grid li.product {
    overflow: visible;
}

.dashicons.dashicons-warning:hover+.product_short_desc.warning,
.product_short_desc.warning.visible {
    opacity: 1;
    z-index: 10;
}

.product_short_desc.warning p:last-child {
    margin-bottom: 0;
}


body .xoo-wsc-container,
body .xoo-wsc-slider {
    max-width: 400px;
    right: -400px;
}

.grass {
    width: 300px;
    height: 80px;
    text-align: center;
    margin: 0 auto;
    border-bottom: 0.25rem solid #7b6855;
    overflow: hidden;
    padding: 0 11px;
}

.grass svg {
    fill: #5d9345;
    animation: skew 1.5s infinite;
    transform: skew;
    animation-direction: alternate;
}

@keyframes skew {
    0% {
        transform: skewX(13deg) translate(-7px);
    }

    100% {
        transform: skewX(-13deg) translate(7px);
    }
}

@media screen and (max-width: 768px) {
    .desktop_only {
        display: none;
    }
}

body.woocommerce-page.logged-in .woocommerce-billing-fields {
    display: block !important;
}

/* Remove link styling from product titles in grid */
.woo-entry-inner li.title h2 a {
    text-decoration: none;
    color: inherit;
    cursor: default;
}

/* Only show pointer cursor on dashicons */
.woo-entry-inner li.title h2 a .dashicons {
    cursor: pointer;
}

/* Ensure product short description is visible on order confirmation page */
.woocommerce-order-details td.product-name .product_short_desc {
    font-size: 14px !important;
}