/**
 * Brīvībai WooCommerce Custom Styles
 * CRO-optimized product pages matching Finclix dark theme.
 *
 * Colors:
 *   Background:   #0b1d1c
 *   Accent/CTA:   #C8F169
 *   Text primary:  #ffffff
 *   Text secondary: rgba(255,255,255,0.65)
 *   Cards:         rgba(255,255,255,0.05)
 *   Stars:         #f5a623
 *   Borders:       rgba(255,255,255,0.1)
 */

/* ── Page Title ─────────────────────────────────── */
.page-title--product {
	min-height: 160px;
	padding: 140px 0 40px 0;
}

/* ── Main Wrapper ─────────────────────────────────── */
.brivibai-woocommerce-main {
	/* Uses default light theme background */
}

/* ── Product Detail Section ────────────────────── */
.brivibai-product-detail {
	padding-top: 60px;
	padding-bottom: 40px;
}

/* Gallery */
.brivibai-product-gallery {
	position: sticky;
	top: 100px;
}

.product-gallery__main {
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 16px;
	background: #f6f6f6;
}

.product-gallery__image {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.3s ease;
}

.product-gallery__main:hover .product-gallery__image {
	transform: scale(1.02);
}

.product-gallery__thumbs {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.product-gallery__thumb {
	width: 72px;
	height: 72px;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	border: 2px solid transparent;
	transition: border-color 0.2s ease;
}

.product-gallery__thumb.active,
.product-gallery__thumb:hover {
	border-color: #144443;
}

.product-gallery__thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-gallery__placeholder img {
	width: 100%;
	border-radius: 12px;
}

/* Product Info */
.brivibai-product-info {
	padding-left: 10px;
}

/* Star Rating */
.product-info__rating {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.product-info__stars .fa-star {
	color: #f5a623;
	font-size: 16px;
}

.product-info__review-count {
	color: #646464;
	font-size: 14px;
	text-decoration: none;
	transition: color 0.2s;
}

.product-info__review-count:hover {
	color: #144443;
}

/* Title */
.product-info__title {
	font-size: 32px;
	font-weight: 700;
	color: #0b3130;
	margin-bottom: 12px;
	line-height: 1.2;
}

/* Subtitle */
.product-info__subtitle {
	color: #646464;
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 20px;
}

/* Price */
.product-info__price {
	margin-bottom: 24px;
}

.product-info__price .price,
.product-info__price .woocommerce-Price-amount,
.woocommerce-variation-price .price,
.woocommerce-variation-price .woocommerce-Price-amount {
	font-size: 36px !important;
	font-weight: 700 !important;
	color: #144443 !important;
}

.woocommerce-variation-price {
	margin-bottom: 0 !important;
	margin-top: 5px;
}

.product-info__price del .woocommerce-Price-amount {
	font-size: 22px !important;
	color: #999999 !important;
}

.product-info__price ins {
	text-decoration: none;
}

/* Add to Cart */
.product-info__atc {
	margin-bottom: 24px;
}

main.brivibai-woocommerce-main .product-info__atc .single_add_to_cart_button {
	width: 100%;
	background: linear-gradient(90deg, #C8F169 0%, #039397 100%) !important;
	color: #0b1d1c !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 16px 32px !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	cursor: pointer;
	transition: all 0.3s ease;
	min-height: 56px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	display: flex;
	align-items: center;
	justify-content: center;
}

main.brivibai-woocommerce-main .product-info__atc .single_add_to_cart_button:hover {
	background: linear-gradient(90deg, #d4f97a 0%, #039397 100%) !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(200,241,105,0.3);
}

.product-info__atc .quantity,
form.cart .quantity,
.woocommerce-variation-add-to-cart .quantity {
	display: none !important; /* Hide quantity for digital products */
    margin: 0 !important;
    padding: 0 !important;
}

.product-info__atc form.cart {
	margin: 0;
	padding: 0;
}

/* Subscription options styling */
.product-info__atc .wcsatt-options-wrapper {
	display: none !important;
}

.product-info__atc .wcsatt-options-wrapper label {
	color: #0b3130;
	font-size: 15px;
}

.product-info__atc .wcsatt-options-wrapper .wcsatt-options-prompt {
	color: #646464;
	margin-bottom: 10px;
}

/* ── Trust Badges ──────────────────────────────── */
.brivibai-trust-badges {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px;
	background: #f6f6f6;
	border: 1px solid #eaeaea;
	border-radius: 10px;
	margin-bottom: 24px;
}

.trust-badge {
	display: flex;
	align-items: center;
	gap: 10px;
}

.trust-badge__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.trust-badge__text {
	color: #0b3130;
	font-size: 14px;
	font-weight: 500;
}

/* ── Founder Authority Block ───────────────────── */
.product-info__founder {
	margin-top: 4px;
}

.founder-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px;
	background: #f6f6f6;
	border: 1px solid #eaeaea;
	border-radius: 10px;
}

.founder-card__avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid rgba(200,241,105,0.3);
}

.founder-card__name {
	display: block;
	color: #0b3130;
	font-size: 14px;
	font-weight: 600;
}

.founder-card__link {
	color: #144443;
	font-size: 13px;
	text-decoration: none;
	transition: opacity 0.2s;
}

.founder-card__link:hover {
	opacity: 0.8;
	color: #144443;
}

/* ── What's Included Section ───────────────────── */
.brivibai-whats-included {
	background: #f6f6f6;
}

.includes-card {
	padding: 30px;
	background: #f6f6f6;
	border: 1px solid #eaeaea;
	border-radius: 12px;
	height: 100%;
	transition: all 0.3s ease;
}

.includes-card:hover {
	background: #f6f6f6;
	border-color: rgba(200,241,105,0.2);
	transform: translateY(-4px);
}

.includes-card__icon {
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, rgba(200,241,105,0.15), rgba(200,241,105,0.05));
	border-radius: 12px;
	margin-bottom: 20px;
}

.includes-card__icon .fa-solid {
	font-size: 22px;
	color: #144443;
}

.includes-card__title {
	color: #0b3130;
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 10px;
}

.includes-card__desc {
	color: #646464;
	font-size: 14px;
	line-height: 1.6;
	margin: 0;
}

/* ── How It Works Section ──────────────────────── */
.step-card {
	text-align: center;
	padding: 30px 20px;
	position: relative;
}

.step-card__number {
	position: absolute;
	top: 10px;
	right: 20px;
	font-size: 48px;
	font-weight: 800;
	color: rgba(200,241,105,0.08);
	line-height: 1;
}

.step-card__icon {
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #C8F169, #9cd44a);
	border-radius: 50%;
	margin: 0 auto 20px;
}

.step-card__icon .fa-solid {
	font-size: 24px;
	color: #0b1d1c;
}

.step-card__title {
	color: #0b3130;
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 10px;
}

.step-card__desc {
	color: #646464;
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
}

/* ── Video Reviews Section ─────────────────────── */
.video-review-card {
	border-radius: 12px;
	overflow: hidden;
	background: #f6f6f6;
	border: 1px solid #eaeaea;
}

.video-review-card__player {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	background: #000;
}

.video-review-card__caption {
	padding: 16px 20px;
	color: #646464;
	font-size: 14px;
	margin: 0;
	text-align: center;
}

/* ── Written Reviews Section ───────────────────── */
.reviews-summary {
	margin-top: 16px;
}

.reviews-summary__stars .fa-star {
	color: #f5a623;
	font-size: 20px;
}

.reviews-summary__text {
	display: block;
	color: #646464;
	font-size: 15px;
	margin-top: 8px;
}

.review-card {
	padding: 28px;
	background: #f6f6f6;
	border: 1px solid #eaeaea;
	border-radius: 12px;
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: all 0.3s ease;
}

.review-card:hover {
	background: #f6f6f6;
	border-color: rgba(200,241,105,0.15);
}

.review-card__header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
}

