/* ===== CARRITO, FINALIZAR COMPRA Y TIENDA ===== */
:root{--crema:#FBF6EE;--arena:#F1E6D6;--terracota:#C0663F;--terracota-osc:#A3532F;--oliva:#6F7A45;--rosa:#E9A08A;--texto:#3B2A20;--suave:#6B5A4E;--linea:#EFE4D4}
.woocommerce-cart .entry-title,.woocommerce-checkout .entry-title{font-family:'Montserrat',sans-serif!important;font-weight:700!important;color:var(--texto)!important;font-size:36px!important}
.woocommerce-cart .entry-header,.woocommerce-checkout .entry-header{border:0!important;margin-bottom:18px!important}
.woocommerce-cart .entry-content,.woocommerce-checkout .entry-content{font-family:'Source Sans Pro',sans-serif;color:var(--texto)}

/* avisos */
.woocommerce-cart .woocommerce-message,.woocommerce-cart .woocommerce-info,.woocommerce-checkout .woocommerce-info,.woocommerce-checkout .woocommerce-message,.woocommerce-checkout .woocommerce-error{border:0!important;border-left:4px solid var(--oliva)!important;border-radius:14px!important;background:#fff!important;color:var(--texto)!important;box-shadow:none!important}
.woocommerce-cart .woocommerce-message::before,.woocommerce-checkout .woocommerce-info::before,.woocommerce-cart .woocommerce-info::before{color:var(--oliva)!important}
.woocommerce-cart .woocommerce-message .button,.woocommerce-cart .woocommerce-message a.button{background:transparent!important;color:var(--terracota)!important;padding:0!important;text-decoration:underline!important;border:0!important}

/* botones */
.woocommerce-cart .button,.woocommerce-checkout .button,.woocommerce-cart button.button,.woocommerce-checkout button.button{background:var(--terracota)!important;color:#fff!important;border:0!important;border-radius:999px!important;font-family:'Montserrat',sans-serif!important;font-weight:700!important;padding:12px 22px!important;line-height:1.3!important}
.woocommerce-cart .button:hover,.woocommerce-checkout .button:hover{background:var(--terracota-osc)!important}
.woocommerce-cart button[name=update_cart]{background:transparent!important;color:var(--suave)!important;border:1.5px solid var(--linea)!important}
.woocommerce-cart button[name=update_cart]:disabled{opacity:.55}

/* tabla del carrito */
.woocommerce-cart table.shop_table{border:0!important;border-collapse:separate!important;border-spacing:0 10px;background:transparent!important}
.woocommerce-cart table.shop_table thead th{border:0!important;background:none!important;font-family:'Montserrat',sans-serif;font-size:13px;font-weight:600;color:var(--suave);padding:6px 14px!important}
.woocommerce-cart table.shop_table td{background:#fff!important;border:0!important;padding:16px 14px!important;vertical-align:middle}
.woocommerce-cart table.shop_table tr.cart_item td:first-child{border-radius:16px 0 0 16px}
.woocommerce-cart table.shop_table tr.cart_item td:last-child{border-radius:0 16px 16px 0}
.woocommerce-cart table.shop_table td.actions{background:transparent!important;padding:8px 0!important}
.woocommerce-cart table.shop_table .product-thumbnail img{width:72px!important;height:72px;object-fit:cover;border-radius:12px}
.woocommerce-cart table.shop_table .product-name a{font-family:'Montserrat',sans-serif;font-weight:600;color:var(--texto)!important;font-size:16px}
.woocommerce-cart table.shop_table .product-price,.woocommerce-cart table.shop_table .product-subtotal{font-weight:700;color:var(--texto)}
.woocommerce-cart a.remove{color:var(--suave)!important;border:1.5px solid var(--linea)!important;border-radius:50%!important;width:28px!important;height:28px!important;line-height:24px!important;font-size:18px!important}
.woocommerce-cart a.remove:hover{background:var(--terracota)!important;color:#fff!important;border-color:var(--terracota)!important}
.woocommerce-cart .coupon input.input-text,.woocommerce-checkout input.input-text,.woocommerce-checkout select,.woocommerce-checkout textarea,.woocommerce-checkout .select2-selection{border:1.5px solid #E6D8C4!important;border-radius:12px!important;padding:11px 14px!important;font-size:16px!important;background:#fff!important;color:var(--texto)!important;box-shadow:none!important;min-height:46px}
.woocommerce-checkout .select2-selection{display:flex!important;align-items:center}
.woocommerce-checkout .select2-selection__arrow{top:10px!important}
.woocommerce-cart .coupon input.input-text{min-width:200px}
.woocommerce-cart input:focus,.woocommerce-checkout input:focus,.woocommerce-checkout select:focus,.woocommerce-checkout textarea:focus{outline:none;border-color:var(--terracota)!important;box-shadow:0 0 0 3px rgba(192,102,63,.18)!important}

/* totales */
.woocommerce-cart .cart-collaterals .cart_totals,.woocommerce-cart .cart-collaterals .cross-sells{background:#fff;border:0!important;border-radius:22px;padding:26px 26px 22px}
.woocommerce-cart .cart_totals h2,.woocommerce-cart .cross-sells h2,.woocommerce-checkout h3{font-family:'Montserrat',sans-serif!important;font-size:21px!important;font-weight:700!important;color:var(--texto)!important;border:0!important;background:none!important;padding:0!important;margin:0 0 14px!important}
.woocommerce-cart .cart_totals table.shop_table{border-spacing:0}
.woocommerce-cart .cart_totals table.shop_table th,.woocommerce-cart .cart_totals table.shop_table td{background:transparent!important;border:0!important;border-bottom:1px solid var(--linea)!important;padding:12px 0!important;border-radius:0!important;font-size:16px}
.woocommerce-cart .cart_totals .order-total td,.woocommerce-cart .cart_totals .order-total th{font-size:19px!important;font-weight:700;color:var(--texto);border-bottom:0!important}
.woocommerce-cart .wc-proceed-to-checkout{padding:16px 0 0!important}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{display:block!important;text-align:center;font-size:17px!important;padding:16px 22px!important;margin:0!important}
.nf-tienda-confianza{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:6px;font-size:14px;color:var(--suave)}
.nf-tienda-confianza li{padding-left:24px;position:relative;margin:0}
.nf-tienda-confianza li::before{content:"✓";position:absolute;left:0;color:var(--oliva);font-weight:700}
.woocommerce-cart .cross-sells ul.products{margin:0!important}
.woocommerce-cart .cross-sells ul.products li.product{background:var(--crema);border-radius:16px;padding:0 0 14px!important;overflow:hidden;text-align:left}
.woocommerce-cart .cross-sells ul.products li.product img{border-radius:0;margin:0 0 10px!important;aspect-ratio:1/1;object-fit:contain;background:var(--arena)}
.woocommerce-cart .cross-sells ul.products li.product .woocommerce-loop-product__title,.woocommerce-cart .cross-sells ul.products li.product .price{padding:0 14px!important}
.woocommerce-cart .cross-sells ul.products li.product .button{margin:8px 14px 0!important}

/* finalizar compra */
.woocommerce-checkout form.checkout{display:grid;grid-template-columns:1.25fr 1fr;gap:28px;align-items:start}
.woocommerce-checkout form.checkout>.woocommerce-NoticeGroup,.woocommerce-checkout form.checkout>.wc-block-components-notices{grid-column:1/-1}
.woocommerce-checkout form.checkout #customer_details{grid-column:1;grid-row:1 / span 3;background:#fff;border-radius:22px;padding:28px;width:auto!important;float:none!important;margin:0!important}
.woocommerce-checkout #customer_details .col-1,.woocommerce-checkout #customer_details .col-2{width:100%!important;float:none!important;padding:0!important;margin:0!important}
.woocommerce-checkout #customer_details .col-2{margin-top:10px!important}
.woocommerce-checkout #order_review_heading{grid-column:2;grid-row:1;margin:0!important;background:#fff;border-radius:22px 22px 0 0;padding:26px 26px 6px!important;width:auto!important;float:none!important;border:0!important}
.woocommerce-checkout #order_review{grid-column:2;grid-row:2;background:#fff;border-radius:0 0 22px 22px;padding:6px 26px 26px!important;width:auto!important;float:none!important;margin:0!important;border:0!important;position:sticky;top:110px}
.woocommerce-checkout #order_review table.shop_table{border:0!important;background:transparent!important}
.woocommerce-checkout #order_review table.shop_table th,.woocommerce-checkout #order_review table.shop_table td{border:0!important;border-bottom:1px solid var(--linea)!important;background:transparent!important;padding:12px 0!important;font-size:15px}
.woocommerce-checkout #order_review .order-total th,.woocommerce-checkout #order_review .order-total td{font-size:19px!important;font-weight:700;border-bottom:0!important;color:var(--texto)}
.woocommerce-checkout .form-row label{font-family:'Montserrat',sans-serif;font-size:14px;font-weight:600;color:var(--texto)}
.woocommerce-checkout .form-row .required{color:var(--terracota)!important;text-decoration:none}
.woocommerce-checkout #payment{background:var(--crema)!important;border-radius:16px!important;border:0!important;margin-top:16px}
.woocommerce-checkout #payment ul.payment_methods{border-bottom:1px solid var(--linea)!important;padding:14px!important}
.woocommerce-checkout #payment ul.payment_methods li{background:#fff;border-radius:12px;padding:12px 14px!important;margin:0 0 8px!important;list-style:none}
.woocommerce-checkout #payment ul.payment_methods li label{font-family:'Montserrat',sans-serif;font-weight:600;color:var(--texto)}
.woocommerce-checkout #payment div.payment_box{background:var(--crema)!important;border-radius:12px;color:var(--texto)!important}
.woocommerce-checkout #payment div.payment_box::before{display:none!important}
.woocommerce-checkout #payment .place-order{padding:16px!important}
.woocommerce-checkout #place_order{width:100%;font-size:17px!important;padding:16px 22px!important;float:none!important}
.woocommerce-checkout .woocommerce-privacy-policy-text{font-size:13px;color:var(--suave)}
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info{margin-bottom:16px}
.woocommerce-checkout form.checkout_coupon{background:#fff;border:0!important;border-radius:16px;padding:18px!important}

/* tienda / categorías */
.woocommerce-shop .ast-archive-description,.tax-product_cat .ast-archive-description{background:transparent!important;padding:0!important}
.woocommerce-shop .page-title,.tax-product_cat .page-title,.woocommerce-products-header__title{font-family:'Montserrat',sans-serif!important;font-weight:700!important;color:var(--texto)!important}
.post-type-archive-product ul.products li.product,.tax-product_cat ul.products li.product{background:#fff;border-radius:18px;overflow:hidden;padding:0 0 18px!important;text-align:left!important;display:flex;flex-direction:column}
.post-type-archive-product ul.products li.product .astra-shop-thumbnail-wrap,.tax-product_cat ul.products li.product .astra-shop-thumbnail-wrap{margin-bottom:12px}
.post-type-archive-product ul.products li.product img,.tax-product_cat ul.products li.product img{aspect-ratio:1/1;object-fit:contain;background:var(--arena);margin:0!important}
.post-type-archive-product ul.products li.product .astra-shop-summary-wrap,.tax-product_cat ul.products li.product .astra-shop-summary-wrap{padding:0 18px!important}
.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,.tax-product_cat ul.products li.product .woocommerce-loop-product__title{font-family:'Montserrat',sans-serif;font-weight:600;font-size:16px!important;color:var(--texto)!important;line-height:1.35}
.post-type-archive-product ul.products li.product .price,.tax-product_cat ul.products li.product .price{color:var(--terracota)!important;font-family:'Montserrat',sans-serif;font-weight:700}
.post-type-archive-product ul.products li.product .button,.tax-product_cat ul.products li.product .button{background:var(--terracota)!important;color:#fff!important;border-radius:999px!important;font-family:'Montserrat',sans-serif!important;font-weight:700!important;padding:10px 18px!important}
.post-type-archive-product ul.products li.product .ast-woo-product-category,.tax-product_cat ul.products li.product .ast-woo-product-category{color:var(--oliva)!important;font-size:12px;font-weight:600}
.woocommerce-ordering select{border:1.5px solid #E6D8C4;border-radius:12px;padding:8px 12px;background:#fff}

@media(max-width:921px){
 .woocommerce-checkout form.checkout{grid-template-columns:1fr}
 .woocommerce-checkout form.checkout #customer_details,.woocommerce-checkout #order_review_heading,.woocommerce-checkout #order_review{grid-column:1;grid-row:auto;position:static}
 .woocommerce-checkout form.checkout #customer_details{padding:20px 16px}
 .woocommerce-checkout #order_review_heading{padding:22px 16px 6px!important}
 .woocommerce-checkout #order_review{padding:6px 16px 20px!important}
 .woocommerce-cart table.shop_table_responsive tr.cart_item{display:block;background:#fff;border-radius:16px;margin-bottom:10px;padding:8px 0;position:relative}
 .woocommerce-cart table.shop_table_responsive tr.cart_item td{background:transparent!important;border-radius:0!important;padding:8px 16px!important}
 .woocommerce-cart .cart-collaterals .cart_totals,.woocommerce-cart .cart-collaterals .cross-sells{padding:20px 16px}
 .woocommerce-cart .entry-title,.woocommerce-checkout .entry-title{font-size:28px!important}
}
