:root {
    --kota-blue: rgb(55, 106, 172);
    --kota-blue-dark: #173c6d;
    --kota-navy: #0a2344;
    --kota-text: #303846;
    --kota-muted: #727985;
    --kota-border: rgba(55, 106, 172, 0.16);
    --kota-light: #f3f5f8;
    --kota-white: #ffffff;
}

#wip {
    display: none;
}

.products-page,
.products-page * {
    box-sizing: border-box;
}

.products-page {
    width: 100%;
    color: var(--kota-text);
    background: #fff;
}

.products-container {
    width: min(92%, 1280px);
    margin: 0 auto;
}

.products-heading-wrap {
    background: #fff;
}

.products-section-title {
    width: min(90%, 1240px);
    min-height: 92px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(60px, 1fr) auto minmax(60px, 1fr);
    align-items: center;
    gap: 24px;
}

.products-section-title h1 {
    margin: 0;
    color: var(--kota-blue);
    font-size: clamp(22px, 1.85vw, 31px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.065em;
    text-align: center;
}

.products-section-title__line {
    display: block;
    height: 3px;
    background: rgba(128, 128, 128, 0.12);
    border-radius: 10px;
}

.products-banner {
    min-height: 245px;
    position: relative;
    overflow: hidden;
    background-color: var(--kota-navy);
    background-image: url("../Image/curcits.95e9e4a690a8.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 100%;
}

.products-banner::after {
    content: "";
    width: 440px;
    height: 440px;
    position: absolute;
    right: -210px;
    top: -270px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 50%;
}

.products-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 28, 57, .93) 0%, rgba(10, 35, 68, .80) 47%, rgba(10, 35, 68, .34) 100%);
}

.products-banner__content {
    min-height: 245px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 38px 0;
}

.products-banner__copy {
    max-width: 720px;
    color: white;
}

.products-banner__copy > span,
.products-form-intro__kicker {
    display: inline-block;
    margin-bottom: 11px;
    color: #7bc8ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .23em;
}

.products-banner__copy h2 {
    margin: 0;
    color: white;
    font-size: clamp(27px, 2.45vw, 40px);
    font-weight: 500;
    line-height: 1.17;
    letter-spacing: -.02em;
}

.products-banner__copy p {
    max-width: 640px;
    margin: 15px 0 0;
    color: rgba(255,255,255,.76);
    font-size: 15px;
    line-height: 1.7;
}

.products-banner__count {
    width: 124px;
    height: 124px;
    flex: 0 0 124px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(255,255,255,.08);
    box-shadow: inset 0 0 0 7px rgba(255,255,255,.035);
    backdrop-filter: blur(5px);
}

.products-banner__count strong {
    color: white;
    font-size: 38px;
    font-weight: 500;
    line-height: .95;
}

.products-banner__count span {
    margin-top: 10px;
    color: #8fd2ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
}

.products-catalog {
    position: relative;
    padding: 42px 0 72px;
    background:
        linear-gradient(rgba(243,245,248,.97), rgba(243,245,248,.97)),
        url("../Image/sky.ec5f82c6e773.png") center / cover fixed;
}

