.ra-pd-head,
.ra-pd-facts,
.ra-pd-price,
.ra-pd-buy,
.ra-pd-perks,
.ra-pd-tabs {
  --ra-pd-red: #e10600;
  --ra-pd-red-dark: #b80500;
  --ra-pd-blue: #0a4fd6;
  --ra-pd-ink: #14171c;
  --ra-pd-muted: #5b6470;
  --ra-pd-line: rgba(20, 23, 28, 0.12);
  --ra-pd-sky: #eaf6fd;
  --ra-pd-card: #fff;
  box-sizing: border-box;
  color: var(--ra-pd-ink);
}

.ra-pd-empty {
  padding: 10px 12px;
  border: 1px dashed rgba(20, 23, 28, 0.3);
  border-radius: 8px;
  font-size: 13px;
  color: #5b6470;
}

/* Head */
.ra-pd-head__chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--ra-pd-blue);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.ra-pd-head__title,
.ra-pd-tabs__panel h2,
.ra-pd-tabs__panel h3 {
  font-family: inherit;
}

.ra-pd-head__title {
  margin: 12px 0 8px;
  padding: 0;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ra-pd-ink);
}

.ra-pd-head__lead {
  color: var(--ra-pd-muted);
  font-size: 15px;
  line-height: 1.55;
}

.ra-pd-head__lead p {
  margin: 0 0 4px;
}

/* Facts */
.ra-pd-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ra-pd-facts li {
  margin: 0;
  padding: 0;
}

.ra-pd-facts li::before {
  content: none;
}

.ra-pd-facts__chip {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid var(--ra-pd-line);
  border-radius: 8px;
  background: #fff;
  color: var(--ra-pd-ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}

a.ra-pd-facts__chip:hover {
  border-color: var(--ra-pd-red);
  color: var(--ra-pd-red);
}

/* Price */
.ra-pd-price__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}

.ra-pd-price__amount {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ra-pd-ink);
}

.ra-pd-price__amount del {
  margin-right: 8px;
  font-size: 0.55em;
  font-weight: 500;
  color: var(--ra-pd-muted);
}

.ra-pd-price__amount ins {
  text-decoration: none;
  background: none;
}

.ra-pd-price__pack {
  font-size: 14px;
  color: var(--ra-pd-muted);
}

.ra-pd-price__stock {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
}

.ra-pd-price__stock::before {
  content: "●";
  margin-right: 6px;
}

