/* =========================
   COLORES PRINCIPALES
========================= */
:root{
  --blue:#005db7;
  --dark:#001b5b;
  --red:#ed111a;
  --yellow:#ffd51b;
  --light:#f5f8ff;
  --green:#14aa4b;
  --purple:#8c63ad;
  --pink:#f38ab4;
}

/* =========================
   CONFIGURACIÓN GENERAL
========================= */
*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  background:var(--light);
  color:#10203f;
}

a{
  text-decoration:none;
  color:inherit;
}

/* =========================
   LOADER / ANIMACIÓN INICIAL
========================= */
#loader{
  position:fixed;
  inset:0;
  background:var(--blue);
  z-index:2000;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:white;
  font-weight:900;
  font-size:1.2rem;
  animation:hideLoader .8s ease 1.9s forwards;
}

#loader img{
  width:170px;
  height:170px;
  object-fit:cover;
  border-radius:50%;
  border:6px solid white;
  animation:bounce 1s infinite alternate;
}

@keyframes bounce{
  from{transform:translateY(0)}
  to{transform:translateY(-18px)}
}

@keyframes hideLoader{
  to{opacity:0;visibility:hidden}
}

/* =========================
   HEADER ESTILO DACSA
========================= */
.topbar{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(0,93,183,1);
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  padding:18px 5%;
  transition:all .4s ease;
  box-shadow:0 5px 20px #0002;
}

/* =========================
   MENÚ IZQUIERDO Y DERECHO
========================= */
.nav-left,
.nav-right{
  display:flex;
  align-items:center;
  gap:25px;
}

.nav-left{
  justify-content:flex-start;
}

.nav-right{
  justify-content:flex-end;
}

.nav-left a,
.nav-right a{
  color:white;
  font-family:Arial, Helvetica, sans-serif;
  font-weight:300;
  letter-spacing:3px;
  text-transform:uppercase;
  font-size:13px;
  transition:.3s;
}

.nav-left a:hover,
.nav-right a:hover{
  opacity:.75;
}

/* =========================
   LOGO CENTRAL GRANDE
========================= */
.brand-center{
  width:520px;
  height:150px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
  background:transparent;
  border:none;
  box-shadow:none;
}

.brand-center img{
  pointer-events:none;
}

/* =========================
   CARRITO HEADER
========================= */
.cart-btn{
  background:var(--red);
  color:white;
  border:none;
  border-radius:40px;
  padding:14px 24px;
  font-weight:800;
  cursor:pointer;
  font-size:16px;
  transition:.3s;
}

.cart-btn:hover{
  transform:scale(1.05);
}

/* =========================
   HEADER AL HACER SCROLL
========================= */
.topbar.scrolled{
  padding:10px 5%;
  background:rgba(0,93,183,.82);
  backdrop-filter:blur(10px);
}

.topbar.scrolled .brand-center{
  width:220px;
  height:70px;
}

/* =========================
   HERO / PORTADA PRINCIPAL
========================= */
.hero{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:30px;
  align-items:center;
  padding:70px 7%;
  background:linear-gradient(135deg,var(--blue),#0092ff);
  color:white;
}

.badge{
  background:var(--yellow);
  color:var(--dark);
  font-weight:900;
  padding:8px 16px;
  border-radius:999px;
}

.hero h1{
  font-size:clamp(2.1rem,5vw,4.6rem);
  line-height:1.02;
  margin:25px 0 15px;
  text-shadow:3px 3px 0 var(--dark);
}

.hero p{
  font-size:1.25rem;
  max-width:620px;
}

.hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:24px;
}

.hero-img{
  text-align:center;
}

.mascot{
  max-width:420px;
  width:100%;
  border-radius:30px;
  filter:drop-shadow(0 20px 25px #0005);
}

/* =========================
   BOTONES GENERALES
========================= */
.btn{
  display:inline-block;
  border:none;
  border-radius:14px;
  padding:15px 23px;
  font-weight:900;
  cursor:pointer;
}

.primary{
  background:var(--red);
  color:white;
}

.secondary{
  background:white;
  color:var(--dark);
}

/* =========================
   SECCIONES GENERALES
========================= */
section{
  padding:55px 7%;
}

.categories h2,
.products-section h2,
.about h2,
.branches h2,
.admin-preview h2{
  font-size:2.2rem;
  color:var(--dark);
}

/* =========================
   CATÁLOGO / CATEGORÍAS
========================= */

.category-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
  gap:22px;
}

