.carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-card {
    min-width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a7d07 100%);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.8);
    position: relative;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    /*opacity: 0.15;*/
    z-index: 1;
}

.background-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.4) 100%);
}

.content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
}

.project-info {
    flex: 1;
}

.project-title {
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.project-creator {
    font-size: 0.95rem;
    color: #999;
    margin-bottom: 30px;
}

.project-creator span {
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 1.1rem;
    color: #fff;
    font-weight: bold;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
    pointer-events: none;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.carousel-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

.dot {
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    width: 60px;
}

@media (max-width: 768px) {
    .carousel-card {
        height: auto;
        min-height: 400px;
    }

    .content {
        padding: 30px 20px;
    }

    .project-title {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .project-title {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Carousel 2 NFT items*/
.featured-section {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.section-header p {
    font-size: 14px;
    color: #888;
}

.NFTs-carousel-container {
    position: relative;
}

.NFTs-carousel-wrapper {
    display: flex;
    gap: 20px;
    overflow-y: visible;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 20px;
}

.NFTs-carousel-wrapper::-webkit-scrollbar {
    display: none;
}
.nfts-title-section {
  color: #FFF;
  margin: 5% 0;
}
.NFTs-nft-card {
    flex: 0 0 310px;
    background: #285927;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: #979696;
    display: block;
    box-shadow: 5px 6px 10px;
}

.NFTs-nft-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.NFTs-nft-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #2a2a2a;
}

.NFTs-nft-content {
    padding: 16px;
}

.NFTs-nft-title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.NFTs-nft-title h3 {
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.NFTs-verified-badge {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.NFTs-nft-meta {
    display: inline-grid;
    justify-content: space-between;
    align-items: center;
}

.NFTs-nft-date {
    font-size: 13px;
    color: #888;
}

.NFTs-nft-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.NFTs-minting-badge {
    background: #0a4d2e;
    color: #4ade80;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.NFTs-price-value {
    font-size: 14px;
    font-weight: 600;
}

.NFTs-price-change {
    font-size: 12px;
    color: #888;
}

.NFTs-view-all-card {
    flex: 0 0 310px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 2px dashed #3a3a3a;
}

.NFTs-view-all-card:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%);
    border-color: #4a4a4a;
}

.NFTs-view-all-content {
    text-align: center;
    padding: 20px;
}

.NFTs-view-all-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.NFTs-view-all-content p {
    color: #888;
    font-size: 14px;
}

.NFTs-carousel-nav {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.NFTs-nav-btn {
    background: #2a2a2a;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    font-size: 18px;
    transition: background 0.3s ease;
}

.NFTs-nav-btn:hover {
    background: #3a3a3a;
}

.NFTs-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
/* ======= Trading page start ======= */
:root {
    --bg-dark: #0a0b0d;
    --primary-green: #06b362;
    --accent-blue: #00d4ff;
    --text-white: #ffffff;
    --text-gray: #a1a1a6;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Montserrat', sans-serif;
}
.content-section-marketplace {
  background: linear-gradient(145deg, #00001B 0%, #1A2E8A 100%);
}
.page-css.carbon2o2_marketplace {
  background: linear-gradient(145deg, #00001B 0%, #1A2E8A 100%);
}
.page-css.carbon2o2_marketplace .wrapper {
  background-image: none !important;
}
.content-header h1 {
  display: none;
}
.page-market {
  padding: 10% 7%;
}
.header-market {
  height: 400px;
}
.hero-section {
    display: flex; /* Habilitar Flexbox */
    justify-content: space-between; /* Espaciar contenido y imagen */
    align-items: center; /* Alinear verticalmente al centro */
    gap: 40px; /* Espacio entre el texto y la imagen */
    margin-bottom: 60px;
    padding: 40px 0; /* Añadir algo de padding para que no se pegue */
}

.hero-content {
    flex: 1; /* Permite que el contenido tome el espacio disponible */
    max-width: 60%; /* Limita el ancho del texto para no ser demasiado largo */
}

/* Existing H1 and P styles should remain */
.hero-section h1 {
    font-size: 2.8rem; /* Ajustar el tamaño si es necesario */
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero-section p {
    color: #FFFFFF8C;
    max-width: 500px; /* Asegura que el párrafo no se extienda demasiado */
    margin-bottom: 30px;
}

.hero-image {
    flex: 0 0 40%; /* La imagen ocupa el 35% del ancho, no crece ni se encoge */
    display: flex;
    justify-content: center; /* Centrar la imagen dentro de su contenedor */
}

.hero-image img {
    max-width: 100%; /* Asegura que la imagen no se desborde */
    height: auto;
}

.hero-actions {
    display: flex;
    gap: 20px; /* Espacio entre los botones */
    margin-top: 20px;
}

.btn-primary-market {
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary-market, .NFTs-nav-btn {
    background: var(--primary-green);
    color: #FFFFFFDB;
    border: none;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
}

.btn-primary-market:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.6);
}
.page-market .nfts-title-section {
  color: #fff;
  margin: 5% 0;
}
.nfts-subtitle {
  color: #FFFFFFA6;
  margin-bottom: 5%;
}
.btn-connect-wallet {
    background: transparent;
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.btn-connect-wallet:hover {
    background: var(--accent-blue);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}
.nft-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.NFTs-nft-card {
    padding: 15px;
    transition: transform 0.3s;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.NFTs-nft-card:hover {
    border-color: var(--primary-green);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.2), 0 0 15px rgba(0, 212, 255, 0.1);
}

.NFTs-nft-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    position: relative;
    margin-bottom: 15px;
}

.NFTs-nft-meta-not {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    border: 1px solid var(--glass-border);
}

.NFTs-nft-title h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.NFTs-nft-meta .NFTs-nft-price {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}
.NFTs-back-to-marketplace {
  display: inline-block;
  margin: 20px 0 24px 0;
  padding: 10px 20px;
  background: #1a3d2e;
  color: #4ade80;
  border: 1px solid #22c55e;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.NFTs-back-to-marketplace:hover {
    background: #22c55e;
    color: #0d0d0d !important;
}

.btn-outline {
    width: 100%;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-outline:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}
.page-market a:hover {
  text-decoration: none;
  color: #00D4FF;
}
.page-market #prevBtn, .carbon2o2_marketplace #prevBtn {
  background: var(--primary-green);
  height: 55px;
  min-width: 90px;
  border-radius: 10px;
  font: normal normal bold 18px/32px Lato;
  letter-spacing: 1.8px;
  color: #FFFFFF;
  text-transform: uppercase;
}
.page-market #nextBtn, .carbon2o2_marketplace #nextBtn{
  background: var(--primary-green);
  height: 55px;
  min-width: 90px;
  border-radius: 10px;
  font: normal normal bold 18px/32px Lato;
  letter-spacing: 1.8px;
  color: #FFFFFF;
  text-transform: uppercase;
}
.page-market #nextBtn:hover, .page-market #prevBtn:hover {
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.6);
  color: #00D4FF;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  
  /* CLAVE DE LA SUAVIDAD: */
  /* 1.5s es lento y elegante. */
  /* El cubic-bezier(0.2, 1, 0.3, 1) crea un efecto de "frenado" muy largo al final */
  transition: transform 1.5s cubic-bezier(0.2, 1, 0.3, 1), 
              filter 1.5s ease-out;
  
  /* Optimización para que no vibre al moverse lento */
  will-change: transform; 
}
.hero-image:hover img {
  transform: scale(1.1);
  filter: brightness(1.1) contrast(1.1);
}
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column; /* Apila el contenido y la imagen en pantallas pequeñas */
        text-align: center;
    }

    .hero-content, .hero-image {
        max-width: 100%; /* Ocupa todo el ancho disponible */
        flex: none; /* Deshabilita flex-grow/shrink */
    }

    .hero-section h1 {
        font-size: 2rem; /* Reduce el tamaño del título */
    }

    .hero-actions {
        flex-direction: column; /* Apila los botones */
        gap: 15px;
    }
}

/* ======= Trading page end ======= */
/* BUG 1 FIX — overflow-y: visible → overflow-x: auto para scroll táctil */
.NFTs-carousel-wrapper {
  overflow-x: auto !important;
  overflow-y: visible !important;
  -webkit-overflow-scrolling: touch;   /* iOS momentum scroll */
  scroll-snap-type: x mandatory;       /* deslizamiento preciso card a card */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.NFTs-carousel-wrapper::-webkit-scrollbar {
  display: none;
}

/* Cada card se ancla al snap */
.NFTs-nft-card,
.NFTs-view-all-card {
  scroll-snap-align: start;
}


/* ================================================================
   SECCIÓN 2 — MOBILE 991px (tablets y smartphones)
   ================================================================ */
@media screen and (max-width: 991px) {

  /* ── PAGE WRAPPER ─────────────────────────────────────────── */
  .page-market {
    padding: 6% 4% !important;
  }

  .header-market {
    height: auto !important;
    min-height: unset !important;
  }

  /* ── HERO SECTION ─────────────────────────────────────────── */
  .hero-section {
    flex-direction: column !important;
    gap: 24px !important;
    margin-bottom: 36px !important;
    padding: 24px 0 !important;
    text-align: center;
  }

  .hero-content {
    max-width: 100% !important;
    flex: none !important;
  }

  .hero-image {
    flex: none !important;
    width: 100% !important;
    max-width: 420px !important;
    margin: 0 auto;
  }

  .hero-section h1 {
    font-size: 2rem !important;
    line-height: 1.25 !important;
  }

  .hero-section p {
    max-width: 100% !important;
    margin-bottom: 20px !important;
  }

  .hero-actions {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
  }

  /* ── CARRUSEL HERO (carousel-container) ──────────────────── */
  .carousel-container {
    border-radius: 12px !important;
    overflow: hidden !important;
  }

  /* BUG 2 FIX — altura flexible */
  .carousel-card {
    height: auto !important;
    min-height: 360px !important;
  }

  /* BUG 5 FIX — .content necesita altura mínima cuando la card es auto */
  .carousel-card .content {
    height: auto !important;
    min-height: 360px !important;
    padding: 28px 22px !important;
    box-sizing: border-box !important;
  }

  .project-title {
    font-size: 1.8rem !important;
    letter-spacing: 1.5px !important;
    margin-bottom: 8px !important;
  }

  .project-creator {
    margin-bottom: 20px !important;
  }

  /* BUG 3 FIX — stats: 2 columnas en tablet */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 16px !important;
  }

  /* Botones de navegación del hero carousel */
  .carousel-btn {
    width: 42px !important;
    height: 42px !important;
    font-size: 1.2rem !important;
  }

  /* Dots del hero carousel */
  .carousel-dots {
    margin-top: 20px !important;
    gap: 8px !important;
  }

  .dot {
    width: 28px !important;
    height: 3px !important;
  }

  .dot.active {
    width: 48px !important;
  }

  /* Botones prev/next ─ ajuste táctil */
  .page-market #prevBtn,
  .page-market #nextBtn,
  .carbon2o2_marketplace #prevBtn,
  .carbon2o2_marketplace #nextBtn {
    min-width: 70px !important;
    height: 46px !important;
    font-size: 15px !important;
    letter-spacing: 1px !important;
  }

  /* ── CARRUSEL NFTs ────────────────────────────────────────── */
  .featured-section {
    padding: 0 !important;
  }

  .section-header h2 {
    font-size: 22px !important;
  }

  /* NFT carousel wrapper: scroll horizontal con snap */
  .NFTs-carousel-wrapper {
    gap: 14px !important;
    padding: 4px 0 20px !important;
  }

  /* BUG 4 FIX — tarjetas más estrechas para que se vea la siguiente */
  .NFTs-nft-card {
    flex: 0 0 260px !important;
    min-width: 260px !important;
  }

  .NFTs-view-all-card {
    flex: 0 0 220px !important;
    min-width: 220px !important;
    min-height: 240px !important;
  }

  .NFTs-nft-image {
    height: 160px !important;
  }

  .NFTs-nft-title h3 {
    font-size: 14px !important;
  }

  /* Botones de navegación del carrusel NFTs */
  .NFTs-carousel-nav {
    margin-top: 16px !important;
    justify-content: center !important;
  }

  .NFTs-nav-btn {
    width: 44px !important;
    height: 44px !important;
    font-size: 20px !important;
  }

  /* ── TÍTULOS DE SECCIÓN ───────────────────────────────────── */
  .nfts-title-section {
    margin: 8% 0 3% !important;
  }

  .nfts-subtitle {
    margin-bottom: 4% !important;
    font-size: 13px !important;
  }

  /* ── GRID NFTs (si se usa en lugar del carrusel) ─────────── */
  .nft-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
}


/* ================================================================
   SECCIÓN 3 — MOBILE 767px (smartphones en general)
   ================================================================ */
@media screen and (max-width: 767px) {

  /* ── PAGE WRAPPER ─────────────────────────────────────────── */
  .page-market {
    padding: 5% 3% !important;
  }

  /* ── HERO SECTION ─────────────────────────────────────────── */
  .hero-section {
    gap: 18px !important;
    margin-bottom: 28px !important;
  }

  .hero-section h1 {
    font-size: 1.7rem !important;
  }

  /* ── CARRUSEL HERO ────────────────────────────────────────── */
  .carousel-card {
    min-height: 320px !important;
    border-radius: 10px !important;
  }

  .carousel-card .content {
    min-height: 320px !important;
    padding: 22px 18px !important;
  }

  .project-title {
    font-size: 1.5rem !important;
    letter-spacing: 1px !important;
  }

  /* Stats: 2 columnas ajustadas */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 14px !important;
  }

  .stat-value {
    font-size: 1rem !important;
  }

  .stat-label {
    font-size: 0.7rem !important;
  }

  /* Flechas del hero: más pegadas al borde */
  .carousel-controls {
    padding: 0 8px !important;
  }

  .carousel-btn {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.1rem !important;
  }

  /* ── CARRUSEL NFTs ────────────────────────────────────────── */

  /* Tarjetas: un poco más angostas, se ve el borde de la siguiente */
  .NFTs-nft-card {
    flex: 0 0 240px !important;
    min-width: 240px !important;
  }

  .NFTs-view-all-card {
    flex: 0 0 200px !important;
    min-width: 200px !important;
  }

  .NFTs-nft-image {
    height: 150px !important;
  }

  .NFTs-nft-content {
    padding: 13px !important;
  }

  .NFTs-nft-title h3 {
    font-size: 13px !important;
  }

  .NFTs-view-all-content h3 {
    font-size: 16px !important;
  }

  .NFTs-view-all-content p {
    font-size: 12px !important;
  }

  /* ── GRID NFTs ────────────────────────────────────────────── */
  .nft-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  /* ── BOTONES PREV/NEXT ────────────────────────────────────── */
  .page-market #prevBtn,
  .page-market #nextBtn,
  .carbon2o2_marketplace #prevBtn,
  .carbon2o2_marketplace #nextBtn {
    min-width: 60px !important;
    height: 42px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
  }

  /* ── TÍTULOS ─────────────────────────────────────────────── */
  .section-header h2 {
    font-size: 20px !important;
  }

  .nfts-title-section h2,
  .nfts-title-section h3 {
    font-size: 18px !important;
  }
}


