/* Fit the logo between actual controls instead of letting either overlap it. */
#header [data-row="middle"] [data-column="middle"] { left: var(--plsn-logo-left, 50%) !important; }
#header .plmc-in-header .plmc-trigger > span:last-child { display: inline-grid !important; place-items: center; flex: 0 0 12px; width: 12px; height: 14px; font-size: 0 !important; line-height: 0 !important; }
#header .plmc-in-header .plmc-trigger > span:last-child::before { content: ''; width: 6px; height: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
#header .plmc-trigger { cursor: pointer; }
.plmc-dialog form.plmc-switcher select { appearance: none !important; -webkit-appearance: none !important; direction: rtl; padding-inline-end: 42px !important; background-color: #fff !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23182832' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-size: 18px 18px !important; background-position: left 12px center !important; cursor: pointer; }
.plmc-dialog form.plmc-switcher select:disabled { cursor: wait; opacity: .65; }
.single-product :is(.wpcbn-btn-single,.plsn-sticky-purchase__buy) { display: inline-flex !important; align-items: center; justify-content: center; gap: 7px; }
.single-product :is(.wpcbn-btn-single,.plsn-sticky-purchase__buy)::before { content: ''; display: inline-block; flex: 0 0 18px; width: 18px; height: 18px; background: currentColor; -webkit-mask: url('../icons/buy-wallet.svg') center / contain no-repeat; mask: url('../icons/buy-wallet.svg') center / contain no-repeat; }
.single-product .plsn-sticky-purchase :is(button,input):disabled { cursor: not-allowed !important; opacity: .45 !important; box-shadow: none !important; }
.plsn-sticky-purchase [hidden], .single-product .mds-product-jump[hidden], .single-product .mds-product-jump__button[hidden] { display: none !important; }
body.plsn-ce-ready :is(.ct-cart-actions,form.cart,ul.products,#woosq-popup) .added_to_cart.wc-forward { display: none !important; }
@media (max-width: 340px) { #header .plmc-in-header .plmc-trigger { padding-inline: 6px !important; gap: 3px !important; font-size: 12px !important; } }
@media (max-width: 359px) { .single-product .plsn-sticky-purchase__inner { grid-template-columns: minmax(0,1fr) auto !important; grid-template-areas: 'product quantity' 'actions actions' !important; } .single-product .plsn-sticky-purchase__action { font-size: 12px !important; min-height: 42px !important; } }
@media (prefers-reduced-motion: reduce) { #header .plmc-trigger > span:last-child::before { transition: none !important; } }

/* Shared product labels, independent of archive/page context and load order. */
body #main ul.products li.product:not(.product-category) :is(.woocommerce-loop-product__title,.woocommerce-loop-product__title a),
body .ct-search-results .ct-search-item :is(.product-title,.entry-title,.ct-search-item-title),
body #search-modal .ct-search-results a > span:not(.ct-media-container),
body #woosq-popup :is(.product_title,.entry-title) { font-weight: 700 !important; overflow-wrap: anywhere; }
body .plsn-ce-can-add::before { content: '+' !important; display: inline-block !important; flex: 0 0 auto; font: inherit; margin-inline-end: 5px; }
body .plsn-ce-unavailable { color: #b91c1c !important; background: #fff1f0 !important; border-color: #e8b7b3 !important; }
body .plsn-ce-unavailable::before { content: none !important; }
body :is(.stock.in-stock,.product-availablity[data-status="in"] > strong,.plsn-sticky-purchase__status[data-status="in"]) { color: #15803d !important; }
body :is(.stock.out-of-stock,.product-availablity[data-status="out"] > strong,.plsn-sticky-purchase__status[data-status="out"]) { color: #b91c1c !important; }
body #main :is(ul.products li.product,.ct-woo-card-actions,.ct-woo-card-actions .price) { min-width: 0; }
body #main ul.products li.product .ct-woo-card-actions .button { white-space: normal !important; overflow-wrap: anywhere; height: auto !important; }
body #plsn-ce-toast .plsn-ce-actions > * { min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
body .ct-search-results .ct-search-item { min-width: 0; }
body .ct-search-results .ct-search-item > span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 340px) {
  #header [data-device] [data-row="middle"] [data-column="end"] { gap: 2px !important; }
  body #main ul.products li.product .ct-woo-card-actions { padding-inline: 8px !important; }
}