.category-grid button,
.category-card{
  border:0;
  border-radius:18px;
  background:white;
  padding:28px 18px;
  font-size:1.1rem;
  font-weight:900;
  color:var(--dark);
  box-shadow:0 10px 25px #001b5b12;
  cursor:pointer;
  text-align:center;
  transition:.3s;
  display:block;
}

.category-card:hover{
  transform:translateY(-5px);
  background:var(--yellow);
}

/* =========================
   PRODUCTOS
========================= */
.products-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:22px;
}

.product-card{
  background:white;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 10px 25px #001b5b12;
}

.product-card img{
  width:100%;
  height:190px;
  object-fit:cover;
  background:#eaf1ff;
}

.product-info{
  padding:18px;
}

.product-info h3{
  margin:0 0 8px;
  color:var(--dark);
}

.price{
  font-size:1.3rem;
  font-weight:900;
  color:var(--red);
}

.wholesale{
  font-size:.9rem;
  color:var(--green);
  font-weight:800;
}

.product-info button{
  width:100%;
  margin-top:14px;
}

/* =========================
   NOSOTROS
========================= */
.about{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:30px;
  align-items:center;
  background:white;
}

.about img{
  width:100%;
  max-width:360px;
  border-radius:50%;
  margin:auto;
}

/* =========================
   SUCURSALES
========================= */
.branches{
  background:#eef5ff;
}

.branch-layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
}

.branch-layout img{
  width:100%;
  border-radius:22px;
}

.branch-list{
  background:white;
  border-radius:22px;
  padding:24px;
  box-shadow:0 10px 25px #001b5b12;
}

.branch-list h3{
  color:var(--red);
}

/* =========================
   PANEL ADMIN PREVIEW
========================= */
.admin-preview{
  text-align:center;
  background:white;
}

/* =========================
   PANEL DEL CARRITO
========================= */
.cart-panel{
  position:fixed;
  right:-420px;
  top:0;
  width:390px;
  max-width:92vw;
  height:100vh;
  background:white;
  z-index:1500;
  box-shadow:-15px 0 35px #0002;
  padding:22px;
  transition:.3s;
  overflow:auto;
}

.cart-panel.open{
  right:0;
}

.cart-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.cart-header button{
  border:0;
  background:var(--red);
  color:white;
  border-radius:50%;
  width:34px;
  height:34px;
}

.cart-item{
  display:grid;
  grid-template-columns:1fr auto;
  gap:8px;
  border-bottom:1px solid #eee;
  padding:14px 0;
}

.cart-summary{
  margin-top:20px;
  background:#f4f7ff;
  border-radius:18px;
  padding:18px;
}

.full{
  width:100%;
  margin-top:12px;
}

/* =========================
   FOOTER
========================= */
footer{
  background:var(--dark);
  color:white;
  text-align:center;

  padding-top:70px;
  padding-bottom:70px;
  padding-left:7%;
  padding-right:7%;
}

.footer-links,
.socials{
  display:flex;
  justify-content:center;
  gap:30px;
  flex-wrap:wrap;
  margin-bottom:35px;
}
.socials{
  margin-top:10px;
  margin-bottom:25px;
}

.footer-links a{
  font-family:Arial, Helvetica, sans-serif;
  font-weight:300;
  letter-spacing:2.5px;
  text-transform:uppercase;
  font-size:15px;
}

.socials a{
  width:38px;
  height:38px;
  border-radius:50%;
  background:white;
  color:var(--blue);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  transition:.3s;
}

.socials a:hover{
  transform:translateY(-4px);
  background:var(--yellow);
}

footer h3{
  font-size:2.4rem;
  margin:30px 0 20px;
}

footer p{
  font-size:13px;
  font-weight:300;
  margin-top:25px;
}



/* =========================
   RESPONSIVE CELULAR
========================= */
@media(max-width:850px){
  .topbar{
    grid-template-columns:1fr;
    text-align:center;
    padding:20px;
    gap:16px;
  }

  .nav-left,
  .nav-right{
    justify-content:center;
    flex-wrap:wrap;
    gap:18px;
  }

  .brand-center{
    width:280px;
    height:90px;
  }

  .topbar.scrolled .brand-center{
    width:180px;
    height:60px;
  }

  .hero,
  .about,
  .branch-layout{
    grid-template-columns:1fr;
  }

  .hero{
    text-align:center;
  }

  .hero-actions{
    justify-content:center;
  }
}

