/**
 * Theme Name: Rey Child
 * Theme URI: http://newloong.com/
 * Description: This is a child theme of Acg.
 * Author: newloong.com
 * Author URI:  https://newloong.com
 * Template: rey
 * Version: 1.0.118
 * License: General Public License
 * License URI: http://www.gnu.org/licenses/gpl.html
 * Text Domain: rey-child
 */

.rey-ecommSidebar {
    section {
        border-bottom: 1px solid color-mix(in hsl, currentColor 8%, transparent);
        margin-top: 20px;
        padding-bottom: 20px;

        &:first-child {
            border-bottom: none;
            margin-top: 0;
            padding-bottom: 0;
        }
    }
}

/**
:root {



    --skin-cards-border-size: 1px;
    --skin-cards-border-radius: 14px;
    --skin-cards-border-size-hover: 6px;
    --loop-footer-item-atc-width: 100%;
    --lp-ov: hidden;


    --pdp-linked-title-fw: 500;
    --pdp-linked-title-color: var(--e-global-color-d7b32bd);
    --pdp-linked-title-tt: none;
    --pdp-linked-title-mb: 0.7em;
    --pdp-linked-title-fz: 28px;
    --woocommerce-form-comp-heights: 60px;


    --cart-panel-radius: 50px;
}

.rey-cartBtnQty {
    --pdp-qty-separator-display: none;
    --inline-distance: 10px;
    --qty-basic-br: 2rem;
    --pdp-btn-br: 2rem;
}

.woocommerce-product-gallery {
    --pdp-gallery-wrapper-border: 1px solid var(--e-global-color-0800f61);
    --pdp-gallery-wrapper-border-radius: 14px;
    --thumbs-radius: 100%;
}
*/

/* mega menu */
.first-up {

    .reyEl-menu-nav {
        li {
            &:first-child {
                font-weight: 600;
                font-size: 14px;
                margin-bottom: 16px;
            }
        }
    }
}

.rey-card.--manhattan .__captionBtn a:hover {
    opacity: 1 !important;
}

.btn.btn-primary,
.btn.btn-primary-outline,
.elementor-button-primary .elementor-button,
.elementor-button-primary-outline .elementor-button,
.woocommerce .button.rey-btn--primary,
.woocommerce .button.rey-btn--primary-out {
    --btn-color: #fff !important;
    --btn-bg-color: #088446 !important;
    --btn-padding: 5px 20px !important;
    --btn-bd-w: 0 !important;
    --btn-br: 100px !important;
    border: none !important;
}

.elementor-animation-grow:active,
.elementor-animation-grow:focus,
.elementor-animation-grow:hover,
.btn.btn-primary:hover,
.btn.btn-primary-outline:hover,
.elementor-button-primary .elementor-button:hover,
.woocommerce .button.rey-btn--primary:hover,
.elementor-button-primary-outline .elementor-button:hover,
.woocommerce .button.rey-btn--primary-out:hover {
    --btn-color: #fff !important;
    --btn-bg-color: #088446 !important;
    transform: perspective(1px)scale(1.044)translate(0, 0) !important;
}

/*
.rey-card.--manhattan .__captionBtn a:hover {
    --e-transform-scale: 1.02;
}*/

/*
.btn.btn-dash-line:hover, .btn.btn-dash:hover, .elementor-button-dashed .elementor-button:hover {
    --btn-dash-t: initial;
}
*/

/** Form button icon */
.button-arrow-right-circle {
    .elementor-button-icon {
        border: 2px solid;
        border-radius: 100px;
        padding: 12px 10.5px;
    }

    .elementor-button-content-wrapper {
        &:hover {
            .elementor-button-icon {
                -webkit-animation: r-icon-hover .3s ease-out;
                animation: r-icon-hover .3s ease-out;
            }
        }
    }
}

.wpml-ls-legacy-list-horizontal {
    padding: 0;

    a:first-child {
        padding-left: 0;
    }
}

