/* =========================================================
   SAKALI – CAPA DE DISEÑO MODERNO (sin flechas de slider)
   Archivo: modern-sakali.css
   ========================================================= */

/* ---------- 1. Tokens de diseño ---------- */

:root {
  --sakali-bg: #f4f5fb;
  --sakali-surface: #ffffff;
  --sakali-surface-alt: #f9fafb;
  --sakali-primary: #2243e5;   /* Azul corporativo */
  --sakali-accent: #1c63B8;    /* Azul/acento */
  --sakali-text: #111827;
  --sakali-text-soft: #6b7280;
  --sakali-border-subtle: #e5e7eb;
  --sakali-radius-sm: 10px;
  --sakali-radius-lg: 18px;
  --sakali-radius-pill: 999px;
  --sakali-shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
  --sakali-shadow-subtle: 0 8px 24px rgba(15, 23, 42, 0.08);
}

/* ---------- 2. Fondo general y tipografía ---------- */

body {
  background:
    radial-gradient(circle at top left, #f9fafb 0, #eef2ff 35%, #f4f5fb 100%);
  color: var(--sakali-text);
}

section,
.sidebar-page-container,
.main-footer {
  scroll-margin-top: 90px;
}

/* ---------- 3. Header & navegación (desktop) ---------- */

@media (min-width: 992px) {

  .main-header {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(12px);
  }

  .main-header .header-upper {
    padding-bottom: 0;
  }

  .main-menu .navigation {
    align-items: center;
  }

  .main-menu .navigation > li > a {
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
    padding: 26px 14px;
    color: var(--sakali-text-soft);
    background: transparent !important;
  }

  .main-menu .navigation > li > a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 16px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--sakali-primary), var(--sakali-accent));
    opacity: 0;
    transform: scaleX(0.3);
    transform-origin: center;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .main-menu .navigation > li:hover > a,
  .main-menu .navigation > li.current > a {
    color: var(--sakali-primary) !important;
    background-color: transparent !important;
  }

  .main-menu .navigation > li:hover > a::after,
  .main-menu .navigation > li.current > a::after {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* ---------- 4. Hero de página / .page-title ---------- */

.page-title {
  position: relative;
  padding: 120px 0 90px;
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left,
              rgba(15, 23, 42, 0.90) 0,
              rgba(17, 24, 39, 0.88) 35%,
              rgba(30, 64, 175, 0.78) 100%);
}

.page-title .auto-container {
  position: relative;
  z-index: 1;
}

.page-title h1,
.page-title h2 {
  font-size: clamp(34px, 3vw + 14px, 48px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

/* ---------- 5. Títulos de sección (.sec-title) ---------- */

.sec-title {
  margin-bottom: 40px;
}

.sec-title .title-inner .title,
.sec-title .title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sakali-accent);
  margin-bottom: 8px;
}

.sec-title h1,
.sec-title h2 {
  font-weight: 700;
  font-size: clamp(26px, 2.4vw + 10px, 36px);
  color: var(--sakali-text);
}

.sec-title h1 span,
.sec-title h2 span {
  color: var(--sakali-primary);
}

/* ---------- 6. Cards de productos / listados (.news-block) ---------- */

.news-block {
  margin-bottom: 30px;
}

.news-block .inner-box {
  background: var(--sakali-surface);
  border-radius: var(--sakali-radius-lg);
  overflow: hidden;
  box-shadow: var(--sakali-shadow-subtle);
  transform: translateY(0);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.news-block .inner-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--sakali-shadow-soft);
}

.news-block .inner-box .image-box {
  background-color: #020617;
}

.news-block .inner-box .image-box img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.news-block .inner-box .lower-content {
  padding: 16px 18px 18px;
}

.news-block .inner-box .lower-content h3,
.news-block .inner-box .lower-content h4,
.news-block .inner-box .lower-content h5 {
  margin: 0 0 4px;
  line-height: 1.25;
}

.news-block .inner-box .lower-content h4 a,
.news-block .inner-box .lower-content h5 a {
  font-size: 15px;
  font-weight: 600;
  color: var(--sakali-text);
  transition: color 0.18s ease;
}

.news-block .inner-box .lower-content h4 a:hover,
.news-block .inner-box .lower-content h5 a:hover {
  color: var(--sakali-primary);
}