.review-card__avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid rgba(200,241,105,0.2);
}

.review-card__name {
	color: #0b3130;
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 4px;
}

.review-card__stars .fa-star {
	color: #f5a623;
	font-size: 13px;
}

.review-card__text {
	color: #646464;
	font-size: 14px;
	line-height: 1.65;
	flex-grow: 1;
	margin-bottom: 14px;
	font-style: italic;
}

.review-card__badge {
	display: inline-block;
	padding: 4px 12px;
	background: rgba(200,241,105,0.1);
	color: #144443;
	font-size: 12px;
	font-weight: 600;
	border-radius: 20px;
	align-self: flex-start;
}

/* ── FAQ Section ───────────────────────────────── */
.faq-block {
	padding: 28px;
	background: #f6f6f6;
	border: 1px solid #eaeaea;
	border-radius: 12px;
	margin-bottom: 16px;
	transition: all 0.3s ease;
}

.faq-block:hover {
	background: #f6f6f6;
	border-color: rgba(200,241,105,0.15);
}

.faq-block__question {
	color: #0b3130;
	font-size: 17px;
	font-weight: 600;
	margin-bottom: 12px;
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.faq-block__question .fa-circle-question {
	color: #144443;
	font-size: 20px;
	margin-top: 2px;
	flex-shrink: 0;
}

.faq-block__answer {
	color: #646464;
	font-size: 15px;
	line-height: 1.65;
	margin: 0;
	padding-left: 30px;
}

/* ── Cross-sell Section ────────────────────────── */
.cross-sell-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 30px 36px;
	background: linear-gradient(135deg, rgba(200,241,105,0.25), rgba(200,241,105,0.08));
	border: 1px solid rgba(200,241,105,0.4);
	border-radius: 12px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.cross-sell-card:hover {
	background: linear-gradient(135deg, rgba(200,241,105,0.35), rgba(200,241,105,0.15));
	border-color: rgba(200,241,105,0.6);
	transform: translateY(-2px);
	box-shadow: 0 8px 32px rgba(200,241,105,0.1);
	text-decoration: none;
}

.cross-sell-card__title {
	color: #0b3130;
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 6px;
}

.cross-sell-card__desc {
	color: #646464;
	font-size: 14px;
	margin-bottom: 8px;
}

.cross-sell-card__price {
	color: #144443;
	font-size: 18px;
	font-weight: 700;
}

.cross-sell-card__arrow {
	flex-shrink: 0;
	margin-left: 20px;
	opacity: 0.6;
	transition: opacity 0.2s;
}

.cross-sell-card:hover .cross-sell-card__arrow {
	opacity: 1;
}

/* ── WooCommerce Overrides ─────────────────────── */
.woocommerce-main {
	background: #0b1d1c;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	background: #ffffff !important;
	border: 1px solid rgba(19, 59, 58, 0.08) !important;
	border-radius: 12px !important;
	box-shadow: 0 10px 30px rgba(19, 59, 58, 0.05) !important;
	padding: 22px 30px 22px 64px !important;
	color: #133B3A !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	margin-bottom: 30px !important;
	position: relative !important;
	line-height: 1.6 !important;
}

.woocommerce-message {
	border-left: 4px solid #8DC63F !important;
}

.woocommerce-info {
	border-left: 4px solid #039397 !important;
}

.woocommerce-error {
	border-left: 4px solid #d9534f !important;
	background-color: #fffafb !important;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	font-family: "Font Awesome 6 Free" !important;
	font-weight: 900 !important;
	position: absolute !important;
	left: 24px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	font-size: 20px !important;
}

.woocommerce-message::before {
	content: "\f058" !important;
	color: #8DC63F !important;
}

.woocommerce-info::before {
	content: "\f05a" !important;
	color: #039397 !important;
}

.woocommerce-error::before {
	content: "\f06a" !important;
	color: #d9534f !important;
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
	float: right !important;
	margin: -6px 0 !important;
	background: linear-gradient(90deg, #C8F169 0%, #039397 100%) !important;
	color: #0b1d1c !important;
	border: none !important;
	border-radius: 30px !important;
	padding: 8px 20px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
	text-decoration: none !important;
	display: inline-block !important;
	line-height: 1.5 !important;
	box-shadow: 0 4px 10px rgba(3, 147, 151, 0.15) !important;
}

.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-error .button:hover {
	background: linear-gradient(90deg, #d4f97a 0%, #039397 100%) !important;
	transform: translateY(-1.5px) !important;
	box-shadow: 0 6px 15px rgba(200, 241, 105, 0.25) !important;
}

@media (max-width: 767px) {
	.woocommerce-message,
	.woocommerce-info,
	.woocommerce-error {
		padding: 20px 20px 20px 48px !important;
	}
	.woocommerce-message::before,
	.woocommerce-info::before,
	.woocommerce-error::before {
		left: 18px !important;
		top: 24px !important;
		transform: none !important;
	}
	.woocommerce-message .button,
	.woocommerce-info .button,
	.woocommerce-error .button {
		float: none !important;
		display: block !important;
		text-align: center !important;
		margin: 15px 0 0 0 !important;
		width: 100% !important;
	}
}

/* WooCommerce Variation forms */
.product-info__atc .variations {
	margin-bottom: 16px;
}

.product-info__atc .variations td,
.product-info__atc .variations th {
	padding: 8px 0;
	border: none;
}

.product-info__atc .variations label {
	color: #0b3130;
	font-weight: 600;
}

.product-info__atc .variations select {
	background: #eaeaea;
	border: 1px solid #eaeaea;
	color: #0b3130;
	border-radius: 8px;
	padding: 10px 14px;
}

/* ── Hero Social Proof Badges (homepage) ───────── */
.hero-social-proof {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 20px;
	margin-bottom: 10px;
}

.proof-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	background: #eaeaea;
	border: 1px solid #eaeaea;
	border-radius: 100px;
	color: #0b3130;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.3s ease;
	backdrop-filter: blur(8px);
}

.proof-badge:hover {
	background: rgba(200,241,105,0.12);
	border-color: rgba(200,241,105,0.3);
	color: #144443;
	text-decoration: none;
}

/* ── Pricing Guarantee Badge (homepage) ────────── */
.pricing-guarantee {
	text-align: center;
	padding: 12px 20px;
	margin-top: 16px;
	margin-bottom: 8px;
}

.pricing-guarantee span {
	color: rgba(200,241,105,0.8);
	font-size: 15px;
	font-weight: 500;
}

/* ── Why Brīvībai Comparison Section ───────────── */
.brivibai-comparison {
	padding: 80px 0;
}

.comparison-table {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	align-items: center;
}

.comparison-col {
	padding: 0 0 20px 0;
	border-radius: 16px;
	transition: all 0.3s ease;
	background: #ffffff;
	overflow: hidden;
}

.comparison-col--without {
	border: 1px solid #e5e5e5;
	box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.comparison-col--with {
	background: #133B3A;
	border: 1px solid #133B3A;
	box-shadow: 0 15px 35px rgba(19, 59, 58, 0.2);
	transform: scale(1.03);
	position: relative;
}

.comparison-col--with::before {
	content: "RECOMMENDED";
	position: absolute;
	top: 15px;
	right: -35px;
	background: #8DC63F;
	color: #133B3A;
	font-size: 10px;
	font-weight: 800;
	padding: 5px 40px;
	transform: rotate(45deg);
	letter-spacing: 1px;
	z-index: 10;
	text-transform: uppercase;
}

.comparison-col__header {
	padding: 30px 28px;
	text-align: center;
	font-size: 22px;
	font-weight: 700;
	border-bottom: 1px solid rgba(0,0,0,0.05);
}

.comparison-col--without .comparison-col__header {
	color: #444444;
}

.comparison-col--with .comparison-col__header {
	color: #ffffff;
	border-bottom: 1px solid rgba(255,255,255,0.08);
}

.comparison-row {
	padding: 18px 30px;
	font-size: 15px;
	line-height: 1.5;
	display: flex;
	align-items: center;
	gap: 15px;
	min-height: 60px;
	font-weight: 500;
}

.comparison-col--without .comparison-row {
	color: #666666;
}

.comparison-col--with .comparison-row {
	color: #ffffff;
}

.comparison-row__icon {
	flex-shrink: 0;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
}

.comparison-col--without .comparison-row__icon {
	color: #e74c3c;
	background: rgba(231, 76, 60, 0.1);
}

.comparison-col--with .comparison-row__icon {
	color: #133B3A;
	background: #8DC63F;
}

@media (max-width: 991px) {
	.comparison-table {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.comparison-col--with {
		transform: none;
	}
}

/* ── Mobile Responsive ─────────────────────────── */
@media (max-width: 991px) {
	.brivibai-product-gallery {
		position: static;
	}

	.brivibai-product-info {
		padding-left: 0;
		padding-top: 20px;
	}

	.product-info__title {
		font-size: 26px;
	}

	.product-info__price .price,
	.product-info__price .woocommerce-Price-amount {
		font-size: 28px;
	}
}

@media (max-width: 767px) {
	.brivibai-product-detail {
		padding-top: 30px;
		padding-bottom: 20px;
	}

	.product-info__title {
		font-size: 22px;
	}

	.page-title--product {
		display: none !important;
	}

	.hero-social-proof {
		justify-content: center;
	}

	.comparison-table {
		grid-template-columns: 1fr;
	}

	.cross-sell-card {
		flex-direction: column;
		text-align: center;
		gap: 16px;
		padding: 24px;
	}

	.cross-sell-card__arrow {
		margin-left: 0;
	}

	.brivibai-trust-badges {
		padding: 16px;
	}

	.faq-block__answer {
		padding-left: 0;
	}
}

/* ── Why Brīvībai Comparison Table (Homepage) ── */
.brivibai-comparison .comparison-table {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	margin-top: 50px;
}

.comparison-col {
	flex: 1;
	min-width: 300px;
	border-radius: 20px;
	padding: 45px 40px;
	background: #fbfbfb;
	border: 1px solid #eeeeee;
	box-shadow: 0 4px 20px rgba(0,0,0,0.02);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comparison-col--with {
	background: #f4f6eb;
	border-color: #dce6bc;
	box-shadow: 0 10px 40px rgba(141, 198, 63, 0.15);
	position: relative;
	transform: scale(1.02);
}

/* The Recommended Ribbon */
.comparison-col--with::before {
	content: "RECOMMENDED";
	position: absolute;
	top: 32px;
	right: -45px;
	background: #8DC63F;
	color: #133B3A;
	font-size: 11px;
	font-weight: 800;
	padding: 8px 45px;
	transform: rotate(45deg);
	letter-spacing: 1px;
	box-shadow: 0 4px 12px rgba(141, 198, 63, 0.3);
	z-index: 10;
	text-transform: uppercase;
}

.comparison-col__header {
	font-size: 24px;
	font-weight: 700;
	color: #5a6665;
	margin-bottom: 35px;
	padding-bottom: 25px;
	border-bottom: 1px solid #eaeaea;
	text-align: center;
}

.comparison-col--with .comparison-col__header {
	color: #133B3A;
	border-bottom-color: rgba(141, 198, 63, 0.4);
}

.comparison-row {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 22px;
	color: #5a6665;
	font-size: 16px;
	font-weight: 500;
}

.comparison-row:last-child {
	margin-bottom: 0;
}

.comparison-col--with .comparison-row {
	color: #133B3A;
	font-weight: 600;
}

.comparison-row__icon {
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: bold;
}

.comparison-col--without .comparison-row__icon {
	color: #e74c3c;
	background: #ffecec;
}

.comparison-col--with .comparison-row__icon {
	color: #ffffff;
	background: #8DC63F;
	box-shadow: 0 4px 10px rgba(141, 198, 63, 0.3);
}

/* Pricing Guarantee Badge (Homepage) */
.pricing-guarantee {
	text-align: center;
	margin: 20px 0 40px 0;
}
.pricing-guarantee span {
	display: inline-block;
	background: rgba(200, 241, 105, 0.1);
	border: 1px solid rgba(200, 241, 105, 0.3);
	color: #144443;
	padding: 10px 20px;
	border-radius: 50px;
	font-weight: 500;
	font-size: 15px;
}

/* Hero Social Proof (Homepage) */
.hero-social-proof {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
	margin-top: 30px;
}
.proof-badge {
	display: inline-flex;
	align-items: center;
	background: #f6f6f6;
	border: 1px solid #eaeaea;
	color: #0b3130;
	padding: 8px 16px;
	border-radius: 50px;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s ease;
	text-decoration: none;
}
a.proof-badge:hover {
	background: rgba(200, 241, 105, 0.1);
	border-color: rgba(200, 241, 105, 0.3);
	color: #144443;
}

/* ── WooCommerce Cart Page Styles ──────────────────────── */

/* Success Message */
/* Success Message styles handled in main notices section */

/* Cart Table */
.woocommerce table.shop_table {
    border: none !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    background-color: #ffffff;
}
.woocommerce table.shop_table tbody tr,
.woocommerce table.shop_table tbody tr:nth-child(2n) {
    background-color: #ffffff !important;
}
.woocommerce table.shop_table th {
    background-color: #f4f7ed;
    color: #133B3A;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    border-bottom: 2px solid #eaeaea;
    padding: 20px;
}
.woocommerce table.shop_table td {
    background-color: transparent !important;
    border-top: 1px solid #f2f2f2;
    padding: 20px;
    vertical-align: middle;
}
.woocommerce table.shop_table td.actions {
    padding: 30px 20px;
    background-color: #ffffff !important;
}
.woocommerce table.shop_table tbody tr:hover {
    background-color: #fafafa !important;
}

/* Quantity Input */
.woocommerce table.shop_table .quantity input.qty {
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 10px;
    background-color: #ffffff;
    color: #133B3A;
    max-width: 80px;
    text-align: center;
}

/* Product Name & Links */
.woocommerce table.shop_table td.product-name a {
    color: #133B3A;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
}
.woocommerce table.shop_table td.product-name a:hover {
    color: #8DC63F;
}

/* Remove Icon */
.woocommerce a.remove {
    color: #ff4d4d !important;
    font-size: 20px;
    font-weight: 400;
    transition: all 0.3s ease;
}
.woocommerce a.remove:hover {
    background: #ff4d4d !important;
    color: #fff !important;
}

/* Cart Buttons (Apply Coupon, Update Cart) */
.woocommerce-cart table.cart td.actions .coupon {
    display: flex;
    gap: 15px;
    align-items: center;
}
.woocommerce-cart table.cart td.actions .coupon .input-text {
    border: 1px solid #eaeaea;
    background-color: #f9f9f9;
    color: #133B3A;
    border-radius: 50px;
    padding: 0 24px !important;
    min-width: 220px;
    height: 48px !important;
    box-sizing: border-box;
    box-shadow: none !important;
    outline: none;
    line-height: 46px;
}
.woocommerce-cart table.cart td.actions .button {
    background-color: #ffffff;
    color: #133B3A;
    border-radius: 50px;
    padding: 0 30px !important;
    height: 48px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-weight: 600;
    border: 1px solid #133B3A;
    transition: all 0.3s ease;
}
.woocommerce-cart table.cart td.actions .button:hover {
    background-color: #133B3A;
    color: #ffffff;
}

/* Cart Totals Section */
.cart-collaterals .cart_totals {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.05);
    padding: 40px !important;
    border: 1px solid #eaeaea;
}
.cart-collaterals .cart_totals h2 {
    color: #133B3A;
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 28px;
}
.woocommerce-cart .cart-collaterals .cart_totals table {
    border-collapse: collapse !important;
    width: 100%;
}
.woocommerce-cart .cart-collaterals .cart_totals table tr {
    border-bottom: 1px solid #eaeaea;
}
.woocommerce-cart .cart-collaterals .cart_totals table tr:last-child {
    border-bottom: none;
}
.woocommerce-cart .cart-collaterals .cart_totals table th {
    font-weight: 600;
    color: #133B3A;
    background-color: transparent !important;
    border: none !important;
    padding: 20px 15px !important;
}
.woocommerce-cart .cart-collaterals .cart_totals table td {
    background-color: transparent !important;
    border: none !important;
    padding: 20px 15px !important;
}

/* Checkout Button */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background-color: #8DC63F !important;
    color: #133B3A !important;
    border-radius: 50px;
    padding: 18px 30px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 8px 20px rgba(141, 198, 63, 0.3);
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background-color: #a0d855 !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(141, 198, 63, 0.4);
}

/* ── WooCommerce Blocks Checkout Styling ─────────────────── */

/* Global Block Overrides */
.wc-block-checkout,
.wp-block-woocommerce-checkout {
    background-color: transparent !important;
    font-family: inherit !important;
}

/* Heading Typography */
.wc-block-checkout h1,
.wc-block-checkout h2,
.wc-block-checkout h3,
.wc-block-checkout h4,
.wc-block-checkout .wc-block-components-title {
    color: #133B3A !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px !important;
}

/* Sidebar (Order Summary) as a Premium Card */
.wc-block-checkout .wc-block-components-sidebar,
.wc-block-checkout__sidebar {
    background-color: #ffffff !important;
    border: 1px solid rgba(19, 59, 58, 0.08) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(19, 59, 58, 0.04) !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Sidebar Title Padding */
.wc-block-checkout .wc-block-components-sidebar .wc-block-components-sidebar-header,
.wc-block-checkout .wc-block-components-sidebar h2 {
    padding: 24px 30px 12px 30px !important;
    margin: 0 !important;
    color: #133B3A !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

/* Sidebar Inner Items Paddings */
.wc-block-checkout .wc-block-components-order-summary,
.wc-block-checkout .wc-block-checkout__sidebar-items,
.wc-block-checkout .wc-block-components-order-summary-list,
.wc-block-checkout .wc-block-components-product-summary {
    padding-left: 30px !important;
    padding-right: 30px !important;
    padding-bottom: 15px !important;
    background-color: #ffffff !important;
}

/* Panel Reset to fix weird lines on mobile order summary */
.wc-block-checkout .wc-block-components-panel {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.wc-block-checkout .wc-block-components-panel__button {
    color: #039397 !important;
    font-weight: 600 !important;
    padding: 20px 30px !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    border: 1px solid rgba(19, 59, 58, 0.08) !important;
}

.wc-block-checkout .wc-block-components-totals-coupon-link {
    color: #039397 !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
    padding: 20px 30px !important;
}

/* Coupon Form Fields */
.wc-block-checkout .wc-block-components-totals-coupon-form {
    padding: 0 30px 20px 30px !important;
}

.wc-block-checkout .wc-block-components-totals-coupon-form input {
    border: 1px solid #eaeaea !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    background-color: #f9f9f9 !important;
}

.wc-block-checkout .wc-block-components-totals-coupon-form button {
    background: #133B3A !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.wc-block-checkout .wc-block-components-totals-coupon-form button:hover {
    background: #039397 !important;
    color: #ffffff !important;
}

/* Totals Wrapper & Details */
.wc-block-checkout .wc-block-components-totals-wrapper {
    border: none !important;
    padding: 12px 0 !important;
    background-color: #ffffff !important;
    margin: 0 !important;
}

.wc-block-checkout .wc-block-components-totals-item {
    border: none !important;
    padding: 12px 30px !important;
    margin: 0 !important;
}

/* Hide empty or hidden totals rows to prevent empty spacing gaps */
.wc-block-checkout .wc-block-components-totals-item:empty,
.wc-block-checkout .wc-block-components-totals-item[aria-hidden="true"],
.wc-block-checkout .wc-block-components-totals-item--hidden {
    display: none !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 0 !important;
    border: none !important;
}

/* Text Inputs & Comboboxes (Fields) */
.wc-block-checkout .wc-block-components-text-input input,
.wc-block-checkout .wc-block-components-text-input select,
.wc-block-checkout .wc-block-components-combobox .wc-block-components-combobox-control {
    border: 1px solid rgba(19, 59, 58, 0.15) !important;
    background-color: #ffffff !important;
    border-radius: 8px !important;
    color: #133B3A !important;
    font-size: 15px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02) !important;
}


/* Input Focus States */
.wc-block-checkout .wc-block-components-text-input input:focus,
.wc-block-checkout .wc-block-components-text-input select:focus,
.wc-block-checkout .wc-block-components-combobox .wc-block-components-combobox-control:focus-within {
    border-color: #039397 !important;
    box-shadow: 0 0 0 3px rgba(3, 147, 151, 0.1) !important;
    outline: none !important;
}

/* Adjust label size and color to match the design (small and dark teal) */
.wc-block-checkout .wc-block-components-text-input label,
.wc-block-checkout .wc-block-components-combobox label {
    font-size: 12px !important;
    color: #133B3A !important;
    font-weight: 600 !important;
}

.wc-block-checkout .wc-block-components-totals-item__value {
    color: #133B3A !important;
    font-weight: 700 !important;
}

/* Totals Footer Card Background & Highlight */
.wc-block-checkout .wc-block-components-totals-footer-item {
    border-top: 1px solid rgba(19, 59, 58, 0.1) !important;
    padding: 24px 30px !important;
    background-color: #f7f9f4 !important; /* soft theme sage green tint */
    margin: 0 !important;
}

.wc-block-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 20px !important;
}



/* Payment Options Blocks */
.wc-block-checkout .wc-block-checkout__payment-method,
.wc-block-checkout .wc-block-components-radio-control {
    border: 1px solid rgba(19, 59, 58, 0.1) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    background: #ffffff !important;
    margin-bottom: 12px !important;
    transition: all 0.2s ease !important;
}

/* Selected Payment Method styling */
.wc-block-checkout .wc-block-checkout__payment-method--selected,
.wc-block-checkout .wc-block-components-radio-control--selected {
    border-color: #039397 !important;
    background: #f4fbfa !important; /* very light teal */
    box-shadow: 0 4px 15px rgba(3, 147, 151, 0.05) !important;
}

.wc-block-checkout .wc-block-components-radio-control input[type="radio"] {
    accent-color: #039397 !important;
    width: 20px !important;
    height: 20px !important;
}

.wc-block-checkout input[type="checkbox"] {
    accent-color: #039397 !important;
    border-radius: 4px !important;
}

/* Place Order Button */
.wc-block-checkout .wc-block-components-checkout-place-order-button,
.wc-block-checkout .wc-block-components-button {
    background: linear-gradient(90deg, #C8F169 0%, #039397 100%) !important;
    color: #0b1d1c !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 16px 32px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 15px rgba(3, 147, 151, 0.2) !important;
    width: auto !important;
    min-width: 260px !important;
    max-width: 380px !important;
    flex-grow: 1 !important;
    height: 54px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    margin-left: auto !important; /* Pushes the button to the right end on desktop */
    margin-top: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
}

.wc-block-checkout .wc-block-components-checkout-place-order-button:hover,
.wc-block-checkout .wc-block-components-button:hover {
    background: linear-gradient(90deg, #d4f97a 0%, #039397 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(200, 241, 105, 0.35) !important;
}

/* Checkout Actions Wrapper & Return to Cart Link Layout */
.wc-block-checkout__actions,
.wc-block-components-checkout-actions {
    display: flex !important;
    flex-flow: row wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    margin-top: 30px !important;
    box-sizing: border-box !important;
}

.wc-block-checkout__actions a,
.wc-block-components-checkout-return-to-cart-link {
    color: #133B3A !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
    transition: color 0.2s ease !important;
}

.wc-block-checkout__actions a:hover,
.wc-block-components-checkout-return-to-cart-link:hover {
    color: #039397 !important;
}

.wc-block-checkout__actions a .wc-block-components-checkout-return-to-cart-link__arrow,
.wc-block-components-checkout-return-to-cart-link__arrow {
    display: inline-block !important;
    font-size: 18px !important;
    transition: transform 0.2s ease !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
}

.wc-block-checkout__actions a:hover .wc-block-components-checkout-return-to-cart-link__arrow,
.wc-block-components-checkout-return-to-cart-link:hover .wc-block-components-checkout-return-to-cart-link__arrow {
    transform: translateX(-4px) !important;
}

@media (max-width: 991px) {
    .wc-block-checkout__actions,
    .wc-block-components-checkout-actions,
    .wp-block-woocommerce-checkout-actions-block {
        flex-direction: column-reverse !important;
        align-items: center !important;
        gap: 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 10px !important;
    }
    .wc-block-checkout .wc-block-components-checkout-place-order-button,
    .wc-block-checkout .wc-block-components-button {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 10px 0 !important; /* Stack gap below button */
    }
    .wc-block-checkout__actions a,
    .wc-block-components-checkout-return-to-cart-link {
        margin-right: 0 !important;
        padding: 20px 10px !important; /* Increased padding */
        display: block !important;
        text-align: center !important;
        margin-top: 15px !important;
    }
}


/* ── Shop Page "View Cart" Button (After AJAX Add to Cart) ── */
a.added_to_cart {
    display: block !important;
    width: 100% !important;
    flex-basis: 100% !important; /* Forces wrap in flex containers */
    margin-top: 12px !important;
    font-size: 14px !important;
    color: #039397 !important; /* Brand teal */
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-align: center !important;
    transition: color 0.3s ease !important;
    clear: both !important;
}

a.added_to_cart:hover {
    color: #133B3A !important; /* Brand dark green */
}

/* Ensure flex containers wrap for the added cart link */
ul.products li.product,
.wc-block-grid__product,
.wc-block-grid__product-add-to-cart,
.product-button-container {
    flex-wrap: wrap !important;
    justify-content: center !important;
}

/* ── Product Purchase Layout Reordering ──────────────────────────────── */
.product-purchase-wrapper {
    display: flex;
    flex-direction: column;
}
/* Main 'From' Price (Small at bottom) */
.product-purchase-wrapper .product-info__price {
    order: 3;
    margin: 0;
}
.product-purchase-wrapper .product-info__price .price {
    margin-top: 10px;
    margin-bottom: 15px;
    display: inline-block;
}
.product-purchase-wrapper .product-info__price .price,
.product-purchase-wrapper .product-info__price .woocommerce-Price-amount {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #646464 !important;
}
/* Add to cart wrapper */
.product-purchase-wrapper .product-info__atc {
    order: 2;
    margin-bottom: 0;
}

/* Variations Form Reordering */
form.variations_form {
    display: flex;
    flex-direction: column;
}
form.variations_form .single_variation_wrap {
    display: contents; 
}
form.variations_form .woocommerce-variation {
    order: 1; /* Big price at top */
    margin-bottom: 0;
}
form.variations_form table.variations {
    order: 2; /* Dropdown in middle */
    margin-top: 0 !important;
    padding-top: 0 !important;
}
form.variations_form .woocommerce-variation-add-to-cart {
    order: 3; /* Add to cart button */
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ── Custom Select Dropdown ──────────────────────────────── */
table.variations {
    width: 100%;
    border-collapse: separate;
    margin-bottom: 0 !important;
}
table.variations tbody,
table.variations tr,
table.variations td {
    display: block;
    width: 100%;
    border: none;
    padding: 0;
    text-align: left;
}
table.variations td.label {
    padding-bottom: 4px;
    font-weight: 600;
    color: #0b3130;
}
table.variations td.value {
    margin-bottom: 0;
}
table.variations select {
    width: 100%;
    padding: 14px 45px 14px 20px;
    background-color: #ffffff;
    border: 1px solid rgba(19, 59, 58, 0.15);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #133b3a;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23133b3a" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 12px;
}
table.variations select:focus {
    outline: none;
    border-color: #039397;
    box-shadow: 0 0 0 3px rgba(3,147,151,0.1);
}

/* ── Clear Variations Link ──────────────────────────────── */
.reset_variations {
    display: inline-flex !important;
    align-items: center;
    margin-top: 10px;
    font-size: 13px;
    color: #8c9b9a !important;
    text-decoration: none !important;
    background: #f6f6f6;
    padding: 6px 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-weight: 500;
}
.reset_variations::before {
    content: "×";
    font-size: 18px;
    font-weight: 600;
    margin-right: 6px;
    line-height: 1;
}
.reset_variations:hover {
    background: #ffe6e6;
    color: #ff4d4d !important;
}

/* ── Mobile Footer Spacing Overrides ────────────────────────────────── */
@media (max-width: 767.98px) {
    /* Separate stacked footer columns/blocks on mobile */
    .footer-widget-wrapper.style-2 .footer-widget-items {
        margin-top: 45px !important;
        margin-bottom: 10px !important;
    }
    
    .footer-widget-wrapper.style-2 .widget-title {
        margin-bottom: 20px !important;
    }
}
/* Fix Checkout Login Button */
.wc-block-checkout .wc-block-components-checkout-login-prompt,
.wc-block-checkout .wc-block-components-checkout-login-prompt__button,
.wc-block-checkout button.wc-block-components-button.wc-block-components-checkout-login-prompt__button,
.wc-block-checkout__login-prompt,
.wc-block-components-checkout-step__heading-content {
    position: relative !important;
    z-index: 999 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Ensure all login prompt elements are clickable and visible */
.wc-block-checkout .wc-block-components-checkout-login-prompt *,
.wc-block-checkout__login-prompt *,
.wc-block-components-checkout-step__heading-content * {
    pointer-events: auto !important;
}

/* Fix WooCommerce Block login modal z-index if it's a modal */
.wc-block-checkout .wc-block-components-modal__content {
    z-index: 99999 !important;
    pointer-events: auto !important;
}
.wc-block-checkout .wc-block-components-modal__screen-overlay {
    z-index: 99998 !important;
}

/* WPML styles moved to style.css to apply globally */

/* ── WooCommerce My Account Redesign ─────────────────────────────────── */

.woocommerce-account .page-title--product {
    padding-top: 140px;
}

.woocommerce-account .woocommerce {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    padding-bottom: 80px;
}

/* Sidebar Navigation */
.woocommerce-MyAccount-navigation {
    flex: 0 0 280px;
    background: #144443;
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 15px 35px rgba(20, 68, 67, 0.15);
}

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

.woocommerce-MyAccount-navigation ul li {
    margin-bottom: 8px !important;
    border-bottom: none !important;
}

.woocommerce-MyAccount-navigation ul li:last-child {
    margin-bottom: 0 !important;
}

.woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none !important;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.woocommerce-MyAccount-navigation ul li a::before {
    content: "→";
    margin-right: 12px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: #C8F169;
}

.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    transform: translateX(5px);
}

.woocommerce-MyAccount-navigation ul li.is-active a::before,
.woocommerce-MyAccount-navigation ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    color: #C8F169;
}

/* Content Area */
.woocommerce-MyAccount-content {
    flex: 1;
    min-width: 0; /* prevent flex blowout */
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.woocommerce-MyAccount-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.woocommerce-MyAccount-content a {
    color: #144443;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.woocommerce-MyAccount-content a:hover {
    color: #C8F169;
}

.woocommerce-MyAccount-content mark {
    background: transparent;
    color: #144443;
    font-weight: 700;
}

/* Account Forms & Tables */
.woocommerce-MyAccount-content h1,
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3,
.woocommerce-MyAccount-content header.title h3 {
    font-size: 24px !important;
    color: #144443;
    margin-bottom: 25px;
    font-weight: 600;
    line-height: 1.3;
}

.woocommerce-MyAccount-content fieldset {
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
}

.woocommerce-MyAccount-content legend {
    font-size: 18px;
    font-weight: 600;
    color: #144443;
    padding: 0 10px;
}

/* WooCommerce Default Tables (Orders, Downloads) */
.woocommerce-MyAccount-content table.shop_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.woocommerce-MyAccount-content table.shop_table th {
    background: #144443;
    color: #fff;
    padding: 15px 20px;
    font-weight: 500;
    text-align: left;
    border: none;
}

.woocommerce-MyAccount-content table.shop_table td {
    padding: 15px 20px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.woocommerce-MyAccount-content table.shop_table tbody tr:last-child td {
    border-bottom: none;
}

/* Buttons in Account Area */
.woocommerce-MyAccount-content .button {
    background-color: #C8F169;
    color: #144443 !important;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
}

.woocommerce-MyAccount-content .button:hover {
    background-color: #144443;
    color: #C8F169 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(20, 68, 67, 0.2);
}

/* Addresses */
.woocommerce-MyAccount-content .u-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}
.woocommerce-MyAccount-content .u-column1,
.woocommerce-MyAccount-content .u-column2 {
    flex: 1;
    min-width: 250px;
    background: #fcfcfc;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 15px;
}

/* Addresses Title */
.woocommerce-MyAccount-content .title h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Form Inputs inside Account */
.woocommerce-MyAccount-content .woocommerce-Input {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    background-color: #fcfcfc;
    transition: all 0.3s ease;
}

.woocommerce-MyAccount-content .woocommerce-Input:focus {
    border-color: #144443;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 68, 67, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
        gap: 20px;
    }
    
    .woocommerce-MyAccount-navigation {
        flex: none;
        width: 100%;
        padding: 20px 10px;
    }
    
    .woocommerce-MyAccount-content {
        padding: 25px 20px;
    }
    
    .woocommerce-MyAccount-content table.shop_table {
        display: block;
        overflow-x: auto;
    }
    
    /* Fix Cart overflow on mobile */
    .woocommerce-cart .woocommerce-cart-form {
        overflow-x: hidden;
        width: 100%;
    }
    .woocommerce-cart table.cart,
    .woocommerce-cart table.cart tbody,
    .woocommerce-cart table.cart tr,
    .woocommerce-cart table.cart td {
        width: 100% !important;
        box-sizing: border-box !important;
        word-wrap: break-word !important;
        white-space: normal !important;
    }
    .woocommerce-cart table.cart td.actions {
        display: flex !important;
        flex-direction: column;
        gap: 15px;
    }
    .woocommerce-cart table.cart td.actions .coupon {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .woocommerce-cart table.cart td.actions .coupon .input-text,
    .woocommerce-cart table.cart td.actions .button {
        width: 100% !important;
        min-width: 0 !important;
    }
}

/* Account Login / Register Forms (Both Single and Split) */

/* General Form Reset */
.woocommerce-account .woocommerce form.login,
.woocommerce-account .woocommerce form.register {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Centered Single Login Form */
.woocommerce-account .woocommerce > h2 + form.login,
.woocommerce-account .woocommerce > form.login {
    max-width: 550px;
    margin: 0 auto 60px auto !important;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

/* Center the headings when logged out */
body.woocommerce-account:not(.logged-in) h1.mb-4,
body.woocommerce-account:not(.logged-in) .page-title--product,
body.woocommerce-account:not(.logged-in) .page-title {
    text-align: center !important;
    margin-bottom: 30px !important;
}

/* Hide the internal "Login" heading */
body.woocommerce-account:not(.logged-in) .woocommerce > h2 {
    display: none !important;
}

/* Split Forms Wrapper */
.woocommerce-account .woocommerce > #customer_login {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.woocommerce-account .woocommerce > #customer_login .u-column1,
.woocommerce-account .woocommerce > #customer_login .u-column2 {
    flex: 1;
    min-width: 300px;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.woocommerce-account .woocommerce > #customer_login h2 {
    font-size: 24px;
    color: #144443;
    margin-bottom: 25px;
    font-weight: 600;
}

/* Form Fields */
.woocommerce-account .woocommerce form.login .form-row,
.woocommerce-account .woocommerce form.register .form-row {
    margin-bottom: 20px;
}

.woocommerce-account .woocommerce form.login input.input-text,
.woocommerce-account .woocommerce form.register input.input-text {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    background-color: #fcfcfc;
    transition: all 0.3s ease;
}

.woocommerce-account .woocommerce form.login input.input-text:focus,
.woocommerce-account .woocommerce form.register input.input-text:focus {
    border-color: #144443;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 68, 67, 0.1);
}

.woocommerce-account .woocommerce form.login .button,
.woocommerce-account .woocommerce form.register .button {
    background-color: #C8F169;
    color: #144443 !important;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    display: inline-block;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
    text-align: center;
}

.woocommerce-account .woocommerce form.login .button:hover,
.woocommerce-account .woocommerce form.register .button:hover {
    background-color: #144443;
    color: #C8F169 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(20, 68, 67, 0.2);
}

.woocommerce-account .woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 8px;
}

.woocommerce-account .woocommerce-LostPassword {
    margin-top: 15px;
    text-align: center;
}

.woocommerce-account .woocommerce-LostPassword a {
    color: #144443;
    text-decoration: underline;
    font-size: 14px;
}

.woocommerce-account .woocommerce-LostPassword a:hover {
    color: #C8F169;
}

/* Memberships Internal Navigation */
.wc-memberships-member-navigation,
.wc-memberships-membership-navigation,
.woocommerce-MyAccount-content ul.wc-memberships-frontend-member-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 30px 0 !important;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px !important;
}

.wc-memberships-member-navigation li,
.wc-memberships-membership-navigation li,
.woocommerce-MyAccount-content ul.wc-memberships-frontend-member-nav li {
    margin: 0 !important;
    padding: 0 !important;
}

.wc-memberships-member-navigation li a,
.wc-memberships-membership-navigation li a,
.woocommerce-MyAccount-content ul.wc-memberships-frontend-member-nav li a {
    display: inline-block;
    padding: 10px 20px;
    background: #f8f8f8;
    color: #555;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.wc-memberships-member-navigation li.active a,
.wc-memberships-member-navigation li a:hover,
.wc-memberships-membership-navigation li.active a,
.wc-memberships-membership-navigation li a:hover,
.woocommerce-MyAccount-content ul.wc-memberships-frontend-member-nav li.active a,
.woocommerce-MyAccount-content ul.wc-memberships-frontend-member-nav li a:hover {
    background: #144443;
    color: #C8F169;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(20,68,67,0.15);
}
