.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 18px;
    width: 100%;
}
.zaim-table-wrapper {
    max-width: 1200px;
    margin: 32px auto 32px auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 28px #31c29f13, 0 1px 4px #0001;
    padding: 0 0 36px 0;
    border: 1px solid #f1f3f7;
    transition: box-shadow .22s;
}
.zaim-table-filters {
    max-width: 1200px;
    margin: 0 auto 18px auto;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 18px 32px;
    background: #fff;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 2px 10px #31c29f06;
        padding: 2px 2vw 0px 2vw;
    border-bottom: 1px solid #f1f3f7;
    position: sticky;
    top: 0px;
    z-index: 12;
    transition: box-shadow .22s;
    align-items: flex-end;
    min-height: 0;
}
.zaim-table-wrapper {
    margin: 32px auto 32px auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 28px #31c29f13, 0 1px 4px #0001;
    padding: 0 0 36px 0;
    border: 1px solid #f1f3f7;
    transition: box-shadow .22s;
}
.zaim-page-header {
    text-align: center;
    margin: 30px 30px;
}
.zaim-page-title {
    font-size: 2.1em;
    font-weight: 700;
    color: #23453e;
    margin: 0;
    letter-spacing: -1px;
    text-align: center;
    display: block;
}
.zaim-title-underline {
    width: 56px;
    height: 4px;
    background: linear-gradient(61.8deg, #31c29f, #4bcf6f);
    border-radius: 2px;
    margin: 16px auto 0 auto;
    display: block;
}

.zaim-info-table {
  width: 100%;
  margin: 12px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.zaim-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.07em;
  padding: 0 0 0 0;
}
.zaim-info-label {
  color: #6ba28f;
  font-weight: 500;
  min-width: 72px;
  text-align: left;
  opacity: .93;
  letter-spacing: 0.01em;
}
.zaim-info-value {
  color: #23453e;
  font-weight: 600;
  text-align: right;
  letter-spacing: 0.01em;
  margin-left: 16px;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .zaim-info-label { min-width: 56px; font-size: 0.98em; }
  .zaim-info-value { font-size: 1em; }
  .zaim-info-row { font-size: 0.99em; }
}

@media (max-width: 600px) {
    .zaim-page-title { font-size: 1.35em; }
    .zaim-title-underline { width: 36px; height: 3px; }
}


.zaim-table-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 32px;
    background: #fff;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 2px 10px #31c29f06;
    padding: 10px 2vw 6px 2vw;
    margin: 0 auto 18px auto;
    width: 100%;
    max-width: 1200px;
    border-bottom: 1px solid #f1f3f7;
    position: sticky;
    top: 0px;
    z-index: 12;
    transition: box-shadow .22s;
    align-items: flex-end;
    min-height: 0;
}
@media (max-width: 900px) and (min-width: 701px) {
    .zaim-table-filters {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px 24px;
        padding: 10px 2vw 6px 2vw;
        border-radius: 0 0 10px 10px;
        max-width: 100vw;
        align-items: end;
    }
    .filter-row {min-width: 0; flex: 1 1 100%;}
}
@media (max-width: 700px) {
    .zaim-table-filters {
        display: flex;
        flex-direction: column;
        gap: 18px 0;
        padding: 16px 4vw 14px 4vw;
        border-radius: 0 0 10px 10px;
        max-width: 100vw;
        position: static;
        box-shadow: 0 1px 8px #31c29f09;
    }
    .filter-row {
        min-width: 0;
        flex: 1 1 100%;
        width: 100%;
        margin-bottom: 0;
    }
    .filter-row label {
        font-size: 1.08em;
        margin-bottom: 2px;
    }
    .zaim-table-filters input[type="text"], .zaim-table-filters select {
        font-size: 1.07em;
        height: 38px;
        padding: 9px 12px;
    }
    .filter-range-labels {
        font-size: 0.63em;
        padding: 0 4px;
    }
}

@media (max-width: 900px) {
    .zaim-table-filters {
        position: static;
        top: unset;
        z-index: unset;
    }
}

@media (max-width: 900px) {
    .zaim-table-filters {
        grid-template-columns: 1fr;
        gap: 18px 0;
        padding: 16px 2vw 12px 2vw;
    }
}

