/* =========================================================
   HIMALAYA TREK PRO — Design Variant 2: Clean / Minimal
   Namespaced with .htp2- to avoid clashing with the default theme styles.
   Enqueued only on pages using the "Front Page (Minimal)" or
   "Tour Detail (Minimal)" templates.
   ========================================================= */

:root{
  --htp2-ink: #16242b;
  --htp2-teal: #0f7a6c;
  --htp2-teal-dark: #0b5c52;
  --htp2-blue: #2c6e8f;
  --htp2-bg: #ffffff;
  --htp2-bg-soft: #f6f9f9;
  --htp2-line: #e2e8e7;
  --htp2-muted: #6c7c7a;
  --htp2-radius: 4px;
}

.htp2 * { box-sizing: border-box; }
.htp2 { font-family: var(--htp-font-body); color: var(--htp2-ink); background: var(--htp2-bg); }
.htp2 h1, .htp2 h2, .htp2 h3, .htp2 h4 { font-family: var(--htp-font-heading); font-weight: 600; color: var(--htp2-ink); letter-spacing: -0.01em; }
.htp2 .container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* Buttons */
.htp2 .btn2 {
  display: inline-block; padding: 13px 30px; border-radius: var(--htp2-radius);
  background: var(--htp2-teal); color: #fff; font-weight: 600; font-size: 14px;
  letter-spacing: .02em; border: 1px solid var(--htp2-teal); transition: all .2s ease;
}
.htp2 .btn2:hover { background: var(--htp2-teal-dark); color: #fff; }
.htp2 .btn2-ghost { background: transparent; color: var(--htp2-ink); border: 1px solid var(--htp2-line); }
.htp2 .btn2-ghost:hover { border-color: var(--htp2-teal); color: var(--htp2-teal); }

/* =========================================================
   HERO — minimal, lots of whitespace, thin rule lines
   ========================================================= */
.htp2-hero { padding: 90px 0 50px; border-bottom: 1px solid var(--htp2-line); }
.htp2-hero .eyebrow {
  text-transform: uppercase; font-size: 12px; letter-spacing: .14em; color: var(--htp2-teal); font-weight: 600;
}
.htp2-hero h1 { font-size: 46px; max-width: 680px; margin: 14px 0 16px; line-height: 1.15; }
.htp2-hero p { font-size: 17px; color: var(--htp2-muted); max-width: 540px; margin-bottom: 28px; }
.htp2-hero-actions { display: flex; gap: 14px; }

/* Search bar — thin underline style instead of card */
.htp2-search {
  margin-top: 50px; display: grid; grid-template-columns: 2fr 1fr 1fr auto;
  border-top: 1px solid var(--htp2-line); border-bottom: 1px solid var(--htp2-line);
}
.htp2-search > div { padding: 18px 22px; border-right: 1px solid var(--htp2-line); }
.htp2-search > div:last-child { border-right: none; display:flex; align-items:center; }
.htp2-search label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--htp2-muted); margin-bottom: 6px; }
.htp2-search select, .htp2-search input { border: none; padding: 0; font-size: 15px; width: 100%; background: transparent; }
.htp2-search select:focus, .htp2-search input:focus { outline: none; }
.htp2-search .btn2 { width: 100%; border-radius: 0; }
@media (max-width: 880px){ .htp2-search { grid-template-columns: 1fr; } .htp2-search > div { border-right: none; border-bottom: 1px solid var(--htp2-line); } }

/* =========================================================
   REGION GRID — image tiles, minimal labels
   ========================================================= */
.htp2-section { padding: 80px 0; }
.htp2-section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 36px; flex-wrap: wrap; gap: 10px; }
.htp2-section-head h2 { font-size: 28px; margin: 0; }
.htp2-section-head a { font-size: 13px; color: var(--htp2-teal); font-weight: 600; }

.htp2-region-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 980px){ .htp2-region-grid { grid-template-columns: repeat(2,1fr); } }
.htp2-region-tile { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: var(--htp2-radius); }
.htp2-region-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.htp2-region-tile:hover img { transform: scale(1.05); }
.htp2-region-tile .overlay {
  position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(15,30,28,.75));
  display: flex; align-items: flex-end; padding: 18px;
}
.htp2-region-tile .overlay span { color: #fff; font-weight: 600; font-size: 15px; }

/* =========================================================
   TRIP CATEGORY TILES — flat icon cards
   ========================================================= */
.htp2-category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--htp2-line); border-radius: var(--htp2-radius); overflow: hidden; }
.htp2-category-grid a {
  padding: 30px 18px; text-align: center; border-right: 1px solid var(--htp2-line);
  background: var(--htp2-bg); transition: background .2s ease;
}
.htp2-category-grid a:last-child { border-right: none; }
.htp2-category-grid a:hover { background: var(--htp2-bg-soft); }
.htp2-category-grid .icon { font-size: 26px; margin-bottom: 10px; display: block; }
.htp2-category-grid .label { font-size: 13px; font-weight: 600; color: var(--htp2-ink); }
@media (max-width: 880px){ .htp2-category-grid { grid-template-columns: repeat(2,1fr); } .htp2-category-grid a { border-bottom: 1px solid var(--htp2-line); } }

/* =========================================================
   TOUR LIST — minimal row-style cards (not boxed)
   ========================================================= */
