/*
 * D7C-14B1
 * Segurillanta Home Visual System v2
 *
 * Presentational layer only.
 * No functional behavior is defined here.
 */

:root {
    --sg-home-red: #d71920;
    --sg-home-red-dark: #b81319;
    --sg-home-ink: #171717;
    --sg-home-text: #5f6368;
    --sg-home-muted: #777b80;
    --sg-home-line: #e5e7e9;
    --sg-home-soft: #f5f6f7;
    --sg-home-soft-2: #fafafa;
    --sg-home-white: #ffffff;
    --sg-home-radius: 10px;
    --sg-home-radius-small: 7px;
    --sg-home-shadow:
        0 12px 34px rgba(0, 0, 0, .07);
    --sg-home-shadow-hover:
        0 18px 42px rgba(0, 0, 0, .11);
}


/* =========================================================
   Shared visual language
   ========================================================= */

.sg-home-steps h6,
.sg-home-products h6,
.sg-home-promotions h6,
.sg-home-brands h6 {
    color: var(--sg-home-ink) !important;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -.35px;
    line-height: 1.15;
    margin-bottom: 0;
    padding-top: 0 !important;
    position: relative;
    text-transform: none !important;
}

.sg-home-steps h6::before,
.sg-home-products h6::before,
.sg-home-promotions h6::before,
.sg-home-brands h6::before {
    background: var(--sg-home-red);
    border-radius: 2px;
    content: "";
    display: block;
    height: 4px;
    margin: 0 auto 12px;
    width: 38px;
}


/* =========================================================
   Hero
   ========================================================= */

.sg-home-hero {
    background: #111;
    overflow: hidden;
}

.sg-home-hero .swiper-slide {
    background: #111;
    overflow: hidden;
    position: relative;
}

.sg-home-hero .swiper-slide > img {
    display: block;
    height: auto;
    width: 100%;
}

.sg-home-hero .btn {
    border-radius: 6px !important;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, .16);
    font-weight: 700;
    letter-spacing: .2px;
    min-width: 145px;
    padding-left: 22px;
    padding-right: 22px;
    transition:
        box-shadow .2s ease,
        transform .2s ease,
        filter .2s ease;
}

.sg-home-hero .btn:hover,
.sg-home-hero .btn:focus {
    box-shadow:
        0 12px 30px rgba(0, 0, 0, .22);
    filter: brightness(.96);
    transform: translateY(-2px);
}

.sg-home-hero .swiper-button-next,
.sg-home-hero .swiper-button-prev {
    align-items: center;
    background: rgba(18, 18, 18, .58);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    display: flex;
    height: 44px;
    justify-content: center;
    transition:
        background .2s ease,
        transform .2s ease;
    width: 44px;
}

.sg-home-hero .swiper-button-next:hover,
.sg-home-hero .swiper-button-prev:hover {
    background: rgba(18, 18, 18, .82);
}

.sg-home-hero
.swiper-pagination-bullet {
    background: #fff;
    height: 7px;
    opacity: .55;
    transition:
        opacity .2s ease,
        width .2s ease;
    width: 7px;
}

.sg-home-hero
.swiper-pagination-bullet-active {
    border-radius: 6px;
    opacity: 1;
    width: 23px;
}


/* =========================================================
   Search module
   ========================================================= */

.sg-home-search {
    background:
        linear-gradient(
            to bottom,
            #f0f1f2 0,
            #f6f7f8 100%
        );
    padding: 0 0 48px;
    position: relative;
    z-index: 5;
}

.sg-home-search > .container {
    background: var(--sg-home-white);
    border: 1px solid rgba(0, 0, 0, .05);
    border-radius:
        0 0 var(--sg-home-radius) var(--sg-home-radius);
    box-shadow: var(--sg-home-shadow);
    padding-bottom: 18px !important;
    padding-top: 0 !important;
}

.sg-home-search .tab-style2 {
    padding: 0;
}

.sg-home-search .nav-tabs {
    background: #f2f3f4;
    border: 0;
    display: flex !important;
    margin: 0;
    overflow: hidden;
}

