  :root {
    /*'--navy: #1a2e6e;' */
    --navy: #ff6808;
    --orange: #f5a623;
    --orange-dark: #e09000;
    --white: #ffffff;
    --light-gray: #f4f5f7;
    --mid-gray: #e2e4e9;
    --text-dark: #1c1c2e;
    --text-mid: #4a4a6a;
    --text-light: #888;
    --red: #e53935;
    --green: #2e7d32;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body { font-family: 'Barlow', sans-serif; background: var(--light-gray); color: var(--text-dark); }
  a { text-decoration: none; color: inherit; }
  img { max-width: 100%; }

  /* ===== TOP BAR ===== */
  .topbar {
    background: var(--navy);
    color: white;
    font-size: 12px;
    padding: 6px 0;
  }
  .topbar-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 16px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
  }
  .topbar-links { display: flex; gap: 20px; align-items: center; }
  .topbar-links a { color: rgba(255,255,255,0.85); font-size: 12px; display: flex; align-items: center; gap: 5px; transition: color .2s; }
  .topbar-links a:hover { color: var(--orange); }
  .topbar-links svg { width: 14px; height: 14px; fill: var(--orange); flex-shrink: 0; }
  .topbar-right { display: flex; gap: 16px; align-items: center; font-size: 12px; color: rgba(255,255,255,.7); }
  .topbar-right a { color: rgba(255,255,255,.8); }
  .topbar-right a:hover { color: var(--orange); }

  /* ===== HEADER ===== */
  .header {
    background: white;
    box-shadow: 0 2px 12px rgba(0,0,0,.10);
    position: sticky; top: 0; z-index: 100;
  }
  .header-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 16px;
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
    height: 72px;
  }
  .logo-wrap img { height: 58px; width: auto; display: block; }
  .search-wrap { position: relative; }
  .search-wrap input {
    width: 100%; padding: 10px 44px 10px 16px;
    border: 2px solid var(--mid-gray); border-radius: 8px;
    font-size: 14px; font-family: 'Barlow', sans-serif;
    transition: border-color .2s;
    outline: none;
  }
  .search-wrap input:focus { border-color: var(--navy); }
  .search-wrap button {
    position: absolute; right: 0; top: 0; height: 100%; width: 44px;
    background: var(--orange); border: none; border-radius: 0 8px 8px 0; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
  }
  .search-wrap button:hover { background: var(--orange-dark); }
  .search-wrap button svg { width: 18px; height: 18px; fill: white; }
  .header-actions { display: flex; gap: 4px; align-items: center; }
  .hbtn {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 8px 10px; border-radius: 8px; cursor: pointer;
    transition: background .2s; position: relative; border: none; background: transparent;
  }
  .hbtn:hover { background: var(--light-gray); }
  .hbtn svg { width: 22px; height: 22px; fill: var(--navy); }
  .hbtn span { font-size: 10px; color: var(--text-mid); font-weight: 600; white-space: nowrap; }
  .hbtn .badge {
    position: absolute; top: 4px; right: 4px;
    background: var(--orange); color: white; font-size: 9px; font-weight: 700;
    width: 16px; height: 16px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
  }

  /* ===== NAV BAR ===== */
  .navbar {
    background: var(--navy);
  }
  .navbar-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 16px;
    display: flex; align-items: stretch;
  }
  .nav-item {
    position: relative;
    display: flex; align-items: center; gap: 5px;
    padding: 0 14px; height: 46px;
    font-size: 12.5px; font-weight: 700; color: white; cursor: pointer;
    white-space: nowrap; letter-spacing: .3px; text-transform: uppercase;
    transition: background .2s;
  }
  .nav-item:hover { background: rgba(255,255,255,.1); }
  .nav-item.active { background: var(--orange); color: white; }
  .nav-item svg { width: 14px; height: 14px; fill: rgba(255,255,255,.6); flex-shrink: 0; }
  .nav-item:hover .dropdown { display: block; }
  .dropdown {
    display: none; position: absolute; top: 100%; left: 0;
    background: white; min-width: 220px; box-shadow: 0 8px 32px rgba(0,0,0,.15);
    border-radius: 0 0 8px 8px; z-index: 200; padding: 8px 0;
  }
  .dropdown a {
    display: block; padding: 8px 18px; font-size: 13px; color: var(--text-dark);
    font-weight: 500; transition: background .15s;
  }
  .dropdown a:hover { background: var(--light-gray); color: var(--navy); }
  .dropdown .sub-header {
    padding: 10px 18px 4px; font-size: 11px; font-weight: 800;
    color: var(--orange); text-transform: uppercase; letter-spacing: .5px; cursor: default;
  }

  /* ===== HERO BANNER ===== */
  .hero-section { max-width: 1280px; margin: 0 auto; padding: 16px 16px 0; }
  .hero-grid { display: grid; grid-template-columns: 1fr 280px; gap: 12px; }
  .hero-main {
    background: linear-gradient(135deg, var(--navy) 0%, #0d1b4a 60%, #1a3a8a 100%);
    border-radius: 12px; overflow: hidden; min-height: 320px;
    display: flex; align-items: center; padding: 40px 48px;
    position: relative;
  }
  .hero-main::before {
    content: ''; position: absolute; right: -40px; top: -40px;
    width: 350px; height: 350px; border-radius: 50%;
    background: radial-gradient(circle, rgba(245,166,35,.15) 0%, transparent 70%);
  }
  .hero-content { position: relative; z-index: 1; }
  .hero-tag {
    display: inline-block; background: var(--orange); color: white;
    font-size: 11px; font-weight: 800; letter-spacing: 1px;
    padding: 4px 12px; border-radius: 4px; margin-bottom: 12px; text-transform: uppercase;
  }
  .hero-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 42px; font-weight: 800; color: white; line-height: 1.1;
    margin-bottom: 10px; text-transform: uppercase;
  }
  .hero-title span { color: var(--orange); }
  .hero-subtitle { color: rgba(255,255,255,.7); font-size: 15px; margin-bottom: 20px; }
  .hero-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 22px; }
  .hero-price .desde { color: rgba(255,255,255,.6); font-size: 13px; }
  .hero-price .price { font-size: 38px; font-weight: 900; color: var(--orange); font-family: 'Barlow Condensed', sans-serif; }
  .hero-price .old { color: rgba(255,255,255,.4); text-decoration: line-through; font-size: 16px; }
  .btn-hero {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--orange); color: white; font-weight: 800; font-size: 14px;
    padding: 12px 28px; border-radius: 8px; transition: all .2s; text-transform: uppercase; letter-spacing: .5px;
  }
  .btn-hero:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(245,166,35,.4); }
  .hero-dots { display: flex; gap: 6px; margin-top: 20px; }
  .hero-dots span {
    width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); cursor: pointer;
  }
  .hero-dots span.active { background: var(--orange); width: 20px; border-radius: 4px; }
  .hero-sidebar { display: flex; flex-direction: column; gap: 12px; }
  .hero-side-card {
    flex: 1; border-radius: 10px; overflow: hidden; padding: 20px;
    display: flex; flex-direction: column; justify-content: flex-end; position: relative;
    cursor: pointer; transition: transform .2s;
  }
  .hero-side-card:hover { transform: translateY(-2px); }
  .hero-side-card.blue { background: linear-gradient(135deg, #1565c0, #0d47a1); }
  .hero-side-card.dark { background: linear-gradient(135deg, #1b1b2f, #2d2d44); }
  .hero-side-card .card-label {
    font-size: 11px; font-weight: 800; color: var(--orange); text-transform: uppercase; letter-spacing: .5px;
  }
  .hero-side-card .card-title {
    font-size: 17px; font-weight: 800; color: white; line-height: 1.2; margin: 4px 0 6px;
    font-family: 'Barlow Condensed', sans-serif;
  }
  .hero-side-card .card-price { font-size: 22px; font-weight: 900; color: var(--orange); font-family: 'Barlow Condensed', sans-serif; }
  .hero-icon {
    position: absolute; top: 16px; right: 16px; opacity: .15;
    font-size: 64px; line-height: 1;
  }

  /* ===== QUICK CATS ===== */
  .quick-cats { max-width: 1280px; margin: 16px auto 0; padding: 0 16px; }
  .quick-cats-grid {
    display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px;
  }
  .quick-cat {
    background: white; border-radius: 10px; padding: 14px 8px;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    cursor: pointer; transition: all .2s; border: 2px solid transparent;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
  }
  .quick-cat:hover { border-color: var(--orange); transform: translateY(-2px); }
  .quick-cat .icon { font-size: 28px; }
  .quick-cat span { font-size: 11px; font-weight: 700; color: var(--text-mid); text-align: center; line-height: 1.2; }

  /* ===== PROMO BANNERS ===== */
  .promo-section { max-width: 1280px; margin: 16px auto 0; padding: 0 16px; }
  .promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .promo-card {
    border-radius: 10px; overflow: hidden; padding: 20px 22px;
    display: flex; align-items: center; justify-content: space-between;
    cursor: pointer; transition: transform .2s;
  }
  .promo-card:hover { transform: translateY(-2px); }
  .promo-card.p1 { background: linear-gradient(135deg, #ff6b35, #f7931e); }
  .promo-card.p2 { background: linear-gradient(135deg, #1a2e6e, #2e4aaa); }
  .promo-card.p3 { background: linear-gradient(135deg, #1b1b2f, #3a3a5c); }
  .promo-text .label { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .5px; }
  .promo-text .title { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 800; color: white; line-height: 1.1; }
  .promo-text .subtitle { font-size: 12px; color: rgba(255,255,255,.8); margin-top: 3px; }
  .promo-icon { font-size: 48px; opacity: .9; }

  /* ===== SECTION HEADERS ===== */
  .section { max-width: 1280px; margin: 24px auto 0; padding: 0 16px; }
  .section-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 14px; padding-bottom: 10px; border-bottom: 3px solid var(--navy);
  }
  .section-header h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px; font-weight: 800; color: var(--navy); text-transform: uppercase; letter-spacing: .5px;
    display: flex; align-items: center; gap: 8px;
  }
  .section-header h2::before {
    content: ''; display: block; width: 4px; height: 22px; background: var(--orange); border-radius: 2px;
  }
  .see-all {
    font-size: 12px; font-weight: 700; color: var(--navy); border: 2px solid var(--navy);
    padding: 5px 14px; border-radius: 6px; transition: all .2s;
  }
  .see-all:hover { background: var(--navy); color: white; }

  /* ===== PRODUCT GRID ===== */
  .product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .product-card {
    background: white; border-radius: 10px; overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.06); transition: all .2s;
    border: 2px solid transparent; cursor: pointer; display: flex; flex-direction: column;
  }
  .product-card:hover { border-color: var(--orange); box-shadow: 0 4px 20px rgba(0,0,0,.12); transform: translateY(-2px); }
  .product-img-wrap {
    position: relative; padding: 16px; background: #fafafa;
    display: flex; align-items: center; justify-content: center; min-height: 160px;
  }
  .product-img-wrap img { max-height: 140px; width: auto; object-fit: contain; }
  .badge-wrap { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; }
  .badge {
    font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 4px; text-transform: uppercase;
  }
  .badge.off { background: var(--red); color: white; }
  .badge.new { background: var(--navy); color: white; }
  .badge.hot { background: var(--orange); color: white; }
  .wishlist-btn {
    position: absolute; top: 8px; right: 8px; width: 28px; height: 28px;
    background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 1px 4px rgba(0,0,0,.12); transition: all .2s;
  }
  .wishlist-btn:hover { background: #ffe4e4; }
  .wishlist-btn svg { width: 14px; height: 14px; fill: #ccc; }
  .product-info { padding: 12px; flex: 1; display: flex; flex-direction: column; }
  .product-brand { font-size: 10px; font-weight: 800; color: var(--orange); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
  .product-name { font-size: 12.5px; font-weight: 600; color: var(--text-dark); line-height: 1.4; margin-bottom: 8px; flex: 1; }
  .product-price-wrap { margin-top: auto; }
  .product-old-price { font-size: 11px; color: var(--text-light); text-decoration: line-through; }
  .product-price { font-size: 20px; font-weight: 900; color: var(--navy); font-family: 'Barlow Condensed', sans-serif; }
  .product-cuotas { font-size: 10px; color: var(--green); font-weight: 600; margin-top: 2px; }
  .btn-add {
    width: 100%; background: var(--navy); color: white; border: none; cursor: pointer;
    padding: 9px; font-size: 12px; font-weight: 700; font-family: 'Barlow', sans-serif;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    transition: background .2s;
  }
  .btn-add:hover { background: var(--orange); }
  .btn-add svg { width: 14px; height: 14px; fill: white; }

  /* ===== BRANDS STRIP ===== */
  .brands-strip { max-width: 1280px; margin: 20px auto 0; padding: 0 16px; }
  .brands-grid {
    background: white; border-radius: 10px; padding: 16px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
  }
  .brand-logo {
    flex: 1; display: flex; align-items: center; justify-content: center;
    padding: 8px; filter: grayscale(100%) opacity(.5); transition: all .3s; cursor: pointer;
  }
  .brand-logo:hover { filter: none; }
  .brand-logo span { font-size: 14px; font-weight: 900; color: #888; letter-spacing: -0.5px; }

  /* ===== INFO BOXES ===== */
  .info-boxes { max-width: 1280px; margin: 20px auto 0; padding: 0 16px; }
  .info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .info-box {
    background: white; border-radius: 10px; padding: 18px 20px;
    display: flex; align-items: center; gap: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
  }
  .info-box-icon {
    width: 46px; height: 46px; background: var(--navy); border-radius: 10px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .info-box-icon svg { width: 24px; height: 24px; fill: var(--orange); }
  .info-box-text h4 { font-size: 13px; font-weight: 800; color: var(--text-dark); }
  .info-box-text p { font-size: 11px; color: var(--text-light); margin-top: 2px; }

  /* ===== FOOTER ===== */
  .footer { background: var(--navy); margin-top: 32px; }
  .footer-main {
    max-width: 1280px; margin: 0 auto; padding: 36px 16px 24px;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
  }
  .footer-brand img { height: 52px; margin-bottom: 14px; filter: brightness(10); }
  .footer-brand p { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.6; }
  .footer-social { display: flex; gap: 10px; margin-top: 16px; }
  .social-btn {
    width: 36px; height: 36px; background: rgba(255,255,255,.1); border-radius: 8px;
    display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s;
  }
  .social-btn:hover { background: var(--orange); }
  .social-btn svg { width: 16px; height: 16px; fill: white; }
  .footer-col h4 { font-size: 13px; font-weight: 800; color: white; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .5px; }
  .footer-col a { display: block; font-size: 12.5px; color: rgba(255,255,255,.55); margin-bottom: 8px; transition: color .2s; }
  .footer-col a:hover { color: var(--orange); }
  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    max-width: 1280px; margin: 0 auto; padding: 14px 16px;
    display: flex; justify-content: space-between; align-items: center;
  }
  .footer-bottom p { font-size: 12px; color: rgba(255,255,255,.4); }
  .payment-icons { display: flex; gap: 8px; align-items: center; }
  .pay-icon {
    background: rgba(255,255,255,.12); padding: 4px 10px; border-radius: 5px;
    font-size: 11px; font-weight: 700; color: rgba(255,255,255,.7);
  }

  /* ===== WHATSAPP FLOAT ===== */
  .wa-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 999;
    width: 56px; height: 56px; background: #25d366; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,.5); cursor: pointer; transition: transform .2s;
    animation: pulse-wa 2s infinite;
  }
  .wa-float:hover { transform: scale(1.1); }
  .wa-float svg { width: 30px; height: 30px; fill: white; }
  @keyframes pulse-wa {
    0%,100% { box-shadow: 0 4px 16px rgba(37,211,102,.5); }
    50% { box-shadow: 0 4px 24px rgba(37,211,102,.8); }
  }

  /* ===== SCROLL REVEAL ===== */
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .4s; }
  .reveal.visible { opacity: 1; transform: translateY(0); }

/*         carusel          */
  .carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 12px 18px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 50%;
  transition: all 0.3s;
  z-index: 10;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.8);
  transform: translateY(-50%) scale(1.1);
}

.prev {
  left: 15px;
}

.next {
  right: 15px;
}


/* ===== RESPONSIVE ===== */

/* Tablets (768px a 1023px) */
@media (max-width: 1023px) {
  /* Topbar responsive */
  .topbar-links { display: none; }
  .topbar-right { margin-left: auto; }
  
  /* Header responsive */
  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    height: 60px;
  }
  
  .logo-wrap img { height: 45px; }
  
  .search-wrap {
    max-width: 300px;
    margin: 0 auto;
  }
  
  .hbtn span { display: none; }
  .hbtn { padding: 4px; gap: 0; }
  .hbtn svg { width: 24px; height: 24px; }
  
  /* Navegación - convertir en menú hamburguesa */
  .navbar-inner {
    overflow-x: auto;
    scrollbar-width: thin;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  
  .nav-item { 
    padding: 0 12px; 
    font-size: 11px;
    flex-shrink: 0;
  }
  
  /* Hero responsive */
  .hero-grid { grid-template-columns: 1fr; gap: 16px; }
  
  .hero-main { 
    padding: 30px 24px; 
    min-height: 280px;
  }
  
  .hero-title { font-size: 32px; }
  .hero-price .price { font-size: 28px; }
  
  .hero-sidebar { flex-direction: row; }
  .hero-side-card { min-height: 150px; }
  
  /* Grids principales */
  .quick-cats-grid { 
    grid-template-columns: repeat(4, 1fr); 
    gap: 12px;
  }
  
  .promo-grid { grid-template-columns: repeat(2, 1fr); }
  
  .product-grid { 
    grid-template-columns: repeat(3, 1fr); 
    gap: 15px;
  }
  
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  
  .footer-main { 
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  
  .brands-grid {
    flex-wrap: wrap;
    gap: 15px;
    padding: 16px;
  }
  
  .brand-logo { flex: 0 0 calc(20% - 15px); }
}

/* Móviles grandes (481px a 767px) */
@media (max-width: 767px) {
  /* Topbar más compacto */
  .topbar { font-size: 10px; }
  .topbar-right { gap: 10px; }
  
  /* Header */
  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
  }
  
  .search-wrap { 
    max-width: 200px;
    margin: 0;
  }
  
  .search-wrap input { 
    padding: 8px 36px 8px 12px;
    font-size: 12px;
  }
  
  .logo-wrap img { height: 38px; }
  
  /* Hero */
  .hero-main { padding: 20px; min-height: 240px; }
  .hero-title { font-size: 26px; }
  .hero-price .price { font-size: 24px; }
  .hero-subtitle { font-size: 13px; }
  .btn-hero { padding: 8px 20px; font-size: 12px; }
  
  /* Sidebar hero en móvil */
  .hero-sidebar { flex-direction: column; }
  .hero-side-card { min-height: 100px; padding: 15px; }
  .hero-side-card .card-title { font-size: 15px; }
  
  /* Categorías rápidas */
  .quick-cats-grid { grid-template-columns: repeat(4, 1fr); }
  .quick-cat .icon { font-size: 24px; }
  .quick-cat span { font-size: 10px; }
  
  /* Promos */
  .promo-grid { grid-template-columns: 1fr; gap: 12px; }
  .promo-card { padding: 16px 20px; }
  .promo-text .title { font-size: 18px; }
  .promo-icon { font-size: 40px; }
  
  /* Productos */
  .product-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 12px;
  }
  
  .product-img-wrap { min-height: 140px; padding: 12px; }
  .product-name { font-size: 11px; }
  .product-price { font-size: 16px; }
  
  /* Secciones */
  .section-header h2 { font-size: 18px; }
  .see-all { padding: 4px 10px; font-size: 11px; }
  
  /* Info boxes */
  .info-grid { grid-template-columns: 1fr; }
  .info-box { padding: 14px 16px; }
  
  /* Footer */
  .footer-main { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .footer-social { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  
  /* WhatsApp flotante */
  .wa-float { 
    width: 48px; 
    height: 48px; 
    bottom: 16px; 
    right: 16px;
  }
  .wa-float svg { width: 26px; height: 26px; }
}

/* Móviles pequeños (hasta 480px) */
@media (max-width: 480px) {
  /* Header extremo */
  .header-inner { height: 52px; }
  .logo-wrap img { height: 32px; }
  
  .search-wrap { 
    max-width: 160px;
    position: static;
  }
  
  .search-wrap input { 
    font-size: 11px;
    padding: 6px 30px 6px 8px;
  }
  
  .search-wrap button { width: 36px; }
  .search-wrap button svg { width: 14px; height: 14px; }
  
  .hbtn { padding: 2px; }
  .hbtn svg { width: 20px; height: 20px; }
  
  /* Hero */
  .hero-main { padding: 16px; }
  .hero-title { font-size: 22px; }
  .hero-tag { font-size: 9px; }
  .hero-price .price { font-size: 20px; }
  .btn-hero { padding: 6px 16px; font-size: 11px; }
  
  /* Categorías */
  .quick-cats-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .quick-cat { padding: 10px; }
  .quick-cat .icon { font-size: 22px; }
  
  /* Productos */
  .product-grid { gap: 8px; }
  .product-info { padding: 8px; }
  .product-name { font-size: 10px; margin-bottom: 4px; }
  .product-price { font-size: 14px; }
  .btn-add { padding: 6px; font-size: 10px; }
  
  /* Badges más pequeños */
  .badge { font-size: 8px; padding: 2px 6px; }
  .product-img-wrap img { max-height: 100px; }
  
  /* Botones flotantes */
  .wa-float { width: 44px; height: 44px; }
}

/* Ajustes para hover solo en dispositivos con mouse */
@media (hover: none) {
  .nav-item:hover .dropdown { display: none; }
  
  /* Para móviles, el dropdown se abre con click - añade esta funcionalidad con JS */
}

/* Mejoras para pantallas táctiles */
@media (pointer: coarse) {
  button, 
  .hbtn, 
  .quick-cat, 
  .product-card,
  .nav-item {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  
  button:active,
  .hbtn:active,
  .quick-cat:active {
    transform: scale(0.97);
    transition: transform 0.1s;
  }
}

/* Scrollbar personalizado para navbar (mejora visual) */
@media (max-width: 767px) {
  .navbar-inner::-webkit-scrollbar {
    height: 3px;
  }
  
  .navbar-inner::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
  }
  
  .navbar-inner::-webkit-scrollbar-thumb {
    background: var(--orange);
    border-radius: 3px;
  }
}