/* ============================================
   HOME VARIANT (PH0326-22 hardcode)
   Hardcoded port of Scale's winning Convert variant
   for the Parkhound homepage. Original variant ran
   client-side via cdn-4.convertexperiments.com; this
   file replaces that dependency by shipping the same
   styles from our codebase. Selectors target the
   existing #site-index #content_banner markup plus
   new .smlib_* wrappers added in widget_banner /
   widget_home_top_cities / widget_home_trust_banner /
   widget_home_reviews.

   First pass keeps !important flags from the variant
   to minimize regression risk; cleanup pass is a
   follow-up.
   ============================================ */

/* ============================================
   CUSTOM FORM - CSS VARIABLES
   ============================================ */
:root {
    --smlib_green: #3cc8a0;
    --smlib_green_hover: #33b890;
    --smlib_green_active: #2daa83;
    --smlib_white: #ffffff;
    --smlib_border: #e2e2e2;
    --smlib_text_dark: #2c3e50;
    --smlib_text_gray: #95a5a6;
    --smlib_text_label: #7f8c8d;
    --smlib_radius_lg: 18px;
    --smlib_radius_md: 14px;
    --smlib_radius_sm: 10px;
    --smlib_shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    --smlib_ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   HERO SECTION
   ============================================ */
#site-index #content_banner > .container {
    z-index: 2;
}

#site-index #content_banner .info_search {
    max-width: 400px;
    background: revert;
    margin-top: 3rem;
}

#site-index #content_banner .info_search.sm-not-visible {
    opacity: 0;
}

#site-index #content_banner .info_search.sm-visible {
    opacity: 1;
}

#site-index #content_banner .form_search .note_search h3 {
    display: none;
}

#site-index #content_banner .form_search {
    margin-top: 4rem !important;
}

#site-index #content_banner .form_search .note_search h1 {
    color: var(--White, #fff);
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 56px !important;
    font-style: normal;
    font-weight: 700;
    line-height: normal !important;
}

.sm-instant {
    display: none !important;
}

.smlib_hero_footer_text {
    color: var(--White, #fff);
    font-family: Inter, sans-serif;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.smlib_hero_footer_text span {
    position: relative;
    top: 2px;
    margin-right: 10px;
}

.smlib_hero_footer_text svg {
    width: 18px;
    height: 18px;
}

#site-index #content_banner #form_search #search-listing .search_btn {
    border-radius: 6px !important;
    background: var(--Green, #18b586) !important;
    box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.15) !important;
    height: 60px !important;
    width: 100% !important;
    margin: 0 auto;
}

.search-start-date-input .body-filter-start-date {
    max-width: 368px;
}

/* ============================================
   CONTROL: ORIGINAL SITE CHANGES (hide sections)
   ============================================ */
#site-index .home-benefits,
#site-index .map-widget,
#site-index .wrapper-home-ev {
    display: none !important;
}

/* ============================================
   CONTROL: ORIGINAL SITE CHANGES (City Cards)
   ============================================ */
.home_content {
    max-width: 980px;
}

.home_content .city_title,
h4.smlib-city-title {
    color: var(--Dark-Text-2, #2D3236) !important;
    font-family: Inter, sans-serif;
    font-size: 32px !important;
    font-style: normal;
    font-weight: 700 !important;
    line-height: 48px !important;
    margin-bottom: 24px !important;
    margin: 0 auto;
    text-align: center;
}

.home_content .city_title span,
h4.smlib-city-title span {
    color: #1BB784 !important;
}

.home_content .city_title {
    display: none !important;
}

.wrapper_home_city .list_city {
    margin-bottom: 22px;
    margin-top: 32px;
}

/* Override default floats for the city grid */
.home_content .list_city::before,
.home_content .list_city::after {
    display: none !important;
}

.home_content .list_city {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px 20px !important;
    width: 100% !important;
}

.home_content .list_city .item_city {
    position: relative !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    height: 198px !important;
    background-size: cover !important;
    background-position: center !important;
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
}

.home_content .list_city .item_city::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 100%) !important;
    pointer-events: none;
    z-index: 1;
}

