@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Poppins:wght@400;500;600&display=swap');

/* ===== Thrisurcards Frontend — scoped with tc- prefix ===== */

.tc-services-wrap {
	display: grid !important;
	grid-template-columns: 260px 1fr !important;
	gap: 32px !important;
	max-width: 1200px !important;
	margin: 40px auto !important;
	padding: 0 20px !important;
	font-family: 'Poppins', sans-serif !important;
	box-sizing: border-box !important;
}
.tc-services-wrap *, .tc-single-wrap * { box-sizing: border-box !important; }

/* ---- Sidebar filter ---- */
.tc-filter-sidebar {
	background: #fdf8f1 !important;
	border: 1px solid #ecdfc9 !important;
	border-radius: 10px !important;
	padding: 22px !important;
	align-self: start !important;
	position: sticky !important;
	top: 20px !important;
}
.tc-filter-title {
	font-family: 'Playfair Display', serif !important;
	color: #7a1f2b !important;
	font-size: 18px !important;
	margin: 0 0 14px !important;
	padding-bottom: 10px !important;
	border-bottom: 2px solid #c9a24b !important;
}
.tc-filter-list, .tc-filter-sublist { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.tc-filter-list > li { margin-bottom: 4px !important; }
.tc-filter-list a {
	display: block !important;
	padding: 8px 10px !important;
	color: #4a3a2e !important;
	text-decoration: none !important;
	border-radius: 6px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	transition: all .15s ease !important;
}
.tc-filter-list a:hover { background: #f3e6d2 !important; color: #7a1f2b !important; }
.tc-filter-list li.tc-active > a {
	background: #7a1f2b !important;
	color: #fff !important;
}
.tc-filter-sublist { margin: 4px 0 8px 14px !important; border-left: 2px solid #ecdfc9 !important; }
.tc-filter-sublist a { font-size: 13px !important; padding: 6px 10px !important; color: #6b5b4d !important; }
.tc-filter-sublist li.tc-active > a { background: #c9a24b !important; color: #fff !important; }

/* ---- Cards grid ---- */
.tc-cards-grid {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 24px !important;
}
.tc-card {
	display: block !important;
	background: #fff !important;
	border: 1px solid #ecdfc9 !important;
	border-radius: 12px !important;
	overflow: hidden !important;
	text-decoration: none !important;
	box-shadow: 0 2px 8px rgba(122,31,43,.06) !important;
	transition: transform .2s ease, box-shadow .2s ease !important;
}
.tc-card:hover {
	transform: translateY(-4px) !important;
	box-shadow: 0 10px 24px rgba(122,31,43,.14) !important;
}
.tc-card-img {
	aspect-ratio: 1 / 1 !important;
	overflow: hidden !important;
	background: #f5ece0 !important;
}
.tc-card-img img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
	transition: transform .35s ease !important;
}
.tc-card:hover .tc-card-img img { transform: scale(1.06) !important; }
.tc-card-noimg {
	width: 100% !important;
	height: 100% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: #b8a48c !important;
	font-size: 13px !important;
}
.tc-noimg-large {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
}
.tc-card-body { padding: 16px 18px !important; }
.tc-card-tag {
	display: inline-block !important;
	background: #f3e6d2 !important;
	color: #a6690e !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: .4px !important;
	padding: 3px 10px !important;
	border-radius: 20px !important;
	margin-bottom: 8px !important;
}
.tc-card-title {
	font-family: 'Playfair Display', serif !important;
	font-size: 17px !important;
	color: #2e2118 !important;
	margin: 0 !important;
	line-height: 1.35 !important;
}
.tc-no-cards { color: #8a7a6a !important; padding: 40px 0 !important; text-align: center !important; }

/* ===== Minimal Home Grid — [thrisurcards_home] ===== */
/* Image + uppercase name + price only. No category tag, no per-card
   buttons — the image/name are the click target. Ends with one
   centered "Show More" button linking to the full catalogue page. */
.tc-home-wrap {
	max-width: 1200px !important;
	margin: 40px auto !important;
	padding: 0 20px !important;
	font-family: 'Poppins', sans-serif !important;
	box-sizing: border-box !important;
}
.tc-home-wrap * { box-sizing: border-box !important; }

.tc-home-grid {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 32px 28px !important;
}
.tc-home-grid-cols-1 { grid-template-columns: 1fr !important; }
.tc-home-grid-cols-2 { grid-template-columns: repeat(2, 1fr) !important; }
.tc-home-grid-cols-3 { grid-template-columns: repeat(3, 1fr) !important; }
.tc-home-grid-cols-4 { grid-template-columns: repeat(4, 1fr) !important; }
.tc-home-grid-cols-5 { grid-template-columns: repeat(5, 1fr) !important; }

.tc-home-card {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	text-align: center !important;
}
.tc-home-img {
	display: block !important;
	width: 100% !important;
	aspect-ratio: 1 / 1 !important;
	border-radius: 12px !important;
	overflow: hidden !important;
	background: #f5ece0 !important;
	box-shadow: 0 2px 8px rgba(122,31,43,.06) !important;
	margin-bottom: 16px !important;
	transition: transform .2s ease, box-shadow .2s ease !important;
}
.tc-home-img:hover {
	transform: translateY(-4px) !important;
	box-shadow: 0 10px 24px rgba(122,31,43,.14) !important;
}
.tc-home-img img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
	transition: transform .35s ease !important;
}
.tc-home-img:hover img { transform: scale(1.06) !important; }

.tc-home-title {
	display: block !important;
	font-family: 'Poppins', sans-serif !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	letter-spacing: .08em !important;
	text-transform: uppercase !important;
	color: #2e2118 !important;
	text-decoration: none !important;
	margin-bottom: 6px !important;
	transition: color .15s ease !important;
}
.tc-home-title:hover { color: #7a1f2b !important; }

.tc-home-price {
	margin: 0 !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	color: #2e2118 !important;
}

.tc-home-showmore {
	text-align: center !important;
	margin-top: 44px !important;
}
.tc-home-showmore-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: #7a1f2b !important;
	color: #fff !important;
	font-weight: 600 !important;
	font-size: 15px !important;
	letter-spacing: .02em !important;
	padding: 14px 36px !important;
	border-radius: 999px !important;
	text-decoration: none !important;
	box-shadow: 0 8px 20px rgba(122,31,43,.25) !important;
	transition: background .2s ease, transform .2s ease !important;
}
.tc-home-showmore-btn:hover {
	background: #5e1721 !important;
	color: #fff !important;
	transform: translateY(-2px) !important;
}

/* ---- Pagination ---- */
.tc-pagination {
	display: flex !important;
	gap: 8px !important;
	justify-content: center !important;
	margin-top: 34px !important;
	flex-wrap: wrap !important;
}
.tc-page-link {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 38px !important;
	height: 38px !important;
	border-radius: 8px !important;
	background: #fff !important;
	border: 1px solid #ecdfc9 !important;
	color: #4a3a2e !important;
	text-decoration: none !important;
	font-weight: 500 !important;
}
.tc-page-link.tc-active, .tc-page-link:hover {
	background: #7a1f2b !important;
	border-color: #7a1f2b !important;
	color: #fff !important;
}

/* ===== Single card page ===== */
.tc-single-wrap {
	display: grid !important;
	grid-template-columns: 1.1fr 1fr !important;
	gap: 48px !important;
	max-width: 1150px !important;
	margin: 40px auto !important;
	padding: 0 20px 60px !important;
	font-family: 'Poppins', sans-serif !important;
}

.tc-carousel {
	position: relative !important;
	border-radius: 14px !important;
	overflow: hidden !important;
	background: #f5ece0 !important;
	border: 1px solid #ecdfc9 !important;
	width: 100% !important;
	height: 0 !important;
	padding-top: 100% !important; /* forces a true 1:1 square, works even if theme overrides aspect-ratio */
}
.tc-carousel-track {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	display: flex !important;
	transition: transform .4s ease !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
.tc-carousel-slide {
	position: relative !important;
	min-width: 100% !important;
	height: 100% !important;
	flex-shrink: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}
.tc-carousel-slide img {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	display: block !important;
	object-fit: cover !important;
	object-position: center !important;
	margin: 0 !important;
	border-radius: 0 !important;
}
.tc-carousel-prev, .tc-carousel-next {
	position: absolute !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	background: rgba(255,255,255,.9) !important;
	border: none !important;
	width: 40px !important;
	height: 40px !important;
	border-radius: 50% !important;
	font-size: 22px !important;
	color: #7a1f2b !important;
	cursor: pointer !important;
	box-shadow: 0 2px 6px rgba(0,0,0,.15) !important;
}
.tc-carousel-prev { left: 14px !important; }
.tc-carousel-next { right: 14px !important; }
.tc-carousel-dots {
	position: absolute !important;
	bottom: 14px !important;
	left: 0 !important;
	right: 0 !important;
	display: flex !important;
	justify-content: center !important;
	gap: 8px !important;
}
.tc-dot {
	width: 9px !important;
	height: 9px !important;
	border-radius: 50% !important;
	background: rgba(255,255,255,.6) !important;
	border: 1px solid #7a1f2b !important;
	cursor: pointer !important;
}
.tc-dot.tc-active { background: #7a1f2b !important; }

.tc-single-title {
	font-family: 'Playfair Display', serif !important;
	font-size: 32px !important;
	color: #2e2118 !important;
	margin: 0 0 16px !important;
}
.tc-single-desc {
	color: #5c4d3e !important;
	font-size: 15px !important;
	line-height: 1.7 !important;
	margin-bottom: 26px !important;
}

.tc-order-box {
	background: #fdf8f1 !important;
	border: 1px solid #ecdfc9 !important;
	border-radius: 12px !important;
	padding: 22px !important;
}
.tc-order-title {
	font-family: 'Playfair Display', serif !important;
	color: #7a1f2b !important;
	font-size: 18px !important;
	margin: 0 0 14px !important;
}
.tc-tier-options {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr) !important;
	gap: 10px !important;
	margin-bottom: 20px !important;
}
.tc-tier-option {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	background: #fff !important;
	border: 1.5px solid #ecdfc9 !important;
	border-radius: 8px !important;
	padding: 10px 14px !important;
	cursor: pointer !important;
	font-size: 14px !important;
	transition: border-color .15s ease !important;
}
.tc-tier-option:has(input:checked) {
	border-color: #7a1f2b !important;
	background: #fbeee0 !important;
}
.tc-tier-option input { margin-right: 8px !important; accent-color: #7a1f2b !important; }
.tc-tier-qty { font-weight: 600 !important; color: #2e2118 !important; }
.tc-tier-price { color: #a6690e !important; font-weight: 600 !important; }
.tc-tier-option-custom { grid-column: 1 / -1 !important; }

.tc-custom-qty-wrap { margin: -8px 0 20px !important; }
.tc-custom-qty-label {
	display: block !important;
	font-size: 13px !important;
	color: #5c4d3e !important;
	margin-bottom: 6px !important;
}
.tc-custom-qty-input {
	width: 100% !important;
	box-sizing: border-box !important;
	background: #fff !important;
	border: 1.5px solid #ecdfc9 !important;
	border-radius: 8px !important;
	padding: 10px 14px !important;
	font-size: 14px !important;
	color: #2e2118 !important;
	font-family: inherit !important;
}
.tc-custom-qty-input:focus { outline: none !important; border-color: #7a1f2b !important; }

.tc-whatsapp-btn {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	background: #25D366 !important;
	color: #fff !important;
	font-weight: 600 !important;
	font-size: 15px !important;
	padding: 14px 26px !important;
	border-radius: 8px !important;
	text-decoration: none !important;
	box-shadow: 0 4px 12px rgba(37,211,102,.3) !important;
	transition: background .15s ease !important;
}
.tc-whatsapp-btn:hover { background: #1eb955 !important; color: #fff !important; }
.tc-wa-icon { font-size: 18px !important; }

.tc-back-link { margin-top: 24px !important; }
.tc-back-link a { color: #7a1f2b !important; text-decoration: none !important; font-weight: 500 !important; }
.tc-back-link a:hover { text-decoration: underline !important; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
	.tc-services-wrap, .tc-single-wrap { grid-template-columns: 1fr !important; }
	.tc-filter-sidebar { position: static !important; }
	.tc-cards-grid { grid-template-columns: repeat(2, 1fr) !important; }
	.tc-home-grid-cols-4, .tc-home-grid-cols-5 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
	.tc-cards-grid { grid-template-columns: 1fr !important; }
	.tc-tier-options { grid-template-columns: 1fr !important; }
	.tc-home-grid { grid-template-columns: 1fr !important; }
}
