.category-detail-main {
    background: #f7f9f8;
    padding: 0 0 72px;
}

.category-detail-breadcrumb {
    align-items: center;
    color: #748091;
    display: flex;
    font-size: 13px;
    gap: 10px;
    min-height: 58px;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
}

.category-detail-breadcrumb::-webkit-scrollbar {
    display: none;
}

.category-detail-breadcrumb a {
    color: #405064;
}

.category-detail-breadcrumb a:hover,
.category-detail-breadcrumb a:focus {
    color: #278d15;
}

.category-detail-breadcrumb > i {
    color: #a3acb8;
    font-size: 10px;
}

.category-detail-breadcrumb [aria-current="page"] {
    color: #26384a;
    font-weight: 600;
}

.category-deal-card {
    background: #fff;
    border: 1px solid #e0e6e2;
    border-radius: 8px;
    box-shadow: 0 14px 38px rgba(26, 49, 38, 0.07);
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1.15fr) minmax(190px, 0.48fr);
    overflow: hidden;
}

.category-deal-card-no-shop {
    grid-template-columns: minmax(0, 0.85fr) minmax(390px, 1.15fr);
}

.category-deal-media {
    align-items: center;
    display: flex;
    min-width: 0;
    padding: 38px 24px;
}

.category-deal-image-stage {
    align-items: center;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    max-height: 430px;
    width: 100%;
}

.category-deal-image-stage img {
    display: block;
    height: 100%;
    max-height: 410px;
    max-width: 100%;
    object-fit: contain;
    width: 100%;
}

.category-deal-content {
    min-width: 0;
    padding: 44px 28px 40px;
}

