/* =====================================================================
   VNStays Hotel Search Widget
   ===================================================================== */

.vhb-search-wrap {
    width: 100%;
    font-family: inherit;
}

/*
 * Flatsome "col-hover-fade" sets opacity:.6 on .col-inner and restores it on hover.
 * When the search widget is inside such a column, override so it's always fully visible.
 * The fix must target .col-inner (not .vhb-search-wrap) because opacity on a parent
 * cannot be cancelled by a child — the whole stacking context is affected.
 */
.col-hover-fade:has(.vhb-search-wrap) .col-inner,
.col-hover-fade:has(.vhb-search-wrap):hover .col-inner {
    opacity: 1 !important;
    transition: none !important;
}

/* ══════════════════════════════════════════════════════════════════
   OUTER TABS  (Hotel / Book Tour)
══════════════════════════════════════════════════════════════════ */
.vhb-search-bar .vhb-guests-trigger{
        margin-bottom: 0px;
            text-transform: initial;
}
.vhb-search-bar input{
    box-shadow: unset !important;border: unset !important;
    margin-bottom: 0px;
}
.vhb-outer-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 10px;
}

.vhb-outer-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0px 26px;
    background: rgba(255,255,255,0.15);
    color: #fff;
       border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
    font-family: inherit;
    white-space: nowrap;
    text-transform: initial;
}
.vhb-sf-ico svg{
  color: #1E73BE;;
}
.vhb-outer-tab:hover {
    background: rgba(255,255,255,0.28);
    border-color: rgba(255,255,255,0.7);
}

.vhb-outer-tab.is-active {
    background: #fff;
    color: #222;
    border-color: #fff;
}

.vhb-outer-ico {
    font-size: 17px;
    line-height: 1;
}
.vhb-search-bar{
        border-color: rgba(205, 208, 209, 0.5);
    border-width: 3px 0px;
    border: 3px solid;
    border-radius: 11px;
}
/* ── Panels ─────────────────────────────────────────────────────── */
.vhb-panel {
    display: none;
}
.vhb-panel.is-active {
    display: block;
}
.vhb-tour-keyword,.vhb-depart-input,.vhb-dates-wrap,.vhb-guests-wrap,.vhb-dest-input{
    font-size: 14px !important;
}

/* ══════════════════════════════════════════════════════════════════
   INNER TABS  (All / Hotel / Villa …)
══════════════════════════════════════════════════════════════════ */
.vhb-search-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 0px;
}

.vhb-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0px 16px;
    background: rgba(3, 18, 26, 0.3);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
    white-space: nowrap;
    font-family: inherit;
    text-transform: inherit;
        margin-right: 4px;
}

.vhb-tab:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.6);
}

.vhb-tab.is-active {
     background: #1E73BE;
    color: white;
    border-color: #1E73BE;
    font-weight: 700;
}

