/*
Theme Name: Naromx Acid Terminal
Theme URI: https://naromx.org
Author: Ahmed Morsy
Description: Independent Acid Terminal theme for Naromx, WooCommerce, radio and GPU production services.
Version: 2.1.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: naromx-acid
License: MIT
*/

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.nx-hero-grid {
    grid-template-columns: minmax(0, 1fr);
}

.nx-hero-copy {
    max-width: 100vw;
    overflow: hidden;
}

@media (max-width: 639px) {
    .nx-hero-copy h1 {
        font-size: clamp(2.65rem, 12.5vw, 3.25rem);
        letter-spacing: -.04em;
        line-height: .98;
        overflow-wrap: anywhere;
    }

    .nx-hero-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nx-hero-actions a {
        min-width: 0;
        padding-inline: .75rem;
        text-align: center;
        white-space: normal;
    }
}

@media (min-width: 1024px) {
    .nx-hero-grid {
        grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    }
}

:root {
    --nx-ink: #0b0c0d;
    --nx-panel: #121416;
    --nx-panel-raised: #181b1e;
    --nx-line: #2a2d30;
    --nx-line-soft: #1e2124;
    --nx-text: #f1f0eb;
    --nx-muted: #94989d;
    --nx-acid: #d7e64a;
    --nx-danger: #ef645f;
    --nx-container: 92.5rem;
    --nx-ease: cubic-bezier(.22, 1, .36, 1);
}

@font-face {
    font-family: "Dubai";
    src: url("assets/fonts/DubaiW23-Regular.woff2") format("woff2");
    font-display: swap;
    font-style: normal;
    font-weight: 400 600;
}

