/* ═════════════════════════════════════════════════════════════════════════════
   TRIPDUST BIG BRAND TYPOGRAPHY SYSTEM v3.0
   Inspired by: Expedia, Agoda, Booking.com, MakeMyTrip
   Strategy: Clean, modern sans-serif for premium travel brand feel
═════════════════════════════════════════════════════════════════════════════ */

body.tripdust-premium-type {
  /* Big Brand Font Stack - Modern, Clean, Professional */
  --td-font-display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --td-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  --td-font-mono: "SF Mono", "Monaco", "Cascadia Code", monospace;

  /* Premium Color Tokens - Big Brand Style */
  --td-color-heading: #111827;       /* Deep charcoal - professional */
  --td-color-body: #374151;          /* Refined gray */
  --td-color-muted: #6b7280;         /* Subtle text */
  --td-color-accent: #f97316;        /* Warm orange accent (TripDust brand) */
  --td-color-link: #2563eb;          /* Professional blue for links */
  --td-color-success: #10b981;       /* Success green */

  /* Big Brand Typography Scale - Clean & Bold */
  --td-size-h1: clamp(36px, 4.5vw, 56px);
  --td-size-h2: clamp(28px, 3.2vw, 40px);
  --td-size-h3: clamp(22px, 2.4vw, 28px);
  --td-size-h4: clamp(18px, 1.8vw, 22px);
  --td-size-h5: clamp(16px, 1.4vw, 18px);
  --td-size-h6: clamp(14px, 1.2vw, 16px);
  --td-size-body: 16px;
  --td-size-small: 14px;
  --td-size-xs: 12px;

  /* Premium Line Heights - Big Brand Style */
  --td-leading-h1: 1.1;              /* Tight for impact */
  --td-leading-h2: 1.15;
  --td-leading-h3: 1.25;
  --td-leading-h4: 1.3;
  --td-leading-h5: 1.4;
  --td-leading-h6: 1.4;
  --td-leading-body: 1.6;            /* Comfortable reading */
  --td-leading-tight: 1.3;

  /* Big Brand Spacing System */
  --td-space-xs: 0.5rem;
  --td-space-sm: 1rem;
  --td-space-md: 1.5rem;
  --td-space-lg: 2.5rem;
  --td-space-xl: 4rem;
  --td-space-2xl: 6rem;

  /* Optimal Reading Width */
  --td-content-width: 70ch;
}

/* ═════════════════════════════════════════════════════════════════════════════
   BASE TYPOGRAPHY - Body & Global Text
═════════════════════════════════════════════════════════════════════════════ */

