/* ==========================================================================
   ThuCung Atelier — Homepage Layout & Visual Choreography
   ========================================================================== */

/* ---------- 1. Editorial Split Hero ---------- */
.tc-hero {
	padding: 24px 0 36px;
}
.tc-hero--single-block {
	padding: 24px 0 18px;
}
.tc-world-section {
	padding: 0 0 30px;
}

.tc-hero__stage {
	display: grid;
	grid-template-columns: 1.02fr 1.18fr;
	gap: 22px;
	align-items: stretch;
	margin-bottom: 0;
}

.tc-hero__copy {
	background: var(--tc-cream);
	border: 1px solid var(--tc-border);
	border-radius: var(--tc-radius-lg);
	padding: 44px 42px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.tc-hero__pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	align-self: flex-start;
	background: var(--tc-surface);
	border: 1px solid var(--tc-border-strong);
	color: var(--tc-pine);
	font-size: 0.78rem;
	font-weight: 700;
	padding: 6px 14px;
	border-radius: var(--tc-radius-pill);
	margin-bottom: 18px;
}
.tc-hero__pill .tc-icon {
	color: var(--tc-accent);
}

.tc-hero__title {
	font-size: clamp(2rem, 3.2vw, 3rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.03em;
	margin-bottom: 16px;
}

.tc-hero__desc {
	font-size: 0.98rem;
	line-height: 1.68;
	color: var(--tc-ink-2);
	margin: 0 0 26px;
	max-width: 500px;
}

.tc-hero__ctas {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 30px;
}

.tc-hero__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	padding-top: 22px;
	border-top: 1px solid var(--tc-border);
}
.tc-hero__stat strong {
	display: block;
	font-family: var(--tc-font-display);
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--tc-pine);
	line-height: 1.15;
}
.tc-hero__stat span {
	font-size: 0.78rem;
	color: var(--tc-ink-muted);
}

.tc-hero__visual {
	position: relative;
	border-radius: var(--tc-radius-lg);
	overflow: hidden;
	min-height: 440px;
	background: #EAE0D2;
	box-shadow: var(--tc-shadow-md);
}
.tc-hero__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 45%;
}
.tc-hero__float-tag {
	position: absolute;
	right: 18px;
	bottom: 18px;
	display: flex;
	align-items: center;
	gap: 10px;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	padding: 11px 16px;
	border-radius: var(--tc-radius-md);
	border: 1px solid rgba(255, 255, 255, 0.8);
	box-shadow: var(--tc-shadow-sm);
}
.tc-hero__float-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--tc-accent);
	box-shadow: 0 0 0 4px rgba(217, 93, 57, 0.22);
	flex-shrink: 0;
}
.tc-hero__float-tag strong {
	display: block;
	font-size: 0.83rem;
	color: var(--tc-ink);
}
.tc-hero__float-tag span {
	display: block;
	font-size: 0.74rem;
	color: var(--tc-ink-2);
}

/* Dual Pet-World Bento Cards (Dog & Cat) */
.tc-world-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}
.tc-world-card {
	position: relative;
	border-radius: var(--tc-radius-lg);
	overflow: hidden;
	min-height: 248px;
	display: flex;
	align-items: center;
	border: 1px solid var(--tc-border);
	box-shadow: var(--tc-shadow-sm);
}
.tc-world-card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right center;
	transition: transform 0.55s var(--tc-ease);
}
.tc-world-card--dog img {
	object-position: right 34%;
}
.tc-world-card--cat img {
	object-position: right 78%;
}
.tc-world-card:hover img {
	transform: scale(1.04);
}
.tc-world-card::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(250, 247, 242, 0.94) 0%, rgba(250, 247, 242, 0.80) 46%, rgba(250, 247, 242, 0.0) 76%);
}
.tc-world-card__content {
	position: relative;
	z-index: 2;
	padding: 28px 32px;
	max-width: 56%;
}
.tc-world-card__badge {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--tc-accent);
	margin-bottom: 6px;
}
.tc-world-card__content h2 {
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	font-weight: 800;
	margin-bottom: 8px;
}
.tc-world-card__content p {
	margin: 0 0 16px;
	font-size: 0.87rem;
	color: var(--tc-ink-2);
	line-height: 1.5;
}
.tc-world-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--tc-pine);
	background: rgba(255, 255, 255, 0.92);
	padding: 8px 15px;
	border-radius: var(--tc-radius-pill);
	border: 1px solid var(--tc-border-strong);
}
.tc-world-card:hover .tc-world-card__cta {
	background: var(--tc-pine);
	color: #fff;
	border-color: var(--tc-pine);
}

