/* =========================================================
   VARIABLES
========================================================= */
:root{
  --green:#4ea93b;
  --gray:#7a7a7a;
  --bg:#0e0f10;
  --bg-soft:#141517;
  --text:#eaeaea;
  --muted:#b5b5b5;
  --border:rgba(255,255,255,.08);
  --radius:18px;
  --max:1200px;
}


*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family:Inter, system-ui, sans-serif;
  background:var(--bg);
  color:var(--text);
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

/* =========================================================
   LAYOUT
========================================================= */
.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 20px;
}

.section{
  padding:80px 0;
}

.grid{
  display:grid;
  gap:28px;
}

.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }

@media(max-width:900px){
  .grid-2,
  .grid-3{
    grid-template-columns:1fr;
  }
}

/* Section head (títulos) */
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:28px;
}

.section-title{
  font-family:"Space Grotesk",sans-serif;
  margin:0;
  font-size:28px;
  letter-spacing:.2px;
}

.section-subtitle{
  margin:10px 0 0;
  color:var(--muted);
  line-height:1.6;
}

/* =========================================================
   HEADER
========================================================= */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(14,15,16,.85);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
}

@media (max-width:900px){
  .site-header{
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
    background:rgba(14,15,16,.95);
  }
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:16px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;

  /* evita que el logo mueva el nav */
  width:280px;
  flex:0 0 280px;
}

@media (max-width:900px){
  .brand{
    width:auto;
    flex:1;
  }
}

/* LOGO ALIEN */
.logo{
  width:auto;
  height:auto;
  background:none;
  border:none;
  padding:0;
  display:flex;
  align-items:center;
  flex:0 0 auto;
}

.logo-img{
  width:64px;
  height:auto;
  image-rendering: pixelated;
  transition:transform .2s ease;
}

.logo:hover .logo-img{
  transform:scale(1.05);
}

@media (max-width:900px){
  .logo-img{ width:48px; }
}

.brand-name{
  font-family:"Space Grotesk",sans-serif;
  font-weight:700;
  letter-spacing:.4px;
}

/* NAV */
.desktop-nav{
  display:flex;
  align-items:center;
  gap:32px;
}

.desktop-nav a{
  font-size:16px;
  font-weight:600;
  letter-spacing:.3px;
  color:var(--muted);
  transition:color .2s ease;
}

.desktop-nav a:hover{
  color:var(--text);
}

/* Mobile nav */
.mobile-nav{ display:none; }
.menu-btn{
  display:none;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
  color:var(--text);
  font-weight:700;
  cursor:pointer;
}

@media (max-width:900px){
  .desktop-nav{ display:none; }
  .menu-btn{ display:inline-flex; align-items:center; justify-content:center; }

  .mobile-nav{
    display:none;
    padding:12px 0 18px;
    gap:10px;
    flex-direction:column;
  }

  .mobile-nav a{
    padding:12px 14px;
    border:1px solid var(--border);
    border-radius:14px;
    background:rgba(255,255,255,.03);
  }

  .mobile-nav.is-open{ display:flex; }
}

/* =========================================================
   HERO
========================================================= */
.hero{
  padding:100px 0 70px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:48px;
}

@media(max-width:900px){
  .hero-grid{
    grid-template-columns:1fr;
  }
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:14px;
  color:var(--muted);
}

.badge-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 0 6px rgba(78,169,59,.25);
}

.hero-title{
  font-family:"Space Grotesk",sans-serif;
  font-size:clamp(38px,5vw,56px);
  line-height:1.05;
  margin:22px 0;
}

.hero-title span{
  color:var(--green);
}

.hero-lead{
  color:var(--muted);
  max-width:520px;
  line-height:1.6;
}

