/* =========================================================================
   IcaruZen Wellness Destinations — Frontend Styles
   ========================================================================= */

.iwd-wrapper {
    --iwd-accent: #1e88e5;
    --iwd-accent-dark: #1565c0;
    --iwd-badge-bg: rgba(255, 255, 255, 0.95);
    --iwd-badge-color: #1e88e5;
    --iwd-text: #1f2937;
    --iwd-muted: #6b7280;
    --iwd-border: #e5e7eb;
    --iwd-card-bg: #ffffff;
    --iwd-card-radius: 14px;
    --iwd-card-shadow: 0 2px 10px rgba(0,0,0,0.06);
    --iwd-card-shadow-hover: 0 12px 28px rgba(0,0,0,0.12);
    --iwd-success: #10b981;
    --iwd-danger: #ef4444;

    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 0;
    box-sizing: border-box;
}

.iwd-wrapper *,
.iwd-wrapper *::before,
.iwd-wrapper *::after {
    box-sizing: border-box;
}

/* Section header */
.iwd-section-header {
    text-align: center;
    margin-bottom: 40px;
}
.iwd-section-subtitle {
    display: inline-block;
    color: var(--iwd-accent);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.iwd-section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--iwd-text);
    margin: 0;
    line-height: 1.2;
}

/* Grid */
.iwd-grid {
    display: grid;
    gap: 28px;
}
.iwd-cols-1 .iwd-grid { grid-template-columns: 1fr; }
.iwd-cols-2 .iwd-grid { grid-template-columns: repeat(2, 1fr); }
.iwd-cols-3 .iwd-grid { grid-template-columns: repeat(3, 1fr); }
.iwd-cols-4 .iwd-grid { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .iwd-cols-3 .iwd-grid,
    .iwd-cols-4 .iwd-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .iwd-cols-2 .iwd-grid,
    .iwd-cols-3 .iwd-grid,
    .iwd-cols-4 .iwd-grid { grid-template-columns: 1fr; }
    .iwd-section-title { font-size: 26px; }
}

/* Card */
.iwd-card {
    background: var(--iwd-card-bg);
    border-radius: var(--iwd-card-radius);
    overflow: hidden;
    box-shadow: var(--iwd-card-shadow);
    transition: transform .3s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--iwd-border);
}
.iwd-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--iwd-card-shadow-hover);
}

/* Image */
.iwd-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f3f4f6;
}
.iwd-card-image a {
    display: block;
    width: 100%;
    height: 100%;
}
.iwd-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
    display: block;
}
.iwd-card:hover .iwd-card-image img {
    transform: scale(1.06);
}

/* Badge */
.iwd-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--iwd-badge-bg);
    color: var(--iwd-badge-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 2;
}

/* Body */
.iwd-card-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.iwd-card-title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 14px;
    color: var(--iwd-text);
    min-height: 50px;
}
.iwd-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}
.iwd-card-title a:hover {
    color: var(--iwd-accent);
}

/* Meta list */
.iwd-meta-list {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.iwd-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--iwd-muted);
    font-size: 14px;
    line-height: 1.4;
}
.iwd-meta-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.iwd-meta-country svg { color: var(--iwd-accent); }
.iwd-meta-days svg    { color: #f59e0b; }
.iwd-meta-acc.is-included svg     { color: var(--iwd-success); }
.iwd-meta-acc.is-not-included svg { color: var(--iwd-danger); }

/* Price */
.iwd-price-wrap {
    margin-bottom: 16px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed var(--iwd-border);
}
.iwd-price-prefix {
    display: block;
    font-size: 12px;
    color: var(--iwd-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}
.iwd-price {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    color: var(--iwd-accent-dark);
    font-weight: 700;
}
.iwd-price-currency {
    font-size: 15px;
}
.iwd-price-value {
    font-size: 22px;
}

/* Button */
.iwd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--iwd-accent);
    color: #ffffff !important;
    padding: 12px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
}
.iwd-btn svg {
    width: 16px;
    height: 16px;
    transition: transform .25s ease;
}
.iwd-btn:hover {
    background: var(--iwd-accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(30,136,229,0.3);
    color: #fff !important;
}
.iwd-btn:hover svg {
    transform: translateX(4px);
}

/* RTL adjustments */
body.rtl .iwd-badge {
    left: auto;
    right: 14px;
}
body.rtl .iwd-btn:hover svg {
    transform: translateX(-4px) rotate(180deg);
}
body.rtl .iwd-btn svg {
    transform: rotate(180deg);
}

/* Empty state */
.iwd-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--iwd-muted);
    font-size: 16px;
    background: #f9fafb;
    border-radius: 12px;
}

