/* ═══════════════════════════════════════════════════════════════
   Udaipur Travel — Elementor Widget Styles
   ═══════════════════════════════════════════════════════════════ */

/* ── Base ── */
.ut-el-widget { font-family: inherit; }

/* ── Grid columns ── */
.ut-el-grid,
.ut-el-featured,
.ut-el-cat-grid { display: grid; gap: 20px; }

.ut-el-cols-2 { grid-template-columns: repeat(2, 1fr); }
.ut-el-cols-3 { grid-template-columns: repeat(3, 1fr); }
.ut-el-cols-4 { grid-template-columns: repeat(4, 1fr); }
.ut-el-cols-5 { grid-template-columns: repeat(5, 1fr); }
.ut-el-cols-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1024px) {
    .ut-el-cols-4, .ut-el-cols-5, .ut-el-cols-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .ut-el-cols-2, .ut-el-cols-3, .ut-el-cols-4,
    .ut-el-cols-5, .ut-el-cols-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .ut-el-cols-2, .ut-el-cols-3, .ut-el-cols-4,
    .ut-el-cols-5, .ut-el-cols-6 { grid-template-columns: 1fr; }
}

/* ── Filter Bar ── */
.ut-el-filter-bar {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
}

.ut-el-search-wrap { margin-bottom: 14px; }
.ut-el-search {
    width: 100%;
    padding: 11px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: border-color .2s;
    box-sizing: border-box;
}
.ut-el-search:focus { border-color: #2563eb; }

/* ── Category Tabs ── */
.ut-el-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.ut-el-tab {
    padding: 7px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 30px;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
}
.ut-el-tab:hover { border-color: #2563eb; color: #2563eb; }
.ut-el-tab.active { background: #2563eb; border-color: #2563eb; color: #fff; }

/* ── Filter Row ── */
.ut-el-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

/* ── Price Range ── */
.ut-el-price-filter { flex: 1; min-width: 220px; }
.ut-el-price-filter label { font-size: 13px; color: #64748b; display: block; margin-bottom: 6px; }
.ut-price-label { font-weight: 600; color: #1e293b; }
.ut-el-range-wrap { position: relative; height: 20px; }
.ut-el-range-min,
.ut-el-range-max {
    position: absolute;
    width: 100%;
    height: 4px;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}
.ut-el-range-min::-webkit-slider-thumb,
.ut-el-range-max::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #2563eb;
    cursor: pointer;
    pointer-events: all;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
}

/* ── Sort ── */
.ut-el-sort-wrap { flex-shrink: 0; }
.ut-el-sort {
    padding: 9px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
    outline: none;
}

/* ── Results Bar ── */
.ut-el-results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.ut-el-count { font-size: 14px; color: #64748b; }
.ut-el-view-toggle { display: flex; gap: 6px; }
.ut-el-view-btn {
    width: 34px; height: 34px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
}
.ut-el-view-btn.active { background: #2563eb; color: #fff; border-color: #2563eb; }

/* ── Listing Card ── */
.ut-el-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}
.ut-el-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.1); transform: translateY(-2px); }
.ut-el-card-link { text-decoration: none; color: inherit; display: block; }

.ut-el-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.ut-el-badge-featured {
    position: absolute; top: 10px; left: 10px;
    background: #f59e0b; color: #fff;
    padding: 3px 10px; border-radius: 20px;
    font-size: 11px; font-weight: 700;
}
.ut-el-badge-discount {
    position: absolute; top: 10px; right: 10px;
    background: #ef4444; color: #fff;
    padding: 3px 10px; border-radius: 20px;
    font-size: 11px; font-weight: 700;
}

.ut-el-card-body { padding: 14px; }
.ut-el-card-cat {
    display: inline-block;
    background: #e0f2fe; color: #0369a1;
    padding: 2px 10px; border-radius: 20px;
    font-size: 11px; font-weight: 600;
    margin-bottom: 6px;
}
.ut-el-card-title {
    font-size: 15px; font-weight: 700;
    color: #1e293b; margin: 0 0 6px;
    line-height: 1.3;
}
.ut-el-card-desc { font-size: 13px; color: #64748b; margin: 0 0 6px; }
.ut-el-card-addr { font-size: 12px; color: #94a3b8; display: block; margin-bottom: 10px; }

.ut-el-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}
.ut-el-card-price { display: flex; align-items: center; gap: 6px; }
.ut-el-price-old { text-decoration: line-through; color: #94a3b8; font-size: 12px; }
.ut-el-price-new { font-weight: 700; color: #16a34a; font-size: 15px; }
.ut-el-btn-view {
    background: #2563eb; color: #fff;
    padding: 7px 14px; border-radius: 6px;
    font-size: 12px; font-weight: 600;
    white-space: nowrap;
}

/* ── List View ── */
.ut-el-view-list .ut-el-card { display: flex; }
.ut-el-view-list .ut-el-card-img { width: 180px; height: auto; flex-shrink: 0; }
.ut-el-view-list .ut-el-card-body { flex: 1; }
@media (max-width: 600px) {
    .ut-el-view-list .ut-el-card { flex-direction: column; }
    .ut-el-view-list .ut-el-card-img { width: 100%; height: 160px; }
}

/* ── Loader ── */
.ut-el-loader { text-align: center; padding: 30px; }
.ut-el-spinner {
    display: inline-block;
    width: 36px; height: 36px;
    border: 3px solid #e2e8f0;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: ut-spin .7s linear infinite;
}
@keyframes ut-spin { to { transform: rotate(360deg); } }

/* ── Pagination ── */
.ut-el-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: 24px;
}
.ut-el-page-btn {
    width: 36px; height: 36px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s;
}
.ut-el-page-btn:hover { border-color: #2563eb; color: #2563eb; }
.ut-el-page-btn.active { background: #2563eb; border-color: #2563eb; color: #fff; }

/* ── No Results ── */
.ut-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}
.ut-no-results span { font-size: 3em; display: block; margin-bottom: 10px; }

/* ── Category Grid ── */
.ut-el-cat-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    background: #1e293b;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}
.ut-el-cat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.ut-el-cat-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.45);
    transition: background .2s;
}
.ut-el-cat-card:hover .ut-el-cat-overlay { background: rgba(0,0,0,.6); }
.ut-el-cat-content {
    position: relative;
    padding: 12px;
    color: #fff;
    width: 100%;
}
.ut-el-cat-icon { font-size: 28px; display: block; line-height: 1; }
.ut-el-cat-name { font-size: 14px; font-weight: 700; display: block; margin-top: 4px; }
.ut-el-cat-count { font-size: 11px; opacity: .8; }

/* ── Hero Widget ── */
.ut-el-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
}
.ut-el-hero-overlay { position: absolute; inset: 0; }
.ut-el-hero-content {
    position: relative;
    text-align: center;
    padding: 40px 20px;
    width: 100%;
    max-width: 700px;
}
.ut-el-hero-heading { font-size: 2.8em; font-weight: 800; color: #fff; margin: 0 0 10px; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.ut-el-hero-sub { color: rgba(255,255,255,.85); font-size: 1.1em; margin-bottom: 28px; }

.ut-el-hero-search-box {
    display: flex;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.2);
    max-width: 600px;
    margin: 0 auto 20px;
}
.ut-el-hero-search-box input[type="text"] {
    flex: 1;
    padding: 14px 20px;
    border: none;
    outline: none;
    font-size: 15px;
}
.ut-el-hero-search-box select {
    padding: 14px 12px;
    border: none;
    border-left: 1px solid #e2e8f0;
    outline: none;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
}
.ut-el-hero-search-box button {
    padding: 14px 28px;
    background: #2563eb;
    color: #fff;
    border: none;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}
.ut-el-hero-search-box button:hover { background: #1d4ed8; }

.ut-el-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.ut-el-hero-pill {
    background: rgba(255,255,255,.2);
    color: #fff;
    border: 1px solid rgba(255,255,255,.4);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: background .2s;
}
.ut-el-hero-pill:hover { background: rgba(255,255,255,.35); color: #fff; }

/* ── Horizontal layout ── */
.ut-el-layout-horizontal .ut-el-card { display: flex; }
.ut-el-layout-horizontal .ut-el-card-img { width: 160px; height: auto; flex-shrink: 0; }
.ut-el-layout-horizontal .ut-el-card-body { flex: 1; }

@media (max-width: 600px) {
    .ut-el-hero-search-box { flex-direction: column; border-radius: 12px; }
    .ut-el-hero-search-box select { border-left: none; border-top: 1px solid #e2e8f0; }
    .ut-el-hero-heading { font-size: 1.8em; }
}

/* ── Carousel Widget ── */
.ut-el-carousel-wrap { position: relative; }
.ut-el-carousel { padding-bottom: 40px; }
.ut-el-carousel .swiper-slide { height: auto; }
.ut-el-carousel .ut-el-card { height: 100%; }
.ut-el-carousel .swiper-button-prev,
.ut-el-carousel .swiper-button-next { color: #2563eb; }
.ut-el-carousel .swiper-pagination-bullet-active { background: #2563eb; }

/* ── BABE Search Results Widget ── */
.ut-babe-results { font-family: inherit; }

.ut-babe-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f0f7ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 13px;
}
.ut-babe-filter-label {
    font-weight: 700;
    color: #1e40af;
    margin-right: 4px;
}
.ut-babe-filter-tag {
    background: #fff;
    border: 1px solid #bfdbfe;
    border-radius: 20px;
    padding: 4px 12px;
    color: #1e293b;
    font-size: 12px;
}
.ut-babe-filter-tag strong { color: #2563eb; }
.ut-babe-clear-filters {
    margin-left: auto;
    color: #dc2626;
    font-weight: 600;
    text-decoration: none;
    font-size: 12px;
    padding: 4px 10px;
    border: 1px solid #fca5a5;
    border-radius: 20px;
    transition: background .2s;
}
.ut-babe-clear-filters:hover { background: #fee2e2; color: #dc2626; }

.ut-babe-results-count {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 16px;
    font-weight: 500;
}
.ut-babe-page-info { font-size: 13px; }
