*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #D35400;
  --primary-light: #E67E22;
  --primary-lighter: #FDEBD0;
  --primary-dark: #A04000;
  --secondary: #1A5276;
  --secondary-light: #2E86C1;
  --accent: #F39C12;
  --green: #27AE60;
  --green-light: #D5F5E3;
  --bg: #FFFFFF;
  --bg-warm: #FFF8F0;
  --bg-alt: #F7F9FC;
  --text: #1B2631;
  --text-light: #6C7A89;
  --text-muted: #95A5A6;
  --hairline: #E8E8E8;
  --hairline-soft: #F0F0F0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --max-w: 1280px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode {
  --primary: #E67E22;
  --primary-light: #F39C12;
  --primary-lighter: #3E2C1A;
  --primary-dark: #D35400;
  --secondary: #5DADE2;
  --secondary-light: #85C1E9;
  --accent: #F1C40F;
  --green: #58D68D;
  --green-light: #1E3A2A;
  --bg: #0F1419;
  --bg-warm: #1A1F2E;
  --bg-alt: #151B24;
  --text: #ECF0F1;
  --text-light: #95A5A6;
  --text-muted: #6C7A89;
  --hairline: #2C3E50;
  --hairline-soft: #1E2A3A;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s ease, color 0.35s ease;
}

body.dark-mode img { opacity: 0.9; transition: opacity 0.3s; }
body.dark-mode .hero-search,
body.dark-mode .weather-card,
body.dark-mode .cat-card { box-shadow: 0 2px 12px rgba(0,0,0,0.2); }

/* ─── Toggle Buttons ─── */
.currency-toggle,
.dark-toggle {
  font-size: 14px;
  font-weight: 700;
  min-width: 36px;
  padding: 0 4px;
  background: var(--bg-alt);
  border-radius: var(--radius-full);
  transition: background var(--transition), color var(--transition);
}

.currency-toggle:hover,
.dark-toggle:hover { background: var(--hairline); }

.dark-toggle { font-size: 16px; }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.footer .container {
  max-width: 100%;
  padding: 0 48px;
}

/* ─── Header ─── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--hairline);
  height: var(--header-h);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 12px 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
  position: relative;
  padding: 4px 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s;
}

.nav a:hover { color: var(--primary); }
.nav a:hover::after,
.nav a.active::after { width: 100%; }
.nav a.active { color: var(--primary); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--hairline);
}

.btn-secondary:hover {
  border-color: var(--text);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  padding: 8px 16px;
}

.btn-ghost:hover { background: var(--bg-warm); }

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: white;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid var(--hairline);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-icon:hover {
  border-color: var(--text);
  box-shadow: var(--shadow-sm);
}

/* ─── Mobile Menu ─── */
.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--hairline);
  padding: 24px;
  z-index: 999;
  box-shadow: var(--shadow-lg);
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 17px;
  font-weight: 500;
  border-bottom: 1px solid var(--hairline-soft);
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a.active { color: var(--primary); }

/* ─── Hero ─── */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 700px;
  padding: 40px 24px;
}

.hero-content h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 32px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero .btn-primary {
  background: var(--primary);
  color: white;
  border-radius: var(--radius-full);
  padding: 16px 32px;
  font-size: 16px;
}

.hero .btn-secondary {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-full);
  padding: 16px 32px;
  font-size: 16px;
}

.hero .btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.5);
}

/* ─── Sections ─── */
.section {
  padding: 80px 0;
}

.section-alt { background: var(--bg-alt); }
.section-warm { background: var(--bg-warm); }

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.section-header p {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.7;
}

.section-header .subtitle {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

/* ─── Cards ─── */
.card {
  background: var(--bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--hairline-soft);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.card-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.card-body p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── Grids ─── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* ─── Trust Bar ─── */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 40px 0;
}

.trust-item {
  text-align: center;
}

.trust-item .icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.trust-item h4 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.trust-item p {
  font-size: 14px;
  color: var(--text-light);
}

/* ─── Testimonials ─── */
.testimonial-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--hairline-soft);
}

.testimonial-card .stars {
  color: var(--accent);
  font-size: 16px;
  margin-bottom: 12px;
}

.testimonial-card blockquote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card .author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card .author-info strong {
  display: block;
  font-size: 15px;
}

.testimonial-card .author-info span {
  font-size: 13px;
  color: var(--text-light);
}

/* ─── Why Choose Us ─── */
.feature-card {
  text-align: center;
  padding: 32px 20px;
}

.feature-card .icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ─── CTA Banner ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-align: center;
  padding: 64px 24px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 17px;
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn {
  background: white;
  color: var(--primary);
  border-radius: var(--radius-full);
  padding: 16px 36px;
  font-weight: 600;
}

.cta-banner .btn:hover {
  background: var(--bg-warm);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ─── Blog ─── */
.blog-categories {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.blog-categories button {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--hairline);
  background: var(--bg);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
}

.blog-categories button:hover,
.blog-categories button.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.blog-card .card-img {
  aspect-ratio: 16/9;
}

.blog-card .card-body .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.share-buttons {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.share-buttons button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--bg);
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.share-buttons button:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ─── Shop ─── */
.shop-filters {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  align-items: center;
}

.shop-filters select {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--hairline);
  font-family: var(--font);
  font-size: 14px;
  background: var(--bg);
  cursor: pointer;
  min-width: 160px;
}

