:root {
    --gz-blue: #205c4f;
    --gz-deep: #205c4f;
    --gz-ink: #252c28;
    --gz-soft: #e5eee8;
    --gz-line: #dce5de;
    --gz-bg: #faf8f3;
    --gz-card: #fff;
    --gz-muted: #637369;
    --gz-input: #f5f7f2;
    --gz-shadow: #205c4f0c;
    --gsafe-apricot: #e8b499;
    --gz-skeleton-base: #e5eee8;
    --gz-skeleton-shine: #faf8f3;
    --gz-skeleton-accent: #dce5de;
    --gz-skeleton-sweep: #ffffff66;
}

html[data-theme="dark"] {
    --gz-blue: #9dceb8;
    --gz-deep: #e5eee8;
    --gz-ink: #f2f5ef;
    --gz-soft: #20372d;
    --gz-line: #354e41;
    --gz-bg: #15271e;
    --gz-card: #1b3025;
    --gz-muted: #b0c1b5;
    --gz-input: #20372d;
    --gz-shadow: #00000022;
    --gz-skeleton-base: var(--gz-card);
    --gz-skeleton-shine: var(--gz-soft);
    --gz-skeleton-accent: var(--gz-line);
    --gz-skeleton-sweep: #9dceb810;
}

.gz-header {
    background: var(--gz-bg);
}

.gz-logo img {
    width: 190px;
    max-height: 56px;
}

.gz-nav {
    background: var(--gz-soft);
    border-top: 0;
    gap: 24px;
}

.gz-nav > a,
.gz-nav-category-link {
    min-height: 45px;
    color: var(--gz-ink);
}

.gz-search input:focus {
    box-shadow: 0 0 0 4px #205c4f12;
}

html[data-theme] body #app .primary-button,
html[data-theme] body #app .gz-registration-primary,
html[data-theme] body #app .gz-product-cart-button {
    border-color: #205c4f !important;
    background: #205c4f !important;
    color: #fff !important;
}

html[data-theme] body #app .primary-button:hover,
html[data-theme] body #app .gz-registration-primary:hover,
html[data-theme] body #app .gz-product-cart-button:hover {
    border-color: #17483d !important;
    background: #17483d !important;
    color: #fff !important;
}

.primary-button:focus-visible,
.gsafe-intro-actions a:focus-visible {
    outline: 3px solid var(--gsafe-apricot);
    outline-offset: 4px;
}

.primary-button:disabled,
.gz-product-cart-button:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.secondary-button,
.gz-registration-secondary {
    border-color: var(--gz-blue) !important;
    color: var(--gz-blue) !important;
}

html[data-theme] .gz-registration-card .gz-registration-secondary,
html[data-theme] .gz-registration-card #registration-code-step button:not(.gz-registration-primary) {
    color: var(--gz-blue) !important;
}

.gz-registration-card input:focus,
.gz-registration-card #phone-registration-method > div:focus-within {
    border-color: var(--gz-blue) !important;
}

html[data-theme="dark"] .gz-registration-card,
html[data-theme="dark"] .gz-registration-shell,
html[data-theme="dark"] .gz-registration-embedded,
html[data-theme="dark"] .gz-registration-social a,
html[data-theme="dark"] .gz-registration-card input,
html[data-theme="dark"] .gz-registration-card #phone-registration-method > div {
    border-color: var(--gz-line) !important;
    background: var(--gz-card) !important;
    color: var(--gz-ink) !important;
}

html[data-theme="dark"] .gz-registration-divider {
    color: var(--gz-muted) !important;
}

.gsafe-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: clamp(30px, 5vw, 76px);
    max-width: 1320px;
    margin-top: 44px;
    padding-inline: 20px;
}

.gsafe-intro-content {
    padding-block: 16px;
}

.gsafe-eyebrow {
    display: inline-block;
    border-radius: 999px;
    background: var(--gz-soft);
    padding: 6px 17px;
    color: var(--gz-deep);
    font-size: 15px;
    font-weight: 800;
}

.gsafe-intro h1 {
    margin: 20px 0 18px;
    color: var(--gz-deep);
    font-size: clamp(32px, 3.65vw, 51px);
    font-weight: 900;
    line-height: 1.38;
}

.gsafe-intro h1 span {
    display: block;
}

.gsafe-intro p {
    max-width: 620px;
    margin: 0;
    color: var(--gz-muted);
    font-size: 16px;
    line-height: 1.95;
}

.gsafe-intro-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
}

.gsafe-intro-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    min-height: 48px;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 800;
}

.gsafe-intro-actions > span {
    color: var(--gz-muted);
    font-size: 13px;
}

.gsafe-intro-art {
    position: relative;
}

.gsafe-intro-art img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 28px;
}