.hero-actions{
  margin-top:30px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

/* KPIs spacing */
.hero-kpis{
  margin-top:40px;
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

.kpi{
  color:var(--muted);
}


.hero-card{
  border-radius:var(--radius);
  overflow:hidden;
}

.alien-hero{
  display:flex;
  align-items:center;
  justify-content:center;
  height:420px;
  background:radial-gradient(circle at center, rgba(78,169,59,.25), transparent 65%);
}

.alien-img{
  width:240px;
  height:auto;
  image-rendering: pixelated;
  filter:
    drop-shadow(0 0 18px rgba(78,169,59,.35))
    drop-shadow(0 0 36px rgba(78,169,59,.18));
  user-select:none;
}

@media(max-width:900px){
  .alien-hero{ height:320px; }
  .alien-img{ width:190px; }
}

/* =========================================================
   TRUST STRIP ====================== */
.trust{
  padding:22px 0;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  background:rgba(255,255,255,.02);
}

.trust-inner{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
}

.trust-item{
  color:var(--muted);
  font-weight:700;
  font-size:13px;
  padding:8px 12px;
  border:1px solid var(--border);
  border-radius:999px;
  background:rgba(255,255,255,.02);
}

/* =========================================================
   BOTONES
========================================================= */
.btn{
  padding:14px 22px;
  border-radius:16px;
  font-weight:700;
  border:1px solid var(--border);
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}

.btn-primary{
  background:var(--green);
  color:#0b0d0b;
}

.btn-ghost{
  background:transparent;
  color:var(--text);
}

/* =========================================================
   CARDS GENERALES
========================================================= */
.card{
  background:linear-gradient(180deg,#151618,#0f1011);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:24px;
}

/* =========================================================
   COLECCIONES – CARDS
========================================================= */
#colecciones .section-head{
  margin-bottom:40px;
}

#colecciones .grid{
  gap:36px;
}

.collection-card,
.feature-card{
  padding:32px;
  transition:transform .2s ease, border-color .2s ease;
}

.collection-card:hover,
.feature-card:hover{
  transform:translateY(-4px);
  border-color:rgba(78,169,59,.35);
}

.collection-card .icon,
.feature-card .icon{
  font-size:22px;
  margin-bottom:14px;
  opacity:.9;
}

.collection-card h3,
.feature-card h3{
  font-family:"Space Grotesk",sans-serif;
  font-size:20px;
  margin:0 0 10px;
}

.collection-card p,
.feature-card p{
  color:var(--muted);
  line-height:1.6;
  margin:0;
}

.collection-card .link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:18px;
  color:var(--text);
}

.collection-card .link::after{
  content:"→";
  transition:transform .2s ease;
}

.collection-card:hover .link::after{
  transform:translateX(4px);
}

/* =========================================================
   PRODUCTOS 
========================================================= */
.products-grid .product-card{
  padding:0;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  cursor:pointer;
}

.product-image{
  height:360px;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

.product-body{
  padding:22px;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.product-name{
  font-family:"Space Grotesk",sans-serif;
  font-size:20px;
  margin:0;
}

.product-desc{
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
  margin:0;
}

.product-meta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}

.product-price{
  font-weight:800;
  font-size:18px;
  color:var(--green);
}

.product-badge{
  font-size:12px;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  color:var(--gray);
}

/* Para que el botón dentro de la card no “robe” clicks */
.product-card{
  cursor:pointer;
}

.product-actions{
  margin-top:10px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.product-actions .btn{
  flex:1;
  text-align:center;
}
.cart-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.cart-count{
  min-width:20px;
  padding:2px 6px;
  border-radius:999px;
  background:var(--green);
  color:#0b0d0b;
  font-size:12px;
  text-align:center;
}
/* =====================================
   IMÁGENES DE PORTADA – PRODUCTS GRID
===================================== */

/* AC */
.gal-ac .product-image{
  background-image:url("./remeras/ac1.jpeg");
}

/* PREDATOR */
.gal-pred .product-image{
  background-image:url("./remeras/PRED1.jpeg");
}

/* JJK / ITADORI */
.gal-ita .product-image{
  background-image:url("./remeras/ITA1.jpeg");
}
/* DS / JEFES */
.gal-ds .product-image{
  background-image:url("./remeras/DS1.jpeg");
}
/* CS / SKINS */
.gal-cs .product-image{
  background-image:url("./remeras/CS1.jpeg");
}
/* =========================================================
   GALERÍA MODAL
========================================================= */
.gallery-modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:1000;
}

.gallery-modal.active{
  display:block;
}

.gallery-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.75);
}

.gallery-content{
  position:relative;
  max-width:900px;
  margin:5vh auto;
  background:#0e0f10;
  border-radius:18px;
  padding:20px;
  z-index:1;
  border:1px solid var(--border);
}

.gallery-close{
  position:absolute;
  top:12px;
  right:12px;
  background:none;
  border:none;
  color:#fff;
  font-size:24px;
  cursor:pointer;
}