.shop-filters select:focus {
  outline: none;
  border-color: var(--primary);
}

.shop-filters .filter-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
}

.product-card .card-img {
  aspect-ratio: 1;
}

.product-card .price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 8px;
}

.product-card .original-price {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 8px;
}

.add-to-cart {
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: white;
  border: none;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
}

.add-to-cart:hover {
  background: var(--primary-dark);
}

/* ─── Cart Sidebar ─── */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  height: 100%;
  background: var(--bg);
  z-index: 2000;
  box-shadow: var(--shadow-lg);
  transition: right 0.35s ease;
  display: flex;
  flex-direction: column;
}

.cart-sidebar.open { right: 0; }

.cart-header {
  padding: 24px;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 { font-size: 20px; }

.cart-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-alt);
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline-soft);
}

.cart-item img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 14px; margin-bottom: 4px; }
.cart-item-info .cart-price { font-size: 14px; font-weight: 600; color: var(--primary); }

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.cart-item-qty button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--bg);
  cursor: pointer;
  font-size: 14px;
}

.cart-item-qty span { font-size: 14px; font-weight: 500; min-width: 20px; text-align: center; }

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--hairline);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cart-checkout {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 600;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── About ─── */
.about-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.about-hero h1 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 12px;
}

.about-hero p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 600px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 32px 16px;
}

.stat-card .number {
  font-size: 40px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.stat-card .label {
  font-size: 15px;
  color: var(--text-light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--hairline-soft);
  transition: all 0.3s;
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.value-card .icon { font-size: 36px; margin-bottom: 12px; }
.value-card h3 { font-size: 18px; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ─── Contact ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--hairline);
  font-family: var(--font);
  font-size: 15px;
  transition: border-color 0.2s;
  background: var(--bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info-cards {
  display: grid;
  gap: 20px;
}

.contact-info-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-warm);
}

.contact-info-card .icon {
  font-size: 24px;
  flex-shrink: 0;
}

.contact-info-card h4 { font-size: 16px; margin-bottom: 4px; }
.contact-info-card p { font-size: 14px; color: var(--text-light); }

.map-placeholder {
  width: 100%;
  height: 250px;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 15px;
  border: 1px solid var(--hairline);
  margin-top: 24px;
}

/* ─── Footer ─── */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.8);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
  color: white;
  margin-bottom: 12px;
}

.footer-brand .logo .logo-icon {
  background: var(--primary);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
}

.footer h4 {
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer ul li { margin-bottom: 10px; }

.footer ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.footer ul li a:hover { color: var(--primary); }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ─── Page Hero ─── */
.page-hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: white;
}

.page-hero .page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero .page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero .page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 100%);
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 550px;
  margin: 0 auto;
}

/* ─── Airbnb-style Product Tabs ─── */
.product-tabs {
  display: flex;
  align-items: center;
  gap: 20px;
}

.product-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  padding: 4px 0;
  position: relative;
  transition: color 0.2s;
  opacity: 0.7;
}

.product-tab:hover { opacity: 1; color: var(--text); }

.product-tab.active {
  opacity: 1;
  color: var(--text);
}

.product-tab.active::after {
  content: '';
  position: absolute;
  bottom: -22px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--text);
}

.product-tab .tab-icon {
  font-size: 24px;
  line-height: 1;
}

/* ─── Hero Search Bar ─── */
.hero-search {
  background: hsla(0,0%,100%,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 60px;
  display: flex;
  align-items: center;
  max-width: 720px;
  width: 100%;
  height: 64px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  border: 1px solid rgba(255,255,255,0.3);
  overflow: visible;
  transition: box-shadow 0.3s, border-color 0.3s, background 0.3s;
}

.hero-search:focus-within {
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  border-color: rgba(0,0,0,0.08);
  background: white;
}

.hero-search .search-field {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 20px;
  position: relative;
  min-width: 0;
  transition: background 0.15s;
}

.hero-search .search-field:first-of-type {
  padding-left: 24px;
}

.hero-search .search-field + .search-field {
  border-left: 1px solid rgba(0,0,0,0.06);
}

.hero-search .search-field .label {
  display: none;
}

.hero-search .search-input {
  font-size: 14px;
  color: var(--text);
  font-family: var(--font);
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  outline: none;
  width: 100%;
  min-width: 0;
  line-height: 1;
  height: 40px;
}

.hero-search .search-input::placeholder {
  color: #aaa;
  opacity: 1;
  font-weight: 400;
}

.hero-search .search-select {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0 22px 0 0;
  border: none;
  outline: none;
  font-family: var(--font);
  line-height: 1;
  height: 40px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E") no-repeat right center;
  min-width: 70px;
}

.hero-search .search-select optgroup,
.hero-search .search-select option {
  font-size: 14px;
  color: var(--text);
}

.hero-search .search-orb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 10px 0 0;
  transition: all 0.25s;
  color: white;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(211,84,0,0.25);
}

