/* Scoped plugin presentation; default store layout and transitions stay intact. */
.studio-access-tools {
    position: fixed;
    inset-inline-start: 16px;
    top: clamp(96px, 16vh, 128px);
    z-index: 99990;
    color: var(--studio-ink, #2D2925);
    font-family: Heebo, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}
.studio-access-tools > summary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    list-style: none;
    border: 1px solid var(--studio-line, #E3DED6);
    border-radius: 50%;
    background: var(--studio-surface, #FFFFFF);
    color: var(--studio-cocoa, #4B372D);
    cursor: pointer;
    box-shadow: 0 3px 16px rgb(75 55 45 / 10%);
}
.studio-access-tools > summary::-webkit-details-marker { display: none; }
.studio-access-tools > summary:hover,
.studio-access-tools[open] > summary { background: var(--studio-bg, #FBFAF7); }
.studio-access-panel {
    position: absolute;
    inset-inline-start: 0;
    top: 58px;
    width: min(280px, calc(100vw - 32px));
    max-height: calc(100dvh - 216px);
    overflow-y: auto;
    padding: 20px;
    border: 1px solid var(--studio-line, #E3DED6);
    border-radius: 12px;
    background: var(--studio-surface, #FFFFFF);
    box-shadow: 0 8px 28px rgb(75 55 45 / 12%);
    text-align: start;
}
.studio-access-panel > strong { display: block; font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.studio-access-panel .a11y-toolbar { position: static; direction: rtl; }
.studio-access-panel .a11y-toolbar ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.studio-access-panel .a11y-toolbar li { margin: 0; padding: 0; }
.studio-access-panel .a11y-toolbar button {
    width: 100%;
    min-height: 46px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin: 0;
    padding: 10px 12px;
    background: var(--studio-bg, #FBFAF7);
    border: 1px solid var(--studio-line, #E3DED6);
    border-radius: 4px;
    color: var(--studio-ink, #2D2925);
    font: 400 16px/1.5 Heebo, sans-serif;
    text-align: start;
    cursor: pointer;
}
.studio-access-panel .a11y-toolbar button .offscreen { position: static; width: auto; height: auto; clip: auto; clip-path: none; white-space: normal; }
.studio-access-panel .a11y-toolbar button[aria-pressed="true"] { background: var(--studio-cocoa, #4B372D); border-color: var(--studio-cocoa, #4B372D); color: var(--studio-surface, #FFFFFF); }
.studio-access-panel .a11y-toolbar button:hover { border-color: var(--studio-accent, #94533F); }
.studio-access-options { margin-top: 12px; }
.studio-access-panel .studio-access-options ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.studio-access-panel .studio-access-options button { height: 100%; justify-content: center; text-align: center; padding: 10px 6px; gap: 0; }
.studio-access-reset {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 10px 0;
    margin: 8px 0 0;
    border: 0;
    background: transparent;
    color: var(--studio-accent, #94533F);
    font: 400 16px/1.5 Heebo, sans-serif;
    cursor: pointer;
}
.studio-access-panel > a { display: block; padding-top: 8px; border-top: 1px solid var(--studio-line, #E3DED6); color: var(--studio-accent, #94533F); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.studio-access-tools :is(summary,button,a):focus-visible,
html body .cmplz-cookiebanner :is(button,a,input):focus-visible { outline: 2px solid var(--studio-accent, #94533F); outline-offset: 3px; }
html body .cmplz-cookiebanner {
    direction: rtl;
    text-align: start;
    font-family: Heebo, sans-serif;
    bottom: calc(var(--studio-dock-height, 0px) + 16px);
    max-height: calc(100dvh - var(--studio-dock-height, 0px) - 32px);
    overflow-y: auto;
    scrollbar-gutter: stable;
}
html body .cmplz-cookiebanner .cmplz-title { font-size: 18px; font-weight: 600; }
html body .cmplz-cookiebanner .cmplz-always-active { color: var(--studio-success, #42664A) !important; }
html body .cmplz-cookiebanner .cmplz-message { line-height: 1.7; }
html body .cmplz-cookiebanner .cmplz-buttons { gap: 8px; }
html body .cmplz-cookiebanner .cmplz-btn { min-height: 46px !important; margin: 0 !important; align-self: stretch; font: 500 16px/1.4 Heebo, sans-serif; padding: 10px 12px; }
html body .cmplz-cookiebanner .cmplz-category-header { direction: rtl; gap: 12px; }
html body .cmplz-cookiebanner .cmplz-category-title { margin-right: 0; margin-inline-end: auto; }
html body:has(.cmplz-cookiebanner.cmplz-show) .studio-access-tools { top: 96px; }
html body.studio-floating-obscured .studio-access-tools { display: none; }
html body:has(.elementor-location-header .elementor-nav-menu--dropdown.elementor-nav-menu__container[aria-hidden="false"]) .studio-access-tools { display: none; }
html body:has(.elementor-menu-cart__container[aria-hidden="false"]) .cmplz-cookiebanner { visibility: hidden !important; pointer-events: none; }
html body .elementor-location-footer :is(.studio-cookie-preferences, a[href="#cookie-preferences"]) { text-decoration: underline; text-underline-offset: 3px; }
@layer studio-redesign {
    html.fontsize body :is(h1, h2, h3, h4, p, a, button, label) { overflow-wrap: anywhere !important; }
    html.fontsize body :is(.e-flexbox, .e-div-block, .e-con, .elementor-widget) { min-width: 0 !important; }
    html.fontsize body [data-id="shop-category-nav"],
    html.fontsize body [data-id="shop-category-nav"] p { flex-wrap: wrap !important; }
    html.fontsize body .elementor-location-header [data-id="primary-navigation"] { flex: 0 0 44px !important; width: 44px !important; min-width: 44px !important; }
    html.fontsize body .elementor-location-header .elementor-nav-menu--main { display: none !important; }
    html.fontsize body .elementor-location-header .elementor-menu-toggle { display: flex !important; align-items: center; justify-content: center; }
    html.fontsize body .elementor-location-header .elementor-nav-menu--dropdown a.elementor-item { line-height: 1.5 !important; height: auto !important; white-space: normal !important; }
    html.fontsize body .studio-access-panel :is(button, a) { line-height: 1.5 !important; white-space: normal !important; }
    html.fontsize body .elementor-location-header .elementor-nav-menu--dropdown.elementor-nav-menu__container[aria-hidden="false"] {
        display: block !important;
        position: fixed !important;
        top: calc(var(--studio-access-header-height, 120px) + 8px) !important;
        right: 16px !important;
        left: 16px !important;
        width: auto !important;
        max-height: calc(100dvh - var(--studio-access-header-height, 120px) - 24px) !important;
        overflow-y: auto !important;
        background: var(--studio-surface, #FFFFFF) !important;
        border: 1px solid var(--studio-line, #E3DED6);
    }
    html.fontsize body .elementor-location-header [data-id="site-brand"] a { white-space: normal !important; }
    html.fontsize body :is(.woocommerce .button, .elementor-button, .studio-purchase-dock button, .cmplz-cookiebanner .cmplz-btn) { white-space: normal !important; overflow-wrap: break-word; }
    @media (max-width: 767px) {
        html.fontsize body .studio-home [data-id="home-products-grid"] .woocommerce ul.products,
        html.fontsize body [data-id="shop-archive-products"] .woocommerce ul.products,
        html.fontsize body [data-id="single-product-related"] ul.products { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; }
        html.fontsize body ul.products li.product { width: 100% !important; max-width: 100% !important; float: none !important; margin-inline: 0 !important; }
    }
}
@layer studio-accessibility {
    html.studio-access-links body a[href]:not(.studio-access-tools *) { text-decoration-line: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: .2em !important; outline: 2px solid currentColor !important; outline-offset: 2px !important; }
    html.studio-access-links body a[href]:focus-visible { outline-width: 3px !important; outline-style: dashed !important; }
    html.studio-access-readable body :is(h1, h2, h3, h4, h5, h6, p, a, button, input, textarea, select, label, legend):not(.studio-access-tools *) { font-family: Arial, sans-serif !important; }
    html.studio-access-spacing body main :is(p, li, label, input, textarea, select, td, th):not(.studio-access-tools *) { line-height: 1.8 !important; word-spacing: .12em !important; letter-spacing: .04em !important; }
    html.studio-access-spacing body main :is(h1, h2, h3, h4, h5, h6, button, a):not(.studio-access-tools *) { line-height: 1.5 !important; word-spacing: .12em !important; overflow-wrap: anywhere !important; white-space: normal !important; }
    html.studio-access-spacing body main :is(h1, h2, h3, h4, h5, h6, p) { max-height: none !important; -webkit-line-clamp: unset !important; }
    html.studio-access-motion, html.studio-access-motion *, html.studio-access-motion *::before, html.studio-access-motion *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; transition-delay: 0ms !important; animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; }
    html body.contrast .studio-access-option[aria-pressed="true"] { background-color: #FFFFFF !important; color: #111111 !important; }
}
@media (max-width: 767px) {
    .studio-access-tools { inset-inline-start: 12px; }
    .studio-access-panel { max-height: calc(100dvh - 216px); }
    html body .cmplz-cookiebanner { width: calc(100% - 24px); left: 12px; right: 12px; margin: 0; padding: 20px; bottom: calc(var(--studio-dock-height, 0px) + 12px); }
    html body .cmplz-cookiebanner .cmplz-header { display: flex; }
    html body .cmplz-cookiebanner .cmplz-title { display: block !important; text-align: start; }
    html body .cmplz-cookiebanner .cmplz-buttons { display: grid; grid-template-columns: 1fr 1fr; }
    html body .cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences,
    html body .cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
    .studio-access-tools *, html body .cmplz-cookiebanner * { transition: none !important; animation: none !important; }
}