/* Archive page */
.iwd-archive-header {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e88e5 100%);
    color: #fff;
    margin-bottom: 50px;
    border-radius: 0 0 30px 30px;
}
.iwd-archive-header h1 {
    font-size: 42px;
    margin: 0 0 10px;
    font-weight: 700;
}
.iwd-archive-breadcrumb {
    font-size: 15px;
    opacity: 0.9;
}
.iwd-archive-breadcrumb a {
    color: #fff;
    text-decoration: none;
}
.iwd-archive-breadcrumb a:hover {
    text-decoration: underline;
}

/* Single page */
.iwd-single-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}
.iwd-single-hero {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
    aspect-ratio: 21/9;
    background: #f3f4f6;
}
.iwd-single-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.iwd-single-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7) 100%);
}
.iwd-single-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    color: #fff;
    z-index: 2;
}
.iwd-single-hero-content h1 {
    font-size: 38px;
    font-weight: 700;
    margin: 0 0 12px;
}
.iwd-single-info-bar {
    background: #fff;
    border-radius: 14px;
    padding: 22px 26px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}
.iwd-single-info-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.iwd-single-content {
    line-height: 1.8;
    font-size: 16px;
    color: var(--iwd-text);
}

@media (max-width: 640px) {
    .iwd-single-hero { aspect-ratio: 16/10; }
    .iwd-single-hero-content { padding: 22px; }
    .iwd-single-hero-content h1 { font-size: 24px; }
    .iwd-archive-header h1 { font-size: 28px; }
    .iwd-single-info-bar { flex-direction: column; align-items: flex-start; }
}

/* =========================================================================
   v1.2.0 — Search Bar + Inquiry Form (Correct Class Names)
   ========================================================================= */

/* ── Search Wrapper ───────────────────────────────────────────────── */
.iwd-search-wrapper {
    --iwd-s-bg: #ffffff;
    --iwd-s-text: #1f2937;
    --iwd-s-muted: #6b7280;
    --iwd-s-label: #93a4b3;
    --iwd-s-divider: #e5e7eb;
    --iwd-s-accent: var(--iwd-accent, #1e88e5);
    --iwd-s-accent-dark: var(--iwd-accent-dark, #1565c0);
    --iwd-s-submit-bg: #0f172a;
    --iwd-s-submit-hover: #1e293b;

    width: 100%;
    max-width: 1280px;
    margin: 0 auto 24px;
    box-sizing: border-box;
    position: relative;
    font-family: inherit;
    color: var(--iwd-s-text);
}

.iwd-search-wrapper *,
.iwd-search-wrapper *::before,
.iwd-search-wrapper *::after {
    box-sizing: border-box;
}

.iwd-search-form {
    position: relative;
}

.iwd-search-bar {
    display: flex;
    align-items: stretch;
    background: var(--iwd-s-bg);
    border-radius: 999px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid #eef0f3;
    padding: 6px;
    gap: 0;
    min-height: 78px;
}

/* ── Field (button trigger) ──────────────────────────────────────── */
.iwd-search-field {
    flex: 1 1 0;
    position: relative;
    min-width: 0;
    display: flex;
}

.iwd-search-field + .iwd-search-field {
    border-inline-start: 1px solid var(--iwd-s-divider);
}

.iwd-field-trigger {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 4px;
    padding: 12px 20px;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: start;
    font-family: inherit;
    color: inherit;
    border-radius: 999px;
    min-width: 0;
    transition: background 0.2s ease;
}

.iwd-field-trigger:hover,
.iwd-search-field.is-open .iwd-field-trigger {
    background: #f6f8fa;
}

.iwd-field-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--iwd-s-label);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.iwd-field-label svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    color: var(--iwd-s-accent);
}

