:root{
  --xbc-navy:#0D2056;
  --xbc-navy-2:#15346d;
  --xbc-orange:#E7652C;
  --xbc-bg:#f5f7fb;
  --xbc-surface:#fff;
  --xbc-surface-soft:#f8fafc;
  --xbc-text:#172033;
  --xbc-muted:#667085;
  --xbc-line:#dfe5ec;
  --xbc-success:#16794b;
  --xbc-danger:#b42318;
  --xbc-store-width:1320px;
  --xbc-product-width:1200px;
  --xbc-title-size:34px;
  --xbc-price-size:30px;
  --xbc-product-text-size:16px;
  --xbc-button-size:16px;
  --xbc-button-radius:11px;
  --xbc-card-radius:16px;
  --xbc-shadow:0 14px 40px rgba(13,32,86,.07);
}

/*
 * 1.3.6 · CSS aïllat
 * IMPORTANT: no s'estilitza mai qualsevol `.woocommerce` de manera global.
 * Això deixa intactes header, mini-cistella, widgets i popups AJAX del tema.
 */
body.xbc-store-flow{overflow-x:hidden}

/* Contenció només del contingut principal real de WooCommerce. :has() és progressiu:
   si el navegador no el suporta, simplement mana l'amplària del tema. */
body.xbc-store-product .woocommerce:has(> div.product),
body.xbc-store-product .woocommerce:has(div.product),
body.xbc-store-cart .woocommerce:has(.woocommerce-cart-form),
body.xbc-store-checkout .woocommerce:has(form.checkout),
body.xbc-store-confirmation .woocommerce:has(.woocommerce-order){
  width:min(var(--xbc-store-width),calc(100% - 40px));
  max-width:var(--xbc-store-width);
  margin-left:auto;
  margin-right:auto;
  box-sizing:border-box;
}
body.xbc-store-product .woocommerce:has(div.product){max-width:var(--xbc-product-width)}