.sg-home-search .nav-tabs > li {
    border: 0 !important;
    flex: 1 1 25%;
    float: none;
    margin: 0;
}

.sg-home-search .nav-tabs > li > a {
    align-items: center;
    border: 0 !important;
    border-bottom: 3px solid transparent !important;
    color: #686b6f;
    display: flex;
    font-size: 12px;
    font-weight: 700;
    justify-content: center;
    line-height: 1.35;
    margin: 0;
    min-height: 57px;
    padding: 12px 10px;
    text-align: center;
    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.sg-home-search
.nav-tabs > li > a:hover {
    background: #eceeef;
    color: var(--sg-home-ink);
}

.sg-home-search
.nav-tabs > li.active > a,
.sg-home-search
.nav-tabs > li.active > a:hover,
.sg-home-search
.nav-tabs > li.active > a:focus {
    background: var(--sg-home-white);
    border-bottom-color:
        var(--sg-home-red) !important;
    color: var(--sg-home-ink);
}

.sg-home-search .tab-content {
    padding: 27px 18px 5px;
}

.sg-home-search
.tab-pane
.width-150px,
.sg-home-search
.tab-pane
.width-300px {
    vertical-align: top;
}

.sg-home-search select,
.sg-home-search input[type="text"] {
    background: #fff;
    border: 1px solid #dcdfe2;
    border-radius: 6px !important;
    box-shadow: none;
    color: #333;
    font-size: 13px;
    min-height: 44px;
    outline: none;
    padding: 8px 11px;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
    width: 100%;
}

.sg-home-search select:focus,
.sg-home-search input[type="text"]:focus {
    border-color: var(--sg-home-red);
    box-shadow:
        0 0 0 3px rgba(215, 25, 32, .09);
}

.sg-home-search .btn-danger {
    background: var(--sg-home-red);
    border-color: var(--sg-home-red);
    border-radius: 6px !important;
    box-shadow: none;
    font-size: 13px;
    font-weight: 700;
    min-height: 44px;
    width: 100%;
}

.sg-home-search .btn-danger:hover,
.sg-home-search .btn-danger:focus {
    background: var(--sg-home-red-dark);
    border-color: var(--sg-home-red-dark);
}


/* =========================================================
   Three-step buying process
   ========================================================= */

.sg-home-steps {
    background: var(--sg-home-white);
    padding-bottom: 60px !important;
    padding-top: 58px !important;
}

.sg-home-steps
.row.padding-30px-top {
    padding-top: 31px !important;
}

.sg-home-steps
.col-md-10 {
    display: flex;
    gap: 18px;
}

.sg-home-steps
.col-md-4 {
    background: var(--sg-home-soft-2);
    border: 1px solid var(--sg-home-line);
    border-radius: var(--sg-home-radius);
    flex: 1 1 0;
    padding: 26px 24px 24px;
    transition:
        box-shadow .2s ease,
        transform .2s ease,
        border-color .2s ease;
}

.sg-home-steps
.col-md-4:hover {
    border-color: #d8dadd;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, .065);
    transform: translateY(-3px);
}

.sg-home-steps
.col-md-4
.tac {
    align-items: center;
    background: #fff;
    border: 1px solid #eceeef;
    border-radius: 50%;
    display: flex;
    height: 108px;
    justify-content: center;
    margin: 0 auto 20px;
    width: 108px;
}

.sg-home-steps
.col-md-4
.tac img {
    height: auto;
    max-height: 72px;
    max-width: 72px;
    object-fit: contain;
    width: auto !important;
}

.sg-home-steps h4 {
    color: var(--sg-home-ink) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.35;
    margin-bottom: 8px;
}

.sg-home-steps p {
    color: var(--sg-home-text) !important;
    font-size: 13px !important;
    line-height: 1.62;
    margin: 0 auto;
    max-width: 270px;
}


/* =========================================================
   Featured products
   ========================================================= */

.sg-home-products {
    background: var(--sg-home-soft) !important;
    padding-bottom: 54px !important;
    padding-top: 54px !important;
}

.sg-home-products
> .container
> .row:first-child {
    margin-bottom: 29px !important;
}

.sg-home-products
.blog-slider {
    overflow: visible;
}

.sg-home-products
.team-style-1 {
    margin-bottom: 10px;
}

.sg-home-products
.team-style-1 figure {
    background: #fff;
    border: 1px solid var(--sg-home-line);
    border-radius: var(--sg-home-radius);
    box-shadow:
        0 7px 22px rgba(0, 0, 0, .045);
    margin: 0;
    overflow: hidden;
    padding: 16px;
    transition:
        box-shadow .2s ease,
        transform .2s ease,
        border-color .2s ease;
}

.sg-home-products
.team-style-1 figure:hover {
    border-color: #d8dadd;
    box-shadow: var(--sg-home-shadow-hover);
    transform: translateY(-3px);
}

.sg-home-products
.team-style-1
.team-image {
    align-items: center;
    background: #fff;
    display: flex;
    justify-content: center;
    min-height: 185px;
}

.sg-home-products
.team-style-1
.team-image img {
    max-height: 178px;
    object-fit: contain;
}

.sg-home-products
.team-style-1 figcaption {
    border-top: 1px solid #efefef;
    margin-top: 13px !important;
    padding-top: 15px;
}

.sg-home-products
.feature-box-16 {
    border-radius: 7px;
}

.sg-home-products
.pro-iconos i {
    color: var(--sg-home-red);
}

.sg-home-products
.btn-transparent-black {
    border-color: #d5d7d9;
    border-radius: 5px !important;
    color: #333;
    font-weight: 700;
}

.sg-home-products
.btn-transparent-black:hover {
    background: var(--sg-home-ink);
    border-color: var(--sg-home-ink);
    color: #fff;
}


/* =========================================================
   Promotions
   ========================================================= */

.sg-home-promotions {
    background: #fff !important;
    padding-bottom: 59px !important;
    padding-top: 55px !important;
}

.sg-home-promotions
.row.margin-15px-bottom {
    margin-bottom: 28px !important;
}

.sg-home-promotions
.swiper-multy-row-container {
    border-radius: var(--sg-home-radius);
}

.sg-home-promotions
.grid-item img {
    border-radius: var(--sg-home-radius);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, .07);
    display: block;
    transition:
        box-shadow .25s ease,
        transform .25s ease;
    width: 100%;
}

