/* Objectionable Designs Site Kit — cute, friendly styling for layouts + shop */
:root {
	--od-pink: #F2739A;
	--od-pink-deep: #D94F7C;
	--od-pink-soft: #FFE7EC;
	--od-honey: #F6B955;
	--od-honey-soft: #FFF1D2;
	--od-blue: #0B47A8;
	--od-plum: #44266A;
	--od-cream: #FFF8EC;
	--od-ink: #2D1F45;
	--od-radius: 28px;
	--od-shadow: 0 10px 30px -12px rgba(68, 38, 106, 0.25);
	--od-display: "Fredoka", "Nunito", system-ui, sans-serif;
}

body {
	background-color: var(--od-cream);
	background-image: radial-gradient(rgba(242, 115, 154, 0.12) 1.5px, transparent 1.6px);
	background-size: 26px 26px;
}

/* Hide the automatic page title on pages that use a kit hero (the hero has its own big title) */
body:has(.od-hero, .od-page-hero) .wp-block-post-title,
body:has(.od-hero, .od-page-hero) .entry-title { display: none; }
body:has(.od-hero, .od-page-hero) main { margin-top: 0 !important; padding-top: 0 !important; }
body:has(.od-hero, .od-page-hero) .wp-block-post-content { margin-top: 0 !important; }
body:has(.od-hero, .od-page-hero) main > .wp-block-group:first-child { padding-top: 0 !important; margin-top: 0 !important; }
.od-card h3, .od-card p, .od-cards h3 { overflow-wrap: normal; word-break: normal; hyphens: none; }

/* ---------- Shared bits ---------- */
.od-eyebrow {
	font-family: var(--od-display);
	font-weight: 600;
	font-size: 0.95rem !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--od-pink-deep);
	margin-bottom: 0.25rem !important;
}
.od-lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); }
.od-small { font-size: 0.92rem; opacity: 0.8; }

.od-section,
.od-band,
.od-page-hero,
.od-hero,
.od-cta {
	padding: clamp(2.5rem, 2rem + 3vw, 5rem) clamp(1.25rem, 4vw, 3rem);
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.wp-block-image.od-photo img,
.od-photo img {
	border-radius: var(--od-radius);
	border: 6px solid #fff;
	box-shadow: var(--od-shadow);
	width: 100%;
	height: auto;
	object-fit: cover;
}

/* Buttons: puffy pills with a little bounce */
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce .button,
.wc-block-components-button:not(.is-link) {
	border-radius: 999px !important;
	padding: 0.8em 1.6em !important;
	font-family: var(--od-display) !important;
	font-weight: 600 !important;
	box-shadow: 0 4px 0 var(--od-pink-deep);
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #082f73; }
.woocommerce a.button, .woocommerce button.button, .woocommerce .button {
	background: var(--od-pink) !important;
	color: #fff !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--od-blue) !important; }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: #fff;
	color: var(--od-blue);
	border: 3px solid var(--od-blue);
	box-shadow: 0 4px 0 var(--od-blue);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--od-blue); color: #fff; }

/* ---------- Home hero ---------- */
.od-hero {
	background:
		radial-gradient(circle at 85% 20%, rgba(246, 185, 85, 0.35), transparent 40%),
		radial-gradient(circle at 10% 90%, rgba(242, 115, 154, 0.25), transparent 45%),
		var(--od-pink-soft);
	border-bottom: 6px dashed rgba(242, 115, 154, 0.35);
}
.od-hero-cols { align-items: center !important; gap: clamp(1.5rem, 4vw, 4rem) !important; }
.od-hero h1 {
	font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.4rem);
	color: var(--od-blue);
	margin-top: 0.25rem;
}
.od-hero-logo { margin: 0 auto; max-width: 440px; }
.od-hero-logo img { width: 100%; height: auto; filter: drop-shadow(0 14px 22px rgba(68, 38, 106, 0.18)); animation: od-bob 5s ease-in-out infinite; }
@keyframes od-bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
@media (prefers-reduced-motion: reduce) { .od-hero-logo img { animation: none; } }

/* ---------- Learn-page hero ---------- */
.od-page-hero {
	background: var(--od-pink-soft);
	border-bottom: 6px dashed rgba(242, 115, 154, 0.35);
}
.od-page-hero h1 { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem); color: var(--od-blue); margin-top: 0.25rem; }
.od-page-hero .od-lead { max-width: 680px; margin-left: auto !important; margin-right: auto !important; }

