
/** Theme Name: Partdo Child*/
/** Description: This is a child theme of Partdo, generated by Merlin WP.*/
/** Author: <a href="http://themeforest.net/user/KlbTheme">KlbTheme (Sinan ISIK)</a>*/
/** Template: partdo*/
/** Version: 1.0.41-punto*/

:root {
    --primary: #111111;
}

.site-header.header-type-1.shadow-enable.sticky-header{
    height: 170px !important;
}
.site-header .header-mobile .header-inner { 
    height: auto !important;
}
    

.show-password-input{
    margin-top: 10px;
}
.show-password-input::after{
    content: 'Ver contraseña';
}
.site-brand a img {
    width: 150px !important;
}
.site-header .header-mobile .site-brand img {
    width: 150px !important;
}
.products .product:hover.custom-hover {
    z-index: 8 !important;
}

.category-parent.parent.menu-item.menu-item-type-taxonomy.menu-item-object-product_cat.menu-item-has-children .sub-menu{
    height:600px;
}

.mega-menu.max-mega-menu.mega-menu-horizontal li{
    border:1px solid red;
}

.site-header .header-nav .column.left:nth-child(1) {
    display:none;
}

.site-header .header-nav .column {
    height: auto;
}

#mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-item a.mega-menu-link{
    background: #fff !important;
    color: #000 !important;
    font-weight: normal;
    text-decoration: none;
}

#mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-item a.mega-menu-link:hover{
    background: #111111 !important;
    color: #fff !important;
    font-weight: bold;
    text-decoration: none;
    border-radius:5px;
}

.klbth-banner.style-inner.color-scheme-light.space-xlg.align-center.justify-start.hover-no-hover{
    height: 451px;
}


.elementor-column.elementor-col-50.elementor-top-column.elementor-element.elementor-element-be676e4,
.elementor-column.elementor-col-50.elementor-top-column.elementor-element.elementor-element-6ec795b,
.elementor-column.elementor-col-50.elementor-top-column.elementor-element.elementor-element-bddc645,
.elementor-column.elementor-col-50.elementor-top-column.elementor-element.elementor-element-bc01ea5{
    width:50%;
}
.iconbox.large{
    align-items:center;
}

.iconbox.large h3{
    margin:0;
    padding:5px 0;
}
.mobile-menu{
    text-align:center;
}

div#mega-menu-wrap-main-menu::after {
    content: "Categorias"!important;
    color: #fff !important;
    position: absolute;
    top: 8px;
    left: 10px;
}

#mega-menu-wrap-main-menu .mega-menu-toggle {
    background-color: #111111;
    border-radius: 5px;
}
.site-header.header-type-1 .header-border{
    display:none;
}


.header-row.header-topbar.border-bottom-full.hide-below-1200,
.header-row.header-sub.border-bottom-full.hide-below-1200,
.header-row.header-sub.border-bottom-full.hide-below-1200{
    display:none;
}
.header-row.header-main.spacing.hide-below-1200{
    padding: 0px;
    padding-bottom: 10px;
}
#masthead .top-header{
    text-align: center;
    background-color: var(--primary);
    color:#fff;
    font-size:14px;
    padding:8px;
    font-weight:bold;
}

#mega-menu-wrap-main-menu .mega-menu-toggle + #mega-menu-main-menu{
    background-color:white;
}

#buynow{
    background-color:#111111;
    color:white;
    border:1px solid #333333;
}
#buynow:hover{
background-color:#333333;
}

.payment_box.payment_method_bacs p{
    color:#000!important;
}


.search_header{
    font-size: 25px;
    margin-left: 5px;
}

@media (max-width: 64rem){
    .single .product-type-simple form.cart {
        z-index: 9999 !important;
    }
}


.klbth-icon-arrow-right-long::before{
    content:"";
}
/* Badge Delivery 24h (categoría TOTAL) */
.product-badges .badge.delivery-24h {
    background-color: #111111;
    color: #fff;
}

/* ===== Mobile: compact header + one-row sticky buy bar (2026-10-14) ===== */
@media (max-width: 1199px) {
    #masthead .top-header {
        padding: 4px 0;
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .site-header .header-mobile .site-brand img {
        width: 110px !important;
    }
    .site-header .header-mobile .header-inner {
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }
}