.hero-search .search-orb:hover {
  background: var(--primary-dark, #b84500);
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(211,84,0,0.35);
}

body.dark-mode .hero-search {
  background: hsla(0,0%,12%,0.9);
  border-color: rgba(255,255,255,0.06);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

body.dark-mode .hero-search:focus-within {
  background: #1e1e1e;
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

body.dark-mode .hero-search .search-field + .search-field {
  border-left-color: rgba(255,255,255,0.06);
}

body.dark-mode .hero-search .search-input::placeholder {
  color: #666;
}

/* ─── Search Results Dropdown ─── */
.search-results-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: 10px auto 0;
  background: white;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  max-height: 440px;
  overflow-y: auto;
  z-index: 1000;
  padding: 8px 0;
}

.search-results-dropdown.open { display: block; }

.search-results-dropdown .sr-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  text-decoration: none;
  color: inherit;
  transition: background 0.12s;
}

.search-results-dropdown .sr-item:hover { background: #f5f5f5; }

.search-results-dropdown .sr-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.search-results-dropdown .sr-info { flex: 1; min-width: 0; }
.search-results-dropdown .sr-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 1px; }
.search-results-dropdown .sr-desc { font-size: 12px; color: #777; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-results-dropdown .sr-category { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--secondary); flex-shrink: 0; }

.search-results-dropdown .sr-empty {
  padding: 48px 20px;
  text-align: center;
  color: #999;
  font-size: 14px;
  line-height: 1.6;
}

.search-results-dropdown .sr-empty strong { color: var(--text); display: block; margin-bottom: 4px; font-size: 15px; }

/* ─── Weather Widget ─── */
.weather-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.weather-card {
  border-radius: 16px;
  padding: 20px 18px 18px;
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 120px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.weather-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.weather-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background: radial-gradient(ellipse at 20% 80%, white 0%, transparent 70%);
}

.weather-card .wc-city {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.9;
  margin-bottom: 4px;
  position: relative;
}

.weather-card .wc-temp {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 2px;
  position: relative;
}

.weather-card .wc-temp sup {
  font-size: 16px;
  font-weight: 500;
  top: -14px;
}

.weather-card .wc-condition {
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 10px;
  position: relative;
}

.weather-card .wc-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 32px;
  opacity: 0.7;
}

.weather-card .wc-highlow {
  display: flex;
  gap: 10px;
  font-size: 12px;
  opacity: 0.75;
  position: relative;
}

.weather-card .wc-highlow span {
  display: flex;
  align-items: center;
  gap: 3px;
}

.weather-loading .wc-placeholder {
  text-align: center;
  padding: 24px 0;
  opacity: 0.5;
  font-size: 14px;
  position: relative;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

/* Weather condition backgrounds */
.wc-sunny { background: linear-gradient(135deg, #f39c12, #e67e22); }
.wc-partly-cloudy { background: linear-gradient(135deg, #3498db, #5dade2); }
.wc-cloudy { background: linear-gradient(135deg, #7f8c8d, #95a5a6); }
.wc-foggy { background: linear-gradient(135deg, #85929e, #aeb6bf); }
.wc-rainy { background: linear-gradient(135deg, #2c3e50, #4ca1af); }
.wc-drizzle { background: linear-gradient(135deg, #5d6d7e, #85929e); }
.wc-snowy { background: linear-gradient(135deg, #5dade2, #85c1e9); color: #1a1a2e; }
.wc-thunderstorm { background: linear-gradient(135deg, #1a1a2e, #2c3e50); }
.wc-default { background: linear-gradient(135deg, #2c3e50, #3498db); }

@media (max-width: 768px) {
  .weather-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Interactive Map ─── */
.map-section {
  padding: 48px 0 56px;
  background: var(--bg-alt);
  transition: background var(--transition);
}

.map-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 420px;
  position: relative;
}

.map-container .leaflet-container {
  width: 100%;
  height: 100%;
  font-family: var(--font);
}

.map-container .leaflet-popup-content-wrapper {
  border-radius: 12px;
  padding: 4px;
}

.map-container .leaflet-popup-content {
  margin: 10px 14px;
  font-size: 14px;
  line-height: 1.5;
}

.map-container .leaflet-popup-content strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

@media (max-width: 768px) {
  .map-container { height: 280px; }
}

/* ─── Currency Badge ─── */
.currency-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--primary-lighter);
  color: var(--primary);
  margin-left: 6px;
  vertical-align: middle;
  transition: background var(--transition), color var(--transition);
}

/* ─── Category Strip ─── */
.category-strip {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding: 20px 0 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-strip::-webkit-scrollbar { display: none; }

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.6;
  transition: all 0.2s;
  padding: 4px 0;
  border: none;
  background: none;
  font-family: var(--font);
  border-bottom: 2px solid transparent;
  padding-bottom: 8px;
}

.category-item:hover { opacity: 0.9; }

.category-item.active {
  opacity: 1;
  border-bottom-color: var(--text);
}

a.category-item {
  text-decoration: none;
  color: inherit;
}

.category-item .cat-icon { font-size: 24px; }
.category-item .cat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

/* ─── Airbnb-style Tour Card ─── */
.tour-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s;
}

.tour-card:hover { transform: translateY(-2px); }

.tour-card .card-photo {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.tour-card .card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.tour-card:hover .card-photo img { transform: scale(1.05); }

.tour-card .favorite-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.tour-card .favorite-btn:hover {
  background: white;
  transform: scale(1.1);
}

.tour-card .guest-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(4px);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.tour-card .card-info {
  padding: 12px 0;
}

.tour-card .card-info .location-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.tour-card .card-info .location-row .location {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.tour-card .card-info .location-row .rating {
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tour-card .card-info .distance {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 2px;
}

.tour-card .card-info .dates {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 6px;
}

.tour-card .card-info .price-row {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.tour-card .card-info .price-row .price-num {
  font-weight: 700;
}

.tour-card .card-info .price-row .night {
  font-weight: 400;
  color: var(--text-light);
}

/* ─── Host Section ─── */
.host-section {
  padding: 64px 0;
  background: var(--text);
  color: white;
  position: relative;
  overflow: hidden;
}

.host-section .host-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.host-section .host-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.host-section .host-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.75) 40%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}

.host-section .container {
  position: relative;
  z-index: 2;
}

.host-section h2 {
  font-size: 42px;
  font-weight: 700;
  max-width: 450px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.host-section p {
  font-size: 16px;
  opacity: 0.85;
  max-width: 450px;
  margin-bottom: 28px;
  line-height: 1.6;
}

.host-section .btn {
  background: white;
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  font-weight: 600;
}

.host-section .btn:hover {
  background: var(--bg-warm);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ─── Emotional Legend Section ─── */
.legend-section {
  padding: 80px 0;
  background: var(--text);
  color: white;
  position: relative;
  overflow: hidden;
}

.legend-section .legend-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.legend-section .legend-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.legend-section .legend-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 100%);
  z-index: 1;
}

.legend-section .container {
  position: relative;
  z-index: 2;
}

.legend-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.legend-section .legend-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 12px;
}

.legend-section h2 {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.legend-section .legend-story {
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.85;
  margin-bottom: 16px;
}

.legend-section .legend-quote {
  font-size: 20px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  color: var(--accent);
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin: 20px 0;
}

.legend-section .legend-quote .attribution {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
  font-style: normal;
}

.legend-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.legend-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── Emotional Quote Section ─── */
.quote-section {
  padding: 80px 0;
  background: var(--bg-warm);
  text-align: center;
  position: relative;
}

.quote-section .big-quote {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.5;
  max-width: 750px;
  margin: 0 auto 32px;
  color: var(--text);
  font-style: italic;
}

.quote-section .big-quote::before {
  content: '\201C';
  font-size: 64px;
  line-height: 0;
  vertical-align: -20px;
  color: var(--primary);
  opacity: 0.3;
  margin-right: 8px;
}

.quote-section .quote-author {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-light);
}

.quote-section .quote-author span {
  display: block;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 4px;
}

/* ─── Guide Cards ─── */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.guide-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--hairline-soft);
  transition: all 0.3s;
}

.guide-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.guide-card .guide-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--primary-lighter);
}

.guide-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.guide-card .guide-role {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.guide-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ─── Story Tagline Cards ─── */
.tagline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.tagline-item {
  padding: 40px 28px;
  text-align: center;
  position: relative;
}

.tagline-item + .tagline-item {
  border-left: 1px solid var(--hairline-soft);
}

.tagline-item .tagline-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.tagline-item h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.tagline-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ─── Affiliate / Partner Styles ─── */
.affiliate-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  text-decoration: underline;
  transition: color 0.2s;
  cursor: pointer;
}

.affiliate-link:hover { color: var(--primary); }

.affiliate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}

.affiliate-btn-booking {
  background: #003580;
  color: white;
}

.affiliate-btn-booking:hover {
  background: #00224f;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.affiliate-btn-partner {
  background: var(--secondary);
  color: white;
}

.affiliate-btn-partner:hover {
  background: var(--secondary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.affiliate-btn-outline {
  background: transparent;
  color: var(--secondary);
  border: 1.5px solid var(--secondary);
}

.affiliate-btn-outline:hover {
  background: var(--secondary);
  color: white;
}

.affiliate-disclosure {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  padding: 12px 0;
  border-top: 1px solid var(--hairline-soft);
  margin-top: 16px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--hairline-soft);
  transition: all 0.3s;
}

.partner-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.partner-card .partner-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 12px;
}

.partner-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.partner-card p {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.5;
}

.hotel-search-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.hotel-destination-card {
  padding: 20px 16px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--hairline-soft);
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.hotel-destination-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--secondary);
}

.hotel-destination-card .hotel-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.hotel-destination-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.hotel-destination-card p {
  font-size: 12px;
  color: var(--text-light);
}

.hotel-destination-card .booking-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: #003580;
  color: white;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ─── Animations ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.6s ease forwards;
}

.fade-up-d1 { animation-delay: 0.1s; }
.fade-up-d2 { animation-delay: 0.2s; }
.fade-up-d3 { animation-delay: 0.3s; }
.fade-up-d4 { animation-delay: 0.4s; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .product-tabs { display: none; }
  .mobile-toggle { display: flex; }
  .header-actions .btn { display: none; }

  .hero-content h1 { font-size: 34px; }
  .hero-content p { font-size: 17px; }
  .hero { min-height: 70vh; }

  .hero-search {
    flex-wrap: wrap;
    height: auto;
    border-radius: 20px;
    overflow: hidden;
  }

  .hero-search .search-field {
    padding: 0 16px;
    border-right: none;
    height: 48px;
  }

  .hero-search .search-field:first-of-type {
    padding-left: 16px;
  }

  .hero-search .search-field + .search-field {
    border-left: none;
    border-top: 1px solid rgba(0,0,0,0.06);
  }

  .hero-search .search-orb {
    width: 100%;
    height: 48px;
    border-radius: 0;
    margin: 0;
  }

  .section { padding: 56px 0; }
  .section-header h2 { font-size: 28px; }

  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .grid-2 { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }

  .page-hero h1 { font-size: 32px; }
  .page-hero { min-height: 35vh; }

  .cta-banner h2 { font-size: 28px; }
  .cta-banner { padding: 48px 20px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-card .number { font-size: 32px; }

  .trust-bar { gap: 24px; }
  .trust-item h4 { font-size: 20px; }

  .cart-sidebar { width: 100%; right: -100%; }
}

@media (max-width: 480px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 28px; }
  .hero-buttons .btn { width: 100%; text-align: center; justify-content: center; }
  .container { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ─── Trip Planner ─── */
.planner-section { padding: 48px 0 64px; }

/* Progress Bar */
.planner-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
  padding: 0 20px;
}
.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: default;
  position: relative;
}
.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--hairline);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  transition: var(--transition);
  border: 3px solid transparent;
}
.progress-step.active .step-circle,
.progress-step.completed .step-circle {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px var(--primary-lighter);
}
.progress-step .step-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
}
.progress-step.active .step-label,
.progress-step.completed .step-label {
  color: var(--primary);
}
.progress-connector {
  width: 60px;
  height: 3px;
  background: var(--hairline);
  margin: 0 8px;
  position: relative;
  top: -14px;
  border-radius: 2px;
  transition: var(--transition);
}
.progress-step.active + .progress-connector,
.progress-step.completed + .progress-connector {
  background: var(--primary);
}

/* Step Content */
.planner-content {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  min-height: 400px;
}
.planner-step {
  display: none;
  animation: plannerFadeIn 0.4s ease;
}
.planner-step.active { display: block; }
@keyframes plannerFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.step-header {
  text-align: center;
  margin-bottom: 32px;
}
.step-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
}
.step-header p {
  color: var(--text-light);
  margin-top: 8px;
  font-size: 16px;
}

/* Destination Cards */
.planner-destinations {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}
.planner-card {
  background: var(--bg);
  border: 2px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}
.planner-card:hover,
.planner-card:focus-visible {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.planner-card.selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-lighter);
}
.planner-card .pc-img {
  width: 100%;
  height: 140px;
  overflow: hidden;
}
.planner-card .pc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.planner-card:hover .pc-img img { transform: scale(1.08); }
.planner-card .pc-body {
  padding: 14px;
  position: relative;
}
.planner-card .pc-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.planner-card .pc-body p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.4;
}
.planner-card .pc-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 10px;
  background: var(--primary-lighter);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.planner-card.selected::after {
  content: '✓';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  z-index: 2;
}

/* Activity Tags */
.planner-activities {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.planner-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--bg);
  border: 2px solid var(--hairline);
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  outline: none;
  font-family: var(--font);
}
.planner-tag:hover,
.planner-tag:focus-visible {
  border-color: var(--primary-light);
  background: var(--primary-lighter);
}
.planner-tag.selected {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(211,84,0,0.25);
}
.planner-tag .tag-icon { font-size: 18px; }
.planner-tag.hidden { display: none; }

/* Activity Context Notice */
.planner-activity-context {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  padding: 12px 20px;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-light);
  border: 1px dashed var(--hairline);
}
.planner-activity-context .context-icon { font-size: 16px; }
.planner-activity-context.warning {
  background: var(--primary-lighter);
  color: var(--primary);
  border-color: var(--primary-light);
  font-weight: 600;
}

/* Sliders */
.planner-sliders {
  max-width: 500px;
  margin: 0 auto;
}
.slider-group {
  margin-bottom: 28px;
}
.slider-group label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}
.slider-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.planner-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--hairline);
  outline: none;
  transition: var(--transition);
}
.planner-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(211,84,0,0.3);
  transition: var(--transition);
}
.planner-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.planner-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(211,84,0,0.3);
}
.range-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  min-width: 80px;
  text-align: center;
}
.range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-muted);
}
.planner-date {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--hairline);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: var(--transition);
}
.planner-date:focus {
  border-color: var(--primary);
}

