/* Rules that must load after WooCommerce and integration styles. */

/* =========================================================
   WooCommerce Block Checkout (/checkout/)
   ========================================================= */

/* The checkout page uses its own template wrapper. These layout rules are
 * intentionally scoped to that wrapper instead of WooCommerce's body class:
 * block checkout pages do not consistently receive `woocommerce-checkout`
 * early enough for body-scoped CSS to be dependable. */
.page-content-wrap.aglo-checkout-page {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 48px clamp(20px, 4vw, 64px) 80px;
}

/* Quantity currently in the cart, shown on each product card. */
.prod-row {
	position: relative;
}

.prod-quantity-controls {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.prod-remove {
	display: none;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid var(--accent-2);
	border-radius: 0;
	background: transparent;
	color: var(--accent-2);
	font-family: var(--text);
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, opacity .2s ease;
}

.prod-remove.is-visible {
	display: inline-flex;
}

.prod-remove:hover {
	background: var(--accent-2);
	color: #fff;
}

.prod-remove:disabled,
.prod-remove.is-loading {
	opacity: .5;
	cursor: wait;
}

.prod-add.is-loading,
.prod-add[aria-disabled="true"] {
	opacity: .5;
	pointer-events: none;
	cursor: wait;
}

.prod-cart-count {
	position: absolute;
	top: -10px;
	right: -10px;
	z-index: 3;
	display: none;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 24px;
	box-sizing: border-box;
	padding: 0 6px;
	border: 2px solid var(--bg-surface);
	border-radius: 999px;
	background: var(--accent);
	color: var(--ink);
	font-family: var(--text);
	font-size: .72rem;
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 2px 8px rgba(23, 40, 26, .18);
}

.prod-cart-count.is-visible {
	display: inline-flex;
}

.prod-cart-count.bump {
	animation: bump .35s ease;
}

/* WooCommerce injects this link after an AJAX add. The cart icon already
 * provides the same destination and the extra link breaks the compact row. */
.prod-card .added_to_cart.wc-forward {
	display: none !important;
}

.prod-actions .prod-add {
	width: auto;
	min-width: 92px;
	height: 36px;
	padding: 0 12px;
	flex: 0 0 auto;
	font-family: var(--text);
	font-size: .7rem;
	font-weight: 600;
	white-space: nowrap;
}

.prod-actions .prod-quantity-controls {
	margin-left: auto;
	flex: 0 0 auto;
	min-width: 0;
	white-space: nowrap;
}

@media (max-width: 700px) {
	.prod-actions {
		align-items: stretch;
		flex-direction: column;
		gap: 10px;
	}

	.prod-actions .prod-view {
		display: block;
	}

	.prod-actions .prod-quantity-controls {
		display: flex;
		width: 100%;
		margin-left: 0;
		justify-content: flex-end;
	}

	.prod-actions .prod-add {
		flex: 1 1 auto;
	}
}

.aglo-checkout-page > .entry-title,
.aglo-checkout-page > .entry-content {
	box-sizing: border-box;
	width: 100% !important;
	max-width: 1440px !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

.aglo-checkout-page .wp-block-woocommerce-checkout,
.aglo-checkout-page .wc-block-checkout,
.aglo-checkout-page .wc-block-components-sidebar-layout {
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

.aglo-checkout-page .wc-block-checkout,
.aglo-checkout-page .wc-block-components-sidebar-layout {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
	gap: clamp(32px, 4vw, 64px) !important;
	align-items: start !important;
}

.aglo-checkout-page .wc-block-checkout__main,
.aglo-checkout-page .wc-block-components-main,
.aglo-checkout-page .wc-block-checkout__sidebar,
.aglo-checkout-page .wc-block-components-sidebar {
	box-sizing: border-box !important;
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.aglo-checkout-page .wc-block-checkout__main,
.aglo-checkout-page .wc-block-components-main {
	grid-column: 1;
}

.aglo-checkout-page .wc-block-checkout__sidebar,
.aglo-checkout-page .wc-block-components-sidebar {
	grid-column: 2;
}

@media (max-width: 900px) {
	.page-content-wrap.aglo-checkout-page {
		padding-right: 24px;
		padding-left: 24px;
	}

	.aglo-checkout-page .wc-block-checkout,
	.aglo-checkout-page .wc-block-components-sidebar-layout {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 32px !important;
	}

	.aglo-checkout-page .wc-block-checkout__main,
	.aglo-checkout-page .wc-block-components-main,
	.aglo-checkout-page .wc-block-checkout__sidebar,
	.aglo-checkout-page .wc-block-components-sidebar {
		grid-column: 1;
	}
}

@media (max-width: 480px) {
	.page-content-wrap.aglo-checkout-page {
		padding: 32px 16px 56px;
	}
}

body.woocommerce-checkout .page-content-wrap.aglo-checkout-page {
	box-sizing: border-box;
	width: 100%;
	max-width: none !important;
	margin-right: auto !important;
	margin-left: auto !important;
	padding-right: clamp(20px, 4vw, 64px) !important;
	padding-left: clamp(20px, 4vw, 64px) !important;
	padding-top: 48px;
	padding-bottom: 80px;
	overflow-x: clip;
}

body.woocommerce-checkout .page-content-wrap .entry-title {
	box-sizing: border-box;
	width: 100%;
	max-width: 1600px;
	margin-right: auto;
	margin-bottom: 32px;
	margin-left: auto;
	font-family: var(--disp);
	font-weight: var(--disp-w-reg);
	font-size: clamp(1.8rem, 3vw, 2.4rem);
}

body.woocommerce-checkout .page-content-wrap .entry-content {
	box-sizing: border-box;
	display: block !important;
	width: min(100%, 1600px) !important;
	max-width: 1600px !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

/* Block checkout outer wrapper — full width */
body.woocommerce-checkout .wp-block-woocommerce-checkout {
	box-sizing: border-box;
	float: none !important;
	position: static;
	width: 100% !important;
	max-width: 1600px !important;
	margin-right: auto !important;
	margin-left: auto !important;
	padding: 0 !important;
	transform: none;
}

/* Two-column layout: form left, order summary right */
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wc-block-components-sidebar-layout {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	column-gap: clamp(40px, 5vw, 72px) !important;
	row-gap: 32px !important;
	align-items: start !important;
	box-sizing: border-box;
	width: 100% !important;
	max-width: 1600px !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

@media (max-width: 1200px) and (min-width: 901px) {
	body.woocommerce-checkout .wc-block-checkout,
	body.woocommerce-checkout .wc-block-components-sidebar-layout {
		grid-template-columns: minmax(0, 1fr) minmax(340px, .85fr) !important;
		column-gap: clamp(28px, 4vw, 44px) !important;
	}
}

@media (max-width: 900px) {
	body.woocommerce-checkout .wc-block-checkout,
	body.woocommerce-checkout .wc-block-components-sidebar-layout {
		grid-template-columns: 1fr !important;
		gap: 32px !important;
	}
}

/* Left: form column */
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main {
	box-sizing: border-box;
	min-width: 0;
	grid-column: 1;
	align-self: start;
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Right: order summary sidebar */
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
	box-sizing: border-box;
	min-width: 0;
	grid-column: 2;
	align-self: start;
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	position: sticky;
	top: 80px;
}

/* WooCommerce applies percentage widths to individual checkout blocks. Keep
 * the contact/address form and order summary flush with their grid columns. */
body.woocommerce-checkout .wc-block-checkout__main > *,
body.woocommerce-checkout .wc-block-components-main > *,
body.woocommerce-checkout .wc-block-checkout__sidebar > *,
body.woocommerce-checkout .wc-block-components-sidebar > * {
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
}

/* Order summary panel */
body.woocommerce-checkout .wc-block-components-order-summary {
	border: 1px solid var(--line);
	background: var(--bg-surface);
	padding: 24px;
}

body.woocommerce-checkout .wc-block-components-order-summary__button-text {
	font-family: var(--disp);
	font-size: 1.1rem;
	font-weight: var(--disp-w-med);
	color: var(--ink);
}

/* Order summary items */
body.woocommerce-checkout .wc-block-components-order-summary-item {
	display: grid;
	grid-template-columns: 64px 1fr auto;
	gap: 12px;
	align-items: start;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}

body.woocommerce-checkout .wc-block-components-order-summary-item:last-child {
	border-bottom: none;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__image {
	width: 64px !important;
	height: 64px !important;
	flex: none;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__image img {
	width: 64px !important;
	height: 64px !important;
	object-fit: cover;
	display: block;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__description {
	min-width: 0;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__name {
	font-family: var(--disp);
	font-style: italic;
	font-size: 1rem;
	color: var(--ink);
	margin: 0 0 4px;
	line-height: 1.3;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__individual-prices,
body.woocommerce-checkout .wc-block-components-order-summary-item__full-price {
	font-family: var(--disp);
	font-size: .95rem;
	color: var(--ink-soft);
	margin: 0 0 4px;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__short-description {
	font-size: .78rem;
	color: var(--ink-soft);
	line-height: 1.4;
	margin: 4px 0 0;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
	font-family: var(--disp);
	font-weight: var(--disp-w-med);
	font-size: 1rem;
	color: var(--ink);
	white-space: nowrap;
	text-align: right;
}

/* Totals section */
body.woocommerce-checkout .wc-block-components-totals-wrapper {
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}

body.woocommerce-checkout .wc-block-components-totals-item {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 6px 0;
	font-size: .88rem;
	color: var(--ink-soft);
}

body.woocommerce-checkout .wc-block-components-totals-footer-item {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 18px 0 8px;
	color: var(--ink);
}

body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-formatted-money-amount {
	font-family: var(--disp);
	font-size: 1.25rem;
	font-weight: var(--disp-w-med);
}

/* Coupon */
body.woocommerce-checkout .wc-block-components-totals-coupon__button {
	color: var(--ink-soft);
	font-family: var(--text);
	font-size: .84rem;
}

/* Form sections */
body.woocommerce-checkout .wc-block-checkout__contact-fields,
body.woocommerce-checkout .wc-block-checkout__shipping-fields,
body.woocommerce-checkout .wc-block-checkout__billing-fields,
body.woocommerce-checkout .wc-block-checkout__payment-method {
	margin-bottom: 32px;
}

body.woocommerce-checkout .wc-block-checkout__contact-fields h2,
body.woocommerce-checkout .wc-block-checkout__shipping-fields h2,
body.woocommerce-checkout .wc-block-checkout__billing-fields h2,
body.woocommerce-checkout .wc-block-checkout__payment-method h2 {
	font-family: var(--disp);
	font-weight: var(--disp-w-reg);
	font-size: 1.2rem;
	color: var(--ink);
	margin: 0 0 18px;
	letter-spacing: .01em;
}

/* Form fields */
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-country-input input,
body.woocommerce-checkout .wc-block-components-state-input input {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: 0;
	background: var(--bg-surface);
	color: var(--ink);
	font-family: var(--text);
	font-size: .9rem;
	outline: none;
	transition: border-color .2s ease;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	border-color: var(--accent-2);
}

body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label {
	font-size: .76rem;
	font-weight: 600;
	color: var(--ink-soft);
	letter-spacing: .02em;
}

/* Place order button */
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-checkout__actions .wc-block-components-button {
	box-sizing: border-box;
	width: 100%;
	min-height: 52px;
	padding: 14px 20px;
	border: 1px solid var(--accent-2);
	border-radius: 0;
	background: var(--accent-2);
	box-shadow: none;
	color: var(--bg-page) !important;
	font-size: .82rem;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout .wc-block-checkout__actions .wc-block-components-button:hover {
	border-color: var(--accent);
	background: var(--accent);
	color: var(--ink) !important;
}

@media (max-width: 640px) {
	body.woocommerce-checkout .page-content-wrap.aglo-checkout-page {
		padding-right: 20px !important;
		padding-left: 20px !important;
		padding-top: 32px;
		padding-bottom: 56px;
	}

	body.woocommerce-checkout .page-content-wrap .entry-title {
		margin-bottom: 24px;
	}

	body.woocommerce-checkout .wc-block-checkout,
	body.woocommerce-checkout .wc-block-components-sidebar-layout {
		gap: 24px !important;
	}

	body.woocommerce-checkout .wc-block-checkout__sidebar {
		position: static;
	}
}

@media (max-width: 480px) {
	body.woocommerce-checkout .page-content-wrap.aglo-checkout-page {
		padding-right: 16px !important;
		padding-left: 16px !important;
	}

	body.woocommerce-checkout .wc-block-components-order-summary {
		padding: 16px;
	}

	body.woocommerce-checkout .wc-block-components-order-summary-item {
		grid-template-columns: 52px minmax(0, 1fr) auto;
		gap: 10px;
	}

	body.woocommerce-checkout .wc-block-components-order-summary-item__image,
	body.woocommerce-checkout .wc-block-components-order-summary-item__image img {
		width: 52px !important;
		height: 52px !important;
	}
}

@media (max-width: 900px) {
	body.woocommerce-checkout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
		grid-column: 1;
	}
}

/* Checkout — inner padding for billing/order panels */
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields {
	padding: 24px;
}

body.woocommerce-checkout #order_review .shop_table th,
body.woocommerce-checkout #order_review .shop_table td {
	padding-left: 20px;
	padding-right: 20px;
}

/* Order received — same inner padding for the order details table */
body.woocommerce-order-received .woocommerce-table--order-details th,
body.woocommerce-order-received .woocommerce-table--order-details td {
	padding-left: 20px;
	padding-right: 20px;
}

body.woocommerce-checkout .elementor-widget-woocommerce-checkout-page .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .elementor-widget-woocommerce-checkout-page .woocommerce-checkout-review-order-table td {
	padding-right: 16px;
	padding-left: 16px;
}

@media (max-width: 767px) {
	body.woocommerce-checkout .elementor-widget-woocommerce-checkout-page .woocommerce-checkout-review-order-table th,
	body.woocommerce-checkout .elementor-widget-woocommerce-checkout-page .woocommerce-checkout-review-order-table td {
		padding-right: 12px;
		padding-left: 12px;
	}
}

/* Order received — inner padding for order details & customer sections */
body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details {
	padding: 0 24px;
}

/* Footer label + value text */
.site-footer {
	padding: 64px 0 0 !important;
}

.foot-grid {
	grid-template-columns: 1fr 2fr 1fr 1fr !important;
	gap: 48px !important;
	padding-bottom: 48px;
	align-items: start;
}

@media (max-width: 900px) {
	.foot-grid {
		grid-template-columns: 1fr 1fr !important;
		gap: 36px !important;
	}
}

@media (max-width: 560px) {
	.foot-grid {
		grid-template-columns: 1fr !important;
	}
}

.foot-label {
	font-size: .68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--accent);
	margin: 0 0 8px;
}

.foot-value {
	font-size: .88rem;
	line-height: 1.7;
	color: var(--sidebar-ink);
	opacity: .75;
	margin: 0;
}

.foot-value strong {
	opacity: 1;
	color: var(--sidebar-ink);
	font-weight: 600;
}

.foot-value a,
.site-footer .foot-value a {
	display: inline !important;
	color: var(--sidebar-ink) !important;
	opacity: .75;
	margin: 0;
	transition: opacity .2s ease;
}

.foot-value a:hover,
.site-footer .foot-value a:hover {
	opacity: 1 !important;
}

/* Nav links column */
.site-footer .foot-grid > div:nth-child(3) a {
	display: block;
	color: var(--sidebar-ink);
	opacity: .7;
	font-size: .88rem;
	margin-bottom: 10px;
	text-decoration: none;
	transition: opacity .2s ease, padding-left .2s ease;
}

.site-footer .foot-grid > div:nth-child(3) a:hover {
	opacity: 1;
	padding-left: 4px;
}

/* Social icons row */
.foot-social {
	display: flex;
	gap: 16px;
	margin-top: 14px;
	align-items: center;
}

.foot-social a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(255,255,255,.2);
	color: var(--sidebar-ink) !important;
	opacity: .75;
	margin: 0 !important;
	transition: opacity .2s ease, border-color .2s ease, background .2s ease;
}

.foot-social a:hover {
	opacity: 1 !important;
	border-color: var(--accent) !important;
	background: rgba(201,164,99,.08);
}

/* Bottom bar */
.foot-bottom {
	border-top: 1px solid rgba(255,255,255,.1) !important;
	margin-top: 0 !important;
	padding: 20px 0 !important;
	font-size: .72rem !important;
	opacity: .45 !important;
	letter-spacing: .02em;
}

/* Contact Form 7 — submit button */
.wpcf7-submit {
	background: var(--accent-2) !important;
	color: #f8f2e6 !important;
	border: 1px solid var(--accent-2) !important;
	border-radius: 0 !important;
	padding: 13px 28px !important;
	font-family: var(--text) !important;
	font-size: .82rem !important;
	font-weight: 600 !important;
	letter-spacing: .05em !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	transition: background .2s ease, border-color .2s ease !important;
}

.wpcf7-submit:hover {
	background: var(--accent) !important;
	border-color: var(--accent) !important;
	color: var(--ink) !important;
}

/* Header logo size */
.site-branding img.custom-logo {
	height: 52px;
	width: auto;
}

/* Primary navigation: no browser/theme text underline; the current item uses
 * the AGLO gold rule defined by the brand system. */

/* =========================================================
   WooCommerce order payment / Razorpay receipt page
   ========================================================= */

body.aglo-order-pay-page .page-content-wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: 1120px !important;
	min-height: calc(100vh - 330px);
	margin-right: auto !important;
	margin-left: auto !important;
	padding: 64px 32px 88px !important;
}

body.aglo-order-pay-page .page-content-wrap .entry-title {
	width: 100%;
	max-width: 920px;
	margin: 0 auto 32px;
	font-size: clamp(2rem, 4vw, 3rem);
}

body.aglo-order-pay-page .page-content-wrap .entry-content {
	box-sizing: border-box;
	display: block !important;
	width: 100% !important;
	max-width: 920px !important;
	margin: 0 auto !important;
	padding: clamp(24px, 4vw, 48px);
	border: 1px solid var(--line);
	background: var(--bg-surface);
	color: var(--ink-soft);
}

body.aglo-order-pay-page .woocommerce-order-overview,
body.aglo-order-pay-page ul.order_details {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	width: 100%;
	margin: 0 0 36px !important;
	padding: 0 0 28px !important;
	border-bottom: 1px solid var(--line);
	list-style: none;
}

body.aglo-order-pay-page .woocommerce-order-overview li,
body.aglo-order-pay-page ul.order_details li {
	box-sizing: border-box;
	float: none !important;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0 20px !important;
	border-right: 1px solid var(--line);
	font-size: .72rem;
	line-height: 1.4;
	color: var(--ink-soft);
}

body.aglo-order-pay-page .woocommerce-order-overview li:first-child,
body.aglo-order-pay-page ul.order_details li:first-child {
	padding-left: 0 !important;
}

body.aglo-order-pay-page .woocommerce-order-overview li:last-child,
body.aglo-order-pay-page ul.order_details li:last-child {
	padding-right: 0 !important;
	border-right: 0;
}

body.aglo-order-pay-page .woocommerce-order-overview li strong,
body.aglo-order-pay-page ul.order_details li strong {
	display: block;
	margin-top: 5px;
	font-family: var(--text);
	font-size: .98rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--ink);
	text-transform: none;
}

body.aglo-order-pay-page .entry-content > .woocommerce > p,
body.aglo-order-pay-page .entry-content > .woocommerce > form + p,
body.aglo-order-pay-page .entry-content > .woocommerce > p:last-child {
	margin: 0;
}

body.aglo-order-pay-page .entry-content > .woocommerce > p:not(:last-child) {
	margin-bottom: 24px;
	font-size: 1rem;
	line-height: 1.6;
}

body.aglo-order-pay-page #btn-razorpay,
body.aglo-order-pay-page #btn-razorpay-cancel {
	box-sizing: border-box;
	min-width: 150px;
	min-height: 48px;
	margin: 0 10px 0 0;
	padding: 13px 24px;
	border-radius: 0;
	font-family: var(--text);
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease, color .2s ease;
}

body.aglo-order-pay-page #btn-razorpay {
	border: 1px solid var(--accent-2);
	background: var(--accent-2);
	color: #fff;
}

body.aglo-order-pay-page #btn-razorpay:hover {
	border-color: var(--accent);
	background: var(--accent);
	color: var(--ink);
}

body.aglo-order-pay-page #btn-razorpay-cancel {
	border: 1px solid var(--line);
	background: transparent;
	color: var(--ink);
}

body.aglo-order-pay-page #btn-razorpay-cancel:hover {
	border-color: var(--accent-2);
	background: rgba(63, 91, 63, .06);
}

@media (max-width: 700px) {
	body.aglo-order-pay-page .page-content-wrap {
		padding: 40px 20px 64px !important;
	}

	body.aglo-order-pay-page .page-content-wrap .entry-title {
		margin-bottom: 24px;
	}

	body.aglo-order-pay-page .page-content-wrap .entry-content {
		padding: 24px 20px;
	}

	body.aglo-order-pay-page .woocommerce-order-overview,
	body.aglo-order-pay-page ul.order_details {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 24px;
	}

	body.aglo-order-pay-page .woocommerce-order-overview li,
	body.aglo-order-pay-page ul.order_details li {
		padding: 0 14px !important;
	}

	body.aglo-order-pay-page .woocommerce-order-overview li:nth-child(odd),
	body.aglo-order-pay-page ul.order_details li:nth-child(odd) {
		padding-left: 0 !important;
	}

	body.aglo-order-pay-page .woocommerce-order-overview li:nth-child(even),
	body.aglo-order-pay-page ul.order_details li:nth-child(even) {
		padding-right: 0 !important;
		border-right: 0;
	}
}

@media (max-width: 480px) {
	body.aglo-order-pay-page .woocommerce-order-overview,
	body.aglo-order-pay-page ul.order_details {
		grid-template-columns: 1fr;
	}

	body.aglo-order-pay-page .woocommerce-order-overview li,
	body.aglo-order-pay-page ul.order_details li {
		padding: 0 !important;
		border-right: 0;
	}

	body.aglo-order-pay-page #btn-razorpay,
	body.aglo-order-pay-page #btn-razorpay-cancel {
		width: 100%;
		margin: 0 0 12px;
	}
}

/* =========================================================
   WooCommerce order confirmation / thank-you page
   ========================================================= */

body.aglo-order-received-page .page-content-wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: 1320px !important;
	margin-right: auto !important;
	margin-left: auto !important;
	padding: 56px 32px 88px !important;
}

