/* G3 cart, checkout and account pages (WooCommerce classic on OceanWP). Scoped to body.g3-woo. */
body.g3-woo { --g3p: #2D82F5; --g3pd: #1E63C9; --g3tint: #EAF2FE; --g3surf: #F5F8FD; --g3ink: #0F172A; --g3text: #334155; --g3muted: #64748B; --g3line: #E6ECF5; --g3fd: "Comfortaa", system-ui, sans-serif; --g3fb: "Roboto", system-ui, -apple-system, sans-serif; background: #fff; }
body.g3-woo #content-wrap { max-width: 1280px; width: 100%; padding: 32px 32px 80px; box-sizing: border-box; }
body.g3-woo #primary, body.g3-woo #content { width: 100%; padding: 0; float: none; }
body.g3-woo .woocommerce, body.g3-woo .woocommerce * { font-family: var(--g3fb); }
body.g3-woo .woocommerce { color: var(--g3text); font-size: 15.5px; }
body.g3-woo .woocommerce h1, body.g3-woo .woocommerce h2, body.g3-woo .woocommerce h3 { font-family: var(--g3fd); color: var(--g3ink); letter-spacing: 0; text-transform: none; }

/* Page head */
body.g3-woo .g3woo-head { margin: 0 0 32px; padding: 32px 36px; border-radius: 24px; background: var(--g3surf); }
body.g3-woo .g3woo-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; font-size: 14px; color: var(--g3muted); }
body.g3-woo .g3woo-crumbs a { color: var(--g3muted); text-decoration: none; }
body.g3-woo .g3woo-crumbs a:hover { color: var(--g3p); }
body.g3-woo .g3woo-crumbs [aria-current] { color: var(--g3ink); font-weight: 500; }
body.g3-woo .g3woo-title { margin: 0; font-family: var(--g3fd) !important; font-size: 40px; font-weight: 700; line-height: 1.15; color: var(--g3ink); }
body.g3-woo .g3woo-text { margin: 10px 0 0; font-size: 16px; color: var(--g3text); }

