/* ═══════════════════════════════════════════════════
   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;background:#111827;}
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:44px;width:auto;display:block;filter:brightness(0);}
/* Admin bar compensation */
.admin-bar .cc-nav{top:32px;}
@media screen and (max-width:782px){.admin-bar .cc-nav{top:46px;}}

.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;}
}

/* ══════════════════════════════════════════════
   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;}
}

@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;}
}

/* ═══════════════════════════════════════════════════
   CATEGORY BADGES (nuevos)
═══════════════════════════════════════════════════ */
.cc-badge-cat{background:#EDE9FE;color:#7C3AED;}

/* Paused card overlay */
.cc-card-paused{opacity:.75;}
.cc-card-paused-overlay{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  background:rgba(0,0,0,.35);
}
.cc-card-paused-overlay span{
  background:#F59E0B;color:#fff;font-size:11px;font-weight:700;
  padding:4px 12px;border-radius:999px;letter-spacing:.06em;
}

/* Nav user avatar */
.cc-nav-user{display:flex;align-items:center;gap:8px;cursor:pointer;padding:4px 12px;border-radius:999px;transition:background .2s;text-decoration:none;color:var(--dark);}
.cc-nav-user:hover{background:#f3f4f6;}
.cc-nav-avatar{width:32px;height:32px;border-radius:50%;background:var(--or);color:#fff;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;flex-shrink:0;}
.cc-nav-user-name{font-size:13px;font-weight:600;color:var(--dark);}
.cc-nav-login{font-size:13px;font-weight:600;color:var(--mid);padding:8px 16px;border:1.5px solid var(--brd);border-radius:999px;transition:all .2s;}
.cc-nav-login:hover{border-color:var(--or);color:var(--or);}

/* Hero categories */
.cc-hero-cat-btns{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-bottom:32px;}
.cc-hero-cat-btn{
  display:flex;align-items:center;gap:6px;
  padding:8px 16px;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;backdrop-filter:blur(4px);text-decoration:none;
}
.cc-hero-cat-btn:hover,.cc-hero-cat-btn.active{background:var(--or);border-color:var(--or);}
.cc-hero-cat-emoji{font-size:16px;}

/* Publication category grid */
.cc-pub-cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;}
.cc-pub-cat-btn{
  display:flex;flex-direction:column;align-items:center;gap:6px;
  padding:14px 8px;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-cat-btn:hover{border-color:var(--or);background:#fff7ed;}
.cc-pub-cat-btn:has(input:checked){border-color:var(--or);background:#fff7ed;}
.cc-pub-cat-emoji{font-size:24px;display:block;}
.cc-pub-cat-label{font-size:12px;font-weight:600;color:var(--mid);}
.cc-pub-cat-btn:has(input:checked) .cc-pub-cat-label{color:var(--or);}
.cc-pub-cat-btn input{display:none;}

/* ═══════════════════════════════════════════════════
   AUTH PAGE (login / registro)
═══════════════════════════════════════════════════ */
.cc-auth-page{background:var(--bg);min-height:100vh;}
.cc-auth-wrap{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;}

/* Left brand panel */
.cc-auth-brand{
  background:linear-gradient(135deg,#111827 0%,#1e3a2f 50%,#111827 100%);
  padding:48px 56px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;
}
.cc-auth-logo img{height:52px;width:auto;filter:brightness(0) invert(1);}
.cc-auth-brand-content{margin-top:auto;margin-bottom:40px;}
.cc-auth-brand-title{font-family:'Bebas Neue',sans-serif;font-size:clamp(40px,4vw,64px);color:#fff;line-height:.95;margin-bottom:20px;}
.cc-auth-brand-title span{color:var(--or);}
.cc-auth-brand-sub{font-size:16px;color:rgba(255,255,255,.65);line-height:1.7;max-width:400px;}
.cc-auth-brand-stats{display:flex;gap:32px;margin-top:32px;}
.cc-auth-stat{display:flex;flex-direction:column;gap:3px;}
.cc-auth-stat-val{font-family:'Bebas Neue',sans-serif;font-size:32px;color:#fff;line-height:1;}
.cc-auth-stat-lbl{font-size:11px;color:rgba(255,255,255,.5);text-transform:uppercase;letter-spacing:.08em;}
.cc-auth-brand-cats{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;}
.cc-auth-cat-pill{background:rgba(255,255,255,.1);color:rgba(255,255,255,.7);font-size:12px;font-weight:600;padding:5px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.15);}

/* Right form panel */
.cc-auth-form-side{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 40px;background:#fff;overflow-y:auto;}
.cc-auth-box{width:100%;max-width:400px;}

/* Tabs */
.cc-auth-tabs{display:flex;background:#f3f4f6;border-radius:12px;padding:4px;margin-bottom:28px;}
.cc-auth-tab{flex:1;padding:10px;border:none;background:transparent;border-radius:9px;font-family:'DM Sans',sans-serif;font-size:14px;font-weight:600;color:var(--mu);cursor:pointer;transition:all .2s;}
.cc-auth-tab.active{background:#fff;color:var(--dark);box-shadow:0 1px 4px rgba(0,0,0,.1);}

/* Form sections */
.cc-auth-section{display:none;}
.cc-auth-section.active{display:block;}
.cc-auth-form-title{font-family:'Bebas Neue',sans-serif;font-size:28px;color:var(--dark);letter-spacing:.5px;margin-bottom:4px;}
.cc-auth-form-sub{font-size:13px;color:var(--mu);margin-bottom:24px;}

.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-field input{
  border:1.5px solid var(--brd);border-radius:10px;padding:11px 14px;
  font-family:'DM Sans',sans-serif;font-size:14px;color:var(--dark);background:#fafafa;
  outline:none;width:100%;transition:border-color .2s,box-shadow .2s;
}
.cc-auth-field input:focus{border-color:var(--or);background:#fff;box-shadow:0 0 0 3px rgba(249,115,22,.1);}
.cc-auth-field input.error{border-color:var(--red);}

.cc-auth-pw-wrap{position:relative;}
.cc-auth-pw-wrap input{padding-right:44px;}
.cc-pw-toggle{position:absolute;right:12px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer;padding:4px;color:var(--mu);}
.cc-pw-toggle svg{width:18px;height:18px;display:block;}
.cc-pw-toggle:hover{color:var(--dark);}

.cc-auth-forgot{display:block;font-size:12px;color:var(--mu);text-align:right;margin-bottom:20px;margin-top:-6px;}
.cc-auth-forgot:hover{color:var(--or);}
.cc-auth-terms{font-size:11px;color:var(--mu);line-height:1.6;margin-bottom:16px;}
.cc-auth-terms a{color:var(--or);}

.cc-auth-submit{
  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;
  display:flex;align-items:center;justify-content:center;gap:8px;
}
.cc-auth-submit:hover{background:var(--ord);}
.cc-auth-submit:disabled{opacity:.5;cursor:not-allowed;}

.cc-auth-switch{font-size:13px;color:var(--mu);text-align:center;margin-top:20px;}
.cc-auth-switch-btn{background:none;border:none;color:var(--or);font-weight:700;cursor:pointer;font-size:13px;font-family:'DM Sans',sans-serif;padding:0;}
.cc-auth-switch-btn:hover{text-decoration:underline;}

.cc-auth-back{text-align:center;margin-top:32px;font-size:13px;}
.cc-auth-back a{color:var(--mu);}
.cc-auth-back a:hover{color:var(--or);}

/* Spinner */
.cc-spin{animation:cc-spin .8s linear infinite;width:20px;height:20px;}
@keyframes cc-spin{to{transform:rotate(360deg);}}

/* ═══════════════════════════════════════════════════
   DASHBOARD
═══════════════════════════════════════════════════ */
.cc-dash-page{background:#f8f9fa;}

.cc-dash-hero{
  background:linear-gradient(135deg,#111827 0%,#1f2d40 100%);
  padding:32px 40px;
}
.cc-dash-hero-inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;}
.cc-dash-hero-left{display:flex;align-items:center;gap:16px;}
.cc-dash-avatar{width:56px;height:56px;border-radius:50%;background:var(--or);color:#fff;display:flex;align-items:center;justify-content:center;font-family:'Bebas Neue',sans-serif;font-size:24px;flex-shrink:0;}
.cc-dash-welcome{font-family:'Bebas Neue',sans-serif;font-size:28px;color:#fff;letter-spacing:.5px;line-height:1;}
.cc-dash-email{font-size:13px;color:rgba(255,255,255,.5);margin-top:3px;}
.cc-dash-pub-btn{
  display:flex;align-items:center;gap:8px;
  background:var(--or);color:#fff;border:none;
  padding:12px 24px;border-radius:999px;font-size:14px;font-weight:700;
  font-family:'DM Sans',sans-serif;cursor:pointer;transition:background .2s;text-decoration:none;
  flex-shrink:0;
}
.cc-dash-pub-btn:hover{background:var(--ord);}
.cc-dash-pub-btn svg{width:16px;height:16px;}

/* Stats */
.cc-dash-stats{
  max-width:1200px;margin:0 auto;
  display:grid;grid-template-columns:repeat(4,1fr);gap:16px;
  padding:24px 40px;
}
.cc-dash-stat-card{
  background:#fff;border:1px solid var(--brd);border-radius:var(--rad);
  padding:20px;display:flex;align-items:center;gap:14px;
  transition:box-shadow .2s;
}
.cc-dash-stat-card:hover{box-shadow:0 4px 16px rgba(0,0,0,.07);}
.cc-dash-stat-icon{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.cc-dash-stat-icon svg{width:22px;height:22px;}
.cc-dash-stat-total .cc-dash-stat-icon{background:#EEF2FF;}
.cc-dash-stat-total .cc-dash-stat-icon svg{stroke:#4F46E5;}
.cc-dash-stat-active .cc-dash-stat-icon{background:#F0FDF4;}
.cc-dash-stat-active .cc-dash-stat-icon svg{stroke:#16A34A;}
.cc-dash-stat-paused .cc-dash-stat-icon{background:#FFFBEB;}
.cc-dash-stat-paused .cc-dash-stat-icon svg{stroke:#D97706;}
.cc-dash-stat-review .cc-dash-stat-icon{background:#FFF1F2;}
.cc-dash-stat-review .cc-dash-stat-icon svg{stroke:#E11D48;}
.cc-dash-stat-num{font-family:'Bebas Neue',sans-serif;font-size:32px;color:var(--dark);line-height:1;}
.cc-dash-stat-lbl{font-size:12px;color:var(--mu);margin-top:2px;}

/* Main grid */
.cc-dash-main{max-width:1200px;margin:0 auto;padding:0 40px 60px;}
.cc-dash-grid{display:grid;grid-template-columns:1fr 320px;gap:24px;align-items:start;}

/* Tabs */
.cc-dash-tabs{display:flex;gap:4px;margin-bottom:16px;flex-wrap:wrap;}
.cc-dash-tab{font-size:13px;font-weight:600;color:var(--mu);padding:8px 16px;border-radius:999px;border:1.5px solid var(--brd);background:#fff;text-decoration:none;transition:all .2s;white-space:nowrap;}
.cc-dash-tab:hover,.cc-dash-tab.active{background:var(--or);border-color:var(--or);color:#fff;}

/* Listing items */
.cc-dash-list{display:flex;flex-direction:column;gap:10px;}
.cc-dash-item{
  background:#fff;border:1px solid var(--brd);border-radius:var(--rad);
  display:grid;grid-template-columns:80px 1fr auto auto;gap:14px;
  padding:14px;align-items:center;transition:box-shadow .2s;
}
.cc-dash-item:hover{box-shadow:0 4px 16px rgba(0,0,0,.07);}
.cc-dash-item-img{width:80px;height:60px;border-radius:8px;overflow:hidden;background:#f3f4f6;flex-shrink:0;}
.cc-dash-item-img img{width:100%;height:100%;object-fit:cover;}
.cc-dash-item-no-img{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:24px;}
.cc-dash-item-title{font-size:14px;font-weight:700;color:var(--dark);margin-bottom:3px;line-height:1.3;}
.cc-dash-item-title a:hover{color:var(--or);}
.cc-dash-item-meta{font-size:12px;color:var(--mu);display:flex;gap:6px;flex-wrap:wrap;margin-bottom:4px;}
.cc-dash-item-cat{font-weight:600;color:var(--mid);}
.cc-dash-item-precio{font-family:'Bebas Neue',sans-serif;font-size:18px;color:var(--or);}

.cc-dash-badge{font-size:11px;font-weight:700;padding:3px 10px;border-radius:999px;white-space:nowrap;}
.cc-dash-badge-active{background:#DCFCE7;color:#16A34A;}
.cc-dash-badge-paused{background:#FEF3C7;color:#B45309;}
.cc-dash-badge-review{background:#DBEAFE;color:#1D4ED8;}

.cc-dash-item-actions{display:flex;flex-direction:column;gap:6px;align-items:flex-end;}
.cc-dash-action{
  display:flex;align-items:center;gap:5px;
  font-size:12px;font-weight:600;padding:6px 10px;border-radius:8px;
  border:1.5px solid var(--brd);background:#fff;cursor:pointer;
  font-family:'DM Sans',sans-serif;color:var(--mid);transition:all .2s;text-decoration:none;
  white-space:nowrap;
}
.cc-dash-action svg{width:13px;height:13px;flex-shrink:0;}
.cc-dash-action-edit:hover{border-color:var(--or);color:var(--or);background:#fff7ed;}
.cc-dash-action-toggle:hover{border-color:#D97706;color:#D97706;background:#FFFBEB;}
.cc-dash-action-delete:hover{border-color:var(--red);color:var(--red);background:#FEF2F2;}
.cc-dash-action-toggle.active-state{border-color:#16A34A;color:#16A34A;background:#F0FDF4;}

/* Empty state */
.cc-dash-empty{background:#fff;border:1px solid var(--brd);border-radius:var(--rad);padding:60px 20px;text-align:center;}
.cc-dash-empty svg{width:56px;height:56px;stroke:var(--mu);margin:0 auto 16px;display:block;}
.cc-dash-empty h3{font-size:18px;font-weight:700;color:var(--dark);margin-bottom:8px;}
.cc-dash-empty p{font-size:14px;color:var(--mu);margin-bottom:20px;}
.cc-dash-empty-btn{display:inline-block;background:var(--or);color:#fff;border-radius:999px;padding:12px 28px;font-size:14px;font-weight:700;text-decoration:none;}
.cc-dash-empty-btn:hover{background:var(--ord);}

/* Profile card */
.cc-dash-profile-card{background:#fff;border:1px solid var(--brd);border-radius:var(--rad);padding:20px;position:sticky;top:80px;}
.cc-dash-profile-header{display:flex;align-items:center;gap:12px;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid var(--brd);}
.cc-dash-profile-avatar{width:48px;height:48px;border-radius:50%;background:var(--or);color:#fff;display:flex;align-items:center;justify-content:center;font-family:'Bebas Neue',sans-serif;font-size:20px;flex-shrink:0;}
.cc-dash-profile-name{font-size:15px;font-weight:700;color:var(--dark);}
.cc-dash-profile-since{font-size:12px;color:var(--mu);}
.cc-dash-profile-field{display:flex;flex-direction:column;gap:4px;margin-bottom:12px;}
.cc-dash-profile-field label{font-size:12px;font-weight:600;color:var(--mid);}
.cc-dash-profile-field input{border:1.5px solid var(--brd);border-radius:9px;padding:9px 12px;font-family:'DM Sans',sans-serif;font-size:13px;color:var(--dark);background:#fafafa;outline:none;width:100%;transition:border-color .2s;}
.cc-dash-profile-field input:focus{border-color:var(--or);background:#fff;}
.cc-dash-profile-field small{font-size:11px;color:var(--mu);}
.cc-dash-profile-save{width:100%;background:var(--or);color:#fff;border:none;border-radius:999px;padding:11px;font-size:14px;font-weight:700;font-family:'DM Sans',sans-serif;cursor:pointer;transition:background .2s;margin-top:4px;}
.cc-dash-profile-save:hover{background:var(--ord);}

/* Quick links */
.cc-dash-quick-links{background:#fff;border:1px solid var(--brd);border-radius:var(--rad);padding:16px;margin-top:12px;}
.cc-dash-quick-link{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600;color:var(--mid);padding:9px 0;border-bottom:1px solid #f3f4f6;text-decoration:none;transition:color .2s;}
.cc-dash-quick-link:last-child{border-bottom:none;}
.cc-dash-quick-link:hover{color:var(--or);}
.cc-dash-quick-link svg{width:15px;height:15px;flex-shrink:0;}

/* Listings col */
.cc-dash-listings-col{min-width:0;}
.cc-dash-profile-col{min-width:0;}

/* ═══════════════════════════════════════════════════
   DASHBOARD RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width:1100px) {
  .cc-dash-stats{grid-template-columns:repeat(2,1fr);padding:20px 24px;}
  .cc-dash-main{padding:0 24px 40px;}
  .cc-dash-grid{grid-template-columns:1fr;}
  .cc-dash-profile-card{position:static;}
}
@media (max-width:768px) {
  .cc-dash-hero{padding:24px 20px;}
  .cc-dash-stats{padding:16px 20px;gap:10px;}
  .cc-dash-item{grid-template-columns:64px 1fr;grid-template-rows:auto auto;}
  .cc-dash-item-status,.cc-dash-item-actions{grid-column:2;}
  .cc-dash-item-actions{flex-direction:row;flex-wrap:wrap;gap:4px;}
  .cc-dash-main{padding:0 16px 40px;}
}
@media (max-width:480px) {
  .cc-dash-stats{grid-template-columns:1fr 1fr;}
  .cc-auth-wrap{grid-template-columns:1fr;}
  .cc-auth-brand{display:none;}
  .cc-auth-form-side{padding:32px 20px;}
}
@media (max-width:768px) {
  .cc-auth-wrap{grid-template-columns:1fr;}
  .cc-auth-brand{display:none;}
  .cc-auth-form-side{padding:32px 24px;justify-content:flex-start;}
  .cc-auth-box{max-width:100%;}
}
@media (max-width:600px) {
  .cc-pub-cat-grid{grid-template-columns:repeat(3,1fr);}
  .cc-dash-tabs{gap:4px;}
  .cc-dash-tab{font-size:11px;padding:6px 10px;}
}

/* ═══════════════════════════════════════════════════
   PRICE PILLS (front page quick filters)
═══════════════════════════════════════════════════ */
.cc-price-pills{
  display:flex;align-items:center;gap:8px;
  padding:12px 0 4px;
  flex-wrap:wrap;
}
.cc-price-pills-label{
  font-size:12px;font-weight:700;color:var(--mu);
  text-transform:uppercase;letter-spacing:.06em;
  white-space:nowrap;margin-right:2px;
}
.cc-price-pill{
  display:inline-flex;align-items:center;
  padding:6px 14px;border-radius:999px;
  font-size:12px;font-weight:600;color:var(--mid);
  background:#fff;border:1.5px solid var(--brd);
  text-decoration:none;cursor:pointer;
  transition:all .18s;white-space:nowrap;
}
.cc-price-pill:hover{border-color:var(--or);color:var(--or);background:#fff7ed;}
.cc-price-pill.active{background:var(--or);border-color:var(--or);color:#fff;}

/* ═══════════════════════════════════════════════════
   FILTER SIDEBAR — new ML-style elements
═══════════════════════════════════════════════════ */
.cc-filter-check{
  display:flex;align-items:center;gap:10px;
  cursor:pointer;font-size:13px;color:var(--mid);
  padding:2px 0;user-select:none;
}
.cc-filter-check input[type="checkbox"]{
  width:16px;height:16px;accent-color:var(--or);
  flex-shrink:0;cursor:pointer;
}
.cc-filter-check:hover{color:var(--dark);}

.cc-filter-radio{
  display:flex;align-items:center;gap:8px;
  cursor:pointer;font-size:13px;color:var(--mid);
  padding:4px 10px;border-radius:999px;
  border:1.5px solid var(--brd);background:#fff;
  transition:all .18s;user-select:none;
}
.cc-filter-radio input[type="radio"]{display:none;}
.cc-filter-radio:hover,.cc-filter-radio.checked{
  border-color:var(--or);color:var(--or);background:#fff7ed;
}
.cc-filter-radios-wrap{display:flex;flex-wrap:wrap;gap:6px;}

/* ═══════════════════════════════════════════════════
   DASHBOARD — views stat card + per-item views
═══════════════════════════════════════════════════ */
.cc-dash-stat-views .cc-dash-stat-icon{background:#EDE9FE;}
.cc-dash-stat-views .cc-dash-stat-icon svg{stroke:#7C3AED;}
.cc-dash-stat-views .cc-dash-stat-val{color:#7C3AED;}

.cc-dash-item-views{
  display:inline-flex;align-items:center;gap:4px;
  font-size:11px;color:var(--mu);
  background:#F3F4F6;border-radius:999px;
  padding:3px 9px;font-weight:600;
}
.cc-dash-item-views svg{width:11px;height:11px;stroke:var(--mu);fill:none;stroke-width:2;}

/* ═══════════════════════════════════════════════════
   CARD & SINGLE — envío / empresa / views badges
═══════════════════════════════════════════════════ */
.cc-badge-envio{
  background:#EFF6FF;color:#1D4ED8;
  border:1px solid #BFDBFE;
  border-radius:6px;font-size:10px;font-weight:700;
  padding:2px 7px;display:inline-block;
}

/* Single page additional badges */
.cc-single-badge.cc-badge-envio{background:#EFF6FF;color:#1D4ED8;border:1.5px solid #BFDBFE;}
.cc-single-badge.cc-badge-empresa{background:#F0FDF4;color:#15803D;border:1.5px solid #86EFAC;}
.cc-single-badge.cc-badge-views{background:#F3F4F6;color:var(--mu);border:1.5px solid var(--brd);}

/* ═══════════════════════════════════════════════════
   FILTER SIDEBAR — depto/city selects
═══════════════════════════════════════════════════ */
.cc-filter-group{margin-bottom:20px;}
.cc-filter-group-title{
  font-size:12px;font-weight:700;color:var(--dark);
  text-transform:uppercase;letter-spacing:.06em;
  margin-bottom:8px;
}
.cc-filter-select{
  width:100%;padding:9px 12px;
  border:1.5px solid var(--brd);border-radius:10px;
  font-family:'DM Sans',sans-serif;font-size:13px;
  color:var(--dark);background:#fff;outline:none;
  cursor:pointer;transition:border-color .18s;
  appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 10px center;
  padding-right:32px;
}
.cc-filter-select:focus{border-color:var(--or);}

/* ═══════════════════════════════════════════════════
   PUBLICATION FORM — dept+city row spacing
═══════════════════════════════════════════════════ */
.cc-pub-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
@media (max-width:560px){.cc-pub-row{grid-template-columns:1fr;}}

/* ═══════════════════════════════════════════════════
   DASHBOARD — ANALYTICS SECTION
═══════════════════════════════════════════════════ */
.cc-dash-analytics{
  display:grid;
  grid-template-columns:1fr 340px;
  gap:20px;
  margin-bottom:28px;
}
.cc-dash-chart-card,.cc-dash-top-card{
  background:#fff;border:1px solid var(--brd);border-radius:var(--rad);padding:24px;
}
.cc-dash-chart-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:20px;gap:12px;}
.cc-dash-chart-title{font-size:15px;font-weight:700;color:var(--dark);}
.cc-dash-chart-sub{font-size:12px;color:var(--mu);margin-top:2px;}
.cc-dash-chart-wrap{height:200px;position:relative;}
.cc-dash-chart-toggle{
  font-size:12px;font-weight:600;color:var(--or);
  background:#fff7ed;border:1.5px solid #fed7aa;border-radius:999px;
  padding:5px 14px;cursor:pointer;white-space:nowrap;
  transition:all .18s;
}
.cc-dash-chart-toggle:hover{background:var(--or);color:#fff;border-color:var(--or);}
/* Top list */
.cc-dash-top-list{display:flex;flex-direction:column;gap:14px;}
.cc-dash-top-item{display:flex;align-items:center;gap:10px;}
.cc-dash-top-rank{
  width:22px;height:22px;border-radius:50%;background:var(--bg);
  font-size:11px;font-weight:700;color:var(--mu);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.cc-dash-top-item:first-child .cc-dash-top-rank{background:#FEF3C7;color:#D97706;}
.cc-dash-top-item:nth-child(2) .cc-dash-top-rank{background:#F1F5F9;color:#475569;}
.cc-dash-top-info{flex:1;min-width:0;}
.cc-dash-top-title{font-size:12px;font-weight:600;color:var(--dark);text-decoration:none;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.cc-dash-top-title:hover{color:var(--or);}
.cc-dash-top-bar-wrap{height:4px;background:var(--bg);border-radius:4px;margin-top:5px;}
.cc-dash-top-bar{height:4px;background:linear-gradient(90deg,var(--or),#fb923c);border-radius:4px;min-width:4px;}
.cc-dash-top-views{font-size:12px;font-weight:700;color:var(--dark);flex-shrink:0;}
@media (max-width:900px){.cc-dash-analytics{grid-template-columns:1fr;}}

/* ═══════════════════════════════════════════════════
   DASHBOARD — TIENDA CARD
═══════════════════════════════════════════════════ */
.cc-dash-store-card{
  background:#fff;border:2px solid var(--or);border-radius:var(--rad);
  padding:20px;margin-bottom:12px;
}
.cc-dash-store-active{display:flex;align-items:center;gap:12px;}
.cc-dash-store-logo{width:52px;height:52px;border-radius:50%;overflow:hidden;flex-shrink:0;background:var(--or);}
.cc-dash-store-logo img{width:100%;height:100%;object-fit:cover;}
.cc-dash-store-initials{width:52px;height:52px;border-radius:50%;background:var(--or);color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:700;flex-shrink:0;}
.cc-dash-store-name{font-size:14px;font-weight:700;color:var(--dark);}
.cc-dash-store-city{font-size:12px;color:var(--mu);margin-top:2px;}
.cc-dash-store-btn-pri{flex:1;background:var(--or);color:#fff;border-radius:999px;padding:8px 16px;font-size:13px;font-weight:700;text-decoration:none;text-align:center;transition:background .2s;}
.cc-dash-store-btn-pri:hover{background:var(--ord);}
.cc-dash-store-btn-sec{flex:1;background:#fff7ed;color:var(--or);border:1.5px solid #fed7aa;border-radius:999px;padding:8px 16px;font-size:13px;font-weight:700;text-decoration:none;text-align:center;transition:all .2s;}
.cc-dash-store-btn-sec:hover{background:var(--or);color:#fff;border-color:var(--or);}

/* ═══════════════════════════════════════════════════
   STORE PUBLIC PROFILE (page-tienda.php)
═══════════════════════════════════════════════════ */
.cc-store-page .cc-dash-empty{border:none;background:transparent;}
.cc-store-hero{
  background:linear-gradient(135deg,#1f2937 0%,#374151 100%);
  padding:48px 40px;
}
.cc-store-hero-inner{
  max-width:1200px;margin:0 auto;
  display:flex;align-items:center;gap:28px;flex-wrap:wrap;
}
.cc-store-logo-wrap{flex-shrink:0;}
.cc-store-logo-img{width:100px;height:100px;border-radius:50%;object-fit:cover;border:4px solid var(--or);}
.cc-store-logo-placeholder{
  width:100px;height:100px;border-radius:50%;
  background:var(--or);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:32px;font-weight:700;border:4px solid rgba(255,255,255,.2);
}
.cc-store-hero-info{flex:1;min-width:0;}
.cc-store-hero-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:6px;}
.cc-store-name{font-size:26px;font-weight:700;color:#fff;}
.cc-store-cat-badge{background:var(--or);color:#fff;border-radius:999px;padding:4px 12px;font-size:12px;font-weight:700;}
.cc-store-tagline{font-size:15px;color:rgba(255,255,255,.75);margin-bottom:12px;}
.cc-store-meta{display:flex;align-items:center;gap:20px;flex-wrap:wrap;}
.cc-store-meta span{display:flex;align-items:center;gap:6px;font-size:13px;color:rgba(255,255,255,.65);}
.cc-store-meta svg{width:14px;height:14px;flex-shrink:0;}
.cc-store-wa-btn{
  display:flex;align-items:center;gap:8px;
  background:#25D366;color:#fff;
  border-radius:999px;padding:12px 22px;
  font-size:14px;font-weight:700;text-decoration:none;
  white-space:nowrap;flex-shrink:0;
  transition:background .2s;
}
.cc-store-wa-btn svg{width:18px;height:18px;flex-shrink:0;}
.cc-store-wa-btn:hover{background:#1ebe5d;}

.cc-store-body{max-width:1200px;margin:0 auto;padding:32px 40px;}
.cc-store-about{
  background:#fff;border:1px solid var(--brd);border-radius:var(--rad);
  padding:20px;margin-bottom:24px;
}
.cc-store-about h3{font-size:14px;font-weight:700;color:var(--dark);margin-bottom:8px;}
.cc-store-about p{font-size:13px;color:var(--mu);line-height:1.7;}
.cc-store-cat-filter{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px;}
.cc-store-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px;}

/* ═══════════════════════════════════════════════════
   STORE CARDS (used in tiendas + front-page)
═══════════════════════════════════════════════════ */
.cc-store-card{
  background:#fff;border:1px solid var(--brd);border-radius:var(--rad);
  overflow:hidden;text-decoration:none;color:inherit;
  display:flex;flex-direction:column;
  transition:box-shadow .2s,transform .2s;
}
.cc-store-card:hover{box-shadow:0 8px 32px rgba(0,0,0,.1);transform:translateY(-2px);}
.cc-store-card-logo{
  padding:24px;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#f9fafb,#f3f4f6);
  min-height:100px;
}
.cc-store-card-logo img{width:72px;height:72px;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.1);}
.cc-store-card-initials{
  width:72px;height:72px;border-radius:50%;
  background:var(--or);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:24px;font-weight:700;
  box-shadow:0 2px 8px rgba(249,115,22,.3);
}
.cc-store-card-body{padding:16px;flex:1;}
.cc-store-card-name{font-size:15px;font-weight:700;color:var(--dark);margin-bottom:4px;}
.cc-store-card-tagline{font-size:12px;color:var(--mu);line-height:1.5;margin-bottom:10px;}
.cc-store-card-meta{display:flex;flex-wrap:wrap;gap:6px;}
.cc-store-card-meta span{font-size:11px;color:var(--mu);background:var(--bg);border-radius:999px;padding:3px 10px;}
.cc-store-card-footer{
  padding:12px 16px;border-top:1px solid var(--brd);
  display:flex;align-items:center;justify-content:space-between;
  font-size:12px;color:var(--mu);
}
.cc-store-card-ver{color:var(--or);font-weight:700;}

/* ═══════════════════════════════════════════════════
   TIENDAS PAGE (page-tiendas.php)
═══════════════════════════════════════════════════ */
.cc-tiendas-hero{
  background:linear-gradient(135deg,#111827 0%,#1f2937 100%);
  padding:60px 40px;text-align:center;
}
.cc-tiendas-hero-inner{max-width:700px;margin:0 auto;}
.cc-tiendas-hero h1{font-size:36px;font-weight:700;color:#fff;margin-bottom:10px;}
.cc-tiendas-hero p{font-size:16px;color:rgba(255,255,255,.65);margin-bottom:28px;}
.cc-tiendas-search{
  display:flex;align-items:center;gap:0;
  background:#fff;border-radius:999px;padding:6px 6px 6px 20px;
  max-width:500px;margin:0 auto;
}
.cc-tiendas-search svg{width:16px;height:16px;stroke:var(--mu);fill:none;stroke-width:2;flex-shrink:0;}
.cc-tiendas-search input{flex:1;border:none;outline:none;font-family:'DM Sans',sans-serif;font-size:14px;padding:0 12px;}
.cc-tiendas-search button{background:var(--or);color:#fff;border:none;border-radius:999px;padding:10px 24px;font-size:14px;font-weight:700;cursor:pointer;font-family:'DM Sans',sans-serif;transition:background .2s;}
.cc-tiendas-search button:hover{background:var(--ord);}
.cc-tiendas-body{max-width:1200px;margin:0 auto;padding:40px;}
.cc-tiendas-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px;}
.cc-tiendas-cta{
  background:linear-gradient(135deg,var(--or) 0%,var(--ord) 100%);
  padding:60px 40px;text-align:center;margin-top:40px;
}
.cc-tiendas-cta-inner{max-width:540px;margin:0 auto;}
.cc-tiendas-cta h2{font-size:28px;font-weight:700;color:#fff;margin-bottom:10px;}
.cc-tiendas-cta p{font-size:15px;color:rgba(255,255,255,.85);margin-bottom:24px;}
.cc-tiendas-cta-btn{
  display:inline-block;background:#fff;color:var(--or);
  border-radius:999px;padding:14px 36px;
  font-size:15px;font-weight:700;text-decoration:none;
  transition:transform .2s;
}
.cc-tiendas-cta-btn:hover{transform:scale(1.03);}

/* ═══════════════════════════════════════════════════
   FRONT PAGE — Tiendas carrusel
═══════════════════════════════════════════════════ */
.cc-home-stores{
  background:linear-gradient(180deg,#fff 0%,#F9FAFB 100%);
  padding:56px 0 48px;
  border-top:1px solid var(--brd);
  overflow:hidden;
}
.cc-home-stores-head{
  display:flex;align-items:flex-end;justify-content:space-between;
  margin-bottom:32px;gap:16px;flex-wrap:wrap;
  padding:0 40px;
}
.cc-home-stores-eyebrow{
  display:inline-block;
  font-size:11px;font-weight:700;
  text-transform:uppercase;letter-spacing:.1em;
  color:var(--or);margin-bottom:6px;
}
.cc-home-stores-title{font-size:28px;font-weight:700;color:var(--dark);margin:0;}
.cc-home-stores-sub{font-size:14px;color:var(--mu);margin-top:4px;}
.cc-home-stores-controls{display:flex;align-items:center;gap:10px;}
.cc-home-stores-all{
  font-size:13px;font-weight:700;color:var(--or);
  white-space:nowrap;margin-left:6px;
  border:1.5px solid #fed7aa;border-radius:999px;
  padding:7px 18px;transition:all .18s;
}
.cc-home-stores-all:hover{background:var(--or);color:#fff;border-color:var(--or);}

/* Carousel */
.cc-carousel-viewport{
  padding:0 40px;
  overflow:hidden;
}
.cc-carousel-track{
  display:flex;
  gap:20px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  -ms-overflow-style:none;
  scroll-behavior:smooth;
  padding-bottom:4px;
}
.cc-carousel-track::-webkit-scrollbar{display:none;}

/* Carousel nav buttons */
.cc-carousel-btn{
  width:40px;height:40px;border-radius:50%;
  border:1.5px solid var(--brd);background:#fff;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;transition:all .18s;
  box-shadow:0 2px 8px rgba(0,0,0,.08);flex-shrink:0;
}
.cc-carousel-btn svg{width:16px;height:16px;stroke:var(--mid);}
.cc-carousel-btn:hover{background:var(--or);border-color:var(--or);}
.cc-carousel-btn:hover svg{stroke:#fff;}
.cc-carousel-btn:disabled{opacity:.35;cursor:not-allowed;}
.cc-carousel-btn:disabled:hover{background:#fff;border-color:var(--brd);}
.cc-carousel-btn:disabled:hover svg{stroke:var(--mid);}

/* Dots */
.cc-carousel-dots{
  display:flex;justify-content:center;gap:8px;
  margin-top:24px;
}
.cc-carousel-dot{
  width:8px;height:8px;border-radius:50%;
  background:var(--brd);border:none;cursor:pointer;
  transition:all .2s;padding:0;
}
.cc-carousel-dot.active{background:var(--or);width:24px;border-radius:999px;}

/* Store slide card */
.cc-store-slide{
  flex:0 0 260px;
  scroll-snap-align:start;
  text-decoration:none;color:inherit;
  background:#fff;
  border:1px solid var(--brd);
  border-radius:18px;
  overflow:hidden;
  transition:box-shadow .2s,transform .2s;
  display:flex;flex-direction:column;
}
.cc-store-slide:hover{
  box-shadow:0 12px 40px rgba(0,0,0,.12);
  transform:translateY(-3px);
}
.cc-store-slide-header{
  position:relative;
  height:100px;
  display:flex;align-items:center;justify-content:center;
}
.cc-store-slide-logo{
  width:72px;height:72px;border-radius:50%;
  object-fit:cover;
  border:4px solid rgba(255,255,255,.9);
  box-shadow:0 2px 12px rgba(0,0,0,.2);
}
.cc-store-slide-initials{
  width:72px;height:72px;border-radius:50%;
  background:rgba(255,255,255,.2);
  border:4px solid rgba(255,255,255,.9);
  color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:26px;font-weight:700;
  box-shadow:0 2px 12px rgba(0,0,0,.15);
}
.cc-store-slide-count{
  position:absolute;top:10px;right:10px;
  background:rgba(0,0,0,.35);color:#fff;
  font-size:11px;font-weight:700;
  border-radius:999px;padding:3px 10px;
  backdrop-filter:blur(4px);
}
.cc-store-slide-body{
  padding:16px;flex:1;display:flex;flex-direction:column;gap:6px;
}
.cc-store-slide-name{
  font-size:15px;font-weight:700;color:var(--dark);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.cc-store-slide-tagline{
  font-size:12px;color:var(--mu);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  line-height:1.5;flex:1;
}
.cc-store-slide-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:4px;}
.cc-store-slide-tag{
  font-size:11px;color:var(--mid);
  background:var(--bg);border-radius:999px;
  padding:3px 9px;
}
.cc-store-slide-cta{
  margin-top:12px;
  background:var(--or);color:#fff;
  border-radius:999px;padding:9px;
  font-size:13px;font-weight:700;
  text-align:center;
  transition:background .18s;
}
.cc-store-slide:hover .cc-store-slide-cta{background:var(--ord);}

@media (max-width:768px){
  .cc-home-stores-head{padding:0 20px;}
  .cc-carousel-viewport{padding:0 20px;}
  .cc-home-stores-controls .cc-carousel-btn{display:none;}
  .cc-store-slide{flex:0 0 220px;}
}

/* ═══════════════════════════════════════════════════
   STORE PROFILE PREVIEW (mi-tienda sidebar)
═══════════════════════════════════════════════════ */
.cc-store-preview-mini{display:flex;align-items:center;gap:12px;margin-bottom:14px;padding:12px;background:var(--bg);border-radius:10px;}
.cc-store-mini-logo{width:44px;height:44px;border-radius:50%;overflow:hidden;flex-shrink:0;}
.cc-store-mini-logo img{width:100%;height:100%;object-fit:cover;}
.cc-store-mini-initials{width:44px;height:44px;border-radius:50%;background:var(--or);color:#fff;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:700;}

/* ═══════════════════════════════════════════════════
   STORE BANNER
═══════════════════════════════════════════════════ */
.cc-store-banner{
  width:100%;
  height:280px;
  background-size:cover;
  background-position:center;
  position:relative;
  margin-top:0;
}
.cc-store-banner-overlay{
  position:absolute;inset:0;
  background:linear-gradient(to bottom, rgba(0,0,0,.18) 0%, rgba(0,0,0,.55) 100%);
}
.cc-store-hero--below-banner{
  margin-top:-40px;
  position:relative;
  z-index:2;
  border-radius:20px 20px 0 0;
  background:#fff;
  box-shadow:0 -4px 24px rgba(0,0,0,.12);
}
/* Text overrides when hero sits on white (below banner) */
.cc-store-hero--below-banner .cc-store-name    { color:var(--dark); }
.cc-store-hero--below-banner .cc-store-tagline { color:var(--mid); }
.cc-store-hero--below-banner .cc-store-meta span { color:var(--mu); }
.cc-store-hero--below-banner .cc-store-meta svg  { stroke:var(--mu); }
.cc-store-logo-wrap{
  flex-shrink:0;
}
.cc-store-logo-img{
  width:88px;height:88px;border-radius:50%;
  object-fit:cover;
  border:4px solid #fff;
  box-shadow:0 4px 16px rgba(0,0,0,.15);
  margin-top:-44px;
  position:relative;
  background:#f3f4f6;
}
.cc-store-logo-placeholder{
  width:88px;height:88px;border-radius:50%;
  background:linear-gradient(135deg,var(--or),var(--ord));
  color:#fff;font-size:28px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
  border:4px solid #fff;
  box-shadow:0 4px 16px rgba(0,0,0,.15);
  margin-top:-44px;
  position:relative;
}

/* ═══════════════════════════════════════════════════
   STORE LOCATION SECTION
═══════════════════════════════════════════════════ */
.cc-store-location-section{
  background:#fff;
  border:1px solid var(--brd);
  border-radius:16px;
  padding:24px;
  margin-bottom:28px;
}
.cc-store-section-title{
  display:flex;align-items:center;gap:8px;
  font-size:16px;font-weight:700;color:var(--dark);
  margin-bottom:10px;
}
.cc-store-section-title svg{stroke:var(--or);}
.cc-store-address-text{
  font-size:13px;color:var(--mid);
  margin-bottom:14px;
  line-height:1.5;
}
.cc-store-public-map{
  width:100%;height:320px;
  border-radius:12px;
  overflow:hidden;
  border:1px solid var(--brd);
}
.cc-store-directions-btn{
  display:inline-flex;align-items:center;gap:6px;
  margin-top:14px;
  font-size:13px;font-weight:700;color:var(--or);
  border:1.5px solid #fed7aa;border-radius:999px;
  padding:8px 18px;transition:all .18s;
  text-decoration:none;
}
.cc-store-directions-btn:hover{background:var(--or);color:#fff;border-color:var(--or);}
.cc-store-directions-btn svg{stroke:currentColor;}

/* ═══════════════════════════════════════════════════
   STORE MAP PICKER (mi-tienda editor)
═══════════════════════════════════════════════════ */
.cc-store-map-picker{
  width:100%;height:340px;
  border-radius:12px;
  overflow:hidden;
  border:1.5px solid var(--brd);
}
/* Override Mapbox Geocoder to match site style */
#storeGeocoderWrap .mapboxgl-ctrl-geocoder{
  width:100% !important;max-width:100% !important;
  box-shadow:none !important;
  border:1.5px solid var(--brd);
  border-radius:10px;
  font-family:inherit;
}
#storeGeocoderWrap .mapboxgl-ctrl-geocoder--input{
  font-size:14px;color:var(--dark);
  padding:12px 40px 12px 44px !important;
}
#storeGeocoderWrap .mapboxgl-ctrl-geocoder--input:focus{
  outline:none;border-color:var(--or);box-shadow:0 0 0 3px rgba(249,115,22,.15);
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — stores
═══════════════════════════════════════════════════ */
@media (max-width:768px){
  .cc-store-banner{height:180px;}
  .cc-store-hero--below-banner{margin-top:-24px;border-radius:16px 16px 0 0;}
  .cc-store-logo-img,.cc-store-logo-placeholder{width:68px;height:68px;margin-top:-34px;font-size:22px;}
  .cc-store-hero{padding:20px 16px 24px;}
  .cc-store-hero-inner{flex-direction:column;text-align:center;gap:12px;}
  .cc-store-meta{justify-content:center;flex-wrap:wrap;}
  .cc-store-wa-btn{align-self:center;}
  .cc-store-body{padding:20px 16px;}
  .cc-store-public-map{height:240px;}
  .cc-store-map-picker{height:260px;}
  .cc-tiendas-hero{padding:40px 20px;}
  .cc-tiendas-body{padding:24px 16px;}
  .cc-home-stores{padding:32px 20px;}
  .cc-home-stores-head{flex-direction:column;align-items:flex-start;}
  .cc-dash-analytics{grid-template-columns:1fr;}
}