body.aglo-order-received-page .page-content-wrap .entry-title {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto 32px;
	font-size: clamp(2rem, 4vw, 3rem);
}

body.aglo-order-received-page .page-content-wrap .entry-content {
	box-sizing: border-box;
	display: block !important;
	width: 100% !important;
	max-width: 1200px !important;
	margin: 0 auto !important;
	color: var(--ink-soft);
}

body.aglo-order-received-page .woocommerce-thankyou-order-received {
	box-sizing: border-box;
	margin: 0 0 28px !important;
	padding: 20px 24px;
	border: 1px solid var(--line);
	border-left: 4px solid var(--accent-2);
	background: var(--bg-surface);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--ink);
}

body.aglo-order-received-page .woocommerce-order-overview,
body.aglo-order-received-page ul.order_details {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
	width: 100%;
	margin: 0 !important;
	padding: 20px 16px !important;
	border: 1px solid var(--line);
	background: var(--bg-surface);
	list-style: none;
}

body.aglo-order-received-page .woocommerce-order-overview li,
body.aglo-order-received-page ul.order_details li {
	box-sizing: border-box;
	float: none !important;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0 10px !important;
	border-right: 1px solid var(--line);
	font-size: .72rem;
	line-height: 1.4;
	color: var(--ink-soft);
	word-break: break-word;
	overflow-wrap: break-word;
}

body.aglo-order-received-page .woocommerce-order-overview li:first-child,
body.aglo-order-received-page ul.order_details li:first-child {
	padding-left: 0 !important;
}

body.aglo-order-received-page .woocommerce-order-overview li:last-child,
body.aglo-order-received-page ul.order_details li:last-child {
	padding-right: 0 !important;
	border-right: 0;
}

body.aglo-order-received-page .woocommerce-order-overview li strong,
body.aglo-order-received-page ul.order_details li strong {
	display: block;
	margin-top: 5px;
	font-size: .98rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--ink);
	text-transform: none;
}

body.aglo-order-received-page .woocommerce-order-details,
body.aglo-order-received-page .woocommerce-customer-details {
	width: 100%;
	margin-top: 48px !important;
}

body.aglo-order-received-page .woocommerce-order-details__title,
body.aglo-order-received-page .woocommerce-customer-details > h2,
body.aglo-order-received-page .woocommerce-column__title {
	margin: 0 0 18px;
	font-family: var(--disp);
	font-size: 1.5rem;
	font-weight: var(--disp-w-med);
	color: var(--ink);
}

body.aglo-order-received-page table.woocommerce-table--order-details {
	box-sizing: border-box;
	width: 100%;
	margin: 0 !important;
	border: 1px solid var(--line);
	border-collapse: collapse;
	background: var(--bg-surface);
}

