.ontag-home {
    --home-bg: #ffffff;
    --home-soft: #f6f7f1;
    --home-ink: #111111;
    --home-muted: #666b61;
    --home-border: rgba(17, 17, 17, .11);
    --home-green: var(--ontag-green, var(--ontag-store-primary, #c6ff00));
    --home-black: var(--ontag-black, var(--ontag-store-secondary, #090909));
    background: var(--home-bg);
    color: var(--home-ink);
    overflow-x: clip;
}

.ontag-home *,
.ontag-home *::before,
.ontag-home *::after {
    box-sizing: border-box;
}

.ontag-home .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ontag-home-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.ontag-home-hero {
    padding: 42px 0 24px;
    border-bottom: 1px solid var(--home-border);
    background:
        linear-gradient(135deg, rgba(198, 255, 0, .18), rgba(255, 255, 255, 0) 46%),
        var(--home-bg);
}

.ontag-home-hero__grid {
    display: grid;
    gap: 24px;
}

.ontag-home-eyebrow,
.ontag-home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3d451c;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ontag-home-eyebrow::before,
.ontag-home-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--home-green);
    box-shadow: 0 0 0 4px rgba(198, 255, 0, .22);
}

.ontag-home-hero h1,
.ontag-home-section-head h2,
.ontag-home-tech h2 {
    margin: 0;
    color: var(--home-ink);
    letter-spacing: 0;
}

.ontag-home-hero h1 {
    max-width: 820px;
    margin-top: 14px;
    font-size: clamp(35px, 4.6vw, 68px);
    line-height: 1;
}

.ontag-home-hero p {
    max-width: 700px;
    margin: 16px 0 0;
    color: var(--home-muted);
    font-size: 16px;
    line-height: 1.65;
}

.ontag-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.ontag-home-button,
.ontag-home-link,
.ontag-home-product__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 8px;
    font-weight: 850;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.ontag-home-button:focus-visible,
.ontag-home-link:focus-visible,
.ontag-home-product__button:focus-visible,
.ontag-shop-filter:focus-visible,
.ontag-home-clear:focus-visible,
.ontag-home-faq__button:focus-visible {
    outline: 3px solid rgba(198, 255, 0, .72);
    outline-offset: 3px;
}

.ontag-home-button--primary {
    background: var(--home-black);
    color: #ffffff;
}

.ontag-home-button--secondary {
    border: 1px solid var(--home-border);
    background: #ffffff;
    color: var(--home-ink);
}

.ontag-home-button:hover,
.ontag-home-link:hover,
.ontag-home-product__button:hover {
    transform: translateY(-1px);
}

.ontag-home-hero__panel {
    display: grid;
    gap: 4px;
    align-content: center;
    min-height: 128px;
    padding: 22px;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    background: #ffffff;
}

.ontag-home-hero__panel strong {
    color: var(--home-black);
    font-size: 44px;
    line-height: 1;
}

.ontag-home-hero__panel span {
    color: var(--home-ink);
    font-weight: 850;
}

.ontag-home-hero__panel small {
    color: var(--home-muted);
}

.ontag-home-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 22px;
}

.ontag-home-benefits span {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, .72);
    color: #202020;
    font-size: 14px;
    font-weight: 760;
}

.ontag-home-catalog {
    padding: 34px 0 42px;
}

.ontag-home-section-head {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.ontag-home-section-head h2,
.ontag-home-tech h2 {
    font-size: clamp(27px, 3vw, 42px);
    line-height: 1.08;
}

.ontag-home-section-head p,
.ontag-home-tech p {
    max-width: 720px;
    margin: 8px 0 0;
    color: var(--home-muted);
    line-height: 1.6;
}

.ontag-home-toolbar {
    position: static;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 22px;
    padding: 12px;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 14px 36px rgba(17, 17, 17, .06);
}

.ontag-home-search,
.ontag-home-sort-label {
    min-width: 0;
}

.ontag-home-search {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 12px;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    background: #ffffff;
}

.ontag-home-search svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    color: var(--home-muted);
}

