/* Mobile-only theme overrides */

/* ===== Mobile Menu Styles ===== */
.menu-toggle {
    display: none !important;
}

.wc-block-product-filters__open-overlay {
    display: none;
}

button.menu-toggle::before {
    transform: translateY(-7px);
}

button.menu-toggle::after {
    transform: translateY(7px);
}

button.menu-toggle::before,
button.menu-toggle::after,
button.menu-toggle span::before {

    height: 2px;
    width: 22px;
    border-radius: 5px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: -100vh;
    left: 0;
    width: 100%;
    max-width: 100%;
    max-height: calc(100vh - 100px);
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 998;
    transition: top 0.3s ease;
    overflow-y: auto;
    padding-top: 0;
}

.mobile-menu.is-open {
    top: 100px;
}

.mobile-menu-content {
    padding: 1rem 0;
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.mobile-menu-list li {
    margin: 0;
}

.mobile-menu-list li a {
    display: block;
    padding: 1rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
    text-align: center;
}

.mobile-menu-list li a:hover {
    background-color: #f5f5f5;
}

.mobile-menu-list li.current-menu-item>a {
    color: var(--text-color);
    font-weight: 800;
}

/* Mobile Menu Actions */
.mobile-menu-actions {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-menu-btn {
    display: block;
    padding: 15px 40px;
    text-align: center;
    text-decoration: none;
    font-weight: 800 !important;
    transition: background-color 0.2s ease;
    position: relative;
    color: var(--text-color);
    padding-left: 60px;
    max-width: 400px !important;
    width: 100%;
    margin: 0 auto;
    box-shadow: 2px 2px 4px 0px #00000040;
        font-weight: normal !important;
            font-size: 18px!important;
}

.mobile-menu-btn--request {
    --pad-y: 12px;
    --fold-size: calc(1lh + (var(--pad-y) * 2));
    --fold-w: 24px;
    --fold-w: calc(var(--fold-size) * 61 / 111 - 2px);
    --rail-w: 16px;
    --rail-w: calc(var(--fold-size) * 33 / 111 - 1px);
    border: none;
    color: var(--text-color);
    background-color: transparent;
    max-width: 250px;
    margin: 0 auto;
    box-sizing: border-box;
    /* Offset right/down so shadow skips the folded left edge. */
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
    background-image:
        linear-gradient(var(--text-color), var(--text-color)),
        linear-gradient(var(--text-color), var(--text-color)),
        linear-gradient(var(--text-color), var(--text-color));
    background-size:
        calc(100% - var(--fold-w)) 1px,
        1px 100%,
        calc(100% - var(--rail-w)) 1px;
    background-position:
        right top,
        right top,
        right bottom;
    background-repeat: no-repeat;
}
.mobile-menu-btn::before,
.mobile-menu-btn--request::before {
    content: "";
    display: block;
    position: absolute;
    left: -1px;
    top: -1px;
    height: calc(100% + 1px);
    aspect-ratio: 72 / 111;
    width: auto;
    background-image: url("../images/lite-note-icon.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
}

.mobile-menu-btn--request:hover {
    background-color: #f5f5f5;
}

.mobile-menu-btn--subscribe {
    background-color: #c8a46a !important;
    color: var(--text-color) !important;
    border-radius: 24 px 0 0 0 !important;
}

.mobile-menu-btn--subscribe::before {
content: "";
    display: block;
    position: absolute;
    left: -1px;
    top: -1px;
    height: calc(100% );
    aspect-ratio: 72 / 111;
    width: auto;
    background-image: url("../images/dark-note-icon.png");
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 8px;
    position: absolute;
   
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
    border-top: 1px solid #eee;
}

.mobile-menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
    position: relative;
}

.mobile-menu-icon--cart::after {
    content: "";
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 24px;
    background-color: #ddd;
}

.mobile-menu-icon:hover {
    color: var(--primary-color);
}

.mobile-menu-icon--cart img {
    width: 24px;
    height: 24px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 997;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.is-open {
    display: block;
}

/* Account nav overlay (mobile account pages) */
.amll-account-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 997;
    transition: opacity 0.3s ease;
}

.amll-account-nav-overlay.is-open {
    display: block;
}

/* ===== End Mobile Menu Styles ===== */

@media screen and (max-width: 1270px) {

    .custom-header-right .request-note,
    .custom-header-right .subscribe-btn {
        display: none !important;
    }

    .hero-note-image img {

        padding: 1rem 1rem !important;
    }

    .hero-note-title a {
        font-size: 1rem !important;
    }

    ul.products {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    ul.products li {
        min-width: 250px !important;
    }

    .custom-hero h1,
    .custom-hero h2 {
        font-size: 50px !important;
    }

    .custom-hero p {
        font-size: 1.4rem !important;
    }

    .footer-widgets {
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
    }

    h3.wp-block-heading {
        text-align: left !important;
        font-size: 1.4rem !important;
        margin-bottom: 1rem !important;
    }
}

@media screen and (max-width: 1180px) {
    .shop-banner-wrapper {
        display: none !important;
    }

    .site-main ul.products.columns-4 li.product {

        max-width: 350px !important;
    }

    .woocommerce .content-area {
        width: 60.913043% !important;
        margin-right: 0 !important;
        float: right !important;
    }

    .woocommerce .widget-area {
        width: 34.73913% !important;
        margin-right: 2.347826% !important;
        float: left !important;
    }

    .site-main ul.products.columns-4 li.product {
        width: 100% !important;
    }

    ul.products li.product .woocommerce-LoopProduct-link img {
        padding: 0.5rem !important;
    }

    .shop-links {

        margin: 2rem 0 2rem !important;
    }

    .metadata-item {
        min-width: 90px !important;
    }

    .wp-block-media-text.is-image-fill-element>.wp-block-media-text__media {
        width: 100%;
        max-width: 900px;
        margin: 0 auto;
    }

    .wp-custom-css-a6f6ced5 {
        flex-wrap: wrap;
        display: flex;
    }

    .wp-container-core-group-is-layout-f9faaab3 {

        margin-bottom: 36px !important;
    }

    .wc-block-cart__submit-button::before {
        height: 53px !important;
        top: -1px !important;
    }


}

@media screen and (max-width: 1080px) {
    .woocommerce .left-sidebar .content-area {
        width: 50.913043% !important;

    }

    .about-blocks {
        display: none;
    }

    .about-blocks--mobile {
        position: relative !important;
        display: block !important;
        padding: 2rem 2.5rem !important;
        width: 100vw !important;
        max-width: 100vw !important;
        margin-inline: calc(50% - 50vw) !important;
    }

    .woocommerce .left-sidebar .widget-area {
        width: 44.73913% !important;

    }

    .amll-orders-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        border: 0;
    }

    /* --- Unified card layout for all My Account tables --- */
    .amll-orders-table,
    .amll-orders-table tbody,
    .amll-orders-table tbody tr,
    .amll-orders-table tbody td {
        display: block;
        width: 100% !important;
    }

    .amll-orders-table {
        box-shadow: none;
        border-radius: 0;
        background: transparent;
    }

    .amll-orders-table tbody tr {
        position: relative;
        background: #ffffff;
        border-radius: 12px 12px 8px 8px;
        padding: 10px 4px;
        margin-bottom: 8px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: min-content min-content min-content min-content;
        grid-template-areas:
            "card-title card-badge"
            "card-date   ."
            "card-divider card-divider"
            "card-value  card-action";
        column-gap: 4px;
        row-gap: 0;
        align-items: start;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    }

    .amll-orders-table tbody tr::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: #c8a46a;
        border-radius: 12px 12px 0 0;
    }

    .amll-orders-table tbody tr:last-child {
        margin-bottom: 0;
    }

    .amll-orders-table tbody td {
        width: auto !important;
        padding: 0;
        border: none !important;
        border-bottom: none !important;
        background: transparent !important;
    }

    .amll-orders-table tbody td:nth-child(1),
    .amll-orders-table tbody td:nth-child(2),
    .amll-orders-table tbody td:nth-child(3) {
        border-bottom: none !important;
    }

    .amll-orders-table tbody td::before,
    .woocommerce table.shop_table_responsive.amll-orders-table tbody tr td::before {
        display: none !important;
        content: none !important;
    }

    /* Unified 5-col card: title | badge, date, divider, value | action */
    .amll-orders-table tbody td:nth-child(1) {
        grid-area: card-title;
        min-width: 0;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.2;
        color: var(--text-color);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        align-self: center;
    }

    .amll-orders-table tbody td:nth-child(1) a {
        color: var(--text-color);
        text-decoration: none;
        font-weight: 700;
        display: inline;
        line-height: 1.2;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
        vertical-align: baseline;
    }

    .amll-orders-table--billing-history tbody td.order-number,
    .amll-orders-table--billing-history tbody td.order-number a {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        word-break: break-word;
        max-width: none;
    }

    .amll-orders-table--billing-history tbody td:nth-child(1),
    .amll-orders-table--billing-history tbody td:nth-child(2),
    .amll-orders-table--billing-history tbody td:nth-child(4) {
        text-align: left;
        justify-self: stretch;
        align-self: start;
        overflow: visible;
        text-overflow: unset;
        white-space: normal;
        padding-left: 4px;
    }

    .amll-orders-table--billing-history tbody td.order-number a {
        display: inline;
    }

    .amll-orders-table tbody td:nth-child(2) {
        grid-area: card-date;
        font-size: 11px;
        line-height: 1;
        margin: 0;
        padding-top: 1px;
        color: #9a9a9a;
        align-self: start;
    }

    .amll-orders-table tbody td:nth-child(3) {
        grid-area: card-badge;
        text-align: right;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.2;
        color: var(--text-color);
        text-transform: none;
        justify-self: end;
        align-self: center;
        white-space: nowrap;
        padding-left: 4px;
        padding-right: 4px;
        display: block;
    }

    .amll-orders-table tbody td:nth-child(3):has(.amll-status-pill) {
        font-size: inherit;
        font-weight: inherit;
        color: inherit;
        align-self: center;
        line-height: 1;
    }

    .amll-orders-table tbody tr::after {
        content: "";
        grid-area: card-divider;
        border-top: 1px solid #e8e8e8;
        margin: 6px 0 5px;
    }

    .amll-orders-table tbody td:nth-child(4) {
        grid-area: card-value;
        font-size: 16px;
        font-weight: 800;
        color: #c8a46a;
        line-height: 1;
        display: flex;
        align-items: center;
        align-self: center;
    }

    .amll-orders-table tbody td:nth-child(4) .amount,
    .amll-orders-table tbody td:nth-child(4) .woocommerce-Price-amount {
        color: inherit;
        font-weight: inherit;
    }

    .amll-orders-table tbody td:nth-child(5),
    .amll-orders-table td[data-label="Actions"],
    .amll-orders-table .woocommerce-orders-table__cell-order-actions {
        grid-area: card-action;
        grid-column: 2;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
        justify-self: end;
        align-self: center;
        text-align: right !important;
        width: auto !important;
        max-width: 100%;
        padding-right: 4px;
        margin-left: auto;
    }

    .amll-orders-table tbody td:nth-child(5) .amll-btn,
    .amll-orders-table tbody td:nth-child(5) .woocommerce-button,
    .amll-orders-table td[data-label="Actions"] .amll-btn,
    .amll-orders-table td[data-label="Actions"] .woocommerce-button,
    .amll-orders-table .woocommerce-orders-table__cell-order-actions .amll-btn,
    .amll-orders-table .woocommerce-orders-table__cell-order-actions .woocommerce-button,
    .amll-orders-table--4col tbody td:nth-child(4) .amll-btn,
    .amll-orders-table--4col tbody td:nth-child(4) .woocommerce-button {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .amll-orders-table tbody td:last-child {
        text-align: right !important;
    }

    .amll-orders-table td[data-label="Actions"],
    .amll-orders-table .woocommerce-orders-table__cell-order-actions {
        text-align: right !important;
    }

    /* Subscriptions: ID | status, next payment, divider, total | action */
    .amll-orders-table--subscriptions tbody td:nth-child(2) {
        grid-area: card-badge;
        font-size: 14px;
        font-weight: 600;
        text-align: right;
        justify-self: end;
        align-self: center;
        padding-right: 4px;
    }

    .amll-orders-table--subscriptions tbody td:nth-child(3) {
        grid-area: card-date;
        font-size: 11px;
        font-weight: 400;
        color: #9a9a9a;
        text-align: left;
        text-transform: none;
        justify-self: start;
        margin: 0;
        padding-top: 1px;
        align-self: start;
    }

    /* Credits downloads (4-col): product | pages cost, date, divider, download */
    .amll-orders-table--4col tbody tr {
        grid-template-areas:
            "card-title card-badge"
            "card-date   ."
            "card-divider card-divider"
            ".           card-action";
    }

    .amll-orders-table--4col tbody td:nth-child(2) {
        grid-area: card-badge;
        font-size: 14px;
        font-weight: 700;
        text-align: right;
        justify-self: end;
        align-self: center;
        white-space: nowrap;
        padding-left: 4px;
        padding-right: 4px;
    }

    .amll-orders-table--4col tbody td:nth-child(3) {
        grid-area: card-date;
        font-size: 11px;
        color: #9a9a9a;
        text-align: left;
        font-weight: 400;
        text-transform: none;
    }

    .amll-orders-table--4col tbody td:nth-child(4) {
        grid-area: card-action;
        grid-column: 2;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
        justify-self: end;
        align-self: center;
        font-size: inherit;
        font-weight: inherit;
        color: inherit;
        text-align: right !important;
        width: auto !important;
        max-width: 100%;
        padding-right: 4px;
        margin-left: auto;
    }

    /* Page credits breakdown: plan | status, expires, divider, pages left | granted */
    .amll-orders-table--credits tbody td:nth-child(2) {
        grid-column: 2;
        grid-row: 4;
        text-align: right;
        font-size: 14px;
        font-weight: 600;
        color: #7c7c7c;
        align-self: center;
        justify-self: end;
    }

    .amll-orders-table--credits tbody td:nth-child(3) {
        grid-column: 1;
        grid-row: 4;
        font-size: 22px;
        font-weight: 800;
        color: #c8a46a;
        line-height: 1.2;
        align-self: center;
        text-align: left;
        text-transform: none;
    }

    .wp-block-media-text:not(.img-frame) .wp-block-media-text__media {
        min-width: 100% !important;
    }

    .amll-orders-table--credits tbody td:nth-child(4) {
        grid-column: 2;
        grid-row: 1;
        font-size: 14px;
        font-weight: 600;
        color: var(--text-color);
        text-align: right;
        align-self: start;
    }

    .amll-orders-table--credits tbody td:nth-child(5) {
        grid-column: 1;
        grid-row: 2;
        font-size: 13px;
        font-weight: 400;
        color: #9a9a9a;
        text-align: left;
        align-self: start;
        justify-self: start;
    }

    .amll-orders-table .amll-btn {
        margin: 0 !important;
        padding: 7px 14px !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
    }

    .amll-btn+.amll-btn {
        margin: 0 !important;
    }

    .amll-orders-table .amll-view-order-btn,
    .amll-orders-table .woocommerce-button.view {
        width: auto;
        max-width: none;
        margin: 0 !important;
        display: inline-block;
        font-size: 0.9rem;
        padding: 8px 22px 8px 28px;
        border-radius: 0 8px 8px 0 !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
        min-width: 112px;
        background: #c8a46a !important;
        color: var(--text-color) !important;
        font-weight: 800 !important;
        text-decoration: none;
        position: relative;
        text-align: center;
        text-transform: capitalize;
    }

    .amll-orders-table .amll-view-order-btn::before,
    .amll-orders-table .woocommerce-button.view::before {
        content: "";
        display: block;
        width: 22px;
        height: 36px;
        background-image: url("../images/dark-note-icon.png");
        background-size: contain;
        background-repeat: no-repeat;
        position: absolute;
        left: -3px;
        top: 0;
    }

    .wc-block-components-sidebar-layout .wc-block-components-main {

        background: white;
        position: relative !important;
    }

    .amll-orders-table .amll-view-order-btn--ghost {
        box-shadow: none;
        background: transparent !important;
        border: 1px solid #c8a46a;
        padding: 8px 18px;
        min-width: auto;
    }

    .amll-orders-table .amll-view-order-btn--ghost::before {
        display: none;
    }

    .wp-container-content-962be591 {
        margin: 0 !important;
    }

    .wc-block-cart-items__row {
        margin-top: 1.2rem !important;
    }

    .wc-block-cart {
        padding: 1rem !important;
    }

    .wc-block-components-sidebar-layout .wc-block-components-main {
        width: 100% !important;

    }

    .wc-block-components-sidebar-layout .wc-block-components-sidebar {
        width: 100% !important;
    }

    .cart-subscription-note {

        margin-bottom: 1rem !important;
    }

    .wc-block-components-sidebar-layout:has(>:last-child.wp-block-woocommerce-checkout-fields-block) {
        flex-direction: column-reverse !important;
    }

    .wp-block-woocommerce-checkout-totals-block,
    .wc-block-checkout__sidebar.is-sticky,
    .wp-block-woocommerce-checkout-totals-block {
        padding: 0rem !important;
        margin-top: 1rem !important;
    }

    .e19lxcc00 {
        display: none !important;
    }

    .wc-block-components-form.wc-block-checkout__form {
        padding: 1rem !important;
    }

    .wp-block-woocommerce-checkout-order-summary-block {

        padding: 1rem !important;
    }

    .wc-block-components-order-summary-item__description .wc-block-components-product-name {
        font-size: 0.9rem !important;
    }

    .wc-block-components-order-summary-item__description .wc-block-components-product-details__value {
        font-size: 0.75rem !important;
    }

    .wc-block-components-sidebar-layout .wc-block-components-sidebar {
        width: 100% !important;
    }

    .wc-block-checkout__sidebar {
        padding: 0rem !important;
    }

    .wc-block-cart__sidebar {
        padding: 1rem !important;
    }
}

@media screen and (max-width: 920px) {

    .img-frame.wp-block-media-text,
    .img-frame.flipped.wp-block-media-text,
    .img-frame.has-media-on-the-right.wp-block-media-text {
        display: grid !important;
        grid-template-columns: 100% !important;
        align-items: stretch !important;
        gap: clamp(1.5rem, 3vw, 3rem) !important;
        margin-top: 2rem !important;
    }

    .img-frame.wp-block-media-text>.wp-block-media-text__media,
    .img-frame.flipped.wp-block-media-text>.wp-block-media-text__media,
    .img-frame.has-media-on-the-right.wp-block-media-text>.wp-block-media-text__media {
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        aspect-ratio: 1 / 1 !important;
    }

    .img-frame.wp-block-media-text>.wp-block-media-text__content,
    .img-frame.flipped.wp-block-media-text>.wp-block-media-text__content,
    .img-frame.has-media-on-the-right.wp-block-media-text>.wp-block-media-text__content {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    .img-frame h3 {
        text-align: left !important;
        margin-top: 0.5rem !important;
    }

    .img-frame figure::after {
        bottom: -6px !important;
        left: -6px !important;
        width: 20px !important;
        height: 20px !important;
    }

    .img-frame figure::before {
        top: -6px !important;
        right: -6px !important;
        width: 20px !important;
        height: 20px !important;
    }

    .col-full.wp-container-content-9cfa9a5a {
        padding: 36px 0 !important;
        margin: 0 !important;
    }
    .wp-block-media-text.is-stacked-on-mobile {
        grid-template-columns: 100%!important;
        display: flex;
        flex-direction: column;
        gap: 24px !important;
    }
   .wp-block-heading .has-text-align-left,
    .wp-block-media-text.is-stacked-on-mobile br{
        display: none !important;
    }
    .wp-container-content-9cfa9a5a h2, .wp-container-content-9cfa9a5a h2.wp-block-heading strong {
        margin: 24px 0 !important;
    }
    .wp-block-media-text>.wp-block-media-text__content {
        padding: 0 0 0 0;
    }
    .about-blocks--mobile.wp-container-content-9cfa9a5a{
        padding:36px 1.2rem !important;
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        margin-inline: calc(50% - 50vw) !important;
        box-sizing: border-box !important;
        left: auto !important;
        right: auto !important;
    }
    .about-blocks--mobile br{
        display: none !important;
    }
        /*    .alignfull:has(.img-frame) {
        padding: 1.5rem !important;
    }
    .col-full .alignfull ,
    .alignfull .alignfull {
        padding:0 !important;
    } */

    .img-frame h3::after {
        width: 80px !important;
        height: 4px !important;
        margin: 1rem 0 !important;
    }

    .primary-navigation {
        display: none !important;
    }

    .header-comntetnainer {
        padding: 1rem !important;
    }

    .hero-note-image {
        aspect-ratio: 9 / 11 !important;
    }

    .hero-note-image img {
        padding: 0.5rem 1.5rem !important;
    }

    .hero-note-title a {
        font-size: 16px !important;
    }

    .custom-hero {
        min-height: 60vh !important;
    }

    .custom-hero h1,
    .custom-hero h2 {
        font-size: 50px !important;
    }

    .custom-hero p {
        font-size: 1.4rem !important;
    }

    .woocommerce-shop .left-sidebar .content-area {
        width: 50.913043% !important;
        margin-right: 0 !important;
    }

    .woocommerce-shop .left-sidebar .widget-area {
        width: 46.73913% !important;
        margin-right: 2.347826% !important;
    }

    .product-page-content {
        flex-direction: column !important;
        padding-bottom: 48px !important;
     }
.what-inside{
    padding: 48px  0 !important;   
}
.unlock-sub.custom-related-header {
    padding: 40px 0 !important;
}
.unlock-sub .discover-btn {
    margin: 12px auto 0 !important;
    
}
.unlock-sub img{
    margin-bottom: 12px;
}
    .product-summary {
        overflow: auto !important;
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        top: auto !important;
        width: 100% !important;
        max-height: 90dvh !important;
        height: auto !important;
        z-index: 1000001 !important;
        background: white !important;
        border-radius: 30px 30px 0 0 !important;
        box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15) !important;
        transform: translateY(100%);
        transition: transform 0.3s ease;
        visibility: visible !important;
        pointer-events: none;
    }

    .product-summary.is-open {
        transform: translateY(0);
        pointer-events: auto;
    }

    .product-summary__close {
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 2.25rem;
        height: 2.25rem;
        margin-left: 0.75rem;
        padding: 0;
        border: none;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.85);
        color: var(--text-color);
        font-size: 1.5rem;
        line-height: 1;
        cursor: pointer;
    }

    .product-purchase-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 1000000;
        background: rgba(0, 0, 0, 0.45);
    }

    .product-purchase-overlay.is-open {
        display: block !important;
    }

    .product-purchase-trigger {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 999;
        width: 100vw;
        margin: 0;
        padding: 1rem 1.25rem;
        border: none;
        border-radius: 0;
        background: var(--primary-color);
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.12);
        text-align: left;
        cursor: pointer;
    }

    .product-purchase-trigger__text {
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
        min-width: 0;
    }

    .product-purchase-trigger__title {
        font-size: inherit;
        font-weight: inherit;
        color: var(--text-color);
        line-height: 1.1;
    }

    .product-purchase-trigger .price-per-page__amount {
        font-size: 1.75rem;
        font-weight: 700;
    }

    .product-purchase-trigger .price-per-page__unit {
        font-size: 0.95rem;
        font-weight: 400;
    }

    .product-purchase-trigger__subtitle {
        font-size: 1rem;
        font-weight: 400;
        color: var(--text-color);
        margin-top: 0.15rem;
    }

    .product-purchase-trigger__pages {
        flex-shrink: 0;
    }

    body.product-purchase-open {
        overflow: hidden;
    }

    body.product-purchase-open .product-purchase-trigger {
        display: none !important;
    }

    .product-details {
        width: 100% !important;
        margin-bottom: 16px !important;
        gap: 16px !important;
    }

    .product-image,
    .product-image>img {

        padding: 1rem 1rem !important;
    }

    .chords-section h3 {

        gap: 10px !important;
        flex-wrap: wrap !important;
    }

    .chord-item img {

        padding: 0rem !important;
    }

    .custom-related-header .col-full--single {
        width: 100vw !important;
        margin: 0 auto !important;
        padding: 0 1.2rem !important;
    }
}

