/*
 * CatCondo — main stylesheet.
 * Converted from /desain/assets/style.css. Visual rules are preserved 1:1;
 * only the colour tokens were promoted to --catcondo-* variables so Redux can
 * override them, and WordPress-specific classes were appended.
 */

:root {
	--catcondo-bg: #f8f5f1;
	--catcondo-paper: #fffdf9;
	--catcondo-ink: #26221f;
	--catcondo-muted: #756d66;
	--catcondo-brand: #9b4f42;
	--catcondo-brand-2: #d9b9ad;
	--catcondo-soft: #eee4dc;
	--catcondo-line: #e4dcd5;
	--catcondo-dark: #1f2926;
	--catcondo-success: #47685b;
	--catcondo-radius: 22px;
	--catcondo-container: 1180px;
	--catcondo-body-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--catcondo-heading-font: Georgia, serif;
	--catcondo-body-size: 16px;
	--catcondo-body-color: #26221f;
	--catcondo-heading-color: #26221f;
	--catcondo-footer-bg: #2f2926;
	--catcondo-footer-color: #eeeeee;

	/* Short aliases kept from the source design. */
	--bg: var(--catcondo-bg);
	--paper: var(--catcondo-paper);
	--ink: var(--catcondo-ink);
	--muted: var(--catcondo-muted);
	--brand: var(--catcondo-brand);
	--brand-2: var(--catcondo-brand-2);
	--soft: var(--catcondo-soft);
	--line: var(--catcondo-line);
	--dark: var(--catcondo-dark);
	--success: var(--catcondo-success);
	--radius: var(--catcondo-radius);
	--shadow: 0 18px 55px rgba(39, 32, 28, .10);
}

* { box-sizing: border-box }
html { scroll-behavior: smooth }

body {
	margin: 0;
	background: var(--paper);
	color: var(--catcondo-body-color);
	font-family: var(--catcondo-body-font);
	font-size: var(--catcondo-body-size);
	line-height: 1.6;
}

img { max-width: 100%; display: block; height: auto }
a { color: inherit; text-decoration: none }
button, input, select, textarea { font: inherit }

h1, h2, h3, h4, h5, h6 { color: var(--catcondo-heading-color) }

