/**
 * Meet Peptides WooCommerce Stylesheet
 *
 * - Catalog Page (All Peptides: search, 5 category filter pills, 4-column grid, Chat Now button)
 * - Single Product Page (Image preview, dosage specs, research highlights, WhatsApp inquiry button, In-Depth Research Profile tabs)
 * - Order-Pay Checkout Page (Customer payment link view)
 */

/* =========================================
   1. Catalog Archive Page (All Peptides)
   ========================================= */
.catalog-page-wrapper {
	width: 100%;
	background-color: #ffffff;
	padding: 60px 0 80px;
	min-height: 75vh;
	font-family: var(--landing_font_family);
}

.catalog-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 40px;
}

.catalog-top-header {
	margin-bottom: 35px;
	text-align: left;
}

.catalog-top-header h1 {
	font-size: 32px;
	font-weight: 800;
	color: #0c111d;
	margin: 0 0 6px 0;
}

.catalog-top-header .product-count {
	font-size: 14px;
	color: #64748b;
	margin-bottom: 12px;
}

.catalog-top-header p {
	font-size: 14px;
	color: #475467;
	margin: 0;
	line-height: 1.5;
}

.catalog-top-header p span {
	color: #059669;
	font-weight: 600;
	border-bottom: 1px dashed #059669;
}

.search-container {
	margin-bottom: 30px;
	max-width: 400px;
}

.search-input {
	width: 100%;
	padding: 12px 16px;
	font-size: 14px;
	border: 1px solid #d0d5dd;
	border-radius: 10px;
	outline: none;
	background-color: #f8fafc;
	transition: all 0.2s ease;
}

.search-input:focus {
	border-color: #00a0e9;
	background-color: #ffffff;
	box-shadow: 0 0 0 4px rgba(0, 160, 233, 0.1);
}

.filter-tabs-wrapper {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 40px;
	padding-bottom: 20px;
	border-bottom: 1px solid #f1f5f9;
}

.filter-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.filter-label {
	font-size: 12px;
	font-weight: 700;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	min-width: 80px;
}

.tab-btn {
	padding: 8px 16px;
	background-color: #ffffff;
	color: #344054;
	border: 1px solid #d0d5dd;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-btn:hover {
	background-color: #f8fafc;
	border-color: #98a2b3;
}

.tab-btn.active {
	background-color: #0c111d;
	color: #ffffff;
	border-color: #0c111d;
}

.catalog-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	align-items: stretch;
}

.catalog-card {
	background: #ffffff;
	border: 1px solid #eef2f6;
	border-radius: 16px;
	padding: 20px;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	max-width: 100%;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.02);
	transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1),
	            box-shadow 0.25s cubic-bezier(0.25, 1, 0.5, 1),
	            border-color 0.25s ease;
}

.catalog-card:hover {
	transform: translateY(-5px);
	border-color: #00a0e9;
	box-shadow: 0 20px 30px -5px rgba(3, 16, 36, 0.08),
	            0 10px 15px -5px rgba(3, 16, 36, 0.04);
}

.catalog-card:active {
	transform: translateY(-2px);
	box-shadow: 0 10px 15px -3px rgba(3, 16, 36, 0.06);
}

.catalog-card .item-image {
	width: 100%;
	aspect-ratio: 1 / 1;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	overflow: hidden;
}

.catalog-card .item-image img {
	max-width: 90%;
	max-height: 90%;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.catalog-card:hover .item-image img {
	transform: scale(1.03);
}

.catalog-card .item-title {
	font-size: 16px;
	color: #0c111d;
	font-weight: 700;
	margin: 0 0 8px 0;
	line-height: 1.4;
	min-height: 22px;
}

.catalog-card .item-price {
	font-size: 14px;
	font-weight: 700;
	color: #D21936;
	margin: 0 0 12px 0;
}

.catalog-card .item-footer {
	padding-top: 14px;
	border-top: 1px solid #f1f5f9;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: auto;
}

.catalog-card .item-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: clamp(120px, 72%, 180px);
	min-height: 40px;
	padding: 10px 22px;
	border-radius: 9px;
	background: #059669;
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.2px;
	line-height: 1;
	box-shadow: 0 4px 10px rgba(5, 150, 105, 0.18);
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.catalog-card:hover .item-btn {
	background: #047857;
	color: #ffffff;
	box-shadow: 0 6px 14px rgba(5, 150, 105, 0.25);
	transform: translateY(-1px);
}

.catalog-empty-state {
	padding: 48px 20px;
	text-align: center;
	color: #64748b;
	font-size: 15px;
}

@media (max-width: 1200px) {
	.catalog-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
	.catalog-container { padding: 0 20px; }
	.catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
	.catalog-top-header h1 { font-size: 28px; }
}

@media (max-width: 600px) {
	.catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.filter-row { gap: 6px; }
	.tab-btn { padding: 6px 12px; font-size: 12px; }
	.catalog-card { padding: 14px; }
	.catalog-card .item-title { font-size: 14px; }
	.catalog-card .item-btn { width: 100%; padding: 9px 12px; font-size: 12px; }
}

/* =========================================
   2. Single Product Page
   ========================================= */
.product_detail_default {
	max-width: var(--general_layout_width);
	margin: 50px auto 80px;
	padding: 0 30px;
	font-family: var(--landing_font_family);
}

.product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 56px;
	row-gap: 40px;
	align-items: start;
}

