:root {
    --np-color-primary: #06202b;
    --np-color-secondary: #077a7d;
    --np-color-accent: #7ae2cf;
    --np-color-gold: #fdeb9e;
    --np-color-background: #f7fafa;
    --np-color-surface: #ffffff;
    --np-color-text: #132024;
    --np-color-muted: #637177;
    --np-color-border: #dde7e7;
    --np-container-width: 1280px;
    --np-content-width: 820px;
    --np-header-height: 84px;
    --np-radius-sm: 8px;
    --np-radius-base: 16px;
    --np-radius-lg: 28px;
    --np-space-1: .25rem;
    --np-space-2: .5rem;
    --np-space-3: .75rem;
    --np-space-4: 1rem;
    --np-space-5: 1.25rem;
    --np-space-6: 1.5rem;
    --np-space-8: 2rem;
    --np-space-10: 2.5rem;
    --np-space-12: 3rem;
    --np-shadow-sm: 0 8px 24px rgba(6, 32, 43, .08);
    --np-shadow: 0 14px 40px rgba(6, 32, 43, .12);
    --np-shadow-lg: 0 18px 50px rgba(6, 32, 43, .16);
    --np-transition-base: 240ms ease;
    --np-font-primary: Tahoma, Arial, sans-serif;
    --np-font-heading: Tahoma, Arial, sans-serif;
    --np-font-size-base: 16px;
    --np-line-height-base: 1.85;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    font-size: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    min-height: 100%;
    margin: 0;
    color: var(--np-color-text);
    font-family: var(--np-font-primary);
    font-size: var(--np-font-size-base);
    line-height: var(--np-line-height-base);
    background: var(--np-color-background);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.np-menu-open,
body.np-search-open {
    overflow: hidden;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
    display: block;
    max-width: 100%;
}

img,
video {
    height: auto;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: .18em;
}

a:hover {
    color: var(--np-color-secondary);
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
    cursor: not-allowed;
    opacity: .6;
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 2px solid var(--np-color-accent);
    outline-offset: 3px;
}

.screen-reader-text,
.np-u-sr-only {
    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;
}

.screen-reader-text:focus,
.np-u-sr-only-focusable:focus {
    position: fixed !important;
    top: var(--np-space-4) !important;
    right: var(--np-space-4) !important;
    z-index: 999999 !important;
    width: auto !important;
    height: auto !important;
    padding: var(--np-space-3) var(--np-space-4) !important;
    margin: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
    color: var(--np-color-primary) !important;
    background: var(--np-color-surface) !important;
    border: 1px solid var(--np-color-border) !important;
    border-radius: var(--np-radius-base) !important;
    box-shadow: var(--np-shadow-lg) !important;
}

.np-site,
.np-site-wrapper {
    position: relative;
    min-height: 100vh;
    background: var(--np-color-background);
}

.np-container {
    width: min(100% - 32px, var(--np-container-width));
    margin-right: auto;
    margin-left: auto;
}

.np-content,
.np-site-content,
.np-content-area {
    width: 100%;
}

.np-layout-content {
    width: 100%;
}

.np-content-full,
.np-layout-full-width .np-content {
    max-width: none;
}

.np-content-narrow,
.np-layout-narrow .np-content {
    max-width: var(--np-content-width);
    margin-right: auto;
    margin-left: auto;
}

.np-site-header,
.np-header {
    position: relative;
    z-index: 100;
    width: 100%;
    color: var(--np-color-text);
    background: color-mix(in srgb, var(--np-color-surface) 94%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--np-color-border) 72%, transparent);
    backdrop-filter: blur(16px);
}

.np-header-sticky {
    position: sticky;
    top: 0;
}

.admin-bar .np-header-sticky {
    top: 32px;
}

.np-header-transparent {
    position: absolute;
    inset-inline: 0;
    top: 0;
    background: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
}

.np-header-container {
    min-height: var(--np-header-height);
}

.np-header-inner {
    display: flex;
    gap: var(--np-space-6);
    align-items: center;
    justify-content: space-between;
    min-height: var(--np-header-height);
}

.np-header-branding-area {
    display: flex;
    align-items: center;
    min-width: 0;
    flex-shrink: 0;
}

.np-site-branding,
.np-branding {
    display: flex;
    align-items: center;
    min-width: 0;
}

.np-branding-link {
    display: inline-flex;
    gap: var(--np-space-3);
    align-items: center;
    color: var(--np-color-primary);
    text-decoration: none;
}

