/* ==========================================================
   LAYERS MED CORE
   Premium WooCommerce Product Page
   Version 1.4.0
========================================================== */

:root {
    --lm-purple: #4b2b91;
    --lm-purple-dark: #38206f;
    --lm-text: #171b27;
    --lm-muted: #6c6f78;
    --lm-border: #dedee5;
    --lm-soft-bg: #f6f5f7;
    --lm-white: #ffffff;
}


/* ==========================================================
   BASE + TRUE SITE ALIGNMENT
========================================================== */

.lm-product-page {
    width: 100%;
    background: var(--lm-white);
    color: var(--lm-text);
}

.lm-product-page *,
.lm-product-page *::before,
.lm-product-page *::after {
    box-sizing: border-box;
}

.lm-product-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 22px 30px 70px 30px;
}


/* ==========================================================
   BREADCRUMB
========================================================== */

.lm-breadcrumb {
    margin-bottom: 24px;
    min-width: 0;
}

.lm-breadcrumb .woocommerce-breadcrumb {
    margin: 0 !important;
    font-size: 12px;
    line-height: 1.5;
    color: #777;
}

.lm-breadcrumb .woocommerce-breadcrumb a {
    color: #777;
    text-decoration: none;
}

.lm-breadcrumb-separator {
    display: inline-block;
    margin: 0 7px;
    color: #aaa;
}


/* ==========================================================
   MAIN LAYOUT
========================================================== */

.lm-product-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.50fr)
        minmax(360px, .99fr);
    gap: 32px;
    align-items: start;
}


/* ==========================================================
   PRODUCT GALLERY
========================================================== */

.lm-product-gallery {
    width: 100%;
    min-width: 0;
}

.lm-product-gallery .woocommerce-product-gallery {
    --lm-gallery-main-height: auto;

    position: relative !important;

    width: 100% !important;
    float: none !important;

    display: grid !important;
    grid-template-columns:
        96px
        minmax(0, 1fr);
    gap: 14px;

    margin: 0 !important;
}

/* Main image / slider */
.lm-product-gallery .flex-viewport {
    grid-column: 2;
    grid-row: 1;

    width: 100% !important;
    min-width: 0;

    overflow: hidden !important;

    border-radius: 3px;
    background: #f4f3f5;
}

.lm-product-gallery
.woocommerce-product-gallery
> .woocommerce-product-gallery__wrapper {
    grid-column: 2;
    grid-row: 1;
}

.lm-product-gallery
.woocommerce-product-gallery__wrapper,
.lm-product-gallery
.woocommerce-product-gallery__image {
    margin: 0 !important;
}

.lm-product-gallery
.woocommerce-product-gallery__image img {
    display: block;

    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;

    margin: 0;

    object-fit: contain;
}


/* ---------- LEFT THUMBNAIL RAIL ---------- */

.lm-product-gallery .flex-control-thumbs {
    grid-column: 1;
    grid-row: 1;

    display: flex !important;
    flex-direction: column;

    gap: 12px;

    width: 100%;

    max-height:
        var(--lm-gallery-main-height);

    overflow-x: hidden;
    overflow-y: auto;

    overscroll-behavior: contain;
    scroll-behavior: smooth;
    scrollbar-width: none;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none;
}

.lm-product-gallery
.flex-control-thumbs::-webkit-scrollbar {
    display: none;
}

.lm-product-gallery
.flex-control-thumbs li {
    flex: 0 0 auto;

    width: 100% !important;
    float: none !important;

    margin: 0 !important;
}

.lm-product-gallery
.flex-control-thumbs img {
    display: block;

    width: 100% !important;
    height: 118px !important;

    object-fit: cover;

    border: 1px solid transparent;
    border-radius: 3px;

    opacity: 1 !important;

    cursor: pointer;

    transition:
        border-color .2s ease,
        opacity .2s ease,
        transform .2s ease;
}

.lm-product-gallery
.flex-control-thumbs img:hover {
    opacity: .82 !important;
}

.lm-product-gallery
.flex-control-thumbs img.flex-active {
    border-color: #222;
}


/* ---------- ZOOM / SEARCH ICON ---------- */
/* Keep it on top-right of the MAIN image; never below the gallery. */

