/* YOSUTRAVELS_CARDS_BUTTONS_UNIFIED_V302
   Public cards/buttons visual stabilization only.
   No booking, checkout, payment, PDF, pricing, Tavura logic, partner logic, add-ons, or KPI changes. */

:root {
  --yosu-card-ink: #10211d;
  --yosu-card-muted: #627169;
  --yosu-card-line: rgba(16, 33, 29, 0.12);
  --yosu-card-surface: rgba(255, 255, 255, 0.96);
  --yosu-card-soft: #f8faf0;
  --yosu-card-green: #10211d;
  --yosu-card-lime: #9bb400;
  --yosu-card-shadow: 0 18px 44px rgba(16, 33, 29, 0.08);
  --yosu-card-shadow-hover: 0 24px 64px rgba(16, 33, 29, 0.13);
  --yosu-card-radius: 26px;
  --yosu-button-radius: 999px;
}

body:not(.admin-layout):not(.admin-body) :where(
  .listing-editorial-card,
  .tourist-site-card,
  .partner-soft-card,
  .recommendation-card,
  .you-may-also-like-card,
  .tavura-card,
  .hotel-card,
  .tour-card,
  .transport-card,
  .product-card,
  .listing-card,
  .home-destination-card,
  .home-service-link-card,
  .home-news-card,
  .home-scroll-item
) {
  background: var(--yosu-card-surface);
  border: 1px solid var(--yosu-card-line);
  border-radius: var(--yosu-card-radius);
  box-shadow: var(--yosu-card-shadow);
  color: var(--yosu-card-ink);
  overflow: hidden;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

body:not(.admin-layout):not(.admin-body) :where(
  .listing-editorial-card,
  .tourist-site-card,
  .partner-soft-card,
  .recommendation-card,
  .you-may-also-like-card,
  .tavura-card,
  .hotel-card,
  .tour-card,
  .transport-card,
  .product-card,
  .listing-card,
  .home-destination-card,
  .home-service-link-card,
  .home-news-card,
  .home-scroll-item
):hover {
  border-color: rgba(155, 180, 0, 0.28);
  box-shadow: var(--yosu-card-shadow-hover);
  color: var(--yosu-card-ink);
  transform: translateY(-3px);
}

body:not(.admin-layout):not(.admin-body) :where(
  .listing-editorial-card,
  .tourist-site-card,
  .recommendation-card,
  .you-may-also-like-card,
  .hotel-card,
  .tour-card,
  .transport-card,
  .product-card,
  .listing-card,
  .home-destination-card,
  .home-news-card,
  .home-scroll-item
) :where(img, .yosu-image-tile),
body:not(.admin-layout):not(.admin-body) :where(.yosu-image-tile) {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #eef2df, #f8faf0);
  border-radius: 20px;
  display: block;
  object-fit: cover;
  overflow: hidden;
  width: 100%;
}

body:not(.admin-layout):not(.admin-body) :where(
  .listing-editorial-card,
  .tourist-site-card,
  .recommendation-card,
  .you-may-also-like-card,
  .hotel-card,
  .tour-card,
  .transport-card,
  .product-card,
  .listing-card
) :where(h2, h3, .card-title, .product-title, .listing-title) {
  color: var(--yosu-card-ink);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

body:not(.admin-layout):not(.admin-body) :where(
  .offer-card-location,
  .listing-meta,
  .product-meta,
  .card-subtitle,
  .tourist-site-location
) {
  align-items: center;
  color: var(--yosu-card-muted);
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 500;
  gap: 0.35rem;
  line-height: 1.35;
}

body:not(.admin-layout):not(.admin-body) :where(
  .travel-card-cta,
  .reserve-button,
  .booking-button,
  .product-cta,
  .tourist-site-button,
  .partner-button,
  .search-button,
  .tavura-favorite-button,
  .favorite-button,
  .review-button,
  .home-cta,
  .btn-yosu-primary
) {
  align-items: center;
  background: var(--yosu-card-green);
  border: 1px solid var(--yosu-card-green);
  border-radius: var(--yosu-button-radius);
  box-shadow: none;
  color: #fff;
  display: inline-flex;
  font-weight: 750;
  justify-content: center;
  line-height: 1.1;
  min-height: 42px;
  padding: 0.78rem 1.12rem;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

body:not(.admin-layout):not(.admin-body) :where(
  .travel-card-cta,
  .reserve-button,
  .booking-button,
  .product-cta,
  .tourist-site-button,
  .partner-button,
  .search-button,
  .tavura-favorite-button,
  .favorite-button,
  .review-button,
  .home-cta,
  .btn-yosu-primary
):hover {
  background: #182f28;
  border-color: #182f28;
  color: #fff;
  transform: translateY(-1px);
}

body:not(.admin-layout):not(.admin-body) :where(
  .btn-outline,
  .btn-outline-yosu,
  .partner-button-secondary,
  .travel-card-cta.is-outline,
  .product-cta.is-outline
) {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--yosu-card-line);
  color: var(--yosu-card-ink);
}

body:not(.admin-layout):not(.admin-body) :where(
  .btn-outline,
  .btn-outline-yosu,
  .partner-button-secondary,
  .travel-card-cta.is-outline,
  .product-cta.is-outline
):hover {
  background: var(--yosu-card-green);
  border-color: var(--yosu-card-green);
  color: #fff;
}

body:not(.admin-layout):not(.admin-body) :where(
  .tourist-sites-search,
  .home-mobile-search-card,
  .home-search-drawer-panel,
  .search-card,
  .search-form
) :where(input, select, button) {
  border-radius: var(--yosu-button-radius);
}

body:not(.admin-layout):not(.admin-body) :where(
  .partner-recruitment-page-v287 .listing-editorial-card,
  .partner-recruitment-page-v286 .listing-editorial-card,
  .partner-recruitment-page-v284 .listing-editorial-card,
  .tourist-sites-public-v287 .listing-editorial-card,
  .tourist-sites-public-v286 .listing-editorial-card,
  .tourist-sites-public-v284 .listing-editorial-card
) {
  border-radius: var(--yosu-card-radius);
  box-shadow: var(--yosu-card-shadow);
}

@media (prefers-color-scheme: dark) {
  body:not(.admin-layout):not(.admin-body) {
    --yosu-card-ink: #f7f9ef;
    --yosu-card-muted: #cad4c9;
    --yosu-card-line: rgba(231, 239, 136, 0.2);
    --yosu-card-surface: rgba(18, 32, 26, 0.96);
    --yosu-card-soft: #0f1d18;
    --yosu-card-green: #d8e957;
  }

  body:not(.admin-layout):not(.admin-body) :where(
    .listing-editorial-card,
    .tourist-site-card,
    .partner-soft-card,
    .recommendation-card,
    .you-may-also-like-card,
    .tavura-card,
    .hotel-card,
    .tour-card,
    .transport-card,
    .product-card,
    .listing-card,
    .home-destination-card,
    .home-service-link-card,
    .home-news-card,
    .home-scroll-item
  ) {
    background: var(--yosu-card-surface);
    color: var(--yosu-card-ink);
  }

  body:not(.admin-layout):not(.admin-body) :where(
    .travel-card-cta,
    .reserve-button,
    .booking-button,
    .product-cta,
    .tourist-site-button,
    .partner-button,
    .search-button,
    .tavura-favorite-button,
    .favorite-button,
    .review-button,
    .home-cta,
    .btn-yosu-primary
  ) {
    background: #d8e957;
    border-color: #d8e957;
    color: #10211d;
  }

  body:not(.admin-layout):not(.admin-body) :where(input, select, textarea) {
    background: #12201a;
    border-color: var(--yosu-card-line);
    color: var(--yosu-card-ink);
  }
}

@media (max-width: 767px) {
  body:not(.admin-layout):not(.admin-body) :where(
    .listing-editorial-card,
    .tourist-site-card,
    .partner-soft-card,
    .recommendation-card,
    .you-may-also-like-card,
    .tavura-card,
    .hotel-card,
    .tour-card,
    .transport-card,
    .product-card,
    .listing-card,
    .home-destination-card,
    .home-service-link-card,
    .home-news-card,
    .home-scroll-item
  ) {
    border-radius: 22px;
  }

  body:not(.admin-layout):not(.admin-body) :where(
    .travel-card-cta,
    .reserve-button,
    .booking-button,
    .product-cta,
    .tourist-site-button,
    .partner-button,
    .search-button,
    .tavura-favorite-button,
    .favorite-button,
    .review-button,
    .home-cta,
    .btn-yosu-primary
  ) {
    min-height: 44px;
    padding: 0.78rem 1rem;
  }
}