.ontag-home-search input,
.ontag-home-sort {
    width: 100%;
    min-height: 48px;
    border: 0;
    background: transparent;
    color: var(--home-ink);
    font: inherit;
    outline: 0;
}

.ontag-home-sort-label {
    display: block;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    background: #ffffff;
}

.ontag-home-sort {
    padding: 0 12px;
    cursor: pointer;
}

.ontag-home-clear {
    min-height: 48px;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    background: var(--home-soft);
    color: var(--home-ink);
    font-weight: 850;
    cursor: pointer;
}

.ontag-home-filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
}

.ontag-shop-filter {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    background: #ffffff;
    color: #222222;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

.ontag-shop-filter span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--home-soft);
    color: var(--home-muted);
    font-size: 12px;
}

.ontag-shop-filter.is-active {
    border-color: rgba(118, 151, 0, .46);
    background: var(--home-green);
    color: #111111;
}

.ontag-shop-filter.is-active span {
    background: rgba(255, 255, 255, .7);
    color: #111111;
}

.ontag-home-count {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    color: var(--home-muted);
    font-size: 14px;
    font-weight: 800;
}

.ontag-home-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.ontag-product-card[hidden] {
    display: none !important;
}

.ontag-home-product {
    display: grid;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 46px rgba(17, 17, 17, .07);
}

.ontag-home-product__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--home-soft);
}

.ontag-home-product__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .22s ease, transform .22s ease;
}

.ontag-home-product__media img + img {
    opacity: 0;
}

.ontag-home-product:hover .ontag-home-product__media img:first-child:not(:only-child) {
    opacity: 0;
}

.ontag-home-product:hover .ontag-home-product__media img + img {
    opacity: 1;
    transform: scale(1.025);
}

.ontag-home-product__fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    color: rgba(17, 17, 17, .55);
}

.ontag-home-product__fallback b {
    font-size: 38px;
    letter-spacing: 0;
}

.ontag-home-product__fallback small {
    font-size: 12px;
    font-weight: 750;
}

.ontag-home-product__badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.ontag-product-card__badge {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 9px;
    border-radius: 999px;
    background: #ffffff;
    color: #111111;
    font-size: 12px;
    font-weight: 850;
    box-shadow: 0 10px 20px rgba(17, 17, 17, .12);
}

.ontag-product-card__badge--sale {
    background: var(--home-green);
}

.ontag-product-card__badge--out {
    background: #111111;
    color: #ffffff;
}

.ontag-home-product__body {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.ontag-home-product__category {
    color: #556000;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ontag-home-product h3 {
    min-height: 48px;
    margin: 0;
    color: var(--home-ink);
    font-size: 20px;
    line-height: 1.2;
}

.ontag-home-product__description {
    min-height: 70px;
    margin: 0;
    color: var(--home-muted);
    line-height: 1.5;
}

.ontag-home-product__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.ontag-home-product__meta span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 9px;
    border-radius: 999px;
    background: var(--home-soft);
    color: #3a3f36;
    font-size: 12px;
    font-weight: 750;
}

.ontag-home-product__bottom {
    display: grid;
    gap: 12px;
    align-items: end;
    margin-top: 4px;
}

.ontag-home-product__price {
    display: grid;
    gap: 3px;
}

.ontag-home-product__price small {
    color: var(--home-muted);
    font-size: 12px;
    font-weight: 760;
}

.ontag-home-product__price del {
    color: #7d8279;
    font-size: 13px;
}

.ontag-home-product__price strong {
    color: var(--home-ink);
    font-size: 25px;
    line-height: 1;
}

.ontag-home-product__button {
    width: 100%;
    background: var(--home-black);
    color: #ffffff;
}

.ontag-home-product__button.is-disabled {
    background: #e7e7e2;
    color: #74746c;
    cursor: not-allowed;
    transform: none;
}

