/*
Theme Name: Dodies Creations
Theme URI: https://dodiescreations.ca/
Author: Dodies Creations
Description: Elementor Pro compatible handmade crafts theme with built-in print ordering, knitting gallery, custom orders, invoicing and EMT workflow. No WooCommerce required.
Version: 4.2.0
Text Domain: dodies-creations
Requires at least: 6.0
Requires PHP: 7.4
*/

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Playfair+Display:wght@500;600;700&family=Montserrat:wght@400;500;600;700&display=swap');

:root{--rose:#bf6073;--rose-dark:#934151;--cream:#fffaf6;--paper:#f8f2ec;--ink:#281c1e;--muted:#6f6263;--wine:#4b2d31;--line:#eadfd8;--white:#fff;--shadow:0 12px 34px rgba(71,43,46,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:'Montserrat',Arial,sans-serif;line-height:1.55}a{text-decoration:none;color:inherit}img{max-width:100%;height:auto}
.dc-wrap{width:min(1180px,94%);margin:0 auto}.dc-topbar{background:linear-gradient(90deg,#95505e,#7f404e);color:#fff;font-size:12px}.dc-topbar .dc-wrap{height:30px;display:flex;align-items:center;justify-content:space-between;gap:20px}.dc-mini{display:flex;gap:18px;align-items:center}
.dc-site-header{background:#fff;border-bottom:1px solid #eee;position:relative;z-index:50}.dc-header-main{min-height:106px;display:flex;align-items:center;justify-content:space-between;gap:30px}.dc-logo img{display:block;width:390px;max-width:42vw}.dc-mobile-title{display:none;font-family:'Great Vibes',cursive;font-size:36px}
.dc-nav .menu{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:22px;font-size:13px;font-weight:500}.dc-nav .menu>li{position:relative}.dc-nav .menu>li>a{display:block;padding:42px 0 11px;border-bottom:2px solid transparent}.dc-nav .menu>li:hover>a,.dc-nav .current-menu-item>a,.dc-nav .current-menu-ancestor>a{color:var(--rose);border-bottom-color:var(--rose)}
.dc-nav .sub-menu{display:none;position:absolute;top:100%;left:-15px;min-width:240px;background:#fff;padding:8px 0;list-style:none;box-shadow:0 14px 30px rgba(0,0,0,.12);border-top:3px solid var(--rose)}.dc-nav li:hover>.sub-menu{display:block}.dc-nav .sub-menu a{display:block;padding:10px 16px;font-size:12px}.dc-nav .sub-menu a:hover{background:var(--paper);color:var(--rose)}
.dc-fallback-nav{display:flex;gap:16px;font-size:12px;align-items:center}.dc-fallback-nav a:hover{color:var(--rose)}
.dc-hero{background:#f7efe9;overflow:hidden}.dc-hero-grid{display:grid;grid-template-columns:42% 58%;min-height:438px}.dc-hero-copy{padding:36px 38px 38px max(3vw,20px);display:flex;flex-direction:column;justify-content:center;background:linear-gradient(90deg,#fbf5f0 0%,#f9f1eb 86%,rgba(249,241,235,.82) 100%);z-index:2}.dc-script{font-family:'Great Vibes',cursive;font-size:78px;line-height:.88;font-weight:400;margin:0 0 22px;color:#211214}.dc-heart{color:#ca7586}.dc-hero-copy p{font-size:17px;max-width:410px;margin:0 0 24px}.dc-hero-media{background-size:cover;background-position:center;min-height:438px}
.dc-btns{display:flex;gap:12px;flex-wrap:wrap}.dc-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--rose);color:#fff;padding:12px 20px;border-radius:5px;font-size:13px;font-weight:700;border:1px solid var(--rose);cursor:pointer}.dc-btn:hover{background:var(--rose-dark);border-color:var(--rose-dark)}.dc-btn-outline{background:transparent;color:var(--ink);border-color:#4a3739}.dc-btn-outline:hover{color:#fff}
.dc-categories{padding:13px 0 6px;background:#fff}.dc-cat-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.dc-cat{height:215px;border-radius:5px;overflow:hidden;position:relative;background-size:cover;background-position:center}.dc-cat:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,250,247,.08),rgba(255,250,247,.92) 44%,rgba(255,250,247,.94))}.dc-cat-content{position:absolute;z-index:2;right:5%;top:50%;transform:translateY(-50%);width:49%;text-align:center}.dc-cat h2{font-family:'Great Vibes',cursive;font-size:42px;font-weight:400;margin:0}.dc-cat p{margin:0 0 16px;font-size:14px}
.dc-section{padding:52px 0}.dc-section.soft{background:var(--paper)}.dc-heading{text-align:center;margin-bottom:28px}.dc-heading h2{font-family:'Great Vibes',cursive;font-size:52px;font-weight:400;margin:0;line-height:1}.dc-heading p{max-width:760px;margin:10px auto 0;color:var(--muted);font-size:13px}.dc-heartline{display:flex;align-items:center;justify-content:center;gap:10px;color:var(--rose);margin-top:6px}.dc-heartline:before,.dc-heartline:after{content:"";height:1px;width:130px;background:#d7a5af}
.dc-page-hero{padding:54px 0;background:linear-gradient(135deg,#f7ebe6,#fff);text-align:center}.dc-page-hero h1{font-family:'Great Vibes',cursive;font-size:58px;font-weight:400;margin:0}.dc-page-hero p{color:var(--muted)}.dc-content{padding:45px 0 65px}.dc-content .elementor{margin-top:-45px;margin-bottom:-65px}
.dc-product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.dc-product-card,.dc-knit-card{background:#fff;border:1px solid var(--line);border-radius:9px;box-shadow:var(--shadow);overflow:hidden}.dc-product-card .body,.dc-knit-card .body{padding:22px}.dc-product-card h3,.dc-knit-card h3{font-family:'Playfair Display',serif;font-size:22px;margin:0 0 8px}.dc-price{font-size:22px;color:var(--rose);font-weight:700;margin:8px 0 14px}.dc-desc{color:var(--muted);font-size:13px}.dc-knit-image{height:260px;background:#f5eeea center/cover no-repeat}.dc-knit-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}
.dc-form{background:#fff;border:1px solid var(--line);border-radius:10px;padding:28px;box-shadow:var(--shadow)}.dc-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.dc-field.full{grid-column:1/-1}.dc-field label{display:block;font-size:12px;font-weight:700;margin-bottom:6px}.dc-field input,.dc-field select,.dc-field textarea{width:100%;padding:12px;border:1px solid #d9cfd0;border-radius:5px;font:inherit;background:#fff}.dc-field textarea{min-height:115px}.dc-help{font-size:11px;color:var(--muted);margin-top:5px}
.dc-order-table{width:100%;border-collapse:collapse;margin:18px 0}.dc-order-table th,.dc-order-table td{border-bottom:1px solid var(--line);padding:12px 8px;text-align:left;font-size:13px}.dc-order-table input[type=number]{width:80px;padding:8px}.dc-order-total{text-align:right;font-family:'Playfair Display',serif;font-size:23px;margin:18px 0}.dc-order-total strong{color:var(--rose)}
.dc-notice{padding:15px 17px;border-radius:6px;margin-bottom:20px}.dc-success{background:#eef8ef;border:1px solid #b6d8b9}.dc-error{background:#fff0f0;border:1px solid #e6bcbc}.dc-payment-note{background:#f8f3f4;border:1px solid var(--line);border-radius:8px;padding:18px;margin-top:18px;font-size:13px}
.dc-story{height:160px;background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;text-align:center}.dc-story-panel{background:rgba(255,248,245,.84);padding:18px 34px;border-radius:3px}.dc-story h2{font-family:'Great Vibes',cursive;font-size:40px;line-height:.95;font-weight:400;margin:0 0 12px}
.dc-footer{background:linear-gradient(#4a2e32,#3f272b);color:#fff}.dc-footer-main{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:28px;padding:38px 0 32px}.dc-footer-brand{font-family:'Great Vibes',cursive;font-size:38px;margin-bottom:7px}.dc-footer small,.dc-footer p,.dc-footer a{color:#eadfe1;font-size:11px}.dc-footer h4{font-size:12px;margin:0 0 12px}.dc-footer a{display:block;margin:6px 0}.dc-footer-bottom{border-top:1px solid rgba(255,255,255,.16);padding:18px 0;display:flex;justify-content:space-between;font-size:10px;color:#e6dadd}
@media(max-width:960px){.dc-nav{display:none}.dc-logo img{display:none}.dc-mobile-title{display:block}.dc-header-main{min-height:76px}.dc-hero-grid{grid-template-columns:1fr}.dc-hero-copy{padding:38px 5%}.dc-script{font-size:62px}.dc-hero-media{min-height:330px}.dc-cat-grid,.dc-product-grid{grid-template-columns:1fr}.dc-form-grid{grid-template-columns:1fr}.dc-field.full{grid-column:auto}.dc-footer-main{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.dc-script{font-size:50px}.dc-hero-media{min-height:250px}.dc-footer-main{grid-template-columns:1fr}.dc-footer-bottom{flex-direction:column;gap:8px}}


/* v3.2 visible samples on individual Name Meaning Print pages */
.dc-print-product-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(320px,1.1fr);gap:36px;align-items:center}
.dc-print-preview{background:#f5eee9;padding:24px;border-radius:10px;border:1px solid var(--line)}
.dc-print-frame{background:#fff;border:13px solid #7a5745;box-shadow:var(--shadow);padding:38px 28px;min-height:430px;display:flex;flex-direction:column;justify-content:center;text-align:center;position:relative;overflow:hidden}
.dc-print-frame:before,.dc-print-frame:after{content:"";position:absolute;width:145px;height:145px;border-radius:50%;background:rgba(191,96,115,.10)}
.dc-print-frame:before{top:-58px;left:-45px}.dc-print-frame:after{bottom:-55px;right:-45px}
.dc-print-small{font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);z-index:1}
.dc-print-mainname{font-family:'Great Vibes',cursive;font-size:70px;line-height:1;color:var(--rose);margin:20px 0 6px;z-index:1}
.dc-print-dualnames{font-family:'Great Vibes',cursive;font-size:54px;line-height:1.06;color:var(--rose);margin:20px 0 8px;z-index:1}
.dc-print-lastname{font-family:'Playfair Display',serif;font-size:54px;letter-spacing:.05em;color:var(--wine);margin:20px 0 8px;z-index:1}
.dc-print-meaning{font-family:'Playfair Display',serif;font-weight:600;font-size:18px;margin-bottom:14px;z-index:1}
.dc-print-copy{font-size:13px;line-height:1.65;color:#57494b;max-width:360px;margin:0 auto;z-index:1}
.dc-sample-label{display:inline-block;background:var(--rose);color:#fff;font-size:10px;font-weight:700;letter-spacing:.08em;padding:6px 9px;border-radius:999px;margin-bottom:14px}
.dc-sample-caption{text-align:center;color:var(--muted);font-size:11px;margin:10px 0 0}
@media(max-width:900px){.dc-print-product-layout{grid-template-columns:1fr}.dc-print-frame{min-height:360px}}

/* v3.3 Elementor-friendly print page building blocks */
.dc-elementor-print-wrap{padding:12px 0}
.dc-elementor-print-wrap .dc-print-product-layout{margin:0}

/* v3.4 compact homepage print strip */
.dc-home-print-strip{padding:32px 0;background:#fff}
.dc-home-print-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.dc-home-print{border:1px solid var(--line);background:var(--paper);padding:18px;border-radius:7px;text-align:center}
.dc-home-print h3{font-family:'Playfair Display',serif;font-size:17px;margin:0 0 5px}
.dc-home-print .dc-price{font-size:18px;margin:4px 0 10px}
.dc-home-print p{font-size:11px;color:var(--muted);margin:0 0 12px}
.dc-home-print .dc-btn{padding:9px 13px;font-size:11px}
@media(max-width:760px){.dc-home-print-grid{grid-template-columns:1fr}}

/* v3.5 homepage About Dodies bottom banner */
.dc-about-banner{
  position:relative;
  min-height:250px;
  display:flex;
  align-items:center;
  background-size:cover;
  background-position:center;
  overflow:hidden;
}
.dc-about-banner:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(72,43,47,.92),rgba(72,43,47,.72),rgba(72,43,47,.48));
}
.dc-about-banner .dc-wrap{position:relative;z-index:2}
.dc-about-panel{
  max-width:680px;
  color:#fff;
  padding:42px 0;
}
.dc-about-panel h2{
  font-family:'Great Vibes',cursive;
  font-size:54px;
  line-height:1;
  font-weight:400;
  margin:0 0 14px;
}
.dc-about-panel p{
  font-size:14px;
  line-height:1.7;
  margin:0 0 18px;
  color:#fff;
}
.dc-about-panel .dc-btn{
  background:#fff;
  color:var(--wine);
  border-color:#fff;
}
.dc-about-panel .dc-btn:hover{
  background:var(--paper);
  color:var(--rose-dark);
}
@media(max-width:700px){
  .dc-about-banner{min-height:230px}
  .dc-about-panel h2{font-size:44px}
}

/* v3.6 smaller About Dodies section */
.dc-about-compact{padding:34px 0;background:#fff}
.dc-about-compact-card{
  display:grid;
  grid-template-columns:42% 58%;
  min-height:250px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:10px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.dc-about-compact-image{background-size:cover;background-position:center;min-height:250px}
.dc-about-compact-copy{padding:34px 38px;display:flex;flex-direction:column;justify-content:center}
.dc-about-compact-copy h2{
  font-family:'Great Vibes',cursive;
  font-size:46px;
  line-height:1;
  font-weight:400;
  margin:0 0 12px;
}
.dc-about-compact-copy p{font-size:13px;color:var(--muted);margin:0 0 18px;line-height:1.7}
.dc-about-compact-copy .dc-btn{align-self:flex-start}
@media(max-width:760px){
 .dc-about-compact-card{grid-template-columns:1fr}
 .dc-about-compact-image{min-height:210px}
 .dc-about-compact-copy{padding:28px 24px}
}

/* Elementor sample-image helpers */
.dc-elementor-print-note{font-size:12px;color:var(--muted);margin-top:8px}


/* v3.8 homepage knitting cards: text no longer overlays images */
.dc-categories{padding:28px 0;background:#fff;position:relative;z-index:1}
.dc-cat-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.dc-cat{
  height:auto;
  min-height:220px;
  border:1px solid var(--line);
  border-radius:9px;
  overflow:hidden;
  position:relative;
  background-image:none !important;
  display:grid;
  grid-template-columns:48% 52%;
  background:#fff;
  box-shadow:var(--shadow);
}
.dc-cat:after{display:none}
.dc-cat-media{
  min-height:220px;
  background-size:cover;
  background-position:center;
}
.dc-cat-content{
  position:static;
  transform:none;
  width:auto;
  text-align:left;
  padding:26px 24px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  background:var(--paper);
}
.dc-cat h2{font-family:'Great Vibes',cursive;font-size:39px;font-weight:400;margin:0 0 7px}
.dc-cat p{margin:0 0 15px;font-size:13px;line-height:1.6;color:var(--muted)}
@media(max-width:900px){
 .dc-cat-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
 .dc-cat{grid-template-columns:1fr}
 .dc-cat-media{min-height:190px}
 .dc-cat-content{padding:22px}
}

/* v3.9 clean homepage image crops */
.dc-cat-media,
.dc-about-compact-image{
  background-position:center center;
  background-repeat:no-repeat;
  background-size:cover;
}

/* v4.0 Contact + About */
.dc-contact-form{max-width:760px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:10px;padding:28px;box-shadow:var(--shadow)}
.dc-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.dc-contact-field{margin-bottom:16px}
.dc-contact-field label{display:block;font-weight:600;margin-bottom:7px}
.dc-contact-field input,.dc-contact-field textarea{width:100%;border:1px solid #d8c9c2;border-radius:6px;padding:12px 13px;font:inherit;background:#fff;box-sizing:border-box}
.dc-contact-field textarea{min-height:150px;resize:vertical}
.dc-contact-message{margin:0 0 18px;padding:12px 14px;border-radius:6px;background:var(--paper);border:1px solid var(--line)}
.dc-contact-message.success{border-color:#a8c9ad}.dc-contact-message.error{border-color:#d5a0a0}
.dc-about-doreen{max-width:900px;margin:0 auto;font-size:16px;line-height:1.8}
.dc-about-doreen .dc-about-lead{font-family:'Playfair Display',serif;font-size:24px;line-height:1.5;color:var(--wine)}
@media(max-width:700px){.dc-contact-grid{grid-template-columns:1fr}.dc-contact-form{padding:20px}}

/* v4.1 Manual customer + invoice admin */
.dc-admin-customer-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.dc-admin-customer-grid .wide{grid-column:1/-1}
.dc-line-items-table input{width:100%}
.dc-line-items-table .dc-qty{max-width:90px}
.dc-line-items-table .dc-price{max-width:130px}
@media(max-width:800px){.dc-admin-customer-grid{grid-template-columns:1fr}}
