/**
 * Theme Name:     Notariz Child
 * Author:         Jegtheme
 * Template:       notariz
 * Text Domain:	   notariz-child
 * Description:    Notariz is a modern and clean Gutenverse theme created especially for those who want to create a professional-looking WordPress-based website for a Notary Public & Legal Services.
 * Theme URI:      https://fse.jegtheme.com/notariz/
 * Author URI:     https://support.jegtheme.com/
 * Version:        1.0.0
 * License:        GNU General Public License v3 or later.
 * License URI:    https://www.gnu.org/licenses/gpl-3.0.html
 * Tags:           grid-layout,block-patterns,full-site-editing,entertainment,news
 */


.wp-block-woocommerce-checkout {
    width: 90%;
    margin: 0 auto;
}
.wc-block-store-notices.woocommerce{
    display: none;
}
.alignwide.wp-block-post-title{text-align: center;}

/* Don’t zero-out main on order-received — that page needs spacing for confirmation blocks */
.woocommerce-checkout:not(.woocommerce-order-received) .wp-block-group.is-layout-constrained,
.woocommerce-checkout:not(.woocommerce-order-received) .wp-block-post-content.is-layout-flow {
	margin: 0 !important;
}

/* ============================================
   Order received / Thank you page
   Block theme (woocommerce-uses-block-theme):
   Content lives in main.wp-block-group — NOT .woocommerce wrapper.
   Classic shortcode checkout rules kept at end of this section.
   ============================================ */

/* Main column: checkout page template uses this as content root */
body.woocommerce-order-received main.wp-block-group.is-layout-constrained,
body.woocommerce-order-received main#wp--skip-link--target {
	max-width: 960px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 2rem 1.25rem 3.5rem !important;
	width: 100%;
	box-sizing: border-box;
}