@font-face {
    font-family: "Dubai";
    src: url("assets/fonts/DubaiW23-Bold.woff2") format("woff2");
    font-display: swap;
    font-style: normal;
    font-weight: 700 900;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body.nx-site {
    position: relative;
    min-height: 100dvh;
    background: var(--nx-ink);
    color: var(--nx-text);
    font-family: "Dubai", "Space Grotesk", sans-serif;
    font-feature-settings: "kern" 1, "liga" 1;
}

body.nx-site::before {
    position: fixed;
    z-index: 90;
    inset: 0;
    pointer-events: none;
    content: "";
    opacity: .035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

body.nx-site h1,
body.nx-site h2,
body.nx-site h3,
body.nx-site h4 {
    font-family: "Dubai", "Space Grotesk", sans-serif;
    text-wrap: balance;
}

body.nx-site button,
body.nx-site .button,
body.nx-site input[type="submit"] {
    font-family: "Dubai", "Space Grotesk", sans-serif;
}

body.nx-site p {
    text-wrap: pretty;
}

body.nx-site a,
body.nx-site button,
body.nx-site input,
body.nx-site textarea,
body.nx-site select {
    transition: color 220ms var(--nx-ease), background-color 220ms var(--nx-ease), border-color 220ms var(--nx-ease), transform 220ms var(--nx-ease), opacity 220ms var(--nx-ease);
}

body.nx-site a:focus-visible,
body.nx-site button:focus-visible,
body.nx-site input:focus-visible,
body.nx-site textarea:focus-visible,
body.nx-site select:focus-visible {
    outline: 2px solid var(--nx-acid);
    outline-offset: 3px;
}

.nx-site-header {
    border-color: rgba(215, 230, 74, .16);
    background: rgba(11, 12, 13, .97);
}

.nx-header-inner {
    height: 5rem;
}

.nx-brand img {
    width: 2.5rem !important;
    height: 2.5rem !important;
    max-width: 2.5rem !important;
    filter: saturate(.72) contrast(1.08);
    object-fit: contain;
}

.nx-brand-sub {
    color: #71767b;
}

.nx-nav-link {
    position: relative;
    padding-block: 1.85rem;
}

.nx-nav-link::after {
    position: absolute;
    right: 0;
    bottom: 1.15rem;
    width: 0;
    height: 2px;
    content: "";
    background: var(--nx-acid);
    transition: width 220ms var(--nx-ease);
}

.nx-nav-link:hover::after,
.current-menu-item .nx-nav-link::after,
.current_page_item .nx-nav-link::after {
    width: 100%;
}

.nx-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    min-height: 3.25rem;
    border-radius: 0;
    line-height: 1;
}

.nx-button:hover {
    transform: translateY(-2px);
}

.nx-button:active {
    transform: translateY(1px);
}

.nx-button-primary {
    border: 1px solid var(--nx-acid);
    background: var(--nx-acid);
    color: var(--nx-ink);
}

.nx-button-primary:hover {
    border-color: var(--nx-text);
    background: var(--nx-text);
}

.nx-button-quiet:hover {
    border-color: var(--nx-acid);
    color: var(--nx-acid);
}

.nx-cart-count {
    display: inline-grid;
    min-width: 1.35rem;
    min-height: 1.35rem;
    place-items: center;
    border: 1px solid currentColor;
    font-variant-numeric: tabular-nums;
}

.nx-hero {
    position: relative;
    overflow: hidden;
}

.nx-hero-grid {
    min-height: calc(100dvh - 5rem);
}

.nx-hero-copy {
    position: relative;
    padding: clamp(1.5rem, 3vw, 3.5rem);
}

.nx-system-rail {
    color: #858a8f;
    letter-spacing: .11em;
}

.nx-kicker {
    letter-spacing: .14em;
}

.nx-display {
    max-width: 11ch;
    font-size: clamp(3.6rem, 6.2vw, 7.2rem);
    font-weight: 700;
    letter-spacing: -.065em;
    line-height: .88;
}

.nx-lead {
    max-width: 38rem;
    color: #bbbdbf;
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
}

.nx-capabilities {
    border-color: var(--nx-line);
    background: var(--nx-line);
}

.nx-capabilities span {
    position: relative;
    overflow: hidden;
    background: #0e1011;
}

.nx-capabilities span::before {
    position: absolute;
    top: 50%;
    right: .7rem;
    width: 4px;
    height: 4px;
    content: "";
    background: var(--nx-acid);
    transform: translateY(-50%);
}

.nx-hero-visual {
    background: #0f1112;
}

.nx-hero-visual::before {
    position: absolute;
    z-index: 2;
    top: 2rem;
    right: 2rem;
    bottom: 4rem;
    width: 1px;
    content: "";
    background: rgba(215, 230, 74, .7);
}

.nx-hero-image {
    filter: saturate(.58) contrast(1.12) brightness(.82);
    transform: scale(1.015);
    transition: filter 500ms var(--nx-ease), transform 900ms var(--nx-ease);
}

.nx-hero:hover .nx-hero-image {
    filter: saturate(.78) contrast(1.08) brightness(.9);
    transform: scale(1.035);
}

.nx-visual-index {
    position: absolute;
    z-index: 3;
    top: 2rem;
    left: 2rem;
    color: rgba(241, 240, 235, .9);
    font-family: "IBM Plex Mono", monospace;
    font-size: clamp(3.5rem, 7vw, 7.5rem);
    font-weight: 600;
    letter-spacing: -.08em;
    line-height: .7;
    mix-blend-mode: difference;
}

.nx-music,
.nx-services,
.nx-order-page,
.nx-commerce-shell {
    position: relative;
}

.nx-music > div,
.nx-services > div,
.nx-order-page > div,
.nx-commerce-shell > div {
    max-width: var(--nx-container);
}

.nx-music h2,
.nx-services h2,
.nx-page-intro h1,
.nx-commerce-shell h1 {
    letter-spacing: -.045em;
    line-height: .98;
}

.nx-services {
    background: #101214;
}

.nx-service-card {
    position: relative;
    display: flex;
    min-height: 20rem;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border: 0;
}

.nx-service-card::before {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 3px;
    content: "";
    background: var(--nx-acid);
    transition: width 320ms var(--nx-ease);
}

.nx-service-card::after {
    position: absolute;
    left: 1.75rem;
    bottom: 1.5rem;
    color: #34383b;
    content: "0" counter(nx-service);
    counter-increment: nx-service;
    font-family: "IBM Plex Mono", monospace;
    font-size: 4rem;
    font-weight: 600;
    line-height: 1;
}

.nx-services-grid {
    counter-reset: nx-service;
}

.nx-service-card:hover {
    background: #171a1c;
}

.nx-service-card:hover::before {
    width: 100%;
}

.nx-service-card h3,
.nx-service-card p,
.nx-service-card span {
    position: relative;
    z-index: 1;
}

.nx-page-intro {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr);
}

