/*
|--------------------------------------------------------------------------
| Startechno UI Shell V4
|--------------------------------------------------------------------------
| Independent desktop/mobile header, mobile sheets and bottom navigation.
| All selectors use the stx- prefix to avoid legacy header collisions.
*/

:root {
    --stx-bg: #ffffff;
    --stx-surface: #f7f5fa;
    --stx-surface-strong: #f0ebf6;
    --stx-text: #211a2b;
    --stx-muted: #766f80;
    --stx-line: #ebe5f0;
    --stx-danger: #d92d20;
    --stx-radius-sm: 12px;
    --stx-radius: 16px;
    --stx-radius-lg: 22px;
    --stx-shadow-sm: 0 8px 24px rgba(36, 22, 48, .08);
    --stx-shadow: 0 20px 55px rgba(36, 22, 48, .16);
    --stx-header-z: 1180;
    --stx-bottom-nav-height: 68px;
}

.stx-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Mobile-only elements must never leak into desktop layout. */
.stx-mobile-layer-root,
.stx-bottom-nav {
    display: none !important;
}

.stx-mobile-layer-root [hidden],
.stx-desktop-header [hidden],
.stx-search [hidden] {
    display: none !important;
}

.stx-container {
    width: min(1440px, calc(100% - 40px));
    margin-inline: auto;
}

.stx-top-banner {
    display: block;
    width: 100%;
    overflow: hidden;
    background: var(--stx-surface);
}

.stx-top-banner img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.stx-cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--colorMain, #6f2da8);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
}

.stx-cart-badge:empty,
.stx-cart-badge[data-empty="true"] {
    display: none;
}

/* Search */
.stx-search {
    position: relative;
    width: 100%;
}

.stx-search__field {
    position: relative;
    display: flex;
    align-items: center;
}

.stx-search__input {
    width: 100%;
    height: 48px;
    padding: 0 48px 0 52px;
    border: 1px solid transparent;
    border-radius: 15px;
    outline: 0;
    background: var(--stx-surface);
    color: var(--stx-text);
    font: inherit;
    font-size: 14px;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.stx-search__input::placeholder {
    color: var(--stx-muted);
}

.stx-search__input:focus {
    border-color: rgba(var(--colorMainRGB, 111, 45, 168), .34);
    background: #fff;
    box-shadow: 0 10px 28px rgba(var(--colorMainRGB, 111, 45, 168), .10);
}

.stx-search__icon,
.stx-search__spinner,
.stx-search__clear {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    color: var(--stx-muted);
}

.stx-search__icon,
.stx-search__spinner {
    right: 6px;
    pointer-events: none;
}

.stx-search__clear {
    left: 6px;
    cursor: pointer;
    border-radius: 10px;
}

.stx-search__clear:hover {
    background: var(--stx-surface-strong);
    color: var(--stx-text);
}

.stx-search__spinner {
    display: none;
    animation: stx-spin .85s linear infinite;
}

.stx-search.is-loading .stx-search__spinner {
    display: inline-flex;
}

.stx-search.is-loading .stx-search__icon {
    display: none;
}

.stx-search__panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 20;
    max-height: min(520px, calc(100vh - 130px));
    overflow: auto;
    padding: 10px;
    border: 1px solid var(--stx-line);
    border-radius: 0 0 18px 18px;
    background: #fff;
    box-shadow: var(--stx-shadow);
}

.stx-search__result {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 74px;
    padding: 8px;
    border-radius: 12px;
    color: var(--stx-text);
    text-decoration: none;
}