/* --- Woo Blocks: order confirmation status (h1 + paragraph) --- */
body.woocommerce-order-received .wp-block-woocommerce-order-confirmation-status.wc-block-order-confirmation-status,
body.woocommerce-order-received .wc-block-order-confirmation-status.alignwide {
	max-width: 100%;
	width: 100%;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-status {
	background: linear-gradient(135deg, #00204c 0%, #003366 100%);
	color: #fff;
	border-radius: 10px;
	padding: 1.5rem 1.75rem 1.65rem;
	margin: 0 0 1.5rem;
	box-shadow: 0 8px 24px rgba(0, 32, 76, 0.18);
	border: none;
	position: relative;
	overflow: hidden;
}

body.woocommerce-order-received .wc-block-order-confirmation-status::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: #e1a122;
	border-radius: 10px 0 0 10px;
}

body.woocommerce-order-received .wc-block-order-confirmation-status h1 {
	color: #fff !important;
	margin: 0 0 0.65rem;
	font-size: clamp(1.35rem, 3vw, 1.75rem);
	font-weight: 700;
	line-height: 1.25;
	padding: 0;
	border: none;
}

body.woocommerce-order-received .wc-block-order-confirmation-status p {
	color: rgba(255, 255, 255, 0.95) !important;
	margin: 0;
	font-size: 1rem;
	line-height: 1.6;
}

body.woocommerce-order-received .wc-block-order-confirmation-status .wc-block-order-confirmation-status__text {
	color: #fff;
}

body.woocommerce-order-received .wc-block-order-confirmation-status a {
	color: #e1a122;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.woocommerce-order-received .wc-block-order-confirmation-status a:hover {
	color: #fff;
}

/* --- Summary: ul.wc-block-order-confirmation-summary-list --- */
body.woocommerce-order-received .wp-block-woocommerce-order-confirmation-summary.wc-block-order-confirmation-summary,
body.woocommerce-order-received .wc-block-order-confirmation-summary.alignwide {
	max-width: 100%;
	width: 100%;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-summary {
	background: #fff;
	border: 1px solid #e6eef8;
	border-radius: 10px;
	padding: 1.35rem 1.5rem 1.5rem;
	margin: 0 0 1.5rem;
	box-shadow: 0 2px 12px rgba(0, 32, 76, 0.06);
}

body.woocommerce-order-received ul.wc-block-order-confirmation-summary-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1rem;
}

body.woocommerce-order-received li.wc-block-order-confirmation-summary-list-item {
	background: #f6f9ff;
	border: 1px solid #e6eef8;
	border-radius: 8px;
	padding: 1rem 1.1rem;
	margin: 0;
	font-size: 0.95rem;
	color: #444;
	line-height: 1.45;
}

body.woocommerce-order-received .wc-block-order-confirmation-summary-list-item__key {
	display: block;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: #00204c;
	font-weight: 700;
	margin-bottom: 0.35rem;
}

body.woocommerce-order-received .wc-block-order-confirmation-summary-list-item__value {
	color: #333;
	font-weight: 600;
}

body.woocommerce-order-received .wc-block-order-confirmation-summary-list-item__value .woocommerce-Price-amount {
	color: #00204c;
	font-weight: 700;
}

/* --- Order details heading + totals table wrapper --- */
body.woocommerce-order-received .wp-block-woocommerce-order-confirmation-totals-wrapper.wc-block-order-confirmation-totals-wrapper,
body.woocommerce-order-received .wc-block-order-confirmation-totals-wrapper.alignwide {
	max-width: 100%;
	width: 100%;
	margin-left: 0 !important;
	margin-right: 0 !important;
	margin-bottom: 1.5rem;
}

body.woocommerce-order-received .wc-block-order-confirmation-totals-wrapper > h2.wp-block-heading {
	color: #00204c !important;
	font-size: 1.25rem !important;
	font-weight: 700 !important;
	margin: 0 0 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 3px solid #e1a122;
}

body.woocommerce-order-received .wp-block-woocommerce-order-confirmation-totals.wc-block-order-confirmation-totals,
body.woocommerce-order-received .wc-block-order-confirmation-totals.alignwide {
	max-width: 100%;
	margin: 0;
}

body.woocommerce-order-received table.wc-block-order-confirmation-totals__table {
	width: 100%;
	border: 1px solid #e6eef8 !important;
	border-radius: 10px;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 12px rgba(0, 32, 76, 0.05);
}

body.woocommerce-order-received table.wc-block-order-confirmation-totals__table thead th {
	background: #f6f9ff !important;
	color: #00204c !important;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 700;
	padding: 0.9rem 1.1rem !important;
	border-bottom: 1px solid #e6eef8 !important;
	text-align: left;
}

body.woocommerce-order-received table.wc-block-order-confirmation-totals__table tbody td,
body.woocommerce-order-received table.wc-block-order-confirmation-totals__table tfoot th,
body.woocommerce-order-received table.wc-block-order-confirmation-totals__table tfoot td {
	padding: 1rem 1.1rem !important;
	border-top: 1px solid #eef2f8 !important;
	vertical-align: middle;
}

body.woocommerce-order-received table.wc-block-order-confirmation-totals__table tbody tr:first-child td {
	border-top: none !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-totals__product a {
	color: #00204c;
	font-weight: 600;
	text-decoration: none;
}

body.woocommerce-order-received .wc-block-order-confirmation-totals__product a:hover {
	color: #e1a122;
}

body.woocommerce-order-received .wc-block-order-confirmation-totals__product .product-quantity {
	color: #666;
	font-weight: 600;
}

body.woocommerce-order-received table.wc-block-order-confirmation-totals__table tfoot th.wc-block-order-confirmation-totals__label {
	color: #00204c;
	font-weight: 700;
	text-align: left;
	background: #fafbfd;
}

body.woocommerce-order-received table.wc-block-order-confirmation-totals__table tfoot td.wc-block-order-confirmation-totals__total {
	font-weight: 700;
	color: #00204c;
}

/* --- Billing / shipping columns --- */
body.woocommerce-order-received .wc-block-order-confirmation-address-wrapper.alignwide {
	max-width: 100%;
	width: 100%;
	margin: 1.5rem 0 0;
	gap: 1.5rem;
}

body.woocommerce-order-received .wp-block-woocommerce-order-confirmation-billing-wrapper.wc-block-order-confirmation-billing-wrapper,
body.woocommerce-order-received .wc-block-order-confirmation-billing-wrapper.alignwide {
	max-width: 100%;
	margin: 0;
}

body.woocommerce-order-received .wc-block-order-confirmation-billing-wrapper h2.wp-block-heading {
	color: #00204c !important;
	font-size: 1.15rem !important;
	font-weight: 700 !important;
	margin: 0 0 0.85rem;
	padding-bottom: 0.45rem;
	border-bottom: 2px solid #e1a122;
}

body.woocommerce-order-received .wc-block-order-confirmation-billing-address,
body.woocommerce-order-received .wc-block-order-confirmation-shipping-address,
body.woocommerce-order-received .wc-block-order-confirmation-order-note {
	background: #fff;
	border: 1px solid #e6eef8 !important;
	border-radius: 10px;
	padding: 1.25rem 1.35rem;
	box-shadow: 0 2px 12px rgba(0, 32, 76, 0.05);
}

body.woocommerce-order-received .wc-block-order-confirmation-billing-address address,
body.woocommerce-order-received .wc-block-order-confirmation-shipping-address address {
	font-style: normal;
	line-height: 1.65;
	color: #444;
	margin: 0;
}

body.woocommerce-order-received .wc-block-order-confirmation-create-account {
	max-width: 100%;
	margin: 1.5rem 0 0;
	border-radius: 10px;
	border: 1px solid #e6eef8;
	background: #f6f9ff;
	padding: 1.25rem 1.5rem;
}

/* ========== Classic checkout (shortcode) thank you — optional ========== */
body.woocommerce-order-received .woocommerce-thankyou-order-received {
	background: linear-gradient(135deg, #00204c 0%, #003366 100%);
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 1.5rem 1.75rem;
	margin: 0 0 2rem;
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.5;
	box-shadow: 0 8px 24px rgba(0, 32, 76, 0.18);
}

body.woocommerce-order-received ul.order_details,
body.woocommerce-order-received .woocommerce-order-overview {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1rem;
}

body.woocommerce-order-received ul.order_details li,
body.woocommerce-order-received .woocommerce-order-overview li {
	background: #fff;
	border: 1px solid #e6eef8;
	border-radius: 8px;
	padding: 1rem 1.15rem;
	margin: 0;
	font-size: 0.9rem;
	color: #555;
	box-shadow: 0 2px 8px rgba(0, 32, 76, 0.06);
}

body.woocommerce-order-received ul.order_details li strong,
body.woocommerce-order-received .woocommerce-order-overview li strong {
	display: block;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #00204c;
	margin-bottom: 0.35rem;
	font-weight: 700;
}

body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details,
body.woocommerce-order-received .woocommerce-order-downloads {
	background: #fff;
	border: 1px solid #e6eef8;
	border-radius: 10px;
	padding: 1.5rem 1.5rem 1.25rem;
	margin-bottom: 1.5rem;
	box-shadow: 0 2px 12px rgba(0, 32, 76, 0.06);
}

body.woocommerce-order-received .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-column__title {
	font-size: 1.1rem;
	color: #00204c;
	margin: 0 0 1rem;
	padding-bottom: 0.65rem;
	border-bottom: 2px solid #e1a122;
	font-weight: 700;
}

body.woocommerce-order-received .woocommerce-table--order-details {
	border: 1px solid #e6eef8;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 0;
}

body.woocommerce-order-received .woocommerce-table--order-details thead th {
	background: #f6f9ff;
	color: #00204c;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 0.85rem 1rem;
	border-bottom: 1px solid #e6eef8;
}

body.woocommerce-order-received .woocommerce-table--order-details tbody td,
body.woocommerce-order-received .woocommerce-table--order-details tfoot th,
body.woocommerce-order-received .woocommerce-table--order-details tfoot td {
	padding: 0.85rem 1rem;
	border-color: #eef2f8;
}

body.woocommerce-order-received .woocommerce-table--order-details .order_item .product-name a {
	color: #00204c;
	text-decoration: none;
	font-weight: 600;
}

body.woocommerce-order-received .woocommerce-columns--addresses {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin-top: 0.5rem;
}

@media (min-width: 640px) {
	body.woocommerce-order-received .woocommerce-columns--addresses {
		grid-template-columns: 1fr 1fr;
	}
}

body.woocommerce-order-received .woocommerce-column--billing-address,
body.woocommerce-order-received .woocommerce-column--shipping-address {
	background: #fafbfd;
	border-radius: 8px;
	padding: 1.25rem;
	border: 1px solid #e6eef8;
}

body.woocommerce-order-received .woocommerce-thankyou-order-failed,
body.woocommerce-order-received .woocommerce-notice--error {
	border-radius: 8px;
	border-left: 4px solid #c62828;
	padding: 1rem 1.25rem;
}

body.woocommerce-order-received .woocommerce .button,
body.woocommerce-order-received .woocommerce a.button {
	background: #00204c !important;
	color: #fff !important;
	border-radius: 6px !important;
	padding: 0.65rem 1.25rem !important;
	font-weight: 600 !important;
	border: none !important;
}

body.woocommerce-order-received .woocommerce .button.alt {
	background: #e1a122 !important;
}

/* ============================================
   Theme-aligned WooCommerce: single product
   (e.g. /product/per-month/) + shared product UI
   ============================================ */
:root {
	--legaldoc-navy: #00204c;
	--legaldoc-navy-dark: #003366;
	--legaldoc-gold: #e1a122;
	--legaldoc-gold-hover: #d89a21;
	--legaldoc-border: #e6eef8;
	--legaldoc-soft: #f6f9ff;
	--legaldoc-text: #444;
	--legaldoc-radius: 10px;
	--legaldoc-shadow: 0 2px 12px rgba(0, 32, 76, 0.08);
	--legaldoc-shadow-lg: 0 8px 28px rgba(0, 32, 76, 0.12);
}

body.single-product .woocommerce {
	max-width: 1140px;
	margin-left: auto;
	margin-right: auto;
	padding: 1.5rem 1.25rem 3rem;
	color: var(--legaldoc-text);
}

/* Breadcrumb */
body.single-product .woocommerce-breadcrumb {
	font-size: 0.875rem;
	margin-bottom: 1.25rem;
	padding: 0.65rem 1rem;
	background: var(--legaldoc-soft);
	border: 1px solid var(--legaldoc-border);
	border-radius: 8px;
	color: #666;
}

body.single-product .woocommerce-breadcrumb a {
	color: var(--legaldoc-navy);
	font-weight: 600;
	text-decoration: none;
}

body.single-product .woocommerce-breadcrumb a:hover {
	color: var(--legaldoc-gold);
}

/* Product grid: gallery + summary */
body.single-product div.product {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: start;
}

@media (min-width: 768px) {
	body.single-product div.product {
		grid-template-columns: 1fr 1fr;
	}
}

body.single-product div.product .woocommerce-product-gallery {
	background: #fff;
	border: 1px solid var(--legaldoc-border);
	border-radius: var(--legaldoc-radius);
	padding: 1rem;
	box-shadow: var(--legaldoc-shadow);
}

body.single-product div.product .woocommerce-product-gallery__wrapper img {
	border-radius: 8px;
}

body.single-product div.product .summary {
	background: #fff;
	border: 1px solid var(--legaldoc-border);
	border-radius: var(--legaldoc-radius);
	padding: 1.75rem 1.5rem;
	box-shadow: var(--legaldoc-shadow-lg);
}

body.single-product div.product .summary .product_title {
	color: var(--legaldoc-navy);
	font-size: clamp(1.5rem, 4vw, 2rem);
	font-weight: 700;
	margin: 0 0 0.75rem;
	line-height: 1.2;
	padding-bottom: 0.75rem;
	border-bottom: 3px solid var(--legaldoc-gold);
}

body.single-product div.product .summary .price {
	color: var(--legaldoc-navy);
	font-size: 1.75rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

body.single-product div.product .summary .price del {
	opacity: 0.55;
	font-size: 1rem;
	font-weight: 500;
	margin-right: 0.35rem;
}

body.single-product div.product .summary .woocommerce-product-details__short-description {
	font-size: 0.95rem;
	line-height: 1.65;
	color: #555;
	margin-bottom: 1.25rem;
}

body.single-product div.product .summary .woocommerce-product-details__short-description p:last-child {
	margin-bottom: 0;
}

/* Variations & quantity */
body.single-product div.product form.cart {
	margin-top: 1rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--legaldoc-border);
}

body.single-product div.product form.cart .quantity .qty {
	border: 1px solid var(--legaldoc-border);
	border-radius: 6px;
	padding: 0.5rem 0.65rem;
	min-height: 44px;
	color: var(--legaldoc-navy);
	font-weight: 600;
}

body.single-product div.product form.cart table.variations {
	width: 100%;
	margin-bottom: 1rem;
}

body.single-product div.product form.cart table.variations select {
	border: 1px solid var(--legaldoc-border);
	border-radius: 6px;
	padding: 0.45rem 0.65rem;
	min-height: 44px;
	width: 100%;
	max-width: 100%;
}

body.single-product div.product form.cart .single_add_to_cart_button,
body.single-product div.product form.cart button[type="submit"].button {
	background: var(--legaldoc-gold) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 0.85rem 1.75rem !important;
	font-weight: 700 !important;
	font-size: 1rem !important;
	text-transform: none;
	box-shadow: 0 4px 14px rgba(225, 161, 34, 0.35);
	transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

body.single-product div.product form.cart .single_add_to_cart_button:hover,
body.single-product div.product form.cart button[type="submit"].button:hover {
	background: var(--legaldoc-gold-hover) !important;
	color: #fff !important;
	box-shadow: 0 6px 18px rgba(225, 161, 34, 0.45);
	transform: translateY(-1px);
}

body.single-product div.product .stock {
	display: inline-block;
	margin-top: 0.75rem;
	padding: 0.35rem 0.75rem;
	border-radius: 6px;
	font-size: 0.875rem;
	font-weight: 600;
}

body.single-product div.product .stock.in-stock {
	background: #e8f5e9;
	color: #1b5e20;
}

body.single-product div.product .stock.out-of-stock {
	background: #ffebee;
	color: #b71c1c;
}

/* Product meta & tabs */
body.single-product .woocommerce-tabs {
	margin-top: 2.5rem;
	background: #fff;
	border: 1px solid var(--legaldoc-border);
	border-radius: var(--legaldoc-radius);
	overflow: hidden;
	box-shadow: var(--legaldoc-shadow);
}

body.single-product .woocommerce-tabs ul.tabs {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	border-bottom: 2px solid var(--legaldoc-border);
	background: var(--legaldoc-soft);
}

body.single-product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
}

body.single-product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 1rem 1.25rem;
	color: var(--legaldoc-navy);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
}

body.single-product .woocommerce-tabs ul.tabs li.active a,
body.single-product .woocommerce-tabs ul.tabs li a:hover {
	color: var(--legaldoc-navy);
	border-bottom-color: var(--legaldoc-gold);
}

body.single-product .woocommerce-tabs .panel {
	padding: 1.5rem 1.25rem;
	margin: 0;
}

/* ==========================================================
   Product page: show Description directly (no tabs UI)
   ========================================================== */
body.single-product.woocommerce-uses-block-theme .woocommerce-tabs ul.tabs {
	display: none !important;
}

/* Ensure tabs panels never show on block-theme product pages */
body.single-product.woocommerce-uses-block-theme .woocommerce-tabs .woocommerce-Tabs-panel,
body.single-product.woocommerce-uses-block-theme #tab-description {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
}

/* Remove duplicate bottom description block (Woo block template) */
body.single-product.woocommerce-uses-block-theme .wc-block-product-description {
	display: none !important;
}

/* Remove WooCommerce tabs entirely on block-theme product page */
body.single-product.woocommerce-uses-block-theme .woocommerce-tabs {
	display: none !important;
}

body.single-product.woocommerce-uses-block-theme .woocommerce-tabs * {
	display: none !important;
}

body.single-product .related.products,
body.single-product .upsells.products {
	margin-top: 3rem;
}

body.single-product .related.products > h2,
body.single-product .upsells.products > h2 {
	color: var(--legaldoc-navy);
	font-size: 1.35rem;
	margin-bottom: 1.25rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--legaldoc-gold);
}

