/*
Theme Name: Caddys Beauty
Theme URI: https://caddysbeauty.nl
Author: Caddys Beauty
Description: Eigen thema voor Caddys Beauty, schoonheidssalon van Clarisse Cardoso in Rotterdam. Alles is aan te passen in de blokeditor.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: caddys-beauty
*/

:root {
	--cb-cream: #FBF3EF;
	--cb-blush: #F4E3DC;
	--cb-rose: #E9C9C3;
	--cb-mauve: #B98A93;
	--cb-plum: #6B2D45;
	--cb-plum-dark: #4E1F32;
	--cb-ink: #3E2A31;
	--cb-muted: #7D6A70;
	--cb-line: #E8D5CF;
	--cb-radius: 20px;
	--cb-shadow: 0 14px 40px -24px rgba(107, 45, 69, .45);
}

html { scroll-behavior: smooth; }
.cb-section[id] { scroll-margin-top: 70px; }
body { -webkit-font-smoothing: antialiased; }

/* Geen witruimte tussen header, inhoud en footer, en tussen de secties */
body .wp-site-blocks > *,
body .cb-main > .wp-block-post-content,
body .wp-block-post-content > .alignfull { margin-block-start: 0; }
body .wp-site-blocks { padding-top: 0; padding-bottom: 0; }

/* ---------- Gedeelde stijlen ---------- */
.cb-eyebrow {
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: var(--cb-mauve);
	margin: 0;
}
.cb-script {
	font-family: "Great Vibes", cursive;
	font-size: clamp(1.8rem, 4vw, 2.4rem);
	line-height: 1.2;
	color: var(--cb-plum);
}
.cb-section { padding-top: clamp(64px, 9vw, 110px); padding-bottom: clamp(64px, 9vw, 110px); }
.cb-head { text-align: center; margin-bottom: 2.6rem; }
.cb-head h2 { margin-top: .4rem; }

/* Outline-knop in pruim */
.wp-block-button.is-style-outline > .wp-block-button__link {
	color: var(--cb-plum);
	border: 1.5px solid var(--cb-plum);
	background: transparent;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--cb-plum);
	color: #fff;
}
.wp-block-button__link { transition: background .2s, color .2s, transform .2s; }
.wp-block-button__link:hover { transform: translateY(-1px); }

/* ---------- Header ---------- */
.cb-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(251, 243, 239, .92);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--cb-line);
}
.admin-bar .cb-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .cb-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .cb-header { top: 0; } }
.cb-header-inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 12px 20px;
	gap: 16px;
}
.cb-brand { gap: 10px; }
.cb-brand .wp-block-site-logo img { border-radius: 50%; }
.cb-brand .wp-block-site-title {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 700;
	font-size: 1.35rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	white-space: nowrap;
	margin: 0;
}
.cb-brand .wp-block-site-title a { color: var(--cb-plum-dark); text-decoration: none; }
.cb-header-right { gap: 28px; }
.cb-nav { font-size: .95rem; gap: 26px; }
.cb-nav a { color: var(--cb-muted); text-decoration: none; }
.cb-nav a:hover { color: var(--cb-plum); }
.cb-header-cta .wp-block-button__link { padding: .65rem 1.3rem; white-space: nowrap; }
@media (max-width: 600px) {
	.cb-header-cta { display: none !important; }
	.cb-brand .wp-block-site-title { font-size: 1.1rem; }
}
.wp-block-navigation__responsive-container.is-menu-open {
	background: var(--cb-cream) !important;
	padding: 2rem 1.5rem;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.8rem;
	color: var(--cb-plum-dark);
}

/* ---------- Intro ---------- */
.cb-hero {
	position: relative;
	overflow: hidden;
	padding-top: clamp(40px, 7vw, 90px);
	padding-bottom: clamp(56px, 8vw, 110px);
}
.cb-hero::before {
	content: "";
	position: absolute;
	width: 520px; height: 520px;
	right: -160px; top: -180px;
	border-radius: 50%;
	background: var(--cb-rose);
	opacity: .55;
}
.cb-hero > * { position: relative; }
.cb-hero-cols { align-items: center !important; gap: clamp(32px, 6vw, 80px) !important; }
.cb-hero-text > * + * { margin-top: 1rem; }
.cb-display {
	font-size: clamp(3.2rem, 9vw, 6rem);
	line-height: .95;
	font-weight: 600;
	letter-spacing: -.01em;
	margin-top: .8rem !important;
}
.cb-hero .cb-script { margin-top: .2rem !important; font-size: clamp(2rem, 5vw, 2.8rem); }
.cb-lead { font-size: 1.12rem; color: var(--cb-muted); max-width: 30em; }
.cb-hero .wp-block-buttons { margin-top: 1.8rem !important; }
.cb-hours-note {
	display: inline-block;
	font-size: .88rem;
	color: var(--cb-plum);
	background: #fff;
	border: 1px solid var(--cb-line);
	border-radius: 999px;
	padding: .35rem 1rem;
	margin-top: 1.6rem !important;
}
.cb-hours-note::before { content: "● "; color: #7BAE7F; }
.cb-arch { margin: 0; }
.cb-arch img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 999px 999px var(--cb-radius) var(--cb-radius);
	box-shadow: 0 30px 60px -30px rgba(78, 31, 50, .55);
}
@media (max-width: 781px) {
	.cb-hero-text { text-align: center; }
	.cb-hero .wp-block-buttons { justify-content: center; }
	.cb-lead { margin-left: auto; margin-right: auto; }
	.cb-arch img { max-width: 420px; margin: 0 auto; aspect-ratio: 1 / 1; }
}