/* Budget Cards */
.planner-budget-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.budget-card {
  background: var(--bg);
  border: 2px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}
.budget-card:hover,
.budget-card:focus-visible {
  border-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.budget-card.selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-lighter);
}
.budget-card .budget-icon { font-size: 32px; margin-bottom: 12px; }
.budget-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.budget-card .budget-price { font-size: 20px; font-weight: 800; color: var(--primary); margin-bottom: 12px; }
.budget-card ul { list-style: none; padding: 0; }
.budget-card ul li {
  font-size: 13px;
  color: var(--text-light);
  padding: 3px 0;
}
.budget-card ul li::before { content: '✓ '; color: var(--green); }

/* Travel Style */
.planner-style-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.style-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 2px solid var(--hairline);
  border-radius: var(--radius-full);
  background: var(--bg);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  outline: none;
  font-family: var(--font);
}
.style-btn:hover,
.style-btn:focus-visible {
  border-color: var(--primary-light);
  background: var(--primary-lighter);
}
.style-btn.selected {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.style-btn .style-icon { font-size: 20px; }
.section-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  text-align: center;
}

/* Summary */
.planner-summary {
  background: var(--bg-warm);
  border-radius: var(--radius-lg);
  padding: 32px;
  min-height: 200px;
  border: 2px solid var(--hairline-soft);
}
.summary-loading {
  text-align: center;
  color: var(--text-light);
  font-size: 16px;
  padding: 40px 0;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.summary-item {
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
}
.summary-item .si-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.summary-item .si-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.summary-item .si-value .tag-pill {
  display: inline-block;
  padding: 2px 10px;
  background: var(--primary-lighter);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 12px;
  margin: 2px 3px;
}
.summary-cost-breakdown {
  grid-column: 1 / -1;
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-top: 8px;
}
.cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text);
}
.cost-row.total {
  border-top: 2px solid var(--hairline);
  margin-top: 8px;
  padding-top: 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}
