/* ==========================================================================
   Unicorn Elementor Blocks — WooCommerce Single Product (PDP)
   Standalone hand-written stylesheet. All selectors scoped under .ueb-pdp.
   Self-contained: includes the product-card styles the "Best For Pairing"
   strip needs, mirrored from woo-archive.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Base / reset
   -------------------------------------------------------------------------- */
.ueb-pdp {
  width: 100%;
  /* Constrain + centre ourselves — the theme's content wrappers are
	   full-bleed (no max-width), so without this the layout sprawls edge
	   to edge on wide screens. */
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 clamp(16px, 4vw, 32px) 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  background: transparent;
  box-sizing: border-box;
}

.ueb-pdp *,
.ueb-pdp *::before,
.ueb-pdp *::after {
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */
.ueb-pdp__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 22.5px;
  color: #727371;
}

.ueb-pdp__breadcrumb a {
  color: #727371;
  text-decoration: none;
  transition: color 0.15s ease;
}

.ueb-pdp__breadcrumb a:hover {
  color: #3a124d;
}

.ueb-pdp__crumb-sep {
  color: #727371;
  font-size: 12px;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   WooCommerce notices
   -------------------------------------------------------------------------- */
.ueb-pdp .woocommerce-message,
.ueb-pdp .woocommerce-info,
.ueb-pdp .woocommerce-error {
  margin: 0;
  padding: 14px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  list-style: none;
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}

.ueb-pdp .woocommerce-message {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.ueb-pdp .woocommerce-info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}

.ueb-pdp .woocommerce-error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.ueb-pdp .woocommerce-message .button,
.ueb-pdp .woocommerce-info .button,
.ueb-pdp .woocommerce-error .button {
  margin-left: auto;
  padding: 7px 14px;
  border-radius: 9999px;
  background: #3a124d;
  color: #ffffff;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Hero — image + info, two columns
   -------------------------------------------------------------------------- */
.ueb-pdp__hero {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}

.ueb-pdp__gallery {
  flex: 1 1 0;
  min-width: 0;
}

.ueb-pdp__info {
  flex: 0 0 448px;
  max-width: 448px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* --------------------------------------------------------------------------
   Hero — product image
   -------------------------------------------------------------------------- */
.ueb-pdp__image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5px;
}

.ueb-pdp__img,
.ueb-pdp__image img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   Hero — title + price
   -------------------------------------------------------------------------- */
.ueb-pdp__title {
  margin: 0;
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -1.2px;
  color: #1b1c19;
}

.ueb-pdp__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  font-weight: 700;
  color: #3a124d;
  line-height: 1;
}

.ueb-pdp__price .woocommerce-Price-amount {
  font-size: 48px;
  line-height: 1;
  letter-spacing: -2px;
}

.ueb-pdp__price .woocommerce-Price-currencySymbol {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
  vertical-align: 0.35em;
}

.ueb-pdp__price ins {
  text-decoration: none;
  background: transparent;
}

.ueb-pdp__price del {
  opacity: 1;
  color: #9aa0a6;
}

.ueb-pdp__price del .woocommerce-Price-amount {
  font-size: 22px;
  letter-spacing: -0.5px;
}

.ueb-pdp__price del .woocommerce-Price-currencySymbol {
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Hero — spec pills (product attributes)
   -------------------------------------------------------------------------- */
.ueb-pdp__specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.ueb-pdp__spec {
  flex: 1 1 110px;
  min-height: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 16px;
  background: #f4f4ff;
  border-radius: 12px;
  text-align: center;
}

.ueb-pdp__spec-label,
.ueb-pdp__spec-value {
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: #1b1c19;
  overflow-wrap: anywhere;
}

.ueb-pdp__spec-label {
  color: #6b7280;
}

/* --------------------------------------------------------------------------
   Hero — delivery promise box
   -------------------------------------------------------------------------- */
.ueb-pdp__delivery {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: #e6e6e6;
  border-radius: 12px;
}

.ueb-pdp__delivery-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #3a124d;
  color: #ffffff;
}

.ueb-pdp__delivery-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.ueb-pdp__delivery-text {
  min-width: 0;
}

.ueb-pdp__delivery-title {
  margin: 0;
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #1b1c19;
}

.ueb-pdp__delivery-sub {
  margin: 4px 0 0;
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #44474c;
}

/* --------------------------------------------------------------------------
   Hero — actions (quantity + Buy Now + Add to cart)
   -------------------------------------------------------------------------- */
.ueb-pdp__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ueb-pdp__purchase {
  width: 100%;
}

/* WooCommerce add-to-cart form. Simple products lay out quantity + button in a
   row; variable/grouped sub-blocks each take a full row and lay out internally. */
.ueb-pdp__purchase form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 0;
}

