/* Yalla! TurboSoki – Soczysty Blok / 1.1.0
   Presentation-only stylesheet: never changes WooCommerce data, orders or points.
   Colors are the official identity tokens. */
:root {
  --ts-plum:#3A0F2E;
  --ts-pink:#E83F5F;
  --ts-honey:#FFB020;
  --ts-blush:#FFE9EF;
  --ts-mint:#5ED3B0;
  --ts-cream:#FFF9F6;
  --ts-border:2px solid var(--ts-plum);
  --ts-shadow:4px 4px 0 var(--ts-plum);
}

.ytzw-wrap,.ytf-public-stats,.ytf-community,.ytf-portal,.yts-dashboard,.ytzw-checkout-join {font-family:'DM Sans',Arial,sans-serif!important;}
.ytf-public-stats :is(h1,h2,h3),.ytf-community :is(h1,h2,h3),.ytf-portal :is(h1,h2,h3) {font-family:'Poppins',sans-serif!important;}

/* Existing header and menu: keep their Blocksy layout and functionality. */
#header .ct-header-menu .current-menu-item > a,
#header .ct-header-menu .current_page_item > a {background:var(--ts-pink)!important;color:#fff!important;}
#header [data-row="bottom"],
.ct-header [data-row="bottom"] {--header-background-color:var(--ts-plum);}
#header .ct-header-menu a:hover {color:var(--ts-honey)!important;}
#header .ct-header-menu .current-menu-item>a:hover {color:#fff!important;}