/* ============================================
   WooCommerce cart (classic template)
   ============================================ */
body.woocommerce-cart .woocommerce {
	max-width: 1140px;
	margin-left: auto;
	margin-right: auto;
	padding: 1.5rem 1.25rem 3rem;
}

body.woocommerce-cart .woocommerce-cart-form {
	background: #fff;
	border: 1px solid var(--legaldoc-border);
	border-radius: var(--legaldoc-radius);
	padding: 1.25rem 1rem 1.5rem;
	box-shadow: var(--legaldoc-shadow);
	margin-bottom: 1.5rem;
}

@media (min-width: 900px) {
	body.woocommerce-cart .woocommerce-cart-form {
		padding: 1.5rem 1.5rem 1.75rem;
	}
}

body.woocommerce-cart table.shop_table.shop_table_cart {
	border: none;
	border-radius: 8px;
	overflow: hidden;
}

body.woocommerce-cart table.shop_table.shop_table_cart thead th {
	background: var(--legaldoc-soft);
	color: var(--legaldoc-navy);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0.85rem 1rem;
	border-bottom: 1px solid var(--legaldoc-border);
}

body.woocommerce-cart table.shop_table.shop_table_cart tbody td {
	padding: 1rem;
	vertical-align: middle;
	border-color: #eef2f8;
}