.iwd-field-value {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--iwd-s-text);
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.iwd-field-trigger[aria-expanded="false"] .iwd-field-value:not(:not(:empty)) {
    color: var(--iwd-s-muted);
    font-weight: 500;
}

/* ── Submit Button ───────────────────────────────────────────────── */
.iwd-search-submit-wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.iwd-search-submit {
    background: var(--iwd-s-submit-bg);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 0 32px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s ease, transform 0.1s ease;
    font-family: inherit;
    white-space: nowrap;
    height: 100%;
    min-height: 54px;
    text-align: center;
}

.iwd-search-submit:hover {
    background: var(--iwd-s-submit-hover);
}

.iwd-search-submit:active {
    transform: scale(0.98);
}

.iwd-search-submit svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.iwd-search-submit[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ── Popover ─────────────────────────────────────────────────────── */
.iwd-popover {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-start: 0;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
    border: 1px solid #eef0f3;
    z-index: 9999;
    min-width: 320px;
    max-height: 460px;
    overflow-y: auto;
    display: block;
    animation: iwd-popover-in 0.18s ease-out;
}

.iwd-popover[hidden] {
    display: none !important;
}

@keyframes iwd-popover-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.iwd-popover-destination {
    width: 340px;
    padding: 8px 0;
}

.iwd-popover-dates {
    width: 360px;
    padding: 18px;
}

.iwd-popover-guests {
    width: 340px;
    padding: 18px;
    inset-inline-start: auto;
    inset-inline-end: 0;
}

/* RTL: keep destination popover anchored to its trigger start */
.iwd-rtl .iwd-popover-destination {
    inset-inline-start: 0;
}

/* Popover section title (used by destination) */
.iwd-popover-section-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--iwd-s-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 10px 18px 8px;
}

/* ── Destination List ────────────────────────────────────────────── */
.iwd-destination-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.iwd-destination-list li {
    margin: 0;
    padding: 0;
}

.iwd-destination-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 18px;
    width: 100%;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: start;
    font-family: inherit;
    color: var(--iwd-s-text);
    font-size: 14px;
    transition: background 0.15s ease, color 0.15s ease;
}

.iwd-destination-option:hover,
.iwd-destination-option:focus {
    background: #f3f4f6;
    outline: none;
}

.iwd-destination-option.is-active {
    background: #eff6ff;
    color: var(--iwd-s-accent);
    font-weight: 600;
}

.iwd-destination-option svg {
    flex-shrink: 0;
    color: var(--iwd-s-muted);
}

.iwd-destination-option.is-active svg {
    color: var(--iwd-s-accent);
}

.iwd-destination-option > span:not(.iwd-destination-count) {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.iwd-destination-count {
    font-size: 11.5px;
    color: var(--iwd-s-muted);
    background: #f3f4f6;
    padding: 2px 9px;
    border-radius: 999px;
    flex-shrink: 0;
    font-weight: 600;
}

.iwd-destination-option.is-active .iwd-destination-count {
    background: var(--iwd-s-accent);
    color: #fff;
}

.iwd-destination-empty {
    padding: 22px 18px;
    text-align: center;
    color: var(--iwd-s-muted);
    font-size: 13.5px;
}

/* ── Popover Rows (Dates / Guests inputs) ────────────────────────── */
.iwd-popover-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.iwd-popover-row:last-of-type {
    margin-bottom: 0;
}

.iwd-popover-row > label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.iwd-popover-row-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--iwd-s-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.iwd-popover-row input[type="date"],
.iwd-popover-row input[type="text"],
.iwd-popover-row input[type="number"] {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14.5px;
    font-family: inherit;
    color: var(--iwd-s-text);
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.iwd-popover-row input:focus {
    outline: none;
    border-color: var(--iwd-s-accent);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.13);
}

/* ── Counters (Guests popover) ───────────────────────────────────── */
.iwd-counter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 4px;
    border-bottom: 1px solid #f1f3f5;
    gap: 16px;
}

