/* Containers Library — WooCommerce PDP tabs + ratings */

.cl-pdp-details {
  width: min(1120px, 100%);
  margin: 2.5rem auto 3rem;
  padding: 0 1.25rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #111;
}

.cl-pdp-split {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

.cl-pdp-info {
  min-width: 0;
}

.cl-pdp-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  border-bottom: 1px solid #e6e6e6;
}

.cl-pdp-tab {
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: #b0b0b0;
  padding: 0 0 0.7rem;
  margin: 0 0 -1px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  line-height: 1.2;
}

.cl-pdp-tab:hover {
  color: #666;
}

.cl-pdp-tab.is-active {
  color: #111;
  font-weight: 700;
  border-bottom-color: #111;
}

.cl-pdp-panels {
  padding-top: 1.25rem;
}

.cl-pdp-panel[hidden] {
  display: none;
}

.cl-pdp-panel-copy {
  display: grid;
  gap: 0.95rem;
  color: #555;
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 62ch;
}

.cl-pdp-panel-copy p {
  margin: 0;
}

.cl-pdp-panel-copy h3 {
  margin: 0.2rem 0 0;
  color: #111;
  font-size: 1.05rem;
  font-weight: 700;
}

.cl-pdp-bullet-list,
.cl-pdp-check-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.55rem;
  color: #555;
}

.cl-pdp-bullet-list li::marker,
.cl-pdp-check-list li::marker {
  color: #111;
}

.cl-pdp-panel-copy a {
  color: #111;
  text-decoration: underline;
}

.cl-pdp-specs {
  display: grid;
  gap: 0;
  margin: 0;
  max-width: 480px;
}

.cl-pdp-specs > div {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #eee;
}

.cl-pdp-specs dt {
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

.cl-pdp-specs dd {
  margin: 0;
  color: #111;
  font-weight: 500;
}

.cl-pdp-note {
  font-size: 0.9rem;
  color: #888;
}

.cl-pdp-ratings {
  min-width: 0;
}

.cl-pdp-ratings-sources {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1.25rem;
  border-bottom: 1px solid #e6e6e6;
}

.cl-pdp-ratings-source {
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  color: #b0b0b0;
  padding: 0 0 0.7rem;
  margin: 0 0 -1px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-bottom: 2px solid transparent;
  line-height: 1.2;
  white-space: nowrap;
}

.cl-pdp-ratings-source img {
  width: 14px;
  height: 14px;
  display: block;
}

.cl-pdp-ratings-source.is-active {
  color: #111;
  font-weight: 700;
  border-bottom-color: #111;
}

.cl-pdp-ratings-body {
  padding-top: 1.75rem;
  text-align: center;
}

.cl-pdp-ratings-label {
  font-weight: 700;
  font-size: 1.05rem;
  color: #111;
  margin: 0 0 0.65rem;
}

.cl-pdp-ratings-scoreline {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.55rem;
}

.cl-pdp-ratings-score {
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1;
  color: #111;
  letter-spacing: -0.02em;
}

.cl-pdp-ratings-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.08rem;
  line-height: 1;
}

.cl-pdp-star {
  display: block;
  flex: 0 0 auto;
}

.cl-pdp-ratings-count {
  color: #b0b0b0;
  font-size: 0.95rem;
  font-weight: 500;
}

.cl-pdp-description {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid #eee;
}

.cl-pdp-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  font-weight: 600;
}

.cl-pdp-description h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
}

.cl-pdp-longcopy {
  margin-top: 0.85rem;
  color: #555;
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 70ch;
}

.cl-pdp-longcopy p {
  margin: 0 0 0.85rem;
}

@media (min-width: 900px) {
  .cl-pdp-split {
    grid-template-columns: minmax(0, 1.55fr) minmax(220px, 0.85fr);
    column-gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .cl-pdp-tablist,
  .cl-pdp-ratings-sources {
    gap: 1rem;
  }

  .cl-pdp-tab,
  .cl-pdp-ratings-source {
    font-size: 0.9rem;
  }

  .cl-pdp-specs > div {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
}

/* Soften default Woo chrome around this section */
.single-product .woocommerce-tabs {
  display: none !important;
}

.cl-cart-notice {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  background: #f3f7f2;
  border: 1px solid #cfe3c8;
  color: #1a1a1a;
  font-size: 0.95rem;
  line-height: 1.45;
}

.cl-cart-notice a {
  color: #111;
  font-weight: 700;
  text-decoration: underline;
}

.cl-cart-notice.woocommerce-error {
  background: #fdf2f2;
  border-color: #f0c2c2;
}

.single_add_to_cart_button.loading {
  opacity: 0.7;
  pointer-events: none;
}
