/* Import Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');

.cab-amazon-product {
  text-align: center;
  margin: 20px auto;
  font-family: 'Poppins', sans-serif;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: box-shadow 0.3s ease;
  background-color: #fff;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.cab-amazon-product:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cab-amazon-product img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.cab-amazon-product p {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 10px 0 5px;
}

.cab-amazon-product p a {
  color: #111;
  text-decoration: none;
}

.cab-amazon-product p a:hover {
  text-decoration: underline;
  color: #0073bb;
}

.cab-amazon-product small {
  display: block;
  color: #555;
  font-size: 0.85rem;
  margin-bottom: 5px;
}

.cab-rating {
  font-size: 0.95rem;
  color: #e69138;
  margin-bottom: 8px;
}

.cab-amazon-button {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px 10px 44px; /* extra left padding for the icon */
  background-color: #f0c14b;
  color: #111;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  border-radius: 4px;
  border: 1px solid #a88734;
  font-size: 1.1rem;

  /* Reference to your uploaded PNG */
  background-image: url('/wp-content/uploads/2025/06/Amazon_icon_2.png');
  background-repeat: no-repeat;
  background-position: 12px center;
  background-size: 20px;
}

.cab-amazon-button:hover {
  background-color: #e5b13a;
}

.cab-amazon-button-dark {
  padding: 10px 18px 10px 42px;
  min-width: 280px;
  background-color: #ffb703;
  border: 1px solid #d08b00;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: center;
  font-size: 0.98rem;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(208, 139, 0, 0.18);
  border-radius: 12px;
  background-position: 12px center;
}

.cab-amazon-button-dark:hover {
  background-color: #f2a900;
  color: #111;
}

.cab-cta-wrap {
  margin: 24px auto 28px;
  text-align: center;
}

.cab-roundup-box {
  position: relative;
  margin: 28px 0;
  padding: 40px 32px 28px;
  background: #fff;
  border-radius: 8px;
  border: 0;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.cab-roundup-box__badge {
  position: absolute;
  top: -14px;
  left: -12px;
  display: inline-block;
  width: auto;
  padding: 12px 26px;
  background-color: #1f2937;
  color: #fff;
  z-index: 500;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0;
  text-align: left;
  border-radius: 0;
  border: 0;
  box-shadow: 6px 6px 14px rgba(15, 23, 42, 0.18);
}

.cab-roundup-box__badge::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 12px 12px 0;
  border-color: transparent #b8bec8 transparent transparent;
  z-index: -1;
}

.cab-roundup-box__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  max-width: 1060px;
  margin: 0 auto;
}

.cab-roundup-box__left {
  text-align: center;
}

.cab-roundup-box__right {
  min-width: 0;
}

.cab-roundup-box__media {
  text-align: center;
}

.cab-roundup-box__image-link {
  display: inline-block;
}

.cab-roundup-box__media img {
  max-width: 220px;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.cab-roundup-box__title {
  max-width: 1060px;
  margin: 10px auto 30px;
  font-size: 1.8rem;
  line-height: 1.15;
  color: #101828;
  font-weight: 800;
  text-align: left;
}

.cab-roundup-box__title a {
  color: inherit;
  text-decoration: none;
}

.cab-roundup-box__title a:hover {
  text-decoration: underline;
}

.cab-roundup-box__bullets {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cab-roundup-box__bullets li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 22px;
  color: #1d2939;
  font-size: 1.05rem;
  line-height: 1.45;
}

.cab-roundup-box__bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #0f172a;
  font-weight: 700;
}

.cab-roundup-box__best-for {
  margin: 18px 0 0;
  color: #1d2939;
  font-size: 1rem;
  line-height: 1.5;
}

.cab-roundup-box__best-for strong {
  color: #101828;
}

.cab-roundup-box__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  margin: 26px auto 0;
  max-width: 1060px;
  padding: 0 40px;
}

.cab-roundup-box__actions .cab-amazon-button {
  min-width: 200px;
  margin: 0 auto;
}

.cab-roundup-box__analysis {
  display: inline-block;
  margin: 0;
  color: #101828;
  background: transparent;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
  text-align: center;
  justify-self: center;
}

.cab-roundup-box__analysis:hover {
  color: #1d4ed8;
}

@media (max-width: 900px) {
  .cab-roundup-box__inner {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 28px;
  }

  .cab-roundup-box__media {
    text-align: center;
  }

  .cab-roundup-box__actions {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .cab-roundup-box__actions {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 0;
  }

  .cab-roundup-box__actions .cab-amazon-button {
    margin: 0;
  }

  .cab-roundup-box__analysis {
    justify-self: start;
  }
}

@media (max-width: 767px) {
  .cab-roundup-box__badge {
    font-size: 16px;
  }
}

@media (max-width: 500px) {
  .cab-roundup-box__badge {
    padding: 12px 15px;
    font-size: 14px;
    line-height: 16px;
  }
}