/* ================================================================
   SECCIÓN 4 — MOBILE 480px (smartphones pequeños)
   ================================================================ */
@media screen and (max-width: 480px) {

  /* ── PAGE WRAPPER ─────────────────────────────────────────── */
  .page-market {
    padding: 16px 12px !important;
  }

  /* ── HERO SECTION ─────────────────────────────────────────── */
  .hero-section h1 {
    font-size: 1.4rem !important;
    letter-spacing: 1px !important;
  }

  .hero-section p {
    font-size: 13px !important;
  }

  .btn-primary-market,
  .btn-connect-wallet {
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
  }

  /* ── CARRUSEL HERO ────────────────────────────────────────── */
  .carousel-card {
    min-height: 300px !important;
    border-radius: 8px !important;
  }

  .carousel-card .content {
    min-height: 300px !important;
    padding: 18px 14px !important;
  }

  .project-title {
    font-size: 1.2rem !important;
    letter-spacing: 0.5px !important;
  }

  .project-creator {
    font-size: 0.85rem !important;
    margin-bottom: 16px !important;
  }

  /* BUG 3 FIX completo — stats: 1 columna en pantallas muy pequeñas */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding: 12px !important;
  }

  /* Ocultar flechas del hero en pantallas muy pequeñas
     (el swipe táctil es suficiente) */
  .carousel-controls {
    display: none !important;
  }

  /* Dots más visibles como alternativa */
  .carousel-dots {
    margin-top: 14px !important;
  }

  .dot {
    width: 22px !important;
  }

  .dot.active {
    width: 36px !important;
  }

  /* ── CARRUSEL NFTs ────────────────────────────────────────── */
  .NFTs-carousel-wrapper {
    gap: 12px !important;
  }

  /* Tarjetas: dejan ver ~20px de la siguiente */
  .NFTs-nft-card {
    flex: 0 0 calc(85vw) !important;
    min-width: calc(85vw) !important;
    max-width: calc(85vw) !important;
  }

  .NFTs-view-all-card {
    flex: 0 0 160px !important;
    min-width: 160px !important;
  }

  .NFTs-nft-image {
    height: 140px !important;
  }

  .NFTs-nft-content {
    padding: 12px !important;
  }

  .NFTs-nft-title h3 {
    font-size: 12px !important;
  }

  /* Botones nav NFTs */
  .NFTs-carousel-nav {
    gap: 8px !important;
  }

  .NFTs-nav-btn {
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
  }

  /* ── GRID NFTs ────────────────────────────────────────────── */
  .nft-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* ── BOTONES PREV/NEXT ────────────────────────────────────── */
  .page-market #prevBtn,
  .page-market #nextBtn,
  .carbon2o2_marketplace #prevBtn,
  .carbon2o2_marketplace #nextBtn {
    min-width: 50px !important;
    height: 40px !important;
    font-size: 12px !important;
    letter-spacing: 0.5px !important;
  }

  /* ── TÍTULOS ─────────────────────────────────────────────── */
  .section-header h2 {
    font-size: 18px !important;
  }

  .nfts-title-section {
    margin: 10% 0 4% !important;
  }
}


/* ================================================================
   SECCIÓN 5 — SOPORTE TÁCTIL Y ACCESIBILIDAD
   ================================================================ */

/* Deslizamiento táctil fluido en todos los carruseles */
.carousel-wrapper,
.NFTs-carousel-wrapper {
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

/* Tap highlight removido en botones táctiles */
.carousel-btn,
.NFTs-nav-btn,
.dot,
.NFTs-nft-card,
.NFTs-view-all-card {
  -webkit-tap-highlight-color: transparent;
}

/* Tamaño mínimo táctil para todos los botones (WCAG 2.5.5) */
@media screen and (max-width: 991px) {
  .carousel-btn,
  .NFTs-nav-btn,
  .page-market #prevBtn,
  .page-market #nextBtn,
  .btn-primary-market,
  .btn-connect-wallet {
    min-height: 44px !important;
    min-width: 44px !important;
  }
}