body.aglo-order-received-page table.woocommerce-table--order-details th,
body.aglo-order-received-page table.woocommerce-table--order-details td {
	padding: 16px 24px !important;
	border: 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

body.aglo-order-received-page table.woocommerce-table--order-details th:last-child,
body.aglo-order-received-page table.woocommerce-table--order-details td:last-child {
	text-align: right;
}

body.aglo-order-received-page table.woocommerce-table--order-details tfoot tr:last-child th,
body.aglo-order-received-page table.woocommerce-table--order-details tfoot tr:last-child td {
	border-bottom: 0;
	font-size: 1.05rem;
	color: var(--ink);
}

body.aglo-order-received-page .woocommerce-columns--addresses,
body.aglo-order-received-page .woocommerce-customer-details .woocommerce-columns {
	box-sizing: border-box;
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 32px !important;
	clear: both !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	direction: ltr;
}

body.aglo-order-received-page .woocommerce-column--billing-address,
body.aglo-order-received-page .woocommerce-column--shipping-address,
body.aglo-order-received-page .woocommerce-customer-details .woocommerce-column {
	box-sizing: border-box;
	float: none !important;
	clear: none !important;
	display: flex;
	flex-direction: column;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.aglo-order-received-page .woocommerce-columns--addresses > .col-1,
body.aglo-order-received-page .woocommerce-columns--addresses > .woocommerce-column--billing-address {
	grid-column: 1 !important;
	grid-row: 1 !important;
}

body.aglo-order-received-page .woocommerce-columns--addresses > .col-2,
body.aglo-order-received-page .woocommerce-columns--addresses > .woocommerce-column--shipping-address {
	grid-column: 2 !important;
	grid-row: 1 !important;
}

body.aglo-order-received-page .woocommerce-customer-details address {
	box-sizing: border-box;
	min-height: 100%;
	padding: 22px 24px;
	border: 1px solid var(--line);
	border-radius: 0;
	background: var(--bg-surface);
	font-style: normal;
	line-height: 1.65;
	direction: ltr;
	text-align: left;
}

body.aglo-order-received-page .woocommerce-customer-details address p {
	margin-bottom: 0;
}

@media (max-width: 760px) {
	body.aglo-order-received-page .page-content-wrap {
		padding: 40px 20px 64px !important;
	}

	body.aglo-order-received-page .woocommerce-order-overview,
	body.aglo-order-received-page ul.order_details {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 0;
	}

	body.aglo-order-received-page .woocommerce-order-overview li,
	body.aglo-order-received-page ul.order_details li {
		padding: 0 14px !important;
	}

	body.aglo-order-received-page .woocommerce-order-overview li:nth-child(odd),
	body.aglo-order-received-page ul.order_details li:nth-child(odd) {
		padding-left: 0 !important;
	}

	body.aglo-order-received-page .woocommerce-order-overview li:nth-child(even),
	body.aglo-order-received-page ul.order_details li:nth-child(even) {
		padding-right: 0 !important;
		border-right: 0;
	}

	body.aglo-order-received-page .woocommerce-columns--addresses,
	body.aglo-order-received-page .woocommerce-customer-details .woocommerce-columns {
		grid-template-columns: 1fr !important;
		gap: 28px !important;
	}

	body.aglo-order-received-page .woocommerce-columns--addresses > .col-1,
	body.aglo-order-received-page .woocommerce-columns--addresses > .woocommerce-column--billing-address,
	body.aglo-order-received-page .woocommerce-columns--addresses > .col-2,
	body.aglo-order-received-page .woocommerce-columns--addresses > .woocommerce-column--shipping-address {
		grid-column: 1 !important;
		grid-row: auto !important;
	}

	body.aglo-order-received-page .woocommerce-order-details,
	body.aglo-order-received-page .woocommerce-customer-details {
		margin-top: 36px !important;
	}
}

@media (max-width: 480px) {
	body.aglo-order-received-page .woocommerce-thankyou-order-received,
	body.aglo-order-received-page .woocommerce-order-overview,
	body.aglo-order-received-page ul.order_details,
	body.aglo-order-received-page .woocommerce-customer-details address {
		padding: 18px !important;
	}

	body.aglo-order-received-page .woocommerce-order-overview,
	body.aglo-order-received-page ul.order_details {
		grid-template-columns: 1fr;
	}

	body.aglo-order-received-page .woocommerce-order-overview li,
	body.aglo-order-received-page ul.order_details li {
		padding: 0 !important;
		border-right: 0;
	}

	body.aglo-order-received-page table.woocommerce-table--order-details th,
	body.aglo-order-received-page table.woocommerce-table--order-details td {
		padding: 13px 12px;
	}
}

#primary-menu a,
.mobile-menu-panel a,
.mobile-menu-panel li a {
	text-decoration: none !important;
}

#primary-menu li > a {
	border-bottom: 1px solid transparent;
}

#primary-menu .current-menu-item > a,
#primary-menu .current_page_item > a,
#primary-menu .current-menu-ancestor > a,
#primary-menu a.active {
	border-bottom-color: #c9a463;
}

/* TI WooCommerce Wishlist
 * The normal entry width is optimized for articles; wishlist tables need the
 * full AGLO content container. */
body.aglo-wishlist-page .page-content-wrap {
	box-sizing: border-box;
	padding-top: 64px;
	padding-bottom: 72px;
}

body.aglo-wishlist-page .page-content-wrap .entry-title {
	margin-bottom: 40px;
}

body.aglo-wishlist-page .page-content-wrap .entry-content {
	width: 100%;
	max-width: none;
}

body.aglo-wishlist-page .tinv-wishlist {
	width: 100%;
	color: var(--ink-soft);
}

body.aglo-wishlist-page .tinv-wishlist .tinv-header {
	display: none;
}

body.aglo-wishlist-page .tinv-wishlist table.tinvwl-table-manage-list {
	width: 100%;
	margin: 0 0 28px;
	border: 1px solid var(--line);
	border-collapse: collapse;
	background: var(--bg-surface);
}

body.aglo-wishlist-page .tinv-wishlist table.tinvwl-table-manage-list th,
body.aglo-wishlist-page .tinv-wishlist table.tinvwl-table-manage-list td {
	padding: 18px 14px;
	border-bottom: 1px solid var(--line);
	vertical-align: middle;
}

body.aglo-wishlist-page .tinv-wishlist table.tinvwl-table-manage-list th {
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .05em;
	text-align: left;
	text-transform: uppercase;
	color: var(--ink-soft);
}

body.aglo-wishlist-page .tinv-wishlist table.tinvwl-table-manage-list tbody tr:last-child td {
	border-bottom: 1px solid var(--line);
}

body.aglo-wishlist-page .tinv-wishlist .product-thumbnail {
	width: 104px;
	min-width: 104px;
}

body.aglo-wishlist-page .tinv-wishlist .product-thumbnail img {
	display: block;
	width: 80px;
	height: 80px;
	margin: 0 auto;
	object-fit: cover;
	background: #f4f7f5;
}

body.aglo-wishlist-page .tinv-wishlist td.product-name a {
	font-family: var(--disp);
	font-size: 1.08rem;
	font-style: italic;
	color: var(--ink);
}

body.aglo-wishlist-page .tinv-wishlist td.product-price {
	font-family: var(--disp);
	font-size: 1.05rem;
	color: var(--ink);
}

body.aglo-wishlist-page .tinv-wishlist .product-stock p {
	margin: 0;
}

body.aglo-wishlist-page .tinv-wishlist .product-action {
	width: 160px;
}

body.aglo-wishlist-page .tinv-wishlist .product-action .button {
	width: 100%;
	white-space: nowrap;
}

body.aglo-wishlist-page .tinv-wishlist table tfoot td {
	padding-top: 22px;
	padding-bottom: 22px;
	border-bottom: 0;
}

body.aglo-wishlist-page .tinv-wishlist tfoot .tinvwl-to-left,
body.aglo-wishlist-page .tinv-wishlist tfoot .tinvwl-to-right {
	display: flex;
	align-items: center;
	gap: 12px;
}

body.aglo-wishlist-page .tinv-wishlist tfoot .tinvwl-to-right {
	justify-content: flex-end;
}

body.aglo-wishlist-page .tinv-wishlist tfoot .tinvwl-to-right > * {
	margin: 0;
}

body.aglo-wishlist-page .tinv-wishlist .social-buttons {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 18px;
	margin-top: 28px;
	text-align: right;
}

body.aglo-wishlist-page .tinv-wishlist .social-buttons > span {
	margin: 0;
}

body.aglo-wishlist-page .tinv-wishlist .social-buttons ul {
	display: flex;
	align-items: center;
	gap: 8px;
}

body.aglo-wishlist-page .tinv-wishlist .social-buttons li {
	float: none;
	margin: 0;
}

@media (max-width: 768px) {
	body.aglo-wishlist-page .page-content-wrap {
		padding-top: 40px;
		padding-bottom: 48px;
	}

	body.aglo-wishlist-page .page-content-wrap .entry-title {
		margin-bottom: 28px;
	}

	body.aglo-wishlist-page .tinv-wishlist table.tinvwl-table-manage-list tbody tr {
		display: block;
		margin-bottom: 20px;
		border: 1px solid var(--line);
		background: var(--bg-surface);
	}

	body.aglo-wishlist-page .tinv-wishlist table.tinvwl-table-manage-list tbody td {
		padding: 12px 16px;
	}

	body.aglo-wishlist-page .tinv-wishlist tfoot .tinvwl-to-left,
	body.aglo-wishlist-page .tinv-wishlist tfoot .tinvwl-to-right,
	body.aglo-wishlist-page .tinv-wishlist .social-buttons {
		flex-direction: column;
		align-items: stretch;
	}

	body.aglo-wishlist-page .tinv-wishlist tfoot .tinvwl-to-right > *,
	body.aglo-wishlist-page .tinv-wishlist tfoot .tinvwl-to-left > * {
		width: 100%;
		margin: 0;
	}

	body.aglo-wishlist-page .tinv-wishlist .social-buttons {
		align-items: center;
		text-align: center;
	}
}

/* WooCommerce My Account
 * Account endpoints share the generic page template, but need a full-width
 * application layout instead of the narrow article measure. */
body.woocommerce-account .page-content-wrap {
	box-sizing: border-box;
	padding-top: 64px;
	padding-bottom: 80px;
}

body.woocommerce-account .page-content-wrap .entry-title {
	margin-bottom: 38px;
}

body.woocommerce-account .page-content-wrap .entry-content {
	width: 100%;
	max-width: none;
}

body.woocommerce-account .entry-content > .woocommerce {
	display: grid;
	grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}

body.woocommerce-account .woocommerce::before,
body.woocommerce-account .woocommerce::after {
	display: none;
	content: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content {
	float: none;
	width: auto;
}

body.woocommerce-account .woocommerce-MyAccount-navigation {
	border: 1px solid var(--line);
	background: var(--bg-surface);
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--line);
}

body.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
	border-bottom: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
	position: relative;
	display: block;
	padding: 15px 20px;
	color: var(--ink-soft);
	font-size: .84rem;
	font-weight: 600;
	text-decoration: none;
	transition: background .2s ease, color .2s ease, padding-left .2s ease;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
	padding-left: 26px;
	background: rgba(63, 91, 63, .08);
	color: var(--ink);
}

body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a::before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 3px;
	background: var(--accent);
	content: "";
}

body.woocommerce-account .woocommerce-MyAccount-content {
	box-sizing: border-box;
	min-height: 310px;
	padding: 30px 34px;
	border: 1px solid var(--line);
	background: var(--bg-surface);
	color: var(--ink-soft);
}

body.woocommerce-account .woocommerce-MyAccount-content > :first-child {
	margin-top: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content > :last-child {
	margin-bottom: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content p {
	line-height: 1.7;
}

body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3,
body.woocommerce-account .woocommerce-Address-title h3 {
	margin: 0 0 20px;
	color: var(--ink);
	font-family: var(--disp);
	font-weight: var(--disp-w-reg);
}

body.woocommerce-account .woocommerce-MyAccount-content a:not(.button):not(.btn):not(.dokan-btn) {
	color: var(--accent-2);
	text-decoration-color: rgba(63, 91, 63, .45);
	text-underline-offset: 3px;
}

body.woocommerce-account .woocommerce-MyAccount-content .button,
body.woocommerce-account .woocommerce-MyAccount-content .btn,
body.woocommerce-account .dokan-btn,
body.woocommerce-account a.dokan-btn,
body.woocommerce-account a.dokan-btn:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 11px 20px;
	border: 1px solid var(--accent-2);
	border-radius: 0;
	background: var(--accent-2);
	box-shadow: none;
	color: var(--bg-page) !important;
	font-size: .76rem;
	font-weight: 600;
	letter-spacing: .05em;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
}

body.woocommerce-account .woocommerce-MyAccount-content .button:hover,
body.woocommerce-account .woocommerce-MyAccount-content .btn:hover,
body.woocommerce-account .dokan-btn:hover,
body.woocommerce-account a.dokan-btn:hover,
body.woocommerce-account .woocommerce-MyAccount-content .button:focus,
body.woocommerce-account .woocommerce-MyAccount-content .btn:focus,
body.woocommerce-account .dokan-btn:focus,
body.woocommerce-account a.dokan-btn:focus,
body.woocommerce-account .woocommerce-MyAccount-content .button:active,
body.woocommerce-account .woocommerce-MyAccount-content .btn:active,
body.woocommerce-account .dokan-btn:active,
body.woocommerce-account a.dokan-btn:active {
	border-color: var(--accent);
	background: var(--accent);
	color: var(--ink) !important;
}

body.woocommerce-account table.shop_table {
	margin: 0;
	border: 1px solid var(--line);
	background: var(--bg-page);
}

body.woocommerce-account table.shop_table th,
body.woocommerce-account table.shop_table td {
	padding: 14px 16px;
}

body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	width: 100%;
	margin: 28px 0 0;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses::before,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses::after {
	display: none !important;
	content: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .col-1,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .col-2 {
	box-sizing: border-box;
	float: none !important;
	clear: none !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0;
	margin: 0 !important;
	padding: 26px;
	border: 1px solid var(--line);
	background: var(--bg-page);
}

body.woocommerce-account .woocommerce-Address-title {
	display: flex !important;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 18px;
}

body.woocommerce-account .woocommerce-Address-title::before,
body.woocommerce-account .woocommerce-Address-title::after {
	display: none !important;
	content: none !important;
}

body.woocommerce-account .woocommerce-Address-title h2,
body.woocommerce-account .woocommerce-Address-title h3 {
	float: none !important;
	margin: 0;
	font-family: var(--disp);
	font-size: 1.45rem;
	font-weight: var(--disp-w-reg);
	line-height: 1.2;
}

body.woocommerce-account .woocommerce-Address-title .edit {
	float: none !important;
	flex: 0 0 auto;
	font-size: .78rem;
	font-weight: 600;
	white-space: nowrap;
}

body.woocommerce-account .woocommerce-Address address {
	font-style: normal;
	line-height: 1.7;
}

body.woocommerce-account form .form-row {
	margin: 0 0 18px;
}

body.woocommerce-account form label {
	display: block;
	margin-bottom: 7px;
	color: var(--ink-soft);
	font-size: .76rem;
	font-weight: 600;
}

body.woocommerce-account form input.input-text,
body.woocommerce-account form input[type="password"],
body.woocommerce-account form select,
body.woocommerce-account form textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid var(--line);
	border-radius: 0;
	background: var(--bg-page);
	color: var(--ink);
	font-family: var(--text);
}

body.woocommerce-account form fieldset {
	margin: 28px 0 20px;
	padding: 22px;
	border: 1px solid var(--line);
}

body.woocommerce-account form legend {
	padding: 0 8px;
	color: var(--ink);
	font-family: var(--disp);
	font-size: 1.1rem;
}

body.woocommerce-account .woocommerce-notices-wrapper:empty {
	display: none;
}

/* Login/register view has no account navigation. WooCommerce gives the two
 * columns legacy 48% widths; using those inside the old 560px wrapper made
 * both forms too narrow and pushed the registration content far below the
 * fold. Give this view its own responsive grid instead. */
body.woocommerce-account:not(.logged-in) .entry-content > .woocommerce {
	display: block;
	max-width: 920px;
	margin: 0 auto;
}

body.woocommerce-account:not(.logged-in) #customer_login {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

body.woocommerce-account:not(.logged-in) #customer_login::before,
body.woocommerce-account:not(.logged-in) #customer_login::after {
	display: none;
	content: none;
}