.np-branding-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.np-branding-logo img,
.custom-logo {
    width: auto;
    max-height: 52px;
}

.np-site-title,
.np-branding-title {
    margin: 0;
    color: var(--np-color-primary);
    font-family: var(--np-font-heading);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 850;
    line-height: 1.35;
    letter-spacing: -.02em;
}

.np-site-description,
.np-branding-description {
    display: block;
    margin-top: 2px;
    color: var(--np-color-muted);
    font-size: .82rem;
    line-height: 1.5;
}

.np-header-navigation-area {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    flex: 1 1 auto;
}

.np-navigation,
.np-primary-navigation {
    display: flex;
    align-items: center;
}

.np-menu,
.np-primary-menu {
    display: flex;
    gap: var(--np-space-1);
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.np-menu-item {
    position: relative;
    margin: 0;
}

.np-menu-link {
    display: inline-flex;
    gap: var(--np-space-2);
    align-items: center;
    min-height: 42px;
    padding: .55rem .8rem;
    color: var(--np-color-text);
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    border-radius: 999px;
    transition: color var(--np-transition-base), background-color var(--np-transition-base);
}

.np-menu-link:hover,
.np-menu-link:focus-visible,
.np-menu-item-current > .np-menu-link,
.current-menu-item > .np-menu-link,
.current-menu-ancestor > .np-menu-link {
    color: var(--np-color-primary);
    background: color-mix(in srgb, var(--np-color-accent) 18%, transparent);
}

.np-submenu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 120;
    min-width: 220px;
    padding: var(--np-space-2);
    margin: 0;
    list-style: none;
    background: var(--np-color-surface);
    border: 1px solid var(--np-color-border);
    border-radius: var(--np-radius-base);
    box-shadow: var(--np-shadow-lg);
}

.np-submenu .np-menu-link {
    justify-content: flex-start;
    width: 100%;
    min-height: 40px;
    border-radius: var(--np-radius-sm);
}

.np-menu-item-has-children:not(:hover):not(:focus-within):not(.is-open) > .np-submenu {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(8px);
}

.np-submenu-toggle {
    display: none;
}

.np-header-actions-area,
.np-header-actions {
    display: flex;
    gap: var(--np-space-2);
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.np-header-action {
    display: inline-flex;
    align-items: center;
}

.np-header-icon-button,
.np-search-toggle,
.np-menu-toggle,
.np-offcanvas-close,
.np-mobile-navigation-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: var(--np-color-primary);
    background: var(--np-color-surface);
    border: 1px solid var(--np-color-border);
    border-radius: 999px;
    box-shadow: none;
    transition: color var(--np-transition-base), background-color var(--np-transition-base), border-color var(--np-transition-base), transform var(--np-transition-base), box-shadow var(--np-transition-base);
}

.np-header-icon-button:hover,
.np-search-toggle:hover,
.np-menu-toggle:hover,
.np-offcanvas-close:hover,
.np-mobile-navigation-close:hover {
    color: var(--np-color-surface);
    background: var(--np-color-primary);
    border-color: var(--np-color-primary);
    transform: translateY(-1px);
    box-shadow: var(--np-shadow-sm);
}

.np-menu-toggle {
    display: none;
}

.np-menu-toggle-lines {
    display: grid;
    gap: 4px;
    width: 18px;
}

.np-menu-toggle-line {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

.np-button,
.np-header-cta {
    display: inline-flex;
    gap: var(--np-space-2);
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .72rem 1.15rem;
    color: var(--np-color-surface);
    font-weight: 800;
    line-height: 1.45;
    text-decoration: none;
    background: var(--np-color-primary);
    border: 1px solid var(--np-color-primary);
    border-radius: var(--np-radius-base);
    box-shadow: var(--np-shadow-sm);
    transition: color var(--np-transition-base), background-color var(--np-transition-base), border-color var(--np-transition-base), box-shadow var(--np-transition-base), transform var(--np-transition-base);
}

.np-button:hover,
.np-header-cta:hover {
    color: var(--np-color-surface);
    background: var(--np-color-secondary);
    border-color: var(--np-color-secondary);
    box-shadow: var(--np-shadow);
    transform: translateY(-1px);
}

.np-header-cart-link,
.np-header-account-link {
    display: inline-flex;
    gap: var(--np-space-2);
    align-items: center;
    min-height: 42px;
    padding: .55rem .8rem;
    color: var(--np-color-primary);
    font-weight: 800;
    text-decoration: none;
    background: var(--np-color-surface);
    border: 1px solid var(--np-color-border);
    border-radius: 999px;
}

.np-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    color: var(--np-color-surface);
    font-size: .72rem;
    font-weight: 900;
    line-height: 1;
    background: var(--np-color-secondary);
    border-radius: 999px;
}

