/* ==============================
   CDT Stores Page (clean + modern)
   Works with .cdt-* classes only
   ============================== */

:root{
  --cdt-bg: #f6f8fb;
  --cdt-surface: #ffffff;
  --cdt-text: #0f172a;
  --cdt-muted: #64748b;
  --cdt-border: rgba(15, 23, 42, .10);
  --cdt-shadow: 0 14px 40px rgba(2, 6, 23, .10);
  --cdt-shadow-soft: 0 10px 24px rgba(2, 6, 23, .08);
  --cdt-radius: 18px;
  --cdt-radius-sm: 12px;
  --cdt-accent: #1d4ed8; /* azul sobrio */
  --cdt-accent-2: #0ea5e9; /* un toque suave */
}

/* Page container */
.cdt-stores{
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 16px 56px;
}

/* Optional: soft background on body if you want */
body{
  background: var(--cdt-bg);
}

/* Card */
.cdt-store-card{
  background: var(--cdt-surface);
  border: 1px solid var(--cdt-border);
  border-radius: var(--cdt-radius);
  box-shadow: var(--cdt-shadow-soft);
  overflow: hidden;
  margin: 18px auto;
}

/* If you want cards in a grid (2 columns desktop) */
@media (min-width: 980px){
  .cdt-stores{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
  .cdt-store-card{
    margin: 0;
  }
}

/* Media */
.cdt-store-media{
  position: relative;
  background: #eef2f7;
}

.cdt-store-img{
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

@media (min-width: 980px){
  .cdt-store-img{ height: 280px; }
}

/* Badge */
.cdt-badge{
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(15, 23, 42, .12);
  color: var(--cdt-text);
  font-weight: 700;
  font-size: 14px;
  backdrop-filter: blur(10px);
}

/* Body spacing */
.cdt-store-body{
  padding: 22px 22px 20px;
}

@media (min-width: 700px){
  .cdt-store-body{
    padding: 28px 28px 24px;
  }
}

/* Title */
.cdt-store-title{
  margin: 6px 0 14px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--cdt-text);
}

/* Grid inside card */
.cdt-grid{
  display: grid;
  gap: 14px;
}

@media (min-width: 700px){
  .cdt-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

/* Box sections */
.cdt-box{
  padding: 14px 14px;
  border-radius: var(--cdt-radius-sm);
  border: 1px solid rgba(15, 23, 42, .08);
  background: #fbfcfe;
}

.cdt-label{
  font-size: 13px;
  font-weight: 800;
  color: var(--cdt-text);
  margin-bottom: 8px;
  letter-spacing: .02em;
}

.cdt-text{
  color: var(--cdt-muted);
  font-size: 14px;
  line-height: 1.5;
}

.cdt-hours div{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(15, 23, 42, .12);
}

.cdt-hours div:last-child{
  border-bottom: 0;
}

.cdt-hours span{
  color: var(--cdt-muted);
  font-size: 14px;
}

.cdt-hours strong{
  color: var(--cdt-text);
  font-weight: 700;
  font-size: 14px;
}

/* Actions (chips) */
.cdt-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cdt-chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, .10);
  background: #ffffff;
  color: var(--cdt-text);
  text-decoration: none;
  font-weight: 650;
  font-size: 14px;
  box-shadow: 0 6px 18px rgba(2, 6, 23, .06);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.cdt-chip:hover{
  transform: translateY(-1px);
  border-color: rgba(29, 78, 216, .30);
  box-shadow: 0 10px 22px rgba(2, 6, 23, .10);
}

/* CTA */
.cdt-cta{
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}

.cdt-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid rgba(15, 23, 42, .12);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.cdt-btn.primary{
  background: linear-gradient(135deg, var(--cdt-accent), var(--cdt-accent-2));
  color: #fff;
  border-color: rgba(29, 78, 216, .35);
  box-shadow: var(--cdt-shadow);
}

.cdt-btn.primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 46px rgba(2, 6, 23, .16);
}

/* Mobile polish */
@media (max-width: 520px){
  .cdt-store-title{ font-size: 20px; }
  .cdt-store-body{ padding: 18px; }
  .cdt-cta{ justify-content: stretch; }
  .cdt-btn{ width: 100%; }
  

  
  
}