.gallery-main{
  height:420px;
  border-radius:14px;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
  background-color:#0b0c0d;
  margin-bottom:16px;
}

.gallery-thumbs{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}

.gallery-thumbs img{
  width:80px;
  height:80px;
  object-fit:cover;
  border-radius:10px;
  cursor:pointer;
  opacity:.7;
  border:2px solid transparent;
}

.gallery-thumbs img:hover{
  opacity:1;
  border-color:var(--green);
}

/* =========================================================
   COMO COMPRAR 
========================================================= */
.steps{
  list-style:none;
  padding:0;
  margin:28px 0 0;
  display:grid;
  gap:18px;
}

.step{
  position:relative;
  display:flex;
  gap:18px;
  align-items:flex-start;
  padding:28px;
  transition:transform .2s ease, border-color .2s ease;
}

.step:hover{
  transform:translateY(-3px);
  border-color:rgba(78,169,59,.35);
}

.step-num{
  width:44px;
  height:44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  font-weight:800;
  color:#0b0d0b;
  background:var(--green);
  flex:0 0 44px;
  box-shadow:0 0 0 6px rgba(78,169,59,.18);
}

.step::after{
  content:"";
  position:absolute;
  left:50px;
  top:72px;
  bottom:-18px;
  width:2px;
  background:rgba(255,255,255,.08);
}

.step:last-child::after{
  display:none;
}

.step-body h3{
  font-family:"Space Grotesk",sans-serif;
  margin:2px 0 10px;
  font-size:20px;
}

.step-body p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}

@media (max-width:700px){
  .step{ padding:22px; }
  .step::after{ left:44px; }
}

/* =========================================================
   OPINIONES
========================================================= */
.opiniones-grid{
  display:grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap:18px;
  margin-top:22px;

  max-width: 980px;
  margin-left:auto;
  margin-right:auto;
}

@media (max-width:900px){
  .opiniones-grid{ grid-template-columns:1fr; }
}

.opiniones-card{
  background:linear-gradient(180deg,#151618,#0f1011);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:22px;
}

.opiniones-title{
  font-family:"Space Grotesk",sans-serif;
  margin:0 0 14px;
  font-size:18px;
}

.rating-block{
  margin-bottom:16px;
}

.rating-label{
  margin:0 0 10px;
  font-weight:700;
  color:var(--muted);
  font-size:13px;
}

.rating-hearts{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

.heart-btn{
  appearance:none;
  border:none;
  background:transparent;
  padding:0;
  cursor:pointer;
  border-radius:10px;
  transition: transform .15s ease, filter .2s ease;
}

.heart-btn:focus-visible{
  outline:2px solid rgba(78,169,59,.65);
  outline-offset:4px;
}

.heart-img{
  width:28px;
  height:28px;
  object-fit:contain;
  display:block;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 10px rgba(229,57,53,.18));
}

.heart-btn:hover{
  transform: translateY(-2px);
  filter: drop-shadow(0 0 12px rgba(229,57,53,.30));
}

.rating-hint{
  margin:10px 0 0;
  font-size:12px;
  color:var(--muted);
}

.field{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:14px;
}

.field span{
  font-size:13px;
  color:var(--muted);
  font-weight:700;
}

.field input,
.field textarea{
  width:100%;
  background:transparent;
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px 14px;
  color:var(--text);
  font-family:Inter, system-ui, sans-serif;
}

.field input:focus,
.field textarea:focus{
  outline:none;
  border-color:rgba(78,169,59,.6);
}

#reviewText{
  min-height: 90px;
  resize: vertical;
}

.review-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:8px;
}

.reviews-list{
  display:grid;
  gap:14px;
}

.review-item{
  border:1px solid var(--border);
  border-radius:16px;
  padding:14px;
  background:rgba(255,255,255,.02);
}

.review-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
}

.review-name{
  font-weight:800;
}

.review-date{
  font-size:12px;
  color:var(--muted);
}

.review-rating{
  display:flex;
  gap:6px;
  margin:8px 0 10px;
  align-items:center;
}

.review-rating img{
  width:18px;
  height:18px;
  display:block;
  image-rendering: pixelated;
}

.review-text{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}

.mini-note{
  margin:14px 0 0;
  font-size:12px;
  color:var(--muted);
}

/* =========================================================
   FAQ 
========================================================= */
.faq-grid{
  gap:24px;
}

