/*
Theme: Bimber Child – BABY
Estilo Amazon premium infantil (BABY)
*/

/* ==============================
   BASE
   ============================== */
.baby-page {
  background: #ffffff;
  color: #111111;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ==============================
   TOP BAR
   ============================== */
.baby-topbar {
  background: #FFF3E6;
  border-bottom: 2px solid #FF7A00;
  padding: 14px 25px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.baby-topbar-logo {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #FF7A00;
  text-transform: uppercase;
}

.baby-searchbar {
  flex: 1;
}

.baby-searchbar input[type="search"] {
  width: 100%;
  padding: 12px 18px;
  border-radius: 999px;
  border: 2px solid #FF7A00;
  background: #ffffff;
  font-size: 15px;
  outline: none;
}

.baby-searchbar input[type="search"]:focus {
  border-color: #2A7DE1;
  box-shadow: 0 0 0 4px rgba(42, 125, 225, 0.15);
}

/* LINKS */
.baby-topbar-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.baby-topbar-links a {
  font-weight: 700;
  font-size: 14px;
  color: #111111;
  text-decoration: none;
  white-space: nowrap;
}

.baby-topbar-links a:hover {
  color: #FF7A00;
}

/* ==============================
   CATEGORY STRIP
   ============================== */
.baby-catstrip {
  background: #ffffff;
  border-bottom: 1px solid #e7e7e7;
  padding: 12px 25px;
  display: flex;
  gap: 22px;
  overflow-x: auto;
}

.baby-catstrip a {
  font-weight: 800;
  font-size: 14px;
  color: #111111;
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.baby-catstrip a:hover {
  color: #FF7A00;
  border-bottom-color: #FF7A00;
}

/* ==============================
   HERO
   ============================== */
.baby-hero {
  margin: 40px auto;
  max-width: 1500px;
  padding: 0 20px;
  text-align: left;
}

.baby-hero img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
  display: block;
}

.baby-hero h1 {
  margin-top: 18px;
  font-size: 32px;
  font-weight: 900;
  color: #1B1B1B;
}

.baby-hero p {
  margin-top: 8px;
  font-size: 16px;
  color: #4a4a4a;
}

/* ==============================
   SECTIONS
   ============================== */
.baby-section {
  max-width: 1500px;
  margin: 40px auto;
  padding: 0 20px;
}

.baby-section-title {
  font-size: 24px;
  font-weight: 900;
  color: #FF7A00;
  margin-bottom: 8px;
}

.baby-section-sub {
  font-size: 14px;
  color: #5a5a5a;
  margin-bottom: 20px;
}

/* ==============================
   PRODUCT GRID
   ============================== */
.baby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}

/* Card */
.baby-product-card {
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 16px;
  padding: 14px 14px 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.baby-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
  border-color: #FF7A00;
}

/* Image */
.baby-product-image img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.baby-product-card:hover .baby-product-image img {
  transform: scale(1.04);
}

/* Text */
.baby-product-title {
  margin: 10px 0 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  max-height: 2.7em; /* ~2 líneas */
  overflow: hidden;
}

.baby-product-title a {
  color: #111111;
  text-decoration: none;
}

.baby-product-title a:hover {
  color: #2A7DE1;
}

/* Price */
.baby-product-price {
  font-size: 16px;
  font-weight: 900;
  color: #B12704; /* referencia Amazon price */
  margin-top: 2px;
}

/* Button */
.baby-product-footer {
  margin-top: auto;
  padding-top: 12px;
}

.baby-product-button {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  background: #FFD814;
  color: #111111;
  border: 1px solid #FCD200;
  transition: background 0.2s ease, transform 0.2s ease;
}

.baby-product-button:hover {
  background: #F7CA00;
  transform: translateY(-1px);
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 768px) {
  .baby-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .baby-hero h1 {
    font-size: 26px;
  }
}

@media (max-width: 600px) {
  .baby-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .baby-product-image img {
    height: 180px;
  }
}
