/* custom.css — tweaks puntuales y overrides menores
 * Cargado con priority 999, siempre gana sobre los demás archivos.
 * Para estilos de sección completa, usar el archivo temático correspondiente:
 *   base.css / header.css / footer.css / homepage.css / catalog.css
 */
:root {
  --navy:       #111111;
  --navy-dark:  #000000;
  --navy-mid:   #222222;
  --cyan:       #555555;
  --cyan-dark:  #444444;
  --cyan-light: rgba(0,0,0,.06);
  --white:      #ffffff;
  --off-white:  #f8f8f8;
  --grey:       #f0f0f0;
  --border:     #e0e0e0;
  --text:       #111111;
  --muted:      #999999;
  --shadow-xs:  0 1px 4px rgba(0,0,0,.07);
  --shadow-sm:  0 4px 16px rgba(0,0,0,.10);
  --shadow-md:  0 10px 40px rgba(0,0,0,.12);
  --shadow-lg:  0 24px 64px rgba(0,0,0,.15);
  --r:          12px;
  --ease:       cubic-bezier(.4,0,.2,1);
}

/*Header*/
#header_center,
#header_center > .header_box {
    height: 100%;
}

#st_header {
    box-shadow: var(--shadow-sm);
}

/*Home*/
.home-subtitle .elementor-text-editor p:last-child {
    margin-bottom: 0;
}

.brands_slider_wrap {
    border-radius: var(--r);
    box-shadow: var(--shadow-xs);
    border: 1.5px solid var(--border);
    transition: all .3s var(--ease);
    text-align: center;
}

.brands_slider_wrap:hover {
    border-color: rgba(58, 197, 206, .4);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.brands_slider_wrap:hover::before {
    transform: scaleX(1);
}

.brands_slider_wrap::before {
    height: 3px;
}

.brands_slider_wrap::before {
    background: var(--cyan);
}

.brands_slider_wrap::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #333;
    transform: scaleX(0);
    transition: .3s;
}

.brands_slider_item {
    border: none;
}

.brands_slider_wrap .pro_outer_box {
    padding: 28px 20px;
}

.brands_slider_wrap .pro_second_box {
    padding: 0;
}

.brands_slider_wrap .s_title_block {
    margin: 12px 0 4px;
}

.brands_slider_wrap .s_title_block a {
    text-align: center;
}

.brands_slider_wrap .s_title_block a,
.brands_slider_wrap .s_title_block a:hover {
    color: #111111;
}

.ss-brand-stats .ss-brand-nb {
    font-family: "Inter", Sans-serif;
    font-size: 11px;
    color: var(--muted);
}

.brands_slider_wrap .pro_outer_box:hover {
    background-color: transparent;
}

@media (min-width: 768px) {
    .home-subtitle {
        max-width: 520px;
        margin: 0 auto;
    }

    .swiper-wrapper-brands {
        padding: 40px 0;
    }

    .ss-brand-stats .ss-brand-price {
        font-family: "Inter", Sans-serif;
        display: inline-block;
        font-size: 11px;
        font-weight: 700;
        padding: 3px 8px;
        margin-top: 8px;
        background: var(--cyan-light);
        color: var(--cyan-dark);
        border-radius: 5px;
    }
}

@media (max-width: 767px) {
    .brands_slider_wrap .pro_outer_box {
        padding: 14px 16px;
    }

    .brands_slider_wrap .pro_outer_box img {
        max-width: 50px;
    }

    .brands_slider_wrap .ss-brand-nb {
        display: none;
    }

    .brands_slider_wrap .s_title_block {
        margin: 8px 0 2px;
    }

    .ss-brand-stats .ss-brand-price {
        font-size: 10px;
        color: var(--muted);
    }
}

/*FOOTER*/
#footer .logo_box {
    justify-content: flex-start;
    align-items: flex-start;
}

/*PRODUCT ITEM*/
.products_sldier_swiper .ajax_block_product .pro_outer_box.home_default,
.product_list.grid .ajax_block_product .pro_outer_box.home_default {
    max-width: none;
}

#js-product-list .product_list.grid .product_list_item {
    border-top: none;
    padding: 12px 7px;
}

.swiper-wrapper .ss-btn-view {
    display: none !important;
}

.swiper-wrapper .ss-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.swiper-wrapper .ss-card-footer .ss-card-btn-actions {
    margin-left: auto;
}

/*FILTERS*/
#search_filters .facet ul,
#search_filters_brands .facet ul,
#search_filters_suppliers .facet ul {
    max-height: none;
}

/*PRODUCT*/
.page-product .ss-category-hero--slim {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 12px 40px;
}

.page-product .ss-category-breadcrumb a {
    color: #333;
}

.page-product .ss-category-breadcrumb {
    margin: 0;
    margin-bottom: 0;
    font-size: 13px;
    gap: 8px;
}

.page-product .ss-category-breadcrumb span {
    color: var(--border);
}

.page-product .ss-category-breadcrumb span.ss-breadcrumb-current {
    color: var(--text);
}

#ssa-configurator {
    font-family: "Inter", Sans-serif;
}

.ss-related-slider-subtitle {
    font-family: "Inter", Sans-serif;
    font-size: 10px;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    text-align: center;
    color: var(--cyan);
    font-weight: 800;
}

.ss-related-slider-title {
    text-align: center;
    font-size: 30px;
    letter-spacing: -1.5px;
    color: var(--navy);
    font-weight: 900;
    margin-bottom: 32px;
}