body.tripdust-premium-type,
body.tripdust-premium-type button,
body.tripdust-premium-type input,
body.tripdust-premium-type select,
body.tripdust-premium-type textarea {
  font-family: var(--td-font-body);
  font-size: var(--td-size-body);
  font-weight: 400;
  line-height: var(--td-leading-body);
  letter-spacing: -0.01em;
  color: var(--td-color-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

/* Paragraphs */
body.tripdust-premium-type p,
body.tripdust-premium-type .elementor-widget-text-editor,
body.tripdust-premium-type .elementor-widget-text-editor p {
  font-family: var(--td-font-body);
  font-size: var(--td-size-body);
  line-height: var(--td-leading-body);
  letter-spacing: -0.01em;
  color: var(--td-color-body);
  max-width: var(--td-content-width);
}

body.tripdust-premium-type p {
  margin: 0 0 1.25em;
}

body.tripdust-premium-type p:last-child {
  margin-bottom: 0;
}

/* Lead/Intro Text - For hero sections */
body.tripdust-premium-type .td-lead,
body.tripdust-premium-type p.lead,
body.tripdust-premium-type .elementor-widget-text-editor p:first-of-type {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--td-color-heading);
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* ═════════════════════════════════════════════════════════════════════════════
   BIG BRAND HEADINGS - Bold, Clean, Impactful
═════════════════════════════════════════════════════════════════════════════ */

body.tripdust-premium-type h1,
body.tripdust-premium-type h2,
body.tripdust-premium-type h3,
body.tripdust-premium-type h4,
body.tripdust-premium-type h5,
body.tripdust-premium-type h6,
body.tripdust-premium-type .elementor-widget-heading .elementor-heading-title {
  font-family: var(--td-font-display);
  color: var(--td-color-heading);
  margin-top: 0;
  font-weight: 700; /* Bold for big brand impact */
  font-feature-settings: "liga" 1, "kern" 1;
}

/* H1 - Hero/Title */
body.tripdust-premium-type h1,
body.tripdust-premium-type h1.elementor-heading-title {
  font-size: var(--td-size-h1);
  line-height: var(--td-leading-h1);
  font-weight: 800; /* Extra bold for hero */
  letter-spacing: -0.03em; /* Tight tracking for impact */
  margin-bottom: 0.5em;
}

/* H2 - Section Headers */
body.tripdust-premium-type h2,
body.tripdust-premium-type h2.elementor-heading-title {
  font-size: var(--td-size-h2);
  line-height: var(--td-leading-h2);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.6em;
}

/* H3 - Subsection Headers */
body.tripdust-premium-type h3,
body.tripdust-premium-type h3.elementor-heading-title {
  font-size: var(--td-size-h3);
  line-height: var(--td-leading-h3);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75em;
}

/* H4 - Card Titles */
body.tripdust-premium-type h4,
body.tripdust-premium-type h4.elementor-heading-title {
  font-size: var(--td-size-h4);
  line-height: var(--td-leading-h4);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.5em;
}

/* H5 - Small Headers */
body.tripdust-premium-type h5,
body.tripdust-premium-type h5.elementor-heading-title {
  font-size: var(--td-size-h5);
  line-height: var(--td-leading-h5);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.5em;
}

/* H6 - Labels/Small Headers */
body.tripdust-premium-type h6,
body.tripdust-premium-type h6.elementor-heading-title {
  font-size: var(--td-size-h6);
  line-height: var(--td-leading-h6);
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 0.5em;
  text-transform: none; /* No uppercase - modern style */
}

/* ═════════════════════════════════════════════════════════════════════════════
   BIG BRAND TEXT UTILITIES
═════════════════════════════════════════════════════════════════════════════ */

/* Eyebrow/Kicker - Small text above headings (like Expedia/Agoda) */
body.tripdust-premium-type .td-kicker,
body.tripdust-premium-type .kicker,
body.tripdust-premium-type [class*="eyebrow"],
body.tripdust-premium-type .td-eyebrow {
  font-family: var(--td-font-body);
  font-size: var(--td-size-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--td-color-accent);
  margin-bottom: 0.75em;
  display: block;
}

/* Caption/Small Text */
body.tripdust-premium-type .td-caption,
body.tripdust-premium-type figcaption,
body.tripdust-premium-type .wp-caption-text,
body.tripdust-premium-type small {
  font-family: var(--td-font-body);
  font-size: var(--td-size-small);
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--td-color-muted);
  font-weight: 400;
}

/* Label/Badge Text */
body.tripdust-premium-type .td-label,
body.tripdust-premium-type .label {
  font-family: var(--td-font-body);
  font-size: var(--td-size-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--td-color-muted);
}

/* Strong/Bold */
body.tripdust-premium-type strong,
body.tripdust-premium-type b {
  font-weight: 600;
  color: var(--td-color-heading);
}

/* ═════════════════════════════════════════════════════════════════════════════
   LINKS - Clean, Professional
═════════════════════════════════════════════════════════════════════════════ */

body.tripdust-premium-type a {
  color: var(--td-color-link);
  text-decoration: none;
  transition: color 0.2s ease;
}

body.tripdust-premium-type a:hover {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-decoration-thickness: 1.5px;
}

body.tripdust-premium-type .elementor-widget-heading .elementor-heading-title a {
  color: inherit;
  text-decoration: none;
}

body.tripdust-premium-type .elementor-widget-heading .elementor-heading-title a:hover {
  opacity: 0.8;
  text-decoration: none;
}

/* ═════════════════════════════════════════════════════════════════════════════
   BIG BRAND BUTTONS - Bold, Rounded, Impactful
═════════════════════════════════════════════════════════════════════════════ */

body.tripdust-premium-type .elementor-button,
body.tripdust-premium-type .wp-element-button,
body.tripdust-premium-type button[type="submit"],
body.tripdust-premium-type input[type="submit"] {
  font-family: var(--td-font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none; /* No uppercase for modern feel */
  font-size: var(--td-size-body);
  line-height: 1.5;
  padding: 0.875rem 1.5rem;
  border-radius: 8px; /* Rounded like big brands */
  transition: all 0.2s ease;
}

/* Primary Button Style */
body.tripdust-premium-type .elementor-button.elementor-size-xl,
body.tripdust-premium-type .elementor-button.elementor-size-lg {
  font-size: 1.125rem;
  padding: 1rem 2rem;
  font-weight: 600;
}

/* Small Button */
body.tripdust-premium-type .elementor-button.elementor-size-sm,
body.tripdust-premium-type .elementor-button.elementor-size-xs {
  font-size: var(--td-size-small);
  padding: 0.625rem 1rem;
}

/* Button Text */
body.tripdust-premium-type .elementor-button-text,
body.tripdust-premium-type .elementor-icon-list-text {
  font-family: var(--td-font-display);
  letter-spacing: -0.01em;
}

/* ═════════════════════════════════════════════════════════════════════════════
   LISTS - Clean, Modern
═════════════════════════════════════════════════════════════════════════════ */

body.tripdust-premium-type ul,
body.tripdust-premium-type ol {
  margin: 0 0 1.25em;
  padding-left: 1.5em;
}

body.tripdust-premium-type li {
  margin-bottom: 0.5em;
  line-height: var(--td-leading-body);
}

body.tripdust-premium-type li:last-child {
  margin-bottom: 0;
}

/* ═════════════════════════════════════════════════════════════════════════════
   FORMS - Clean Input Typography
═════════════════════════════════════════════════════════════════════════════ */

body.tripdust-premium-type input,
body.tripdust-premium-type textarea,
body.tripdust-premium-type select {
  font-family: var(--td-font-body);
  font-size: var(--td-size-body);
  letter-spacing: -0.01em;
}

body.tripdust-premium-type label,
body.tripdust-premium-type .form-label {
  font-family: var(--td-font-body);
  font-size: var(--td-size-small);
  font-weight: 500;
  color: var(--td-color-heading);
  margin-bottom: 0.5em;
}

body.tripdust-premium-type ::placeholder {
  color: var(--td-color-muted);
  opacity: 0.7;
}

/* ═════════════════════════════════════════════════════════════════════════════
   NAVIGATION - Clean, Professional Menu
═════════════════════════════════════════════════════════════════════════════ */

body.tripdust-premium-type .elementor-nav-menu a,
body.tripdust-premium-type nav a,
body.tripdust-premium-type .menu a,
body.tripdust-premium-type .nav-link {
  font-family: var(--td-font-body);
  font-size: var(--td-size-small);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none; /* No uppercase - modern style */
  text-decoration: none;
  color: var(--td-color-heading);
  transition: color 0.2s ease;
}

body.tripdust-premium-type .elementor-nav-menu a:hover,
body.tripdust-premium-type nav a:hover,
body.tripdust-premium-type .menu a:hover {
  color: var(--td-color-accent);
}

/* ═════════════════════════════════════════════════════════════════════════════
   CARDS & COMPONENTS - Big Brand Style
═════════════════════════════════════════════════════════════════════════════ */

/* Card Title */
body.tripdust-premium-type .td-card-title,
body.tripdust-premium-type [class*="card"] h3,
body.tripdust-premium-type [class*="card"] h4,
body.tripdust-premium-type .product-title,
body.tripdust-premium-type .woocommerce-loop-product__title {
  font-family: var(--td-font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--td-color-heading);
}

/* Card Subtitle/Meta */
body.tripdust-premium-type .td-card-subtitle,
body.tripdust-premium-type [class*="card"] .subtitle,
body.tripdust-premium-type .product-meta,
body.tripdust-premium-type .woocommerce-product-category {
  font-family: var(--td-font-body);
  font-size: var(--td-size-small);
  letter-spacing: -0.01em;
  color: var(--td-color-muted);
}

/* ═════════════════════════════════════════════════════════════════════════════
   PRICE TYPOGRAPHY - Big Brand Style
═════════════════════════════════════════════════════════════════════════════ */

body.tripdust-premium-type .td-price,
body.tripdust-premium-type [class*="price"],
body.tripdust-premium-type .woocommerce-Price-amount,
body.tripdust-premium-type .product-price {
  font-family: var(--td-font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum" 1;
  color: var(--td-color-heading);
}

body.tripdust-premium-type .td-price-currency,
body.tripdust-premium-type .woocommerce-Price-currencySymbol {
  font-size: 0.75em;
  font-weight: 600;
  vertical-align: super;
  margin-right: 0.1em;
}

body.tripdust-premium-type .td-price-original,
body.tripdust-premium-type .price del {
  font-weight: 400;
  color: var(--td-color-muted);
  text-decoration: line-through;
}

body.tripdust-premium-type .td-price-discount,
body.tripdust-premium-type .price ins {
  font-weight: 700;
  color: var(--td-color-accent);
  text-decoration: none;
}

/* Discount Badge */
body.tripdust-premium-type .td-discount-badge,
body.tripdust-premium-type .onsale {
  font-family: var(--td-font-body);
  font-size: var(--td-size-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.25em 0.75em;
  border-radius: 4px;
  background-color: var(--td-color-success);
  color: white;
}

/* ═════════════════════════════════════════════════════════════════════════════
   RATING & REVIEWS
═════════════════════════════════════════════════════════════════════════════ */

body.tripdust-premium-type .td-rating,
body.tripdust-premium-type .star-rating,
body.tripdust-premium-type .review-count {
  font-family: var(--td-font-body);
  font-size: var(--td-size-small);
  font-weight: 600;
  letter-spacing: -0.01em;
}

body.tripdust-premium-type .td-rating-score {
  font-family: var(--td-font-display);
  font-weight: 700;
  color: var(--td-color-heading);
}

body.tripdust-premium-type .td-rating-label {
  font-family: var(--td-font-body);
  font-size: var(--td-size-small);
  color: var(--td-color-muted);
}

/* ═════════════════════════════════════════════════════════════════════════════
   BLOCKQUOTE - Clean, Modern
═════════════════════════════════════════════════════════════════════════════ */

body.tripdust-premium-type blockquote {
  margin: var(--td-space-lg) 0;
  padding: var(--td-space-md) var(--td-space-lg);
  border-left: 3px solid var(--td-color-accent);
  font-family: var(--td-font-display);
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--td-color-heading);
  font-style: normal;
}

body.tripdust-premium-type blockquote cite,
body.tripdust-premium-type blockquote footer {
  display: block;
  margin-top: 1em;
  font-family: var(--td-font-body);
  font-size: var(--td-size-small);
  font-weight: 500;
  letter-spacing: 0;
  font-style: normal;
  color: var(--td-color-muted);
}

/* ═════════════════════════════════════════════════════════════════════════════
   DIVIDERS
═════════════════════════════════════════════════════════════════════════════ */

body.tripdust-premium-type hr,
body.tripdust-premium-type .td-divider {
  border: none;
  height: 1px;
  background-color: #e5e7eb;
  margin: var(--td-space-lg) 0;
}

/* ═════════════════════════════════════════════════════════════════════════════
   SELECTION STYLING
═════════════════════════════════════════════════════════════════════════════ */

body.tripdust-premium-type ::selection {
  background-color: var(--td-color-accent);
  color: white;
}

body.tripdust-premium-type ::-moz-selection {
  background-color: var(--td-color-accent);
  color: white;
}

/* ═════════════════════════════════════════════════════════════════════════════
   ELEMENTOR SPECIFIC FIXES
═════════════════════════════════════════════════════════════════════════════ */

body.tripdust-premium-type .elementor-widget-heading > .elementor-widget-container,
body.tripdust-premium-type .elementor-widget-text-editor > .elementor-widget-container {
  margin-top: 0 !important;
}

body.tripdust-premium-type .elementor-widget-heading {
  margin-bottom: var(--td-space-sm);
}

body.tripdust-premium-type .elementor-widget-text-editor {
  margin-bottom: var(--td-space-md);
}

body.tripdust-premium-type .elementor-section {
  margin-bottom: var(--td-space-lg);
}

/* Icon List */
body.tripdust-premium-type .elementor-icon-list-item {
  font-family: var(--td-font-body);
  font-size: var(--td-size-body);
  letter-spacing: -0.01em;
}

/* Counter */
body.tripdust-premium-type .elementor-counter-number-wrapper {
  font-family: var(--td-font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Progress Bar */
body.tripdust-premium-type .elementor-progress-text,
body.tripdust-premium-type .elementor-progress-percentage {
  font-family: var(--td-font-body);
  font-size: var(--td-size-small);
  font-weight: 500;
}

/* Tabs & Accordion */
body.tripdust-premium-type .elementor-tab-title,
body.tripdust-premium-type .elementor-accordion-title {
  font-family: var(--td-font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--td-color-heading);
}

body.tripdust-premium-type .elementor-tab-content {
  font-family: var(--td-font-body);
  font-size: var(--td-size-body);
  line-height: var(--td-leading-body);
}

/* ═════════════════════════════════════════════════════════════════════════════
   WOOCOMMERCE TYPOGRAPHY
═════════════════════════════════════════════════════════════════════════════ */

/* Product Title */
body.tripdust-premium-type .product .product_title,
body.tripdust-premium-type .product-title {
  font-family: var(--td-font-display);
  font-size: var(--td-size-h2);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--td-color-heading);
}

/* Product Short Description */
body.tripdust-premium-type .woocommerce-product-details__short-description {
  font-family: var(--td-font-body);
  font-size: var(--td-size-body);
  line-height: var(--td-leading-body);
}

/* Add to Cart Button */
body.tripdust-premium-type .single_add_to_cart_button,
body.tripdust-premium-type .add_to_cart_button {
  font-family: var(--td-font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: var(--td-size-body);
}

/* ═════════════════════════════════════════════════════════════════════════════
   RESPONSIVE TYPOGRAPHY
═════════════════════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  body.tripdust-premium-type {
    --td-space-lg: 2rem;
    --td-space-xl: 3rem;
    --td-space-2xl: 4rem;
  }
  
  body.tripdust-premium-type h1,
  body.tripdust-premium-type h1.elementor-heading-title {
    letter-spacing: -0.02em;
  }
  
  body.tripdust-premium-type h2,
  body.tripdust-premium-type h2.elementor-heading-title {
    letter-spacing: -0.015em;
  }
}

/* Mobile */
@media (max-width: 767px) {
  body.tripdust-premium-type {
    --td-space-sm: 0.875rem;
    --td-space-md: 1.25rem;
    --td-space-lg: 1.75rem;
    --td-space-xl: 2.5rem;
    --td-space-2xl: 3.5rem;
  }
  
  body.tripdust-premium-type,
  body.tripdust-premium-type p,
  body.tripdust-premium-type .elementor-widget-text-editor,
  body.tripdust-premium-type .elementor-widget-text-editor p {
    font-size: 15px;
  }
  
  body.tripdust-premium-type .td-lead,
  body.tripdust-premium-type p.lead {
    font-size: 1.125rem;
  }
  
  body.tripdust-premium-type h1,
  body.tripdust-premium-type h1.elementor-heading-title {
    letter-spacing: -0.02em;
    line-height: 1.15;
  }
  
  body.tripdust-premium-type h2,
  body.tripdust-premium-type h2.elementor-heading-title {
    letter-spacing: -0.015em;
  }
  
  body.tripdust-premium-type .elementor-button,
  body.tripdust-premium-type .wp-element-button {
    font-size: var(--td-size-small);
    padding: 0.75rem 1.25rem;
  }
  
  body.tripdust-premium-type blockquote {
    margin: var(--td-space-md) 0;
    padding: var(--td-space-sm) var(--td-space-md);
    font-size: 1.125rem;
  }
  
  body.tripdust-premium-type .td-kicker,
  body.tripdust-premium-type .kicker {
    font-size: 11px;
    letter-spacing: 0.06em;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  body.tripdust-premium-type {
    --td-space-xs: 0.375rem;
    --td-space-sm: 0.75rem;
    --td-space-md: 1rem;
    --td-space-lg: 1.5rem;
    --td-space-xl: 2rem;
  }
  
  body.tripdust-premium-type,
  body.tripdust-premium-type p {
    font-size: 15px;
  }
}
