.tit-deals-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 16px;
  align-items: end;
  margin: 18px 0 18px;
  padding: 18px;
  border: 1px solid #dce6e1;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(15, 31, 51, 0.06);
}

.tit-deals-disclosure {
  width: 100%;
  margin: 0 0 18px;
  border-left: 4px solid #16845b;
  border-radius: 10px;
  background: #f1faf5;
  color: #284236;
  padding: 14px 16px;
  font-size: 0.94rem;
  line-height: 1.5;
}

.tit-deals-filters label {
  display: grid;
  gap: 6px;
  color: #607086;
  font-size: 0.86rem;
  font-weight: 750;
}

.tit-deals-filters select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #dce6e1;
  border-radius: 10px;
  background: #f7faf8;
  color: #0f1f33;
  padding: 8px 12px;
}

.tit-deals-filters select:focus {
  outline: 2px solid rgba(22, 132, 91, 0.18);
  outline-offset: 1px;
  border-color: rgba(22, 132, 91, 0.48);
}

.tit-deals-filters button,
.tit-filter-reset,
.tit-deal-button,
.tit-copy-coupon {
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.tit-deals-filters button,
.tit-filter-reset {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.tit-deals-filter-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding-top: 4px;
}

.tit-deals-filters button {
  border: 0;
  background: #16845b;
  color: #ffffff;
  cursor: pointer;
}

.tit-deals-filters button:hover,
.tit-deals-filters button:focus {
  background: #0f6044;
}

.tit-filter-reset {
  border: 1px solid #dce6e1;
  background: #ffffff;
  color: #0f1f33;
}

.tit-filter-reset:hover,
.tit-filter-reset:focus {
  border-color: #16845b;
  color: #0f6044;
}

.tit-deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr));
  gap: 20px;
  margin: 0 0 26px;
}

.tit-deal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid #dce6e1;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 31, 51, 0.07);
}

.tit-deal-badge,
.tit-single-deal-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  background: #0f1f33;
  color: #ffffff;
  padding: 7px 10px;
  font-size: 0.75rem;
  font-weight: 850;
  line-height: 1.15;
  max-width: min(100% - 28px, 230px);
  overflow-wrap: anywhere;
}

.tit-deal-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.tit-deal-image {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(22, 132, 91, 0.14), rgba(15, 31, 51, 0.08)),
    #eef7f2;
  overflow: hidden;
  color: #0f6044;
  font-weight: 850;
  text-decoration: none;
}

.tit-deal-image-placeholder span,
.tit-single-deal-image-placeholder span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #0f6044;
  padding: 7px 12px;
  font-size: 0.8rem;
  font-weight: 850;
}

.tit-deal-image img,
.tit-single-deal-image img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
}

.tit-deal-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.tit-deal-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 13px;
}

.tit-deal-meta-row span {
  border-radius: 999px;
  background: #eef7f2;
  color: #0f6044;
  padding: 5px 8px;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.25;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.tit-deal-card h3 {
  margin: 0 0 10px;
  color: #0b1728;
  font-size: 1.14rem;
  line-height: 1.28;
}

.tit-deal-card h3 a {
  color: inherit;
  text-decoration: none;
}

.tit-deal-card h3 a:hover,
.tit-deal-card h3 a:focus {
  color: #16845b;
}

.tit-deal-discount,
.tit-single-deal-discount {
  margin: 0 0 12px;
  color: #16845b;
  font-weight: 850;
  line-height: 1.2;
}

.tit-deal-discount {
  font-size: 1.02rem;
}

.tit-deal-excerpt {
  color: #607086;
  font-size: 0.93rem;
  line-height: 1.55;
}

.tit-deal-excerpt p {
  margin: 0 0 14px;
}

.tit-deal-code-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: stretch;
  margin: 8px 0 13px;
}

.tit-deal-code {
  display: grid;
  gap: 3px;
  min-width: 0;
  border: 1px dashed #c4932f;
  border-radius: 12px;
  background: #fff9ea;
  color: #392f18;
  padding: 10px 11px;
}

.tit-deal-code span {
  color: #74603a;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tit-deal-code strong {
  overflow-wrap: anywhere;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.tit-copy-coupon {
  min-height: 46px;
  border: 1px solid #dce6e1;
  border-radius: 12px;
  background: #ffffff;
  color: #0f1f33;
  padding: 9px 12px;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
}

.tit-copy-coupon:hover,
.tit-copy-coupon:focus {
  border-color: #16845b;
  color: #0f6044;
  transform: translateY(-1px);
}

.tit-deal-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 14px;
  color: #607086;
  font-size: 0.82rem;
}

.tit-deal-dates span {
  border-radius: 999px;
  background: #f7faf8;
  padding: 5px 8px;
}

.tit-deal-button {
  display: inline-flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border-radius: 999px;
  background: #16845b;
  color: #ffffff;
  padding: 12px 18px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(22, 132, 91, 0.18);
}

.tit-deal-card-no-coupon .tit-deal-button {
  min-height: 52px;
  margin-top: auto;
  font-size: 0.98rem;
}

