/**
 * Things to Do Styles
 * 
 * Separate CSS file for the Things to Do feature
 * Follows the same design patterns as other tools (Cost Estimator, Wedding Calculator, etc.)
 *
 * @package TravelSuggest
 * @since 1.0.0
 */

/* ========================================
   HERO SECTION
   ======================================== */

/* Hero wrapper */
body.page-template-template-things-to-do .things-to-do-hero-wrapper,
body.page-template-template-things-to-do-country .things-to-do-hero-wrapper,
body.page-template-template-things-to-do-city .things-to-do-hero-wrapper {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-template-template-things-to-do .things-to-do-hero,
body.page-template-template-things-to-do-country .things-to-do-hero,
body.page-template-template-things-to-do-city .things-to-do-hero {
  position: relative;
  width: 100%;
  height: 55vh; /* Increased from 48vh to match home page */
  min-height: 400px; /* Increased from 304px to match home page */
  max-height: 650px; /* Increased from 512px to match home page */
  background-size: cover;
  background-position: center 35%; /* Better default for landscape photos */
  background-repeat: no-repeat;
  background-attachment: fixed; /* Parallax effect */
  border-radius: 0;
  overflow: hidden;
  margin: 0;
  box-shadow: none;
}

body.page-template-template-things-to-do .things-to-do-hero .hero-overlay,
body.page-template-template-things-to-do-country .things-to-do-hero .hero-overlay,
body.page-template-template-things-to-do-city .things-to-do-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.65) 100%);
  z-index: 1;
}

body.page-template-template-things-to-do .things-to-do-hero .hero-content,
body.page-template-template-things-to-do-country .things-to-do-hero .hero-content,
body.page-template-template-things-to-do-city .things-to-do-hero .hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

body.page-template-template-things-to-do .things-to-do-hero .hero-container,
body.page-template-template-things-to-do-country .things-to-do-hero .hero-container,
body.page-template-template-things-to-do-city .things-to-do-hero .hero-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 44px 24px;
}