.ueb-pdp__purchase form.cart > .variations,
.ueb-pdp__purchase form.cart > .single_variation_wrap,
.ueb-pdp__purchase form.cart > .grouped_products,
.ueb-pdp__purchase form.cart > .woocommerce-grouped-product-list {
  flex: 1 1 100%;
}

.ueb-pdp__purchase .woocommerce-variation-add-to-cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.ueb-pdp__purchase .woocommerce-variation-price {
  margin: 0 0 12px;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #3a124d;
}

/* Variation selector table */
.ueb-pdp__purchase table.variations {
  width: 100%;
  margin: 0 0 16px;
  border-collapse: collapse;
}

.ueb-pdp__purchase table.variations th,
.ueb-pdp__purchase table.variations td {
  padding: 6px 0;
  text-align: left;
  vertical-align: middle;
}

.ueb-pdp__purchase table.variations label {
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #1b1c19;
}

.ueb-pdp__purchase table.variations select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  background: #ffffff;
  border: 1px solid rgba(196, 198, 204, 0.6);
  border-radius: 12px;
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  color: #1b1c19;
}

.ueb-pdp__purchase .reset_variations {
  display: inline-block;
  margin-top: 4px;
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  color: #3a124d;
}

/* Quantity stepper — woo-single.js injects the − / + buttons */
.ueb-pdp .quantity {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  height: 56px;
  padding: 0 10px;
  background: #ffffff;
  border: 1.4px solid rgba(196, 198, 204, 0.6);
  border-radius: 46px;
}

/* Some themes inject their own +/- buttons into `.quantity` (marking it
   `.buttons_added`). Hide anything that is not our own stepper button, the
   number input, or the screen-reader label — so only our − / + show. */
.ueb-pdp .quantity > *:not(input):not(label):not(.ueb-pdp__qty-btn) {
  display: none !important;
}

.ueb-pdp .quantity .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.ueb-pdp .quantity input.qty {
  width: 44px;
  height: 100%;
  margin: 0;
  border: 0;
  background: transparent;
  text-align: center;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: #1b1c19;
  -moz-appearance: textfield;
  appearance: textfield;
}

.ueb-pdp .quantity input.qty::-webkit-outer-spin-button,
.ueb-pdp .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ueb-pdp .quantity input.qty:focus {
  outline: none;
}

.ueb-pdp__qty-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #3a124d;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}

/* The active theme repaints every :hover / :focus <button> crimson with a
   white (invisible) glyph. Re-assert the stepper's own look on each state —
   and pin the glyph color — so − and + always match, including after one of
   them is clicked and keeps :focus. */
.ueb-pdp__qty-btn:focus {
  background: transparent;
  color: #3a124d;
}

.ueb-pdp__qty-btn:hover {
  background: #f4f4ff;
  color: #3a124d;
}

.ueb-pdp__qty-btn:focus-visible {
  background: #f4f4ff;
  color: #3a124d;
  outline: 2px solid #3a124d;
  outline-offset: 2px;
}

/* Purchase row layout — quantity + "Buy Now" share the first row; "Add to
   cart" wraps to a full-width second row. form.cart is `flex-wrap: wrap`. */
.ueb-pdp__purchase form.cart > .quantity {
  order: 1;
}

/* "Buy Now" — primary, filled. Adds the product, then jumps to checkout. */
.ueb-pdp__buy-now {
  order: 2;
  flex: 1 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 24px;
  border: 0;
  border-radius: 32px;
  background: #3a124d;
  color: #ffffff;
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  cursor: pointer;
  box-shadow:
    0 10px 15px -3px rgba(129, 59, 159, 0.2),
    0 4px 6px -4px rgba(129, 59, 159, 0.2);
  transition:
    background 0.15s ease,
    transform 0.15s ease;
}

