/* =========================================================
   MTK — GLOBAL AUDIT PACK
   Correcciones globales:
   - Utility bar (contact + EN/ES)
   - Safe spacing para títulos/hero
   - Quote drawer global
   - Producto/interés seleccionado
   - Interacciones, profundidad e imágenes
   - Ajuste específico de Services hero
========================================================= */


/* =========================================================
   01. UTILITY BAR — CONTACT + LANGUAGE
========================================================= */

.mtk-global-utility{
    position: fixed;
    z-index: 10001;
    top: 0;
    left: 0;
    right: 0;
    height: 34px;
    background: #030506;
    border-bottom: 1px solid rgba(255,255,255,.08);
    color: #fff;
}

.mtk-global-utility-inner{
    width: min(calc(100% - 80px), var(--mtk-max));
    height: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.mtk-global-utility-contact,
.mtk-global-language{
    display: flex;
    align-items: center;
}

.mtk-global-utility-contact{
    gap: 22px;
}

.mtk-global-utility-contact a{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.72) !important;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .035em;
    transition: color .2s ease;
}

.mtk-global-utility-contact a:hover{
    color: #fff !important;
}

.mtk-global-utility-contact i{
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    border-radius: 50%;
    background: var(--mtk-gold);
}

.mtk-global-language{
    gap: 5px;
}

.mtk-global-language a,
.mtk-global-language button{
    min-width: 33px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    padding: 0 8px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: rgba(255,255,255,.48);
    font: inherit;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .08em;
}

.mtk-global-language .is-current{
    border-color: rgba(228,173,50,.46);
    color: var(--mtk-gold) !important;
}

.mtk-global-language button[disabled]{
    cursor: default;
    opacity: .48;
}


/* El header existente baja para dejar espacio a la barra superior. */
body.mtk-redesign-page .mtk-header{
    top: 34px !important;
}

.admin-bar .mtk-global-utility{
    top: 32px;
}

.admin-bar body.mtk-redesign-page .mtk-header,
body.admin-bar.mtk-redesign-page .mtk-header{
    top: 66px !important;
}


/* =========================================================
   02. SAFE AREA PARA HERO / TÍTULOS
   Soluciona títulos demasiado pegados a los bordes.
========================================================= */

@media (min-width: 851px){

    body.mtk-redesign-page .mtk-main-hero .mtk-shell,
    body.mtk-redesign-page .mtk-services-hero-inner,
    body.mtk-redesign-page .mtk-products-hero-grid,
    body.mtk-redesign-page .mtk-cables-hero-inner,
    body.mtk-redesign-page .mtk-accessories-hero-inner,
    body.mtk-redesign-page .mtk-grounding-hero-inner,
    body.mtk-redesign-page .mtk-lighting-hero-inner,
    body.mtk-redesign-page .mtk-tubing-hero-inner,
    body.mtk-redesign-page .mtk-valves-hero-inner,
    body.mtk-redesign-page .mtk-contact-hero-inner{
        width: min(calc(100% - 120px), var(--mtk-max)) !important;
    }

    /* About usa un hero dividido, por eso requiere su propio margen mínimo. */
    body.mtk-redesign-page .mtk-about2-hero-copy{
        padding-left: max(56px, calc((100vw - 1240px)/2)) !important;
    }

}


/* Services: el título estaba demasiado abajo. */
body.mtk-redesign-page .mtk-services-hero{
    align-items: center !important;
}

body.mtk-redesign-page .mtk-services-hero-inner{
    padding-top: 145px !important;
    padding-bottom: 45px !important;
}


/* =========================================================
   03. IMAGEN / MEDIA POLISH
   Profundidad sutil y fondos más limpios para productos.
========================================================= */

body.mtk-redesign-page :is(
    .mtk-accessory-card-media,
    .mtk-grounding-product-media,
    .mtk-lighting-product-media,
    .mtk-tubing-product-media,
    .mtk-valves-product-media,
    .mtk-cable-type-media,
    .mtk-grounding-core-media,
    .mtk-lighting-brand,
    .mtk-tubing-partner-grid figure,
    .mtk-valves-partner-grid figure
){
    position: relative;
    isolation: isolate;
}

body.mtk-redesign-page :is(
    .mtk-accessory-card-media,
    .mtk-grounding-product-media,
    .mtk-lighting-product-media,
    .mtk-tubing-product-media,
    .mtk-valves-product-media,
    .mtk-cable-type-media,
    .mtk-grounding-core-media
)::before{
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        radial-gradient(circle at 52% 42%, rgba(228,173,50,.10), transparent 31%),
        linear-gradient(145deg, rgba(255,255,255,.75), rgba(232,232,228,.62));
    pointer-events: none;
}