.iwd-counter-row:last-of-type {
    border-bottom: 0;
}

.iwd-counter-label {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--iwd-s-text);
    flex: 1;
    min-width: 0;
}

/* Controls wrapper: horizontal +/− with value between */
.iwd-counter {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    background: #f8fafc;
    border-radius: 999px;
    padding: 4px;
}

.iwd-counter-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #0f172a;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    transition: all 0.15s ease;
    font-family: inherit;
    box-shadow: 0 1px 2px rgba(15,23,42,0.06);
    flex-shrink: 0;
}

.iwd-counter-btn:hover:not([disabled]) {
    border-color: #0f172a;
    background: #0f172a;
    color: #ffffff;
    transform: scale(1.04);
}

.iwd-counter-btn:active:not([disabled]) {
    transform: scale(0.96);
}

.iwd-counter-btn[disabled] {
    opacity: 0.35;
    cursor: not-allowed;
}

/* Value input (number, readonly) — strip browser default styling */
.iwd-counter-value,
input.iwd-counter-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--iwd-s-text);
    min-width: 28px;
    width: 32px;
    text-align: center;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    font-family: inherit;
    outline: none;
    -moz-appearance: textfield;
    -webkit-appearance: none;
    appearance: textfield;
    cursor: default;
    pointer-events: none;
}

/* Hide native number spinners */
.iwd-counter-value::-webkit-outer-spin-button,
.iwd-counter-value::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ── Popover Actions ─────────────────────────────────────────────── */
.iwd-popover-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #f1f3f5;
}

.iwd-popover-clear {
    background: transparent;
    border: 0;
    color: var(--iwd-s-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    padding: 6px 8px;
    font-family: inherit;
}

.iwd-popover-clear:hover {
    color: var(--iwd-s-text);
}

.iwd-popover-apply {
    background: var(--iwd-s-text);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 10px 22px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s ease;
}

.iwd-popover-apply:hover {
    background: #000;
}

/* ── Search Results ──────────────────────────────────────────────── */
.iwd-search-results-header {
    margin: 28px auto 16px;
    max-width: 1280px;
    padding: 0 4px;
}

.iwd-search-results-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--iwd-text, #1f2937);
    margin: 0 0 4px;
}