body.woocommerce-cart table.shop_table.shop_table_cart .product-name a {
	color: var(--legaldoc-navy);
	font-weight: 600;
	text-decoration: none;
}

body.woocommerce-cart table.shop_table.shop_table_cart .product-name a:hover {
	color: var(--legaldoc-gold);
}

body.woocommerce-cart table.shop_table.shop_table_cart .product-thumbnail img {
	border-radius: 8px;
	border: 1px solid var(--legaldoc-border);
}

body.woocommerce-cart table.shop_table.shop_table_cart .qty {
	border: 1px solid var(--legaldoc-border);
	border-radius: 6px;
	padding: 0.4rem 0.5rem;
	min-height: 40px;
}

body.woocommerce-cart .woocommerce-cart-form__contents .actions {
	padding-top: 1rem;
}

body.woocommerce-cart .woocommerce-cart-form__contents .button[name="update_cart"] {
	background: var(--legaldoc-navy) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 0.6rem 1.25rem !important;
	font-weight: 600 !important;
}

body.woocommerce-cart .woocommerce-cart-form__contents .button[name="update_cart"]:hover {
	background: var(--legaldoc-navy-dark) !important;
	color: #fff !important;
}

body.woocommerce-cart .cart-collaterals .cart_totals {
	background: #fff;
	border: 1px solid var(--legaldoc-border);
	border-radius: var(--legaldoc-radius);
	padding: 1.5rem;
	box-shadow: var(--legaldoc-shadow-lg);
}