body.woocommerce-account:not(.logged-in) #customer_login > .col-1,
body.woocommerce-account:not(.logged-in) #customer_login > .col-2 {
	box-sizing: border-box;
	float: none;
	width: auto;
	min-width: 0;
}

body.woocommerce-account:not(.logged-in) #customer_login h2 {
	margin: 0 0 18px;
	font-size: clamp(1.45rem, 2vw, 1.7rem);
	line-height: 1.2;
}

body.woocommerce-account:not(.logged-in) form.login,
body.woocommerce-account:not(.logged-in) form.register {
	box-sizing: border-box;
	padding: 30px 34px;
	border: 1px solid var(--line);
	background: var(--bg-surface);
}

body.woocommerce-account:not(.logged-in) form.login > :first-child,
body.woocommerce-account:not(.logged-in) form.register > :first-child {
	margin-top: 0;
}

body.woocommerce-account:not(.logged-in) form.login > :last-child,
body.woocommerce-account:not(.logged-in) form.register > :last-child {
	margin-bottom: 0;
}

/* Single product gallery and summary: reset legacy WooCommerce floats and 48% widths
 * so both columns occupy 100% of their respective grid cells. */
body.single-product .pdp-page div.product div.images,
body.single-product .pdp-page div.product .woocommerce-product-gallery,
body.single-product div.product div.images,
body.single-product div.product .woocommerce-product-gallery {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	display: block !important;
}

body.single-product .pdp-page div.product div.summary,
body.single-product .pdp-page div.product .summary.entry-summary,
body.single-product div.product div.summary,
body.single-product div.product .summary.entry-summary {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
}

body.single-product div.product .woocommerce-product-gallery .flex-viewport {
	width: 100% !important;
	max-width: 100% !important;
}

body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
	max-width: none !important;
}

body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image {
	max-width: none !important;
}

body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper img,
body.single-product div.product .woocommerce-product-gallery .flex-viewport img,
body.single-product div.product .woocommerce-product-gallery__image img {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 !important;
	object-fit: cover !important;
	display: block !important;
	border-radius: 0 !important;
}

/* Related products: keep cards on the same full-width grid as the shop even
 * when WooCommerce or an integration adds legacy float/column rules. */
body.single-product .pdp-page div.product .related.products {
	box-sizing: border-box;
	width: 100%;
	margin: 56px 0 0;
	padding: 0;
	float: none;
	clear: both;
}

body.single-product .pdp-page div.product .related.products > h2 {
	margin: 0 0 24px;
	font-family: var(--disp);
	font-size: clamp(1.6rem, 3vw, 2rem);
	font-weight: var(--disp-w-reg);
}

body.single-product .pdp-page div.product .related.products ul.products {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 20px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.single-product .pdp-page div.product .related.products ul.products::before,
body.single-product .pdp-page div.product .related.products ul.products::after {
	display: none !important;
	content: none !important;
}

body.single-product .pdp-page div.product .related.products li.product {
	box-sizing: border-box !important;
	display: flex;
	float: none !important;
	width: auto !important;
	min-width: 0;
	max-width: none !important;
	margin: 0 !important;
}

@media (min-width: 720px) {
	body.single-product .pdp-page div.product .related.products ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media (min-width: 1024px) {
	body.single-product .pdp-page div.product .related.products ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 760px) {
	body.woocommerce-account .page-content-wrap {
		padding-top: 40px;
		padding-bottom: 52px;
	}

	body.woocommerce-account .page-content-wrap .entry-title {
		margin-bottom: 26px;
	}

	body.woocommerce-account .entry-content > .woocommerce {
		display: block;
	}

	body.woocommerce-account:not(.logged-in) #customer_login {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation {
		margin-bottom: 24px;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation ul {
		display: flex;
		overflow-x: auto;
		scrollbar-width: none;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
		display: none;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation li {
		flex: 0 0 auto;
		border-right: 1px solid var(--line);
		border-bottom: 0;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation a,
	body.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
	body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
		padding: 13px 16px;
		white-space: nowrap;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a::before {
		top: auto;
		right: 0;
		bottom: 0;
		width: auto;
		height: 3px;
	}

	body.woocommerce-account .woocommerce-MyAccount-content,
	body.woocommerce-account:not(.logged-in) form.login,
	body.woocommerce-account:not(.logged-in) form.register {
		min-height: 0;
		padding: 22px 18px;
	}

	body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses,
	body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	body.single-product .pdp-page div.product .related.products ul.products {
		grid-template-columns: 1fr !important;
	}
}

/* =========================================================
   Dokan vendor store page (store/vendor-slug)
   ========================================================= */

/* Public storefront controls. Dokan ships these in its own purple/grey
 * palette, so keep all interactive elements consistent with AGLO. */
.dokan-store-wrap {
	--aglo-store-green: #3f5b3f;
	--aglo-store-green-dark: #17281a;
	--aglo-store-gold: #c9a463;
}

/* Fix the outer wrap: use a proper max-width container */
.dokan-store-wrap {
	max-width: 1200px;
	margin-right: auto !important;
	margin-left: auto !important;
	padding: 0 40px 72px !important;
	box-sizing: border-box;
}

@media (max-width: 640px) {
	.dokan-store-wrap {
		padding: 0 20px 56px !important;
	}
}

/* Sidebar: fixed width, not percentage */
@media (min-width: 1000px) {
	.dokan-store-wrap .dokan-store-sidebar {
		flex: 0 0 260px !important;
		width: 260px !important;
		position: sticky;
		top: 80px;
		align-self: flex-start;
	}

	.dokan-store-wrap .dokan-single-store {
		flex: 1 1 0 !important;
		min-width: 0 !important;
		width: auto !important;
	}
}

/* Search button — vertically center the text */
.dokan-store-products-filter-area .search-store-products {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	line-height: 40px !important;
	vertical-align: middle !important;
}

/* Sidebar widget headings */
.dokan-store-wrap .dokan-store-sidebar .widget-title,
.dokan-store-wrap .dokan-store-sidebar h3 {
	font-family: var(--text);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ink-soft);
	margin: 0 0 14px;
}

.dokan-store-wrap .dokan-store-sidebar .dokan-store-widget {
	margin-bottom: 34px;
}

/* Match the standard shop sidebar widget: clean list, subtle dividers and
 * theme typography. Dokan's store widget uses .store-cat-stack-dokan rather
 * than WooCommerce's usual .product-categories class. */
.dokan-store-wrap .dokan-store-sidebar .dokan-store-menu .widget-title {
	margin: 0 0 16px;
	color: var(--ink);
	font-family: var(--disp);
	font-size: 1.1rem;
	font-weight: var(--disp-w-reg);
	letter-spacing: .01em;
	text-transform: none;
}

.dokan-store-wrap .dokan-store-sidebar .dokan-store-menu .store-cat-stack-dokan ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.dokan-store-wrap .dokan-store-sidebar .dokan-store-menu .store-cat-stack-dokan li {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--line);
	font-size: .88rem;
}

.dokan-store-wrap .dokan-store-sidebar .dokan-store-menu .store-cat-stack-dokan li a {
	display: block;
	margin: 0;
	padding: 10px 0;
	border: 0 !important;
	color: var(--ink) !important;
	font-family: var(--text);
	font-size: inherit;
	line-height: 1.35;
	text-decoration: none !important;
	transition: color .2s ease, padding-left .2s ease;
}

.dokan-store-wrap .dokan-store-sidebar .dokan-store-menu .store-cat-stack-dokan li a:hover,
.dokan-store-wrap .dokan-store-sidebar .dokan-store-menu .store-cat-stack-dokan li a:focus-visible {
	padding-left: 6px;
	color: var(--aglo-store-green) !important;
}

.dokan-store-widget form#dokan-form-contact-seller .dokan-form-group {
	margin-bottom: 12px;
}

.dokan-store-widget form#dokan-form-contact-seller .dokan-form-control {
	box-sizing: border-box;
	min-height: 46px;
	padding: 11px 13px;
	border: 1px solid var(--line) !important;
	border-radius: 0 !important;
	background: var(--bg-surface) !important;
	background-image: none !important;
	background-repeat: no-repeat !important;
	box-shadow: none !important;
	color: var(--ink);
	font-family: var(--text);
}

.dokan-store-widget form#dokan-form-contact-seller textarea.dokan-form-control {
	min-height: 132px;
	resize: vertical;
}

.dokan-store-widget form#dokan-form-contact-seller .dokan-form-control:focus {
	border-color: var(--aglo-store-gold) !important;
	outline: 2px solid rgba(201, 164, 99, .22) !important;
	outline-offset: 0;
}

.dokan-store-wrap .dokan-btn-theme,
.dokan-store-wrap a.dokan-btn-theme,
.dokan-store-wrap input[type="submit"].dokan-btn-theme,
.dokan-store-wrap button.dokan-btn-theme {
	min-height: 42px;
	padding: 10px 20px !important;
	border: 1px solid var(--aglo-store-green) !important;
	border-radius: 0 !important;
	background: var(--aglo-store-green) !important;
	box-shadow: none !important;
	color: #fff !important;
	font-family: var(--text);
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.dokan-store-wrap .dokan-btn-theme:hover,
.dokan-store-wrap .dokan-btn-theme:focus-visible {
	border-color: var(--aglo-store-gold) !important;
	background: var(--aglo-store-gold) !important;
	color: var(--aglo-store-green-dark) !important;
}

.dokan-store-widget form#dokan-form-contact-seller input[type="submit"] {
	float: none !important;
	display: block;
	width: 100%;
	margin: 4px 0 0;
}

/* Store navigation and share action. */
.dokan-single-store .dokan-store-tabs ul.dokan-modules-button {
	gap: 8px;
	padding: 12px 16px;
	border-color: var(--line);
	background: transparent;
}

.dokan-single-store .dokan-store-tabs ul.dokan-modules-button li {
	margin: 0 !important;
}

.dokan-single-store .dokan-store-tabs .dokan-share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	text-align: center;
	vertical-align: middle;
}

.dokan-single-store .dokan-store-tabs .dokan-share-btn i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	line-height: 1;
	vertical-align: middle;
}

.dokan-single-store .dokan-store-tabs ul.dokan-list-inline {
	margin-bottom: 24px;
	border-color: var(--line);
	background: var(--bg-surface);
}

.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li {
	margin: 0;
	border-color: var(--line);
}

.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li a {
	box-sizing: border-box;
	padding: 13px 18px;
	color: var(--ink-soft);
	font-weight: 600;
}

.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li a:hover,
.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li.active a {
	background: rgba(63, 91, 63, .08);
	color: var(--aglo-store-green-dark);
}

/* Product search: one aligned row with equally tall controls. */
.dokan-single-store .dokan-store-products-filter-area {
	margin-bottom: 30px;
}

.dokan-single-store .dokan-store-products-filter-area .dokan-store-products-ordeby {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) 112px minmax(170px, 200px);
	column-gap: 0;
	align-items: stretch;
}

.dokan-single-store .dokan-store-products-filter-area .product-name-search,
.dokan-single-store .dokan-store-products-filter-area .search-store-products,
.dokan-single-store .dokan-store-products-filter-area .orderby-search {
	box-sizing: border-box;
	float: none !important;
	height: 44px !important;
	margin: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.dokan-single-store .dokan-store-products-filter-area .product-name-search,
.dokan-single-store .dokan-store-products-filter-area .orderby-search {
	padding: 0 14px;
	border: 1px solid var(--line) !important;
	background: var(--bg-surface) !important;
	color: var(--ink);
}

.dokan-single-store .dokan-store-products-filter-area .product-name-search {
	width: 100%;
}

.dokan-single-store .dokan-store-products-filter-area .orderby-search {
	width: calc(100% - 20px);
	margin-left: 20px !important;
}

.dokan-single-store .dokan-store-products-filter-area .search-store-products {
	width: 112px !important;
	min-width: 112px;
	padding: 0 16px !important;
	border: 1px solid var(--aglo-store-green) !important;
	background: var(--aglo-store-green) !important;
	color: #fff !important;
	font-family: var(--text);
	font-size: .84rem;
	font-weight: 600;
	line-height: 42px !important;
	text-align: center;
	white-space: nowrap;
	cursor: pointer;
}

.dokan-single-store .dokan-store-products-filter-area .search-store-products:hover,
.dokan-single-store .dokan-store-products-filter-area .search-store-products:focus-visible {
	border-color: var(--aglo-store-gold) !important;
	background: var(--aglo-store-gold) !important;
	color: var(--aglo-store-green-dark) !important;
}

@media (max-width: 720px) {
	.dokan-single-store .dokan-store-products-filter-area .dokan-store-products-ordeby {
		grid-template-columns: 1fr auto;
		column-gap: 0;
	}

	.dokan-single-store .dokan-store-products-filter-area .orderby-search {
		grid-column: 1 / -1;
		width: 100%;
		margin-top: 12px !important;
		margin-left: 0 !important;
	}
}

@media (max-width: 480px) {
	.dokan-single-store .dokan-store-products-filter-area .dokan-store-products-ordeby {
		grid-template-columns: 1fr;
	}

	.dokan-single-store .dokan-store-products-filter-area .search-store-products,
	.dokan-single-store .dokan-store-products-filter-area .orderby-search {
		grid-column: auto;
		width: 100% !important;
		margin: 0 !important;
	}

	.dokan-single-store .dokan-store-products-filter-area .search-store-products {
		margin-top: 8px !important;
	}

	.dokan-single-store .dokan-store-tabs ul.dokan-list-inline {
		overflow-x: auto;
	}

	.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li {
		flex: 1 0 auto;
	}
}

/* Product grid on store page — 3 columns */
.dokan-single-store .seller-items ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 20px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

@media (max-width: 1100px) {
	.dokan-single-store .seller-items ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 640px) {
	.dokan-single-store .seller-items ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 14px !important;
	}
}

