/*** General CSS ***/
body {
    line-height: 1.9em;
}

/*** Header Area ***/
/* Header Top */
#sp-top-bar {
    position: relative;
    z-index: 9999;
    padding: 15px 0;
}
body.home #sp-top-bar {
    background: transparent;
}

/* Header Menu */
#sp-header {
    box-shadow: none;
    max-width: 1320px;
    margin: 0 auto;
    border-radius: 10px;
}
#sp-header.header-sticky,
body:not(.home) #sp-header {
    border-radius: 0;
    max-width: 100%;
    box-shadow: 0 0 4px 0 rgb(0 0 0 / 10%);
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item>a {
    font-weight: 400 !important;
    padding: 10px 0;
    font-size: 16px !important;
}
.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {
    text-transform: capitalize;
    position: relative;
}

/* Canvas Menu */
.offcanvas-menu .offcanvas-inner .menu-child > li a {
    padding: 12px 10px !important;
    border-bottom: 1px solid rgba(197, 153, 153, 0.21);
    display: inherit;
}
.offcanvas-menu .offcanvas-inner ul.menu>li>a, .offcanvas-menu .offcanvas-inner ul.menu>li>span {
    font-size: 15px;
    font-weight: 500;
}
.burger-icon>span {
    background-color: #000;
}
.offcanvas-menu > .align-items-center {
    background: #fff;
}
.offcanvas-active .burger-icon>span, #modal-menu-toggler.active .burger-icon>span {
    background-color: #000;
}

/*** Block Styles ***/
/* Button */
.btn {
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 5px;
    letter-spacing: 1px;
    border: none;
    display: inline-block;
    /* background: transparent; */
    /* color: #fff; */
    -webkit-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}
.btn:hover {
    background-color: #e1980f;
    color:  #fff;
    transform: translateY(-8px);
}
.btn.color, .btn.color:hover {
    background-color: #001659;
    padding: 17px 30px;
    border: none;
    color: #fff;
    border-radius: 0;
}
a.btn-link {
    padding: 0;
    font-size: 14px;
    letter-spacing: 2px;
    -webkit-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}
a.btn-link:hover {
    transform: translateY(-8px);
}
.btn.white {
    background: #fff;
}

/* Slider */
#slider {
    margin-top: -150px !important;
}

/* About */
.about-column .clearfix:last-child {
    position: relative;
}


/* Choose */
.choose .sppb-row-overlay,
.contact .sppb-row-overlay {
    background-image: radial-gradient(at center center, #FEFBFB2B 0%, #fefbfb 75%);
}

/* Services */
.services-column {
    border-radius: 10px 0px 10px 0px;
}
.services-column .clearfix:nth-child(4),
.services-column .clearfix:nth-child(5),
.services-column .clearfix:nth-child(6),
.services-column .clearfix:nth-child(7) {
    float: left;
    width: 50%;
}

/* Testimonials */
.testimonials {
    z-index: 2 !important;
}

/* Contact */
.contact-item a {
    border-radius: 5px;
}

/* FAQs */
span.sppb-panel-title {
    font-size: 18px;
    font-weight: 400;
    color: #222;
}
.sppb-panel-modern>.sppb-panel-heading {
    background: transparent;
    color: #222;
    padding: 15px 0;
    border-bottom: 1px solid #2222220d;
}
.sppb-panel-modern {
    border: none;
    margin-bottom: 0;
    background: transparent;
    color: #222;
}
.sppb-panel-body {
    padding: 15px 0;
    border-top: none;
}

/* Team */
.team-item img {
    border-radius: 10px 0px 0px 10px;
}

/* Blog */
.blog {
    border-top: 2px dashed #70707021;
}
.jmm-item .jmm-image.mod-article-image {
    overflow: hidden;
    margin: 0;
}
.jmm-image.mod-article-image img {
    transform: scale(1);
    -webkit-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    border-radius: 20px 20px 0 0;
}
.jmm-item:hover .jmm-image.mod-article-image img {
    transform: scale(1.12);
    filter: grayscale(100%);
}
.jmm-text {
    padding: 30px 20px 20px;
    border-radius: 0px 0px 20px 20px;
    border: 1px solid #70707012;
}
.jm-category-module.default .jmm-text .jmm-title {
    font-size: 17px;
    font-weight: 600;
    text-transform: capitalize;
}
.jm-category-module.default .jmm-readmore {
    margin-top: 20px;
}

/* Bottom */
#sp-bottom {
    overflow: hidden;
    position: relative;
    z-index: 1;
    font-size: 16px;
    background-image: linear-gradient(180deg, #f8f2f0 0%, #fefbfb 100%);
    padding-top: 0;
}
#sp-bottom .container {
    background: #fff;
    padding: 50px 40px 10px;
    border-radius: 10px;
    box-shadow: 0px 0px 20px 0px rgb(0 0 0 / 10%);
}
#sp-bottom:before {
    content: '';
    position: absolute;
    left: 0;
    height: 60px;
    width: 100%;
    top: 0;
    z-index: auto;
    background-color: #fff;
    z-index: -1;
    background-repeat: no-repeat;
    background-size: cover;
}
#sp-bottom .sp-module .sp-module-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 0px;
    color: #222;
    position: relative;
}
.shrewd_solution_icon  {
    margin-top: 25px;
}
.shrewd_solution_icon ul, .shrewd_solution_icon ul li {
    display: inline-block!important;
    padding: 0!important;
    margin-bottom: 0px !important;
}
.shrewd_solution_icon ul li a {
    font-size: 16px;
    width: 33px;
    line-height: 33px;
    color: #fff !important;
    text-align: center;
    border-radius: 5px;
    border: none;
    -webkit-transition: .5s;
    transition: .5s;
    display: inline-block;
    height: 33px;
    margin-right: 5px;
    background: #fff;
}
.shrewd_solution_icon ul li a:hover {
    color: #000 !important;
}
.shrewd_solution_icon ul li a em {
    font-family: "Font Awesome 5 Brands";
}
.shrewd_solution_icon strong {
    display: none;
    margin: 0 20px;
}
#sp-bottom ul li strong {
    display: none;
}
#sp-bottom ul li span {
    padding-right: 10px;
}