body.mtk-redesign-page :is(
    .mtk-accessory-card-media,
    .mtk-grounding-product-media,
    .mtk-lighting-product-media,
    .mtk-tubing-product-media,
    .mtk-valves-product-media,
    .mtk-cable-type-media,
    .mtk-grounding-core-media
) img{
    filter: drop-shadow(0 18px 24px rgba(0,0,0,.10));
}

body.mtk-redesign-page :is(
    .mtk-accessory-card,
    .mtk-grounding-product-card,
    .mtk-lighting-product-card,
    .mtk-tubing-product-card,
    .mtk-valves-product-card,
    .mtk-grounding-core-card
){
    transition:
        transform .28s ease,
        box-shadow .28s ease,
        border-color .28s ease;
}

@media (hover:hover) and (pointer:fine){

    body.mtk-redesign-page :is(
        .mtk-accessory-card,
        .mtk-grounding-product-card,
        .mtk-lighting-product-card,
        .mtk-tubing-product-card,
        .mtk-valves-product-card,
        .mtk-grounding-core-card
    ):hover{
        transform: translateY(-5px);
        box-shadow: 0 22px 55px rgba(0,0,0,.10);
    }

}


/* Gradiente editorial sobre fotografías grandes. */
body.mtk-redesign-page :is(
    .mtk-about2-hero-image,
    .mtk-service-media,
    .mtk-products-hero-media,
    .mtk-grounding-practices-media,
    .mtk-grounding-manufacturers-media,
    .mtk-lighting-safety-media,
    .mtk-tubing-industry-card,
    .mtk-valves-reliability-media,
    .mtk-contact-map
){
    position: relative;
}

body.mtk-redesign-page :is(
    .mtk-about2-hero-image,
    .mtk-service-media,
    .mtk-products-hero-media,
    .mtk-grounding-practices-media,
    .mtk-grounding-manufacturers-media,
    .mtk-lighting-safety-media,
    .mtk-valves-reliability-media
)::after{
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(228,173,50,.05), transparent 35%),
        linear-gradient(180deg, transparent 58%, rgba(4,7,9,.17));
}


/* =========================================================
   04. GLOBAL QUOTE BUTTON
========================================================= */

.mtk-global-quote-fab{
    position: fixed;
    z-index: 9996;
    right: 24px;
    bottom: 24px;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 0 20px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 999px;
    background: var(--mtk-gold);
    box-shadow: 0 16px 45px rgba(0,0,0,.26);
    color: #0b0d0f;
    font-size: 11px;
    font-weight: 850;
    cursor: pointer;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background-color .25s ease;
}

.mtk-global-quote-fab span:last-child{
    font-size: 15px;
}

@media (hover:hover) and (pointer:fine){
    .mtk-global-quote-fab:hover{
        transform: translateY(-3px);
        box-shadow: 0 22px 55px rgba(0,0,0,.33);
        background: var(--mtk-gold-hover);
    }
}


/* =========================================================
   05. QUOTE DRAWER
========================================================= */

.mtk-quote-drawer{
    position: fixed;
    z-index: 11000;
    inset: 0;
    visibility: hidden;
    pointer-events: none;
}

.mtk-quote-drawer.is-open{
    visibility: visible;
    pointer-events: auto;
}

.mtk-quote-drawer-backdrop{
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(2,4,6,.72);
    opacity: 0;
    cursor: default;
    transition: opacity .3s ease;
}

.mtk-quote-drawer.is-open .mtk-quote-drawer-backdrop{
    opacity: 1;
}

.mtk-quote-drawer-panel{
    position: absolute;
    top: 0;
    right: 0;
    width: min(610px, 94vw);
    height: 100%;
    overflow-y: auto;
    padding: 38px 42px 48px;
    background: #f1efe9;
    color: #111315;
    box-shadow: -24px 0 70px rgba(0,0,0,.30);
    transform: translate3d(102%,0,0);
    transition: transform .42s cubic-bezier(.2,.72,.2,1);
}

.mtk-quote-drawer.is-open .mtk-quote-drawer-panel{
    transform: translate3d(0,0,0);
}

.mtk-quote-drawer-head{
    display: grid;
    grid-template-columns: 1fr 42px;
    gap: 30px;
    align-items: start;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(0,0,0,.13);
}

.mtk-quote-drawer-kicker{
    display: block;
    margin-bottom: 10px;
    color: #8e8064;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .16em;
}

.mtk-quote-drawer-head h2{
    margin: 0;
    color: #111315;
    font-size: clamp(39px,4.2vw,62px);
    font-weight: 620;
    line-height: .92;
    letter-spacing: -.055em;
}