.htp2-tour-row {
  display: grid; grid-template-columns: 280px 1fr auto; gap: 28px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--htp2-line);
}
.htp2-tour-row .thumb { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--htp2-radius); }
.htp2-tour-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.htp2-tour-row h3 { font-size: 19px; margin: 0 0 8px; }
.htp2-tour-row .meta-line { font-size: 13px; color: var(--htp2-muted); margin-bottom: 8px; }
.htp2-tour-row .meta-line span:not(:last-child)::after { content: '·'; margin: 0 8px; color: var(--htp2-line); }
.htp2-tour-row .price-col { text-align: right; min-width: 140px; }
.htp2-tour-row .price-col .amount { font-size: 20px; font-weight: 700; color: var(--htp2-teal-dark); display: block; }
.htp2-tour-row .price-col .from { font-size: 11px; color: var(--htp2-muted); }
@media (max-width: 760px){ .htp2-tour-row { grid-template-columns: 1fr; } .htp2-tour-row .price-col { text-align: left; } }

/* Stats — thin rule strip, no color block */
.htp2-stats { border-top: 1px solid var(--htp2-line); border-bottom: 1px solid var(--htp2-line); padding: 40px 0; }
.htp2-stats .grid { display: grid; grid-template-columns: repeat(4,1fr); text-align: center; }
.htp2-stats .num { font-size: 30px; font-weight: 700; color: var(--htp2-teal-dark); }
.htp2-stats .label { font-size: 13px; color: var(--htp2-muted); }
@media (max-width: 760px){ .htp2-stats .grid { grid-template-columns: repeat(2,1fr); gap: 24px; } }

/* Testimonials — quote style, no card shadow */
.htp2-testimonial { border-left: 2px solid var(--htp2-teal); padding-left: 22px; }
.htp2-testimonial p { font-size: 16px; color: var(--htp2-ink); }
.htp2-testimonial .author { font-size: 13px; color: var(--htp2-muted); margin-top: 10px; }

/* =========================================================
   TOUR DETAIL PAGE — V2
   ========================================================= */
.htp2-tour-header { padding: 50px 0 30px; border-bottom: 1px solid var(--htp2-line); }
.htp2-tour-header .breadcrumb { font-size: 12px; color: var(--htp2-muted); margin-bottom: 14px; }
.htp2-tour-header .breadcrumb a { color: var(--htp2-muted); }
.htp2-tour-header h1 { font-size: 34px; margin: 0 0 12px; }
.htp2-tour-header .meta-line { font-size: 14px; color: var(--htp2-muted); }
.htp2-tour-header .meta-line span:not(:last-child)::after { content: '·'; margin: 0 10px; color: var(--htp2-line); }

/* Gallery */
.htp2-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2,1fr); gap: 8px; height: 420px; margin: 30px 0; }
.htp2-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--htp2-radius); }
.htp2-gallery > *:first-child { grid-row: span 2; }
@media (max-width: 880px){ .htp2-gallery { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; } .htp2-gallery > *:first-child { grid-row: auto; } .htp2-gallery img { height: 220px; } }

.htp2-layout { display: grid; grid-template-columns: 1fr 340px; gap: 50px; align-items: start; padding: 30px 0 80px; }
@media (max-width: 980px){ .htp2-layout { grid-template-columns: 1fr; } }

.htp2-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--htp2-line); margin-bottom: 30px; }
.htp2-tabs button {
  background: none; border: none; padding: 12px 0; margin-right: 28px; font-weight: 600; font-size: 14px;
  color: var(--htp2-muted); cursor: pointer; border-bottom: 2px solid transparent;
}
.htp2-tabs button.active { color: var(--htp2-ink); border-color: var(--htp2-teal); }

/* Itinerary timeline — minimal numbered list, no colored dots */
.htp2-itinerary-day { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--htp2-line); }
.htp2-itinerary-day .day-num { font-size: 22px; font-weight: 700; color: var(--htp2-line); font-family: var(--htp-font-heading); }
.htp2-itinerary-day h4 { font-size: 16px; margin: 0 0 6px; }
.htp2-itinerary-day p { font-size: 14px; color: var(--htp2-muted); margin: 0; }

/* Route map placeholder */
.htp2-route-map { aspect-ratio: 16/7; background: var(--htp2-bg-soft); border: 1px solid var(--htp2-line); border-radius: var(--htp2-radius); display: flex; align-items: center; justify-content: center; color: var(--htp2-muted); font-size: 13px; margin: 20px 0; }

/* Sticky sidebar — outline box, no shadow */
.htp2-sidebar { position: sticky; top: 100px; border: 1px solid var(--htp2-line); border-radius: var(--htp2-radius); padding: 26px; }
.htp2-sidebar .price-row { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 18px; border-bottom: 1px solid var(--htp2-line); margin-bottom: 18px; }
.htp2-sidebar .price-row .amount { font-size: 26px; font-weight: 700; color: var(--htp2-teal-dark); }
.htp2-sidebar .price-row .unit { font-size: 12px; color: var(--htp2-muted); }
.htp2-sidebar label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--htp2-muted); display: block; margin: 14px 0 6px; }
.htp2-sidebar input, .htp2-sidebar select { width: 100%; padding: 10px 0; border: none; border-bottom: 1px solid var(--htp2-line); font-size: 14px; background: transparent; }
.htp2-sidebar input:focus, .htp2-sidebar select:focus { outline: none; border-color: var(--htp2-teal); }
.htp2-sidebar .btn2 { width: 100%; text-align: center; margin-top: 22px; }
.htp2-facts { list-style: none; padding: 0; margin: 20px 0 0; font-size: 13px; }
.htp2-facts li { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--htp2-line); }
.htp2-facts li:first-child { border-top: none; }
.htp2-facts li span:first-child { color: var(--htp2-muted); }