.nx-product-grid.products,
.nx-commerce-shell ul.products {
    gap: 1px !important;
    border: 1px solid var(--nx-line) !important;
    background: var(--nx-line) !important;
}

.nx-product-grid.products li.product,
.nx-commerce-shell ul.products li.product {
    display: flex !important;
    min-width: 0;
    min-height: 31rem;
    flex-direction: column;
    margin: 0 !important;
    padding: 1.6rem !important;
    border: 0 !important;
    background: var(--nx-panel) !important;
}

.nx-product-grid.products li.product:hover,
.nx-commerce-shell ul.products li.product:hover {
    background: var(--nx-panel-raised) !important;
}

.nx-commerce-shell ul.products li.product img,
.nx-product-grid.products li.product img {
    width: 100% !important;
    aspect-ratio: 4 / 3;
    margin: 0 0 1.5rem !important;
    background: #0c0e0f;
    filter: saturate(.68) contrast(1.05);
    object-fit: cover;
}

.nx-product-grid.products li.product img[alt="Placeholder"],
.nx-product-grid.products li.product img[alt="Awaiting product image"],
.nx-commerce-shell ul.products li.product img[alt="Placeholder"],
.nx-commerce-shell ul.products li.product img[alt="Awaiting product image"] {
    display: none !important;
}

.nx-product-grid.products li.product:has(img[alt="Placeholder"]) .woocommerce-LoopProduct-link::before,
.nx-product-grid.products li.product:has(img[alt="Awaiting product image"]) .woocommerce-LoopProduct-link::before,
.nx-commerce-shell ul.products li.product:has(img[alt="Placeholder"]) .woocommerce-LoopProduct-link::before,
.nx-commerce-shell ul.products li.product:has(img[alt="Awaiting product image"]) .woocommerce-LoopProduct-link::before {
    display: flex;
    min-height: 16rem;
    align-items: flex-end;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    border: 1px solid #34383b;
    color: var(--nx-acid);
    content: "NAROMX / PRODUCTION UNIT";
    background-color: #0c0e0f;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 100L100 0M35 100L100 35M0 65L65 0' stroke='%2323282b' stroke-width='1'/%3E%3C/svg%3E");
    font-family: "IBM Plex Mono", monospace;
    font-size: .7rem;
    letter-spacing: .12em;
}

.nx-commerce-shell .woocommerce-loop-product__title,
.nx-product-grid .woocommerce-loop-product__title {
    padding: 0 !important;
    color: var(--nx-text) !important;
    font-size: clamp(1.35rem, 2vw, 2rem) !important;
    line-height: 1.18;
}

.nx-commerce-shell .price,
.nx-product-grid .price {
    margin-top: auto !important;
    padding-top: 1.5rem;
    color: var(--nx-acid) !important;
    font-family: "IBM Plex Mono", monospace;
    font-size: 1rem !important;
    font-variant-numeric: tabular-nums;
}

.nx-commerce-shell .button,
.nx-product-grid .button,
.nx-commerce-shell button.button,
.nx-commerce-shell input.button {
    min-height: 3.25rem;
    border: 1px solid var(--nx-acid) !important;
    border-radius: 0 !important;
    background: var(--nx-acid) !important;
    color: var(--nx-ink) !important;
    font-family: "IBM Plex Mono", monospace !important;
    font-size: .78rem !important;
    font-weight: 600 !important;
    line-height: 1 !important;
}

.nx-commerce-shell .button:hover,
.nx-product-grid .button:hover {
    border-color: var(--nx-text) !important;
    background: var(--nx-text) !important;
    transform: translateY(-2px);
}

.nx-commerce-shell .woocommerce-breadcrumb {
    color: var(--nx-muted) !important;
}

.nx-commerce-shell div.product {
    display: grid;
    gap: clamp(2rem, 5vw, 5rem);
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}

.nx-commerce-shell div.product .woocommerce-product-gallery,
.nx-commerce-shell div.product .summary {
    width: auto !important;
    float: none !important;
}

.nx-commerce-shell div.product .woocommerce-product-gallery img {
    max-height: 46rem;
    background: var(--nx-panel);
    object-fit: cover;
}

