.newsletter-detail-page {
    background: #f5f7f8;
    color: #162333;
    min-height: 620px;
    padding: 0 0 72px;
}

.newsletter-detail-page a,
.newsletter-detail-page button,
.newsletter-detail-page input,
.newsletter-detail-page select {
    letter-spacing: 0;
}

.newsletter-breadcrumb {
    align-items: center;
    color: #738093;
    display: flex;
    font-size: 13px;
    gap: 11px;
    min-height: 58px;
    overflow: hidden;
    white-space: nowrap;
}

.newsletter-breadcrumb a {
    color: #425165;
}

.newsletter-breadcrumb a:hover,
.newsletter-breadcrumb a:focus {
    color: #218513;
}

.newsletter-breadcrumb > i {
    color: #a3adb9;
    font-size: 10px;
}

.newsletter-breadcrumb span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.newsletter-hero {
    align-items: center;
    display: flex;
    gap: 40px;
    justify-content: space-between;
    padding: 25px 0 24px;
}

.newsletter-hero-copy {
    min-width: 0;
}

.newsletter-hero h1 {
    color: #152233;
    font-size: 38px;
    font-weight: 700;
    line-height: 46px;
    margin: 0 0 7px;
}

.newsletter-validity {
    align-items: center;
    color: #465469;
    display: flex;
    flex-wrap: wrap;
    font-size: 15px;
    gap: 9px;
    margin: 0 0 8px;
}

.newsletter-validity a {
    color: #218513;
    font-weight: 700;
}

.newsletter-validity > span {
    background: #cbd2da;
    height: 18px;
    width: 1px;
}

.newsletter-product-count {
    color: #26364a;
    font-size: 14px;
    margin: 0;
}

.newsletter-shop-logo {
    align-items: center;
    background: #fff;
    border: 1px solid #e0e5e8;
    border-radius: 8px;
    box-shadow: 0 5px 18px rgba(23, 44, 32, 0.05);
    display: flex;
    flex: 0 0 230px;
    height: 112px;
    justify-content: center;
    padding: 15px 24px;
}

.newsletter-shop-logo img {
    height: 80px;
    max-width: 178px;
    object-fit: contain;
    width: 100%;
}

.newsletter-catalog {
    padding-top: 2px;
}

.newsletter-toolbar {
    align-items: center;
    background: #fff;
    border: 1px solid #e0e6e3;
    border-radius: 8px;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(250px, 1fr) auto 190px auto;
    padding: 12px;
}

.newsletter-search {
    align-items: center;
    border: 1px solid #d8e0e5;
    border-radius: 6px;
    display: flex;
    height: 44px;
    margin: 0;
    min-width: 0;
    padding: 0 13px;
}

.newsletter-search:focus-within {
    border-color: #2a931c;
    box-shadow: 0 0 0 3px rgba(42, 147, 28, 0.1);
}

.newsletter-search i {
    color: #788596;
    flex: 0 0 auto;
    margin-right: 10px;
}

.newsletter-search input {
    background: transparent;
    border: 0;
    color: #1b2a3a;
    font-size: 13px;
    height: 42px;
    min-width: 0;
    padding: 0;
    width: 100%;
}

.newsletter-search input::placeholder {
    color: #8b96a5;
}

.newsletter-discount-toggle {
    align-items: center;
    color: #334256;
    cursor: pointer;
    display: flex;
    font-size: 13px;
    gap: 8px;
    margin: 0;
    white-space: nowrap;
}