/* pregunta */
.faq-question{
  width:100%;
  background:none;
  border:none;
  color:var(--text);
  font-family:"Space Grotesk",sans-serif;
  font-size:18px;
  font-weight:600;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  cursor:pointer;
  padding:0;
}

.faq-icon{
  font-size:22px;
  color:var(--green);
  transition:transform .25s ease;
}

/* respuesta */
.faq-answer{
  max-height:0;
  overflow:hidden;
  transition:max-height .3s ease;
}

.faq-answer p{
  margin-top:16px;
  color:var(--muted);
  line-height:1.6;
}

/* estado abierto */
.faq-item.open .faq-answer{
  max-height:200px;
}

.faq-item.open .faq-icon{
  transform:rotate(45deg);
}

/* hover como el resto */
.faq-item{
  transition:transform .2s ease, border-color .2s ease;
}

.faq-item:hover{
  transform:translateY(-3px);
  border-color:rgba(78,169,59,.35);
}

/* =========================================================
   CONTACTO 
========================================================= */
.contact-main{
  max-width:680px;
  margin:0 auto;
  text-align:center;
  padding:36px;
}

.contact-info h3{
  font-family:"Space Grotesk",sans-serif;
  font-size:22px;
  margin:0 0 20px;
}

.contact-list{
  list-style:none;
  padding:0;
  margin:0 0 22px;
  display:grid;
  gap:12px;
}

.contact-list li{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.contact-list strong{
  font-size:13px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.6px;
}

.contact-list span{
  font-size:16px;
}

.contact-note{
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
  margin:0 0 26px;
}

.contact-actions{
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}

@media (max-width:700px){
  .contact-main{
    padding:28px 22px;
  }
}

/* =========================================================
   FOOTER 
========================================================= */
.site-footer{
  margin-top:80px;
  padding:50px 0 24px;
  border-top:1px solid var(--border);
  background:linear-gradient(180deg,#0f1011,#0b0c0d);
  color:var(--muted);
}

.footer-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1.2fr;
  gap:32px;
  align-items:center;
}

.footer-brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.footer-logo{
  width:42px;
  image-rendering:pixelated;
  filter:drop-shadow(0 0 10px rgba(78,169,59,.35));
}

.footer-brand-text strong{
  font-family:"Space Grotesk",sans-serif;
  font-size:18px;
  display:block;
  color:var(--text);
}

.footer-brand-text span{
  font-size:13px;
  color:var(--muted);
}

.footer-links{
  display:flex;
  justify-content:center;
  gap:22px;
  flex-wrap:wrap;
}

.footer-links a{
  font-size:14px;
  color:var(--muted);
  transition:color .2s ease;
}

.footer-links a:hover{
  color:var(--green);
}

.footer-info{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:flex-end;
  font-size:14px;
  color:var(--muted);
}

.footer-info a{
  color:var(--muted);
  transition:color .2s ease;
}

.footer-info a:hover{
  color:var(--green);
}

.footer-bottom{
  margin-top:36px;
  padding-top:18px;
  border-top:1px solid var(--border);
  text-align:center;
  font-size:12px;
  color:var(--muted);
}

@media(max-width:900px){
  .footer-grid{
    grid-template-columns:1fr;
    text-align:center;
  }

  .footer-info{
    align-items:center;
  }
}


.btn-wa {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 3px 6px rgba(0,0,0,.3);
}
.btn-wa:hover { transform: scale(1.1); }
.wa-icon { width: 33px; height: 33px; }
/* ====================================================================
   REMERA PERSONALIZADA 
==================================================================== */

/* --- Scope solo dentro del main para que no interfiera con otras páginas --- */
main .section{
  padding:80px 0;
}

main .section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  flex-wrap:wrap;
  gap:18px;
  margin-bottom:32px;
}

main .section-title{
  font-family:"Space Grotesk",sans-serif;
  font-size:28px;
  margin:0 0 6px;
}

main .section-subtitle{
  margin:0;
  color:var(--muted);
  font-size:14px;
  max-width:520px;
}

