/* Sky Ads B2B Customers - frontend styles */
.skyads-b2b-pricing-state { display: none !important; }

.skyads-b2b-price-pair {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  max-width: 100%;
  line-height: 1.22;
  vertical-align: middle;
}
.skyads-b2b-price-pair__meta {
  display: block;
  max-width: 100%;
  color: rgba(17,17,17,.58);
  font-size: .72em;
  font-weight: 500;
  line-height: 1.35;
  white-space: normal;
}
.skyads-b2b-price-pair__standard-value,
.skyads-b2b-price-pair__standard-value .woocommerce-Price-amount,
.skyads-b2b-price-pair__standard-value .woocommerce-Price-currencySymbol {
  color: inherit !important;
  font: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}
.skyads-b2b-price-pair__customer-label {
  display: block;
  width: 100%;
  color: rgba(17,17,17,.68);
  font-size: .72em;
  font-weight: 700;
  line-height: 1.35;
}
.skyads-b2b-price-pair__customer-value,
.skyads-b2b-price-pair ins {
  color: var(--accent, #712289);
  font-size: 1em;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
}
.skyads-b2b-price-pair__net-label,
.skyads-b2b-cart-current-price__net-label {
  display: inline !important;
  margin-left: 3px;
  color: rgba(17,17,17,.58) !important;
  font-size: .56em !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: .01em;
  text-decoration: none !important;
  white-space: nowrap;
  vertical-align: baseline;
}
.skyads-b2b-cart-current-price__net-label { font-size: .72em !important; }
.skyads-b2b-price-pair.is-compact { gap: 3px; font-size: .9em; }
.skyads-b2b-price-pair.is-compact .skyads-b2b-price-pair__meta,
.skyads-b2b-price-pair.is-compact .skyads-b2b-price-pair__customer-label { font-size: .68em; }

body.skyads-b2b-customer .onsale,
body.skyads-b2b-customer .lm-sale-discount-badge,
body.skyads-b2b-customer .lm-card-discount-badge,
body.skyads-b2b-customer .lm-lowest-price-note,
body.skyads-b2b-customer #lmProductLowestPrice,
body.skyads-b2b-customer [class*="price-history"],
body.skyads-b2b-customer .wc-price-history,
body.skyads-b2b-customer .omnibus-price,
body.skyads-b2b-customer .lowest-price { display: none !important; }

/* La Mujer presentation adapter. Core pricing above does not depend on the theme. */
body.skyads-b2b-customer .lm-product-card .lm-card-bottom {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 16px !important;
}
body.skyads-b2b-customer .lm-product-card .lm-card-bottom-left,
body.skyads-b2b-customer .lm-product-card .lm-card-bottom-right,
body.skyads-b2b-customer .lm-product-card .lm-card-price {
  width: 100% !important;
  max-width: 100% !important;
  text-align: center !important;
}
body.skyads-b2b-customer .lm-product-card .skyads-b2b-price-pair {
  width: 100% !important;
  align-items: center !important;
  text-align: center !important;
  gap: 6px !important;
}
body.skyads-b2b-customer .lm-product-card .skyads-b2b-price-pair__meta,
body.skyads-b2b-customer .lm-product-card .skyads-b2b-price-pair__customer-label,
body.skyads-b2b-customer .lm-product-card .skyads-b2b-price-pair__customer-value {
  width: 100% !important;
  text-align: center !important;
  white-space: normal !important;
}
body.skyads-b2b-customer .lm-product-card .lm-archive-card-btn {
  align-self: center !important;
  justify-self: center !important;
  margin: 0 auto !important;
  min-width: min(220px, 100%) !important;
  max-width: 100% !important;
}
body.skyads-b2b-customer .best-price .skyads-b2b-price-pair.is-compact {
  width: 100% !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}
body.skyads-b2b-customer .best-price .skyads-b2b-price-pair.is-compact .skyads-b2b-price-pair__meta,
body.skyads-b2b-customer .best-price .skyads-b2b-price-pair.is-compact .skyads-b2b-price-pair__customer-label,
body.skyads-b2b-customer .best-price .skyads-b2b-price-pair.is-compact .skyads-b2b-price-pair__customer-value {
  width: 100% !important;
  text-align: center !important;
}

body.woocommerce-cart.skyads-b2b-customer .product-name dl.variation,
body.woocommerce-cart.skyads-b2b-customer .product-name dl.wc-item-meta {
  margin-top: 8px !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}
body.woocommerce-cart.skyads-b2b-customer .product-name dl.variation dt,
body.woocommerce-cart.skyads-b2b-customer .product-name dl.wc-item-meta dt {
  color: var(--accent, #712289) !important;
  font-weight: 800 !important;
}
body.woocommerce-cart.skyads-b2b-customer .product-name dl.variation dd,
body.woocommerce-cart.skyads-b2b-customer .product-name dl.wc-item-meta dd {
  color: rgba(17,17,17,.7) !important;
  font-weight: 600 !important;
}

/* Registration. */
.skyads-b2b-business-fields[hidden],
.skyads-b2b-pricing-note[hidden] { display: none !important; }
.skyads-b2b-business-toggle { margin-top: 1rem !important; margin-bottom: .75rem !important; }
.skyads-b2b-business-toggle label {
  display: inline-flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
}
.skyads-b2b-business-toggle input[type="checkbox"] {
  flex: 0 0 20px;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  margin-top: 1px !important;
  accent-color: #7B1FA2;
}
.skyads-b2b-business-fields { width: 100%; margin-top: .4rem; }
.skyads-b2b-pricing-note {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  width: 100%;
  margin: 22px 0 20px;
  padding: 18px 20px;
  border: 1px solid rgba(113,34,137,.18);
  border-left: 4px solid #712289;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(113,34,137,.075), rgba(216,185,225,.16));
  box-shadow: 0 10px 28px rgba(78,15,88,.055);
  color: #4a454b;
  box-sizing: border-box;
}
.skyads-b2b-pricing-note__icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #712289;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .06em;
}
.skyads-b2b-pricing-note__content { display: block; min-width: 0; }
.skyads-b2b-pricing-note__content strong {
  display: block;
  margin: 0 0 5px;
  color: #712289;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}
.skyads-b2b-pricing-note__content > span {
  display: block;
  color: #4a454b;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}


body.woocommerce-account .lm-account-info-card__badge.is-business {
  color: #fff !important;
  background: var(--accent, #712289) !important;
  border-color: var(--accent, #712289) !important;
}
.woocommerce-checkout .skyads-b2b-nip-field { width: 100% !important; float: none !important; clear: both !important; }

/* Account. */
.skyads-b2b-account-fieldset {
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 24px;
  padding: 22px;
  margin: 28px 0;
  background: rgba(255,255,255,.72);
}
.skyads-b2b-account-fieldset legend {
  padding: 0 8px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}
.skyads-b2b-account-business-details {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(17,17,17,.10);
}
.skyads-b2b-account-business-details p {
  display: grid;
  grid-template-columns: minmax(110px,.45fr) minmax(0,1fr);
  gap: 12px;
  margin: 0 0 8px;
}
.skyads-b2b-account-business-details p span { color: rgba(25,25,25,.62); font-weight: 700; }
.skyads-b2b-account-business-details p strong { overflow-wrap: anywhere; }

/* Google registration extension. */
.lm-auth__social--google-api.is-business-incomplete .lm-auth__google-button {
  opacity: .48 !important;
  pointer-events: none !important;
  filter: grayscale(.2);
}
.lm-auth__social--google-api.is-business-incomplete .lm-auth__google-status {
  display: block !important;
  color: #712289 !important;
}

@media (max-width: 767px) {
  .skyads-b2b-pricing-note {
    grid-template-columns: 38px minmax(0,1fr);
    gap: 11px;
    margin: 16px 0 18px;
    padding: 14px;
    border-radius: 15px;
  }
  .skyads-b2b-pricing-note__icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }
  .skyads-b2b-price-pair { gap: 3px; }
  .skyads-b2b-account-business-details p { grid-template-columns: 1fr; gap: 2px; }
}


/* v1.0.2 — mobile cart: keep the B2B net subtotal suffix next to the amount. */
@media (max-width: 980px) {
  body.woocommerce-cart.skyads-b2b-customer .shop_table.cart td.product-subtotal {
    display: flex !important;
    align-items: baseline !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
  }

  body.woocommerce-cart.skyads-b2b-customer .shop_table.cart td.product-subtotal::before {
    flex: 0 0 auto !important;
    margin: 0 auto 0 0 !important;
  }

  body.woocommerce-cart.skyads-b2b-customer .shop_table.cart td.product-subtotal > .woocommerce-Price-amount,
  body.woocommerce-cart.skyads-b2b-customer .shop_table.cart td.product-subtotal > .amount {
    flex: 0 0 auto !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }

  body.woocommerce-cart.skyads-b2b-customer .shop_table.cart td.product-subtotal > small.tax_label,
  body.woocommerce-cart.skyads-b2b-customer .shop_table.cart td.product-subtotal > small.woocommerce-price-suffix,
  body.woocommerce-cart.skyads-b2b-customer .shop_table.cart td.product-subtotal .tax_label,
  body.woocommerce-cart.skyads-b2b-customer .shop_table.cart td.product-subtotal .woocommerce-price-suffix {
    display: inline !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 0 0 5px !important;
    padding: 0 !important;
    color: rgba(17,17,17,.58) !important;
    font-size: .72em !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: .01em !important;
    text-transform: none !important;
    white-space: nowrap !important;
    vertical-align: baseline !important;
  }
}


/* v1.0.3 — cart subtotal amount + "(bez VAT)" are one inline unit. */
body.woocommerce-cart.skyads-b2b-customer .shop_table.cart td.product-subtotal > .skyads-b2b-cart-subtotal-inline {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: baseline !important;
  justify-content: flex-end !important;
  gap: 5px !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  text-align: right !important;
}
body.woocommerce-cart.skyads-b2b-customer .shop_table.cart td.product-subtotal .skyads-b2b-cart-subtotal-inline > .woocommerce-Price-amount,
body.woocommerce-cart.skyads-b2b-customer .shop_table.cart td.product-subtotal .skyads-b2b-cart-subtotal-inline > .amount {
  display: inline !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  white-space: nowrap !important;
}
body.woocommerce-cart.skyads-b2b-customer .shop_table.cart td.product-subtotal .skyads-b2b-cart-subtotal-inline small.tax_label,
body.woocommerce-cart.skyads-b2b-customer .shop_table.cart td.product-subtotal .skyads-b2b-cart-subtotal-inline small.woocommerce-price-suffix,
body.woocommerce-cart.skyads-b2b-customer .shop_table.cart td.product-subtotal .skyads-b2b-cart-subtotal-inline .tax_label,
body.woocommerce-cart.skyads-b2b-customer .shop_table.cart td.product-subtotal .skyads-b2b-cart-subtotal-inline .woocommerce-price-suffix {
  display: inline !important;
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: rgba(17,17,17,.58) !important;
  font-size: .72em !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: .01em !important;
  text-transform: none !important;
  white-space: nowrap !important;
  vertical-align: baseline !important;
}
@media (max-width: 980px) {
  body.woocommerce-cart.skyads-b2b-customer .shop_table.cart td.product-subtotal {
    display: grid !important;
  }
  body.woocommerce-cart.skyads-b2b-customer .shop_table.cart td.product-subtotal > .skyads-b2b-cart-subtotal-inline {
    justify-self: end !important;
    grid-column: 2 !important;
    align-self: baseline !important;
  }
}


/* v1.0.4 — mobile cart summary: labels left, values right in one summary card. */
@media (max-width: 980px) {
  body.woocommerce-cart.skyads-b2b-customer .lamujer-cart-actions__summary {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.woocommerce-cart.skyads-b2b-customer .lamujer-cart-actions__summary > .lamujer-cart-summary__line,
  body.woocommerce-cart.skyads-b2b-customer .lamujer-cart-actions__summary > .lamujer-cart-summary__line--total {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: baseline !important;
    column-gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    text-align: initial !important;
  }

  body.woocommerce-cart.skyads-b2b-customer .lamujer-cart-actions__summary > .lamujer-cart-summary__line > span {
    grid-column: 1 !important;
    justify-self: start !important;
    align-self: baseline !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    text-align: left !important;
    white-space: normal !important;
  }

  body.woocommerce-cart.skyads-b2b-customer .lamujer-cart-actions__summary > .lamujer-cart-summary__line > strong {
    grid-column: 2 !important;
    justify-self: end !important;
    align-self: baseline !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    text-align: right !important;
  }

  body.woocommerce-cart.skyads-b2b-customer .lamujer-cart-actions__summary > .lamujer-cart-summary__line--b2b-total-saving > strong {
    max-width: min(58vw, 360px) !important;
  }
}