.nx-commerce-shell div.product .summary {
    align-self: start;
    padding: clamp(1.5rem, 3vw, 3rem);
    border-top: 3px solid var(--nx-acid);
    background: var(--nx-panel);
}

.nx-commerce-shell div.product .product_title {
    margin-bottom: 1rem !important;
    font-size: clamp(2.6rem, 5vw, 5.2rem) !important;
    line-height: .95;
}

.nx-commerce-shell input,
.nx-commerce-shell textarea,
.nx-commerce-shell select,
.nx-order-page input,
.nx-order-page textarea,
.nx-order-page select {
    min-height: 3.25rem;
    border: 1px solid #44494d !important;
    border-radius: 0 !important;
    background: #0e1011 !important;
    color: var(--nx-text) !important;
}

.nx-commerce-shell textarea,
.nx-order-page textarea {
    min-height: 9rem;
}

.nx-commerce-shell .woocommerce-message,
.nx-commerce-shell .woocommerce-info,
.nx-commerce-shell .woocommerce-error {
    border: 1px solid var(--nx-line) !important;
    border-top: 3px solid var(--nx-acid) !important;
    border-radius: 0 !important;
    background: var(--nx-panel) !important;
    color: var(--nx-text) !important;
}

.nx-commerce-shell .woocommerce-error {
    border-top-color: var(--nx-danger) !important;
}

.nx-commerce-shell table,
.nx-commerce-shell .wc-block-cart,
.nx-commerce-shell .wc-block-checkout,
.nx-commerce-shell .woocommerce-MyAccount-content,
.nx-commerce-shell .woocommerce-MyAccount-navigation {
    border-radius: 0 !important;
    background: var(--nx-panel);
}

.nx-commerce-shell .wc-block-components-product-image img,
.nx-commerce-shell .product-thumbnail img {
    width: 7rem !important;
    height: 7rem !important;
    object-fit: cover;
}

.nx-site .naromx-player-wrapper,
.nx-site .naromx-radio-wrapper {
    border-color: var(--nx-line) !important;
    box-shadow: none !important;
}

.nx-site .naromx-radio-wrapper {
    background: var(--nx-panel) !important;
}

.nx-site-footer {
    position: relative;
    border-color: rgba(215, 230, 74, .16);
    background: #090a0b;
}

.nx-footer-cta {
    padding-bottom: .35rem;
    border-bottom: 1px solid var(--nx-acid);
    color: var(--nx-acid);
}

.nx-site-footer a:hover {
    color: var(--nx-acid);
}

@media (min-width: 768px) {
    .nx-services-grid {
        grid-template-columns: 1.2fr .8fr;
    }

    .nx-service-card:first-child {
        min-height: 40rem;
        grid-row: span 2;
    }
}

