/* =================================
   Vibeslate Mens Store - Template CSS
   ================================= */

/* Paleta basada en el logo Vibeslate (ajustada a fondos claros) */
:root {
  --vs-bg-main: #f3f4f6;     /* fondo general claro */
  --vs-bg-alt: #ffffff;      /* tarjetas / main */
  --vs-bg-soft: #e5e7eb;     /* secciones suaves */

  --vs-primary: #ff7a2f;
  --vs-primary-dark: #e85c12;
  --vs-secondary: #1cc4c9;
  --vs-accent: #ffd66b;

  --vs-text-main: #111827;
  --vs-text-muted: #6b7280;

  --vs-border-soft: #d1d5db;
}

/* Reset suave */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ===== BODY Y FONDO GENERAL ===== */

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* texto gris en todo el body */
  color: #4b5563;
  background: var(--vs-bg-main);
}

/* ===== CONTENEDOR BASE (header, hero, etc.) ===== */

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 1rem;
  margin: 0 auto;
}
.mens-topbar-content{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-right{
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* ===== ENLACES ===== */

a {
  color: var(--vs-primary-dark);
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
  color: var(--vs-primary);
  text-shadow: 0 0 6px rgba(232, 92, 18, 0.25);
}

/* ===========================
   TOPBAR
   =========================== */

.mens-topbar {
  background: linear-gradient(
    90deg,
    rgba(28, 196, 201, 0.12),
    rgba(255, 122, 47, 0.08)
  );
  border-bottom: 1px solid var(--vs-border-soft);
  color: var(--vs-text-muted);
  font-size: 0.85rem;
}

.customers-menu> ul{
  gap:15px;
  font-size:0.7rem;
}

.mens-topbar .container {
  padding: 0.35rem 0;
}

.mens-topbar .left {
  float: left;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.mens-topbar .right {
  float: right;
}

.mens-topbar::after {
  content: "";
  display: block;
  clear: both;
}

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

.mens-header {
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #f3f4f6 40%,
    #e5e7eb 100%
  );
  border-bottom: 1px solid var(--vs-border-soft);
  box-shadow: 0 6px 16px rgba(148, 163, 184, 0.4);
}

.mens-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 0.9rem 0;
}

/* Logo */

.mens-logo a {
  display: inline-flex;
  align-items: center;
}

.mens-logo img {
  max-height: 70px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(148, 163, 184, 0.7));
}

/* Menú principal */

.mens-mainmenu {
  font-size: 0.95rem;
}

.mens-mainmenu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.mens-mainmenu li {
  position: relative;
}

.mens-mainmenu li a {
  color: var(--vs-text-main);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  font-size: 0.85rem;
}

.mens-mainmenu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--vs-secondary), var(--vs-accent));
  transition: width 0.18s ease;
}

.mens-mainmenu li a:hover::after,
.mens-mainmenu li.current a::after,
.mens-mainmenu li.current-menu-item a::after {
  width: 100%;
}

/* ===========================
   HERO & BREADCRUMBS
   =========================== */

.hero-container {
  padding: 1.5rem 0 1.8rem;
}

.breadcrumbs-container {
  padding: 0.5rem 0 0.5rem;
  font-size: 0.85rem;
  color: var(--vs-text-muted);
  border-top: 1px solid rgba(209, 213, 219, 0.9);
  border-bottom: 1px solid rgba(209, 213, 219, 0.9);
  background: #ffffff;
}

/* ===========================
   LAYOUT PRINCIPAL (3 columnas)
   =========================== */

/*
   [ sidebar izquierda (300px) ] [ main flexible ] [ sidebar derecha (300px) ]
*/

.mens-layout {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 300px;
  gap: 2rem;
  padding: 2.2rem 1.5rem 3rem;
}

/* Sidebars */

.mens-sidebar-left,
.mens-sidebar-right {
  font-size: 0.95rem;
  color: var(--vs-text-muted);
}

/* truco para que se mantengan bien pegados a los lados */
.mens-sidebar-left {
  justify-self: start;
}

.mens-sidebar-right {
  justify-self: end;
}

/* Main / componente central */

.mens-main {
  padding: 1.7rem;
  min-width: 0; /* importante para flex/grid */
  color: #4b5563;
  margin: auto;
}

/* Mensajes del sistema dentro de main */

.mens-main .alert,
.mens-main .alert-message {
  border-radius: 10px;
}

