﻿a:hover {
  color: #FFAF1C;
}

.page-title .content .title {
  color: black;
}

.page-title .content .breadcrumb a {
  color: black;
}

.page-title .content .breadcrumb li {
  color: #FFAF1C;
}

.primary-text {
  color: #FFAF1C;
}

.tf-social-icon.type-2 a:hover {
  color: #FFAF1C;
  background-color: transparent;
}

footer .form-newsletter .subscribe-button:hover {
  background-color: #FFAF1C;
  color: black;
}

footer .footer-menu .footer-menu_item:hover {
  color: #FFAF1C !important;
}

.hover-primary:hover {
  color: #FFAF1C !important;
}

.btn-pdf {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: black;
  color: white;
  padding: 14px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-pdf i {
  color: #e74c3c; /* rojo del icono PDF */
  font-size: 18px;
}

.btn-pdf:hover {
  background-color: #FFAF1C;
  color: black;
}

.masonry-gallery {
  column-count: 4;
  column-gap: 15px;
}

.masonry-gallery img {
  width: 100%;
  margin-bottom: 15px;
  border-radius: 6px;
  display: block;
}

.categories-item:hover {
  cursor: pointer;
}

.search-box {
  position: relative;
  width: 100%;
  max-width: 350px;
  font-family: "Marcellus", sans-serif;
}

.search-box input {
  width: 100%;
  height: 44px;
  padding: 0 15px 0 42px;
  border: 1px solid #dcdcdc;
  border-radius: 25px;
  outline: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.search-box input:focus {
  border-color: #999;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  font-size: 14px;
  color: #777;
}

.cls-lookbook .lookbook-item.position3 {
  left: 7%;
  bottom: 50%;
}

/* Thumbs slider vertical con flechas */
.thumbs-slider-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.tf-product-media-thumbs {
  max-height: 360px !important;
}

.thumbs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  color: #333;
  font-size: 12px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.thumbs-nav:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.thumbs-nav.swiper-button-disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

/* =============================================
   Carrito de Cotización
   ============================================= */

.carrito-card {
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.carrito-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.carrito-card-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f7f7f7;
  overflow: hidden;
}

.carrito-card-img a {
  display: block;
  width: 100%;
  height: 100%;
}
.carrito-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: opacity 0.2s;
}
.carrito-card-img a:hover img {
  opacity: 0.85;
}

.carrito-item-eliminar {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #aaa;
  font-size: 11px;
  line-height: 1;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  z-index: 1;
}

.carrito-item-eliminar:hover {
  color: #cc0000;
  background: #fff;
  border-color: #cc0000;
}

.carrito-card-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.carrito-card-nombre {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #1a1a1a;
  text-decoration: none;
  display: block;
}
.carrito-card-nombre:hover {
  color: var(--primary, #333);
  text-decoration: underline;
}

.carrito-card-codigo {
  font-size: 11px;
  color: #999;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.carrito-card-variantes {
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.carrito-card-variantes .badge {
  font-size: 9.5px;
  font-weight: 500;
  padding: 3px 7px;
  border-radius: 4px;
  background: #f0f0f0 !important;
  color: #444 !important;
  letter-spacing: 0.2px;
}

.carrito-card-cantidad {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: auto;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  width: fit-content;
}

.btn-cantidad {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: #f5f5f5;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: #555;
  user-select: none;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}

.btn-cantidad:hover {
  background: #e8e8e8;
  color: #111;
}

.cantidad-valor {
  min-width: 36px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  color: #1a1a1a;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  line-height: 32px;
}

/* Cart summary box */
.carrito-resumen {
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 24px;
}

.btn-modal-primary {
  padding: 11px 24px;
  background: #FFAF1C;
  color: #111;
  font-weight: 700;
  font-size: 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.btn-modal-primary:hover {
  background: #e89e10;
  transform: translateY(-1px);
}

.btn-modal-primary:disabled {
  opacity: 0.65;
  cursor: default;
  transform: none;
}

.btn-modal-secondary {
  padding: 11px 20px;
  background: transparent;
  color: #999;
  font-size: 13px;
  font-weight: 400;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.btn-modal-secondary:hover {
  color: #111;
  border-color: #111;
}

#modalCotizacion .form-control::placeholder {
  color: #c0c0c0;
}

.btn-cotizar-primary {
  display: block;
  padding: 13px 20px;
  background: #FFAF1C;
  color: #111;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, transform 0.1s;
}

.btn-cotizar-primary:hover {
  background: #e89e10;
  transform: translateY(-1px);
}

.btn-cotizar-secondary {
  display: block;
  padding: 10px 20px;
  background: transparent;
  color: #999;
  font-weight: 400;
  font-size: 13px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: color 0.2s, border-color 0.2s;
}

.btn-cotizar-secondary:hover {
  color: #111;
  border-color: #111;
}

.btn-agregar-carrito {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  background: #FFAF1C;
  color: #111;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background 0.25s ease;
  white-space: nowrap;
  color: #fff;
}

.btn-agregar-carrito:hover {
  background: #e09800;
}

.btn-agregar-carrito.agregado {
  background: #28a745;
  color: #fff;
}

@media (max-width: 767px) {
  .btn-agregar-carrito {
    height: 28px;
    font-size: 11px;
  }
}

/* CLS: reservar espacio para imágenes antes de cargar */
.wrap-slider .img-style {
  aspect-ratio: 16 / 7;
  overflow: hidden;
}
.wrap-slider .img-style img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-product .image-wrap {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.card-product .image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-product .btn-main-product {
  border-color: #111;
}
.card-product .btn-main-product:hover {
  border-color: #111;
}

/* ---- Benefit section: cards con icono en círculo ---- */
.benefit-section .tf-box-icon {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.benefit-section .tf-box-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.benefit-section .tf-box-icon .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid #FFAF1C;
    margin-bottom: 20px;
    font-size: 28px;
    color: #1a1a1a;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.benefit-section .tf-box-icon:hover .icon {
    background-color: #FFAF1C;
    border-color: #FFAF1C;
    color: #fff;
}

.benefit-section .tf-box-icon .title {
    color: #1a1a1a !important;
}

.benefit-section .swiper-slide {
    height: auto;
}

/* Barra fija inferior carrito móvil */
#barraMovilCotizacion {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: #fff;
  border-top: 1px solid #e5e5e5;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.10);
  padding: 10px 16px;
  display: flex !important;
  gap: 10px;
  align-items: center;
}
#barraMovilCotizacion .btn-cotizar-primary {
  flex: 1;
}
#barraMovilCotizacion .btn-cotizar-secondary {
  flex-shrink: 0;
  padding: 0 16px;
  height: 44px;
}
@media (min-width: 992px) {
  #barraMovilCotizacion {
    display: none !important;
  }
}
