/*===========================================*/
/*	IDENTIDAD "PLATINO" - Oficina Platinum
/*	Se carga despues de rgen_min.css y custom.css
/*===========================================*/
:root {
    --op-azul: #101C2E;
    --op-azul-2: #1A2A42;
    --op-acero: #5E6B7D;
    --op-plata: #C9CED6;
    --op-linea: #DADEE4;
    --op-dorado: #B8964E;
    --op-dorado-2: #A58341;
    --op-fondo: #F5F6F8;
    --op-titulos: "Playfair Display", Georgia, "Times New Roman", serif;
    --op-textos: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
}

/* Tipografias */
body {
    font-family: var(--op-textos) !important;
    color: var(--op-acero);
    font-size: 16px;
    background-color: #fff;
}
p, li, label, input, select, textarea, button, .btn, .nav-m a, .copyright {
    font-family: var(--op-textos) !important;
}
h1, h2, h3, h4, h5, h6, .title, .main-text {
    font-family: var(--op-titulos) !important;
    color: var(--op-azul);
    letter-spacing: 0;
    font-variant-numeric: lining-nums;
}
a { color: var(--op-azul); }
a:hover, a:focus { color: var(--op-dorado-2); }

/* Marca (logo en texto) */
.op-marca {
    display: inline-block;
    font-family: var(--op-titulos);
    font-weight: 700;
    font-size: 27px;
    line-height: 1;
    color: #fff !important;
    text-decoration: none !important;
    white-space: nowrap;
}
.op-marca em { font-style: normal; color: var(--op-dorado); }
.op-marca small {
    display: block;
    margin-top: 7px;
    font-family: var(--op-textos);
    font-weight: 400;
    font-size: 10px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--op-plata);
}

/* Logo en imagen */
.nav-wrp .navbar-brand.op-logo { display: flex; align-items: center; min-height: 80px; padding: 12px 0; height: auto; }
.nav-wrp .navbar-brand.op-logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 56px; }
.footer-section-1 .op-logo-pie { display: inline-block; margin: 36px 0 22px; }
.footer-section-1 .op-logo-pie img { width: 240px; max-width: 70%; height: auto; margin: 0; }