.sg-home-promotions
.grid-item a:hover img {
    box-shadow:
        0 14px 34px rgba(0, 0, 0, .11);
    transform: translateY(-3px);
}

.sg-home-promotions
.swiper-portfolio-prev,
.sg-home-promotions
.swiper-portfolio-next {
    align-items: center;
    background: #fff;
    border: 1px solid #e1e3e5;
    border-radius: 50%;
    box-shadow:
        0 5px 16px rgba(0, 0, 0, .08);
    display: flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}


/* =========================================================
   Brands
   ========================================================= */

.sg-home-brands {
    background: #fff !important;
    border-top: 1px solid #eceeef;
    padding-bottom: 42px !important;
    padding-top: 39px !important;
}

.sg-home-brands
.container {
    padding-top: 0 !important;
}

.sg-home-brands h6 {
    margin-bottom: 24px;
}

.sg-home-brands
.swiper-slider-clients {
    padding: 12px 8px;
}

.sg-home-brands
.swiper-slide {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 78px;
    padding: 11px 18px;
}

.sg-home-brands
.img_b-n,
.sg-home-brands
.img_b-n img {
    filter: grayscale(100%);
}

.sg-home-brands
.img_b-n img {
    max-height: 58px;
    max-width: 150px;
    opacity: .62;
    transition:
        filter .25s ease,
        opacity .25s ease,
        transform .25s ease;
}

.sg-home-brands
.img_b-n:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.035);
}


/* =========================================================
   Swiper controls shared by Home content
   ========================================================= */