.dokan-single-store .seller-items ul.products::before,
.dokan-single-store .seller-items ul.products::after {
	display: none !important;
	content: none !important;
}

/* Product card reset — fix float/width overrides from Dokan/WC */
.dokan-single-store .seller-items ul.products li.product {
	box-sizing: border-box !important;
	float: none !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
	overflow: hidden;
}

/* Product card image — square, full width */
.dokan-single-store .seller-items ul.products li.product img {
	aspect-ratio: 1 !important;
	width: 100% !important;
	height: auto !important;
	object-fit: cover !important;
	display: block !important;
}

/* Product title — prevent wrapping issues */
.dokan-single-store .seller-items ul.products li.product .woocommerce-loop-product__title {
	font-size: .95rem !important;
	line-height: 1.3 !important;
	margin: 0 0 4px !important;
	word-break: break-word;
}

/* Price */
.dokan-single-store .seller-items ul.products li.product .price {
	font-size: 1rem !important;
	padding: 0 14px 10px !important;
}

/* Add to cart button — keep inside card, full width */
.dokan-single-store .seller-items ul.products li.product .button {
	box-sizing: border-box !important;
	width: calc(100% - 28px) !important;
	margin: 0 14px 14px !important;
	display: block !important;
	text-align: center !important;
	white-space: nowrap !important;
	text-overflow: ellipsis !important;
	overflow: hidden !important;
}

/* =========================================================
   Dokan store directory. Current Dokan markup no longer includes the
 * .store-info element targeted by parts of its bundled legacy stylesheet, so
 * define the card layout against the elements that are actually rendered. */
body.aglo-store-listing-page .page-content-wrap {
	box-sizing: border-box;
	max-width: 1200px;
	padding-top: 56px;
	padding-bottom: 80px;
}

body.aglo-store-listing-page .page-content-wrap .entry-title {
	margin-bottom: 30px;
}

body.aglo-store-listing-page .page-content-wrap .entry-content {
	width: 100%;
	max-width: none;
}

body.aglo-store-listing-page #dokan-store-listing-filter-wrap {
	box-sizing: border-box;
	gap: 20px;
	margin-bottom: 30px;
	padding: 18px 22px;
	border: 1px solid var(--line);
	background: var(--bg-surface);
	box-shadow: none;
}

body.aglo-store-listing-page #dokan-store-listing-filter-wrap .right {
	gap: 18px;
	flex-wrap: wrap;
}

body.aglo-store-listing-page #dokan-store-listing-filter-wrap .right .item.sort-by {
	margin: 0;
}

body.aglo-store-listing-page #dokan-store-listing-filter-wrap .dokan-store-list-filter-button,
body.aglo-store-listing-page #dokan-store-listing-filter-form-wrap .dokan-btn {
	border: 1px solid var(--accent-2) !important;
	border-radius: 0 !important;
	background: var(--accent-2) !important;
	box-shadow: none !important;
	color: var(--bg-page) !important;
}

body.aglo-store-listing-page #dokan-store-listing-filter-wrap .right .item select {
	min-height: 42px;
	border: 1px solid var(--line);
	border-radius: 0;
	background: var(--bg-page);
	color: var(--ink);
	font-family: var(--text);
}

body.aglo-store-listing-page #dokan-store-listing-filter-wrap .toggle-view .active {
	color: var(--accent-2);
}

body.aglo-store-listing-page #dokan-seller-listing-wrap ul.dokan-seller-wrap {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px;
	margin: 0;
	padding: 0;
}

body.aglo-store-listing-page #dokan-seller-listing-wrap ul.dokan-seller-wrap::before,
body.aglo-store-listing-page #dokan-seller-listing-wrap ul.dokan-seller-wrap::after,
body.aglo-store-listing-page #dokan-seller-listing-wrap ul.dokan-seller-wrap > .dokan-clearfix {
	display: none;
	content: none;
}

body.aglo-store-listing-page #dokan-seller-listing-wrap li.dokan-single-seller {
	box-sizing: border-box;
	float: none;
	width: auto !important;
	margin: 0;
	padding: 0;
}

body.aglo-store-listing-page #dokan-seller-listing-wrap .store-wrapper {
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--bg-surface);
	box-shadow: none;
}

body.aglo-store-listing-page #dokan-seller-listing-wrap .store-banner {
	height: 190px;
	background: rgba(63, 91, 63, .12);
}

body.aglo-store-listing-page #dokan-seller-listing-wrap .store-banner img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.aglo-store-listing-page #dokan-seller-listing-wrap.grid-view .store-content {
	position: static;
	box-sizing: border-box;
	width: auto;
	height: auto;
	min-height: 118px;
	padding: 22px 22px 12px;
	background: var(--bg-surface);
	color: var(--ink-soft);
}

body.aglo-store-listing-page #dokan-seller-listing-wrap.grid-view .store-content .store-data-container {
	padding: 0;
}

body.aglo-store-listing-page #dokan-seller-listing-wrap .store-data h2,
body.aglo-store-listing-page #dokan-seller-listing-wrap .store-data .aglo-store-name-fallback {
	margin: 0 0 10px;
	font-family: var(--disp);
	font-size: 1.5rem;
	font-weight: var(--disp-w-med);
	line-height: 1.15;
}

body.aglo-store-listing-page #dokan-seller-listing-wrap.grid-view .store-content .store-data h2 a,
body.aglo-store-listing-page #dokan-seller-listing-wrap .aglo-store-name-fallback a {
	color: var(--ink) !important;
	font-size: inherit;
	text-decoration: none;
	text-shadow: none;
}

body.aglo-store-listing-page #dokan-seller-listing-wrap .store-data p {
	color: var(--ink-soft);
	text-shadow: none;
}

body.aglo-store-listing-page #dokan-seller-listing-wrap.grid-view .store-footer {
	min-height: 58px;
	padding: 14px 20px;
	border-top: 1px solid var(--line);
	background: var(--bg-page);
}

body.aglo-store-listing-page #dokan-seller-listing-wrap .store-footer .seller-avatar {
	top: -46px;
	right: 18px;
	box-sizing: border-box;
	width: 68px;
	height: 68px;
	padding: 4px;
	border: 1px solid var(--line);
	border-radius: 50%;
	box-shadow: none;
}

body.aglo-store-listing-page #dokan-seller-listing-wrap .store-footer .seller-avatar img {
	border-radius: 50%;
}

body.aglo-store-listing-page #dokan-seller-listing-wrap .dokan-btn-theme.dokan-btn-round {
	background: var(--accent-2) !important;
	color: var(--bg-page) !important;
}

@media (max-width: 900px) {
	body.aglo-store-listing-page #dokan-seller-listing-wrap ul.dokan-seller-wrap {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	body.aglo-store-listing-page #dokan-store-listing-filter-wrap,
	body.aglo-store-listing-page #dokan-store-listing-filter-wrap .right {
		align-items: stretch;
		flex-direction: column;
	}

	body.aglo-store-listing-page #dokan-seller-listing-wrap ul.dokan-seller-wrap {
		grid-template-columns: 1fr;
	}
}

/* Dokan 4.2+ full-width vendor dashboard
 * Dokan's React dashboard defines a purple palette independently from the
 * active WordPress theme. Map those public CSS variables to AGLO's palette. */
body.dokan-dashboard-fullwidth-template,
body.dokan-dashboard-fullwidth-template .dokan-layout {
	--dokan-sidebar-background-color: #0f1f10 !important;
	--dokan-sidebar-hover-background-color: #3f5b3f !important;
	--dokan-button-background-color: #3f5b3f !important;
	--dokan-button-border-color: #3f5b3f !important;
	--dokan-button-hover-background-color: #c9a463 !important;
	--dokan-button-hover-border-color: #c9a463 !important;
	--dokan-button-hover-text-color: #17281a !important;
	--dokan-link-color: #3f5b3f !important;
	--dokan-link-hover-color: #17281a !important;
	--colors-primary-50: #f1f5ef !important;
	--colors-primary-100: #dce7d9 !important;
	--colors-primary-200: #bdcfb8 !important;
	--colors-primary-300: #91ac8e !important;
	--colors-primary-400: #607d60 !important;
	--colors-primary-500: #3f5b3f !important;
	--colors-primary-600: #314a32 !important;
	--colors-primary-700: #253b27 !important;
	--colors-primary-800: #1a2e1d !important;
	--colors-primary-900: #0f1f10 !important;
	--primary: #3f5b3f !important;
	--color-primary: #3f5b3f !important;
}

body.dokan-dashboard-fullwidth-template .dokan-frontend-sidebar {
	background-color: #0f1f10 !important;
}

body.dokan-dashboard-fullwidth-template .dokan-frontend-sidebar a:hover,
body.dokan-dashboard-fullwidth-template .dokan-frontend-sidebar a.active,
body.dokan-dashboard-fullwidth-template .dokan-frontend-sidebar a[data-active="true"] {
	background-color: #3f5b3f !important;
}

body.dokan-dashboard-fullwidth-template .dokan-frontend-sidebar .sidebar-menu-bubble,
body.dokan-dashboard-fullwidth-template .dokan-frontend-sidebar .sidebar-submenu-bubble {
	background-color: #c9a463 !important;
	color: #17281a !important;
}

/* WooCommerce block Cart
 * The generic page template has an article-width content measure; the cart
 * and its product grid need the complete AGLO content container. */
body.woocommerce-cart .page-content-wrap {
	box-sizing: border-box;
	padding-top: 56px;
	padding-bottom: 80px;
}

body.woocommerce-cart .page-content-wrap .entry-title {
	margin-bottom: 24px;
}

body.woocommerce-cart .page-content-wrap .entry-content {
	width: 100%;
	max-width: none;
}