.stx-search__result:hover {
    background: var(--stx-surface);
    color: var(--colorMain, #6f2da8);
}

.stx-search__result-image {
    width: 58px;
    height: 58px;
    overflow: hidden;
    border-radius: 10px;
    background: var(--stx-surface);
}

.stx-search__result-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.stx-search__result-content {
    min-width: 0;
}

.stx-search__result-title {
    display: block;
    overflow: hidden;
    color: inherit;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.8;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stx-search__result-meta {
    display: block;
    margin-top: 4px;
    color: var(--stx-muted);
    font-size: 12px;
}

.stx-search__empty {
    padding: 24px 14px;
    color: var(--stx-muted);
    font-size: 13px;
    text-align: center;
}

.stx-search__recommendations {
    padding: 10px 8px 4px;
}

.stx-search__recommendations-title {
    display: block;
    margin-bottom: 10px;
    color: var(--stx-muted);
    font-size: 12px;
}

.stx-search__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.stx-search__chip {
    padding: 7px 11px;
    border: 1px solid var(--stx-line);
    border-radius: 999px;
    background: #fff;
    color: var(--stx-text);
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.stx-search__chip:hover {
    border-color: rgba(var(--colorMainRGB, 111, 45, 168), .28);
    background: rgba(var(--colorMainRGB, 111, 45, 168), .06);
    color: var(--colorMain, #6f2da8);
}

.stx-search__more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding: 12px;
    border-radius: 11px;
    background: rgba(var(--colorMainRGB, 111, 45, 168), .08);
    color: var(--colorMain, #6f2da8);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

@keyframes stx-spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

/* Desktop header */
.stx-desktop-header {
    display: none;
}

@media (min-width: 992px) {
    .stx-desktop-header {
        position: sticky;
        top: 0;
        z-index: var(--stx-header-z);
        display: block;
        background: rgba(255, 255, 255, .98);
        border-bottom: 1px solid var(--stx-line);
        box-shadow: 0 8px 24px rgba(36, 22, 48, .05);
        backdrop-filter: blur(12px);
    }

    .stx-desktop-header__top {
        display: grid;
        grid-template-columns: minmax(150px, 190px) minmax(360px, 1fr) auto;
        gap: 28px;
        align-items: center;
        min-height: 82px;
    }

    .stx-desktop-logo {
        display: flex;
        align-items: center;
        min-width: 0;
    }

    .stx-desktop-logo img {
        display: block;
        width: auto;
        max-width: 180px;
        height: 52px;
        object-fit: contain;
        object-position: right center;
    }

    .stx-desktop-search {
        width: min(720px, 100%);
        justify-self: center;
    }

    .stx-desktop-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .stx-action-button {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 44px;
        padding: 0 14px;
        border: 1px solid var(--stx-line);
        border-radius: 13px;
        background: #fff;
        color: var(--stx-text);
        font: inherit;
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
        cursor: pointer;
        transition: border-color .18s ease, background .18s ease, color .18s ease;
    }

    .stx-action-button:hover {
        border-color: rgba(var(--colorMainRGB, 111, 45, 168), .28);
        background: rgba(var(--colorMainRGB, 111, 45, 168), .05);
        color: var(--colorMain, #6f2da8);
    }

    .stx-action-button--cart {
        width: 46px;
        min-width: 46px;
        padding: 0;
        background: var(--stx-surface);
    }

    .stx-account-dropdown {
        position: relative;
    }

    .stx-account-dropdown__chevron {
        font-size: 11px;
        transition: transform .18s ease;
    }

    .stx-account-dropdown.is-open .stx-account-dropdown__chevron {
        transform: rotate(180deg);
    }

    .stx-account-dropdown__menu {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        z-index: 30;
        width: 290px;
        padding: 10px;
        border: 1px solid var(--stx-line);
        border-radius: 16px;
        background: #fff;
        box-shadow: var(--stx-shadow);
    }

    .stx-account-dropdown__identity {
        display: flex;
        flex-direction: column;
        gap: 3px;
        padding: 10px 10px 13px;
        margin-bottom: 5px;
        border-bottom: 1px solid var(--stx-line);
    }

    .stx-account-dropdown__identity strong {
        color: var(--stx-text);
        font-size: 14px;
    }

    .stx-account-dropdown__identity span {
        color: var(--stx-muted);
        font-size: 12px;
        direction: ltr;
        text-align: right;
    }

    .stx-account-dropdown__menu > a {
        display: grid;
        grid-template-columns: 24px minmax(0, 1fr) auto;
        gap: 8px;
        align-items: center;
        min-height: 43px;
        padding: 0 9px;
        border-radius: 10px;
        color: var(--stx-text);
        font-size: 13px;
        text-decoration: none;
    }

    .stx-account-dropdown__menu > a:hover {
        background: var(--stx-surface);
        color: var(--colorMain, #6f2da8);
    }

    .stx-account-dropdown__menu > a small {
        color: var(--stx-muted);
        font-size: 10px;
    }

    .stx-account-dropdown__menu > a.is-danger {
        color: var(--stx-danger);
    }

    .stx-desktop-nav {
        border-top: 1px solid var(--stx-line);
    }

    .stx-desktop-nav__inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 56px;
    }

    .stx-main-nav {
        display: flex;
        align-items: stretch;
        min-width: 0;
        height: 56px;
    }

    .stx-category-mega,
    .stx-main-nav__item {
        position: relative;
        display: flex;
        align-items: stretch;
    }

    .stx-category-mega__trigger,
    .stx-main-nav__item > a {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 0 14px;
        color: var(--stx-text);
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
    }

    .stx-category-mega__trigger {
        margin-left: 6px;
        border-radius: 12px;
        background: rgba(var(--colorMainRGB, 111, 45, 168), .08);
        color: var(--colorMain, #6f2da8);
    }

    .stx-main-nav__item > a:hover,
    .stx-main-nav__item:focus-within > a {
        color: var(--colorMain, #6f2da8);
    }

    .stx-main-nav__item > a > i {
        font-size: 10px;
    }

    .stx-main-nav__dropdown {
        position: absolute;
        top: calc(100% - 2px);
        right: 0;
        z-index: 25;
        display: flex;
        flex-direction: column;
        gap: 2px;
        width: max-content;
        min-width: 245px;
        max-width: min(320px, calc(100vw - 32px));
        padding: 8px;
        border: 1px solid var(--stx-line);
        border-radius: 0 0 14px 14px;
        background: #fff;
        box-shadow: var(--stx-shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        pointer-events: none;
        transition: opacity .16s ease, visibility .16s ease, transform .16s ease;
    }

    .stx-main-nav__item:hover .stx-main-nav__dropdown,
    .stx-main-nav__item:focus-within .stx-main-nav__dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .stx-main-nav__dropdown-item > a {
        display: block;
        padding: 10px 12px;
        border-radius: 9px;
        color: var(--stx-text);
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
    }

    .stx-main-nav__dropdown-item > a:hover {
        color: var(--colorMain, #6f2da8);
        background: rgba(var(--colorMainRGB, 111, 45, 168), .07);
    }

    .stx-category-mega__panel {
        position: absolute;
        top: calc(100% - 2px);
        right: 0;
        z-index: 24;
        display: grid;
        grid-template-columns: 270px minmax(0, 1fr);
        width: min(1000px, calc(100vw - 80px));
        min-height: 430px;
        max-height: min(620px, calc(100vh - 150px));
        overflow: hidden;
        border: 1px solid var(--stx-line);
        border-radius: 0 0 20px 20px;
        background: #fff;
        box-shadow: var(--stx-shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        pointer-events: none;
        transition: opacity .16s ease, visibility .16s ease, transform .16s ease;
    }

    .stx-category-mega:hover .stx-category-mega__panel,
    .stx-category-mega:focus-within .stx-category-mega__panel {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .stx-category-mega__roots {
        overflow: auto;
        padding: 12px;
        border-left: 1px solid var(--stx-line);
        background: var(--stx-surface);
    }

    .stx-category-mega__root {
        display: grid;
        grid-template-columns: 30px minmax(0, 1fr) 18px;
        gap: 8px;
        align-items: center;
        width: 100%;
        min-height: 48px;
        padding: 7px 10px;
        border: 0;
        border-radius: 11px;
        background: transparent;
        color: var(--stx-text);
        font: inherit;
        font-size: 13px;
        text-align: right;
        cursor: pointer;
    }

    .stx-category-mega__root img {
        width: 24px;
        height: 24px;
        object-fit: contain;
    }

    .stx-category-mega__root.is-active,
    .stx-category-mega__root:hover {
        background: #fff;
        color: var(--colorMain, #6f2da8);
        box-shadow: 0 5px 16px rgba(36, 22, 48, .06);
    }

    .stx-category-mega__content {
        overflow: auto;
        padding: 22px 24px;
    }

    .stx-category-mega__section {
        display: none;
    }

    .stx-category-mega__section.is-active {
        display: block;
    }

    .stx-category-mega__all {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 20px;
        color: var(--colorMain, #6f2da8);
        font-size: 13px;
        font-weight: 800;
        text-decoration: none;
    }

    .stx-category-mega__columns {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }

    .stx-category-mega__title {
        display: block;
        padding-right: 10px;
        margin-bottom: 9px;
        border-right: 3px solid var(--colorMain, #6f2da8);
        color: var(--stx-text);
        font-size: 13px;
        font-weight: 800;
        text-decoration: none;
    }

    .stx-category-mega__column ul {
        display: grid;
        gap: 7px;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .stx-category-mega__column li a {
        color: var(--stx-muted);
        font-size: 12px;
        text-decoration: none;
    }

    .stx-category-mega__column a:hover {
        color: var(--colorMain, #6f2da8);
    }

    .stx-category-mega__empty {
        color: var(--stx-muted);
        font-size: 13px;
    }

    .stx-desktop-support {
        display: flex;
        align-items: center;
        gap: 7px;
        margin-right: 20px;
        color: var(--stx-muted);
        font-size: 12px;
        white-space: nowrap;
    }

    .stx-desktop-support > i {
        color: var(--colorMain, #6f2da8);
    }

    .stx-desktop-support a {
        color: var(--stx-text);
        font-weight: 750;
        text-decoration: none;
    }
}

/* Mobile header */
.stx-mobile-header {
    display: none;
}

@media (max-width: 991.98px) {
    .stx-mobile-layer-root {
        display: block !important;
    }

    .stx-desktop-header {
        display: none !important;
    }

    .stx-mobile-header {
        position: sticky;
        top: 0;
        z-index: var(--stx-header-z);
        display: block;
        padding: 9px 12px 11px;
        border-bottom: 1px solid var(--stx-line);
        background: rgba(255, 255, 255, .98);
        box-shadow: 0 8px 22px rgba(36, 22, 48, .07);
        backdrop-filter: blur(12px);
    }

    .stx-mobile-header__row {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr) auto;
        gap: 10px;
        align-items: center;
    }

    .stx-mobile-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
    }

    .stx-mobile-logo img {
        display: block;
        width: auto;
        max-width: min(150px, 42vw);
        height: 42px;
        object-fit: contain;
        object-position: center;
    }

    .stx-mobile-header__actions {
        display: flex;
        align-items: center;
        gap: 7px;
    }

    .stx-mobile-icon-button {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        min-width: 42px;
        height: 42px;
        padding: 0;
        border: 1px solid var(--stx-line);
        border-radius: 13px;
        background: #fff;
        color: var(--stx-text);
        font: inherit;
        font-size: 19px;
        text-decoration: none;
        cursor: pointer;
    }

    .stx-mobile-icon-button:active {
        transform: scale(.97);
        background: var(--stx-surface);
    }

    .stx-mobile-search-trigger {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        height: 44px;
        padding: 0 14px;
        margin-top: 9px;
        border: 1px solid transparent;
        border-radius: 14px;
        background: var(--stx-surface);
        color: var(--stx-muted);
        font: inherit;
        font-size: 13px;
        text-align: right;
        cursor: pointer;
    }

    .stx-mobile-search-trigger i {
        color: var(--colorMain, #6f2da8);
        font-size: 17px;
    }

    .stx-mobile-layer-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1990;
        width: 100%;
        height: 100%;
        padding: 0;
        border: 0;
        background: rgba(20, 14, 27, .54);
        backdrop-filter: blur(3px);
    }

    .stx-mobile-sheet {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 2000;
        display: flex;
        flex-direction: column;
        width: 100%;
        max-height: min(92dvh, 820px);
        border-radius: 24px 24px 0 0;
        background: #fff;
        box-shadow: 0 -20px 60px rgba(20, 14, 27, .24);
        transform: translateY(102%);
        transition: transform .24s ease;
        overflow: hidden;
    }

    .stx-mobile-sheet.is-open {
        transform: translateY(0);
    }

    .stx-mobile-sheet--menu {
        max-height: 94dvh;
    }

    .stx-mobile-sheet--search {
        max-height: 88dvh;
    }

    .stx-mobile-sheet__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        flex: 0 0 auto;
        min-height: 72px;
        padding: 13px 16px;
        border-bottom: 1px solid var(--stx-line);
        background: #fff;
    }

    .stx-mobile-sheet__header > div {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .stx-mobile-sheet__header strong {
        color: var(--stx-text);
        font-size: 16px;
        font-weight: 850;
    }

    .stx-mobile-sheet__header span {
        margin-top: 3px;
        color: var(--stx-muted);
        font-size: 11px;
    }

    .stx-mobile-sheet__close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        min-width: 42px;
        height: 42px;
        padding: 0;
        border: 1px solid var(--stx-line);
        border-radius: 13px;
        background: var(--stx-surface);
        color: var(--stx-text);
        font-size: 18px;
        cursor: pointer;
    }

    .stx-mobile-sheet__body {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 14px 14px calc(22px + env(safe-area-inset-bottom));
    }

    .stx-mobile-sheet__body--search {
        overflow: visible;
    }

    html.stx-layer-open,
    body.stx-layer-open {
        overflow: hidden !important;
        overscroll-behavior: none;
    }

    .stx-mobile-quick-links {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 20px;
    }

    .stx-mobile-quick-links a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-height: 78px;
        padding: 8px 5px;
        border: 1px solid var(--stx-line);
        border-radius: 15px;
        background: #fff;
        color: var(--stx-text);
        font-size: 11px;
        font-weight: 700;
        text-align: center;
        text-decoration: none;
    }

    .stx-mobile-quick-links a i {
        color: var(--colorMain, #6f2da8);
        font-size: 20px;
    }

    .stx-mobile-section-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 18px 2px 9px;
    }

    .stx-mobile-section-title span {
        color: var(--stx-text);
        font-size: 14px;
        font-weight: 850;
    }

    .stx-mobile-section-title small {
        color: var(--stx-muted);
        font-size: 10px;
    }

    .stx-mobile-category-list,
    .stx-mobile-link-list {
        display: grid;
        gap: 8px;
    }

    .stx-mobile-category,
    .stx-mobile-nav-group {
        overflow: hidden;
        border: 1px solid var(--stx-line);
        border-radius: 15px;
        background: #fff;
    }

    .stx-mobile-category > summary,
    .stx-mobile-nav-group > summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 54px;
        padding: 8px 13px;
        color: var(--stx-text);
        font-size: 13px;
        font-weight: 800;
        list-style: none;
        cursor: pointer;
    }

    .stx-mobile-category > summary::-webkit-details-marker,
    .stx-mobile-nav-group > summary::-webkit-details-marker,
    .stx-mobile-subcategory > summary::-webkit-details-marker {
        display: none;
    }

    .stx-mobile-category > summary > i,
    .stx-mobile-nav-group > summary > i,
    .stx-mobile-subcategory > summary > i {
        font-size: 11px;
        transition: transform .18s ease;
    }

    .stx-mobile-category[open] > summary > i,
    .stx-mobile-nav-group[open] > summary > i,
    .stx-mobile-subcategory[open] > summary > i {
        transform: rotate(180deg);
    }

    .stx-mobile-category__identity {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
    }

    .stx-mobile-category__identity img {
        width: 28px;
        height: 28px;
        object-fit: contain;
    }

    .stx-mobile-category__identity > i {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        border-radius: 9px;
        background: rgba(var(--colorMainRGB, 111, 45, 168), .08);
        color: var(--colorMain, #6f2da8);
    }

    .stx-mobile-category__content,
    .stx-mobile-nav-group > div {
        padding: 0 12px 12px;
        border-top: 1px solid var(--stx-line);
        background: var(--stx-surface);
    }

    .stx-mobile-category__all {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 48px;
        color: var(--colorMain, #6f2da8);
        font-size: 12px;
        font-weight: 800;
        text-decoration: none;
    }

    .stx-mobile-subcategory {
        border-bottom: 1px solid var(--stx-line);
    }

    .stx-mobile-subcategory:last-child {
        border-bottom: 0;
    }

    .stx-mobile-subcategory > summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 46px;
        color: var(--stx-text);
        font-size: 12px;
        font-weight: 750;
        list-style: none;
        cursor: pointer;
    }

    .stx-mobile-subcategory__content {
        display: grid;
        gap: 1px;
        padding: 0 10px 9px;
    }

    .stx-mobile-subcategory__content a,
    .stx-mobile-nav-group > div a {
        display: block;
        min-height: 40px;
        padding: 9px 10px;
        border-radius: 9px;
        color: var(--stx-muted);
        font-size: 12px;
        text-decoration: none;
    }

    .stx-mobile-subcategory__content a:hover,
    .stx-mobile-nav-group > div a:hover {
        background: #fff;
        color: var(--colorMain, #6f2da8);
    }

    .stx-mobile-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 52px;
        padding: 0 14px;
        border: 1px solid var(--stx-line);
        border-radius: 14px;
        background: #fff;
        color: var(--stx-text);
        font-size: 13px;
        font-weight: 750;
        text-decoration: none;
    }

    .stx-mobile-account-card {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 15px;
        margin-bottom: 12px;
        border-radius: 18px;
        background: linear-gradient(135deg, rgba(var(--colorMainRGB, 111, 45, 168), .12), rgba(var(--colorMainRGB, 111, 45, 168), .04));
    }

    .stx-mobile-account-card__avatar {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        min-width: 50px;
        height: 50px;
        border-radius: 16px;
        background: var(--colorMain, #6f2da8);
        color: #fff;
        font-size: 22px;
    }

    .stx-mobile-account-card > div:last-child {
        display: flex;
        flex-direction: column;
    }

    .stx-mobile-account-card strong {
        color: var(--stx-text);
        font-size: 14px;
    }

    .stx-mobile-account-card span {
        margin-top: 4px;
        color: var(--stx-muted);
        font-size: 12px;
        direction: ltr;
        text-align: right;
    }

    .stx-mobile-account-links {
        display: grid;
        gap: 6px;
    }

    .stx-mobile-account-links a {
        display: grid;
        grid-template-columns: 28px minmax(0, 1fr) auto 18px;
        gap: 8px;
        align-items: center;
        min-height: 53px;
        padding: 0 12px;
        border: 1px solid var(--stx-line);
        border-radius: 14px;
        background: #fff;
        color: var(--stx-text);
        font-size: 13px;
        text-decoration: none;
    }

    .stx-mobile-account-links a > i:first-child {
        color: var(--colorMain, #6f2da8);
        font-size: 18px;
    }

    .stx-mobile-account-links a > i:last-child {
        color: var(--stx-muted);
        font-size: 12px;
    }

    .stx-mobile-account-links a small {
        color: var(--stx-muted);
        font-size: 10px;
    }

    .stx-mobile-account-links a.is-danger {
        color: var(--stx-danger);
    }

    .stx-mobile-account-links a.is-danger > i:first-child {
        color: var(--stx-danger);
    }

    .stx-mobile-guest {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 32px 18px;
        text-align: center;
    }

    .stx-mobile-guest__icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
        border-radius: 22px;
        background: rgba(var(--colorMainRGB, 111, 45, 168), .10);
        color: var(--colorMain, #6f2da8);
        font-size: 30px;
    }

    .stx-mobile-guest strong {
        color: var(--stx-text);
        font-size: 16px;
    }

    .stx-mobile-guest p {
        max-width: 290px;
        margin: 9px 0 20px;
        color: var(--stx-muted);
        font-size: 12px;
        line-height: 1.9;
    }

    .stx-mobile-primary-action {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: min(100%, 300px);
        height: 50px;
        border-radius: 14px;
        background: var(--colorMain, #6f2da8);
        color: #fff;
        font-size: 13px;
        font-weight: 800;
        text-decoration: none;
    }

    .stx-search--mobile .stx-search__input {
        height: 52px;
        border-color: var(--stx-line);
        background: #fff;
    }

    .stx-search--mobile .stx-search__panel {
        position: static;
        max-height: calc(88dvh - 170px);
        margin-top: 10px;
        border-radius: 16px;
        box-shadow: none;
    }

    .stx-bottom-nav {
        position: fixed;
        display: grid !important;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1880;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        min-height: calc(var(--stx-bottom-nav-height) + env(safe-area-inset-bottom));
        padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--stx-line);
        background: rgba(255, 255, 255, .97);
        box-shadow: 0 -10px 28px rgba(36, 22, 48, .10);
        backdrop-filter: blur(14px);
    }

    .stx-bottom-nav > a,
    .stx-bottom-nav > button {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        min-width: 0;
        min-height: 54px;
        padding: 3px;
        border: 0;
        border-radius: 12px;
        background: transparent;
        color: var(--stx-muted);
        font: inherit;
        text-decoration: none;
        cursor: pointer;
    }

    .stx-bottom-nav > a > i,
    .stx-bottom-nav > button > i,
    .stx-bottom-nav__cart-icon > i {
        font-size: 20px;
    }

    .stx-bottom-nav > a > span:last-child,
    .stx-bottom-nav > button > span:last-child {
        overflow: hidden;
        max-width: 100%;
        font-size: 10px;
        font-weight: 700;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .stx-bottom-nav > .is-active,
    .stx-bottom-nav > a:hover,
    .stx-bottom-nav > button:hover {
        background: rgba(var(--colorMainRGB, 111, 45, 168), .07);
        color: var(--colorMain, #6f2da8);
    }

    .stx-bottom-nav__cart-icon {
        position: relative;
        display: inline-flex;
    }

    body.stx-has-bottom-nav main {
        padding-bottom: calc(var(--stx-bottom-nav-height) + env(safe-area-inset-bottom) + 18px);
    }

    body.stx-has-bottom-nav .back-to-top,
    body.stx-has-bottom-nav .call-buttons {
        bottom: calc(var(--stx-bottom-nav-height) + env(safe-area-inset-bottom) + 14px);
    }
}

@media (max-width: 380px) {
    .stx-mobile-header {
        padding-inline: 8px;
    }

    .stx-mobile-header__row {
        grid-template-columns: 40px minmax(0, 1fr) auto;
        gap: 6px;
    }

    .stx-mobile-icon-button {
        width: 40px;
        min-width: 40px;
        height: 40px;
    }

    .stx-mobile-logo img {
        max-width: 112px;
        height: 38px;
    }

    .stx-mobile-quick-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .stx-mobile-sheet,
    .stx-search__input,
    .stx-account-dropdown__chevron,
    .stx-main-nav__dropdown,
    .stx-category-mega__panel {
        transition: none !important;
    }
}
/* STX SHELL V4 GAP AND CLICK FIX */
/* Legacy layout reserved space for the previous fixed header. The V4 shell is in normal flow. */
.stx-desktop-header ~ main,
.stx-mobile-header ~ main {
    display: flow-root;
}

.stx-desktop-header ~ main .page-content,
.stx-mobile-header ~ main .page-content {
    padding-top: var(--stx-page-content-gap, 16px) !important;
}

/* The closed mobile layer root must never intercept page/header clicks. */
.stx-mobile-layer-root {
    pointer-events: none !important;
}

.stx-mobile-layer-root > .stx-mobile-layer-backdrop:not([hidden]),
.stx-mobile-layer-root > .stx-mobile-sheet:not([hidden]) {
    pointer-events: auto !important;
}

.stx-mobile-layer-root > [hidden] {
    pointer-events: none !important;
}

.stx-desktop-header,
.stx-mobile-header,
.stx-bottom-nav {
    pointer-events: auto !important;
}

/* STX SHELL V4 MOBILE NAV SPLIT START */
@media (max-width: 991.98px) {
    /* Hamburger menu: a dedicated right-side drawer containing only site links. */
    .stx-mobile-sheet--menu {
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        width: min(88vw, 390px);
        max-width: min(88vw, 390px);
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 22px 0 0 22px;
        box-shadow: -22px 0 60px rgba(20, 14, 27, .24);
        transform: translateX(105%);
        transition: transform .24s ease;
    }

    .stx-mobile-sheet--menu.is-open {
        transform: translateX(0);
    }

    .stx-mobile-sheet--menu .stx-mobile-sheet__body {
        padding-bottom: calc(24px + env(safe-area-inset-bottom));
    }

    /* Bottom navigation category button: categories only, still a bottom sheet. */
    .stx-mobile-sheet--categories {
        max-height: 94dvh;
    }
}
/* STX SHELL V4 MOBILE NAV SPLIT END */

/* STX MODERN MINI CART V4 START */
html.stx-mini-cart-open,
body.stx-mini-cart-open {
    overflow: hidden !important;
    overscroll-behavior: none;
}

.mini-shopping-cart.stx-mini-cart {
    position: fixed !important;
    inset: 0 auto 0 0 !important;
    z-index: 2200 !important;
    display: block !important;
    width: min(430px, 100vw) !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translate3d(-104%, 0, 0) !important;
    transition:
        transform .28s cubic-bezier(.22, 1, .36, 1),
        opacity .2s ease,
        visibility 0s linear .28s !important;
    pointer-events: none !important;
}

.mini-shopping-cart.stx-mini-cart.open {
    left: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate3d(0, 0, 0) !important;
    transition-delay: 0s !important;
    pointer-events: auto !important;
}

.stx-mini-cart__shell {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border-radius: 0 26px 26px 0;
    box-shadow: 24px 0 70px rgba(21, 15, 29, .18);
}

.mini-cart-head.stx-mini-cart__header {
    position: relative;
    z-index: 2;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex: 0 0 auto;
    min-height: 92px !important;
    height: auto !important;
    padding: 18px 20px !important;
    border: 0 !important;
    border-bottom: 1px solid #eeeaf2 !important;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
}

.stx-mini-cart__heading {
    min-width: 0;
}

.stx-mini-cart__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #8b8492;
    font-size: 11px;
    font-weight: 600;
}

.stx-mini-cart__title-row {
    display: flex;
    align-items: center;
    gap: 9px;
}

.stx-mini-cart__title-row h2 {
    margin: 0;
    color: #211b27;
    font-size: 20px;
    font-weight: 850;
    line-height: 1.35;
}

.stx-mini-cart__count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 27px;
    padding: 4px 9px;
    color: var(--colorMain, #6f2da8);
    background: rgba(var(--colorMainRGB, 111, 45, 168), .08);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 750;
    white-space: nowrap;
}

.close-cart.stx-mini-cart__close {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    margin: 0 !important;
    padding: 0 !important;
    color: #3f3748;
    background: #f7f4f9;
    border: 1px solid #e8e1ed;
    border-radius: 13px;
    opacity: 1 !important;
    font-size: 19px !important;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, color .18s ease;
}

.close-cart.stx-mini-cart__close:hover {
    color: var(--colorMain, #6f2da8);
    background: rgba(var(--colorMainRGB, 111, 45, 168), .08);
    transform: translateY(-1px);
}

.close-cart.stx-mini-cart__close:focus-visible {
    outline: 3px solid rgba(var(--colorMainRGB, 111, 45, 168), .2);
    outline-offset: 2px;
}

#miniCartWrapper.stx-mini-cart__content {
    position: relative;
    flex: 1 1 auto;
    height: auto !important;
    min-height: 0;
    overflow: hidden !important;
    background: #fbfafc;
}

#miniCartWrapper.stx-mini-cart__content.loading {
    height: auto !important;
}

#miniCartWrapper.stx-mini-cart__content > .loading-view {
    position: absolute;
    inset: 0;
    z-index: 5;
    background-color: rgba(251, 250, 252, .78);
    backdrop-filter: blur(2px);
}

.stx-mini-cart-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.mini-cart-items.stx-mini-cart-items {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 14px 14px 24px;
    scrollbar-width: thin;
    scrollbar-color: #d7cfdd transparent;
}

.stx-mini-cart-items::-webkit-scrollbar {
    width: 5px;
}

.stx-mini-cart-items::-webkit-scrollbar-thumb {
    background: #d7cfdd;
    border-radius: 999px;
}

.h-product-item.stx-mini-cart-item {
    display: grid !important;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 13px;
    margin: 0 0 10px !important;
    padding: 12px !important;
    background: #fff;
    border: 1px solid #eee8f1 !important;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(40, 27, 51, .045);
}

.h-product-item.stx-mini-cart-item:last-child {
    margin-bottom: 0 !important;
    border-bottom: 1px solid #eee8f1 !important;
}

.stx-mini-cart-item__media {
    position: relative;
    display: block;
    width: 82px !important;
    height: 82px !important;
    overflow: hidden;
    background: #f7f5f8;
    border: 1px solid #eee8f1;
    border-radius: 14px;
}

.stx-mini-cart-item__media img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.h-product-item-content.stx-mini-cart-item__content {
    display: flex !important;
    flex-direction: column;
    min-width: 0;
    padding: 0 !important;
}

.stx-mini-cart-item__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 8px;
    align-items: start;
}

.stx-mini-cart-item__title {
    display: -webkit-box !important;
    overflow: hidden;
    margin: 1px 0 0 !important;
    color: #2b2430 !important;
    font-size: 13px !important;
    font-weight: 750 !important;
    line-height: 1.8 !important;
    text-decoration: none !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.stx-mini-cart-item__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    color: #a49ca9;
    background: transparent;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    transition: color .18s ease, background .18s ease;
}

.stx-mini-cart-item__remove:hover {
    color: #d43b4f;
    background: #fff0f2;
}

.stx-mini-cart-item__attributes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 7px;
}

.stx-mini-cart-item__attribute {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 25px;
    padding: 3px 8px;
    color: #716978;
    background: #f7f4f8;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 650;
}

.stx-mini-cart-item__attribute .color-square {
    width: 11px;
    height: 11px;
    margin: 0;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 50%;
}

.stx-mini-cart-item__meta {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
}

.stx-mini-cart-item__quantity {
    color: #817987;
    font-size: 11px;
    font-weight: 650;
}

.stx-mini-cart-item__price {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    color: #211b27 !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    white-space: nowrap;
}

.stx-mini-cart-item__price small {
    color: #7c7482;
    font-size: 9px;
    font-weight: 650;
}

.stx-mini-cart-empty {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100%;
    padding: 48px 28px !important;
    text-align: center;
}

.stx-mini-cart-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    margin-bottom: 22px;
    color: var(--colorMain, #6f2da8);
    background:
        linear-gradient(145deg,
            rgba(var(--colorMainRGB, 111, 45, 168), .13),
            rgba(var(--colorMainRGB, 111, 45, 168), .04));
    border: 1px solid rgba(var(--colorMainRGB, 111, 45, 168), .12);
    border-radius: 26px;
    font-size: 31px;
    transform: rotate(-3deg);
}

.stx-mini-cart-empty strong {
    color: #28212e;
    font-size: 17px;
    font-weight: 850;
}

.stx-mini-cart-empty p {
    max-width: 285px;
    margin: 9px auto 21px;
    color: #847c8a;
    font-size: 12px;
    line-height: 1.9;
}

.stx-mini-cart-empty__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 18px;
    color: #fff !important;
    background: var(--colorMain, #6f2da8);
    border-radius: 13px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(var(--colorMainRGB, 111, 45, 168), .18);
}

.mini-cart-footer.stx-mini-cart-footer {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    flex: 0 0 auto;
    gap: 12px;
    height: auto !important;
    padding: 15px 16px calc(16px + env(safe-area-inset-bottom)) !important;
    background: #fff;
    border: 0 !important;
    border-top: 1px solid #eee8f1 !important;
    box-shadow: 0 -12px 30px rgba(34, 24, 42, .055);
}

.mini-cart-footer.stx-mini-cart-footer.d-none {
    display: none !important;
}

.stx-mini-cart-footer__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.stx-mini-cart-footer__summary > span {
    color: #746c79;
    font-size: 11px;
    font-weight: 650;
}

.stx-mini-cart-footer__summary strong {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    color: #211b27;
    font-size: 18px;
    font-weight: 900;
}

.stx-mini-cart-footer__summary small {
    color: #746c79;
    font-size: 10px;
    font-weight: 650;
}

.stx-mini-cart-footer__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 49px;
    padding: 11px 16px;
    color: #fff !important;
    background: var(--colorMain, #6f2da8);
    border-radius: 14px;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none !important;
    box-shadow: 0 12px 25px rgba(var(--colorMainRGB, 111, 45, 168), .2);
    transition: transform .18s ease, box-shadow .18s ease;
}

.stx-mini-cart-footer__action:hover {
    transform: translateY(-1px);
    box-shadow: 0 15px 30px rgba(var(--colorMainRGB, 111, 45, 168), .25);
}

.mini-cart-backdrop.stx-mini-cart__backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2190 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: rgba(19, 14, 24, .48) !important;
    border: 0 !important;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(4px);
    cursor: pointer;
    transition: opacity .22s ease, visibility .22s ease;
}

body.stx-mini-cart-open .mini-cart-backdrop.stx-mini-cart__backdrop {
    display: block !important;
    opacity: 1;
    visibility: visible;
}

@media (max-width: 767.98px) {
    .mini-shopping-cart.stx-mini-cart {
        inset: auto 0 0 0 !important;
        width: 100% !important;
        height: min(88dvh, 760px) !important;
        transform: translate3d(0, 105%, 0) !important;
    }

    .mini-shopping-cart.stx-mini-cart.open {
        transform: translate3d(0, 0, 0) !important;
    }

    .stx-mini-cart__shell {
        border-radius: 24px 24px 0 0;
        box-shadow: 0 -24px 65px rgba(21, 15, 29, .2);
    }

    .stx-mini-cart__shell::before {
        content: "";
        position: absolute;
        top: 8px;
        left: 50%;
        z-index: 4;
        width: 42px;
        height: 4px;
        background: #ddd6e2;
        border-radius: 999px;
        transform: translateX(-50%);
    }

    .mini-cart-head.stx-mini-cart__header {
        min-height: 84px !important;
        padding: 20px 16px 13px !important;
    }

    .stx-mini-cart__eyebrow {
        display: none;
    }

    .stx-mini-cart__title-row h2 {
        font-size: 18px;
    }

    .close-cart.stx-mini-cart__close {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .mini-cart-items.stx-mini-cart-items {
        padding: 12px 10px 18px;
    }

    .h-product-item.stx-mini-cart-item {
        grid-template-columns: 74px minmax(0, 1fr);
        gap: 11px;
        padding: 10px !important;
        border-radius: 16px;
    }

    .stx-mini-cart-item__media {
        width: 74px !important;
        height: 74px !important;
        border-radius: 12px;
    }

    .stx-mini-cart-item__title {
        font-size: 12px !important;
    }

    .mini-cart-footer.stx-mini-cart-footer {
        padding-inline: 12px !important;
    }
}

@media (max-width: 380px) {
    .mini-shopping-cart.stx-mini-cart {
        height: 92dvh !important;
    }

    .stx-mini-cart__count {
        display: none;
    }

    .stx-mini-cart-item__price {
        font-size: 13px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mini-shopping-cart.stx-mini-cart,
    .mini-cart-backdrop.stx-mini-cart__backdrop,
    .close-cart.stx-mini-cart__close,
    .stx-mini-cart-footer__action {
        transition: none !important;
    }
}
/* STX MODERN MINI CART V4 END */

/* STX HEADER STABILITY V5 START */
@media (min-width: 992px) {
    .stx-category-mega__panel {
        grid-template-columns: 330px minmax(0, 1fr) !important;
        width: min(1180px, calc(100vw - 48px)) !important;
        min-width: min(1040px, calc(100vw - 48px)) !important;
        height: min(650px, calc(100vh - 105px)) !important;
        height: min(650px, calc(100dvh - 105px)) !important;
        min-height: 0 !important;
        max-height: calc(100vh - 105px) !important;
        max-height: calc(100dvh - 105px) !important;
        overflow: hidden !important;
        align-items: stretch !important;
        border-radius: 0 0 22px 22px !important;
    }

    .stx-category-mega__roots,
    .stx-category-mega__content {
        min-height: 0 !important;
        height: 100% !important;
        max-height: 100% !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        overscroll-behavior: contain !important;
        scrollbar-gutter: stable !important;
        touch-action: pan-y !important;
    }

    .stx-category-mega__roots {
        width: 330px !important;
        min-width: 330px !important;
        padding: 14px 14px 24px !important;
    }

    .stx-category-mega__content {
        min-width: 0 !important;
        padding: 26px 30px 36px !important;
    }

    .stx-category-mega__root {
        grid-template-columns: 38px minmax(0, 1fr) 18px !important;
        column-gap: 10px !important;
        width: 100% !important;
        min-height: 54px !important;
        padding: 8px 11px !important;
        margin: 0 0 5px !important;
        border-radius: 13px !important;
        line-height: normal !important;
    }

    .stx-category-mega__icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 34px !important;
        min-width: 34px !important;
        height: 34px !important;
        border-radius: 10px !important;
        background: rgba(var(--colorMainRGB, 111, 45, 168), .08) !important;
        color: var(--colorMain, #6f2da8) !important;
    }

    .stx-category-mega__icon img {
        display: block !important;
        width: 25px !important;
        height: 25px !important;
        object-fit: contain !important;
    }

    .stx-category-mega__icon > i {
        font-size: 17px !important;
    }

    .stx-category-mega__label {
        display: block !important;
        min-width: 0 !important;
        color: inherit !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 1.75 !important;
        text-align: right !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    .stx-category-mega__arrow {
        justify-self: end !important;
        font-size: 11px !important;
        opacity: .7 !important;
    }

    .stx-category-mega__columns {
        grid-template-columns: repeat(auto-fit, minmax(190px, 240px)) !important;
        align-items: start !important;
        justify-content: start !important;
        gap: 28px 34px !important;
    }

    .stx-category-mega__column {
        min-width: 0 !important;
        max-width: 240px !important;
    }

    .stx-category-mega__roots::-webkit-scrollbar,
    .stx-category-mega__content::-webkit-scrollbar {
        width: 6px !important;
    }

    .stx-category-mega__roots::-webkit-scrollbar-track,
    .stx-category-mega__content::-webkit-scrollbar-track {
        background: transparent !important;
    }

    .stx-category-mega__roots::-webkit-scrollbar-thumb,
    .stx-category-mega__content::-webkit-scrollbar-thumb {
        background: rgba(98, 71, 132, .26) !important;
        border-radius: 999px !important;
    }

    .stx-category-mega__roots::-webkit-scrollbar-thumb:hover,
    .stx-category-mega__content::-webkit-scrollbar-thumb:hover {
        background: rgba(98, 71, 132, .42) !important;
    }
}

@media (min-width: 992px) and (max-width: 1150px) {
    .stx-category-mega__panel {
        grid-template-columns: 300px minmax(0, 1fr) !important;
        width: calc(100vw - 32px) !important;
        min-width: 0 !important;
    }

    .stx-category-mega__roots {
        width: 300px !important;
        min-width: 300px !important;
    }
}

@media (max-width: 991.98px) {
    .stx-mobile-header {
        transform: translate3d(0, 0, 0) !important;
        -webkit-transform: translate3d(0, 0, 0) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .stx-bottom-nav {
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        min-height: calc(var(--stx-bottom-nav-height) + env(safe-area-inset-bottom, 0px)) !important;
        padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px)) !important;
        background: #fff !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        will-change: auto !important;
        transition: none !important;
    }

    html:not(.stx-keyboard-open) body.stx-has-bottom-nav .stx-bottom-nav,
    body.stx-checkout-page .stx-bottom-nav {
        display: grid !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translate3d(0, 0, 0) !important;
        -webkit-transform: translate3d(0, 0, 0) !important;
    }

    html.stx-keyboard-open body:not(.stx-checkout-page) .stx-bottom-nav {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translate3d(0, 110%, 0) !important;
        -webkit-transform: translate3d(0, 110%, 0) !important;
    }

    body.stx-has-bottom-nav main {
        padding-bottom: calc(
            var(--stx-bottom-nav-height) +
            env(safe-area-inset-bottom, 0px) +
            18px
        ) !important;
    }

    body.stx-checkout-page main {
        padding-bottom: calc(
            var(--stx-bottom-nav-height) +
            env(safe-area-inset-bottom, 0px) +
            100px
        ) !important;
    }

    body.stx-checkout-page .checkout-fixed-btn {
        bottom: calc(
            var(--stx-bottom-nav-height) +
            env(safe-area-inset-bottom, 0px)
        ) !important;
        z-index: 1875 !important;
    }

    .stx-mobile-sheet--search {
        top: var(--stx-visual-viewport-top, 0px) !important;
        bottom: auto !important;
        height: min(
            88dvh,
            calc(var(--stx-visual-viewport-height, 100dvh) - 8px)
        ) !important;
        max-height: min(
            88dvh,
            calc(var(--stx-visual-viewport-height, 100dvh) - 8px)
        ) !important;
    }

    html.stx-keyboard-open .stx-mobile-sheet--search {
        height: calc(var(--stx-visual-viewport-height, 100dvh) - 4px) !important;
        max-height: calc(var(--stx-visual-viewport-height, 100dvh) - 4px) !important;
        border-radius: 18px 18px 0 0 !important;
    }

    .stx-mobile-sheet--search .stx-mobile-sheet__body--search {
        display: flex !important;
        flex: 1 1 auto !important;
        flex-direction: column !important;
        min-height: 0 !important;
        overflow: hidden !important;
        padding-bottom: max(12px, env(safe-area-inset-bottom, 0px)) !important;
    }

    .stx-mobile-sheet--search .stx-search--mobile {
        display: flex !important;
        flex: 1 1 auto !important;
        flex-direction: column !important;
        min-height: 0 !important;
    }

    .stx-mobile-sheet--search .stx-search__field {
        flex: 0 0 auto !important;
    }

    .stx-mobile-sheet--search .stx-search__input {
        height: 52px !important;
        font-size: 16px !important;
    }

    .stx-mobile-sheet--search .stx-search__panel {
        position: relative !important;
        inset: auto !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        margin-top: 10px !important;
        overscroll-behavior: contain !important;
    }
}
/* STX HEADER STABILITY V5 END */

/* STX DESKTOP SCROLL NAV BEGIN */
@media (min-width: 992px) {
    .stx-desktop-header .stx-desktop-nav {
        max-height: 57px;
        overflow: visible;
        opacity: 1;
        transform: translateY(0);
        border-top-color: var(--stx-line);
        transition:
            max-height .22s cubic-bezier(.22, 1, .36, 1),
            opacity .14s ease,
            transform .22s cubic-bezier(.22, 1, .36, 1),
            border-top-color .12s ease;
        will-change: max-height, opacity, transform;
    }

    .stx-desktop-header.is-nav-transitioning .stx-desktop-nav,
    .stx-desktop-header.is-nav-hidden .stx-desktop-nav {
        overflow: hidden;
    }

    .stx-desktop-header.is-nav-hidden .stx-desktop-nav {
        max-height: 0;
        opacity: 0;
        transform: translateY(-8px);
        border-top-color: transparent;
        pointer-events: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stx-desktop-header .stx-desktop-nav {
        transition: none !important;
    }
}
/* STX DESKTOP SCROLL NAV END */

/* STX ADMIN NAVBAR OFFSET BEGIN */
/*
| Keep the frontend administration toolbar visible above the V4 shell.
| This only applies when Laravel confirms the admin guard is authenticated.
*/
body.admin-logged .admin-navbar {
    z-index: 2300;
}

body.admin-logged .stx-top-banner {
    margin-top: 40px;
}

body.admin-logged .stx-desktop-header,
body.admin-logged .stx-mobile-header {
    top: 40px;
}
/* STX ADMIN NAVBAR OFFSET END */

/* STX MOBILE SCROLL HEADER + STORIES OFFSET BEGIN */
.stx-stories-section {
    position: relative;
    z-index: 1;
    padding-top: clamp(18px, 1.6vw, 24px);
}

@media (max-width: 991.98px) {
    .stx-mobile-header {
        position: sticky !important;
        top: 0;
        transform: translate3d(0, 0, 0) !important;
        -webkit-transform: translate3d(0, 0, 0) !important;
        transition:
            transform .24s cubic-bezier(.22, 1, .36, 1),
            box-shadow .18s ease !important;
        will-change: transform;
    }

    body.admin-logged .stx-mobile-header {
        top: 40px !important;
    }

    .stx-mobile-header.is-scroll-hidden {
        transform: translate3d(0, calc(-100% - 12px), 0) !important;
        -webkit-transform: translate3d(0, calc(-100% - 12px), 0) !important;
        box-shadow: none !important;
        pointer-events: none !important;
    }

    html.stx-layer-open .stx-mobile-header,
    body.stx-layer-open .stx-mobile-header,
    html.stx-keyboard-open .stx-mobile-header {
        transform: translate3d(0, 0, 0) !important;
        -webkit-transform: translate3d(0, 0, 0) !important;
        pointer-events: auto !important;
    }

    .stx-stories-section {
        padding-top: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stx-mobile-header {
        transition: none !important;
    }
}
/* STX MOBILE SCROLL HEADER + STORIES OFFSET END */

/*
|--------------------------------------------------------------------------
| STARTECHNO_HEADER_CONTENT_CLEARANCE_V33B
|--------------------------------------------------------------------------
| Shared non-Dark-Mode spacing and anchor clearance for the V4 shell.
|
| The sticky Header stays in normal document flow. Only a small visual gap
| is added above page content. JavaScript supplies the real active Header
| height for hash links and scrollIntoView operations.
|--------------------------------------------------------------------------
*/

:root {
    --stx-measured-header-clearance: 140px;
    --stx-page-content-gap: clamp(12px, 1vw, 18px);
    --stx-anchor-extra-gap: 12px;
}

html {
    scroll-padding-top: calc(
        var(--stx-measured-header-clearance, 140px) +
        var(--stx-anchor-extra-gap, 12px)
    );
}

@media (max-width: 991.98px) {
    :root {
        --stx-measured-header-clearance: 116px;
        --stx-page-content-gap: 12px;
        --stx-anchor-extra-gap: 10px;
    }
}

@media print {
    :root {
        --stx-measured-header-clearance: 0px;
        --stx-page-content-gap: 0px;
        --stx-anchor-extra-gap: 0px;
    }

    html {
        scroll-padding-top: 0;
    }

    .stx-desktop-header ~ main .page-content,
    .stx-mobile-header ~ main .page-content {
        padding-top: 0 !important;
    }
}

/*
|--------------------------------------------------------------------------
| STARTECHNO_HEADER_CLEARANCE_GAP_V34
|--------------------------------------------------------------------------
| Adds slightly more breathing room below the shared sticky Header.
| This is independent of Light/Dark Mode and individual page templates.
|--------------------------------------------------------------------------
*/

:root {
    --stx-page-content-gap: clamp(24px, 1.8vw, 32px);
}

@media (max-width: 991.98px) {
    :root {
        --stx-page-content-gap: 18px;
    }
}

@media print {
    :root {
        --stx-page-content-gap: 0px;
    }
}

/* ============================================================
   STARTECHNO_MOBILE_TOUCH_TARGETS_V1
   ============================================================ */
@media (max-width: 991.98px) {
    .stx-mobile-icon-button {
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
    }

    .st-filter-close-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 0 !important;
        border: 0;
        border-radius: 12px;
        background: transparent;
        color: var(--stx-danger, #d92d20);
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
    }
}

@media (max-width: 380px) {
    .stx-mobile-header__row {
        grid-template-columns: 44px minmax(0, 1fr) auto;
    }

    .stx-mobile-icon-button {
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
    }
}
/* ============================================================
   STARTECHNO_FINAL_MOBILE_TOUCH_TARGETS_V2
   ============================================================ */
@media (max-width: 991.98px) {
    .stx-mobile-logo {
        min-height: 44px !important;
    }

    .fixed-btn.whatsapp-btn,
    .fixed-btn.call-btn {
        width: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    body.stx-has-bottom-nav:not(.single-product-page)
    .fixed-btn.whatsapp-btn {
        bottom: calc(
            var(--stx-bottom-nav-height, 68px) +
            env(safe-area-inset-bottom, 0px) +
            12px
        ) !important;
    }

    body.stx-has-bottom-nav:not(.single-product-page)
    .fixed-btn.call-btn {
        bottom: calc(
            var(--stx-bottom-nav-height, 68px) +
            env(safe-area-inset-bottom, 0px) +
            64px
        ) !important;
    }

    .btn-section-more.mobile {
        min-height: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    body.st-user-panel-page .st-panel-btn-light,
    body.st-user-panel-page button.btn.btn-primary,
    body.st-user-panel-page a.btn.btn-primary {
        min-height: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    body.st-user-panel-page .st-panel-icon-btn,
    body.st-user-panel-page .st-user-panel-nav .edit-profile {
        width: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* ==========================================================================
   STARTECHNO QUICK VIEW MOBILE HEADER VISUAL FREEZE V1
   --------------------------------------------------------------------------
   Quick View scrolls inside its own fixed modal on mobile.

   While Quick View is open:
   - preserve the existing visible/hidden Header state;
   - remove sticky/visual-viewport movement;
   - disable Header transition;
   - do not alter normal Header behavior after Quick View closes.
   ========================================================================== */

@media (max-width: 991.98px) {
    html.bcp-modal-open .stx-mobile-header,
    body.bcp-modal-open .stx-mobile-header {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        width: 100% !important;

        transition: none !important;
        will-change: auto !important;

        transform: translate3d(0, 0, 0) !important;
        -webkit-transform: translate3d(0, 0, 0) !important;
    }

    body.admin-logged.bcp-modal-open .stx-mobile-header,
    html.bcp-modal-open body.admin-logged .stx-mobile-header {
        top: 40px !important;
    }

    /*
     * Preserve the state that existed before Quick View opened.
     *
     * V3.2 freezes the JS controllers, therefore is-scroll-hidden cannot
     * change while the modal is open.
     */
    html.bcp-modal-open .stx-mobile-header.is-scroll-hidden,
    body.bcp-modal-open .stx-mobile-header.is-scroll-hidden {
        transform: translate3d(
            0,
            calc(-100% - 12px),
            0
        ) !important;

        -webkit-transform: translate3d(
            0,
            calc(-100% - 12px),
            0
        ) !important;

        box-shadow: none !important;
        pointer-events: none !important;
    }
}

/* STARTECHNO QUICK VIEW MOBILE HEADER VISUAL FREEZE V1 END */


/* STARTECHNO HEADER HERO REFERENCE V1 START */

/*
|--------------------------------------------------------------------------
| Desktop Header — floating premium two-level shell
|--------------------------------------------------------------------------
| Existing Blade structure, search, account, cart, mega menu and scroll
| controller stay unchanged.
*/

@media (min-width: 992px) {

    .stx-desktop-header {
        padding: 0;
        border-bottom: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .stx-desktop-header__top {
        position: relative;
        min-height: 54px;
        padding: 0;
        grid-template-columns: 1fr auto 1fr;
        gap: 1.25rem;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .stx-desktop-header.is-nav-hidden .stx-desktop-header__top {
        border-bottom: 0;
        border-radius: 0;
    }

    .stx-desktop-logo img {
        max-width: 174px;
        height: 48px;
    }

    .stx-desktop-search {
        width: min(690px, 100%);
    }

    .stx-desktop-search .stx-search__input {
        height: 44px;
        padding-right: 46px;
        padding-left: 48px;
        border: 1px solid rgba(88, 68, 102, .07);
        border-radius: 14px;
        background: #f7f5f9;
        font-size: 13px;
        box-shadow: inset 0 1px 2px rgba(40, 25, 52, .025);
    }

    .stx-desktop-search .stx-search__input:hover {
        border-color: rgba(var(--colorMainRGB, 91, 48, 116), .16);
        background: #f9f7fb;
    }

    .stx-desktop-search .stx-search__input:focus {
        border-color: rgba(var(--colorMainRGB, 91, 48, 116), .26);
        background: #fff;
        box-shadow:
            0 10px 28px rgba(var(--colorMainRGB, 91, 48, 116), .09);
    }

    .stx-desktop-search .stx-search__panel {
        top: calc(100% + 10px);
        border-radius: 16px;
        border-color: rgba(74, 55, 88, .09);
        box-shadow:
            0 24px 65px rgba(38, 24, 48, .16);
    }

    .stx-desktop-actions {
        gap: 8px;
    }

    .stx-action-button {
        min-height: 42px;
        padding-inline: 13px;
        border-color: rgba(74, 55, 88, .09);
        border-radius: 13px;
        box-shadow: none;
    }

    .stx-action-button--cart {
        width: 44px;
        min-width: 44px;
        background: #f7f5f9;
    }

    /*
    |--------------------------------------------------------------------------
    | Navigation half of the same card
    |--------------------------------------------------------------------------
    */

    .stx-desktop-nav {
        border-top: 0;
        background: transparent;
    }

    .stx-desktop-nav__inner {
        min-height: 52px;
        padding: 0 10px;
        border: 1px solid rgba(74, 55, 88, .08);
        border-top: 1px solid rgba(74, 55, 88, .065);
        border-radius: 0 0 22px 22px;
        background: rgba(255, 255, 255, .985);
        box-shadow:
            0 18px 50px rgba(40, 25, 52, .09),
            0 4px 12px rgba(40, 25, 52, .025);
    }

    .stx-main-nav {
        height: 52px;
    }

    .stx-category-mega__trigger,
    .stx-main-nav__item > a {
        padding-inline: 13px;
        font-size: 12.5px;
        font-weight: 750;
    }

    .stx-category-mega__trigger {
        min-height: 38px;
        margin: 7px 2px 7px 7px;
        padding-inline: 15px;
        border: 1px solid rgba(var(--colorMainRGB, 91, 48, 116), .10);
        border-radius: 12px;
        background:
            rgba(var(--colorMainRGB, 91, 48, 116), .075);
        color: var(--colorMain, #5b3074);
        font-weight: 850;
    }

    .stx-category-mega:hover > .stx-category-mega__trigger,
    .stx-category-mega:focus-within > .stx-category-mega__trigger {
        border-color:
            rgba(var(--colorMainRGB, 91, 48, 116), .18);
        background:
            rgba(var(--colorMainRGB, 91, 48, 116), .11);
    }

    .stx-main-nav__item > a {
        color: #4f4756;
    }

    .stx-desktop-support {
        margin-right: 14px;
        padding-right: 14px;
        border-right: 1px solid rgba(74, 55, 88, .08);
        font-size: 11px;
    }

    .stx-desktop-support a {
        font-size: 12px;
    }

    /*
    |--------------------------------------------------------------------------
    | Keep category/dropdown surfaces aligned with new shell
    |--------------------------------------------------------------------------
    */

    .stx-category-mega__panel {
        top: 100%;
        border-color: rgba(74, 55, 88, .09);
        border-radius: 0 0 20px 20px;
        box-shadow: 0 28px 70px rgba(35, 22, 45, .16);
    }

    .stx-main-nav__dropdown {
        top: calc(100% + 2px);
        border-color: rgba(74, 55, 88, .09);
        border-radius: 16px;
        box-shadow: 0 24px 60px rgba(35, 22, 45, .14);
    }

    .stx-mobile-drawer__group { display: grid; gap: .15rem; }
    .stx-mobile-drawer__subnav { display: grid; gap: .15rem; padding-inline-start: 1rem; border-inline-start: 2px solid rgba(111, 45, 168, .18); }
    .stx-mobile-drawer__subnav a { padding-block: .55rem; color: var(--stx-muted); font-size: .9em; }
}


/*
|--------------------------------------------------------------------------
| Homepage primary Hero
|--------------------------------------------------------------------------
| Scoped through .home-body so PageBuilder image_slider instances on other
| pages are not redesigned.
*/

.home-body .image-slider-widget {
    width: min(1440px, calc(100% - 40px));
    margin-inline: auto;
    overflow: hidden;
    border: 1px solid rgba(66, 49, 78, .07);
    border-radius: 26px;
    background: #eeeaf1;
    box-shadow:
        0 24px 60px rgba(36, 23, 46, .11),
        0 5px 16px rgba(36, 23, 46, .04);
}

.home-body .image-slider-widget .swiper-wrapper,
.home-body .image-slider-widget .swiper-slide,
.home-body .image-slider-widget .slide-item,
.home-body .image-slider-widget picture {
    height: 100%;
}

.home-body .image-slider-widget .slide-item {
    position: relative;
    overflow: hidden;
    border-radius: inherit;
    background: #f1edf3;
}

.home-body .image-slider-widget .banner-image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 0;
    padding: 0;
    border-radius: 0 !important;
    object-fit: cover;
    object-position: center center;
    transform: translateZ(0);
}


/*
|--------------------------------------------------------------------------
| Hero navigation — slim edge capsules
|--------------------------------------------------------------------------
*/

.home-body .image-slider-widget
.custom-swiper-button-prev,
.home-body .image-slider-widget
.custom-swiper-button-next {
    top: 50%;
    bottom: auto;
    width: 46px;
    height: 68px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, .62);
    background: rgba(255, 255, 255, .90);
    color: #302a35;
    box-shadow: 0 8px 24px rgba(25, 17, 31, .14);
    opacity: .88;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.home-body .image-slider-widget
.custom-swiper-button-prev {
    right: -12px;
    left: auto;
    padding-right: 7px;
    border-radius: 999px 0 0 999px;
}

.home-body .image-slider-widget
.custom-swiper-button-next {
    right: auto;
    left: -12px;
    padding-left: 7px;
    border-radius: 0 999px 999px 0;
}

.home-body .image-slider-widget:hover
.custom-swiper-button-prev,
.home-body .image-slider-widget:hover
.custom-swiper-button-next {
    opacity: 1;
}

.home-body .image-slider-widget
.custom-swiper-button-prev i,
.home-body .image-slider-widget
.custom-swiper-button-next i {
    font-size: 17px;
}


/*
|--------------------------------------------------------------------------
| Hero pagination
|--------------------------------------------------------------------------
*/

.home-body .image-slider-widget .swiper-pagination {
    right: 50% !important;
    bottom: 15px !important;
    left: auto !important;
    width: auto !important;
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 999px;
    background: rgba(32, 24, 37, .20);
    line-height: 0;
    transform: translateX(50%);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
}

.home-body .image-slider-widget
.swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    margin: 0 3px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .72);
    opacity: 1;
    transition:
        width .22s ease,
        background .22s ease;
}

.home-body .image-slider-widget
.swiper-pagination-bullet-active {
    width: 25px;
    background: #fff;
}


/*
|--------------------------------------------------------------------------
| Hero dimensions
|--------------------------------------------------------------------------
*/

@media (min-width: 1200px) {
    .home-body .image-slider-widget {
        height: clamp(330px, 28vw, 430px);
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .home-body .image-slider-widget {
        width: calc(100% - 32px);
        height: clamp(285px, 30vw, 350px);
        border-radius: 22px;
    }
}


/*
|--------------------------------------------------------------------------
| Mobile / Tablet Hero
|--------------------------------------------------------------------------
| Mobile Header itself is intentionally untouched.
*/

@media (max-width: 991.98px) {

    .home-body .image-slider-widget {
        width: calc(100% - 24px);
        height: clamp(220px, 48vw, 350px);
        border-radius: 20px;
        box-shadow:
            0 16px 38px rgba(36, 23, 46, .09);
    }

    .home-body .image-slider-widget
    .custom-swiper-button-prev,
    .home-body .image-slider-widget
    .custom-swiper-button-next {
        display: none !important;
    }

    .home-body .image-slider-widget .swiper-pagination {
        bottom: 10px !important;
        padding: 5px 7px;
    }

    .home-body .image-slider-widget
    .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
        margin-inline: 2.5px !important;
    }

    .home-body .image-slider-widget
    .swiper-pagination-bullet-active {
        width: 20px;
    }
}

@media (max-width: 575.98px) {

    .home-body .image-slider-widget {
        width: calc(100% - 16px);
        height: clamp(190px, 53vw, 290px);
        border-radius: 17px;
    }
}


/*
|--------------------------------------------------------------------------
| Homepage spacing relationship
|--------------------------------------------------------------------------
*/

@media (min-width: 992px) {
    .home-body .page-content {
        padding-top: 18px !important;
    }
}

@media (max-width: 991.98px) {
    .home-body .page-content {
        padding-top: 12px !important;
    }
}


/*
|--------------------------------------------------------------------------
| Reduced motion
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {
    .home-body .image-slider-widget
    .swiper-pagination-bullet,
    .home-body .image-slider-widget
    .custom-swiper-button-prev,
    .home-body .image-slider-widget
    .custom-swiper-button-next {
        transition: none !important;
    }
}

/* STARTECHNO HEADER HERO REFERENCE V1 END */

/* STARTECHNO HOME HERO FULL WIDTH V2 START */

/*
|--------------------------------------------------------------------------
| Homepage primary Hero — true full viewport width
|--------------------------------------------------------------------------
| The PageBuilder row already uses layout=full.
| This override removes the artificial max-width introduced by the prior
| visual layer while keeping the existing Swiper behavior intact.
*/

.home-body .image-slider-widget {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    border-right: 0 !important;
    border-left: 0 !important;
    border-radius: 0 !important;
}

.home-body .image-slider-widget .swiper-wrapper,
.home-body .image-slider-widget .swiper-slide,
.home-body .image-slider-widget .slide-item,
.home-body .image-slider-widget picture {
    width: 100% !important;
}

.home-body .image-slider-widget .banner-image {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    display: block !important;
    object-fit: cover;
    border-radius: 0 !important;
}

/*
| Do not force a fixed viewport-height.
| Desktop banners are authored around a 2880x600 aspect ratio.
*/
@media (min-width: 992px) {
    .home-body .image-slider-widget {
        height: auto !important;
    }

    .home-body .image-slider-widget .swiper-wrapper,
    .home-body .image-slider-widget .swiper-slide,
    .home-body .image-slider-widget .slide-item,
    .home-body .image-slider-widget picture {
        height: auto !important;
    }
}

/*
| Mobile keeps using the dedicated mobile image when one exists.
| It is also edge-to-edge.
*/
@media (max-width: 991.98px) {
    .home-body .image-slider-widget {
        width: 100% !important;
        height: auto !important;
        border-radius: 0 !important;
    }

    .home-body .image-slider-widget .swiper-wrapper,
    .home-body .image-slider-widget .swiper-slide,
    .home-body .image-slider-widget .slide-item,
    .home-body .image-slider-widget picture {
        height: auto !important;
    }

    .home-body .image-slider-widget .banner-image {
        height: auto !important;
    }
}

/* STARTECHNO HOME HERO FULL WIDTH V2 END */

/* STARTECHNO HOME FIRST WIDGET GAP V1 START */

/*
|--------------------------------------------------------------------------
| Homepage Header -> First Widget spacing
|--------------------------------------------------------------------------
| Only removes the excessive vertical whitespace before the first homepage
| widget. Header structure, sticky behavior and widget internals stay intact.
*/

.home-body .page-content {
    padding-top: 6px !important;
}

.home-body .stx-stories-section {
    padding-top: 0 !important;
}

@media (max-width: 991.98px) {
    .home-body .page-content {
        padding-top: 6px !important;
    }

    .home-body .stx-stories-section {
        padding-top: 0 !important;
    }
}

/* STARTECHNO HOME FIRST WIDGET GAP V1 END */

/* STARTECHNO HOME TOP GAP V3 START */

/*
|--------------------------------------------------------------------------
| Homepage Header -> First Widget gap
|--------------------------------------------------------------------------
| Keep mobile spacing unchanged. On desktop, reserve a small visual gap
| so the Stories row cannot visually tuck under the sticky Header.
*/

body.home-body .page-content {
    padding-top: 0 !important;
}

body.home-body .stx-stories-section {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.home-body .stx-stories-section .small-stories-swiper {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

@media (min-width: 992px) {
    body.home-body .page-content {
        padding-top: 24px !important;
    }
}

/* STARTECHNO HOME TOP GAP V3 END */

/* STARTECHNO MOBILE TABLET HEADER UNIFIED V1 START */

/*
|--------------------------------------------------------------------------
| Responsive Header Visual Unification
|--------------------------------------------------------------------------
| Keep the existing mobile/tablet interaction model intact:
| - hamburger/menu sheets
| - mobile search sheet
| - cart
| - sticky behavior
| - scroll hide/reveal
|
| Only the visual shell is aligned with the desktop Header.
|--------------------------------------------------------------------------
*/

@media (max-width: 991.98px) {

    /*
    |--------------------------------------------------------------------------
    | Floating shell
    |--------------------------------------------------------------------------
    */

    .stx-mobile-header {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    /*
    | Keep sticky positioning while visually floating.
    */
    .stx-mobile-header {
        top: 0 !important;
    }

    body.admin-logged .stx-mobile-header {
        top: 48px !important;
    }

    /*
    |--------------------------------------------------------------------------
    | Primary row
    |--------------------------------------------------------------------------
    */

    .stx-mobile-header__row {
        min-height: 48px;
        grid-template-columns:
            44px
            minmax(0, 1fr)
            auto !important;

        gap: 9px !important;
    }

    /*
    |--------------------------------------------------------------------------
    | Logo
    |--------------------------------------------------------------------------
    */

    .stx-mobile-logo {
        justify-content: flex-start !important;
        min-height: 44px !important;
    }

    .stx-mobile-logo img {
        width: auto !important;
        height: 42px !important;
        max-width: min(160px, 42vw) !important;

        object-fit: contain !important;
        object-position: right center !important;
    }

    /*
    |--------------------------------------------------------------------------
    | Header actions
    |--------------------------------------------------------------------------
    */

    .stx-mobile-header__actions {
        gap: 7px !important;
    }

    .stx-mobile-icon-button {
        width: 44px !important;
        min-width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;

        border: 1px solid rgba(74, 55, 88, .09) !important;
        border-radius: 13px !important;

        background: #fff !important;
        color: var(--stx-text) !important;

        box-shadow: none !important;

        transition:
            background .18s ease,
            border-color .18s ease,
            color .18s ease,
            transform .12s ease !important;
    }

    .stx-mobile-icon-button:hover,
    .stx-mobile-icon-button:focus-visible {
        border-color:
            rgba(var(--colorMainRGB, 91, 48, 116), .22) !important;

        background:
            rgba(var(--colorMainRGB, 91, 48, 116), .055) !important;

        color:
            var(--colorMain, #5b3074) !important;
    }

    .stx-mobile-icon-button:active {
        transform: scale(.97) !important;
    }

    /*
    |--------------------------------------------------------------------------
    | Search row
    |--------------------------------------------------------------------------
    */

    .stx-mobile-search-trigger {
        height: 44px !important;

        margin-top: 9px !important;
        padding: 0 13px !important;

        border: 1px solid rgba(74, 55, 88, .065) !important;
        border-radius: 14px !important;

        background: #f7f5f9 !important;
        color: #766f80 !important;

        font-size: 12.5px !important;

        box-shadow:
            inset 0 1px 2px rgba(40, 25, 52, .02) !important;
    }

    .stx-mobile-search-trigger:hover {
        border-color:
            rgba(var(--colorMainRGB, 91, 48, 116), .16) !important;

        background: #f9f7fb !important;
    }

    .stx-mobile-search-trigger i {
        color:
            var(--colorMain, #5b3074) !important;
    }

    /*
    |--------------------------------------------------------------------------
    | Cart badge
    |--------------------------------------------------------------------------
    */

    .stx-mobile-header .stx-cart-badge {
        top: -6px !important;
        right: -6px !important;

        border: 2px solid #fff !important;

        box-shadow:
            0 3px 9px rgba(40, 25, 52, .12);
    }

    /*
    |--------------------------------------------------------------------------
    | Scroll-hidden state
    |--------------------------------------------------------------------------
    | Existing JS still controls .is-scroll-hidden.
    | Account for the new external top margin.
    */

    .stx-mobile-header.is-scroll-hidden {
        transform:
            translate3d(0, calc(-100% - 24px), 0) !important;
    }

    html.stx-layer-open .stx-mobile-header,
    body.stx-layer-open .stx-mobile-header,
    html.stx-keyboard-open .stx-mobile-header {
        transform:
            translate3d(0, 0, 0) !important;
    }

    /*
    |--------------------------------------------------------------------------
    | Sheet styling alignment
    |--------------------------------------------------------------------------
    | Functional structure stays untouched; surfaces visually match Header.
    */

    .stx-mobile-sheet {
        border: 1px solid rgba(74, 55, 88, .08);
        background: #fff;

        box-shadow:
            0 -24px 65px rgba(35, 22, 45, .18);
    }

    .stx-mobile-sheet__header {
        border-bottom-color:
            rgba(74, 55, 88, .07) !important;
    }

    .stx-mobile-sheet__close {
        border-color:
            rgba(74, 55, 88, .08) !important;

        background: #f7f5f9 !important;
    }

    /*
    |--------------------------------------------------------------------------
    | Content clearance
    |--------------------------------------------------------------------------
    | The Header remains sticky/in-flow, so only a compact visual gap is needed.
    */

    .stx-mobile-header ~ main .page-content {
        padding-top: 8px !important;
    }
}


/*
|--------------------------------------------------------------------------
| Tablet refinement
|--------------------------------------------------------------------------
*/

@media (min-width: 768px) and (max-width: 991.98px) {

    .stx-mobile-header {
        width: calc(100% - 40px) !important;

        margin-top: 12px !important;
        padding: 11px 16px 12px !important;

        border-radius: 22px !important;

        box-shadow:
            0 20px 52px rgba(40, 25, 52, .095),
            0 4px 14px rgba(40, 25, 52, .035) !important;
    }

    .stx-mobile-header__row {
        grid-template-columns:
            46px
            minmax(0, 1fr)
            auto !important;

        gap: 12px !important;
    }

    .stx-mobile-logo img {
        height: 46px !important;
        max-width: 180px !important;
    }

    .stx-mobile-icon-button {
        width: 46px !important;
        min-width: 46px !important;
        height: 46px !important;
        min-height: 46px !important;

        border-radius: 14px !important;
    }

    .stx-mobile-search-trigger {
        height: 46px !important;
        margin-top: 10px !important;

        border-radius: 14px !important;

        font-size: 13px !important;
    }
}


/*
|--------------------------------------------------------------------------
| Small Mobile refinement
|--------------------------------------------------------------------------
*/

@media (max-width: 575.98px) {

    .stx-mobile-header {
        width: 100% !important;
        margin-top: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .stx-mobile-header__row {
        gap: 6px !important;
    }

    .stx-mobile-logo img {
        height: 40px !important;
        max-width: min(142px, 39vw) !important;
    }

    .stx-mobile-search-trigger {
        margin-top: 7px !important;
    }
}


/*
|--------------------------------------------------------------------------
| Very narrow phones
|--------------------------------------------------------------------------
*/

@media (max-width: 380px) {

    .stx-mobile-header {
        width: calc(100% - 12px) !important;
        padding-inline: 7px !important;
    }

    .stx-mobile-header__row {
        grid-template-columns:
            44px
            minmax(0, 1fr)
            auto !important;

        gap: 5px !important;
    }

    .stx-mobile-logo img {
        max-width: 112px !important;
        height: 38px !important;
    }
}


/*
|--------------------------------------------------------------------------
| Reduced motion
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {

    .stx-mobile-header,
    .stx-mobile-icon-button,
    .stx-mobile-search-trigger {
        transition: none !important;
    }
}

/* STARTECHNO MOBILE TABLET HEADER UNIFIED V1 END */

/* STARTECHNO MOBILE MENU ANIMATION V1 START */

@media (max-width: 991.98px) {

    /*
    |--------------------------------------------------------------------------
    | Drawer transition
    |--------------------------------------------------------------------------
    */

    .stx-mobile-sheet--menu {
        transform: translate3d(105%, 0, 0) !important;

        transition:
            transform .32s cubic-bezier(.22, 1, .36, 1) !important;

        will-change: transform;
    }

    .stx-mobile-sheet--menu.is-open {
        transform: translate3d(0, 0, 0) !important;
    }

    /*
    |--------------------------------------------------------------------------
    | Backdrop fade
    |--------------------------------------------------------------------------
    */

    .stx-mobile-layer-backdrop {
        opacity: 0;

        transition:
            opacity .24s ease !important;

        will-change: opacity;
    }

    .stx-mobile-layer-backdrop.is-open {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {

    .stx-mobile-sheet--menu,
    .stx-mobile-layer-backdrop {
        transition: none !important;
    }
}

/* STARTECHNO MOBILE MENU ANIMATION V1 END */

/* STARTECHNO MOBILE MENU ANIMATION CSS V2 START */

/*
|--------------------------------------------------------------------------
| Mobile / Tablet Hamburger Drawer Animation
|--------------------------------------------------------------------------
| JavaScript already guarantees:
|   frame 1 -> visible in closed position
|   frame 2 -> .is-open
|
| This block only owns visual motion.
|--------------------------------------------------------------------------
*/

@media (max-width: 991.98px) {

    /*
    |--------------------------------------------------------------------------
    | Hamburger drawer
    |--------------------------------------------------------------------------
    */

    .stx-mobile-sheet--menu {
        transform: translate3d(105%, 0, 0) !important;
        -webkit-transform: translate3d(105%, 0, 0) !important;

        opacity: .985;

        transition:
            transform .34s cubic-bezier(.22, 1, .36, 1),
            opacity .20s ease !important;

        will-change: transform, opacity;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    .stx-mobile-sheet--menu.is-open {
        transform: translate3d(0, 0, 0) !important;
        -webkit-transform: translate3d(0, 0, 0) !important;

        opacity: 1;
    }

    /*
    |--------------------------------------------------------------------------
    | Background fade
    |--------------------------------------------------------------------------
    */

    .stx-mobile-layer-backdrop {
        opacity: 0;

        transition:
            opacity .26s ease !important;

        will-change: opacity;
    }

    .stx-mobile-layer-backdrop.is-open {
        opacity: 1;
    }

    /*
    |--------------------------------------------------------------------------
    | Drawer content subtle entrance
    |--------------------------------------------------------------------------
    | Kept small so it does not feel like a second independent animation.
    |--------------------------------------------------------------------------
    */

    .stx-mobile-sheet--menu .stx-mobile-sheet__header,
    .stx-mobile-sheet--menu .stx-mobile-sheet__body {
        opacity: .96;
        transform: translate3d(12px, 0, 0);

        transition:
            transform .36s cubic-bezier(.22, 1, .36, 1),
            opacity .24s ease;
    }

    .stx-mobile-sheet--menu.is-open .stx-mobile-sheet__header,
    .stx-mobile-sheet--menu.is-open .stx-mobile-sheet__body {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}


/*
|--------------------------------------------------------------------------
| Accessibility
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {

    .stx-mobile-sheet--menu,
    .stx-mobile-layer-backdrop,
    .stx-mobile-sheet--menu .stx-mobile-sheet__header,
    .stx-mobile-sheet--menu .stx-mobile-sheet__body {
        transition: none !important;
    }
}

/* STARTECHNO MOBILE MENU ANIMATION CSS V2 END */

/* ============================================================
   STARTECHNO SEARCH HISTORY UI V2
   ============================================================ */

.stx-search__history {
    padding: 8px 8px 10px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--stx-line);
}

.stx-search__history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 34px;
    margin-bottom: 4px;
}

.stx-search__history-title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--stx-text);
    font-size: 12px;
    font-weight: 750;
}

.stx-search__history-title i {
    color: var(--stx-muted);
}

.stx-search__history-clear-all {
    border: 0;
    border-radius: 8px;
    padding: 5px 7px;
    background: transparent;
    color: var(--stx-muted);
    font: inherit;
    font-size: 11px;
    cursor: pointer;
}

.stx-search__history-clear-all:hover,
.stx-search__history-clear-all:focus-visible {
    background: var(--stx-surface);
    color: var(--stx-danger);
}

.stx-search__history-list {
    display: grid;
    gap: 2px;
}

.stx-search__history-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 36px;
    align-items: center;
    gap: 4px;
    min-height: 40px;
    border-radius: 10px;
}

.stx-search__history-item:hover {
    background: var(--stx-surface);
}

.stx-search__history-query {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    min-height: 40px;
    padding: 0 7px;
    border: 0;
    background: transparent;
    color: var(--stx-text);
    font: inherit;
    font-size: 12.5px;
    text-align: right;
    cursor: pointer;
}

.stx-search__history-query span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stx-search__history-query i,
.stx-search__history-remove {
    color: var(--stx-muted);
}

.stx-search__history-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    cursor: pointer;
}

.stx-search__history-remove:hover,
.stx-search__history-remove:focus-visible {
    background: rgba(217, 45, 32, .08);
    color: var(--stx-danger);
}

@media (max-width: 991.98px) {
    .stx-search--mobile .stx-search__history-item,
    .stx-search--mobile .stx-search__history-query {
        min-height: 46px;
    }

    .stx-search--mobile .stx-search__history-query {
        font-size: 13px;
    }

    .stx-search--mobile .stx-search__history-remove {
        width: 38px;
        height: 38px;
    }
}

/* STARTECHNO SEARCH HISTORY UI V2 END */