.iwd-search-results-count {
    font-size: 14px;
    color: var(--iwd-muted, #6b7280);
}

.iwd-search-results {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.iwd-search-empty {
    text-align: center;
    padding: 48px 20px;
    background: #f9fafb;
    border-radius: 14px;
    color: var(--iwd-muted, #6b7280);
    font-size: 15px;
    border: 1px dashed #e5e7eb;
}

.iwd-search-empty strong {
    display: block;
    color: var(--iwd-text, #1f2937);
    font-size: 17px;
    margin-bottom: 6px;
}

.iwd-loading {
    text-align: center;
    padding: 40px 20px;
    color: var(--iwd-muted, #6b7280);
}

.iwd-spinner {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 3px solid #e5e7eb;
    border-top-color: var(--iwd-accent, #1e88e5);
    border-radius: 50%;
    animation: iwd-spin 0.8s linear infinite;
}

@keyframes iwd-spin {
    to { transform: rotate(360deg); }
}

/* ── Responsive Search Bar ──────────────────────────────────────── */
@media (max-width: 980px) {
    .iwd-search-bar {
        flex-direction: column;
        border-radius: 20px;
        padding: 10px;
        min-height: 0;
        gap: 4px;
    }

    .iwd-search-field + .iwd-search-field {
        border-inline-start: 0;
        border-top: 1px solid var(--iwd-s-divider);
    }

    .iwd-field-trigger {
        border-radius: 12px;
        padding: 14px 18px;
    }

    .iwd-search-submit-wrapper {
        padding: 4px 0 0;
        width: 100%;
    }

    .iwd-search-submit {
        width: 100%;
        justify-content: center;
        min-height: 52px;
    }

    /* Popovers go bottom-sheet style */
    .iwd-popover {
        position: fixed;
        top: auto !important;
        bottom: 0;
        left: 0 !important;
        right: 0 !important;
        inset-inline-start: 0 !important;
        inset-inline-end: 0 !important;
        width: 100% !important;
        max-width: 100%;
        min-width: 0;
        border-radius: 20px 20px 0 0;
        max-height: 75vh;
        animation: iwd-popover-up 0.22s ease-out;
    }

    @keyframes iwd-popover-up {
        from { transform: translateY(100%); }
        to   { transform: translateY(0); }
    }
}

/* ═════════════════════════════════════════════════════════════════
   Inquiry Form
   ═════════════════════════════════════════════════════════════════ */

.iwd-form-wrapper {
    --iwd-f-bg: #ffffff;
    --iwd-f-border: #e5e7eb;
    --iwd-f-text: #1f2937;
    --iwd-f-muted: #6b7280;
    --iwd-f-accent: var(--iwd-accent, #1e88e5);
    --iwd-f-accent-dark: var(--iwd-accent-dark, #1565c0);
    --iwd-f-error: #ef4444;
    --iwd-f-success: #10b981;

    width: 100%;
    max-width: 760px;
    margin: 28px auto;
    background: var(--iwd-f-bg);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    border: 1px solid #f1f3f5;
    box-sizing: border-box;
    color: var(--iwd-f-text);
    font-family: inherit;
}

.iwd-form-wrapper *,
.iwd-form-wrapper *::before,
.iwd-form-wrapper *::after {
    box-sizing: border-box;
}

/* Header */
.iwd-form-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e88e5 100%);
    color: #ffffff !important;
    padding: 26px 22px;
    text-align: center;
    position: relative;
}

.iwd-form-header h3,
.iwd-form-header .iwd-form-title {
    margin: 0 0 6px;
    font-size: 21px;
    font-weight: 800 !important;
    line-height: 1.3;
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.28);
    letter-spacing: 0;
}

.iwd-form-header p,
.iwd-form-header .iwd-form-subtitle {
    margin: 0;
    font-size: 14px;
    color: #ffffff !important;
    opacity: 0.96;
    line-height: 1.55;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.22);
}

/* Booking summary */
.iwd-form-summary {
    background: #f9fafb;
    border-bottom: 1px solid var(--iwd-f-border);
    padding: 14px 22px;
}

.iwd-form-summary-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--iwd-f-muted);
    margin: 0 0 8px;
}

.iwd-form-summary-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.iwd-form-summary-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13.5px;
    color: var(--iwd-f-text);
    line-height: 1.4;
}

.iwd-form-summary-item svg {
    width: 15px;
    height: 15px;
    color: var(--iwd-f-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.iwd-form-summary-item strong {
    font-weight: 700;
}

.iwd-form-summary-label {
    color: var(--iwd-f-muted);
    font-weight: 500;
    margin-inline-end: 4px;
}

/* Form Body */
.iwd-inquiry-form {
    padding: 20px 22px 22px;
}

.iwd-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.iwd-form-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.iwd-form-field.iwd-field-full {
    grid-column: 1 / -1;
}

.iwd-form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--iwd-f-text);
}

.iwd-required {
    color: var(--iwd-f-error);
    margin-inline-start: 2px;
}

.iwd-form-input,
.iwd-form-textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--iwd-f-border);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: var(--iwd-f-text);
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    resize: vertical;
    box-sizing: border-box;
}