@media screen and (max-width: 780px) {
    :root {
        --wp--preset--font-size--small: 0.875rem !important;
        --wp--preset--font-size--medium: 1rem !important;
        --wp--preset--font-size--large: 1.25rem !important;
        --wp--preset--font-size--x-large: 1.5rem !important;
        --wp--preset--font-size--huge: 1.8rem !important;
    }

    body {
        overflow-x: hidden !important;
    }

    .site {
        overflow: hidden !important;
        /* allow sticky */
    }

    .menu-toggle {
        display: flex !important;
        z-index: 999;
    }

    .mobile-menu {
        display: block;
        width: 100vw;
    }

    .custom-hero .info {
        display: block !important;
        flex-direction: column !important;
    }

    .swiper-pagination {
        position: relative !important;
    }

    .wp-container-core-columns-is-layout-7387b849 {
        margin-top: 0 !important;
    }

    .site-header {
        padding-top: 0;
    }

    .is-layout-flex> :is(*, div) {
        max-width: 100%;
        margin: 0 auto;

    }

    #secondary .is-layout-flex> :is(*, div) {
        width: 89%;
    }

    /* Example mobile adjustments */
    .amll-dashboard-panel {
        padding: 12px 6px;
    }

    .amll-form-grid {
        display: grid;
        gap: 16px;
    }

    .custom-hero {
        background-size: contain;
        background-position: top !important;
    }

    .custom-hero h1,
    .custom-related-header h2,
    .custom-hero h2 {
        font-size: 2rem !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .what-inside .features{
        padding: 0 !important;
    }

    .custom-related-header ul.products.columns-7 li.product {
        flex: 0 0 calc((100% - 30px) / 1.4) !important;
        max-width: none !important;
    }

    .cart-recommended ul.products.columns-4 li.product {
        flex: 0 0 calc((100% - 30px) / 1.4) !important;
        max-width: none !important;
    }

    .custom-hero p {
        font-size: 1.2rem !important;
        font-weight: 400 !important;
        text-align: center;
        margin: 1rem 0 !important;
    }

    .custom-hero p strong {
        font-weight: 400 !important;
    }


    .custom-hero .request-note,
    .img-frame .subscribe-btn,
    .custom-hero .subscribe-btn {
        transform: scale(1) !important;
        left: 0 !important;
        position: unset !important;
        margin: 0 auto !important;
        display: block;
    }

    .site-main .request-note {
        transform: scale(1) !important;
        left: 0 !important;
        position: unset !important;
        margin: 0 auto;
        display: block;
    }

    .subscription-plan-columns>div>div {
        padding: 48px 40px 48px 40px;

    }

    .wp-container-core-group-is-layout-6584cfba {

        margin-top: 24px !important;
    }

    .wp-block-read-more {
        margin-top: 0 !important;
        margin-bottom: 48px !important;
    }

    .hero-notes-container {

        gap: 16px;
    }

    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        margin: 0;
    }

    .wp-block-heading strong {
        margin-top: 48px !important;
    }
    .alignfull.wp-container-core-group-is-layout-f9faaab3,
    .alignfull.join-section{
        padding: 0 !important;
     }
     .join-section .wp-block-cover {
        padding: 48px 0 0 0;
    }
    .subscribe-btn--white, .subscribe-btn--gradient {
        font-size: 1rem;
        padding: 0.5rem 1.5rem;
       
    }
     .alignfull.join-section{
        margin-bottom: 0 !important;
     }
     body.page-id-9284 .site-main>.alignwide {
         padding-left: 0 !important; 
        padding-right: 0 !important; 
    }
    .join-section .wp-block-heading strong,
    .wp-block-heading--in strong {
        margin-top: 0px !important;
    }
    .wp-container-core-group-is-layout-f9faaab3 .subscribe-btn--explore {
        margin-top: 0.5rem auto !important;
        width:95%;
        text-align: center;
    }
        ul.products,
        .wc-block-grid__products {
          
            margin-top: 24px;
        }

                .unlock-sub--inner {
             
                    margin: 24px auto;
                    
                }
    .swiper .wp-block-heading strong {
        margin-top: 24px !important;
    }
    .products columns-4 {
        margin-top: 24px !important;
    }
