/* Nuaje — cart, checkout, account. WooCommerce's own stylesheets are disabled; this is the full set. */

.woo { --cell: 16px; }
.woo .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.woo .clear { clear: both; }

/* Notices */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews { list-style: none; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 0 0 22px; padding: 16px 20px; border-radius: var(--r); background: var(--brand-tint); color: var(--brand-2); font-weight: 500; }
.woocommerce-message { background: #e3f6ee; color: #0b5e3f; }
.woocommerce-error { background: #fdecea; color: var(--err); display: block; }
.woocommerce-error li + li { margin-top: 6px; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; }

/* Buttons */
.woo .button, .woo button[type="submit"], .woo input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 22px;
	border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--text);
	font: 600 .975rem/1 var(--body); text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, transform .2s var(--ease);
}
.woo .button:hover { border-color: var(--text); color: var(--text); }
.woo .button.alt, .woo .checkout-button, .woo #place_order, .woo .woocommerce-form-login__submit, .woo .woocommerce-Button {
	background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 6px 18px -8px rgba(74, 58, 224, .7);
}
.woo .button.alt:hover, .woo .checkout-button:hover, .woo #place_order:hover, .woo .woocommerce-form-login__submit:hover, .woo .woocommerce-Button:hover { background: var(--brand-2); border-color: var(--brand-2); color: #fff; transform: translateY(-1px); }
.woo .button:disabled, .woo .button.disabled { opacity: .5; cursor: not-allowed; }
.woo .checkout-button, .woo #place_order { width: 100%; min-height: 56px; font-size: 1.05rem; }

/* Tables */
.woo .shop_table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.woo .shop_table th, .woo .shop_table td { padding: var(--cell) 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.woo .shop_table tr:last-child > * { border-bottom: 0; }
.woo .shop_table thead th { font: 600 .8rem/1 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--paper); }
.woo .shop_table .product-name a { color: var(--text); font: 600 1.08rem/1.3 var(--display); text-decoration: none; }
.woo .shop_table .product-name a:hover { color: var(--brand); }
.woo .shop_table .product-price, .woo .shop_table .product-subtotal { font-weight: 600; white-space: nowrap; }
.woo .shop_table .product-thumbnail { display: none; }
.woo .product-remove { width: 48px; }
.woo a.remove { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--muted); text-decoration: none; font-size: 1.4rem; line-height: 1; transition: background .2s, color .2s; }
.woo a.remove:hover { background: #fdecea; color: var(--err); }
.woo .quantity input.qty { width: 72px; min-height: 42px; padding: 0 10px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); font: inherit; text-align: center; background: var(--paper); }
.woo td.actions { background: var(--paper); }
.woo td.actions .coupon { display: inline-flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.woo td.actions .coupon label { position: absolute; left: -9999px; }
.woo td.actions .coupon input { min-height: 48px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-2); font: inherit; background: #fff; }
.woo td.actions > .button { float: right; }

/* Cart layout */
.woo--cart .woocommerce { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.woo--cart .woocommerce-notices-wrapper, .woo--cart .cart-empty, .woo--cart .return-to-shop, .woo--cart .woocommerce-info { grid-column: 1 / -1; }
.woo .cart_totals { padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); position: sticky; top: 96px; }
.woo .cart_totals h2 { font-size: 1.3rem; }
.woo .cart_totals .shop_table { border: 0; border-radius: 0; margin-bottom: 18px; }
.woo .cart_totals .shop_table th, .woo .cart_totals .shop_table td { padding: 12px 0; }
.woo .cart_totals .order-total td, .woo .cart_totals .order-total th { font: 700 1.3rem/1.2 var(--display); }
.woo .wc-proceed-to-checkout::after { content: "Visa · Mastercard · American Express · Discover"; display: block; margin-top: 12px; text-align: center; font-size: .84rem; color: var(--muted); }
.woo .cart-empty { text-align: center; font-size: 1.1rem; padding: 40px 20px 8px; background: none; color: var(--text); justify-content: center; }
.woo .return-to-shop { text-align: center; }

/* Checkout */
.woo--checkout form.checkout { display: grid; grid-template-columns: 1fr 420px; gap: 32px; align-items: start; }
.woo--checkout .woocommerce-NoticeGroup, .woo--checkout form.checkout > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woo .woocommerce-form-coupon-toggle .woocommerce-info { margin-bottom: 16px; }
.woo form.checkout_coupon { display: flex; gap: 10px; flex-wrap: wrap; padding: 18px; border-radius: var(--r); border: 1px dashed var(--line-2); margin-bottom: 24px; }
.woo form.checkout_coupon p { margin: 0; }
.woo form.checkout_coupon p:first-child { display: none; }
.woo .col2-set { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.woo .col2-set h3 { font-size: 1.25rem; margin-bottom: 18px; }
.woo .col2-set .col-2 { margin-top: 22px; }
.woo .woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.woo .form-row { margin: 0 0 16px; display: grid; gap: 7px; }
.woo .form-row-wide, .woo #billing_email_field, .woo #billing_company_field, .woo #order_comments_field { grid-column: 1 / -1; }
.woo .form-row label { font-weight: 600; font-size: .93rem; }
.woo .form-row .required { color: var(--err); text-decoration: none; }
.woo .form-row .optional { color: var(--muted); font-weight: 400; }
.woo .input-text, .woo select, .woo textarea, .woo .select2-selection { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); background: var(--paper); color: var(--text); font: inherit; font-size: 1rem; }
.woo textarea { min-height: 110px; resize: vertical; }
.woo .input-text:focus, .woo select:focus, .woo textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(74, 58, 224, .14); }
.woo .woocommerce-invalid .input-text { border-color: var(--err); }
.woo .select2-container { width: 100% !important; }
.woo .select2-selection { display: flex; align-items: center; }
.woo .woocommerce-additional-fields h3 { display: none; }
#order_review_heading { display: none; }
.woo #order_review { padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); position: sticky; top: 96px; }
.woo #order_review::before { content: "Your order"; display: block; font: 600 1.3rem/1.2 var(--display); margin-bottom: 16px; }
.woo #order_review .shop_table { border: 0; border-radius: 0; margin-bottom: 18px; }
.woo #order_review .shop_table th, .woo #order_review .shop_table td { padding: 12px 0; }
.woo #order_review .shop_table thead { display: none; }
.woo #order_review .product-total, .woo #order_review tfoot td { text-align: right; }
.woo #order_review .order-total th, .woo #order_review .order-total td { font: 700 1.3rem/1.2 var(--display); }
.woo #payment ul.payment_methods { list-style: none; display: grid; gap: 10px; margin-bottom: 18px; }
.woo #payment li.wc_payment_method { padding: 14px 16px; border-radius: var(--r); border: 1.5px solid var(--brand); background: var(--brand-tint); }
.woo #payment li.wc_payment_method > label { font-weight: 600; margin-left: 6px; }
.woo #payment .payment_box { margin-top: 8px; font-size: .92rem; color: var(--muted); }
.woo #payment .payment_box p { margin: 0; }
.woo .woocommerce-privacy-policy-text, .woo .woocommerce-terms-and-conditions-wrapper { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.woo .woocommerce-form__label-for-checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.woo .woocommerce-form__label-for-checkbox input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); }
.woo .place-order { display: grid; gap: 4px; margin: 0; }
.woo .place-order::after { content: "Secure checkout · Visa, Mastercard, American Express, Discover"; display: block; margin-top: 10px; text-align: center; font-size: .84rem; color: var(--muted); }
.woo .blockUI.blockOverlay { background: rgba(255, 255, 255, .6) !important; }