@media (max-width: 1023px) {
    .nx-display {
        max-width: 12ch;
    }

    .nx-commerce-shell div.product {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 639px) {
    .nx-header-inner {
        height: 4.5rem;
    }

    .nx-brand-sub {
        display: none;
    }

    .nx-display,
    .nx-hero-copy h1 {
        max-width: none;
        font-size: clamp(2.85rem, 13.5vw, 4.25rem);
        line-height: .93;
    }

    .nx-hero-copy {
        padding: 1rem;
    }

    .nx-hero-content {
        padding-block: 4rem;
    }

    .nx-hero-actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .nx-visual-index {
        top: 1.25rem;
        left: 1.25rem;
    }

    .nx-product-grid.products li.product,
    .nx-commerce-shell ul.products li.product {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* WooCommerce pages rendered through page.php and Woo Blocks. */
.nx-commerce-page {
    background: #0b0c0d;
}

.nx-commerce-page .nx-page-intro {
    padding-block: clamp(1rem, 2vw, 2rem) clamp(2rem, 4vw, 4rem);
}

.nx-commerce-page .nx-page-intro h1 {
    font-size: clamp(3.2rem, 7vw, 7.5rem);
    line-height: .85;
}

.nx-woocommerce-page {
    color: var(--nx-text);
}

.nx-woocommerce-page h2,
.nx-woocommerce-page h3,
.nx-woocommerce-page legend,
.nx-woocommerce-page label {
    color: var(--nx-text) !important;
}

.nx-woocommerce-page .wc-block-components-sidebar-layout {
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: start;
}

.nx-woocommerce-page .wc-block-components-main,
.nx-woocommerce-page .wc-block-components-sidebar,
.nx-woocommerce-page .woocommerce-form-login,
.nx-woocommerce-page .woocommerce-form-register,
.nx-woocommerce-page .woocommerce-MyAccount-content,
.nx-woocommerce-page .woocommerce-MyAccount-navigation {
    border: 1px solid var(--nx-line) !important;
    border-radius: 0 !important;
    background: var(--nx-panel) !important;
}

.nx-woocommerce-page .wc-block-components-main,
.nx-woocommerce-page .woocommerce-form-login,
.nx-woocommerce-page .woocommerce-form-register,
.nx-woocommerce-page .woocommerce-MyAccount-content {
    padding: clamp(1.25rem, 3vw, 2.5rem) !important;
}

.nx-woocommerce-page .wc-block-components-sidebar {
    padding: clamp(1.25rem, 2.5vw, 2rem) !important;
    border-top: 3px solid var(--nx-acid) !important;
}

.nx-woocommerce-page .wc-block-cart-items,
.nx-woocommerce-page .wc-block-components-totals-wrapper,
.nx-woocommerce-page .wc-block-components-order-summary,
.nx-woocommerce-page .wc-block-checkout__terms,
.nx-woocommerce-page .wc-block-checkout__actions,
.nx-woocommerce-page .wc-block-components-express-payment {
    border-color: var(--nx-line) !important;
}

.nx-woocommerce-page .wc-block-cart-items__row,
.nx-woocommerce-page .wc-block-components-order-summary-item {
    color: var(--nx-text);
    border-color: var(--nx-line) !important;
}

.nx-woocommerce-page .wc-block-cart-item__product,
.nx-woocommerce-page .wc-block-components-order-summary-item__description {
    padding-inline: 1rem !important;
}

.nx-woocommerce-page .wc-block-cart-item__image img,
.nx-woocommerce-page .wc-block-components-order-summary-item__image img {
    width: 5rem !important;
    height: 5rem !important;
    border: 1px solid var(--nx-line);
    background: #0e1011;
    object-fit: cover;
}

.nx-woocommerce-page .wc-block-cart-item__image img[alt=""],
.nx-woocommerce-page .wc-block-components-order-summary-item__image img[alt=""] {
    opacity: .18;
}

.nx-woocommerce-page input,
.nx-woocommerce-page textarea,
.nx-woocommerce-page select,
.nx-woocommerce-page .wc-block-components-text-input input,
.nx-woocommerce-page .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input {
    min-height: 3.5rem !important;
    border: 1px solid #484d51 !important;
    border-radius: 0 !important;
    background: #0d0f10 !important;
    color: var(--nx-text) !important;
    caret-color: var(--nx-acid);
}

.nx-woocommerce-page input::placeholder,
.nx-woocommerce-page textarea::placeholder {
    color: #73787d !important;
    opacity: 1;
}

.nx-woocommerce-page .wc-block-components-text-input label,
.nx-woocommerce-page .wc-block-components-combobox label {
    color: #a9adb1 !important;
}

.nx-woocommerce-page .wc-block-components-checkout-step,
.nx-woocommerce-page .wc-block-components-checkout-step__container,
.nx-woocommerce-page .wc-block-components-checkout-step__content {
    background: transparent !important;
}

.nx-woocommerce-page .wc-block-components-checkout-step__heading {
    margin-bottom: 1.25rem !important;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--nx-line);
}

.nx-woocommerce-page .wc-block-components-checkout-step__title,
.nx-woocommerce-page .wc-block-components-title {
    font-family: "Dubai", sans-serif !important;
    font-size: 1.45rem !important;
    font-weight: 700 !important;
}

.nx-woocommerce-page .wc-block-components-button,
.nx-woocommerce-page .wc-block-cart__submit-button,
.nx-woocommerce-page .wc-block-components-checkout-place-order-button,
.nx-woocommerce-page button[type="submit"],
.nx-woocommerce-page .woocommerce-button,
.nx-woocommerce-page a.button {
    min-height: 3.6rem !important;
    border: 1px solid var(--nx-acid) !important;
    border-radius: 0 !important;
    background: var(--nx-acid) !important;
    color: var(--nx-ink) !important;
    font-family: "Dubai", sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
}

.nx-woocommerce-page .wc-block-components-button:hover,
.nx-woocommerce-page button[type="submit"]:hover,
.nx-woocommerce-page a.button:hover {
    border-color: var(--nx-text) !important;
    background: var(--nx-text) !important;
    transform: translateY(-2px);
}

.nx-woocommerce-page .wc-block-components-totals-item__label,
.nx-woocommerce-page .wc-block-components-totals-item__value,
.nx-woocommerce-page .wc-block-cart-item__prices,
.nx-woocommerce-page .wc-block-formatted-money-amount,
.nx-woocommerce-page .amount {
    color: var(--nx-text) !important;
    font-variant-numeric: tabular-nums;
}

.nx-woocommerce-page .wc-block-components-product-name,
.nx-woocommerce-page .wc-block-cart-item__product a {
    color: var(--nx-acid) !important;
    font-weight: 700;
}

.nx-woocommerce-page .wc-block-components-product-metadata,
.nx-woocommerce-page .wc-block-components-product-metadata__description,
.nx-woocommerce-page .wc-block-components-product-details,
.nx-woocommerce-page .wc-block-components-checkout-step__description {
    color: #a1a5a9 !important;
}

.nx-woocommerce-page .wc-block-components-express-payment {
    padding: 1.25rem !important;
    background: #0d0f10;
}

.nx-woocommerce-page .wc-block-components-panel__button,
.nx-woocommerce-page .wc-block-components-totals-coupon-link {
    color: var(--nx-acid) !important;
}

.nx-woocommerce-page .woocommerce-form-login,
.nx-woocommerce-page .woocommerce-form-register {
    max-width: 52rem;
    margin-inline: auto !important;
}

.nx-woocommerce-page .woocommerce-form-row {
    margin-bottom: 1.25rem !important;
}

.nx-woocommerce-page .woocommerce-LostPassword {
    margin-top: 1.25rem;
}

.nx-woocommerce-page .woocommerce-MyAccount-navigation {
    width: 28% !important;
    padding: 1rem !important;
}

.nx-woocommerce-page .woocommerce-MyAccount-content {
    width: 69% !important;
}

.nx-woocommerce-page .woocommerce-MyAccount-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nx-woocommerce-page .woocommerce-MyAccount-navigation a {
    display: block;
    padding: .9rem 1rem;
    border-bottom: 1px solid var(--nx-line);
    color: var(--nx-text) !important;
}

.nx-woocommerce-page .woocommerce-MyAccount-navigation .is-active a,
.nx-woocommerce-page .woocommerce-MyAccount-navigation a:hover {
    background: var(--nx-acid);
    color: var(--nx-ink) !important;
}

.nx-woocommerce-page .wc-block-components-notice-banner,
.nx-woocommerce-page .woocommerce-message,
.nx-woocommerce-page .woocommerce-info,
.nx-woocommerce-page .woocommerce-error {
    border: 1px solid var(--nx-line) !important;
    border-top: 3px solid var(--nx-acid) !important;
    border-radius: 0 !important;
    background: var(--nx-panel) !important;
    color: var(--nx-text) !important;
}

@media (max-width: 780px) {
    .nx-commerce-page > div {
        padding-inline: 1rem;
        padding-block: 2rem 3rem;
    }

    .nx-commerce-page .nx-page-intro h1 {
        font-size: clamp(3rem, 17vw, 4.5rem);
    }

    .nx-woocommerce-page .wc-block-components-sidebar-layout {
        display: flex !important;
        flex-direction: column !important;
    }

    .nx-woocommerce-page .wc-block-components-main,
    .nx-woocommerce-page .wc-block-components-sidebar {
        width: 100% !important;
        padding: 1rem !important;
    }

    .nx-woocommerce-page .woocommerce-MyAccount-navigation,
    .nx-woocommerce-page .woocommerce-MyAccount-content {
        width: 100% !important;
        float: none !important;
    }

    .nx-woocommerce-page .woocommerce-MyAccount-navigation {
        margin-bottom: 1rem;
    }
}