/*==========================
   AJUSTE INTERNO PARA HIKASHOP
   (para botton de cart)
   =========================== */

   .hikacart {
    color: #fff;
    background-color: #15c6c3;
    border-color: #16B7B6;
}
.hikacart:hover {
    background-color: #fec01f;
    border-color: #16B7B6;
}

.hikashop_quantity_form{
  font-size: 0.7rem !important;
  border: none !important;
  display: none;
}
/*==========================
   AJUSTE INTERNO PARA HIKASHOP
   (carrito sea full width)
   =========================== */

   .hikashop_cart_dropdown_content{
    width: 180px !important;
    font-size: 0.8rem;
   }
   .hikashop_cart_module_product_icon_title{
    width: 30px;
    display: block;
    margin-right: 5px;
   }
/* ===========================
   AJUSTE INTERNO PARA HIKASHOP
   (para que productos + “barra derecha” queden lado a lado)
   =========================== */

/* Contenedor principal de categoría/listado (ajusta si tu ID/clases cambian) */
.mens-main #hikashop_category_listing,
.mens-main #hikashop_product_listing,
.mens-main .hikashop_products_listing_main {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
}

/* Columna de productos (izquierda) */
.mens-main #hikashop_category_listing .hikashop_products,
.mens-main #hikashop_product_listing .hikashop_products,
.mens-main .hikashop_products_listing_main .hikashop_products {
  flex: 1 1 auto;
  min-width: 0;
}

/* Columna tipo “barra derecha” dentro del componente */
.mens-main #hikashop_category_listing .hikashop_categories_listing,
.mens-main #hikashop_category_listing .hikashop_subcategories,
.mens-main #hikashop_product_listing .hikashop_categories_listing,
.mens-main .hikashop_products_listing_main .hikashop_subcategories {
  flex: 0 0 260px;
  max-width: 260px;
}

/* Por si HikaShop usa floats, los anulamos para este layout */
.mens-main .hikashop_categories_listing,
.mens-main .hikashop_subcategories {
  float: none !important;
}

/* ===========================
   BOTONES GENÉRICOS
   =========================== */

button,
.button,
.btn,
a.btn {
  background: linear-gradient(135deg, var(--vs-primary), var(--vs-accent));
  color: #3f1b0a !important;
  border-radius: 999px;
  border: none;
  padding: 0.65rem 1.8rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(148, 163, 184, 0.8);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

button:hover,
.button:hover,
.btn:hover,
a.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(148, 163, 184, 0.9);
  filter: saturate(1.1);
}

.btn, .btn-primary {
  margin-top: 2em;
}

/* ===========================
   FOOTER
   =========================== */

.mens-footer {
  background: #ffffff;
  padding: 1.4rem 0 1.8rem;
  font-size: 0.85rem;
  color: var(--vs-text-muted);
  text-align: center;
}

.mens-footer .container {
  line-height: 1.6;
}

/* ===========================
   LAYOUT ADAPTABLE SEGÚN ASIDES
   =========================== */

/* --- Desktop / default --- */

/* Caso 1: NO hay ni sidebar izquierda ni derecha → solo main a todo el ancho */
.mens-layout:not(:has(.mens-sidebar-left)):not(:has(.mens-sidebar-right)) {
  grid-template-columns: minmax(0, 1fr);
}

/* Caso 2: Solo hay sidebar izquierda */
.mens-layout:has(.mens-sidebar-left):not(:has(.mens-sidebar-right)) {
  grid-template-columns: 300px minmax(0, 1fr);
}

/* Caso 3: Solo hay sidebar derecha */
.mens-layout:has(.mens-sidebar-right):not(:has(.mens-sidebar-left)) {
  grid-template-columns: minmax(0, 1fr) 300px;
}

/* Contenedor general de banners (3 en total) */
.vs-banners-wrapper {
  display: grid;
  grid-template-columns: 2fr 1.2fr; /* izquierda grande, derecha más estrecha */
  gap: 1rem;
  width: 77%;
  margin: auto;
  margin: 1.5rem auto;
}

/* Columna izquierda */
.vs-banners-left {
  width: 100%;
}

/* Columna derecha con dos banners apilados */
.vs-banners-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Cada bloque de banner */
.vs-banners-left a,
.vs-banners-right-item a {
  display: block;
}

/* Imágenes responsivas */
.vs-banners-left img,
.vs-banners-right-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 5px;
  object-fit: cover;
}

/* Opcional: sombra ligera */
.vs-banners-left img,
.vs-banners-right-item img {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}