.news-block .inner-box .lower-content .text {
  color: var(--sakali-text-soft);
  font-size: 14px;
}

/* ---------- 7. Página de ficha de producto ---------- */

.shop-page.product-details,
.shop-page .product-details {
  background: var(--sakali-surface);
  border-radius: var(--sakali-radius-lg);
  padding: 30px 28px;
  box-shadow: var(--sakali-shadow-soft);
}

.product-details .image-column .image-box {
  border-radius: var(--sakali-radius-lg);
  overflow: hidden;
  background: #020617;
}

.product-details .image-column img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.product-details .image-column label {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--sakali-text-soft);
}

.product-details .info-column .details-header h2 {
  font-size: clamp(22px, 2vw + 8px, 28px);
  font-weight: 700;
  margin-bottom: 6px;
}

.product-details .info-column .details-header .item-price {
  color: var(--sakali-primary);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.product-details .info-column .text {
  color: var(--sakali-text-soft);
  font-size: 15px;
}

.product-details .shop-list {
  margin-top: 18px;
}

.product-details .shop-list li {
  border-bottom: 1px solid var(--sakali-border-subtle);
  padding: 6px 0;
  font-size: 14px;
}

.product-details .shop-list li strong {
  color: var(--sakali-text);
  margin-right: 4px;
}

/* ---------- 8. Tabs de ficha / catálogo (.prod-tabs) ---------- */

.shop-page .prod-tabs .tab-btns {
  border-bottom: none;
  margin-bottom: 20px;
}

.shop-page .prod-tabs .tab-btns .tab-btn {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--sakali-radius-pill);
  border: 1px solid var(--sakali-border-subtle);
  padding: 8px 18px;
  margin-right: 10px;
  margin-bottom: 8px;
  color: var(--sakali-text-soft);
  background: #ffffff;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition:
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.shop-page .prod-tabs .tab-btns .tab-btn:hover,
.shop-page .prod-tabs .tab-btns .tab-btn.active-btn {
  color: #ffffff;
  background: var(--sakali-primary);
  border-color: var(--sakali-primary);
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.35);
}

.shop-page .prod-tabs .tabs-content .tab {
  padding-top: 10px;
}

/* ---------- 9. Sidebar categorías / filtro ---------- */

.sidebar .sidebar-inner {
  background: var(--sakali-surface);
  border-radius: var(--sakali-radius-lg);
  box-shadow: var(--sakali-shadow-subtle);
  padding: 22px 20px;
}

.sidebar-title-two h2 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sakali-text);
  border-left: 3px solid var(--sakali-primary);
  padding-left: 10px;
  margin-bottom: 14px;
}

.categories-widget .blog-cat-two li {
  margin-bottom: 6px;
}

.categories-widget .blog-cat-two li a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--sakali-radius-pill);
  font-size: 14px;
  color: var(--sakali-text-soft);
  background: transparent;
  border: 1px solid transparent;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.categories-widget .blog-cat-two li a:hover,
.categories-widget .blog-cat-two li a.active {
  background: var(--sakali-primary);
  border-color: var(--sakali-primary);
  color: #ffffff;
  transform: translateX(4px);
}

/* ---------- 10. Botones generales ---------- */

.theme-btn.btn-style-one,
.theme-btn.btn-style-two,
button[type="submit"].theme-btn {
  border-radius: var(--sakali-radius-pill);
  padding: 10px 26px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--sakali-primary), var(--sakali-accent));
  border: none;
  color: #ffffff !important;
  box-shadow: var(--sakali-shadow-subtle);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease,
    opacity 0.18s ease;
}

.theme-btn.btn-style-one:hover,
.theme-btn.btn-style-two:hover,
button[type="submit"].theme-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--sakali-shadow-soft);
  filter: brightness(1.05);
}

/* ---------- 11. Tablas de resultados del buscador ---------- */

.featured-table .table-outer {
  border-radius: var(--sakali-radius-lg);
  overflow: hidden;
  box-shadow: var(--sakali-shadow-subtle);
  background: var(--sakali-surface);
}

.feature-table {
  width: 100%;
  border-collapse: collapse;
}

.feature-table thead tr {
  background: var(--sakali-primary);
  color: #ffffff;
}