/* Components propis del plugin */
.xbc-store-header,
.xbc-product-progress,
.xbc-supplier-notice,
.xbc-store-product-top{box-sizing:border-box}
.xbc-store-header{width:min(var(--xbc-store-width),calc(100% - 40px));max-width:var(--xbc-store-width);margin:0 auto 14px;padding:16px 18px;border:1px solid var(--xbc-line);border-radius:15px;background:#fff;color:var(--xbc-text)}
.xbc-store-header--progress-only{padding:12px 16px}
.xbc-store-header-copy{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:14px}
.xbc-store-eyebrow{display:block;margin:0 0 4px;color:var(--xbc-orange);font-size:.72rem;font-weight:800;letter-spacing:.03em}
.xbc-store-header h2{margin:0!important;color:var(--xbc-navy)!important;font-size:1.28rem!important;line-height:1.2!important}
.xbc-store-header p{max-width:760px;margin:4px 0 0!important;color:var(--xbc-muted)!important;font-size:.88rem;line-height:1.5}
.xbc-purchase-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0;padding:0;list-style:none}
.xbc-purchase-step{position:relative;display:flex;align-items:center;gap:8px;min-width:0;padding-right:12px;color:#98a2b3}
.xbc-purchase-step:not(:last-child):after{content:"";position:absolute;left:31px;right:8px;top:13px;height:1px;background:#dde3eb}
.xbc-purchase-step span{position:relative;z-index:1;display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;border-radius:50%;border:1px solid #d7dee7;background:#fff;color:#667085;font-size:.72rem;font-weight:800}
.xbc-purchase-step strong{position:relative;z-index:1;padding-right:6px;background:#fff;color:inherit;font-size:.76rem;font-weight:750;white-space:nowrap}
.xbc-purchase-step.is-current{color:var(--xbc-navy)}
.xbc-purchase-step.is-current span{border-color:var(--xbc-orange);background:var(--xbc-orange);color:#fff}
.xbc-purchase-step.is-done{color:var(--xbc-navy)}
.xbc-purchase-step.is-done span{border-color:var(--xbc-navy);background:var(--xbc-navy);color:#fff}
.xbc-product-progress{max-width:var(--xbc-product-width);margin:0 auto 12px;padding:12px 15px;border:1px solid var(--xbc-line);border-radius:14px;background:#fff}
.xbc-store-product-top{display:flex;align-items:center;justify-content:space-between;gap:14px;max-width:var(--xbc-product-width);margin:0 auto 10px;padding:8px 2px;color:var(--xbc-muted);font-size:.82rem}
.xbc-store-product-top>a{color:var(--xbc-navy);font-weight:800;text-decoration:none}
.xbc-store-product-top>span{font-size:.78rem;font-weight:700}
.xbc-supplier-notice{width:min(var(--xbc-store-width),calc(100% - 40px));max-width:var(--xbc-store-width);margin:0 auto 18px;padding:13px 16px;border:1px solid #f0d6c8;border-left:4px solid var(--xbc-orange);border-radius:12px;background:#fffaf7;color:var(--xbc-text)}
body.xbc-store-product .xbc-supplier-notice{max-width:var(--xbc-product-width)}
.xbc-supplier-notice strong{display:block;margin-bottom:3px;color:var(--xbc-navy);font-size:.86rem}
.xbc-supplier-notice p{margin:0!important;color:var(--xbc-muted)!important;font-size:.82rem;line-height:1.5}
.xbc-supplier-notice--confirmation{border-left-color:var(--xbc-success);background:#f6fbf8}

/* Catàleg: el layout és 100% del tema. */
body.xbc-store-catalog .woocommerce-result-count{color:var(--xbc-muted);font-size:.9rem}
body.xbc-store-catalog .woocommerce-ordering select{min-height:44px;padding:0 40px 0 13px;border:1px solid var(--xbc-line);border-radius:11px;background:#fff;color:var(--xbc-text)}
body.xbc-store-catalog ul.products li.product a.added_to_cart{display:inline-flex;align-items:center;margin-top:8px;color:var(--xbc-navy);font-weight:800;text-decoration:none}

/* Fitxa de producte */
body.xbc-store-product div.product{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(390px,.86fr);gap:32px;align-items:start;width:100%;max-width:var(--xbc-product-width);margin:0 auto!important;box-sizing:border-box}
body.xbc-store-product div.product .woocommerce-product-gallery,
body.xbc-store-product div.product .summary{float:none!important;width:auto!important;margin:0!important;box-sizing:border-box}
body.xbc-store-product div.product .woocommerce-product-gallery{padding:14px;border:1px solid var(--xbc-line);border-radius:var(--xbc-card-radius);background:#fff}
body.xbc-store-product div.product .summary{padding:22px;border:1px solid var(--xbc-line);border-radius:var(--xbc-card-radius);background:#fff}
body.xbc-store-product div.product .summary .product_title{display:none!important}
body.xbc-store-product .xbc-product-title{display:block!important;margin:0 0 10px!important;color:var(--xbc-navy)!important;font-size:var(--xbc-title-size)!important;font-weight:850!important;line-height:1.08!important;letter-spacing:-.025em!important}
body.xbc-store-product div.product p.price{margin:0 0 18px!important;color:var(--xbc-navy)!important;font-size:var(--xbc-price-size)!important;font-weight:850!important;line-height:1.1}
body.xbc-store-product div.product .woocommerce-product-details__short-description{color:var(--xbc-muted);font-size:var(--xbc-product-text-size);line-height:1.65}
body.xbc-store-product table.variations{margin:20px 0!important;border:0!important}
body.xbc-store-product table.variations th,body.xbc-store-product table.variations td{display:block;width:100%;padding:0!important;border:0!important;text-align:left}
body.xbc-store-product table.variations label{display:block;margin:0 0 7px;color:var(--xbc-text);font-weight:800}
body.xbc-store-product table.variations select,
.xbc-store-personalization select,
.xbc-store-personalization input{width:100%;min-height:46px;padding:9px 12px;border:1px solid #cdd6e1;border-radius:10px;background:#fff;color:var(--xbc-text);outline:none;box-sizing:border-box}
body.xbc-store-product table.variations select:focus,
.xbc-store-personalization select:focus,
.xbc-store-personalization input:focus{border-color:var(--xbc-navy);box-shadow:0 0 0 3px rgba(13,32,86,.08)}
.xbc-store-personalization{margin:20px 0!important;padding:18px!important;border:1px solid var(--xbc-line)!important;border-radius:14px!important;background:var(--xbc-surface-soft)!important;box-sizing:border-box}
.xbc-personalization-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:14px}
.xbc-personalization-heading strong{color:var(--xbc-navy);font-size:1rem}
.xbc-personalization-heading small{color:var(--xbc-muted);font-size:.76rem;line-height:1.35;text-align:right}
.xbc-optional{color:var(--xbc-muted);font-size:.74rem;font-weight:600}
.xbc-store-personalization label{display:block;margin:0 0 6px;font-size:.84rem;font-weight:750;color:var(--xbc-text)}
.xbc-jersey-check{display:block;clear:both;min-height:18px;margin:7px 0 10px;color:var(--xbc-muted);font-size:.76rem;line-height:1.45}
.xbc-jersey-check.is-checking{color:#7b5b14}
.xbc-jersey-check.is-valid{color:#176b3a;font-weight:750}
.xbc-jersey-check.is-error{color:#a92f27;font-weight:750}
.xbc-store-personalization input:invalid{border-color:#c95c53!important}
body.xbc-store-product form.cart{display:flex;gap:10px;flex-wrap:wrap;align-items:stretch}
body.xbc-store-product form.cart .quantity .qty{height:46px;border:1px solid var(--xbc-line);border-radius:10px}
body.xbc-store-product form.cart .single_add_to_cart_button{min-height:46px!important;padding:11px 17px!important;border:1px solid var(--xbc-button)!important;border-radius:var(--xbc-button-radius)!important;background:var(--xbc-button)!important;color:#fff!important;font-size:var(--xbc-button-size)!important;font-weight:800!important;box-shadow:none!important}
body.xbc-store-product form.cart .single_add_to_cart_button:hover{background:var(--xbc-button-hover)!important;border-color:var(--xbc-button-hover)!important}
body.xbc-store-product .woocommerce-tabs,body.xbc-store-product .related.products{grid-column:1/-1}
body.xbc-store-product .product_meta,
body.xbc-store-product #comments,
body.xbc-store-product .comments-area,
body.xbc-store-product .comment-respond,
body.xbc-store-product #respond,
body.xbc-store-product .woocommerce-Reviews,
body.xbc-store-product #reviews,
body.xbc-store-product .post-single-image,
body.xbc-store-product .at-blog-shiny-glass-effect,
body.xbc-store-product .post-single-meta,
body.xbc-store-product .single-post-meta,
body.xbc-store-product .post-author,
body.xbc-store-product .post-footer,
body.xbc-store-product .entry-footer,
body.xbc-store-product .post-tags,
body.xbc-store-product .post-categories,
body.xbc-store-product .single-post-navigation,
body.xbc-store-product .post-navigation,
body.xbc-store-product .author-info,
body.xbc-store-product .author-box,
body.xbc-store-product .blog-share,
body.xbc-store-product .post-share,
body.xbc-store-product .share-post,
body.xbc-store-product .related-posts{display:none!important}

/* Avisos de WooCommerce: només dins del contingut principal, mai en widgets/header. */
body.xbc-store-product .woocommerce-notices-wrapper .woocommerce-message,
body.xbc-store-product .woocommerce-notices-wrapper .woocommerce-info,
body.xbc-store-product .woocommerce-notices-wrapper .woocommerce-error,
body.xbc-store-cart .woocommerce-notices-wrapper .woocommerce-message,
body.xbc-store-cart .woocommerce-notices-wrapper .woocommerce-info,
body.xbc-store-cart .woocommerce-notices-wrapper .woocommerce-error,
body.xbc-store-checkout .woocommerce-notices-wrapper .woocommerce-message,
body.xbc-store-checkout .woocommerce-notices-wrapper .woocommerce-info,
body.xbc-store-checkout .woocommerce-notices-wrapper .woocommerce-error{margin:0 0 18px!important;padding:14px 16px!important;border:1px solid var(--xbc-line)!important;border-radius:12px!important;background:#fff;color:var(--xbc-text);box-shadow:none!important}
body.xbc-store-product .woocommerce-notices-wrapper .woocommerce-message,
body.xbc-store-cart .woocommerce-notices-wrapper .woocommerce-message{border-color:#cce8da!important;background:#f3fbf7}
body.xbc-store-product .woocommerce-notices-wrapper .woocommerce-error,
body.xbc-store-cart .woocommerce-notices-wrapper .woocommerce-error,
body.xbc-store-checkout .woocommerce-notices-wrapper .woocommerce-error{border-color:#efcdca!important;background:#fff7f6}

/* Cistella: no es força layout, floats, columnes ni amplàries. El tema mana. */
body.xbc-store-cart .woocommerce-cart-form,
body.xbc-store-cart .cart-collaterals{box-sizing:border-box}
body.xbc-store-cart .woocommerce-cart-form{padding:18px;border:1px solid var(--xbc-line);border-radius:var(--xbc-card-radius);background:#fff}
body.xbc-store-cart .cart-collaterals{padding:18px;border:1px solid var(--xbc-line);border-radius:var(--xbc-card-radius);background:#fff;box-shadow:none}
body.xbc-store-cart .cart-collaterals .cart_totals{max-width:none}
body.xbc-store-cart table.shop_table{border-color:var(--xbc-line)!important}
body.xbc-store-cart table.shop_table th{color:var(--xbc-muted);font-size:.8rem;text-transform:none}
body.xbc-store-cart table.shop_table td{vertical-align:middle}
body.xbc-store-cart table.shop_table .product-thumbnail img{max-width:84px;height:auto;border-radius:10px;background:#fff}
body.xbc-store-cart .product-name>a{color:var(--xbc-navy);font-weight:800;text-decoration:none}
body.xbc-store-cart .coupon{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
body.xbc-store-cart .coupon .input-text{min-height:44px;border:1px solid var(--xbc-line)!important;border-radius:10px!important;padding:9px 11px!important}
body.xbc-store-cart .woocommerce-cart-form button.button,
body.xbc-store-cart .cart-collaterals a.button,
body.xbc-store-cart .cart-collaterals .checkout-button{min-height:44px!important;padding:11px 17px!important;border:1px solid var(--xbc-button)!important;border-radius:var(--xbc-button-radius)!important;background:var(--xbc-button)!important;color:#fff!important;font-size:var(--xbc-button-size)!important;font-weight:800!important;box-shadow:none!important;text-decoration:none!important}
body.xbc-store-cart .cart-collaterals .checkout-button{background:var(--xbc-orange)!important;border-color:var(--xbc-orange)!important}
body.xbc-store-cart .woocommerce-cart-form button.button:hover,
body.xbc-store-cart .cart-collaterals a.button:hover{filter:brightness(.96)}

/* Checkout: estil visual, sense tocar cap element del header/mini-cistella. */
body.xbc-store-checkout form.checkout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(380px,.72fr);gap:24px;align-items:start}
body.xbc-store-checkout #customer_details{grid-column:1;display:grid;gap:18px}
body.xbc-store-checkout #customer_details .col-1,
body.xbc-store-checkout #customer_details .col-2{float:none!important;width:100%!important;padding:22px;border:1px solid var(--xbc-line);border-radius:var(--xbc-card-radius);background:#fff}
body.xbc-store-checkout #order_review_heading{grid-column:2;grid-row:1;margin:0!important;padding:20px 22px 0;border:1px solid var(--xbc-line);border-bottom:0;border-radius:var(--xbc-card-radius) var(--xbc-card-radius) 0 0;background:#fff;font-size:1.3rem}
body.xbc-store-checkout #order_review{grid-column:2;grid-row:2 / span 2;margin-top:-24px;padding:18px 22px 22px;border:1px solid var(--xbc-line);border-top:0;border-radius:0 0 var(--xbc-card-radius) var(--xbc-card-radius);background:#fff;box-shadow:var(--xbc-shadow)}
body.xbc-store-checkout form.checkout .form-row label{margin-bottom:6px;color:var(--xbc-text);font-size:.84rem;font-weight:750}
body.xbc-store-checkout form.checkout .input-text,
body.xbc-store-checkout form.checkout select,
body.xbc-store-checkout .select2-container .select2-selection--single{min-height:46px;border:1px solid #cfd8e4;border-radius:10px;background:#fff;color:var(--xbc-text);box-sizing:border-box}
body.xbc-store-checkout form.checkout .input-text{padding:10px 12px}
body.xbc-store-checkout #payment{margin-top:14px;border-radius:14px!important;background:var(--xbc-surface-soft)!important;border:1px solid var(--xbc-line)}
body.xbc-store-checkout #payment ul.payment_methods{padding:16px!important;border-bottom:1px solid var(--xbc-line)!important}
body.xbc-store-checkout #payment div.payment_box{background:#fff!important;border:1px solid var(--xbc-line);border-radius:10px;color:var(--xbc-muted)}
body.xbc-store-checkout #payment div.payment_box:before{display:none}
body.xbc-store-checkout #payment .place-order{padding:16px!important}
body.xbc-store-checkout #place_order{float:none!important;width:100%;min-height:50px!important;padding:12px 18px!important;border:1px solid var(--xbc-orange)!important;border-radius:var(--xbc-button-radius)!important;background:var(--xbc-orange)!important;color:#fff!important;font-size:var(--xbc-button-size)!important;font-weight:800!important}

/* Confirmació */
body.xbc-store-confirmation .woocommerce-thankyou-order-received{margin:0 0 18px;padding:18px 20px;border:1px solid #cce8da;border-radius:14px;background:#f3fbf7;color:var(--xbc-success);font-weight:800}
body.xbc-store-confirmation ul.order_details{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 20px!important;padding:0!important}
body.xbc-store-confirmation ul.order_details li{float:none!important;width:auto!important;margin:0!important;padding:14px!important;border:1px solid var(--xbc-line)!important;border-radius:12px;background:#fff;color:var(--xbc-muted);font-size:.74rem}
body.xbc-store-confirmation ul.order_details li strong{display:block;margin-top:5px;color:var(--xbc-text);font-size:.95rem}
body.xbc-store-confirmation .woocommerce-order-details,
body.xbc-store-confirmation .woocommerce-customer-details,
.xbc-store-receipt{padding:22px!important;border:1px solid var(--xbc-line)!important;border-radius:var(--xbc-card-radius)!important;background:#fff!important;box-shadow:none!important}
.xbc-store-receipt h2{color:var(--xbc-navy)!important}
.xbc-store-receipt p{color:var(--xbc-muted)!important;line-height:1.55}

/* WooCommerce Cart / Checkout Blocks: selectors propis, sense afectar mini-cistella. */
body.xbc-store-flow .wc-block-cart,
body.xbc-store-flow .wc-block-checkout{width:min(var(--xbc-store-width),calc(100% - 40px));max-width:var(--xbc-store-width);margin:0 auto;color:var(--xbc-text)}
body.xbc-store-flow .wc-block-cart__main,
body.xbc-store-flow .wc-block-cart__sidebar,
body.xbc-store-flow .wc-block-checkout__main,
body.xbc-store-flow .wc-block-checkout__sidebar{padding:20px;border:1px solid var(--xbc-line);border-radius:var(--xbc-card-radius);background:#fff;box-sizing:border-box}
body.xbc-store-flow .wc-block-components-sidebar-layout{gap:22px}
body.xbc-store-flow .wc-block-cart__submit-button,
body.xbc-store-flow .wc-block-components-checkout-place-order-button{min-height:48px;border-radius:var(--xbc-button-radius)!important;background:var(--xbc-orange)!important;color:#fff!important;font-weight:800!important;text-decoration:none!important}
body.xbc-store-flow .wc-block-components-text-input input,
body.xbc-store-flow .wc-block-components-combobox .components-combobox-control__input,
body.xbc-store-flow .wc-block-components-address-form__select{min-height:48px;border:1px solid #cfd8e4!important;border-radius:10px!important;background:#fff!important}
body.xbc-store-flow .wc-block-components-product-name{color:var(--xbc-navy);font-weight:800}

/* Mètodes de pagament */
.xbc-payment-trust{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;margin:16px 0 0;padding:16px 18px;border:1px solid var(--xbc-line);border-radius:16px;background:#fff;box-sizing:border-box;box-shadow:0 8px 24px rgba(13,32,86,.04)}
.xbc-payment-trust__copy{display:grid;gap:2px;min-width:0}
.xbc-payment-trust__copy strong{font-size:.95rem;line-height:1.25;color:var(--xbc-navy)}
.xbc-payment-trust__copy span{font-size:.82rem;line-height:1.45;color:#657187}
.xbc-payment-trust__logos{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex:0 0 auto;flex-wrap:wrap}
.xbc-payment-logo{display:flex;align-items:center;justify-content:center;padding:8px 12px;min-height:54px;background:#fff;border:1px solid #e7ebf1;border-radius:12px;box-shadow:0 1px 2px rgba(13,32,86,.03)}
.xbc-payment-logo img{display:block;max-height:34px;width:auto;max-width:180px;object-fit:contain}
.xbc-payment-logo--visa img{max-height:52px;max-width:210px}
.xbc-payment-logo--mastercard img{max-height:60px;max-width:220px}
.xbc-payment-logo--bizum img{max-height:52px;max-width:230px}
body.xbc-store-checkout .xbc-payment-trust--checkout{margin:0 0 14px;background:#f9fbfd}

/* Títols de pàgina redundants */
body.xbc-store-catalog .woocommerce-products-header__title,
body.xbc-store-cart .entry-title,
body.xbc-store-checkout .entry-title,
body.xbc-store-confirmation .entry-title,
body.xbc-store-product .entry-title{display:none!important}

/* Responsive */
@media(max-width:980px){
  .xbc-store-header,.xbc-supplier-notice{width:calc(100% - 28px)}
  .xbc-product-progress,.xbc-store-product-top{max-width:calc(100% - 28px)}
  .xbc-purchase-step{display:block;text-align:center;padding:0}
  .xbc-purchase-step:not(:last-child):after{left:50%;right:-50%;top:14px}
  .xbc-purchase-step span{margin:0 auto 7px}
  .xbc-purchase-step strong{display:inline-block;padding:0 4px;font-size:.7rem;background:transparent}
  body.xbc-store-product div.product{grid-template-columns:1fr;gap:18px;max-width:calc(100% - 28px)}
  body.xbc-store-product .woocommerce-tabs,body.xbc-store-product .related.products{grid-column:1}
  body.xbc-store-checkout form.checkout{grid-template-columns:1fr}
  body.xbc-store-checkout #customer_details,body.xbc-store-checkout #order_review_heading,body.xbc-store-checkout #order_review{grid-column:1;grid-row:auto}
  body.xbc-store-checkout #order_review{margin-top:0}
  body.xbc-store-confirmation ul.order_details{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .xbc-store-header,.xbc-supplier-notice{width:calc(100% - 16px)}
  .xbc-product-progress,.xbc-store-product-top{max-width:calc(100% - 16px)}
  .xbc-store-header{padding:12px 13px;border-radius:13px}
  .xbc-store-header h2{font-size:1.1rem!important}
  .xbc-store-header p{font-size:.82rem}
  .xbc-purchase-step strong{font-size:.62rem;white-space:normal;line-height:1.15}
  .xbc-store-product-top>span{display:none}
  body.xbc-store-product div.product{max-width:calc(100% - 16px);gap:12px}
  body.xbc-store-product div.product .woocommerce-product-gallery{padding:10px!important;border-radius:14px!important}
  body.xbc-store-product div.product .summary{padding:16px!important;border-radius:14px!important}
  body.xbc-store-product .xbc-product-title{font-size:min(var(--xbc-title-size),28px)!important;margin-bottom:8px!important}
  body.xbc-store-product div.product p.price{font-size:min(var(--xbc-price-size),27px)!important;margin-bottom:14px!important}
  .xbc-store-personalization{padding:14px!important;margin:16px 0!important}
  .xbc-personalization-heading{align-items:flex-start;flex-direction:column;gap:4px}
  .xbc-personalization-heading small{text-align:left}
  .xbc-store-personalization .form-row-first,.xbc-store-personalization .form-row-last{float:none!important;width:100%!important;margin-right:0!important}
  body.xbc-store-product form.cart{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;width:100%}
  body.xbc-store-product form.cart .variations,body.xbc-store-product form.cart .single_variation_wrap,.xbc-store-personalization{grid-column:1/-1}
  body.xbc-store-product form.cart .single_add_to_cart_button{width:100%!important}
  body.xbc-store-cart .woocommerce-cart-form,body.xbc-store-cart .cart-collaterals{padding:12px}
  body.xbc-store-cart .coupon{display:grid;grid-template-columns:1fr;align-items:stretch}
  body.xbc-store-cart .coupon .input-text,body.xbc-store-cart .coupon button{width:100%!important}
  body.xbc-store-checkout #customer_details .col-1,body.xbc-store-checkout #customer_details .col-2,body.xbc-store-checkout #order_review{padding:16px}
  body.xbc-store-confirmation ul.order_details{grid-template-columns:1fr}
  .xbc-payment-trust{align-items:flex-start;flex-direction:column;padding:12px;margin-top:13px}
  .xbc-payment-trust__logos{justify-content:flex-start;width:100%}
  .xbc-payment-logo{padding:8px 10px;min-height:50px}
  .xbc-payment-logo img{max-height:28px;max-width:150px}
  .xbc-payment-logo--visa img{max-height:42px}
  .xbc-payment-logo--mastercard img{max-height:48px}
  .xbc-payment-logo--bizum img{max-height:42px}
  body.xbc-store-flow .wc-block-cart,body.xbc-store-flow .wc-block-checkout{width:calc(100% - 16px)}
  body.xbc-store-flow .wc-block-cart__main,body.xbc-store-flow .wc-block-cart__sidebar,body.xbc-store-flow .wc-block-checkout__main,body.xbc-store-flow .wc-block-checkout__sidebar{padding:14px;border-radius:14px}
}

/* 1.3.9 · Fitxa de producte refinada */
body.xbc-store-product .xbc-product-progress{
  margin-top:82px;
  margin-bottom:18px;
  padding:11px 16px;
  border-radius:14px;
  box-shadow:none;
}
body.xbc-store-product div.product{
  grid-template-columns:minmax(0,1.08fr) minmax(380px,.72fr);
  gap:24px;
}
body.xbc-store-product div.product .woocommerce-product-gallery{
  padding:12px;
  border-color:#e4e8ee;
  box-shadow:0 8px 30px rgba(13,32,86,.035);
}
body.xbc-store-product div.product .summary{
  padding:24px;
  border-color:#e4e8ee;
  box-shadow:0 8px 30px rgba(13,32,86,.04);
}
body.xbc-store-product .xbc-product-title{
  margin-bottom:7px!important;
  font-size:min(var(--xbc-title-size),32px)!important;
  line-height:1.08!important;
}
body.xbc-store-product div.product p.price{
  margin-bottom:16px!important;
  font-size:min(var(--xbc-price-size),27px)!important;
}
body.xbc-store-product div.product .woocommerce-product-details__short-description{
  margin-bottom:18px;
  font-size:min(var(--xbc-product-text-size),16px);
  line-height:1.58;
}
body.xbc-store-product table.variations{margin:16px 0 18px!important}
body.xbc-store-product form.cart{margin-bottom:0!important}

.xbc-product-supplier-note{
  display:grid;
  grid-template-columns:30px minmax(0,1fr);
  gap:10px;
  align-items:start;
  margin:16px 0 0;
  padding:12px 13px;
  border:1px solid #f0d7ca;
  border-radius:12px;
  background:#fffaf7;
  box-sizing:border-box;
}
.xbc-product-supplier-note__icon{
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border-radius:50%;
  background:rgba(231,101,44,.12);
  color:var(--xbc-orange);
  font-size:.82rem;
  font-weight:900;
  font-family:Arial,sans-serif;
}
.xbc-product-supplier-note strong{
  display:block;
  margin:0 0 2px;
  color:var(--xbc-navy);
  font-size:.82rem;
  line-height:1.3;
}
.xbc-product-supplier-note p{
  margin:0!important;
  color:var(--xbc-muted)!important;
  font-size:.76rem;
  line-height:1.45;
}

/* Mètodes de pagament: bloc únic, compacte i sense targetes dins de targetes. */
.xbc-payment-trust{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  width:100%;
  margin:12px 0 0;
  padding:12px 14px;
  border:1px solid #e2e7ed;
  border-radius:12px;
  background:#fbfcfe;
  box-shadow:none;
}
.xbc-payment-trust__copy{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
}
.xbc-payment-trust__copy>div{display:grid;gap:1px;min-width:0}
.xbc-payment-trust__copy strong{
  color:var(--xbc-navy);
  font-size:.82rem;
  line-height:1.2;
  white-space:nowrap;
}
.xbc-payment-trust__copy span:not(.xbc-payment-trust__lock){
  color:#7b8493;
  font-size:.7rem;
  line-height:1.25;
  white-space:nowrap;
}
.xbc-payment-trust__lock{
  display:grid;
  place-items:center;
  flex:0 0 30px;
  width:30px;
  height:30px;
  border-radius:9px;
  background:#eef2f7;
  color:var(--xbc-navy);
}
.xbc-payment-trust__lock svg{
  width:16px;
  height:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.xbc-payment-trust__logos{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:14px;
  flex:0 0 auto;
  flex-wrap:nowrap;
}
.xbc-payment-logo{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.xbc-payment-logo img{
  display:block;
  width:auto;
  max-width:none;
  object-fit:contain;
}
.xbc-payment-logo--visa img{height:22px}
.xbc-payment-logo--mastercard img{height:32px}
.xbc-payment-logo--bizum img{height:22px}
body.xbc-store-checkout .xbc-payment-trust--checkout{
  margin:0 0 14px;
  background:#fbfcfe;
}

@media(max-width:980px){
  body.xbc-store-product .xbc-product-progress{margin-top:76px}
  body.xbc-store-product div.product{grid-template-columns:1fr;gap:16px}
}
@media(max-width:640px){
  body.xbc-store-product .xbc-product-progress{margin-top:68px;margin-bottom:12px;padding:10px 11px}
  body.xbc-store-product div.product .summary{padding:17px!important}
  body.xbc-store-product .xbc-product-title{font-size:min(var(--xbc-title-size),27px)!important}
  body.xbc-store-product div.product p.price{font-size:min(var(--xbc-price-size),24px)!important}
  .xbc-product-supplier-note{grid-template-columns:28px minmax(0,1fr);padding:11px 12px;margin-top:14px}
  .xbc-payment-trust{grid-template-columns:1fr;gap:10px;padding:11px 12px}
  .xbc-payment-trust__copy span:not(.xbc-payment-trust__lock){white-space:normal}
  .xbc-payment-trust__logos{justify-content:flex-start;gap:13px;width:100%}
  .xbc-payment-logo{padding:0;min-height:0}
  .xbc-payment-logo--visa img{height:20px}
  .xbc-payment-logo--mastercard img{height:29px}
  .xbc-payment-logo--bizum img{height:20px}
}

/* 1.4.0 · Fitxa estable amb el tema + Quick Buy */
body.xbc-store-product .post-single-image,
body.xbc-store-product .post-single-image figure,
body.xbc-store-product figure.at-blog-shiny-glass-effect,
body.xbc-store-product .post-single-meta,
body.xbc-store-product .single-post-meta,
body.xbc-store-product .post-meta,
body.xbc-store-product .entry-meta,
body.xbc-store-product .post-author,
body.xbc-store-product .author-box,
body.xbc-store-product .blog-share,
body.xbc-store-product .post-share,
body.xbc-store-product .share-post,
body.xbc-store-product .single-post-navigation,
body.xbc-store-product .navigation.post-navigation,
body.xbc-store-product .related-posts,
body.xbc-store-product .comments-area{display:none!important}
body.xbc-store-product .col-md-12:has(> .post-single-image){display:none!important}
body.xbc-store-product .entry-content:has(> .woocommerce),
body.xbc-store-product .post-content:has(> .woocommerce){margin-top:0!important;padding-top:0!important}

/* Botó Quick Buy dins del grid: el tema continua controlant la targeta. */
.xbc-quick-buy-trigger{cursor:pointer}

html.xbc-quick-buy-open,body.xbc-quick-buy-open{overflow:hidden!important}
.xbc-quick-buy[hidden]{display:none!important}
.xbc-quick-buy{position:fixed;inset:0;z-index:2147482000;display:grid;place-items:center;padding:28px;opacity:0;visibility:hidden;transition:opacity .18s ease,visibility .18s ease}
.xbc-quick-buy.is-open{opacity:1;visibility:visible}
.xbc-quick-buy__backdrop{position:absolute;inset:0;background:rgba(7,18,38,.58);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.xbc-quick-buy__dialog{position:relative;z-index:1;width:min(980px,calc(100vw - 40px));max-height:min(820px,calc(100svh - 44px));overflow:auto;border:1px solid rgba(255,255,255,.46);border-radius:22px;background:#fff;box-shadow:0 28px 90px rgba(7,18,38,.28);transform:translateY(10px) scale(.99);transition:transform .18s ease;overscroll-behavior:contain}
.xbc-quick-buy.is-open .xbc-quick-buy__dialog{transform:none}
.xbc-quick-buy__close{position:sticky;float:right;top:14px;right:14px;z-index:5;display:grid;place-items:center;width:40px;height:40px;margin:14px 14px -54px 0;border:1px solid #e1e6ee;border-radius:50%;background:rgba(255,255,255,.96);color:var(--xbc-navy);font-size:25px;line-height:1;cursor:pointer;box-shadow:0 4px 14px rgba(13,32,86,.08)}
.xbc-quick-buy__close:hover{background:#f6f8fb}
.xbc-quick-buy__content{min-height:420px}
.xbc-quick-buy__loading{min-height:420px;display:grid;place-items:center;align-content:center;gap:14px;color:var(--xbc-navy)}
.xbc-quick-buy__loading span{width:34px;height:34px;border:3px solid #e4e9f0;border-top-color:var(--xbc-orange);border-radius:50%;animation:xbc-qb-spin .75s linear infinite}
@keyframes xbc-qb-spin{to{transform:rotate(360deg)}}
.xbc-quick-buy__product{display:grid;grid-template-columns:minmax(0,.92fr) minmax(420px,1.08fr);min-height:540px}
.xbc-quick-buy__media{display:grid;place-items:center;min-width:0;padding:34px;background:#f7f8fa;border-radius:22px 0 0 22px;overflow:hidden}
.xbc-quick-buy__media img{display:block;width:100%;height:auto;max-height:600px;object-fit:contain;mix-blend-mode:multiply}
.xbc-quick-buy__summary{min-width:0;padding:42px 42px 34px;color:var(--xbc-text)}
.xbc-quick-buy__eyebrow{display:block;margin:0 0 8px;color:var(--xbc-orange);font-size:.73rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.xbc-quick-buy__summary h2{margin:0 46px 8px 0!important;color:var(--xbc-navy)!important;font-size:clamp(1.65rem,2.5vw,2.25rem)!important;line-height:1.08!important;letter-spacing:-.025em!important}
.xbc-quick-buy__price{margin:0 0 14px;color:var(--xbc-navy);font-size:1.55rem;font-weight:850;line-height:1.15}
.xbc-quick-buy__excerpt{margin-bottom:20px;color:var(--xbc-muted);font-size:.94rem;line-height:1.6}
.xbc-quick-buy__excerpt p{margin:0}
.xbc-quick-buy__form form.cart{display:grid!important;grid-template-columns:auto minmax(0,1fr);gap:10px!important;align-items:end;margin:0!important}
.xbc-quick-buy__form form.cart .variations,
.xbc-quick-buy__form form.cart .single_variation_wrap,
.xbc-quick-buy__form .xbc-store-personalization{grid-column:1/-1}
.xbc-quick-buy__form table.variations{width:100%;margin:0 0 14px!important;border:0!important}
.xbc-quick-buy__form table.variations th,.xbc-quick-buy__form table.variations td{display:block;width:100%;padding:0!important;border:0!important;text-align:left}
.xbc-quick-buy__form table.variations label{display:block;margin:0 0 7px;color:var(--xbc-text);font-size:.86rem;font-weight:800}
.xbc-quick-buy__form table.variations select,
.xbc-quick-buy__form .xbc-store-personalization select,
.xbc-quick-buy__form .xbc-store-personalization input{width:100%;min-height:48px;padding:10px 13px;border:1px solid #ccd5e0;border-radius:11px;background:#fff;color:var(--xbc-text);box-sizing:border-box;outline:none}
.xbc-quick-buy__form table.variations select:focus,
.xbc-quick-buy__form .xbc-store-personalization select:focus,
.xbc-quick-buy__form .xbc-store-personalization input:focus{border-color:var(--xbc-navy);box-shadow:0 0 0 3px rgba(13,32,86,.07)}
.xbc-quick-buy__form .reset_variations{display:inline-block;margin-top:6px;color:var(--xbc-muted);font-size:.76rem}
.xbc-quick-buy__form .woocommerce-variation-price{margin:0 0 12px;color:var(--xbc-navy);font-weight:800}
.xbc-quick-buy__form .quantity .qty{width:72px;min-height:48px;border:1px solid #ccd5e0;border-radius:11px;text-align:center}
.xbc-quick-buy__form .single_add_to_cart_button,
.xbc-quick-buy__fallback{min-height:48px!important;padding:12px 20px!important;border:1px solid var(--xbc-button)!important;border-radius:var(--xbc-button-radius)!important;background:var(--xbc-button)!important;color:#fff!important;font-size:.93rem!important;font-weight:850!important;text-decoration:none!important;box-shadow:none!important}
.xbc-quick-buy__form .single_add_to_cart_button:hover,.xbc-quick-buy__fallback:hover{background:var(--xbc-button-hover)!important;border-color:var(--xbc-button-hover)!important}
.xbc-quick-buy__form .single_add_to_cart_button.is-loading{opacity:.68;cursor:wait}
.xbc-quick-buy__form .single_add_to_cart_button.disabled{opacity:.52}
.xbc-quick-buy__form .xbc-store-personalization{margin:12px 0 16px!important;padding:14px!important;border:1px solid var(--xbc-line)!important;border-radius:13px!important;background:#f8fafc!important}
.xbc-quick-buy__supplier{display:grid;gap:3px;margin:18px 0 12px;padding:11px 13px;border-left:3px solid var(--xbc-orange);border-radius:9px;background:#fff8f4}
.xbc-quick-buy__supplier strong{color:var(--xbc-navy);font-size:.8rem}
.xbc-quick-buy__supplier span{color:var(--xbc-muted);font-size:.76rem;line-height:1.45}
.xbc-quick-buy .xbc-payment-trust{margin:10px 0 0!important;padding:10px 12px!important;border-radius:12px!important;box-shadow:none!important;background:#fff!important}
.xbc-quick-buy .xbc-payment-trust__copy span{display:none}
.xbc-quick-buy .xbc-payment-trust__copy strong{font-size:.8rem}
.xbc-quick-buy .xbc-payment-trust__logos{gap:8px}
.xbc-quick-buy .xbc-payment-logo{min-height:38px!important;padding:5px 8px!important;border-radius:8px!important}
.xbc-quick-buy .xbc-payment-logo img{max-height:24px!important;max-width:92px!important}
.xbc-quick-buy__details{display:inline-flex;margin-top:13px;color:var(--xbc-navy);font-size:.78rem;font-weight:750;text-decoration:underline;text-underline-offset:3px}
.xbc-quick-buy__error,.xbc-quick-buy__standalone-error{margin:0 0 16px;padding:12px 14px;border:1px solid #efcbc7;border-radius:11px;background:#fff5f4;color:#9c2d25;font-size:.84rem;line-height:1.45}
.xbc-quick-buy__standalone-error{margin:80px auto;max-width:560px;text-align:center}
.xbc-quick-buy__standalone-error strong{display:block;margin-bottom:5px;color:#7d211c;font-size:1rem}
.xbc-quick-buy__standalone-error p{margin:0}
.xbc-quick-buy__success{min-height:480px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:54px 44px;text-align:center}
.xbc-quick-buy__success-icon{display:grid;place-items:center;width:58px;height:58px;margin-bottom:18px;border-radius:50%;background:#edf8f2;color:#16794b;font-size:1.7rem;font-weight:900}
.xbc-quick-buy__success-eyebrow{color:#16794b;font-size:.76rem;font-weight:850;letter-spacing:.07em;text-transform:uppercase}
.xbc-quick-buy__success h2{margin:7px 0 8px;color:var(--xbc-navy);font-size:clamp(1.5rem,2.8vw,2.25rem);line-height:1.1}
.xbc-quick-buy__success p{max-width:560px;margin:0;color:var(--xbc-muted);line-height:1.55}
.xbc-quick-buy__success-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:26px}
.xbc-qb-primary,.xbc-qb-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 18px;border-radius:11px;font-size:.88rem;font-weight:800;text-decoration:none;cursor:pointer}
.xbc-qb-primary{border:1px solid var(--xbc-orange);background:var(--xbc-orange);color:#fff}
.xbc-qb-secondary{border:1px solid #dbe2ea;background:#fff;color:var(--xbc-navy)}
.xbc-qb-primary:hover{filter:brightness(.96);color:#fff}.xbc-qb-secondary:hover{background:#f7f9fb;color:var(--xbc-navy)}

@media(max-width:820px){
  .xbc-quick-buy{place-items:end center;padding:0}
  .xbc-quick-buy__dialog{width:100%;max-height:94svh;border-radius:22px 22px 0 0;border-bottom:0;transform:translateY(24px)}
  .xbc-quick-buy__product{grid-template-columns:1fr;min-height:0}
  .xbc-quick-buy__media{min-height:260px;padding:22px;border-radius:22px 22px 0 0}
  .xbc-quick-buy__media img{max-height:330px}
  .xbc-quick-buy__summary{padding:24px 20px calc(24px + env(safe-area-inset-bottom))}
  .xbc-quick-buy__summary h2{margin-right:36px!important;font-size:1.65rem!important}
  .xbc-quick-buy__success{min-height:64svh;padding:44px 20px calc(34px + env(safe-area-inset-bottom))}
}
@media(max-width:520px){
  .xbc-quick-buy__dialog{max-height:96svh}
  .xbc-quick-buy__media{min-height:220px;padding:18px}
  .xbc-quick-buy__media img{max-height:275px}
  .xbc-quick-buy__summary{padding:21px 16px calc(20px + env(safe-area-inset-bottom))}
  .xbc-quick-buy__eyebrow{font-size:.68rem}
  .xbc-quick-buy__summary h2{font-size:1.45rem!important}
  .xbc-quick-buy__price{font-size:1.35rem}
  .xbc-quick-buy__form form.cart{grid-template-columns:74px minmax(0,1fr)}
  .xbc-quick-buy__form .single_add_to_cart_button{width:100%!important;padding-inline:12px!important}
  .xbc-quick-buy .xbc-payment-trust{align-items:center!important;flex-direction:row!important;gap:8px!important}
  .xbc-quick-buy .xbc-payment-trust__logos{width:auto!important;flex-wrap:nowrap!important;margin-left:auto}
  .xbc-quick-buy .xbc-payment-logo{padding:4px 5px!important;min-height:32px!important}
  .xbc-quick-buy .xbc-payment-logo img{max-height:19px!important;max-width:64px!important}
  .xbc-quick-buy__success-actions{display:grid;width:100%}
  .xbc-qb-primary,.xbc-qb-secondary{width:100%}
}

/* 1.4.1 · Cistella lateral ràpida */
html.xbc-cart-open,body.xbc-cart-open{overflow:hidden!important}
.xbc-cart-fab{position:fixed;right:22px;bottom:22px;z-index:2147481500;display:flex;align-items:center;gap:9px;min-height:50px;padding:8px 10px 8px 14px;border:1px solid rgba(13,32,86,.12);border-radius:999px;background:var(--xbc-navy);color:#fff;box-shadow:0 12px 34px rgba(13,32,86,.2);font-family:inherit;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.xbc-cart-fab:hover{transform:translateY(-2px);background:var(--xbc-button-hover);box-shadow:0 16px 40px rgba(13,32,86,.25)}
.xbc-cart-fab__icon{display:grid;place-items:center;width:23px;height:23px}.xbc-cart-fab__icon svg{width:22px;height:22px;overflow:visible}
.xbc-cart-fab__label{font-size:.86rem;font-weight:800;letter-spacing:.01em}.xbc-cart-fab__count{display:grid;place-items:center;min-width:30px;height:30px;padding:0 7px;border-radius:999px;background:var(--xbc-orange);color:#fff;font-size:.78rem;font-weight:900}
.xbc-cart-drawer[hidden]{display:none!important}.xbc-cart-drawer{position:fixed;inset:0;z-index:2147483000;visibility:hidden;opacity:0;transition:opacity .18s ease,visibility .18s ease}
.xbc-cart-drawer.is-open{visibility:visible;opacity:1}.xbc-cart-drawer__backdrop{position:absolute;inset:0;background:rgba(7,18,38,.48);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.xbc-cart-drawer__panel{position:absolute;top:0;right:0;display:flex;flex-direction:column;width:min(450px,100vw);height:100%;background:#fff;box-shadow:-24px 0 70px rgba(7,18,38,.18);transform:translateX(102%);transition:transform .2s ease;overscroll-behavior:contain}
.xbc-cart-drawer.is-open .xbc-cart-drawer__panel{transform:none}
.xbc-cart-drawer__header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 22px 18px;border-bottom:1px solid #e8edf2;background:#fff}
.xbc-cart-drawer__header span{display:block;margin-bottom:3px;color:var(--xbc-orange);font-size:.68rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.xbc-cart-drawer__header h2{margin:0!important;color:var(--xbc-navy)!important;font-size:1.28rem!important;line-height:1.15!important}
.xbc-cart-drawer__close{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border:1px solid #dde4eb;border-radius:50%;background:#fff;color:var(--xbc-navy);font-size:24px;line-height:1;cursor:pointer}.xbc-cart-drawer__close:hover{background:#f5f7fa}
.xbc-cart-drawer__body{display:flex;flex:1;min-height:0;flex-direction:column;overflow:auto;padding:0;overscroll-behavior:contain}
.xbc-cart-drawer__loading{display:grid;place-items:center;align-content:center;gap:13px;min-height:55vh;color:var(--xbc-navy)}.xbc-cart-drawer__loading span{width:32px;height:32px;border:3px solid #e6ebf0;border-top-color:var(--xbc-orange);border-radius:50%;animation:xbc-qb-spin .75s linear infinite}
.xbc-cart-items{display:grid;padding:4px 20px 0}.xbc-cart-item{display:grid;grid-template-columns:82px minmax(0,1fr);gap:14px;padding:18px 0;border-bottom:1px solid #edf0f4}.xbc-cart-item:last-child{border-bottom:0}
.xbc-cart-item__media{display:grid;place-items:center;width:82px;height:92px;padding:7px;border:1px solid #edf0f4;border-radius:12px;background:#f8f9fb;overflow:hidden;box-sizing:border-box}.xbc-cart-item__media img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.xbc-cart-item__main{min-width:0}.xbc-cart-item__top{display:grid;grid-template-columns:minmax(0,1fr) 28px;gap:8px;align-items:start}.xbc-cart-item__top>strong{color:var(--xbc-navy);font-size:.91rem;line-height:1.3}.xbc-cart-item__remove{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:#f2f5f7;color:#6a7585;font-size:18px;cursor:pointer}.xbc-cart-item__remove:hover{background:#fdeeee;color:#a73030}
.xbc-cart-item__meta{margin-top:6px;color:#697586;font-size:.73rem;line-height:1.45}.xbc-cart-item__meta dl,.xbc-cart-item__meta p{margin:0!important}.xbc-cart-item__meta dt,.xbc-cart-item__meta dd{display:inline;margin:0}.xbc-cart-item__meta dd{margin-right:7px}.xbc-cart-item__meta dd:after{content:" · "}.xbc-cart-item__meta dd:last-child:after{content:""}
.xbc-cart-item__bottom{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-top:12px}.xbc-cart-item__bottom label{display:grid;gap:4px;color:#6a7585;font-size:.67rem;font-weight:750}.xbc-cart-item__bottom input{width:64px;height:36px;padding:4px 8px;border:1px solid #d6dee7;border-radius:9px;background:#fff;color:var(--xbc-text);text-align:center;box-sizing:border-box}.xbc-cart-item__bottom>strong{color:var(--xbc-navy);font-size:.94rem}
.xbc-cart-summary{margin-top:auto;padding:17px 20px 12px;border-top:1px solid #e7ecf1;background:#fbfcfd}.xbc-cart-summary>div{display:flex;align-items:center;justify-content:space-between;gap:16px}.xbc-cart-summary span{color:#4e5c6e;font-size:.86rem;font-weight:750}.xbc-cart-summary strong{color:var(--xbc-navy);font-size:1.2rem}.xbc-cart-summary p{margin:7px 0 0!important;color:#7a8695;font-size:.69rem;line-height:1.4}
.xbc-cart-actions{display:grid;gap:9px;padding:12px 20px calc(20px + env(safe-area-inset-bottom));background:#fbfcfd}.xbc-cart-primary,.xbc-cart-secondary{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;padding:11px 16px;border-radius:11px;font-family:inherit;font-size:.86rem;font-weight:850;text-decoration:none;box-sizing:border-box;cursor:pointer}.xbc-cart-primary{border:1px solid var(--xbc-orange);background:var(--xbc-orange);color:#fff!important}.xbc-cart-primary:hover{filter:brightness(.96);color:#fff!important}.xbc-cart-secondary{border:1px solid #d9e0e7;background:#fff;color:var(--xbc-navy)}.xbc-cart-secondary:hover{background:#f5f7f9;color:var(--xbc-navy)}.xbc-cart-link{display:block;padding:3px;text-align:center;color:#647184;font-size:.72rem;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.xbc-cart-empty{display:flex;flex:1;min-height:56vh;flex-direction:column;align-items:center;justify-content:center;padding:36px 26px;text-align:center}.xbc-cart-empty>span{display:grid;place-items:center;width:56px;height:56px;margin-bottom:15px;border-radius:50%;background:#f1f4f7;color:var(--xbc-navy);font-size:1.5rem}.xbc-cart-empty strong{color:var(--xbc-navy);font-size:1.05rem}.xbc-cart-empty p{max-width:310px;margin:7px auto 18px!important;color:#758191;font-size:.82rem;line-height:1.55}.xbc-cart-empty .xbc-cart-secondary{max-width:240px}
.xbc-product-cart-error{grid-column:1/-1;margin:0 0 10px;padding:10px 12px;border:1px solid #efcbc7;border-radius:10px;background:#fff5f4;color:#942d26;font-size:.78rem;line-height:1.45}
body.xbc-store-checkout .xbc-cart-fab{display:none!important}

@media(max-width:640px){
  .xbc-cart-fab{right:12px;bottom:12px;min-height:46px;padding:7px 8px 7px 12px;box-shadow:0 9px 28px rgba(13,32,86,.2)}
  .xbc-cart-fab__label{font-size:.8rem}.xbc-cart-fab__count{min-width:27px;height:27px}
  .xbc-cart-drawer__panel{top:auto;bottom:0;width:100%;height:min(92svh,760px);border-radius:20px 20px 0 0;transform:translateY(102%);box-shadow:0 -22px 60px rgba(7,18,38,.2);overflow:hidden}
  .xbc-cart-drawer.is-open .xbc-cart-drawer__panel{transform:none}
  .xbc-cart-drawer__header{padding:17px 16px 14px}.xbc-cart-drawer__header h2{font-size:1.13rem!important}
  .xbc-cart-items{padding:0 15px}.xbc-cart-item{grid-template-columns:70px minmax(0,1fr);gap:11px;padding:14px 0}.xbc-cart-item__media{width:70px;height:80px}
  .xbc-cart-summary{padding:14px 15px 10px}.xbc-cart-actions{padding:10px 15px calc(14px + env(safe-area-inset-bottom))}.xbc-cart-primary,.xbc-cart-secondary{min-height:46px}
}

/* 1.6.8 · Jugador del club / compra particular */
.xbc-recipient-choice{border:0;margin:0 0 18px;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.xbc-recipient-choice legend{grid-column:1/-1;font-weight:700;margin-bottom:2px}
.xbc-recipient-choice label{display:flex;align-items:flex-start;gap:10px;border:1px solid rgba(13,32,86,.16);border-radius:12px;padding:13px 14px;cursor:pointer;background:#fff}
.xbc-recipient-choice label:has(input:checked){border-color:currentColor;box-shadow:0 0 0 1px currentColor inset}
.xbc-recipient-choice input{margin-top:3px}
.xbc-recipient-choice span{display:grid;gap:2px}
.xbc-recipient-choice small{font-size:12px;line-height:1.35;opacity:.72}
.xbc-player-recipient-field[hidden]{display:none!important}
@media(max-width:680px){.xbc-recipient-choice{grid-template-columns:1fr}}