.summary-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 28px;
}

/* Planner Navigation */
.planner-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 860px;
  margin: 36px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}
.planner-nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.step-counter {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
  .planner-progress { gap: 4px; padding: 0; }
  .progress-connector { width: 24px; }
  .progress-step .step-label { display: none; }
  .planner-destinations { grid-template-columns: 1fr; }
  .planner-budget-options { grid-template-columns: 1fr; }
  .summary-grid { grid-template-columns: 1fr; }
  .summary-actions { flex-direction: column; align-items: center; }
  .planner-nav { flex-direction: column; gap: 16px; }
  .planner-nav-right { width: 100%; justify-content: space-between; }
  .step-header h2 { font-size: 22px; }
}

/* ─── Fuel Cost Calculator ─── */
.fuel-section { padding: 48px 0 64px; }
.fuel-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

/* Calculator Card */
.fuel-calculator-card {
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.fuel-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.fuel-card-header .fuel-icon { font-size: 28px; }
.fuel-card-header h2 { font-size: 22px; font-weight: 700; }

.fuel-form { display: flex; flex-direction: column; gap: 20px; }
.fuel-field { display: flex; flex-direction: column; gap: 6px; position: relative; }
.fuel-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.fuel-unit { font-weight: 400; color: var(--text-light); font-size: 12px; }
.fuel-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.fuel-input-wrap input {
  width: 100%;
  padding: 12px 40px 12px 16px;
  border: 2px solid var(--hairline);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: var(--transition);
}
.fuel-input-wrap input:focus { border-color: var(--primary); }
.fuel-clear-btn {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  display: none;
}
.fuel-clear-btn.visible { display: block; }
.fuel-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  max-height: 200px;
  overflow-y: auto;
  z-index: 100;
  display: none;
  box-shadow: var(--shadow-md);
  margin-top: -2px;
}
.fuel-suggestions.open { display: block; }
.fuel-suggestions .fs-item {
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--hairline-soft);
  transition: var(--transition);
}
.fuel-suggestions .fs-item:last-child { border-bottom: none; }
.fuel-suggestions .fs-item:hover,
.fuel-suggestions .fs-item.active { background: var(--primary-lighter); }
.fuel-suggestions .fs-item .fs-type {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 8px;
}