/* Order received */
.woo .woocommerce-order { display: grid; gap: 24px; max-width: 860px; }
.woo .woocommerce-thankyou-order-received { font: 600 1.25rem/1.4 var(--display); margin: 0; }
.woo ul.order_details { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.woo ul.order_details li { padding: 16px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.woo ul.order_details li strong { display: block; margin-top: 6px; font: 600 1.05rem/1.3 var(--body); text-transform: none; letter-spacing: 0; color: var(--text); word-break: break-word; }
.nu-next { padding: 26px 28px; border-radius: var(--r-lg); background: var(--ink); color: var(--on-ink); }
.nu-next h2 { font-size: 1.35rem; }
.nu-next ol { padding-left: 1.2em; display: grid; gap: 8px; margin-bottom: 14px; color: var(--on-ink-muted); }
.nu-next strong { color: #fff; }
.nu-next a { color: var(--mint); }
.woo .woocommerce-order-details h2, .woo .woocommerce-customer-details h2 { font-size: 1.3rem; }
.woo .woocommerce-customer-details address { font-style: normal; padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }

/* Account */
.woo--my-account .woocommerce { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.woo--my-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-MyAccount-navigation ul { list-style: none; display: grid; gap: 4px; padding: 10px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.woocommerce-MyAccount-navigation a { display: block; padding: 11px 14px; border-radius: var(--r-sm); color: var(--text); text-decoration: none; font-weight: 500; }
.woocommerce-MyAccount-navigation a:hover { background: var(--paper); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--brand-tint); color: var(--brand-2); }
.woocommerce-MyAccount-content { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.woocommerce-MyAccount-content .shop_table { border-radius: var(--r); }
.woo--my-account .u-columns, .woo--my-account .woocommerce-form-login { grid-column: 1 / -1; }
.woo .woocommerce-form-login, .woo .woocommerce-form-register, .woo .woocommerce-ResetPassword { max-width: 480px; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.woo .woocommerce-form-login .form-row { display: grid; }
.woo .woocommerce-form-login .woocommerce-form-login__rememberme { display: flex; gap: 8px; margin-bottom: 14px; }
.woo .lost_password a { color: var(--brand); }
.woo .woocommerce-pagination { margin-top: 18px; }

@media (max-width: 960px) {
	.woo--cart .woocommerce, .woo--checkout form.checkout, .woo--my-account .woocommerce { grid-template-columns: 1fr; }
	.woo .cart_totals, .woo #order_review { position: static; }
}
@media (max-width: 640px) {
	.woo .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
	.woo .col2-set, .woo #order_review, .woo .cart_totals, .woocommerce-MyAccount-content { padding: 20px; }
	/* Stack cart rows into cards */
	.woo .shop_table_responsive thead { display: none; }
	.woo .shop_table_responsive tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
	.woo .shop_table_responsive td { display: flex; justify-content: space-between; gap: 12px; padding: 8px 16px; border: 0; text-align: right; }
	.woo .shop_table_responsive td::before { content: attr(data-title); font-weight: 600; color: var(--muted); text-align: left; }
	.woo .shop_table_responsive td.product-remove::before, .woo .shop_table_responsive td.actions::before, .woo .shop_table_responsive td.product-name::before { content: none; }
	.woo .shop_table_responsive td.product-name { text-align: left; }
	.woo .shop_table_responsive td.product-remove { justify-content: flex-end; }
	.woo td.actions { flex-direction: column; align-items: stretch; }
	.woo td.actions > .button { float: none; width: 100%; }
	.woo td.actions .coupon { flex-direction: column; align-items: stretch; }
	.woo td.actions .coupon .button { width: 100%; }
}