.filter-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    min-width: 180px;
    flex: 1 1 180px;
    margin-bottom: 0;
}
@media (max-width: 900px) {
    .filter-row { min-width: 0; flex: 1 1 100%; }
}

.filter-row label {
    font-weight: 500;
    font-size: 0.98em;
    color: #23453e;
    margin-bottom: 0;
    opacity: 0.93;
    display: flex;
    align-items: center;
    gap: 4px;
}
.filter-icon {
    font-size: 1.05em;
    color: #31c29f;
    margin-right: 2px;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    opacity: 0.85;
}
.filter-row input[type="text"], .filter-row select {
    width: 100%;
    margin-bottom: 4px;
}
.filter-range-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-top: 0;
    margin-bottom: 0;
}
.filter-range-wrap input[type="range"] {
    width: 100%;
    margin: 0;
}
.filter-range-labels {
    display: flex;
    font-size: 0.63em;
    justify-content: space-between;
    color: #b5c6c3;
    margin-top: 0;
    padding: 0 2px;
    opacity: 0.9;
    margin-top: 10px;
}
@media (max-width: 900px) {
    .zaim-table-filters {
        grid-template-columns: 1fr;
        gap: 18px 0;
        padding: 16px 2vw 12px 2vw;
    }
}

.zaim-table-filters label {
    font-weight: 800;
  font-size: 0.8em;
  color: #23453e;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.filter-icon {
    font-size: 1.12em;
    color: #31c29f;
    margin-right: 2px;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

.zaim-table-filters input[type="text"], .zaim-table-filters select {
    padding: 7px 10px;
    border-radius: 7px;
    border: 1px solid #e2efe8;
    font-size: 1.5em;
    background: #f9fafb;
    margin-top: 0;
    margin-bottom: 0;
    box-shadow: 0 1px 4px #31c29f06;
    transition: border-color .18s, box-shadow .18s;
    height: 50px;
    min-width: 0;
}
.zaim-table-filters input[type="text"]:focus, .zaim-table-filters select:focus {
    border-color: #31c29f;
    outline: none;
    box-shadow: 0 2px 10px #31c29f14;
}
.zaim-table-filters input[type="range"], .filter-range-wrap input[type="range"] {
    accent-color: #31c29f;
    height: 5px;
    background: linear-gradient(to right, var(--primary, #31c29f) 0%, var(--primary-light, #4bcf6f) 0%, #e0e0e0 0%);
    border-radius: 3px;
    box-shadow: 0 1px 3px #31c29f0a;
    transition: background 0.52s;
}

/* Firefox */
.filter-range-wrap input[type="range"]::-moz-range-progress {
    background: linear-gradient(to right, var(--primary, #31c29f), var(--primary-light, #4bcf6f));
    height: 5px;
}
.filter-range-wrap input[type="range"]::-moz-range-track {
    background: #e0e0e0;
    height: 5px;
}
/* IE */
.filter-range-wrap input[type="range"]::-ms-fill-lower {
    background: linear-gradient(to right, var(--primary, #31c29f), var(--primary-light, #4bcf6f));
}
.filter-range-wrap input[type="range"]::-ms-fill-upper {
    background: #e0e0e0;
}

.filter-range-wrap input[type="range"]::-webkit-slider-thumb {
    background: #31c29f;
    border: 2.5px solid #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    box-shadow: 0 3px 16px #31c29f44, 0 0.5px 2px #0001;
    transition: box-shadow .18s;
    cursor: pointer;
}
.filter-range-wrap input[type="range"]:active::-webkit-slider-thumb {
    box-shadow: 0 6px 24px #31c29f55, 0 1px 4px #0002;
}
.filter-range-wrap input[type="range"]::-moz-range-thumb {
    background: #31c29f;
    border: 2.5px solid #fff;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    box-shadow: 0 3px 16px #31c29f44, 0 0.5px 2px #0001;
    transition: box-shadow .18s;
    cursor: pointer;
}
.filter-range-wrap input[type="range"]:active::-moz-range-thumb {
    box-shadow: 0 6px 24px #31c29f55, 0 1px 4px #0002;
}
.filter-range-wrap input[type="range"]::-ms-thumb {
    background: #31c29f;
    border: 2.5px solid #fff;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    box-shadow: 0 3px 16px #31c29f44, 0 0.5px 2px #0001;
    transition: box-shadow .18s;
    cursor: pointer;
}
.filter-range-wrap input[type="range"]:active::-ms-thumb {
    box-shadow: 0 6px 24px #31c29f55, 0 1px 4px #0002;
}

.zaim-cards-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px 28px;
    padding: 18px 18px 0 18px;
    margin: 0 auto;
    min-height: 120px;
    animation: cardsFadeIn .7s cubic-bezier(.2,.9,.3,1) both;
}
@media (max-width: 700px) {
    .zaim-cards-list {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 12px 0 0 0;
    }
    .zaim-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0 auto;
    }
}

.zaim-card {
    background: linear-gradient(135deg, #fff 80%, #f0fdfa 100%);
    border-radius: 16px;
    box-shadow: 0 4px 24px #31c29f13, 0 1px 6px #4bcf6f0c;
    padding: 28px 20px 20px 20px;
    min-width: 0;
    position: relative;
   /* display: flex;*/
    flex-direction: column;
    align-items: stretch;
    border: 1.5px solid #e2efe8;
    transition: box-shadow .22s, border-color .18s, transform .18s;
    margin-bottom: 0;
    overflow: hidden;
}
.zaim-card:hover {
    box-shadow: 0 10px 30px #31c29f22, 0 4px 16px #4bcf6f11;
    border-color: #31c29f44;
    transform: translateY(-3px) scale(1.018);
}
.zaim-card .zaim-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 10px;
    border-radius: 10px;
    background: #f8f9fa;
    box-shadow: 0 1px 8px #31c29f17;
    display: inline-block;
}
.gift-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: linear-gradient(90deg,#31c29f 60%,#4bcf6f 100%);
    color: #fff;
    font-size: 0.98em;
    font-weight: 600;
    border-radius: 8px;
    padding: 4px 12px 4px 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px #31c29f22;
    z-index: 2;
    letter-spacing: .01em;
}
.gift-badge svg {
    width: 18px;
    height: 18px;
    margin-right: 3px;
}
.zaim-title {
    font-size: 1.21em;
    font-weight: 700;
    margin-bottom: 8px;
    color: #23453e;
    letter-spacing: -.5px;
    text-align: center;
    transition: color .18s;
}
.zaim-sum {
    font-size: 1.19em;
    color: #31c29f;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -.4px;
    text-align: center;
    background: linear-gradient(90deg,#31c29f 70%,#4bcf6f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.zaim-rate, .zaim-term {
    font-size: 1.05em;
    color: #325c49;
    margin-bottom: 2px;
    font-weight: 500;
    text-align: center;
}
.zaim-card .zaim-btn {
    margin-top: 16px;
    background: linear-gradient(61.8deg, #31c29f, #4bcf6f);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.08em;
    font-weight: 600;
    padding: 13px 0;
    width: 100%;
    box-shadow: 0 2px 8px #31c29f11;
    cursor: pointer;
    transition: background .18s, box-shadow .18s, transform .14s;
    outline: none;
    text-align: center;
    display: block;
    position: relative;
    overflow: hidden;
}
.zaim-card .zaim-btn:hover {
    background: linear-gradient(61.8deg, #28a084, #3fb85a);
    box-shadow: 0 4px 14px #31c29f22;
    transform: translateY(-2px) scale(1.01);
}

.zaim-card:hover {
    box-shadow: 0 6px 18px #31c29f22;
    border-color: #31c29f44;
    transform: translateY(-2px) scale(1.012);
}
.zaim-card .zaim-icon {
   width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 10px;
    border-radius: 10px;
    background: #f8f9fa;
    box-shadow: 0 1px 8px #31c29f17;
    display: inline-block;
}

.zaim-card .zaim-title {
        font-size: 1em;
    font-weight: 700;
    margin: 11px;
    color: #23453e;
    letter-spacing: -.5px;
    width: 170px;
    display: inline-block;
    vertical-align: top;
     text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.zaim-sum {
    font-size: 1.13em;
    color: #31c29f;
    font-weight: 600;
    margin-bottom: 2px;
    letter-spacing: -.4px;
}
.zaim-rate, .zaim-term {
    font-size: 1.02em;
    color: #325c49;
    margin-bottom: 2px;
    font-weight: 500;
}
.zaim-card .zaim-badki {
    font-size: 0.94em;
    color: #6da98b;
    margin-bottom: 2px;
    font-weight: 500;
}
.zaim-card .zaim-btn {
    margin-top: 10px;
    display: inline-block;
    background: linear-gradient(90deg,#31c29f,#4bcf6f);
    color: #fff;
    font-weight: 600;
    border-radius: 7px;
    padding: 10px 0;
    text-decoration: none;
    font-size: 1.06em;
    transition: background .2s, box-shadow .2s;
    width: 100%;
    text-align: center;
    box-shadow: 0 1px 8px #31c29f11;
    position: relative;
    overflow: hidden;
}
.zaim-btn:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.25);
    border-radius: 100%;
    transform: translate(-50%, -50%);
    transition: width .4s cubic-bezier(.4,1.6,.6,1), height .4s cubic-bezier(.4,1.6,.6,1), opacity .4s;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}
.zaim-btn:active:after {
    width: 220%;
    height: 220%;
    opacity: 1;
    transition: 0s;
}
.zaim-btn:hover {
    background: linear-gradient(90deg,#4bcf6f,#31c29f);
    box-shadow: 0 3px 12px #31c29f22;
}
.zaim-card.gift-highlight {
    box-shadow: 0 0 0 2px rgb(49, 194, 159), 0 3px 12px rgb(230, 249, 243) 6.06061%;
    

    border-color: rgb(49, 194, 159);
}

.gift-badge {
    position: absolute;
    top: 10px;
    right: 14px;
    background: #EEE;
    color: #fff;
    font-weight: 700;
    font-size: 0.97em;
    padding: 3px 10px;
    border-radius: 7px;
    box-shadow: 0 1px 4px #4bcf6f33;
    display: flex;
    align-items: center;
    gap: 4px;
    
    /* Добавляем курсор-указатель */
    cursor: pointer;
    
    /* Добавляем плавный переход для эффектов */
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.gift-badge:hover {
    /* Эффект "приподнятости" при наведении */
    box-shadow: 0 2px 6px #4bcf6f66;
}

.gift-badge:active {
    /* Эффект нажатия */
    transform: translateY(1px);
    box-shadow: 0 0 2px #4bcf6f33;
}
.gift-badge svg {
    width: 16px;
    height: 16px;
    margin-right: 2px;
}
@media (max-width: 1200px) {
    .zaim-table-filters {padding-left: 2vw; padding-right: 2vw;}
    .zaim-cards-list {margin: 0 1vw;}
}
@media (max-width: 900px) {
    .zaim-table-wrapper {padding: 15px;}
    .zaim-table-filters {gap: 14px 6px; padding: 15px 2vw 10px 2vw;}
    .zaim-cards-list {gap: 12px 6px;}
}
@media (max-width: 700px) {
    .zaim-table-wrapper {padding: 15px;}
    .zaim-table-filters {flex-direction: column; gap: 10px; padding: 7px 1vw 7px 1vw; border-radius: 0 0 10px 10px;}
}

/* Breadcrumbs styles */
.breadcrumbs {
  font-size: 0.99em;
  margin: 0;
  padding: 13px 0 13px 24px;
  background: #fff;
  border-bottom: 1px solid #ecf1ee;
  color: #7d8c8b;
  max-width: 100vw;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumbs-home {
  display: inline-flex;
  align-items: center;
  color: #31c29f;
  font-weight: 500;
  text-decoration: none;
  transition: color .16s;
}
.breadcrumbs-home:hover {
  color: #23453e;
}
@media (max-width: 900px) {
  .breadcrumbs {
    padding-left: 10px;
    font-size: 0.97em;
  }
}

.breadcrumbs a {
  color: #31c29f;
  text-decoration: none;
  transition: color .18s;
}
.breadcrumbs a:hover {
  color: #1a3c2e;
}
.crumb-sep {
  color: #b5c6c3;
  margin: 0 6px;
}