.rey-mainNavigation--desktop .--megamenu-support .elementor-image-box-wrapper,
.rey-mainNavigation--desktop .--megamenu-support .has-post-thumbnail {
    display: flex;
    column-gap: 20px;

    img {
        aspect-ratio: 3/2;
    }

    .elementor-image-box-description,
    .elementor-post__excerpt p {
        width: 258px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        line-height: 27px;
        max-height: 81px;
        line-clamp: 3;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }
}

.rey-summaryAcc-accItem {
    font-size: 1.125rem;
}

.rey-pBadge {
    border: 1px solid #000 !important;
    border-radius: 100px;
    padding: 1px 7px;
    box-shadow: none !important;
}

.rey-pBadge span {
    background: transparent !important;
}

.menu-item {
    a {
        display: inline-block;
        position: relative;
        --btn-line-l:0;

        &:after {
            content: "";
            position: absolute;
            display: block;
            opacity: var(--btn-line-o, 1);
            width: var(--btn-line-w, 100%);
            height: var(--btn-line-size, 2px);
            bottom: var(--btn-line-b, 0);
            top: var(--btn-line-t, initial);
            background-color: var(--btn-line-bgc, currentColor);
            -webkit-transition: .4s var(--easeoutcubic, ease-out);
            transition: .4s var(--easeoutcubic, ease-out);
            -webkit-transition-property: opacity, -webkit-transform;
            transition-property: opacity, -webkit-transform;
            transition-property: transform, opacity;
            transition-property: transform, opacity, -webkit-transform;
            -webkit-transform: var(--btn-line-tr, scaleX(0));
            transform: var(--btn-line-tr, scaleX(0));
            -webkit-transform-origin: center var(--btn-line-to-x, right);
            transform-origin: center var(--btn-line-to-x, right);
            right: var(--btn-line-r, initial);
            inset-inline-start:var(--btn-line-l, initial)
        }

        &:hover {
            --btn-line-tr: scaleX(1);
            --btn-line-to-x: left;

            &:after {
                width: 100%;
                left: 0;
            }
        }
    }
}

/* Home page */
/*
.hide-active {
    .rey-toggleBoxes {
        .rey-toggleBox {
            &:after {
                content: "";
                position: absolute;
                display: block;
                opacity: var(--btn-line-o, 1);
                width: var(--btn-line-w, 100%);
                height: var(--btn-line-size, 2px);
                bottom: var(--btn-line-b, 0);
                top: var(--btn-line-t, initial);
                background-color: #088446;
                transition: .4s var(--easeoutcubic, ease-out);
                transition-property: transform, opacity transform: var(--btn-line-tr, scaleX(0));
                transform-origin: center var(--btn-line-to-x, right);
                right: var(--btn-line-r, initial);
                inset-inline-start: var(--btn-line-l, initial);
            }

            &:hover {
                &:after {
                    width: 100%;
                    left: 0;
                    --btn-line-tr: scaleX(1);
                    --btn-line-to-x: left;
                }
            }

            .rey-toggleBox-text-main {
                text-transform: none !important;
            }

            @media screen and (min-width: 1025px) {
                &.--active {
                    display: none;
                }
            }
        }
    }
}
*/
/*
.post-type-archive-product .rey-productInner, .tax-product_cat .rey-productInner {
	border-style: solid;
  border-width: 1px;
  border-radius: 20px;
  padding: 5px;
  border-color: transparent;
}
.post-type-archive-product .rey-productInner:hover, .tax-product_cat .rey-productInner:hover {
  border-color: #ccc;
}*/

.wdm-bulk-table {

    th:last-child,
    td:last-child {
        display: none;
    }
}

/* Variations styles */
.rey-swatchList .rey-swatchList-item--regular {
    --item-border-size: 1px;
    --item-selected-color: #fff;
    --item-bg-selected-color: #000;
    --item-border-size-selected: 0px;
}

.rey-swatchList .rey-swatchList-item--regular.--selected,
.rey-swatchList .rey-swatchList-item--regular.--selected:hover {
    color: #fff;
}