/* RESPONSIVE: en pantallas pequeñas se apilan todos */
@media (max-width: 768px) {
  .vs-banners-wrapper {
    grid-template-columns: 1fr;
  }

  .vs-banners-right {
    flex-direction: column;
  }
}
.sppb-addon{
  width: 50%;
  margin: 8em auto 0em auto;
  text-align: center;


}
.sppb-addon-title{
  font-weight: bold;
  color: #000;
  margin-bottom: 0.5em;
}
.sppb-addon-small-title{
  font-size: 0.8rem;
  color: #FD8E21;
  margin-bottom: 0.5em;
}

.content-bottom{
  width: 80%;
  max-width: 1200px;
  margin: auto;
}

.vs-info-icons {
  width: 100%;
  margin: 2em auto 0em;
  padding: 1.5rem 1rem;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  text-align: center;
  background-color: #fd8e21;
}

.vs-info-item {
  flex: 1;
  min-width: 180px;
}

.vs-info-item i {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  color: var(--vs-primary-dark);
}

.vs-info-item h4 {
  margin: 0.3rem 0 0.4rem;
  font-size: 1.05rem;
  color: #111827;
  font-weight: 700;
}

.vs-info-item p {
  margin: 0;
  font-size: 0.9rem;
  color: #6b7280;
}
/* Contenedor externo a 100% del contenedor principal */
.vs-info-wrapper {
  width: 100%;
  margin: 2rem 0;
}

/* Contenedor interno, usa todo el ancho disponible */
.vs-info-icons {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  text-align: center;
  padding: 1.5rem 0;
}

/* Estilos de cada item */
.vs-info-item {
  flex: 1;
  min-width: 200px;
}

.vs-info-item img {
  max-width: 80px;
  margin-bottom: 0.6rem;
}

/* Iconos */
.vs-info-item i {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  color: var(--vs-primary-dark);
}

/* Título */
.vs-info-item h4 {
  margin: 0.3rem 0 0.3rem;
  font-size: 1.05rem;
  color: #111827;
  font-weight: 700;
}

/* Texto corto */
.vs-info-item p {
  margin: 0;
  font-size: 0.9rem;
  color: #f3f4f7;
}

.bannerBottom-container{
  background-color: #000;
  margin: 2em 0em 2em 0em;
  padding: 2em;
  color: #fff;
}

/* Responsivo */
@media (max-width: 768px) {
  .vs-info-icons {
    flex-direction: column;
    gap: 1.5rem;
  }
  
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .vs-info-icons {
    flex-direction: column;
    gap: 1.5rem;
  }
}