body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 0;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wc-block-cart__empty-cart__title {
	max-width: 520px;
	margin: 0 auto 16px;
	padding: 0;
	color: var(--ink);
	font-family: var(--disp);
	font-size: 1.45rem;
	font-weight: var(--disp-w-med);
	line-height: 1.3;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wc-block-cart__empty-cart__title::before {
	position: static;
	display: block;
	width: 82px;
	height: 82px;
	margin: 0 auto 22px;
	transform: none;
	background-size: 82px;
	mask-position: center;
	mask-repeat: no-repeat;
	mask-size: 82px;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > p.has-text-align-center {
	margin: 0 auto 20px;
	text-align: center;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > p.has-text-align-center a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 20px;
	background: var(--accent-2);
	color: var(--bg-page) !important;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .04em;
	text-decoration: none;
	text-transform: uppercase;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > p.has-text-align-center a:hover {
	background: var(--accent);
	color: var(--ink) !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-separator {
	width: 42px;
	margin: 22px auto 38px;
	color: var(--ink-soft);
	opacity: .55;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > h2:not(.wc-block-cart__empty-cart__title) {
	margin: 0 0 26px;
	color: var(--ink);
	font-family: var(--disp);
	font-size: clamp(1.7rem, 3vw, 2.1rem);
	font-weight: var(--disp-w-reg);
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid {
	width: 100%;
	margin: 0;
	text-align: left;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
	width: 100%;
	margin: 0 !important;
	padding: 0;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	width: auto !important;
	max-width: none !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0 0 20px !important;
	border: 1px solid var(--line);
	background: var(--bg-surface);
	text-align: left;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-link {
	display: block;
	color: var(--ink);
	text-decoration: none;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image {
	display: block;
	width: 100%;
	margin: 0 0 18px;
	overflow: hidden;
	background: #f4f7f5;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	transition: transform .35s var(--ease);
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product:hover .wc-block-grid__product-image img {
	transform: scale(1.025);
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-rating {
	box-sizing: border-box;
	padding-right: 18px;
	padding-left: 18px;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title {
	margin: 0 0 8px;
	color: var(--ink);
	font-family: var(--disp);
	font-size: 1.08rem;
	font-style: italic;
	font-weight: var(--disp-w-reg);
	line-height: 1.3;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price {
	margin: 0 0 16px;
	color: var(--ink-soft);
	font-family: var(--disp);
	font-size: 1rem;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart {
	box-sizing: border-box;
	width: 100%;
	margin: auto 0 0;
	padding: 0 18px;
	text-align: left;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .wp-block-button__link,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart a {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 11px 20px;
	border: 1px solid var(--accent-2);
	border-radius: 0;
	background: var(--accent-2);
	color: var(--bg-page) !important;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .04em;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .wp-block-button__link:hover,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart a:hover {
	border-color: var(--accent);
	background: var(--accent);
	color: var(--ink) !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .tinv-wraper {
	box-sizing: border-box;
	margin: 16px 18px 0;
	color: var(--accent-2);
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .tinv-wraper a {
	color: var(--accent-2);
	font-size: .8rem;
}

@media (max-width: 900px) {
	body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	body.woocommerce-cart .page-content-wrap {
		padding-top: 38px;
		padding-bottom: 52px;
	}

	body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-separator {
		margin-bottom: 32px;
	}
}

/* Filled block-cart layout. */
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-cart .wc-block-cart {
	width: 100% !important;
	max-width: none !important;
}

body.woocommerce-cart .wp-block-woocommerce-filled-cart-block {
	display: grid !important;
	grid-template-columns: minmax(0, 1.75fr) minmax(300px, .85fr);
	gap: 44px;
	align-items: start;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__sidebar {
	box-sizing: border-box;
	float: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.woocommerce-cart .wc-block-cart__main {
	min-width: 0;
}

body.woocommerce-cart .wc-block-cart-items {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	border-bottom: 1px solid var(--line);
	color: var(--ink-soft);
}

body.woocommerce-cart .wc-block-cart-items thead th {
	padding: 0 16px 13px 0;
	border-bottom: 1px solid var(--line);
	color: var(--ink-soft);
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .05em;
	text-align: left;
	text-transform: uppercase;
}

body.woocommerce-cart .wc-block-cart-items thead th:last-child {
	padding-right: 0;
	text-align: right;
}

body.woocommerce-cart .wc-block-cart-items td {
	padding-top: 22px;
	padding-bottom: 22px;
	border-top: 0;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}

body.woocommerce-cart .wc-block-cart-item__image {
	width: 116px;
	padding-right: 20px !important;
}

body.woocommerce-cart .wc-block-cart-item__image img {
	display: block;
	width: 96px;
	height: 96px;
	object-fit: cover;
	background: #f4f7f5;
}

body.woocommerce-cart .wc-block-cart-item__product {
	padding-right: 20px !important;
}

body.woocommerce-cart .wc-block-components-product-name {
	color: var(--ink) !important;
	font-family: var(--disp);
	font-size: 1.1rem;
	font-style: italic;
	font-weight: var(--disp-w-reg);
	line-height: 1.3;
	text-decoration: none !important;
}

body.woocommerce-cart .wc-block-cart-item__prices,
body.woocommerce-cart .wc-block-components-product-metadata {
	margin-top: 7px;
	color: var(--ink-soft);
	font-size: .78rem;
	line-height: 1.55;
}

body.woocommerce-cart .wc-block-cart-item__quantity {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 12px;
}

body.woocommerce-cart .wc-block-components-quantity-selector {
	margin: 0;
	border: 1px solid var(--line);
	border-radius: 0;
	background: var(--bg-surface);
}

body.woocommerce-cart .wc-block-components-quantity-selector input,
body.woocommerce-cart .wc-block-components-quantity-selector button {
	min-height: 38px;
	color: var(--ink);
}

body.woocommerce-cart .wc-block-cart-item__remove-link {
	color: var(--ink-soft) !important;
	font-size: .75rem;
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.woocommerce-cart .wc-block-cart-item__remove-link:hover {
	color: var(--ink) !important;
}

body.woocommerce-cart .wc-block-cart-item__total {
	padding-right: 0 !important;
	color: var(--ink);
	font-family: var(--disp);
	font-size: 1.05rem;
	text-align: right;
}

body.woocommerce-cart .wc-block-cart__sidebar {
	padding: 26px !important;
	border: 1px solid var(--line);
	background: var(--bg-surface);
}

body.woocommerce-cart .wc-block-cart__totals-title {
	margin: 0;
	padding: 0 0 16px;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	font-family: var(--disp);
	font-size: 1.2rem;
	font-weight: var(--disp-w-med);
	letter-spacing: 0;
	text-align: left;
	text-transform: none;
}

body.woocommerce-cart .wc-block-components-totals-wrapper {
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
}

body.woocommerce-cart .wc-block-components-totals-coupon__button,
body.woocommerce-cart .wc-block-components-panel__button {
	color: var(--ink-soft) !important;
	font-family: var(--text);
}

body.woocommerce-cart .wc-block-components-totals-footer-item {
	padding: 20px 0 8px;
	color: var(--ink);
}

body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-formatted-money-amount {
	font-family: var(--disp);
	font-size: 1.35rem;
	font-weight: var(--disp-w-med);
}

body.woocommerce-cart .wc-block-components-totals-item__description {
	color: var(--ink-soft);
	font-size: .75rem;
	line-height: 1.5;
}

body.woocommerce-cart .wc-block-cart__submit {
	margin: 22px 0 0;
}

body.woocommerce-cart .wc-block-cart__submit-container {
	margin: 0;
}

body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-cart__submit-button:visited {
	box-sizing: border-box;
	width: 100%;
	min-height: 52px;
	padding: 14px 20px;
	border: 1px solid var(--accent-2);
	border-radius: 0;
	background: var(--accent-2);
	box-shadow: none;
	color: var(--bg-page) !important;
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .05em;
	text-decoration: none !important;
	text-transform: uppercase;
}

body.woocommerce-cart .wc-block-cart__submit-button:hover,
body.woocommerce-cart .wc-block-cart__submit-button:focus,
body.woocommerce-cart .wc-block-cart__submit-button:active {
	border-color: var(--accent);
	background: var(--accent);
	color: var(--ink) !important;
}

@media (max-width: 900px) {
	body.woocommerce-cart .wp-block-woocommerce-filled-cart-block {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	body.woocommerce-cart .wc-block-cart__sidebar {
		width: 100% !important;
	}
}

@media (max-width: 560px) {
	body.woocommerce-cart .wc-block-cart__sidebar {
		padding: 20px 18px !important;
	}

	body.woocommerce-cart .wc-block-cart-item__image {
		width: 82px;
		padding-right: 12px !important;
	}

	body.woocommerce-cart .wc-block-cart-item__image img {
		width: 70px;
		height: 70px;
	}

	body.woocommerce-cart .wc-block-cart-item__product {
		padding-right: 0 !important;
	}
}

/* Final checkout layout authority.
 * This sits last intentionally: WooCommerce block styles and the theme's
 * article-width rules must not be allowed to re-constrain checkout. */
.page-content-wrap.aglo-checkout-page {
	box-sizing: border-box !important;
	display: block !important;
	width: 100vw !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 48px clamp(24px, 4vw, 64px) 80px !important;
}

.page-content-wrap.aglo-checkout-page > .entry-title,
.page-content-wrap.aglo-checkout-page > .entry-content {
	box-sizing: border-box !important;
	display: block !important;
	width: 100% !important;
	max-width: 1440px !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

.page-content-wrap.aglo-checkout-page > .entry-title {
	margin-bottom: 40px !important;
}

.page-content-wrap.aglo-checkout-page .wp-block-woocommerce-checkout,
.page-content-wrap.aglo-checkout-page .wc-block-checkout,
.page-content-wrap.aglo-checkout-page .wc-block-components-sidebar-layout {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 auto !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
}

.page-content-wrap.aglo-checkout-page .wc-block-checkout,
.page-content-wrap.aglo-checkout-page .wc-block-components-sidebar-layout {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
	column-gap: clamp(40px, 5vw, 72px) !important;
	align-items: start !important;
}

.page-content-wrap.aglo-checkout-page .wc-block-components-main,
.page-content-wrap.aglo-checkout-page .wc-block-checkout__main,
.page-content-wrap.aglo-checkout-page .wc-block-components-sidebar,
.page-content-wrap.aglo-checkout-page .wc-block-checkout__sidebar {
	box-sizing: border-box !important;
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.page-content-wrap.aglo-checkout-page .wc-block-components-main,
.page-content-wrap.aglo-checkout-page .wc-block-checkout__main {
	grid-column: 1 !important;
}

.page-content-wrap.aglo-checkout-page .wc-block-components-sidebar,
.page-content-wrap.aglo-checkout-page .wc-block-checkout__sidebar {
	grid-column: 2 !important;
}

@media (max-width: 900px) {
	.page-content-wrap.aglo-checkout-page {
		padding: 40px 24px 64px !important;
	}

	.page-content-wrap.aglo-checkout-page .wc-block-checkout,
	.page-content-wrap.aglo-checkout-page .wc-block-components-sidebar-layout {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 32px !important;
	}

	.page-content-wrap.aglo-checkout-page .wc-block-components-main,
	.page-content-wrap.aglo-checkout-page .wc-block-checkout__main,
	.page-content-wrap.aglo-checkout-page .wc-block-components-sidebar,
	.page-content-wrap.aglo-checkout-page .wc-block-checkout__sidebar {
		grid-column: 1 !important;
	}
}

@media (max-width: 480px) {
	.page-content-wrap.aglo-checkout-page {
		padding: 32px 16px 56px !important;
	}
}

/* =========================================================
   Order Tracking Stages (My Account & Order Details)
   Confirmed → Payment Confirmed → Processing → Packed → Shipped → Out for Delivery → Delivered
   ========================================================= */

.aglo-order-tracking-card {
	background: #ffffff;
	border: 1px solid #e2ddd3;
	border-radius: 8px;
	padding: 28px 32px;
	margin: 0 0 36px 0;
	box-shadow: 0 4px 16px rgba(27, 61, 47, 0.04);
}

.aglo-order-tracking-card.is-terminal {
	background: #faf8f5;
	border-left: 4px solid #c5a059;
}

.aglo-order-tracking-card.is-cancelled {
	border-left-color: #b32d2e;
	background: #fffafa;
}

.aglo-order-tracking-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 32px;
	padding-bottom: 20px;
	border-bottom: 1px solid #ede8df;
}

.aglo-order-tracking-heading {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.aglo-order-tracking-heading h3 {
	margin: 0;
	font-family: var(--font-heading, "Cormorant Garamond", Georgia, serif);
	font-size: 1.45rem;
	font-weight: 700;
	color: #1b3d2f;
	line-height: 1.2;
}

.aglo-order-tracking-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 0.85rem;
	color: #555047;
}

.aglo-tracking-number-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #f4efe6;
	border: 1px solid #dfd8cc;
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 0.82rem;
	color: #1b3d2f;
}

.aglo-tracking-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.aglo-badge-processing { background: #e8f3ee; color: #1b3d2f; }
.aglo-badge-completed  { background: #e7f5ea; color: #1a7f37; }
.aglo-badge-on-hold    { background: #fdf5e6; color: #9a6700; }
.aglo-badge-pending    { background: #f6f8fa; color: #57606a; }
.aglo-badge-cancelled  { background: #ffebe9; color: #cf222e; }
.aglo-badge-refunded   { background: #f1f0ff; color: #534ab7; }
.aglo-badge-failed     { background: #ffebe9; color: #cf222e; }

/* Horizontal Stepper (Desktop) */
.aglo-tracking-stepper {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	position: relative;
	width: 100%;
}

.aglo-step {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	flex: 1;
	min-width: 0;
}

.aglo-step-marker {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-bottom: 14px;
}

.aglo-step-icon {
	position: relative;
	z-index: 2;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.85rem;
	font-weight: 700;
	background: #ffffff;
	border: 2px solid #d4cdc3;
	color: #8c8375;
	transition: all 0.3s ease;
}

.aglo-step-icon svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/* Connecting Line */
.aglo-step-line-before,
.aglo-step-line-after {
	position: absolute;
	top: 50%;
	height: 3px;
	background: #e6e0d6;
	z-index: 1;
	transform: translateY(-50%);
}

.aglo-step-line-before {
	left: 0;
	right: 50%;
}

.aglo-step-line-after {
	left: 50%;
	right: 0;
}

.aglo-step:first-child .aglo-step-line-before { display: none; }
.aglo-step:last-child .aglo-step-line-after { display: none; }

/* Completed State */
.aglo-step.is-completed .aglo-step-icon {
	background: #1b3d2f;
	border-color: #1b3d2f;
	color: #ffffff;
}

.aglo-step.is-completed .aglo-step-line-before,
.aglo-step.is-completed .aglo-step-line-after {
	background: #1b3d2f;
}

/* Active State */
.aglo-step.is-active .aglo-step-icon {
	background: #ffffff;
	border-color: #c5a059;
	color: #1b3d2f;
	box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.22);
}

.aglo-step.is-active .aglo-step-line-before {
	background: #1b3d2f;
}

.aglo-step-content {
	padding: 0 4px;
}

.aglo-step-title {
	margin: 0 0 4px 0;
	font-size: 0.88rem;
	font-weight: 600;
	color: #555047;
	line-height: 1.3;
}

.aglo-step.is-completed .aglo-step-title {
	color: #1b3d2f;
}

.aglo-step.is-active .aglo-step-title {
	color: #1b3d2f;
	font-weight: 700;
}

.aglo-step-desc {
	margin: 0;
	font-size: 0.74rem;
	color: #8c8375;
	line-height: 1.25;
	display: none;
}

/* Mobile & Tablet Responsive Stepper */
@media (max-width: 900px) {
	.aglo-order-tracking-card {
		padding: 22px 18px;
	}

	.aglo-tracking-stepper {
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
	}

	.aglo-step {
		flex-direction: row;
		align-items: flex-start;
		text-align: left;
		gap: 16px;
	}

	.aglo-step-marker {
		width: 36px;
		height: auto;
		flex-shrink: 0;
		margin-bottom: 0;
	}

	.aglo-step-icon {
		width: 32px;
		height: 32px;
		font-size: 0.78rem;
	}

	.aglo-step-line-before,
	.aglo-step-line-after {
		width: 3px;
		height: 100%;
		left: 50%;
		right: auto;
		transform: translateX(-50%);
	}

	.aglo-step-line-before {
		top: 0;
		bottom: 50%;
	}

	.aglo-step-line-after {
		top: 50%;
		bottom: 0;
	}

	.aglo-step-content {
		padding-top: 5px;
	}

	.aglo-step-desc {
		display: block;
		margin-top: 2px;
	}
}

/* My Account Orders Table - Status Column */
.aglo-order-status-cell {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.aglo-status-pill {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.2;
	width: fit-content;
}

.aglo-status-pill.status-processing { background: #e8f3ee; color: #1b3d2f; border: 1px solid #c9e2d5; }
.aglo-status-pill.status-completed  { background: #e7f5ea; color: #1a7f37; border: 1px solid #b7dfbe; }
.aglo-status-pill.status-on-hold    { background: #fdf5e6; color: #9a6700; border: 1px solid #f2dfba; }
.aglo-status-pill.status-pending    { background: #f6f8fa; color: #57606a; border: 1px solid #d0d7de; }
.aglo-status-pill.status-cancelled  { background: #ffebe9; color: #cf222e; border: 1px solid #ffc1ba; }
.aglo-status-pill.status-refunded   { background: #f1f0ff; color: #534ab7; border: 1px solid #d8d3f7; }
.aglo-status-pill.status-failed     { background: #ffebe9; color: #cf222e; border: 1px solid #ffc1ba; }

.aglo-status-mini-progress {
	width: 100%;
	max-width: 120px;
	height: 4px;
	background: #e9e4dc;
	border-radius: 2px;
	overflow: hidden;
}

.aglo-mini-bar {
	height: 100%;
	background: #1b3d2f;
	border-radius: 2px;
	transition: width 0.3s ease;
}

.aglo-status-subtext {
	font-size: 0.72rem;
	color: #767066;
	line-height: 1.2;
}

/* =========================================================
   Return / Refund Request & Refund Status Tracking
   ========================================================= */

.aglo-refund-section {
	margin: 36px 0;
}

.aglo-refund-card {
	background: #ffffff;
	border: 1px solid #e2ddd3;
	border-radius: 8px;
	padding: 28px 32px;
	box-shadow: 0 4px 16px rgba(27, 61, 47, 0.04);
}

.aglo-refund-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid #ede8df;
}

.aglo-refund-card-title {
	margin: 0;
	font-family: var(--font-heading, "Cormorant Garamond", Georgia, serif);
	font-size: 1.45rem;
	font-weight: 700;
	color: #1b3d2f;
	display: flex;
	align-items: center;
	gap: 12px;
}

.aglo-refund-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.aglo-refund-badge.status-pending   { background: #fef3d6; color: #8f5b00; border: 1px solid #f9deb1; }
.aglo-refund-badge.status-approved  { background: #e7f5ea; color: #1a7f37; border: 1px solid #b7dfbe; }
.aglo-refund-badge.status-refunded  { background: #e8f3ee; color: #1b3d2f; border: 1px solid #b9d8c8; }
.aglo-refund-badge.status-rejected  { background: #ffebe9; color: #cf222e; border: 1px solid #ffc1ba; }

.aglo-refund-tracker-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
	margin: 20px 0;
	background: #faf8f5;
	padding: 20px;
	border-radius: 6px;
	border: 1px solid #eee8dd;
}

.aglo-refund-meta-item label {
	display: block;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #767066;
	margin-bottom: 4px;
	font-weight: 600;
}

.aglo-refund-meta-item p {
	margin: 0;
	font-size: 0.95rem;
	color: #2b2723;
	font-weight: 500;
}

.aglo-refund-photos-gallery {
	margin: 20px 0;
}

.aglo-refund-photos-gallery h4 {
	font-size: 0.9rem;
	color: #1b3d2f;
	margin: 0 0 10px;
}

.aglo-refund-photo-thumbnails {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.aglo-refund-photo-thumb {
	width: 80px;
	height: 80px;
	border-radius: 6px;
	overflow: hidden;
	border: 1px solid #d4cdc3;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	display: block;
}

.aglo-refund-photo-thumb:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.aglo-refund-photo-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.aglo-refund-resolution-box {
	margin-top: 18px;
	padding: 16px 20px;
	border-radius: 6px;
	border-left: 4px solid #1b3d2f;
	background: #f7f5f0;
}

.aglo-refund-resolution-box.is-approved { border-left-color: #1a7f37; background: #f3faf4; }
.aglo-refund-resolution-box.is-rejected { border-left-color: #cf222e; background: #fff5f5; }

.aglo-refund-resolution-box h4 {
	margin: 0 0 6px;
	font-size: 0.95rem;
	font-weight: 700;
	color: #1b3d2f;
}

.aglo-refund-resolution-box p {
	margin: 0;
	font-size: 0.88rem;
	color: #4f4a43;
}

/* Return Form */
.aglo-return-form-toggle-btn {
	background: transparent;
	border: 1.5px solid #1b3d2f;
	color: #1b3d2f;
	font-weight: 600;
	padding: 10px 22px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 0.92rem;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: all 0.2s ease;
}

.aglo-return-form-toggle-btn:hover {
	background: #1b3d2f;
	color: #ffffff;
}

.aglo-return-form-wrap {
	margin-top: 24px;
	background: #faf8f5;
	border: 1px solid #ede8df;
	border-radius: 8px;
	padding: 24px 28px;
}

.aglo-return-form-group {
	margin-bottom: 20px;
}

.aglo-return-form-group label.aglo-label {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
	color: #2b2723;
	margin-bottom: 8px;
}

.aglo-return-items-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: #ffffff;
	border: 1px solid #e2ddd3;
	border-radius: 6px;
	padding: 14px 18px;
}

.aglo-return-item-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid #f2ede4;
}

.aglo-return-item-row:last-child {
	padding-bottom: 0;
	border-bottom: none;
}

.aglo-return-item-info {
	display: flex;
	align-items: center;
	gap: 10px;
}

.aglo-return-item-qty {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.85rem;
	color: #666;
}

.aglo-return-item-qty input[type="number"] {
	width: 60px;
	padding: 4px 8px;
	border: 1px solid #d4cdc3;
	border-radius: 4px;
	font-size: 0.85rem;
}

.aglo-return-form-wrap select,
.aglo-return-form-wrap textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #d4cdc3;
	border-radius: 4px;
	font-family: inherit;
	font-size: 0.9rem;
	background: #ffffff;
}

.aglo-file-dropzone {
	border: 2px dashed #d4cdc3;
	border-radius: 6px;
	padding: 24px 20px;
	text-align: center;
	background: #ffffff;
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.aglo-file-dropzone:hover,
.aglo-file-dropzone.dragover {
	border-color: #1b3d2f;
	background: #fbf9f6;
}

.aglo-file-dropzone svg {
	width: 32px;
	height: 32px;
	fill: none;
	stroke: #8c8375;
	margin-bottom: 8px;
}

.aglo-file-dropzone p {
	margin: 0;
	font-size: 0.88rem;
	color: #555047;
}

.aglo-file-dropzone span.hint {
	font-size: 0.78rem;
	color: #8c8375;
}

.aglo-file-preview-container {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 14px;
}

.aglo-file-preview-item {
	position: relative;
	width: 76px;
	height: 76px;
	border-radius: 6px;
	overflow: hidden;
	border: 1px solid #d4cdc3;
}

.aglo-file-preview-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.aglo-submit-return-btn {
	background: #1b3d2f;
	color: #ffffff;
	border: none;
	font-weight: 600;
	padding: 12px 28px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 0.95rem;
	transition: background 0.2s ease;
}

.aglo-submit-return-btn:hover {
	background: #25503e;
}

.aglo-submit-return-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.aglo-return-alert {
	padding: 12px 16px;
	border-radius: 4px;
	margin-bottom: 16px;
	font-size: 0.9rem;
}

.aglo-return-alert-success {
	background: #e7f5ea;
	color: #1a7f37;
	border: 1px solid #b7dfbe;
}

.aglo-return-alert-error {
	background: #ffebe9;
	color: #cf222e;
	border: 1px solid #ffc1ba;
}

@media (max-width: 600px) {
	.aglo-refund-card {
		padding: 20px 16px;
	}

	.aglo-return-form-wrap {
		padding: 18px 14px;
	}

	.aglo-return-item-row {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* =========================================================
   Cart-Level Stock Notification & Out-of-Stock Handling
   ========================================================= */

.aglo-cart-stock-alert {
	background: #fff8f8;
	border: 1.5px solid #e0b4b4;
	border-left: 5px solid #cf222e;
	border-radius: 6px;
	padding: 20px 24px;
	margin: 0 0 28px 0;
	box-shadow: 0 4px 12px rgba(207, 34, 46, 0.06);
}

.aglo-cart-stock-alert-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
}

.aglo-cart-stock-alert-header svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: #cf222e;
	stroke-width: 2.2;
	flex-shrink: 0;
}

.aglo-cart-stock-alert-header h3 {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	color: #9e1c23;
	font-family: inherit;
}

.aglo-cart-stock-alert-body {
	font-size: 0.92rem;
	color: #4a3b3b;
	line-height: 1.5;
}

.aglo-cart-stock-items-list {
	margin: 12px 0 16px;
	padding-left: 20px;
	color: #2b2723;
}

.aglo-cart-stock-items-list li {
	margin-bottom: 6px;
	font-size: 0.9rem;
}

.aglo-cart-stock-items-list .item-problem {
	color: #cf222e;
	font-weight: 600;
}

.aglo-cart-stock-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #f2d2d2;
}

.aglo-stock-action-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 18px;
	border-radius: 4px;
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none !important;
	cursor: pointer;
	transition: all 0.2s ease;
}

.aglo-stock-action-btn.btn-remove-out {
	background: #cf222e;
	color: #ffffff !important;
	border: 1px solid #b51c27;
}

.aglo-stock-action-btn.btn-remove-out:hover {
	background: #ab1721;
}

.aglo-stock-action-btn.btn-adjust-qty {
	background: #ffffff;
	color: #8f5b00 !important;
	border: 1.5px solid #d4a742;
}

.aglo-stock-action-btn.btn-adjust-qty:hover {
	background: #fdfaf3;
}

/* Item-level stock badge in cart / checkout table */
.aglo-cart-stock-tag {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 3px;
	margin-left: 8px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	vertical-align: middle;
}

.aglo-cart-stock-tag.is-out {
	background: #ffebe9;
	color: #cf222e;
	border: 1px solid #ffc1ba;
}

.aglo-cart-stock-tag.is-limited {
	background: #fef3d6;
	color: #8f5b00;
	border: 1px solid #f9deb1;
}

/* Cart row highlight for out-of-stock items */
tr.woocommerce-cart-form__cart-item.aglo-item-out-of-stock {
	background-color: #fff9f9 !important;
}

tr.woocommerce-cart-form__cart-item.aglo-item-out-of-stock td.product-name a {
	color: #8c8375;
}

/* Information & Policy Pages Styles */
.aglo-information-page .aglo-contact-heading {
	background: #f8f6f0;
	padding: 48px 0 36px;
	border-bottom: 1px solid #e8e3d5;
	text-align: center;
}

.aglo-information-page .aglo-contact-heading h1 {
	font-size: 2.5rem;
	color: #1b3d2f;
	margin: 0 0 10px;
	font-family: var(--disp, serif);
}

.aglo-info-subtitle {
	font-size: 1.05rem;
	color: #5c6b61;
	max-width: 640px;
	margin: 0 auto;
	line-height: 1.5;
}

.aglo-info-nav-wrapper {
	background: #ffffff;
	border-bottom: 1px solid #eae5d9;
	padding: 16px 0;
	position: sticky;
	top: 0;
	z-index: 20;
	box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.aglo-info-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	justify-content: center;
	align-items: center;
}

.aglo-info-nav-link {
	display: inline-block;
	padding: 8px 18px;
	border-radius: 30px;
	font-size: 0.9rem;
	font-weight: 500;
	color: #3e4f45;
	background: #f3efe6;
	text-decoration: none;
	transition: all 0.2s ease;
}

.aglo-info-nav-link:hover {
	background: #e3dccb;
	color: #1b3d2f;
}

.aglo-info-nav-link.is-active {
	background: #1b3d2f;
	color: #ffffff !important;
	font-weight: 600;
	box-shadow: 0 2px 6px rgba(27,61,47,0.25);
}

.aglo-information-content {
	max-width: 900px;
	margin: 0 auto;
	padding: 40px 20px 80px;
}

.aglo-information-item {
	background: #ffffff;
	border: 1px solid #e5e0d3;
	border-radius: 12px;
	margin-bottom: 18px;
	padding: 22px 26px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.02);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.aglo-information-item[open] {
	border-color: #c9bfab;
	box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.aglo-information-item summary {
	font-size: 1.2rem;
	font-weight: 600;
	color: #1b3d2f;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.aglo-information-item summary::-webkit-details-marker {
	display: none;
}

.aglo-information-item summary::after {
	content: '+';
	font-size: 1.4rem;
	font-weight: 400;
	color: #8c7b64;
	transition: transform 0.2s ease;
}

.aglo-information-item[open] summary::after {
	content: '−';
	color: #1b3d2f;
}

.aglo-information-item .aglo-info-body {
	margin-top: 16px;
	color: #4a5750;
	line-height: 1.7;
	font-size: 0.98rem;
	border-top: 1px solid #f2ede4;
	padding-top: 16px;
}

.aglo-information-item .aglo-info-body p {
	margin: 0 0 12px;
}

.aglo-information-item .aglo-info-body p:last-child {
	margin-bottom: 0;
}

.aglo-information-item .aglo-info-body ul,
.aglo-information-item .aglo-info-body ol {
	margin: 10px 0 14px 20px;
	padding: 0;
}

.aglo-information-item .aglo-info-body li {
	margin-bottom: 8px;
	line-height: 1.6;
}

.aglo-information-item .aglo-info-body a {
	color: #1b3d2f;
	font-weight: 600;
	text-decoration: underline;
}

.aglo-info-contact-card {
	background: #f5f2e9;
	border: 1px solid #dfd8c8;
	border-radius: 14px;
	padding: 28px 32px;
	margin-top: 48px;
	text-align: center;
}

.aglo-info-contact-card h3 {
	margin: 0 0 8px;
	color: #1b3d2f;
	font-size: 1.35rem;
}

.aglo-info-contact-card p {
	color: #55635b;
	margin: 0 0 18px;
	font-size: 0.96rem;
}

.aglo-info-contact-btns {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

.aglo-info-contact-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 22px;
	border-radius: 8px;
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.aglo-info-contact-btn.btn-email {
	background: #1b3d2f;
	color: #ffffff !important;
}

.aglo-info-contact-btn.btn-whatsapp {
	background: #25d366;
	color: #ffffff !important;
}

.aglo-info-contact-btn.btn-phone {
	background: #ffffff;
	color: #1b3d2f !important;
	border: 1px solid #1b3d2f;
}

.aglo-info-contact-btn:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

/* Dokan Store Card Styling for Homepage */
.vendor-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
}

.vendor-card.aglo-dokan-card {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid #e7e2d4;
	border-radius: 16px;
	overflow: hidden;
	padding: 0 !important;
	text-decoration: none;
	box-shadow: 0 4px 16px rgba(0,0,0,0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	position: relative;
}

.vendor-card.aglo-dokan-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 28px rgba(27,61,47,0.12);
	border-color: #1b3d2f;
}

.v-card-banner {
	height: 140px;
	width: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	background-color: #1b3d2f;
}

.v-banner-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #1b3d2f 0%, #2d5a46 50%, #153226 100%);
	opacity: 0.95;
}

.v-card-body {
	padding: 18px 20px 20px;
	position: relative;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	background: #ffffff;
}

.v-card-avatar-wrap {
	position: absolute;
	top: -36px;
	right: 20px;
	z-index: 2;
}

.v-card-logo-img {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	object-fit: cover;
	border: 3.5px solid #ffffff;
	box-shadow: 0 4px 12px rgba(0,0,0,0.12);
	background: #ffffff;
}

.v-card-avatar-wrap .v-avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	border: 3.5px solid #ffffff;
	box-shadow: 0 4px 12px rgba(0,0,0,0.12);
	background: #1b3d2f;
	color: #ffffff;
	font-size: 1.5rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.v-card-info {
	margin-top: 10px;
	padding-right: 48px;
}

.v-card-info h4 {
	font-family: var(--disp, serif);
	font-size: 1.25rem;
	font-weight: 600;
	color: #1b3d2f;
	margin: 0 0 6px;
	line-height: 1.3;
}

.v-card-info .v-location {
	font-size: 0.88rem;
	color: #637369;
	margin: 0 0 6px;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.v-card-info .v-phone {
	font-size: 0.84rem;
	color: #7a8a80;
	margin: 0;
	font-weight: 500;
}

.v-card-action {
	margin-top: 16px;
	display: flex;
	align-items: center;
}

.v-arrow-btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #1b3d2f;
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, transform 0.2s ease;
}

.vendor-card.aglo-dokan-card:hover .v-arrow-btn {
	background: #25523f;
	transform: translateX(3px);
}

/* ==========================================================================
   Header Navbar & WooCommerce Sale Badge Fixes
   ========================================================================== */

/* 1. Ensure topbar navbar sits above all page components (gallery triggers, images, overlays) on scroll */
.topbar,
header.site-header,
.site-header {
	position: sticky !important;
	top: 0 !important;
	z-index: 9999 !important;
}

/* Respect WordPress admin bar offset for sticky navbar */
body.admin-bar .topbar,
body.admin-bar header.site-header {
	top: 32px !important;
}

@media screen and (max-width: 782px) {
	body.admin-bar .topbar,
	body.admin-bar header.site-header {
		top: 46px !important;
	}
}

/* Ensure modal overlays (search panel, mobile menu drawer) open above topbar */
.aglo-search-panel,
.mobile-menu-panel {
	z-index: 10000 !important;
}

/* Ensure gallery zoom/search triggers stay under topbar when scrolling */
.woocommerce div.product div.woocommerce-product-gallery .woocommerce-product-gallery__trigger,
.woocommerce-product-gallery__trigger {
	z-index: 9 !important;
}

/* 2. Fix Sale Badge on single product page & product listings:
      Position as a compact pill badge on the top-left of product image without stretching or overlapping search icon */
.woocommerce span.onsale,
.woocommerce div.product span.onsale,
body.single-product div.product span.onsale,
body.single-product .pdp-page div.product span.onsale,
.woocommerce ul.products li.product span.onsale {
	position: absolute !important;
	top: 12px !important;
	left: 12px !important;
	right: auto !important;
	bottom: auto !important;
	z-index: 15 !important;
	display: inline-block !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: max-content !important;
	height: auto !important;
	min-height: 0 !important;
	line-height: 1.2 !important;
	padding: 5px 12px !important;
	border-radius: 999px !important;
	background: var(--accent-2, #1b3d2f) !important;
	color: #ffffff !important;
	font-size: 0.72rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.05em !important;
	text-transform: uppercase !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
	margin: 0 !important;
	float: none !important;
	clear: none !important;
	grid-column: auto !important;
	grid-row: auto !important;
	justify-self: start !important;
	align-self: start !important;
}

/* 3. Multi-image Product Gallery Fix:
      Allow WooCommerce Flexslider JS to calculate dynamic track width (e.g. 400%) and slide width (e.g. 25%) */
.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper,
body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
	max-width: none !important;
	width: auto;
}

.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__image,
body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image {
	max-width: none !important;
}

/* 4. Mobile Responsive WooCommerce Product Tabs (Description, Reviews, Additional Info, More Products) */
.woocommerce div.product .woocommerce-tabs,
body.single-product .pdp-page div.product .woocommerce-tabs {
	margin-top: 48px !important;
	border-top: 1px solid var(--line, #eae5d9) !important;
	border-bottom: none !important;
	border-left: none !important;
	border-right: none !important;
	grid-column: 1 / -1 !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	clear: both !important;
}

/* Horizontal scrollable tab strip for smooth touch navigation without title wrapping */
.woocommerce div.product .woocommerce-tabs ul.tabs,
body.single-product div.product .woocommerce-tabs ul.tabs,
ul.tabs.wc-tabs {
	display: flex !important;
	flex-wrap: nowrap !important;
	overflow-x: auto !important;
	-webkit-overflow-scrolling: touch !important;
	scrollbar-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-bottom: 1px solid var(--line, #eae5d9) !important;
	list-style: none !important;
	background: transparent !important;
	width: 100% !important;
	box-sizing: border-box !important;
	gap: 4px !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::-webkit-scrollbar,
ul.tabs.wc-tabs::-webkit-scrollbar {
	display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li,
body.single-product div.product .woocommerce-tabs ul.tabs li,
ul.tabs.wc-tabs li {
	flex: 0 0 auto !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	border: none !important;
	border-radius: 0 !important;
	float: none !important;
	list-style: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after,
ul.tabs.wc-tabs li::before,
ul.tabs.wc-tabs li::after {
	display: none !important;
	content: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a,
body.single-product div.product .woocommerce-tabs ul.tabs li a,
ul.tabs.wc-tabs li a {
	display: inline-block !important;
	padding: 14px 22px !important;
	font-family: var(--text, inherit) !important;
	font-size: 0.82rem !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.06em !important;
	color: var(--ink-soft, #666666) !important;
	text-decoration: none !important;
	border: none !important;
	border-bottom: 2px solid transparent !important;
	margin-bottom: -1px !important;
	white-space: nowrap !important;
	background: transparent !important;
	transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover,
body.single-product div.product .woocommerce-tabs ul.tabs li a:hover,
ul.tabs.wc-tabs li a:hover {
	color: var(--ink, #1b3d2f) !important;
}

@media screen and (max-width: 639px) {
	.woocommerce div.product .woocommerce-tabs ul.tabs li a,
	body.single-product div.product .woocommerce-tabs ul.tabs li a,
	ul.tabs.wc-tabs li a {
		padding: 12px 14px !important;
		font-size: 0.78rem !important;
	}
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
body.single-product div.product .woocommerce-tabs ul.tabs li.active a,
ul.tabs.wc-tabs li.active a {
	color: var(--ink, #1b3d2f) !important;
	font-weight: 700 !important;
	border-bottom-color: var(--accent, #1b3d2f) !important;
	background: transparent !important;
}

/* Tab Panels Mobile Responsiveness & Clean Borderless Presentation */
.woocommerce div.product .woocommerce-tabs .panel,
body.single-product .pdp-page div.product .woocommerce-tabs .panel,
.woocommerce-Tabs-panel {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
	padding: 28px 0 !important;
	margin: 0 !important;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	background: transparent !important;
	color: var(--ink-soft, #4a4a4a) !important;
	font-size: 0.98rem !important;
	line-height: 1.75 !important;
}

/* Eliminate redundant repeated headings inside all tabs */
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child,
.woocommerce div.product .woocommerce-tabs #tab-description > h2,
.woocommerce div.product .woocommerce-tabs #tab-additional_information > h2,
.woocommerce div.product .woocommerce-tabs .woocommerce-Reviews-title {
	display: none !important;
}

.woocommerce div.product .woocommerce-tabs #tab-description p {
	max-width: 72ch !important;
	margin: 0 0 16px !important;
	color: var(--ink-soft, #4a4a4a) !important;
}

/* Table Responsiveness & Clean Styling for Additional Information Tab */
.woocommerce div.product .woocommerce-tabs .panel table.woocommerce-product-attributes {
	width: 100% !important;
	max-width: 580px !important;
	border: none !important;
	border-collapse: collapse !important;
	margin: 4px 0 20px !important;
}

.woocommerce div.product .woocommerce-tabs .panel table.woocommerce-product-attributes tr {
	border-bottom: 1px solid var(--line, #eae5d9) !important;
}

.woocommerce div.product .woocommerce-tabs .panel table.woocommerce-product-attributes th,
.woocommerce div.product .woocommerce-tabs .panel table.woocommerce-product-attributes td {
	padding: 12px 14px 12px 0 !important;
	border: none !important;
	background: transparent !important;
	vertical-align: top !important;
}

.woocommerce div.product .woocommerce-tabs .panel table.woocommerce-product-attributes th {
	font-weight: 600 !important;
	font-size: 0.82rem !important;
	text-transform: uppercase !important;
	letter-spacing: 0.05em !important;
	color: var(--ink, #1b3d2f) !important;
	width: 160px !important;
}

.woocommerce div.product .woocommerce-tabs .panel table.woocommerce-product-attributes td {
	font-size: 0.92rem !important;
	color: var(--ink-soft, #4a4a4a) !important;
	font-style: normal !important;
}

/* Vendor / More Products Tab Responsiveness */
body.single-product #tab-more_seller_product {
	box-sizing: border-box !important;
	padding: 24px 0 !important;
	width: 100% !important;
}

body.single-product #tab-more_seller_product ul.products {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 14px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

@media screen and (max-width: 480px) {
	body.single-product #tab-more_seller_product ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
	}
}

/* ==========================================================================
   Manufacturer Pages (Manufacturer Stn & Manufacturer AF)
   ========================================================================== */

.aglo-manufacturer-page {
	background-color: var(--bg-page, #f8f2e6);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%232e5b3f' stroke-width='1.2' stroke-opacity='0.15' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M30 20 C15 30 15 50 30 60 C45 70 65 55 55 35 C48 20 38 15 30 20 Z'/%3E%3Cpath d='M33 28 C25 35 25 45 33 52'/%3E%3Cpath d='M110 30 C125 15 145 25 140 45 C135 65 115 65 105 50 C95 35 100 20 110 30 Z'/%3E%3Cpath d='M115 33 C122 25 132 30 130 42'/%3E%3Cpath d='M40 110 C25 115 20 135 35 145 C50 155 65 140 60 120 C55 105 45 105 40 110 Z'/%3E%3Cpath d='M120 105 C135 110 145 130 130 145 C115 160 95 145 105 125 C110 110 115 100 120 105 Z'/%3E%3Cpath d='M80 70 C70 60 90 40 100 50 C110 60 90 80 80 70 Z'/%3E%3C/g%3E%3C/svg%3E");
	background-repeat: repeat;
	padding: 60px 20px 90px;
	min-height: 65vh;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

.aglo-manufacturer-container {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
}

.aglo-manufacturer-card {
	background: #ffffff;
	border: 2px solid var(--accent-2, #2e5b3f);
	border-radius: 16px;
	padding: 48px 56px;
	box-shadow: 0 12px 36px rgba(27, 61, 47, 0.08), 0 2px 8px rgba(0, 0, 0, 0.03);
	box-sizing: border-box;
	transition: box-shadow 0.3s ease;
}

.aglo-manufacturer-card:hover {
	box-shadow: 0 16px 44px rgba(27, 61, 47, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.aglo-mfg-heading {
	font-family: var(--text, 'Work Sans', system-ui, sans-serif);
	font-size: 2.1rem;
	font-weight: 700;
	color: var(--accent-2, #2e5b3f);
	text-align: center;
	margin: 0 0 38px;
	letter-spacing: -0.01em;
	line-height: 1.25;
}

.aglo-mfg-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.aglo-mfg-item {
	padding: 24px 0;
}

.aglo-mfg-item:first-child {
	padding-top: 0;
}

.aglo-mfg-item:last-child {
	padding-bottom: 0;
}

.aglo-mfg-item + .aglo-mfg-item {
	border-top: 1px solid rgba(23, 40, 26, 0.12);
}

.aglo-mfg-name {
	font-family: var(--disp, 'Cormorant Garamond', Georgia, serif);
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--accent-2, #2e5b3f);
	margin: 0 0 10px;
	letter-spacing: 0.01em;
	line-height: 1.3;
}

.aglo-mfg-address {
	font-family: var(--text, 'Work Sans', system-ui, sans-serif);
	font-size: 0.95rem;
	color: #333333;
	line-height: 1.6;
	margin: 0 0 8px;
}

.aglo-mfg-fssai {
	font-family: var(--text, 'Work Sans', system-ui, sans-serif);
	font-size: 0.9rem;
	color: #444444;
	font-weight: 500;
	margin: 0;
}

@media screen and (max-width: 768px) {
	.aglo-manufacturer-page {
		padding: 36px 16px 60px;
	}

	.aglo-manufacturer-card {
		padding: 32px 24px;
		border-radius: 12px;
	}

	.aglo-mfg-heading {
		font-size: 1.65rem;
		margin-bottom: 28px;
	}

	.aglo-mfg-name {
		font-size: 1.15rem;
	}

	.aglo-mfg-address {
		font-size: 0.9rem;
	}

	.aglo-mfg-fssai {
		font-size: 0.85rem;
	}
}