.gsafe-art-caption {
    position: absolute;
    right: 24px;
    bottom: 24px;
    border: 1px solid #205c4f12;
    border-radius: 999px;
    background: #faf8f3;
    padding: 9px 18px;
    color: #205c4f;
    font-size: 14px;
    font-weight: 800;
}

#gsafe-categories {
    scroll-margin-top: 155px;
}

.gsafe-listing-heading {
    width: min(calc(100% - 32px), 1272px);
    margin: 28px auto 0;
}

.gsafe-listing-heading h1 {
    margin: 0;
    color: var(--gz-deep);
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 900;
    line-height: 1.5;
}

.gz-category-grid a {
    min-height: 176px;
    border: 1px solid var(--gz-line);
    background: var(--gz-card);
    color: var(--gz-ink);
    box-shadow: none;
}

.gz-category-grid a:hover {
    border-color: var(--gz-blue);
    box-shadow: 0 8px 24px var(--gz-shadow);
    transform: translateY(-3px);
}

.gz-category-grid a:after {
    width: 100px;
    height: 100px;
    border-color: #e8b49925;
}

.gz-category-grid .gz-category-icon {
    color: var(--gz-blue);
    font-size: 31px;
}

.gz-category-grid h3 {
    color: var(--gz-deep);
}

.gz-category-grid p,
.gz-category-grid small {
    color: var(--gz-muted);
}

.gsafe-catalog-empty {
    display: flex;
    align-items: center;
    gap: 22px;
    border: 1px solid var(--gz-line);
    border-radius: 22px;
    background: var(--gz-soft);
    padding: 28px 32px;
}

.gsafe-catalog-empty > span {
    display: grid;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 15px;
    background: var(--gz-bg);
    color: var(--gz-blue);
    font-size: 26px;
}

.gsafe-catalog-empty h2 {
    margin: 0 0 6px;
    color: var(--gz-deep);
    font-size: 22px;
    font-weight: 800;
}

.gsafe-catalog-empty p {
    margin: 0;
    color: var(--gz-muted);
    font-size: 15px;
    line-height: 1.8;
}

.gz-promo {
    background: var(--gz-soft);
    color: var(--gz-ink);
}

.gz-promo span,
.gz-promo h2 {
    color: var(--gz-deep);
}

.gz-promo p {
    color: var(--gz-muted);
}

.gz-promo a {
    background: #205c4f;
    color: #fff;
}

.gz-footer {
    margin-top: 74px;
    background: #205c4f;
    color: #faf8f3;
}

.gz-footer-brand img {
    width: 228px;
    filter: brightness(0) invert(1);
}

.gz-footer-grid {
    gap: 50px;
}

.gz-footer-brand p {
    max-width: 570px;
    color: #e5eee8;
    font-size: 14px;
    line-height: 1.95;
}

.gz-footer a,
.gz-footer-copyright {
    color: #e5eee8;
}

.gz-footer a:hover {
    color: #e8b499;
}

html[data-theme="dark"] .gz-logo img,
html[data-theme="dark"] img[src$="/gsafe-logo.svg"] {
    filter: brightness(0) invert(1);
}

html[data-theme="dark"] .gz-footer {
    background: #102c23;
}

html[data-theme="dark"] .gsafe-intro-art img {
    opacity: .9;
}

@media (max-width: 989px) {
    .gsafe-intro {
        gap: 26px;
        margin-top: 28px;
    }

    .gsafe-intro p {
        font-size: 14px;
    }

    .gsafe-intro-actions > span {
        display: none;
    }

    .gz-logo img {
        width: 155px;
    }
}

@media (max-width: 700px) {
    .gsafe-intro {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 22px;
        padding-inline: 16px;
    }

    .gsafe-intro-content {
        padding-block: 0;
    }

    .gsafe-intro h1 {
        margin-top: 16px;
        font-size: 34px;
    }

    .gsafe-intro p {
        font-size: 15px;
        line-height: 1.85;
    }

    .gsafe-intro-actions {
        margin-top: 23px;
    }

    .gsafe-intro-art {
        overflow: hidden;
        max-height: 265px;
        border-radius: 22px;
    }

    .gsafe-intro-art img {
        height: 265px;
        object-fit: cover;
        object-position: center;
        border-radius: 22px;
    }

    .gsafe-art-caption {
        right: 16px;
        bottom: 16px;
    }

    .gz-logo img {
        width: 145px;
    }

    .gz-category-grid a {
        min-height: 166px;
    }

    .gsafe-catalog-empty {
        margin-inline: 14px;
        gap: 14px;
        padding: 24px 18px;
    }

    .gsafe-catalog-empty h2 {
        font-size: 20px;
    }

    .gsafe-catalog-empty p {
        font-size: 14px;
    }

    .gz-footer {
        margin-top: 48px;
    }
}
