/* Account: Мои предложения */

.co-account-list,
.co-account-single {
  max-width: 900px;
  margin: 0 0 2em;
}

.co-subscribed-notice,
.co-not-subscribed-notice {
  margin-bottom: 24px;
}

.co-section-title {
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 16px;
  color: #1d2327;
}

.co-empty {
  background: #f7f7f8;
  border: 1px dashed #dcdcde;
  border-radius: 6px;
  padding: 32px 24px;
  text-align: center;
  color: #646970;
}
.co-empty p { margin: 0 0 6px; }
.co-empty .co-hint { font-size: 13px; }

.co-offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.co-offer-card {
  background: #0A2A48;
  border: 1px solid #e2e4e7;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .15s, border-color .15s;
}
.co-offer-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  border-color: #c5c9cf;
}
.co-offer-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.co-offer-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: #1d2327;
  flex: 1;
}
.co-offer-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 28px;
  padding: 0 8px;
  background: #00a32a;
  color: #ffffff;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
}
.co-offer-badge-info {
  background: #2270b1;
  font-weight: 700;
}
.co-offer-card-body {
  flex: 1;
  margin-bottom: 16px;
}
.co-offer-excerpt {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #3c434a;
}
.co-offer-expiry {
  margin: 0;
  font-size: 12px;
  color: #8c8f94;
}
.co-offer-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.co-offer-card-actions .button {
  font-size: 13px;
  padding: 6px 14px;
}

/* Single view */
.co-back-link {
  display: inline-block;
  margin-bottom: 16px;
  color: #2270b1;
  text-decoration: none;
  font-size: 13px;
}
.co-back-link:hover { text-decoration: underline; }

.co-offer-detail {
  background: #0A2A48;
  border: 1px solid #e2e4e7;
  border-radius: 8px;
  padding: 28px;
}
.co-offer-detail.is-expired { opacity: .75; }
.co-offer-detail-head { margin-bottom: 20px; }
.co-offer-detail-headline {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 8px;
}
.co-offer-detail-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  flex: 1;
}
.co-offer-badge-lg {
  min-width: 56px;
  height: 36px;
  font-size: 16px;
  border-radius: 18px;
}
.co-offer-detail-meta { margin: 0; }
.co-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}
.co-tag-active   { background: #edfaef; color: #1c6b1c; }
.co-tag-expired  { background: #fdecec; color: #8c0000; }

.co-offer-detail-body {
  font-size: 14px;
  line-height: 1.6;
  color: #3c434a;
  margin-bottom: 24px;
}
.co-offer-detail-body p { margin: 0 0 12px; }
.co-offer-detail-body p:last-child { margin-bottom: 0; }

.co-offer-products {
  background: #f7f7f8;
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 24px;
}
.co-offer-products h3 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: #1d2327;
}
.co-offer-products ul { margin: 0; padding-left: 0; list-style: none; }
.co-offer-products li {
  padding: 6px 0;
  border-top: 1px solid #e2e4e7;
  font-size: 14px;
}
.co-offer-products li:first-child { border-top: none; }
.co-offer-products li a { color: #2270b1; text-decoration: none; }
.co-offer-products li a:hover { text-decoration: underline; }
.co-product-price { float: right; color: #646970; }

.co-offer-detail-actions {
  padding-top: 20px;
  border-top: 1px solid #e2e4e7;
  text-align: center;
}
.co-btn-apply-lg {
  display: inline-block !important;
  padding: 12px 32px !important;
  background: #2270b1 !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: none;
  border-radius: 4px;
}
.co-btn-apply-lg:hover { background: #135e96 !important; }
.co-coupon-reveal {
  margin: 16px 0 0;
  font-size: 13px;
  color: #646970;
}
.co-coupon-reveal code {
  display: inline-block;
  padding: 4px 10px;
  background: #f0f7ff;
  border: 1px solid #2270b1;
  border-radius: 3px;
  color: #2270b1;
  font-weight: 600;
  margin: 0 4px;
}
.co-offer-expired-msg {
  color: #8c0000;
  font-weight: 600;
  margin: 0;
}

/* Expired list */
.co-expired-block {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #e2e4e7;
}
.co-expired-block summary {
  cursor: pointer;
  font-weight: 600;
  color: #646970;
  font-size: 14px;
  padding: 4px 0;
}
.co-expired-list { list-style: none; padding-left: 0; margin: 16px 0 0; }
.co-expired-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f1;
  font-size: 13px;
  color: #646970;
}
.co-expired-list li a { color: #2270b1; text-decoration: none; }
.co-expired-list li a:hover { text-decoration: underline; }
.co-offer-badge-sm {
  display: inline-block;
  padding: 1px 6px;
  background: #646970;
  color: #ffffff;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  margin-left: 6px;
}
.co-expired-tag {
  display: inline-block;
  padding: 1px 6px;
  background: #fdecec;
  color: #8c0000;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  margin-left: 6px;
}

.co-hint {
  font-size: 12px;
  color: #8c8f94;
  margin: 6px 0 0;
  padding-bottom: 20px;
}
