/* =========================================================
   Pretty Woman — WooCommerce cart / checkout inside the new design.
   Only applies to body.pw-new (visitors coming from /nueva).
   ========================================================= */
body.pw-new{background:var(--cream)!important;color:var(--brown);font-family:"Cormorant Garamond",Georgia,serif;font-size:19px;line-height:1.6;margin:0}
body.pw-new .pw-woo a{color:var(--gold-dark)}
body.pw-new .pw-woo a.button,body.pw-new .pw-woo a.checkout-button{text-decoration:none!important}
body.pw-new .crumb a{color:inherit;text-decoration:none}
body.pw-new header{position:sticky;top:0}
body.admin-bar.pw-new header{top:32px}
body.pw-new .pw-woo-hero{padding:80px 0 60px;background:linear-gradient(90deg,var(--brown),var(--taupe))}
body.pw-new .pw-woo-hero::before{display:none}
body.pw-new .pw-woo{padding:60px 0 80px}
body.pw-new .pw-woo .wrap>.woocommerce{max-width:none}
body.pw-new .pw-woo h2,body.pw-new .pw-woo h3,
body.pw-new .cart_totals h2,body.pw-new #order_review_heading,
body.pw-new .woocommerce-billing-fields h3,body.pw-new .woocommerce-shipping-fields h3,body.pw-new .woocommerce-additional-fields h3{
  font-family:"Libre Baskerville",Georgia,serif!important;font-size:.85rem!important;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-dark)!important;font-weight:700;margin:0 0 16px}

