* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
header {
  box-shadow: 0px -1px 12px rgba(0, 0, 0, 0.25);
  background-color: #ffffff;
}
header .menu a {
  color: #000000;
}
header .logo img {
  filter: none;
}
header .btn #spn1, #spn2, #spn3 {
  background-color: #101010;
}
header .user img {
  filter: invert(100%) sepia(50%) saturate(2%) hue-rotate(62deg) brightness(107%) contrast(101%);
}
header .Bag .buy {
  filter: invert(100%) sepia(50%) saturate(2%) hue-rotate(62deg) brightness(107%) contrast(101%);
}
header .count-products {
  background: #000000;
  color: #f0f0f0;
  border: 1px solid #f0f0f0;
}
header .count-products span {
  color: #f0f0f0;
}
body {
  background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 100%);
}
.section {
  max-width: 1550px;
  margin: 0 auto;
}
.cover_container {
  padding: 130px 10% 50px;
  text-align: center;
}
.cover-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-brand);
  background: rgba(4, 141, 152, 0.1);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cover_container h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: #111;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.2;
}
.cover_container h1 b {
  color: var(--color-brand);
  font-weight: 700;
}
.cover_container > p {
  font-size: 1rem;
  color: #555;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}
.arreglo_base_secciones {
  padding: 25px 10%;
  display: flex;
  gap: 44px;
  align-items: flex-start;
}
.contenedor_blog {
  flex: 1;
  min-width: 0;
}
.blog-section-title {
  border-bottom: 2px solid rgba(4, 141, 152, 0.18);
  margin-bottom: 26px;
  padding-bottom: 10px;
}
.blog-section-title h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-brand);
  padding: 0px 0px 5px 12px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

/* ── Cards ── */
.blog {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.blog:hover {
  transform: translateY(-7px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}
.blog-img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.blog:hover .blog-img img {
  transform: scale(1.06);
}
.blog-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(0, 0, 0, 0.2) 100%);
  pointer-events: none;
}
.blog--soon .blog-img::after {
  background: rgba(0, 0, 0, 0.3);
}
.blog-soon-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 10, 10, 0.65);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 7px;
  letter-spacing: 0.06em;
  z-index: 1;
  backdrop-filter: blur(4px);
}
.blog-body {
  padding: 16px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.blog-category {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-brand);
  background: rgba(4, 141, 152, 0.1);
  padding: 3px 10px;
  border-radius: 7px;
  white-space: nowrap;
}
.blog-date {
  font-size: 0.7rem;
  color: #aaa;
}
.blog-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 10px;
  line-height: 1.4;
  padding: 0;
}
.blog--soon .blog-body h3 {
  color: #888;
}
.blog-body p {
  font-size: 0.82rem;
  color: #555;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 16px;
  flex: 1;
}
.blog-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-brand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 6px;
  border-color: rgba(4, 141, 152, 0.2);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(4, 141, 152, 0.2);
  width: fit-content;
  margin-top: auto;
  box-shadow:
    inset 2px 2px 5px rgba(0, 0, 0, 0.09),
    inset -2px -2px 4px rgba(255, 255, 255, 0.9);
  transition: 0.45s;
}
.blog-cta:hover {
  background: rgba(4, 141, 152, 1);
  box-shadow:
    0px 1px 4px rgba(0, 0, 0, 0.05),
    0px 3px 4px rgba(0, 0, 0, 0.05),
    0 4px 10px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
  color: #ffffff;
}

/* ── Sidebar populares ── */
.contenedor_populares {
  width: 35%;
  flex-shrink: 0;
}

.popular {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-left-color 0.25s ease;
  border-left: 3px solid transparent;
}
.popular:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-left-color: var(--color-brand);
}
.popular--soon {
  opacity: 0.55;
  cursor: default;
}
.popular--soon:hover {
  transform: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  border-left-color: transparent;
}
.popular-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-brand);
  line-height: 1;
  min-width: 22px;
  padding-top: 1px;
}
.popular-info {
  flex: 1;
}
.popular-meta {
  font-size: 0.68rem;
  color: #aaa;
  display: block;
  margin-bottom: 5px;
}
.popular-info h3 {
  font-size: 0.88rem;
  font-weight: 600;
  color: #111;
  line-height: 1.4;
  padding: 0;
}
.popular--soon .popular-info h3 {
  color: #888;
}

/* ── Responsive ── */
@media (min-width: 1600px) {
  .cover_container {
    padding: 130px 130px 50px;
  }
  .arreglo_base_secciones {
    padding: 40px 130px;
  }
}
@media (max-width: 1100px) {
  .contenedor_populares {
    width: 260px;
  }
}
@media (max-width: 950px) {
  .arreglo_base_secciones {
    flex-direction: column;
    padding: 0 4% 40px;
    gap: 32px;
  }
  .contenedor_blog {
    width: 100%;
  }
  .contenedor_populares {
    width: 100%;
  }
}
@media (max-width: 700px) {
  .cover_container {
    padding: 110px 5% 40px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .arreglo_base_secciones {
    padding: 0 3% 40px;
  }
}