.wc-block-product-filters.wp-block-woocommerce-product-filters{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
    .swiper {
        height: auto !important;
        min-height: auto !important;
        margin-top: 0 !important;
    }

    .swiper-backface-hidden .swiper-slide {
        padding-right: 0;
    }

    .custom-header-right {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 0.75rem !important;
        width: auto !important;
        position: absolute !important;
        right: 0 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        padding: 0 !important;
    }

    .custom-header-right .header-icons {
        display: flex !important;
        align-items: center !important;
        gap: 0.75rem !important;
    }

    .custom-header-right .header-icons a {
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .menu-toggle {
        left: -1.2rem !important;
    }

    .custom-header-right .header-icons a.icon-cart {
        display: none !important;
    }

    .custom-header-right .header-icons a.icon-account,
    .custom-header-right .header-icons .amll-account-nav-link {
        font-size: 0 !important;
        min-width: auto !important;
    }

    .custom-header-right .header-icons a.amll-account-nav-link {
        display: none !important;
    }

    .custom-header-right .header-icons .amll-account-nav-toggle {
        display: inline-flex !important;
        font-size: 0 !important;
        min-width: auto !important;
        background: none;
        border: none;
        padding: 0 !important;
        margin: 0 !important;
        cursor: pointer;
        line-height: 0;
        align-items: center;
        justify-content: center;
    }

    .custom-header-right .header-icons .amll-account-nav-toggle.is-active {
        opacity: 0.75;
    }

    .custom-header-right .header-icons a.icon-account img,
    .custom-header-right .header-icons .amll-account-nav-link img,
    .custom-header-right .header-icons .amll-account-nav-toggle img {
        display: block !important;
        width: 20px !important;
        height: 20px !important;
        object-fit: contain !important;
        position: static !important;
        top: auto !important;
        margin: 0 !important;
    }

    .custom-header-right .request-note,
    .custom-header-right .subscribe-btn,
    .custom-header-right .header-icons a[href="/ar"] {
        display: none !important;
    }

    .swiper-pagination {
        transform: translateY(0px) !important;
    }

    .hero-notes-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .site-footer {
        padding: 1rem 0 1rem 0;
    }

    .wp-block-social-links,
    .wp-block-social-links.has-normal-icon-size {
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
        margin: 1rem 0 0;
    }

    .site-footer .is-layout-flex> :is(*, div) {
        margin: 0;
    }

    .wp-block-image img {
        margin: 0 !important;
    }

    .site-footer * {
        font-size: 13px !important;
    }

    .site-footer svg {
        font-size: 24px !important;
    }

    .custom-footer-bar {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding-bottom: 5rem !important;
    }

    .custom-footer-bar ul {
        flex-direction: row !important;
        gap: 0.5rem !important;
        margin-top: 1rem !important;
        flex-wrap: wrap !important;
        margin: 0 !important;
    }

    .footer-widgets {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: flex-start !important;
        padding-bottom: 2rem !important;
    }

    .wp-block-image img {
        margin: 0.1rem auto !important;
        text-align: center !important;
    }

    .site-footer a:not(.button):not(.components-button) {
        font-size: 13px !important;
    }

    .col-full {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    .wp-container-content-9cfa9a5a {
        display: block !important;
        gap: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        padding: 48px 0 !important;
    }

    /* Mission/Vision mobile strip must stay full-bleed (do not inherit width:100% above). */
    .about-blocks--mobile.wp-container-content-9cfa9a5a {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        margin-inline: calc(50% - 50vw) !important;
        padding: 36px 1.2rem !important;
        box-sizing: border-box;
        left: auto !important;
        right: auto !important;
        position: relative !important;
    }

    .wp-container-content-9cfa9a5a > .wp-block-group__inner-container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }
    .img-frame.wp-block-media-text,
    .img-frame.flipped.wp-block-media-text,
    .img-frame.has-media-on-the-right.wp-block-media-text {

        gap: 0 !important;
        margin-top: 24px !important;
        margin-bottom: 24px;
    }

    .footer-logo-strip h2 {
        margin: 24px 0 24px;
    }

    .img-frame.flipped {
        margin-bottom: 48px !important;
    }

    .img-frame ul {
        margin: 0 1rem 24px;
    }

    .img-frame br {
        display: none !important;
    }

    .wp-container-core-columns-is-layout-7387b849 {
        margin-bottom: 0 !important;
    }

    .alignfull:has(.img-frame) {
        padding: 0 1.5rem !important;
    }

    .wp-block-group:has(.img-frame) .wp-block-heading strong {
        margin-top: 24px !important;
    }
    .what-inside, .unlock-sub, .custom-related-header{
        margin: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        margin-inline: calc(50% - 50vw) !important;
        left: unset !important;
    }
    .alignfull {
        padding: 0 1.2rem !important;
        width: 100vw !important;
        max-width: 100vw !important;
        margin-inline: calc(50% - 50vw) !important;
    }

    .alignfull .alignfull {
        padding:0 !important;
    }
    .wpcf7 {
        padding: 1.25rem !important;
    }

    .wpcf7-form .wpcf7-form-control-wrap {
        margin-bottom: 1.5rem;
    }

    .wpcf7-form p:has(textarea) .wpcf7-form-control-wrap {
        margin-bottom: 2rem;
    }

    .footer-menu li:not(:last-child) {
        margin: 0 !important;
        padding: 0 10px 0 0 !important;
        justify-self: center;
        align-self: center;
    }

    .footer-left {
        margin-bottom: 1rem !important;
    }

    .wp-block-group h2 {
        font-size: 1.8rem !important;
    }

    .wp-block-group .content-area p {
        font-size: 1rem !important;
    }

    .wp-block-group .wp-block-spacer {
        height: 1rem !important;
    }

    .wp-block-spacer {
        display: none !important;
    }

    .col-full {
        margin-left: 1.2rem !important;
        margin-right: 1.2rem !important;
    }

    .subscription-plan-columns:not(.amll-subscription-plans-section__columns) * {
        margin: 0 !important;
    }
    .amll-purchase-redeem .redeem-credits-btn {
        width: 100%;
        font-size: 1.1rem;
        border-radius: 24px 0 0 0 !important;
    }
    .woocommerce ul.products {
        display: flex !important;
        overflow-x: auto !important;
        gap: 15px !important;
        padding-bottom: 10px !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        scroll-padding-left: 5px !important;
        padding: 5px !important;
    }

    .hero-note-title,
    .hero-note-title a {
        font-size: 1rem !important;
    }
    ul.products li.product .woocommerce-loop-product__title {
        font-size: 1rem !important;
        padding:1rem 0 0 !important;
    }

    .woocommerce ul.products li.product {
        flex: 0 0 80%;
        scroll-snap-align: start;
    }

    /* Hide scrollbar (optional) */
    .woocommerce ul.products::-webkit-scrollbar {
        display: none;
    }

    .site-header {
        padding-top: 0;
    }

    ul.columns-4 {
        flex-wrap: nowrap !important;
    }

    p,
    li {
        font-size: 1rem !important;
        margin: 0 !important;
    }

    .hero-note-singer,
    .product-singer {
        border-radius: 0 0 0px 0px !important;
    }

    .primary-navigation {
        display: none !important;
    }

    .menu-toggle {
        border: none !important;
    }

    .amll-other-blogs,
    body.single-post .content-area {
        padding: 0 !important;
        margin: 0 !important;
    }

    .site-header .custom-logo-link img {
        height: 40px !important;
        object-fit: contain !important;
    }

    .site-header {
        margin-bottom: 0.5rem !important;
        padding: 1rem !important;
    }

    .storefront-primary-navigation {
        width: fit-content !important;
        position: absolute;
        left: 0 !important;
    }

    header .header-comntetnainer>.col-full {
        width: fit-content !important;
        margin: 0 !important;
        align-self: center !important;
        justify-self: center !important;
    }

    .header-comntetnainer {
        position: relative !important;
        justify-content: center !important;
    }

    .woocommerce #primary ul.products {
        flex-wrap: wrap !important;
    }

    .woocommerce #primary ul.products li {
        flex: 0 0 100% !important;
        max-width: 350px;
        margin: 0 auto !important;
     }