/* =========================
   LOGO SIN CUADRO
========================= */

.brand-center{
  width:520px;
  height:90px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
  background:transparent !important;
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
}

.brand-center img{
  width:40%;
  height:auto;
  object-fit:contain;
  background:transparent !important;
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  transform:scale(1.6) translateY(8px);
  transform-origin:center center;
  transition:transform .7s ease;
}

/* =========================
   SCROLL MÁS SMOOTH TIPO DACSA
========================= */
.topbar{
  transition:
    padding .7s ease,
    background .7s ease,
    box-shadow .7s ease;
}

.brand-center,
.brand-center img{
  transition:
    width .7s ease,
    height .7s ease,
    transform .7s ease;
}

.topbar.scrolled{
  padding:14px 5%;
  background:rgba(0,93,183,.82);
  backdrop-filter:blur(10px);
}

.topbar.scrolled .brand-center{
  width:520px;
  height:90px;
}

.topbar.scrolled .brand-center img{

  transform:scale(.75) translateY(8px);

}

/* =========================
   PÁGINA NOSOTROS / BANNER
========================= */

.about-hero{
  min-height:340px;
  background:
    linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)),
    url("assets/sucursales.jpeg");
  background-size:cover;
  background-position:center;
  display:flex;
  align-items:center;
  justify-content:center;
  color:white;
  text-align:center;
}

.about-overlay h1{
  font-size:4rem;
  letter-spacing:5px;
  text-transform:uppercase;
  font-weight:400;
}

/* =========================
   PÁGINA NOSOTROS / TEXTO
========================= */

.about-page-content{
  background:white;
  text-align:center;
  max-width:900px;
  margin:0 auto;
  padding:70px 7%;
}

.about-page-content h2{
  color:var(--yellow);
  font-size:2.6rem;
  text-transform:uppercase;
  margin-bottom:35px;
}

.about-page-content p{
  font-size:1.1rem;
  line-height:1.8;
  color:#333;
  text-align:left;
}

/* =========================
   PÁGINA NOSOTROS / VALORES
========================= */

.values-section{
  background:#f5f8ff;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:25px;
  padding:60px 7%;
}

.value-card{
  background:white;
  border-radius:22px;
  padding:30px;
  box-shadow:0 10px 25px #001b5b12;
  text-align:center;
}

.value-card h3{
  color:var(--red);
  font-size:1.6rem;
}

.value-card p{
  line-height:1.7;
}

/* =========================
   PÁGINA SUCURSALES
========================= */

.branches-page-title{
  background:white;
  text-align:center;
  padding:70px 7% 40px;
}

.branches-page-title h1{
  color:var(--dark);
  font-size:3rem;
  text-transform:uppercase;
  letter-spacing:3px;
  margin:0 0 12px;
}

.branches-page-title p{
  color:#333;
  font-size:1.1rem;
}

.branch-feature{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
  align-items:center;
  padding:25px 7%;
  background:#f4f4f4;
}

.branch-feature.reverse .branch-photo{
  order:2;
}

.branch-feature.reverse .branch-info{
  order:1;
}

.branch-photo img{
  width:100%;
  border-radius:4px;
  box-shadow:0 10px 25px #0002;
}

.branch-info{
  text-align:center;
}

.branch-info h2{
  color:var(--blue);
  font-size:2.5rem;
  text-transform:uppercase;
  letter-spacing:2px;
  margin-bottom:25px;
}

.branch-address{
  font-size:1.2rem;
  font-weight:700;
  color:#333;
  line-height:1.6;
}

.branch-hours{
  font-size:1.1rem;
  color:#555;
  line-height:1.8;
}

.maps-btn{
  display:inline-block;
  background:black;
  color:white;
  padding:17px 42px;
  border-radius:40px;
  font-weight:900;
  margin-top:25px;
  transition:.3s;
}

.maps-btn:hover{
  background:var(--red);
  transform:translateY(-3px);
}

@media(max-width:850px){
  .branch-feature,
  .branch-feature.reverse{
    grid-template-columns:1fr;
  }

  .branch-feature.reverse .branch-photo,
  .branch-feature.reverse .branch-info{
    order:initial;
  }

  .branches-page-title h1{
    font-size:2.2rem;
  }

  .branch-info h2{
    font-size:2rem;
  }
}