/* The delivery text always overflows on phones: scroll it like a ticker */
@media (max-width: 520px) and (prefers-reduced-motion: no-preference) {
    #masthead .top-header__text {
        display: inline-block;
        padding-left: 100%;
        animation: top-header-ticker 16s linear infinite;
    }
    #masthead .top-header:hover .top-header__text {
        animation-play-state: paused;
    }
}
@keyframes top-header-ticker {
    to { transform: translateX(-100%); }
}

@media (max-width: 64rem) {
    .single-product form.cart {
        display: flex !important;
        flex-flow: row nowrap !important;
        align-items: center;
        gap: 8px;
        padding: 8px 12px !important;
    }
    .single-product form.cart .quantity {
        flex: 0 0 auto;
        height: 44px;
        margin: 0;
    }
    /* Icon-only add to cart: the text stays in the DOM as the accessible name */
    .single-product form.cart .single_add_to_cart_button {
        flex: 0 0 44px;
        width: 44px;
        min-width: 44px;
        height: 44px;
        margin: 0;
        padding: 0;
        font-size: 0;
        position: relative;
    }
    .single-product form.cart .single_add_to_cart_button::before {
        content: "";
        position: absolute;
        inset: 0;
        margin: auto;
        width: 22px;
        height: 22px;
        background-color: currentColor;
        -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='20' r='1.5'/><circle cx='18' cy='20' r='1.5'/><path d='M2 3h3l2.7 12.4a1 1 0 0 0 1 .8h9.1a1 1 0 0 0 1-.8L21 7H6'/></svg>") center / contain no-repeat;
                mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='20' r='1.5'/><circle cx='18' cy='20' r='1.5'/><path d='M2 3h3l2.7 12.4a1 1 0 0 0 1 .8h9.1a1 1 0 0 0 1-.8L21 7H6'/></svg>") center / contain no-repeat;
    }
    .single-product form.cart #buynow {
        flex: 1 1 auto;
        width: auto;
        height: 44px;
        margin: 0;
        padding: 0 12px;
        font-size: 14px;
    }
}

/* Mobile sticky header without layout jump.
   The plugin switches .header-mobile to position:fixed after 135px of scroll, which takes
   it out of the flow (the header collapses to 0px and the page jumps). Keep it in the flow. */
@media (max-width: 64rem) {
    header.site-header {
        position: sticky;
        top: 0;
        z-index: 9;
    }
    header.site-header .header-mobile {
        /* always present, so the header height does not change when it becomes sticky */
        border-bottom: 1px solid transparent;
    }
    header.site-header.sticky-header .header-mobile {
        position: relative;
        border-bottom-color: #e3e4e6;
    }
}

/* Mobile: the desktop 170px height on the sticky home header made the page jump */
@media (max-width: 64rem) {
    header.site-header.header-type-1.shadow-enable.sticky-header {
        height: auto !important;
    }
}

/* Product page: top spacing only on desktop (was an inline style in single-product.php) */
@media (min-width: 64.0625rem) {
    .single-product-wrapper > .container {
        margin-top: 40px;
    }
}

/* ===== Punto: marca en negro (rojo solo para ofertas) ===== */
:root {
    --color-primary: #111111;
    --color-secondary: #111111;
}
/* Banners del slider: sin la sombra oscura encima (el texto ya viene en la imagen) */
.klbth-module-slider .overlay-15-dark-min768::before,
.klbth-module-slider .overlay-25-dark-max768::before { display: none !important; }
.klbth-module-slider .slider-heading .badge:empty { display: none; }
/* Celular: grillas de 2 columnas, ocultar el último producto si queda solo en su fila */
@media (max-width: 767.98px) {
    .products.mobile-2 > .column-item:last-child:nth-child(odd) { display: none; }
    .products.mobile-2 > * { flex: 0 0 50%; max-width: 50%; }
}

/* Punto: títulos de las grillas en negro (la plantilla los pone en rojo) */
.klbth-module-header.color-danger { border-bottom-color: #111111; }
.klbth-module-header.color-danger .entry-title { color: #111111; }
/* Celular y tablet: el alto del banner salía del texto encima; con el texto dentro de la imagen queda 16:9 */
@media screen and (max-width: 991.98px) {
    .klbth-module-slider .klbth-banner.style-inner { aspect-ratio: 16 / 9; }
    .klbth-module-slider .klbth-banner.style-inner .entry-wrapper { position: absolute; inset: 0; padding: 0; }
}

/* Punto: botones de la ficha de producto y pie oscuro */
.single-product form.cart .single_add_to_cart_button { border-color: #111111 !important; }
.site-footer .company-mail, .site-footer .company-mail a { color: #ffffff; }