.container { width: min(var(--catcondo-container), calc(100% - 40px)); margin: auto }
.eyebrow { font-size: .76rem; letter-spacing: .17em; text-transform: uppercase; font-weight: 800; color: var(--brand) }
.section { padding: 86px 0 }
.section.soft { background: var(--bg) }
.section.dark { background: var(--dark); color: #fff }
.section.dark h1, .section.dark h2, .section.dark h3, .section.dark h4 { color: #fff }
.section-title { font-family: var(--catcondo-heading-font); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; margin: .4rem 0 1rem }
.section-lead { max-width: 720px; color: var(--muted); font-size: 1.05rem }
.section-lead.is-centered { margin-left: auto; margin-right: auto }
.dark .section-lead { color: #d8ddd9 }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: 13px 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 800; cursor: pointer; transition: .2s; text-align: center }
.btn.primary { background: var(--brand); color: #fff }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(155, 79, 66, .25) }
.btn.outline { border-color: var(--ink); background: transparent; color: var(--ink) }
.btn.light { background: #fff; color: var(--ink) }
.btn.mt-12 { margin-top: 12px }

.topbar { background: var(--brand); color: #fff; text-align: center; font-size: .78rem; padding: 8px 12px; letter-spacing: .04em }
.topbar a { color: inherit; text-decoration: none }

.header { z-index: 50; background: rgba(255, 253, 249, .92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(228, 220, 213, .8) }
.catcondo-sticky-header .header { position: sticky; top: 0 }
.admin-bar.catcondo-sticky-header .header { top: 32px }
.nav { height: 76px; display: flex; align-items: center; gap: 26px }
.logo { font-family: var(--catcondo-heading-font); font-size: 1.35rem; font-weight: 700; line-height: 1 }
.logo small { font-family: var(--catcondo-body-font); display: block; font-size: .55rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 6px }
.logo img { max-height: 52px; width: auto }
.navlinks { display: flex; align-items: center; gap: 24px; margin-left: auto; font-size: .92rem; font-weight: 700 }
.navlinks a:hover { color: var(--brand) }
.nav-cta { margin-left: 4px }
.menu-btn { display: none; border: 0; background: transparent; font-size: 1.5rem; margin-left: auto; cursor: pointer; line-height: 1; color: inherit }

/* WordPress menu markup mapped onto the source nav design. */
.nav-menu { display: contents }
.navlinks.has-mobile-menu .nav-menu--mobile { display: none }
.navlinks .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 24px }
.navlinks .menu li { position: relative }
.navlinks .menu .current-menu-item > a,
.navlinks .menu .current_page_item > a { color: var(--brand) }
.navlinks .menu .sub-menu {
	list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: -14px;
	min-width: 210px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
	box-shadow: var(--shadow); display: none; z-index: 60;
}
.navlinks .menu li:hover > .sub-menu,
.navlinks .menu li:focus-within > .sub-menu { display: block }
.navlinks .menu .sub-menu li { display: block }
.navlinks .menu .sub-menu a { display: block; padding: 8px 18px; font-weight: 600 }

.hero {
	min-height: 690px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: stretch;
	background: linear-gradient(90deg, #f7f1ec 0 52%, #eee5dd 52%);
}
.hero-copy { display: flex; align-items: center }
.hero-copy-inner { padding: 80px max(20px, calc((100vw - var(--catcondo-container)) / 2)); padding-right: 60px }
.hero h1 { font-family: var(--catcondo-heading-font); font-size: clamp(3.1rem, 6.2vw, 6.2rem); line-height: .93; margin: 14px 0 22px; max-width: 760px }
.hero p { font-size: 1.08rem; color: var(--muted); max-width: 630px }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px }
.hero-actions.is-centered { justify-content: center }
.story-photo.has-gap-below { margin-bottom: 34px }
.hero-proof { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 42px; font-size: .85rem; color: var(--muted) }
.hero-proof b { display: block; color: var(--ink); font-size: 1rem }
.hero-media { position: relative; overflow: hidden; min-height: 420px }
  .hero-media .catcondo-media { position: absolute; inset: 0; overflow: hidden; }
  .hero-media .catcondo-media img, .hero-media .catcondo-media iframe { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; object-position: center; }
  .hero-media .catcondo-media--fit-contain img, .hero-media .catcondo-media--fit-contain iframe { object-fit: contain; }
.hero-card { position: absolute; left: 28px; bottom: 28px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); padding: 18px 20px; border-radius: 16px; max-width: 265px; box-shadow: var(--shadow) }
.hero.is-media-left .hero-copy { order: 2 }
.hero.is-media-left .hero-media { order: 1 }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 }
.trust-item { padding: 22px 18px; text-align: center; border-right: 1px solid var(--line); font-size: .86rem }
.trust-item:last-child { border-right: 0 }
.trust-item b { display: block; font-size: .96rem }

.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px }
.category-card { position: relative; min-height: 390px; border-radius: var(--radius); overflow: hidden; background: #ddd; display: block }
.category-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: .35s }
.category-card:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(16, 14, 12, .75)) }
.category-card:hover img { transform: scale(1.035) }
.category-card .label { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; color: #fff }
.category-card .label span { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; opacity: .8 }
.category-card .label h3 { font-family: var(--catcondo-heading-font); font-size: 1.5rem; margin: 4px 0; color: #fff }

.story-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center }
.story-grid.is-media-right .story-photo { order: 2 }
.story-photo { border-radius: 30px; overflow: hidden; box-shadow: var(--shadow) }
.story-photo img { width: 100%; height: 560px; object-fit: cover }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0 }
.check { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff }
.check b { display: block }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px }
.catcondo-product-results { position: relative; transition: opacity .2s ease }
.catcondo-product-results.is-loading { opacity: .45; pointer-events: none }
.product-grid.cols-1 { grid-template-columns: 1fr }
.product-grid.cols-2 { grid-template-columns: repeat(2, 1fr) }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr) }
.product-grid.cols-4 { grid-template-columns: repeat(4, 1fr) }
.product { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; transition: .2s; display: block }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow) }
.product-img { aspect-ratio: 1/1; background: #f2ede8; overflow: hidden; position: relative }
.product-img img { width: 100%; height: 100%; object-fit: cover }
.product-img-link { display: block; width: 100%; height: 100% }
.product-title a:hover { color: var(--brand) }
.badge { position: absolute; left: 12px; top: 12px; background: var(--brand); color: #fff; font-size: .68rem; padding: 6px 10px; border-radius: 999px; font-weight: 800 }
.product-body { padding: 16px }
.product-title { font-weight: 800; margin-bottom: 4px }
.price { color: var(--brand); font-weight: 800 }
.muted { color: var(--muted) }
.center { text-align: center }
.mt-30 { margin-top: 30px }

.builder-preview { display: grid; grid-template-columns: 1.05fr .95fr; border-radius: 30px; overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line) }
.builder-visual { min-height: 560px; background: #ded3c7; position: relative }
.builder-visual .catcondo-media { position: absolute; inset: 0; overflow: hidden; }
.builder-visual .catcondo-media img, .builder-visual .catcondo-media iframe { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; object-position: center; }
.builder-visual .catcondo-media--fit-contain img, .builder-visual .catcondo-media--fit-contain iframe { object-fit: contain; }
/* The builder card is always a light panel, including inside .section.dark —
   without this the inherited white text is invisible on the white card. */
.builder-preview { color: var(--ink) }
.section.dark .builder-preview h1,
.section.dark .builder-preview h2,
.section.dark .builder-preview h3,
.section.dark .builder-preview h4 { color: var(--catcondo-heading-color) }
.builder-panel { padding: 42px }
.builder-panel h3 { font-family: var(--catcondo-heading-font); font-size: 2rem; margin-top: 0 }
.form-row { margin: 16px 0 }
.form-row label { display: block; font-size: .82rem; font-weight: 800; margin-bottom: 7px }
.form-row select, .form-row input, .form-row textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; color: var(--ink) }
.form-row textarea { min-height: 100px }
.catcondo-calculator-modules { display: grid; gap: 8px; }
.catcondo-module-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.catcondo-module-row input { width: 72px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: #fff; text-align: center; }
.form-row .hint { font-size: .78rem; color: var(--muted); margin-top: 6px }
.estimate { margin: 24px 0; padding: 18px; background: var(--bg); border-radius: 14px; display: flex; justify-content: space-between; align-items: center }
.estimate strong { font-size: 1.35rem; color: var(--brand) }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px }
.step { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: #fff }
.step .num { width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 900 }
.step h3 { margin: 18px 0 8px }

.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 34px }
.catcondo-reviews-controls { display: flex; justify-content: flex-end; gap: 8px; margin: 10px 0 -20px }
.catcondo-reviews-controls button { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; font-size: 1.15rem }
.catcondo-reviews-controls button:hover { border-color: var(--brand); color: var(--brand) }
.catcondo-reviews-layout-masonry { display: block !important; grid-template-columns: none !important; columns: 2; column-gap: 20px }
.catcondo-reviews-layout-masonry .review { break-inside: avoid; margin-bottom: 20px }
.catcondo-reviews-layout-slide-left,
.catcondo-reviews-layout-slide-right { display: flex !important; grid-template-columns: none !important; overflow-x: auto; overflow-y: hidden; gap: 20px; padding: 8px 2px 20px; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none }
.catcondo-reviews-layout-slide-left::-webkit-scrollbar,
.catcondo-reviews-layout-slide-right::-webkit-scrollbar { display: none; width: 0; height: 0 }
.catcondo-reviews-layout-slide-left .review,
.catcondo-reviews-layout-slide-right .review { flex: 0 0 calc(50% - 10px); min-width: 0 }
.review { border: 1px solid var(--line); background: #fff; border-radius: 20px; overflow: hidden; display: grid; grid-template-columns: 160px 1fr; align-items: stretch; min-height: 280px }
.review.no-media { grid-template-columns: 1fr }
.review > img { display: block; width: 100%; height: 100%; min-height: 280px; align-self: stretch; object-fit: cover; }
.review-body { padding: 24px }
.stars { letter-spacing: .12em; color: #b58145; font-size: .9rem }
.review blockquote { margin: 10px 0; font-family: var(--catcondo-heading-font); font-size: 1.2rem; line-height: 1.45 }

.guarantees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px }
.guarantee { padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line) }
.guarantee .icon { font-size: 1.8rem; line-height: 1 }
.guarantee .icon svg { width: 1.8rem; height: 1.8rem; fill: var(--brand) }
.guarantee .icon i { color: var(--brand) }

.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 30px }
.gallery img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 14px }
.gallery.is-homepage img:nth-child(2), .gallery.is-homepage img:nth-child(5) { aspect-ratio: 1/1.2 }
.gallery.is-page { grid-template-columns: repeat(3, 1fr); gap: 18px }
.gallery.is-page img { aspect-ratio: 4/5; border-radius: 20px }
.gallery a { display: block }