.vhb-tab-icon {
    font-size: 14px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

/* Thumbnail image inside a property-type tab */
.vhb-tab-img {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════
   SUB-TABS  (child property types, shown below parent tabs)
══════════════════════════════════════════════════════════════════ */
.vhb-subtabs {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 6px;
    margin-bottom: 2px;
    padding: 6px 4px;
}

.vhb-subtab {
      padding: 0px 8px !important;
    font-size: 11.5px !important;
    background: rgba(255,255,255,0.15) !important;
    border-color: rgba(255,255,255,0.35) !important;
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500 !important;
}

.vhb-subtab:hover {
    background: rgba(255,255,255,0.30) !important;
    border-color: rgba(255,255,255,0.60) !important;
    color: #fff !important;
}

.vhb-subtab.is-active {
    background: rgba(255,255,255,0.92) !important;
    color: #1E73BE !important;
    border-color: rgba(255,255,255,0.92) !important;
    font-weight: 700 !important;
}

/* ══════════════════════════════════════════════════════════════════
   SEARCH BAR
══════════════════════════════════════════════════════════════════ */
.vhb-search-bar {

    display: flex;
    align-items: stretch;
    background: transparent;
    border-radius: 13px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    overflow: visible;
    min-height: 64px;
    margin-top: 32px; /* room for floating labels above the bar */
}

/* Field separator */
.vhb-sf-sep {
        margin: 0px 0;
    width: 1px;
    background: #e8e8e8;
    
    flex-shrink: 0;

}

/* ── Generic field ─────────────────────────────────────────────── */
.vhb-sf {

    background: white;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0px 16px 0px 44px;
    flex: 1;
    min-width: 0;
}

.vhb-sf-lbl {
    position: absolute;
    top: -26px;
    left: 8px;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    margin-bottom: 0;
    background: transparent;
    pointer-events: none;
    line-height: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    text-transform: initial;
    font-size: 16px;
}

/* SVG icon inside each field */
.vhb-sf-ico {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    display: flex;
    align-items: center;
    pointer-events: none;
}

/* ── Destination field ─────────────────────────────────────────── */
.vhb-sf--dest {
    flex: 2;          /* 50% of flexible space */
    border-radius: 10px 0 0 10px;
}

.vhb-dest-wrap {
    position: relative;
}

.vhb-dest-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 14px;
    font-weight: 500;
    color: #222;
    background: transparent;
    padding: 0;
    font-family: inherit;
}

.vhb-dest-input::placeholder {
    color: #bbb;
    font-weight: 400;
}

/* Destination dropdown */
.vhb-dest-list {
    position: absolute;
    top: calc(100% + 8px);
    left: -44px;
    right: 0;
    min-width: 340px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    z-index: 99999;
    max-height: 440px;
    overflow-y: auto;
    display: none;
    margin: 0;
    padding: 6px 0 10px;
}

.vhb-dest-list.is-open {
    display: block;
}

/* ── Flat item (no children) ─────────────────────────────── */
.vhb-dest-item {
    padding: 10px 16px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.12s;
}

/* Location SVG icon — injected by JS into flat items and group labels */
.vhb-dest-pin {
    flex-shrink: 0;
    color: #1E73BE;
    display: block;
}

.vhb-dest-item:hover:not(.vhb-dest-child),
.vhb-dest-item.is-highlighted:not(.vhb-dest-child) {
    background: #f5f5f5;
}

.vhb-dest-item.is-hidden {
    display: none;
}

/* ── Group (parent term with children) ───────────────────── */
.vhb-dest-group {
    margin-top: 4px;
}

.vhb-dest-group + .vhb-dest-group,
.vhb-dest-item + .vhb-dest-group {
    border-top: 1px solid #f2f2f2;
    margin-top: 6px;
    padding-top: 4px;
}

.vhb-dest-group.is-hidden {
    display: none;
}

/* Group label = parent term name (clickable header) */
.vhb-dest-group-label {
 padding: 8px 16px 6px;
    font-size: 13px !important;
    font-weight: 700;
    color: #1E73BE;
    text-transform: initial;
    letter-spacing: 0.5px;
    cursor: pointer;
    gap: 6px;
}

/* group-label pin icon is now injected by JS (.vhb-dest-pin) */

.vhb-dest-group-label:hover {
    color: #1E73BE;
    background: transparent;
}

/* 3-column grid for child cards */
.vhb-dest-group-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 0 12px 6px;
}

/* ── Child destination card ──────────────────────────────── */
.vhb-dest-child {
    flex-direction: column !important;
    align-items: stretch   !important;
    padding: 0             !important;
    border-radius: 7px;
    overflow: hidden;
    border: 1.5px solid #ececec;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.vhb-dest-child:hover {
    border-color: #1E73BE;
    box-shadow: 0 3px 10px rgba(30,115,190,0.13);
    background: #fff;
}

/* Thumbnail wrapper — 4:3 ratio */
.vhb-dest-child-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eef2f7;
}

.vhb-dest-child-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s;
}

.vhb-dest-child:hover .vhb-dest-child-thumb img {
    transform: scale(1.05);
}

/* Placeholder when no image */
.vhb-dest-child-no-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8f0fb 0%, #cde0f5 100%);
}