.newsletter-discount-toggle input {
    height: 1px;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.newsletter-toggle-track {
    background: #c9d2d8;
    border-radius: 12px;
    display: inline-flex;
    flex: 0 0 34px;
    height: 20px;
    padding: 3px;
    transition: background-color 160ms ease;
}

.newsletter-toggle-track span {
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(20, 35, 30, 0.22);
    display: block;
    height: 14px;
    transform: translateX(0);
    transition: transform 160ms ease;
    width: 14px;
}

.newsletter-discount-toggle input:checked + .newsletter-toggle-track {
    background: #229215;
}

.newsletter-discount-toggle input:checked + .newsletter-toggle-track span {
    transform: translateX(14px);
}

.newsletter-discount-toggle input:focus + .newsletter-toggle-track {
    box-shadow: 0 0 0 3px rgba(42, 147, 28, 0.14);
}

.newsletter-sort {
    margin: 0;
    position: relative;
}

.newsletter-sort select {
    appearance: none;
    background: #fff;
    border: 1px solid #d8e0e5;
    border-radius: 6px;
    color: #334256;
    cursor: pointer;
    font-size: 13px;
    height: 44px;
    padding: 0 36px 0 13px;
    width: 100%;
}

.newsletter-sort i {
    color: #536174;
    font-size: 11px;
    pointer-events: none;
    position: absolute;
    right: 13px;
    top: 17px;
}

.newsletter-filter-submit {
    align-items: center;
    background: #fff;
    border: 1px solid #249218;
    border-radius: 6px;
    color: #237f19;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    gap: 7px;
    height: 44px;
    justify-content: center;
    padding: 0 16px;
}

.newsletter-filter-submit:hover,
.newsletter-filter-submit:focus {
    background: #218c16;
    color: #fff;
}

.newsletter-category-chips {
    display: flex;
    gap: 8px;
    margin: 12px 0 17px;
    overflow-x: auto;
    padding: 0 0 3px;
    scrollbar-width: thin;
}

.newsletter-chip {
    align-items: center;
    background: #fff;
    border: 1px solid #dce3e6;
    border-radius: 18px;
    color: #4c596c;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 12px;
    gap: 6px;
    min-height: 34px;
    padding: 6px 13px;
}

.newsletter-chip small {
    color: #8a95a4;
    font-size: 10px;
}

.newsletter-chip:hover,
.newsletter-chip:focus,
.newsletter-chip.is-active {
    background: #218c16;
    border-color: #218c16;
    color: #fff;
}

.newsletter-chip.is-active small,
.newsletter-chip:hover small,
.newsletter-chip:focus small {
    color: #dff1dc;
}

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

.newsletter-product-card {
    background: #fff;
    border: 1px solid #e0e6e3;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(21, 43, 31, 0.04);
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.newsletter-product-card:hover {
    border-color: #b7d7b2;
    box-shadow: 0 9px 24px rgba(21, 69, 36, 0.09);
    transform: translateY(-2px);
}

.newsletter-product-media {
    background: #fff;
    height: 190px;
    overflow: hidden;
    padding: 12px;
    position: relative;
}

.newsletter-product-media > a,
.newsletter-product-media > div {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    width: 100%;
}

.newsletter-product-media img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.newsletter-product-discount {
    background: #dc1726;
    border-radius: 5px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    left: 10px;
    line-height: 25px;
    min-width: 49px;
    padding: 0 7px;
    position: absolute;
    text-align: center;
    top: 10px;
    z-index: 1;
}

.newsletter-product-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 190px;
    padding: 0 12px 12px;
}

.newsletter-product-shop {
    color: #798596;
    font-size: 10px;
    line-height: 16px;
    margin-bottom: 1px;
}

.newsletter-product-title {
    color: #172435;
    display: -webkit-box;
    font-family: Jost, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    margin: 0 0 5px;
    max-height: 40px;
    min-height: 40px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

a.newsletter-product-title:hover,
a.newsletter-product-title:focus {
    color: #218513;
}

.newsletter-product-price {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 0 4px;
}

.newsletter-product-price strong {
    color: #168b19;
    font-size: 20px;
    line-height: 27px;
}

.newsletter-product-price del {
    color: #8894a3;
    font-size: 12px;
}

.newsletter-product-meta {
    align-items: center;
    color: #697689;
    display: flex;
    font-size: 11px;
    gap: 7px;
    line-height: 16px;
    margin-bottom: 10px;
    min-height: 16px;
    overflow: hidden;
}

.newsletter-product-meta span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.newsletter-product-meta i {
    background: #9ba5b2;
    border-radius: 50%;
    flex: 0 0 3px;
    height: 3px;
    width: 3px;
}

.newsletter-product-action {
    align-items: center;
    background: #218f16;
    border: 1px solid #218f16;
    border-radius: 6px;
    color: #fff;
    display: flex;
    font-size: 13px;
    font-weight: 700;
    gap: 8px;
    height: 36px;
    justify-content: center;
    margin-top: auto;
    padding: 0 12px;
    width: 100%;
}

.newsletter-product-action:hover,
.newsletter-product-action:focus {
    background: #176f0e;
    border-color: #176f0e;
    color: #fff;
}

.newsletter-product-action i {
    font-size: 10px;
}

.newsletter-results-footer {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding: 22px 0 0;
}

.newsletter-results-footer > p {
    color: #6f7b8c;
    font-size: 12px;
    margin: 0;
}

.newsletter-pagination nav {
    display: block;
}

.newsletter-pagination .pagination {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-end;
    margin: 0;
}

.newsletter-pagination .page-item:first-child .page-link,
.newsletter-pagination .page-item:last-child .page-link,
.newsletter-pagination .page-link {
    align-items: center;
    background: #fff;
    border: 1px solid #dce3e6;
    border-radius: 5px !important;
    color: #39485c;
    display: flex;
    font-size: 13px;
    height: 38px;
    justify-content: center;
    min-width: 38px;
    padding: 0 10px;
}

.newsletter-pagination .page-item.active .page-link {
    background: #218c16;
    border-color: #218c16;
    color: #fff;
}

.newsletter-pagination .page-item.disabled .page-link {
    color: #a7b0bb;
    opacity: 0.7;
}

.newsletter-pagination svg {
    height: 14px !important;
    max-height: 14px;
    max-width: 14px;
    width: 14px !important;
}

.newsletter-empty-results {
    align-items: center;
    color: #6e7b8d;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    justify-content: center;
    padding: 45px 20px;
    text-align: center;
}

.newsletter-empty-results.is-standalone {
    background: #fff;
    border: 1px solid #e0e6e3;
    border-radius: 8px;
}

.newsletter-empty-results > i {
    align-items: center;
    background: #edf7eb;
    border-radius: 50%;
    color: #218c16;
    display: flex;
    font-size: 22px;
    height: 54px;
    justify-content: center;
    margin-bottom: 14px;
    width: 54px;
}

.newsletter-empty-results h2 {
    color: #1a293a;
    font-size: 21px;
    font-weight: 700;
    line-height: 28px;
    margin: 0 0 5px;
}

.newsletter-empty-results p {
    margin: 0 0 15px;
}

.newsletter-empty-results a {
    color: #218513;
    font-weight: 700;
}

.newsletter-description {
    background: #fff;
    border-top: 1px solid #e0e6e3;
    color: #5c697a;
    font-size: 14px;
    line-height: 23px;
    margin-top: 34px;
    padding: 24px 0 0;
}

@media (max-width: 1199px) {
    .newsletter-toolbar {
        grid-template-columns: minmax(250px, 1fr) auto 180px;
    }

    .newsletter-filter-submit {
        grid-column: 1 / -1;
        justify-self: end;
    }

    .newsletter-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .newsletter-hero h1 {
        font-size: 32px;
        line-height: 40px;
    }

    .newsletter-shop-logo {
        flex-basis: 190px;
    }

    .newsletter-toolbar {
        grid-template-columns: minmax(220px, 1fr) 180px;
    }

    .newsletter-discount-toggle {
        grid-row: 2;
    }

    .newsletter-filter-submit {
        grid-column: auto;
        grid-row: 2;
        justify-self: stretch;
    }

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

@media (max-width: 767px) {
    .newsletter-detail-page {
        padding-bottom: 48px;
    }

    .newsletter-breadcrumb {
        min-height: 48px;
    }

    .newsletter-hero {
        align-items: flex-start;
        gap: 18px;
        padding: 18px 0 20px;
    }

    .newsletter-hero h1 {
        font-size: 27px;
        line-height: 34px;
    }

    .newsletter-shop-logo {
        flex-basis: 130px;
        height: 86px;
        padding: 12px;
    }

    .newsletter-shop-logo img {
        height: 58px;
    }

    .newsletter-toolbar {
        grid-template-columns: 1fr;
    }

    .newsletter-search,
    .newsletter-sort,
    .newsletter-discount-toggle,
    .newsletter-filter-submit {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
    }

    .newsletter-discount-toggle {
        min-height: 36px;
    }

    .newsletter-products-grid {
        gap: 10px;
    }

    .newsletter-results-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .newsletter-pagination,
    .newsletter-pagination nav {
        width: 100%;
    }

    .newsletter-pagination .pagination {
        justify-content: flex-start;
    }
}

@media (max-width: 575px) {
    .newsletter-breadcrumb span,
    .newsletter-breadcrumb > i:last-of-type {
        display: none;
    }

    .newsletter-hero {
        display: block;
    }

    .newsletter-shop-logo {
        margin-top: 17px;
        width: 150px;
    }

    .newsletter-validity > span {
        display: none;
    }

    .newsletter-validity {
        display: block;
        line-height: 24px;
    }

    .newsletter-validity a {
        display: block;
        margin-bottom: 1px;
    }

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

    .newsletter-product-media {
        height: 220px;
    }

    .newsletter-product-body {
        min-height: 176px;
    }
}
