/* PDP 1.0.25. Purchase stack: solid Add to cart, optional wallets, optional
   "or" (only when a wallet is visible), then the white debit/credit button.
   Official Buy now stays in the DOM but is hidden; JS forwards the card click
   to it. Live payment_button renders .pay-button-buy-now; .shopline-element-buy-now
   stays as a fallback. This file does not add a submit or restyle official
   Buy now as the card button. */

.product-detail__buy-buttons button[type="submit"][name="add"] {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100%;
  color: #fff !important;
  text-transform: uppercase;
  letter-spacing: normal;
  background-color: #6e388b !important;
  border: none !important;
  border-radius: 8px;
  box-shadow: none !important;
}

.product-detail__buy-buttons button[type="submit"][name="add"] *,
.product-detail__buy-buttons button[type="submit"][name="add"]:hover,
.product-detail__buy-buttons button[type="submit"][name="add"]:hover * {
  color: #fff !important;
  text-transform: uppercase;
  background-color: #6e388b !important;
}

.product-detail__buy-buttons button[type="submit"][name="add"]::after,
.product-detail__buy-buttons button[type="submit"][name="add"]:hover::after,
.product-detail__buy-buttons button[type="submit"][name="add"]:active::after {
  box-shadow: none;
  background: none;
}

.product-detail__buy-buttons .shopline-element-buy-now,
.product-detail__buy-buttons .pay-button-buy-now,
.product-detail__buy-buttons .pdp-buy-now-row {
  display: none !important;
}

.product-detail__buy-buttons .pdp-card-button {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100% !important;
  max-width: 100%;
  padding: calc(var(--button-border-thickness, 0px) + 9px)
    calc(var(--button-border-thickness, 0px) + 18px);
  font-family: var(--sort-body-font);
  font-size: var(--body2-font-size);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: normal;
  color: #6e388b;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff !important;
  border: 1px solid #6e388b !important;
  border-radius: 8px;
  box-shadow: none !important;
}

.product-detail__buy-buttons .pdp-card-button::before {
  display: block;
  flex-shrink: 0;
  width: 22px;
  height: 16px;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='16' viewBox='0 0 22 16' fill='none'%3E%3Crect x='1' y='1' width='20' height='14' rx='2' stroke='%236E388B' stroke-width='1.5'/%3E%3Cpath d='M1 5.25h20' stroke='%236E388B' stroke-width='1.5'/%3E%3Cpath d='M4 11.25h5' stroke='%236E388B' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 16px;
  pointer-events: none;
}

.product-detail__buy-buttons .pdp-card-button:hover,
.product-detail__buy-buttons .pdp-card-button:hover * {
  background-color: #fff !important;
  color: #6e388b;
}

.product-detail__buy-buttons .form__buttons > .pdp-card-or,
.product-detail__buy-buttons .pdp-pay-stack > .pdp-card-or {
  order: 20;
}

.product-detail__buy-buttons .form__buttons > .pdp-card-row,
.product-detail__buy-buttons .pdp-pay-stack > .pdp-card-row {
  order: 21;
  width: 100%;
}

.product-detail__buy-buttons .form__buttons > .pdp-buy-now-row,
.product-detail__buy-buttons .pdp-pay-stack > .pdp-buy-now-row {
  order: 22;
  width: 100%;
}

.product-detail__buy-buttons .pdp-pay-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  gap: 8px;
}

.product-detail__buy-buttons .pdp-card-or {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 2px 0;
  color: #a3a3a3;
  font-family: var(--sort-body-font);
  font-size: 14px;
  line-height: 1;
}

.product-detail__buy-buttons .pdp-card-or::before,
.product-detail__buy-buttons .pdp-card-or::after {
  flex: 1 1 auto;
  height: 1px;
  content: "";
  background: #e5e5e5;
}


/* 1.0.23: static accepted-methods row under the purchase stack. Display only,
   not clickable buttons, and not used by the wallet MutationObserver. */
.pdp-accepted {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 16px 0 0;
  padding: 0;
}

.pdp-accepted__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 28px;
  padding: 0 8px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  cursor: default;
}

.pdp-accepted__logo {
  display: block;
  height: 16px;
  width: auto;
}

.pdp-accepted__logo--apple {
  height: 16px;
  width: 32px;
}

.pdp-accepted__logo--google {
  height: 16px;
  width: 39px;
}

.pdp-accepted__wordmark {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #111;
  white-space: nowrap;
}

.pdp-accepted__wordmark--paypal .pp-pay { color: #003087; }
.pdp-accepted__wordmark--paypal .pp-pal { color: #009cde; }

.pdp-accepted__wordmark--amazon {
  position: relative;
  padding-bottom: 4px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.pdp-accepted__wordmark--amazon .amz-smile {
  display: block;
  position: absolute;
  left: 2px;
  right: 22px;
  bottom: 0;
  height: 5px;
  border-bottom: 1.6px solid #ff9900;
  border-radius: 0 0 12px 12px;
}
.pdp-accepted__wordmark--amazon {
  padding-right: 2px;
}

.pdp-accepted__wordmark--cashapp {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.pdp-accepted__wordmark--cashapp .cash-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: #00d632;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.pdp-accepted__wordmark--ideal {
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #000;
  background: linear-gradient(#cc0066, #cc0066) left bottom / 100% 2px no-repeat;
  padding-bottom: 1px;
}

.pdp-accepted__item--klarna {
  background: #ffb3c7;
  border-color: #ffb3c7;
}
.pdp-accepted__item--klarna .pdp-accepted__wordmark {
  color: #0b051d;
  font-weight: 800;
}

.pdp-accepted__item--afterpay {
  background: #b2fce4;
  border-color: #b2fce4;
}
.pdp-accepted__item--afterpay .pdp-accepted__wordmark {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pdp-accepted__wordmark--affirm {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pdp-accepted .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* 1.0.24: match the visible official PayPal button to Add to cart height/width.
   Hidden platform wallets stay hidden. --pdp-cta-height is set from the
   Add to cart button in JS so the three CTAs stay in sync. */
.product-detail__buy-buttons .pdp-card-button {
  height: var(--pdp-cta-height, auto);
}

.product-detail__buy-buttons .shopline-payment-button-wrapper [class*="pay-button-Paypal"],
.product-detail__buy-buttons .shopline-payment-button-wrapper [class*="pay-button-paypal"] {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  height: var(--pdp-cta-height, auto);
  max-height: var(--pdp-cta-height, none);
  margin-left: 0;
  margin-right: 0;
  overflow: hidden;
  border-radius: 8px;
}

.product-detail__buy-buttons .shopline-payment-button-wrapper [class*="pay-button-Paypal"] iframe,
.product-detail__buy-buttons .shopline-payment-button-wrapper [class*="pay-button-paypal"] iframe,
.product-detail__buy-buttons .shopline-payment-button-wrapper [class*="pay-button-Paypal"] img,
.product-detail__buy-buttons .shopline-payment-button-wrapper [class*="pay-button-paypal"] img {
  box-sizing: border-box;
  max-height: 100%;
  width: 100%;
  object-fit: contain;
}