.lm-product-gallery
.woocommerce-product-gallery__trigger {
    position: absolute !important;

    top: 12px !important;
    right: 12px !important;
    bottom: auto !important;
    left: auto !important;

    z-index: 30 !important;

    display: block !important;

    width: 38px !important;
    height: 38px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 50% !important;

    background: #fff !important;

    box-shadow:
        0 3px 14px
        rgba(0, 0, 0, .08);

    text-indent: -9999px;
    overflow: hidden;
}

.lm-product-gallery
.woocommerce-product-gallery__trigger::before {
    content: "" !important;

    position: absolute !important;

    top: 9px !important;
    left: 10px !important;

    width: 13px !important;
    height: 13px !important;

    border: 2px solid
        var(--lm-purple) !important;

    border-radius: 50% !important;

    background: transparent !important;
}

.lm-product-gallery
.woocommerce-product-gallery__trigger::after {
    content: "" !important;

    position: absolute !important;

    top: 22px !important;
    left: 22px !important;

    width: 8px !important;
    height: 2px !important;

    border: 0 !important;

    background:
        var(--lm-purple) !important;

    transform: rotate(45deg) !important;

    transform-origin: left center;
}


/* ==========================================================
   PRODUCT INFORMATION
========================================================== */

.lm-product-info {
    width: 100%;
    min-width: 0;
}

.lm-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 14px;

    margin-bottom: 10px;
}

.lm-product-title {
    margin: 0;

    font-size: 25px;
    line-height: 1.24;
    font-weight: 600;

    color: var(--lm-purple);
}

.lm-share-button {
    flex: 0 0 36px;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 4px;

    background: #fff;

    color: var(--lm-purple);

    padding: 7px;

    cursor: pointer;

    transition:
        background .2s ease,
        opacity .2s ease;
}

.lm-share-button:hover {
    background: #f6f3fb;
}

.lm-share-button svg {
    width: 21px;
    height: 21px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}


/* ---------- PRICE + RATING ---------- */

.lm-price-rating-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 18px;

    margin-bottom: 20px;
}

.lm-custom-product-price .price {
    margin: 0 !important;

    font-size: 30px !important;
    line-height: 1.15;
    font-weight: 600 !important;

    color: #111 !important;
}

.lm-custom-product-price .price del {
    display: inline-block;
    margin-right: 6px;

    font-size: 24px;

    opacity: .45;
}

.lm-custom-product-price .price ins {
    text-decoration: none;
}

.lm-product-rating {
    text-align: right;
}

.lm-product-rating
.woocommerce-product-rating {
    margin: 0 !important;
}

.lm-product-rating
.star-rating {
    color: #ef7e6f;
}


/* ==========================================================
   NATIVE WOOCOMMERCE FORM = ENGINE ONLY
========================================================== */

.lm-custom-product-cart form.cart {
    margin: 0 !important;
}

.lm-custom-product-cart
.variations_form {
    width: 100%;
}

.lm-custom-product-cart .variations {
    width: 100%;
    margin-bottom: 18px !important;
}

.lm-custom-product-cart
.variations th,
.lm-custom-product-cart
.variations td {
    padding: 6px 0 !important;
}

.lm-custom-product-cart
.variations select {
    width: 100%;
}

/* Hide native selects only after JS has built our controls. */
.lm-custom-product-cart
.lm-enhanced
.variations {
    display: none !important;
}


/* ==========================================================
   DYNAMIC ATTRIBUTES
========================================================== */

.lm-dynamic-attributes {
    width: 100%;
}

.lm-attribute-group {
    margin-bottom: 20px;
}

.lm-attribute-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 14px;

    margin-bottom: 9px;
}

.lm-attribute-label {
    display: flex;
    align-items: baseline;

    font-size: 16px;
    line-height: 1.4;

    color: #222;
}

.lm-attribute-label-title {
    font-weight: 600;
}

.lm-attribute-current {
    margin-left: 3px;

    font-size: 14px;

    text-transform: uppercase;

    color: #777;
}

.lm-attribute-choices {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;
}


/* ==========================================================
   COLOR SWATCHES
========================================================== */

.lm-color-choice {
    width: 30px;
    height: 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid transparent;
    border-radius: 50%;

    background: transparent;

    padding: 3px;

    cursor: pointer;

    transition:
        border-color .2s ease,
        transform .2s ease;
}

.lm-color-swatch {
    display: block;

    width: 20px;
    height: 20px;

    border: 1px solid
        rgba(0, 0, 0, .12);

    border-radius: 50%;
}

.lm-color-choice:hover {
    transform: translateY(-1px);
}

.lm-color-choice.is-selected {
    border-color:
        var(--lm-purple);
}