.np-icon,
svg.np-icon {
    display: inline-block;
    flex-shrink: 0;
    width: 1em;
    height: 1em;
    line-height: 1;
    vertical-align: -.125em;
    fill: currentColor;
}

.np-site-main,
.site-main {
    display: block;
    width: 100%;
}

.np-page-header {
    position: relative;
    padding: clamp(2.5rem, 7vw, 6rem) 0;
    overflow: hidden;
    background: linear-gradient(135deg, color-mix(in srgb, var(--np-color-primary) 8%, transparent), color-mix(in srgb, var(--np-color-accent) 15%, transparent));
}

.np-page-title {
    margin: 0;
    color: var(--np-color-primary);
    font-family: var(--np-font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -.04em;
}

.np-page-description {
    max-width: 680px;
    margin: var(--np-space-4) 0 0;
    color: var(--np-color-muted);
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.85;
}

.np-entry,
.np-card {
    position: relative;
    background: var(--np-color-surface);
    border: 1px solid var(--np-color-border);
    border-radius: var(--np-radius-lg);
    box-shadow: var(--np-shadow-sm);
}

.np-entry-thumbnail,
.np-card-media {
    overflow: hidden;
    border-radius: var(--np-radius-lg);
}

.np-entry-title,
.np-card-title {
    margin: 0;
    color: var(--np-color-primary);
    font-family: var(--np-font-heading);
    font-weight: 850;
    line-height: 1.35;
}

.np-entry-title a,
.np-card-title a {
    color: inherit;
    text-decoration: none;
}

.np-entry-title a:hover,
.np-card-title a:hover {
    color: var(--np-color-secondary);
}

.np-entry-meta,
.np-posted-on,
.np-posted-by,
.np-reading-time {
    display: flex;
    flex-wrap: wrap;
    gap: var(--np-space-2);
    align-items: center;
    color: var(--np-color-muted);
    font-size: .88rem;
    line-height: 1.5;
}

.np-search-panel,
.np-search-modal {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: grid;
    place-items: start center;
    padding: max(88px, var(--np-header-height)) var(--np-space-4) var(--np-space-4);
    background: rgba(6, 32, 43, .38);
    backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity var(--np-transition-base), visibility var(--np-transition-base);
}

.np-search-panel.is-open,
.np-search-modal.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.np-search-form,
.search-form {
    display: flex;
    gap: var(--np-space-2);
    align-items: center;
    width: min(100%, 680px);
    padding: var(--np-space-2);
    background: var(--np-color-surface);
    border: 1px solid var(--np-color-border);
    border-radius: var(--np-radius-lg);
    box-shadow: var(--np-shadow-lg);
}

.np-search-field,
.search-field {
    width: 100%;
    min-height: 48px;
    padding: .75rem 1rem;
    color: var(--np-color-text);
    background: transparent;
    border: 0;
    outline: 0;
}

.np-search-submit,
.search-submit {
    min-height: 48px;
    padding: .75rem 1.15rem;
    color: var(--np-color-surface);
    font-weight: 800;
    background: var(--np-color-primary);
    border: 1px solid var(--np-color-primary);
    border-radius: var(--np-radius-base);
}

.np-offcanvas,
.np-mobile-navigation {
    position: fixed;
    inset: 0;
    z-index: 500;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity var(--np-transition-base), visibility var(--np-transition-base);
}

.np-offcanvas.is-open,
.np-mobile-navigation.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.np-offcanvas-overlay,
.np-mobile-navigation-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 32, 43, .42);
    backdrop-filter: blur(10px);
}

.np-offcanvas-panel,
.np-mobile-navigation-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 390px);
    height: 100%;
    margin-inline-start: auto;
    overflow-y: auto;
    color: var(--np-color-text);
    background: var(--np-color-surface);
    border-inline-start: 1px solid var(--np-color-border);
    box-shadow: var(--np-shadow-lg);
    transform: translateX(-100%);
    transition: transform var(--np-transition-base);
}

