:root {
    --asys-shell-navy: #071426;
    --asys-shell-blue: #2563eb;
    --asys-shell-cyan: #06b6d4;
    --asys-shell-text: #172033;
    --asys-shell-muted: #64748b;
    --asys-shell-border: #dce5f0;
    --asys-shell-light: #f4f7fb;
    --asys-shell-white: #fff;
}

.asys-shell-wrap {
    width: min(1220px, calc(100% - 40px));
    margin-inline: auto;
}

.asys-skip-link {
    position: fixed;
    z-index: 100000;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    color: #fff;
    border-radius: 8px;
    background: var(--asys-shell-blue);
    transform: translateY(-180%);
}

.asys-skip-link:focus {
    transform: translateY(0);
}

.asys-commerce-header {
    position: sticky;
    z-index: 9999;
    top: 0;
    border-bottom: 1px solid var(--asys-shell-border);
    background: var(--asys-shell-white);
    box-shadow: 0 10px 30px rgba(15, 23, 42, .07);
}

.admin-bar .asys-commerce-header {
    top: 32px;
}

.asys-header-top {
    color: #dce9f9;
    background: var(--asys-shell-navy);
    font-size: 12px;
}

.asys-header-top-inner {
    display: flex;
    min-height: 35px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.asys-header-top-links {
    display: flex;
    gap: 20px;
}

.asys-header-top a {
    color: #fff;
    text-decoration: none;
}

.asys-header-main-inner {
    display: grid;
    min-height: 88px;
    grid-template-columns: auto minmax(260px, 1fr) auto;
    gap: 34px;
    align-items: center;
}

.asys-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--asys-shell-navy);
    text-decoration: none !important;
}

.asys-brand-mark {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--asys-shell-blue), var(--asys-shell-cyan));
    box-shadow: 0 9px 24px rgba(37, 99, 235, .28);
    font-size: 25px;
    font-weight: 950;
}

.asys-brand-copy {
    display: flex;
    flex-direction: column;
}

.asys-brand-copy strong {
    color: var(--asys-shell-navy);
    font-size: 28px;
    font-weight: 950;
    line-height: .95;
    letter-spacing: -1.5px;
}

.asys-brand-copy small {
    margin-top: 6px;
    color: var(--asys-shell-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.asys-brand-custom-logo,
.asys-brand-custom-logo .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.asys-brand-custom-logo .custom-logo {
    width: auto;
    max-width: 210px;
    max-height: 54px;
}

.asys-product-search {
    position: relative;
    display: flex;
    min-width: 0;
}

.asys-product-search input[type="search"] {
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0 56px 0 18px;
    color: var(--asys-shell-text);
    border: 1px solid #cfdbea;
    border-radius: 13px;
    outline: none;
    background: var(--asys-shell-light);
    font-size: 14px;
    box-shadow: none;
}

.asys-product-search input[type="search"]:focus {
    border-color: var(--asys-shell-blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
}

.asys-product-search button {
    position: absolute;
    top: 5px;
    right: 5px;
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #fff;
    border: 0;
    border-radius: 10px;
    background: var(--asys-shell-blue);
    cursor: pointer;
}

.asys-product-search button svg,
.asys-header-action-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.asys-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.asys-header-action {
    position: relative;
    display: inline-flex;
    min-width: 72px;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    padding: 5px 8px;
    color: var(--asys-shell-navy);
    border-radius: 11px;
    text-decoration: none !important;
}

.asys-header-action:hover {
    color: var(--asys-shell-blue);
    background: var(--asys-shell-light);
}

.asys-header-action-text {
    font-size: 10px;
    font-weight: 800;
}

.asys-cart-count {
    position: absolute;
    top: 0;
    right: 3px;
    display: inline-flex;
    min-width: 19px;
    height: 19px;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--asys-shell-blue);
    font-size: 10px;
    font-weight: 900;
}

.asys-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    border: 1px solid var(--asys-shell-border);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

.asys-menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--asys-shell-navy);
}

.asys-primary-navigation {
    border-top: 1px solid #edf2f7;
    background: #fff;
}

.asys-primary-navigation-inner {
    display: flex;
    min-height: 47px;
    align-items: stretch;
    gap: 18px;
}

.asys-shop-entry {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 18px;
    color: #fff !important;
    background: var(--asys-shell-blue);
    font-size: 13px;
    font-weight: 850;
    text-decoration: none !important;
}

