/* Shared frontend polish — loaded for visitors and admins */

/* Flaticon: woff2 only (override theme multi-format + SVG WebKit face) */
@font-face {
    font-family: "Flaticon";
    src: url("../fonts/Flaticon.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Page preloader */
.preloader {
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.preloader.preloader--done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader .preloaderCls {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 2;
}

.preloader-inner img {
    max-width: 140px;
    height: auto;
    margin-bottom: 16px;
}

@media (prefers-reduced-motion: reduce) {
    .preloader {
        transition: none;
    }

    .beat-loader {
        animation: none !important;
        stroke-dashoffset: 0;
    }
}

/* Product gallery (shop details) — must work without live-edit.css */
.product-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.product-gallery__item {
    position: relative;
    width: 88px;
    height: 88px;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f4f8;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.product-gallery__item:hover,
.product-gallery__item.is-active {
    border-color: #38abd5;
    box-shadow: 0 0 0 2px rgba(56, 171, 213, 0.2);
}

.product-gallery__item.is-primary {
    border-color: #38abd5;
}

.product-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-image-gallery .main-product-image {
    border-radius: 8px;
    overflow: hidden;
    background: #f0f4f8;
}

.product-image-gallery .main-product-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Empty states */
.site-empty-state {
    text-align: center;
    padding: 48px 24px;
    background: #f3f6f7;
    border-radius: 8px;
    color: #5b6b7c;
}

.site-empty-state__title {
    color: #002e5c;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
}

.site-empty-state__text {
    margin: 0 0 20px;
    font-size: 15px;
}

/* Home product cards — theme-aligned, no fake ratings */
.home-product-grid .vs-product-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.home-product-grid .vs-product-box:hover {
    box-shadow: 0 8px 25px rgba(0, 46, 92, 0.18);
    transform: translateY(-6px);
}

.home-product-grid .product-img {
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.home-product-grid .product-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.home-product-grid .vs-product-box:hover .product-img img {
    transform: scale(1.05);
}

.home-product-grid .product-content {
    padding: 22px 18px 24px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-product-grid .product-title {
    min-height: 48px;
    margin-bottom: 12px;
}

.home-product-grid .product-title a {
    color: #002e5c;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    line-height: 1.4;
}

.home-product-grid .product-title a:hover {
    color: #38abd5;
}

.home-product-grid .product-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 14px;
    flex: 1;
}

.home-product-grid .price {
    font-size: 22px;
    font-weight: 700;
    color: #38abd5;
    margin-bottom: 16px;
}

.home-product-grid .product-content .vs-btn {
    margin-top: auto;
    align-self: center;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* About media */
.about-media-col {
    width: 100%;
}

.about-media-frame {
    position: relative;
    overflow: hidden;
    background: #e8eef3;
    min-height: 260px;
}

.about-cover-img,
.about-img3 img,
.section-layout-inner img,
.page-content img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.about-img-6 img {
    object-fit: cover;
    max-width: 100%;
    height: auto;
}

.about-img3 .exp-box-bottom {
    z-index: 4;
}

.about-phone-hidden-note {
    color: #5b6b7c;
    font-size: 14px;
    margin: 0;
}

/* Home experience badge — keep label readable for visitors */
.exp-box,
.exp-box h6,
.exp-box span,
.exp-box .exp-box__label,
.exp-box .live-edit {
    color: #fff !important;
}

/* Contact info panel */
.contact-info-panel {
    background: #f3f6f7;
    border-radius: 8px;
    padding: 28px 24px;
    height: 100%;
}

.contact-info-panel__title {
    color: #002e5c;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
}

.contact-info-panel__lead {
    color: #5b6b7c;
    margin: 0 0 24px;
    font-size: 15px;
}

.contact-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item__icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #002e5c;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-item__label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #5b6b7c;
    margin-bottom: 2px;
}

.contact-info-item__value {
    color: #002e5c;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
}

.contact-info-item__value:hover {
    color: #38abd5;
}

/* Feature lists on home */
.about-content6 .list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Hide non-functional header search for now */
.header-main6 .searchBoxTggler {
    display: none !important;
}

/* Footer phone row */
.footer-contact-phone {
    margin-top: 12px;
}

.footer-contact-phone a {
    color: inherit;
}

/* --------------------------------------------------------------------------
   Visitor density — tighter banners, sections, shop, and footer
   -------------------------------------------------------------------------- */

/* Header stack */
.header-layout6 .header-top-six {
    margin-bottom: 8px;
}

.header-layout6 .header-main6 {
    padding-top: 6px;
    padding-bottom: 0;
}

.header-layout6 .header-main6 .header-logo img,
.header-layout6 .header-main6 .logo-element {
    max-height: 64px;
    width: auto;
}

.header-layout6 .header-lower-six {
    margin-top: 8px;
}

.header-layout6 .header-lower-six .main-menu > ul > li > a {
    padding-top: 14px;
    padding-bottom: 14px;
}

.vs-menu-wrapper .vs-menu-toggle {
    width: 44px;
    height: 44px;
    line-height: 44px;
    font-size: 18px;
}

/* Home hero slider — show the uploaded image at its real proportions (no stretch, no center-crop) */
.hero-slider-wrapper {
    position: relative;
    width: 100%;
}

.hero-slider-wrapper > .vs-hero-wrapper6 {
    position: relative;
    width: 100%;
    min-height: 0;
    overflow: hidden;
    background-image: none !important;
    background-size: auto;
}

.hero-slide-media {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 0;
}

.hero-slider-wrapper > .vs-hero-wrapper6:before {
    z-index: 1;
    background: linear-gradient(90deg, var(--hero-overlay-color, #fff) 26.01%, transparent 77.95%);
    opacity: var(--hero-overlay-opacity, 0.8);
}

.hero-slide-item {
    transition: opacity 1s ease-in-out;
}

.hero-slider-wrapper .container-style6 {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: auto;
    z-index: 2;
    padding: 24px 40px;
}

.hero-slider-wrapper .hero-content6 {
    padding: 8px 0;
    max-width: 660px;
    width: 100%;
}

.hero-slider-wrapper .hero-content6 .title {
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 14px;
}

.hero-slider-wrapper .hero-content6 .sub-title {
    font-size: 16px;
    margin-bottom: 8px;
}

.hero-slider-wrapper .hero-content6 p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.hero-slide-item.is-align-left .hero-copy-wrap {
    justify-content: flex-start;
}

.hero-slide-item.is-align-left .hero-content6 {
    text-align: left;
}

.hero-slide-item.is-align-center .hero-copy-wrap {
    justify-content: center;
}

.hero-slide-item.is-align-right .hero-copy-wrap {
    justify-content: flex-end;
}

.hero-slide-item.is-valign-top .hero-copy-wrap {
    align-items: flex-start;
}

.hero-slide-item.is-valign-center .hero-copy-wrap {
    align-items: center;
}

.hero-slide-item.is-valign-bottom .hero-copy-wrap {
    align-items: flex-end;
}

.hero-slide-item.is-align-center .hero-content6 {
    text-align: center;
}

.hero-slide-item.is-align-right .hero-content6 {
    text-align: right;
}

.hero-slide-item.is-align-right:before {
    background: linear-gradient(270deg, var(--hero-overlay-color, #fff) 26.01%, transparent 77.95%);
}

.hero-slide-item.is-align-center.is-overlay-fade:before {
    background: linear-gradient(180deg, var(--hero-overlay-color, #fff) 0%, transparent 75%);
}

.hero-slide-item.is-overlay-full:before {
    background: var(--hero-overlay-color, #fff) !important;
}

.hero-slide-item.is-overlay-none:before {
    opacity: 0 !important;
    background: none !important;
}

body:not(.live-edit-active) .hero-copy-optional {
    display: none !important;
}

body.live-edit-active .hero-copy-optional.sub-title:empty::before {
    content: "Add subtitle";
    opacity: 0.45;
}

body.live-edit-active .hero-copy-optional.title:empty::before {
    content: "Add title";
    opacity: 0.45;
}

body.live-edit-active .hero-content6 > .hero-copy-optional:not(.sub-title):not(.title):not(.btn-style):empty::before {
    content: "Add text";
    opacity: 0.45;
}

body.live-edit-active .hero-copy-optional.btn-style {
    opacity: 0.65;
}

@media (max-width: 1199px) {
    .hero-slider-wrapper .container-style6 {
        padding: 16px 28px;
    }

    .hero-slide-item.is-valign-bottom .hero-copy-wrap,
    .hero-slide-item.is-valign-center .hero-copy-wrap,
    .hero-slide-item.is-valign-top .hero-copy-wrap {
        align-items: center;
    }

    .hero-slider-wrapper .hero-content6 {
        padding: 0;
        max-width: 540px;
    }

    .hero-slider-wrapper .hero-content6 .title {
        font-size: 32px;
        line-height: 1.15;
        margin-bottom: 8px;
    }

    .hero-slider-wrapper .hero-content6 .sub-title {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .hero-slider-wrapper .hero-content6 p {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 14px;
    }
}

@media (max-width: 992px) {
    .hero-slider-wrapper .container-style6 {
        padding: 14px 22px;
    }

    .hero-slider-wrapper .hero-content6 .title {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 8px;
    }
}

@media (max-width: 767px) {
    .hero-slider-wrapper > .vs-hero-wrapper6 {
        position: relative;
        inset: auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: visible;
    }

    .hero-slider-wrapper > .vs-hero-wrapper6:before {
        display: none;
    }

    .hero-slide-media {
        width: 100%;
        height: auto;
        object-fit: unset;
        object-position: center top;
    }

    .hero-slider-wrapper .container-style6 {
        position: relative;
        inset: auto;
        display: block;
        height: auto;
        padding: 20px 16px 24px;
        align-items: flex-start;
    }

    .hero-slide-item.is-valign-bottom .hero-copy-wrap,
    .hero-slide-item.is-valign-center .hero-copy-wrap,
    .hero-slide-item.is-valign-top .hero-copy-wrap {
        align-items: flex-start;
    }

    .hero-slider-wrapper .hero-content6 {
        padding: 0;
        max-width: none;
    }

    .hero-slider-wrapper .hero-content6 .title {
        font-size: 26px;
        line-height: 1.25;
        margin-bottom: 10px;
    }

    .hero-slider-wrapper .hero-content6 .sub-title {
        font-size: 14px;
        margin-bottom: 8px;
    }
}

/* Keep the next home section below the slider so the full banner image stays visible */
.about-section6 {
    margin-top: 0;
}

/* Hide the template stethoscope graphic beside the product grid */
.service-section-two::before {
    display: none;
}

@media (max-width: 992px) {
    .about-section6 {
        padding-top: 40px !important;
    }
}

/* Inner-page title banner — show the uploaded image at its real proportions (no stretch, no center-crop) */
.breadcumb-wrapper {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 36px;
    background-color: #0b2a4a;
}

.breadcumb-bg {
    position: relative;
    z-index: 0;
    pointer-events: none;
}

.breadcumb-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 28, 48, 0.28) 0%, rgba(8, 28, 48, 0.45) 100%);
}

.breadcumb-bg img {
    display: block;
    width: 100%;
    height: auto;
    transform: none;
    backface-visibility: hidden;
}

.breadcumb-wrapper > .container {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 140px;
    padding-bottom: 48px;
}

.breadcumb-wrapper > .breadcumb-banner-actions {
    position: absolute;
    top: 16px;
    right: 16px;
    left: auto;
    z-index: 20;
    margin: 0;
}

.breadcumb-title {
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 0;
}

.breadcumb-menu-wrap {
    margin-top: 48px;
    margin-bottom: -36px;
    --icon-size: 34px;
    --shape-size: 44px;
}

.breadcumb-menu {
    padding: 16px 40px;
}

.breadcumb-menu li,
.breadcumb-menu a,
.breadcumb-menu span {
    font-size: 15px;
}

/* Legacy parallax markup (if any remain) */
.breadcumb-wrapper .parallax,
.breadcumb-wrapper [data-parallax-image],
.breadcumb-wrapper .parallax__container {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    top: auto !important;
    transform: none !important;
    min-height: 100%;
}

/* Section rhythm — keep home readable, cut excess on inner pages */
.space,
.space-top {
    padding-top: 64px;
}

.space,
.space-bottom {
    padding-bottom: 64px;
}

.space-md,
.space-md-top {
    padding-top: 40px;
}

.space-md,
.space-md-bottom {
    padding-bottom: 40px;
}

.space-md {
    padding: 40px 0;
}

/* Shop / product listing */
.vs-product-wrapper.space-top {
    padding-top: 28px;
}

.vs-product-wrapper.space-md-bottom {
    padding-bottom: 40px;
}

.vs-product-wrapper .vs-sort-bar {
    margin-bottom: 16px !important;
}

/* Shop layout toggle — compact segmented control */
.shop-layout-toggle {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    background: #f3f6f7;
    border: 1px solid #e4eaf0;
    border-radius: 8px;
}

.shop-layout-toggle__btn {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    border: 0;
    background: transparent;
    color: #5b6b7c;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.shop-layout-toggle__btn i {
    font-size: 14px;
    line-height: 1;
    pointer-events: none;
}

.shop-layout-toggle__btn:hover {
    color: #002e5c;
    background: rgba(255, 255, 255, 0.7);
}

.shop-layout-toggle__btn:focus-visible {
    outline: 2px solid #38abd5;
    outline-offset: 1px;
}

.shop-layout-toggle__btn.is-active,
.shop-layout-toggle__btn.active {
    background: #fff;
    color: #002e5c;
    box-shadow: 0 1px 3px rgba(0, 46, 92, 0.12);
}

.vs-product-box .product-img {
    aspect-ratio: 1 / 1;
    background-color: #eef2f5;
    position: relative;
}

.vs-product-box .product-img > a {
    display: block;
    position: absolute;
    inset: 0;
}

.vs-product-box .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 0;
    background-color: #eef2f5;
}

.vs-product-box .product-content {
    padding: 14px 12px 16px;
}

.vs-product-box .product-title {
    margin-bottom: 6px;
    min-height: 0;
}

.vs-product-box .product-title a {
    font-size: 16px;
    line-height: 1.35;
}

.shop-grid-area .row > [class*="col-"],
.shop-list-area .row > [class*="col-"] {
    margin-bottom: 20px;
}

/* Contact / distributor forms */
.vs-contact-wrapper.space-top {
    padding-top: 28px;
}

.vs-contact-wrapper.space-md-bottom {
    padding-bottom: 40px;
}

/* About after breadcrumb */
.vs-about-wrapper.space {
    padding-top: 40px;
    padding-bottom: 48px;
}

.vs-about-wrapper.space.pt-0 {
    padding-top: 0;
}

/* Footer — less empty height */
.footer-layout6 .footer-uper-box.v6 {
    padding: 36px 0 24px;
    margin-bottom: 28px;
}

.footer-layout6 .widget-area.v6 {
    margin-bottom: 20px;
}

.footer-layout6 .about-widget-six {
    margin-top: 0;
    padding-top: 0;
}

.footer-layout6 .widget-column {
    margin-bottom: 0;
}

.footer-layout6 .widget_title {
    margin-bottom: 14px;
    padding-bottom: 12px;
}

.footer-layout6 .copyright-wrap.v6 {
    padding: 14px 0;
}

.footer-layout6 .footer-logo-img,
.footer-layout6 .logo-box .logo-element {
    max-height: 52px;
    width: auto;
}

.footer-contact-list .content-box {
    margin-bottom: 10px;
}

.footer-layout6 .about-widget-six .vs-widget-about .content-box:first-child {
    margin-top: 0;
}

.footer-contact-list .icon {
    flex-shrink: 0;
}

    @media (max-width: 1199px) {
    .breadcumb-wrapper {
        margin-bottom: 28px;
    }

    .breadcumb-wrapper > .container {
        padding-top: 110px;
        padding-bottom: 40px;
    }

    .breadcumb-title {
        font-size: 40px;
    }

    .breadcumb-menu-wrap {
        margin-top: 40px;
        margin-bottom: -30px;
    }

    .header-layout6 .header-main6 .header-logo img,
    .header-layout6 .header-main6 .logo-element {
        max-height: 52px;
    }
}

@media (max-width: 992px) {
    .space,
    .space-top {
        padding-top: 48px;
    }

    .space,
    .space-bottom {
        padding-bottom: 48px;
    }

    .space-md,
    .space-md-top {
        padding-top: 32px;
    }

    .space-md,
    .space-md-bottom {
        padding-bottom: 32px;
    }

    .breadcumb-wrapper {
        text-align: center;
    }

    .breadcumb-wrapper > .container {
        padding-top: 96px;
        padding-bottom: 36px;
    }

    .breadcumb-menu-wrap {
        margin-top: 36px;
        margin-bottom: -26px;
    }

    .footer-layout6 .footer-uper-box.v6 {
        padding: 28px 0 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .breadcumb-wrapper {
        margin-bottom: 20px;
        min-height: 200px;
    }

    .breadcumb-wrapper > .container {
        position: relative;
        padding-top: 80px;
        padding-bottom: 32px;
    }

    .breadcumb-bg {
        position: absolute;
        inset: 0;
    }

    .breadcumb-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .breadcumb-title {
        font-size: 30px;
    }

    .breadcumb-menu {
        padding: 14px 24px;
        border-radius: 16px;
    }

    .vs-product-wrapper.space-top,
    .vs-contact-wrapper.space-top {
        padding-top: 20px;
    }

    .vs-product-wrapper.space-md-bottom,
    .vs-contact-wrapper.space-md-bottom {
        padding-bottom: 32px;
    }

    .footer-layout6 .footer-uper-box.v6 {
        padding: 24px 0 16px;
        margin-bottom: 16px;
    }

    .footer-layout6 .widget-area.v6 {
        margin-bottom: 12px;
    }

    .form-wrap3 .form-control,
    .form-wrap3 .form-control.style3,
    .form-wrap3 textarea.form-control,
    .intl-phone__input.form-control.style3,
    .intl-phone__search {
        font-size: 16px;
    }

    .shop-layout-toggle__btn {
        width: 44px;
        height: 44px;
    }

    .page-content h2,
    .section-layout-inner h2,
    .title-area-two h2,
    .live-edit-section-block h2,
    .about-content h2 {
        font-size: 24px;
        line-height: 1.3;
    }
}

/* 10 Steps Ahead */
.steps-ahead-section {
    background:
        radial-gradient(ellipse at 12% 20%, rgba(56, 171, 213, 0.08), transparent 45%),
        radial-gradient(ellipse at 88% 70%, rgba(232, 119, 58, 0.07), transparent 40%),
        #f7fbfe;
}

.steps-ahead-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.steps-ahead-img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 991px) {
    .steps-ahead-row {
        text-align: center;
    }

    .steps-ahead-section .title-area-two.v3 {
        margin-bottom: 1.5rem;
    }
}

/* Dynamic section layouts */
.section-layout-center-copy {
    max-width: 720px;
}

.section-layout-cta {
    padding: 28px 20px;
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(56, 171, 213, 0.08), rgba(0, 46, 92, 0.04));
}

.section-layout-notice {
    display: block;
    padding: 18px 22px;
}

.section-layout-notice__label {
    color: #002e5c;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 12px;
}

.section-layout-notice__title {
    color: #38abd5;
    font-weight: 700;
}

.section-layout-stat-card {
    padding: 24px 16px;
    border-radius: 12px;
    background: #f7fbfe;
    border: 1px solid #e2eef5;
}

.section-layout-stat-card__value {
    font-size: 36px;
    font-weight: 700;
    color: #002e5c;
    line-height: 1.1;
}

.section-layout-stat-card__label {
    margin-top: 8px;
    color: #5a7388;
    font-size: 14px;
}

.section-layout--steps-ahead .steps-ahead-section {
    background: transparent;
    padding: 0;
}

/* International phone field (flag + dial code + national number) */
.form-wrap3 .form-group select.form-control.style3 {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 48px;
    cursor: pointer;
}

.form-wrap3 .form-group--intl-phone {
    z-index: 2;
}

.form-wrap3 .form-group--intl-phone.is-open,
.form-wrap3 .form-group--intl-phone:focus-within {
    z-index: 20;
}

.intl-phone {
    position: relative;
    display: flex;
    align-items: stretch;
    background: var(--white-color, #fff);
    border: 2px solid #dee4eb;
    border-radius: 9999px;
    min-height: 60px;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.intl-phone:focus-within,
.form-group--intl-phone.is-open .intl-phone {
    border-color: var(--theme-color, #38abd5);
    box-shadow: 0px 5px 40px 0px rgba(39, 71, 125, 0.1);
}

.intl-phone.is-invalid,
.form-group--intl-phone.has-error .intl-phone {
    border-color: #dc3545;
}

.intl-phone__trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 108px;
    padding: 0 12px 0 18px;
    border: 0;
    border-right: 1px solid #e5e9ee;
    background: transparent;
    color: #002e5c;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 9999px 0 0 9999px;
}

.intl-phone__flag {
    font-size: 20px;
    line-height: 1;
}

.intl-phone__dial {
    white-space: nowrap;
}

.intl-phone__caret {
    font-size: 11px;
    color: #7a8b9a;
    margin-left: 2px;
}

.intl-phone__input.form-control.style3 {
    border: 0 !important;
    border-radius: 0 9999px 9999px 0 !important;
    box-shadow: none !important;
    height: 56px;
    padding-left: 14px;
    padding-right: 48px;
    background: transparent !important;
    flex: 1;
    min-width: 0;
}

.intl-phone__dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid #d9e3eb;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 46, 92, 0.14);
    overflow: hidden;
    z-index: 50;
}

.intl-phone__search-wrap {
    padding: 10px;
    border-bottom: 1px solid #eef2f5;
}

.intl-phone__search {
    width: 100%;
    border: 1px solid #d9e3eb;
    border-radius: 9999px;
    padding: 10px 14px;
    font-size: 14px;
    outline: none;
}

.intl-phone__search:focus {
    border-color: var(--theme-color, #38abd5);
}

.intl-phone__list {
    list-style: none;
    margin: 0;
    padding: 6px 0;
    max-height: 240px;
    overflow-y: auto;
}

.intl-phone__option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
    color: #002e5c;
}

.intl-phone__option:hover,
.intl-phone__option.is-active {
    background: #f3f9fc;
}

.intl-phone__option-flag {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.intl-phone__option-name {
    flex: 1;
    min-width: 0;
}

.intl-phone__option-dial {
    color: #5a7388;
    font-weight: 600;
}

.intl-phone__empty {
    padding: 14px;
    text-align: center;
    color: #7a8b9a;
    font-size: 13px;
}

.form-wrap3 .form-group .invalid-feedback,
.form-wrap3 .form-client-error {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #dc3545;
}

.form-wrap3 .form-control.is-invalid {
    border-color: #dc3545;
}

@media (max-width: 575.98px) {
    .intl-phone__trigger {
        min-width: 92px;
        padding-left: 14px;
        gap: 4px;
    }

    .intl-phone__dial {
        font-size: 13px;
    }
}