.cta-band { padding: 72px 0; background: var(--brand-2) }
.cta-wrap { display: flex; align-items: center; justify-content: space-between; gap: 34px }
.cta-wrap h2 { font-family: var(--catcondo-heading-font); font-size: clamp(2rem, 4vw, 3.4rem); margin: 0; max-width: 720px }

.footer { padding: 64px 0 26px; background: var(--catcondo-footer-bg); color: var(--catcondo-footer-color) }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 34px }
.footer h4 { margin-top: 0; color: inherit }
.footer a { display: block; color: #cfc5bf; margin: 9px 0; font-size: .9rem }
.footer a:hover { color: #fff }
.footer .brand-copy { color: #cfc5bf; max-width: 300px }
.footer .logo { color: #fff }
.footer .logo small { color: #bdb2ac }
.footer ul { list-style: none; margin: 0; padding: 0 }
.copyright { border-top: 1px solid #514944; margin-top: 44px; padding-top: 20px; font-size: .82rem; color: #aaa }

.page-hero { padding: 110px 0 72px; background: var(--bg); border-bottom: 1px solid var(--line) }
.page-hero h1 { font-family: var(--catcondo-heading-font); font-size: clamp(2.8rem, 6vw, 5.5rem); line-height: 1; margin: 0 0 18px }
.breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: 20px }
.breadcrumb a:hover { color: var(--brand) }
.content-grid { display: grid; grid-template-columns: 280px 1fr; gap: 36px }
.filter { border: 1px solid var(--line); border-radius: 18px; padding: 20px; height: max-content }
.filter + .filter { margin-top: 18px }
.filter h3 { margin-top: 0 }
.filter ul { list-style: none; margin: 0 0 18px; padding: 0 }
.filter li { margin: 7px 0 }
.filter li a { color: var(--muted); font-size: .92rem }
.filter li a:hover, .filter li.is-active a { color: var(--brand); font-weight: 700 }
.filter .filter-reset { display: inline-block; margin-top: 6px; font-size: .82rem; font-weight: 800; color: var(--brand) }

.faq { max-width: 900px; margin: auto }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0 }
.faq summary { cursor: pointer; font-weight: 800; font-size: 1.03rem }
.faq p { color: var(--muted) }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 54px }
.contact-card { background: var(--bg); padding: 28px; border-radius: 20px }
.catcondo-hours-list { margin: 8px 0 20px; color: var(--muted); font-size: .9rem }
.catcondo-hours-list div { display: flex; justify-content: space-between; gap: 20px; padding: 4px 0; border-bottom: 1px solid var(--line) }
.contact-card .section-title { font-size: 2.3rem }
.contact-card .divider { border: 0; border-top: 1px solid var(--line); margin: 28px 0 }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px }
.contact-form .full { grid-column: 1/-1 }
.contact-form label { display: block; font-size: .82rem; font-weight: 800; margin-bottom: 7px }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); padding: 13px; border-radius: 12px; background: #fff }
.contact-form textarea { min-height: 150px }
/* Honeypot: must stay invisible in every form that uses it. */
.catcondo-hp { position: absolute !important; left: -9999px; top: auto; opacity: 0; height: 0; width: 0; overflow: hidden; pointer-events: none }

.catcondo-alert { padding: 14px 18px; border-radius: 12px; font-size: .92rem; margin-bottom: 18px }
.catcondo-alert.is-success { background: rgba(71, 104, 91, .12); color: var(--success); border: 1px solid rgba(71, 104, 91, .35) }
.catcondo-alert.is-error { background: rgba(155, 79, 66, .10); color: var(--brand); border: 1px solid rgba(155, 79, 66, .35) }

/* Single product */
.product-single { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: start }
.product-gallery-main { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #f2ede8 }
.product-gallery-main img { width: 100%; aspect-ratio: 1/1; object-fit: cover }
.product-gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px }
.product-gallery-thumbs img { border-radius: 14px; aspect-ratio: 1/1; object-fit: cover; cursor: pointer; border: 1px solid var(--line) }
.product-gallery-thumbs img.is-active { border-color: var(--brand) }
.product-summary h1 { font-family: var(--catcondo-heading-font); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.05; margin: 8px 0 12px }
.product-summary .price { font-size: 1.5rem; margin: 10px 0 }
.product-specs { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px }
.product-specs li { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: #fff; font-size: .92rem }
.product-specs li b { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted) }
.product-content { margin-top: 26px; color: var(--muted) }
.product-content h2, .product-content h3 { color: var(--ink) }
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px }

