/* ZABI CREATIVE – layout, components and motion.
   Colours, fonts and spacing come from Global Styles (Appearance > Editor > Styles). */

:root {
	--zc-bg: var(--wp--preset--color--zc-background, #FAF8F4);
	--zc-card: var(--wp--preset--color--zc-card, #FFFFFF);
	--zc-heading: var(--wp--preset--color--zc-heading, #17233B);
	--zc-text: var(--wp--preset--color--zc-text, #293548);
	--zc-accent: var(--wp--preset--color--zc-accent, #E17239);
	--zc-button: var(--wp--preset--color--zc-button, #C2410C);
	--zc-button-hover: var(--wp--preset--color--zc-button-hover, #9A3412);
	--zc-wash: var(--wp--preset--color--zc-wash, #FCEBDD);
	--zc-line: #E7E1D8;
	--zc-radius: 14px;
	--zc-shadow: 0 1px 2px rgba(23, 35, 59, .06), 0 4px 14px rgba(23, 35, 59, .06);
	--zc-shadow-hover: 0 2px 4px rgba(23, 35, 59, .08), 0 12px 28px rgba(23, 35, 59, .12);
	--zc-wide: var(--wp--style--global--wide-size, 1160px);
	--zc-gutter: clamp(1rem, 4vw, 2rem);
	--zc-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Language typography ---------- */
html[lang^="ps"] body {
	font-family: "Noto Sans Arabic", "DM Sans", system-ui, sans-serif;
	font-size: 1.125rem;
	line-height: 1.9;
}
html[lang^="ps"] :where(h1, h2, h3, h4) {
	font-family: "Noto Sans Arabic", "DM Sans", system-ui, sans-serif;
	line-height: 1.55;
	letter-spacing: 0;
}
html[lang^="nl"] body { font-family: "DM Sans", system-ui, sans-serif; }
[lang="nl"], [lang="en"] { font-family: "DM Sans", system-ui, sans-serif; }
.zc-ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* ---------- Basics ---------- */
body { background: var(--zc-bg); color: var(--zc-text); }
.zc-main { padding-block: 0 clamp(2.5rem, 6vw, 4.5rem); }
.zc-main > .wp-block-post-content > :first-child { margin-block-start: 0; }
:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--zc-button);
	outline-offset: 3px;
	border-radius: 6px;
}
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.zc-skip { position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 100; background: var(--zc-heading); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.zc-skip:focus { top: .75rem; }

/* ---------- Buttons ---------- */
.wp-element-button, .wp-block-button__link, .zc-main .button, .zc-main button.button {
	transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s var(--zc-ease);
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}
.wp-element-button:active, .wp-block-button__link:active { transform: scale(.98); }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--zc-button);
	border: 2px solid currentColor;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--zc-wash); color: var(--zc-button-hover); }

/* ---------- Header ---------- */
.zc-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 244, .94); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--zc-line); }
.admin-bar .zc-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .zc-header { top: 0; } }
.zc-header__inner { max-width: var(--zc-wide); margin-inline: auto; padding: .65rem var(--zc-gutter); display: flex; align-items: center; gap: 1.5rem; position: relative; }
.zc-logo { display: inline-flex; flex: none; }
.zc-logo img { display: block; height: 48px; width: auto; }
.zc-nav { margin-inline-start: auto; display: flex; align-items: center; gap: 1.5rem; }
.zc-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.zc-nav__list a { display: block; padding: .55rem .8rem; border-radius: 10px; color: var(--zc-heading); text-decoration: none; font-weight: 500; font-size: 1rem; transition: background-color .2s ease, color .2s ease; }
.zc-nav__list a:hover { background: var(--zc-wash); color: var(--zc-button-hover); }
.zc-nav__list a[aria-current="page"] { color: var(--zc-button); box-shadow: inset 0 -2px 0 var(--zc-accent); border-radius: 10px 10px 4px 4px; }
.zc-lang { display: inline-flex; align-items: center; gap: .35rem; font-size: .95rem; white-space: nowrap; }
.zc-lang a { color: var(--zc-heading); text-decoration: none; padding: .45rem .55rem; border-radius: 8px; min-height: 44px; display: inline-flex; align-items: center; transition: background-color .2s ease; }
.zc-lang a[lang="ps"] { font-family: "Noto Sans Arabic", system-ui, sans-serif; }
.zc-lang a:hover { background: var(--zc-wash); }
.zc-lang a[aria-current="true"] { font-weight: 700; color: var(--zc-button); }
.zc-lang__sep { color: #A39A8E; }
.zc-menu-btn { display: none; }

@media (max-width: 960px) {
	.zc-menu-btn {
		display: inline-flex; align-items: center; gap: .5rem; margin-inline-start: auto;
		min-height: 48px; padding: .5rem .9rem; border: 1px solid var(--zc-line); border-radius: 12px;
		background: var(--zc-card); color: var(--zc-heading); font: inherit; font-size: 1rem; cursor: pointer;
		transition: background-color .2s ease;
	}
	.zc-menu-btn:hover { background: var(--zc-wash); }
	.zc-menu-btn__icon { position: relative; width: 20px; height: 14px; }
	.zc-menu-btn__icon::before, .zc-menu-btn__icon::after, .zc-menu-btn__icon span { content: ""; position: absolute; inset-inline: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--zc-ease), opacity .2s ease; }
	.zc-menu-btn__icon::before { top: 0; }
	.zc-menu-btn__icon span { top: 6px; }
	.zc-menu-btn__icon::after { top: 12px; }
	.zc-menu-btn[aria-expanded="true"] .zc-menu-btn__icon::before { transform: translateY(6px) rotate(45deg); }
	.zc-menu-btn[aria-expanded="true"] .zc-menu-btn__icon span { opacity: 0; }
	.zc-menu-btn[aria-expanded="true"] .zc-menu-btn__icon::after { transform: translateY(-6px) rotate(-45deg); }

	.zc-js .zc-nav {
		position: absolute; top: 100%; inset-inline: 0; margin: 0;
		flex-direction: column; align-items: stretch; gap: .75rem;
		padding: .75rem var(--zc-gutter) 1.25rem;
		background: var(--zc-bg); border-bottom: 1px solid var(--zc-line); box-shadow: 0 16px 30px rgba(23, 35, 59, .10);
		opacity: 0; transform: translateY(-8px); visibility: hidden; pointer-events: none;
		transition: opacity .25s ease, transform .25s var(--zc-ease), visibility 0s linear .25s;
	}
	.zc-js .zc-header.is-open .zc-nav {
		opacity: 1; transform: none; visibility: visible; pointer-events: auto;
		transition: opacity .25s ease, transform .25s var(--zc-ease), visibility 0s;
	}
	.zc-nav__list { flex-direction: column; gap: 0; }
	.zc-nav__list a { padding: .85rem .5rem; font-size: 1.1rem; border-bottom: 1px solid var(--zc-line); border-radius: 0; }
	.zc-nav__list a[aria-current="page"] { box-shadow: none; }
	.zc-lang--header { justify-content: center; padding-top: .25rem; font-size: 1.05rem; }
	/* Without JavaScript the menu simply wraps below the logo. */
	html:not(.zc-js) .zc-header__inner { flex-wrap: wrap; }
	html:not(.zc-js) .zc-nav { width: 100%; flex-direction: column; align-items: stretch; }
}

/* ---------- Sections and grid ---------- */
.zc-section { padding-block: clamp(2.5rem, 6vw, 4.5rem); padding-inline: var(--zc-gutter); margin-block: 0 !important; }
.zc-section > * { max-width: var(--zc-wide); margin-inline: auto !important; }
.zc-section--white { background: var(--zc-card); border-block: 1px solid var(--zc-line); }
.zc-section-head { margin-bottom: clamp(1.25rem, 3vw, 2rem) !important; }
.zc-section-head h2 { margin: 0 0 .4rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.zc-section-head p { margin: 0; max-width: 46rem; }
.zc-kicker { display: inline-block; margin: 0 0 .6rem !important; padding: .2rem .7rem; border-radius: 999px; background: var(--zc-wash); color: var(--zc-button-hover); font-size: .85rem; font-weight: 600; letter-spacing: .02em; }

/* ---------- Hero ---------- */
.zc-hero { padding-block: clamp(2rem, 6vw, 5rem) clamp(2.5rem, 6vw, 4.5rem); padding-inline: var(--zc-gutter); margin-block: 0 !important; overflow: hidden; }
.zc-hero__grid { max-width: var(--zc-wide); margin-inline: auto !important; display: grid !important; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.zc-hero__text > * { margin-block: 0; }
.zc-hero__text h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); margin-bottom: .6rem; }
.zc-hero__tagline { font-weight: 600; color: var(--zc-button) !important; margin-bottom: 1rem !important; }
.zc-hero__intro { font-size: 1.15rem; max-width: 36rem; margin-bottom: 1.75rem !important; }
html[lang^="ps"] .zc-hero__intro { font-size: 1.2rem; }
.zc-hero__media { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1.05; margin: 0 !important; }
.zc-hero__media::before { content: ""; position: absolute; inset: 6% 2% 4%; border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%; background: radial-gradient(circle at 40% 35%, #FDE3CC, var(--zc-wash) 60%, rgba(252, 235, 221, 0) 72%); }
.zc-hero__media .wp-block-image, .zc-hero__media figure { position: relative; margin: 0; width: min(78%, 360px); }
.zc-hero__media img { width: 100%; height: auto; aspect-ratio: 480 / 602; object-fit: cover; border-radius: 10px; box-shadow: 0 24px 48px rgba(23, 35, 59, .18); }
.zc-hero .wp-block-buttons { gap: .75rem; }
@media (max-width: 781px) {
	.zc-hero__grid { grid-template-columns: 1fr; }
	.zc-hero__media { aspect-ratio: auto; padding-block: 1rem; }
	.zc-hero__media figure { width: min(70%, 300px); }
	.zc-hero .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.zc-hero .wp-block-button, .zc-hero .wp-block-button__link { width: 100%; }
}

/* ---------- Cards ---------- */
.zc-card { background: var(--zc-card); border: 1px solid var(--zc-line); border-radius: var(--zc-radius); padding: clamp(1.25rem, 3vw, 2rem) !important; box-shadow: var(--zc-shadow); transition: transform .25s var(--zc-ease), box-shadow .25s ease; }
.zc-card:hover { transform: translateY(-3px); box-shadow: var(--zc-shadow-hover); }
.zc-card > * { margin-block: 0; }
.zc-card > * + * { margin-block-start: .75rem; }
.zc-card h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
.zc-product { display: grid !important; grid-template-columns: minmax(140px, 220px) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.25rem) !important; align-items: start; }
.zc-product > * + * { margin-block-start: 0; }
.zc-product__cover { margin: 0 !important; }
.zc-product__cover img { width: 100%; height: auto; aspect-ratio: 480 / 602; object-fit: cover; border-radius: 8px; box-shadow: 0 10px 24px rgba(23, 35, 59, .14); }
.zc-product__body > * { margin-block: 0; }
.zc-product__body > * + * { margin-block-start: .8rem; }
.zc-meta { display: flex !important; flex-wrap: wrap; gap: .4rem .5rem; margin: 0; padding: 0; list-style: none; }
.zc-meta li, .zc-badge { display: inline-block; padding: .15rem .65rem; border-radius: 999px; background: var(--zc-wash); color: var(--zc-button-hover); font-size: .85rem; font-weight: 600; }
.zc-badge--free { background: #E3F2E8; color: #1E6B3A; }
.zc-badge--paid { background: #EAEDF5; color: var(--zc-heading); }
.zc-formats { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem !important; }
.zc-format { border: 1px solid var(--zc-line); border-radius: 12px; padding: .9rem 1rem !important; background: var(--zc-bg); }
.zc-format > * { margin: 0 !important; }
.zc-format h4 { font-size: 1.05rem; margin-bottom: .25rem !important; }
.zc-format p { font-size: .95rem; }
.zc-price { font-weight: 700; color: var(--zc-heading) !important; }
.zc-status { display: inline-flex !important; align-items: center; gap: .5rem; font-weight: 600; color: var(--zc-heading) !important; padding: .55rem .9rem; border-radius: 10px; background: #F1ECE4; }
.zc-status::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--zc-accent); flex: none; }
.zc-steps { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem !important; list-style: none; padding: 0 !important; margin: 0; counter-reset: zcstep; }
.zc-steps li { counter-increment: zcstep; background: var(--zc-card); border: 1px solid var(--zc-line); border-radius: 12px; padding: 1rem 1.1rem; box-shadow: var(--zc-shadow); transition: transform .25s var(--zc-ease), box-shadow .25s ease; }
.zc-steps li:hover { transform: translateY(-3px); box-shadow: var(--zc-shadow-hover); }
.zc-steps li::before { content: counter(zcstep); display: grid; place-items: center; width: 2rem; height: 2rem; margin-bottom: .5rem; border-radius: 50%; background: var(--zc-wash); color: var(--zc-button-hover); font-weight: 700; }
.zc-note { background: var(--zc-card); border: 1px dashed #D9CFC2; border-radius: 12px; padding: 1rem 1.2rem !important; }
.zc-textlink { color: var(--zc-button); font-weight: 600; }
@media (max-width: 781px) {
	.zc-product { grid-template-columns: 1fr; }
	.zc-product__cover { max-width: 220px; }
	.zc-formats { grid-template-columns: 1fr; }
}

/* ---------- Course visual (until real lesson thumbnails exist) ---------- */
.zc-course-visual { aspect-ratio: 480 / 602; border-radius: 8px; padding: 1.25rem !important; display: flex !important; flex-direction: column; justify-content: flex-end; gap: .25rem; color: #fff; background: linear-gradient(160deg, var(--zc-accent), var(--zc-button)); box-shadow: 0 10px 24px rgba(23, 35, 59, .14); position: relative; overflow: hidden; }
.zc-course-visual::before { content: ""; position: absolute; top: 1.25rem; inset-inline-start: 1.25rem; width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 26px no-repeat; }
.zc-course-visual > * { margin: 0 !important; color: #fff !important; direction: ltr; text-align: start; }
.zc-course-visual__title { font-weight: 700; font-size: 1.15rem; line-height: 1.3; font-family: "DM Sans", system-ui, sans-serif; }
.zc-course-visual__level { font-size: .95rem; opacity: .9; font-family: "DM Sans", system-ui, sans-serif; }
@media (max-width: 781px) { .zc-course-visual { max-width: 220px; } }

/* ---------- Page heads and title on shop pages ---------- */
.zc-page-head { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 3vw, 1.5rem); }
.zc-page-head .zc-hero__text > * { margin-block: 0; }
.zc-page-head h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); margin-bottom: .75rem !important; max-width: 40rem; }
.zc-page-head .zc-hero__intro { margin-bottom: 0 !important; max-width: 44rem; }
.zc-page-head .wp-block-buttons { margin-top: 1.5rem !important; }
.zc-section-actions { margin-top: clamp(1.25rem, 3vw, 2rem) !important; }
.zc-page-title-wrap { padding: clamp(1.5rem, 4vw, 2.5rem) var(--zc-gutter) 0; }
.zc-main .wp-block-post-content { padding-inline: var(--zc-gutter); }
.zc-main .wp-block-post-content > .alignfull { margin-inline: calc(-1 * var(--zc-gutter)) !important; }

/* ---------- Student area and shop screens ---------- */
.zc-login-area { scroll-margin-top: 90px; }
.zc-main .tutor-wrap, .zc-main .woocommerce { max-width: var(--zc-wide); margin-inline: auto; }
.zc-main .woocommerce input.input-text, .zc-main .woocommerce select, .zc-main .woocommerce textarea { min-height: 46px; border-radius: 10px; border: 1px solid #CFC6BA; padding: .5rem .75rem; background: #fff; }

/* ---------- Footer ---------- */
.zc-footer { background: var(--zc-heading); color: #E6E9F0; padding: clamp(2rem, 5vw, 3rem) var(--zc-gutter) 1.25rem; }
.zc-footer a { color: #fff; text-decoration: none; }
.zc-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.zc-footer__inner { max-width: var(--zc-wide); margin-inline: auto; display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 2rem; align-items: start; }
.zc-footer__brand { display: flex; gap: .9rem; align-items: flex-start; }
.zc-footer__brand img { border-radius: 10px; flex: none; }
.zc-footer p { margin: 0; }
.zc-footer__name { font-weight: 700; color: #fff; letter-spacing: .04em; }
.zc-footer__tag { color: #F7B98F; font-size: .95rem; }
.zc-footer__about { margin-top: .5rem !important; font-size: .95rem; max-width: 26rem; }
.zc-footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.zc-footer__nav a { display: inline-block; padding: .3rem 0; }
.zc-footer__label { font-size: .85rem; color: #AEB6C6; margin-bottom: .25rem !important; }
.zc-footer .zc-lang a { color: #fff; }
.zc-footer .zc-lang a:hover { background: rgba(255, 255, 255, .08); }
.zc-footer .zc-lang a[aria-current="true"] { color: #F7B98F; }
.zc-footer__copy { max-width: var(--zc-wide); margin: 2rem auto 0 !important; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; color: #AEB6C6; }
@media (max-width: 781px) { .zc-footer__inner { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- Motion (opacity + transform only) ---------- */
@keyframes zc-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes zc-rise-soft { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.zc-hero__text > * { animation: zc-rise .34s var(--zc-ease) both; }
.zc-hero__text > :nth-child(2) { animation-delay: .06s; }
.zc-hero__text > :nth-child(3) { animation-delay: .12s; }
.zc-hero__text > :nth-child(n+4) { animation-delay: .16s; animation-name: none; } /* actions are usable at once */
.zc-hero__media { animation: zc-rise-soft .35s var(--zc-ease) .22s both; }

.zc-js .zc-reveal:not(.is-in) { opacity: 0; transform: translateY(16px); }
.zc-js .zc-reveal { transition: opacity .32s ease, transform .32s var(--zc-ease); }
.zc-js .zc-stagger > *:not(.is-in) { opacity: 0; transform: translateY(14px); }
.zc-js .zc-stagger > * { transition: opacity .3s ease, transform .3s var(--zc-ease), box-shadow .25s ease; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
	.zc-js .zc-reveal:not(.is-in), .zc-js .zc-stagger > *:not(.is-in) { opacity: 1; transform: none; }
	.zc-card:hover, .zc-steps li:hover { transform: none; }
}

/* ---------- Hero photo ---------- */
.zc-hero__media--photo { aspect-ratio: auto; }
.zc-hero__media--photo::before { inset: 8% -4% -6% 10%; border-radius: 28px; background: var(--zc-wash); transform: rotate(-2deg); }
.zc-hero__media--photo figure, .zc-hero__media--photo .wp-block-image { width: 100%; max-width: 560px; }
.zc-hero__media--photo img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 45%; border-radius: 20px; }
@media (max-width: 960px) {
	.zc-hero__media--photo figure { width: 100%; }
	.zc-hero__media--photo img { aspect-ratio: 16 / 10; }
}

/* ---------- Catalog ---------- */
.zc-catalog-head { display: flex !important; align-items: center; gap: .75rem; flex-wrap: wrap; }
.zc-pgrid { list-style: none; margin: 0; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: clamp(1rem, 2.5vw, 1.5rem); }
.zc-pcard { display: flex; flex-direction: column; background: var(--zc-card); border: 1px solid var(--zc-line); border-radius: var(--zc-radius); overflow: hidden; box-shadow: var(--zc-shadow); transition: transform .25s var(--zc-ease), box-shadow .25s ease; }
.zc-pcard:hover { transform: translateY(-3px); box-shadow: var(--zc-shadow-hover); }
.zc-pcard__media { display: block; background: var(--zc-wash); padding: 1.25rem 1.25rem 0; }
.zc-pcard__img { display: block; width: min(70%, 190px); height: auto; margin: 0 auto; aspect-ratio: 680 / 1060; object-fit: cover; border-radius: 6px 6px 0 0; box-shadow: 0 10px 24px rgba(23, 35, 59, .16); }
.zc-pcard__img--empty { background: linear-gradient(160deg, var(--zc-accent), var(--zc-button)); }
.zc-pcard__body { display: flex; flex-direction: column; gap: .55rem; padding: 1.1rem 1.2rem 1.25rem; flex: 1; }
.zc-pcard__body .zc-badge { align-self: flex-start; }
.zc-pcard__title { font-size: 1.15rem; margin: 0; line-height: 1.35; }
.zc-pcard__title a { color: var(--zc-heading); text-decoration: none; }
.zc-pcard__title a:hover { color: var(--zc-button); }
.zc-pcard__text { margin: 0; font-size: .95rem; }
.zc-pcard__foot { margin-top: auto; padding-top: .5rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.zc-pcard__price { margin: 0; font-weight: 700; color: var(--zc-heading); }
.zc-buy { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem; border-radius: 10px; background: var(--zc-button); color: #fff !important; font-weight: 600; text-decoration: none; transition: background-color .2s ease; }
.zc-buy:hover { background: var(--zc-button-hover); }
.zc-buy--more { background: transparent; color: var(--zc-button) !important; border: 1px solid var(--zc-button); }
.zc-buy--more:hover { background: var(--zc-wash); }
.zc-badge--print { background: var(--zc-wash); color: var(--zc-button-hover); }
.zc-badge--pdf { background: #E5EEF8; color: #1D4F86; }
.zc-badge--course { background: #EAEDF5; color: var(--zc-heading); }
.zc-single-format { margin: 0 0 .5rem !important; }
.zc-single-note { background: var(--zc-bg); border: 1px solid var(--zc-line); border-radius: 10px; padding: .7rem .9rem; font-size: .95rem; }
.zc-format__actions { margin-top: .5rem !important; }

/* ---------- Learning area ---------- */
.zc-learn { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); }
.zc-learn__hello { font-size: 1.15rem; font-weight: 600; color: var(--zc-heading); margin: 0; }
.zc-learn__block > h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin: 0 0 .9rem; }
.zc-learn__actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.zc-lgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1rem; }
.zc-lcard { background: var(--zc-card); border: 1px solid var(--zc-line); border-radius: var(--zc-radius); padding: 1.2rem; box-shadow: var(--zc-shadow); display: grid; gap: .6rem; }
.zc-lcard h3 { margin: 0; font-size: 1.15rem; }
.zc-lcard__meta { margin: 0; font-size: .95rem; }
.zc-lcard .wp-element-button { justify-self: start; }
.zc-progress { height: 10px; border-radius: 999px; background: #EFE8DE; overflow: hidden; }
.zc-progress span { display: block; height: 100%; background: var(--zc-accent); border-radius: inherit; transition: width .6s var(--zc-ease); }
.zc-dlist { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.zc-dlist li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; background: var(--zc-card); border: 1px solid var(--zc-line); border-radius: 12px; padding: .75rem 1rem; }
.zc-dlist small { display: block; color: #5B6478; }
.zc-table-wrap { overflow-x: auto; background: var(--zc-card); border: 1px solid var(--zc-line); border-radius: 12px; }
.zc-orders { width: 100%; border-collapse: collapse; font-size: .97rem; }
.zc-orders th, .zc-orders td { padding: .7rem .9rem; text-align: start; border-bottom: 1px solid var(--zc-line); white-space: nowrap; }
.zc-orders tr:last-child td { border-bottom: 0; }
.zc-orders th { font-weight: 600; color: var(--zc-heading); background: var(--zc-bg); }
.zc-ostatus { display: inline-block; padding: .1rem .6rem; border-radius: 999px; background: #EFE8DE; font-size: .85rem; font-weight: 600; }
.zc-ostatus--completed { background: #E3F2E8; color: #1E6B3A; }
.zc-ostatus--processing { background: #E5EEF8; color: #1D4F86; }
.zc-ostatus--failed, .zc-ostatus--cancelled { background: #FBE4E2; color: #9B1C1C; }

/* ---------- Contact form ---------- */
.zc-contact { display: grid; gap: 1.25rem; max-width: 760px; }
.zc-contact__ways { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.zc-contact__ways li { background: var(--zc-card); border: 1px solid var(--zc-line); border-radius: 12px; padding: .7rem 1rem; display: grid; }
.zc-contact__ways span { font-size: .85rem; color: #5B6478; }
.zc-contact__ways a { color: var(--zc-button); font-weight: 600; text-decoration: none; }
.zc-form { display: grid; gap: .25rem; }
.zc-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.zc-field { margin: 0 0 .75rem !important; display: grid; gap: .35rem; }
.zc-field label { font-weight: 600; color: var(--zc-heading); }
.zc-field small { font-weight: 400; color: #5B6478; }
.zc-field input, .zc-field textarea { width: 100%; min-height: 46px; border: 1px solid #CFC6BA; border-radius: 10px; padding: .6rem .8rem; background: #fff; font: inherit; color: var(--zc-text); }
.zc-field input:focus, .zc-field textarea:focus { border-color: var(--zc-button); outline: 2px solid rgba(194, 65, 12, .25); outline-offset: 1px; }
.zc-form__privacy { font-size: .9rem; color: #5B6478; margin: 0 0 .75rem !important; }
.zc-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.zc-status--ok { background: #E3F2E8; }
.zc-status--ok::before { background: #1E6B3A; }
@media (max-width: 640px) { .zc-form__row { grid-template-columns: 1fr; gap: 0; } }
@media (prefers-reduced-motion: reduce) { .zc-pcard:hover { transform: none; } }
