/* ==========================================================
   TheCoin Product List v2 — Styles
   Matches AGAIRA London reference design
   ========================================================== */

.thecoin-wrap {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 80px 24px;
	box-sizing: border-box;
}

/* ─── Section Header ─── */
.thecoin-section-header {
	text-align: center;
	margin-bottom: 48px;
}
.thecoin-eyebrow {
	font-size: 11px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: #9a9a8a;
	font-family: sans-serif;
	font-weight: 400;
	margin: 0 0 12px;
}
.thecoin-section-title {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: clamp(28px, 4vw, 36px);
	color: #1a1a1a;
	font-weight: 300;
	font-style: italic;
	margin: 0;
	line-height: 1.2;
}

/* ─── Category Tabs ─── */
.thecoin-tabs-wrap {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 24px;
	margin-bottom: 48px;
}
.thecoin-tabs-wrap .thecoin-tab-btn {
	background: none !important;
	background-color: transparent !important;
	border: none !important;
	border-bottom: none !important;
	border-top: none !important;
	border-left: none !important;
	border-right: none !important;
	box-shadow: none !important;
	outline: none;
	padding: 0 0 8px !important;
	margin: 0;
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-family: sans-serif;
	font-weight: 400;
	color: #9a9a8a;
	cursor: pointer;
	line-height: 1.5;
	position: relative;
	transition: color 0.25s ease;
	border-radius: 0 !important;
	text-decoration: none;
	display: inline-block;
}
/* Underline indicator — hidden by default */
.thecoin-tabs-wrap .thecoin-tab-btn::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #1a1a1a;
	transform: scaleX(0);
	transition: transform 0.25s ease;
	transform-origin: center;
	display: block;
}
.thecoin-tabs-wrap .thecoin-tab-btn:hover {
	color: #1a1a1a;
	background: none !important;
	background-color: transparent !important;
}
.thecoin-tabs-wrap .thecoin-tab-btn.is-active {
	color: #1a1a1a;
	background: none !important;
	background-color: transparent !important;
}
.thecoin-tabs-wrap .thecoin-tab-btn.is-active::after {
	transform: scaleX(1);
}

/* ─── Loading state on grid ─── */
.thecoin-products-grid.is-loading {
	opacity: 0.4;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

/* ─── Grid ─── */
.thecoin-products-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	column-gap: 24px;
	row-gap: 40px;
	transition: opacity 0.2s ease;
}
@media (max-width: 1024px) {
	.thecoin-products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
	.thecoin-products-grid { grid-template-columns: repeat(2, 1fr); column-gap: 16px; row-gap: 28px; }
}
@media (max-width: 420px) {
	.thecoin-products-grid { grid-template-columns: repeat(2, 1fr); column-gap: 12px; }
}

/* ─── Product Card ─── */
.thecoin-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #ffffff;
}

/* ─── Image Wrap ─── */
.thecoin-image-wrap {
	position: relative;
	background: #f7f7f5;
	aspect-ratio: 1 / 1;
	display: block;
	margin-bottom: 16px;
	overflow: hidden;
}
.thecoin-image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.thecoin-product-card:hover .thecoin-image-wrap img {
	transform: scale(1.05);
}

/* ─── Image Link — fills the wrap ─── */
.thecoin-image-link {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

/* ─── No Image ─── */
.thecoin-no-image {
	width: 100%;
	height: 100%;
	min-height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #cccccc;
	background: #f0efeb;
}

/* ─── Badge Stack ─── */
.thecoin-badge-stack {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 10;
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: flex-start;
}
.thecoin-badge {
	display: inline-block;
	font-size: 9px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	font-family: sans-serif;
	font-weight: 500;
	padding: 2px 8px;
	line-height: 1.6;
}
.thecoin-badge-sale {
	background-color: #c8a96e;
	color: #ffffff;
}
.thecoin-badge-new {
	background-color: #ffffff;
	color: #1a1a1a;
	border: 1px solid #1a1a1a;
}

/* ─── Wishlist Button ─── */
.thecoin-wishlist-btn {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 20;
	pointer-events: all;
	transform: translateZ(0);
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(26, 26, 26, 0.6);
	transition: color 0.2s ease;
	line-height: 0;
}
.thecoin-wishlist-btn svg {
	width: 18px;
	height: 18px;
	stroke-width: 1.5;
	transition: fill 0.2s ease;
	display: block;
}
.thecoin-wishlist-btn:hover {
	color: #c8a96e;
}
.thecoin-wishlist-btn.is-active {
	color: #c8a96e;
}
.thecoin-wishlist-btn.is-active svg {
	fill: currentColor;
}

/* ─── Quick Add Overlay ─── */
.thecoin-quick-add-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 12px;
	transform: translateY(100%);
	transition: transform 0.3s ease;
	z-index: 9;
}
.thecoin-product-card:hover .thecoin-quick-add-overlay {
	transform: translateY(0);
}
.thecoin-quick-add-btn {
	display: block;
	width: 100%;
	background-color: #1a1a1a;
	color: #ffffff;
	border: none;
	font-size: 10px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	font-family: sans-serif;
	font-weight: 500;
	padding: 10px 12px;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s ease;
	box-sizing: border-box;
	line-height: 1.4;
}
.thecoin-quick-add-btn:hover {
	background-color: #c8a96e;
}
.thecoin-quick-add-btn--adding { opacity: 0.7; cursor: wait; }
.thecoin-quick-add-btn--added  { background-color: #4a7c59 !important; }

/* ─── Product Info ─── */
.thecoin-product-info { padding: 0; }
.thecoin-product-category {
	font-size: 10px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #9a9a8a;
	font-family: sans-serif;
	font-weight: 400;
	margin: 0 0 4px;
}
.thecoin-product-name {
	font-family: sans-serif;
	font-size: 14px;
	color: #1a1a1a;
	font-weight: 400;
	margin: 0 0 4px;
	line-height: 1.4;
}
.thecoin-product-name a {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.2s ease;
}
.thecoin-product-name a:hover { opacity: 0.7; }

/* ─── Price ─── */
.thecoin-product-price {
	font-size: 14px;
	font-family: sans-serif;
	font-weight: 300;
	margin: 0 0 4px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}
.thecoin-regular-price { color: #1a1a1a; }
.thecoin-old-price {
	color: #9a9a8a;
	text-decoration: line-through;
}
.thecoin-sale-price { color: #c8a96e; }
.thecoin-product-price .woocommerce-Price-amount { font-size: inherit; color: inherit; }
.thecoin-old-price .woocommerce-Price-amount { color: inherit; }
.thecoin-sale-price .woocommerce-Price-amount { color: inherit; }

/* ─── Delivery Note ─── */
.thecoin-delivery-note {
	font-size: 10px;
	letter-spacing: 0.05em;
	color: #9a9a8a;
	font-family: sans-serif;
	font-weight: 400;
	margin: 4px 0 0;
}

/* ─── Shop All ─── */
.thecoin-view-all-wrap {
	text-align: center;
	margin-top: 48px;
}
.thecoin-view-all-btn {
	display: inline-block;
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-family: sans-serif;
	font-weight: 400;
	color: #1a1a1a;
	text-decoration: none;
	border-bottom: 1px solid #1a1a1a;
	padding-bottom: 4px;
	transition: color 0.2s ease, border-color 0.2s ease;
}
.thecoin-view-all-btn:hover { color: #c8a96e; border-color: #c8a96e; }

/* ─── No products ─── */
.thecoin-no-products {
	text-align: center;
	color: #9a9a8a;
	font-family: sans-serif;
	font-size: 14px;
	padding: 40px 0;
	grid-column: 1 / -1;
}