.sg-home-products
.swiper-button-next,
.sg-home-products
.swiper-button-prev {
    background-color: #fff;
    border: 1px solid #dedfe1;
    border-radius: 50%;
    box-shadow:
        0 6px 18px rgba(0, 0, 0, .08);
    height: 42px;
    width: 42px;
}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 991px) {

    .sg-home-steps h6,
    .sg-home-products h6,
    .sg-home-promotions h6,
    .sg-home-brands h6 {
        font-size: 25px;
    }

    .sg-home-search {
        padding-bottom: 40px;
    }

    .sg-home-search
    .nav-tabs > li > a {
        font-size: 11px;
        padding-left: 7px;
        padding-right: 7px;
    }

    .sg-home-steps
    .col-md-10 {
        gap: 14px;
    }

    .sg-home-steps
    .col-md-4 {
        padding-left: 18px;
        padding-right: 18px;
    }

}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {

    .sg-home-steps h6,
    .sg-home-products h6,
    .sg-home-promotions h6,
    .sg-home-brands h6 {
        font-size: 22px;
        line-height: 1.22;
        padding-left: 15px;
        padding-right: 15px;
    }


    /* Hero */

    .sg-home-hero
    .swiper-button-next,
    .sg-home-hero
    .swiper-button-prev {
        height: 36px;
        width: 36px;
    }

    .sg-home-hero .btn {
        min-width: 0;
        padding:
            8px 13px !important;
    }


    /* Search */

    .sg-home-search {
        padding-bottom: 32px;
    }

    .sg-home-search
    > .container {
        border-radius: 0 0 9px 9px;
        padding-left: 0;
        padding-right: 0;
    }

    .sg-home-search .nav-tabs {
        display: grid !important;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .sg-home-search
    .nav-tabs > li {
        width: auto;
    }

    .sg-home-search
    .nav-tabs > li > a {
        font-size: 10px;
        min-height: 51px;
        padding: 8px 5px;
    }

    .sg-home-search
    .tab-content {
        padding:
            21px 13px 4px;
    }

    .sg-home-search
    .tab-pane
    .width-150px,
    .sg-home-search
    .tab-pane
    .width-300px {
        display: block !important;
        margin:
            0 0 10px !important;
        width: 100% !important;
    }

    .sg-home-search
    .tab-pane
    .margin-15px-bottom {
        margin-bottom: 0 !important;
    }

    .sg-home-search
    select,
    .sg-home-search
    input[type="text"],
    .sg-home-search
    .btn-danger {
        min-height: 46px;
    }


    /* Three steps */

    .sg-home-steps {
        padding-bottom: 42px !important;
        padding-top: 42px !important;
    }

    .sg-home-steps
    .row.padding-30px-top {
        padding-top: 22px !important;
    }

    .sg-home-steps
    .col-md-10 {
        display: block;
    }

    .sg-home-steps
    .col-md-4 {
        margin-bottom: 13px;
        padding: 22px 19px 21px;
    }

    .sg-home-steps
    .col-md-4:last-child {
        margin-bottom: 0;
    }

    .sg-home-steps
    .col-md-4
    .tac {
        height: 88px;
        margin-bottom: 16px;
        width: 88px;
    }

    .sg-home-steps
    .col-md-4
    .tac img {
        max-height: 58px;
        max-width: 58px;
    }


    /* Products */

    .sg-home-products {
        padding-bottom: 40px !important;
        padding-top: 41px !important;
    }

    .sg-home-products
    > .container
    > .row:first-child {
        margin-bottom: 20px !important;
    }

    .sg-home-products
    .row.xs-padding-20px-lr {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }


    /* Promotions */

    .sg-home-promotions {
        padding-bottom: 43px !important;
        padding-top: 42px !important;
    }

    .sg-home-promotions
    .row.margin-15px-bottom {
        margin-bottom: 20px !important;
    }


    /* Brands */

    .sg-home-brands {
        padding-bottom: 30px !important;
        padding-top: 31px !important;
    }

    .sg-home-brands h6 {
        margin-bottom: 15px;
    }

    .sg-home-brands
    .swiper-slide {
        min-height: 65px;
        padding:
            8px 12px;
    }

    .sg-home-brands
    .img_b-n img {
        max-height: 46px;
        max-width: 125px;
    }

}


/* =========================================================
   Motion accessibility
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .sg-home-hero .btn,
    .sg-home-hero .swiper-button-next,
    .sg-home-hero .swiper-button-prev,
    .sg-home-search .nav-tabs > li > a,
    .sg-home-search select,
    .sg-home-search input,
    .sg-home-steps .col-md-4,
    .sg-home-products .team-style-1 figure,
    .sg-home-promotions .grid-item img,
    .sg-home-brands .img_b-n img {
        transition: none !important;
    }

}

/* =========================================================
   D7C-14B2_COMPACT_FLOATING_SEARCH
   Recupera la composición compacta/flotante del buscador
   original conservando el lenguaje visual v2.
   ========================================================= */

.sg-home-search {
    background: transparent;
    padding-bottom: 0;
}


/*
 * El contenedor Bootstrap vuelve a ser únicamente
 * estructural. La tarjeta visual vive dentro de tab-style2.
 */
.sg-home-search > .container {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding-bottom: 10px !important;
    padding-top: 0 !important;
}


/*
 * Tarjeta real del selector.
 */
.sg-home-search .tab-style2 {
    background: #f5f5f5;
    border: 1px solid rgba(0, 0, 0, .055);
    border-radius: 8px;
    box-shadow:
        0 12px 30px rgba(0, 0, 0, .11);
    overflow: hidden;
    padding: 0;
}


/*
 * Tabs compactos, similares a la geometría original.
 */
.sg-home-search .nav-tabs {
    background: #343536;
    border: 0;
    border-radius: 0;
    display: flex !important;
    overflow: hidden;
}

.sg-home-search .nav-tabs > li {
    background: #343536;
}

.sg-home-search .nav-tabs > li > a {
    background: #343536;
    border: 0 !important;
    border-bottom: 3px solid transparent !important;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 700;
    min-height: 49px;
    padding: 10px 9px;
}

.sg-home-search .nav-tabs > li > a:hover {
    background: #2d2e2f;
    color: #fff;
}

.sg-home-search
.nav-tabs > li.active > a,
.sg-home-search
.nav-tabs > li.active > a:hover,
.sg-home-search
.nav-tabs > li.active > a:focus {
    background: #fff;
    border-bottom-color:
        var(--sg-home-red) !important;
    color: var(--sg-home-ink);
}


/*
 * Reducimos considerablemente la altura interior.
 */
.sg-home-search .tab-content {
    background: #f7f7f7;
    padding: 21px 16px 6px;
}

.sg-home-search
.tab-pane
.width-150px,
.sg-home-search
.tab-pane
.width-300px {
    margin-left: 4px !important;
    margin-right: 4px !important;
}


/*
 * Controles.
 */
.sg-home-search select,
.sg-home-search input[type="text"] {
    background: #fff;
    border-color: #d8dbde;
    min-height: 42px;
}

.sg-home-search .btn-danger {
    min-height: 42px;
}


/*
 * Evita que el contenido inferior gane espacio
 * artificial debido a la antigua tarjeta exterior.
 */
.sg-home-search + .sg-home-steps {
    margin-top: 0;
}


@media (max-width: 991px) {

    .sg-home-search {
        padding-bottom: 0;
    }

    .sg-home-search .nav-tabs > li > a {
        min-height: 48px;
    }

}


@media (max-width: 767px) {

    /*
     * En móvil dejamos de tratarlo como tarjeta flotante:
     * ocupa todo el ancho disponible y conserva el grid 2x2.
     */
    .sg-home-search {
        background: #f5f6f7;
        padding-bottom: 26px;
    }

    .sg-home-search > .container {
        padding-bottom: 0 !important;
    }

    .sg-home-search .tab-style2 {
        border-radius: 0 0 8px 8px;
        box-shadow:
            0 8px 22px rgba(0, 0, 0, .08);
    }

    .sg-home-search .nav-tabs {
        display: grid !important;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .sg-home-search .nav-tabs > li > a {
        font-size: 10px;
        min-height: 50px;
        padding: 8px 6px;
    }

    .sg-home-search .tab-content {
        padding:
            18px 13px 4px;
    }

}

/* D7C-14B3_LOWER_FLOATING_SEARCH */
@media (min-width: 992px) {
  .sg-home-search .container,
  .sg-home-search .container-fluid {
    transform: translateY(26px);
  }

  .sg-home-search {
    margin-bottom: 26px;
  }
}

/* D7C-14B4_SEARCH_BOTTOM_SHADOW */
.sg-home-search,
.sg-home-search-box,
.sg-home-search-panel,
.sg-home-search-floating,
.sg-home-search-shell,
.sg-home-search-wrap {
    overflow: visible !important;
}

.sg-home-search-box,
.sg-home-search-panel,
.sg-home-search-floating,
.sg-home-search-shell {
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.08),
        0 22px 40px rgba(0, 0, 0, 0.12) !important;
}

/* D7C-14B4R1_REAL_CARD_BOTTOM_SHADOW */
@media (min-width: 768px) {

    .sg-home-search .tab-style2 {
        box-shadow:
            0 8px 18px rgba(0, 0, 0, .07),
            0 22px 36px -10px rgba(0, 0, 0, .20) !important;
    }

}

/* =========================================================
   D7C-14B6A_MOBILE_HOME_REDESIGN

   Mobile-only redesign.
   Desktop approved design remains untouched.
   ========================================================= */

.sg-home-mobile-search-head {
    display: none;
}


@media (max-width: 767px) {

    /* =====================================================
       HERO MOBILE
       ===================================================== */

    .sg-home-hero {
        background: #111;
        overflow: hidden;
    }

    .sg-home-hero
    .swiper-slide {
        background: #111;
        height: 220px !important;
        overflow: hidden;
    }

    .sg-home-hero
    .swiper-slide > img {
        display: block;
        height: 100% !important;
        max-width: none !important;
        object-fit: cover !important;
        object-position: center center;
        width: 100% !important;
    }


    /*
     * En móvil la navegación principal del hero
     * es mediante swipe.
     */
    .sg-home-hero
    .swiper-button-next,
    .sg-home-hero
    .swiper-button-prev {
        display: none !important;
    }


    .sg-home-hero
    .swiper-pagination {
        bottom: 9px !important;
    }

    .sg-home-hero
    .swiper-pagination-bullet {
        background: #fff;
        height: 6px;
        opacity: .58;
        width: 6px;
    }

    .sg-home-hero
    .swiper-pagination-bullet-active {
        opacity: 1;
        width: 20px;
    }


    /*
     * Botón promocional del banner:
     * más compacto si el banner lo utiliza.
     */
    .sg-home-hero .btn {
        bottom: 14px !important;
        font-size: 10px !important;
        min-width: 0;
        padding:
            7px 12px !important;
    }


    /* =====================================================
       SEARCH AREA
       ===================================================== */

    .sg-home-search {
        background: #f3f4f5;
        margin: 0 !important;
        padding:
            18px 12px 30px !important;
    }


    .sg-home-search
    > .container {
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        margin:
            0 auto !important;
        padding:
            0 !important;
        width: 100%;
    }


    /*
     * Limpieza del grid Bootstrap legacy.
     */
    .sg-home-search
    .col-md-10.col-md-offset-1,
    .sg-home-search
    .col-sm-10.col-sm-offset-1,
    .sg-home-search
    .col-md-12 {
        float: none;
        margin-left: 0 !important;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }


    /*
     * Tarjeta independiente.
     */
    .sg-home-search
    .tab-style2 {
        background: #fff;
        border:
            1px solid #e2e4e6;
        border-radius: 14px;
        box-shadow:
            0 5px 16px rgba(0, 0, 0, .06),
            0 18px 38px -12px rgba(0, 0, 0, .18);
        overflow: hidden;
        padding: 0;
    }


    /* =====================================================
       MOBILE SEARCH INTRO
       ===================================================== */

    .sg-home-mobile-search-head {
        background: #fff;
        display: block;
        padding:
            22px 18px 8px;
    }

    .sg-home-mobile-search-kicker {
        color: var(--sg-home-red);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 1.2px;
        line-height: 1.2;
        margin-bottom: 7px;
        text-transform: uppercase;
    }

    .sg-home-mobile-search-title {
        color: var(--sg-home-ink);
        font-size: 23px;
        font-weight: 900;
        letter-spacing: -.35px;
        line-height: 1.15;
        margin:
            0 0 7px;
    }

    .sg-home-mobile-search-copy {
        color: #666b70;
        font-size: 13px;
        line-height: 1.5;
        margin:
            0 0 18px;
        max-width: 300px;
    }

    .sg-home-mobile-search-label {
        color: #303236;
        display: block;
        font-size: 12px;
        font-weight: 800;
        margin-bottom: 7px;
    }


    /*
     * Selector del modo de búsqueda.
     */
    .sg-home-mobile-mode-wrap {
        position: relative;
    }

    .sg-home-mobile-mode-wrap::after {
        border-bottom:
            2px solid #555;
        border-right:
            2px solid #555;
        content: "";
        height: 8px;
        pointer-events: none;
        position: absolute;
        right: 18px;
        top: 19px;
        transform:
            rotate(45deg);
        width: 8px;
    }

    .sg-home-mobile-mode {
        -webkit-appearance: none;
        appearance: none;
        background: #f6f7f8;
        border:
            1px solid #d9dcdf;
        border-radius: 9px;
        color: #222;
        cursor: pointer;
        display: block;
        font-size: 15px;
        font-weight: 700;
        height: 50px;
        outline: none;
        padding:
            0 46px 0 15px;
        width: 100%;
    }

    .sg-home-mobile-mode:focus {
        border-color:
            var(--sg-home-red);
        box-shadow:
            0 0 0 3px
            rgba(215, 25, 32, .09);
    }


    /* =====================================================
       HIDE LEGACY TAB BAR ON MOBILE
       ===================================================== */

    .sg-home-search
    .nav-tabs {
        display: none !important;
    }


    /* =====================================================
       EXISTING TAB CONTENT, NEW PRESENTATION
       ===================================================== */

    .sg-home-search
    .tab-content {
        background: #fff;
        border: 0;
        padding:
            10px 18px 20px;
    }


    .sg-home-search
    .tab-pane
    > .row
    > .col-md-12 {
        float: none;
        padding:
            0 !important;
        text-align: left !important;
        width: 100%;
    }


    .sg-home-search
    .tab-pane
    .width-150px,
    .sg-home-search
    .tab-pane
    .width-300px {
        display: block !important;
        margin:
            0 0 12px !important;
        width: 100% !important;
    }


    .sg-home-search
    .tab-pane
    .margin-15px-bottom {
        margin-bottom:
            0 !important;
    }


    /* =====================================================
       FORM CONTROLS
       ===================================================== */

    .sg-home-search select,
    .sg-home-search
    input[type="text"] {
        background: #fff;
        border:
            1px solid #d9dcdf;
        border-radius: 9px !important;
        box-shadow: none;
        color: #303236;
        font-size: 15px;
        font-weight: 600;
        height: 50px;
        min-height: 50px;
        padding:
            0 14px;
        width: 100%;
    }


    .sg-home-search select:focus,
    .sg-home-search
    input[type="text"]:focus {
        border-color:
            var(--sg-home-red);
        box-shadow:
            0 0 0 3px
            rgba(215, 25, 32, .08);
        outline: none;
    }


    /*
     * Botón de búsqueda.
     */
    .sg-home-search
    .btn-danger {
        align-items: center;
        background:
            var(--sg-home-red);
        border:
            1px solid
            var(--sg-home-red);
        border-radius:
            9px !important;
        display: flex;
        font-size: 15px;
        font-weight: 800;
        height: 52px;
        justify-content: center;
        margin:
            2px 0 0 !important;
        min-height: 52px;
        width: 100%;
    }

    .sg-home-search
    .btn-danger:active,
    .sg-home-search
    .btn-danger:focus {
        background:
            var(--sg-home-red-dark);
        border-color:
            var(--sg-home-red-dark);
    }


    /* =====================================================
       TRANSITION TO NEXT SECTION
       ===================================================== */

    .sg-home-search
    + .sg-home-steps {
        margin-top: 0 !important;
        padding-top:
            42px !important;
    }

}


/*
 * Narrow phones.
 */
@media (max-width: 380px) {

    .sg-home-hero
    .swiper-slide {
        height:
            205px !important;
    }

    .sg-home-mobile-search-title {
        font-size: 21px;
    }

    .sg-home-search {
        padding-left:
            9px !important;
        padding-right:
            9px !important;
    }

}

/* D7C-14B6B_MOBILE_FORM_GUTTERS */
@media (max-width: 767px) {
  .sg-home-mobile-search-card .sg-home-mobile-search-form,
  .sg-home-mobile-search-card .sg-home-mobile-search-panel,
  .sg-home-mobile-search-card .tabs-content,
  .sg-home-mobile-search-card .tab-content {
    padding-left: 18px !important;
    padding-right: 18px !important;
    box-sizing: border-box !important;
  }

  .sg-home-mobile-search-card .form-group,
  .sg-home-mobile-search-card .search-field,
  .sg-home-mobile-search-card .select-style3,
  .sg-home-mobile-search-card .select-style4,
  .sg-home-mobile-search-card .input-group,
  .sg-home-mobile-search-card .btn,
  .sg-home-mobile-search-card button[type="button"],
  .sg-home-mobile-search-card button[type="submit"],
  .sg-home-mobile-search-card select,
  .sg-home-mobile-search-card input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .sg-home-mobile-search-card .form-group,
  .sg-home-mobile-search-card .search-field,
  .sg-home-mobile-search-card .select-style3,
  .sg-home-mobile-search-card .select-style4,
  .sg-home-mobile-search-card .input-group {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 12px !important;
  }

  .sg-home-mobile-search-card .btn,
  .sg-home-mobile-search-card button[type="button"],
  .sg-home-mobile-search-card button[type="submit"] {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 8px !important;
  }
}

/* =========================================================
   D7C-14B6B_R1_REAL_MOBILE_FORM_GUTTERS
   Corrige los márgenes negativos Bootstrap del formulario.
   ========================================================= */

@media (max-width: 767px) {

    /*
     * Mantener un gutter real dentro de la tarjeta.
     */
    .sg-home-search .tab-content {
        box-sizing: border-box;
        padding:
            14px 20px 22px !important;
    }


    /*
     * Bootstrap .row usa -15px a ambos lados.
     * Lo anulamos únicamente dentro del formulario móvil.
     */
    .sg-home-search
    .tab-content
    .tab-pane
    > .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }


    .sg-home-search
    .tab-content
    .tab-pane
    > .row
    > .col-md-12 {
        box-sizing: border-box;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100%;
    }


    /*
     * Contenedores legacy de los campos.
     */
    .sg-home-search
    .tab-pane
    .width-150px,
    .sg-home-search
    .tab-pane
    .width-300px {
        box-sizing: border-box;
        display: block !important;
        margin:
            0 0 12px !important;
        max-width: 100%;
        width: 100% !important;
    }


    /*
     * Campos y botón respetan exactamente
     * el ancho disponible dentro del gutter.
     */
    .sg-home-search
    .tab-pane select,
    .sg-home-search
    .tab-pane input[type="text"],
    .sg-home-search
    .tab-pane .btn-danger {
        box-sizing: border-box !important;
        max-width: 100% !important;
        width: 100% !important;
    }


    /*
     * Último control sin espacio innecesario debajo.
     */
    .sg-home-search
    .tab-pane
    .width-150px:last-child,
    .sg-home-search
    .tab-pane
    .width-300px:last-child {
        margin-bottom: 0 !important;
    }

}

/* =========================================================
   D7C-15B1_RESPONSIVE_BANNER_CSS
   Desktop image + optional mobile image via <picture>.
   ========================================================= */

.sg-home-hero
.sg-home-banner-picture {
    display: block;
    width: 100%;
}

.sg-home-hero
.sg-home-banner-picture > img {
    display: block;
    height: auto;
    width: 100%;
}


@media (max-width: 767px) {

    .sg-home-hero
    .sg-home-banner-picture {
        height: 100%;
        overflow: hidden;
        width: 100%;
    }

    .sg-home-hero
    .sg-home-banner-picture > img {
        display: block;
        height: 100% !important;
        max-width: none !important;
        object-fit: cover !important;
        object-position: center center;
        width: 100% !important;
    }

}