/* Cabecera y menu */
.nav-wrp.nav-6, .nav-wrp.nav-6.dark, .nav-wrp.nav-6.nav-glass,
.nav-wrp.nav-6.bg-glass, .nav-wrp.nav-6.bg-glass:not(.nav-sticky) {
    background-color: var(--op-azul) !important;
    border-bottom: 2px solid var(--op-dorado);
}
.nav-wrp .navbar-brand { height: auto; padding: 18px 0; }
.nav-6 .nav-other > span { color: #fff; font-weight: 600; }
.nav-6 .nav-other > span i { color: var(--op-dorado); margin-right: 6px; }
.nav-m a { color: #fff; font-weight: 600; letter-spacing: .06em; }
.nav-m li { border-right-color: transparent; }
.nav-m li ul { background-color: var(--op-azul-2); width: 240px; text-align: left; }
.nav-m li li a { text-transform: none; letter-spacing: 0; font-weight: 400; line-height: 38px; }
.nav-m li a:hover,
ul.nav-m li:hover a { background-color: transparent; color: var(--op-dorado); }
ul.nav-m li:hover li a { color: #fff; }
.nav-m li li a:hover,
ul.nav-m li li a:hover { background-color: var(--op-dorado); color: var(--op-azul); }
.toggleMenu { color: #fff; }

/* Botones */
.btn { border-radius: 2px; font-weight: 600; letter-spacing: .02em; }
.btn-default, .btn-primary, .btn.link-button {
    background-color: var(--op-dorado);
    border-color: var(--op-dorado);
    color: var(--op-azul);
}
.btn-default:hover, .btn-default:focus, .btn-default:active,
.btn-primary:hover, .btn-primary:focus,
.btn.link-button:hover {
    background-color: var(--op-azul);
    border-color: var(--op-azul);
    color: #fff;
}
.btn-line {
    border: 2px solid var(--op-azul);
    color: var(--op-azul);
}
.btn-line:hover, .btn-line:focus {
    background-color: var(--op-azul);
    border-color: var(--op-azul);
    color: #fff;
}

/* Titulos de seccion */
.title { color: var(--op-azul); font-weight: 700; }
.title-sub { color: var(--op-acero); }
.other-section-1 .title { color: var(--op-azul); }
.other-section-1 .title-sub { color: var(--op-acero); }
.slider-section-3 .title::after,
.other-section-1 .title::after {
    content: "";
    display: block;
    width: 56px;
    height: 2px;
    margin-top: 16px;
    background-color: var(--op-dorado);
}

/* Portada: slider */
.intro-section-10 .main-text { color: #fff; font-weight: 700; }
.intro-section-10 .sub-text { color: #fff; font-family: var(--op-textos); }
.intro-section-10 .overlay b.overlay,
.intro-section-10 b.full-wh.overlay { background-color: rgba(16, 28, 46, .45); }

/* Destacados y tarjetas de producto */
.slider-section-3 { background-color: var(--op-fondo); }
.info-box1 {
    border: 1px solid var(--op-linea);
    border-radius: 2px;
    background-color: #fff;
    overflow: hidden;
}
.info-box1 .info h6 {
    font-family: var(--op-textos) !important;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.35;
    color: var(--op-azul);
    margin: 0;
}
.owl-nav > div, .owl-prev, .owl-next { color: var(--op-azul); }

/* Lista de categorias */
.other-section-1 ol > li { border-color: var(--op-linea); }
.other-section-1 ol > li .info .hd {
    font-family: var(--op-textos) !important;
    font-weight: 600;
    letter-spacing: .06em;
}
.other-section-1 ol > li .info .hd a { color: var(--op-azul); text-decoration: none; }
.other-section-1 ol > li .info .hd a:hover { color: var(--op-dorado-2); }
.other-section-1 h4 { font-size: 22px; }
h3.categoria { font-size: 30px; margin-bottom: 24px; }

/* Nosotros */
.form-section-1 {
    background-image: none !important;
    background-color: var(--op-azul) !important;
}
.form-section-1 .title { color: #fff; }
.form-section-1 .title::after {
    content: "";
    display: block;
    width: 56px;
    height: 2px;
    margin-top: 16px;
    background-color: var(--op-dorado);
}
.form-section-1 .title-sub { color: var(--op-plata); font-size: 16px !important; }
.form-section-1 .title-sub strong { color: #fff; }
.op-cifras { text-align: left; padding: 20px 0 0 40px; }
.op-cifras div { margin-bottom: 26px; }
.op-cifras b {
    font-variant-numeric: lining-nums;
    display: block;
    font-family: var(--op-titulos);
    font-weight: 700;
    font-size: 64px;
    line-height: 1;
    color: var(--op-dorado);
}
.op-cifras span { font-size: 17px; color: #fff; letter-spacing: .04em; }

/* Bloque de contacto de la portada */
.other-section-7 { background-color: var(--op-azul-2) !important; }
.other-section-7 .title { color: #fff; }
.other-section-7 .title.mini { color: var(--op-plata); font-family: var(--op-textos) !important; letter-spacing: .2em; }
.other-section-7 .content > i { color: var(--op-dorado); }
.popup-form1 { border-radius: 2px; }
.popup-form1 .pop-header { background-color: var(--op-dorado); }
.popup-form1 .pop-header .title { color: var(--op-azul); }
.form-control { border-radius: 2px; }
.form-control:focus { border-color: var(--op-dorado); box-shadow: none; }

/* Cabecera interior (productos / producto) */
header .title.large { color: #fff; }
header .bg-dark { background-color: var(--op-azul) !important; }

/* Paginador */
nav.pagination a, nav.pagination span { background: var(--op-fondo); color: var(--op-azul); border-radius: 2px; }
nav.pagination a.current { background-color: var(--op-azul); color: #fff; }

/* Contacto */
.feature-box .fbox-icon i, .feature-box .fbox-icon a { color: var(--op-dorado); }
.contact-form h3 { color: var(--op-azul); }
.msj-contacto { color: var(--op-azul); font-weight: 600; }

/* Pie */
.footer-section-1 { background-color: var(--op-azul); border-top: 2px solid var(--op-dorado); }
.footer-section-1 .op-marca { margin: 34px 0 20px; }
.footer-section-1 .copyright { color: var(--op-plata); }

@media (max-width: 991px) {
    .op-cifras { padding: 30px 0 0; }
    .op-cifras b { font-size: 50px; }
    .title.medium { font-size: 32px; }
    .title { font-size: 3.2rem; }
    .nav-wrp .navbar-brand { float: none; display: block; text-align: center; }
    .nav-wrp .navbar-brand.op-logo img { margin: 0 auto; max-height: 50px; }
    .op-marca { font-size: 24px; }
}

/* Precios y ficha tecnica de producto */
.op-precio {
    margin: 6px 0 4px;
    font-family: var(--op-titulos) !important;
    font-variant-numeric: lining-nums;
    font-weight: 700;
    font-size: 20px;
    color: var(--op-azul);
    text-align: center;
}
.op-precio-antes { font-weight: 400; font-size: .8em; color: var(--op-acero); text-decoration: line-through; margin-right: 6px; }
.op-ficha { width: 100%; margin: 18px 0 22px; border-top: 1px solid var(--op-linea); border-collapse: collapse; }
.op-ficha th, .op-ficha td { padding: 9px 0; border-bottom: 1px solid var(--op-linea); text-align: left; vertical-align: top; font-size: 16px; }
.op-ficha th { width: 38%; padding-right: 14px; font-weight: 600; color: var(--op-azul); }
.op-ficha td { color: var(--op-acero); }
.op-ficha-precio {
    margin: 0 0 4px;
    font-family: var(--op-titulos) !important;
    font-variant-numeric: lining-nums;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.2;
    color: var(--op-azul);
}
.op-ficha-precio .op-precio-antes { font-size: .65em; }
.op-ficha-promo small { display: block; font-family: var(--op-textos); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--op-dorado-2); }
.op-ficha-sin-imp { margin: 0 0 20px; font-size: 15px; color: var(--op-acero); }
.op-descripcion { margin-bottom: 20px; }

/* Slider de portada: alto fijo y foto centrada */
.intro-section-10 .item { height: 550px; }
.intro-section-10 .item .bg-cover {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat;
}
.intro-section-10 .caption.vm-item { top: 30%; }
@media (max-width: 767px) {
    .intro-section-10 .item { height: 420px; }
}

/* Imagen de "Nuestro catalogo" en la portada */
.op-img-catalogo { display: block; width: 100%; height: auto; border-radius: 2px; }
@media (max-width: 991px) { .op-img-catalogo { margin-top: 30px; } }

/* Botones de las tarjetas de producto */
.op-btn-consultar { border: 2px solid var(--op-dorado); }
.op-btn-consultar i { margin-right: 4px; }
.member-box .btn, .info-box1 .btn { margin: 3px 2px; }

/* Grilla de productos: los botones quedan alineados en cada fila */
.op-grilla { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 10px; }
.op-grilla > .clearfix { display: none; }
.op-grilla > .col-md-4 { width: auto; float: none; display: flex; }
.op-grilla .member-box { display: flex; flex-direction: column; width: 100%; height: 100%; margin-bottom: 0; }
.op-grilla .member-box > img { align-self: center; max-width: 100%; height: auto; }
.op-grilla .op-tarjeta-foto { display: block; align-self: center; max-width: 100%; }
.op-grilla .op-tarjeta-foto img { display: block; max-width: 100%; height: auto; margin: 0 auto; transition: opacity .2s; }
.op-grilla .op-tarjeta-foto:hover img { opacity: .85; }
.op-tarjeta-titulo, .op-tarjeta-titulo:focus { color: inherit; text-decoration: none; }
.op-tarjeta-titulo:hover { color: var(--op-dorado-2); text-decoration: none; }
.op-grilla .op-resenia { display: block; }
.op-grilla .op-botones { margin-top: auto; padding-top: 20px; }
@media (max-width: 991px) { .op-grilla { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .op-grilla { grid-template-columns: minmax(0, 1fr); } }

/* Galeria de fotos en la ficha de producto */
.op-galeria-principal { position: relative; border: 1px solid var(--op-linea); border-radius: 2px; background: #fff; overflow: hidden; }
.op-galeria-principal img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.op-galeria-flecha {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 36px; height: 44px; padding: 0; border: 0;
    background: rgba(16, 28, 46, .55); color: #fff;
    font-size: 26px; line-height: 40px; cursor: pointer;
}
.op-galeria-flecha:hover { background: var(--op-azul); }
.op-galeria-ant { left: 0; }
.op-galeria-sig { right: 0; }
.op-galeria-miniaturas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.op-galeria-miniaturas button { width: 64px; height: 64px; padding: 0; border: 2px solid var(--op-linea); border-radius: 2px; background: #fff; cursor: pointer; overflow: hidden; }
.op-galeria-miniaturas button.activa { border-color: var(--op-dorado); }
.op-galeria-miniaturas img { display: block; width: 100%; height: 100%; object-fit: cover; }

.op-galeria { margin-bottom: 24px; }

/* Carruseles de productos (destacados y relacionados): todas las tarjetas con la misma altura */
.slider-section-3 .owl-stage, .destacados-home .owl-stage { display: flex; }
.slider-section-3 .owl-item, .destacados-home .owl-item { display: flex; float: none; flex-shrink: 0; }
.slider-section-3 .owl-item > .item, .destacados-home .owl-item > .item { display: flex; width: 100%; }
.slider-section-3 .info-box1, .destacados-home .info-box1 { display: flex; flex-direction: column; width: 100%; }
.slider-section-3 .info-box1 .info, .destacados-home .info-box1 .info { flex: 1 1 auto; }
.info-box1 .info h6 {
    min-height: 2.7em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.info-box1 .info .txt {
    min-height: 4.5em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

/* Cabecera en celular: barra compacta con logo a la izquierda y boton de menu a la derecha */
@media (max-width: 759px) {
    .nav-wrp.nav-6 > .container { position: relative; }
    .nav-wrp.nav-6 .col-md-3, .nav-wrp.nav-6 .col-md-6 { float: none; width: auto; min-height: 0; }
    .nav-wrp.nav-6 .col-md-6, .nav-wrp.nav-6 .menu { position: static; }
    .nav-wrp .navbar-brand.op-logo { display: block; float: none; min-height: 0; padding: 14px 64px 14px 0; text-align: left; }
    .nav-wrp .navbar-brand.op-logo img { margin: 0; max-height: 44px; }
    .nav-wrp.nav-6 .nav-header { float: none; }
    .nav-wrp.nav-6 .menu { padding-top: 0; }
    .nav-wrp.nav-6 .align-r { display: none; }

    .toggleMenu {
        position: absolute; top: 12px; right: 15px;
        width: 44px; height: 44px; padding: 0;
        border: 1px solid rgba(201, 206, 214, .45); border-radius: 2px;
        background-image: none;
        font-size: 0; line-height: 42px; text-indent: 0; text-align: center;
    }
    .toggleMenu::before { content: "\f0c9"; font-family: FontAwesome; font-size: 20px; color: #fff; }
    .toggleMenu.active { border-color: var(--op-dorado); }
    .toggleMenu.active::before { content: "\f00d"; color: var(--op-dorado); }

    .nav-m { margin: 0 -15px; padding: 6px 0 12px; border-top: 1px solid rgba(201, 206, 214, .2); text-align: left; }
    .nav-m > li { display: block; border-right: 0; }
    .nav-m a { display: block; padding: 0 20px; line-height: 46px; }
    .nav-m > li > .parent { background-image: none; }
    /* Las categorias quedan siempre a la vista dentro del menu */
    .nav-m li ul, .nav-m > li.hover > ul { position: static; left: auto; width: 100%; background-color: transparent; }
    .nav-m li li a { padding-left: 36px; line-height: 40px; color: var(--op-plata); }
    ul.nav-m li:hover li a { color: var(--op-plata); }
    ul.nav-m li li a:hover { background-color: transparent; color: var(--op-dorado); }
}

/* Franja "Nuestros Productos" (listado y ficha): mas baja y con el titulo centrado */
header.pos-rel.pd-t-large {
    display: flex; align-items: center; justify-content: center;
    min-height: 220px; padding: 0 !important;
}
header.pos-rel.pd-t-large > .container { width: 100%; margin: 0 auto; }
header.pos-rel.pd-t-large .content { margin: 0 auto !important; }
header.pos-rel.pd-t-large .title.large { margin: 0; line-height: 1.15; }
@media (max-width: 759px) {
    header.pos-rel.pd-t-large { min-height: 140px; }
    header.pos-rel.pd-t-large .title.large { font-size: 34px; }
}

/* Ficha de producto: foto mas grande y visor a tamaño completo */
@media (min-width: 992px) { .op-ficha-datos { padding-left: 30px; } }
.op-ficha-foto > img.op-ampliar { display: block; width: 100%; height: auto; border: 1px solid var(--op-linea); border-radius: 2px; }
.op-ampliar { cursor: zoom-in; }
.op-visor {
    position: fixed; inset: 0; z-index: 100000;
    display: flex; align-items: center; justify-content: center;
    padding: 20px; background: rgba(16, 28, 46, .92); cursor: zoom-out;
}
.op-visor img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; background: #fff; border-radius: 2px; cursor: default; }
.op-visor button { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; line-height: 1; }
.op-visor button:hover { background: var(--op-dorado); color: var(--op-azul); }
.op-visor-cerrar { top: 14px; right: 14px; width: 44px; height: 44px; font-size: 30px; border-radius: 2px; }
.op-visor-flecha { top: 50%; transform: translateY(-50%); width: 46px; height: 64px; font-size: 38px; }
.op-visor-ant { left: 10px; }
.op-visor-sig { right: 10px; }

/* Aviso de imagenes ilustrativas */
.op-aviso-fotos { margin: 12px 0 24px; font-size: 13px; line-height: 1.5; font-style: italic; color: var(--op-acero); }
.footer-section-1 .op-aviso-pie { font-size: 12px; opacity: .8; }
