/*
Theme Name: DecorFixer Toolkit
Theme URI: https://decorfixer.com/
Author: DecorFixer
Author URI: https://decorfixer.com/
Description: A responsive home decor WordPress theme with editable Pages, ten built-in calculators, topic landing pages, legal pages and AdSense-ready areas.
Version: 3.3.0
Requires at least: 6.2
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: decorfixer-toolkit
Tags: blog, custom-logo, custom-menu, featured-images, full-width-template, theme-options, translation-ready
*/

:root {
  --df-bg: #f8f5ef;
  --df-surface: #ffffff;
  --df-surface-soft: #f0ece3;
  --df-ink: #242824;
  --df-muted: #68716b;
  --df-primary: #365648;
  --df-primary-dark: #263f35;
  --df-accent: #bd6f4e;
  --df-border: #ddd8ce;
  --df-shadow: 0 16px 44px rgba(37, 47, 41, 0.10);
  --df-radius-sm: 12px;
  --df-radius: 20px;
  --df-radius-lg: 30px;
  --df-container: 1280px;
  --df-reading: 880px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--df-bg);
  color: var(--df-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--df-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--df-accent); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4 {
  margin: 0 0 0.7em;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.5rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { margin: 0 0 1.2em; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  clip: auto !important; width: auto; height: auto;
  top: 8px; left: 8px; z-index: 100000;
  padding: 12px 16px; background: #fff; color: #000;
}

.df-container { width: min(var(--df-container), calc(100% - clamp(24px, 6vw, 96px))); max-width: none; margin-inline: auto; }
.df-reading { width: min(var(--df-reading), calc(100% - clamp(24px, 6vw, 96px))); max-width: none; margin-inline: auto; }
.df-section { padding: clamp(64px, 8vw, 112px) 0; }
.df-section--white { background: var(--df-surface); }
.df-section--soft { background: var(--df-surface-soft); }
.df-section__header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.df-section__header p { max-width: 600px; margin: 0; color: var(--df-muted); }
.df-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 16px; color: var(--df-accent);
  font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
}
.df-eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.df-grid { display: grid; gap: 24px; }
.df-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.df-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.df-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.df-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border: 1px solid var(--df-primary);
  border-radius: 999px; background: var(--df-primary); color: #fff;
  font-weight: 750; text-decoration: none; transition: .2s ease;
}
.df-button:hover { transform: translateY(-2px); background: var(--df-primary-dark); color: #fff; box-shadow: 0 10px 24px rgba(38,63,53,.2); }
.df-button--ghost { background: transparent; color: var(--df-primary); }
.df-button--ghost:hover { background: var(--df-primary); color: #fff; }
.df-text-link { font-weight: 750; text-decoration: none; }
.df-text-link::after { content: " →"; }

/* Full-width layout guard. Prevents page-builder/global-style containers from shrinking the theme. */
html, body { width: 100%; max-width: none !important; overflow-x: clip; }
body > .df-topbar, body > .df-site-header, body > main#primary, body > .df-site-footer { width: 100%; max-width: none; margin-inline: 0; }
.df-front-page-content, .df-editor-home { width: 100%; max-width: none; margin: 0; padding: 0; }
.df-editor-home.alignfull { width: 100%; max-width: none; margin-left: 0 !important; margin-right: 0 !important; }
.df-editor-home > * { margin-block-start: 0; }
.df-editor-home .wp-block-shortcode { margin: 0; }

/* Header */
.df-topbar { background: var(--df-primary-dark); color: #fff; font-size: .85rem; text-align: center; padding: 8px 18px; }
.df-site-header { background: rgba(248,245,239,.96); border-bottom: 1px solid var(--df-border); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(14px); }
.admin-bar .df-site-header { top: 32px; }
.df-header-inner { min-height: 78px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.df-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--df-ink); text-decoration: none; font-family: Georgia, serif; font-size: 1.6rem; font-weight: 700; white-space: nowrap; }
.df-brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50% 50% 42% 58%; background: var(--df-primary); color: #fff; }
.df-brand-mark svg { width: 22px; height: 22px; }
.custom-logo { max-height: 48px; width: auto; }
.df-main-nav > ul, .df-main-nav > div > ul { display: flex; align-items: center; justify-content: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.df-main-nav li { position: relative; list-style: none; }
.df-main-nav a { color: var(--df-ink); text-decoration: none; font-size: .94rem; font-weight: 700; }
.df-main-nav a:hover, .df-main-nav .current-menu-item > a, .df-main-nav .current-menu-ancestor > a { color: var(--df-accent); }
.df-main-nav .sub-menu { position: absolute; z-index: 110; top: calc(100% + 16px); left: -18px; display: grid; min-width: 230px; gap: 0; margin: 0; padding: 10px; border: 1px solid var(--df-border); border-radius: 16px; background: #fff; box-shadow: var(--df-shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.df-main-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.df-main-nav .sub-menu a { display: block; padding: 10px 12px; border-radius: 10px; white-space: nowrap; font-size: .9rem; }
.df-main-nav .sub-menu a:hover { background: var(--df-surface-soft); }
.df-main-nav li:hover > .sub-menu, .df-main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.df-header-actions { display: flex; align-items: center; gap: 10px; }
.df-icon-button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--df-border); border-radius: 50%; background: #fff; color: var(--df-ink); }
.df-icon-button:hover { border-color: var(--df-primary); color: var(--df-primary); }
.df-menu-toggle { display: none; }
.df-search-panel { display: none; position: absolute; inset: 100% 0 auto; background: #fff; border-bottom: 1px solid var(--df-border); box-shadow: var(--df-shadow); padding: 24px; }
.df-search-panel.is-open { display: block; }
.df-search-form { display: flex; max-width: 720px; margin: auto; }
.df-search-form input { flex: 1; min-width: 0; border: 1px solid var(--df-border); border-radius: 999px 0 0 999px; padding: 13px 18px; background: #fff; }
.df-search-form button { border: 0; border-radius: 0 999px 999px 0; background: var(--df-primary); color: #fff; padding: 12px 22px; font-weight: 700; }

/* Hero */
.df-hero { overflow: hidden; padding: clamp(54px, 8vw, 110px) 0; background: radial-gradient(circle at 85% 20%, rgba(189,111,78,.14), transparent 30%), var(--df-bg); }
.df-hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(42px, 7vw, 90px); }
.df-hero h1 { max-width: 820px; }
.df-hero-copy { max-width: 650px; }
.df-hero-copy > p { max-width: 590px; color: var(--df-muted); font-size: 1.12rem; }
.df-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.df-hero-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; color: var(--df-muted); font-size: .88rem; font-weight: 700; }
.df-hero-trust span::before { content: "✓"; color: var(--df-accent); margin-right: 6px; }
.df-hero-collage { min-height: 520px; position: relative; }
.df-hero-card { position: absolute; overflow: hidden; border: 8px solid #fff; border-radius: var(--df-radius-lg); box-shadow: var(--df-shadow); background: var(--df-surface-soft); }
.df-hero-card img { width: 100%; height: 100%; object-fit: cover; }
.df-hero-card--one { width: 62%; height: 68%; top: 0; right: 0; }
.df-hero-card--two { width: 50%; height: 48%; bottom: 0; left: 0; }
.df-hero-card--three { width: 38%; height: 38%; bottom: 9%; right: 3%; }
.df-hero-fallback { width: 100%; height: 100%; display: grid; place-items: center; padding: 30px; text-align: center; color: var(--df-primary); background: linear-gradient(145deg, #e7ded2, #cbd8cf); font-family: Georgia, serif; font-size: 1.25rem; }

/* Categories */
.df-category-card { position: relative; min-height: 270px; overflow: hidden; border-radius: var(--df-radius); background: var(--df-primary); color: #fff; text-decoration: none; isolation: isolate; }
.df-category-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .35s ease; }
.df-category-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(18,30,24,.86), rgba(18,30,24,.08)); }
.df-category-card:hover img { transform: scale(1.045); }
.df-category-card__content { position: absolute; inset: auto 22px 20px; }
.df-category-card h3 { margin: 0 0 4px; color: #fff; }
.df-category-card span { color: rgba(255,255,255,.8); font-size: .88rem; }
.df-category-card--fallback:nth-child(2n) { background: #8b765f; }
.df-category-card--fallback:nth-child(3n) { background: #7c594a; }
.df-category-card--fallback::after { background: linear-gradient(145deg, rgba(54,86,72,.2), rgba(20,28,24,.7)); }

/* Tool cards */
.df-tools-feature { background: var(--df-primary-dark); color: #fff; position: relative; overflow: hidden; }
.df-tools-feature::before { content: ""; position: absolute; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; right: -120px; top: -180px; }
.df-tools-feature h2, .df-tools-feature h3 { color: #fff; }
.df-tools-feature .df-section__header p { color: rgba(255,255,255,.7); }
.df-tool-card { display: flex; flex-direction: column; min-height: 100%; padding: 24px; background: #fff; border: 1px solid var(--df-border); border-radius: var(--df-radius); color: var(--df-ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.df-tool-card:hover { transform: translateY(-5px); box-shadow: var(--df-shadow); border-color: rgba(189,111,78,.5); color: var(--df-ink); }
.df-tool-card__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 22px; border-radius: 16px; background: var(--df-surface-soft); color: var(--df-primary); }
.df-tool-card__icon svg { width: 29px; height: 29px; }
.df-tool-card p { color: var(--df-muted); font-size: .94rem; flex: 1; }
.df-tool-card__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; color: var(--df-accent); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.df-tools-feature .df-tool-card { border: 0; }

/* Keep tool names readable inside white cards on dark tool sections. */
.df-tool-card h2,
.df-tool-card h3,
.df-tools-feature .df-tool-card h2,
.df-tools-feature .df-tool-card h3 {
  display: block;
  visibility: visible;
  opacity: 1;
  margin: 0 0 12px;
  color: var(--df-ink) !important;
}
.df-tool-card:hover h2,
.df-tool-card:hover h3 { color: var(--df-accent) !important; }

/* Keep titles visible on individual calculator pages as well. */
.df-tool-page-hero h1,
.df-tool-layout .df-page-hero h1,
.df-calculator h2 {
  visibility: visible;
  opacity: 1;
  color: var(--df-ink);
}

/* Post cards */
.df-post-card { overflow: hidden; background: #fff; border: 1px solid var(--df-border); border-radius: var(--df-radius); }
.df-post-card__image { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--df-surface-soft); }
.df-post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.df-post-card:hover .df-post-card__image img { transform: scale(1.035); }
.df-post-card__body { padding: 22px; }
.df-post-card__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 10px; color: var(--df-muted); font-size: .76rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.df-post-card h3 { margin-bottom: 12px; }
.df-post-card h3 a { color: var(--df-ink); text-decoration: none; }
.df-post-card h3 a:hover { color: var(--df-accent); }
.df-post-card__excerpt { color: var(--df-muted); font-size: .94rem; }
.df-post-card--horizontal { display: grid; grid-template-columns: minmax(220px, .85fr) 1.15fr; }
.df-post-card--horizontal .df-post-card__image { aspect-ratio: auto; min-height: 100%; }

/* Ads */
.df-ad-slot { width: min(calc(100% - 36px), 970px); min-height: 90px; margin: 28px auto; display: grid; place-items: center; text-align: center; overflow: hidden; }
.df-ad-slot:empty::before { content: "Advertisement area"; color: #9b9d99; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.df-ad-slot img, .df-ad-slot iframe { max-width: 100%; }

/* Newsletter */
.df-newsletter { border-radius: var(--df-radius-lg); background: var(--df-accent); color: #fff; padding: clamp(34px, 6vw, 70px); display: grid; grid-template-columns: 1fr minmax(300px, .75fr); gap: 38px; align-items: center; }
.df-newsletter h2 { color: #fff; }
.df-newsletter p { color: rgba(255,255,255,.85); }
.df-newsletter-form { display: flex; }
.df-newsletter-form input { flex: 1; min-width: 0; border: 0; border-radius: 999px 0 0 999px; padding: 15px 20px; }
.df-newsletter-form button { border: 0; border-radius: 0 999px 999px 0; background: var(--df-primary-dark); color: #fff; padding: 15px 22px; font-weight: 750; }
.df-newsletter-note { margin-top: 10px; font-size: .78rem; opacity: .78; }

/* Main content */
.df-page-header { padding: 70px 0 48px; text-align: center; }
.df-page-header p { max-width: 700px; margin-inline: auto; color: var(--df-muted); }
.df-breadcrumbs { margin-bottom: 18px; color: var(--df-muted); font-size: .82rem; }
.df-breadcrumbs a { text-decoration: none; }
.df-content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.df-content-card { background: #fff; border: 1px solid var(--df-border); border-radius: var(--df-radius); padding: clamp(24px, 5vw, 54px); }
.df-entry-content > * { max-width: 100%; }
.df-entry-content h2, .df-entry-content h3 { margin-top: 1.5em; }
.df-entry-content blockquote { margin: 2em 0; padding: 20px 26px; border-left: 4px solid var(--df-accent); background: var(--df-surface-soft); font-family: Georgia, serif; font-size: 1.14rem; }
.df-entry-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.df-entry-content th, .df-entry-content td { border: 1px solid var(--df-border); padding: 12px; }
.df-entry-content th { background: var(--df-surface-soft); }
.df-featured-image { overflow: hidden; border-radius: var(--df-radius); margin-bottom: 34px; }
.df-sidebar { display: grid; gap: 24px; }
.df-widget { background: #fff; border: 1px solid var(--df-border); border-radius: var(--df-radius); padding: 24px; }
.df-widget h2, .df-widget h3 { font-size: 1.35rem; }
.df-widget ul { list-style: none; margin: 0; padding: 0; }
.df-widget li + li { border-top: 1px solid var(--df-border); }
.df-widget li a { display: block; padding: 10px 0; text-decoration: none; font-weight: 650; }

/* Calculator */
.df-tool-page-hero { padding: clamp(58px, 8vw, 100px) 0 48px; }
.df-tool-page-hero__inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; }
.df-tool-page-hero__icon { display: grid; place-items: center; width: 110px; height: 110px; border-radius: 30px; background: var(--df-surface-soft); color: var(--df-primary); }
.df-tool-page-hero__icon svg { width: 58px; height: 58px; }
.df-tool-shell { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr); gap: 28px; align-items: start; }
.df-calculator { background: #fff; border: 1px solid var(--df-border); border-radius: var(--df-radius-lg); box-shadow: var(--df-shadow); padding: clamp(22px, 4vw, 38px); }
.df-calculator h2 { font-size: 1.8rem; }
.df-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.df-field { display: grid; gap: 7px; }
.df-field--full { grid-column: 1 / -1; }
.df-field label, .df-field legend { color: var(--df-ink); font-size: .86rem; font-weight: 780; }
.df-field input, .df-field select { width: 100%; min-height: 48px; border: 1px solid var(--df-border); border-radius: 12px; background: #fff; padding: 10px 13px; color: var(--df-ink); }
.df-field input:focus, .df-field select:focus { outline: 3px solid rgba(54,86,72,.14); border-color: var(--df-primary); }
.df-field small { color: var(--df-muted); line-height: 1.35; }
.df-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.df-check { display: flex; gap: 9px; align-items: center; padding: 11px; border: 1px solid var(--df-border); border-radius: 12px; }
.df-check input { width: auto; min-height: auto; }
.df-calc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.df-result { position: sticky; top: 116px; min-height: 280px; background: var(--df-primary-dark); color: #fff; border-radius: var(--df-radius-lg); padding: 30px; }
.df-result h2, .df-result h3 { color: #fff; }
.df-result__empty { display: grid; place-items: center; min-height: 210px; text-align: center; color: rgba(255,255,255,.68); }
.df-result__value { font-family: Georgia, serif; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; margin: 10px 0; }
.df-result__list { list-style: none; margin: 22px 0 0; padding: 0; }
.df-result__list li { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.14); }
.df-result__list strong { text-align: right; }
.df-result-note { margin-top: 18px; color: rgba(255,255,255,.72); font-size: .82rem; }
.df-tool-content { margin-top: 58px; }
.df-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.df-info-card { background: #fff; border: 1px solid var(--df-border); border-radius: var(--df-radius); padding: 26px; }
.df-step-list { counter-reset: dfstep; list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.df-step-list li { counter-increment: dfstep; display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; }
.df-step-list li::before { content: counter(dfstep); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--df-primary); color: #fff; font-weight: 800; }
.df-faq { border-top: 1px solid var(--df-border); }
.df-faq details { border-bottom: 1px solid var(--df-border); }
.df-faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 800; }
.df-faq summary::-webkit-details-marker { display: none; }
.df-faq summary::after { content: "+"; float: right; color: var(--df-accent); }
.df-faq details[open] summary::after { content: "−"; }
.df-faq details p { padding: 0 0 18px; color: var(--df-muted); }
.df-gallery-preview { display: grid; place-items: center; min-height: 280px; margin-top: 18px; border: 1px dashed var(--df-border); border-radius: 16px; background: var(--df-surface-soft); overflow: auto; padding: 24px; }
.df-gallery-grid { display: grid; gap: 8px; align-content: center; justify-content: center; transform-origin: center; }
.df-gallery-frame { background: #fff; border: 5px solid #5c4b3d; box-shadow: 0 4px 10px rgba(0,0,0,.12); }
.df-palette { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 16px; overflow: hidden; margin-top: 20px; }
.df-swatch { min-height: 130px; padding: 14px; display: flex; align-items: end; justify-content: center; font-size: .74rem; font-weight: 800; text-align: center; }
.df-swatch button { border: 0; background: rgba(255,255,255,.75); color: #1c211d; border-radius: 999px; padding: 7px 10px; font-size: .72rem; }

/* Pagination */
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 36px; }
.page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; border: 1px solid var(--df-border); border-radius: 50%; background: #fff; text-decoration: none; }
.page-numbers.current { background: var(--df-primary); color: #fff; border-color: var(--df-primary); }

/* Footer */
.df-site-footer {
  width: 100%;
  background: #1f3028;
  color: rgba(255,255,255,.78);
  padding: 64px 0 24px;
  overflow: hidden;
}
.df-site-footer .df-container { width: min(var(--df-container), calc(100% - clamp(24px, 6vw, 96px))); }
.df-site-footer a { color: rgba(255,255,255,.86); text-decoration: none; }
.df-site-footer a:hover, .df-site-footer a:focus-visible { color: #fff; }
.df-footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.35fr) repeat(3, minmax(150px, .85fr));
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
}
.df-footer-brand .df-brand { display: inline-flex; margin-bottom: 16px; }
.df-footer-brand .custom-logo { width: auto; max-width: 170px; max-height: 54px; object-fit: contain; }
.df-footer-brand p { max-width: 330px; margin: 0; color: rgba(255,255,255,.74); line-height: 1.72; }
.df-footer-social { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 750; }
.df-footer-column { min-width: 0; }
.df-site-footer h2, .df-site-footer h3 {
  color: #fff;
  margin: 0 0 18px;
  font-size: clamp(1.08rem, 1.4vw, 1.35rem);
  line-height: 1.25;
}
.df-footer-menu { list-style: none; margin: 0; padding: 0; }
.df-footer-menu li { margin: 0; }
.df-footer-menu li + li { margin-top: 11px; }
.df-footer-menu a { display: inline-block; line-height: 1.5; }
.df-site-footer .df-widget { background: transparent; color: inherit; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
.df-site-footer .df-widget + .df-widget { margin-top: 20px; }
.df-site-footer .df-widget input,
.df-site-footer .df-widget select,
.df-site-footer .df-widget textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.08);
  color: #fff;
  border-radius: 10px;
  padding: 11px 12px;
}
.df-site-footer .df-widget button,
.df-site-footer .df-widget input[type="submit"] {
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #1f3028;
  padding: 10px 16px;
  font-weight: 750;
}
.df-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.62);
  font-size: .82rem;
}

@media (max-width: 1180px) {
  .df-header-inner { grid-template-columns: 1fr auto; }
  .df-main-nav { position: fixed; inset: 0 0 0 auto; z-index: 105; width: min(86vw, 390px); height: 100dvh; overflow-y: auto; background: #fff; padding: 100px 28px 32px; transform: translateX(105%); transition: .25s ease; box-shadow: var(--df-shadow); }
  .df-main-nav.is-open { transform: translateX(0); }
  .df-main-nav > ul, .df-main-nav > div > ul { align-items: stretch; flex-direction: column; gap: 0; }
  .df-main-nav li { border-bottom: 1px solid var(--df-border); }
  .df-main-nav a { display: block; padding: 14px 0; }
  .df-main-nav .sub-menu { position: static; display: grid; min-width: 0; padding: 0 0 8px 14px; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; background: transparent; }
  .df-main-nav .sub-menu::before { display: none; }
  .df-main-nav .sub-menu li { border-bottom: 0; }
  .df-main-nav .sub-menu a { padding: 8px 0; white-space: normal; font-size: .88rem; color: var(--df-muted); }
  .df-menu-toggle { display: grid; position: relative; z-index: 120; }
}

@media (max-width: 980px) {
  .df-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .df-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .df-main-nav { position: fixed; inset: 0 0 0 auto; width: min(86vw, 380px); background: #fff; padding: 100px 28px 32px; transform: translateX(105%); transition: .25s ease; box-shadow: var(--df-shadow); }
  .df-main-nav.is-open { transform: translateX(0); }
  .df-main-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
  .df-main-nav li { border-bottom: 1px solid var(--df-border); }
  .df-main-nav a { display: block; padding: 14px 0; }
  .df-menu-toggle { display: grid; position: relative; z-index: 2; }
  .df-hero-grid, .df-tool-shell, .df-content-layout { grid-template-columns: 1fr; }
  .df-hero-collage { min-height: 440px; }
  .df-result { position: static; }
  .df-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .df-newsletter { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .df-container, .df-reading { width: calc(100% - 24px); }
  .df-header-inner { min-height: 68px; gap: 10px; }
  .df-brand { font-size: 1.3rem; }
  .df-header-actions .df-button { display: none; }
  .df-section__header { align-items: start; flex-direction: column; }
  .df-grid--2, .df-grid--3, .df-grid--4, .df-form-grid, .df-info-grid { grid-template-columns: 1fr; }
  .df-hero { padding-top: 46px; }
  .df-hero-collage { min-height: 360px; }
  .df-hero-card { border-width: 5px; border-radius: 20px; }
  .df-hero-card--one { width: 68%; height: 65%; }
  .df-hero-card--two { width: 54%; height: 46%; }
  .df-hero-card--three { width: 40%; height: 34%; }
  .df-category-card { min-height: 230px; }
  .df-post-card--horizontal { grid-template-columns: 1fr; }
  .df-post-card--horizontal .df-post-card__image { aspect-ratio: 4 / 3; }
  .df-newsletter-form { flex-direction: column; gap: 10px; }
  .df-newsletter-form input, .df-newsletter-form button { border-radius: 999px; }
  .df-tool-page-hero__inner { grid-template-columns: 1fr; }
  .df-tool-page-hero__icon { width: 82px; height: 82px; }
  .df-checks { grid-template-columns: 1fr; }
  .df-palette { grid-template-columns: repeat(2, 1fr); }
  .df-footer-grid { grid-template-columns: 1fr; }
  .df-footer-bottom { flex-direction: column; }
  .admin-bar .df-site-header { top: 46px; }
}

@media print {
  .df-topbar, .df-site-header, .df-site-footer, .df-ad-slot, .df-calc-actions, .df-sidebar { display: none !important; }
  body { background: #fff; }
  .df-calculator, .df-result, .df-content-card { box-shadow: none; border: 1px solid #ccc; }
  .df-result { color: #000; background: #fff; }
  .df-result h2, .df-result h3 { color: #000; }
}

/* =========================================================
   DecorFixer 3.0 fluid Pages system
   ========================================================= */
body.decorfixer-fluid-page { background: var(--df-bg); }
.df-fluid-page-content,
.df-front-page-content,
.df-page-layout,
.df-page-layout.alignfull,
.df-page-layout > .alignfull,
.df-fluid-page-content > .alignfull {
  width: 100%;
  max-width: none !important;
  margin-inline: 0 !important;
}
.df-page-layout { margin: 0; padding: 0; }
.df-page-layout > * { margin-block-start: 0; }
.df-page-layout .wp-block-shortcode { margin: 0; }
.df-page-layout .wp-block-columns { margin-bottom: 0; }
.df-page-layout .wp-block-button__link { border-radius: 999px; background: var(--df-primary); color: #fff; font-weight: 750; padding: 13px 23px; text-decoration: none; }
.df-page-layout .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--df-primary); border: 1px solid var(--df-primary); }
.df-page-layout .wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--df-primary); color: #fff; }

/* Header stays proportional on every screen. */
.df-site-header { background: rgba(248,245,239,.97); }
.df-header-inner { min-height: 82px; }
.df-header-brand { min-width: 178px; }
.df-header-tools-button { white-space: nowrap; }

/* Universal landing-page hero. */
.df-page-hero {
  width: 100%;
  padding: clamp(72px, 9vw, 136px) 0 clamp(64px, 8vw, 112px);
  background:
    radial-gradient(circle at 85% 15%, rgba(189,111,78,.14), transparent 27%),
    radial-gradient(circle at 10% 90%, rgba(54,86,72,.10), transparent 30%),
    var(--df-bg);
  text-align: center;
  overflow: hidden;
}
.df-page-hero__inner { display: grid; justify-items: center; }
.df-page-hero h1 { max-width: 1040px; margin-inline: auto; font-size: clamp(2.65rem, 6vw, 5.6rem); }
.df-page-hero__text { max-width: 780px; margin: 0 auto; color: var(--df-muted); font-size: clamp(1rem, 1.6vw, 1.2rem); }
.df-page-hero__actions { margin-top: 28px; }
.df-page-hero--standard { padding-block: clamp(58px, 8vw, 100px); }

/* General responsive content layouts. */
.df-intro-columns { align-items: start; gap: clamp(32px, 7vw, 92px); }
.df-intro-columns > .wp-block-column:first-child { flex-basis: 42%; }
.df-intro-columns > .wp-block-column:last-child { flex-basis: 58%; color: var(--df-muted); font-size: 1.05rem; }
.df-feature-columns { gap: 22px; }
.df-feature-columns > .wp-block-column,
.df-value-card,
.df-about-panel,
.df-contact-note {
  background: #fff;
  border: 1px solid var(--df-border);
  border-radius: var(--df-radius);
  padding: clamp(22px, 3vw, 34px);
}
.df-feature-columns h2 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
.df-feature-columns p,
.df-value-card p,
.df-about-panel p,
.df-contact-note p { color: var(--df-muted); }
.df-story-columns { gap: clamp(34px, 8vw, 110px); align-items: center; }
.df-story-columns > .wp-block-column:first-child { flex-basis: 58%; }
.df-story-columns > .wp-block-column:last-child { flex-basis: 42%; }
.df-about-panel { background: var(--df-primary-dark); color: #fff; border: 0; box-shadow: var(--df-shadow); }
.df-about-panel h3 { color: #fff; }
.df-about-panel ul { margin: 0; padding-left: 1.25rem; }
.df-about-panel li + li { margin-top: 10px; }
.df-value-card { min-height: 100%; }
.df-inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(32px, 6vw, 70px);
  border-radius: var(--df-radius-lg);
  background: var(--df-primary-dark);
  color: #fff;
}
.df-inline-cta h2 { color: #fff; margin-bottom: .3em; }
.df-inline-cta p { color: rgba(255,255,255,.76); margin: 0; }
.df-inline-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.df-inline-cta .df-button { background: #fff; color: var(--df-primary-dark); border-color: #fff; }
.df-inline-cta .df-button:hover { color: var(--df-primary-dark); background: var(--df-surface-soft); }
.df-inline-cta .df-button--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.df-empty-state { padding: clamp(34px, 7vw, 76px); text-align: center; border: 1px dashed var(--df-border); border-radius: var(--df-radius-lg); background: var(--df-bg); }
.df-empty-state p { color: var(--df-muted); }
.df-reading--wide { max-width: 980px; }

/* Contact page. */
.df-contact-layout { display: grid; grid-template-columns: minmax(260px,.72fr) minmax(0,1.28fr); gap: clamp(34px, 7vw, 90px); align-items: start; }
.df-contact-info { position: sticky; top: 120px; }
.df-contact-note + .df-contact-note { margin-top: 16px; }
.df-contact-form { background: #fff; border: 1px solid var(--df-border); border-radius: var(--df-radius-lg); box-shadow: var(--df-shadow); padding: clamp(24px, 5vw, 48px); }
.df-contact-form textarea { width: 100%; min-height: 180px; resize: vertical; border: 1px solid var(--df-border); border-radius: 12px; padding: 12px 14px; color: var(--df-ink); background: #fff; }
.df-contact-form textarea:focus { outline: 3px solid rgba(54,86,72,.14); border-color: var(--df-primary); }
.df-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.df-form-message { margin-bottom: 18px; border-radius: 14px; padding: 14px 16px; font-weight: 700; }
.df-form-message--success { background: #e5f2e9; color: #245b36; border: 1px solid #b8d8c2; }
.df-form-message--error { background: #f8e7e4; color: #7d3328; border: 1px solid #e5bbb4; }

/* Legal pages use a readable but fluid column without an outer white card. */
.df-legal-content { width: min(980px, 100%); margin-inline: auto; font-size: 1.02rem; }
.df-legal-content h2 { margin-top: 1.7em; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.df-legal-content p { color: #4f5752; }
.df-legal-updated { color: var(--df-muted); }
.df-legal-alert { margin: 28px 0 42px; padding: 18px 20px; border-left: 4px solid var(--df-accent); background: var(--df-surface-soft); border-radius: 0 14px 14px 0; }

/* Calculator child Pages. */
.df-calculator-section { padding-top: clamp(36px, 5vw, 70px); }
.df-tool-content { margin-top: 0; }
.df-tool-content .df-info-grid { margin-top: 38px; }
.df-faq-wrap { margin-top: 56px; }

/* Footer logo and links remain visible on the dark background. */
.df-footer-brand .custom-logo { filter: brightness(0) invert(1); opacity: .94; }
.df-footer-cta { display: inline-flex; gap: 8px; margin-top: 18px; font-weight: 800; }
.df-footer-column:empty { display: none; }

/* Pagination generated inside editable Pages. */
.df-pagination { margin-top: 42px; }
.df-pagination .page-numbers { display: inline-grid; margin: 4px; }

/* Gutenberg editor/front-end global layout safety. */
.entry-content > .alignfull,
.df-entry-content > .alignfull,
.wp-site-blocks > .alignfull { width: 100%; max-width: none; margin-inline: 0; }

@media (max-width: 1100px) {
  .df-contact-layout { grid-template-columns: 1fr; }
  .df-contact-info { position: static; }
  .df-inline-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 782px) {
  .df-page-hero { padding-block: 62px; }
  .df-intro-columns,
  .df-story-columns,
  .df-feature-columns { flex-direction: column; gap: 24px; }
  .df-feature-columns > .wp-block-column { width: 100%; }
  .df-inline-cta { padding: 30px 24px; }
  .df-header-tools-button { display: none; }
  .df-header-brand { min-width: 0; }
}

@media (max-width: 680px) {
  .df-container,
  .df-reading,
  .df-site-footer .df-container { width: calc(100% - 24px); }
  .df-section { padding-block: 54px; }
  .df-page-hero h1 { font-size: clamp(2.3rem, 12vw, 3.7rem); }
  .df-page-hero__text { font-size: 1rem; }
  .df-contact-form { padding: 22px 18px; border-radius: 20px; }
  .df-inline-actions { width: 100%; }
  .df-inline-actions .df-button { width: 100%; }
}

/* Pinterest image actions */
.df-pinnable { position: relative; }
.df-pinnable--inline {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 1.5em 0;
  overflow: hidden;
  border-radius: var(--df-radius-sm);
}
.df-pinnable--inline > a { display: block; }
.df-pinnable--inline.aligncenter { margin-inline: auto; }
.df-pinnable--inline.alignleft { float: left; margin: .4em 1.5em 1em 0; }
.df-pinnable--inline.alignright { float: right; margin: .4em 0 1em 1.5em; }
.df-pinnable--inline img { margin: 0; }
.df-entry-content figure.df-pinnable { overflow: hidden; border-radius: var(--df-radius-sm); }
.df-pin-button {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px 14px;
  border: 0;
  border-radius: 999px;
  background: #e60023;
  color: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
  font-size: .82rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, box-shadow .18s ease;
}
.df-pin-button svg { width: 18px; height: 18px; flex: 0 0 auto; }
.df-pinnable:hover > .df-pin-button,
.df-pinnable:focus-within > .df-pin-button,
.df-pin-button:focus-visible {
  opacity: 1;
  transform: translateY(0);
}
.df-pin-button:hover { color: #fff; box-shadow: 0 12px 34px rgba(0,0,0,.3); }
.df-pin-button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* Social profiles and article sharing */
.df-social-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.df-social-links a,
.df-share-link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.df-social-links svg,
.df-share-link svg { width: 19px; height: 19px; }
.df-social-links--header { margin-right: 2px; }
.df-social-links--header a { width: 38px; height: 38px; border: 1px solid var(--df-border); background: #fff; color: var(--df-ink); }
.df-social-links--header a:hover { transform: translateY(-2px); border-color: var(--df-primary); color: var(--df-primary); }
.df-social-links--footer { margin-top: 20px; }
.df-social-links--footer a { background: rgba(255,255,255,.09); color: #fff; }
.df-social-links--footer a:hover { transform: translateY(-2px); background: #fff; color: var(--df-primary-dark); }

.df-share-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 38px;
  padding: 18px 20px;
  border: 1px solid var(--df-border);
  border-radius: 18px;
  background: var(--df-surface-soft);
}
.df-share-bar__label { color: var(--df-ink); font-size: .9rem; font-weight: 800; }
.df-share-bar__links { display: flex; align-items: center; gap: 8px; }
.df-share-link { width: 42px; height: 42px; border: 1px solid var(--df-border); background: #fff; color: var(--df-ink); }
.df-share-link:hover { transform: translateY(-2px); color: #fff; border-color: transparent; }
.df-share-link--pinterest:hover { background: #e60023; }
.df-share-link--facebook:hover { background: #1877f2; }
.df-share-link--x:hover { background: #111; }
.df-share-link--whatsapp:hover { background: #25d366; }
.df-share-link--email:hover { background: var(--df-primary); }

@media (max-width: 1180px) {
  .df-social-links--header { display: none; }
}

@media (max-width: 640px) {
  .df-share-bar { align-items: flex-start; flex-direction: column; }
  .df-pin-button { top: 10px; right: 10px; min-height: 38px; padding: 8px 12px; }
}

@media (hover: none), (pointer: coarse) {
  .df-pin-button { opacity: 1; transform: none; }
}