.feature-table thead td {
  padding: 10px 16px;
  font-size: 13px;
  border: none;
}

.feature-table thead .filters input[type="text"] {
  border-radius: var(--sakali-radius-pill);
  border: none;
  padding: 6px 12px;
  font-size: 13px;
}

.feature-table tbody tr {
  border-bottom: 1px solid var(--sakali-border-subtle);
}

.feature-table tbody tr:last-child {
  border-bottom: none;
}

.feature-table tbody td {
  padding: 10px 16px;
  vertical-align: middle;
  font-size: 14px;
}

.feature-table tbody tr:hover {
  background: var(--sakali-surface-alt);
}

/* ---------- 12. Alertas ---------- */

.alert.alert-info.centered {
  border-radius: var(--sakali-radius-lg);
  border: 1px solid var(--sakali-primary);
  background: #e0edff;
  color: #0f172a;
  padding: 10px 18px;
  font-size: 14px;
}

/* ---------- 13. Contenedor general de páginas ---------- */

.sidebar-page-container {
  padding: 60px 0 80px;
}

/* ---------- 14. Footer ---------- */

.main-footer {
  background: #020617;
  color: #9ca3af;
}

.main-footer a {
  color: #e5e7eb;
}

.main-footer a:hover {
  color: var(--sakali-accent);
}

/* =========================================================
   HOME – HERO, CATEGORÍAS Y SECCIONES DESTACADAS
   ========================================================= */

/* ---------- HERO / SLIDER PRINCIPAL ---------- */

.main-slider {
  position: relative;
  overflow: hidden;
}

.main-slider .main-slider-carousel .slide {
  position: relative;
  min-height: clamp(420px, 100vh - 120px, 720px);
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
}

.main-slider .main-slider-carousel .slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0,
              rgba(15,23,42,0.95) 0,
              rgba(17,24,39,0.92) 35%,
              rgba(30,64,175,0.78) 100%);
}

.main-slider .auto-container {
  position: relative;
  z-index: 1;
}

.main-slider .content-outer.center-align {
  text-align: left;
}

.main-slider .content-outer .content {
  max-width: 700px;
}

.main-slider h1 {
  font-size: clamp(32px, 4vw + 10px, 52px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 14px;
}

.main-slider h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sakali-accent), var(--sakali-primary));
}

/* Sin flechas, sin puntos */
.main-slider .owl-nav,
.main-slider .owl-nav *,
.main-slider .owl-dots {
  display: none !important;
}

/* ---------- SECCIONES HOME ---------- */

.projects-section,
.news-section-two,
.team-section {
  padding: 70px 0 80px;
}

.projects-section {
  background: linear-gradient(180deg, #f4f5fb 0, #ffffff 100%);
}

.team-section {
  background: #020617;
}

.news-section-two {
  background: #f9fafb;
}

.projects-section .sec-title.centered h1,
.news-section-two .sec-title.centered h1 {
  font-size: clamp(26px, 2.4vw + 8px, 34px);
}

/* ---------- BLOQUES DE CATEGORÍAS (team-section) ---------- */

.team-section .row {
  row-gap: 26px;
}

.team-block-three {
  margin-bottom: 0;
}

.team-block-three .image-box {
  position: relative;
  border-radius: var(--sakali-radius-lg);
  overflow: hidden;
  box-shadow: var(--sakali-shadow-subtle);
  transform: translateY(0);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.team-block-three .img-desc {
  position: relative;
}

.team-block-three .img-desc img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  filter: saturate(1.05);
  transition:
    transform 0.3s ease,
    filter 0.3s ease,
    opacity 0.3s ease;
}

.team-block-three .img-desc h1 {
  position: absolute;
  left: 18px;
  bottom: 18px;
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(15,23,42,0.85);
  color: #e5e7eb;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.team-block-three .image-box .overlay-box {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0,
              rgba(30,64,175,0.7) 0,
              rgba(15,23,42,0.95) 55%);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.team-block-three .image-box .overlay-box .lower-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-block-three .image-box .overlay-box .lower-content img {
  max-width: 150px;
  width: 60%;
}

.team-block-three .image-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--sakali-shadow-soft);
}