/* Override inline background images */
.home_content .list_city .item_1 {
    background-image: url("/themes/bootstrap_v4.1/images/cities/melbourne.jpg") !important;
}

.home_content .list_city .item_2 {
    background-image: url("/themes/bootstrap_v4.1/images/cities/sydney.jpg") !important;
}

.home_content .list_city .item_3 {
    background-image: url("/themes/bootstrap_v4.1/images/cities/brisbane.jpg") !important;
}

.home_content .list_city .item_4 {
    background-image: url("/themes/bootstrap_v4.1/images/cities/adelaide.jpg") !important;
}

.home_content .list_city .item_5 {
    background-image: url("/themes/bootstrap_v4.1/images/cities/perth.jpg") !important;
}

.home_content .list_city .item_6 {
    background-image: url("/themes/bootstrap_v4.1/images/cities/canberra.jpg") !important;
}

.home_content .list_city .item_city a {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    text-align: center !important;
    z-index: 2 !important;
    color: var(--White, #FFF) !important;
    font-family: Inter, sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    padding-bottom: 20px !important;
    background: transparent !important;
    text-shadow: none !important;
}

.home_content .list_city .item_city a span {
    position: relative;
    top: -14px;
}

.home_content .list_city .item_city a svg {
    width: 24px;
    height: 24px;
    margin-bottom: 2px;
    position: relative;
    top: -20px;
    left: -7px;
}

/* ============================================
   WRAPPER
   ============================================ */
.smlib_wrapper {
    width: 100%;
    max-width: 480px;
}

/* iOS Safari mobile scroll fix (homepage variant only).

   Root cause: styles_v3.css:9184 has `html, body { overflow-x: hidden; }`.
   Per CSS spec, when one overflow axis is non-visible the other
   computes to `auto`, which turns html AND body into scroll containers.
   On iOS Safari, having both as scroll containers stalls momentum
   scrolling and reads as "scroll is sticky / stuck" because every
   touchmove has to coordinate with both layers.

   Fix: on the homepage only, swap to `overflow-x: clip` (does NOT
   create a scroll container) and let the document scroll naturally.
   Scoped to #site-index so listing/checkout pages keep their
   existing overflow behaviour.

   `touch-action: pan-y` on top of that tells the browser to skip
   the gesture-detection delay since we have no horizontal swipe at
   the page level.

   `overflow: clip` is only supported on iOS Safari 16+ (and Chrome/
   Firefox 81+). The @supports guard makes that explicit: on older
   iOS Safari the rule simply does not apply and the page keeps the
   existing `overflow-x: hidden` behaviour, which is an acceptable
   graceful degradation (older devices keep the pre-fix scroll feel,
   they are not broken). */
@supports (overflow-x: clip) {
    html:has(body#site-index),
    body#site-index {
        overflow-x: clip !important;
        overflow-y: visible !important;
        touch-action: pan-y;
    }
}

/* ============================================
   TAB SWITCHER
   ============================================ */
.smlib_tabs {
    margin-bottom: 1.7rem;
}

.smlib_tabs_track {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 6px;
    border: 1px solid var(--Light-Grey, #f5f5f5);
    height: 40px;
}

.smlib_tab {
    flex: 1;
    padding: 9px 20px;
    letter-spacing: -0.01em;
    border: none;
    background: transparent;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
    transition: color 0.25s var(--smlib_ease);
    border-radius: var(--smlib_radius_sm);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    color: var(--White, #fff);
}

.smlib_tab.active {
    color: var(--Dark-Text-2, #2d3236);
}

.smlib_tab:hover:not(.active) {
    color: rgba(255, 255, 255, 1);
}

.smlib_tab_slider {
    position: absolute;
    top: 4px;
    left: 4px;
    bottom: 4px;
    width: calc(50% - 4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
    transition: transform 0.4s var(--smlib_ease);
    transform: translateX(100%);
    /* Default: Monthly active = right side */
    border-radius: 6px;
    background: #f6f6f6;
    height: 32px;
}

.smlib_tabs_track[data-active='daily'] .smlib_tab_slider {
    transform: translateX(0);
}

/* ============================================
   SEARCH CONTAINER (collapse / expand)
   base-state transition = collapse direction
   .expanded transition  = expand direction
   ============================================ */
.smlib_search_container {
    border-radius: 6px;
    background: var(--White, #fff);
    box-shadow: 0 4px 8px 4px rgba(0, 0, 0, 0.12);
    position: relative;
    /* collapse direction */
    transition: max-height 0.55s cubic-bezier(0.4, 0, 0.6, 1);
}

.smlib_search_container.collapsed {
    max-height: 72px;
    cursor: pointer;
    overflow: hidden;
}

.smlib_search_container.expanded {
    max-height: 360px;
    cursor: default;
    /* expand direction: slow, gentle spring */
    transition: max-height 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================
   COLLAPSED PROMPT
   ============================================ */
.smlib_prompt {
    display: flex;
    align-items: center;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
    text-align: center;
    justify-content: center;
    height: 72px;
    border-radius: 6px;
    background: var(--White, #fff);
    /* Keep absolute permanently so it doesn't push form content down, fixing the height jump */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.smlib_prompt:hover {
    background: #f5f5f5;
}

.smlib_search_container.expanded .smlib_prompt {
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
}

.smlib_prompt_icon {
    color: var(--smlib_text_gray);
    flex-shrink: 0;
    display: flex;
    transition: color 0.25s ease;
}

.smlib_prompt_icon svg {
    width: 20px;
    height: 20px;
}

.smlib_prompt_text {
    color: var(--Dark-Text-2, #2d3236);
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.smlib_search_container.collapsed:hover {
    box-shadow: 0 8px 36px rgba(0, 0, 0, 0.16);
}

.smlib_search_container.collapsed:hover .smlib_prompt_icon {
    color: var(--smlib_green);
}

@keyframes smlib_pulse {
    0%,
    100% {
        box-shadow: var(--smlib_shadow);
    }
    50% {
        box-shadow: 0 8px 36px rgba(60, 200, 160, 0.18);
    }
}

.smlib_search_container.collapsed {
    animation: smlib_pulse 2.8s ease-in-out 1.2s 2;
}

/* ============================================
   EXPANDED FORM CONTENT
   ============================================ */
.smlib_form_content {
    padding: 20px 14px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    border-radius: 6px;
    background: var(--White, #fff);
}

.smlib_search_container.expanded .smlib_form_content {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.65s ease 0s;
}

/* ============================================
   FORM FIELDS
   ============================================ */
.smlib_field {
    border: 1.5px solid var(--smlib_border);
    border-radius: var(--smlib_radius_sm);
    padding: 10px 16px 12px;
    cursor: pointer;
    position: relative;
    opacity: 0;
    transform: translateY(10px);
    z-index: 2;
    overflow: visible;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        opacity 0.2s ease,
        transform 0.2s ease;
    height: 60px;
    border-radius: 6px;
    border: 1px solid var(--Light-Gray, #e0e0e0);
    background: var(--White, #fff);
    box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.04);
    padding: 0px 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* WHERE field stacks ABOVE date field (autocomplete dropdown must overlay) */
.smlib_field_where {
    z-index: 10;
}

.smlib_search_container.expanded .smlib_field_where {
    opacity: 1;
    transform: translateY(0);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.4s,
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
}

.smlib_search_container.expanded .smlib_field_date {
    opacity: 1;
    transform: translateY(0);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.55s,
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.55s;
}

.smlib_field:hover {
    border-color: #ccc;
}

.smlib_field.smlib-error {
    border-color: #f73b3b !important;
}

.smlib_field_label {
    display: block;
    color: var(--Text-Dark, #333);
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 2px;
}

/* ============================================
   SUBMIT BUTTON (applies to original #save)
   ============================================ */
.smlib_submit_btn {
    display: block !important;
    width: 100%;
    padding: 15px 20px;
    font-family:
        'Inter',
        -apple-system,
        BlinkMacSystemFont,
        sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: var(--smlib_white) !important;
    background: var(--smlib_green) !important;
    border: none !important;
    border-radius: var(--smlib_radius_sm) !important;
    cursor: pointer;
    letter-spacing: -0.01em;
    -webkit-appearance: none;
    appearance: none;
    opacity: 0;
    transform: translateY(10px);
    transition:
        background 0.25s ease,
        box-shadow 0.25s ease,
        opacity 0.2s ease,
        transform 0.2s ease;
}

.smlib_search_container.expanded .smlib_submit_btn {
    opacity: 1;
    transform: translateY(0);
    transition:
        background 0.25s ease,
        box-shadow 0.25s ease,
        opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.8s,
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.8s;
}

.smlib_submit_btn:hover {
    background: var(--smlib_green_hover) !important;
    box-shadow: 0 4px 16px rgba(60, 200, 160, 0.3);
}

.smlib_submit_btn:active {
    background: var(--smlib_green_active) !important;
    box-shadow: none;
}

/* ============================================
   HIDE ORIGINAL SITE ELEMENTS
   (scoped at #form_search level - siblings of .smlib_wrapper)
   ============================================ */
#form_search > .sec-listing-availability {
    display: none !important;
}

#form_search > .search-box-radio-section {
    position: absolute !important;
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
}

/* ============================================
   #search-listing -- MOVED INSIDE .smlib_wrapper
   Restyle it as a flex column for our layout.
   Preserves original z-index/position context.
   ============================================ */
.smlib_wrapper #search-listing {
    display: flex !important;
    flex-direction: column;
    gap: 14px;
    position: relative;
}

/* Hide non-UI elements inside #search-listing */
.smlib_wrapper #result,
.smlib_wrapper #map {
    display: none !important;
}

.smlib_wrapper #search-listing > input[type='hidden'] {
    display: none;
}

/* ============================================
   STYLE ORIGINAL ELEMENTS INSIDE .smlib_wrapper
   (moved via JS -- no duplicates)
   ============================================ */
/* --- Search Input (#search-box -- inside smlib_field_where) --- */
.smlib_wrapper .google-search-input-container {
    position: relative !important;
    margin: revert !important;
    border: none !important;
}

.smlib_wrapper .google-search-input-container input#search-box {
    display: block;
    width: 100%;
    border: none !important;
    outline: none;
    background: transparent !important;
    margin: 0;
    color: var(--Dark-Text-2, #2d3236);
    font-family: Inter, sans-serif;
    font-size: 18px !important;
    font-style: normal;
    font-weight: 500 !important;
    line-height: normal;
    border-radius: 0 !important;
    height: auto !important;
    /* Reserve room on the right for the clear (x) button so typed text
       does not run under the icon when it becomes visible. */
    padding: 0 30px 0 0 !important;
    box-shadow: none !important;
}

.smlib_wrapper #search-box::placeholder {
    color: var(--smlib_text_gray) !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
}

/* Hide original magnifier icon (not needed in new design) */
.smlib_wrapper .search-icon {
    display: none !important;
}

/* Clear search button */
.smlib_wrapper .clear-button {
    position: absolute !important;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 2;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.smlib_wrapper .clear-button.sm-show {
    opacity: 1;
    pointer-events: auto;
}

.smlib_wrapper .clear-button.sm-show:hover {
    opacity: 0.85;
}

.smlib_wrapper .clear-button img {
    /* Hide the shared light-grey icon and render a darker, higher-contrast
       version inline so the X is readable against the white input.
       The shared SVG asset is reused elsewhere, so we recolour at the
       homepage-variant scope only. */
    width: 0 !important;
    height: 0 !important;
    visibility: hidden;
}

.smlib_wrapper .clear-button::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13'><circle cx='6.5' cy='6.5' r='6.5' fill='%23707477'/><path d='M3.99731 9.14746L9.14873 3.99605' stroke='white' stroke-width='1.4' stroke-linecap='round'/><path d='M9.07959 9.0791L3.92818 3.92769' stroke='white' stroke-width='1.4' stroke-linecap='round'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Autocomplete suggestions dropdown */
.smlib_wrapper #autocomplete-suggestions {
    position: absolute !important;
    top: calc(100% + 14px) !important;
    background: white !important;
    border: 1px solid #ccc !important;
    max-height: 200px !important;
    overflow-y: auto !important;
    width: calc(100% + 16px) !important;
    z-index: 1000 !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    margin-left: -8px;
}

.smlib_wrapper .suggestion-item {
    padding: 10px 16px !important;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0 !important;
    transition: background 0.15s ease;
}

.smlib_wrapper .suggestion-item:hover {
    background: #f8f8f8;
}

.smlib_wrapper .suggestion-item:last-child {
    border-bottom: none !important;
}

/* --- Date Picker (inside smlib_field_date) --- */
.smlib_wrapper .search-start-date-input {
    display: block !important;
    width: 100%;
    padding: revert !important;
}

.smlib_wrapper .sec-labels {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

/* Hide original "Starting Date" small label */
.smlib_wrapper .sec-labels > label:first-child {
    display: none !important;
}

/* Style the date value (#selected-date-filter = "Today") */
.smlib_wrapper #selected-date-filter {
    display: block !important;
    font-family: inherit !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    color: var(--smlib_text_dark) !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    text-align: left !important;
}

/* Hide calendar icon section */
.smlib_wrapper .sec-date-picker {
    display: none !important;
}

/* Date picker dropdown positioning */
.smlib_wrapper #sec-filter-start-date {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--smlib_white);
    border-radius: var(--smlib_radius_sm);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ============================================
   RESPONSIVE (max-width: 750px)
   ============================================ */
@media (max-width: 750px) {
    div#header .head_link {
        float: revert !important;
    }

    #site-index #content_banner .banner-cover-img {
        object-position: center center !important;
    }

    #site-index #content_banner .form_search .note_search h1 {
        font-size: 30px !important;
    }

    #site-index #content_banner .form_search {
        margin-top: 4rem !important;
    }

    #site-index #content_banner .form_search .note_search {
        margin-top: 9% !important;
    }

    #site-index #content_banner .info_search {
        margin-top: 1rem !important;
    }

    .smlib_hero_footer_text {
        margin-top: 3rem;
        margin-bottom: 1rem;
    }

    .smlib_prompt,
    .smlib_search_container.collapsed {
        height: 60px;
    }
}

/* ============================================
   TRUST BANNER (Task: Under Hero Section)
   ============================================ */
.smlib-trust-section {
    width: 100%;
    z-index: 1;
    position: relative;
    margin: 0 auto;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.smlib-trust-container {
    max-width: 928px;
    margin: 0 auto;
    background: var(--White, #FFF);
}

.smlib-trust-title {
    color: var(--Dark-Text-2, #2D3236) !important;
    font-family: Inter, sans-serif;
    font-size: 32px !important;
    font-style: normal;
    font-weight: 700 !important;
    line-height: normal !important;
    text-align: center;
    margin-bottom: 33px;
    margin-top: 0;
}

.smlib-trust-features {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
}

.smlib-trust-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex: 1;
    max-width: 350px;
}

.smlib-trust-icon {
    width: 68px;
    height: 68px;
    border-radius: 999px;
    /* Soft aesthetic fallback representing the figma backdrop layer */
    background: #F2F5FA;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.smlib-trust-icon svg {
    display: block;
}

.smlib-trust-text {
    color: var(--Dark-Text-2, #2D3236);
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
    padding: 0;
    text-align: left;
    min-width: 256px;
}

/* Trust Banner Mobile Styles */
@media (max-width: 1080px) {
    .smlib-trust-features {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .smlib-trust-container {
        max-width: 850px;
        margin: 0 auto;
        background: var(--White, #FFF);
        padding: 0 2rem;
    }

    .smlib-trust-item {
        gap: 20px;
    }
}

@media (max-width: 750px) {
    .smlib-trust-section {
        margin-top: 2rem;
        margin-bottom: 0rem;
    }

    .smlib-trust-container {
        max-width: 94%;
        padding: revert !important;
    }

    .smlib-trust-features {
        align-items: flex-start;
    }

    .smlib-trust-title {
        font-size: 24px !important;
        text-align: left;
        margin-bottom: 20px;
    }

    .smlib-trust-item {
        max-width: 100%;
        width: 100%;
        gap: 10px;
    }

    .home_content .list_city {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px 12px !important;
    }

    .home_content .list_city .item_city {
        height: 162px !important;
    }

    .home_content .list_city .item_city a {
        font-size: 22px !important;
        padding-bottom: 16px !important;
        gap: 4px !important;
    }

    .home_content .city_title {
        font-size: 26px !important;
        line-height: 36px !important;
    }

    h4.smlib-city-title {
        font-size: 24px !important;
        font-style: normal;
        line-height: 32px !important;
        text-align: left;
        margin-bottom: -12px !important;
    }
}

/* ============================================
   EMBLA REVIEWS CSS
   ============================================ */
.home-benefits .sec-slider-ratings {
    margin-top: 24px;
}

.smlib-reviews-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 2rem;
    margin-top: 28px;
}

.smlib-reviews-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.smlib-rh-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.smlib-rh-num {
    color: var(--Dark-Text-2, #2D3236);
    font-family: Inter, sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

.smlib-rh-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.smlib-rh-exc {
    color: var(--Dark-Text-2, #2D3236);
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.smlib-rh-badge img {
    object-fit: contain;
    margin-top: 4px;
    width: 88px;
    height: 16px;
}

.smlib-rh-stars-line {
    display: flex;
    align-items: center;
    gap: 8px;
}

.smlib-rh-revs {
    color: var(--Dark-Text-2, #2D3236);
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.smlib-rh-subtitle {
    color: var(--Dark-Text-2, #2D3236);
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: normal;
    margin-top: 16px;
}

.smlib-rh-subtitle strong {
    font-weight: 700;
}

/* Embla Skeleton */
.smlib-embla-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
    /* Keep vertical page scroll on the browser's fast native path;
       only horizontal gestures are used by the review carousel. */
    touch-action: pan-y;
    padding-bottom: 8px;
}

.smlib-embla {
    overflow: hidden;
    width: 100%;
}

.smlib-embla__container {
    display: flex;
    width: 100%;
}

.smlib-embla__slide {
    flex: 0 0 100%;
    min-width: 0;
    display: flex;
    justify-content: center;
    padding: 10px 20px;
    box-sizing: border-box;
}

/* Per-card quote mark */
.smlib-rc-quote {
    margin-bottom: 10px;
    color: #1BB784;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 0.7;
    text-align: center;
    user-select: none;
}

/* Card Styling */
.smlib-review-card {
    border-radius: 6px;
    border: 1px solid var(--Light-Gray, #E0E0E0);
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.20);
    background: #FFF;
    width: 100%;
    max-width: 432px;
    padding: 16px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.smlib-rc-text {
    margin-bottom: 16px;
    color: var(--Dark-Text-2, #2D3236);
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.smlib-rc-author {
    color: var(--Dark-Text-2, #2D3236);
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
}

/* Arrows */
.smlib-embla-prev,
.smlib-embla-next {
    background: #ffffff;
    height: 100%;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.smlib-embla-prev {
    left: 0;
}

.smlib-embla-next {
    right: 0;
}

.smlib-embla-prev:hover circle,
.smlib-embla-next:hover circle {
    fill: #E6E6E6;
}

/* Dots */
.smlib-embla-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
    margin-top: 2px;
}

.smlib-embla-dot {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 3px;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Adjustments */
@media (max-width: 750px) {
    .smlib-rh-stars {
        gap: 10px;
    }

    .smlib-rh-subtitle {
        font-size: 24px;
        max-width: 82%;
    }

    .smlib-embla-prev,
    .smlib-embla-next {
        display: none !important;
    }

    .smlib-embla__slide {
        padding: 4px 16px;
    }

    .smlib-review-card {
        padding: 12px;
    }

    .smlib-rc-author {
        font-size: 14px;
    }

    .smlib-rh-revs {
        bottom: -12px;
        left: 0px;
    }

    .smlib-reviews-header {
        margin-bottom: 12px;
    }

    .smlib-reviews-section {
        margin-bottom: 1rem;
        margin-top: 4rem;
    }

    .smlib-embla-dots {
        margin-top: 10px;
    }
}