/* Product count badge — overlaid bottom-left of image */
.vhb-dest-child-count {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background: rgba(0, 0, 0, 0.52);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 20px;
    white-space: nowrap;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    line-height: 1.6;
}

/* Child name below the image */
.vhb-dest-child-name {
    display: block;
    padding: 5px 8px 6px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

/* ── Hotel product fallback results ──────────────────────────── */

/* Loading indicator */
.vhb-dest-loading {
    padding: 12px 16px;
    font-size: 13px;
    color: #888;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vhb-dest-loading-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--primary-color, #1E73BE);
    border-radius: 50%;
    animation: vhb-pulse 0.9s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes vhb-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.35; transform: scale(0.7); }
}

/* "Hotels" section header */
.vhb-dest-section-hdr {
    padding: 8px 16px 5px;
    font-size: 10px;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-top: 1px solid #f0f0f0;
    margin-top: 2px;
}

/* Hotel product item */
.vhb-dest-hotel-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    cursor: pointer;
    transition: background 0.12s;
}

.vhb-dest-hotel-item:hover {
    background: #f5f5f5;
}

.vhb-dest-hotel-thumb {
    width: 46px;
    height: 34px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
    background: #f0f0f0;
}

.vhb-dest-hotel-name {
    font-size: 13.5px;
    color: #333;
    line-height: 1.35;
    flex: 1;
        text-align: left;
}

/* Empty state */
.vhb-dest-empty {
    padding: 12px 16px;
    font-size: 13px;
    color: #aaa;
    font-style: italic;
}

/* ── Responsive grid ─────────────────────────────────────── */
@media (max-width: 640px) {
    .vhb-dest-group-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Dates field ───────────────────────────────────────────────── */
.vhb-sf--dates {
    flex: 1;          /* 25% of flexible space */
}

.vhb-dates-wrap {
    position: relative;
}

.vhb-range-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 14px;
    font-weight: 500;
    color: #222;
    background: transparent;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}

.vhb-range-input::placeholder {
    color: #bbb;
    font-weight: 400;
}

/* Flatpickr range calendar z-index */
.vhb-dates-wrap .flatpickr-calendar {
    z-index: 99999 !important;
}

/* ── Guests field ──────────────────────────────────────────────── */
.vhb-sf--guests {
    flex: 1;          /* 25% of flexible space */
}

.vhb-guests-wrap {
    position: relative;
}

.vhb-guests-trigger {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    width: 100%;
}

.vhb-guests-txt {
    font-size: 14px;
    font-weight: 500;
    color: #222;
    white-space: nowrap;
}

/* Guests popup */
.vhb-guests-popup {
    position: absolute;
    top: calc(100% + 16px);
    right: -20px;
    width: 280px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    z-index: 99999;
    padding: 16px;
    display: none;
}

.vhb-guests-popup.is-open {
    display: block;
}

.vhb-gp-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.vhb-gp-row:last-of-type {
    border-bottom: none;
}

.vhb-gp-info strong {
    display: block;
    font-size: 14px;
    color: #222;
    font-weight: 600;
}

.vhb-gp-info small {
    font-size: 12px;
    color: #999;
}

.vhb-gp-counter {
    display: flex;
    align-items: center;
    gap: 2px;
}

.vhb-gp-btn {
        margin-right: 0px;
        min-height: unset;
    margin-bottom: 0px;
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s, color 0.15s;
    line-height: 1;
    padding: 0;
}

