/* Product trust + payment strip — match Motor prod-info typography */
.amz-product-trust {
  margin: 0 0 30px;
  padding: 0;
  clear: both;
  width: 100%;
  max-width: 100%;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  line-height: 1.45;
  color: #868ca7;
  box-sizing: border-box;
}

.amz-product-trust *,
.amz-product-trust *::before,
.amz-product-trust *::after {
  box-sizing: border-box;
}

.amz-product-trust__benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin: 0;
  padding: 22px 31px;
  background: #fff;
  border-radius: 4px;
  box-shadow: inset 0 -4px 0 0 #dfe2f0, 0 10px 20px 0 rgba(192, 196, 215, 0.25);
}

.amz-product-trust__benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
}

.amz-product-trust__icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.amz-product-trust__icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.amz-product-trust__icon--blue { background: #e8f1ff; color: #2b6cb0; }
.amz-product-trust__icon--green { background: #e9f8ef; color: #1f7a45; }
.amz-product-trust__icon--red { background: #fdeced; color: #c53030; }
.amz-product-trust__icon--amber { background: #fff4e5; color: #b7791f; }

.amz-product-trust__label {
  font-family: inherit;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
  color: #283346;
}

/* Pay strip: desktop between .prod-info and .prod-actions; mobile under .prod-actions */
.amz-product-trust__pay {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px 28px;
  margin: 0;
  padding: 18px 4%;
  border: 0;
  border-bottom: 1px solid #e0e4f6;
  background: #fff;
  width: 100%;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  color: #868ca7;
}

.amz-product-trust__pay--beside {
  margin: 0;
  clear: both;
}

.amz-product-trust__pay-main,
.amz-product-trust__ship {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.amz-product-trust__pay-main {
  flex: 1 1;
}

.amz-product-trust__ship {
  flex: 1 1;
  margin: 0;
  padding: 0;
  border: 0;
}

.amz-product-trust__pay-title {
  margin: 0 0 12px;
  padding: 0;
  min-height: 22px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.45;
  color: #868ca7;
}

.amz-product-trust__logos,
.amz-product-trust__ship-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  margin: 0;
  min-height: 40px;
  height: 40px;
}

.amz-product-trust__logos {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.amz-product-trust__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}

.amz-product-trust__logo svg,
.amz-product-trust__logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 88px;
  max-height: 40px;
  object-fit: contain;
  object-position: center;
}

.amz-product-trust__logo--sameday {
  height: auto;
  margin-right: 10px;
}

.amz-product-trust__logo--sameday img {
  max-height: 60px;
}

.amz-product-trust__ship-text {
  display: block;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  color: #868ca7;
}

@media (max-width: 900px) {
  .amz-product-trust__benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 18px 20px;
  }

  .amz-product-trust__ship-text {
    white-space: normal;
  }
}

/* Total + stock side by side (desktop + mobile) — not above Adaugă în coș */
.prod-cont .prod-total-wrap {
  width: auto;
  max-width: none;
}

.prod-cont .amz-pdp-stock--beside-total {
  float: left;
  width: auto;
  max-width: 40%;
  margin: 0;
  padding: 34px 3px 27px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 400;
  text-transform: none;
  color: #868ca7;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .prod-cont .prod-total-wrap {
    max-width: 55%;
    padding-bottom: 16px;
  }

  .prod-cont .amz-pdp-stock--beside-total {
    padding: 34px 3px 16px;
  }
}

@media (max-width: 520px) {
  .amz-product-trust__benefits {
    grid-template-columns: 1fr;
    padding: 16px 18px;
  }

  .amz-product-trust__pay {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 4%;
  }

  .amz-product-trust__logo {
    flex-basis: 55px;
    width: 55px;
  }

  .amz-product-trust__logos {
    flex-wrap: wrap;
    height: auto;
    min-height: 40px;
  }
}

/* Quantity stepper: bigger tap targets; Preț / Total values centred on the same 44px row. */
.prod-cont .prod-info {
  --amz-qty-h: 44px;
}

.prod-cont .prod-info .qnt-wrap {
  display: inline-flex;
  align-items: stretch;
  width: auto;
  height: var(--amz-qty-h);
  margin: 0;
  border: 1px solid #dfe3ef;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}

.prod-cont .prod-info .qnt-wrap .qnt-minus,
.prod-cont .prod-info .qnt-wrap .qnt-plus {
  float: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  color: #283346;
  text-decoration: none;
  background: #f5f6fa;
  user-select: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.prod-cont .prod-info .qnt-wrap .qnt-minus:hover,
.prod-cont .prod-info .qnt-wrap .qnt-plus:hover {
  background: #e31c23;
  color: #fff;
}

.prod-cont .prod-info .qnt-wrap input.qty {
  float: none;
  width: 52px;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-left: 1px solid #dfe3ef;
  border-right: 1px solid #dfe3ef;
  border-radius: 0;
  background: #fff;
  color: #283346;
  font-size: 16px;
  font-weight: 600;
  line-height: var(--amz-qty-h);
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}

.prod-cont .prod-info .qnt-wrap input.qty::-webkit-outer-spin-button,
.prod-cont .prod-info .qnt-wrap input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.prod-cont .prod-info .qnt-wrap input.qty:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(227, 28, 35, 0.35);
}

.prod-cont .prod-info .prod-price-wrap .prod-price,
.prod-cont .prod-info .prod-total-wrap .prod-price {
  display: flex;
  align-items: center;
  min-height: var(--amz-qty-h);
  margin: 0;
  line-height: 1.3;
}

/* Label row is 21px text + 15px margin → stock text sits on the 44px value row. */
.prod-cont .prod-info .amz-pdp-stock--beside-total {
  padding-top: 36px;
  padding-bottom: 0;
  line-height: var(--amz-qty-h);
}

/* Static unit price ("Preț") hidden: Total (qty × price) and the floating button already show the
   price and both follow the quantity. The element stays in the DOM for scripts that read it. */
.prod-cont .prod-info .prod-price-wrap {
  display: none;
}

/* Without Preț the theme's mobile "clear: left" on Total is no longer needed: Cantitate + Total
   share a row (stock text wraps under them if the total gets long). */
.prod-cont .prod-info .prod-total-wrap {
  clear: none;
}

/* Columns size to their content (the theme's % widths were narrower than the 134px stepper on
   tablets, so Cantitate ran into Total). */
.prod-cont .prod-info .prod-qnt-wrap,
.prod-cont .prod-info .prod-total-wrap {
  width: auto;
  max-width: none;
  margin-right: 20px;
}

.prod-cont .prod-info .prod-total-wrap .prod-price {
  white-space: nowrap;
}

@media (max-width: 768px) {

  /* Phones: stock as a small line under the Cantitate / Total row (no label-height offset). */
  .prod-cont .prod-info .amz-pdp-stock--beside-total {
    clear: both;
    float: none;
    max-width: none;
    padding: 0 3px 16px;
    line-height: 1.35;
  }
}

/* —— Wishlist heart on the product image (top-right), moved there by product-trust.js —— */
.prod .prod-slider-wrap > .yith-wcwl-add-to-wishlist {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: auto;
  margin: 0;
  padding: 0;
}

.prod .prod-slider-wrap > .yith-wcwl-add-to-wishlist a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin: 0;
  padding: 0;
  border: 1px solid #e6e9f2;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 18px rgba(11, 28, 51, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.prod .prod-slider-wrap > .yith-wcwl-add-to-wishlist a:hover {
  transform: scale(1.06);
  border-color: #e31c23;
  box-shadow: 0 8px 22px rgba(227, 28, 35, 0.22);
}

.prod .prod-slider-wrap > .yith-wcwl-add-to-wishlist a svg {
  width: 24px;
  height: 22px;
}

.prod .prod-slider-wrap > .yith-wcwl-add-to-wishlist a svg path {
  stroke: #e31c23;
}

/* Added (YITH "browse" state): filled heart. */
.prod .prod-slider-wrap > .yith-wcwl-add-to-wishlist .yith-wcwl-wishlistexistsbrowse a svg path,
.prod .prod-slider-wrap > .yith-wcwl-add-to-wishlist .yith-wcwl-wishlistaddedbrowse a svg path,
.prod .prod-slider-wrap > .yith-wcwl-add-to-wishlist a.active svg path {
  fill: #e31c23;
}

/* Text labels / tooltips are visual noise on a round icon; keep them for screen readers. */
.prod .prod-slider-wrap > .yith-wcwl-add-to-wishlist a > span,
.prod .prod-slider-wrap > .yith-wcwl-add-to-wishlist .feedback,
.prod .prod-slider-wrap > .yith-wcwl-add-to-wishlist .yith-wcwl-wishlistaddresponse {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.prod .prod-slider-wrap > .yith-wcwl-add-to-wishlist .ajax-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -9px 0 0 -9px;
}

@media (max-width: 768px) {
  .prod .prod-slider-wrap {
    position: relative;
  }

  .prod .prod-slider-wrap > .yith-wcwl-add-to-wishlist {
    top: 10px;
    right: 10px;
  }

  .prod .prod-slider-wrap > .yith-wcwl-add-to-wishlist a {
    width: 46px;
    height: 46px;
  }
}

/* —— Buy row without the heart: Livrare on the left (where the heart was), button on the right —— */
.amz-pdp-wish-moved .prod-cont .prod-actions .prod-add {
  float: none;
  width: 100%;
  max-width: none;
}

.amz-pdp-wish-moved .prod-cont .prod-actions form.cart.amz-has-merged-livrare {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  width: 100%;
}

.amz-pdp-wish-moved .prod-cont .prod-actions .amz-merged-livrare {
  flex: 1 1 200px;
  align-items: flex-start;
  text-align: left;
  margin: 0;
}

.amz-pdp-wish-moved .prod-cont .prod-actions .single_add_to_cart_button {
  flex: none;
  margin: 0;
}

/* Livrare: same label / value typography as Cantitate / Total above. */
.amz-pdp-wish-moved .prod-cont .prod-actions .amz-merged-livrare label,
.amz-pdp-wish-moved .prod-cont .prod-actions .amz-merged-livrare > span {
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
}

.amz-pdp-wish-moved .prod-cont .prod-actions .amz-merged-livrare label {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 400;
  color: #868ca7;
}

.amz-pdp-wish-moved .prod-cont .prod-actions .amz-merged-livrare__single {
  font-size: 15px;
  font-weight: 600;
  color: #283346;
}

/* Toggle feedback instead of YITH's text popups: the heart pops when it changes state. */
.prod .prod-slider-wrap > .yith-wcwl-add-to-wishlist a svg {
  animation: amz-heart-pop 0.32s ease-out;
}

@keyframes amz-heart-pop {
  0% { transform: scale(0.6); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .prod .prod-slider-wrap > .yith-wcwl-add-to-wishlist a svg {
    animation: none;
  }
}