body.page-template-template-things-to-do .things-to-do-hero .hero-title,
body.page-template-template-things-to-do-country .things-to-do-hero .hero-title,
body.page-template-template-things-to-do-city .things-to-do-hero .hero-title {
  color: #fff;
  margin: 0 0 10px 0;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

/* City link in hero title */
body.page-template-template-things-to-do-city .hero-city-link {
  color: var(--color-secondary, #f8961e);
  text-decoration: none;
  border: none;
  outline: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

body.page-template-template-things-to-do-city .hero-city-link:hover {
  color: #ffa940;
  text-decoration: none;
  border: none;
  outline: none;
}

body.page-template-template-things-to-do .things-to-do-hero .hero-subtitle,
body.page-template-template-things-to-do-country .things-to-do-hero .hero-subtitle,
body.page-template-template-things-to-do-city .things-to-do-hero .hero-subtitle {
  color: rgba(255,255,255,0.95);
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  margin: 0;
}

/* Back button in hero - Match standardized design across all destination pages */
body.page-template-template-things-to-do .hero-back-btn,
body.page-template-template-things-to-do-country .hero-back-btn,
body.page-template-template-things-to-do-city .hero-back-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none !important;
  font-size: 0.9375rem !important;
  font-weight: 500 !important;
  margin-bottom: 16px !important;
  transition: all 0.2s ease !important;
  padding: 8px 12px !important;
  border-radius: 6px !important;
  background: rgba(0, 0, 0, 0.3) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: none !important;
  box-shadow: none !important;
}

body.page-template-template-things-to-do .hero-back-btn:hover,
body.page-template-template-things-to-do-country .hero-back-btn:hover,
body.page-template-template-things-to-do-city .hero-back-btn:hover {
  color: #fff !important;
  background: rgba(0, 0, 0, 0.5) !important;
  transform: translateX(-4px) !important;
  border: none !important;
  box-shadow: none !important;
}

body.page-template-template-things-to-do .hero-back-btn svg,
body.page-template-template-things-to-do-country .hero-back-btn svg,
body.page-template-template-things-to-do-city .hero-back-btn svg {
  flex-shrink: 0 !important;
  width: 20px !important;
  height: 20px !important;
}

body.page-template-template-things-to-do .hero-text,
body.page-template-template-things-to-do-country .hero-text,
body.page-template-template-things-to-do-city .hero-text {
  /* Container for title and subtitle */
}

/* ========================================
   CONTAINER & SECTIONS
   ======================================== */

body.page-template-template-things-to-do .things-to-do-container,
body.page-template-template-things-to-do-country .things-to-do-container,
body.page-template-template-things-to-do-city .things-to-do-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}

/* ========================================
   FILTERS
   ======================================== */

body.page-template-template-things-to-do .things-filters,
body.page-template-template-things-to-do-country .things-filters {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

body.page-template-template-things-to-do .filter-group,
body.page-template-template-things-to-do-country .filter-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

body.page-template-template-things-to-do .filter-select,
body.page-template-template-things-to-do .filter-search,
body.page-template-template-things-to-do-country .filter-select,
body.page-template-template-things-to-do-country .filter-search {
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.9375rem;
  background: #fff;
  transition: all 0.2s ease;
}

body.page-template-template-things-to-do .filter-select,
body.page-template-template-things-to-do-country .filter-select {
  min-width: 150px;
}

body.page-template-template-things-to-do .filter-search,
body.page-template-template-things-to-do-country .filter-search {
  min-width: 200px;
}

body.page-template-template-things-to-do .filter-select:focus,
body.page-template-template-things-to-do .filter-search:focus,
body.page-template-template-things-to-do-country .filter-select:focus,
body.page-template-template-things-to-do-country .filter-search:focus {
  outline: none;
  border-color: var(--color-secondary, #f8961e);
  box-shadow: 0 0 0 3px rgba(248, 150, 30, 0.1);
}

body.page-template-template-things-to-do .filter-button,
body.page-template-template-things-to-do .filter-clear,
body.page-template-template-things-to-do-country .filter-button,
body.page-template-template-things-to-do-country .filter-clear {
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

body.page-template-template-things-to-do .filter-button,
body.page-template-template-things-to-do-country .filter-button {
  background: var(--color-secondary, #f8961e);
  color: #fff;
  border: none;
}

body.page-template-template-things-to-do .filter-button:hover,
body.page-template-template-things-to-do-country .filter-button:hover {
  background: #e8860e;
  transform: translateY(-1px);
}

body.page-template-template-things-to-do .filter-clear,
body.page-template-template-things-to-do-country .filter-clear {
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #d1d5db;
}

body.page-template-template-things-to-do .filter-clear:hover,
body.page-template-template-things-to-do-country .filter-clear:hover {
  background: #e5e7eb;
}

/* ========================================
   COUNTRIES GRID (also used for cities)
   ======================================== */

body.page-template-template-things-to-do .countries-grid,
body.page-template-template-things-to-do-country .countries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

body.page-template-template-things-to-do .country-card,
body.page-template-template-things-to-do-country .country-card {
  display: block;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

body.page-template-template-things-to-do .country-card:hover,
body.page-template-template-things-to-do-country .country-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

body.page-template-template-things-to-do .country-image,
body.page-template-template-things-to-do-country .country-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

body.page-template-template-things-to-do .country-info,
body.page-template-template-things-to-do-country .country-info {
  padding: 20px;
}

body.page-template-template-things-to-do .country-name,
body.page-template-template-things-to-do-country .country-name {
  font-size: 1.375rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 6px 0;
}

body.page-template-template-things-to-do .country-region,
body.page-template-template-things-to-do-country .country-region {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.75rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* City destination badge - subtle link to main destination page */
body.page-template-template-things-to-do-country .city-destination-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.2s ease;
  z-index: 2;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none;
}

body.page-template-template-things-to-do-country .city-destination-badge:hover {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  transform: scale(1.08);
}

body.page-template-template-things-to-do-country .city-destination-badge:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

body.page-template-template-things-to-do-country .city-destination-badge svg {
  flex-shrink: 0;
}

body.page-template-template-things-to-do .country-stats,
body.page-template-template-things-to-do-country .country-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

body.page-template-template-things-to-do .country-stats .stat,
body.page-template-template-things-to-do-country .country-stats .stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: #6b7280;
}

body.page-template-template-things-to-do .country-stats .stat svg,
body.page-template-template-things-to-do-country .country-stats .stat svg {
  flex-shrink: 0;
  color: var(--color-secondary, #f8961e);
}

/* No data badge for cities without things to do */
body.page-template-template-things-to-do-country .no-data-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #fef3c7;
  color: #92400e;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
}

body.page-template-template-things-to-do-country .no-data-badge svg {
  flex-shrink: 0;
}

/* ========================================
   NO RESULTS
   ======================================== */

body.page-template-template-things-to-do .no-results,
body.page-template-template-things-to-do-country .no-results {
  text-align: center;
  padding: 60px 20px;
  color: #6b7280;
}

body.page-template-template-things-to-do .no-results p,
body.page-template-template-things-to-do-country .no-results p {
  font-size: 1.125rem;
  margin: 0;
}

/* ========================================
   PAGINATION
   ======================================== */

body.page-template-template-things-to-do .things-pagination,
body.page-template-template-things-to-do-country .things-pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

body.page-template-template-things-to-do .things-pagination .page-numbers {
  display: inline-flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

body.page-template-template-things-to-do .things-pagination .page-numbers li {
  list-style: none;
}

body.page-template-template-things-to-do .things-pagination a,
body.page-template-template-things-to-do .things-pagination span {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  color: #374151;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

body.page-template-template-things-to-do .things-pagination a:hover {
  background: var(--color-secondary, #f8961e);
  color: #fff;
  border-color: var(--color-secondary, #f8961e);
}

body.page-template-template-things-to-do .things-pagination .current {
  background: var(--color-secondary, #f8961e);
  color: #fff;
  border-color: var(--color-secondary, #f8961e);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1200px) {
  body.page-template-template-things-to-do .countries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  body.page-template-template-things-to-do .countries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Hero adjustments for mobile */
  body.page-template-template-things-to-do .things-to-do-hero,
  body.page-template-template-things-to-do-country .things-to-do-hero,
  body.page-template-template-things-to-do-city .things-to-do-hero {
    height: 42vh; /* Increased from 36.8vh for better mobile aspect ratio */
    min-height: 300px; /* Increased from 256px */
    background-attachment: scroll; /* Disable parallax on mobile for performance */
  }

  body.page-template-template-things-to-do .things-to-do-hero .hero-container,
  body.page-template-template-things-to-do-country .things-to-do-hero .hero-container,
  body.page-template-template-things-to-do-city .things-to-do-hero .hero-container {
    padding: 0 18px 28px 18px;
  }

  body.page-template-template-things-to-do .things-filters {
    flex-direction: column;
    align-items: stretch;
  }

  body.page-template-template-things-to-do .filter-form {
    width: 100%;
  }

  body.page-template-template-things-to-do .filter-group {
    flex-direction: column;
    align-items: stretch;
  }

  body.page-template-template-things-to-do .filter-select,
  body.page-template-template-things-to-do .filter-search,
  body.page-template-template-things-to-do .filter-button,
  body.page-template-template-things-to-do .filter-clear {
    width: 100%;
  }

  body.page-template-template-things-to-do .countries-grid {
    grid-template-columns: 1fr;
  }

  body.page-template-template-things-to-do .things-to-do-container {
    padding: 24px 16px;
  }
}

/* ========================================
   CITY PAGE - THINGS TO DO LIST
   ======================================== */

/* Category Navigation */
body.page-template-template-things-to-do-city .category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 2px solid #e5e7eb;
}

body.page-template-template-things-to-do-city .category-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #f3f4f6;
  color: #374151;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

body.page-template-template-things-to-do-city .category-nav-link:hover {
  background: var(--color-secondary, #f8961e);
  color: #fff;
  transform: translateY(-2px);
}

body.page-template-template-things-to-do-city .category-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Category Section */
body.page-template-template-things-to-do-city .things-category-section {
  margin-bottom: 60px;
  scroll-margin-top: 100px; /* Offset for sticky header when jumping to anchor */
}

body.page-template-template-things-to-do-city .category-header {
  margin-bottom: 32px;
}

body.page-template-template-things-to-do-city .category-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 12px 0;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--color-secondary, #f8961e);
}

body.page-template-template-things-to-do-city .category-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #4b5563;
  margin: 16px 0 0 0;
  max-width: 900px;
}

/* Things Grid - 4 columns */
body.page-template-template-things-to-do-city .things-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Thing Card */
body.page-template-template-things-to-do-city .thing-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

body.page-template-template-things-to-do-city .thing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

body.page-template-template-things-to-do-city .thing-image {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

body.page-template-template-things-to-do-city .thing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

body.page-template-template-things-to-do-city .thing-card:hover .thing-image img {
  transform: scale(1.05);
}

/* Thing Badges */
body.page-template-template-things-to-do-city .thing-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

body.page-template-template-things-to-do-city .badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

body.page-template-template-things-to-do-city .badge-popular {
  background: #ef4444;
  color: #fff;
}

body.page-template-template-things-to-do-city .badge-gem {
  background: #8b5cf6;
  color: #fff;
}

/* Thing Rating Stars */
body.page-template-template-things-to-do-city .thing-rating-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 8px;
}

body.page-template-template-things-to-do-city .thing-rating-stars svg {
  flex-shrink: 0;
  color: #fbbf24;
}

body.page-template-template-things-to-do-city .thing-rating-stars .rating-value {
  margin-left: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #6b7280;
}

/* Thing Content */
body.page-template-template-things-to-do-city .thing-content {
  padding: 16px;
}

body.page-template-template-things-to-do-city .thing-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

body.page-template-template-things-to-do-city .thing-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  line-height: 1.3;
  flex: 1;
}

body.page-template-template-things-to-do-city .thing-expand-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 50%;
  color: #6b7280;
  transition: all 0.2s ease;
}

body.page-template-template-things-to-do-city .thing-card:hover .thing-expand-icon {
  background: var(--color-secondary, #f8961e);
  color: #fff;
  transform: scale(1.1);
}

body.page-template-template-things-to-do-city .thing-expand-icon svg {
  flex-shrink: 0;
}

/* Thing Tips */
body.page-template-template-things-to-do-city .thing-tips {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 10px;
  background: #fef3c7;
  border-left: 3px solid #f59e0b;
  border-radius: 6px;
  margin-bottom: 12px;
  font-size: 0.8125rem;
}

body.page-template-template-things-to-do-city .thing-tips svg {
  flex-shrink: 0;
  color: #f59e0b;
  margin-top: 2px;
}

body.page-template-template-things-to-do-city .thing-tips span {
  font-size: 0.875rem;
  color: #92400e;
  line-height: 1.5;
}

/* Thing Meta */
body.page-template-template-things-to-do-city .thing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body.page-template-template-things-to-do-city .meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: #6b7280;
}

body.page-template-template-things-to-do-city .meta-item svg {
  flex-shrink: 0;
  color: #9ca3af;
}

/* Tablet Responsive - City Page */
@media (max-width: 1200px) {
  body.page-template-template-things-to-do-city .things-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  body.page-template-template-things-to-do-city .things-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Responsive - City Page */
@media (max-width: 768px) {
  body.page-template-template-things-to-do-city .category-nav {
    gap: 8px;
  }

  body.page-template-template-things-to-do-city .category-nav-link {
    font-size: 0.875rem;
    padding: 8px 12px;
  }

  body.page-template-template-things-to-do-city .category-title {
    font-size: 1.5rem;
  }

  body.page-template-template-things-to-do-city .things-grid {
    grid-template-columns: 1fr;
  }

  body.page-template-template-things-to-do-city .thing-image {
    height: 200px;
  }
}

/* Thing Modal */
.thing-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  margin: 0;
}

.thing-modal[style*="display: block"] {
  display: flex !important;
}

.thing-modal[style*="display: none"] {
  display: none !important;
}

.thing-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 99998;
}

.thing-modal-content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  animation: modalSlideIn 0.3s ease-out;
  z-index: 100000;
  margin: auto;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.thing-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 100001;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  border: none;
  border-radius: 6px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: rgba(255, 255, 255, 0.9);
  box-shadow: none;
  pointer-events: auto;
}

.thing-modal-close:hover {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
}

.thing-modal-close:active {
  transform: scale(0.95);
}

.thing-modal-close svg {
  flex-shrink: 0;
}

.thing-modal-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  flex-shrink: 0;
}

.thing-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thing-modal-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
}

.thing-modal-rating {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 8px;
  color: #fbbf24;
  font-weight: 700;
  font-size: 1rem;
  z-index: 2;
}

.thing-modal-rating svg {
  flex-shrink: 0;
}

.thing-modal-rating span {
  color: #fff;
}

.thing-modal-body {
  padding: 28px;
  overflow-y: auto;
  flex: 1;
}

.thing-modal-body h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 14px 0;
  line-height: 1.2;
}

.thing-modal-body p {
  font-size: 0.9375rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.thing-modal-tips {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  margin-bottom: 24px;
}

.thing-modal-tips svg {
  flex-shrink: 0;
  color: #f59e0b;
  margin-top: 2px;
}

.thing-modal-tips strong {
  display: block;
  color: #92400e;
  margin-bottom: 4px;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.thing-modal-tips span {
  color: #78350f;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.thing-modal-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.thing-modal-meta .meta-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: #f9fafb;
  border-radius: 8px;
}

.thing-modal-meta .meta-item svg {
  flex-shrink: 0;
  color: #6b7280;
  margin-top: 2px;
}

.thing-modal-meta .meta-item strong {
  display: block;
  color: #374151;
  margin-bottom: 4px;
  font-size: 0.875rem;
  font-weight: 600;
}

.thing-modal-meta .meta-item span {
  color: #6b7280;
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* Modal Mobile Responsive */
@media (max-width: 768px) {
  .thing-modal {
    padding: 0;
  }

  .thing-modal-content {
    max-height: 100vh;
    border-radius: 0;
  }

  .thing-modal-image {
    height: 250px;
  }

  .thing-modal-body {
    padding: 24px 20px;
  }

  .thing-modal-body h2 {
    font-size: 1.5rem;
  }
}