/* The active theme repaints every :hover / :focus <button> crimson with a
   white glyph. Re-assert both background and colour on each state — see the
   .ueb-pdp__qty-btn note above. */
.ueb-pdp__buy-now:focus {
  background: #3a124d;
  color: #ffffff;
}

.ueb-pdp__buy-now:hover {
  background: #2c0e3b;
  color: #ffffff;
  transform: translateY(-1px);
}

.ueb-pdp__buy-now:focus-visible {
  background: #2c0e3b;
  color: #ffffff;
  outline: 2px solid #3a124d;
  outline-offset: 2px;
}

.ueb-pdp__buy-now.is-loading {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

/* "Add to cart" — secondary, outlined. Adds the product, stays on the page. */
.ueb-pdp .single_add_to_cart_button {
  order: 3;
  flex: 1 1 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 24px;
  border: 1px solid #3a124d;
  border-radius: 32px;
  background: #ffffff;
  color: #3a124d;
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease;
}

/* Re-assert background + colour on every state so the theme's crimson
   :hover / :focus override never wins (see the .ueb-pdp__buy-now note). */
.ueb-pdp .single_add_to_cart_button:focus {
  background: #ffffff;
  color: #3a124d;
}

.ueb-pdp .single_add_to_cart_button:hover {
  background: #3a124d;
  color: #ffffff;
  transform: translateY(-1px);
}

.ueb-pdp .single_add_to_cart_button:focus-visible {
  background: #3a124d;
  color: #ffffff;
  outline: 2px solid #3a124d;
  outline-offset: 2px;
}

.ueb-pdp .single_add_to_cart_button.is-loading {
  opacity: 0.55;
  cursor: not-allowed;
}

.ueb-pdp .single_add_to_cart_button.is-loading:hover {
  background: #ffffff;
  color: #3a124d;
  transform: none;
}

/* Out of stock — grayed out, non-functional. */
.ueb-pdp .single_add_to_cart_button.disabled,
.ueb-pdp .single_add_to_cart_button:disabled {
  background: #e5e7eb;
  color: #9ca3af;
  border: 1px solid #9ca3af;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.ueb-pdp .single_add_to_cart_button.disabled:hover,
.ueb-pdp .single_add_to_cart_button.disabled:focus,
.ueb-pdp .single_add_to_cart_button:disabled:hover,
.ueb-pdp .single_add_to_cart_button:disabled:focus {
  background: #e5e7eb;
  color: #9ca3af;
  transform: none;
}

.ueb-pdp__add-icon {
  display: inline-flex;
}

.ueb-pdp__add-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

/* Stock status — WooCommerce prints this inside .ueb-pdp__purchase */
.ueb-pdp .stock {
  margin: 0 0 4px;
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
}

.ueb-pdp .stock.in-stock {
  color: #166534;
}

.ueb-pdp .stock.out-of-stock {
  color: #ba1a1a;
}

.ueb-pdp .stock.available-on-backorder {
  color: #b45309;
}

/* Wish List button */
.ueb-pdp__wishlist {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 14px 24px;
  border: 1px solid rgba(196, 198, 204, 0.6);
  border-radius: 32px;
  background: #ffffff;
  color: #1b1c19;
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.ueb-pdp__wishlist:hover {
  border-color: #3a124d;
  color: #3a124d;
}

.ueb-pdp__wishlist:focus-visible {
  outline: 2px solid #3a124d;
  outline-offset: 2px;
}

.ueb-pdp__wishlist-icon {
  display: inline-flex;
}

.ueb-pdp__wishlist-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   Tabs section
   -------------------------------------------------------------------------- */
.ueb-pdp__tabs {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 32px;
}

.ueb-pdp__tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 48px;
  border-bottom: 1px solid rgba(196, 198, 204, 0.5);
}

.ueb-pdp__tab {
  margin: 0 0 -1px;
  padding: 0 0 20px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  color: #6b7280;
  cursor: pointer;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}

.ueb-pdp__tab:hover {
  color: #1b1c19;
}

.ueb-pdp__tab.is-active {
  color: #1b1c19;
  border-bottom-color: #3a124d;
}

.ueb-pdp__tab:focus-visible {
  outline: 2px solid #3a124d;
  outline-offset: 2px;
}

/* Panels — only the active panel shows; no-JS falls back to the first one */
.ueb-pdp__panel {
  display: none;
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.65;
  color: #44474c;
}

.ueb-pdp__panel.is-active {
  display: block;
}

.ueb-pdp__panel > :first-child {
  margin-top: 0;
}

.ueb-pdp__panel > :last-child {
  margin-bottom: 0;
}

.ueb-pdp__panel p {
  margin: 0 0 16px;
}

.ueb-pdp__panel h1,
.ueb-pdp__panel h2,
.ueb-pdp__panel h3,
.ueb-pdp__panel h4 {
  color: #1b1c19;
  margin: 24px 0 12px;
}

.ueb-pdp__panel a {
  color: #3a124d;
}

.ueb-pdp__panel img {
  max-width: 100%;
  height: auto;
}

.ueb-pdp__panel ul,
.ueb-pdp__panel ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.ueb-pdp__panel li {
  margin: 4px 0;
}

/* Additional information tab — attributes table */
.ueb-pdp__panel table.shop_attributes,
.ueb-pdp__panel table.woocommerce-product-attributes {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.ueb-pdp__panel table.shop_attributes th,
.ueb-pdp__panel table.shop_attributes td,
.ueb-pdp__panel table.woocommerce-product-attributes th,
.ueb-pdp__panel table.woocommerce-product-attributes td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(196, 198, 204, 0.4);
  text-align: left;
  vertical-align: top;
}

.ueb-pdp__panel table.shop_attributes th,
.ueb-pdp__panel table.woocommerce-product-attributes th {
  width: 30%;
  color: #1b1c19;
  font-weight: 700;
}

.ueb-pdp__panel table.shop_attributes p,
.ueb-pdp__panel table.woocommerce-product-attributes p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   "Best For Pairing" section
   -------------------------------------------------------------------------- */
.ueb-pdp__related {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 16px;
}

.ueb-pdp__related-title {
  margin: 0;
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.9px;
  color: #1b1c19;
}

/* --------------------------------------------------------------------------
   Product grid (mirrors the archive loop — used by content-product.php)
   -------------------------------------------------------------------------- */
.ueb-pdp ul.products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.ueb-pdp ul.products::before,
.ueb-pdp ul.products::after {
  content: none;
  display: none;
}

.ueb-pdp ul.products li.product {
  float: none;
  clear: none;
  width: auto;
  margin: 0;
}

.ueb-pdp ul.products li.product::before,
.ueb-pdp ul.products li.product::after {
  content: none;
  display: none;
}

/* --------------------------------------------------------------------------
   Product card (mirrors .ueb-product-card from woo-archive.css)
   -------------------------------------------------------------------------- */
.ueb-pdp .ueb-product-card {
  background: #f4f4ff;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
  width: auto;
  margin: 0;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.ueb-pdp .ueb-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.ueb-pdp .ueb-product-card__image-link {
  display: block;
  text-decoration: none;
}

.ueb-pdp .ueb-product-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
}

.ueb-pdp .ueb-product-card__image .ueb-product-card__img,
.ueb-pdp .ueb-product-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Badges */
.ueb-pdp .ueb-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  font-weight: 700;
  font-size: 10px;
  line-height: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
}

.ueb-pdp .ueb-badge--sale {
  background: #ba1a1a;
}

.ueb-pdp .ueb-badge--new {
  background: #3a124d;
}

/* Added-to-cart toast */
.ueb-pdp .ueb-product-card__toast {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 3;
  background: #3a124d;
  border-radius: 9999px;
  padding: 8px 12px;
  text-align: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.ueb-pdp .ueb-product-card__toast.is-visible {
  opacity: 1;
}

.ueb-pdp .ueb-product-card__toast-text {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  font-weight: 700;
  font-size: 10px;
  line-height: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
}

/* Title + subtitle */
.ueb-pdp .ueb-product-card__title-link {
  display: block;
  margin-top: 16px;
  text-decoration: none;
  color: inherit;
}

.ueb-pdp .ueb-product-card__title-link:hover {
  text-decoration: none;
}

.ueb-pdp .ueb-product-card__title {
  margin: 0;
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
  color: #1b1c19;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 56px;
}

.ueb-pdp .ueb-product-card__subtitle {
  margin: 0;
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #44474c;
}

/* Footer (prices + cart) */
.ueb-pdp .ueb-product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 4px;
}

.ueb-pdp .ueb-product-card__prices {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.ueb-pdp .ueb-product-card__old-price {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #44474c;
  text-decoration: line-through;
}

.ueb-pdp .ueb-product-card__old-price .woocommerce-Price-amount,
.ueb-pdp .ueb-product-card__old-price bdi {
  text-decoration: line-through;
}

.ueb-pdp .ueb-product-card__price {
  font-family:
    "Plus Jakarta Sans",
    system-ui,
    -apple-system,
    sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: #3a124d;
  white-space: nowrap;
}

.ueb-pdp .ueb-product-card__price del {
  display: none;
}

.ueb-pdp .ueb-product-card__price ins {
  text-decoration: none;
  background: transparent;
}

.ueb-pdp .ueb-product-card__price bdi,
.ueb-pdp .ueb-product-card__price .woocommerce-Price-amount,
.ueb-pdp .ueb-product-card__price .woocommerce-Price-currencySymbol {
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
}

/* Cart button */
.ueb-pdp .ueb-product-card__cart-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: #3a124d;
  color: #ffffff;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease;
}

.ueb-pdp .ueb-product-card__cart-btn:hover,
.ueb-pdp .ueb-product-card__cart-btn:focus-visible {
  background: #2c0e3b;
  transform: translateY(-1px);
  text-decoration: none;
}

.ueb-pdp .ueb-product-card__cart-btn:focus-visible {
  outline: 2px solid #3a124d;
  outline-offset: 2px;
}

.ueb-pdp .ueb-product-card__cart-btn svg {
  width: 18px;
  height: 18px;
  display: block;
  color: inherit;
}

.ueb-pdp .ueb-product-card__cart-btn svg path,
.ueb-pdp .ueb-product-card__cart-btn svg circle,
.ueb-pdp .ueb-product-card__cart-btn svg line,
.ueb-pdp .ueb-product-card__cart-btn svg polyline {
  stroke: currentColor;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .ueb-pdp__hero {
    gap: 40px;
  }
  .ueb-pdp__info {
    flex-basis: 400px;
  }
  .ueb-pdp ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .ueb-pdp__hero {
    flex-direction: column;
    gap: 32px;
  }
  .ueb-pdp__gallery {
    width: 100%;
  }
  .ueb-pdp__image {
    max-width: 520px;
    margin: 0 auto;
  }
  .ueb-pdp__info {
    flex-basis: auto;
    max-width: none;
    width: 100%;
  }
  .ueb-pdp ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ueb-pdp__related-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .ueb-pdp__title {
    font-size: 28px;
    line-height: 36px;
  }
  .ueb-pdp__price .woocommerce-Price-amount {
    font-size: 38px;
  }
  .ueb-pdp__price .woocommerce-Price-currencySymbol {
    font-size: 20px;
  }
  .ueb-pdp__image {
    padding: 32px;
    border-radius: 24px;
  }
  .ueb-pdp__tab {
    font-size: 17px;
  }
  .ueb-pdp ul.products {
    gap: 16px;
  }
  .ueb-pdp .ueb-product-card {
    padding: 14px;
  }
  .ueb-pdp .ueb-product-card__title {
    font-size: 16px;
    line-height: 24px;
    min-height: 48px;
  }
  .ueb-pdp .ueb-product-card__price {
    font-size: 16px;
    line-height: 24px;
  }
  .ueb-pdp .ueb-product-card__cart-btn {
    width: 32px;
    height: 32px;
  }
  .ueb-pdp .ueb-product-card__cart-btn svg {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 560px) {
  .ueb-pdp__hero {
    gap: 24px;
  }
  .ueb-pdp ul.products {
    grid-template-columns: 1fr;
  }
  .ueb-pdp__tab-nav {
    gap: 4px 28px;
  }
  .ueb-pdp__related-title {
    font-size: 26px;
  }
  .ueb-pdp .single_add_to_cart_button {
    width: 100%;
  }
}