/* =========================
   BANNER SUCURSALES
========================= */

.branches-banner{
  background:#f3f4f6;
  text-align:center;
  padding:0;
}

.branches-banner img{
  width:100%;
  max-width:650px;
  height:auto;
  display:block;
  margin:auto;
}

/* =========================
   CATÁLOGO
========================= */

.catalog-section{
  padding:20px 7% 50px;
  background:#f5f5f5;
}

.catalog-section:nth-child(even){
  background:white;
}

.catalog-section h2{
  color:var(--blue);
  font-size:2.4rem;
  margin-bottom:30px;
  text-transform:uppercase;
}

.catalog-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(260px, 320px));
  gap:25px;
  justify-content:flex-start;
}

.catalog-item{
  background:white;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 25px rgba(0,0,0,.08);
  transition:.3s;
  padding-bottom:15px;
}

.catalog-item:hover{
  transform:translateY(-8px);
}

.catalog-item img{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
}

.catalog-item h3{
  text-align:center;
  padding:20px 15px 10px;
  margin:0;
  color:var(--dark);
  font-size:1.15rem;
}

.catalog-item p{
  margin:0;
  padding:0 15px 10px;
  text-align:center;
  color:#666;
  font-size:.95rem;
  line-height:1.5;
}

.catalog-item strong{
  display:block;
  text-align:center;
  color:var(--red);
  font-size:1.4rem;
  font-weight:900;
  padding-top:10px;
}

/* =========================
   BOTONES CATEGORÍAS CATÁLOGO
========================= */

#catalogCategoryButtons{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:20px;
  margin-bottom:40px;
}

.category-card{
  background:white;
  border-radius:18px;
  padding:25px 15px;
  text-align:center;
  box-shadow:0 10px 25px rgba(0,0,0,.08);
  transition:.3s;
  color:var(--dark);
  font-weight:800;
}

.category-card:hover{
  transform:translateY(-5px);
  background:var(--yellow);
}

.category-card div:first-child{
  font-size:2rem;
  margin-bottom:10px;
}

/* =========================
   BOTONES CATEGORÍAS INICIO
========================= */

.category-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:20px;
}

.category-card{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:110px;

  background:white;
  border-radius:20px;

  box-shadow:0 10px 25px rgba(0,0,0,.08);

  font-size:1.2rem;
  font-weight:700;

  transition:.3s;
}

.category-card:hover{
  transform:translateY(-6px);
  background:var(--yellow);
}

.category-card a{
  width:100%;
  height:100%;

  display:flex;
  align-items:center;
  justify-content:center;

  color:var(--dark);
}

/* =========================
   BANNER CATÁLOGO
========================= */

.catalog-banner{
  background:#f3f4f6;
  text-align:center;
  padding:0;
}

.catalog-banner img{
  width:100%;
  max-width:850px;
  height:auto;
  display:block;
  margin:auto;
}

/* =========================
   PROMOCIÓN DESTACADA INICIO
========================= */

.home-promotion{
  padding:45px 7%;
  background:white;
}

.home-promotion:empty{
  display:none;
}

.home-promo-card{
  max-width:1000px;
  margin:auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
  align-items:center;
  background:#f4f7ff;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.home-promo-card img{
  width:100%;
  height:330px;
  object-fit:cover;
}

.home-promo-info{
  padding:30px;
}

.home-promo-info span{
  color:var(--red);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:2px;
}

.home-promo-info h2{
  color:var(--dark);
  font-size:2.2rem;
  margin:12px 0;
}

.home-promo-info p{
  color:#555;
  line-height:1.6;
}

.home-promo-info strong{
  display:block;
  color:var(--red);
  font-size:2rem;
  margin-top:15px;
}

@media(max-width:800px){
  .home-promo-card{
    grid-template-columns:1fr;
  }
}


/* =========================
   BUSCADOR CATÁLOGO
========================= */

.catalog-search-section{
  background:#f5f5f5;
  padding:35px 7% 10px;
  text-align:center;
}

#catalogSearchInput{
  width:100%;
  max-width:600px;
  padding:16px 20px;
  border:1px solid #ddd;
  border-radius:16px;
  font-size:1.1rem;
  font-family:Arial, Helvetica, sans-serif;
  box-shadow:0 8px 20px rgba(0,0,0,.06);
}