.tit-deal-card-no-coupon .tit-deal-dates {
  margin-top: 8px;
}

.tit-deal-button:hover,
.tit-deal-button:focus {
  background: #0f6044;
  color: #ffffff;
  transform: translateY(-1px);
}

.tit-deal-disclosure {
  margin: 12px 0 0;
  color: #607086;
  font-size: 0.78rem;
  line-height: 1.45;
}

.tit-deal-status-expired {
  opacity: 0.72;
}

.tit-deal-status-expired::after {
  content: "Expired";
  position: absolute;
  top: 14px;
  right: 14px;
  border-radius: 999px;
  background: #607086;
  color: #ffffff;
  padding: 7px 10px;
  font-size: 0.75rem;
  font-weight: 850;
}

.tit-no-deals {
  border: 1px solid #dce6e1;
  border-radius: 16px;
  background: #ffffff;
  padding: 22px;
  color: #607086;
  box-shadow: 0 14px 38px rgba(15, 31, 51, 0.055);
}

.tit-single-deal-main {
  background: #f7faf8;
  padding: clamp(36px, 6vw, 62px) 0;
}

.tit-single-deal-wrap {
  width: min(100% - 36px, 1100px);
  margin: 0 auto;
}

.tit-single-deal {
  display: grid;
  gap: 20px;
}

.tit-single-deal-hero,
.tit-single-deal-panel,
.tit-single-deal-section {
  border: 1px solid #dce6e1;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 31, 51, 0.07);
}

.tit-single-deal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(22px, 4vw, 34px);
  align-items: center;
  padding: clamp(24px, 4vw, 36px);
}

.tit-single-deal-hero h1 {
  margin: 10px 0 16px;
  color: #0b1728;
  font-size: clamp(2.15rem, 4vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.tit-single-deal-summary {
  color: #3e4f65;
  font-size: 1.06rem;
  line-height: 1.65;
}

.tit-single-deal-summary p,
.tit-single-deal-section p {
  margin-top: 0;
}

.tit-single-deal-image {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(22, 132, 91, 0.14), rgba(15, 31, 51, 0.08)),
    #eef7f2;
  overflow: hidden;
}

.tit-single-deal-image-placeholder {
  display: grid;
  place-items: center;
}

.tit-single-deal-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  justify-items: center;
  padding: clamp(20px, 3vw, 26px);
}

.tit-single-deal-panel .tit-deal-code-wrap {
  width: min(100%, 760px);
  margin: 0;
}

.tit-single-deal-panel .tit-deal-button {
  width: min(100%, 760px);
  min-height: 56px;
  margin-top: 0;
  font-size: 1.02rem;
}

.tit-single-deal-panel .tit-deal-dates {
  justify-content: center;
  margin: 0;
}

.tit-single-deal-discount {
  margin: 0;
  font-size: 1.35rem;
  text-align: center;
}

.tit-single-deal-disclosure {
  width: min(100%, 760px);
  border-left: 4px solid #16845b;
  border-radius: 10px;
  background: #f1faf5;
  color: #284236;
  padding: 11px 14px;
  font-size: 0.86rem;
  line-height: 1.5;
  text-align: center;
}

.tit-single-deal-no-coupon .tit-single-deal-panel {
  gap: 12px;
}

.tit-single-deal-no-coupon .tit-deal-button {
  width: 100%;
  max-width: 860px;
  min-height: 58px;
  box-shadow: 0 13px 28px rgba(22, 132, 91, 0.2);
}

.tit-single-deal-no-coupon .tit-single-deal-disclosure {
  width: 100%;
  max-width: 860px;
}

.tit-single-deal-section {
  padding: clamp(22px, 3vw, 30px);
  color: #33445a;
}

.tit-single-deal-section h2 {
  margin: 0 0 14px;
  color: #0b1728;
  font-size: 1.45rem;
  line-height: 1.2;
}

.tit-single-deal-section > *:last-child {
  margin-bottom: 0;
}

@media (max-width: 1040px) {
  .tit-deals-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .tit-single-deal-hero,
  .tit-single-deal-panel {
    grid-template-columns: 1fr;
  }

  .tit-single-deal-panel .tit-deal-button {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .tit-deals-filters,
  .tit-deals-grid,
  .tit-deal-code-wrap {
    grid-template-columns: 1fr;
  }

  .tit-deals-filters {
    gap: 12px;
    padding: 14px;
  }

  .tit-deals-filter-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .tit-deals-filters button,
  .tit-filter-reset {
    width: 100%;
  }

  .tit-single-deal-main {
    padding: 34px 0;
  }

  .tit-single-deal-wrap {
    width: min(100% - 24px, 1100px);
  }

  .tit-single-deal-hero,
  .tit-single-deal-panel,
  .tit-single-deal-section {
    padding: 22px;
  }

  .tit-single-deal-hero h1 {
    font-size: 2.25rem;
  }

  .tit-copy-coupon,
  .tit-deal-button {
    width: 100%;
  }

  .tit-deal-card h3 {
    font-size: 1.08rem;
  }
}
