/* Eyeshadow Textures — front-end styles (siblings with the Lipstick
   Textures plugin's design system: same shape, gold/amber instead of pink) */

.est-wrap {
	--est-ink: #2b2b2b;
	--est-muted: #7a6a58;
	--est-gold: #a6741d;
	--est-gold-light: #faf3e3;
	--est-border: #e8dcc0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--est-ink);
	max-width: 1000px;
	margin: 0 auto;
}

.est-empty {
	color: var(--est-muted);
	font-style: italic;
}

/* Texture grid */

.est-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
	margin: 24px 0;
}

.est-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px 18px;
	background: var(--est-gold-light);
	border: 1px solid var(--est-border);
	border-radius: 10px;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.est-card:hover,
.est-card:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(166, 116, 29, 0.18);
	border-color: var(--est-gold);
}

.est-card.is-active {
	background: var(--est-gold);
	border-color: var(--est-gold);
}

.est-card.is-active .est-card__name {
	color: #fff;
}

.est-card__name {
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--est-gold);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

/* Single texture listing */

.est-texture-title {
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--est-gold);
	margin-bottom: 12px;
}

/* Item table */

.est-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid var(--est-border);
	border-radius: 8px;
	overflow: hidden;
	margin: 1em 0;
}

.est-table th,
.est-table td {
	padding: 10px 14px;
	text-align: left;
	border-bottom: 1px solid var(--est-border);
	vertical-align: top;
	font-size: 0.92rem;
}

.est-table thead th {
	background: var(--est-gold);
	color: #fff;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.78rem;
	letter-spacing: 0.03em;
}

.est-table tbody tr:nth-child(even) {
	background: var(--est-gold-light);
}

.est-table tbody tr:hover {
	background: #f3e6c8;
}

.est-col-name {
	font-weight: 600;
	white-space: nowrap;
}

@media (max-width: 600px) {
	.est-table,
	.est-table thead,
	.est-table tbody,
	.est-table th,
	.est-table td,
	.est-table tr {
		display: block;
	}

	.est-table thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}

	.est-table tr {
		margin-bottom: 12px;
		border: 1px solid var(--est-border);
		border-radius: 8px;
	}

	.est-table td {
		border: none;
		border-bottom: 1px solid var(--est-border);
	}

	.est-table td:before {
		content: attr(data-label);
		display: block;
		font-weight: 700;
		font-size: 0.7rem;
		text-transform: uppercase;
		color: var(--est-gold);
		margin-bottom: 2px;
	}
}