.category-deal-badges {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.category-deal-category,
.category-deal-discount,
.category-deal-ended {
    border-radius: 5px;
    display: inline-flex;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    padding: 6px 10px;
}

.category-deal-category {
    background: #eef8ea;
    color: #287d19;
    text-transform: uppercase;
}

.category-deal-discount {
    background: #ffe8e8;
    color: #cf3030;
}

.category-deal-ended {
    background: #eef1f4;
    color: #667386;
}

.category-deal-title {
    color: #142c3f;
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    margin: 0 0 12px;
    overflow-wrap: anywhere;
}

.category-deal-title span {
    display: block;
}

.category-deal-description {
    color: #667386;
    font-size: 13px;
    line-height: 20px;
    margin: 0 0 20px;
}

.category-deal-facts {
    border-bottom: 1px solid #e7ece9;
    border-top: 1px solid #e7ece9;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 24px;
}

.category-deal-facts > div {
    min-width: 0;
    padding: 13px 12px;
}

.category-deal-facts > div + div {
    border-left: 1px solid #e7ece9;
}

.category-deal-facts dt {
    color: #84909f;
    font-size: 11px;
    font-weight: 500;
    line-height: 17px;
    margin-bottom: 2px;
}

.category-deal-facts dd {
    color: #25384a;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    margin: 0;
    overflow-wrap: anywhere;
}

.category-deal-price-row {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}

.category-deal-price-row strong {
    color: #258d16;
    font-family: Jost, sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 48px;
}

.category-deal-price-row span {
    color: #8c97a5;
    font-size: 15px;
    text-decoration: line-through;
}

.category-deal-validity {
    align-items: center;
    color: #526174;
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    gap: 6px;
    line-height: 20px;
    margin: 0 0 22px;
}

.category-deal-validity i {
    color: #2f9f1c;
}

.category-deal-actions {
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto auto;
}

.category-deal-primary-action,
.category-deal-alert-action,
.category-comparison-alert {
    align-items: center;
    border-radius: 6px;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    gap: 9px;
    justify-content: center;
    min-height: 48px;
    padding: 11px 16px;
}

.category-deal-primary-action {
    background: #2ca716;
    border: 1px solid #2ca716;
    color: #fff;
}

.category-deal-primary-action:hover,
.category-deal-primary-action:focus {
    background: #228b11;
    border-color: #228b11;
    color: #fff;
}

.category-deal-alert-action,
.category-comparison-alert {
    background: #fff;
    border: 1px solid #dbe3dd;
    color: #297f19;
    cursor: pointer;
}

.category-deal-alert-action:hover,
.category-deal-alert-action:focus,
.category-comparison-alert:hover,
.category-comparison-alert:focus {
    background: #f1f9ed;
    border-color: #abd39f;
    color: #206e12;
}

.category-deal-admin {
    font-size: 11px;
    margin: 12px 0 0;
}

.category-deal-shop {
    align-items: stretch;
    border-left: 1px solid #e4e9e6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 34px 20px;
}

.category-deal-shop-logo {
    align-items: center;
    display: flex;
    height: 118px;
    justify-content: center;
    margin-bottom: 20px;
    width: 100%;
}

.category-deal-shop-logo img {
    display: block;
    height: 100%;
    max-height: 105px;
    max-width: 150px;
    object-fit: contain;
    width: 100%;
}

.category-deal-shop > p {
    color: #8792a0;
    font-size: 11px;
    margin: 0 0 4px;
}

.category-deal-shop-name {
    color: #237d16;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
}

.category-deal-leaflet-action {
    align-items: center;
    background: #eef9ea;
    border: 0;
    border-radius: 6px;
    color: #237d16;
    cursor: pointer;
    display: grid;
    gap: 9px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    margin-top: auto;
    min-height: 70px;
    padding: 12px;
    text-align: left;
}

.category-deal-leaflet-action > i:first-child {
    font-size: 20px;
}

.category-deal-leaflet-action > i:last-child {
    font-size: 12px;
}

.category-deal-leaflet-action span {
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
}

.category-deal-leaflet-action small {
    color: #6f7c89;
    display: block;
    font-size: 10px;
    font-weight: 500;
}

.category-deal-leaflet-action:hover,
.category-deal-leaflet-action:focus {
    background: #dff3d9;
    color: #1b6810;
}

.category-detail-empty {
    align-items: center;
    background: #fff;
    border: 1px solid #e0e6e2;
    border-radius: 8px;
    display: flex;
    gap: 30px;
    justify-content: space-between;
    padding: 34px 38px;
}

.category-detail-empty h1 {
    color: #142c3f;
    font-size: 30px;
    line-height: 38px;
    margin: 10px 0 6px;
}

.category-detail-empty p {
    color: #6c7888;
    margin: 0;
}

.category-detail-empty-actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.category-detail-content-row {
    margin-top: 28px;
}

@media (min-width: 1200px) {
    .category-detail-content-row {
        left: calc(50% + 15px);
        position: relative;
        transform: translateX(-50%);
        width: min(1640px, calc(100vw - 32px));
    }
}

.category-detail-ad {
    min-height: 30px;
}

.category-detail-ad-section {
    background: #fff;
    padding: 0;
}

.category-price-comparison {
    background: #fff;
    border: 1px solid #dfe6e2;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(28, 48, 39, 0.07);
    overflow: hidden;
    padding: 0;
}

.category-price-comparison-header {
    align-items: center;
    border-bottom: 1px solid #e5eae7;
    display: grid;
    gap: 22px;
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 26px 28px;
}

.category-comparison-icon {
    align-items: center;
    background: #f3fbf1;
    border: 1px solid #3aa02a;
    border-radius: 50%;
    display: flex;
    height: 64px;
    justify-content: center;
    overflow: hidden;
    padding: 11px;
    width: 64px;
}

.category-comparison-icon img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.category-price-comparison-header h2 {
    color: #122439;
    font-size: 30px;
    font-weight: 700;
    line-height: 38px;
    margin: 0;
}

.category-price-comparison-header p {
    color: #718094;
    font-size: 14px;
    line-height: 22px;
    margin: 4px 0 0;
}

.category-comparison-controls {
    align-items: center;
    border-bottom: 1px solid #edf0ee;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 28px;
}

.category-comparison-search,
.category-comparison-sort {
    align-items: center;
    background: #fff;
    border: 1px solid #d9e0e5;
    border-radius: 6px;
    display: flex;
    height: 44px;
    margin: 0;
    position: relative;
}

.category-comparison-search {
    flex: 1 1 220px;
    max-width: 270px;
}

.category-comparison-search i {
    color: #8492a5;
    flex: 0 0 auto;
    font-size: 15px;
    margin-left: 14px;
}

.category-comparison-search input {
    background: transparent;
    border: 0;
    color: #26394c;
    font-size: 13px;
    height: 100%;
    min-width: 0;
    padding: 0 13px 0 10px;
    width: 100%;
}

.category-comparison-search input::placeholder {
    color: #8c99aa;
}

.category-comparison-sort {
    flex: 0 1 245px;
    min-width: 210px;
    padding-left: 14px;
}

.category-comparison-sort > span {
    color: #657386;
    flex: 0 0 auto;
    font-size: 13px;
}

.category-comparison-sort select {
    appearance: none;
    background: transparent;
    border: 0;
    color: #23364a;
    cursor: pointer;
    flex: 1 1 auto;
    font-size: 13px;
    font-weight: 700;
    height: 100%;
    min-width: 0;
    padding: 0 30px 0 5px;
}

.category-comparison-sort > i {
    color: #718094;
    font-size: 10px;
    pointer-events: none;
    position: absolute;
    right: 13px;
}

.category-comparison-filters {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 8px;
}

.category-comparison-filter {
    align-items: center;
    background: #fff;
    border: 1px solid #dce3df;
    border-radius: 6px;
    color: #617083;
    cursor: pointer;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    gap: 7px;
    height: 44px;
    padding: 0 11px;
}

.category-comparison-filter > img {
    height: 24px;
    object-fit: contain;
    width: 24px;
}

.category-comparison-filter > i:first-child {
    color: #258c18;
    font-size: 16px;
}

.category-comparison-filter > i:last-child {
    color: #278e19;
    display: none;
    font-size: 14px;
}

.category-comparison-filter.is-active {
    background: #f7fcf5;
    border-color: #b9dcb1;
    color: #247b17;
}

.category-comparison-filter.is-active > i:last-child {
    display: inline-block;
}

.category-comparison-filter:hover,
.category-comparison-filter:focus {
    border-color: #83bd79;
    color: #247b17;
}

.category-comparison-filter:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.category-comparison-count {
    align-items: center;
    background: #eef8ec;
    border: 1px solid #dcefd8;
    border-radius: 6px;
    color: #267b19;
    display: flex;
    flex: 0 0 auto;
    font-size: 12px;
    gap: 6px;
    min-height: 40px;
    padding: 8px 12px;
}

.category-comparison-count i {
    font-size: 15px;
}

.category-comparison-count strong {
    font-size: 14px;
}

.category-price-comparison-body {
    padding: 20px 28px 0;
}

.category-comparison-table-wrap {
    border: 1px solid #dfe6e2;
    border-radius: 7px;
    overflow-x: auto;
}

.category-price-table {
    color: #1e2c3c;
    margin-bottom: 0;
    min-width: 1080px;
}

.category-price-table thead th {
    background: #fbfcfc;
    border-bottom: 1px solid #dfe6e2;
    border-top: 0;
    color: #263547;
    font-size: 12px;
    font-weight: 700;
    padding: 17px 12px;
    vertical-align: middle;
    white-space: nowrap;
}

.category-price-table thead th:first-child {
    padding-left: 104px;
}

.category-price-table thead th i {
    color: #258f19;
    margin-left: 3px;
}

.category-price-table tbody td,
.category-price-table tbody th {
    border-top: 1px solid #e5ebe7;
    font-size: 12px;
    padding: 12px;
    vertical-align: middle;
}

.category-price-table tbody td:nth-child(7),
.category-price-table tbody td:nth-child(8) {
    white-space: nowrap;
}

.category-price-table tbody tr:hover {
    background: #f8fcf7;
}

.category-price-table tbody tr.is-best-price {
    background: linear-gradient(90deg, #f1faf0 0%, #f8fcf7 62%, #f1faf0 100%);
    box-shadow: inset 4px 0 #2aa01c;
}

.comparison-product-cell {
    min-width: 310px;
    width: 310px;
}

.comparison-product-layout {
    align-items: center;
    display: grid;
    gap: 11px;
    grid-template-columns: 68px minmax(0, 1fr);
    min-height: 68px;
    padding-left: 76px;
    position: relative;
}

.comparison-best-badge {
    align-items: flex-start;
    color: #278719;
    display: flex;
    flex-direction: column;
    font-size: 9px;
    font-weight: 700;
    gap: 3px;
    left: 0;
    line-height: 13px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 68px;
}

.comparison-best-badge > i {
    font-size: 13px;
}

.comparison-product-image {
    align-items: center;
    background: transparent;
    border: 0;
    cursor: pointer;
    display: flex;
    height: 68px;
    justify-content: center;
    padding: 0;
    width: 68px;
}

span.comparison-product-image {
    cursor: default;
}

.comparison-product-image img {
    height: 100%;
    max-height: 68px;
    max-width: 68px;
    object-fit: contain;
    width: 100%;
}

.comparison-product-name {
    color: #172638;
    display: block;
    font-size: 13px;
    font-weight: 700;
    line-height: 18px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.comparison-product-name small {
    display: block;
    font-size: 10px;
    margin-top: 3px;
}

.comparison-current-price strong {
    color: #168317;
    font-size: 20px;
    line-height: 26px;
    white-space: nowrap;
}

.comparison-original-price > span:not(.comparison-mobile-label) {
    color: #758295;
    text-decoration: line-through;
    white-space: nowrap;
}

.comparison-discount {
    background: #eaf7e8;
    border: 1px solid #cce8c7;
    border-radius: 6px;
    color: #267a1b;
    display: inline-flex;
    font-size: 11px;
    font-weight: 700;
    padding: 7px 9px;
    white-space: nowrap;
}

.comparison-shop-cell {
    text-align: center;
}

.comparison-shop-cell a {
    align-items: center;
    display: inline-flex;
    height: 46px;
    justify-content: center;
    width: 52px;
}

.comparison-shop-cell img {
    height: 44px;
    max-width: 50px;
    object-fit: contain;
    width: 100%;
}

.comparison-offer-action {
    align-items: center;
    background: #fff;
    border: 1px solid #2d9620;
    border-radius: 6px;
    color: #247d19;
    cursor: pointer;
    display: inline-flex;
    font-size: 11px;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    min-height: 36px;
    padding: 8px 12px;
    white-space: nowrap;
}

.comparison-offer-action:hover,
.comparison-offer-action:focus {
    background: #edf8ea;
    color: #1f7116;
}

.comparison-offer-action i {
    font-size: 9px;
}

.comparison-mobile-label {
    display: none;
}

.category-comparison-empty {
    align-items: center;
    color: #738092;
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    min-height: 190px;
    padding: 30px;
    text-align: center;
}

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

.category-comparison-empty > i {
    color: #2a8e1d;
    font-size: 25px;
    margin-bottom: 5px;
}

.category-comparison-empty strong {
    color: #26384b;
    font-size: 14px;
}

.category-comparison-footer {
    align-items: center;
    color: #738092;
    display: flex;
    font-size: 11px;
    gap: 20px;
    justify-content: space-between;
    padding: 15px 28px 20px;
}

.category-comparison-footer p {
    align-items: center;
    display: flex;
    gap: 8px;
    margin: 0;
}

.category-comparison-footer i {
    color: #298c1d;
    flex: 0 0 auto;
}

.category-price-row-muted {
    opacity: 0.55;
}

@media (max-width: 1199px) {
    .category-deal-card {
        grid-template-columns: minmax(0, 0.85fr) minmax(390px, 1.15fr);
    }

    .category-deal-shop {
        align-items: center;
        border-left: 0;
        border-top: 1px solid #e4e9e6;
        display: grid;
        gap: 18px;
        grid-column: 1 / -1;
        grid-template-columns: 120px minmax(0, 1fr) minmax(190px, 0.7fr);
        padding: 20px 28px;
    }

    .category-deal-shop-logo {
        height: 72px;
        margin: 0;
    }

    .category-deal-shop > p {
        margin: 0;
    }

    .category-deal-shop-name {
        margin: 0;
    }

    .category-deal-leaflet-action {
        margin: 0;
    }

    .category-comparison-search {
        max-width: none;
    }

    .category-comparison-count {
        margin-left: auto;
    }
}

@media (max-width: 767px) {
    .category-detail-main {
        padding-bottom: 44px;
    }

    .category-detail-breadcrumb {
        min-height: 50px;
    }

    .category-deal-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .category-deal-media {
        padding: 24px 20px 8px;
    }

    .category-deal-image-stage {
        aspect-ratio: 4 / 3;
        max-height: 320px;
    }

    .category-deal-image-stage img {
        max-height: 300px;
    }

    .category-deal-content {
        padding: 24px 20px 28px;
    }

    .category-deal-title {
        font-size: 25px;
        line-height: 32px;
    }

    .category-deal-price-row strong {
        font-size: 36px;
        line-height: 42px;
    }

    .category-deal-shop {
        align-items: center;
        display: grid;
        grid-column: auto;
        grid-template-columns: 90px minmax(0, 1fr);
        padding: 20px;
    }

    .category-deal-shop-logo {
        grid-row: span 2;
        height: 64px;
    }

    .category-deal-leaflet-action {
        grid-column: 1 / -1;
        width: 100%;
    }

    .category-detail-empty {
        align-items: flex-start;
        flex-direction: column;
        padding: 26px 22px;
    }

    .category-detail-empty-actions {
        width: 100%;
    }

    .category-detail-empty-actions .category-deal-alert-action {
        flex: 1 1 auto;
    }

    .category-detail-empty h1 {
        font-size: 25px;
        line-height: 32px;
    }

    .category-price-comparison-header {
        gap: 14px;
        grid-template-columns: 52px minmax(0, 1fr);
        padding: 18px;
    }

    .category-comparison-icon {
        height: 52px;
        padding: 9px;
        width: 52px;
    }

    .category-price-comparison-header h2 {
        font-size: 19px;
        line-height: 26px;
    }

    .category-price-comparison-header p {
        font-size: 12px;
        line-height: 18px;
    }

    .category-comparison-controls {
        align-items: stretch;
        padding: 16px;
    }

    .category-comparison-search,
    .category-comparison-sort {
        flex: 1 1 100%;
        max-width: none;
        width: 100%;
    }

    .category-comparison-filters {
        flex: 1 1 100%;
        flex-wrap: nowrap;
        max-width: 100%;
        overflow-x: auto;
        padding-bottom: 3px;
        scrollbar-width: thin;
    }

    .category-comparison-filter {
        flex: 0 0 auto;
    }

    .category-comparison-count {
        margin-left: 0;
    }

    .category-price-comparison-body {
        padding: 14px 12px 0;
    }

    .category-comparison-table-wrap {
        border: 0;
        overflow: visible;
    }

    .category-price-table {
        display: block;
        min-width: 0;
        width: 100%;
    }

    .category-price-table thead {
        display: none;
    }

    .category-price-table tbody {
        display: grid;
        gap: 12px;
    }

    .category-price-table tbody tr {
        background: #fff;
        border: 1px solid #dfe6e2;
        border-radius: 7px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: hidden;
        padding: 12px;
    }

    .category-price-table tbody tr[hidden] {
        display: none;
    }

    .category-price-table tbody tr.is-best-price {
        box-shadow: inset 4px 0 #2aa01c;
    }

    .category-price-table tbody td,
    .category-price-table tbody th {
        align-items: flex-start;
        border: 0;
        display: flex;
        flex-direction: column;
        min-width: 0;
        padding: 8px 10px;
        text-align: left;
        width: auto;
    }

    .category-price-table .comparison-product-cell {
        grid-column: 1 / -1;
        padding-bottom: 12px;
    }

    .comparison-product-layout {
        gap: 10px;
        grid-template-columns: 58px minmax(0, 1fr);
        min-height: 58px;
        padding-left: 0;
        width: 100%;
    }

    .comparison-best-badge {
        align-items: center;
        flex-direction: row;
        grid-column: 1 / -1;
        position: static;
        transform: none;
        width: auto;
    }

    .comparison-best-badge br {
        display: none;
    }

    .comparison-product-image {
        height: 58px;
        width: 58px;
    }

    .comparison-product-image img {
        max-height: 58px;
        max-width: 58px;
    }

    .comparison-mobile-label {
        color: #7b8796;
        display: block;
        font-size: 9px;
        font-weight: 700;
        margin-bottom: 3px;
        text-transform: uppercase;
    }

    .comparison-current-price strong {
        font-size: 18px;
    }

    .comparison-shop-cell a {
        height: 36px;
        justify-content: flex-start;
        width: 44px;
    }

    .comparison-shop-cell img {
        height: 34px;
        max-width: 42px;
    }

    .category-price-table .comparison-action-cell {
        grid-column: 1 / -1;
        padding-top: 12px;
    }

    .comparison-offer-action {
        width: 100%;
    }

    .category-comparison-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding: 15px 16px 18px;
    }
}

@media (max-width: 479px) {
    .category-deal-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-deal-facts > div + div {
		border-left: 0;
    }

	.category-deal-facts > div:nth-child(2) {
		border-left: 1px solid #e7ece9;
	}

	.category-deal-facts > div:nth-child(n + 3) {
		border-top: 1px solid #e7ece9;
		grid-column: 1 / -1;
	}

    .category-deal-actions {
        grid-template-columns: minmax(0, 1fr) 48px;
    }

    .category-deal-primary-action {
        grid-column: 1 / -1;
    }

    .category-deal-alert-action {
        width: 100%;
    }

    .category-price-comparison-header {
        align-items: flex-start;
        grid-template-columns: minmax(0, 1fr);
    }

    .category-comparison-icon {
        height: 46px;
        width: 46px;
    }

    .category-comparison-count {
        width: 100%;
    }
}