.mtk-quote-drawer-close{
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(0,0,0,.16);
    border-radius: 50%;
    background: transparent;
    color: #111315;
    font-size: 21px;
    cursor: pointer;
}

.mtk-quote-selection{
    display: none;
    margin: 24px 0 8px;
    padding: 15px 17px;
    border: 1px solid rgba(228,173,50,.42);
    background: rgba(228,173,50,.09);
}

.mtk-quote-selection.is-visible{
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
}

.mtk-quote-selection small{
    display: block;
    margin-bottom: 4px;
    color: #8c7e62;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .15em;
}

.mtk-quote-selection strong{
    color: #171a1c;
    font-size: 14px;
    font-weight: 700;
}

.mtk-quote-selection button{
    padding: 0;
    border: 0;
    background: transparent;
    color: #686d70;
    font-size: 10px;
    font-weight: 750;
    cursor: pointer;
}

.mtk-quote-drawer-copy{
    margin: 22px 0 8px;
    color: #62686c;
    font-size: 13px;
    line-height: 1.7;
}

.mtk-quote-drawer-form{
    margin-top: 18px;
}


/* WPForms dentro del drawer */
.mtk-quote-drawer .wpforms-container{
    margin: 0 !important;
}

.mtk-quote-drawer .wpforms-field{
    padding: 9px 0 !important;
}

.mtk-quote-drawer .wpforms-field-label{
    margin-bottom: 7px !important;
    color: #232629 !important;
    font-size: 11px !important;
    font-weight: 750 !important;
}

.mtk-quote-drawer input[type="text"],
.mtk-quote-drawer input[type="email"],
.mtk-quote-drawer input[type="tel"],
.mtk-quote-drawer select,
.mtk-quote-drawer textarea{
    width: 100% !important;
    max-width: none !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(0,0,0,.24) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #111 !important;
}

.mtk-quote-drawer textarea{
    min-height: 125px !important;
}

.mtk-quote-drawer button[type="submit"]{
    min-height: 50px !important;
    padding: 0 26px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--mtk-gold) !important;
    color: #0b0d0f !important;
    font-size: 12px !important;
    font-weight: 850 !important;
}

body.mtk-quote-open{
    overflow: hidden !important;
}


/* =========================================================
   06. SELECTED PRODUCT / INTEREST BANNER
========================================================= */

.mtk-selected-interest-banner{
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
    margin: 0 0 22px;
    padding: 14px 16px;
    border: 1px solid rgba(228,173,50,.35);
    background: rgba(228,173,50,.08);
    color: #111315;
}

.mtk-selected-interest-banner small{
    display: block;
    margin-bottom: 4px;
    color: #8b7d62;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .14em;
}

.mtk-selected-interest-banner strong{
    font-size: 13px;
}

.mtk-selected-interest-banner button{
    border: 0;
    background: transparent;
    color: #63696d;
    font-size: 10px;
    font-weight: 750;
    cursor: pointer;
}


/* =========================================================
   07. PER-PRODUCT QUOTE CTA
========================================================= */

.mtk-card-quote-btn{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 0 0 6px;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: transparent;
    color: inherit;
    font-size: 10px;
    font-weight: 850;
    cursor: pointer;
}

.mtk-card-quote-btn::after{
    content: "↗";
    color: var(--mtk-gold);
    font-size: 13px;
}

.mtk-accessory-card .mtk-card-quote-btn{
    color: #dce1e4;
}

.mtk-grounding-product-card .mtk-card-quote-btn,
.mtk-lighting-product-card .mtk-card-quote-btn,
.mtk-tubing-product-card .mtk-card-quote-btn,
.mtk-valves-product-card .mtk-card-quote-btn{
    color: #1b1e20;
}


/* =========================================================
   08. MICRO INTERACTIONS
========================================================= */

body.mtk-redesign-page :is(
    .mtk-products-index-row,
    .mtk-services-index-item,
    .mtk-contact-info-card,
    .mtk-contact-social-links > a,
    .mtk-accessories-faq-item summary,
    .mtk-grounding-faq-item summary
){
    transition:
        transform .25s ease,
        opacity .25s ease,
        background-color .25s ease;
}

@media (hover:hover) and (pointer:fine){

    body.mtk-redesign-page :is(
        .mtk-products-index-row,
        .mtk-services-index-item
    ):hover{
        transform: translateX(7px);
    }

}


/* =========================================================
   09. RESPONSIVE
========================================================= */