.product-stores-badge{
  margin-top:12px;
  padding:10px 12px;
  background:#eef5ff;
  border-left:4px solid #0b2a6f;
  border-radius:10px;
}

.product-stores-badge span{
  display:block;
  font-size:13px;
  color:#0b2a6f;
  font-weight:600;
  margin-bottom:4px;
}

.product-stores-badge strong{
  font-size:14px;
  color:#333;
}


.product-carousel{
  position:relative;
  width:100%;
  background:white;
}

.carousel-images{
  display:flex;
  gap:10px;
  overflow-x:auto;
  scroll-behavior:smooth;
  scrollbar-width:none;
}

.carousel-images::-webkit-scrollbar{
  display:none;
}

.carousel-image{
  width:100%;
  min-width:100%;
  height:250px;
  object-fit:contain !important;
  border-radius:12px;
  background:#fff;
}

.carousel-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:38px;
  height:38px;
  border:none;
  border-radius:50%;
  background:rgba(0,0,0,.5);
  color:white;
  cursor:pointer;
  z-index:10;
}

.carousel-btn.prev{
  left:10px;
}

.carousel-btn.next{
  right:10px;
}

.hidden-carousel-btn{
  opacity:0;
  pointer-events:none;
}


.carousel-dots{
  display:flex;
  justify-content:center;
  gap:6px;
  margin-top:10px;
}

.carousel-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#cfcfcf;
  transition:.3s;
}

.carousel-dot.active{
  background:#005db7;
  transform:scale(1.2);
}

.image-zoom-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.9);
  z-index:9999;

  overflow:auto;

  display:flex;
  align-items:center;
  justify-content:center;

  padding:30px;
}

.image-zoom-overlay img{
  width:75vw;
  height:75vh;
  object-fit:contain;
  background:white;
  border-radius:18px;
  padding:10px;
  transition:transform .25s ease;
  cursor:zoom-in;
}

.image-zoom-close{
  position:absolute;
  top:25px;
  right:25px;
  width:42px;
  height:42px;
  border:none;
  border-radius:50%;
  background:white;
  color:#001b5b;
  font-size:30px;
  cursor:pointer;
  z-index:10001;
}

.carousel-counter{
  position:absolute;
  top:10px;
  right:10px;
  background:rgba(0,0,0,.55);
  color:white;
  font-size:12px;
  font-weight:800;
  padding:5px 9px;
  border-radius:999px;
  z-index:20;
}

.image-zoom-overlay img{
  transition:transform .25s ease;
  cursor:zoom-in;
}

.catalog-subcategory-title{
  margin:35px 0 18px;
  padding:12px 18px;
  background:#eef5ff;
  border-left:5px solid #005db7;
  border-radius:12px;
}

.catalog-subcategory-title h3{
  margin:0;
  color:#001b5b;
  font-size:1.4rem;
  text-transform:uppercase;
  letter-spacing:1px;
}


.about-info-section{
  background:white;
  padding:55px 7%;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
}

.about-info-card{
  background:#f5f8ff;
  border-radius:22px;
  padding:30px;
  box-shadow:0 10px 25px rgba(0,27,91,.08);
  border-top:6px solid var(--blue);
}

.about-info-card h3{
  color:var(--red);
  font-size:1.5rem;
  margin-top:0;
}

.about-info-card p{
  color:#333;
  line-height:1.7;
  font-size:1rem;
}

@media(max-width:850px){
  .about-info-section{
    grid-template-columns:1fr;
  }
}




.about-story-section{
  background:#f5f8ff;
  padding:80px 7%;
}

.about-story-card{
  max-width:1180px;
  margin:auto;
  background:white;
  border-radius:30px;
  overflow:hidden;
  display:grid;
  grid-template-columns:1fr 1fr;
  box-shadow:0 20px 45px rgba(0,27,91,.12);
}

.about-story-text{
  padding:55px;
}

.about-story-text span{
  color:var(--red);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:.9rem;
}

.about-story-text h2{
  color:var(--dark);
  font-size:2.8rem;
  margin:14px 0 24px;
  line-height:1.1;
}

.about-story-text p{
  color:#333;
  line-height:1.85;
  font-size:1.05rem;
}

.about-story-image{
  min-height:100%;
}