/* ======= CARD ======== */
main .card{
  background:linear-gradient(180deg,#151618,#0f1011);
  border-radius:var(--radius);
  border:1px solid var(--border);
  padding:28px;
}

main .card h3{
  margin:0 0 18px;
  font-family:"Space Grotesk",sans-serif;
  font-size:20px;
}

/* ======= FORM ======== */
.custom-form{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.custom-form label{
  font-weight:600;
  font-size:13px;
  color:var(--text);
}

.custom-form input[type="text"],
.custom-form select,
.custom-form textarea{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
  color:var(--text);
  font-size:14px;
  outline:none;
}

.custom-form textarea{
  resize:vertical;
  min-height:90px;
}

.custom-form input[type="text"]::placeholder,
.custom-form textarea::placeholder{
  color:var(--gray);
}

/* SELECT flecha */
.custom-form select{
  appearance:none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--green) 50%),
    linear-gradient(135deg, var(--green) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50%;
  background-size:6px 6px, 6px 6px;
  background-repeat:no-repeat;
  padding-right:40px;
}

.custom-form input[type="file"]{
  padding:6px 0;
  border:none;
  font-size:13px;
  color:var(--muted);
}

/* focus */
.custom-form input:focus,
.custom-form select:focus,
.custom-form textarea:focus{
  border-color:rgba(78,169,59,.7);
  box-shadow:0 0 0 2px rgba(78,169,59,.25);
}

/* acciones */
.custom-actions{
  margin-top:8px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

/* ======= REF GRID ======== */
#refGrid{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
}

#refGrid img{
  width:100%;
  height:170px;
  object-fit:cover;
  border-radius:14px;
  border:1px solid var(--border);
  background:#000;
}

/* mensaje extra */
.notice p{
  font-size:13px;
  color:var(--muted);
  line-height:1.5;
}

/* ======= RESPONSIVE ======== */
@media(max-width:900px){
  main .section{
    padding:60px 0;
  }

  main .section-head{
    align-items:flex-start;
  }
}

@media(max-width:700px){
  #refGrid{
    grid-template-columns:1fr;
  }

  main .card{
    padding:22px;
  }
}
.checkout-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:36px;
  margin-top:32px;
}
.checkout-left, .checkout-right{
  padding:28px;
  display:flex;
  flex-direction:column;
  gap:16px;
}
.item-line{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.item-line input,
.item-line select{
  padding:10px 12px;
  border-radius:14px;
  background:rgba(255,255,255,.05);
  border:1px solid var(--border);
  color:var(--text);
}
.checkout-right h3{
  margin-top:16px;
  font-size:22px;
  font-family:"Space Grotesk",sans-serif;
}
@media(max-width:900px){
  .checkout-grid{
    grid-template-columns:1fr;
  }
}
/* ===================================================================
    CHECKOUT 
=================================================================== */

.checkout-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  margin-top: 48px;
  align-items: flex-start;
}

.checkout-left,
.checkout-right {
  padding: 32px;
  border-radius: var(--radius);
  background: linear-gradient(190deg, #161718, #0d0e0f);
  border: 1px solid rgba(255,255,255,.05);
  box-shadow: 0 4px 18px rgba(0,0,0,.4);
}

.checkout-left h2,
.checkout-right h2 {
  margin-bottom: 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
}

.totals {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.totals p,
.totals h3 {
  display: flex;
  justify-content: space-between;
  margin: 6px 0;
  font-size: 15px;
}

.totals h3 {
  font-size: 20px;
  margin-top: 10px;
  color: var(--green);
  font-weight: 800;
}

#cartList {
  display: grid;
  gap: 12px;
  margin: 14px 0 18px;
}

#cartList .item-line {
  padding: 12px 14px;
  background: rgba(255,255,255,.04);
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 15px;
}

/* 🔳 Campos & Selects */
.item-line input,
.item-line select,
#payMethod,
#shippingSelect {
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 15px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.08);
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.item-line input:focus,
.item-line select:focus,
#payMethod:focus,
#shippingSelect:focus {
  border-color: rgba(78,169,59,.65);
  box-shadow: 0 0 0 2px rgba(78,169,59,.25);
}

/* Desplegables visibles */
select {
  background-color: rgba(255,255,255,.1);
  color: var(--text);
}

/* Métodos de Pago */
.pay-area {
  margin-top: 14px;
  display: grid;
  gap: 10px;
  font-size: 14px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.02);
}

.pay-area b {
  color: var(--green);
}

.hidden {
  display: none;
}

/* Botón Final */
#finishOrder {
  margin-top: 22px;
  font-size: 18px;
  width: 100%;
  border-radius: 14px;
  padding: 14px;
}