.ra-pd-price__stock.is-instock { color: #0f7a3a; }
.ra-pd-price__stock.is-onbackorder { color: #b26a00; }
.ra-pd-price__stock.is-outofstock { color: #8a8f98; }

/* Buy */
.ra-pd-buy {
  --ra-pd-cart-bg: var(--ra-pd-red);
  --ra-pd-cart-bg-hover: var(--ra-pd-red-dark);
  --ra-pd-cart-ink: #fff;
  --ra-pd-cart-h: 52px;
  --ra-pd-cart-r: 12px;
  --ra-pd-qty-bg: #fff;
  --ra-pd-qty-line: var(--ra-pd-line);
}

.ra-pd-buy .stock {
  display: none;
}

.ra-pd-buy form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.ra-pd-buy form.cart::before,
.ra-pd-buy form.cart::after {
  content: none;
}

.ra-pd-buy form.cart .quantity {
  display: flex;
  align-items: center;
  float: none;
  margin: 0;
  height: var(--ra-pd-cart-h);
  border: 1px solid var(--ra-pd-qty-line);
  border-radius: var(--ra-pd-cart-r);
  background: var(--ra-pd-qty-bg);
  overflow: hidden;
}

.ra-pd-buy form.cart .quantity input.qty {
  width: 48px;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ra-pd-ink);
  font: inherit;
  font-weight: 600;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}

.ra-pd-buy.has-steppers form.cart .quantity input.qty {
  width: 40px;
}

.ra-pd-buy form.cart .quantity input.qty::-webkit-outer-spin-button,
.ra-pd-buy form.cart .quantity input.qty::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.ra-pd-buy .ra-pd-qty__btn {
  width: 40px;
  height: 100%;
  margin: 0;
  padding: 0 !important;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  color: var(--ra-pd-ink) !important;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.ra-pd-buy .ra-pd-qty__btn:hover,
.ra-pd-buy .ra-pd-qty__btn:focus-visible {
  color: var(--ra-pd-red) !important;
}

.ra-pd-buy form.cart .single_add_to_cart_button,
.ra-pd-buy form.cart .single_add_to_cart_button.button,
.ra-pd-buy form.cart .single_add_to_cart_button.button.alt {
  flex: 1 1 160px;
  float: none;
  height: var(--ra-pd-cart-h);
  min-height: 0;
  margin: 0;
  padding: 0 20px;
  border: 0;
  border-radius: var(--ra-pd-cart-r);
  background: var(--ra-pd-cart-bg);
  color: var(--ra-pd-cart-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: var(--ra-pd-cart-h);
  text-align: center;
  cursor: pointer;
}

.ra-pd-buy form.cart .single_add_to_cart_button:hover,
.ra-pd-buy form.cart .single_add_to_cart_button:focus-visible {
  background: var(--ra-pd-cart-bg-hover);
  color: var(--ra-pd-cart-ink);
}

.ra-pd-buy__ask {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  margin-top: 10px;
  border: 1px solid var(--ra-pd-line);
  border-radius: var(--ra-pd-cart-r);
  background: #fff;
  color: var(--ra-pd-ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
}

.ra-pd-buy__ask:hover,
.ra-pd-buy__ask:focus-visible {
  border-color: var(--ra-pd-red);
  color: var(--ra-pd-red);
}

/* Perks */
.ra-pd-perks {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ra-pd-perks.has-divider {
  padding-top: 16px;
  border-top: 1px solid var(--ra-pd-line);
}

.ra-pd-perks li {
  margin: 0;
  padding: 0;
}

.ra-pd-perks li::before {
  content: none;
}

.ra-pd-perks__item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.ra-pd-perks__icon {
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff;
  color: var(--ra-pd-red);
  font-size: 15px;
}

.ra-pd-perks__icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.ra-pd-perks__icon.is-emoji {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 17px;
  line-height: 1;
}

.ra-pd-perks__body {
  display: grid;
  min-width: 0;
  overflow-wrap: anywhere;
}

.ra-pd-perks__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.ra-pd-perks__text {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ra-pd-muted);
}

/* Tabs */
.ra-pd-tabs {
  border: 1px solid var(--ra-pd-line);
  border-radius: 16px;
  background: var(--ra-pd-card);
  overflow: hidden;
}

.ra-pd-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px;
  border-bottom: 1px solid var(--ra-pd-line);
}

.ra-pd-tabs__tab,
.ra-pd-tabs__tab:hover,
.ra-pd-tabs__tab:focus {
  margin: 0;
  padding: 10px 16px !important;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ra-pd-muted);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  box-shadow: none;
}

.ra-pd-tabs__tab:hover {
  color: var(--ra-pd-ink);
}

.ra-pd-tabs__tab.is-on {
  background: var(--ra-pd-sky);
  color: var(--ra-pd-ink);
}

.ra-pd-tabs__panel {
  max-width: 860px;
  padding: 24px 28px 28px;
  font-size: 15px;
  line-height: 1.6;
}

.ra-pd-tabs__panel[hidden] {
  display: none;
}

.ra-pd-tabs__panel h2 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ra-pd-ink);
}

.ra-pd-tabs__panel * + h2 {
  margin-top: 20px;
}

.ra-pd-tabs__panel p {
  margin: 0 0 14px;
}

.ra-pd-tabs__specs {
  width: 100%;
  margin: 0 0 20px;
  border: 0;
  border-collapse: collapse;
  font-size: 14px;
}

.ra-pd-tabs__specs th,
.ra-pd-tabs__specs td {
  padding: 10px 12px 10px 0;
  border: 0;
  border-bottom: 1px solid var(--ra-pd-line);
  background: transparent;
  text-align: left;
  vertical-align: top;
}

.ra-pd-tabs__specs th {
  width: 38%;
  color: var(--ra-pd-muted);
  font-weight: 500;
}

.ra-pd-tabs__panel table:not(.ra-pd-tabs__specs) {
  display: table;
  width: 100%;
  margin: 0 0 14px;
  border-collapse: collapse;
  font-size: 14px;
}

.ra-pd-tabs__panel table:not(.ra-pd-tabs__specs) tr {
  display: table-row;
}

.ra-pd-tabs__panel table:not(.ra-pd-tabs__specs) th,
.ra-pd-tabs__panel table:not(.ra-pd-tabs__specs) td {
  display: table-cell;
  width: auto;
  padding: 8px 12px 8px 0;
  border: 0;
  border-bottom: 1px solid var(--ra-pd-line);
  text-align: left;
  vertical-align: top;
}

.ra-pd-note,
.ra-pd-tabs__note {
  margin: 6px 0 16px;
  padding: 12px 16px;
  border-left: 4px solid var(--ra-pd-red);
  border-radius: 0 10px 10px 0;
  background: #fff5f5;
  font-size: 14px;
}

.ra-pd-tabs__panel #reviews h2,
.ra-pd-tabs__panel .woocommerce-Reviews-title {
  font-size: 20px;
}

.ra-pd-tabs__panel #review_form .comment-reply-title {
  display: block;
  margin: 16px 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.ra-pd-tabs__panel #review_form .form-submit input[type="submit"] {
  padding: 12px 22px;
  border: 0;
  border-radius: 12px;
  background: var(--ra-pd-red);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.ra-pd-tabs__panel #review_form .form-submit input[type="submit"]:hover {
  background: var(--ra-pd-red-dark);
}

@media (max-width: 780px) {
  .ra-pd-head__title {
    font-size: 23px;
  }

  .ra-pd-price__amount {
    font-size: 28px;
  }

  .ra-pd-tabs__panel {
    padding: 18px;
  }

  .ra-pd-tabs__tab,
  .ra-pd-tabs__tab:hover,
  .ra-pd-tabs__tab:focus {
    padding: 9px 12px !important;
  }
}