/* Button component in both account states: square, no green pill */
.yalla-tb-cta,
.yalla-tb-cta.is-member,
.yalla-tb-cta.is-guest {border-radius:0!important;background:var(--ts-pink)!important;color:#fff!important;border:2px solid var(--ts-blush)!important;box-shadow:var(--ts-shadow)!important;}
.yalla-tb-cta:is(:hover,:focus-visible),
.yalla-tb-cta.is-member:hover,
.yalla-tb-cta.is-guest:hover {background:var(--ts-honey)!important;color:var(--ts-plum)!important;border-color:var(--ts-plum)!important;}
.yalla-tb-cta-cat{border-radius:0!important;}

/* WooCommerce / shop buttons. Exclude close icons and payment gateways. */
body:not(.wp-admin) .woocommerce :is(a.button,button.button,input.button,a.add_to_cart_button,button.single_add_to_cart_button),
body:not(.wp-admin) :is(.ct-cart-actions a.button,.ct-woo-card-actions .button,.wp-block-button__link,.elementor-button),
body:not(.wp-admin) .woocommerce-page button[name="woocommerce_checkout_place_order"] {
  border-radius:0!important;
  background:var(--ts-pink)!important;
  border-color:var(--ts-pink)!important;
  color:#fff!important;
  font-family:'Poppins',sans-serif!important;
  font-weight:700!important;
  box-shadow:none!important;
  transition:background-color .18s ease,color .18s ease,border-color .18s ease,transform .18s ease;
}
body:not(.wp-admin) .woocommerce :is(a.button,button.button,input.button,a.add_to_cart_button,button.single_add_to_cart_button):hover,
body:not(.wp-admin) :is(.ct-cart-actions a.button,.ct-woo-card-actions .button,.wp-block-button__link,.elementor-button):hover,
body:not(.wp-admin) .woocommerce-page button[name="woocommerce_checkout_place_order"]:hover {
  background:var(--ts-honey)!important;
  border-color:var(--ts-honey)!important;
  color:var(--ts-plum)!important;
}
body:not(.wp-admin) :is(.woocommerce,.woocommerce-page) :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea),
body:not(.wp-admin) :is(.ct-search-form input,.select2-container--default .select2-selection--single) {
  border-radius:0!important;
}
body:not(.wp-admin) .woocommerce span.onsale {border-radius:0!important;background:var(--ts-pink)!important;color:#fff!important;}
body:not(.wp-admin) .woocommerce .woocommerce-message {border-top-color:var(--ts-mint)!important;}
body:not(.wp-admin) .woocommerce .woocommerce-info {border-top-color:var(--ts-pink)!important;}
body:not(.wp-admin) .woocommerce .woocommerce-error {border-top-color:var(--ts-honey)!important;}
body:not(.wp-admin) :is(.woocommerce .woocommerce-message,.woocommerce .woocommerce-info,.woocommerce .woocommerce-error,.woocommerce .woocommerce-notices-wrapper>div) {border-radius:0!important;}
body:not(.wp-admin) .woocommerce ul.products li.product :is(.woocommerce-loop-product__title,.price),
body:not(.wp-admin) .woocommerce div.product .product_title {color:var(--ts-plum)!important;}
body:not(.wp-admin) :is(.ct-product,.woocommerce ul.products li.product) :is(img,figure) {border-radius:0!important;}

/* TurboBanda ranking: square statistics, tables and profile cards. */
.ytzw-wrap {--ytzw-ink:var(--ts-plum)!important;--ytzw-green:var(--ts-plum)!important;--ytzw-lime:var(--ts-mint)!important;--ytzw-yellow:var(--ts-honey)!important;--ytzw-muted:#715967!important;color:var(--ts-plum)!important;}
.ytzw-wrap :is(.ytzw-title,.ytzw-subtitle,.ytzw-private-heading) {color:var(--ts-plum)!important;font-family:'Poppins',sans-serif!important;letter-spacing:-.025em;}
.ytzw-wrap :is(.ytzw-intro,.ytzw-small) {color:#60495b!important;}
.ytzw-wrap .ytzw-metric {
  border:2px solid var(--ts-plum)!important;
  border-radius:0!important;
  background:var(--ts-cream)!important;
  box-shadow:var(--ts-shadow)!important;
  color:var(--ts-plum)!important;
}
.ytzw-wrap .ytzw-metric:nth-child(4n+2){background:#DEF8EF!important;}
.ytzw-wrap .ytzw-metric:nth-child(4n+3){background:#FFE9EF!important;}
.ytzw-wrap .ytzw-metric:nth-child(4n+4){background:#FFF0CE!important;}
.ytzw-wrap .ytzw-metric :is(strong,span){color:var(--ts-plum)!important;}
.ytzw-wrap .ytzw-metric strong {font-family:'Poppins',sans-serif;font-weight:800;}
.ytzw-wrap .ytzw-table-scroll {border:2px solid var(--ts-plum)!important;border-radius:0!important;box-shadow:var(--ts-shadow)!important;}
.ytzw-wrap .ytzw-table thead th {background:var(--ts-plum)!important;color:#fff!important;}
.ytzw-wrap .ytzw-table tbody tr.ytzw-top {background:var(--ts-blush)!important;}
.ytzw-wrap .ytzw-table tbody :is(.ytzw-amount,.ytzw-points) {color:var(--ts-plum)!important;}
.ytzw-wrap :is(.ytzw-avatar,.ytzw-anon-avatar) {border-radius:0!important;box-shadow:0 0 0 2px var(--ts-plum)!important;}
.ytzw-wrap :is(.ytzw-form,.ytzw-profile-card,.ytzw-profile-hero,.ytzw-empty,.ytzw-account-teaser,.ytzw-consent,.ytzw-anon-explain,.ytzw-notice,.ytzw-admin-bar,.ytzw-admin-link,.ytzw-joinline,.ytzw-tb-hero,.ytzw-tb-tile,.ytzw-tb-note,.ytzw-tb-link,.ytzw-tb-step,.ytzw-tb-link-destination,.ytzw-tb-flash) {border-radius:0!important;}
.ytzw-wrap :is(.ytzw-profile-card,.ytzw-tb-link,.ytzw-form) {background:var(--ts-cream)!important;border-color:var(--ts-plum)!important;}
.ytzw-wrap :is(.ytzw-tb-hero,.ytzw-profile-hero) {background:linear-gradient(120deg,var(--ts-blush),#fff9f7)!important;border-color:var(--ts-plum)!important;box-shadow:var(--ts-shadow)!important;}
.ytzw-wrap :is(.ytzw-tb-hero,.ytzw-profile-hero) :is(h1,h2,h3) {color:var(--ts-plum)!important;}
.ytzw-wrap .ytzw-tb-identity span {color:var(--ts-pink)!important;}
.ytzw-wrap .ytzw-tb-tile {border:2px solid var(--ts-plum)!important;background:#fff8f9!important;box-shadow:var(--ts-shadow)!important;}
.ytzw-wrap .ytzw-tb-tile:nth-child(3n+2) {background:#ddf7ed!important;}
.ytzw-wrap .ytzw-tb-tile:nth-child(3n+3) {background:#fff0d5!important;}
.ytzw-wrap .ytzw-tb-tile :is(strong,span,small) {color:var(--ts-plum)!important;}
.ytzw-wrap .ytzw-tb-note {background:#FFF1F4!important;border-left:6px solid var(--ts-pink)!important;color:var(--ts-plum)!important;}
.ytzw-wrap .ytzw-tb-note :is(strong,a){color:var(--ts-plum)!important;}
.ytzw-wrap .ytzw-tb-note a:hover {color:var(--ts-pink)!important;}
.ytzw-wrap :is(.ytzw-tb-step,.ytzw-consent){background:#fff8f9!important;border-color:var(--ts-pink)!important;}
.ytzw-wrap .ytzw-tb-step>span {border-radius:0!important;background:var(--ts-honey)!important;border-color:var(--ts-plum)!important;color:var(--ts-plum)!important;}
.ytzw-wrap :is(.ytzw-button,.ytzw-tb-action,.ytzw-tb-copy,.ytzw-filter-button,.ytzw-admin-link) {
  background:var(--ts-pink)!important;
  color:#fff!important;
  border:2px solid var(--ts-plum)!important;
  border-radius:0!important;
  box-shadow:3px 3px 0 var(--ts-plum)!important;
  font-family:'Poppins',sans-serif!important;
  font-weight:700!important;
  text-decoration:none!important;
}
.ytzw-wrap :is(.ytzw-button,.ytzw-tb-action,.ytzw-tb-copy,.ytzw-filter-button,.ytzw-admin-link):hover {background:var(--ts-honey)!important;color:var(--ts-plum)!important;}
.ytzw-wrap .ytzw-tb-action.secondary{background:var(--ts-mint)!important;color:var(--ts-plum)!important;}
.ytzw-wrap :is(.ytzw-fields input,.ytzw-tb-initiative-form select,.ytzw-tb-link-inner input,.ytzw-manager-actions input,.ytzw-wc-account-form input) {border-radius:0!important;border-color:var(--ts-plum)!important;}
.ytzw-wrap :is(.ytzw-tb-preference,.ytzw-tb-link-destination,.ytzw-tb-step) {border-radius:0!important;}
.ytzw-wrap .ytzw-tb-preference .ytzw-tb-note-heading {color:var(--ts-plum)!important;}
.ytzw-wrap .ytzw-tb-link-destination {background:var(--ts-blush)!important;border-color:var(--ts-pink)!important;color:var(--ts-plum)!important;}
.ytzw-wrap .ytzw-tb-link-destination strong {color:var(--ts-plum)!important;}
.ytzw-wrap .ytzw-tb-link-destination a {color:var(--ts-pink)!important;}

/* Blocksy account menu: preserve 980px sizing and grid, recolor and square it. */
body.ytzw-tb-member-account .woocommerce-MyAccount-navigation ul li a,
body.ytzw-tb-member-account .ct-account-nav ul li a {
  border-radius:0!important;
  border:2px solid var(--ts-plum)!important;
  background:var(--ts-cream)!important;
  color:var(--ts-plum)!important;
  box-shadow:3px 3px 0 var(--ts-plum)!important;
  font-family:'Poppins',sans-serif!important;
  font-weight:700!important;
}
body.ytzw-tb-member-account :is(.woocommerce-MyAccount-navigation,.ct-account-nav) ul li.is-active a,
body.ytzw-tb-member-account :is(.woocommerce-MyAccount-navigation,.ct-account-nav) ul li.is-active a:hover {
  background:var(--ts-pink)!important;
  color:#fff!important;
  border-color:var(--ts-plum)!important;
}
body.ytzw-tb-member-account :is(.woocommerce-MyAccount-navigation,.ct-account-nav) ul li:not(.is-active) a:hover {background:var(--ts-blush)!important;color:var(--ts-plum)!important;}
body.ytzw-tb-member-account .ct-woo-account :is(input,select,textarea,button) {border-radius:0!important;}
body.ytzw-tb-member-account .ytzw-tb-hero,
body.ytzw-tb-member-account .ytzw-tb-tile {border-radius:0!important;}

/* Stats for initiatives: inline CSS in foundation plugin is overridden deliberately. */
.ytf-public-stats {--ytf-g:var(--ts-pink)!important;--ytf-deep:var(--ts-plum)!important;--ytf-light:var(--ts-blush)!important;color:var(--ts-plum)!important;}
.ytf-public-stats :is(h2,h3,.ytf-public-amount){color:var(--ts-plum)!important;}
.ytf-public-stats .ytf-public-eyebrow {color:var(--ts-pink)!important;}
.ytf-public-stats :is(.ytf-public-stat,.ytf-public-foundation){border-radius:0!important;border:2px solid var(--ts-plum)!important;}
.ytf-public-stats .ytf-public-stat {background:var(--ts-blush)!important;}
.ytf-public-stats .ytf-public-stat:nth-child(3n+2){background:#dbf7ec!important;}
.ytf-public-stats .ytf-public-stat:nth-child(3n+3){background:#fff0d8!important;}
.ytf-public-stats .ytf-public-stat-primary {background:var(--ts-plum)!important;color:#fff!important;}
.ytf-public-stats .ytf-public-stat-primary :is(span,strong,small) {color:#fff!important;}
.ytf-public-stats .ytf-public-foundation {box-shadow:var(--ts-shadow)!important;background:#fff!important;}
.ytf-public-stats .ytf-public-progress,.ytf-public-stats .ytf-public-progress span{border-radius:0!important;}
.ytf-public-stats .ytf-public-progress{background:var(--ts-blush)!important;}
.ytf-public-stats .ytf-public-progress span{background:var(--ts-pink)!important;}
.ytf-public-stats :is(.ytf-public-link,.ytf-public-cta a){border-radius:0!important;background:var(--ts-pink)!important;color:#fff!important;}
.ytf-public-stats :is(.ytf-public-link,.ytf-public-cta a):hover{background:var(--ts-honey)!important;color:var(--ts-plum)!important;}

/* Organisation directory, foundation portal, NGO filter. */
.ytf-community :is(.ytf-c-card,.ytf-c-filter,.ytf-c-logo,.ytf-c-join),
.ytf-portal :is(.ytf-p-kind,.ytf-p-file,.ytf-p-honey,.ytf-p-link,.ytf-p-chips),
.ytf-stats-wrap :is(.ytf-stats,.ytf-p-metrics),
.ytf-ngo-item {border-radius:0!important;}
.ytf-community .ytf-c-card {border:2px solid var(--ts-plum)!important;background:var(--ts-cream)!important;box-shadow:var(--ts-shadow)!important;color:var(--ts-plum)!important;}
.ytf-community .ytf-c-card:nth-child(3n+2){background:#e1f8f0!important;}
.ytf-community .ytf-c-card:nth-child(3n+3){background:var(--ts-blush)!important;}
.ytf-community :is(.ytf-c-filter button,.ytf-c-join a),
.ytf-portal :is(.ytf-p-link,.ytf-p-file input[type=submit],button[type=submit]) {background:var(--ts-pink)!important;color:#fff!important;border-radius:0!important;}
.ytf-community :is(.ytf-c-filter button,.ytf-c-join a):hover {background:var(--ts-honey)!important;color:var(--ts-plum)!important;}
.ytf-portal :is(input,select,textarea) {border-radius:0!important;}

/* Checkout charity picker and join panel */
#ytf-choose-overlay .ytf-choose-box {border-radius:0!important;border-color:var(--ts-plum)!important;background:#fff8fa!important;box-shadow:10px 10px 0 var(--ts-honey)!important;color:var(--ts-plum)!important;}
#ytf-choose-overlay :is(input,select,.ytf-ngo-results,#ytf-ngo-more,#ytf-choose-confirm,button) {border-radius:0!important;}
#ytf-choose-overlay .ytf-ngo-label {color:var(--ts-plum)!important;background:var(--ts-blush)!important;}
#ytf-choose-overlay .ytf-ngo-item:is(:hover,:has(input:checked)) {background:#e0f7ef!important;}
#ytf-choose-overlay #ytf-choose-confirm {background:var(--ts-pink)!important;color:#fff!important;border-color:var(--ts-plum)!important;}
#ytf-choose-overlay #ytf-choose-confirm:hover {background:var(--ts-honey)!important;color:var(--ts-plum)!important;}
#ytf-choose-overlay #ytf-ngo-selected {color:var(--ts-plum)!important;}
#ytf-choose-overlay input[type=radio],#ytf-choose-overlay input[type=checkbox] {accent-color:var(--ts-pink)!important;}
.ytzw-checkout-join {border-radius:0!important;background:var(--ts-blush)!important;border-color:var(--ts-plum)!important;color:var(--ts-plum)!important;}
.ytzw-checkout-join :is(.ytzw-checkout-stat,.ytzw-checkout-privacy,.ytzw-checkout-account-note) {border-radius:0!important;}
.ytzw-checkout-join .ytzw-checkout-stat {border-color:var(--ts-plum)!important;}
.ytzw-checkout-join .ytzw-checkout-stat strong {color:var(--ts-plum)!important;}

/* Text links in TurboBanda should not appear in legacy green. */
.ytzw-wrap :is(.ytzw-pagination a,.ytzw-joinline a,.ytzw-back,.ytzw-profile-card a) {color:var(--ts-pink)!important;}

@media(max-width:640px){
 .yalla-tb-cta,.yalla-tb-cta.is-member,.yalla-tb-cta.is-guest {gap:6px!important;min-height:44px!important;padding:5px 10px 5px 6px!important;font-size:13px!important;max-width:calc(100vw - 16px)!important;}
 .yalla-tb-cta-cat {width:29px!important;height:29px!important;}
 .yalla-tb-cta-paw {width:24px!important;height:28px!important;}
 .ytzw-wrap .ytzw-metric {box-shadow:2px 2px 0 var(--ts-plum)!important;}
}
@media(prefers-reduced-motion:reduce){.yalla-tb-cta,:is(.ytzw-button,.ytzw-tb-action){transition:none!important;}}

/* Admin-only frontend /sprzedaz: geometry and branding, status colors untouched. */
.yts-dashboard :is(.yts-stats>div,.yts-foundations-summary>div,.yts-dashboard section,.yts-private-editor,.yts-private-notice,.yts-expanded-content,.yts-pickup,.yts-failed-callout,.yts-message),
.yts-dashboard :is(button,.yts-nav a,.yts-foundation-actions a,.yts-qr-download,.yts-copy-link,.yts-expand-button),
.yts-pdf-float button,
.yts-dashboard :is(input:not([type="checkbox"]),select,textarea) {border-radius:0!important;}
.yts-dashboard h1,.yts-dashboard h2,.yts-dashboard h3 {color:var(--ts-plum)!important;font-family:'Poppins',sans-serif!important;}
.yts-dashboard .yts-stats>div,.yts-dashboard .yts-foundations-summary>div {background:var(--ts-blush)!important;border:1px solid var(--ts-plum)!important;}
.yts-dashboard :is(.yts-stats strong,.yts-foundations-summary strong) {color:var(--ts-plum)!important;}
.yts-dashboard .yts-stats>div:nth-child(3n+2),.yts-dashboard .yts-foundations-summary>div:nth-child(3n+2) {background:#e0f6ec!important;}
.yts-dashboard .yts-stats>div:nth-child(3n+3),.yts-dashboard .yts-foundations-summary>div:nth-child(3n+3) {background:#fff0d7!important;}
.yts-dashboard section {border:1px solid #e5ccd8!important;}
.yts-dashboard :is(.yts-nav a,.yts-foundation-actions a,.yts-qr-download),.yts-pdf-float button:not(:disabled) {background:var(--ts-pink)!important;color:white!important;}
.yts-dashboard :is(.yts-nav a,.yts-foundation-actions a,.yts-qr-download):hover,.yts-pdf-float button:not(:disabled):hover {background:var(--ts-honey)!important;color:var(--ts-plum)!important;}
.yts-dashboard .yts-delete {background:#b83333!important;color:#fff!important;}
.yts-dashboard .yts-table table thead th,.yts-dashboard .yts-foundations-table th {background:var(--ts-plum)!important;color:white!important;}
/* Specifically preserve order-status green/yellow/red highlighting, e.g. yts-order-failed. */