/* 🎨 Alien Art Area */
.checkout-art {
  border-radius: var(--radius);
  background: radial-gradient(circle at center, rgba(78,169,59,.15), transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border: 1px solid rgba(255,255,255,.05);
  box-shadow: 0 0 32px rgba(0,0,0,.45);
}

.alien-glow {
  width: 280px;
  filter:
    drop-shadow(0 0 30px rgba(78,169,59,.6))
    drop-shadow(0 0 80px rgba(78,169,59,.25));
  animation: pulseAlien 4s ease-in-out infinite;
}

/* Sutil respiración neon */
@keyframes pulseAlien {
  0% { transform: scale(1); filter: drop-shadow(0 0 26px rgba(78,169,59,.6)); }
  50% { transform: scale(1.04); filter: drop-shadow(0 0 32px rgba(78,169,59,1)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 26px rgba(78,169,59,.6)); }
}

/* Mobile */
@media (max-width: 900px) {
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .checkout-art {
    order: -1;
    margin-bottom: 16px;
  }
}
/* ================================
   SELECT
   ================================ */

/* Color del cuadro */
select {
  background-color: #111;
  color: #eaeaea;
}

/* Color del menú abierto */
select option {
  background-color: #111;   /* Fondo */
  color: #eaeaea;           /* Texto */
}

/* Hover de opciones */
select option:hover {
  background-color: #222;
  color: var(--green);
}

/* Para Windows */
select::-ms-expand {
  background: transparent;
  border: none;
}
/* =====================================
   FORMULARIO TARJETA 
   ===================================== */
.card-form {
  background: #0d0d0d;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #222;
  box-shadow: 0 0 12px rgba(0,255,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 12px;
}

/* Etiquetas */
.card-form label {
  font-size: 0.87rem;
  font-weight: 600;
  color: #eaeaea;
}

/* Campos */
.card-form input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  background: #111;
  border: 1px solid #333;
  color: #eaeaea;
  font-size: 0.95rem;
  transition: border 0.2s, box-shadow 0.2s;
  outline: none;
}

/* Hover */
.card-form input:hover {
  border-color: #4cff4c;
}

/* Focus */
.card-form input:focus {
  border-color: #00ff00;
  box-shadow: 0 0 6px rgba(0,255,0,0.5);
}

/* Dos inputs en fila */
.card-row {
  display: flex;
  gap: 16px;
}
.card-row .field {
  flex: 1;
}

/* Mobile fix */
@media (max-width: 600px) {
  .card-row {
    flex-direction: column;
    gap: 12px;
  }
}
/* =========================================================
   CHECKOUT – LAYOUT 
========================================================= */
.checkout-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:32px;
  margin-top:32px;
}

.checkout-left,
.checkout-summary{
  padding:28px;
  display:flex;
  flex-direction:column;
  gap:18px;
}

.checkout-left h2,
.checkout-summary h2{
  font-family:"Space Grotesk",sans-serif;
  font-size:22px;
  margin:0 0 10px;
}

.item-line{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.item-line label{
  font-size:13px;
  font-weight:600;
  color:var(--muted);
}

.item-line input,
.item-line select{
  padding:11px 12px;
  border-radius:14px;
  background:#141517;
  border:1px solid var(--border);
  color:var(--text);
  font-size:14px;
}

.item-line input::placeholder{
  color:var(--gray);
}

/* selects + opciones más legibles */
.item-line select,
.item-line select option{
  background-color:#141517;
  color:var(--text);
}

/* botón principal ancho */
.btn-full{
  width:100%;
  justify-content:center;
}

/* caja de pago (tarjeta / transferencia) */
.pay-box{
  margin-top:10px;
  padding:16px 16px 18px;
  border-radius:16px;
  background:rgba(255,255,255,.02);
  border:1px solid var(--border);
}

.pay-box h3{
  margin:0 0 10px;
  font-family:"Space Grotesk",sans-serif;
  font-size:18px;
}

.transfer-data{
  list-style:none;
  padding:0;
  margin:0 0 8px;
  display:grid;
  gap:6px;
  font-size:14px;
}

.transfer-data strong{
  color:var(--text);
}

/* tarjeta: logos + form */
.card-logos{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:14px;
}

.card-logo{
  padding:6px 10px;
  border-radius:10px;
  border:1px solid var(--border);
  background:rgba(82, 81, 81, 0.3);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:.6;
  transition:opacity .2s ease, border-color .2s ease, box-shadow .2s ease, transform .15s ease;
}

.card-logo img{
  height:32px;
  width:auto;
  display:block;
}

.card-logo.active{
  opacity:1;
  border-color:rgba(78,169,59,.8);
  box-shadow:0 0 0 1px rgba(78,169,59,.6);
  transform:translateY(-1px);
}

.card-form .field{
  margin-bottom:10px;
}

.card-fields-row{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:10px;
}

/* mini textos */
.mini-note{
  font-size:12px;
  color:var(--muted);
  margin-top:6px;
}

/* resumen del carrito */
.cart-list{
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.02);
  padding:12px 14px;
  display:grid;
  gap:8px;
  max-height:260px;
  overflow:auto;
}