/* Editorial / blog + generic WP content */
.entry-content { max-width: 820px }
.entry-content > * + * { margin-top: 1.1rem }
.entry-content h2, .entry-content h3 { font-family: var(--catcondo-heading-font) }
.entry-content a { color: var(--brand); font-weight: 700 }
.entry-content ul, .entry-content ol { padding-left: 1.3rem }
.entry-content blockquote { border-left: 3px solid var(--brand); padding-left: 18px; font-family: var(--catcondo-heading-font); font-size: 1.15rem }
.entry-content img { border-radius: 16px }
.post-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff }
.post-card .post-card-body { padding: 20px }
.post-card h2 { font-family: var(--catcondo-heading-font); font-size: 1.4rem; margin: 0 0 8px }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px }
.catcondo-pagination { margin-top: 40px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center }
.catcondo-pagination .page-numbers { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; padding: 0 14px }
.catcondo-pagination .page-numbers.current { background: var(--brand); color: #fff; border-color: var(--brand) }

.error-404 { text-align: center; padding: 120px 0 }
.error-404 h1 { font-family: var(--catcondo-heading-font); font-size: clamp(3rem, 8vw, 6rem); margin: 0 0 14px }

.catcondo-preloader { position: fixed; inset: 0; background: var(--paper); z-index: 9999; display: grid; place-items: center; transition: opacity .35s ease }
.catcondo-preloader.is-hidden { opacity: 0; pointer-events: none }
.catcondo-preloader .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--brand); animation: catcondo-pulse 1s infinite ease-in-out }
@keyframes catcondo-pulse { 0%, 100% { transform: scale(.6); opacity: .5 } 50% { transform: scale(1); opacity: 1 } }