/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1200px) {
  .mens-layout {
    grid-template-columns: 260px minmax(0, 1fr) 260px;
  }

  /* sin sidebars: 1 columna */
  .mens-layout:not(:has(.mens-sidebar-left)):not(:has(.mens-sidebar-right)) {
    grid-template-columns: minmax(0, 1fr);
  }

  /* solo izquierda */
  .mens-layout:has(.mens-sidebar-left):not(:has(.mens-sidebar-right)) {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  /* solo derecha */
  .mens-layout:has(.mens-sidebar-right):not(:has(.mens-sidebar-left)) {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
}

@media (max-width: 1024px) {

  .flex-container{
    display: flex;
    flex-direction: row;
  }
  .mens-header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .mens-mainmenu ul {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .mens-layout {
    grid-template-columns: 230px minmax(0, 1fr) 230px;
  }

  /* sin sidebars */
  .mens-layout:not(:has(.mens-sidebar-left)):not(:has(.mens-sidebar-right)) {
    grid-template-columns: minmax(0, 1fr);
  }

  /* solo izquierda */
  .mens-layout:has(.mens-sidebar-left):not(:has(.mens-sidebar-right)) {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  /* solo derecha */
  .mens-layout:has(.mens-sidebar-right):not(:has(.mens-sidebar-left)) {
    grid-template-columns: minmax(0, 1fr) 230px;
  }

  /* Dentro del componente, productos + barra derecha siguen en 2 columnas */
  .mens-main #hikashop_category_listing,
  .mens-main #hikashop_product_listing,
  .mens-main .hikashop_products_listing_main {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  /* En móvil apilamos todo: main primero, luego sidebars */
  .mens-layout {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem 2rem;
  }

  .mens-main {
    order: 1;
    padding: 1.25rem;
  }

  .mens-sidebar-left,
  .mens-sidebar-right {
    order: 2;
  }

  .hero-container {
    padding-top: 1rem;
    padding-bottom: 1.3rem;
  }

  /* Dentro del componente, productos arriba y barra derecha abajo */
  .mens-main #hikashop_category_listing,
  .mens-main #hikashop_product_listing,
  .mens-main .hikashop_products_listing_main {
    flex-direction: column;
  }

  .mens-main #hikashop_category_listing .hikashop_categories_listing,
  .mens-main #hikashop_category_listing .hikashop_subcategories,
  .mens-main #hikashop_product_listing .hikashop_categories_listing,
  .mens-main .hikashop_products_listing_main .hikashop_subcategories {
    max-width: 100%;
    flex: 0 0 auto;
  }
}









/* CONTENEDOR GENERAL DEL BLOQUE TOPADS */
.topads {
  display: grid;
  grid-template-columns: 2fr 1fr;         /* izquierda grande, derecha más angosta */
  grid-template-rows: repeat(2, 1fr);     /* dos filas para las dos imágenes pequeñas */
  gap: 12px;                              /* espacio entre imágenes */
  align-items: stretch;
  max-height: 320px;                      /* ajusta esta altura si las quieres más grandes/chicas */
  margin-bottom: 1.5rem;
}

/* CADA BLOQUE (MÓDULO / IMAGEN) DENTRO DE TOPADS */
.topads > div {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

/* LAS IMÁGENES DENTRO DEL BLOQUE */
.topads img {
  width: 100%;
  height: 100%;
  object-fit: cover;                      /* recorta la imagen para que llene el espacio sin deformarse */
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* HOVER BONITO */
.topads > div:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

/* PRIMERA IMAGEN: OCUPA TODA LA COLUMNA IZQUIERDA (2 FILAS) */
.topads > div:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / span 2;
}

/* SEGUNDA IMAGEN: ARRIBA A LA DERECHA */
.topads > div:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

/* TERCERA IMAGEN: ABAJO A LA DERECHA */
.topads > div:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}


@media (max-width: 768px) {
  .topads {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    max-height: none;                     /* deja que crezca en alto */
  }

  .topads > div:nth-child(1),
  .topads > div:nth-child(2),
  .topads > div:nth-child(3) {
    grid-column: 1;
    grid-row: auto;
    height: auto;
  }

  .topads img {
    height: auto;
  }
}




/* CONTENEDOR GENERAL DEL BLOQUE TOPADS */

.topads-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.topads-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease, filter .3s ease;
}

.topads-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.9);
}

/* Overlay */
.topads-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px;
  opacity: 1; /* se mantiene visible siempre */
}

/* Ícono */
.topads-icon {
  font-size: 2.5rem;
  margin-bottom: 6px;
}

/* Texto */
.topads-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: .5px;
  text-shadow: 0 0 6px rgba(0,0,0,0.7);
}

.topads-sub {
  font-size: .9rem;
  opacity: .9;
  margin: 3px 0 0 0;
  text-shadow: 0 0 5px rgba(0,0,0,0.7);
}

@media (max-width: 768px) {
  .topads-icon { font-size: 2rem; }
  .topads-title { font-size: 1.1rem; }
  .topads-sub { font-size: .8rem; }
}






.topads {
  width: 75%;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr;         /* izquierda grande, derecha más angosta */
  grid-template-rows: repeat(2, 1fr);     /* dos filas para las dos imágenes pequeñas */
  gap: 12px;                              /* espacio entre imágenes */
  align-items: stretch;
  /*max-height: 420px;                      /* ajusta esta altura si las quieres más grandes/chicas */
  margin-bottom: 1.5rem;
}

/* CADA BLOQUE (MÓDULO / IMAGEN) DENTRO DE TOPADS */
.topads > div {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

/* LAS IMÁGENES DENTRO DEL BLOQUE */
.topads img {
  width: 100%;
  height: 100%;
  object-fit: cover;                      /* recorta la imagen para que llene el espacio sin deformarse */
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* HOVER BONITO */
.topads > div:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

/* PRIMERA IMAGEN: OCUPA TODA LA COLUMNA IZQUIERDA (2 FILAS) */
.topads > div:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / span 2;
}

/* SEGUNDA IMAGEN: ARRIBA A LA DERECHA */
.topads > div:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

/* TERCERA IMAGEN: ABAJO A LA DERECHA */
.topads > div:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

@media (max-width: 768px) {
  .topads {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    max-height: none;                     /* deja que crezca en alto */
  }

  .topads > div:nth-child(1),
  .topads > div:nth-child(2),
  .topads > div:nth-child(3) {
    grid-column: 1;
    grid-row: auto;
    height: auto;
  }

  .topads img {
    height: auto;
  }
}