/* ---------- USP-balk ---------- */
.cb-usps {
	background: var(--cb-plum-dark);
	color: #EBD3DA;
	text-align: center;
	padding-top: 18px;
	padding-bottom: 18px;
	font-size: .82rem;
	letter-spacing: .18em;
	text-transform: uppercase;
}
.cb-usps p { margin: 0; }

/* ---------- Kaarten ---------- */
.cb-cards { gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)) !important; }
.cb-price-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)) !important; }
.cb-price, .cb-from, .cb-num { font-variant-numeric: lining-nums; }
.cb-card {
	background: #fff;
	border: 1px solid var(--cb-line);
	border-radius: var(--cb-radius);
	padding: 30px 26px;
	box-shadow: var(--cb-shadow);
	transition: transform .25s, box-shadow .25s;
}
.cb-card:hover { transform: translateY(-3px); box-shadow: 0 22px 46px -26px rgba(107, 45, 69, .55); }
.cb-card > * + * { margin-top: .6rem; }
.cb-card h3 { margin-top: .2rem; }
.cb-card p { color: var(--cb-muted); font-size: .97rem; }
.cb-num {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--cb-mauve) !important;
	letter-spacing: .1em;
}
.cb-from {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.35rem !important;
	font-weight: 700;
	color: var(--cb-plum) !important;
	padding-top: .6rem;
	border-top: 1px dashed var(--cb-line);
	margin-top: 1rem !important;
}

/* ---------- Salon ---------- */
.cb-about .wp-block-columns { align-items: center !important; gap: clamp(32px, 6vw, 72px) !important; }
.cb-photo { margin: 0; }
.cb-photo img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--cb-radius);
	box-shadow: var(--cb-shadow);
}
.cb-about-text > * + * { margin-top: 1rem; }
.cb-about-text p:not(.cb-eyebrow):not(.cb-script) { color: var(--cb-muted); }
@media (max-width: 781px) { .cb-photo img { aspect-ratio: 4 / 3; } }

/* ---------- Prijzen ---------- */
.cb-prices { background: var(--cb-blush); }
.cb-price-grid { gap: 22px; }
.cb-price-group {
	background: #fff;
	border: 1px solid var(--cb-line);
	border-radius: var(--cb-radius);
	padding: 28px 30px;
}
.cb-price-group h3 {
	font-size: 1.6rem;
	margin-bottom: .8rem;
}
.cb-row { gap: 10px !important; align-items: baseline !important; margin-top: 0 !important; padding: 6px 0; }
.cb-row p { margin: 0; }
.cb-row .cb-name {
	flex: 1;
	display: flex;
	align-items: baseline;
	gap: 10px;
	white-space: nowrap;
	color: var(--cb-ink);
}
.cb-row .cb-name::after {
	content: "";
	flex: 1;
	border-bottom: 1.5px dotted var(--cb-rose);
	transform: translateY(-4px);
}
.cb-row .cb-price {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 700;
	font-size: 1.35rem;
	color: var(--cb-plum);
	white-space: nowrap;
}
/* Openingstijden in de contactkaart */
.cb-card .cb-row { padding: 3px 0; }
.cb-card .cb-row .cb-name { font-size: .95rem; }
.cb-card .cb-row .cb-price { font-family: Lato, system-ui, sans-serif; font-weight: 400; font-size: .95rem; color: var(--cb-muted); }

/* ---------- Producten ---------- */
.cb-products { align-items: center !important; gap: clamp(32px, 6vw, 64px) !important; }
.cb-products .wp-block-column > * + * { margin-top: 1rem; }
.cb-checks { list-style: none; padding-left: 0; }
.cb-checks li { position: relative; padding: 5px 0 5px 30px; }
.cb-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--cb-plum); font-weight: 700; }
.cb-product-box {
	background: linear-gradient(145deg, var(--cb-rose), var(--cb-blush));
	border-radius: var(--cb-radius);
	padding: 64px 30px;
	text-align: center;
}
.cb-brandmark {
	font-size: clamp(2.2rem, 5vw, 2.8rem);
	font-weight: 700;
	letter-spacing: -.02em;
	color: var(--cb-plum-dark);
	margin: 0;
}

/* ---------- Afspraak ---------- */
.cb-booking {
	background: var(--cb-plum-dark);
	color: #EBD3DA;
	text-align: center;
}
.cb-booking h2 { color: #fff; margin-top: 0 !important; }
.cb-booking .cb-script { color: var(--cb-rose); margin: 0; }
.cb-booking p { max-width: 34em; margin-left: auto !important; margin-right: auto !important; }
.cb-booking .wp-block-buttons { justify-content: center; margin-top: 2rem !important; }
.cb-btn-light > .wp-block-button__link { background: #fff; color: var(--cb-plum-dark); }
.cb-btn-light > .wp-block-button__link:hover { background: var(--cb-rose); color: var(--cb-plum-dark); }
.cb-btn-ghost-light.is-style-outline > .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .7); }
.cb-btn-ghost-light.is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--cb-plum-dark); }

/* ---------- Footer ---------- */
.cb-footer {
	background: var(--cb-plum-dark);
	color: #EBD3DA;
	text-align: center;
	padding-top: 48px;
	padding-bottom: 40px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: .92rem;
}
.cb-footer > * + * { margin-top: .5rem; }
.cb-footer .cb-script { color: #fff; margin: 0; }
.cb-footer a { color: #fff; text-decoration: none; font-weight: 700; }
.cb-footer a:hover { text-decoration: underline; }
.cb-copy { opacity: .7; font-size: .85rem; }

/* ---------- Gewone pagina's ---------- */
.cb-page { padding-top: 60px; padding-bottom: 80px; min-height: 50vh; }