/* ==========================================================
   SIZE + FUTURE ATTRIBUTE BUTTONS
========================================================== */

.lm-size-choice {
    position: relative;

    min-width: 36px;
    height: 36px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 9px;

    border: 1px solid #a99bc5;
    border-radius: 18px;

    background: #fff;

    color: var(--lm-purple);

    font-size: 14px;
    line-height: 1;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.lm-size-choice:hover {
    border-color: var(--lm-purple);
}

.lm-size-choice.is-selected {
    border-color: var(--lm-purple);
    background: var(--lm-purple);
    color: #fff;
}


.lm-pill-choice {
    position: relative;

    min-height: 36px;

    padding: 7px 13px;

    border: 1px solid #a99bc5;
    border-radius: 5px;

    background: #fff;

    color: var(--lm-purple);

    font-size: 14px;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.lm-pill-choice:hover {
    border-color: var(--lm-purple);
}

.lm-pill-choice.is-selected {
    border-color: var(--lm-purple);
    background: var(--lm-purple);
    color: #fff;
}


/* Disabled variation values */
.lm-attribute-choice:disabled,
.lm-attribute-choice.is-unavailable {
    opacity: .3;

    cursor: not-allowed;
}

.lm-size-choice.is-unavailable::after,
.lm-pill-choice.is-unavailable::after {
    content: "";

    position: absolute;

    width: 68%;
    height: 1px;

    background: #777;

    transform: rotate(-35deg);
}


/* ---------- SIZE CHART ---------- */

.lm-size-chart-trigger {
    border: 0;
    background: transparent;

    padding: 0;

    color: var(--lm-purple);

    font-size: 14px;
    text-decoration: underline;

    cursor: pointer;
}


/* ---------- RESET ---------- */

.lm-reset-variations {
    display: inline-block;

    margin: -5px 0 14px;
    padding: 0;

    border: 0;

    background: transparent;

    color: #777;

    font-size: 14px;
    text-decoration: underline;

    cursor: pointer;
}


/* ---------- VARIATION INFO ---------- */

.lm-custom-product-cart
.single_variation {
    margin: 5px 0 10px;
}

.lm-custom-product-cart
.woocommerce-variation-price {
    display: none;
}

.lm-custom-product-cart
.woocommerce-variation-availability p {
    margin: 0 0 8px;
    font-size: 16px;
}


/* ==========================================================
   QUANTITY: - / NUMBER / +   +   ADD TO CART
========================================================== */

.lm-custom-product-cart
.woocommerce-variation-add-to-cart,
.lm-custom-product-cart
form.cart:not(.variations_form) {
    display: grid !important;

    grid-template-columns:
        122px
        minmax(0, 1fr);

    gap: 10px;

    width: 100%;
}

.lm-custom-product-cart .quantity {
    width: 122px !important;
    min-width: 122px !important;
    height: 46px !important;

    display: grid !important;
    grid-template-columns:
        36px
        minmax(36px, 1fr)
        36px;

    align-items: center;

    border: 1px solid #b7abc9;
    border-radius: 4px;

    overflow: hidden;

    background: #fff !important;
}

.lm-custom-product-cart
.quantity .qty {
    display: block !important;

    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    background: #fff !important;

    color: #222 !important;

    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 44px !important;

    text-align: center !important;

    opacity: 1 !important;
    visibility: visible !important;

    -moz-appearance: textfield;
    appearance: textfield;
}

.lm-custom-product-cart
.quantity .qty::-webkit-inner-spin-button,
.lm-custom-product-cart
.quantity .qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.lm-qty-button {
    width: 36px !important;
    height: 44px !important;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: #fff !important;

    color: var(--lm-purple) !important;

    font-size: 24px !important;
    line-height: 1 !important;

    cursor: pointer;
}

.lm-custom-product-cart
.single_add_to_cart_button {
    width: 100% !important;
    min-height: 46px !important;

    margin: 0 !important;

    border: 0 !important;
    border-radius: 4px !important;

    background:
        var(--lm-purple) !important;

    color: #fff !important;

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

    text-transform: uppercase;
    letter-spacing: .03em;

    transition:
        background .2s ease,
        opacity .2s ease;
}

.lm-custom-product-cart
.single_add_to_cart_button:hover {
    background:
        var(--lm-purple-dark) !important;
}

.lm-custom-product-cart
.single_add_to_cart_button.disabled {
    opacity: .45;
}


/* ==========================================================
   USP ROW
========================================================== */

.lm-product-usps {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    gap: 8px;

    margin-top: 24px;

    padding: 18px 0 20px;

    border-bottom:
        1px solid var(--lm-border);
}

.lm-usp {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 7px;

    text-align: center;

    font-size: 14px;
    line-height: 1.35;

    color: #555;
}

.lm-usp-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;
}

.lm-usp-icon svg {
    width: 23px;
    height: 23px;

    fill: none;

    stroke: #555;
    stroke-width: 1.4;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ==========================================================
   THREE REQUIRED DYNAMIC ACCORDIONS
========================================================== */

.lm-product-accordions {
    width: 100%;
}

.lm-accordion-item {
    border-bottom:
        1px solid var(--lm-border);
}

.lm-accordion-button {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 18px 0;

    border: 0;

    background: transparent;

    color: #111;

    font: inherit;

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

    text-align: left;

    cursor: pointer;
}

.lm-accordion-icon {
    flex: 0 0 auto;

    font-size: 20px;
    line-height: 1;
    font-weight: 300;

    transition:
        transform .25s ease;
}

.lm-accordion-button[
    aria-expanded="true"
]
.lm-accordion-icon {
    transform: rotate(45deg);
}

.lm-accordion-panel {
    overflow: hidden;

    max-height: 0;

    transition:
        max-height .28s ease;
}

.lm-accordion-content {
    padding: 0 0 18px;

    color: #555;

    font-size: 14px;
    line-height: 1.65;
}

.lm-accordion-content p:last-child {
    margin-bottom: 0;
}


/* ==========================================================
   SIZE CHART MODAL
========================================================== */

body.lm-modal-open {
    overflow: hidden;
}

.lm-size-chart-modal {
    position: fixed;

    inset: 0;

    z-index: 999999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;
}

.lm-size-chart-modal.is-open {
    display: flex;
}

.lm-size-chart-backdrop {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;

    background:
        rgba(0, 0, 0, .55);

    cursor: pointer;
}

.lm-size-chart-dialog {
    position: relative;

    z-index: 2;

    width: min(620px, 100%);
    max-height: 90vh;

    overflow: auto;

    background: #fff;

    border-radius: 7px;

    box-shadow:
        0 15px 50px
        rgba(0, 0, 0, .2);
}

.lm-size-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 15px 18px;

    border-bottom:
        1px solid var(--lm-border);
}

.lm-size-chart-header h2 {
    margin: 0;
    font-size: 18px;
}

.lm-size-chart-close {
    width: 35px;
    height: 35px;

    border: 0;

    background: transparent;

    font-size: 25px;

    cursor: pointer;
}

.lm-size-chart-body {
    padding: 18px;
}

.lm-size-chart-body img {
    display: block;

    width: 100%;
    height: auto;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1024px) {

    .lm-product-container {
        padding:
            18px 20px
            55px;
    }

    .lm-product-layout {
        grid-template-columns:
            minmax(0, 1.10fr)
            minmax(320px, .9fr);

        gap: 22px;
    }

    .lm-product-gallery
    .woocommerce-product-gallery {
        grid-template-columns:
            76px
            minmax(0, 1fr);

        gap: 10px;
    }

    .lm-product-gallery
    .flex-control-thumbs {
        gap: 10px;
    }

    .lm-product-gallery
    .flex-control-thumbs img {
        height: 92px !important;
    }

    .lm-product-title {
        font-size: 22px;
    }
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767px) {

    .lm-product-container {
        width: 100%;

        padding:
            12px 0px
            45px;
    }

    .lm-breadcrumb {
        width: 100%;

        margin-bottom: 14px;

        overflow-x: auto;
        overflow-y: hidden;

        white-space: nowrap;

        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
    }

    .lm-breadcrumb::-webkit-scrollbar {
        display: none;
    }

    .lm-product-layout {
        display: block;
    }

    .lm-product-gallery {
        margin-bottom: 24px;
    }

    .lm-product-gallery
    .woocommerce-product-gallery {
        display: flex !important;
        flex-direction: column;

        gap: 10px;

        width: 100% !important;
    }

    .lm-product-gallery
    .flex-viewport,
    .lm-product-gallery
    .woocommerce-product-gallery
    > .woocommerce-product-gallery__wrapper {
        order: 1;

        width: 100% !important;
    }

    .lm-product-gallery
    .woocommerce-product-gallery__image img {
        width: 100% !important;
        height: auto !important;

        object-fit: contain;
    }

    /*
     * Real touch-scrollable thumbnail rail.
     */
    .lm-product-gallery
    .flex-control-thumbs {
        order: 2;

        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        max-height: none !important;

        gap: 9px;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        overscroll-behavior-x: contain;

        scroll-snap-type: x proximity;
        scroll-behavior: smooth;

        -webkit-overflow-scrolling: touch;

        /*
         * Vertical page scroll remains native.
         * Horizontal thumbnail dragging is handled by our JS.
         */
        touch-action: pan-y !important;

        padding: 0 0 4px !important;

        scrollbar-width: none;

        cursor: grab;

        user-select: none;
        -webkit-user-select: none;
    }

    .lm-product-gallery
    .flex-control-thumbs.is-dragging {
        cursor: grabbing;
        scroll-snap-type: none;
    }

    .lm-product-gallery
    .flex-control-thumbs::-webkit-scrollbar {
        display: none;
    }

    .lm-product-gallery
    .flex-control-thumbs li {
        flex: 0 0 88px !important;

        width: 88px !important;
        min-width: 88px !important;
        max-width: 88px !important;

        scroll-snap-align: start;
        scroll-snap-stop: normal;
    }

    .lm-product-gallery
    .flex-control-thumbs img {
        display: block !important;

        width: 88px !important;
        min-width: 88px !important;
        max-width: 88px !important;

        height: 108px !important;

        object-fit: cover;

        user-select: none;
        -webkit-user-select: none;
        -webkit-user-drag: none;

        touch-action: inherit;
    }

    .lm-product-gallery
    .woocommerce-product-gallery__trigger {
        top: 10px !important;
        right: 10px !important;

        width: 36px !important;
        height: 36px !important;
    }

    .lm-product-info {
        width: 100%;
    }

    .lm-product-title {
        font-size: 21px;
    }

    .lm-custom-product-price
    .price {
        font-size:
            22px !important;
    }

    .lm-price-rating-row {
        margin-bottom: 18px;
    }

    .lm-attribute-group {
        margin-bottom: 18px;
    }

    .lm-attribute-choices {
        gap: 8px;
    }

    .lm-product-usps {
        gap: 4px;
    }

    .lm-usp {
        font-size: 9px;
    }

    .lm-custom-product-cart
    .woocommerce-variation-add-to-cart,
    .lm-custom-product-cart
    form.cart:not(.variations_form) {
        grid-template-columns:
            112px
            minmax(0, 1fr);

        gap: 8px;
    }

    .lm-custom-product-cart .quantity {
        width: 112px !important;
        min-width: 112px !important;

        grid-template-columns:
            34px
            minmax(34px, 1fr)
            34px;
    }

    .lm-qty-button {
        width: 34px !important;
    }
}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 420px) {

    .lm-title-row {
        gap: 8px;
    }

    .lm-product-title {
        font-size: 20px;
    }

    .lm-product-gallery
    .flex-control-thumbs li {
        flex-basis: 78px;

        width: 78px !important;
        min-width: 78px !important;
    }

    .lm-product-gallery
    .flex-control-thumbs img {
        width: 78px !important;
        height: 98px !important;
    }

    .lm-product-usps {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }
}
\n\n/* ==========================================================\n   ACCORDION STATE OVERRIDES\n   Keep accordion rows transparent even when Astra applies\n   button hover/focus/active styles.\n========================================================== */\n\n.lm-product-accordions .lm-accordion-button,\n.lm-product-accordions .lm-accordion-button:hover,\n.lm-product-accordions .lm-accordion-button:focus,\n.lm-product-accordions .lm-accordion-button:active,\n.lm-product-accordions .lm-accordion-button[aria-expanded="true"] {\n    -webkit-appearance: none !important;\n    appearance: none !important;\n\n    background: transparent !important;\n    background-color: transparent !important;\n    background-image: none !important;\n\n    color: #111 !important;\n\n    border: 0 !important;\n    box-shadow: none !important;\n}\n\n.lm-product-accordions .lm-accordion-button:focus-visible {\n    outline: 2px solid rgba(75, 43, 145, .25);\n    outline-offset: 2px;\n}\n\n.lm-product-accordions .lm-accordion-button[aria-expanded="true"]\n.lm-accordion-icon {\n    color: #111 !important;\n}\n



/* ==========================================================
   FIX: Accordion hover / focus / open background
========================================================== */

.lm-product-page .lm-accordion-button,
.lm-product-page .lm-accordion-button:hover,
.lm-product-page .lm-accordion-button:focus,
.lm-product-page .lm-accordion-button:focus-visible,
.lm-product-page .lm-accordion-button:active,
.lm-product-page .lm-accordion-button[aria-expanded="true"],
.lm-product-page .lm-accordion-item.is-open .lm-accordion-button {
    background: transparent !important;
    background-color: transparent !important;
    color: #111111 !important;

    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;

    transform: none !important;
}

/* Keep accordion icon black too */
.lm-product-page .lm-accordion-button .lm-accordion-icon,
.lm-product-page .lm-accordion-button:hover .lm-accordion-icon,
.lm-product-page .lm-accordion-button:focus .lm-accordion-icon,
.lm-product-page .lm-accordion-button[aria-expanded="true"] .lm-accordion-icon {
    color: #111111 !important;
    background: transparent !important;
}

/* Open accordion content also always white/transparent */
.lm-product-page .lm-accordion-panel,
.lm-product-page .lm-accordion-content,
.lm-product-page .lm-accordion-item.is-open,
.lm-product-page .lm-accordion-item.is-open .lm-accordion-panel,
.lm-product-page .lm-accordion-item.is-open .lm-accordion-content {
    background: transparent !important;
    background-color: transparent !important;
}



/* ==========================================================
   FIX: Prevent refresh flash / native WooCommerce UI
========================================================== */

/* WooCommerce gallery ko JS init se pehle bhi visible rakho */
.lm-product-page
.lm-product-gallery
.woocommerce-product-gallery {
    opacity: 1 !important;
}

.lm-product-page
.lm-product-gallery
.woocommerce-product-gallery__wrapper {
    opacity: 1 !important;
}


/*
 * Native variation form DOM me rahega,
 * but customer ko JS enhance hone tak dikhega nahi.
 *
 * display:none use nahi kar rahe because WooCommerce
 * ko variation selects DOM me available rehne chahiye.
 */
.lm-product-page
.lm-custom-product-cart
.variations_form {
    opacity: 0;
    pointer-events: none;

    transition: opacity 0.12s ease;
}


/* Custom controls ready hote hi form show */
.lm-product-page
.lm-custom-product-cart
.variations_form.lm-enhanced {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================
   V1.6 — PRICE / TAX / REVIEW SUMMARY
   Matches the supplied reference: price + tax note on left,
   numeric rating + stars + review count on right.
========================================================== */

.lm-product-page .lm-price-rating-row {
    align-items: flex-start;
}

.lm-product-page .lm-tax-note {
    margin-top: 8px;

    color: #747474;

    font-size: 14px;
    line-height: 1.3;
    font-weight: 400;
}

.lm-product-page .lm-product-rating {
    min-width: 150px;

    display: flex;
    flex-direction: column;
    align-items: flex-end;

    text-align: right;
}

.lm-product-page .lm-top-rating-value {
    color: var(--lm-purple);

    font-size: 25px;
    line-height: 1;
    font-weight: 600;
}

.lm-product-page .lm-top-rating-stars {
    position: relative;

    display: inline-block;

    margin-top: 9px;

    font-size: 20px;
    line-height: 1;
    letter-spacing: 1px;

    white-space: nowrap;
}

.lm-product-page .lm-top-stars-back {
    display: block;

    color: #f4c6bd;
}

.lm-product-page .lm-top-stars-front {
    position: absolute;

    top: 0;
    left: 0;

    display: block;

    overflow: hidden;

    color: #ef7e6f;

    white-space: nowrap;
}

.lm-product-page .lm-top-review-link {
    display: inline-block;

    margin-top: 7px;

    color: #686868 !important;

    font-size: 13px;
    line-height: 1.2;

    text-decoration: underline !important;
    text-underline-offset: 2px;
}

.lm-product-page .lm-top-review-link:hover {
    color: var(--lm-purple) !important;
}

@media (max-width: 767px) {

    .lm-product-page .lm-tax-note {
        font-size: 12px;
    }

    .lm-product-page .lm-product-rating {
        min-width: 122px;
    }

    .lm-product-page .lm-top-rating-value {
        font-size: 21px;
    }

    .lm-product-page .lm-top-rating-stars {
        font-size: 17px;
    }

    .lm-product-page .lm-top-review-link {
        font-size: 11px;
    }
}