.products-toolbar {
    margin-bottom: 31px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.product-filters {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.product-filter {
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #6d7480;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .065em;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.product-filter:hover {
    color: var(--kota-blue);
    background: rgba(255,255,255,.62);
}

.product-filter.is-active {
    color: var(--kota-blue);
    border-bottom-color: var(--kota-blue);
    background: #fff;
}

.product-search {
    width: 260px;
    height: 42px;
    flex: 0 0 260px;
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(0,0,0,.09);
    box-shadow: 0 3px 12px rgba(17, 46, 82, .035);
}

.product-search:focus-within {
    border-color: rgba(55,106,172,.6);
}

.product-search__icon {
    width: 14px;
    height: 14px;
    margin-left: 15px;
    border: 2px solid #87909b;
    border-radius: 50%;
    position: relative;
    flex: 0 0 auto;
}

.product-search__icon::after {
    content: "";
    width: 6px;
    height: 2px;
    position: absolute;
    right: -5px;
    bottom: -2px;
    background: #87909b;
    transform: rotate(45deg);
}

.product-search input {
    width: 100%;
    height: 100%;
    padding: 0 14px 0 12px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #353c46;
    font: inherit;
    font-size: 13px;
}

.product-search input::placeholder {
    color: #9a9fa7;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
}

.product-card {
    min-width: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(55,106,172,.10);
    border-radius: 5px;
    box-shadow: 1px 4px 18px rgba(55,106,172,.11);
    transition: transform .24s ease, box-shadow .24s ease;
}

.product-card::before {
    content: "";
    height: 3px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background: var(--kota-blue);
    transform: scaleX(.23);
    transform-origin: left;
    transition: transform .28s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 2px 10px 30px rgba(55,106,172,.20);
}

.product-card:hover::before {
    transform: scaleX(1);
}

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

.product-card__visual {
    height: 220px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(145deg, #fff 0%, #f2f4f6 100%);
    border-bottom: 1px solid rgba(0,0,0,.06);
    text-decoration: none;
}

.product-card__visual::after {
    content: "";
    width: 115px;
    height: 115px;
    position: absolute;
    right: -58px;
    bottom: -58px;
    border: 1px solid rgba(55,106,172,.12);
    border-radius: 50%;
}

.product-card__visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    padding: 22px;
    transition: transform .32s ease;
}

.product-card:hover .product-card__visual img {
    transform: scale(1.045);
}

.product-card__category {
    max-width: calc(100% - 28px);
    position: absolute;
    z-index: 2;
    left: 14px;
    top: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 6px 9px;
    color: #fff;
    background: rgba(55,106,172,.94);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.product-card__placeholder {
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(55,106,172,.18);
    background: rgba(55,106,172,.045);
}

.product-card__placeholder span {
    color: rgba(55,106,172,.55);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .08em;
}

.product-card__content {
    min-height: 300px;
    padding: 23px 21px 20px;
    display: flex;
    flex-direction: column;
}

.product-card__topline {
    width: 34px;
    height: 2px;
    margin-bottom: 12px;
    background: var(--kota-blue);
}

.product-card__content h2 {
    min-height: 50px;
    margin: 0;
    color: #2e3743;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
}

.product-card__features {
    margin: 17px 0 20px;
    padding: 0;
    display: grid;
    gap: 8px;
    list-style: none;
}

.product-card__features li {
    position: relative;
    padding-left: 16px;
    color: #707782;
    font-size: 12.5px;
    line-height: 1.48;
    overflow-wrap: anywhere;
}

.product-card__features li::before {
    content: "";
    width: 5px;
    height: 5px;
    position: absolute;
    left: 1px;
    top: .55em;
    background: var(--kota-blue);
}

.product-card__button {
    min-height: 39px;
    margin-top: auto;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(55,106,172,.42);
    color: var(--kota-blue);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.product-card__button:hover {
    color: #fff;
    background: var(--kota-blue);
    border-color: var(--kota-blue);
}

.product-card__arrow {
    width: 14px;
    height: 8px;
    position: relative;
    display: block;
}

.product-card__arrow::before {
    content: "";
    width: 13px;
    height: 1px;
    position: absolute;
    left: 0;
    top: 4px;
    background: currentColor;
}

.product-card__arrow::after {
    content: "";
    width: 6px;
    height: 6px;
    position: absolute;
    right: 0;
    top: 1px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
}

.products-empty {
    min-height: 310px;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(55,106,172,.13);
    box-shadow: 1px 4px 18px rgba(55,106,172,.08);
}

.products-empty--filtered {
    margin-top: 24px;
}

.products-empty[hidden] {
    display: none;
}

.products-empty__mark {
    width: 62px;
    height: 62px;
    margin-bottom: 18px;
    display: grid;
    place-items: center;
    color: var(--kota-blue);
    border: 1px solid rgba(55,106,172,.24);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .08em;
}

.products-empty h2 {
    margin: 0;
    color: #36404d;
    font-size: 21px;
    font-weight: 500;
}

.products-empty p {
    max-width: 470px;
    margin: 10px 0 0;
    color: #777f89;
    font-size: 13px;
    line-height: 1.65;
}

.products-empty button {
    margin-top: 20px;
    padding: 10px 17px;
    border: 1px solid var(--kota-blue);
    background: var(--kota-blue);
    color: white;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.products-form-page {
    min-height: 70vh;
    padding-bottom: 68px;
    background: var(--kota-light);
}

.products-form-page .products-section-title {
    width: min(90%, 1240px);
}

.products-form-wrap {
    width: min(92%, 920px);
    margin: 10px auto 0;
    display: grid;
    grid-template-columns: .8fr 1.4fr;
    background: white;
    border: 1px solid rgba(55,106,172,.12);
    box-shadow: 2px 7px 24px rgba(55,106,172,.12);
}

.products-form-intro {
    padding: 35px 30px;
    color: white;
    background:
        linear-gradient(rgba(9,35,70,.88), rgba(9,35,70,.91)),
        url("../Image/cucits2.6a8b5870ce71.png") center / cover;
}

.products-form-intro h2 {
    margin: 0;
    color: white;
    font-size: 27px;
    font-weight: 500;
    line-height: 1.25;
}

.products-form-intro p {
    margin: 14px 0 0;
    color: rgba(255,255,255,.74);
    font-size: 13px;
    line-height: 1.7;
}

.product-create-form {
    padding: 31px 34px 34px;
}

.product-create-form p {
    margin: 0 0 18px;
}

.product-create-form label {
    display: block;
    margin-bottom: 6px;
    color: #46505c;
    font-size: 12px;
    font-weight: 700;
}

.product-create-form input,
.product-create-form textarea,
.product-create-form select {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid #d9dde2;
    border-radius: 0;
    outline: 0;
    background: #fff;
    color: #343b45;
    font: inherit;
    font-size: 13px;
}

.product-create-form textarea {
    min-height: 88px;
    resize: vertical;
}

.product-create-form input:focus,
.product-create-form textarea:focus,
.product-create-form select:focus {
    border-color: var(--kota-blue);
    box-shadow: 0 0 0 2px rgba(55,106,172,.08);
}

.product-create-form .errorlist {
    margin: 5px 0;
    padding: 0;
    color: #a72e2e;
    list-style: none;
    font-size: 12px;
}

.product-create-form .helptext {
    display: block;
    margin-top: 5px;
    color: #858b93;
    font-size: 11px;
}

.product-form-actions {
    margin-top: 25px;
    display: flex;
    justify-content: flex-end;
    gap: 9px;
}

.product-primary-button,
.product-secondary-button {
    min-height: 42px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    text-decoration: none;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.product-primary-button {
    border: 1px solid var(--kota-blue);
    background: var(--kota-blue);
    color: white;
}

.product-secondary-button {
    border: 1px solid #ccd1d7;
    background: #fff;
    color: #59616a;
}

@media (max-width: 1150px) {
    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .products-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 15px;
    }

    .product-search {
        width: 100%;
        flex-basis: 42px;
    }

    .products-form-wrap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .products-section-title {
        min-height: 74px;
        grid-template-columns: minmax(28px, 1fr) auto minmax(28px, 1fr);
        gap: 13px;
    }

    .products-section-title h1 {
        font-size: 20px;
    }

    .products-banner,
    .products-banner__content {
        min-height: 285px;
    }

    .products-banner__content {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 34px 0;
    }

    .products-banner__copy h2 {
        font-size: 27px;
    }

    .products-banner__copy p {
        font-size: 13.5px;
    }

    .products-banner__count {
        width: auto;
        height: auto;
        min-width: 94px;
        flex: none;
        padding: 13px 17px;
        align-items: baseline;
        flex-direction: row;
        gap: 10px;
    }

    .products-banner__count strong {
        font-size: 28px;
    }

    .products-banner__count span {
        margin-top: 0;
    }

    .products-catalog {
        padding: 30px 0 48px;
        background-attachment: scroll;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 19px;
    }

    .product-card__visual {
        height: 235px;
    }

    .product-card__content {
        min-height: 0;
    }

    .product-card__content h2 {
        min-height: 0;
    }

    .product-filter {
        min-height: 38px;
        padding: 0 11px;
        font-size: 11px;
    }

    .products-form-page {
        padding-bottom: 45px;
    }

    .products-form-intro,
    .product-create-form {
        padding: 25px 20px;
    }

    .product-form-actions {
        flex-direction: column-reverse;
    }

    .product-primary-button,
    .product-secondary-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-card,
    .product-card::before,
    .product-card__visual img,
    .product-card__button,
    .product-filter {
        transition: none;
    }
}
