/* =====================================================================
   Strong Barber — WooCommerce (tienda, producto, carrito, checkout)
   ===================================================================== */
.woocommerce,.woocommerce-page{color:var(--white)}
.wc-wrap{padding:24px 0 90px}
.wc-page{padding:10px 0 90px}

/* Avisos */
.woocommerce-notices-wrapper:empty{display:none}
.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-noreviews,p.no-comments{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;padding:14px 18px;margin:0 0 20px;border-radius:16px;background:var(--panel);border:1px solid var(--line);border-left:4px solid var(--purple-2);font-size:.92rem}
.woocommerce-error{border-left-color:var(--red)}
.woocommerce-message .button,.woocommerce-info .button{margin-left:auto}
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{display:none}
.woocommerce-info a,.woocommerce-message a:not(.button){color:var(--lilac)}

/* Botones Woo */
.woocommerce .button,.woocommerce button.button,.woocommerce a.button,.woocommerce input.button,.woocommerce #respond input#submit,.wc-block-components-button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:48px;padding:0 1.4rem;border-radius:999px;border:0;background:var(--purple);color:#fff;font-family:var(--display);font-weight:700;font-size:.74rem;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;transition:background .3s,transform .3s;line-height:1.2;text-align:center}
.woocommerce .button:hover,.woocommerce button.button:hover,.woocommerce a.button:hover{background:var(--red);color:#fff}
.woocommerce .button.alt,.woocommerce button.button.alt{background:var(--red)}
.woocommerce .button.alt:hover,.woocommerce button.button.alt:hover{background:var(--purple-2)}
.woocommerce .button:disabled,.woocommerce .button.disabled{opacity:.5;cursor:not-allowed}
.woocommerce .button.loading{opacity:.7}

/* Formularios */
.woocommerce form .form-row{margin:0 0 14px;padding:0}
.woocommerce form .form-row label{display:block;font-size:.78rem;font-weight:600;color:#d8d5e0;margin-bottom:6px;letter-spacing:.02em}
.woocommerce form .form-row .required{color:var(--red-2);text-decoration:none}
.woocommerce input.input-text,.woocommerce textarea,.woocommerce select,.woocommerce .select2-container .select2-selection--single,.woocommerce-page input[type=text],.woocommerce-page input[type=email],.woocommerce-page input[type=tel],.woocommerce-page input[type=password],.woocommerce-page input[type=number]{width:100%;min-height:50px;padding:12px 16px;border-radius:14px;border:1px solid var(--line);background:#0f0f14;color:#fff;font:inherit;font-size:16px;outline:none;transition:border-color .25s,box-shadow .25s;-webkit-appearance:none;appearance:none}
.woocommerce textarea{min-height:110px;resize:vertical}
.woocommerce select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23c9a6ec' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;padding-right:40px}
.woocommerce input.input-text:focus,.woocommerce textarea:focus,.woocommerce select:focus{border-color:var(--purple-2);box-shadow:0 0 0 3px rgba(143,63,192,.25)}
.woocommerce form .form-row.woocommerce-invalid input.input-text,.woocommerce form .form-row.woocommerce-invalid select{border-color:var(--red)}
.woocommerce form .form-row-first,.woocommerce form .form-row-last{width:100%;float:none}
.select2-container--default .select2-selection--single{display:flex;align-items:center}
.select2-container--default .select2-selection--single .select2-selection__rendered{color:#fff;line-height:1.4;padding:0}
.select2-container--default .select2-selection--single .select2-selection__arrow{height:100%;right:10px}
.select2-dropdown{background:#16161c;border-color:var(--line);color:#fff}
.select2-container--default .select2-search--dropdown .select2-search__field{background:#0f0f14;border-color:var(--line);color:#fff;border-radius:8px}
.select2-container--default .select2-results__option--highlighted[aria-selected],.select2-container--default .select2-results__option--highlighted[data-selected]{background:var(--purple)}
.select2-container--default .select2-results__option[aria-selected=true]{background:#2a2a33}
.woocommerce form .password-input{display:block;position:relative}
.woocommerce form .show-password-input{top:14px;right:14px}
.woocommerce-form__label-for-checkbox{display:flex!important;align-items:center;gap:10px;cursor:pointer}
.woocommerce input[type=checkbox],.woocommerce input[type=radio]{accent-color:var(--purple-2);width:18px;height:18px}

/* ---------- Tienda ---------- */
.shop-hero{padding:46px 0 24px}
.shop-hero .ph-title{font-size:clamp(2.2rem,10vw,5rem)}
.shop-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 22px}
.woocommerce .woocommerce-result-count{margin:0;color:var(--muted);font-size:.85rem}
.woocommerce .woocommerce-ordering{margin:0}
.woocommerce .woocommerce-ordering select{min-height:44px;width:auto;border-radius:999px;font-size:.85rem}
.woocommerce ul.products{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0;padding:0}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;float:none!important;padding:0;position:relative;background:var(--panel);border-radius:20px;overflow:hidden;display:flex;flex-direction:column;transition:transform .5s var(--ease),box-shadow .5s;border:1px solid var(--line)}
.woocommerce ul.products li.product:hover{transform:translateY(-6px);box-shadow:0 30px 50px -30px rgba(143,63,192,.8);border-color:rgba(201,166,236,.4)}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;flex:1;color:inherit}
.woocommerce ul.products li.product a img{width:100%;aspect-ratio:1;object-fit:contain;margin:0;padding:12%;background:radial-gradient(circle at 50% 60%,#2a1b36,var(--panel) 70%);transition:transform .7s var(--ease)}
.woocommerce ul.products li.product:hover a img{transform:scale(1.06)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:var(--display);font-weight:700;font-size:.78rem;line-height:1.3;text-transform:uppercase;padding:12px 14px 4px;margin:0;color:#fff}
.woocommerce ul.products li.product .price{display:block;padding:0 14px 10px;margin:0;color:#fff;font-weight:700;font-size:.92rem}
.woocommerce ul.products li.product .price del{opacity:.5;font-weight:400;font-size:.85em;color:var(--muted)}
.woocommerce ul.products li.product .price ins{text-decoration:none}
.woocommerce ul.products li.product .star-rating{margin:0 14px 6px;font-size:.75rem;color:var(--red-2)}
.woocommerce ul.products li.product .button{margin:auto 12px 14px;min-height:42px;font-size:.66rem}
.woocommerce ul.products li.product .added_to_cart{display:none}
.woocommerce span.onsale{position:absolute;top:10px;left:10px;right:auto;min-width:0;min-height:0;margin:0;padding:.3rem .7rem;border-radius:99px;background:var(--red);color:#fff;font-size:.62rem;font-weight:700;line-height:1.2;text-transform:uppercase;letter-spacing:.06em;z-index:2}
.woocommerce nav.woocommerce-pagination{margin-top:40px}
.woocommerce nav.woocommerce-pagination ul{display:flex;justify-content:center;gap:6px;border:0;flex-wrap:wrap}
.woocommerce nav.woocommerce-pagination ul li{border:0;float:none}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{display:grid;place-items:center;min-width:44px;height:44px;border-radius:50%;border:1px solid var(--line);color:#fff;padding:0}
.woocommerce nav.woocommerce-pagination ul li span.current,.woocommerce nav.woocommerce-pagination ul li a:hover{background:var(--purple);border-color:var(--purple);color:#fff}
.woocommerce-products-header{display:none}
.term-description,.woocommerce-no-products-found{color:var(--muted)}

/* ---------- Ficha de producto ---------- */
.woocommerce .woocommerce-breadcrumb{font-size:.78rem;color:var(--muted);margin:0 0 20px}
.woocommerce .woocommerce-breadcrumb a{color:var(--lilac)}
.woocommerce .woocommerce-breadcrumb .sep{margin:0 .5rem;opacity:.5}
.woocommerce div.product{display:grid;gap:30px;position:relative}
.woocommerce div.product div.images,.woocommerce div.product div.summary{width:100%!important;float:none!important;margin:0!important}
.woocommerce div.product div.images{background:radial-gradient(circle at 50% 55%,#2c1b3a,var(--panel) 70%);border-radius:26px;padding:16px;border:1px solid var(--line);position:relative}
.woocommerce div.product div.images img{border-radius:16px}
.woocommerce div.product div.images .woocommerce-product-gallery__image img{object-fit:contain;aspect-ratio:1}
.woocommerce div.product div.images .flex-control-thumbs{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}
.woocommerce div.product div.images .flex-control-thumbs li{width:64px!important;float:none!important;margin:0!important}
.woocommerce div.product div.images .flex-control-thumbs li img{border-radius:12px;border:1px solid var(--line);background:#0f0f14;opacity:.6;aspect-ratio:1;object-fit:contain}
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,.woocommerce div.product div.images .flex-control-thumbs li img:hover{opacity:1;border-color:var(--purple-2)}
.woocommerce div.product .woocommerce-product-gallery__trigger{top:22px;right:22px;background:var(--purple);border-radius:50%}
.woocommerce div.product .product_title{font-size:clamp(1.6rem,6vw,2.8rem);margin-bottom:.6rem}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:#fff;font-family:var(--display);font-size:1.6rem;font-weight:800;margin:.4rem 0 1rem}
.woocommerce div.product p.price del{opacity:.45;font-size:.65em;color:var(--muted)}
.woocommerce div.product p.price ins{text-decoration:none;color:var(--red-2)}
.woocommerce-product-details__short-description{color:#d8d5e0;margin-bottom:1.4rem}
.woocommerce div.product form.cart{display:flex;flex-wrap:wrap;gap:10px;align-items:stretch;margin:0 0 1.4rem}
.woocommerce div.product form.cart::before,.woocommerce div.product form.cart::after{display:none}
.woocommerce div.product form.cart div.quantity{float:none;margin:0}
.woocommerce .quantity .qty{width:84px;min-height:52px;border-radius:999px;text-align:center;padding:0 10px}
.woocommerce div.product form.cart .button{flex:1;min-height:52px;float:none;font-size:.8rem}
.woocommerce div.product form.cart.variations_form{display:block}
.woocommerce div.product form.cart .variations{margin-bottom:12px;width:100%}
.woocommerce div.product form.cart .variations th,.woocommerce div.product form.cart .variations td{display:block;text-align:left;padding:0 0 6px}
.woocommerce div.product form.cart .reset_variations{color:var(--lilac);font-size:.8rem}
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart{display:flex;gap:10px;flex-wrap:wrap}
.woocommerce div.product .stock{color:#4ade80;font-weight:600}
.woocommerce div.product .out-of-stock{color:var(--red-2)}
.product_meta{display:flex;flex-direction:column;gap:4px;font-size:.82rem;color:var(--muted);padding-top:1rem;border-top:1px solid var(--line)}
.product_meta a{color:var(--lilac)}
.sb-buy-wa{margin-top:10px;width:100%}
.woocommerce div.product .woocommerce-tabs{grid-column:1/-1;margin-top:10px}
.woocommerce div.product .woocommerce-tabs ul.tabs{list-style:none;display:flex;gap:6px;flex-wrap:wrap;padding:0;margin:0 0 20px;border:0;overflow:visible}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{margin:0;padding:0;border:1px solid var(--line);border-radius:999px;background:transparent}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{display:block;padding:.65rem 1.1rem;color:#fff;font-family:var(--display);font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--purple);border-color:var(--purple)}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:#fff}
.woocommerce div.product .woocommerce-tabs .panel{background:var(--panel);border:1px solid var(--line);border-radius:22px;padding:22px;color:#d8d5e0;margin:0}
.woocommerce div.product .woocommerce-tabs .panel h2{font-size:1.1rem;margin-bottom:.8rem}
.woocommerce table.shop_attributes{border:0}
.woocommerce table.shop_attributes th,.woocommerce table.shop_attributes td{border-color:var(--line);padding:10px;background:none!important;font-style:normal}
.woocommerce .related.products,.woocommerce .upsells.products{grid-column:1/-1;margin-top:30px}
.woocommerce .related.products>h2,.woocommerce .upsells.products>h2{font-size:clamp(1.6rem,6vw,2.6rem);margin-bottom:20px}
#reviews #comments ol.commentlist li .comment-text{border-color:var(--line);border-radius:14px}
.woocommerce .star-rating span::before,.woocommerce p.stars a{color:var(--red-2)}

/* ---------- Carrito ---------- */
.woocommerce-cart .wc-page .woocommerce{display:grid;gap:24px}
.woocommerce table.shop_table{border:1px solid var(--line);border-radius:22px;border-collapse:separate;border-spacing:0;background:var(--panel);overflow:hidden;margin:0;width:100%}
.woocommerce table.shop_table th{font-family:var(--display);font-size:.7rem;letter-spacing:.06em;text-transform:uppercase;color:var(--lilac);padding:14px 16px;border-color:var(--line)}
.woocommerce table.shop_table td{border-top:1px solid var(--line);padding:14px 16px;color:#e8e5ef}
.woocommerce table.shop_table td a{color:#fff}
.woocommerce table.cart img{width:70px;border-radius:12px;background:#0f0f14;object-fit:contain;aspect-ratio:1}
.woocommerce a.remove{color:var(--red-2)!important;font-size:1.4rem;width:30px;height:30px;line-height:28px;border:1px solid var(--line)}
.woocommerce a.remove:hover{background:var(--red);color:#fff!important}
.woocommerce table.cart td.actions .coupon{display:flex;gap:8px;flex-wrap:wrap}
.woocommerce table.cart td.actions .coupon .input-text{width:auto;flex:1;min-width:150px;min-height:48px}
.woocommerce .cart-collaterals .cart_totals,.woocommerce-page .cart-collaterals .cart_totals{width:100%;float:none}
.cart_totals>h2{font-size:1.3rem;margin-bottom:12px}
.wc-proceed-to-checkout .checkout-button{width:100%;min-height:56px!important;font-size:.85rem!important;background:var(--red)!important}
.cart-empty.woocommerce-info{font-size:1.05rem}
.return-to-shop .button{margin-top:6px}
.woocommerce-shipping-calculator .shipping-calculator-button{color:var(--lilac)}
.woocommerce ul#shipping_method{list-style:none;padding:0;margin:0}
.woocommerce ul#shipping_method li{display:flex;align-items:center;gap:8px;margin-bottom:6px}

/* ---------- Checkout tipo Olivia Garden: datos + "Tu pedido" fijo ---------- */
.woocommerce-checkout .wc-page{padding-top:0}
form.woocommerce-checkout{display:grid;gap:24px;align-items:start}
.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{border:1px solid var(--line);border-radius:20px;padding:20px;margin:0 0 20px;background:var(--panel)}
.sb-co-main,.sb-co-side{min-width:0}
.woocommerce .col2-set{width:100%;display:grid;gap:20px}
.woocommerce .col2-set::before,.woocommerce .col2-set::after{display:none}
.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{width:100%;float:none;max-width:none}
.woocommerce-billing-fields,.woocommerce-shipping-fields,.woocommerce-additional-fields{background:var(--panel);border:1px solid var(--line);border-radius:22px;padding:22px 18px}
.woocommerce-shipping-fields:not(:has(*)){display:none}
.woocommerce-billing-fields h3,.woocommerce-additional-fields h3,#order_review_heading,#ship-to-different-address{font-size:1rem;margin:0 0 18px;display:flex;align-items:center;gap:.6rem}
.woocommerce-billing-fields h3::before,#order_review_heading::before{content:"";width:10px;height:10px;border-radius:50%;background:var(--red);box-shadow:0 0 0 4px rgba(227,38,46,.2)}
#ship-to-different-address label{display:flex;align-items:center;gap:10px;font-size:.85rem;text-transform:none;font-family:var(--body);font-weight:600}
.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper{display:grid;grid-template-columns:1fr;gap:0 14px}
.woocommerce-billing-fields__field-wrapper .form-row,.woocommerce-shipping-fields__field-wrapper .form-row{grid-column:1/-1}
.sb-co-side{background:var(--panel);border:1px solid var(--line);border-radius:24px;padding:22px 18px;position:relative;overflow:hidden}
.sb-co-side::before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,var(--purple-2),var(--red))}
#order_review{position:relative}
.woocommerce-checkout-review-order.sb-busy{opacity:.55;pointer-events:none;transition:opacity .2s}
.woocommerce table.woocommerce-checkout-review-order-table{border:0;background:none;border-radius:0}
.woocommerce-checkout-review-order-table thead{display:none}
.woocommerce-checkout-review-order-table td,.woocommerce-checkout-review-order-table th{padding:12px 0!important;border-top:1px solid var(--line)!important;vertical-align:top;background:none!important}
.woocommerce-checkout-review-order-table tbody tr:first-child td{border-top:0!important}
.woocommerce-checkout-review-order-table td.product-total,.woocommerce-checkout-review-order-table tfoot td{text-align:right;white-space:nowrap;font-weight:700;padding-left:10px!important}
.woocommerce-checkout-review-order-table tfoot th{text-align:left;font-family:var(--body);font-size:.85rem;letter-spacing:0;text-transform:none;color:#d8d5e0;font-weight:600}
.woocommerce-checkout-review-order-table .order-total th,.woocommerce-checkout-review-order-table .order-total td{font-size:1.15rem;color:#fff;font-family:var(--display);padding-top:16px!important}
.woocommerce-checkout-review-order-table .order-total td strong{color:#fff}
.sb-co-item{display:flex;gap:12px;align-items:center;font-weight:600;font-size:.86rem;line-height:1.3}
.sb-co-thumb{width:56px;height:56px;flex:0 0 56px;border-radius:12px;object-fit:contain;background:#0f0f14;border:1px solid var(--line);padding:4px}
.sb-qty{display:flex;align-items:center;gap:4px;margin:10px 0 0 68px;flex-wrap:wrap}
.sb-qty .q-btn{width:34px;height:34px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;font-size:1.1rem;font-weight:700;transition:background .25s,border-color .25s}
.sb-qty .q-btn:hover{background:var(--purple);border-color:var(--purple)}
.woocommerce .sb-qty .q-input{width:46px;min-height:34px;height:34px;padding:0;text-align:center;border-radius:10px;border:1px solid var(--line);background:#0f0f14;color:#fff;font-weight:700;-moz-appearance:textfield}
.sb-qty .q-input::-webkit-outer-spin-button,.sb-qty .q-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.sb-qty .q-del{margin-left:6px;font-size:.72rem;color:var(--muted);text-decoration:underline}
.sb-qty .q-del:hover{color:var(--red-2)}
.woocommerce-checkout-review-order-table ul#shipping_method{text-align:left}
.woocommerce-checkout #payment{background:transparent;border-radius:0;margin-top:10px}
.woocommerce-checkout #payment ul.payment_methods{padding:0;border:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.woocommerce-checkout #payment ul.payment_methods li{background:#0f0f14;border:1px solid var(--line);border-radius:16px;padding:14px 16px;line-height:1.4}
.woocommerce-checkout #payment ul.payment_methods li label{display:inline;font-weight:700;cursor:pointer}
.woocommerce-checkout #payment ul.payment_methods li img{display:inline-block;max-height:26px;vertical-align:middle;margin-left:6px}
.woocommerce-checkout #payment div.payment_box{background:#1b1b22;color:#d8d5e0;border-radius:12px;margin:12px 0 0;font-size:.85rem}
.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:#1b1b22}
.woocommerce-checkout #payment div.form-row{padding:16px 0 0}
.woocommerce-privacy-policy-text,.woocommerce-terms-and-conditions-wrapper{font-size:.78rem;color:var(--muted)}
.woocommerce-privacy-policy-text a,.woocommerce-terms-and-conditions-wrapper a{color:var(--lilac)}
#place_order{width:100%;min-height:58px;font-size:.88rem;background:var(--red);margin-top:12px;box-shadow:0 18px 36px -16px rgba(227,38,46,.8)}
#place_order:hover{background:var(--purple-2)}
.sb-secure{display:flex;align-items:center;justify-content:center;gap:8px;font-size:.75rem;color:var(--muted);margin-top:14px;text-align:center}
.sb-secure svg{width:14px;height:14px;color:var(--lilac)}
.blockUI.blockOverlay{background:rgba(10,10,13,.6)!important}

/* Pedido recibido / cuenta */
.woocommerce-order{display:flex;flex-direction:column;gap:20px}
.woocommerce-thankyou-order-received{font-family:var(--display);font-size:1.3rem;text-transform:uppercase;color:#fff}
.woocommerce ul.order_details{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0;margin:0}
.woocommerce ul.order_details::before,.woocommerce ul.order_details::after{display:none}
.woocommerce ul.order_details li{float:none;margin:0;border:1px solid var(--line);border-radius:16px;padding:14px;background:var(--panel);font-size:.7rem;text-transform:uppercase;color:var(--muted)}
.woocommerce ul.order_details li strong{display:block;margin-top:4px;font-size:.95rem;text-transform:none;color:#fff}
.woocommerce .woocommerce-customer-details address{border:1px solid var(--line);border-radius:16px;padding:16px;background:var(--panel);font-style:normal}
.woocommerce-account .woocommerce{display:grid;gap:24px}
.woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{width:100%;float:none}
.woocommerce-MyAccount-navigation ul{list-style:none;display:flex;gap:6px;flex-wrap:wrap;padding:0}
.woocommerce-MyAccount-navigation ul li a{display:block;padding:.6rem 1rem;border-radius:999px;border:1px solid var(--line);font-size:.8rem;font-weight:600}
.woocommerce-MyAccount-navigation ul li.is-active a,.woocommerce-MyAccount-navigation ul li a:hover{background:var(--purple);border-color:var(--purple)}
.woocommerce-MyAccount-content a{color:var(--lilac)}
.u-columns.col2-set{grid-template-columns:1fr}

/* Bloques Woo (si alguien usa carrito/checkout de bloques) */
.wc-block-components-text-input input,.wc-block-components-combobox .wc-block-components-combobox-control input{background:#0f0f14!important;color:#fff!important;border-color:var(--line)!important}
.wc-block-components-sidebar-layout .wc-block-components-main{color:#fff}

/* =====================================================================
   Tablet / Escritorio
   ===================================================================== */
@media (min-width:640px){
  .woocommerce ul.products{grid-template-columns:repeat(3,1fr);gap:16px}
  .woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper{grid-template-columns:1fr 1fr}
  .woocommerce-billing-fields__field-wrapper .form-row-first,.woocommerce-shipping-fields__field-wrapper .form-row-first{grid-column:1}
  .woocommerce-billing-fields__field-wrapper .form-row-last,.woocommerce-shipping-fields__field-wrapper .form-row-last{grid-column:2}
  .woocommerce ul.order_details{grid-template-columns:repeat(4,1fr)}
  .u-columns.col2-set{grid-template-columns:1fr 1fr}
}
@media (min-width:1000px){
  .woocommerce ul.products{grid-template-columns:repeat(4,1fr);gap:20px}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:.84rem;padding:14px 18px 4px}
  .woocommerce ul.products li.product .price{padding:0 18px 12px}
  .woocommerce ul.products li.product .button{margin:auto 16px 18px}
  .woocommerce div.product{grid-template-columns:1.05fr .95fr;gap:60px}
  .woocommerce div.product div.images{position:sticky;top:110px;padding:28px}
  .woocommerce div.product .summary{padding-top:10px}
  .woocommerce-cart .wc-page .woocommerce{grid-template-columns:1fr 380px;align-items:start}
  .woocommerce-cart .wc-page .woocommerce-notices-wrapper{grid-column:1/-1}
  .woocommerce-cart .cart-collaterals{position:sticky;top:110px}
  .woocommerce-cart .cart-collaterals .cart_totals{background:var(--panel);border:1px solid var(--line);border-radius:22px;padding:22px}
  .woocommerce-cart .cart-collaterals .cart_totals table.shop_table{border:0;background:none}
  form.woocommerce-checkout{grid-template-columns:minmax(0,1fr) 420px;gap:34px}
  .sb-co-side{position:sticky;top:110px;padding:28px 26px}
  .woocommerce-billing-fields,.woocommerce-shipping-fields,.woocommerce-additional-fields{padding:30px 28px}
  .woocommerce-account .woocommerce{grid-template-columns:240px 1fr;align-items:start}
  .woocommerce-MyAccount-navigation ul{flex-direction:column}
}
@media (max-width:640px){
  /* Carrito en móvil: tabla apilada de WooCommerce */
  .woocommerce table.shop_table_responsive tr td,.woocommerce-page table.shop_table_responsive tr td{text-align:right!important;padding:10px 14px}
  .woocommerce table.shop_table_responsive tr td::before{color:var(--lilac);font-weight:600}
  .woocommerce table.shop_table_responsive tr td.product-remove,.woocommerce table.shop_table_responsive tr td.product-thumbnail{text-align:left!important}
  .woocommerce table.cart td.actions .coupon .button{width:100%}
  .woocommerce table.cart td.actions>.button{width:100%;margin-top:10px}
}

/* Refuerzos de especificidad frente a los estilos base de WooCommerce */
body.sb .site-header .brand-img{height:40px;width:auto;max-width:none}
body.sb .ft-about img{height:56px;width:auto;max-width:none}
@media (min-width:1000px){body.sb .site-header .brand-img{height:46px}}
body.sb .woocommerce form .form-row input.input-text,
body.sb .woocommerce form .form-row textarea,
body.sb .woocommerce form .form-row select,
body.sb .woocommerce-page form .form-row input.input-text,
body.sb .woocommerce form .form-row .select2-container .select2-selection--single{background-color:#0f0f14;color:#fff;border:1px solid var(--line);border-radius:14px;min-height:50px;padding:12px 16px;font-size:16px;line-height:1.4;box-shadow:none}
body.sb .woocommerce form .form-row textarea{min-height:110px}
body.sb .woocommerce form .form-row select{padding-right:40px}
body.sb .woocommerce form .form-row input.input-text:focus,
body.sb .woocommerce form .form-row textarea:focus,
body.sb .woocommerce form .form-row select:focus{border-color:var(--purple-2);box-shadow:0 0 0 3px rgba(143,63,192,.25)}
body.sb .woocommerce form .form-row input.input-text::placeholder,body.sb .woocommerce form .form-row textarea::placeholder{color:#6f6c7a}
body.sb .woocommerce form .form-row .select2-container .select2-selection--single{padding:0 16px}
body.sb .woocommerce form .form-row .select2-container .select2-selection__placeholder{color:#8b8896}
/* Legibilidad y áreas táctiles mínimas en móvil */
.woocommerce span.onsale{font-size:.7rem}
.woocommerce ul.products li.product .button{font-size:.72rem}
.woocommerce a.remove{width:38px;height:38px;line-height:36px}
/* Cantidades del resumen en celulares angostos: en una sola fila */
@media (max-width:640px){
  .sb-qty{margin-left:0;flex-wrap:wrap}
  .sb-qty .q-del{flex-basis:100%;margin:6px 0 0;text-align:left}
}
/* Casilla de términos en el checkout */
.sb-terms{margin:14px 0 4px!important;font-size:.82rem;line-height:1.5;color:#d8d5e0}
.sb-terms label{display:block!important;position:relative;padding-left:30px}
.sb-terms input{position:absolute;left:0;top:1px;margin:0}
.sb-terms a{color:var(--lilac);text-decoration:underline}
.sb-terms .optional{display:none}
