/*
 * Shop Zen Editor Styles
 *
 * @package shop-zen
 */

/* ── CSS Variables ── */
:root {
	--brand-sky: #0072FF;
	--brand-secondary: #FF3D81;
	--brand-highlight: #FFB800;
	--brand-accent: #00A86B;
	--brand-dark: #1C1C1C;
	--brand-panel: #F8F9FA;
	--brand-card: #FFFFFF;
	--brand-text: #1C1C1C;
	--brand-muted: #6B6560;
	--brand-border: #E8E4DF;
	--brand-bg: #FBF9F6;
	--brand-bg-secondary: #F3EFEA;
	--brand-text-muted: #9C9792;
	--brand-accent-warm: #B8977E;
	--brand-accent-warm-hover: #A0785E;
	--brand-border-light: #F0EDE9;

	--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-display: 'Inter Num', 'Playfair Display', serif;
	--font-hand: 'Inter Num', 'Caveat', cursive;
	--font-dm: 'Inter Num', 'DM Sans', sans-serif;
	--font-mono: 'Inter Num', 'DM Mono', monospace;
}

/* ── Base Typography ── */
.editor-styles-wrapper {
	font-family: var(--font-sans);
	color: var(--brand-text);
	line-height: 1.6;
	font-size: 15px;
	letter-spacing: -0.01em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background: var(--brand-bg);
}

/* ── Headings ── */
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h5,
.editor-styles-wrapper h6 {
	font-family: var(--font-display);
	color: var(--brand-dark);
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.editor-styles-wrapper h1 {
	font-size: 36px;
	font-weight: 600;
}

.editor-styles-wrapper h2 {
	font-size: 26px;
	font-weight: 500;
	line-height: 1.3;
}

.editor-styles-wrapper h3 {
	font-size: 22px;
	font-weight: 500;
}

.editor-styles-wrapper h4 {
	font-size: 18px;
	font-weight: 500;
}

.editor-styles-wrapper h5 {
	font-size: 16px;
	font-weight: 600;
}

.editor-styles-wrapper h6 {
	font-size: 14px;
	font-weight: 600;
}

/* ── Paragraphs ── */
.editor-styles-wrapper p {
	margin-bottom: 22px;
}

/* ── Links ── */
.editor-styles-wrapper a {
	color: var(--brand-accent-warm);
	transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.editor-styles-wrapper a:hover {
	color: var(--brand-accent-warm-hover);
}

/* ── Blockquote ── */
.editor-styles-wrapper blockquote {
	border-left: 3px solid var(--brand-accent-warm);
	margin: 24px 0;
	padding: 16px 24px;
	font-family: var(--font-display);
	font-style: italic;
	color: var(--brand-muted);
}

/* ── Lists ── */
.editor-styles-wrapper ul,
.editor-styles-wrapper ol {
	margin-bottom: 22px;
	padding-left: 24px;
}

.editor-styles-wrapper ul {
	list-style: disc;
}

.editor-styles-wrapper ol {
	list-style: decimal;
}

.editor-styles-wrapper li {
	margin-bottom: 8px;
}

/* ── Images ── */
.editor-styles-wrapper img {
	max-width: 100%;
	height: auto;
}

/* ── Separator ── */
.editor-styles-wrapper hr {
	border: none;
	border-top: 1px solid var(--brand-border);
	margin: 32px 0;
}

/* ── Tables ── */
.editor-styles-wrapper table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 22px;
}

.editor-styles-wrapper th,
.editor-styles-wrapper td {
	padding: 12px 16px;
	border: 1px solid var(--brand-border);
	text-align: left;
}

.editor-styles-wrapper th {
	font-weight: 600;
	background: var(--brand-panel);
}

/* ── Code ── */
.editor-styles-wrapper code {
	font-family: var(--font-mono);
	font-size: 13px;
	background: var(--brand-panel);
	padding: 2px 6px;
	border-radius: 4px;
}

.editor-styles-wrapper pre {
	font-family: var(--font-mono);
	font-size: 13px;
	background: var(--brand-panel);
	padding: 16px;
	border-radius: 8px;
	overflow-x: auto;
	margin-bottom: 22px;
}

/* ── Button Styles ── */
.editor-styles-wrapper .wp-block-button .wp-block-button__link {
	font-family: var(--font-sans);
	font-weight: 500;
	border-radius: 6px;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Font Utility Classes ── */
.editor-styles-wrapper .font-display {
	font-family: var(--font-display);
}

.editor-styles-wrapper .font-sans {
	font-family: var(--font-sans);
}

.editor-styles-wrapper .font-hand {
	font-family: var(--font-hand);
}

.editor-styles-wrapper .font-dm {
	font-family: var(--font-dm);
}

/* ── Selection ── */
.editor-styles-wrapper ::selection {
	background: rgba(184, 151, 126, 0.25);
	color: var(--brand-text);
}

/* ── Block: Pullquote ── */
.editor-styles-wrapper .wp-block-pullquote {
	border-top: 2px solid var(--brand-accent-warm);
	border-bottom: 2px solid var(--brand-accent-warm);
	font-family: var(--font-display);
}