/* Swap Button */
.fuel-swap-btn {
  align-self: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--hairline);
  background: var(--bg);
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin: -8px 0;
}
.fuel-swap-btn:hover {
  background: var(--primary-lighter);
  border-color: var(--primary);
}

/* Mileage Slider */
.fuel-slider-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.fuel-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--hairline);
  outline: none;
}
.fuel-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(211,84,0,0.3);
}
.fuel-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: none;
}
.fuel-range-val {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  min-width: 70px;
  text-align: center;
}
.fuel-preset-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.fuel-preset {
  padding: 5px 12px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-full);
  background: var(--bg);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
}
.fuel-preset:hover,
.fuel-preset.active {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-lighter);
}

/* Fuel Type */
.fuel-type-row {
  display: flex;
  gap: 8px;
}
.fuel-type-btn {
  flex: 1;
  padding: 12px 8px;
  border: 2px solid var(--hairline);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
  line-height: 1.3;
}
.fuel-type-btn small { font-weight: 400; font-size: 12px; color: var(--text-light); }
.fuel-type-btn:hover { border-color: var(--primary-light); }
.fuel-type-btn.selected {
  border-color: var(--primary);
  background: var(--primary-lighter);
  color: var(--primary);
}
.fuel-type-btn.selected small { color: var(--primary); }
.fuel-price-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.fuel-price-input {
  width: 100px;
  padding: 8px 12px;
  border: 2px solid var(--hairline);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  background: var(--bg);
  outline: none;
  text-align: center;
  font-family: var(--font);
}
.fuel-price-input:focus { border-color: var(--primary); }