/* ---------- 2. Service Trust Strip ---------- */
.tc-trust-strip {
	padding: 8px 0 14px;
}
.tc-trust-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}
.tc-trust-item {
	background: var(--tc-surface);
	border: 1px solid var(--tc-border);
	border-radius: var(--tc-radius-md);
	padding: 16px 18px;
	display: flex;
	align-items: flex-start;
	gap: 13px;
}
.tc-trust-item__icon {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: var(--tc-sage);
	color: var(--tc-pine);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.tc-trust-item strong {
	display: block;
	font-size: 0.9rem;
	margin-bottom: 2px;
}
.tc-trust-item p {
	margin: 0;
	font-size: 0.8rem;
	color: var(--tc-ink-muted);
	line-height: 1.45;
}

/* ---------- 3. Visual Category Spotlight ---------- */
.tc-cat-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}
.tc-cat-grid--cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tc-cat-grid--cols-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tc-cat-grid--cols-5 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}
.tc-cat-card {
	background: var(--tc-surface);
	border: 1px solid var(--tc-border);
	border-radius: var(--tc-radius-md);
	padding: 14px;
	display: flex;
	align-items: center;
	gap: 14px;
	transition: transform 0.24s var(--tc-ease), box-shadow 0.24s var(--tc-ease), border-color 0.24s var(--tc-ease);
}
.tc-cat-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--tc-shadow-md);
	border-color: var(--tc-border-strong);
}
.tc-cat-card__media {
	width: 76px;
	height: 76px;
	border-radius: 14px;
	overflow: hidden;
	background: #FFFFFF;
	border: 1px solid var(--tc-border);
	flex-shrink: 0;
}
.tc-cat-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 5px;
	transition: transform 0.38s var(--tc-ease);
}
.tc-cat-card:hover .tc-cat-card__media img {
	transform: scale(1.07);
}
.tc-cat-card__body {
	min-width: 0;
}
.tc-cat-card__title {
	font-size: 0.98rem;
	font-weight: 700;
	margin-bottom: 3px;
}
.tc-cat-card__sub {
	font-size: 0.78rem;
	color: var(--tc-ink-muted);
	margin: 0 0 6px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tc-cat-card__count {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--tc-pine);
	background: var(--tc-sage);
	padding: 2px 9px;
	border-radius: var(--tc-radius-pill);
}