.about-story-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.about-info-section{
  background:white;
  padding:70px 7% 90px;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:28px;
}

.about-info-card{
  background:#f5f8ff;
  border-radius:24px;
  padding:34px;
  box-shadow:0 12px 30px rgba(0,27,91,.08);
  border:1px solid #e3e9f7;
}

.about-info-card h3{
  color:var(--dark);
  font-size:1.55rem;
  margin:0 0 15px;
}

.about-info-card h3::after{
  content:"";
  display:block;
  width:45px;
  height:4px;
  background:var(--red);
  border-radius:999px;
  margin-top:10px;
}

.about-info-card p{
  color:#333;
  line-height:1.75;
  font-size:1rem;
}

@media(max-width:850px){
  .about-story-card,
  .about-info-section{
    grid-template-columns:1fr;
  }

  .about-story-text{
    padding:35px;
  }

  .about-story-text h2{
    font-size:2.2rem;
  }

  .about-story-image img{
    height:300px;
  }
}



.mayoreo-hero{
  position:relative;
  height:420px;
  overflow:hidden;
}

.mayoreo-hero img{
  width:min(750px,80%);
  height:auto;
  display:block;
  margin:auto;
}



.mayoreo-content{
  background:#f5f8ff;
  padding:80px 7%;
}

.mayoreo-card{
  max-width:950px;
  margin:auto;
  background:white;
  border-radius:28px;
  padding:55px;
  box-shadow:0 18px 40px rgba(0,27,91,.12);
  text-align:center;
}

.mayoreo-card span{
  color:var(--red);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:2px;
}

.mayoreo-card h2{
  color:var(--dark);
  font-size:2.6rem;
  margin:15px 0 25px;
}

.mayoreo-card p{
  color:#333;
  line-height:1.8;
  font-size:1.05rem;
}

.mayoreo-btn{
  display:inline-block;
  margin-top:25px;
  background:var(--blue);
  color:white;
  padding:16px 28px;
  border-radius:999px;
  font-weight:900;
  transition:.3s;
}

.mayoreo-btn:hover{
  background:var(--red);
  transform:translateY(-3px);
}

@media(max-width:850px){
  .mayoreo-hero{
  width:100%;
  background:#f5f8ff;
  display:flex;
  justify-content:center;
  padding:30px 0;
}

.mayoreo-hero img{
  width:min(1400px,95%);
  height:auto;
  display:block;
}
}


.coming-soon-section{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  text-align:center;
  padding:20px 7% 50px;
  background:#f5f8ff;
}

.coming-soon-section h1{
  color:var(--dark);
  font-size:3rem;
}

.coming-soon-section p{
  color:#333;
  font-size:1.2rem;
  margin-bottom:25px;
}


.promotions-banner{
  width:100%;
  background:#f5f8ff;
  display:flex;
  justify-content:center;
  padding:35px 0 20px;
}

.promotions-banner img{
  width:min(750px,92%);
  height:auto;
  display:block;
}

.promotions-page-content{
  background:#f5f8ff;
  padding:40px 7% 80px;
}

.promotions-image-grid{
  max-width:1100px;
  margin:auto;
  display:grid;
  grid-template-columns:1fr;
  gap:32px;
}

.promotion-image-card{
  background:white;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 15px 35px rgba(0,27,91,.12);
}

.promotion-image-card img{
  width:100%;
  height:auto;
  display:block;
}

.promotion-empty{
  text-align:center;
  background:white;
  border-radius:22px;
  padding:45px;
  color:#001b5b;
  font-weight:800;
}


.home-promo-image-card{
  max-width:1100px;
  margin:0 auto 28px;
  background:white;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 15px 35px rgba(0,27,91,.12);
}

.home-promo-image-card img{
  width:100%;
  height:auto;
  display:block;
}


.catalog-item{
  position:relative;
}

