/* Gold Commerce Engine Styles - RTL & Persian Typography */
.gc-tablo-wrapper {
	background: #ffffff;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	padding: 24px;
	margin: 20px 0;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	font-family: inherit;
}

.gc-tablo-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 2px solid #f3f3f3;
	padding-bottom: 16px;
	margin-bottom: 20px;
	flex-wrap: wrap;
	gap: 12px;
}

.gc-tablo-title h3 {
	margin: 0 0 6px 0;
	font-size: 1.35rem;
	color: #222;
	font-weight: 700;
}

.gc-market-pulse {
	display: inline-flex;
	align-items: center;
	font-size: 0.85rem;
	color: #2e7d32;
	background: #e8f5e9;
	padding: 3px 10px;
	border-radius: 20px;
	font-weight: 600;
}

.gc-pulse-dot {
	width: 8px;
	height: 8px;
	background-color: #2e7d32;
	border-radius: 50%;
	display: inline-block;
	margin-left: 6px;
	box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.7);
	animation: gc-pulse 1.8s infinite;
}

@keyframes gc-pulse {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.7);
	}
	70% {
		transform: scale(1);
		box-shadow: 0 0 0 8px rgba(46, 125, 50, 0);
	}
	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(46, 125, 50, 0);
	}
}

.gc-tablo-meta {
	font-size: 0.9rem;
	color: #666;
	display: flex;
	gap: 16px;
}

.gc-tablo-timer strong {
	color: #c59b27;
}

.gc-tablo-table-responsive {
	overflow-x: auto;
}

.gc-tablo-table {
	width: 100%;
	border-collapse: collapse;
	text-align: right;
}

.gc-tablo-table th {
	background: #fbf9f4;
	color: #555;
	font-weight: 700;
	padding: 12px 14px;
	border-bottom: 2px solid #ecdca8;
	font-size: 0.9rem;
}

.gc-tablo-table td {
	padding: 14px;
	border-bottom: 1px solid #f0f0f0;
	font-size: 0.95rem;
	transition: background-color 0.5s ease;
}

.gc-asset-title strong {
	display: block;
	color: #1a1a1a;
}

.gc-asset-code {
	color: #999;
	font-size: 0.75rem;
	text-transform: uppercase;
}

.gc-cell-market .gc-val {
	font-weight: 700;
	color: #b3820a;
}

.gc-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 12px;
	font-size: 0.8rem;
	font-weight: 600;
}

.gc-badge-open {
	background: #e8f5e9;
	color: #2e7d32;
}

.gc-badge-stale {
	background: #fff3e0;
	color: #e65100;
}

.gc-flash-green {
	background-color: #d4edda !important;
}

.gc-flash-red {
	background-color: #f8d7da !important;
}

.gc-tablo-footer {
	margin-top: 16px;
	font-size: 0.85rem;
	color: #888;
	border-top: 1px solid #f3f3f3;
	padding-top: 12px;
}

/* Price Breakdown Accordion on Product Page */
.gc-price-breakdown-container {
	margin: 18px 0;
}

.gc-breakdown-details {
	border: 1px solid #ebd9a2;
	background: #fffdf7;
	border-radius: 8px;
	padding: 10px 14px;
}

.gc-breakdown-summary {
	cursor: pointer;
	font-weight: 600;
	color: #8a6805;
	display: flex;
	justify-content: space-between;
	align-items: center;
	list-style: none;
}

.gc-breakdown-summary::-webkit-details-marker {
	display: none;
}

.gc-breakdown-table-wrapper {
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px dashed #ecdca8;
}

.gc-breakdown-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.88rem;
}

.gc-breakdown-table td {
	padding: 6px 4px;
	border-bottom: 1px solid #f4eee0;
}

.gc-total-row td {
	border-top: 2px solid #ecdca8;
	font-size: 0.95rem;
	padding-top: 8px;
}

.gc-tax-note {
	font-size: 0.78rem;
	color: #777;
	margin-top: 8px;
	line-height: 1.5;
}

/* Cart Expiry Banner & Item Breakdown */
.gc-cart-timer-badge {
	display: inline-block;
	background: #fff9e6;
	border: 1px solid #f0d57e;
	color: #936f06;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 0.82rem;
	margin-top: 4px;
	font-weight: 600;
}

.woocommerce-table__line-item .variation,
.shop_table .variation {
	margin-top: 6px;
	padding: 8px 12px;
	background: #fbf9f4;
	border-right: 3px solid #c59b27;
	border-radius: 4px;
	font-size: 0.83rem;
}

.woocommerce-table__line-item .variation dt,
.shop_table .variation dt {
	color: #666;
	font-weight: 600;
	float: right;
	clear: right;
	margin-left: 6px;
}

.woocommerce-table__line-item .variation dd,
.shop_table .variation dd {
	color: #222;
	font-weight: 500;
	margin-bottom: 4px;
}