.ontag-home-empty {
    display: grid;
    gap: 10px;
    padding: 26px;
    border: 1px dashed rgba(17, 17, 17, .22);
    border-radius: 8px;
    background: var(--home-soft);
    text-align: center;
}

.ontag-home-empty[hidden] {
    display: none !important;
}

.ontag-home-empty h3 {
    margin: 0;
    color: var(--home-ink);
    font-size: 21px;
}

.ontag-home-empty p {
    margin: 0 auto;
    max-width: 460px;
    color: var(--home-muted);
    line-height: 1.55;
}

.ontag-home-empty--catalog .ontag-home-button {
    justify-self: center;
    margin-top: 8px;
}

.ontag-home-tech {
    padding: 34px 0;
    border-top: 1px solid var(--home-border);
    border-bottom: 1px solid var(--home-border);
    background: var(--home-black);
    color: #ffffff;
}

.ontag-home-tech h2,
.ontag-home-tech p,
.ontag-home-tech .ontag-home-kicker,
.ontag-home-tech .ontag-home-link {
    color: #ffffff;
}

.ontag-home-tech__grid {
    display: grid;
    gap: 18px;
}

.ontag-home-link {
    justify-self: start;
    border: 1px solid rgba(255, 255, 255, .22);
    color: #ffffff;
}

.ontag-home-faq {
    padding: 38px 0 70px;
    background: #ffffff;
}

.ontag-home-faq__list {
    display: grid;
    gap: 10px;
}

.ontag-home-faq__item {
    border: 1px solid var(--home-border);
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}

.ontag-home-faq__button {
    width: 100%;
    min-height: 58px;
    padding: 0 16px;
    border: 0;
    background: #ffffff;
    color: var(--home-ink);
    font: inherit;
    font-weight: 850;
    text-align: left;
    cursor: pointer;
}

.ontag-home-faq__button::after {
    content: "+";
    float: right;
    color: var(--home-muted);
}

.ontag-home-faq__button[aria-expanded="true"]::after {
    content: "-";
}

.ontag-home-faq__panel {
    padding: 0 16px 16px;
    color: var(--home-muted);
    line-height: 1.55;
}

.ontag-home-faq__panel p {
    margin: 0;
}

.ontag-home-faq__panel a {
    color: var(--home-ink);
    font-weight: 850;
}

@media (min-width: 480px) {
    .ontag-home-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 640px) {
    .ontag-home-shell {
        width: min(1180px, calc(100% - 48px));
    }

    .ontag-home-hero {
        padding-top: 52px;
    }

    .ontag-home-toolbar {
        grid-template-columns: minmax(220px, 1fr) minmax(160px, 220px) auto;
        align-items: center;
    }

    .ontag-home-filters,
    .ontag-home-count {
        grid-column: 1 / -1;
    }

    .ontag-home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ontag-home-product__bottom {
        grid-template-columns: 1fr auto;
    }

    .ontag-home-product__button {
        width: auto;
        min-width: 132px;
    }
}

@media (min-width: 768px) {
    .ontag-home-hero__grid {
        grid-template-columns: minmax(0, 1fr) 230px;
        align-items: end;
    }

    .ontag-home-benefits {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .ontag-home-hero {
        padding: 66px 0 28px;
    }

    .ontag-home-toolbar {
        position: sticky;
        top: 86px;
        grid-template-columns: minmax(280px, 1fr) minmax(170px, 210px) auto auto;
    }

    .ontag-home-filters {
        grid-column: 1 / 4;
    }

    .ontag-home-count {
        grid-column: 4;
        justify-self: end;
    }

    .ontag-home-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .ontag-home-tech__grid {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 520px) auto;
        align-items: end;
    }
}

@media (min-width: 1280px) {
    .ontag-home-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 374px) {
    .ontag-home-shell {
        width: min(100% - 24px, 1180px);
    }

    .ontag-home-hero h1 {
        font-size: 31px;
    }

    .ontag-home-button {
        width: 100%;
    }

    .ontag-home-product h3 {
        min-height: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ontag-home *,
    .ontag-home *::before,
    .ontag-home *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
