/* ═══════════════════════════════════════════════════
   VARIABLES & RESET
═══════════════════════════════════════════════════ */
:root {
  --or:   #F97316;
  --ord:  #EA6C05;
  --dark: #111827;
  --mid:  #374151;
  --mu:   #6B7280;
  --bg:   #F3F4F6;
  --card: #FFFFFF;
  --brd:  #E5E7EB;
  --grn:  #16A34A;
  --red:  #DC2626;
  --rad:  14px;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{font-family:'DM Sans',sans-serif;color:var(--dark);background:var(--bg);overflow-x:hidden;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}

/* ═══════════════════════════════════════════════════
   TOP BAR + NAV
═══════════════════════════════════════════════════ */
.cc-topbar{background:var(--dark);color:#fff;text-align:center;padding:8px 20px;font-size:11px;font-weight:500;letter-spacing:.08em;}
.cc-topbar a{color:var(--or);font-weight:700;}

.cc-nav{
  position:sticky;top:0;z-index:300;
  background:rgba(255,255,255,.97);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid var(--brd);
  display:flex;align-items:center;
  padding:0 40px;height:80px;
}
.cc-logo{display:flex;align-items:center;flex-shrink:0;}
.cc-logo img{height:54px;width:auto;display:block;}

.cc-nav-right{margin-left:auto;display:flex;align-items:center;gap:16px;}

.cc-nav-search{width:260px;position:relative;flex-shrink:0;}
.cc-nav-search input{
  width:100%;padding:9px 16px 9px 40px;
  border:1.5px solid var(--brd);border-radius:999px;
  font-size:13px;font-family:'DM Sans',sans-serif;
  background:#f9fafb;color:var(--dark);outline:none;
  transition:border-color .2s,background .2s;
}
.cc-nav-search input:focus{border-color:var(--or);background:#fff;}
.cc-nav-search svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:15px;height:15px;stroke:var(--mu);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;}

.cc-nav-links{display:flex;gap:4px;list-style:none;}
.cc-nav-links a{font-size:13px;color:var(--mid);font-weight:500;padding:7px 14px;border-radius:999px;transition:background .2s,color .2s;white-space:nowrap;}
.cc-nav-links a:hover{background:#f5f5f0;color:var(--or);}

.cc-nav-cta{background:var(--or);color:#fff;font-size:13px;font-weight:700;padding:10px 20px;border-radius:999px;transition:background .2s;white-space:nowrap;flex-shrink:0;}
.cc-nav-cta:hover{background:var(--ord);}

.cc-hamburger{display:none;flex-direction:column;justify-content:center;gap:5px;cursor:pointer;padding:10px;background:none;border:none;border-radius:8px;}
.cc-hamburger:hover{background:#f3f4f6;}
.cc-hamburger span{display:block;width:24px;height:2px;background:var(--dark);border-radius:2px;transition:all .3s;}

/* Menú móvil */
.cc-mobile-menu{
  display:none;position:fixed;top:80px;left:0;right:0;bottom:0;
  background:#fff;z-index:299;
  flex-direction:column;overflow-y:auto;
}
.cc-mobile-menu.open{display:flex;}
.cc-mobile-menu a{
  font-size:16px;color:var(--dark);font-weight:500;
  padding:18px 24px;border-bottom:1px solid #f3f4f6;
  display:flex;align-items:center;gap:12px;
  transition:background .15s,color .15s;
}
.cc-mobile-menu a:hover{background:#f9fafb;color:var(--or);}
.cc-mobile-menu a:last-child{
  border-bottom:none;margin:16px;border-radius:12px;
  background:var(--or);color:#fff;font-weight:700;font-size:15px;
  justify-content:center;padding:16px 24px;
}
.cc-mobile-menu a:last-child:hover{background:var(--ord);}

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.cc-hero{
  position:relative;overflow:hidden;
  padding:90px 40px 70px;
  text-align:center;
  min-height:560px;
  display:flex;align-items:center;justify-content:center;
  /* fallback si la imagen no carga */
  background-color:#111827;
}
/* Overlay oscuro encima de la imagen de fondo */
.cc-hero::before{
  content:'';
  position:absolute;top:0;left:0;right:0;bottom:0;
  background:rgba(8,12,20,.60);
  z-index:0;
  pointer-events:none;
}
/* Toque naranja en la base */
.cc-hero::after{
  content:'';
  position:absolute;top:0;left:0;right:0;bottom:0;
  background:radial-gradient(ellipse 70% 40% at 50% 100%,rgba(249,115,22,.20) 0%,transparent 65%);
  z-index:0;
  pointer-events:none;
}
/* Contenido sobre la imagen */
.cc-hero-content{
  position:relative;z-index:1;
  max-width:700px;width:100%;
  text-align:center;
  margin:0 auto;
}

.cc-hero-label{font-size:12px;font-weight:700;letter-spacing:.12em;color:var(--or);text-transform:uppercase;margin-bottom:14px;}
.cc-hero-title{font-family:'Bebas Neue',sans-serif;font-size:clamp(48px,7vw,90px);color:#fff;line-height:.95;margin-bottom:18px;}
.cc-hero-title span{color:var(--or);}
.cc-hero-sub{font-size:17px;color:rgba(255,255,255,.78);max-width:520px;margin:0 auto 32px;line-height:1.6;}

.cc-hero-search{
  display:flex;max-width:560px;margin:0 auto 28px;
  background:#fff;border-radius:999px;overflow:hidden;
  box-shadow:0 8px 40px rgba(0,0,0,.45);
}
.cc-hero-search input{
  flex:1;border:none;outline:none;padding:16px 22px;
  font-size:15px;font-family:'DM Sans',sans-serif;color:var(--dark);
  background:transparent;
}
.cc-hero-search button{
  background:var(--or);color:#fff;border:none;cursor:pointer;
  padding:0 30px;font-size:14px;font-weight:700;font-family:'DM Sans',sans-serif;
  transition:background .2s;white-space:nowrap;
}
.cc-hero-search button:hover{background:var(--ord);}

.cc-hero-types{display:flex;gap:10px;justify-content:center;margin-bottom:32px;flex-wrap:wrap;}
.cc-hero-type-btn{
  display:flex;align-items:center;gap:8px;
  padding:10px 22px;border-radius:999px;border:1.5px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.10);color:#fff;font-size:13px;font-weight:600;
  cursor:pointer;transition:all .2s;font-family:'DM Sans',sans-serif;
  backdrop-filter:blur(4px);
}
.cc-hero-type-btn:hover,.cc-hero-type-btn.active{background:var(--or);border-color:var(--or);}
.cc-hero-type-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}

.cc-hero-stats{display:flex;gap:36px;justify-content:center;flex-wrap:wrap;}
.cc-hero-stat{text-align:center;}
.cc-hero-stat-val{font-family:'Bebas Neue',sans-serif;font-size:32px;color:#fff;line-height:1;}
.cc-hero-stat-lbl{font-size:11px;color:rgba(255,255,255,.6);margin-top:3px;}

/* ═══════════════════════════════════════════════════
   TYPE QUICK FILTER BAR
═══════════════════════════════════════════════════ */
.cc-type-bar{
  background:#fff;border-bottom:1px solid var(--brd);
  display:flex;align-items:center;gap:8px;padding:12px 40px;
  overflow-x:auto;
}
.cc-type-bar-btn{
  display:flex;align-items:center;gap:6px;
  padding:7px 18px;border-radius:999px;border:1.5px solid var(--brd);
  background:#fff;color:var(--mid);font-size:13px;font-weight:600;
  cursor:pointer;transition:all .2s;white-space:nowrap;font-family:'DM Sans',sans-serif;
  text-decoration:none;
}
.cc-type-bar-btn:hover{border-color:var(--or);color:var(--or);}
.cc-type-bar-btn.active{background:var(--or);border-color:var(--or);color:#fff;}
.cc-type-bar-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.cc-type-bar-label{font-size:12px;font-weight:600;color:var(--mu);white-space:nowrap;margin-right:4px;}

/* ═══════════════════════════════════════════════════
   MAIN LAYOUT: LISTINGS + FILTER SIDEBAR
═══════════════════════════════════════════════════ */
.cc-main-wrap{
  max-width:1320px;margin:0 auto;
  display:grid;grid-template-columns:1fr 320px;
  gap:24px;padding:28px 40px 60px;align-items:start;
}
.cc-listings{min-width:0;}
.cc-sidebar{position:sticky;top:80px;}

/* ═══════════════════════════════════════════════════
   LISTINGS BAR
═══════════════════════════════════════════════════ */
.cc-listings-bar{
  display:flex;align-items:center;justify-content:space-between;
  margin-bottom:16px;flex-wrap:wrap;gap:10px;
}
.cc-listings-count{font-size:14px;color:var(--mu);}
.cc-listings-count strong{color:var(--dark);font-weight:700;}
.cc-sort-wrap{display:flex;align-items:center;gap:8px;}
.cc-sort-wrap label{font-size:13px;color:var(--mu);}
.cc-sort-select{
  border:1.5px solid var(--brd);border-radius:8px;padding:7px 12px;
  font-size:13px;font-family:'DM Sans',sans-serif;color:var(--dark);
  background:#fff;outline:none;cursor:pointer;
}
.cc-sort-select:focus{border-color:var(--or);}

/* ═══════════════════════════════════════════════════
   LISTING GRID
═══════════════════════════════════════════════════ */
.cc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;}

.cc-no-results{
  grid-column:1/-1;text-align:center;padding:60px 20px;
  background:#fff;border-radius:var(--rad);border:1px solid var(--brd);
}
.cc-no-results h3{font-family:'Bebas Neue',sans-serif;font-size:32px;color:var(--dark);margin-bottom:8px;}
.cc-no-results p{font-size:14px;color:var(--mu);}

/* ═══════════════════════════════════════════════════
   CARD
═══════════════════════════════════════════════════ */
.cc-card{background:var(--card);border:1px solid var(--brd);border-radius:var(--rad);overflow:hidden;transition:box-shadow .25s,transform .25s;}
.cc-card:hover{box-shadow:0 8px 32px rgba(0,0,0,.1);transform:translateY(-2px);}

.cc-card-img-wrap{display:block;position:relative;aspect-ratio:4/3;overflow:hidden;background:#f3f4f6;}
.cc-card-img{width:100%;height:100%;object-fit:cover;transition:transform .4s;}
.cc-card:hover .cc-card-img{transform:scale(1.04);}

.cc-no-img{
  width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:8px;color:#9CA3AF;background:#f9fafb;
}
.cc-no-img svg{width:64px;height:64px;stroke:currentColor;stroke-width:1.2;fill:none;stroke-linecap:round;stroke-linejoin:round;}
.cc-no-img p{font-size:12px;color:var(--mu);}

.cc-card-badges{position:absolute;top:10px;left:10px;display:flex;gap:6px;}
.cc-badge{font-size:10px;font-weight:700;padding:3px 9px;border-radius:999px;letter-spacing:.04em;}
.cc-badge-nuevo{background:#DCFCE7;color:#16A34A;}
.cc-badge-usado{background:#F3F4F6;color:#374151;}
.cc-badge-carro{background:#DBEAFE;color:#1D4ED8;}
.cc-badge-moto{background:#FEF3C7;color:#B45309;}

.cc-card-body{padding:14px 16px 16px;}
.cc-card-precio{font-family:'Bebas Neue',sans-serif;font-size:26px;color:var(--or);line-height:1;margin-bottom:4px;}
.cc-card-title{font-size:14px;font-weight:700;color:var(--dark);margin-bottom:8px;line-height:1.3;}
.cc-card-title a:hover{color:var(--or);}

.cc-card-meta{display:flex;gap:12px;font-size:12px;color:var(--mu);margin-bottom:6px;flex-wrap:wrap;}
.cc-card-meta span{display:flex;align-items:center;gap:4px;}
.cc-card-meta svg{width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:1.5;flex-shrink:0;}

.cc-card-specs{font-size:11px;color:var(--mu);margin-bottom:12px;text-transform:capitalize;}

.cc-card-footer{display:flex;gap:8px;}
.cc-btn-wa{
  display:flex;align-items:center;gap:6px;
  background:#25D366;color:#fff;font-size:12px;font-weight:700;
  padding:8px 14px;border-radius:999px;transition:background .2s;flex-shrink:0;
}
.cc-btn-wa:hover{background:#1da851;}
.cc-btn-wa svg{width:14px;height:14px;flex-shrink:0;}
.cc-btn-ver{
  flex:1;text-align:center;
  background:#f3f4f6;color:var(--dark);font-size:12px;font-weight:700;
  padding:8px 14px;border-radius:999px;transition:all .2s;
}
.cc-btn-ver:hover{background:var(--or);color:#fff;}

/* ═══════════════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════════════ */
.cc-pagination{display:flex;gap:6px;margin-top:32px;justify-content:center;flex-wrap:wrap;}
.cc-pagination a,.cc-pagination span{
  display:inline-flex;align-items:center;justify-content:center;
  width:38px;height:38px;border-radius:8px;font-size:13px;font-weight:600;
  border:1.5px solid var(--brd);background:#fff;color:var(--dark);
  transition:all .2s;
}
.cc-pagination a:hover{border-color:var(--or);color:var(--or);}
.cc-pagination .current{background:var(--or);border-color:var(--or);color:#fff;}

/* ═══════════════════════════════════════════════════
   FILTER SIDEBAR
═══════════════════════════════════════════════════ */
.cc-filter-panel{background:#fff;border:1px solid var(--brd);border-radius:var(--rad);padding:20px;}
.cc-filter-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid var(--brd);}
.cc-filter-head h3{font-family:'Bebas Neue',sans-serif;font-size:20px;color:var(--dark);letter-spacing:.5px;}
.cc-filter-clear{font-size:12px;color:var(--or);font-weight:600;text-decoration:none;padding:4px 10px;border-radius:6px;transition:background .2s;}
.cc-filter-clear:hover{background:#fff7ed;}

.cc-filter-group{margin-bottom:18px;}
.cc-filter-group:last-of-type{margin-bottom:0;}
.cc-filter-group-title{font-size:12px;font-weight:700;color:var(--mid);text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px;}

.cc-filter-select,.cc-filter-input{
  width:100%;border:1.5px solid var(--brd);border-radius:10px;
  padding:9px 12px;font-size:13px;font-family:'DM Sans',sans-serif;
  color:var(--dark);background:#fafafa;outline:none;
  transition:border-color .2s;appearance:none;-webkit-appearance:none;
}
.cc-filter-select:focus,.cc-filter-input:focus{border-color:var(--or);background:#fff;}

.cc-filter-row{display:grid;grid-template-columns:1fr 1fr;gap:6px;}
.cc-filter-row-label{font-size:11px;color:var(--mu);margin-bottom:4px;}

.cc-filter-radios{display:flex;gap:8px;flex-wrap:wrap;}
.cc-filter-radio{
  display:flex;align-items:center;gap:6px;
  cursor:pointer;font-size:13px;color:var(--mid);font-weight:500;
  padding:6px 12px;border:1.5px solid var(--brd);border-radius:999px;
  transition:all .2s;
}
.cc-filter-radio input{display:none;}
.cc-filter-radio:has(input:checked),.cc-filter-radio.checked{background:var(--or);border-color:var(--or);color:#fff;}

.cc-filter-checks{display:flex;flex-direction:column;gap:6px;}
.cc-filter-check{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--mid);cursor:pointer;}
.cc-filter-check input[type=checkbox]{accent-color:var(--or);width:15px;height:15px;cursor:pointer;}

.cc-filter-apply{
  width:100%;background:var(--or);color:#fff;border:none;
  border-radius:999px;padding:13px;font-size:14px;font-weight:700;
  font-family:'DM Sans',sans-serif;cursor:pointer;transition:background .2s;
  margin-top:20px;
}
.cc-filter-apply:hover{background:var(--ord);}

/* Mobile filter trigger */
.cc-filter-mobile-btn{
  display:none;align-items:center;gap:8px;
  background:var(--or);color:#fff;border:none;
  padding:11px 22px;border-radius:999px;font-size:14px;font-weight:700;
  font-family:'DM Sans',sans-serif;cursor:pointer;
}
.cc-filter-mobile-btn svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2.5;}

/* Mobile filter drawer */
.cc-filter-drawer{
  display:none;position:fixed;inset:0;z-index:500;
}
.cc-filter-drawer.open{display:block;}
.cc-filter-drawer-overlay{position:absolute;inset:0;background:rgba(0,0,0,.5);}
.cc-filter-drawer-panel{
  position:absolute;right:0;top:0;bottom:0;width:min(380px,100vw);
  background:#fff;overflow-y:auto;padding:20px;
  transform:translateX(100%);transition:transform .3s cubic-bezier(.22,1,.36,1);
}
.cc-filter-drawer.open .cc-filter-drawer-panel{transform:translateX(0);}
.cc-filter-drawer-close{
  position:absolute;top:16px;right:16px;background:none;border:none;
  cursor:pointer;width:32px;height:32px;display:flex;align-items:center;justify-content:center;
}
.cc-filter-drawer-close svg{width:20px;height:20px;stroke:var(--dark);stroke-width:2.5;fill:none;}

/* ═══════════════════════════════════════════════════
   DIVIDER
═══════════════════════════════════════════════════ */
.cc-divider{height:1px;background:var(--brd);margin:0 40px;}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.cc-footer{
  background:var(--dark);color:#9CA3AF;
  padding:48px 40px 32px;
  display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px;
}
.cc-footer-logo{display:block;margin-bottom:12px;}
.cc-footer-logo img{height:50px;width:auto;display:block;filter:brightness(0) invert(1);}
.cc-footer-desc{font-size:13px;line-height:1.7;}
.cc-footer-col h4{font-size:13px;font-weight:700;color:#fff;margin-bottom:14px;text-transform:uppercase;letter-spacing:.06em;}
.cc-footer-col p,.cc-footer-col a{font-size:13px;line-height:1.9;color:#9CA3AF;display:block;}
.cc-footer-col a:hover{color:var(--or);}
.cc-footer-bottom{background:#0d1117;padding:16px 40px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;}
.cc-footer-bottom p{font-size:12px;color:#6B7280;}
.cc-footer-bottom a{font-size:12px;color:#6B7280;}
.cc-footer-bottom a:hover{color:var(--or);}

/* ═══════════════════════════════════════════════════
   FLOATING WhatsApp
═══════════════════════════════════════════════════ */
.cc-wa-float{
  position:fixed;bottom:28px;right:28px;z-index:400;
  width:54px;height:54px;border-radius:50%;
  background:#25D366;display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 20px rgba(0,0,0,.2);transition:transform .2s,box-shadow .2s;
}
.cc-wa-float:hover{transform:scale(1.1);box-shadow:0 6px 28px rgba(0,0,0,.25);}
.cc-wa-float svg{width:28px;height:28px;fill:#fff;}

/* ═══════════════════════════════════════════════════
   SINGLE AD PAGE
═══════════════════════════════════════════════════ */
.cc-single-wrap{max-width:1100px;margin:0 auto;padding:32px 40px 60px;display:grid;grid-template-columns:1fr 340px;gap:28px;align-items:start;}
.cc-single-main{min-width:0;}
.cc-single-aside{position:sticky;top:80px;}

.cc-single-gallery{border-radius:var(--rad);overflow:hidden;background:#f3f4f6;margin-bottom:20px;}
.cc-gallery-main{aspect-ratio:4/3;overflow:hidden;}
.cc-gallery-main img{width:100%;height:100%;object-fit:cover;}
.cc-gallery-thumbs{display:flex;gap:6px;padding:8px;background:#f9fafb;overflow-x:auto;}
.cc-gallery-thumb{width:72px;height:54px;border-radius:6px;overflow:hidden;cursor:pointer;border:2px solid transparent;flex-shrink:0;transition:border-color .2s;}
.cc-gallery-thumb.active,.cc-gallery-thumb:hover{border-color:var(--or);}
.cc-gallery-thumb img{width:100%;height:100%;object-fit:cover;}
.cc-single-no-img{aspect-ratio:4/3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#9CA3AF;background:#f9fafb;border-radius:var(--rad);}
.cc-single-no-img svg{width:80px;height:80px;stroke:currentColor;stroke-width:1;fill:none;}

.cc-single-badges{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px;}
.cc-single-badge{font-size:12px;font-weight:700;padding:4px 12px;border-radius:999px;}

.cc-single-precio{font-family:'Bebas Neue',sans-serif;font-size:44px;color:var(--or);line-height:1;margin-bottom:8px;}
.cc-single-title{font-size:22px;font-weight:700;color:var(--dark);margin-bottom:20px;line-height:1.3;}

.cc-single-specs{background:#f9fafb;border-radius:var(--rad);padding:20px;margin-bottom:20px;}
.cc-single-specs h3{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--mu);margin-bottom:14px;}
.cc-specs-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px;}
.cc-spec-item{display:flex;flex-direction:column;gap:2px;}
.cc-spec-label{font-size:11px;color:var(--mu);text-transform:uppercase;letter-spacing:.06em;}
.cc-spec-val{font-size:14px;font-weight:600;color:var(--dark);}

.cc-single-desc h3{font-size:15px;font-weight:700;color:var(--dark);margin-bottom:10px;}
.cc-single-desc p{font-size:14px;color:var(--mid);line-height:1.8;}

/* Contact card */
.cc-contact-card{background:#fff;border:1px solid var(--brd);border-radius:var(--rad);padding:20px;}
.cc-contact-title{font-family:'Bebas Neue',sans-serif;font-size:20px;color:var(--dark);letter-spacing:.5px;margin-bottom:16px;}
.cc-contact-name{font-size:16px;font-weight:700;color:var(--dark);margin-bottom:6px;}
.cc-contact-tel{font-size:14px;color:var(--mu);margin-bottom:20px;}
.cc-contact-wa{
  display:flex;align-items:center;justify-content:center;gap:10px;
  width:100%;background:#25D366;color:#fff;border:none;
  padding:14px;border-radius:999px;font-size:15px;font-weight:700;
  font-family:'DM Sans',sans-serif;cursor:pointer;text-decoration:none;
  margin-bottom:10px;transition:background .2s;
}
.cc-contact-wa:hover{background:#1da851;}
.cc-contact-wa svg{width:20px;height:20px;fill:currentColor;}
.cc-contact-note{font-size:11px;color:var(--mu);text-align:center;line-height:1.5;}
.cc-back-link{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--mu);font-weight:500;margin-bottom:20px;}
.cc-back-link:hover{color:var(--or);}
.cc-back-link svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;}

.cc-related{max-width:1100px;margin:0 auto;padding:0 40px 60px;}
.cc-related h2{font-family:'Bebas Neue',sans-serif;font-size:28px;color:var(--dark);margin-bottom:20px;}
.cc-related-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;}

/* ═══════════════════════════════════════════════════
   PUBLICAR FORM PAGE
═══════════════════════════════════════════════════ */
.cc-pub-page{background:var(--bg);min-height:100vh;}
.cc-pub-wrap{max-width:980px;margin:0 auto;padding:36px 24px 80px;display:grid;grid-template-columns:1fr 300px;gap:24px;align-items:start;}
.cc-pub-main{min-width:0;}
.cc-pub-aside{position:sticky;top:80px;}

.cc-pub-head{margin-bottom:28px;}
.cc-pub-title{font-family:'Bebas Neue',sans-serif;font-size:48px;color:var(--dark);line-height:.95;margin-bottom:8px;}
.cc-pub-sub{font-size:14px;color:var(--mu);line-height:1.6;}

.cc-pub-card{background:#fff;border:1px solid var(--brd);border-radius:var(--rad);padding:24px;margin-bottom:16px;}
.cc-pub-card-head{display:flex;align-items:center;gap:12px;margin-bottom:20px;}
.cc-pub-card-num{width:32px;height:32px;border-radius:50%;background:var(--or);color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;flex-shrink:0;}
.cc-pub-card-title{font-family:'Bebas Neue',sans-serif;font-size:22px;color:var(--dark);letter-spacing:.5px;}

.cc-pub-field{display:flex;flex-direction:column;gap:5px;margin-bottom:16px;}
.cc-pub-field label{font-size:13px;font-weight:600;color:var(--mid);}
.cc-pub-field small{font-size:11px;color:var(--mu);}
.cc-pub-input{
  border:1.5px solid var(--brd);border-radius:10px;padding:10px 13px;
  font-family:'DM Sans',sans-serif;font-size:14px;color:var(--dark);background:#fff;
  outline:none;width:100%;transition:border-color .2s,box-shadow .2s;
  appearance:none;-webkit-appearance:none;
}
.cc-pub-input:focus{border-color:var(--or);box-shadow:0 0 0 3px rgba(249,115,22,.1);}
.cc-pub-input.invalid{border-color:var(--red);}
textarea.cc-pub-input{min-height:120px;resize:vertical;}

.cc-pub-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.cc-pub-row-3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;}

.cc-pub-tipo-btns{display:flex;gap:12px;}
.cc-pub-tipo-btn{
  flex:1;padding:16px;border:2px solid var(--brd);border-radius:var(--rad);
  background:#fff;cursor:pointer;text-align:center;transition:all .2s;
  font-family:'DM Sans',sans-serif;
}
.cc-pub-tipo-btn.selected,.cc-pub-tipo-btn:has(input:checked){border-color:var(--or);background:#fff7ed;}
.cc-pub-tipo-btn svg{width:32px;height:32px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;margin:0 auto 8px;display:block;color:var(--mu);}
.cc-pub-tipo-btn.selected svg,.cc-pub-tipo-btn:has(input:checked) svg{color:var(--or);}
.cc-pub-tipo-btn p{font-size:15px;font-weight:700;color:var(--mid);}
.cc-pub-tipo-btn.selected p,.cc-pub-tipo-btn:has(input:checked) p{color:var(--or);}
.cc-pub-tipo-btn input{display:none;}

.cc-pub-otro-wrap{margin-top:10px;}

/* Photo upload */
.cc-upload-zone{
  border:2px dashed var(--brd);border-radius:var(--rad);padding:32px 20px;
  text-align:center;cursor:pointer;transition:border-color .2s,background .2s;
  position:relative;
}
.cc-upload-zone:hover,.cc-upload-zone.drag{border-color:var(--or);background:#fff7ed;}
.cc-upload-zone input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;}
.cc-upload-icon{width:40px;height:40px;stroke:var(--mu);fill:none;stroke-width:1.5;margin:0 auto 10px;}
.cc-upload-zone p{font-size:14px;color:var(--mu);}
.cc-upload-zone p strong{color:var(--or);}
.cc-upload-zone small{font-size:11px;color:#9CA3AF;}
.cc-upload-previews{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;}
.cc-preview-thumb{width:80px;height:60px;border-radius:8px;object-fit:cover;border:2px solid var(--brd);}

/* Aside summary */
.cc-pub-summary{background:#fff;border:1px solid var(--brd);border-radius:var(--rad);padding:20px;}
.cc-pub-sum-title{font-family:'Bebas Neue',sans-serif;font-size:20px;color:var(--dark);margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid var(--brd);}
.cc-pub-sum-row{display:flex;justify-content:space-between;font-size:13px;margin-bottom:8px;}
.cc-pub-sum-key{color:var(--mu);}
.cc-pub-sum-val{color:var(--dark);font-weight:600;text-align:right;}
.cc-pub-submit{
  width:100%;background:var(--or);color:#fff;border:none;
  border-radius:999px;padding:15px;font-size:15px;font-weight:700;
  font-family:'DM Sans',sans-serif;cursor:pointer;transition:background .2s,transform .15s;
  margin-top:20px;
}
.cc-pub-submit:hover{background:var(--ord);transform:scale(1.01);}
.cc-pub-submit:disabled{opacity:.45;cursor:not-allowed;transform:none;}
.cc-pub-note{font-size:11px;color:var(--mu);text-align:center;margin-top:12px;line-height:1.6;}

/* Alerts */
.cc-alert{border-radius:12px;padding:14px 18px;font-size:14px;margin-bottom:20px;display:flex;gap:10px;align-items:flex-start;}
.cc-alert svg{width:18px;height:18px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.cc-alert.error{background:#FEF2F2;border:1px solid #FCA5A5;color:#991B1B;}
.cc-alert.success{background:#F0FDF4;border:1px solid #86EFAC;color:#166534;}
.cc-alert.info{background:#FFFBEB;border:1px solid #FCD34D;color:#78350F;}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width:1100px) {
  .cc-main-wrap{grid-template-columns:1fr;padding:20px 24px 40px;}
  .cc-sidebar{display:none;position:static;}
  .cc-filter-mobile-btn{display:flex;}
  .cc-single-wrap{grid-template-columns:1fr;padding:24px 24px 40px;}
  .cc-single-aside{position:static;}
  .cc-pub-wrap{grid-template-columns:1fr;padding:24px 16px 60px;}
  .cc-pub-aside{position:static;}
  .cc-footer{grid-template-columns:1fr 1fr;}
}

@media (max-width:768px) {
  /* Header móvil */
  .cc-topbar{display:none;}
  .cc-nav{padding:0 16px;height:68px;}
  .cc-logo img{height:48px!important;}
  .cc-nav-links,.cc-nav-search,.cc-nav-cta{display:none;}
  .cc-hamburger{display:flex;}
  .cc-mobile-menu{top:68px;}

  /* Hero */
  .cc-hero{padding:56px 24px 48px;}
  .cc-hero-sub{max-width:100%;}
  .cc-hero-stats{gap:18px;}
  .cc-hero-types{gap:8px;}
  .cc-type-bar{padding:10px 20px;}
  .cc-divider{margin:0 20px;}
  .cc-footer{grid-template-columns:1fr;padding:32px 20px 24px;}
  .cc-footer-bottom{padding:14px 20px;}
  .cc-related{padding:0 20px 40px;}
}

/* ══════════════════════════════════════════════
   MODAL "COMPRA CON SEGURIDAD" (antes de ir a WhatsApp)
══════════════════════════════════════════════ */
.cc-wa-modal-overlay{
  position:fixed;inset:0;z-index:9999;
  background:rgba(17,24,39,.55);
  display:flex;align-items:center;justify-content:center;
  padding:20px;
}
.cc-wa-modal-overlay[hidden]{display:none;}
.cc-wa-modal{
  background:#fff;border-radius:20px;
  padding:36px 32px 32px;
  max-width:380px;width:100%;
  text-align:center;position:relative;
  box-shadow:0 20px 60px rgba(0,0,0,.25);
  animation:ccWaModalIn .2s ease;
}
@keyframes ccWaModalIn{from{opacity:0;transform:scale(.95) translateY(8px);}to{opacity:1;transform:none;}}
.cc-wa-modal-close{
  position:absolute;top:14px;right:14px;
  width:28px;height:28px;border:none;background:#f3f4f6;border-radius:50%;
  font-size:18px;line-height:1;color:var(--mu);cursor:pointer;
  display:flex;align-items:center;justify-content:center;transition:background .2s,color .2s;
}
.cc-wa-modal-close:hover{background:#e5e7eb;color:var(--dark);}
.cc-wa-modal-icon{width:72px;height:72px;margin:0 auto 20px;}
.cc-wa-modal-icon svg{width:100%;height:100%;}
.cc-wa-modal-title{font-size:22px;font-weight:700;color:var(--dark);margin-bottom:10px;}
.cc-wa-modal-text{font-size:14px;color:var(--mu);line-height:1.6;margin-bottom:24px;}
.cc-wa-modal-btn{
  width:100%;background:#3B82F6;color:#fff;border:none;
  border-radius:12px;padding:14px;font-size:15px;font-weight:700;
  font-family:'DM Sans',sans-serif;cursor:pointer;transition:background .2s;
}
.cc-wa-modal-btn:hover{background:#2563EB;}

/* ══════════════════════════════════════════════
   COOKIE CONSENT BANNER
══════════════════════════════════════════════ */
.cc-cookie-banner{
  position:fixed;bottom:0;left:0;right:0;z-index:9999;
  background:var(--dark);color:#fff;
  padding:20px 32px;
  box-shadow:0 -4px 24px rgba(0,0,0,.25);
  transform:translateY(100%);
  transition:transform .35s cubic-bezier(.4,0,.2,1);
}
.cc-cookie-banner.visible{transform:translateY(0);}
.cc-cookie-inner{
  max-width:1200px;margin:0 auto;
  display:flex;align-items:center;gap:24px;flex-wrap:wrap;
}
.cc-cookie-text{flex:1;min-width:260px;}
.cc-cookie-text strong{font-size:14px;font-weight:700;display:block;margin-bottom:4px;}
.cc-cookie-text p{font-size:13px;color:#9CA3AF;line-height:1.6;margin:0;}
.cc-cookie-text a{color:var(--or);text-decoration:underline;}
.cc-cookie-btns{display:flex;gap:10px;flex-shrink:0;flex-wrap:wrap;}
.cc-cookie-btn{padding:10px 22px;border-radius:999px;font-size:13px;font-weight:700;cursor:pointer;border:none;transition:background .2s,color .2s;}
.cc-cookie-btn--pri{background:var(--or);color:#fff;}
.cc-cookie-btn--pri:hover{background:var(--ord);}
.cc-cookie-btn--sec{background:transparent;color:#9CA3AF;border:1.5px solid #374151;}
.cc-cookie-btn--sec:hover{border-color:#6B7280;color:#fff;}
@media(max-width:600px){
  .cc-cookie-banner{padding:16px 20px;}
  .cc-cookie-inner{gap:16px;}
  .cc-cookie-btns{width:100%;}
  .cc-cookie-btn{flex:1;text-align:center;}
}

/* ══════════════════════════════════════════════
   LEGAL ACCEPTANCE CHECKBOX
══════════════════════════════════════════════ */
.cc-pub-card-legal{border-color:var(--or);background:#FFF7ED;}
.cc-pub-legal-check{display:flex;align-items:flex-start;gap:12px;cursor:pointer;padding:4px 0;}
.cc-pub-legal-check input[type="checkbox"]{width:18px;height:18px;min-width:18px;margin-top:2px;accent-color:var(--or);cursor:pointer;}
.cc-pub-legal-check span{font-size:13px;line-height:1.7;color:#374151;}
.cc-pub-legal-check a{color:var(--or);text-decoration:underline;font-weight:600;}
.cc-pub-legal-check a:hover{color:var(--ord);}
.cc-pub-legal-check input.invalid + span{color:var(--red);}

/* ══════════════════════════════════════════════
   LEGAL PAGES
══════════════════════════════════════════════ */
.cc-legal-wrap{max-width:860px;margin:0 auto;padding:48px 32px 80px;}
.cc-legal-hero{background:var(--dark);color:#fff;padding:48px 32px 40px;text-align:center;}
.cc-legal-hero h1{font-family:'Bebas Neue',sans-serif;font-size:42px;letter-spacing:.02em;margin-bottom:8px;}
.cc-legal-hero p{font-size:14px;color:#9CA3AF;}
.cc-legal-content{background:#fff;border:1px solid var(--brd);border-radius:16px;padding:40px 48px;margin-top:-24px;position:relative;z-index:1;}
.cc-legal-content h2{font-family:'Bebas Neue',sans-serif;font-size:22px;letter-spacing:.04em;color:var(--dark);border-left:3px solid var(--or);padding-left:14px;margin:36px 0 14px;}
.cc-legal-content h2:first-child{margin-top:0;}
.cc-legal-content h3{font-size:14px;font-weight:700;color:var(--dark);margin:24px 0 8px;text-transform:uppercase;letter-spacing:.06em;}
.cc-legal-content p{font-size:14px;line-height:1.85;color:#374151;margin-bottom:14px;}
.cc-legal-content ul{font-size:14px;line-height:1.85;color:#374151;margin:0 0 14px;padding-left:22px;}
.cc-legal-content ul li{margin-bottom:6px;}
.cc-legal-content strong{color:var(--dark);}
.cc-legal-content a{color:var(--or);text-decoration:underline;}
.cc-legal-table{width:100%;border-collapse:collapse;font-size:13px;margin:16px 0 24px;overflow-x:auto;display:block;}
.cc-legal-table th{background:var(--dark);color:#fff;padding:10px 14px;text-align:left;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;}
.cc-legal-table td{padding:10px 14px;border-bottom:1px solid var(--brd);color:#374151;vertical-align:top;}
.cc-legal-table tr:last-child td{border-bottom:none;}
.cc-legal-table tr:nth-child(even) td{background:#f9fafb;}
.cc-legal-alert{background:#FFF7ED;border:1px solid #FED7AA;border-radius:10px;padding:16px 20px;font-size:13px;color:#92400E;line-height:1.7;margin:24px 0;}
.cc-legal-alert strong{color:#78350F;}
.cc-legal-nav{display:flex;gap:8px;flex-wrap:wrap;padding:20px 32px;background:#f9fafb;border-bottom:1px solid var(--brd);}
.cc-legal-nav a{font-size:12px;color:var(--mu);padding:5px 12px;border-radius:999px;border:1px solid var(--brd);background:#fff;transition:all .2s;}
.cc-legal-nav a:hover,.cc-legal-nav a.active{background:var(--or);border-color:var(--or);color:#fff;}

@media (max-width:768px) {
  .cc-legal-wrap{padding:32px 20px 60px;}
  .cc-legal-content{padding:28px 24px;}
  .cc-legal-hero{padding:36px 20px 32px;}
  .cc-legal-hero h1{font-size:32px;}
}

/* ══════════════════════════════════════════════
   USER NAV (header account button)
══════════════════════════════════════════════ */
.cc-user-nav{position:relative;}
.cc-user-btn{
  display:flex;align-items:center;gap:8px;
  background:none;border:1.5px solid var(--brd);border-radius:999px;
  padding:6px 14px 6px 8px;cursor:pointer;font-family:'DM Sans',sans-serif;
  transition:border-color .2s,background .2s;
}
.cc-user-btn:hover{border-color:var(--or);background:#fff7ed;}
.cc-avatar{
  width:28px;height:28px;border-radius:50%;
  background:var(--or);color:#fff;
  font-size:12px;font-weight:700;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.cc-user-name{font-size:13px;font-weight:600;color:var(--dark);white-space:nowrap;max-width:110px;overflow:hidden;text-overflow:ellipsis;}
.cc-user-dropdown{
  position:absolute;top:calc(100% + 8px);right:0;min-width:200px;
  background:#fff;border:1px solid var(--brd);border-radius:14px;
  box-shadow:0 8px 32px rgba(0,0,0,.12);overflow:hidden;z-index:400;
}
.cc-user-dropdown a{
  display:flex;align-items:center;gap:10px;
  padding:11px 16px;font-size:13px;color:var(--dark);
  transition:background .15s;
}
.cc-user-dropdown a:hover{background:#f9fafb;color:var(--or);}
.cc-user-dropdown a svg{width:16px;height:16px;flex-shrink:0;}
.cc-dd-sep{height:1px;background:var(--brd);margin:4px 0;}
.cc-dd-logout{color:var(--red)!important;}
.cc-dd-logout:hover{background:#FEF2F2!important;color:var(--red)!important;}
.cc-nav-login{
  font-size:13px;font-weight:600;color:var(--dark);
  padding:8px 18px;border:1.5px solid var(--brd);border-radius:999px;
  transition:all .2s;white-space:nowrap;
}
.cc-nav-login:hover{border-color:var(--or);color:var(--or);}

/* ══════════════════════════════════════════════
   AUTH PAGE
══════════════════════════════════════════════ */
.cc-auth-page{background:var(--bg);min-height:100vh;}
.cc-auth-wrap{
  max-width:860px;margin:0 auto;
  padding:40px 24px 80px;
  display:grid;grid-template-columns:1fr 280px;
  gap:32px;align-items:start;
}
.cc-auth-card{
  background:#fff;border:1px solid var(--brd);border-radius:var(--rad);
  padding:32px;
}
.cc-auth-logo{text-align:center;margin-bottom:24px;}
.cc-auth-logo img{height:48px;width:auto;display:inline-block;}
.cc-auth-tabs{
  display:flex;border:1.5px solid var(--brd);border-radius:12px;
  overflow:hidden;margin-bottom:24px;
}
.cc-auth-tab{
  flex:1;text-align:center;padding:11px;
  font-size:14px;font-weight:600;color:var(--mu);
  transition:all .2s;
}
.cc-auth-tab.active{background:var(--or);color:#fff;}
.cc-auth-form{display:flex;flex-direction:column;gap:0;}
.cc-auth-field{display:flex;flex-direction:column;gap:5px;margin-bottom:14px;}
.cc-auth-field label{font-size:13px;font-weight:600;color:var(--mid);}
.cc-auth-input-wrap{position:relative;}
.cc-auth-input-wrap svg{
  position:absolute;left:12px;top:50%;transform:translateY(-50%);
  width:16px;height:16px;stroke:var(--mu);pointer-events:none;
}
.cc-auth-input-wrap input{
  width:100%;border:1.5px solid var(--brd);border-radius:10px;
  padding:10px 13px 10px 40px;
  font-family:'DM Sans',sans-serif;font-size:14px;color:var(--dark);
  background:#fff;outline:none;transition:border-color .2s,box-shadow .2s;
}
.cc-auth-input-wrap input:focus{border-color:var(--or);box-shadow:0 0 0 3px rgba(249,115,22,.1);}
.cc-auth-submit{
  display:flex;align-items:center;justify-content:center;gap:8px;
  width:100%;background:var(--or);color:#fff;border:none;
  border-radius:999px;padding:14px;font-size:15px;font-weight:700;
  font-family:'DM Sans',sans-serif;cursor:pointer;transition:background .2s;
  margin-top:4px;
}
.cc-auth-submit:hover{background:var(--ord);}
.cc-auth-submit svg{width:16px;height:16px;}
.cc-auth-switch{font-size:13px;color:var(--mu);text-align:center;margin-top:16px;}
.cc-auth-switch a{color:var(--or);font-weight:600;}

/* Benefits aside */
.cc-auth-aside{display:flex;flex-direction:column;gap:20px;padding-top:80px;}
.cc-auth-benefit{display:flex;align-items:flex-start;gap:14px;}
.cc-auth-benefit-icon{
  width:40px;height:40px;border-radius:10px;
  background:#FFF7ED;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
}
.cc-auth-benefit-icon svg{width:20px;height:20px;stroke:var(--or);}
.cc-auth-benefit strong{display:block;font-size:14px;font-weight:700;color:var(--dark);margin-bottom:3px;}
.cc-auth-benefit p{font-size:13px;color:var(--mu);line-height:1.6;margin:0;}

/* ══════════════════════════════════════════════
   DASHBOARD
══════════════════════════════════════════════ */
.cc-dash-page{background:var(--bg);min-height:100vh;}
.cc-dash-wrap{
  max-width:1180px;margin:0 auto;
  display:grid;grid-template-columns:240px 1fr;
  gap:24px;padding:28px 40px 60px;align-items:start;
}

/* Sidebar */
.cc-dash-sidebar{position:sticky;top:80px;}
.cc-dash-user-card{
  background:#fff;border:1px solid var(--brd);border-radius:var(--rad);
  padding:20px;margin-bottom:12px;
  display:flex;align-items:center;gap:12px;
}
.cc-dash-avatar{
  width:44px;height:44px;border-radius:50%;
  background:var(--or);color:#fff;
  font-family:'Bebas Neue',sans-serif;font-size:22px;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.cc-dash-user-info{min-width:0;flex:1;}
.cc-dash-user-name{font-size:15px;font-weight:700;color:var(--dark);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.cc-dash-user-email{font-size:11px;color:var(--mu);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.cc-dash-nav{background:#fff;border:1px solid var(--brd);border-radius:var(--rad);overflow:hidden;margin-bottom:12px;}
.cc-dash-nav-item{
  display:flex;align-items:center;gap:10px;
  padding:13px 16px;font-size:14px;color:var(--mid);font-weight:500;
  border-bottom:1px solid #f9fafb;transition:all .2s;position:relative;
}
.cc-dash-nav-item:last-child{border-bottom:none;}
.cc-dash-nav-item svg{width:18px;height:18px;flex-shrink:0;}
.cc-dash-nav-item:hover{background:#f9fafb;color:var(--or);}
.cc-dash-nav-item.active{background:#fff7ed;color:var(--or);font-weight:700;}
.cc-dash-nav-item.active::before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--or);}
.cc-dash-nav-badge{margin-left:auto;background:var(--or);color:#fff;font-size:11px;font-weight:700;padding:2px 8px;border-radius:999px;}
.cc-dash-pub-btn{
  display:flex;align-items:center;justify-content:center;gap:8px;
  width:100%;background:var(--dark);color:#fff;border:none;
  border-radius:var(--rad);padding:13px;font-size:14px;font-weight:700;
  font-family:'DM Sans',sans-serif;transition:background .2s;text-decoration:none;
}
.cc-dash-pub-btn:hover{background:var(--or);}
.cc-dash-pub-btn svg{width:16px;height:16px;}

/* Main */
.cc-dash-main{min-width:0;}
.cc-dash-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;flex-wrap:wrap;gap:10px;}
.cc-dash-title{font-family:'Bebas Neue',sans-serif;font-size:32px;color:var(--dark);letter-spacing:.5px;}
.cc-dash-head-cta{
  display:flex;align-items:center;gap:6px;
  background:var(--or);color:#fff;font-size:13px;font-weight:700;
  padding:9px 18px;border-radius:999px;transition:background .2s;
}
.cc-dash-head-cta:hover{background:var(--ord);}
.cc-dash-head-cta svg{width:14px;height:14px;}

/* Ad grid */
.cc-ad-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;}
.cc-ad-card{background:#fff;border:1px solid var(--brd);border-radius:var(--rad);overflow:hidden;transition:box-shadow .2s;}
.cc-ad-card:hover{box-shadow:0 4px 20px rgba(0,0,0,.08);}
.cc-ad-card-img-wrap{display:block;aspect-ratio:16/9;overflow:hidden;background:#f3f4f6;}
.cc-ad-card-img-wrap img{width:100%;height:100%;object-fit:cover;transition:transform .3s;}
.cc-ad-card:hover .cc-ad-card-img-wrap img{transform:scale(1.04);}
.cc-ad-no-img{display:flex;align-items:center;justify-content:center;color:#9CA3AF;}
.cc-ad-no-img svg{width:48px;height:40px;}
.cc-ad-card-body{padding:14px 16px 16px;}
.cc-ad-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px;}
.cc-ad-card-date{font-size:11px;color:var(--mu);}
.cc-ad-card-precio{font-family:'Bebas Neue',sans-serif;font-size:22px;color:var(--or);line-height:1;margin-bottom:2px;}
.cc-ad-card-title{font-size:13px;font-weight:700;color:var(--dark);margin-bottom:10px;line-height:1.3;}
.cc-ad-card-stats{display:flex;gap:14px;font-size:12px;color:var(--mu);margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid var(--brd);}
.cc-ad-card-stats span{display:flex;align-items:center;gap:5px;}
.cc-ad-card-stats svg{width:13px;height:13px;flex-shrink:0;}
.cc-ad-card-actions{display:flex;gap:6px;flex-wrap:wrap;}
.cc-ad-btn-edit,.cc-ad-btn-ver,.cc-ad-btn-del{
  display:inline-flex;align-items:center;gap:5px;
  font-size:12px;font-weight:700;padding:7px 12px;border-radius:999px;
  cursor:pointer;transition:all .2s;font-family:'DM Sans',sans-serif;text-decoration:none;
}
.cc-ad-btn-edit svg,.cc-ad-btn-ver svg,.cc-ad-btn-del svg{width:12px;height:12px;}
.cc-ad-btn-edit{background:#EEF2FF;color:#4F46E5;border:none;}
.cc-ad-btn-edit:hover{background:#4F46E5;color:#fff;}
.cc-ad-btn-ver{background:#f3f4f6;color:var(--dark);border:none;}
.cc-ad-btn-ver:hover{background:var(--or);color:#fff;}
.cc-ad-btn-del{background:#FEF2F2;color:var(--red);border:none;}
.cc-ad-btn-del:hover{background:var(--red);color:#fff;}
.cc-ad-delete-form{display:inline;}

/* Status badges */
.cc-status-badge{display:inline-block;font-size:11px;font-weight:700;padding:3px 10px;border-radius:999px;white-space:nowrap;}
.cc-status-pub{background:#DCFCE7;color:#16A34A;}
.cc-status-pen{background:#FEF3C7;color:#D97706;}
.cc-status-dra{background:#F3F4F6;color:#6B7280;}

/* Empty state */
.cc-dash-empty{
  background:#fff;border:1px solid var(--brd);border-radius:var(--rad);
  text-align:center;padding:60px 24px;
}
.cc-dash-empty svg{width:72px;height:72px;stroke:var(--mu);margin:0 auto 16px;display:block;}
.cc-dash-empty h3{font-family:'Bebas Neue',sans-serif;font-size:28px;color:var(--dark);margin-bottom:8px;}
.cc-dash-empty p{font-size:14px;color:var(--mu);max-width:320px;margin:0 auto 20px;line-height:1.6;}

/* Stats grid */
.cc-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px;}
.cc-stat-card{background:#fff;border:1px solid var(--brd);border-radius:var(--rad);padding:20px;}
.cc-stat-icon{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;margin-bottom:12px;}
.cc-stat-icon svg{width:20px;height:20px;}
.cc-stat-icon-blue{background:#DBEAFE;color:#1D4ED8;}
.cc-stat-icon-blue svg{stroke:#1D4ED8;}
.cc-stat-icon-orange{background:#FFF7ED;color:var(--or);}
.cc-stat-icon-orange svg{stroke:var(--or);}
.cc-stat-icon-green{background:#DCFCE7;color:#16A34A;}
.cc-stat-icon-green svg{fill:#16A34A;}
.cc-stat-icon-purple{background:#F3E8FF;color:#7C3AED;}
.cc-stat-icon-purple svg{stroke:#7C3AED;}
.cc-stat-val{font-family:'Bebas Neue',sans-serif;font-size:30px;color:var(--dark);line-height:1;}
.cc-stat-lbl{font-size:12px;color:var(--mu);margin-top:4px;}

/* Chart */
.cc-chart-card{background:#fff;border:1px solid var(--brd);border-radius:var(--rad);padding:20px;margin-bottom:20px;}
.cc-chart-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;flex-wrap:wrap;gap:10px;}
.cc-chart-title{font-size:14px;font-weight:700;color:var(--dark);}
.cc-chart-select{
  border:1.5px solid var(--brd);border-radius:8px;padding:7px 12px;
  font-size:13px;font-family:'DM Sans',sans-serif;color:var(--dark);
  background:#fff;outline:none;cursor:pointer;
}
.cc-chart-select:focus{border-color:var(--or);}
.cc-chart-wrap{height:240px;position:relative;}

/* Stats table */
.cc-stat-table-wrap{background:#fff;border:1px solid var(--brd);border-radius:var(--rad);overflow:hidden;}
.cc-stat-table-title{font-size:14px;font-weight:700;color:var(--dark);padding:16px 20px;border-bottom:1px solid var(--brd);}
.cc-stat-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;}
.cc-stat-table{width:100%;min-width:520px;border-collapse:collapse;font-size:13px;}
.cc-stat-table th{background:#f9fafb;font-size:11px;font-weight:700;color:var(--mu);text-transform:uppercase;letter-spacing:.06em;padding:10px 16px;text-align:left;border-bottom:1px solid var(--brd);}
.cc-stat-table td{padding:12px 16px;border-bottom:1px solid #f9fafb;color:var(--dark);}
.cc-stat-table tr:last-child td{border-bottom:none;}
.cc-stat-table-edit{color:var(--or);font-weight:600;font-size:12px;}
.cc-stat-table-edit:hover{text-decoration:underline;}

/* Profile */
.cc-profile-wrap{display:grid;grid-template-columns:1fr 240px;gap:20px;align-items:start;}
.cc-profile-form{background:#fff;border:1px solid var(--brd);border-radius:var(--rad);padding:24px;}
.cc-profile-section{margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid var(--brd);}
.cc-profile-section:last-of-type{margin-bottom:20px;padding-bottom:0;border-bottom:none;}
.cc-profile-sec-title{font-family:'Bebas Neue',sans-serif;font-size:18px;color:var(--dark);letter-spacing:.4px;margin-bottom:16px;}
.cc-profile-save{
  display:flex;align-items:center;justify-content:center;gap:8px;
  background:var(--or);color:#fff;border:none;
  border-radius:999px;padding:13px 28px;font-size:14px;font-weight:700;
  font-family:'DM Sans',sans-serif;cursor:pointer;transition:background .2s;
}
.cc-profile-save:hover{background:var(--ord);}
.cc-profile-aside{display:flex;flex-direction:column;gap:12px;}
.cc-profile-avatar-card{background:#fff;border:1px solid var(--brd);border-radius:var(--rad);padding:24px;text-align:center;}
.cc-profile-big-avatar{
  width:64px;height:64px;border-radius:50%;
  background:var(--or);color:#fff;
  font-family:'Bebas Neue',sans-serif;font-size:32px;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 12px;
}
.cc-profile-name{font-size:15px;font-weight:700;color:var(--dark);margin-bottom:4px;}
.cc-profile-meta{font-size:12px;color:var(--mu);margin-bottom:2px;}
.cc-profile-logout{
  display:flex;align-items:center;justify-content:center;gap:8px;
  background:#fff;color:var(--red);border:1.5px solid #FCA5A5;
  border-radius:var(--rad);padding:12px;font-size:13px;font-weight:700;
  font-family:'DM Sans',sans-serif;text-align:center;transition:all .2s;
}
.cc-profile-logout:hover{background:#FEF2F2;border-color:var(--red);}
.cc-profile-logout svg{width:14px;height:14px;}

/* Account creation block (publicar form) */
.cc-acc-create-card{border-color:#C7D2FE!important;background:#EEF2FF;}
.cc-acc-create-toggle{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  flex-wrap:wrap;
}
.cc-acc-create-toggle-left{display:flex;align-items:flex-start;gap:12px;flex:1;}
.cc-acc-create-toggle-left svg{width:28px;height:28px;stroke:#4F46E5;flex-shrink:0;margin-top:2px;}
.cc-acc-create-toggle-left strong{display:block;font-size:14px;color:#1E1B4B;margin-bottom:3px;}
.cc-acc-create-toggle-left span{font-size:13px;color:#4338CA;}
.cc-acc-toggle-btn{
  background:#4F46E5;color:#fff;border:none;
  border-radius:999px;padding:9px 18px;font-size:13px;font-weight:700;
  font-family:'DM Sans',sans-serif;cursor:pointer;transition:background .2s;white-space:nowrap;flex-shrink:0;
}
.cc-acc-toggle-btn:hover{background:#4338CA;}
.cc-acc-toggle-btn.active{background:#16A34A;}
.cc-acc-create-fields{margin-top:20px;padding-top:20px;border-top:1px solid #C7D2FE;}
.cc-acc-create-note{font-size:13px;color:#4338CA;margin-bottom:14px;line-height:1.6;}

/* ══════════════════════════════════════════════
   DASHBOARD RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width:1100px) {
  .cc-dash-wrap{grid-template-columns:1fr;padding:20px 24px 40px;}
  .cc-dash-sidebar{position:static;}
  .cc-dash-user-card{display:none;}
  .cc-dash-nav{display:flex;overflow-x:auto;}
  .cc-dash-nav-item{border-bottom:none;border-right:1px solid #f9fafb;white-space:nowrap;flex-shrink:0;}
  .cc-dash-nav-item.active::before{top:auto;bottom:0;left:0;right:0;width:auto;height:3px;}
  .cc-stat-grid{grid-template-columns:1fr 1fr;}
  .cc-profile-wrap{grid-template-columns:1fr;}
  .cc-profile-aside{flex-direction:row;flex-wrap:wrap;}
  .cc-profile-avatar-card{flex:1;min-width:200px;}
}
@media (max-width:768px) {
  .cc-auth-wrap{grid-template-columns:1fr;padding:24px 16px 60px;}
  .cc-auth-aside{display:none;}
  .cc-stat-grid{grid-template-columns:1fr 1fr;}
  .cc-ad-grid{grid-template-columns:1fr;}
}
@media (max-width:600px) {
  .cc-pub-row,.cc-pub-row-3{grid-template-columns:1fr;}
  .cc-specs-grid{grid-template-columns:1fr;}
  .cc-hero-search{flex-direction:column;border-radius:16px;max-width:100%;}
  .cc-hero-search input{border-radius:16px 16px 0 0;padding:14px 18px;}
  .cc-hero-search button{border-radius:0 0 16px 16px;padding:14px;}
  .cc-hero-stats{gap:16px;}
  .cc-hero-stat{text-align:center;}
  .cc-listings-bar{flex-direction:column;align-items:flex-start;}
  .cc-pub-tipo-btns{flex-direction:column;}

  /* Contenedor más estrecho para dar espacio a las cards */
  .cc-main-wrap{padding:12px 12px 40px;}
  /* Cards en 2 columnas en móvil */
  .cc-grid{grid-template-columns:repeat(2,1fr);gap:8px;}
  .cc-card-img-wrap{aspect-ratio:3/2;}
  .cc-card-body{padding:8px 8px 10px;}
  .cc-card-precio{font-size:17px;margin-bottom:2px;}
  .cc-card-title{font-size:11px;margin-bottom:4px;line-height:1.35;}
  .cc-card-meta{gap:3px;font-size:10px;margin-bottom:3px;flex-direction:column;}
  .cc-card-specs{font-size:9px;margin-bottom:8px;}
  .cc-card-footer{gap:5px;align-items:stretch;}
  /* WhatsApp: solo ícono circular */
  .cc-btn-wa{font-size:0;padding:0;width:34px;height:34px;min-width:34px;border-radius:50%;justify-content:center;gap:0;flex-shrink:0;}
  .cc-btn-wa svg{width:17px;height:17px;}
  /* Ver más: ocupa el resto y se centra */
  .cc-btn-ver{flex:1;font-size:11px;padding:0 8px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:999px;}
  /* Badges más compactos */
  .cc-badge{font-size:9px;padding:2px 6px;}
  .cc-card-badges{top:6px;left:6px;gap:4px;}

  /* Auth card más compacta en móvil */
  .cc-auth-card{padding:24px 18px;}
  .cc-auth-tab{padding:10px 6px;font-size:13px;}

  /* Dashboard más compacto en móvil */
  .cc-dash-wrap{padding:16px 14px 32px;gap:16px;}
  .cc-dash-title{font-size:26px;}
  .cc-stat-card{padding:14px;}
  .cc-stat-icon{width:32px;height:32px;margin-bottom:8px;}
  .cc-stat-icon svg{width:16px;height:16px;}
  .cc-stat-val{font-size:22px;}
  .cc-chart-card,.cc-profile-form,.cc-profile-avatar-card{padding:16px;}
  .cc-chart-wrap{height:200px;}
  .cc-ad-card-actions{gap:5px;flex-wrap:nowrap;}
  .cc-ad-delete-form{flex:1;display:flex;}
  .cc-ad-btn-edit,.cc-ad-btn-ver,.cc-ad-btn-del{flex:1;font-size:11px;padding:6px 8px;justify-content:center;}
}

@media (max-width:400px) {
  .cc-stat-grid{grid-template-columns:1fr;}
  .cc-auth-wrap{padding:16px 12px 48px;}
}

/* ══════════════════════════════════════════════
   DASHBOARD — AJUSTES MÓVIL EXTRA
   Evita que la barra de pestañas y el header se
   rompan/desborden en pantallas angostas (<480px).
══════════════════════════════════════════════ */
@media (max-width:1100px) {
  /* Pestañas siempre a lo ancho completo, sin scroll horizontal */
  .cc-dash-nav{overflow-x:visible;}
  .cc-dash-nav-item{
    flex:1 1 0;justify-content:center;text-align:center;
    padding:12px 6px;white-space:nowrap;
  }
  .cc-dash-nav-badge{margin-left:4px;}
}
@media (max-width:480px) {
  .cc-nav{padding:0 12px;gap:8px;}
  .cc-logo img{height:38px!important;}
  .cc-nav-right{gap:8px;}
  .cc-user-btn{padding:5px 10px 5px 5px;gap:6px;}
  .cc-user-name{max-width:70px;}
  .cc-hamburger{padding:8px;}

  /* Pestañas del dashboard en modo ícono arriba / texto abajo */
  .cc-dash-nav-item{
    flex-direction:column;gap:3px;
    font-size:10.5px;padding:10px 4px;
  }
  .cc-dash-nav-item svg{width:16px;height:16px;}
  .cc-dash-nav-badge{
    position:absolute;top:6px;right:6px;margin-left:0;
    font-size:9px;padding:1px 6px;
  }
  .cc-dash-nav-item.active::before{display:none;}

  .cc-dash-pub-btn{font-size:13px;padding:12px;}
  .cc-dash-title{font-size:22px;}
  .cc-dash-section-head{gap:8px;}
}