[dir="rtl"] .np-offcanvas-panel,
[dir="rtl"] .np-mobile-navigation-panel {
    transform: translateX(-100%);
}

[dir="ltr"] .np-offcanvas-panel,
[dir="ltr"] .np-mobile-navigation-panel {
    margin-inline-start: 0;
    margin-inline-end: auto;
    border-inline-start: 0;
    border-inline-end: 1px solid var(--np-color-border);
    transform: translateX(-100%);
}

.np-offcanvas.is-open .np-offcanvas-panel,
.np-mobile-navigation.is-open .np-mobile-navigation-panel {
    transform: translateX(0);
}

.np-offcanvas-header,
.np-mobile-navigation-header {
    display: flex;
    gap: var(--np-space-4);
    align-items: center;
    justify-content: space-between;
    min-height: var(--np-header-height);
    padding: var(--np-space-4);
    border-bottom: 1px solid var(--np-color-border);
}

.np-offcanvas-body,
.np-mobile-navigation-body {
    padding: var(--np-space-4);
}

.np-offcanvas-footer,
.np-mobile-navigation-footer {
    padding: var(--np-space-4);
    border-top: 1px solid var(--np-color-border);
}

.np-offcanvas-navigation,
.np-mobile-navigation-menu-wrap {
    display: block;
}

.np-offcanvas-menu-list,
.np-mobile-menu {
    display: grid;
    gap: var(--np-space-1);
    align-items: stretch;
}

.np-offcanvas-menu-list .np-menu-link,
.np-mobile-menu .np-menu-link {
    justify-content: space-between;
    width: 100%;
    min-height: 46px;
    border-radius: var(--np-radius-sm);
}

.np-offcanvas-menu-list .np-submenu,
.np-mobile-menu .np-submenu {
    position: static;
    min-width: 0;
    padding: var(--np-space-1) var(--np-space-3);
    margin-top: var(--np-space-1);
    background: color-mix(in srgb, var(--np-color-accent) 8%, transparent);
    border: 0;
    border-radius: var(--np-radius-sm);
    box-shadow: none;
}

.np-site-footer,
.np-footer {
    color: color-mix(in srgb, var(--np-color-surface) 88%, transparent);
    background: var(--np-color-primary);
}

.np-footer a {
    color: inherit;
}

.np-footer a:hover {
    color: var(--np-color-accent);
}

.np-back-to-top {
    position: fixed;
    right: var(--np-space-4);
    bottom: var(--np-space-4);
    z-index: 250;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    color: var(--np-color-surface);
    background: var(--np-color-primary);
    border: 1px solid color-mix(in srgb, var(--np-color-surface) 16%, transparent);
    border-radius: 999px;
    box-shadow: var(--np-shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity var(--np-transition-base), transform var(--np-transition-base), background-color var(--np-transition-base);
}

.np-back-to-top.is-visible,
.np-back-to-top.np-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .np-header-navigation-area {
        display: none;
    }

    .np-menu-toggle {
        display: inline-flex;
    }

    .np-header-action-cta {
        display: none;
    }

    .np-header-inner {
        gap: var(--np-space-4);
    }
}

@media (max-width: 782px) {
    .admin-bar .np-header-sticky {
        top: 46px;
    }
}

@media (max-width: 768px) {
    :root {
        --np-header-height: 72px;
    }

    .np-container {
        width: min(100% - 24px, var(--np-container-width));
    }

    .np-branding-logo img,
    .custom-logo {
        max-height: 44px;
    }

    .np-site-title,
    .np-branding-title {
        font-size: 1.08rem;
    }

    .np-header-action-account,
    .np-header-action-cart {
        display: none;
    }

    .np-page-header {
        padding: clamp(2rem, 12vw, 4rem) 0;
    }

    .np-search-form,
    .search-form {
        align-items: stretch;
        flex-direction: column;
    }

    .np-search-submit,
    .search-submit {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .np-header-actions {
        gap: var(--np-space-1);
    }

    .np-header-icon-button,
    .np-search-toggle,
    .np-menu-toggle,
    .np-offcanvas-close,
    .np-mobile-navigation-close {
        width: 40px;
        height: 40px;
    }

    .np-offcanvas-panel,
    .np-mobile-navigation-panel {
        width: min(100%, 340px);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 1ms !important;
        animation-delay: 0ms !important;
        transition-duration: 1ms !important;
        transition-delay: 0ms !important;
    }
}