.storefront-sorting {
    display: flex;
    justify-content: center;
    margin: 18px 0 0;
}
    .woocommerce #primary .shop-banner-wrapper {
        display: none !important;
    }


    .shop-top-block {
        order: 0
    }

    .shop-links {

        margin: 1rem 0 1rem !important;
    }

    .shop-links {
        display: flex;
        gap: 1.5rem;
        overflow-x: auto;
        padding: 0 1rem;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .shop-links::-webkit-scrollbar {
        display: none;
    }

    .shop-links::after,
    .shop-links::before {
        content: "";
        flex: 1 0 1rem;
        /* centers tabs when they fit */
    }

    .shop-links {
        display: flex;
        gap: 1.5rem;
        overflow-x: auto;
        padding: 0 1rem;

        -webkit-mask-image: linear-gradient(to right,
                transparent,
                black 20px,
                black calc(100% - 20px),
                transparent);

        mask-image: linear-gradient(to right,
                transparent,
                black 20px,
                black calc(100% - 20px),
                transparent);
    }

    .shop-links a {
        flex: 0 0 auto;
        white-space: nowrap;
        scroll-snap-align: center;
        padding-bottom: 8px;
    }

    .wp-block-heading {
        font-size: 2rem !important;
        margin: 0rem 0 0rem !important;
    }

    .shop-top-block h1 {
        margin: 0rem 0 !important;
    }



    .shop-top-block h1 {
        margin: 0rem 0;
        font-size: 2rem;
    }

    .wc-block-product-filters__open-overlay {
        font-size: 1.1rem !important;
        display: none !important;
    }

    .widget-area {
        padding: 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }

    .wc-block-product-filters__open-overlay svg {

        width: 20px !important;
    }

    .wc-block-product-filters__overlay-header span {
        display: none !important;
    }

    :where(.wc-block-product-filters) .wc-block-product-filters__close-overlay {

        padding: 0.5rem !important;
        background: #F3F4F6 !important;
        border-radius: 50% !important;
        z-index: 10;
    }

    :where(.wc-block-product-filters) .wc-block-product-filters__overlay-header {

        position: absolute;
        width: 100%;
    }

    :where(.wc-block-product-filters).is-overlay-opened .wc-block-product-filters__overlay-dialog {

        border-radius: 30px 30px 0 0;
        margin-top: 20px !important;
    }

    .acc-group h3 {
        font-size: 1.05rem !important;
    }

    :where(.wc-block-product-filters) .wc-block-product-filters__overlay-content {
        overflow-x: hidden;
        gap: 0 !important;
    }

    /* Tablet: inline sidebar filters — show Apply below the list */
    @media screen and (min-width: 601px) {
        :where(.wc-block-product-filters) .wc-block-product-filters__overlay-footer {
            display: block !important;
            position: relative;
            z-index: 1;
            background: #fff;
            margin-top: 1rem;
        }
    }

    /* Phone: show Apply only when the overlay is open */
    @media screen and (max-width: 600px) {
        :where(.wc-block-product-filters).is-overlay-opened .wc-block-product-filters__overlay-footer {
            display: block !important;
            position: relative;
            bottom: 0;
            background: #fff;
        }
    }

    .acc-group--closed {
        height: 40px !important;
    }

    :root :where(.wp-element-button, .wp-block-button__link) {

        border-radius: 8px;
        color: white;
        font-size: 1.1rem;
        background: var(--text-color);
        font-weight: bold;
    }

    .product-metadata {
        justify-content: center !important;
        gap: 10px !important;
        margin: 16px 0 16px 0 !important;
        padding: 10px !important;
    }

    .product-page-title {
        margin: 0rem 0 !important;
        font-size: 2rem !important;
    }

    .amll-myaccount-nav {
        position: fixed;
        top: -100vh;
        left: 0;
        z-index: 998;
        background: white;
        width: 100%;
        max-height: calc(100vh - var(--amll-mobile-header-height, 100px));
        margin: 0;
        border-radius: 0;
        border: none;
        box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
        padding: 0;
        overflow-y: auto;
        transition: top 0.3s ease;
    }

    .amll-myaccount-nav.is-open {
        top: var(--amll-mobile-header-height, 100px);
    }

    .amll-myaccount-welcome {
        display: block;
        padding: 14px 16px;
        margin: 0;
        border-bottom: 1px solid #ECECEC;
        cursor: default;
        position: relative;
    }

    .amll-myaccount-welcome::after {
        display: none;
    }

    .amll-myaccount-welcome__title {
        font-size: 15px;
        margin: 0;
    }

    .amll-myaccount-welcome__subtitle {
        display: block;
        font-size: 13px;
        color: #7C7C7C;
        margin: 4px 0 0;
    }

    .amll-myaccount-nav ul {
        display: block;
        padding: 8px;
        margin: 0;
    }

    .amll-myaccount-nav li a {
        padding: 10px 12px;
        margin-bottom: 2px;
        font-size: 14px;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        display: block;
        width: 100%;
        float: none;
    }

    .woocommerce-account .woocommerce {
        flex-direction: column;
        margin-top: 0 !important;
    }

    .woocommerce-table--order-details:not(.amll-view-order-details-table),
    .amll-orders-table:not(.amll-view-order-related-table) {
        box-shadow: none !important;
    }

    .amll-dashboard-panel--view-order .amll-view-order-card {
        padding: 14px 16px 12px;
        margin-bottom: 12px;
        border-radius: 12px 12px 8px 8px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    }

    .amll-dashboard-panel--view-order .amll-view-order-card--downloads,
    .amll-dashboard-panel--view-order .amll-view-order-card--subscriptions {
        background: transparent;
        box-shadow: none;
        padding: 0;
        border-radius: 0;
        margin-bottom: 8px;
    }

    .amll-dashboard-panel--view-order .amll-view-order-card--downloads::before,
    .amll-dashboard-panel--view-order .amll-view-order-card--subscriptions::before {
        display: none;
    }

    .amll-dashboard-panel--view-order .amll-view-order-card--summary {
        padding-top: 16px;
    }

    .amll-dashboard-panel--view-order .amll-view-order-header {
        flex-wrap: wrap;
        gap: 10px;
    }

    .amll-view-order-summary-actions {
        margin-top: 8px;
        padding-left: 4px;
        gap: 8px;
    }

    .amll-view-order-summary-actions .amll-view-order-pay-btn,
    .amll-view-order-summary-actions .amll-view-order-cancel-btn {
        width: auto;
    }

    .amll-dashboard-panel--view-order .amll-view-order-card--details .amll-view-order-details-table {
        box-shadow: none !important;
        background: transparent !important;
        border-radius: 0;
    }

    .amll-dashboard-panel--view-order .amll-view-order-card--details .amll-view-order-details-table thead {
        display: none;
    }

    .amll-dashboard-panel--view-order .amll-view-order-card--details .amll-view-order-details-table,
    .amll-dashboard-panel--view-order .amll-view-order-card--details .amll-view-order-details-table tbody,
    .amll-dashboard-panel--view-order .amll-view-order-card--details .amll-view-order-details-table tbody tr,
    .amll-dashboard-panel--view-order .amll-view-order-card--details .amll-view-order-details-table tbody td,
    .amll-dashboard-panel--view-order .amll-view-order-card--details .amll-view-order-details-table tfoot,
    .amll-dashboard-panel--view-order .amll-view-order-card--details .amll-view-order-details-table tfoot tr,
    .amll-dashboard-panel--view-order .amll-view-order-card--details .amll-view-order-details-table tfoot td,
    .amll-dashboard-panel--view-order .amll-view-order-card--details .amll-view-order-details-table tfoot th {
        display: block;
        width: 100% !important;
    }

    .amll-dashboard-panel--view-order .amll-view-order-card--details .amll-view-order-details-table tbody tr {
        padding: 12px 0;
        border-bottom: 1px solid #e8e8e8;
        background: transparent !important;
    }

    .amll-dashboard-panel--view-order .amll-view-order-card--details .amll-view-order-details-table tbody td {
        padding: 0;
        border: none !important;
        background: transparent !important;
    }

    .amll-dashboard-panel--view-order .amll-view-order-card--details .amll-view-order-details-table tbody td.product-name {
        font-size: 14px;
        font-weight: 700;
        line-height: 1.3;
        color: var(--text-color);
    }

    .amll-dashboard-panel--view-order .amll-view-order-card--details .amll-view-order-details-table tbody td.product-total {
        padding-top: 6px;
        color: var(--primary-color);
        font-weight: 800;
        font-size: 16px;
    }

    .amll-dashboard-panel--view-order .amll-view-order-card--details .amll-view-order-details-table tfoot tr {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 12px;
        padding: 11px 0;
        border-bottom: 1px solid #e8e8e8;
        background: transparent !important;
    }

    .amll-dashboard-panel--view-order .amll-view-order-card--details .amll-view-order-details-table tfoot tr:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .amll-dashboard-panel--view-order .amll-view-order-card--details .amll-view-order-details-table tfoot th,
    .amll-dashboard-panel--view-order .amll-view-order-card--details .amll-view-order-details-table tfoot td {
        display: block;
        width: auto !important;
        padding: 0;
        border: none !important;
        background: transparent !important;
        font-size: 14px;
        line-height: 1.4;
    }

    .amll-dashboard-panel--view-order .amll-view-order-card--details .amll-view-order-details-table tfoot th {
        font-weight: 600;
        color: var(--text-color);
        flex: 0 0 auto;
    }

    .amll-dashboard-panel--view-order .amll-view-order-card--details .amll-view-order-details-table tfoot td {
        text-align: right;
        flex: 1 1 auto;
        word-break: break-word;
    }

    .amll-dashboard-panel--view-order .amll-view-order-card--details .amll-view-order-total-row--order_total td .amount {
        color: var(--primary-color);
        font-weight: 800;
    }

    .amll-dashboard-panel--view-order .amll-view-order-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .amll-dashboard-panel--view-order .amll-view-order-actions th {
        margin-bottom: 8px;
    }

    .amll-dashboard-panel--view-order .amll-view-order-actions td {
        text-align: left;
        width: 100% !important;
    }

    .amll-dashboard-panel--view-order .amll-view-order-actions .amll-btn {
        width: 100%;
        justify-content: center;
    }

    .amll-dashboard-panel--view-order .amll-view-order-actions .amll-btn+.amll-btn {
        margin: 8px 0 0 !important;
    }

    .amll-dashboard-panel--view-order .amll-panel-subtitle {
        margin-bottom: 10px;
        font-size: 1rem;
    }

    .amll-dashboard-panel--view-order .amll-view-order-downloads,
    .amll-dashboard-panel--view-order .amll-view-order-related-subscriptions {
        margin-top: 20px;
        margin-bottom: 16px;
    }

    .amll-dashboard-panel--view-order .amll-view-order-related-subscriptions .amll-panel-subtitle {
        margin-bottom: 12px;
    }

    .amll-view-order-related-item {
        margin-bottom: 10px;
    }

    .amll-view-order-related-item__head {
        margin-bottom: 4px;
    }

    .amll-view-order-related-item__date {
        margin-bottom: 10px;
        padding-left: 4px;
    }

    .amll-view-order-related-item__divider {
        margin-bottom: 10px;
    }

    .amll-view-order-related-item .amll-view-order-related-btn,
    .amll-view-order-related-item .amll-btn--primary {
        flex-shrink: 0;
        width: auto;
        padding: 8px 14px !important;
    }

    .amll-dashboard-panel,
    .woocommerce-MyAccount-content {
        margin: 0 !important;
        padding: 0 !important;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation+.woocommerce-MyAccount-content {
        width: 100%;
        float: none;
        padding: 0 6px;
    }

    .woocommerce-MyAccount-content h2.amll-panel-title,
    .woocommerce-MyAccount-content h3.amll-panel-title {
        font-size: 22px;
    }

    .woocommerce-MyAccount-content h2:nth-child(1):not(.amll-panel-title):not(.amll-panel-subtitle) {
        font-size: 1.25em;
    }

    /* About Us page (page-id-9284) */
    body.page-id-9284 .storefront-breadcrumb,
    body.page-id-9284 #secondary {
        display: none !important;
    }

    body.page-id-9284 .content-area {
        width: 100% !important;
        float: none !important;
        max-width: 100% !important;
    }

    body.page-id-9284 .site-main {
        padding-left: 0;
        padding-right: 0;
    }

    body.page-id-9284 .site-main>.alignwide {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    body.page-id-9284 .site-main>.alignwide h1.wp-block-heading {
        font-size: 3rem !important;

    }
    h1.wp-block-heading strong {
        margin: 0;
        margin-top: 0 !important;
    }
    .wp-elements-84c2e2066eed144af92ad8ce6922b090 br {
        display: none !important;
    }

    .subscribe-btn--explore {

        margin-top: 0.5rem auto !important;
    }

    body.page-id-9284 .wp-block-spacer {
        height: 1.5rem !important;
        max-height: 2rem !important;
    }

    body.page-id-9284 .wp-custom-css-2ecca1ac {
        top: 0 !important;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        width: 100vw;
        max-width: 100vw;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    body.page-id-9284 .wp-custom-css-a6f6ced5 {
        min-height: auto !important;
    }

    body.page-id-9284 .wp-custom-css-a6f6ced5 .wp-block-media-text__content {
        padding: 1.25rem 0;
    }

    body.page-id-9284 .wp-custom-css-a6f6ced5 .wp-block-media-text__media img {
        width: 100%;
        height: auto;
        aspect-ratio: unset !important;
        object-fit: cover;
        border-radius: 8px;
    }

    body.page-id-9284 .wp-custom-css-fc350f2e,
    body.page-id-9284 .wp-custom-css-a7196da5,
    body.page-id-9284 .wp-custom-css-1f1a24a8,
    body.page-id-9284 .wp-custom-css-4eeae635,
    body.page-id-9284 .wp-custom-css-512b6c27 {
        color: #bc955c !important;
        font-weight: 600;
        margin-bottom: 0.75rem !important;
    }

    body.page-id-9284 .wp-custom-css-c8bfb859 {
        font-size: clamp(1.35rem, 5.5vw, 1.75rem) !important;
        line-height: 1.25 !important;
        margin-bottom: 1rem !important;
    }

    body.page-id-9284 .wp-custom-css-7e081ebe {
        background: transparent !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
    }

    body.page-id-9284 .wp-custom-css-7e081ebe>.wp-block-group__inner-container>.col-full.is-layout-flex {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        gap: 0 !important;
    }

    body.page-id-9284 .wp-custom-css-7e081ebe .col-full.is-layout-flex>.col-full {
        width: 100% !important;
        max-width: 100% !important;
        padding: 2.5rem 1.25rem;
        box-sizing: border-box;
    }

    body.page-id-9284 .wp-custom-css-7e081ebe .col-full.is-layout-flex>.col-full:first-child {
        background: #bc955c;
    }

    body.page-id-9284 .wp-custom-css-7e081ebe .col-full.is-layout-flex>.col-full:last-child {
        background: #fff;
    }

    body.page-id-9284 .wp-custom-css-7e081ebe .col-full:first-child h2,
    body.page-id-9284 .wp-custom-css-7e081ebe .col-full:first-child p {
        color: #1a1a1a;
    }

    body.page-id-9284 .wp-custom-css-7e081ebe .col-full:first-child .wp-custom-css-135ff40b {
        color: rgba(26, 26, 26, 0.65) !important;
    }

    body.page-id-9284 .wp-custom-css-9309aaa9,
    body.page-id-9284 .wp-custom-css-374d18ef {
        top: 0 !important;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        width: 100vw;
        max-width: 100vw;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    body.page-id-9284 .wp-custom-css-9309aaa9 .is-layout-grid,
    body.page-id-9284 .wp-custom-css-374d18ef .is-layout-grid,
    body.page-id-9284 .about-offers-swiper {
        display: block !important;
    }

    body.page-id-9284 .about-offers-swiper {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
        padding: 0 1rem 0.25rem !important;
        box-sizing: border-box;
    }

    body.page-id-9284 .about-offers-swiper .swiper-wrapper {
        min-width: 0;
    }

    body.page-id-9284 .about-offers-swiper .swiper-slide {
        box-sizing: border-box;
        min-width: 0;
    }

    body.page-id-9284 .about-offers-swiper .have-questions {
        margin-bottom: 0 !important;
        background: #fff !important;
        padding: 1.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100%;
        box-sizing: border-box;
        border-radius: 12px;
    }

    body.page-id-9284 .about-offers-swiper .have-questions img {
        width: 48px;
        margin: 0 0 1rem;
    }

    body.page-id-9284 .about-offers-pagination {
        display: flex;
        justify-content: center;
        gap: 0.4rem;
        margin-top: 1.25rem;
        position: relative;
    }

    body.page-id-9284 .about-offers-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        border-radius: 5px;
        background: var(--lite-gold);
        opacity: 1;
        margin: 0 !important;
        transition: all 0.3s ease;
    }

    body.page-id-9284 .about-offers-pagination .swiper-pagination-bullet-active {
        width: 60px;
        border-radius: 5px;
        background: var(--lite-gold);
    }

    body.page-id-9284 .wp-custom-css-32625339 {
        top: 0 !important;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        width: 100vw;
        max-width: 100vw;
        padding-top: 1.5rem;
        padding-bottom: 2rem;
    }

    body.page-id-9284 .testimonials-block,
    body.page-id-9284 .testimonials-swiper {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
        padding-left: 0;
        padding-right: 0;
    }

    body.page-id-9284 .testimonial-card {
        background: #fff;
        padding: 2rem 1.25rem;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    body.page-id-9284 .testimonial-controls {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        justify-content: center;
        width: 100%;
        margin-top: 1rem;
    }

    body.page-id-9284 .testimonials-block .swiper-button-prev,
    body.page-id-9284 .testimonials-block .swiper-button-next {
        display: none !important;
    }

    body.page-id-9284 .testimonials-block .swiper-pagination-bullet {
        flex: 0 0 auto !important;
        width: 10px !important;
        height: 10px !important;
        border-radius: 999px;
        background: var(--lite-gold);
        opacity: 1;
        margin: 0 !important;
    }

    body.page-id-9284 .testimonials-block .swiper-pagination-bullet-active {
        width: 28px !important;
        border-radius: 999px;
        background: var(--lite-gold);
    }

    body.page-id-9284 .wp-custom-css-c1571b5e {
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        width: 100vw;
        max-width: 100vw;
    }

    body.page-id-9284 .wp-custom-css-c1571b5e .wp-block-cover {
        min-height: 28rem;
        border-radius: 0;
        padding: 2.5rem 1.25rem;
    }

    body.page-id-9284 .wp-custom-css-c1571b5e .wp-block-cover__background {
        opacity: 0.88 !important;
    }

    body.page-id-9284 .wp-custom-css-c1571b5e .about-cover-title {
        font-size: clamp(1.5rem, 6vw, 2rem) !important;
        line-height: 1.2 !important;
    }

    body.page-id-9284 .wp-custom-css-c1571b5e .wp-block-group.is-nowrap.is-layout-flex {
        flex-wrap: wrap !important;
        gap: 0.75rem;
        width: 100%;
        justify-content: center;
        margin-top: 1.25rem;
    }

    body.page-id-9284 .wp-custom-css-c1571b5e .subscribe-btn--explore {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 0;
        transform: none !important;
        margin: 0 !important;
        padding: 0.9rem 0.65rem !important;
        font-size: 0.8rem !important;
        text-align: center;
        box-sizing: border-box;
    }

    body.page-id-9284 .wp-custom-css-c1571b5e .subscribe-btn--explore:last-child {
        background: linear-gradient(135deg, #2a9d8f, #1d6fa5) !important;
        color: #fff !important;
        border: none;
    }

    .testimonial-text p {
        font-size: 1.1rem !important;
        line-height: 1.5 !important;
        letter-spacing: 0.01em !important;
        margin: 2rem 0 !important;
    }

    .testimonial-card::before {
        top: 1.2rem !important;
        left: 1rem !important;

    }

    .testimonials-block .swiper-pagination {
        left: auto !important;
        width: auto !important;
        justify-content: center;
    }
}

@media screen and (max-width:600px) {
    .product-metadata {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        justify-content: center !important;
        gap: 16px !important;
        margin: 1rem 0 1rem 0 !important;
        padding: 10px !important;
    }

    .product-metadata .metadata-item {
        min-width: 0 !important;
        flex: unset !important;
        width: 100% !important;
    }

    .widget-area {
        order: 1;
    }

    .wp-container-core-group-is-layout-705f0679 {
         gap: 1rem !important;
         justify-content: center !important;
        align-items: center !important;
    }

    .wp-container-core-group-is-layout-705f0679 .request-note {

        transform: scale(1) !important;
        margin-bottom: 2rem !important;
    }

    .wp-elements-7f2b9394981baf68536fcbd29631e868 br,
    .wp-elements-b74b9d7148740b4a95f4eb45a023bedc br {
        display: none !important;
    }

    .amll-orders-row {
        margin-top: 15px !important;
    }

    .woocommerce-MyAccount-content h2.amll-panel-title,
    .woocommerce-MyAccount-content h3.amll-panel-title {
        font-size: 22px !important;
    }

    .woocommerce-MyAccount-content h2:nth-child(1):not(.amll-panel-title):not(.amll-panel-subtitle) {
        font-size: 1.2em !important;
    }

    .clear-padding {
        padding: 0 !important;
    }

    #primary {
        order: 2;
    }

    .col-full:has(.shop-top-block) {
        flex-direction: column;
        display: flex;
    }

    .wc-block-product-filters__open-overlay {
        font-size: 1.1rem !important;
        display: block !important;
    }

    .left-sidebar .content-area {
        width: 100% !important;
        margin-right: 0 !important;
    }

    .left-sidebar .widget-area {
        width: 100% !important;
        margin-right: 0% !important;
    }

    .clear-padding .content-area {
        width: 100vw !important;
    }

    #secondary .is-layout-flex> :is(*, div) {
        width: 100%;
    }

    .unlock-sub--inner {
        margin-bottom: 2rem !important;
    }

    .shop-inline-banner--dashboard,
    .unlock-sub--inner div {
        width: 100% !important;
        flex-direction: column !important;
        display: flex !important;
    }

    .shop-inline-banner--dashboard *,
    .unlock-sub--inner div * {
        text-align: center !important;
    }

    .shop-inline-banner a {

        margin: 0 auto !important;
    }
}

@media screen and (min-width: 781px) {
    .storefront-primary-navigation {
        position: static !important;
     }

    .header-comntetnainer {
        position: static !important;
        justify-content: space-between !important;
    }

    .custom-header-right {
        position: static !important;
        top: auto !important;
        right: auto !important;
        transform: none !important;
        width: auto !important;
        padding: 0 !important;
        margin-left: auto !important;
    }

    .custom-header-right .header-icons a.icon-cart {
        display: inline-flex !important;
    }

    .custom-header-right .header-icons a.icon-account,
    .custom-header-right .header-icons .amll-account-nav-link {
        font-size: inherit !important;
        min-width: auto !important;
        display: inline-flex !important;
    }

    .custom-header-right .header-icons .amll-account-nav-toggle {
        display: none !important;
    }

    .custom-header-right .header-icons a.icon-account img,
    .custom-header-right .header-icons .amll-account-nav-link img,
    .custom-header-right .header-icons .amll-account-nav-toggle img {
        width: 20px !important;
        height: 20px !important;
        object-fit: contain !important;
    }

    .woocommerce-account .amll-myaccount-nav {
        position: static;
        top: auto;
        left: auto;
        width: auto;
        max-height: none;
        overflow-y: visible;
        transition: none;
        box-shadow: 0px 0px 4px 0px #00000040;
        border: 1px solid #0000000F;
        border-radius: 4px;
        padding: 24px 18px;
    }

    .woocommerce-account .amll-myaccount-welcome {
        padding: 0 6px 16px;
        margin-bottom: 16px;
    }

    .woocommerce-account .amll-myaccount-welcome__title {
        font-size: 18px;
    }

}

/* ===== Mobile fixed header (not on blank auth pages) ===== */
@media screen and (max-width: 768px) {
    body:not(.auth-page) {
        padding-top: 120px !important;
    } 
body:not(.auth-page) header {
    position: fixed !important;
    background: white;
    width: 100%;
    top: 0 !important;
}
.related-products {
    padding: 48px 0!important;
}
}

/* ===== Auth forms (login, register, forgot/reset password) ===== */
@media screen and (max-width: 768px) {
    .auth-container {
        padding: 1.25rem 1rem 2rem;
        min-height: 100dvh;
        background-position: top right;
    }

    .auth-container>.auth-logo-link {
        max-width: 180px;
        margin-bottom: 1.25rem;
    }

    .auth-container>div,
    .auth-container .auth-form-panel,
    .auth-container .auth-confirmation-panel,
    .auth-container .col2-set#customer_login {
        padding: 1.5rem 1.25rem 1.75rem;
        border-radius: 12px;
    }

    .auth-container .auth-form-panel h2,
    .auth-container .u-column1 h2,
    .auth-container .u-column2 h2 {
        font-size: 1.35rem;
    }

    .auth-container .woocommerce-form-row {
        margin-bottom: 1rem;
    }

    .lost-pass {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .custom-login-wrapper {
        margin-top: 1.25rem;
        padding-top: 1rem;
    }

    .amll-edit-account-form {
        gap: 20px;
    }

    .amll-edit-account-form .amll-form-grid,
    .amll-edit-account-form .amll-password-fields {
        gap: 16px;
    }

    .amll-edit-account-form .amll-form-actions {
        margin-top: 20px;
        gap: 10px;
    }

    .amll-account-card {
        padding: 20px 16px;
    }

    .amll-account-card__title {
        margin-bottom: 16px;
    }

    .wc-block-cart-items__row {
        display: flex !important;
    }

    .my-cat {
        flex-wrap: wrap !important;

    }

    .my-cat div {
        font-size: 0.7rem;
        flex-wrap: wrap;


        padding: 0.1rem 0.5rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.1rem !important;
        flex-wrap: wrap !important;
        text-align: center !important;
    }

    .my-cat img {
        margin: 3px !important;
        padding: 3px !important;
        margin: 0 auto !important;
        display: block !important;
    }

    .wc-block-cart-item__total {
        display: none !important;
    }

    .is-medium table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product,
    .is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product,
    .is-small table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product {

        flex-grow: 1;
    }
    .about-cover-title em {
         margin-top: 1rem;
        display: block;
    }
}

@media screen and (max-width: 375px) {
    .wc-block-components-button:not(.is-link) .wc-block-components-button__text {

        font-size: 0.8rem !important;
    }

    .my-cat img {

        display: none !important;
    }

    .is-medium table.wc-block-cart-items .wc-block-cart-items__row,
    .is-mobile table.wc-block-cart-items .wc-block-cart-items__row,
    .is-small table.wc-block-cart-items .wc-block-cart-items__row {
        padding: 10px !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }
    .wp-container-core-group-is-layout-705f0679 {
        flex-wrap: wrap !important;
        gap: 1rem !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }
}

@media screen and (max-width: 270px) {
    .site-header .custom-logo-link img {
        height: 30px !important;
        object-fit: contain !important;
    }

    .wc-block-cart__submit-button::before {
        display: none;
    }

}

@media screen and (max-width: 250px) {
    .icon-search {
        display: none !important;
    }
}