/* ---------- 4. Tabbed Product Shelf Controls ---------- */
.tc-tabs {
	display: flex;
	align-items: center;
	gap: 7px;
	flex-wrap: wrap;
}
.tc-tab {
	padding: 8px 15px;
	border-radius: var(--tc-radius-pill);
	font-size: 0.84rem;
	font-weight: 600;
	color: var(--tc-ink-2);
	background: var(--tc-surface);
	border: 1px solid var(--tc-border-strong);
	white-space: nowrap;
	transition: background-color 0.2s var(--tc-ease), color 0.2s var(--tc-ease), border-color 0.2s var(--tc-ease);
}
.tc-tab:hover {
	border-color: var(--tc-pine);
	color: var(--tc-pine);
}
.tc-tab.is-active {
	background: var(--tc-pine);
	color: #fff;
	border-color: var(--tc-pine);
}
.tc-tab-panel[hidden] {
	display: none;
}
.tc-skeleton-card {
	aspect-ratio: 3 / 4;
	border-radius: var(--tc-radius-md);
	background: linear-gradient(90deg, rgba(23, 50, 42, 0.05) 25%, rgba(23, 50, 42, 0.09) 50%, rgba(23, 50, 42, 0.05) 75%);
	background-size: 200% 100%;
	animation: tcShimmer 1.3s infinite linear;
}
@keyframes tcShimmer {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

/* ---------- 5. Editorial Spa Feature Banner ---------- */
.tc-editorial-banner {
	position: relative;
	border-radius: var(--tc-radius-lg);
	overflow: hidden;
	min-height: 340px;
	display: flex;
	align-items: center;
	background: var(--tc-sage);
	border: 1px solid var(--tc-border);
	box-shadow: var(--tc-shadow-sm);
}
.tc-editorial-banner img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right center;
}
.tc-editorial-banner::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(235, 241, 236, 0.96) 0%, rgba(235, 241, 236, 0.88) 44%, rgba(235, 241, 236, 0.05) 75%);
}
.tc-editorial-banner__content {
	position: relative;
	z-index: 2;
	padding: 44px 48px;
	max-width: 580px;
}
.tc-editorial-banner__content h2 {
	font-size: clamp(1.5rem, 2.5vw, 2.15rem);
	font-weight: 800;
	margin-bottom: 12px;
}
.tc-editorial-banner__content p {
	margin: 0 0 22px;
	font-size: 0.94rem;
	color: var(--tc-ink-2);
}
.tc-editorial-banner__btns {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

/* ---------- 7. Asymmetric Fashion & Carrier Split ---------- */
.tc-fashion-split {
	display: grid;
	grid-template-columns: 0.96fr 1.44fr;
	gap: 24px;
	align-items: stretch;
}
.tc-fashion-panel {
	background: #17322A;
	color: #fff;
	border-radius: var(--tc-radius-lg);
	padding: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	position: relative;
	overflow: hidden;
	box-shadow: var(--tc-shadow-md);
}
.tc-fashion-panel__bg {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 10 / 9;
	object-fit: cover;
	object-position: center 42%;
	z-index: 1;
	-webkit-mask-image: linear-gradient(180deg, #000 0%, #000 76%, transparent 100%);
	mask-image: linear-gradient(180deg, #000 0%, #000 76%, transparent 100%);
	transition: transform 0.6s var(--tc-ease);
}
.tc-fashion-panel:hover .tc-fashion-panel__bg {
	transform: scale(1.03);
}
.tc-fashion-panel::after {
	content: '';
	position: absolute;
	right: -60px;
	bottom: -60px;
	width: 240px;
	height: 240px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(217, 93, 57, 0.30), transparent 70%);
	z-index: 0;
	pointer-events: none;
}
.tc-fashion-panel__content {
	position: relative;
	z-index: 2;
	padding: 18px 34px 36px;
	margin-top: -12px;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.tc-fashion-panel h2 {
	color: #fff;
	font-size: clamp(1.48rem, 2.25vw, 2rem);
	margin-bottom: 10px;
}
.tc-fashion-panel p {
	color: rgba(255, 255, 255, 0.86);
	font-size: 0.91rem;
	line-height: 1.62;
	margin: 0 0 20px;
}
.tc-fashion-panel strong {
	color: #fff;
}
.tc-fashion-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 22px;
}
.tc-fashion-pills a {
	font-size: 0.8rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.94);
	background: rgba(255, 255, 255, 0.13);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	padding: 7px 13px;
	border-radius: var(--tc-radius-pill);
}
.tc-fashion-pills a:hover {
	background: #fff;
	color: var(--tc-pine);
}
.tc-fashion-panel .tc-btn {
	align-self: flex-start;
}

/* ---------- 9. Authentic Brands Grid ---------- */
.tc-brand-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
}
.tc-brand-tile {
	background: var(--tc-surface);
	border: 1px solid var(--tc-border);
	border-radius: var(--tc-radius-md);
	padding: 18px 14px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	transition: transform 0.22s var(--tc-ease), border-color 0.22s var(--tc-ease), box-shadow 0.22s var(--tc-ease);
}
.tc-brand-tile:hover {
	transform: translateY(-3px);
	border-color: var(--tc-accent);
	box-shadow: var(--tc-shadow-sm);
}
.tc-brand-tile__name {
	font-family: var(--tc-font-display);
	font-size: 0.94rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	color: var(--tc-pine);
}
.tc-brand-tile__tag {
	font-size: 0.72rem;
	color: var(--tc-ink-muted);
}

