/*
 Theme Name: Hello Chill (Child of Hello Elementor)
 Theme URI: https://example.com/hello-chill
 Description: A soft, minimalist "chill" child theme for Hello Elementor—pastel palette, rounded corners, gentle shadows.
 Author: LuongVuVan
 Template: hello-elementor
 Version: 1.0.0
 License: GNU General Public License v2 or later
 License URI:
 Text Domain: hello-chill
*/

/* Root tokens */
:root {
  --chill-bg: #fbfcfe;
  --chill-surface: #ffffff;
  --chill-elev: #ffffff;
  --chill-primary: #6ba6ff;
  /* soft sky blue */
  --chill-primary-600: #458dff;
  --chill-secondary: #b690ff;
  /* lilac */
  --chill-accent: #ffd7a3;
  /* peach-sand */
  --chill-ink: #111827;
  --chill-ink-2: #374151;
  --chill-muted: #94a3b8;
  --chill-border: #e5e7eb;
  --chill-radius: 16px;
  --chill-radius-sm: 12px;
  --chill-shadow: 0 6px 24px rgba(17, 24, 39, 0.08);
  --chill-shadow-sm: 0 3px 12px rgba(17, 24, 39, 0.06);
  --chill-spacing: clamp(16px, 2.4vw, 28px);
  --chill-section: clamp(48px, 9vw, 120px);
  --chill-font-display: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --chill-font-text: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

/* Base */
html,
body {
  background: var(--chill-bg);
}

body {
  color: var(--chill-ink);
  font-family: var(--chill-font-text);
  line-height: 1.6;
  font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--chill-font-display);
  letter-spacing: -0.01em;
  color: var(--chill-ink);
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(36px, 6vw, 52px);
}

h2 {
  font-size: clamp(28px, 4.4vw, 40px);
}

h3 {
  font-size: clamp(22px, 3.4vw, 30px);
}

/* Links */
a {
  color: var(--chill-primary);
  text-decoration: none;
}

a:hover {
  color: var(--chill-primary-600);
}

/* Buttons (Elementor + generic) */
button,
.button,
.elementor-button {
  --btn-bg: var(--chill-primary);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 0;
  border-radius: var(--chill-radius);
  padding: 12px 20px;
  box-shadow: var(--chill-shadow-sm);
  transition: transform .12s ease, box-shadow .12s ease, background .2s ease;
}

button:hover,
.button:hover,
.elementor-button:hover {
  transform: translateY(-1px);
  box-shadow: var(--chill-shadow);
  background: var(--chill-primary-600);
}

.elementor-button--secondary {
  --btn-bg: var(--chill-secondary);
}

.elementor-button--link {
  --btn-bg: transparent;
  color: var(--chill-primary);
  box-shadow: none;
  padding: 0;
}

/* Cards */
.chill-card,
.elementor-widget-container>.card,
.e-con-inner>.card {
  background: var(--chill-surface);
  border: 1px solid var(--chill-border);
  border-radius: var(--chill-radius);
  padding: calc(var(--chill-spacing) * 1.1);
  box-shadow: var(--chill-shadow);
}

.chill-card h3 {
  margin-top: 0
}

/* Sections */
.section-chill {
  padding: var(--chill-section) 0;
  background: radial-gradient(1200px 600px at 10% -10%, rgba(107, 166, 255, 0.15), transparent 60%),
    radial-gradient(800px 400px at 100% 0%, rgba(182, 144, 255, 0.12), transparent 60%);
}

/* Navbar */
.site-header,
.elementor-location-header {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--chill-border);
}

.site-header .site-branding img {
  border-radius: 10px;
}

/* Forms */
input,
select,
textarea {
  border-radius: var(--chill-radius-sm);
  border: 1px solid var(--chill-border);
  padding: 12px 14px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(17, 24, 39, 0.03);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--chill-primary);
  box-shadow: 0 0 0 4px rgba(107, 166, 255, 0.15);
}

/* Badges */
.badge {
  display: inline-block;
  font-weight: 600;
  background: linear-gradient(90deg, var(--chill-primary), var(--chill-secondary));
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
}

/* Footer */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--chill-border);
}

.site-footer .widget {
  margin-bottom: 16px;
}

.site-footer a {
  color: var(--chill-ink-2);
}

.site-footer a:hover {
  color: var(--chill-primary);
}

/* Utilities */
.rounded-xl {
  border-radius: var(--chill-radius);
}

.shadow-chill {
  box-shadow: var(--chill-shadow);
}

.muted {
  color: var(--chill-muted);
}

.gradient-text {
  background: linear-gradient(90deg, var(--chill-primary), var(--chill-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Optional dark mode (manual class) */
.dark {
  --chill-bg: #0b1020;
  --chill-surface: #0f1528;
  --chill-elev: #131a30;
  --chill-ink: #f1f5f9;
  --chill-ink-2: #cbd5e1;
  --chill-border: #1e293b;
  --chill-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.dark a {
  color: #9cc2ff;
}

.custom-days .acf-field {
  margin-top: 20px !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.acf-repeater .acf-actions .acf-button {
  float: left !important;
}

.custom-days .custom-guide {
  margin-top: 70px !important;
}

.custom-overnight {
  margin-bottom: 20px !important;
}

.fea-submit-buttons {
  justify-content: flex-end;
}

.elementor-repeater-item-a87c49e input,
.custom-days input,
.custom-days .select2-container.-acf .select2-selection,
.acf-field input,
.acf-field select,
.acf-field textarea {
  border-radius: 10px;
  border: 1px solid #0783be40;
}

.elementor-repeater-item-a87c49e input:focus,
.custom-days input:focus {
  border-color: #6ba6ff;
}

.acf-field-6902d4513edc3 {
  margin-bottom: 20px !important;
}

.select2-container.-acf .select2-selection {
  border-radius: 10px;
  border: 1px solid #0783be40;
  height: 30px;
  min-height: auto !important;
}

.ui-sortable .acf-field {
  padding: 5px !important;
}

.itinerary-details {
  margin: 12px 0
}

.itinerary-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff
}

.itinerary-table th,
.itinerary-table td {
  border: 1px solid #cfd8e3;
  padding: 5px;
  vertical-align: top;
  word-wrap: break-word
}

.itinerary-table .row-head th {
  background: #6ba3d3;
  border-color: #cdddeb;
}

.itinerary-table .col-day {
  width: 140px;
  white-space: nowrap;
  font-weight: 700;
  font-size: 16px;
}

.itinerary-table .title {
  font-size: 16px;
  font-weight: 700;
  text-align: center
}

.desc {
  line-height: 1.65;
  padding-top: 14px;
  padding-bottom: 16px;
  background-color: white !important;
}

/* Hàng meta: 3 cột (Meals | Guide | Driver) nhưng KHÔNG có cột dưới Day */
.meta-line {
  display: flex;
  gap: 0;
  border: 0
}

.meta-col {
  padding: 5px 20px;
  border-right: 1px solid #cfd8e3;
  background-color: #6ba3d3bf;
  font-weight: 700;
}
.meta-meals-custom{
  width: 30%;
}
.meta-guide-custom{
  width: 50%;
}
.meta-driver-custom{
  width: 20%;
}
.meta-col:last-child {
  border-right: none
}

.meal-code {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px
}

.meal-full {
  opacity: .95
}

.na {
  color: #888;
  font-style: italic
}

/* Gallery dưới content */
.gallery-cell {
  padding-top: 6px
}

.itinerary-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.itinerary-gallery .g-item img {
  width: 100%;
  height: 300px;
  display: block;
  border-radius: 4px;
  object-fit: cover;
}