.iwd-form-textarea {
    min-height: 100px;
    line-height: 1.55;
}

.iwd-form-input:focus,
.iwd-form-textarea:focus {
    outline: none;
    border-color: var(--iwd-f-accent);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.13);
}

.iwd-form-field.iwd-has-error .iwd-form-input,
.iwd-form-field.iwd-has-error .iwd-form-textarea {
    border-color: var(--iwd-f-error);
}

.iwd-form-field.iwd-has-error .iwd-form-input:focus,
.iwd-form-field.iwd-has-error .iwd-form-textarea:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.13);
}

.iwd-form-error {
    font-size: 12px;
    color: var(--iwd-f-error);
    margin-top: 2px;
    display: none;
    line-height: 1.4;
}

.iwd-form-field.iwd-has-error .iwd-form-error {
    display: block;
}

/* Honeypot */
.iwd-honeypot {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
}

.iwd-form-submit-row {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.iwd-form-submit {
    background: var(--iwd-f-accent);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 13px 28px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    transition: background 0.2s ease, transform 0.1s ease;
    width: 100%;
}

.iwd-form-submit:hover {
    background: var(--iwd-f-accent-dark);
}

.iwd-form-submit:active {
    transform: scale(0.98);
}

.iwd-form-submit[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.iwd-form-submit svg {
    width: 16px;
    height: 16px;
}

.iwd-form-submitting-text {
    display: none;
}

.iwd-form-submit.is-loading .iwd-form-submitting-text {
    display: inline;
}

.iwd-form-submit.is-loading .iwd-form-default-text {
    display: none;
}

.iwd-form-note {
    font-size: 12px;
    color: var(--iwd-f-muted);
    margin: 10px 0 0;
    line-height: 1.5;
}

/* Response */
.iwd-form-response {
    margin-top: 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.55;
    display: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 1;
    transform: translateY(0);
}

.iwd-form-response.is-visible {
    display: block;
    animation: iwd-response-in 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.iwd-form-response.is-fading {
    opacity: 0;
    transform: translateY(-6px);
}

@keyframes iwd-response-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.iwd-form-response.is-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(5, 150, 105, 0.12) 100%);
    color: #047857;
    border: 1.5px solid rgba(16, 185, 129, 0.3);
    padding: 0;
}

.iwd-form-response.is-error {
    background: rgba(239, 68, 68, 0.08);
    color: #b91c1c;
    border: 1.5px solid rgba(239, 68, 68, 0.25);
    padding: 14px 16px;
}

.iwd-form-response strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}

/* Rich success card */
.iwd-form-success-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 18px;
}

.iwd-form-success-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.iwd-form-success-circle {
    stroke: #10b981;
    stroke-width: 2.5;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: iwd-success-circle 0.6s ease-out 0.05s forwards;
}

.iwd-form-success-check {
    stroke: #10b981;
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: iwd-success-check 0.5s ease-out 0.55s forwards;
}

@keyframes iwd-success-circle {
    to { stroke-dashoffset: 0; }
}

@keyframes iwd-success-check {
    to { stroke-dashoffset: 0; }
}

.iwd-form-success-text {
    font-size: 15px;
    font-weight: 600;
    color: #065f46;
    line-height: 1.5;
    flex: 1;
}

/* ── Narrow column form (sidebar / 1/3 column) ─────────────────── */
@media (max-width: 520px), (max-width: 1100px) and (min-width: 0px) {
    /* Activate the narrow layout via container query fallback */
}

/* Container-query style: when form wrapper is narrow, stack everything */
.iwd-form-wrapper {
    container-type: inline-size;
}

