/* ==========================================================
   Besser Technology · destructorasperu.com
   Ajustes de marca sobre la plantilla (se carga después de style.css)
   ========================================================== */
:root {
  --theme-color1: #0b1f4d;
  --theme-color2: #0a3fae;
  --theme-color3: #1e88ff;
  --theme-color4: #f3f6fb;
  --amarillo: #ffcf1f;
  --amarillo-2: #ffb800;
  --verde-wa: #25d366;
  --gradient-1: linear-gradient(to left, var(--theme-color3), var(--theme-color2));
  --headings-color: var(--theme-color1);
  --text-color: #5d6577;
}

body { color: var(--text-color); }
img { max-width: 100%; }

/* ---------- Cabecera ---------- */
.main-header .logo img { max-height: 46px; width: auto; }
.sticky-header .logo img { max-height: 40px; width: auto; }
.mobile-menu .nav-logo img { max-height: 38px; width: auto; }
.main-header .header-lower .main-box { display: flex; align-items: center; justify-content: space-between; }
.header-whatsapp {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--verde-wa); color: #fff; font-weight: 600; font-size: 14px;
  padding: 9px 18px; border-radius: 30px; transition: .3s;
}
.header-whatsapp:hover { background: #1fb457; color: #fff; }
.header-whatsapp i { font-size: 18px; }
@media (max-width: 1023px) { .header-whatsapp { display: none; } }
.main-header .navigation li.dropdown > ul { min-width: 260px; }

/* ---------- Slider ---------- */
.main-slider h1, .main-slider .slide-h {
  position: relative; display: block; color: #fff; font-weight: 700;
  font-size: 72px; line-height: 1.05em; letter-spacing: -0.02em; margin: 0;
}
.main-slider .title { text-decoration: none; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; }
.main-slider .text { color: rgba(255,255,255,.85); font-size: 18px; line-height: 30px; }
@media (max-width: 1199px) { .main-slider .slide-h { font-size: 62px; } }
@media (max-width: 1023px) { .main-slider .slide-h { font-size: 54px; } }
@media (max-width: 599px)  { .main-slider .slide-h { font-size: 40px; } .main-slider .text { font-size: 16px; line-height: 26px; } }

.btn-style-amarillo {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, var(--amarillo), var(--amarillo-2));
  color: #111 !important; font-weight: 700; font-size: 16px; padding: 16px 34px; border-radius: 40px;
  box-shadow: 0 10px 30px rgba(255, 191, 0, .35); transition: .3s;
}
.btn-style-amarillo:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255, 191, 0, .5); }
.btn-style-amarillo .btn-title { color: #111; }

/* ---------- Títulos de sección ---------- */
.sec-title .text { margin-top: 14px; font-size: 17px; line-height: 1.7; }
.sec-title.text-center .text { max-width: 760px; margin-left: auto; margin-right: auto; }

/* ---------- Tarjeta de producto ---------- */
.inicio-productos { padding: 110px 0 90px; }
.product-block { margin-bottom: 30px; }
.product-block .inner-box {
  position: relative; height: 100%; display: flex; flex-direction: column;
  background: #fff; border-radius: 14px; border: 1px solid #edf0f6; overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.product-block .inner-box:hover { box-shadow: 0 18px 40px rgba(11, 31, 77, .10); transform: translateY(-4px); }
.product-block .image { position: relative; background: #fff; padding: 10px 10px 0; }
.product-block .image img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: contain; transition: transform .4s; }
.product-block .inner-box:hover .image img { transform: scale(1.04); }
.product-block .image .corte {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  background: var(--theme-color4); color: var(--theme-color2); font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 20px;
}
.product-block .content { padding: 6px 20px 22px; flex: 1; display: flex; flex-direction: column; text-align: left; }
.product-block .content h4 { font-size: 17px; line-height: 1.35; margin-bottom: 10px; font-weight: 600; }
.product-block .content h4 a { color: var(--theme-color1); }
.product-block .content h4 a:hover { color: var(--theme-color3); }
.product-block .chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; }
.product-block .chips li { font-size: 12px; color: #4b5568; background: #f4f6fa; border-radius: 6px; padding: 3px 8px; }
.product-block .chips i { color: var(--theme-color3); margin-right: 2px; }
.product-block .price { margin-top: auto; display: block; font-size: 20px; font-weight: 700; color: var(--theme-color3); }
.product-block .price del { font-size: 14px; color: #9aa3b5; font-weight: 400; margin-left: 6px; }
.product-block .price.consultar { font-size: 15px; color: var(--theme-color2); font-weight: 600; }
.product-block .icon-box { position: absolute; right: 16px; bottom: 18px; display: flex; gap: 6px; }
.product-block .icon-box .ui-btn {
  width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #f1f4f9; color: var(--theme-color1); font-size: 15px; transition: .3s; position: static; opacity: 1; transform: none;
}
.product-block .icon-box .ui-btn:hover { background: var(--theme-color2); color: #fff; }
.product-block .icon-box .add-to-cart { background: var(--verde-wa); color: #fff; font-size: 19px; }
.product-block .icon-box .add-to-cart:hover { background: #1fb457; }

/* ---------- Categorías (inicio) ---------- */
.categorias-inicio .service-block .inner-box { height: 100%; }
.categorias-inicio .service-block .content { display: flex; flex-direction: column; height: 100%; }
.categorias-inicio .service-block .text { margin-bottom: 18px; line-height: 1.6; }
.categorias-inicio .ver-cat { margin-top: auto; font-weight: 600; color: var(--theme-color3); position: relative; z-index: 2; }
.categorias-inicio .service-block .inner-box:hover .ver-cat { color: #fff; }

/* ---------- Guía de corte ---------- */
.guia-corte { padding: 100px 0; background: var(--theme-color4); }
.guia-corte .nivel {
  display: flex; gap: 22px; align-items: flex-start; background: #fff; border-radius: 14px;
  padding: 26px 28px; margin-bottom: 18px; box-shadow: 0 6px 24px rgba(11, 31, 77, .05);
}
.guia-corte .nivel:last-child { margin-bottom: 0; }
.guia-corte .nivel .num {
  flex: 0 0 56px; height: 56px; border-radius: 12px; background: var(--gradient-1); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700;
}
.guia-corte .nivel h5 { margin-bottom: 6px; font-size: 19px; }
.guia-corte .nivel p { margin: 0; line-height: 1.6; }

/* ---------- Tu compra segura ---------- */
.compra-segura { padding: 100px 0 70px; }
.compra-segura .garantia {
  background: #f6f8fb; border-radius: 22px; padding: 46px 34px; text-align: center; height: calc(100% - 30px); margin-bottom: 30px;
  transition: .3s;
}
.compra-segura .garantia:hover { background: #fff; box-shadow: 0 18px 40px rgba(11, 31, 77, .10); }
.compra-segura .garantia i { font-size: 54px; color: var(--theme-color2); margin-bottom: 22px; display: inline-block; }
.compra-segura .garantia h5 { font-size: 20px; margin-bottom: 12px; }
.compra-segura .garantia p { margin: 0; line-height: 1.7; }

/* ---------- Blog ---------- */
.blog-inicio { padding: 100px 0 70px; background: linear-gradient(180deg, #e7f0ff, #f5f9ff); }
.news-block .image-box img { width: 100%; aspect-ratio: 370/271; object-fit: cover; }
.news-block .content-box .cat i { margin-right: 4px; }
.news-block .content-box .title { min-height: 3em; }

/* ---------- Encabezado de páginas internas ---------- */
.page-title { background-size: cover; background-position: center; }
.page-title:before { background: transparent !important; }

/* ---------- Catálogo ---------- */
.catalogo { padding: 90px 0 70px; }
.catalogo .shop-sidebar { position: sticky; top: 100px; }
.catalogo .category-list li a.activa { color: var(--theme-color3); font-weight: 600; }
.catalogo .category-list li a .cuenta { float: right; font-size: 13px; color: #98a1b3; }
.barra-catalogo { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.barra-catalogo .resultado { margin: 0; color: #66708a; }
.barra-catalogo select { height: 44px; border: 1px solid #e3e7ef; border-radius: 8px; padding: 0 14px; color: var(--theme-color1); background: #fff; }
.cat-intro { background: var(--theme-color4); border-radius: 12px; padding: 20px 24px; margin-bottom: 26px; }
.cat-intro h2 { font-size: 22px; margin-bottom: 6px; }
.cat-intro p { margin: 0; }
.sin-resultados { text-align: center; padding: 60px 20px; background: var(--theme-color4); border-radius: 14px; }
.sin-resultados i { font-size: 46px; color: var(--theme-color3); margin-bottom: 12px; }
.paginacion ul { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 0; margin: 20px 0 0; list-style: none; }
.paginacion a, .paginacion span {
  display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid #e3e7ef; color: var(--theme-color1); font-weight: 600;
}
.paginacion .actual, .paginacion a:hover { background: var(--theme-color2); border-color: var(--theme-color2); color: #fff; }

/* ---------- Detalle de producto ---------- */
.producto-detalle { padding: 90px 0 40px; }
.galeria-producto .principal { background: #fff; border: 1px solid #edf0f6; border-radius: 16px; overflow: hidden; display: block; }
.galeria-producto .principal img { width: 100%; aspect-ratio: 1/1; object-fit: contain; }
.galeria-producto .miniaturas { display: flex; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.galeria-producto .miniaturas button { width: 86px; height: 86px; padding: 4px; border: 2px solid #edf0f6; border-radius: 10px; background: #fff; }
.galeria-producto .miniaturas button.activa { border-color: var(--theme-color3); }
.galeria-producto .miniaturas img { width: 100%; height: 100%; object-fit: contain; }
.producto-info .marca { display: inline-block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--theme-color3); margin-bottom: 8px; }
.producto-info h1 { font-size: 34px; line-height: 1.2; margin-bottom: 14px; }
.producto-info .precio-detalle { font-size: 32px; font-weight: 700; color: var(--theme-color3); margin-bottom: 4px; }
.producto-info .precio-detalle del { font-size: 18px; color: #9aa3b5; font-weight: 400; margin-left: 8px; }
.producto-info .precio-nota { font-size: 14px; color: #7a8399; margin-bottom: 18px; }
.producto-info .lead { font-size: 17px; line-height: 1.7; color: #4b5568; }
.producto-info .chips-grandes { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 22px 0; padding: 0; list-style: none; }
.producto-info .chips-grandes li { background: var(--theme-color4); border-radius: 12px; padding: 14px 16px; }
.producto-info .chips-grandes small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #7a8399; }
.producto-info .chips-grandes strong { color: var(--theme-color1); font-size: 16px; }
.producto-info .botones { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 10px; background: var(--verde-wa); color: #fff !important;
  font-weight: 700; padding: 15px 28px; border-radius: 8px; font-size: 16px; transition: .3s;
}
.btn-whatsapp:hover { background: #1fb457; }
.btn-whatsapp i { font-size: 22px; }
.btn-borde {
  display: inline-flex; align-items: center; gap: 10px; border: 2px solid var(--theme-color2); color: var(--theme-color2) !important;
  font-weight: 700; padding: 13px 24px; border-radius: 8px; font-size: 16px; transition: .3s;
}
.btn-borde:hover { background: var(--theme-color2); color: #fff !important; }
.condiciones { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; padding: 18px 0 0; margin: 0; list-style: none; border-top: 1px solid #edf0f6; }
.condiciones li { font-size: 15px; color: var(--theme-color1); }
.condiciones i { color: #17a34a; margin-right: 6px; }
.producto-info .categoria-link { font-size: 14px; margin-top: 18px; color: #7a8399; }
@media (max-width: 575px) { .condiciones { grid-template-columns: 1fr; } .producto-info h1 { font-size: 27px; } }

.producto-tabs { padding: 30px 0 80px; }
.producto-tabs .bloque { background: #fff; border: 1px solid #edf0f6; border-radius: 16px; padding: 34px; height: 100%; }
.producto-tabs .bloque h3 { font-size: 22px; margin-bottom: 18px; }
.tabla-specs { width: 100%; border-collapse: collapse; }
.tabla-specs th, .tabla-specs td { padding: 12px 14px; border-bottom: 1px solid #eef1f6; font-size: 15px; vertical-align: top; }
.tabla-specs th { width: 42%; color: var(--theme-color1); font-weight: 600; background: #fafbfd; }
.tabla-specs tr:last-child th, .tabla-specs tr:last-child td { border-bottom: 0; }
.relacionados { padding: 0 0 80px; }

/* ---------- Blog ---------- */
.blog-lista { padding: 100px 0 70px; }
.articulo { padding: 90px 0 80px; }
.articulo .portada { border-radius: 16px; overflow: hidden; margin-bottom: 28px; }
.articulo .portada img { width: 100%; }
.articulo .meta { color: #7a8399; font-size: 14px; margin-bottom: 10px; }
.articulo h1 { font-size: 36px; line-height: 1.25; margin-bottom: 22px; }
.articulo .contenido { font-size: 17px; line-height: 1.8; color: #424b5e; }
.articulo .contenido h2 { font-size: 26px; margin: 34px 0 12px; }
.articulo .contenido h3 { font-size: 21px; margin: 28px 0 10px; }
.articulo .contenido p { margin-bottom: 18px; }
.articulo .contenido ul, .articulo .contenido ol { margin: 0 0 20px 22px; padding: 0; }
.articulo .contenido ul { list-style: disc; }
.articulo .contenido ol { list-style: decimal; }
.articulo .contenido li { margin-bottom: 8px; }
.articulo .contenido a { color: var(--theme-color3); text-decoration: underline; }
.articulo .contenido img { border-radius: 10px; height: auto; }
.articulo .compartir { display: flex; gap: 10px; align-items: center; margin-top: 30px; padding-top: 22px; border-top: 1px solid #edf0f6; flex-wrap: wrap; }
.articulo .compartir a { width: 40px; height: 40px; border-radius: 50%; background: var(--theme-color4); color: var(--theme-color1); display: inline-flex; align-items: center; justify-content: center; }
.articulo .compartir a:hover { background: var(--theme-color2); color: #fff; }
.sidebar-blog .widget { background: var(--theme-color4); border-radius: 16px; padding: 26px; margin-bottom: 26px; }
.sidebar-blog .widget h5 { margin-bottom: 16px; }
.sidebar-blog .mini { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.sidebar-blog .mini img { width: 74px; height: 64px; object-fit: cover; border-radius: 8px; flex: 0 0 74px; background: #fff; }
.sidebar-blog .mini a { color: var(--theme-color1); font-weight: 600; font-size: 15px; line-height: 1.35; }
.sidebar-blog .mini small { display: block; color: #7a8399; }

/* ---------- Nosotros ---------- */
.nosotros { padding: 100px 0; }
.nosotros .imagen img { border-radius: 20px; }
.lista-check { list-style: none; padding: 0; margin: 22px 0 30px; }
.lista-check li { position: relative; padding-left: 32px; margin-bottom: 12px; color: var(--theme-color1); font-weight: 500; }
.lista-check li:before { content: "\f00c"; font-family: "Font Awesome 6 Pro"; font-weight: 900; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--theme-color3); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; }

/* ---------- Contacto ---------- */
.contacto { padding: 100px 0 80px; }
.contacto .tarjeta-dato { display: flex; gap: 18px; background: var(--theme-color4); border-radius: 14px; padding: 22px; margin-bottom: 18px; }
.contacto .tarjeta-dato i { flex: 0 0 52px; height: 52px; border-radius: 12px; background: var(--gradient-1); color: #fff; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.contacto .tarjeta-dato h6 { margin-bottom: 4px; }
.contacto .tarjeta-dato p, .contacto .tarjeta-dato a { margin: 0; color: #4b5568; }
.contacto .form-box { background: #fff; border: 1px solid #edf0f6; border-radius: 18px; padding: 36px; box-shadow: 0 18px 40px rgba(11, 31, 77, .06); }
.contacto .form-box label { font-weight: 600; color: var(--theme-color1); margin-bottom: 6px; font-size: 14px; }
.contacto .form-box .form-control { height: 50px; border-radius: 8px; border-color: #e3e7ef; }
.contacto .form-box textarea.form-control { height: 140px; }
.contacto .hp { position: absolute; left: -9999px; }
.alerta { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-weight: 500; }
.alerta.ok { background: #e8f8ee; color: #146c2e; }
.alerta.error { background: #fdecec; color: #a32020; }
.datos-pago { white-space: pre-line; }
.mapa iframe { width: 100%; height: 380px; border: 0; border-radius: 16px; display: block; }

/* ---------- Pie ---------- */
.main-footer { background: linear-gradient(110deg, #0b2a6f, #111c6e); }
.main-footer .footer-logo img { max-height: 54px; width: auto; margin-bottom: 20px; }
.main-footer .about-widget .text { color: rgba(255,255,255,.8); }
.main-footer .contact-list-pie { list-style: none; padding: 0; margin: 0; }
.main-footer .contact-list-pie li { display: flex; gap: 12px; margin-bottom: 12px; color: rgba(255,255,255,.8); font-size: 15px; line-height: 1.6; }
.main-footer .contact-list-pie i { color: #7fb4ff; font-size: 18px; margin-top: 3px; width: 20px; }
.main-footer .contact-list-pie a { color: rgba(255,255,255,.9); }
.main-footer .contact-list-pie a:hover { color: #fff; }
.main-footer .contact-list-pie .tel-grande { font-size: 22px; font-weight: 700; color: #fff; }
.main-footer .user-links li a { color: rgba(255,255,255,.85); }
.main-footer .footer-bottom { background: rgba(0,0,0,.18); }
.main-footer .footer-bottom .inner-container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.main-footer .footer-bottom .copyright-text a { color: #fff; }
.medios-pago { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.medios-pago li { font-size: 30px; color: rgba(255,255,255,.85); line-height: 1; }
.call-to-action-two .title { color: #fff; }
.call-to-action-two .btn-column { display: flex; align-items: center; justify-content: flex-end; }
@media (max-width: 991px) { .call-to-action-two .btn-column { justify-content: flex-start; margin-top: 20px; } }

/* ---------- WhatsApp flotante ---------- */
.whatsapp-flotante {
  position: fixed; left: 22px; bottom: 22px; z-index: 999; width: 58px; height: 58px; border-radius: 50%;
  background: var(--verde-wa); color: #fff; font-size: 32px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, .45); transition: transform .3s;
}
.whatsapp-flotante:hover { color: #fff; transform: scale(1.08); }

/* ---------- 404 / construcción ---------- */
.error-404 { padding: 120px 0; text-align: center; }
.error-404 .codigo { font-size: 120px; font-weight: 800; color: var(--theme-color3); line-height: 1; }

/* ---------- Correcciones tras revisión ---------- */
.main-slider h1, .main-slider .slide-h { text-transform: none; }
.categorias-inicio .service-block .content { padding-left: 0; }
.categorias-inicio .service-block .icon { position: relative; display: inline-block; font-size: 48px; margin-bottom: 18px; }
.categorias-inicio .service-block .title { font-size: 20px; }
.categorias-inicio .service-block .title a { color: inherit; }
.categorias-inicio .service-block .inner-box:hover .icon { -webkit-text-fill-color: #fff; }
.catalogo .category-list li a { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.catalogo .category-list li a .cuenta { float: none; background: #fff; border-radius: 20px; padding: 0 8px; }
.ayuda-widget { background: var(--theme-color4); border-radius: 10px; padding: 26px 22px; }
.ayuda-widget h5 { margin-bottom: 8px; }

/* ---------- Banner en celulares ---------- */
.hero-movil { display: none; }
@media (max-width: 767px) {
  .main-slider { display: none; }
  .hero-movil {
    display: block; background-size: cover; background-position: center; color: #fff;
    padding: 150px 0 40px; text-align: left; overflow: hidden;
  }
  .hero-movil .sub { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 12px; color: rgba(255,255,255,.85); }
  .hero-movil h2 { color: #fff; font-size: 40px; line-height: 1.08; margin-bottom: 14px; }
  .hero-movil p { color: rgba(255,255,255,.85); font-size: 16px; line-height: 1.6; margin-bottom: 22px; }
  .hero-movil .producto { display: block; width: 82%; max-width: 340px; margin: 18px auto 0; }
  .page-title .title { font-size: 38px !important; line-height: 1.15 !important; }
  .page-title { padding-top: 150px !important; padding-bottom: 60px !important; }
  .inicio-productos, .guia-corte, .compra-segura, .blog-inicio, .nosotros, .contacto, .catalogo, .producto-detalle, .articulo, .blog-lista { padding-top: 60px; padding-bottom: 50px; }
  .sec-title h2 { font-size: 30px; }
  .whatsapp-flotante { width: 52px; height: 52px; font-size: 28px; left: 14px; bottom: 14px; }
  .producto-tabs .bloque { padding: 22px; }
  .contacto .form-box { padding: 22px; }
}