/* ---------- Responsive Homepage ---------- */
@media (max-width: 1120px) {
	.tc-hero__copy {
		padding: 32px 28px;
	}
	.tc-cat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.tc-trust-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.tc-brand-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	.tc-fashion-split {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 900px) {
	.tc-hero__stage {
		grid-template-columns: 1fr;
	}
	.tc-hero__visual {
		min-height: 320px;
		order: -1;
	}
	.tc-world-grid {
		grid-template-columns: 1fr;
	}
	.tc-world-card__content {
		max-width: 66%;
	}
}

@media (max-width: 767px) {
	.tc-hero,
	.tc-hero--single-block {
		padding: 10px 0 12px;
	}
	.tc-world-section {
		padding: 0 0 16px;
	}
	.tc-hero__stage {
		gap: 10px;
		margin-bottom: 0;
	}
	.tc-hero__copy {
		padding: 16px 15px;
		border-radius: 18px;
	}
	.tc-hero__pill {
		font-size: 0.69rem;
		padding: 4px 10px;
		margin-bottom: 10px;
		max-width: 100%;
	}
	.tc-hero__pill span {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.tc-hero__title {
		font-size: clamp(1.48rem, 6.2vw, 1.85rem);
		margin-bottom: 8px;
	}
	.tc-hero__desc {
		font-size: 0.83rem;
		line-height: 1.5;
		margin-bottom: 14px;
	}
	.tc-hero__ctas {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
		margin-bottom: 14px;
	}
	.tc-hero__ctas .tc-btn {
		padding: 10px 10px;
		font-size: 0.8rem;
		width: 100%;
	}
	.tc-hero__visual {
		min-height: 0;
		aspect-ratio: 16 / 9.5;
		border-radius: 18px;
	}
	.tc-hero__float-tag {
		left: 8px;
		right: auto;
		bottom: 8px;
		padding: 5px 10px;
		border-radius: var(--tc-radius-pill);
	}
	.tc-hero__float-tag strong {
		font-size: 0.7rem;
	}
	.tc-hero__float-tag span {
		display: none;
	}
	.tc-hero__stats {
		gap: 6px;
		padding-top: 12px;
	}
	.tc-hero__stat strong {
		font-size: 1rem;
	}
	.tc-hero__stat span {
		font-size: 0.68rem;
		line-height: 1.25;
		display: block;
	}
	/* Side-by-side 2-column Dog & Cat Bento Cards on Mobile — super compact & tidy! */
	.tc-world-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 9px;
	}
	.tc-world-card {
		min-height: 0;
		border-radius: 16px;
		flex-direction: column;
		align-items: stretch;
		background: var(--tc-surface);
	}
	.tc-world-card::before {
		display: none;
	}
	.tc-world-card img {
		position: relative;
		inset: auto;
		width: 100%;
		height: auto;
		aspect-ratio: 4 / 3;
		object-fit: cover;
	}
	.tc-world-card--dog img {
		object-position: 75% 32%;
	}
	.tc-world-card--cat img {
		object-position: 75% 82%;
	}
	.tc-world-card__content {
		padding: 10px 11px 12px;
		max-width: 100%;
	}
	.tc-world-card__badge {
		font-size: 0.62rem;
		margin-bottom: 2px;
	}
	.tc-world-card__content h2 {
		font-size: 0.98rem;
		margin-bottom: 4px;
	}
	.tc-world-card__content p {
		display: none;
	}
	.tc-world-card__cta {
		font-size: 0.72rem;
		padding: 5px 10px;
		background: var(--tc-cream);
		border-color: transparent;
		margin-top: 4px;
	}
	/* Compact 2x2 Trust Strip */
	.tc-trust-strip {
		padding: 0 0 8px;
	}
	.tc-trust-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}
	.tc-trust-item {
		padding: 9px 10px;
		gap: 8px;
		border-radius: 13px;
		flex-direction: row;
		align-items: center;
	}
	.tc-trust-item__icon {
		width: 32px;
		height: 32px;
		border-radius: 9px;
	}
	.tc-trust-item__icon svg {
		width: 17px;
		height: 17px;
	}
	.tc-trust-item strong {
		font-size: 0.75rem;
		line-height: 1.25;
		margin-bottom: 0;
	}
	.tc-trust-item p {
		display: none;
	}
	/* Compact Category Cards */
	.tc-cat-grid,
	.tc-cat-grid--cols-2,
	.tc-cat-grid--cols-3,
	.tc-cat-grid--cols-5 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}
	.tc-cat-card {
		flex-direction: row;
		align-items: center;
		text-align: left;
		padding: 8px 9px;
		gap: 9px;
		border-radius: 13px;
	}
	.tc-cat-card__media {
		width: 48px;
		height: 48px;
		border-radius: 10px;
	}
	.tc-cat-card__title {
		font-size: 0.79rem;
		line-height: 1.22;
		margin-bottom: 3px;
	}
	.tc-cat-card__sub {
		display: none;
	}
	.tc-cat-card__count {
		font-size: 0.65rem;
		padding: 1px 6px;
	}
	.tc-sec-head {
		margin-bottom: 14px;
		gap: 8px;
	}
	.tc-sec-title {
		font-size: 1.26rem;
	}
	.tc-sec-head__right {
		width: 100%;
		min-width: 0;
		gap: 8px;
	}
	.tc-link-arrow {
		font-size: 0.79rem;
	}
	.tc-tabs {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		padding-bottom: 2px;
		scrollbar-width: none;
	}
	.tc-tabs::-webkit-scrollbar {
		display: none;
	}
	.tc-tab {
		padding: 6px 12px;
		font-size: 0.77rem;
	}
	.tc-editorial-banner {
		min-height: 215px;
		border-radius: 18px;
	}
	.tc-editorial-banner::before {
		background: linear-gradient(180deg, rgba(235, 241, 236, 0.94) 0%, rgba(235, 241, 236, 0.86) 65%, rgba(235, 241, 236, 0.65) 100%);
	}
	.tc-editorial-banner__content {
		padding: 20px 16px;
	}
	.tc-editorial-banner__content h2 {
		font-size: 1.26rem;
		margin-bottom: 8px;
	}
	.tc-editorial-banner__content p {
		font-size: 0.81rem;
		margin-bottom: 14px;
	}
	.tc-editorial-banner__btns .tc-btn {
		padding: 8px 13px;
		font-size: 0.77rem;
	}
	.tc-fashion-panel {
		border-radius: 18px;
	}
	.tc-fashion-panel__bg {
		aspect-ratio: 4 / 3;
		object-position: center 44%;
	}
	.tc-fashion-panel__content {
		padding: 10px 16px 20px;
		margin-top: -10px;
	}
	.tc-fashion-panel h2 {
		font-size: 1.28rem;
	}
	.tc-fashion-panel p {
		font-size: 0.81rem;
		margin-bottom: 12px;
	}
	.tc-fashion-pills {
		gap: 6px;
		margin-bottom: 14px;
	}
	.tc-fashion-pills a {
		font-size: 0.72rem;
		padding: 5px 10px;
	}
	.tc-brand-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
	}
	.tc-brand-tile {
		padding: 10px 8px;
		border-radius: 12px;
	}
	.tc-brand-tile__name {
		font-size: 0.74rem;
	}
	.tc-brand-tile__tag {
		display: none;
	}
}