/* ---------- Photo + text rows ---------- */
.od-split { align-items: center !important; gap: clamp(1.5rem, 4vw, 4rem) !important; }
.od-text-col h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); }
.od-text-col ul, .od-text-col ol, .od-split ul, .od-split ol { padding-left: 1.3em; }
.od-split li { margin-bottom: 0.45em; }
.od-split li::marker { color: var(--od-pink); font-weight: 700; }
.od-section + .od-section { padding-top: 0; }

/* ---------- Cards ---------- */
.od-cards { gap: clamp(1rem, 2vw, 1.75rem) !important; }
@media (max-width: 600px) { .od-cards { gap: 1rem !important; } }
.od-card {
	background: #fff;
	border-radius: var(--od-radius);
	padding: 1rem 1rem 1.5rem;
	box-shadow: var(--od-shadow);
	border: 3px solid transparent;
	transition: transform 0.2s ease, border-color 0.2s ease;
}
.od-card:hover { transform: translateY(-6px) rotate(-0.5deg); border-color: var(--od-honey); }
.od-card h3 { font-size: 1.35rem; margin: 0.9rem 0 0.35rem; color: var(--od-blue); }
.od-card p { margin: 0.35rem 0; }
.od-card-photo img { border-radius: calc(var(--od-radius) - 10px); width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.od-card-photo { margin: 0 !important; }
.od-card-link a { font-family: var(--od-display); font-weight: 600; color: var(--od-pink-deep); text-decoration: none; }
.od-card-link a:hover { text-decoration: underline; }

.od-mini-cards { gap: 1.25rem !important; }
.od-mini-cards > .wp-block-column {
	background: var(--od-honey-soft);
	border-radius: var(--od-radius);
	padding: 1.25rem 1.5rem;
	border: 3px dashed var(--od-honey);
}
.od-mini-cards h3 { margin-top: 0; color: var(--od-plum); }

/* ---------- Story band ---------- */
.od-band {
	background: var(--od-honey-soft);
	border-top: 6px dashed rgba(246, 185, 85, 0.6);
	border-bottom: 6px dashed rgba(246, 185, 85, 0.6);
}

/* ---------- Video ---------- */
.od-video video {
	width: 100%;
	border-radius: var(--od-radius);
	border: 6px solid #fff;
	box-shadow: var(--od-shadow);
	background: var(--od-pink-soft);
}
.od-video-section .od-video { max-width: 900px; margin-left: auto !important; margin-right: auto !important; }
.wp-element-caption { text-align: center; font-size: 0.92rem; opacity: 0.8; }

/* ---------- Tip box ---------- */
.od-tip {
	max-width: 860px !important;
	margin: 0 auto clamp(2.5rem, 4vw, 4rem) !important;
	background: #fff;
	border: 3px solid var(--od-pink);
	border-radius: var(--od-radius);
	padding: 1.5rem 1.75rem 1.5rem 5rem !important;
	position: relative;
	box-shadow: 6px 6px 0 var(--od-pink-soft);
	width: calc(100% - 2.5rem);
}
.od-tip::before {
	content: "\2605";
	position: absolute;
	left: 1.4rem;
	top: 1.35rem;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 50%;
	background: var(--od-honey);
	color: #fff;
	display: grid;
	place-items: center;
	font-size: 1.3rem;
}
.od-tip > * { margin-top: 0.25rem !important; margin-bottom: 0.25rem !important; }
.od-tip h3 { font-size: 1.3rem; color: var(--od-plum); }
.od-tip-label { font-family: var(--od-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: var(--od-pink-deep); }

/* ---------- FAQ ---------- */
.od-faq-section > .od-faq { max-width: 860px; }
.od-faq {
	background: #fff;
	border-radius: 20px;
	padding: 1rem 1.4rem;
	margin-bottom: 0.85rem !important;
	box-shadow: 0 4px 0 var(--od-pink-soft);
	border: 2px solid var(--od-pink-soft);
}
.od-faq summary {
	font-family: var(--od-display);
	font-weight: 600;
	font-size: 1.12rem;
	color: var(--od-plum);
	cursor: pointer;
	list-style: none;
	position: relative;
	padding-right: 2rem;
}
.od-faq summary::-webkit-details-marker { display: none; }
.od-faq summary::after {
	content: "+";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 50%;
	background: var(--od-pink);
	color: #fff;
	display: grid;
	place-items: center;
	line-height: 1;
}
.od-faq[open] summary::after { content: "\2212"; background: var(--od-blue); }
.od-faq p { margin: 0.75rem 0 0.25rem; }

/* ---------- Table ---------- */
.od-table { max-width: 1000px; margin-left: auto !important; margin-right: auto !important; overflow-x: auto; }
.od-table table {
	border-collapse: separate !important;
	border-spacing: 0;
	background: #fff;
	border-radius: var(--od-radius);
	overflow: hidden;
	box-shadow: var(--od-shadow);
	min-width: 640px;
}
.od-table th, .od-table td { border: none !important; padding: 1rem 1.1rem !important; text-align: left; vertical-align: top; }
.od-table thead th { background: var(--od-blue); color: #fff; font-family: var(--od-display); font-weight: 600; }
.od-table tbody tr:nth-child(even) td { background: var(--od-pink-soft); }

/* ---------- CTA banner ---------- */
.od-cta {
	background: var(--od-pink);
	color: #fff;
	position: relative;
	overflow: hidden;
}
.od-cta h2 { color: #fff; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); }
.od-cta p { color: #fff; }
.od-cta .wp-block-button__link { background: #fff !important; color: var(--od-pink-deep) !important; box-shadow: 0 4px 0 var(--od-plum); }
.od-cta .wp-block-button__link:hover { background: var(--od-blue) !important; color: #fff !important; }

/* ---------- Contact ---------- */
.od-contact-card { padding: 1.5rem !important; }
.od-contact-value { font-size: 1.15rem !important; word-break: break-word; margin-top: 0.2rem !important; }
.od-form-slot {
	background: var(--od-pink-soft);
	border: 3px dashed var(--od-pink);
	border-radius: var(--od-radius);
	padding: 3rem 1.5rem !important;
}
/* Pretty up WPForms / common form plugins */
.od-band input[type="text"], .od-band input[type="email"], .od-band input[type="tel"], .od-band textarea, .od-band select {
	border-radius: 14px !important;
	border: 2px solid #f3cbd6 !important;
	padding: 0.7rem 0.9rem !important;
	background: #fff !important;
	font: inherit;
}
.od-band input:focus, .od-band textarea:focus { outline: 3px solid var(--od-honey) !important; border-color: var(--od-honey) !important; }
.od-band .wpforms-submit, .od-band button[type="submit"] {
	background: var(--od-pink) !important; color: #fff !important; border-radius: 999px !important; border: none !important;
	padding: 0.8em 1.8em !important; font-family: var(--od-display) !important; font-weight: 600 !important;
}

/* ---------- Header + footer ---------- */
.od-header {
	background: rgba(255, 248, 236, 0.92);
	backdrop-filter: blur(8px);
	border-bottom: 3px solid var(--od-pink-soft);
	padding: 0.6rem clamp(1rem, 4vw, 2.5rem);
	position: sticky;
	top: 0;
	z-index: 50;
}
.od-header-inner { display: flex !important; align-items: center; justify-content: space-between; gap: 1rem; max-width: 1200px; margin: 0 auto; }
.od-header-inner > * { margin: 0 !important; }
.od-nav { font-family: var(--od-display); font-weight: 600; font-size: 1.05rem; flex: 1; }
.od-nav a { color: var(--od-plum) !important; text-decoration: none; padding: 0.35rem 0.8rem; border-radius: 999px; transition: background 0.15s; }
.od-nav a:hover { background: var(--od-pink-soft); color: var(--od-pink-deep) !important; }
.od-header .wc-block-mini-cart__button { background: var(--od-pink); color: #fff; border-radius: 999px; padding: 0.5rem 0.9rem; }
.od-header .wc-block-mini-cart__badge { background: var(--od-blue); color: #fff; border-color: #fff; }

.od-footer {
	background: var(--od-plum);
	color: #f6eefc;
	padding: 3.5rem clamp(1.25rem, 4vw, 3rem) 1.5rem;
	margin-top: 0 !important;
	border-top: 8px solid var(--od-honey);
}
.od-footer h4 { color: var(--od-honey); font-size: 1.1rem; margin-bottom: 0.5rem; }
.od-footer a { color: #fff !important; text-decoration: none; }
.od-footer a:hover { color: var(--od-honey) !important; }
.od-footer-links { list-style: none; padding-left: 0 !important; }
.od-footer-links li { margin-bottom: 0.4rem; }
.od-footer-logo { max-width: 130px; margin: 0 !important; }
.od-footer-logo img { width: 100%; height: auto; background: #fff; border-radius: 24px; padding: 8px; }
.od-footer .od-small { margin-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 1.25rem; opacity: 0.75; }

/* ---------- WooCommerce product grids (shop page + "New in the shop") ---------- */
.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: clamp(1rem, 2vw, 1.75rem);
	margin: 0 0 1rem !important;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}
.woocommerce ul.products li.product .button { margin-top: auto !important; align-self: center; }
.woocommerce ul.products li.product,
.wc-block-grid__product,
.wc-block-product,
.wp-block-post.product {
	background: #fff;
	border-radius: var(--od-radius);
	padding: 0.9rem 0.9rem 1.3rem !important;
	box-shadow: var(--od-shadow);
	text-align: center;
	transition: transform 0.2s ease;
}
.woocommerce ul.products li.product:hover,
.wc-block-product:hover,
.wp-block-post.product:hover { transform: translateY(-6px) rotate(0.5deg); }
.woocommerce ul.products li.product img,
.wc-block-components-product-image img,
.wc-block-product img {
	border-radius: calc(var(--od-radius) - 10px) !important;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	margin-bottom: 0.8rem !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.wc-block-components-product-name,
.wp-block-post-title a {
	font-family: var(--od-display) !important;
	font-weight: 600 !important;
	color: var(--od-plum) !important;
	font-size: 1.12rem !important;
	text-decoration: none;
}
.woocommerce ul.products li.product .price,
.wc-block-components-product-price,
.wp-block-woocommerce-product-price {
	color: var(--od-pink-deep) !important;
	font-family: var(--od-display);
	font-weight: 600;
	font-size: 1.1rem !important;
}
.woocommerce span.onsale, .wc-block-components-product-sale-badge {
	background: var(--od-honey) !important;
	color: var(--od-plum) !important;
	border-radius: 999px !important;
	font-family: var(--od-display);
	border: none !important;
}
.od-products .woocommerce { margin-bottom: 2rem; }
.woocommerce div.product .product_title { font-family: var(--od-display); color: var(--od-blue); }
.woocommerce div.product p.price { color: var(--od-pink-deep); font-family: var(--od-display); font-weight: 600; }
.woocommerce div.product div.images img { border-radius: var(--od-radius); }

/* No gap between the last section and the footer */
body:has(.od-footer) main { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.wp-site-blocks > footer, .wp-site-blocks > .wp-block-template-part:last-child { margin-block-start: 0 !important; }
body:has(.od-cta) .wp-block-post-content > .od-cta:last-child, body:has(.od-band) .wp-block-post-content > .od-band:last-child { margin-bottom: 0 !important; }

/* ---------- Mobile ---------- */
@media (max-width: 781px) {
	.od-hero-cols { flex-direction: column-reverse; text-align: center; }
	.od-hero .wp-block-buttons { justify-content: center; }
	.od-hero-logo { max-width: 260px; }
	.od-tip { padding: 1.25rem 1.25rem 1.25rem 1.25rem !important; padding-top: 4rem !important; }
	.od-tip::before { top: 1rem; left: 1.25rem; }
	.od-header-inner { flex-wrap: nowrap; }
	.od-nav { flex: 0 0 auto; order: 3; }
}
@media (max-width: 600px) {
	.od-cards:not(.od-contact-cards) { flex-wrap: wrap !important; }
	.od-cards > .od-card:not(.od-contact-card) { flex-basis: calc(50% - 0.6rem) !important; max-width: calc(50% - 0.6rem); flex-grow: 0 !important; box-sizing: border-box; padding: 0.6rem 0.6rem 1rem; }
	.od-cards > .od-card:not(.od-contact-card) h3 { font-size: 1.05rem; }
	.od-cards > .od-card:not(.od-contact-card) p { font-size: 0.92rem; }
	.woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
	.woocommerce ul.products li.product { padding: 0.6rem 0.6rem 1rem !important; }
}