/* Shared form fields */
body.g3-woo .woocommerce form .form-row label { font-size: 14px; font-weight: 500; color: var(--g3ink); margin-bottom: 6px; line-height: 1.4; }
body.g3-woo .woocommerce form .form-row .required { color: #DC2626; text-decoration: none; }
body.g3-woo .woocommerce input.input-text, body.g3-woo .woocommerce textarea, body.g3-woo .woocommerce select, body.g3-woo .woocommerce .select2-container .select2-selection--single, body.g3-woo .woocommerce .theme-select { min-height: 50px; padding: 12px 16px; border: 1.5px solid var(--g3line) !important; border-radius: 14px !important; background: #fff !important; font-size: 15px; color: var(--g3ink); box-shadow: none; }
body.g3-woo .woocommerce .select2-container .select2-selection--single .select2-selection__rendered { line-height: 24px; padding: 0; color: var(--g3ink); }
body.g3-woo .woocommerce .select2-container .select2-selection--single .select2-selection__arrow { top: 12px; right: 10px; }
body.g3-woo .woocommerce input.input-text:focus, body.g3-woo .woocommerce textarea:focus, body.g3-woo .woocommerce select:focus { border-color: var(--g3p) !important; box-shadow: 0 0 0 4px var(--g3tint); outline: none; }
body.g3-woo .woocommerce textarea { min-height: 110px; }

/* Buttons */
body.g3-woo .woocommerce .button, body.g3-woo .woocommerce button.button, body.g3-woo .woocommerce input.button, body.g3-woo .woocommerce a.button, body.g3-woo .woocommerce #place_order, body.g3-woo .woocommerce .checkout-button { min-height: 48px; padding: 0 24px !important; border-radius: 999px !important; border: 0 !important; background: var(--g3p) !important; color: #fff !important; font-size: 15px !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; line-height: 48px !important; box-shadow: none; transition: background-color .2s ease, opacity .2s ease; }
body.g3-woo .woocommerce .button:hover, body.g3-woo .woocommerce #place_order:hover, body.g3-woo .woocommerce .checkout-button:hover { background: var(--g3pd) !important; }
body.g3-woo .woocommerce .button:disabled, body.g3-woo .woocommerce .button.disabled, body.g3-woo .woocommerce .button[disabled] { opacity: .45 !important; background: var(--g3p) !important; }
body.g3-woo .woocommerce button[name="update_cart"] { background: #fff !important; color: var(--g3p) !important; border: 1.5px solid var(--g3p) !important; }
body.g3-woo .woocommerce #place_order, body.g3-woo .woocommerce .checkout-button { width: 100%; min-height: 56px; line-height: 56px !important; font-size: 16.5px !important; }

/* Notices */
body.g3-woo .woocommerce-message, body.g3-woo .woocommerce-info, body.g3-woo .woocommerce-error { margin: 0 0 24px !important; padding: 16px 20px !important; border: 0 !important; border-radius: 16px; background: var(--g3tint); color: var(--g3ink); font-size: 15px; list-style: none; }
body.g3-woo .woocommerce-message { background: #E8F7EE; color: #166534; }
body.g3-woo .woocommerce-error { background: #FEF2F2; color: #991B1B; }
body.g3-woo .woocommerce-message::before, body.g3-woo .woocommerce-info::before, body.g3-woo .woocommerce-error::before { display: none; }
body.g3-woo .woocommerce-info a, body.g3-woo .woocommerce-message a:not(.button) { color: var(--g3p); font-weight: 600; }

/* Cart table */
body.g3-woo .woocommerce-cart-form { border: 1px solid var(--g3line); border-radius: 22px; overflow: hidden; }
body.g3-woo table.shop_table { margin: 0 !important; border: 0 !important; border-collapse: collapse; width: 100%; background: #fff; }
body.g3-woo table.shop_table th { padding: 16px 18px !important; background: var(--g3surf) !important; border: 0 !important; font-size: 12.5px !important; font-weight: 600 !important; letter-spacing: .1em; text-transform: uppercase; color: var(--g3muted) !important; text-align: left; }
body.g3-woo table.shop_table td { padding: 18px !important; border: 0 !important; border-top: 1px solid var(--g3line) !important; vertical-align: middle; font-size: 15.5px; color: var(--g3text); background: #fff; }
body.g3-woo table.shop_table td.product-name a { color: var(--g3ink); font-weight: 600; text-decoration: none; }
body.g3-woo table.shop_table td.product-name a:hover { color: var(--g3p); }
body.g3-woo table.shop_table td.product-thumbnail img { width: 72px !important; height: 72px; object-fit: contain; border-radius: 12px; background: var(--g3surf); }
body.g3-woo table.shop_table .amount { color: var(--g3ink); font-weight: 600; }
body.g3-woo table.shop_table td.product-remove a.remove { width: 32px; height: 32px; display: grid; place-items: center; border: 1.5px solid var(--g3line); border-radius: 999px; color: var(--g3muted) !important; font-size: 18px; line-height: 1; }
body.g3-woo table.shop_table td.product-remove a.remove:hover { border-color: #DC2626; background: #DC2626; color: #fff !important; }
body.g3-woo .woocommerce .quantity { display: inline-flex; align-items: center; height: 44px; border: 1.5px solid var(--g3line); border-radius: 999px; overflow: hidden; background: #fff; }
body.g3-woo .woocommerce .quantity .minus, body.g3-woo .woocommerce .quantity .plus { width: 38px; height: 100%; display: grid; place-items: center; border: 0 !important; background: transparent !important; color: var(--g3ink) !important; }
body.g3-woo .woocommerce .quantity .qty { width: 42px !important; height: 100% !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; text-align: center; font-weight: 600; background: transparent !important; -moz-appearance: textfield; }
body.g3-woo .woocommerce .quantity .qty::-webkit-outer-spin-button, body.g3-woo .woocommerce .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
body.g3-woo table.shop_table td.actions { background: var(--g3surf); }
body.g3-woo table.shop_table td.actions .coupon { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
body.g3-woo table.shop_table td.actions .coupon .input-text { width: 220px !important; min-height: 48px; margin: 0 !important; }

/* Cart totals */
body.g3-woo .cart-collaterals { margin-top: 32px; }
body.g3-woo .cart_totals { width: 100% !important; max-width: 460px; float: right; padding: 26px 28px; border-radius: 22px; background: var(--g3surf); }
body.g3-woo .cart_totals h2 { margin: 0 0 14px; font-size: 22px; }
body.g3-woo .cart_totals table.shop_table, body.g3-woo .cart_totals table.shop_table th, body.g3-woo .cart_totals table.shop_table td { background: transparent !important; }
body.g3-woo .cart_totals table.shop_table th { padding: 12px 0 !important; text-transform: none; letter-spacing: 0; font-size: 15px !important; color: var(--g3ink) !important; border-top: 1px solid var(--g3line) !important; }
body.g3-woo .cart_totals table.shop_table td { padding: 12px 0 !important; text-align: right; }
body.g3-woo .cart_totals .order-total .amount { font-size: 20px; }
body.g3-woo .wc-proceed-to-checkout { padding: 18px 0 0 !important; }
body.g3-woo .woocommerce-shipping-calculator .shipping-calculator-button { color: var(--g3p); font-weight: 600; text-transform: none; letter-spacing: 0; }
body.g3-woo .cart-empty { font-size: 17px; }
body.g3-woo .return-to-shop { margin-top: 20px; }

/* Checkout */
body.g3-woo form.checkout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 40px; align-items: start; }
body.g3-woo form.checkout > * { grid-column: 1 / -1; }
body.g3-woo form.checkout #customer_details { grid-column: 1; width: 100% !important; float: none; padding: 30px 32px; border: 1px solid var(--g3line); border-radius: 22px; }
body.g3-woo form.checkout #customer_details .col-1, body.g3-woo form.checkout #customer_details .col-2 { width: 100% !important; float: none !important; }
body.g3-woo form.checkout #order_review_heading { grid-column: 2; grid-row: 1; margin: 0 0 14px !important; font-size: 22px; }
body.g3-woo form.checkout #order_review { grid-column: 2; grid-row: 2 / span 4; width: 100% !important; float: none; padding: 26px 28px; border-radius: 22px; background: var(--g3surf); position: sticky; top: 110px; }
body.g3-woo form.checkout #customer_details { grid-row: 1 / span 5; }
body.g3-woo form.checkout h3 { margin: 0 0 18px; font-size: 22px; }
body.g3-woo form.checkout .woocommerce-billing-fields, body.g3-woo form.checkout .woocommerce-shipping-fields, body.g3-woo form.checkout .woocommerce-additional-fields { margin-bottom: 18px; }
body.g3-woo #order_review table.shop_table th, body.g3-woo #order_review table.shop_table td { background: transparent !important; padding: 12px 0 !important; }
body.g3-woo #order_review table.shop_table thead th { border-top: 0 !important; }
body.g3-woo #order_review table.shop_table td:last-child, body.g3-woo #order_review table.shop_table th:last-child { text-align: right; }
body.g3-woo #order_review .order-total .amount { font-size: 20px; }
body.g3-woo #payment { margin-top: 18px; border-radius: 18px !important; background: #fff !important; border: 1px solid var(--g3line); }
body.g3-woo #payment ul.payment_methods { padding: 18px 20px !important; border-bottom: 1px solid var(--g3line) !important; }
body.g3-woo #payment div.payment_box { border-radius: 14px; background: var(--g3surf) !important; }
body.g3-woo #payment div.payment_box::before { display: none; }
body.g3-woo #payment .place-order { padding: 18px 20px !important; }
body.g3-woo .woocommerce-terms-and-conditions-wrapper, body.g3-woo .woocommerce-privacy-policy-text { font-size: 14px; line-height: 1.6; }
body.g3-woo .woocommerce-form-coupon-toggle .woocommerce-info, body.g3-woo .woocommerce-form-login-toggle .woocommerce-info { text-align: left; }
body.g3-woo form.checkout_coupon, body.g3-woo form.woocommerce-form-login { padding: 22px 24px !important; border: 1px solid var(--g3line) !important; border-radius: 18px; margin: 0 0 24px !important; }

/* Account */
body.g3-woo .woocommerce-MyAccount-navigation { width: 260px !important; float: left; }
body.g3-woo .woocommerce-MyAccount-navigation ul { margin: 0; padding: 10px; list-style: none; border: 1px solid var(--g3line); border-radius: 20px; }
body.g3-woo .woocommerce-MyAccount-navigation ul li { margin: 0; border: 0 !important; }
body.g3-woo .woocommerce-MyAccount-navigation ul li a { display: block; padding: 12px 16px !important; border-radius: 12px; color: var(--g3ink); font-weight: 500; text-decoration: none; }
body.g3-woo .woocommerce-MyAccount-navigation ul li a::before { display: none !important; }
body.g3-woo .woocommerce-MyAccount-navigation ul li.is-active a, body.g3-woo .woocommerce-MyAccount-navigation ul li a:hover { background: var(--g3tint); color: var(--g3pd); }
body.g3-woo .woocommerce-MyAccount-content { width: calc(100% - 300px) !important; float: right; padding: 28px 30px; border-radius: 22px; background: var(--g3surf); }
body.g3-woo .woocommerce-MyAccount-content a { color: var(--g3p); }
body.g3-woo #customer_login { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
body.g3-woo #customer_login::before, body.g3-woo #customer_login::after { display: none; }
body.g3-woo #customer_login .u-column1, body.g3-woo #customer_login .u-column2 { width: 100% !important; float: none !important; padding: 28px 30px; border: 1px solid var(--g3line); border-radius: 22px; }
body.g3-woo .woocommerce form.login, body.g3-woo .woocommerce form.register { margin: 0 !important; padding: 0 !important; border: 0 !important; }
body.g3-woo .woocommerce .lost_password a { color: var(--g3p); }

@media (max-width: 1024px) {
	body.g3-woo #content-wrap { padding: 24px 24px 56px; }
	body.g3-woo form.checkout { grid-template-columns: minmax(0, 1fr); }
	body.g3-woo form.checkout #customer_details, body.g3-woo form.checkout #order_review_heading, body.g3-woo form.checkout #order_review { grid-column: 1; grid-row: auto; position: static; }
	body.g3-woo form.checkout #order_review_heading { margin-top: 28px !important; }
}
@media (max-width: 767px) {
	body.g3-woo #content-wrap { padding: 16px 16px 40px; }
	body.g3-woo .g3woo-head { padding: 22px 20px; border-radius: 18px; margin-bottom: 22px; }
	body.g3-woo .g3woo-title { font-size: 30px; }
	body.g3-woo .woocommerce-cart-form { border-radius: 18px; }
	body.g3-woo table.shop_table_responsive tr td { padding: 12px 16px !important; }
	body.g3-woo table.shop_table td.actions .coupon { flex-direction: column; align-items: stretch; }
	body.g3-woo table.shop_table td.actions .coupon .input-text { width: 100% !important; }
	body.g3-woo table.shop_table td.actions .button { width: 100%; }
	body.g3-woo .cart_totals { max-width: none; float: none; padding: 22px 18px; }
	body.g3-woo form.checkout #customer_details { padding: 22px 18px; }
	body.g3-woo form.checkout #order_review { padding: 22px 18px; }
	body.g3-woo .woocommerce-MyAccount-navigation, body.g3-woo .woocommerce-MyAccount-content { width: 100% !important; float: none; }
	body.g3-woo .woocommerce-MyAccount-content { margin-top: 18px; padding: 22px 18px; }
	body.g3-woo #customer_login { grid-template-columns: minmax(0, 1fr); }
	body.g3-woo #customer_login .u-column1, body.g3-woo #customer_login .u-column2 { padding: 22px 18px; }
}

/* Fixes on top of theme styles */
body.g3-woo .woocommerce button[name="update_cart"]:disabled, body.g3-woo .woocommerce button[name="update_cart"].disabled { background: #fff !important; color: var(--g3p) !important; opacity: .5 !important; }
body.g3-woo .cart_totals h2, body.g3-woo #order_review_heading, body.g3-woo form.checkout h3 { padding: 0 !important; border: 0 !important; background: none !important; text-align: left; font-family: var(--g3fd) !important; font-size: 22px !important; font-weight: 700 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--g3ink) !important; }
body.g3-woo #order_review_heading::after, body.g3-woo .cart_totals h2::after { display: none !important; }
body.g3-woo #ship-to-different-address { font-family: var(--g3fb) !important; font-size: 15px !important; }
body.g3-woo #ship-to-different-address label { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; text-transform: none; letter-spacing: 0; }

/* Order review table on checkout */
body.g3-woo #order_review table.shop_table { background: transparent !important; border: 0 !important; }
body.g3-woo #order_review table.shop_table thead, body.g3-woo #order_review table.shop_table thead tr, body.g3-woo #order_review table.shop_table thead th, body.g3-woo #order_review table.shop_table tbody td, body.g3-woo #order_review table.shop_table tfoot th, body.g3-woo #order_review table.shop_table tfoot td { background: transparent !important; }
body.g3-woo #order_review table.shop_table th, body.g3-woo #order_review table.shop_table td { padding: 14px 0 !important; border: 0 !important; border-top: 1px solid var(--g3line) !important; vertical-align: top; }
body.g3-woo #order_review table.shop_table thead th { border-top: 0 !important; padding-top: 0 !important; }
body.g3-woo #order_review table.shop_table tfoot th { font-size: 15px !important; font-weight: 500 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--g3ink) !important; text-align: left; }
body.g3-woo #order_review table.shop_table td.product-name { color: var(--g3ink); padding-right: 12px !important; }
body.g3-woo #order_review table.shop_table td.product-name .product-quantity { color: var(--g3muted); font-weight: 500; }
body.g3-woo #order_review table.shop_table td:last-child { text-align: right; }
body.g3-woo #order_review table.shop_table tr.woocommerce-shipping-totals td { text-align: right; }
body.g3-woo #order_review #shipping_method, body.g3-woo .cart_totals #shipping_method { margin: 0; padding: 0; list-style: none; text-align: right; }
body.g3-woo #order_review #shipping_method li, body.g3-woo .cart_totals #shipping_method li { margin: 0; padding: 0; text-indent: 0; }
body.g3-woo #order_review #shipping_method label, body.g3-woo .cart_totals #shipping_method label { font-weight: 500; color: var(--g3ink); }
body.g3-woo #order_review tr.order-total th, body.g3-woo #order_review tr.order-total td { padding-top: 16px !important; border-top: 2px solid var(--g3ink) !important; }
body.g3-woo #order_review tr.order-total th { font-weight: 700 !important; font-size: 16px !important; }
@media (max-width: 767px) {
	body.g3-woo #order_review table.shop_table th, body.g3-woo #order_review table.shop_table td { font-size: 14.5px; }
}

/* Roomier cart totals + checkout boxes */
body.g3-woo .cart_totals { padding: 32px 32px 30px !important; box-sizing: border-box; }
body.g3-woo .cart_totals h2 { margin: 0 0 20px !important; padding-top: 2px !important; line-height: 1.25 !important; }
body.g3-woo .cart_totals table.shop_table { margin: 0 !important; border: 0 !important; }
body.g3-woo .cart_totals table.shop_table th, body.g3-woo .cart_totals table.shop_table td { padding: 16px 0 !important; vertical-align: top; line-height: 1.5; border-top: 1px solid var(--g3line) !important; }
body.g3-woo .cart_totals table.shop_table th { padding-right: 16px !important; font-weight: 600; }
body.g3-woo .cart_totals .woocommerce-shipping-destination { margin: 6px 0 0 !important; }
body.g3-woo .cart_totals .woocommerce-shipping-calculator { margin: 10px 0 0 !important; }
body.g3-woo .cart_totals .shipping-calculator-button { display: inline-block; margin-top: 4px; }
body.g3-woo .cart_totals .order-total th, body.g3-woo .cart_totals .order-total td { padding-top: 20px !important; border-top: 2px solid var(--g3ink) !important; }
body.g3-woo .cart_totals .order-total th { font-size: 17px !important; }
body.g3-woo .cart_totals .order-total .amount { font-size: 22px !important; font-weight: 700; color: var(--g3ink); }
body.g3-woo .wc-proceed-to-checkout { padding: 26px 0 0 !important; }
body.g3-woo .wc-proceed-to-checkout .checkout-button { margin: 0 !important; min-height: 54px; display: flex !important; align-items: center; justify-content: center; }
body.g3-woo .woocommerce-cart-form { margin-bottom: 8px; }
body.g3-woo #order_review { padding: 32px !important; }
body.g3-woo #order_review table.shop_table th, body.g3-woo #order_review table.shop_table td { padding: 15px 0 !important; line-height: 1.5; }
body.g3-woo form.checkout .form-row { margin-bottom: 18px !important; }
@media (max-width: 767px) {
	body.g3-woo .cart_totals { padding: 26px 20px 24px !important; border-radius: 18px; }
	body.g3-woo .cart_totals h2 { font-size: 21px !important; margin-bottom: 14px !important; }
	body.g3-woo .cart_totals table.shop_table th, body.g3-woo .cart_totals table.shop_table td { padding: 14px 0 !important; font-size: 15px; }
	body.g3-woo .cart-collaterals { margin-top: 28px; }
	body.g3-woo #order_review { padding: 22px 18px !important; }
	body.g3-woo form.checkout .form-row { margin-bottom: 14px !important; }
}