/* PLP - Sider Bar */
.rey-filterList.rey-filterList--color ul li {
    border-radius: 100px;

    a {
        border-radius: 100px;
    }
}

/* PDP - Cart form */
.rey-cartBtnQty {
    --pdp-qty-separator-display: none;
    --inline-distance: 10px;
    --qty-basic-br: 2rem;
    --pdp-btn-br: 2rem;
}

.horizontal-list {
    display: flex;
    justify-content: start;
    margin: 70px 0 20px;

    ul {
        display: flex;
        list-style: none;
        padding: 0;
    }

    li {
        margin: 0 20px 0 0;

        img {
            height: 60px;
        }
    }
}

.key-value-pairs {
    dl {
        display: flex;
        flex-wrap: wrap;
        margin: 0 0 5px;
    }

    dt {
        width: 30%;
    }

    dd {
        margin-left: auto;
        width: 70%;
    }

    ol {
        margin-top: 5px;
    }
}

/* sup {
    vertical-align: super;
    font-size: smaller;
} */

/* Products List Page */
li.product .rey-wishlistBtn.--in-wishlist .rey-wishlistBtn-icon {
    --icon-fill: #c30d23;

    path {
        stroke: #c30d23;
    }
}

:is(.reyajfilter-layered-nav, .woocommerce-widget-layered-nav).--style-checkboxes li .__checkbox:before {
    content: "";
    position: absolute;
    top: 50%;
    width: 7px;
    height: 7px;
    border: 3px solid HSL(var(--neutral-0));
    border-top: 3px solid HSL(var(--neutral-0));
    border-left: 3px solid HSL(var(--neutral-0));
    border-radius: 100px;
    opacity: 0;
    left: 50%;
    -webkit-transform: translate(-50%, -50%) rotate(45deg) scale(0.9);
    transform: translate(-50%, -50%) rotate(45deg) scale(0.9)
}

.reyajfilter-active-filters a {
    border-radius: 100px;
}

.reyajfilter-searchbox input {
    border-radius: 100px;
}

.elementor-field-type-textarea {
    textarea::placeholder {
        color: #aaa !important;
    }
}

.elementor-dragandrophandler {
    border: 1px solid #ccc !important;
    border-radius: 8px;
    height: auto !important;

  .elementor-dragandrophandler-inner {
    display: flex !important;
    line-height: normal !important;
    flex-direction: column-reverse;
    white-space: normal !important;
    padding-top: initial !important;

    .elementor-text-or,
    .elementor-text-drop,
    .elementor-text-browser > a {
        display: flex !important;
        color: #aaa !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        line-height: 24px !important;
        text-align: left !important;
    }
  } 
}

.elementor-animation-shrink:active, .elementor-animation-shrink:focus, .elementor-animation-shrink:hover {
    transform: scale(1.01) !important;
}

.elementor-field-type-checkbox .elementor-subgroup-inline {
  display: grid;
  gap: 10px;
}

/* Small devices (mobile/tablets, 767px and below) */
@media only screen and (max-width: 766px) {
  .elementor-field-type-checkbox {
    &.elementor-field-group-series .elementor-subgroup-inline {
      grid-template-columns: 1fr;
    }
  }
}

/* Medium devices (tablets/desktops, 768px and up) */
@media only screen and (min-width: 768px) {
  .elementor-field-type-checkbox {
    &.elementor-field-group-series .elementor-subgroup-inline {
      grid-template-columns: 1fr 1f;
    }
  }
}

@media only screen and (min-width: 1168px) {
  .elementor-field-type-checkbox {
    &.elementor-field-group-series .elementor-subgroup-inline {
      grid-template-columns: 1fr 1fr 1.1fr;
    }
  }
}

:is(.related.products,.upsells.products,.crosssells.products,.rey-extra-products) > h2 {
    font-size: 48px !important;
    text-transform: capitalize !important;
}

.rey-langSwitcher {
    a {
        gap: 8px;
    }
}