.cart-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-size:14px;
}

.cart-item-name{
  flex:1;
}

.cart-item-price{
  font-weight:700;
  color:var(--green);
}

.totals{
  margin-top:12px;
  border-top:1px solid var(--border);
  padding-top:12px;
  font-size:15px;
}

.totals p{
  margin:0 0 4px;
}

.totals h3{
  margin:10px 0 0;
  font-size:18px;
}

/* ALIEN checkout */
.checkout-right{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.checkout-alien{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
}

.alien-circle{
  width:190px;
  height:190px;
  border-radius:50%;
  background:radial-gradient(circle at center, rgba(78,169,59,.45), transparent 65%);
  display:grid;
  place-items:center;
  border:1px solid rgba(78,169,59,.6);
  box-shadow:
    0 0 25px rgba(78,169,59,.45),
    0 0 60px rgba(78,169,59,.35);
}

.alien-checkout-img{
  width:110px;
  image-rendering:pixelated;
  filter:
    drop-shadow(0 0 18px rgba(78,169,59,.45))
    drop-shadow(0 0 30px rgba(78,169,59,.35));
}

.alien-caption{
  font-size:13px;
  color:var(--muted);
}

/* responsive */
@media(max-width:900px){
  .checkout-grid{
    grid-template-columns:1fr;
  }

  .checkout-right{
    order:-1;
  }

  .cart-list{
    max-height:none;
  }
}
.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 2rem;
}

.cart-item {
  background: #111;
  border: 1px solid #222;
  border-radius: .5rem;
  padding: .75rem 1rem;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1rem;
}

.cart-item span {
  font-size: .95rem;
}

.remove-item {
  background: transparent;
  border: none;
  color: #ff6b6b;
  font-size: 1.1rem;
  cursor: pointer;
}

.remove-item:hover {
  color: #ff2e2e;
}

.cart-totals .line {
  display: flex;
  justify-content: space-between;
  padding: .25rem 0;
}

.cart-totals .total {
  font-size: 1.2rem;
  border-top: 1px solid #444;
  margin-top: .5rem;
  padding-top: .5rem;
}

.checkout-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}
/* =========================================================
    CHECKOUT — UBICACIÓN 
========================================================= */

.location-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 12px;
}

@media(max-width: 700px) {
  .location-grid {
    grid-template-columns: 1fr;
  }
}

/* Etiquetas provinciales */
#provinceSelect,
#postalCode {
  padding: 11px 12px;
  border-radius: 14px;
  background: #141517;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
}

/* Placeholder */
#postalCode::placeholder {
  color: var(--gray);
}

/* Hover + Focus */
#provinceSelect:hover,
#postalCode:hover {
  border-color: rgba(78,169,59,.4);
}

#provinceSelect:focus,
#postalCode:focus {
  outline: none;
  border-color: rgba(78,169,59,.7);
  box-shadow: 0 0 0 2px rgba(78,169,59,.25);
}

/* Options */
#provinceSelect option {
  background-color: #141517;
  color: var(--text);
}

/* ============================
    Select flecha visible
============================ */
#provinceSelect {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--green) 50%),
    linear-gradient(135deg, var(--green) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

/* =========================================================
    Estilo del mensaje dinámico de envío
========================================================= */

.shipping-note {
  font-size: 12px;
  color: var(--muted);
  opacity: .8;
  line-height: 1.4;
  margin-top: 4px;
}
.thankyou {
  padding: 4rem 0;
  text-align: center;
}
.thankyou-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
.thankyou-logo {
  width: 120px;
  margin-bottom: 1rem;
  opacity: .9;
}
.thankyou h2 {
  font-size: 2rem;
  margin-bottom: .5rem;
}