@container (max-width: 480px) {
    .iwd-form-grid {
        grid-template-columns: 1fr;
    }
    .iwd-form-header { padding: 20px 16px; }
    .iwd-form-header h3 { font-size: 17px; }
    .iwd-form-header p { font-size: 13px; }
    .iwd-form-summary { padding: 12px 16px; }
    .iwd-inquiry-form { padding: 18px 16px 20px; }
    .iwd-form-submit { padding: 12px 18px; }
}

/* Fallback for browsers without container queries */
@media (max-width: 640px) {
    .iwd-form-grid {
        grid-template-columns: 1fr;
    }
    .iwd-form-header { padding: 20px 16px; }
    .iwd-form-header h3 { font-size: 17px; }
    .iwd-form-header p { font-size: 13px; }
    .iwd-form-summary { padding: 12px 16px; }
    .iwd-inquiry-form { padding: 18px 16px 20px; }
    .iwd-form-submit { padding: 12px 18px; }
}

/* When inside a narrow Elementor column, the wrapper itself stays compact */
.iwd-form-wrapper.iwd-form-compact .iwd-form-grid,
.elementor-column[data-width="33"] .iwd-form-grid,
.elementor-column[data-width="25"] .iwd-form-grid {
    grid-template-columns: 1fr;
}

/* =========================================================================
   v1.3.0 — Currency Switcher
   ========================================================================= */