/* Toggle Switch */
.fuel-toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  cursor: pointer;
}
.fuel-toggle input { display: none; }
.fuel-toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--hairline);
  border-radius: 26px;
  transition: var(--transition);
}
.fuel-toggle-slider::before {
  content: '';
  position: absolute;
  left: 3px;
  bottom: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.fuel-toggle input:checked + .fuel-toggle-slider { background: var(--primary); }
.fuel-toggle input:checked + .fuel-toggle-slider::before { transform: translateX(22px); }

/* Traveler Input */
.fuel-traveler-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fuel-traveler-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--hairline);
  background: var(--bg);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: var(--transition);
  font-family: var(--font);
}
.fuel-traveler-btn:hover { border-color: var(--primary); background: var(--primary-lighter); }
.fuel-traveler-input {
  width: 60px;
  text-align: center;
  padding: 8px;
  border: 2px solid var(--hairline);
  border-radius: var(--radius-sm);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
}

/* Calculate Button */
.fuel-calc-btn {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  margin-top: 8px;
}
.fuel-calc-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Results Card */
.fuel-results-card {
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  min-height: 400px;
}
.fuel-results-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}
.fuel-results-placeholder .placeholder-icon { font-size: 64px; margin-bottom: 16px; opacity: 0.4; }
.fuel-results-placeholder h3 { font-size: 20px; color: var(--text); margin-bottom: 8px; }
.fuel-results-content { display: none; }
.fuel-results-content.visible { display: block; animation: plannerFadeIn 0.5s ease; }

.result-route-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 15px;
  font-weight: 600;
}
.result-route-bar .route-arrow { color: var(--primary); font-size: 20px; }

.result-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.metric-card {
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  text-align: center;
  border: 1px solid var(--hairline-soft);
}
.metric-card .metric-icon { font-size: 28px; margin-bottom: 6px; }
.metric-card .metric-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}
.metric-card .metric-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-top: 4px;
}
.metric-card .metric-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Breakdown table */
.result-details { margin-bottom: 24px; }
.result-details h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--hairline);
}
.result-table { width: 100%; border-collapse: collapse; }
.result-table tr td {
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--hairline-soft);
}
.result-table tr td:first-child { color: var(--text-light); width: 50%; }
.result-table tr td:last-child { font-weight: 600; text-align: right; }
.result-table .result-total-row td {
  font-size: 16px;
  font-weight: 700;
  padding-top: 12px;
  border-top: 2px solid var(--hairline);
  border-bottom: none;
  color: var(--primary);
}

/* Comparison */
.result-compare { margin-bottom: 24px; }
.result-compare h4 { font-size: 14px; font-weight: 600; color: var(--text-light); margin-bottom: 10px; }
.compare-items { display: flex; flex-direction: column; gap: 6px; }
.compare-item {
  font-size: 13px;
  color: var(--text);
  padding: 8px 12px;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
}

/* Map */
.fuel-map-section {
  margin-top: 28px;
  display: none;
}
.fuel-map-section.visible { display: block; }
.fuel-map-section h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.fuel-map {
  height: 350px;
  border-radius: var(--radius-md);
  border: 1px solid var(--hairline);
  z-index: 1;
}

/* Recent Routes */
.fuel-recent {
  margin-top: 28px;
  display: none;
}
.fuel-recent.visible { display: block; }
.fuel-recent h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.recent-list { display: flex; flex-direction: column; gap: 8px; }
.recent-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}
.recent-item:hover { border-color: var(--primary-light); }
.recent-item .ri-route {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.recent-item .ri-route .ri-arrow { color: var(--primary); }
.recent-item .ri-cost { font-size: 14px; font-weight: 700; color: var(--primary); }
.recent-item .ri-date { font-size: 12px; color: var(--text-muted); margin-left: 12px; }

/* Tips */
.fuel-tips { margin-top: 40px; }
.fuel-tips h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.tip-card {
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  padding: 20px;
  border: 1px solid var(--hairline-soft);
}
.tip-card .tip-icon { font-size: 24px; margin-bottom: 8px; display: block; }
.tip-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.tip-card p { font-size: 13px; color: var(--text-light); line-height: 1.5; }

/* Loading spinner */
.fuel-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: fuelSpin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}
@keyframes fuelSpin { to { transform: rotate(360deg); } }

/* Responsive */
@media (max-width: 900px) {
  .fuel-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .result-metrics { grid-template-columns: repeat(2, 1fr); }
  .fuel-type-row { flex-direction: column; }
  .fuel-preset-tags { gap: 4px; }
  .fuel-preset { font-size: 11px; padding: 4px 10px; }
  .tips-grid { grid-template-columns: 1fr; }
}

/* ─── Video Gallery (media.html) ─── */
.media-section { padding: 48px 0 64px; }