.product-preview {
	background: #ffffff;
	border: 1px solid #eef2f6;
	border-radius: 16px;
	padding: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.product-preview img {
	width: 100%;
	max-height: 520px;
	object-fit: contain;
}

.product-info {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.product-info .control-product_detail-title {
	font-size: 28px;
	font-weight: 800;
	color: #121b17;
	margin: 0;
	line-height: 1.25;
}

.product-info-subtitle {
	font-size: 16px;
	font-weight: 600;
	color: #0076a3;
	background: #f0f9ff;
	border: 1px solid #b9e6fe;
	display: inline-block;
	align-self: flex-start;
	padding: 5px 14px;
	border-radius: 6px;
}

.product-spec-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.product-spec-pill {
	font-size: 12px;
	font-weight: 600;
	color: #344054;
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	padding: 4px 12px;
	border-radius: 999px;
}

.product-price-display {
	font-size: 28px;
	font-weight: 800;
	color: #D21936;
	line-height: 1.2;
}

.product-price-display .from-label {
	font-size: 13px;
	font-weight: 600;
	color: #64748b;
	margin-right: 6px;
}

.product-info-describe {
	font-size: 14.5px;
	line-height: 1.7;
	color: #344054;
	background: #f8fafc;
	border: 1px solid #eaecf0;
	border-radius: 12px;
	padding: 20px;
}

.product-whatsapp-cta-wrap {
	margin-top: 8px;
}

.product-whatsapp-main-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 52px;
	padding: 14px 28px;
	background: #059669;
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	border-radius: 10px;
	box-shadow: 0 8px 20px rgba(5, 150, 105, 0.22);
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.product-whatsapp-main-btn:hover {
	background: #047857;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(5, 150, 105, 0.3);
}

.product-tabs-card {
	grid-column: 1 / -1;
	margin-top: 24px;
}

.moi-tabs {
	border-top: 1px solid #e4e7ec;
}

.moi-tabs-header-bar {
	display: flex;
	gap: 32px;
	border-bottom: 1px solid #e4e7ec;
	margin-bottom: 24px;
}

.moi-tabs-tab-heading {
	padding: 14px 0;
	font-size: 16px;
	font-weight: 700;
	color: #121b17;
	border-bottom: 3px solid #121b17;
}

.plugin-product_detail-content {
	background: #f5f7fa;
	border: 1px solid #e4e7ec;
	border-radius: 12px;
	padding: 28px 32px;
	color: #121b17;
	font-size: 14px;
	line-height: 1.7;
}

@media (max-width: 768px) {
	.product_detail_default {
		margin: 30px auto 60px;
		padding: 0 16px;
	}
	.product-grid {
		grid-template-columns: 1fr;
		row-gap: 24px;
	}
	.product-info .control-product_detail-title {
		font-size: 22px;
	}
	.plugin-product_detail-content {
		padding: 20px 18px;
	}
}

/* =========================================
   3. Order-Pay Checkout Page (Customer Payment Link)
   ========================================= */
.meet-order-pay-wrapper {
	max-width: 680px;
	margin: 48px auto 80px;
	background: #ffffff;
	border: 1px solid #eaecf0;
	border-radius: 16px;
	padding: 36px;
	box-shadow: 0 10px 30px rgba(3, 16, 36, 0.05);
	font-family: var(--landing_font_family);
}

.meet-order-pay-header {
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid #eaecf0;
}

.meet-order-pay-header h2 {
	margin: 0 0 6px;
	font-size: 24px;
	font-weight: 800;
	color: #0c111d;
}

.meet-order-pay-meta {
	font-size: 13.5px;
	color: #475467;
}

.meet-order-pay-wrapper table.shop_table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 28px;
}

.meet-order-pay-wrapper table.shop_table th,
.meet-order-pay-wrapper table.shop_table td {
	padding: 12px 10px;
	border-bottom: 1px solid #f1f5f9;
	text-align: left;
	font-size: 14px;
}

.meet-order-pay-wrapper table.shop_table th:last-child,
.meet-order-pay-wrapper table.shop_table td:last-child {
	text-align: right;
}

.meet-order-pay-wrapper table.shop_table tfoot th,
.meet-order-pay-wrapper table.shop_table tfoot td {
	font-weight: 700;
	color: #0c111d;
}

.meet-order-pay-wrapper #payment {
	background: #f8fafc;
	border: 1px solid #eaecf0;
	border-radius: 12px;
	padding: 20px;
}

.meet-order-pay-wrapper #place_order {
	width: 100%;
	height: 48px;
	background: #2c676a;
	color: #ffffff;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	margin-top: 16px;
}

.meet-order-pay-wrapper #place_order:hover {
	background: #225154;
}

@media (max-width: 600px) {
	.meet-order-pay-wrapper {
		margin: 24px 12px 60px;
		padding: 20px;
	}
}