.vhb-gp-btn:hover:not(:disabled) {
    border-color: var(--primary-color, #333);
    color: var(--primary-color, #333);
}

.vhb-gp-btn:disabled {
    opacity: 0.3;
    cursor: default;
}

.vhb-gp-val {
    min-width: 28px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #222;
}

.vhb-gp-done {
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    background: var(--primary-color, #333);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: inherit;
}

.vhb-gp-done:hover {
    opacity: 0.85;
}

/* ── Search button ─────────────────────────────────────────────── */
.vhb-search-btn {
    flex: 0 0 64px;
    background: var(--primary-color, #e67e22);
    color: #fff;
    border: none;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
    font-size: 0; /* hide any text */
}

.vhb-search-btn:hover {
    opacity: 0.88;
}

/* ══════════════════════════════════════════════════════════════════
   TOUR SEARCH FIELDS
══════════════════════════════════════════════════════════════════ */

/* Tour keyword field — wider, leftmost */
.vhb-sf--keyword {
    flex: 2;
    border-radius: 10px 0 0 10px;
}

/* Tour departure date field */
.vhb-sf--depart {
    flex: 1.2;
}

/* ── Tour passengers field ─────────────────────────────────────── */
.vhb-sf--tour-guests {
    flex: 1.2;
}

.vhb-tg-wrap {
    position: relative;
}

/* Trigger button — identical behaviour to hotel .vhb-guests-trigger */
.vhb-tour-guests-trigger {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    width: 100%;
    margin-bottom: 0;
    text-transform: initial;
}

.vhb-tour-guests-txt {
    font-size: 14px;
    font-weight: 500;
    color: #222;
    white-space: nowrap;
}

/* Popup — same look as hotel .vhb-guests-popup */
.vhb-tour-guests-popup {
    position: absolute;
    top: calc(100% + 16px);
    right: -20px;
    width: 280px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    z-index: 99999;
    padding: 16px;
    display: none;
}

.vhb-tour-guests-popup.is-open {
    display: block;
}

/* Done button inside tour popup */
.vhb-tg-done {
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    background: var(--primary-color, #333);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: inherit;
    margin-bottom: 0;
    text-transform: initial;
    min-height: unset;
}

.vhb-tg-done:hover {
    opacity: 0.85;
}

.vhb-tour-keyword {
    width: 100%;
    border: none;
    outline: none;
    font-size: 14px;
    font-weight: 500;
    color: #222;
    background: transparent;
    padding: 0;
    font-family: inherit;
}

.vhb-tour-keyword::placeholder {
    color: #bbb;
    font-weight: 400;
}

.vhb-depart-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 14px;
    font-weight: 500;
    color: #222;
    background: transparent;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}

.vhb-depart-input::placeholder {
    color: #bbb;
    font-weight: 400;
}

/* Flatpickr calendar for departure date */
.vhb-depart-wrap .flatpickr-calendar {
    z-index: 99999 !important;
}

/* ── Tour live search results ──────────────────────────────────── */
.vhb-keyword-wrap {
    position: relative;
}

.vhb-tour-results {
    position: absolute;
    top: calc(100% + 8px);
    left: -44px;          /* align with field left edge (offset icon padding) */
    right: 0;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.13);
    z-index: 99999;
    max-height: 320px;
    overflow-y: auto;
    display: none;
    list-style: none;
    margin: 0;
    padding: 6px 0;
}

.vhb-tour-results.is-open {
    display: block;
}

.vhb-tr-item {
    padding: 8px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.12s;
    text-decoration: none;
}

.vhb-tr-item:hover {
    background: #f5f5f5;
}

.vhb-tr-thumb {
    width: 56px;
    height: 42px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
    background: #f0f0f0;
}

.vhb-tr-name {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    flex: 1;
    text-align: left;
}

.vhb-tr-loading,
.vhb-tr-empty {
    padding: 12px 16px;
    font-size: 13px;
    color: #999;
    font-style: italic;
}

/* ── Tour dropdown: destination items (giống hotel dest-item) ── */
.vhb-tr-dest-item {
    display: flex;
    align-items: center;
    gap: 10px;
       padding: 7px 14px;
    margin-left: 0px !important;
    cursor: pointer;
    list-style: none;
    font-size: 14px;
       color: #1E73BE;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.12s;
}

.vhb-tr-dest-item:last-child {
    border-bottom: none;
}

.vhb-tr-dest-item:hover {
    background: #f5f5f5;
}

.vhb-tr-dest-item .vhb-dest-pin {
    flex-shrink: 0;
        color: #1E73BE;
}

.vhb-tr-dest-name {
    flex: 1;
    font-weight: 500;
text-align: left;
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
.vhb-outer-tab{
        padding: 5px 26px;
            font-size: 11px;
                    padding-left: 20px !important;
}
.vhb-outer-ico{
    display: none;
}

    .vhb-search-bar {
            border: 1px solid !important;
        flex-direction: column;
        border-radius: 10px;
        gap: 0;
                padding: 10px;
        margin-top: 0; /* no floating-label gap needed in stacked layout */
    }

    .vhb-sf-sep { display: none; }

    .vhb-sf {
        border-bottom: 1px solid #f0f0f0;
        padding: 12px 16px 12px 44px;
    }

    /* Revert labels to static flow inside each stacked field */
    .vhb-sf-lbl {
        position: static;
        top: auto;
        left: auto;
        color: #888;
        text-shadow: none;
        margin-bottom: 4px;
        display: none;
    }

    .vhb-sf--dest        { border-radius: 10px 10px 0 0; }
    .vhb-sf--guests      { border-bottom: none; }           /* last field in hotel panel */
    .vhb-sf--keyword     { border-radius: 10px 10px 0 0; }
    .vhb-sf--tour-guests { border-bottom: none; }           /* last field in tour panel */

    .vhb-search-btn {
              border-radius: 5px;
        flex: 0 0 48px;
        min-height: 48px;
        width: 100%;
        margin: auto;
   
                margin-top: 10px;
    }

    .vhb-dest-list,
    .vhb-guests-popup,
    .vhb-tour-guests-popup {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .vhb-search-tabs {
        gap: 4px;
    }
    .vhb-tab {
             padding: 1px 9px;
        font-size: 12px;
    }
}

/* ══════════════════════════════════════════════════════════════════
   ARCHIVE SECTION WRAPPER  (auto-injected on shop/category pages)
   JS relocates this before the nearest .row for full-width display.

   To add a background, override in Additional CSS:
       .vhb-archive-section {
           background: url('/wp-content/uploads/hero.jpg') center/cover no-repeat;
       }
══════════════════════════════════════════════════════════════════ */
.vhb-archive-section {
    width: 100%;
    padding: 36px 0 28px;
    margin-bottom: 8px;
    box-sizing: border-box;
}

/* Give the inner .row a sensible max-width */
.vhb-archive-section .vhb-archive-body > .row {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
      padding-left: 5px;
    padding-right: 5px;
}

/* ── Toggle button — hidden on desktop, injected by JS on mobile ─ */
.vhb-archive-toggle {
    display: none;
}

/* ── Mobile styles ───────────────────────────────────────────── */
@media (max-width: 900px) {

    /* Compact section padding when collapsed */
    .vhb-archive-section {
        padding: 14px 16px;
    }

    /* A little breathing room below the button when open */
    .vhb-archive-section.is-open {
        padding-bottom: 20px;
    }
.category-page-row{
    padding-top: 10px !important;
}
    /* Toggle button */
    .vhb-archive-toggle {
               display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 8px 18px;
        background: #fff;
        border: none;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);
        color: #333;
        font-size: 14px;
        text-transform: inherit;
        font-weight: normal;
        cursor: pointer;
        font-family: inherit;
        transition: box-shadow 0.2s;
        box-sizing: border-box;
    }

    .vhb-archive-toggle:hover {
        box-shadow: 0 4px 18px rgba(0,0,0,0.16);
    }

    .vhb-toggle-left {
        display: flex;
        align-items: center;
        gap: 9px;
    }

    /* Chevron rotates 180° when section is open */
    .vhb-toggle-chevron {
        transition: transform 0.3s ease;
        flex-shrink: 0;
        color: #888;
    }

    .vhb-archive-section.is-open .vhb-toggle-chevron {
        transform: rotate(180deg);
    }

    /* Body wrapper: no max-width cap, jQuery handles show/hide */
    .vhb-archive-body {
        overflow: hidden;
    }

    .vhb-archive-body > .row {
        padding-left: 0;
        padding-right: 0;
        max-width: none;
    }
}