/* Filters */
.media-filters {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.media-filter {
  padding: 8px 20px;
  border: 2px solid var(--hairline);
  border-radius: var(--radius-full);
  background: var(--bg);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
}
.media-filter:hover { border-color: var(--primary-light); }
.media-filter.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Grid */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.media-card {
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  animation: mediaCardIn 0.4s ease;
}
.media-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
@keyframes mediaCardIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.media-card.hidden { display: none; }

.mc-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-alt);
  overflow: hidden;
}
.mc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.media-card:hover .mc-thumb img { transform: scale(1.05); }
.mc-thumb .mc-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  transition: var(--transition);
  opacity: 0;
}
.media-card:hover .mc-play { opacity: 1; }
.mc-play-icon {
  width: 56px;
  height: 56px;
  background: rgba(211,84,0,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.mc-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.mc-body {
  padding: 14px;
}
.mc-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mc-body .mc-channel {
  font-size: 13px;
  color: var(--text-light);
}
.mc-body .mc-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.mc-badge {
  display: inline-block;
  padding: 2px 10px;
  background: var(--primary-lighter);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
}
.mc-views {
  font-size: 12px;
  color: var(--text-muted);
}

/* Loading */
.media-loading {
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  color: var(--text-light);
}
.media-loading.visible { display: flex; }
.ml-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--hairline);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: mediaSpin 0.7s linear infinite;
  margin-bottom: 12px;
}
@keyframes mediaSpin { to { transform: rotate(360deg); } }

/* Lightbox */
.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.media-lightbox.open { display: flex; }
.ml-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(4px);
}
.ml-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: mlIn 0.3s ease;
}
@keyframes mlIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.ml-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.ml-close:hover { background: rgba(0,0,0,0.8); }
.ml-video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}
.ml-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ml-error {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #111;
  color: #ccc;
  text-align: center;
  padding: 20px;
  gap: 12px;
}
.ml-error p { margin: 0; font-size: 15px; }
.ml-error .btn { font-size: 14px; padding: 10px 24px; }
.ml-error.visible { display: flex; }
.ml-info {
  padding: 20px 24px;
}
.ml-info h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.ml-info .ml-channel { font-size: 14px; color: var(--text-light); }

@media (max-width: 600px) {
  .media-grid { grid-template-columns: 1fr; }
  .ml-content { width: 100%; border-radius: 0; }
}

/* Pagination */
.media-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
}
.pg-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 2px solid var(--hairline);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.pg-btn:hover:not(:disabled) { border-color: var(--primary-light); }
.pg-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.pg-btn:disabled { opacity: 0.35; cursor: default; }
.pg-btn .pg-arrow { font-size: 16px; }
.pg-dots {
  padding: 0 4px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 2px;
}

/* ─── Packing Checklist ─── */
.checklist-section .container {
  max-width: 900px;
}

.checklist-config .config-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.checklist-config .config-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  margin-bottom: 6px;
}

.checklist-config .config-field select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--hairline);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s;
  appearance: auto;
}

.checklist-config .config-field select:focus {
  border-color: var(--primary);
  outline: none;
}

.checklist-output {
  margin-top: 40px;
}

.checklist-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--hairline);
}

.checklist-header h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.checklist-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.checklist-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
}

.progress-track {
  width: 120px;
  height: 6px;
  background: var(--hairline);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 4px;
  transition: width 0.4s ease;
}

.checklist-group {
  margin-bottom: 28px;
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.checklist-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--hairline);
  cursor: pointer;
  user-select: none;
}

.checklist-group-header h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
}

.checklist-group-header .group-toggle {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font);
  padding: 2px 8px;
  border-radius: 4px;
  transition: background 0.15s;
}

.checklist-group-header .group-toggle:hover {
  background: rgba(211,84,0,0.08);
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  transition: background 0.15s;
}

.checklist-item:hover {
  background: var(--bg-alt);
}

.checklist-item + .checklist-item {
  border-top: 1px solid var(--hairline);
}

.checklist-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
  margin: 0;
}

.checklist-item label {
  flex: 1;
  font-size: 14px;
  cursor: pointer;
  color: var(--text);
  transition: color 0.2s;
}

.checklist-item.checked label {
  color: var(--text-light);
  text-decoration: line-through;
}

.checklist-item .item-extra {
  font-size: 12px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.checklist-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .checklist-config .config-grid {
    grid-template-columns: 1fr 1fr;
  }
  .checklist-header {
    flex-direction: column;
  }
  .checklist-actions {
    width: 100%;
  }
  .checklist-progress {
    flex: 1;
  }
  .progress-track {
    flex: 1;
  }
}

@media print {
  .header, .footer, .mobile-menu, .header-actions, .checklist-header .checklist-actions, #pc-generate, .checklist-config { display: none !important; }
  .checklist-section .container { max-width: 100%; }
  .checklist-output { margin-top: 0; }
  .checklist-item input[type="checkbox"] { display: none; }
  .checklist-item.checked label { text-decoration: none; }
  .checklist-item.checked::before { content: "✓ "; color: var(--primary); font-weight: 700; }
  body { background: white; color: black; }
  .checklist-group { border: 1px solid #ddd; break-inside: avoid; }
  .checklist-group-header { background: #f5f5f5; }
}