body.woocommerce-cart .cart-collaterals .cart_totals h2 {
	color: var(--legaldoc-navy);
	font-size: 1.15rem;
	margin: 0 0 1rem;
	padding-bottom: 0.65rem;
	border-bottom: 2px solid var(--legaldoc-gold);
}

body.woocommerce-cart .cart-collaterals .shop_table_responsive tbody th,
body.woocommerce-cart .cart-collaterals .shop_table_responsive tbody td {
	padding: 0.65rem 0;
	border-color: #eef2f8;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
body.woocommerce-cart a.checkout-button {
	background: var(--legaldoc-gold) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 0.9rem 1.5rem !important;
	font-weight: 700 !important;
	display: block;
	text-align: center;
	box-shadow: 0 4px 14px rgba(225, 161, 34, 0.35);
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
body.woocommerce-cart a.checkout-button:hover {
	background: var(--legaldoc-gold-hover) !important;
	color: #fff !important;
}

body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message,
body.woocommerce-cart .woocommerce-info {
	border-radius: 8px;
	border-left: 4px solid var(--legaldoc-gold);
}

/* ============================================
   WooCommerce cart & product (block editor)
   ============================================ */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-empty-cart-block {
	max-width: 1140px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

.wp-block-woocommerce-cart .wc-block-cart {
	background: #fff;
	border: 1px solid var(--legaldoc-border);
	border-radius: var(--legaldoc-radius);
	padding: 1.25rem;
	box-shadow: var(--legaldoc-shadow);
}

.wp-block-woocommerce-cart .wc-block-cart__submit-button {
	background: var(--legaldoc-gold) !important;
	color: #fff !important;
	border-radius: 8px !important;
	font-weight: 700 !important;
}

.wp-block-woocommerce-cart .wc-block-cart__submit-button:hover {
	background: var(--legaldoc-gold-hover) !important;
	color: #fff !important;
}

.wp-block-woocommerce-cart .wc-block-components-product-name {
	color: var(--legaldoc-navy);
	font-weight: 600;
}

.wp-block-woocommerce-cart .wc-block-components-totals-item__label {
	color: var(--legaldoc-navy);
	font-weight: 600;
}

body.woocommerce-cart .wp-block-woocommerce-cart {
	margin-top: 1rem;
	margin-bottom: 2rem;
}

/* Single product when built with blocks (FSE) */
body.single-product .wp-block-post-content .wp-block-add-to-cart-form,
body.single-product .wp-block-post-content .wc-block-components-product-price {
	color: var(--legaldoc-navy);
}

body.single-product .wp-block-post-content .wc-block-components-button:not(.is-link) {
	background: var(--legaldoc-gold) !important;
	color: #fff !important;
	border-radius: 8px !important;
	font-weight: 700 !important;
}

body.single-product .wp-block-post-content .wc-block-components-button:not(.is-link):hover {
	background: var(--legaldoc-gold-hover) !important;
	color: #fff !important;
}

/* Highlight subscription landing product (/product/per-month/) */
body.legaldoc-product-per-month.single-product .woocommerce {
	padding-top: 0.5rem;
}

body.legaldoc-product-per-month div.product .summary {
	position: relative;
}

body.legaldoc-product-per-month div.product .summary::before {
	content: "Subscription access";
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--legaldoc-navy);
	background: linear-gradient(135deg, rgba(225, 161, 34, 0.2) 0%, rgba(225, 161, 34, 0.08) 100%);
	border: 1px solid rgba(225, 161, 34, 0.45);
	padding: 0.35rem 0.75rem;
	border-radius: 6px;
	margin-bottom: 1rem;
}

/* ============================================
   Fix product page layout for block theme
   (prevents classic `div.product` grid rules
   from breaking Gutenberg/block Woo templates)
   ============================================ */
body.single-product.woocommerce-uses-block-theme div.product {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 2rem !important;
	align-items: flex-start !important;
}

body.single-product.woocommerce-uses-block-theme div.product .summary::before {
	content: none !important;
}

body.single-product.woocommerce-uses-block-theme div.product .summary {
	position: relative !important;
	z-index: 1 !important;
	flex: 1 1 520px !important;
}

body.single-product.woocommerce-uses-block-theme div.product .woocommerce-product-gallery {
	width:90%;
	flex: 0 0 420px !important;
	max-width: 100% !important;
	z-index: 0 !important;
}

body.single-product.woocommerce-uses-block-theme div.product .woocommerce-product-gallery img {
	max-width: 100% !important;
	height: auto !important;
	display: block !important;
}

@media (max-width: 860px) {
	body.single-product.woocommerce-uses-block-theme div.product {
		flex-direction: column !important;
		gap: 1.25rem !important;
	}

	body.single-product.woocommerce-uses-block-theme div.product .woocommerce-product-gallery {
		flex: 1 1 auto !important;
	}

	body.single-product.woocommerce-uses-block-theme div.product .summary {
		flex: 1 1 auto !important;
	}
}