/* Footer Copyright */
#sp-footer {
    text-align: center;
}
#sp-footer {
    display: inline-block;
    width: 100%;
    position: relative;
    z-index: 1;
}
#sp-footer .container-inner {
    border-top: none;
}

/*** Responsive Layout ***/
@media (min-width: 992px) and (max-width: 1280px) {
    .sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {
        font-size: 14px !important;
    }
    div#sp-menu .sp-menu-full.container {
        width: 880px !important;
    }
}

/* Mobile Standard Layout */
@media (max-width: 991px) {
    #sp-header, #sp-header .logo {
        height: 70px;
    }
    #sp-footer p {
        text-align: center;
    }
    body #sp-header {
        padding: 0;
    }
    #sp-header {
        border-radius: 0;
    }
}

/* Mobile Small Resolution */
@media (max-width: 480px) {
    body #sp-header {
        top: 0;
    }
    .services-column .clearfix:nth-child(4), 
    .services-column .clearfix:nth-child(5), 
    .services-column .clearfix:nth-child(6), 
    .services-column .clearfix:nth-child(7) {
        width: 100%;
    }
}

/* General color defination
Color value depend on preset color that picking on template settings > Presets
*/

:root {
  --background-color: currentColor;
  --background: currentColor;
  --text-color: currentColor;
}
.page-item.active .page-link, .slider-item .sppb-btn-success, .sp-simpleportfolio .sp-simpleportfolio-item .sp-simpleportfolio-info:hover, 
.btn, .project-column .clearfix,
.social-icons li a:hover span, .bottom-top,
.shrewd_solution_icon ul li a:hover, .title h3:before, .contact-item a,
.shrewd_solution_icon ul li a {
    background-color: var(--background-color);
}
.addtocart-button {
    background-color: var(--background-color) !important;
}
.article-list .article .readmore a:hover, .article-list .article .readmore a:active, .article-list .article .article-header h2 a:hover,
.title h4, .check-list ul span, .btn.white,
#sp-bottom1 .shrewd_solution_icon ul li a:hover, .title h3,
.choose-item i, .services-item i, .contact-item i,
.sppb-panel-heading.active .sppb-panel-title {
    color: var(--text-color);
}
.btn, .services-column .clearfix {
    border-color: var(--text-color);
}
.addtocart-button {
    border-color: var(--background-color) !important;
}

/*** Fix Rating ***/  
.content_rating:before {  
    content: "Ratings: ";  
    position: relative;  
    top: 2px;  
}  
.article-ratings-social-share .social-share-block {  
   width: 100%;  
}  
.article-ratings-social-share .social-share-block .article-social-share {  
   float: left;  
}  
.article-ratings-social-share  .me-auto {  
   display: none;  
}  
.content_rating .jq-star {  
   margin: 0 3px;  
}
/* ===== HikaShop: ocultar el hero/título grande de Helix ===== */
/* Pedido (order) y Checkout (opcional) */
body.option-com_hikashop.view-order .sp-page-title,
body.option-com_hikashop.view-order .page-title,
body.option-com_hikashop.view-order .page-header,
body.option-com_hikashop.view-checkout .sp-page-title,
body.option-com_hikashop.view-checkout .page-title,
body.option-com_hikashop.view-checkout .page-header {
  display: none !important;
}

/* Quitar el hueco superior que deja el hero de Helix en esas vistas */
body.option-com_hikashop.view-order #sp-main-body,
body.option-com_hikashop.view-checkout #sp-main-body {
  padding-top: 30px;
}

/* (Opcional) Afinar el tamaño/espaciado del título del pedido */
body.option-com_hikashop.view-order h1,
body.option-com_hikashop.view-order .hikashop_header_title {
  font-size: 28px;
  line-height: 1.25;
  margin: 20px 0 25px;
}
/* Reducir la ilustración de Passkey en la pantalla de login */
.com-users-login img[src*="webauthn"],
.com-users-login .passkey-illustration img,
.com-users-login .webauthn-illustration img {
  max-width: 240px;   /* tamaño deseado */
  width: 100%;
  height: auto;
  display: inline-block;
}
.com-users-login .passkey-illustration,
.com-users-login .webauthn-illustration {
  text-align: center; /* centra la imagen si el bloque es ancho */
}
/* Cuando la ilustración viene como fondo */
.com-users-login .passkey-illustration,
.com-users-login .webauthn-illustration {
  background-size: contain; /* que no se corte */
  background-repeat: no-repeat;
  background-position: center;
  height: 220px;            /* reduce la altura del bloque */
}
@media (max-width: 576px) {
  .com-users-login img[src*="webauthn"] {
    max-width: 180px;
  }
  .com-users-login .passkey-illustration,
  .com-users-login .webauthn-illustration {
    height: 180px;
  }
}