.asys-primary-menu {
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.asys-primary-menu > li {
    position: relative;
    display: flex;
    align-items: stretch;
}

.asys-primary-menu > li > a {
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    color: var(--asys-shell-text);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.asys-primary-menu > li > a:hover,
.asys-primary-menu > li.current-menu-item > a,
.asys-primary-menu > li.current-menu-ancestor > a {
    color: var(--asys-shell-blue);
}

.asys-primary-menu .menu-item-has-children > a::after {
    margin-left: 6px;
    content: "⌄";
    color: var(--asys-shell-muted);
    font-size: 12px;
}

.asys-primary-menu .sub-menu {
    position: absolute;
    z-index: 50;
    top: 100%;
    left: 0;
    min-width: 225px;
    margin: 0;
    padding: 10px;
    visibility: hidden;
    list-style: none;
    border: 1px solid var(--asys-shell-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .14);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.asys-primary-menu li:hover > .sub-menu,
.asys-primary-menu li:focus-within > .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.asys-primary-menu .sub-menu a {
    display: block;
    padding: 10px 12px;
    color: var(--asys-shell-text);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.asys-primary-menu .sub-menu a:hover {
    color: var(--asys-shell-blue);
    background: var(--asys-shell-light);
}

.asys-commerce-footer {
    margin-top: 70px;
    color: #cbd5e1;
    background: var(--asys-shell-navy);
}

.asys-footer-grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, 1fr);
    gap: 54px;
    padding-top: 68px;
    padding-bottom: 58px;
}

.asys-brand-footer .asys-brand-copy strong {
    color: #fff;
}

.asys-brand-footer .asys-brand-copy small {
    color: #94a3b8;
}

.asys-footer-brand p {
    max-width: 370px;
    margin: 23px 0 20px;
    color: #aebed2;
    line-height: 1.75;
}

.asys-footer-contact {
    color: #67e8f9;
    font-weight: 800;
    text-decoration: none;
}

.asys-footer-column h2 {
    margin: 0 0 19px;
    color: #fff;
    font-size: 15px;
    font-weight: 850;
}

.asys-footer-column ul,
.asys-footer-menu {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.asys-footer-column a {
    color: #aebed2;
    font-size: 13px;
    text-decoration: none;
}

.asys-footer-column a:hover {
    color: #fff;
}

.asys-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .10);
    background: #050d19;
}

.asys-footer-bottom-inner {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #8293a9;
    font-size: 12px;
}

.ct-footer {
    display: none !important;
}

@media (max-width: 1024px) {
    .asys-header-main-inner {
        grid-template-columns: auto 1fr auto;
        gap: 20px;
        padding-top: 16px;
    }

    .asys-product-search {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-bottom: 16px;
    }

    .asys-menu-toggle {
        display: inline-flex;
    }

    .asys-primary-navigation {
        display: none;
    }

    .asys-primary-navigation.is-open {
        display: block;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        border-top: 1px solid var(--asys-shell-border);
    }

    .asys-primary-navigation-inner {
        display: block;
        padding-top: 12px;
        padding-bottom: 18px;
    }

    .asys-shop-entry {
        min-height: 45px;
        justify-content: center;
        border-radius: 10px;
    }

    .asys-primary-menu {
        display: block;
        margin-top: 10px;
    }

    .asys-primary-menu > li {
        display: block;
        border-bottom: 1px solid #edf2f7;
    }

    .asys-primary-menu > li > a {
        display: flex;
        min-height: 46px;
        justify-content: space-between;
        padding: 0 8px;
    }

    .asys-primary-menu .sub-menu {
        position: static;
        min-width: 0;
        padding: 0 0 9px 15px;
        visibility: visible;
        border: 0;
        box-shadow: none;
        opacity: 1;
        transform: none;
    }

    .asys-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 782px) {
    .admin-bar .asys-commerce-header {
        top: 46px;
    }
}

@media (max-width: 680px) {
    .asys-shell-wrap {
        width: min(100% - 28px, 1220px);
    }

    .asys-header-top {
        display: none;
    }

    .asys-header-main-inner {
        min-height: 76px;
        grid-template-columns: 1fr auto;
        gap: 12px;
    }

    .asys-brand-mark {
        width: 39px;
        height: 39px;
        border-radius: 11px;
        font-size: 22px;
    }

    .asys-brand-copy strong {
        font-size: 24px;
    }

    .asys-brand-copy small {
        font-size: 8px;
    }

    .asys-header-action {
        min-width: 42px;
        padding-inline: 5px;
    }

    .asys-header-action-text {
        display: none;
    }

    .asys-footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-top: 52px;
        padding-bottom: 46px;
    }

    .asys-footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding-top: 17px;
        padding-bottom: 17px;
    }
}