/*CART*/
/* @media (min-width: 481px) {
    .st-effect-0.open_bar_right .st-pusher {
        transform: translate3d(-360px, 0, 0);
    }

    .st-menu {
        width: 360px;
    }
} */

/*CMS*/
body#cms #content {
    color: #111;
    font-family: "Inter", Sans-serif;
}

body#cms #columns {
    margin-bottom: 20px;
}

body#cms h1.cms_page_heading {
    font-size: 26px;
    line-height: 1.7;
    color: #111;
    font-weight: 700;
}

body#cms #content h2 {
    font-size: 17px;
    line-height: 1.7;
    font-weight: 700;
}

body#cms #content h3 {
    font-size: 14px;
    line-height: 1.6;
    font-weight: 700;
    color: #444;
    margin-top: 16px;
}

body#cms #content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}

body#cms #content th {
    background: #1f4e79;
    color: #fff;
    text-align: left;
    padding: 10px 12px;
}

body#cms #content td {
    border: 1px solid #000;
    padding: 9px 12px;
    vertical-align: top;
}

body#cms #content tr:nth-child(even) td {
    background: #f2f6fb;
}

body#cms #content ul {
    list-style: disc;
    list-style-position: inside;
}

.faq-section-title {
    font-size: 15px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-top: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 4px;
}

.faq-q {
    font-weight: 700;
    margin-top: 18px;
    margin-bottom: 4px;
}

/* ── Página de contacto ─────────────────────────────────────── */

/* Ocultar breadcrumb y heading de Panda; hero a ancho completo */
#contact .breadcrumb_spacing,
#contact nav.breadcrumb { display: none !important; }

#contact #columns {
    padding: 0 !important;
    max-width: 100% !important;
}
#contact #columns > .row { margin: 0 !important; }
#contact #center_column { padding: 0 !important; }

/* Contenedor del formulario */
.ss-contact-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 16px;
}

.ss-contact-wrap > .row {
    align-items: center;
}

/* Formulario de contacto — mismos estilos que My Account */
.ss-contact-wrap .contact-form .form-fields {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ss-contact-wrap .contact-form .form-group {
    margin-bottom: 0;
}

.ss-contact-wrap .contact-form .form-group > div {
    margin: 0;
}

.ss-contact-wrap .contact-form .form-control-label,
.ss-contact-wrap .contact-form label.form-control-label {
    font-size: 11px;
    font-weight: 700;
    color: #555;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
    text-align: left;
}

.ss-contact-wrap .contact-form .form-control {
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 13px;
    color: #111;
    height: 42px;
    padding: 0 14px;
    width: 100%;
    transition: border-color .15s;
    background: #fafafa;
    box-shadow: none;
}

.ss-contact-wrap .contact-form textarea.form-control {
    height: auto;
    min-height: 120px;
    padding: 12px 14px;
    line-height: 1.5;
}

.ss-contact-wrap .contact-form .form-control:focus {
    border-color: #111;
    background: #fff;
    box-shadow: none;
    outline: none;
}

/* Botón enviar */
.ss-contact-wrap .contact-form .form-footer {
    margin-top: 6px;
    text-align: left;
}

.ss-contact-wrap .contact-form .btn-primary {
    background: #111;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    padding: 12px 32px;
    letter-spacing: .4px;
    cursor: pointer;
    transition: background .15s;
}

.ss-contact-wrap .contact-form .btn-primary:hover {
    background: #333;
}

/* Campo de archivo (plugin filestyle) */
.ss-contact-wrap .contact-form .bootstrap-filestyle.input-group {
    display: flex;
    align-items: stretch;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    background: #fafafa;
    overflow: hidden;
}

.ss-contact-wrap .contact-form .bootstrap-filestyle .form-control[disabled] {
    border: none;
    background: transparent;
    box-shadow: none;
    height: 40px;
    flex: 1;
    border-radius: 0;
}

.ss-contact-wrap .contact-form .bootstrap-filestyle .group-span-filestyle {
    display: flex;
}

.ss-contact-wrap .contact-form .bootstrap-filestyle .btn-default {
    margin: 0;
    border: none;
    border-left: 1.5px solid #e0e0e0;
    border-radius: 0;
    background: #ececec;
    color: #111;
    font-size: 12px;
    font-weight: 700;
    height: 40px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.ss-contact-wrap .contact-form .bootstrap-filestyle .btn-default:hover {
    background: #e0e0e0;
}

/*COMPARE TABLE*/
.stcompare_table .btn.btn-default {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1.4;
    transition: background .2s;
}

.stcompare_table .btn.btn-default:hover {
    background: #333;
}

.stcompare_table .btn.btn-default i {
    margin-left: 0px;
    margin-right: 6px;
}

/*stlovedproduct*/
.loved_product_item .pro_simple_box .itemlist_left {
    width: auto;
    float: none;
}

.loved_product_item .pro_simple_box .itemlist_right {
    margin: 0;
}

.loved_product_item .pro_simple_box .itemlist_right .s_title_block a {
    color: #111;
}

@media (min-width: 481px) {
    .loved_product_item .pro_simple_box .itemlist_right {
        grid-template-columns: 1fr auto;
        display: grid !important;
        column-gap: 20px;
        align-items: flex-end;
    }
}

@media (max-width: 480px) {
    .loved_product_item .loved_remove_product {
        margin-top: 10px;
        text-align: right;
    }
}