/* Tables */
body.pw-new .woocommerce table.shop_table{border:1px solid rgba(63,42,29,.12)!important;border-radius:0!important;border-collapse:collapse!important;background:var(--white);width:100%}
body.pw-new .woocommerce table.shop_table thead th{background:var(--brown)!important;color:var(--gold)!important;font-family:"Libre Baskerville",serif;font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;border:0!important;padding:14px 12px}
body.pw-new .woocommerce table.shop_table td,body.pw-new .woocommerce table.shop_table th{border-color:var(--sand)!important;padding:14px 12px}
body.pw-new .woocommerce table.shop_table .product-name a{color:var(--brown);font-weight:600;text-decoration:none}
body.pw-new .woocommerce table.shop_table img{width:64px;height:64px;object-fit:contain;background:#fff}
body.pw-new .woocommerce .order-total th,body.pw-new .woocommerce .order-total td{background:var(--brown)!important;color:var(--gold)!important;font-size:1.2rem}
body.pw-new .woocommerce .order-total .amount{color:var(--gold)!important}
body.pw-new .woocommerce a.remove{color:var(--taupe)!important;border:1px solid #c9bdb4;border-radius:50%}
body.pw-new .woocommerce a.remove:hover{background:var(--brown)!important;color:#fff!important}
body.pw-new .cart-collaterals .cart_totals{background:var(--white);border:1px solid rgba(63,42,29,.1);padding:24px}

/* Buttons */
body.pw-new .woocommerce a.button,body.pw-new .woocommerce button.button,body.pw-new .woocommerce input.button{
  background:transparent!important;color:var(--brown)!important;border:1.5px solid var(--brown)!important;border-radius:40px!important;
  font-family:"Libre Baskerville",serif!important;font-size:.72rem!important;letter-spacing:.12em;text-transform:uppercase;padding:12px 26px!important;line-height:1.2}
body.pw-new .woocommerce a.button:hover,body.pw-new .woocommerce button.button:hover{background:var(--brown)!important;color:var(--cream)!important}
body.pw-new .woocommerce a.button.alt,body.pw-new .woocommerce button.button.alt,
body.pw-new .wc-proceed-to-checkout a.checkout-button,body.pw-new #place_order{
  background:var(--brown)!important;color:var(--cream)!important;border:0!important;border-radius:40px!important;font-size:.82rem!important;padding:18px 26px!important;width:100%;display:block;text-align:center}
body.pw-new .woocommerce a.button.alt:hover,body.pw-new .wc-proceed-to-checkout a.checkout-button:hover,body.pw-new #place_order:hover{background:var(--gold-dark)!important;color:#fff!important}

/* Form fields */
body.pw-new .woocommerce form .form-row input.input-text,body.pw-new .woocommerce form .form-row textarea,
body.pw-new .woocommerce form .form-row select,body.pw-new .select2-container--default .select2-selection--single,
body.pw-new .woocommerce .quantity .qty{border:1px solid #c9bdb4!important;border-radius:0!important;background:#fff!important;font-family:"Cormorant Garamond",serif;font-size:1.05rem;padding:10px 12px!important;color:var(--brown)}
body.pw-new .select2-container--default .select2-selection--single{height:auto!important}
body.pw-new .woocommerce form .form-row input.input-text:focus,body.pw-new .woocommerce form .form-row select:focus{border-color:var(--gold-dark)!important;outline:none;box-shadow:0 0 0 2px rgba(216,185,127,.35)}
body.pw-new .woocommerce form .form-row label{font-weight:600;color:var(--brown)}
body.pw-new .woocommerce form .form-row .required{color:var(--gold-dark)}

/* Checkout layout: details left, order right (overrides the theme's floats/widths) */
body.pw-new form.checkout>*,body.pw-new form.checkout #customer_details,
body.pw-new form.checkout #order_review,body.pw-new form.checkout #order_review_heading,
body.pw-new form.checkout .col2-set .col-1,body.pw-new form.checkout .col2-set .col-2{
  float:none!important;width:auto!important;max-width:none!important;margin-left:0!important;margin-right:0!important;position:static!important}
body.pw-new form.checkout #order_review_heading{border:0!important;padding:0!important;background:none!important;margin:0 0 12px!important}
body.pw-new form.checkout #order_review{background:var(--white)!important;border:1px solid rgba(63,42,29,.1)!important;border-top:3px solid var(--gold)!important;padding:24px!important;box-sizing:border-box}
body.pw-new form.checkout #order_review table.shop_table{width:100%!important}
body.pw-new form.checkout #order_review .product-name{width:70%}
body.pw-new .woocommerce-checkout #payment ul.payment_methods{padding:0 0 12px!important;border-bottom:1px solid var(--sand)}
body.pw-new .woocommerce-checkout #payment ul.payment_methods li{list-style:none;margin:0 0 10px}
body.pw-new .woocommerce-checkout #payment ul.payment_methods li img{display:inline-block;max-height:24px;width:auto;margin:2px}
body.pw-new .woocommerce-checkout #payment div.payment_box{width:auto!important;margin:10px 0!important;padding:14px!important}
body.pw-new .woocommerce-checkout #payment div.form-row{padding:12px 0 0!important}
body.pw-new .woocommerce-checkout #payment iframe,body.pw-new .woocommerce-checkout #payment .wc-square-credit-card-hosted-field-card-number{max-width:100%}
@media (min-width:900px){
  body.pw-new form.checkout{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);column-gap:48px;row-gap:0;align-items:start}
  body.pw-new form.checkout>*{grid-column:2}
  body.pw-new form.checkout>#customer_details{grid-column:1;grid-row:1 / span 50}
}
body.pw-new form.checkout::before,body.pw-new form.checkout::after{display:none!important}

/* Payment box (Square card) */
body.pw-new .woocommerce-checkout #payment{background:var(--white)!important;border:1px solid var(--sand);border-radius:0!important}
body.pw-new .woocommerce-checkout #payment div.payment_box{background:var(--cream)!important;color:var(--brown);border-radius:0!important}
body.pw-new .woocommerce-checkout #payment div.payment_box::before{border-bottom-color:var(--cream)!important}

/* Notices */
body.pw-new .woocommerce-message,body.pw-new .woocommerce-info{border-top-color:var(--gold)!important;background:var(--white)!important;color:var(--brown)!important}
body.pw-new .woocommerce-message::before,body.pw-new .woocommerce-info::before{color:var(--gold-dark)!important}
body.pw-new .woocommerce-error{border-top-color:#a3402b!important}

/* Order received */
body.pw-new .woocommerce-order-overview{background:var(--white);border:1px solid var(--sand);padding:20px 24px!important;list-style:none}
body.pw-new .woocommerce-thankyou-order-received{font-size:1.3rem;color:var(--brown-soft)}

@media (max-width:782px){body.admin-bar.pw-new header{top:46px}}

body.pw-new .woocommerce .quantity .qty{width:84px!important;text-align:center}
body.pw-new .cart_totals table.shop_table th{text-align:left;font-weight:600}
body.pw-new .cart_totals table.shop_table td{text-align:right}
/* checkout fields full width, labels above */
body.pw-new form.checkout .form-row label{display:block;margin-bottom:4px}
body.pw-new form.checkout .form-row input.input-text,body.pw-new form.checkout .form-row textarea,
body.pw-new form.checkout .form-row select,body.pw-new form.checkout .select2-container{width:100%!important;box-sizing:border-box}
body.pw-new form.checkout .form-row{margin:0 0 14px!important;padding:0!important}
@media (min-width:600px){
  body.pw-new form.checkout .form-row-first{float:left!important;width:48%!important}
  body.pw-new form.checkout .form-row-last{float:right!important;width:48%!important}
  body.pw-new form.checkout .form-row-wide{clear:both}
}
body.pw-new .woocommerce-billing-fields__field-wrapper::after{content:"";display:table;clear:both}
body.pw-new #order_review table.shop_table th,body.pw-new #order_review table.shop_table td{text-align:left}
body.pw-new #order_review table.shop_table td.product-total,body.pw-new #order_review table.shop_table tfoot td{text-align:right}
body.pw-new .woocommerce-additional-fields{margin-top:28px}