.team-block-three .image-box:hover .img-desc img {
  transform: scale(1.07);
  filter: saturate(1.2);
}

.team-block-three .image-box:hover .overlay-box {
  opacity: 1;
}

/* ---------- PRODUCTOS DESTACADOS / NOTICIAS EN HOME ---------- */

.projects-section .filter-list.row,
.news-section-two .row {
  row-gap: 26px;
}

.projects-section .news-block .inner-box .image-box img {
  height: 170px;
}

.news-section-two .news-block .inner-box .lower-content {
  padding-top: 14px;
}

/* ---------- RESPONSIVE PEQUEÑO ---------- */

@media (max-width: 767.98px) {
  .main-slider .main-slider-carousel .slide {
    min-height: 420px;
  }

  .main-slider .content-outer.center-align {
    text-align: center;
  }

  .main-slider h1::after {
    margin-left: auto;
    margin-right: auto;
  }

  .team-block-three .img-desc h1 {
    left: 12px;
    bottom: 12px;
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .team-block-three .img-desc img {
    height: 190px;
  }
}


/* =========================================================
   PRODUCTOS – Panel de filtros (Marca / Modelo)
   ========================================================= */

.shop-section {
  margin-top: 30px;
}

/* Caja blanca con sombra para los selects */
.shop-section .items-sorting {
  background: var(--sakali-surface);
  border-radius: var(--sakali-radius-lg);
  padding: 18px 22px;
  box-shadow: var(--sakali-shadow-subtle);
  margin-bottom: 30px;
}

/* Ajuste de columnas de selects */
.shop-section .items-sorting .select-column {
  margin-bottom: 10px;
}

/* Label “Seleccione Marca / Modelo” si lo hubiera */
.shop-section .items-sorting .form-group label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sakali-text-soft);
  margin-bottom: 4px;
}

/* Selects de Marca / Modelo con estilo pill y azul nuevo */
.shop-section .items-sorting select {
  display: block;
  width: 100%;
  max-width: 100%;
  font-size: 14px;
  font-weight: 500;
  color: var(--sakali-text);
  padding: 10px 40px 10px 12px;
  border-radius: var(--sakali-radius-pill);
  border: 1px solid var(--sakali-border-subtle);
  box-shadow: none;
  background-color: #ffffff;
  background-image: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
}

/* Flechita del select dibujada con pseudo-elemento */
.shop-section .items-sorting .form-group {
  position: relative;
}

.shop-section .items-sorting .form-group::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-left: 2px solid var(--sakali-primary);
  border-bottom: 2px solid var(--sakali-primary);
  transform: translateY(-60%) rotate(-45deg);
  pointer-events: none;
}

/* Hover / focus */
.shop-section .items-sorting select:hover,
.shop-section .items-sorting select:focus {
  border-color: var(--sakali-primary);
  outline: none;
  box-shadow: 0 0 0 1px rgba(0, 57, 132, 0.08);
}


/* =========================================================
   PRODUCTOS – Buscador de la tabla
   ========================================================= */

.feature-table thead .filters td {
  vertical-align: middle;
}

.feature-table thead .filters .form-control {
  float: none !important;
  width: 100% !important;
  max-width: 260px;
  margin-left: auto;
  border-radius: var(--sakali-radius-pill);
  border: 1px solid var(--sakali-border-subtle);
  font-size: 13px;
  padding: 7px 12px;
  box-shadow: none;
}

.feature-table thead .filters .form-control:focus {
  border-color: var(--sakali-primary);
  outline: none;
  box-shadow: 0 0 0 1px rgba(0, 57, 132, 0.08);
}


/* Menos espacio entre el héroe y el panel de filtros */
.shop-section {
  margin-top: 20px; /* antes 30px */
}

/* Título de gama / modelo (DAF LF) */
.shop-section h2,
.shop-section h3 {
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop-section h2 span,
.shop-section h3 span {
  color: var(--sakali-primary);
}


/* Tabs de categorías de producto bajo el título DAF LF */
.shop-page .prod-tabs .tab-btns {
  margin-top: 10px;
  margin-bottom: 24px;
}

.shop-page .prod-tabs .tab-btns .tab-btn {
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.10);
}

.shop-page .prod-tabs .tab-btns .tab-btn.active-btn {
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.22);
}