.product-labels{
  position:absolute;
  top:12px;
  left:12px;
  z-index:25;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.product-label{
  padding:7px 12px;
  border-radius:999px;
  font-size:.75rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.8px;
  color:white;
  box-shadow:0 6px 15px rgba(0,0,0,.18);
}

.product-label.new{
  background:#005db7;
}

.product-label.offer{
  background:#ed111a;
}

.catalog-layout-section{
  background:#f5f5f5;
  display:grid;
  grid-template-columns:280px 1fr;
  gap:30px;
  padding:35px 7% 70px;
  align-items:start;
}

.catalog-sidebar{
  position:sticky;
  top:120px;
  background:white;
  border-radius:22px;
  padding:24px;
  box-shadow:0 12px 28px rgba(0,27,91,.10);
}

.catalog-sidebar h3{
  margin:0 0 18px;
  color:#001b5b;
  font-size:1.4rem;
}

.catalog-filter-group{
  border-top:1px solid #e8edf7;
  padding-top:12px;
  margin-top:12px;
}

.catalog-filter-option{
  display:flex;
  gap:10px;
  align-items:center;
  cursor:pointer;
  color:#001b5b;
  font-weight:800;
  margin:10px 0;
}

.catalog-filter-option input{
  accent-color:#005db7;
}

.catalog-filter-option.sub{
  font-weight:600;
  color:#333;
  padding-left:22px;
  font-size:.95rem;
}

.catalog-content .catalog-section{
  padding:0 0 50px;
}

@media(max-width:900px){
  .catalog-layout-section{
    grid-template-columns:1fr;
  }

  .catalog-sidebar{
    position:relative;
    top:0;
  }
}


.share-product-btn{
  margin-top:14px;
  background:#14aa4b;
  color:white;
  border:none;
  border-radius:999px;
  padding:10px 16px;
  font-weight:900;
  cursor:pointer;
  width:100%;
  transition:.25s;
}

.share-product-btn:hover{
  background:#0e8d3d;
  transform:translateY(-2px);
}


.share-icon-btn{
  position:absolute;
  top:12px;
  right:12px;

  width:42px;
  height:42px;

  border:none;
  border-radius:50%;

  background:white;
  color:#005db7;

  font-size:1rem;
  cursor:pointer;

  box-shadow:0 4px 12px rgba(0,0,0,.12);

  display:flex;
  align-items:center;
  justify-content:center;

  transition:.25s;
}

.share-icon-btn:hover{
  transform:scale(1.08);
  background:#005db7;
  color:white;
}

.admin-footer-link{
  font-size:11px;
  opacity:.35;
  color:white;
  text-decoration:none;
}


.mobile-menu-btn{
  display:none;
}

.mobile-menu{
  display:none;
}

@media(max-width:768px){

  .nav-left,
  .nav-right{
    display:none;
  }

  .topbar{
    height:95px;
    padding:0 18px;
    justify-content:center;
    position:relative;
    z-index:9999;
  }

  .brand-center img{
    width:165px;
    pointer-events:none;
  }

  .mobile-menu-btn{
    display:flex;
    position:absolute;
    left:18px;
    top:28px;
    background:transparent !important;
    border:none !important;
    color:white;
    font-size:2.1rem;
    padding:0;
    width:auto;
    height:auto;
    z-index:10001;
  }

  .mobile-menu{
    position:fixed;
    top:95px;
    left:0;
    width:100%;
    background:#005db7;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:18px;
    padding:24px 0;
    transform:translateY(-140%);
    transition:.25s ease;
    z-index:10000;
  }

  .mobile-menu.active{
    transform:translateY(0);
  }

  .mobile-menu a{
    color:white;
    text-decoration:none;
    font-weight:900;
    letter-spacing:4px;
    text-transform:uppercase;
    font-size:.95rem;
  }
}


@media(max-width:768px){

  .topbar{
    position:sticky;
    top:0;
    transition:all .35s ease;
  }

  .topbar.scrolled{
    height:72px;
    background:rgba(0,93,183,.95);
    backdrop-filter:blur(10px);
    overflow:hidden;
  }

  .topbar.scrolled .brand-center img{
    width:125px;
    transform:translateY(-8px);
  }

  .topbar.scrolled .mobile-menu-btn{
    top:18px;
    font-size:1.8rem;
  }

  .topbar.scrolled + .mobile-menu{
    top:72px;
  }
}


.social-icons-contact{
  display:flex;
  justify-content:center;
  gap:40px;
  margin-top:40px;
}

.social-icons-contact a{
  font-size:4rem;
  color:#001b5b;
  transition:.3s;
}

.social-icons-contact a:hover{
  color:#ed111a;
  transform:translateY(-5px);
}

.contact-cards-section{
  background:#f5f8ff;
  padding:70px 7%;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:25px;
}

.contact-card{
  background:white;
  padding:35px;
  border-radius:24px;
  text-align:center;
  box-shadow:0 12px 28px rgba(0,27,91,.10);
}

.contact-card h3{
  color:#001b5b;
  margin-bottom:18px;
}

.contact-card a{
  color:#005db7;
  font-weight:800;
  text-decoration:none;
  word-break:break-word;
}

.contact-card a:hover{
  color:#ed111a;
}



/* AJUSTE MENÚ COMPUTADORA */
/* AJUSTE MENÚ COMPUTADORA */
@media(min-width:769px){

  .topbar{

  display:grid;

  grid-template-columns:minmax(0, 1fr) auto minmax(0, 1fr);

  align-items:center;

  gap:28px;

  padding:14px 45px;

  min-height:135px;

}

  .nav-left,
  .nav-right{
    display:flex;
    align-items:center;
    gap:clamp(18px, 1.6vw, 34px);
    min-width:0;
  }

  .nav-left{
    justify-content:center;
  }

  .nav-right{
    justify-content:center;
  }

  .nav-left a,
  .nav-right a{
    font-size:clamp(.68rem, .75vw, .85rem);
    letter-spacing:clamp(2px, .25vw, 4px);
    white-space:nowrap;
  }

  .brand-center img{
    width:clamp(145px, 14vw, 230px);
    height:auto;
  }
}


.desktop-more{
  position:relative;
}

.desktop-more-btn{
  background:transparent;
  border:none;
  color:white;
  font-size:1.7rem;
  cursor:pointer;
  padding:5px 10px;
}

.desktop-more-menu{
  position:absolute;
  top:45px;
  right:0;
  background:white;
  border-radius:16px;
  box-shadow:0 12px 30px rgba(0,0,0,.18);
  padding:14px;
  display:none;
  flex-direction:column;
  gap:10px;
  min-width:190px;
  z-index:99999;
}

.desktop-more:hover .desktop-more-menu{
  display:flex;
}

.desktop-more-menu a{
  color:#001b5b;
  font-weight:900;
  letter-spacing:2px;
  font-size:.85rem;
  padding:10px 12px;
  border-radius:10px;
}

.desktop-more-menu a:hover{
  background:#f5f8ff;
  color:#ed111a;
}

@media(max-width:768px){
  .desktop-more{
    display:none;
  }
}


.contact-social-section{
  text-align:center;
  padding:20px 7% 40px;
  background:#f5f8ff;
}

.contact-social-section h1{
  color:#001b5b;
  font-size:3rem;
  margin-top:0;
  margin-bottom:40px;
}


.services-title{
  text-align:center;
  background:#f5f8ff;
  padding:10px 7% 40px;
}

.services-title h1{
  color:#001b5b;
  font-size:3rem;
  margin-bottom:15px;
}

.services-title p{
  color:#555;
  font-size:1.15rem;
}

.services-grid{
  background:#f5f8ff;
  padding:20px 7% 80px;

  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:30px;

  max-width:1200px;
  margin:auto;
}

.service-logo-card{
  background:white;
  border-radius:24px;
  padding:35px;
  box-shadow:0 12px 28px rgba(0,27,91,.10);

  display:flex;
  align-items:center;
  justify-content:center;

  min-height:180px;
}

.service-logo-card img{
  max-width:220px;
  max-height:90px;
  width:auto;
  height:auto;
}


.mascot-no-bg{
  background:transparent !important;
  border-radius:0 !important;
  filter:drop-shadow(0 22px 24px rgba(0,0,0,.28));
}

.hero-img{
  display:flex;
  justify-content:center;
  align-items:center;
}

.badge{
  display:inline-block;
  background:var(--yellow);
  color:var(--dark);
  font-weight:900;
  padding:10px 22px;
  border-radius:999px;
  letter-spacing:2px;
  text-transform:uppercase;
  font-size:.85rem;
}

.mascot-no-bg{
  background:transparent !important;
  border-radius:0 !important;
  filter:drop-shadow(0 20px 25px rgba(0,0,0,.25));
}


.hero-slogan{
  width:100%;
  max-width:350px;
  height:auto;
  display:block;
  margin-bottom:15px;
}


.hero-slogan-wrapper{
  width:100%;
  text-align:center;
  margin-bottom:25px;
}

.hero-slogan{
  max-width:340px;
  width:100%;
  height:auto;
}