.iwd-currency-switcher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--iwd-card-bg, #fff);
    border: 1px solid var(--iwd-border, #e5e7eb);
    border-radius: 999px;
    padding: 6px 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.iwd-currency-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: var(--iwd-muted, #6b7280);
    white-space: nowrap;
}
.iwd-currency-label svg { color: var(--iwd-accent, #1e88e5); flex-shrink: 0; }
.iwd-currency-select {
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    color: var(--iwd-text, #1f2937);
    cursor: pointer;
    padding: 2px 4px;
    outline: none;
    appearance: auto;
}
.iwd-currency-align-center { display: flex; justify-content: center; }
.iwd-currency-align-left   { display: flex; justify-content: flex-start; }
.iwd-currency-align-right  { display: flex; justify-content: flex-end; }

/* Toolbar above grids */
.iwd-grid-toolbar,
.iwd-pricing-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 18px;
}
.iwd-rtl .iwd-grid-toolbar,
.iwd-rtl .iwd-pricing-toolbar { justify-content: flex-start; }

/* Search results header: count + switcher side by side */
.iwd-search-results-tools {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* =========================================================================
   v1.3.0 — Pricing Plans
   ========================================================================= */
.iwd-pricing-wrapper { padding: 30px 0; }
.iwd-pricing-grid {
    display: grid;
    gap: 28px;
    align-items: stretch;
}
.iwd-pricing-cols-1 .iwd-pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
.iwd-pricing-cols-2 .iwd-pricing-grid { grid-template-columns: repeat(2, 1fr); }
.iwd-pricing-cols-3 .iwd-pricing-grid { grid-template-columns: repeat(3, 1fr); }
.iwd-pricing-cols-4 .iwd-pricing-grid { grid-template-columns: repeat(4, 1fr); }

.iwd-plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--iwd-card-bg, #fff);
    border: 1px solid var(--iwd-border, #e5e7eb);
    border-radius: var(--iwd-card-radius, 14px);
    box-shadow: var(--iwd-card-shadow, 0 2px 10px rgba(0,0,0,0.06));
    padding: 34px 28px 28px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.iwd-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--iwd-card-shadow-hover, 0 12px 28px rgba(0,0,0,0.12));
}
.iwd-plan-card.is-featured {
    border: 2px solid var(--iwd-accent, #1e88e5);
    box-shadow: 0 10px 30px rgba(30,136,229,0.18);
}
.iwd-plan-badge {
    position: absolute;
    top: -13px;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    background: var(--iwd-accent, #1e88e5);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    padding: 5px 16px;
    border-radius: 999px;
    white-space: nowrap;
}
.iwd-rtl .iwd-plan-badge { transform: translateX(50%); }

.iwd-plan-name {
    font-size: 21px;
    font-weight: 700;
    color: var(--iwd-text, #1f2937);
    margin: 0 0 6px;
    text-align: center;
}
.iwd-plan-desc {
    color: var(--iwd-muted, #6b7280);
    font-size: 14px;
    text-align: center;
    margin: 0 0 18px;
    line-height: 1.5;
}
.iwd-plan-price {
    text-align: center;
    margin: 0 0 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--iwd-border, #e5e7eb);
}
.iwd-plan-price-currency {
    font-size: 17px;
    font-weight: 600;
    color: var(--iwd-accent, #1e88e5);
    vertical-align: top;
}
.iwd-plan-price-value {
    font-size: 40px;
    font-weight: 800;
    color: var(--iwd-text, #1f2937);
    line-height: 1;
}
.iwd-plan-period {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--iwd-muted, #6b7280);
}
.iwd-plan-features {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
    flex: 1;
}
.iwd-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 14.5px;
    color: var(--iwd-text, #1f2937);
    padding: 7px 0;
    line-height: 1.45;
}
.iwd-plan-features svg {
    color: var(--iwd-success, #10b981);
    flex-shrink: 0;
    margin-top: 2px;
}
.iwd-plan-btn {
    margin-top: auto;
    justify-content: center;
}
.iwd-plan-card.is-featured .iwd-plan-btn {
    background: var(--iwd-accent, #1e88e5);
    color: #fff;
}
.iwd-plan-card.is-featured .iwd-plan-btn:hover {
    background: var(--iwd-accent-dark, #1565c0);
}

@media (max-width: 980px) {
    .iwd-pricing-cols-3 .iwd-pricing-grid,
    .iwd-pricing-cols-4 .iwd-pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .iwd-pricing-cols-2 .iwd-pricing-grid,
    .iwd-pricing-cols-3 .iwd-pricing-grid,
    .iwd-pricing-cols-4 .iwd-pricing-grid { grid-template-columns: 1fr; }
    .iwd-grid-toolbar,
    .iwd-pricing-toolbar { justify-content: center; }
    .iwd-currency-switcher { width: 100%; justify-content: center; }
}

.iwd-search-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

/* =========================================================================
   Search validation notice (v1.4.0)
   Shown when the visitor clicks Search without choosing destination/dates.
   ========================================================================= */
.iwd-search-notice {
    display: none;
    margin: 0 0 14px;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .25s ease, transform .25s ease;
}
.iwd-search-notice.is-visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: iwd-notice-in .3s ease;
}
@keyframes iwd-notice-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.iwd-search-notice-inner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.08);
}
.iwd-search-notice-icon {
    flex: 0 0 auto;
    color: #ea580c;
    margin-top: 1px;
}
.iwd-search-notice-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.iwd-search-notice-text {
    color: #9a3412;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}
.iwd-search-notice-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.iwd-search-notice-chip {
    display: inline-flex;
    align-items: center;
    background: #ffedd5;
    color: #c2410c;
    border: 1px solid #fdba74;
    border-radius: 999px;
    padding: 3px 12px;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
}

/* Missing-field highlight on the search bar */
.iwd-search-field.iwd-field-error {
    border-radius: 999px;
    box-shadow: inset 0 0 0 2px #fb923c;
    animation: iwd-field-shake .4s ease;
}
.iwd-search-field.iwd-field-error .iwd-field-label,
.iwd-search-field.iwd-field-error .iwd-field-value {
    color: #c2410c;
}
@keyframes iwd-field-shake {
    0%, 100% { transform: translateX(0); }
    25%      { transform: translateX(-4px); }
    75%      { transform: translateX(4px); }
}

/* RTL: chips/icon flow naturally; nudge text alignment */
.iwd-search-wrapper.iwd-rtl .iwd-search-notice-text { text-align: right; }

@media (max-width: 640px) {
    .iwd-search-notice-inner { padding: 12px 14px; }
    .iwd-search-notice-text { font-size: 13px; }
}
