

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

    :root {
      --coral:       #C8321B;
      --coral-dark:  #9C2412;
      --dark:        #1C1C1E;
      --footer-bg:   #DB812D;
      --gray:        #6B7280;
      --gray-light:  #FFFFFF;
      --gray-border: #DCDAD3;
      --white:       #FFFFFF;
      --gold:        #F59E0B;
      --r:           12px;
      --r-sm:        8px;
      --r-pill:      100px;
    }

    html { font-family: 'Satoshi', ui-sans-serif, system-ui, sans-serif; }
    body { background: #FFFFFF; color: var(--dark); max-width: 430px; margin: 0 auto; overflow-x: hidden; }

    /* ═══ HEADER ═══ */
    .header { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; height: 60px; background: #FFFFFF; border-bottom: 1px solid var(--gray-border); }
    .header-logo { display: flex; align-items: center; text-decoration: none; }
    .header-logo img { height: 51px; width: auto; background: transparent; }
    .hamburger-btn { background: none; border: none; cursor: pointer; padding: 8px; font-size: 27px; color: var(--dark); line-height: 1; }

    /* ═══ NAV ═══ */
    .nav-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.45); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
    .nav-overlay.open { opacity: 1; pointer-events: all; }
    .nav-drawer { position: absolute; top: 0; right: 0; width: 280px; height: 100%; background: var(--white); padding: 20px; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; }
    .nav-overlay.open .nav-drawer { transform: translateX(0); }
    .nav-close { align-self: flex-end; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--dark); padding: 6px; margin-bottom: 12px; }
    .nav-link { display: block; padding: 14px 0; font-size: 16px; font-weight: 500; color: var(--dark); text-decoration: none; border-bottom: 1px solid var(--gray-border); }
    .nav-link:last-child { border-bottom: none; }

    /* ═══ PAGE HEADER ═══ */
    .page-header { display: flex; align-items: center; padding: 0 20px; height: 52px; background: #FFFFFF; border-bottom: 2px solid #C8321B; }
    .page-header-back { width: 36px; background: none; border: none; font-size: 18px; color: #C8321B; cursor: pointer; display: flex; align-items: center; flex-shrink: 0; }
    .page-header-title { flex: 1; text-align: center; font-size: 16px; font-weight: 700; color: var(--dark); }
    .page-header-spacer { width: 36px; flex-shrink: 0; }

    /* ═══ HERO ═══ */
    .hero-editorial { position: relative; height: 340px; overflow: hidden; margin-bottom: 0; }
    .hero-editorial-bg { position: absolute; inset: 0; overflow: hidden; }
    .hero-editorial-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.08) 50%, transparent 100%); }
    .hero-editorial-body {
      position: absolute; bottom: 0; left: 0; right: 0;
      padding: 24px 20px; color: var(--white);
    }
    .hero-headline { font-size: 24px; font-weight: 900; line-height: 1.2; letter-spacing: -.4px; margin-bottom: 8px; }
    .hero-subtext { font-size: 13px; color: rgba(255,255,255,.82); line-height: 1.55; margin-top: 6px; margin-bottom: 0; }

    /* ═══ SECCIÓN GENÉRICA ═══ */
    .mag-section { padding: 28px 20px 0; }
    .mag-section + .mag-section { margin-top: 12px; }

    .mag-section-head {
      display: flex; align-items: center; justify-content: space-between;
      background: #FFFFFF; padding: 12px 20px 10px;
      margin: -28px -20px 24px;
      border-bottom: 2px solid #C8321B; position: relative;
    }
    .mag-section-head::after {
      content: ''; position: absolute; bottom: -10px; left: 20px;
      border-left: 10px solid transparent; border-right: 10px solid transparent;
      border-top: 10px solid #C8321B;
    }
    .mag-section-title { font-size: 22px; font-weight: 800; color: var(--dark); line-height: 1.2; letter-spacing: -.3px; }

    /* Encabezado con imagen inline ("Adopta con" + logo) */
    .section-title-with-img {
      display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; justify-content: center;
    }
    .section-title-with-img .mag-section-title { flex-shrink: 0; }
    .section-title-img {
      height: 32px; width: auto; object-fit: contain; flex-shrink: 0;
    }

    /* ═══ GALERÍA + FICHA MASCOTA ═══ */
    .pet-layout {
      display: flex; flex-direction: column; gap: 12px;
      align-items: stretch; margin-bottom: 4px;
    }
    .pet-gallery { flex: none; width: 100%; display: flex; flex-direction: column; gap: 4px; }

    .pet-main-img {
      width: 100%; aspect-ratio: 1/1; overflow: hidden;
      border-radius: 0; cursor: pointer;
      border: 2px solid transparent; transition: border-color .2s;
    }
    .pet-main-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }

    .pet-thumbs { display: flex; gap: 4px; }
    .pet-thumb {
      flex: 1; aspect-ratio: 1/1; overflow: hidden;
      border-radius: 0; cursor: pointer;
      border: 2px solid transparent; transition: border-color .2s, opacity .2s;
      opacity: .7;
    }
    .pet-thumb.active { border-color: var(--coral); opacity: 1; }
    .pet-thumb:hover { opacity: .9; }
    .pet-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

    /* Nombre/subtítulo antes de la galería en mobile */
    .pet-mobile-header { order: -1; margin-bottom: 4px; }
    .pet-name-desktop, .pet-subtitle-desktop { display: none; }

    /* Ficha */
    .pet-info { flex: 1; min-width: 0; }
    .pet-name { font-size: 26px; font-weight: 900; letter-spacing: -.5px; color: var(--dark); line-height: 1; margin-bottom: 4px; }
    .pet-subtitle { font-size: 15px; color: var(--gray); margin-bottom: 10px; line-height: 1.4; }

    /* Collapsible descripción + datos */
    .pet-collapsible { margin-bottom: 12px; }
    .pet-collapsible-toggle {
      display: flex; align-items: center; justify-content: space-between;
      width: 100%; background: none; border: none; border-bottom: 2px solid var(--coral);
      padding: 8px 0; cursor: pointer; color: var(--dark);
    }
    .pet-collapsible-toggle span { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--coral); }
    .pet-collapsible-toggle .toggle-arrow { font-size: 12px; color: var(--coral); transition: transform .25s; }
    .pet-collapsible.open .toggle-arrow { transform: rotate(180deg); }
    .pet-collapsible-body { display: none; padding: 10px 0; }
    .pet-collapsible.open .pet-collapsible-body { display: block; }

    .pet-desc { font-size: 14px; color: var(--dark); line-height: 1.6; margin-bottom: 12px; }

    .pet-datos { margin-bottom: 0; }
    .pet-datos-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 4px;
    }
    .pet-dato-cell {
      background: #fff6e8; padding: 8px 10px;
      display: flex; flex-direction: column; gap: 2px;
    }
    .pet-dato-icon { font-size: 13px; color: var(--coral); margin-bottom: 1px; }
    .pet-dato-label { font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--gray); }
    .pet-dato-val { font-size: 11px; font-weight: 600; color: var(--dark); line-height: 1.3; }

    .pet-kit {
      display: flex; align-items: center; gap: 10px;
      font-size: 12px; font-style: normal; line-height: 1.4; margin-bottom: 14px;
      background: #7869e8;
      padding: 10px 14px; color: #fff; font-weight: 600;
      border-radius: 0;
    }
    .pet-kit-logo {
      height: 22px; width: auto; flex-shrink: 0; filter: brightness(0) invert(1);
    }

    .btn-adoptar {
      display: flex; align-items: center; justify-content: center; gap: 6px;
      width: 100%; padding: 14px 24px;
      background: var(--coral); color: #fff;
      border: none; border-radius: 0;
      font-size: 17px; font-weight: 800; letter-spacing: .3px;
      cursor: pointer; transition: background .2s;
      text-decoration: none; text-align: center;
    }
    .btn-adoptar:hover { background: var(--coral-dark); }
    .btn-adoptar i { font-size: 15px; }

    /* ═══ SUPERZOO ═══ */
    .superzoo-head {
      display: flex; align-items: center; gap: 3px;
      margin-bottom: 14px; flex-wrap: nowrap;
    }
    .superzoo-head-text { font-size: 16px; font-weight: 800; color: var(--dark); }
    .superzoo-logo { height: 50px; width: auto; object-fit: contain; }

    /* Productos carrusel: 3 visibles + flecha para el 4º */
    .sz-content-wrap {
      display: flex; flex-direction: column; align-items: stretch; gap: 20px; margin-top: 0;
    }
    .sz-products-col { width: 100%; margin: 0 auto; }
    .sz-carousel-nav { position: relative; }
    .sz-products-grid {
      display: flex;
      overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
      gap: 8px;
    }
    .sz-products-grid::-webkit-scrollbar { display: none; }
    .sz-prod-arrow {
      position: absolute; top: 50%; transform: translateY(-50%);
      width: 28px; height: 28px;
      background: rgba(255,255,255,.95); border: 1.5px solid var(--gray-border);
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; z-index: 5; font-size: 11px; color: var(--dark);
      transition: background .2s, color .2s;
      box-shadow: 0 2px 6px rgba(0,0,0,.12);
    }
    .sz-prod-arrow:hover { background: var(--coral); color: #fff; border-color: var(--coral); }
    .sz-prod-arrow:disabled { opacity: .25; pointer-events: none; }
    .sz-prod-prev { left: -8px; }
    .sz-prod-next { right: -8px; }
    .sz-form-col { width: 100%; margin: 0 auto; }

    .superzoo-card {
      flex: 0 0 calc(23.33% - 6px); scroll-snap-align: start;
      display: flex; flex-direction: column;
      background: var(--white); border: 1px solid var(--gray-border);
      border-radius: 0; overflow: hidden;
      text-decoration: none; color: var(--dark);
      transition: box-shadow .2s;
    }
    .superzoo-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.1); }
    .superzoo-card-img {
      width: 100%; aspect-ratio: 1/1;
      display: flex; align-items: center; justify-content: center;
      overflow: hidden; background: #f9f9f9;
    }
    .superzoo-card-img img { width: 100%; height: 100%; object-fit: contain; }
    .superzoo-card-body { padding: 7px 7px 8px; flex: 1; display: flex; flex-direction: column; gap: 3px; }
    .superzoo-card-name { font-size: 11px; font-weight: 600; color: var(--dark); line-height: 1.25; }
    .superzoo-card-stars { color: var(--gold); font-size: 10px; letter-spacing: 1px; }
    .superzoo-card-price { font-size: 13px; font-weight: 800; color: var(--coral); }

    .superzoo-ver-mas {
      display: inline-block; font-size: 16px; font-weight: 700; color: var(--coral);
      text-decoration: underline; text-align: center; cursor: pointer; transition: color .2s;
    }
    .superzoo-ver-mas:hover { color: var(--coral-dark); }

    /* ═══ BUSCADOR MASCOTAS ═══ */
    .adop-search-wrap {
      display: flex; align-items: center; gap: 10px;
      background: #fff; border: 1.5px solid var(--gray-border);
      border-radius: 0; padding: 10px 14px; margin-bottom: 16px;
    }
    .adop-search-wrap:focus-within { border-color: var(--coral); }
    .adop-search-input { border: none; background: transparent; font-size: 14px; color: var(--dark); flex: 1; outline: none; }
    .adop-search-input::placeholder { color: #aaa; }

    /* ═══ DISCOUNT FORM — SuperZoo brand ═══ */
    .discount-box {
      background: #fff;
      border: 2px solid #D42B1E;
      border-radius: 0;
      padding: 0;
      margin-bottom: 8px;
      overflow: hidden;
      box-shadow: 0 4px 18px rgba(212,43,30,.18);
    }
    .discount-box-logo-wrap {
      background: #E52320;
      padding: 14px 20px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .discount-box-logo {
      height: 44px;
      width: auto;
      object-fit: contain;
    }
    .discount-box-body {
      padding: 18px 20px 22px;
    }
    .discount-box-title {
      font-size: 20px; font-weight: 900; color: #D42B1E;
      margin-bottom: 8px; line-height: 1.2; letter-spacing: -.2px;
    }
    .discount-box-sub {
      font-size: 13px; color: #555; margin-bottom: 16px; line-height: 1.45;
    }
    .discount-form { display: flex; flex-direction: column; gap: 9px; align-items: stretch; }
    .discount-input {
      flex: 1; min-width: 0;
      padding: 12px 14px; border: 1.5px solid #ddd;
      border-radius: 0; font-size: 15px; color: var(--dark);
      background: #fff; outline: none;
    }
    .discount-input:focus { border-color: #D42B1E; outline: 1px solid #D42B1E; }
    .discount-input::placeholder { color: #bbb; }
    .discount-btn {
      padding: 14px 18px; background: #D42B1E; color: #fff;
      border: none; border-radius: 0; font-size: 16px; font-weight: 900;
      cursor: pointer; letter-spacing: .04em; text-transform: uppercase;
      transition: background .2s;
    }
    .discount-btn:hover { background: #b71f14; }

    /* ═══ FILTROS MASCOTA (igual al resto del sitio) ═══ */
    .filter-pill {
      flex-shrink: 0;
      padding: 7px 16px;
      border-radius: 0;
      border: 1.5px solid var(--gray-border);
      background: var(--white);
      color: var(--dark);
      font-size: 13px; font-weight: 600;
      cursor: pointer; white-space: nowrap;
    }
    .filter-pill.active { background: var(--coral); border-color: var(--coral); color: var(--white); }
    .filter-row-wrap {
      display: flex; gap: 8px; flex-wrap: wrap;
      margin-bottom: 20px;
    }
    .filter-select {
      flex: 1; min-width: 130px;
      padding: 7px 26px 7px 10px; font-size: 12px; font-weight: 600;
      border: 1.5px solid var(--gray-border); border-radius: 0;
      background: var(--white); color: var(--dark);
      cursor: pointer; appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23f06a30'/%3E%3C/svg%3E");
      background-repeat: no-repeat; background-position: right 10px center;
    }
    .filter-select:focus { outline: none; border-color: var(--coral); }

    /* ═══ CARDS MASCOTA — foto full-bleed con overlay ═══ */
    .animal-grid {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 6px; width: 100%; margin: 0 0 8px;
    }
    .animal-grid .animal-card:nth-child(n+7) { display: none; }
    .animal-card {
      position: relative; aspect-ratio: 4/5;
      border-radius: 0; background: none; border: none; box-shadow: none; padding: 0;
      cursor: pointer;
    }
    .animal-card:hover { transform: translateY(-2px); transition: transform .2s; }

    /* ═══ FLIP CARD ═══ */
    .animal-card .flip-card-inner {
      position: absolute; inset: 0;
      transition: transform .6s; transform-style: preserve-3d;
    }
    .animal-card.flipped .flip-card-inner { transform: rotateY(180deg); }
    .animal-card .flip-face {
      position: absolute; inset: 0; backface-visibility: hidden;
      overflow: hidden; border-radius: 0;
    }
    .animal-card .flip-front {
      background: #ccc; box-shadow: 0 2px 12px rgba(0,0,0,.15);
      transition: box-shadow .2s;
    }
    .animal-card:hover .flip-front { box-shadow: 0 6px 20px rgba(0,0,0,.25); }
    .animal-card .flip-back {
      transform: rotateY(180deg);
      background: var(--coral); color: #fff;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      text-align: center; gap: 6px; padding: 14px;
    }
    .animal-card .flip-back .animal-card-name { color: #fff; text-shadow: none; margin-bottom: 0; }
    .animal-card .flip-back .animal-address {
      display: flex; align-items: center; justify-content: center; gap: 5px;
      font-size: 13px; font-weight: 700; color: #fff;
    }
    .animal-card .flip-back .animal-foundation {
      display: block; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.85);
    }

    /* Pista visual de que la card se puede voltear */
    .animal-flip-hint {
      position: absolute; top: 8px; right: 8px; z-index: 3;
      width: 26px; height: 26px; border-radius: 50%;
      background: rgba(0,0,0,.45); color: #fff; font-size: 12px;
      display: flex; align-items: center; justify-content: center;
      opacity: .7; transition: opacity .2s, transform .4s;
    }
    .animal-card:hover .animal-flip-hint { opacity: 1; transform: rotate(180deg); }

    /* Foto ocupa toda la card */
    .animal-card-img { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
    .animal-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
    .animal-card:hover .animal-card-img img { transform: scale(1.05); }
    .animal-card-img::after {
      content: ''; position: absolute; inset: 0; pointer-events: none;
      background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,.76) 100%);
    }

    /* Texto sobre el gradiente */
    .animal-card-body {
      position: absolute; bottom: 0; left: 0; right: 0;
      padding: 8px 7px 9px; z-index: 2;
    }
    .animal-card-name {
      font-size: 19px; font-weight: 900; color: #fff;
      margin-bottom: 4px; line-height: 1.1;
      text-shadow: 0 1px 3px rgba(0,0,0,.4);
    }
    .animal-tags { display: flex; gap: 3px; flex-wrap: nowrap; overflow: hidden; }
    .animal-tag {
      font-size: 13px; font-weight: 700; padding: 3px 7px;
      border-radius: 0; white-space: nowrap; flex-shrink: 0;
      background: rgba(255,255,255,.18); color: #fff;
      border: 1px solid rgba(255,255,255,.35);
      backdrop-filter: blur(4px);
    }
    .animal-tag.coral { background: var(--coral); color: #fff; border-color: var(--coral); }
    /* Mostrar solo los 2 primeros tags */
    .animal-tag:nth-child(n+3) { display: none; }
    .animal-address { display: none; }
    .animal-foundation { display: none; }

    /* ═══ ORGANIZACIONES (cards con info siempre visible) ═══ */
    .org-grid {
      display: flex; gap: 12px; justify-content: center;
      overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none;
      margin-bottom: 20px; padding-bottom: 4px;
    }
    .org-grid::-webkit-scrollbar { display: none; }
    .org-card {
      flex: 0 0 124px; width: 124px;
      display: flex; flex-direction: column; align-items: center; text-align: center;
      background: #fff; border: 1.5px solid var(--gray-border); border-radius: 0;
      padding: 16px 10px 14px; gap: 8px;
      text-decoration: none; color: inherit;
      transition: border-color .2s, box-shadow .2s;
    }
    .org-card:hover { border-color: var(--coral); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
    .org-card-logo-wrap {
      width: 68px; height: 68px; border-radius: 14px; flex-shrink: 0;
      background: #fff; display: flex; align-items: center; justify-content: center;
      box-shadow: 0 2px 8px rgba(0,0,0,.08); border: 1px solid var(--gray-border);
      padding: 6px;
    }
    .org-card-logo-wrap img { width: 100%; height: 100%; object-fit: contain; display: block; }
    .org-card-name {
      font-size: 12.5px; font-weight: 800; color: var(--dark); line-height: 1.3;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }
    .org-ver-mas {
      font-size: 11.5px; font-weight: 700; color: var(--coral);
      margin-top: auto; padding-top: 2px;
      display: flex; align-items: center; gap: 4px;
    }
    .org-ver-mas i { font-size: 9px; }

    /* ═══ BTN VER TODO ═══ */
    .btn-ver-todo-wrap { display: flex; justify-content: center; padding-bottom: 36px; }
    .btn-ver-todo {
      padding: 11px 32px; background: transparent;
      border: 2px solid var(--coral); border-radius: 0;
      color: var(--coral); font-size: 13px; font-weight: 700;
      cursor: pointer; transition: background .2s, color .2s;
    }
    .btn-ver-todo:hover { background: var(--coral); color: #fff; }

    /* ═══ BOTTOM NAV ═══ */
    .bottom-nav { display: flex; border-top: 1px solid var(--gray-border); background: var(--white); }
    .bottom-nav-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 12px 4px; text-decoration: none; color: var(--gray); font-size: 10px; font-weight: 500; transition: color .2s; }
    .bottom-nav-item i { font-size: 20px; }
    .bottom-nav-item:hover, .bottom-nav-item.active { color: var(--coral); }
    .bottom-nav-item.active { font-weight: 700; }

    /* ═══ FOOTER ═══ */
    footer { background: var(--footer-bg); color: rgba(255,255,255,.65); padding: 40px 20px 28px; }
    .footer-logo-block { margin-bottom: 32px; }
    .footer-logo { font-size: 20px; font-weight: 900; letter-spacing: 3px; color: var(--white); margin-bottom: 6px; }
    .footer-logo img { height: 36px; width: auto; filter: brightness(0) invert(1); margin-bottom: 6px; display: block; }
    .footer-tagline { font-size: 15px; color: rgba(255,255,255,.45); line-height: 1.5; }
    .footer-links-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px 10px; margin-bottom: 32px; }
    .footer-col-title { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--white); margin-bottom: 12px; }
    .footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.45); text-decoration: none; padding: 3px 0; line-height: 1.6; transition: color .2s; }
    .footer-col a:hover { color: var(--white); }
    .footer-social-label { font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
    .footer-social-icons { display: flex; gap: 12px; margin-bottom: 28px; }
    .footer-social-icons a { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); font-size: 16px; text-decoration: none; transition: border-color .2s, color .2s; }
    .footer-social-icons a:hover { border-color: var(--coral); color: var(--coral); }
    .footer-divider { height: 1px; background: rgba(255,255,255,.1); margin-bottom: 20px; }
    .footer-legal { display: flex; gap: 16px; margin-bottom: 10px; }
    .footer-legal a { font-size: 13px; color: rgba(255,255,255,.4); text-decoration: none; transition: color .2s; }
    .footer-legal a:hover { color: var(--white); }
    .footer-copyright { font-size: 13px; color: rgba(255,255,255,.28); }

  
  