*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    /* ─── Paleta Principal ───
       Rojo vino oscuro: elegante, no saturado, premium
    */
    --red:        #A8142E;  /* Rojo vino: acento principal (menos saturado) */
    --red-dark:   #7A0E20;  /* Vino oscuro: hover, estados secundarios */
    --red-deep:   #3D0810;  /* Profundo: fondos de tarjetas */
    --red-glow:   rgba(168,20,46,0.28); /* Sombra suave */

    /* ─── Fondos ─── */
    --bg:         #000000;
    --bg2:        #0A0002;
    --bg-card:    #120006;
    --bg-hero:    #080103;
    --bg-showcase:#180207;

    /* ─── Tipografía ─── */
    --white:      #FFFFFF;
    --cream:      #F5ECEA;
    --muted:      rgba(255,255,255,0.58);  /* subido para cumplir contraste AA */
    --muted-hi:   rgba(255,255,255,0.72);

    /* ─── Bordes ─── */
    --border:     rgba(255,255,255,0.07);
    --border-red: rgba(168,20,46,0.30);

    /* ─── Aliases ─── */
    --wine:       var(--red-dark);
    --wine-deep:  var(--red-deep);
    --wine-mid:   var(--red);
    --wine-light: var(--red);
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }

  /* ── SCROLLBAR ── */
  ::-webkit-scrollbar { width: 4px; }
  ::-webkit-scrollbar-track { background: var(--bg); }
  ::-webkit-scrollbar-thumb { background: var(--wine); border-radius: 2px; }

  /* ── NAV ── */
  #navbar {
    position: absolute; top: 0; left: 0; right: 0; z-index: 100;
    padding: 18px 40px;
    display: flex; align-items: center; justify-content: space-between;
    transition: background 0.4s;
  }
  #navbar.scrolled {
    background: rgba(8,1,3,0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
  }
  .nav-logo {
    display: flex; align-items: center;
    text-decoration: none;
    position: relative; z-index: 110;
  }
  .nav-logo img {
    height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
  }

  /* Hamburger btn (visible en todos los dispositivos) */
  .nav-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 110;
    position: relative;
  }
  .nav-hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
  }
  /* Animación X al abrir */
  .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Menú desplegable móvil */
  .nav-drawer {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.97);
    z-index: 105;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 80px 40px;
  }
  .nav-drawer.open { display: flex; }
  .nav-drawer a {
    color: white;
    text-decoration: none;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.2s;
  }
  .nav-drawer a:hover { color: var(--red); }
  .nav-drawer .drawer-divider {
    width: 40px; height: 2px;
    background: var(--red);
    border-radius: 2px;
  }

  /* Móvil/Tablet */
  @media (max-width: 768px) {
    #navbar { padding: 16px 20px; }
  }

  /* ── HERO ── */
  .hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    padding: 120px 40px 80px;
    overflow: hidden;
    background: var(--bg-hero);
  }
  .hero-inner {
    max-width: 1200px; margin: 0 auto; width: 100%;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
    position: relative; z-index: 1;
  }
  .hero-label {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(168,20,46,0.18); border: 1px solid rgba(168,20,46,0.35);
    padding: 6px 14px; border-radius: 50px;
    font-size: 11px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: var(--red); margin-bottom: 24px;
  }
  .hero-dot { width: 6px; height: 6px; background: var(--red); border-radius: 50%; animation: pulse 2s infinite; }
  @keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:0.4;transform:scale(0.7);} }
  .hero-title {
    font-size: clamp(42px, 6vw, 80px);
    font-weight: 900; line-height: 1.0;
    margin-bottom: 10px;
  }
  .hero-title span { color: var(--wine-light); }
  .hero-subtitle-line {
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 300; color: var(--muted);
    margin-bottom: 28px; line-height: 1.6; max-width: 420px;
  }
  .hero-product-name {
    font-size: 12px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
  }
  .hero-price {
    font-size: 40px; font-weight: 900;
    color: white; margin-bottom: 28px;
    display: flex; align-items: baseline; gap: 6px;
  }
  .hero-price sub { font-size: 14px; font-weight: 500; color: var(--muted); }
  .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
  .btn-primary {
    background: var(--wine); color: white;
    padding: 14px 28px; border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 13px; font-weight: 700; letter-spacing: 0.5px;
    border: none; cursor: pointer; text-decoration: none;
    transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px;
  }
  .btn-primary:hover { background: var(--wine-light); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(107,15,26,0.5); }
  .btn-secondary {
    background: rgba(255,255,255,0.07); color: white;
    padding: 14px 24px; border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 13px; font-weight: 600;
    border: 1px solid var(--border); cursor: pointer; text-decoration: none;
    transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px;
  }
  .btn-secondary:hover { background: rgba(255,255,255,0.12); }

  /* ── HERO VISUAL (Starbucks-style) ── */
  .hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
    overflow: visible;
  }

  /* Large rounded color shape - flush right, shorter than full hero */
  .hero-bg-shape {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 35%;
    height: calc(82% - 15px);
    border-radius: 52px 0 0 52px;
    background: var(--red);
    transition: background 0.55s cubic-bezier(0.4,0,0.2,1);
    overflow: hidden;
    z-index: 0;
  }

  /* Clase re-dispatable: desliza la forma desde la derecha en cada clic */
  .hero-bg-shape.shape-anim {
    animation: shapeSlideIn 0.65s cubic-bezier(0.22,1,0.36,1) both;
  }

  @keyframes shapeSlideIn {
    from { transform: translateY(-50%) translateX(110%); }
    to   { transform: translateY(-50%) translateX(0); }
  }

  /* Vertical flavor text inside the shape (right column) */
  .hero-vert-flavor {
    position: absolute;
    right: 14px;
    top: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: clamp(48px, 5.5vw, 72px);
    font-weight: 900;
    letter-spacing: 5px;
    color: rgba(255,255,255,0.18);
    text-transform: uppercase;
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
    line-height: 1;
    gap: 0;
    transition: opacity 0.3s;
  }
  /* Clase re-dispatable: texto del sabor sube desde abajo */
  .hero-vert-flavor.text-anim {
    animation: textSlideIn 0.5s cubic-bezier(0.22,1,0.36,1) 0.35s both;
  }

  /* Vertical CHEESECAKE label (left column, white opaque) */
  .hero-vert-label {
    position: absolute;
    right: 98px;
    top: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: clamp(48px, 5.5vw, 72px);
    font-weight: 900;
    letter-spacing: 5px;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
    line-height: 1;
  }
  /* Clase re-dispatable: CHEESECAKE sube ligeramente antes que el sabor */
  .hero-vert-label.text-anim {
    animation: textSlideIn 0.5s cubic-bezier(0.22,1,0.36,1) 0.2s both;
  }

  /* Keyframe compartido para ambas columnas de texto */
  @keyframes textSlideIn {
    from { opacity: 0; transform: translateY(60px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* Product image – FREE FLOATING, bigger, no frame, no box */
  .hero-float-img {
    position: relative;
    z-index: 2;
    width: 420px;
    margin-left: 40px;
    pointer-events: none;
    /* Solo loop de flotado; la entrada la maneja .switching */
    animation: floatY 4s ease-in-out infinite;
  }

  @keyframes heroImgIn {
    from { opacity: 0; transform: translateX(70px) scale(0.9); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
  }
  .hero-float-img img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    filter: drop-shadow(0 30px 70px rgba(0,0,0,0.8));
    display: block;
  }

  /* Subtle up-down float */
  @keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-16px); }
  }

  /* Slide-in animation when flavor changes */
  @keyframes slideInProduct {
    from { opacity: 0; transform: translateX(80px) scale(0.88); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
  }
  /* Imagen en transición de sabor: la forma entra primero (0.25s de delay) */
  .hero-float-img.switching {
    animation: slideInProduct 0.42s cubic-bezier(0.34,1.56,0.64,1) 0.25s both;
  }

  /* Thumbnail strip — cinta negra desde el borde izquierdo */
  .hero-thumbs {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 36px;
    /* Ribbon: extiende hacia la izquierda más allá del borde */
    margin-left: -9999px;
    padding-left: 9999px;
    padding-right: 36px;
    padding-top: 16px;
    padding-bottom: 16px;
    background: var(--bg-card);
    box-shadow: 20px 20px 60px rgba(0,0,0,0.9);
    border-radius: 0 20px 20px 0;
    width: fit-content;
    position: relative;
  }
  .hero-thumb {
    width: 72px;
    height: 72px;
    border-radius: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), filter 0.3s;
    flex-shrink: 0;
    overflow: visible;
    position: relative;
  }
  .hero-thumb img {
    width: 100%; height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.6));
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), filter 0.3s;
  }
  .hero-thumb:hover img {
    transform: scale(1.12) translateY(-4px);
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.7));
  }
  .hero-thumb.active img {
    transform: scale(1.18) translateY(-6px);
    filter: drop-shadow(0 12px 28px rgba(0,0,0,0.8)) drop-shadow(0 0 12px rgba(255,255,255,0.25));
  }
  /* Eliminar el overlay oscuro que ya no aplica */
  .hero-thumb::after { display: none; }

  @media (max-width: 900px) {
    .hero { padding: 100px 20px 56px; }
    .hero-inner { grid-template-columns: 1fr; gap: 28px; }
    .hero-visual { order: -1; min-height: 300px; }
    /* La forma roja se acota a la zona de la imagen (arriba) y el texto
       vertical decorativo se oculta para no solaparse con el contenido. */
    .hero-bg-shape {
      width: 78%;
      height: 290px;
      top: 92px;
      transform: none;
      border-radius: 0 0 0 44px;
    }
    .hero-bg-shape.shape-anim { animation: none; }
    .hero-vert-label, .hero-vert-flavor { display: none; }
    .hero-float-img { width: 240px; margin-left: 0; }
    .hero-thumbs { gap: 14px; padding-right: 24px; padding-top: 12px; padding-bottom: 12px; }
    .hero-thumb { width: 56px; height: 56px; }
    .hero-title { font-size: clamp(34px, 8vw, 56px); }
    .hero-subtitle-line { max-width: none; margin-bottom: 30px; }
    .hero-price { margin-bottom: 30px; }
    .hero-actions { flex-wrap: wrap; }
  }
  @media (max-width: 480px) {
    .hero { padding: 90px 16px 48px; }
    .hero-visual { min-height: 250px; }
    .hero-bg-shape { width: 86%; height: 240px; top: 86px; }
    .hero-float-img { width: 200px; margin-left: 0; }
    .hero-thumbs { gap: 10px; padding-right: 16px; }
    .hero-thumb { width: 46px; height: 46px; }
  }



  /* ── TABS ── */
  .section-tabs {
    position: sticky; top: 0; z-index: 80;
    background: #000000; /* Solid pure black */
    padding: 16px 40px;
  }
  .tabs-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; gap: 10px; overflow-x: auto;
    justify-content: center; /* Centered filters */
  }
  .tabs-inner::-webkit-scrollbar { display: none; }
  .tab-btn {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 22px; border-radius: 50px;
    background: #0A0505; /* Solid dark color */
    border: 1px solid rgba(255,255,255,0.05); /* Subtle border */
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.02); /* Slight inner lighting */
    color: var(--muted); font-family: 'Inter', sans-serif;
    font-size: 13px; font-weight: 600; cursor: pointer;
    white-space: nowrap; transition: all 0.25s;
    flex-shrink: 0;
  }
  .tab-btn:hover { color: white; background: #120606; border-color: rgba(255,255,255,0.1); }
  .tab-btn.active {
    background: var(--red); /* Rojo primario */
    color: white;
    border-color: var(--red);
    box-shadow: 0 4px 18px var(--red-glow);
  }
  @media (max-width: 768px) {
    .section-tabs { padding: 12px 16px; }
    /* En móvil los filtros desbordan: alinear al inicio para no cortar el activo */
    .tabs-inner { justify-content: flex-start; }
  }

  /* ── PRODUCT GRID ── */
  .products-section {
    max-width: 1200px; margin: 0 auto;
    padding: 60px 40px;
  }
  .section-header {
    margin-bottom: 40px;
    display: flex; align-items: flex-end; justify-content: space-between;
  }
  .section-label {
    font-size: 11px; font-weight: 700; letter-spacing: 3px;
    text-transform: uppercase; color: var(--wine-light);
    margin-bottom: 8px;
  }
  .section-title {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 900; line-height: 1.1;
  }
  .section-count {
    font-size: 13px; color: var(--muted); font-weight: 500;
  }

  .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }

  .product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    display: flex; flex-direction: column;
    position: relative;
  }
  .product-card:hover {
    border-color: var(--border-red);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  }
  .product-card.hidden { display: none; }

  .card-img {
    width: 100%; aspect-ratio: 4/3;
    background: linear-gradient(140deg, var(--red-deep) 0%, var(--bg) 100%);
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 10px;
  }
  .card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
  }
  .product-card:hover .card-img img {
    transform: scale(1.08);
  }
  .card-img-placeholder {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    opacity: 0.35;
  }
  .card-img-placeholder p { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--cream); }
  .card-badge {
    position: absolute; top: 14px; left: 14px; z-index: 2;
    padding: 4px 10px; border-radius: 50px;
    font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase;
  }
  .badge-nuevo { background: var(--red-dark); color: white; }
  .badge-trending { background: rgba(0,0,0,0.6); color: #fff; border: 1px solid rgba(255,255,255,0.18); backdrop-filter: blur(4px); }
  .badge-favorito { background: var(--red); color: white; }

  .card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
  .card-name {
    font-size: 17px; font-weight: 800; color: white;
    margin-bottom: 6px; transition: color 0.2s;
  }
  .product-card:hover .card-name { color: var(--red); }
  .card-desc {
    font-size: 13px; color: var(--muted); line-height: 1.5;
    flex: 1; margin-bottom: 18px;
  }
  .card-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 16px; border-top: 1px solid var(--border);
  }
  .card-price-label { font-size: 10px; color: rgba(255,255,255,0.3); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
  .card-price { font-size: 22px; font-weight: 900; color: white; line-height: 1.1; white-space: nowrap; }
  .card-price-unit { font-size: 11px; color: var(--muted); font-weight: 500; }
  .card-btn {
    width: 38px; height: 38px; border-radius: 12px;
    background: rgba(255,255,255,0.06); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.2s;
  }
  .product-card:hover .card-btn { background: var(--wine); border-color: var(--wine); }

  .empty-state {
    text-align: center; padding: 80px 20px;
    display: none;
  }
  .empty-state p { color: var(--muted); font-size: 15px; }

  @media (max-width: 768px) {
    .products-section { padding: 32px 16px; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
  }
  @media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .card-name { font-size: 14px; }
    .card-price { font-size: 18px; }
    .card-body { padding: 14px; }
  }

  /* ── STATEMENT SECTION ── */
  .statement-section {
    background: var(--bg2); padding: 100px 40px;
    position: relative; overflow: hidden;
  }
  .statement-section::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(168,20,46,0.18) 0%, transparent 70%);
  }
  .statement-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
    position: relative; z-index: 1;
  }
  .statement-big {
    font-size: clamp(48px, 7vw, 96px);
    font-weight: 900; line-height: 0.95;
    text-transform: uppercase;
  }
  .statement-big em {
    font-style: normal;
    color: transparent;
    -webkit-text-stroke: 2px var(--wine-light);
  }
  .statement-right p {
    font-size: 16px; color: var(--muted); line-height: 1.8; margin-bottom: 32px;
  }
  .statement-stats {
    display: flex; gap: 40px;
  }
  .stat-num {
    font-size: 36px; font-weight: 900; color: white;
    display: block;
  }
  .stat-label {
    font-size: 11px; color: var(--muted);
    font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
  }
  @media (max-width: 900px) {
    .statement-section { padding: 60px 20px; }
    .statement-inner { grid-template-columns: 1fr; gap: 40px; }
    .statement-stats { gap: 24px; }
  }
  @media (max-width: 480px) {
    .statement-section { padding: 48px 16px; }
    .statement-big { font-size: clamp(38px, 10vw, 64px); }
    .statement-stats { flex-wrap: wrap; gap: 16px; }
    .stat-num { font-size: 28px; }
  }

  /* ── POPULAR SECTION ── */
  .popular-section {
    padding: 80px 0; max-width: 1200px; margin: 0 auto;
    /* relative + hidden: contiene el logo decorativo ::before (width:100vw)
       para que no se ancle al <html> y genere scroll horizontal en móvil. */
    position: relative;
    overflow: hidden;
  }
  .popular-section .section-header {
    padding: 0 40px;
  }
  /* ── Marquee de bucle infinito continuo ── */
  .popular-marquee {
    overflow: hidden;
    padding-bottom: 16px;
    /* Difuminado en los bordes para una entrada/salida elegante */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  }
  .popular-track {
    display: flex;
    width: max-content;
    padding: 6px 0;                 /* aire vertical para el hover */
    animation: popularScroll 24s linear infinite;
    will-change: transform;
  }
  /* Pausa al pasar el cursor o al enfocar con teclado */
  .popular-marquee:hover .popular-track,
  .popular-track:focus-within { animation-play-state: paused; }

  .popular-card {
    flex-shrink: 0;
    width: 300px;                   /* ancho fijo: no se encoge en móvil/tablet */
    margin-right: 20px;             /* separación uniforme → loop sin saltos */
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 20px; overflow: hidden; cursor: pointer;
    transition: all 0.3s;
  }

  @keyframes popularScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
  .popular-card:hover { border-color: var(--border-red); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
  .popular-img {
    width: 100%; height: 200px;
    background: linear-gradient(140deg, var(--red-deep) 0%, var(--bg) 100%);
    display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px;
    position: relative;
    overflow: hidden;
  }
  .popular-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  .popular-card:hover .popular-img img {
    transform: scale(1.08);
  }
  .popular-img-ph { opacity: 0.3; display: flex; flex-direction: column; align-items: center; gap: 8px; }
  .popular-img-ph p { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--cream); }
  .popular-rank {
    position: absolute; bottom: 14px; right: 14px; z-index: 2;
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--wine); color: white;
    font-size: 13px; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
  }
  .popular-body { padding: 18px; }
  .popular-name { font-size: 15px; font-weight: 800; color: white; margin-bottom: 4px; }
  .popular-desc { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
  .popular-footer { display: flex; align-items: center; justify-content: space-between; }
  .popular-price { font-size: 18px; font-weight: 900; color: white; }
  .popular-unit { font-size: 11px; color: var(--muted); margin-top: 2px; }
  .popular-cta {
    background: var(--wine); color: white; border: none; cursor: pointer;
    padding: 8px 16px; border-radius: 50px;
    font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700;
    letter-spacing: 0.5px; text-transform: uppercase;
    transition: all 0.2s; text-decoration: none;
  }
  .popular-cta:hover { background: var(--wine-light); }
  @media (max-width: 768px) {
    .popular-section { padding: 48px 0; }
    .popular-section .section-header { padding: 0 16px; }
    /* La tarjeta mantiene su ancho fijo (no se encoge); el marquee sigue corriendo. */
  }
  @media (max-width: 480px) {
    .popular-img { height: 160px; }
    .popular-name { font-size: 14px; }
    .popular-price { font-size: 16px; }
    .popular-body { padding: 14px; }
  }

  /* ── CONTACT ── */
  .contact-section {
    background: var(--bg2); padding: 80px 40px;
    position: relative; overflow: hidden;
  }
  .contact-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  }
  .contact-text .section-label { margin-bottom: 12px; }
  .contact-title { font-size: clamp(28px, 4vw, 50px); font-weight: 900; margin-bottom: 16px; }
  .contact-subtitle { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 36px; }
  .contact-items { display: flex; flex-direction: column; gap: 16px; }
  .contact-item {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 20px; border-radius: 14px;
    background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  }
  .contact-icon {
    width: 42px; height: 42px; border-radius: 12px;
    background: var(--red-deep);
    border: 1px solid var(--border-red);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .contact-item-label { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
  .contact-item-val { font-size: 15px; font-weight: 700; color: white; }

  .contact-card {
    background: var(--red-deep); border-radius: 24px;
    padding: 40px; border: 1px solid var(--border-red);
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  /* Título gigante de fondo GRACIAS */
  .thanks-big {
    font-size: clamp(52px, 9vw, 96px);
    font-weight: 900;
    letter-spacing: 8px;
    color: rgba(255,255,255,0.06);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: -16px;
    user-select: none;
  }
  .thanks-title {
    font-size: 22px;
    font-weight: 900;
    color: white;
    margin-bottom: 16px;
    text-transform: lowercase;
    letter-spacing: 1px;
  }
  .thanks-msg {
    font-size: 14px;
    color: var(--muted-hi);
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
  .thanks-divider {
    width: 48px;
    height: 2px;
    background: var(--red);
    margin: 0 auto 16px;
    border-radius: 2px;
  }
  .thanks-sub {
    font-size: 13px;
    color: var(--muted);
    font-style: italic;
    letter-spacing: 0.5px;
  }
  .thanks-sub strong { color: white; font-style: normal; }
  .wsp-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: #25D366; color: white;
    padding: 14px 28px; border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 14px; font-weight: 700; text-decoration: none;
    transition: all 0.2s;
  }
  .wsp-btn:hover { background: #1ebe5e; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(37,211,102,0.3); }
  @media (max-width: 900px) {
    .contact-section { padding: 60px 20px; }
    .contact-inner { grid-template-columns: 1fr; gap: 40px; }
    .contact-card { padding: 32px 24px; }
  }
  @media (max-width: 480px) {
    .contact-section { padding: 48px 16px; }
    .thanks-big { font-size: clamp(40px, 12vw, 72px); letter-spacing: 4px; }
    .thanks-title { font-size: 18px; }
    .thanks-msg { font-size: 13px; }
    .contact-card { padding: 28px 18px; }
  }

  /* ── FOOTER ── */
  footer {
    background: var(--bg);
    padding: 56px 40px 32px;
    border-top: 1px solid var(--border);
    text-align: center;
  }
  .footer-logo {
    width: 160px;
    height: auto;
    margin: 0 auto 20px;
    display: block;
    opacity: 0.92;
    filter: brightness(1.05);
  }
  .footer-tagline {
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.5px;
    margin-bottom: 28px;
    line-height: 1.6;
  }
  .footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 32px;
  }
  .footer-links a {
    color: rgba(255,255,255,0.45);
    font-size: 13px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.2s;
  }
  .footer-links a:hover { color: white; }
  .footer-bottom {
    font-size: 11px;
    color: rgba(255,255,255,0.2);
    letter-spacing: 0.5px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    max-width: 600px;
    margin: 0 auto;
  }
  @media (max-width: 768px) {
    footer { padding: 40px 20px 24px; }
    .footer-links { gap: 20px; }
  }

  /* ── FLOAT CTA — oculto por defecto, aparece al salir el botón hero ── */
  /* Anclado con left/right (no con translateX) para que nunca desborde
     el viewport ni genere scroll horizontal en móvil. */
  .float-cta {
    position: fixed; bottom: 24px;
    left: 16px; right: 16px;
    margin: 0 auto;
    max-width: 380px;
    z-index: 200;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
  }
  .float-cta.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .float-inner {
    background: #25D366;
    border-radius: 20px; padding: 14px 18px;
    display: flex; align-items: center; justify-content: space-between;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1);
    text-decoration: none; color: white;
    transition: transform 0.2s;
  }
  .float-inner:hover { transform: scale(1.02); }
  .float-left { display: flex; align-items: center; gap: 12px; }
  .float-icon {
    width: 40px; height: 40px; border-radius: 12px;
    background: rgba(255,255,255,0.18);
    display: flex; align-items: center; justify-content: center;
  }
  .float-text-small { font-size: 11px; color: rgba(255,255,255,0.75); font-weight: 500; }
  .float-text-big { font-size: 14px; font-weight: 800; }

  /* Animations */
  @keyframes fadeUp { from{opacity:0;transform:translateY(24px);} to{opacity:1;transform:translateY(0);} }
  .animate-fade-up { animation: fadeUp 0.6s ease-out forwards; }
  .delay-1 { animation-delay: 0.1s; opacity: 0; }
  .delay-2 { animation-delay: 0.2s; opacity: 0; }
  .delay-3 { animation-delay: 0.35s; opacity: 0; }
  .delay-4 { animation-delay: 0.5s; opacity: 0; }

  /* ── SHOWCASE SECTION (Starbucks-style) ── */
  .showcase-section {
    position: relative;
    background: var(--bg-showcase);
    overflow: hidden;
    padding: 100px 0 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  /* Título gigante de fondo */
  .showcase-bg-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(72px, 12vw, 160px);
    font-weight: 900;
    color: rgba(255,255,255,0.12);
    white-space: nowrap;
    letter-spacing: 10px;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    line-height: 1;
  }

  /* Cintas diagonales */
  .showcase-ribbon {
    position: relative;
    width: 120%;
    left: -10%;
    overflow: hidden;
    z-index: 2;
    padding: 14px 0;
  }
  .ribbon-top  { transform: rotate(-3deg); background: #000000; margin-bottom: 40px; }
  .ribbon-bottom { transform: rotate(-3deg); background: #000000; margin-top: 40px; }

  .showcase-ribbon-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    width: max-content;
    animation: ribbonScroll 20s linear infinite;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
  }
  .showcase-ribbon-track > * {
    margin-right: 32px;
  }
  .ribbon-reverse { animation-direction: reverse; animation-duration: 25s; }
  .rdot { color: rgba(255,255,255,0.4); font-size: 10px; }

  @keyframes ribbonScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  /* Layout central */
  .showcase-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1100px;
    width: 100%;
    padding: 0 40px;
    position: relative;
    z-index: 1;
  }

  /* Imagen del cupcake */
  .showcase-img-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
  }

  /* ── MARQUEE STRIP (cinta infinita animada) ── */
  .marquee-strip {
    width: 100%;
    overflow: hidden;
    padding: 14px 0;
    background: var(--bg2);
    border-top: 1px solid var(--border-red);
  }
  .marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 28s linear infinite;
    white-space: nowrap;
  }
  .marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-right: 40px;
  }
  .marquee-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--wine-light);
    flex-shrink: 0;
  }

  @keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  .showcase-img {
    width: clamp(260px, 28vw, 400px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 40px 80px rgba(0,0,0,0.9)) drop-shadow(0 0 60px rgba(184,18,31,0.25));
    animation: floatY 5s ease-in-out infinite;
  }



  @media (max-width: 768px) {
    .showcase-section { padding: 70px 0 60px; }
    .showcase-inner { display: flex; justify-content: center; }
    .showcase-bg-title { font-size: 52px; }
    .showcase-img { width: 220px; }
  }

  /* ── BACKGROUND LOGO DECORATIONS ── */
  #menu { position: relative; }
  .hero::after,
  #menu::before,
  .popular-section::before,
  .showcase-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    background-image: url('images/logo_3_suspiros.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: min(800px, 90vw);
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
  }
  .hero::after {
    top: 60%;
    left: 70%;
    transform: translate(-50%, -50%) rotate(-15deg);
    background-size: 600px;
  }
  #menu::before {
    top: 40%;
    left: 20%;
    background-size: 500px;
    transform: translate(-50%, -50%) rotate(10deg);
  }
  .popular-section::before {
    top: 50%;
    left: 80%;
    background-size: 700px;
    transform: translate(-50%, -50%) rotate(-5deg);
  }
  .showcase-section::before {
    top: 30%;
    left: 50%;
    background-size: 900px;
    transform: translate(-50%, -50%);
    opacity: 0.02;
  }

  /* ── ACCESIBILIDAD ── */

  /* Foco visible al navegar con teclado (Tab) */
  a:focus-visible,
  button:focus-visible,
  .tab-btn:focus-visible,
  .hero-thumb:focus-visible,
  .card-btn:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
    border-radius: 6px;
  }

  /* Respeta a quienes reducen el movimiento por accesibilidad */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.001ms !important;
      scroll-behavior: auto !important;
    }
  }

  /* ── FEEDBACK TÁCTIL (móvil): respuesta al tocar las tarjetas ── */
  .product-card:active,
  .popular-card:active { transform: scale(0.985); }

  /* ── SKELETON: brillo sutil mientras la imagen lazy carga (evita el flash oscuro) ── */
  .card-img img,
  .popular-img img { position: relative; z-index: 1; }
  .card-img::after,
  .popular-img::after {
    content: '';
    position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,0.06) 50%, transparent 65%);
    background-size: 200% 100%;
    animation: shimmer 1.6s linear infinite;
  }
  @keyframes shimmer {
    from { background-position: 200% 0; }
    to   { background-position: -200% 0; }
  }