@media (max-width: 850px){

    .mtk-global-utility{
        height: 38px;
    }

    .mtk-global-utility-inner{
        width: calc(100% - 36px);
    }

    body.mtk-redesign-page .mtk-header{
        top: 38px !important;
    }

    .admin-bar .mtk-global-utility{
        top: 46px;
    }

    .admin-bar body.mtk-redesign-page .mtk-header,
    body.admin-bar.mtk-redesign-page .mtk-header{
        top: 84px !important;
    }

    body.mtk-redesign-page :is(
        .mtk-main-hero .mtk-shell,
        .mtk-services-hero-inner,
        .mtk-products-hero-grid,
        .mtk-cables-hero-inner,
        .mtk-accessories-hero-inner,
        .mtk-grounding-hero-inner,
        .mtk-lighting-hero-inner,
        .mtk-tubing-hero-inner,
        .mtk-valves-hero-inner,
        .mtk-contact-hero-inner
    ){
        width: calc(100% - 44px) !important;
    }

    body.mtk-redesign-page .mtk-about2-hero-copy{
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .mtk-quote-drawer-panel{
        padding: 30px 26px 40px;
    }

}


@media (max-width: 600px){

    .mtk-global-utility-contact{
        gap: 12px;
    }

    .mtk-global-utility-contact .mtk-utility-email{
        display: none;
    }

    .mtk-global-utility-contact a{
        font-size: 9px;
    }

    .mtk-global-quote-fab{
        right: 14px;
        bottom: 14px;
        min-height: 46px;
        padding: 0 16px;
    }

    .mtk-global-quote-fab .mtk-quote-fab-label{
        display: none;
    }

    .mtk-global-quote-fab span:last-child{
        font-size: 18px;
    }

}


/* =========================================================
   V2 — BIGGER MARKET BAR + MULTI-PRODUCT RFQ CART
========================================================= */

:root{ --mtk-utility-h:48px; }

.mtk-global-utility{
    min-height:var(--mtk-utility-h);
    background:linear-gradient(90deg,#020405 0%,#070b0e 52%,#030506 100%);
}

.mtk-global-utility-inner{
    width:min(calc(100% - 72px),var(--mtk-max));
    min-height:var(--mtk-utility-h);
    display:grid;
    grid-template-columns:minmax(250px,.8fr) minmax(420px,1.3fr) auto;
    gap:26px;
}

body.mtk-redesign-page .mtk-header{
    top:var(--mtk-utility-h)!important;
}

body.admin-bar.mtk-redesign-page .mtk-header{
    top:calc(32px + var(--mtk-utility-h))!important;
}

/* Copper market ticker */
.mtk-market-ticker{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
}

.mtk-market-ticker-label{
    display:flex;
    flex-direction:column;
    gap:1px;
    line-height:1.1;
}

.mtk-market-ticker-label strong{
    color:#fff;
    font-size:10px;
    font-weight:850;
    letter-spacing:.11em;
}

.mtk-market-ticker-label small{
    color:rgba(255,255,255,.40);
    font-size:7px;
    font-weight:700;
    letter-spacing:.12em;
}

.mtk-market-ticker-price{
    color:var(--mtk-gold);
    font-size:14px;
    font-weight:800;
    white-space:nowrap;
}

.mtk-market-ticker-change{
    min-width:60px;
    font-size:9px;
    font-weight:800;
    white-space:nowrap;
}

.mtk-market-ticker-change.is-up{ color:#77c99a; }
.mtk-market-ticker-change.is-down{ color:#ea8b8b; }
.mtk-market-ticker-change.is-flat,
.mtk-market-ticker-change.is-unavailable{ color:rgba(255,255,255,.42); }

/* Larger top contact alignment */
.mtk-global-utility-contact{
    justify-content:center;
}

/* Floating RFQ button */
.mtk-global-quote-fab{
    min-height:52px;
    padding:0 18px 0 20px;
}

.mtk-quote-count{
    min-width:25px;
    height:25px;
    display:inline-grid;
    place-items:center;
    padding:0 6px;
    border-radius:999px;
    background:#0b0d0f;
    color:#fff;
    font-size:9px;
    font-weight:850;
}

.mtk-quote-count.is-empty{ display:none; }

/* V1 single-selection UI no longer used */
.mtk-quote-selection{ display:none!important; }

/* Quote cart */
.mtk-quote-cart-block{ margin-top:26px; }

.mtk-quote-cart-title{
    display:flex;
    justify-content:space-between;
    align-items:baseline;
    gap:20px;
    margin-bottom:13px;
}

.mtk-quote-cart-title strong{
    font-size:12px;
    font-weight:850;
    letter-spacing:.07em;
}

.mtk-quote-cart-title span{
    color:#72787c;
    font-size:10px;
}

.mtk-quote-cart{
    border-top:1px solid rgba(0,0,0,.14);
}

.mtk-quote-cart-empty{
    padding:24px 0;
    border-bottom:1px solid rgba(0,0,0,.14);
    color:#757b7f;
    font-size:13px;
    line-height:1.65;
}

.mtk-quote-item{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:20px;
    padding:18px 0;
    border-bottom:1px solid rgba(0,0,0,.14);
}

.mtk-quote-item-copy small{
    display:block;
    margin-bottom:5px;
    color:#9a7a31;
    font-size:8px;
    font-weight:850;
    letter-spacing:.13em;
}

.mtk-quote-item-copy strong{
    display:block;
    color:#171a1c;
    font-size:15px;
    font-weight:700;
    line-height:1.35;
}

.mtk-quote-item-copy em{
    display:block;
    margin-top:6px;
    color:#868b8e;
    font-size:9px;
    font-style:normal;
}

.mtk-quote-item-actions{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    justify-content:space-between;
    gap:12px;
}

.mtk-quote-qty{
    display:grid;
    grid-template-columns:30px 42px 30px;
    height:32px;
    border:1px solid rgba(0,0,0,.17);
    border-radius:999px;
    overflow:hidden;
}

.mtk-quote-qty button,
.mtk-quote-qty input{
    border:0;
    background:transparent;
    color:#111315;
    text-align:center;
}

.mtk-quote-qty button{
    font-size:15px;
    cursor:pointer;
}

.mtk-quote-qty input{
    width:42px;
    padding:0;
    font-size:11px;
    font-weight:800;
    appearance:textfield;
    -moz-appearance:textfield;
}

.mtk-quote-remove,
.mtk-quote-clear-all{
    padding:0;
    border:0;
    background:transparent;
    font-size:9px;
    font-weight:750;
    cursor:pointer;
}

.mtk-quote-remove{ color:#8d5555; }

.mtk-quote-clear-all{
    display:none;
    margin-top:12px;
    border-bottom:1px solid currentColor;
    color:#767c80;
}

.mtk-quote-clear-all.is-visible{ display:inline-flex; }

.mtk-quote-form-heading{
    margin:24px 0 4px;
    padding-top:23px;
    border-top:1px solid rgba(0,0,0,.14);
}

.mtk-quote-form-heading small{
    display:block;
    margin-bottom:5px;
    color:#8e8064;
    font-size:8px;
    font-weight:850;
    letter-spacing:.14em;
}

.mtk-quote-form-heading strong{
    font-size:22px;
    font-weight:580;
    letter-spacing:-.025em;
}

/* Add to quote button */
.mtk-card-quote-btn::after{
    content:"+";
    font-size:16px;
}

.mtk-card-quote-btn.is-added::after{
    content:"✓";
}

/* Toast */
.mtk-quote-toast{
    position:fixed;
    z-index:12000;
    right:24px;
    bottom:88px;
    max-width:320px;
    display:grid;
    grid-template-columns:28px 1fr;
    gap:11px;
    align-items:center;
    padding:14px 16px;
    border:1px solid rgba(255,255,255,.13);
    background:#0d1114;
    box-shadow:0 18px 50px rgba(0,0,0,.28);
    color:#fff;
    opacity:0;
    transform:translateY(12px);
    pointer-events:none;
    transition:opacity .25s ease,transform .25s ease;
}

.mtk-quote-toast.is-visible{
    opacity:1;
    transform:translateY(0);
}

.mtk-quote-toast-icon{
    width:28px;
    height:28px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:var(--mtk-gold);
    color:#111;
    font-size:12px;
    font-weight:900;
}

.mtk-quote-toast strong{
    display:block;
    margin-bottom:2px;
    font-size:11px;
}

.mtk-quote-toast span{
    color:rgba(255,255,255,.55);
    font-size:9px;
}

@media(max-width:1100px){
    .mtk-global-utility-inner{
        grid-template-columns:auto 1fr auto;
        gap:18px;
    }

    .mtk-global-utility-contact .mtk-utility-email{
        display:none;
    }
}

@media(max-width:850px){
    :root{ --mtk-utility-h:46px; }

    .mtk-global-utility-inner{
        width:calc(100% - 34px);
        grid-template-columns:1fr auto;
    }

    .mtk-global-utility-contact{ display:none; }
    .mtk-market-ticker-label small{ display:none; }
    .mtk-market-ticker-price{ font-size:12px; }
}

@media(max-width:600px){
    .mtk-market-ticker-change{ display:none; }

    .mtk-quote-item{
        grid-template-columns:1fr;
    }

    .mtk-quote-item-actions{
        flex-direction:row;
        align-items:center;
    }

    .mtk-quote-toast{
        right:14px;
        left:14px;
        bottom:76px;
        max-width:none;
    }
}

/* =========================================================
   COPPER TICKER — GOOGLE FINANCE STYLE
========================================================= */

.mtk-market-ticker{
    display:flex;
    align-items:center;
    gap:14px;
    min-width:0;
}

.mtk-copper-price{
    display:flex;
    align-items:flex-end;
    gap:6px;
    white-space:nowrap;
}

.mtk-copper-main{
    color:#f5f7f8;
    font-size:28px;
    font-weight:450;
    line-height:1;
    letter-spacing:-0.045em;
}

.mtk-copper-currency{
    margin-bottom:2px;
    color:rgba(255,255,255,.62);
    font-size:10px;
    font-weight:650;
    letter-spacing:.04em;
}


/* Cambio porcentual */
.mtk-copper-change{
    min-height:31px;
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding:0 10px;
    border-radius:8px;

    font-size:10px;
    font-weight:800;
    white-space:nowrap;
}

.mtk-copper-change.is-up{
    background:#85cfa2;
    color:#082518;
}

.mtk-copper-change.is-down{
    background:#e79090;
    color:#321010;
}

.mtk-copper-change.is-flat{
    background:rgba(255,255,255,.11);
    color:#fff;
}


/* Variación absoluta del día */
.mtk-copper-daily{
    font-size:11px;
    font-weight:750;
    white-space:nowrap;
}

.mtk-copper-daily.is-up{
    color:#74d399;
}

.mtk-copper-daily.is-down{
    color:#ef8e8e;
}

.mtk-copper-daily.is-flat{
    color:rgba(255,255,255,.55);
}


/* COPPER · COMEX */
.mtk-copper-meta{
    display:flex;
    flex-direction:column;

    margin-left:4px;
    padding-left:14px;

    border-left:1px solid rgba(255,255,255,.11);

    color:#fff;

    font-size:8px;
    font-weight:850;
    line-height:1.2;
    letter-spacing:.11em;
    white-space:nowrap;
}

.mtk-copper-meta small{
    margin-top:2px;

    color:rgba(255,255,255,.35);

    font-size:6px;
    font-weight:700;
    letter-spacing:.10em;
}


/* Barra un poquito más alta */
:root{
    --mtk-utility-h:58px;
}

.mtk-global-utility,
.mtk-global-utility-inner{
    min-height:58px;
}


/* TABLET */
@media(max-width:1150px){

    .mtk-copper-meta{
        display:none;
    }

    .mtk-copper-main{
        font-size:25px;
    }

}


/* MÓVIL */
@media(max-width:850px){

    :root{
        --mtk-utility-h:52px;
    }

    .mtk-global-utility,
    .mtk-global-utility-inner{
        min-height:52px;
    }

    .mtk-copper-main{
        font-size:22px;
    }

    .mtk-copper-change{
        min-height:28px;
        padding:0 8px;
    }

    .mtk-copper-daily{
        display:none;
    }

}


/* MÓVIL PEQUEÑO */
@media(max-width:480px){

    .mtk-market-ticker{
        gap:8px;
    }

    .mtk-copper-main{
        font-size:20px;
    }

    .mtk-copper-currency{
        font-size:8px;
    }

    .mtk-copper-change{
        font-size:9px;
    }

}

/* =========================================================
   MTK COPPER MARKET BAR — FINAL
========================================================= */

:root{
    --mtk-utility-h:50px;
}


/* BARRA */
.mtk-global-utility{
    min-height:50px !important;

    background:
        linear-gradient(
            90deg,
            #030506 0%,
            #070a0c 55%,
            #030506 100%
        ) !important;

    border-bottom:
        1px solid rgba(228,173,50,.18) !important;
}


.mtk-global-utility-inner{
    min-height:50px !important;

    width:min(
        calc(100% - 72px),
        var(--mtk-max)
    ) !important;

    grid-template-columns:
        minmax(360px,.95fr)
        minmax(400px,1.25fr)
        auto !important;

    gap:30px !important;
}


/* =========================================================
   COPPER AREA
========================================================= */

.mtk-market-ticker{
    display:flex !important;
    align-items:center !important;

    gap:12px !important;

    min-width:0;
}


/* Precio */

.mtk-copper-price{
    display:flex;
    align-items:baseline;

    gap:6px;

    white-space:nowrap;
}


.mtk-copper-main{
    color:#f4f4f2 !important;

    font-size:23px !important;
    font-weight:600 !important;

    line-height:1;

    letter-spacing:-.035em;
}


.mtk-copper-currency{
    color:rgba(255,255,255,.40) !important;

    font-size:7px !important;
    font-weight:750 !important;

    letter-spacing:.09em;
}


/* Línea vertical */

.mtk-copper-price::after{
    content:"";

    width:1px;
    height:22px;

    margin-left:6px;

    background:
        rgba(255,255,255,.11);
}


/* =========================================================
   VARIACIÓN
========================================================= */

.mtk-copper-change{
    min-height:26px !important;

    display:inline-flex !important;
    align-items:center !important;

    gap:4px !important;

    padding:0 9px !important;

    border-radius:5px !important;

    font-size:9px !important;
    font-weight:800 !important;
}


/* Subida */

.mtk-copper-change.is-up{
    color:#87cba0 !important;

    background:
        rgba(77,180,116,.11) !important;

    border:
        1px solid rgba(101,200,137,.22);
}


/* Bajada */

.mtk-copper-change.is-down{
    color:#e48b8b !important;

    background:
        rgba(209,80,80,.10) !important;

    border:
        1px solid rgba(223,104,104,.20);
}


/* Neutral */

.mtk-copper-change.is-flat{
    color:rgba(255,255,255,.55) !important;

    background:
        rgba(255,255,255,.05) !important;

    border:
        1px solid rgba(255,255,255,.10);
}


/* Cambio absoluto */

.mtk-copper-daily{
    font-size:9px !important;

    font-weight:750 !important;

    white-space:nowrap;
}


.mtk-copper-daily.is-up{
    color:#82c89b !important;
}


.mtk-copper-daily.is-down{
    color:#df8989 !important;
}


/* =========================================================
   COPPER · COMEX
========================================================= */

.mtk-copper-meta{
    min-width:105px;

    margin-left:4px !important;

    padding-left:13px !important;

    border-left:
        1px solid rgba(255,255,255,.10) !important;

    color:#f4f4f2 !important;

    font-size:8px !important;

    font-weight:850 !important;

    line-height:1.25 !important;

    letter-spacing:.10em !important;
}


.mtk-copper-meta small{
    margin-top:2px !important;

    color:rgba(255,255,255,.27) !important;

    font-size:5px !important;

    letter-spacing:.08em !important;
}


/* =========================================================
   CONTACTO
========================================================= */

.mtk-global-utility-contact{
    justify-content:flex-end !important;

    gap:24px !important;
}


.mtk-global-utility-contact a{
    color:rgba(255,255,255,.56) !important;

    font-size:9px !important;

    font-weight:650 !important;
}


.mtk-global-utility-contact a:hover{
    color:#fff !important;
}


.mtk-global-utility-contact i{
    width:4px !important;
    height:4px !important;

    background:
        var(--mtk-gold) !important;
}


/* =========================================================
   IDIOMA
========================================================= */

.mtk-global-language{
    padding-left:4px;
}


.mtk-global-language a,
.mtk-global-language button{
    min-width:34px !important;

    height:24px !important;

    font-size:8px !important;
}


.mtk-global-language .is-current{
    color:var(--mtk-gold) !important;

    border-color:
        rgba(228,173,50,.45) !important;

    background:
        rgba(228,173,50,.035);
}


/* =========================================================
   HEADER DEBAJO
========================================================= */

body.mtk-redesign-page .mtk-header{
    top:50px !important;
}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:1150px){

    .mtk-global-utility-inner{

        grid-template-columns:
            minmax(320px,1fr)
            auto !important;
    }


    .mtk-global-utility-contact{
        display:none !important;
    }

}


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

@media(max-width:850px){

    :root{
        --mtk-utility-h:46px;
    }


    .mtk-global-utility,
    .mtk-global-utility-inner{
        min-height:46px !important;
    }


    body.mtk-redesign-page .mtk-header{
        top:46px !important;
    }


    .mtk-global-utility-inner{
        width:calc(100% - 30px) !important;

        grid-template-columns:
            1fr auto !important;

        gap:12px !important;
    }


    .mtk-copper-main{
        font-size:19px !important;
    }


    .mtk-copper-meta{
        display:none !important;
    }


    .mtk-copper-daily{
        display:none !important;
    }


    .mtk-copper-change{
        min-height:24px !important;

        padding:0 7px !important;
    }

}
/* =========================================================
   MTK FINAL HEADER / MARKET BAR PASS — 2026-10-07
   Final overrides intentionally live at the end of the file.
========================================================= */

:root{
    --mtk-utility-h: 58px;
}

/* Remove the visible seam between market bar and site header. */
.mtk-global-utility{
    height: var(--mtk-utility-h) !important;
    min-height: var(--mtk-utility-h) !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

.mtk-global-utility-inner{
    width: min(calc(100% - 64px), var(--mtk-max)) !important;
    min-height: var(--mtk-utility-h) !important;
    grid-template-columns: minmax(520px, 1.15fr) minmax(390px, .9fr) auto !important;
    gap: 30px !important;
}

body.mtk-redesign-page .mtk-header{
    top: var(--mtk-utility-h) !important;
    border-bottom: 0 !important;
}

body.mtk-redesign-page .mtk-header.is-scrolled{
    border-bottom: 0 !important;
    box-shadow: 0 18px 42px rgba(0,0,0,.14) !important;
}

body.admin-bar.mtk-redesign-page .mtk-header{
    top: calc(32px + var(--mtk-utility-h)) !important;
}

/* Copper data — larger and easier to scan. */
.mtk-market-ticker{
    gap: 13px !important;
}

.mtk-copper-main{
    font-size: 25px !important;
    font-weight: 650 !important;
}

.mtk-copper-currency{
    font-size: 8px !important;
}

.mtk-copper-change{
    min-height: 29px !important;
    padding: 0 10px !important;
    font-size: 10px !important;
}

.mtk-copper-daily{
    font-size: 10px !important;
}

.mtk-copper-meta{
    min-width: 112px !important;
    font-size: 9px !important;
}

.mtk-copper-meta small{
    display: block;
    font-size: 6px !important;
    line-height: 1.2 !important;
}

/* 5-day sparkline generated from the same copper market feed. */
.mtk-copper-sparkline{
    position: relative;
    width: 116px;
    height: 34px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 5px;
    padding: 2px 0 2px 10px;
    border-left: 1px solid rgba(255,255,255,.10);
}

.mtk-copper-sparkline svg{
    width: 104px;
    height: 28px;
    overflow: visible;
}

.mtk-copper-sparkline polyline{
    fill: none;
    stroke: rgba(255,255,255,.68);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.mtk-copper-sparkline.is-up polyline{ stroke: #82c89b; }
.mtk-copper-sparkline.is-down polyline{ stroke: #df8989; }

.mtk-copper-sparkline small{
    color: rgba(255,255,255,.34);
    font-size: 6px;
    font-weight: 850;
    letter-spacing: .08em;
}

/* Contact and language controls — no more tiny text. */
.mtk-global-utility-contact{
    gap: 22px !important;
}

.mtk-global-utility-contact a{
    font-size: 11px !important;
    font-weight: 680 !important;
    letter-spacing: .025em !important;
}

.mtk-global-utility-contact i{
    width: 5px !important;
    height: 5px !important;
    flex-basis: 5px !important;
}

.mtk-global-language{
    gap: 7px !important;
    padding-left: 0 !important;
}

.mtk-global-language a{
    min-width: 38px !important;
    height: 29px !important;
    padding: 0 10px !important;
    font-size: 10px !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.mtk-global-language a:not(.is-current):hover{
    color: #fff !important;
    border-color: rgba(255,255,255,.18) !important;
}

/* Product discovery: the moved portfolio becomes a strong second block. */
.mtk-priority-products{
    position: relative;
    z-index: 4;
}

/* Responsive market bar. */
@media (max-width: 1180px){
    .mtk-global-utility-inner{
        grid-template-columns: minmax(480px,1fr) auto !important;
    }

    .mtk-global-utility-contact{
        display: none !important;
    }
}

@media (max-width: 850px){
    :root{
        --mtk-utility-h: 50px;
    }

    .mtk-global-utility,
    .mtk-global-utility-inner{
        height: var(--mtk-utility-h) !important;
        min-height: var(--mtk-utility-h) !important;
    }

    .mtk-global-utility-inner{
        width: calc(100% - 28px) !important;
        grid-template-columns: 1fr auto !important;
        gap: 10px !important;
    }

    body.mtk-redesign-page .mtk-header{
        top: var(--mtk-utility-h) !important;
    }

    body.admin-bar.mtk-redesign-page .mtk-header{
        top: calc(46px + var(--mtk-utility-h)) !important;
    }

    .mtk-copper-main{
        font-size: 20px !important;
    }

    .mtk-copper-currency{
        font-size: 7px !important;
    }

    .mtk-copper-daily,
    .mtk-copper-meta,
    .mtk-copper-sparkline{
        display: none !important;
    }

    .mtk-copper-change{
        min-height: 25px !important;
        padding: 0 7px !important;
        font-size: 9px !important;
    }

    .mtk-global-language a{
        min-width: 34px !important;
        height: 27px !important;
        font-size: 9px !important;
    }
}

@media (max-width: 430px){
    .mtk-copper-currency{
        display: none !important;
    }

    .mtk-global-language{
        gap: 3px !important;
    }

    .mtk-global-language a{
        min-width: 31px !important;
        padding: 0 7px !important;
    }
}
