/*
Theme Name: Em's Crafty Delights
Theme URI: https://www.emscraftydelights.co.uk/
Author: Em's Crafty Delights
Description: A soft, feminine WooCommerce theme for Em's Crafty Delights, using sage, dusky rose, soft gold and warm ivory.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: ems-crafty-delights
License: GPL-2.0-or-later
*/
:root{
--sage:#8d9a72;--sage-dark:#657052;--sage-pale:#edf0e5;
--rose:#c98287;--rose-dark:#a96168;--rose-pale:#f5e5e5;
--gold:#c8a35a;--gold-pale:#ead8a9;--cream:#fcf8f1;
--ivory:#fffdf9;--ink:#3e4038;--muted:#77766e;--line:#e6dfd2;
--shadow:0 16px 40px rgba(76,72,58,.10);--radius:18px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;background:var(--ivory);color:var(--ink);font-family:"DM Sans",Arial,sans-serif;line-height:1.65}
a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}
.container{width:min(1160px,calc(100% - 40px));margin:auto}
.site-announcement{background:var(--sage);color:#fff;text-align:center;padding:8px 15px;font-size:10px;letter-spacing:.12em;text-transform:uppercase}
.site-header{background:rgba(255,253,249,.97);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:100;backdrop-filter:blur(10px)}
.header-main{min-height:122px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px}
.header-search{justify-self:start;display:flex;align-items:center;border:1px solid var(--line);background:#fff}
.header-search input{border:0;background:transparent;padding:10px 12px;width:190px;outline:none;font-size:12px}
.header-search button{border:0;background:transparent;padding:8px 12px;color:var(--rose-dark)}
.brand{text-align:center;display:flex;flex-direction:column;align-items:center;line-height:1}
.brand img{max-height:92px;width:auto}
.brand-script{font-family:"Parisienne",cursive;color:var(--rose);font-size:45px}
.brand-name{font-family:"Cormorant Garamond",serif;font-size:23px;font-weight:600;letter-spacing:.12em;color:var(--sage-dark)}
.brand-tagline{font-size:8px;letter-spacing:.18em;color:var(--rose-dark);margin-top:7px}
.header-actions{justify-self:end;display:flex;align-items:center;gap:7px}
.header-actions a{font-size:21px;color:var(--sage-dark);width:38px;height:38px;display:grid;place-items:center}
.cart-count{position:relative}.cart-count::after{content:attr(data-count);position:absolute;top:0;right:-2px;background:var(--rose);color:#fff;border-radius:50%;width:17px;height:17px;display:grid;place-items:center;font-size:9px}
.main-nav{display:flex;justify-content:center;align-items:center;gap:clamp(18px,3vw,38px);min-height:52px}
.main-nav a{padding:15px 0;font-size:11px;text-transform:uppercase;letter-spacing:.09em;color:#5d5d55;position:relative}
.main-nav a:hover,.main-nav .current-menu-item>a{color:var(--rose-dark)}
.menu-toggle{display:none;border:0;background:none;font-size:24px;color:var(--sage-dark)}
.hero{background:linear-gradient(120deg,#fbf7ef,#fff 48%,#f7ece9);overflow:hidden}
.hero-grid{min-height:590px;display:grid;grid-template-columns:1fr 1fr;align-items:center}
.hero-copy{padding:55px 30px 55px 4%}.eyebrow{margin:0 0 10px;color:var(--rose-dark);font-size:10px;font-weight:700;letter-spacing:.2em;text-transform:uppercase}
.hero h1{font:600 clamp(54px,6vw,80px)/.98 "Cormorant Garamond",serif;color:var(--sage-dark);margin:0}
.script{font-family:"Parisienne",cursive;color:var(--rose);font-weight:400}
.hero-text{max-width:560px;color:#64635d;margin:25px 0;font-size:16px}
.buttons{display:flex;flex-wrap:wrap;gap:12px}.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 23px;border-radius:3px;border:1px solid transparent;text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:700;transition:.2s}
.button:hover,.woocommerce a.button:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(0,0,0,.08)}
.button-rose,.woocommerce a.button.alt,.woocommerce button.button.alt{background:var(--rose);color:#fff}
.button-sage{background:var(--sage);color:#fff}.button-outline{border-color:var(--gold);color:var(--sage-dark);background:transparent}
.hero-art{min-height:530px;display:grid;place-items:center}.hero-products{width:480px;height:430px;position:relative}
.hero-products:after{content:"";position:absolute;left:8%;bottom:40px;width:85%;height:35px;background:rgba(80,70,55,.12);filter:blur(18px);border-radius:50%}
.hero-mug{position:absolute;left:8%;bottom:80px;width:205px;height:160px;background:linear-gradient(150deg,#fff,#eee9df);border-radius:12px 12px 24px 24px;box-shadow:var(--shadow);display:grid;place-items:center;z-index:2}
.hero-mug:before{content:"";position:absolute;inset:10px;border:1px solid #e8d6b5;border-radius:8px 8px 18px 18px}
.hero-mug:after{content:"";position:absolute;right:-50px;top:36px;width:62px;height:75px;border:16px solid #eee9df;border-left:0;border-radius:0 50% 50% 0}
.hero-mug strong{font:52px "Cormorant Garamond",serif;color:var(--rose);z-index:1}.hero-mug small{position:absolute;bottom:25px;color:var(--sage);font:12px "Cormorant Garamond";text-align:center;z-index:1}
.hero-tumbler{position:absolute;right:13%;bottom:50px;width:145px;height:280px;border-radius:26px 26px 32px 32px;background:linear-gradient(110deg,#f6dfe0,#fff 52%,#ead2d4);box-shadow:var(--shadow);display:grid;place-items:center;text-align:center;color:var(--rose-dark);font:25px/1.15 "Parisienne",cursive;transform:rotate(3deg);z-index:3}
.hero-tumbler:before{content:"";position:absolute;top:-13px;width:110px;height:19px;background:#e9e1d5;border-radius:20px}
.hero-pen{position:absolute;z-index:4;width:220px;height:25px;border-radius:20px;background:linear-gradient(#f5e1b4,#c99e55);color:#fff;font-size:8px;text-align:center;padding-top:6px;transform:rotate(-16deg);left:35%;bottom:75px}
.hero-flower{position:absolute;color:var(--rose);opacity:.5;font-size:75px}.hf1{left:0;top:65px}.hf2{right:0;top:125px;color:var(--sage)}
.section{padding:82px 0}.section-heading{text-align:center;margin-bottom:42px}.section-heading h2{font:600 clamp(40px,5vw,58px)/1 "Cormorant Garamond",serif;color:var(--sage-dark);margin:0}.section-heading .eyebrow{margin-bottom:7px}.gold-line{color:var(--gold);margin-top:10px}.gold-line:before,.gold-line:after{content:"";display:inline-block;width:48px;height:1px;background:var(--gold);vertical-align:middle;margin:0 10px;opacity:.65}
.category-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:12px}.category-card{text-align:center}.category-card .circle{width:105px;height:105px;max-width:100%;margin:auto;border-radius:50%;display:grid;place-items:center;background:var(--rose-pale);border:7px solid #fffaf6;box-shadow:0 8px 20px rgba(90,80,70,.08);font-size:35px;color:var(--rose-dark);transition:.2s}.category-card:hover .circle{transform:translateY(-5px)}.category-card strong{display:block;margin-top:10px;font:600 19px "Cormorant Garamond";color:var(--sage-dark)}.category-card span{font-size:9px;color:var(--rose-dark);text-transform:uppercase;letter-spacing:.06em}
.about-band{background:var(--sage-pale)}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.about-art{min-height:380px;background:linear-gradient(135deg,#d8d8c7,#f5eee4 55%,#dec7c6);position:relative;overflow:hidden}.thank-card{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-4deg);width:260px;height:175px;background:#fffdf9;box-shadow:var(--shadow);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.thank-card small{letter-spacing:.2em;color:var(--rose-dark)}.thank-card strong{font:600 26px/1.1 "Cormorant Garamond";color:var(--sage-dark);margin:8px}.about-copy .script{font-size:48px}.about-copy h2{font:600 clamp(42px,4vw,57px)/1 "Cormorant Garamond";color:var(--sage-dark);margin:0 0 20px}.about-copy p{color:#64635d}
.custom{background:var(--rose-pale)}.custom-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:50px;align-items:center}.custom h2{font:600 clamp(48px,5vw,70px)/.98 "Cormorant Garamond";color:var(--sage-dark);margin:0}.custom-copy>p:not(.eyebrow){max-width:500px;color:#68645f}.polaroids{height:390px;position:relative}.polaroid{position:absolute;width:205px;background:#fff;padding:11px 11px 15px;box-shadow:var(--shadow);text-align:center;font:18px "Cormorant Garamond";color:var(--sage-dark)}.polaroid .fake-photo{height:235px;display:grid;place-items:center;margin-bottom:10px}.p1{left:6%;top:35px;transform:rotate(-8deg)}.p2{left:37%;top:8px;transform:rotate(5deg);z-index:2}.p3{right:1%;top:60px;transform:rotate(11deg);z-index:1}.fake-photo.one{background:#e9f0e2;color:var(--rose);font:60px "Cormorant Garamond"}.fake-photo.two{background:#f7e9e8;color:var(--rose-dark);font:700 26px "Cormorant Garamond";line-height:1.05}.fake-photo.three{background:#e8efdf;color:var(--sage-dark);font:30px "Parisienne";line-height:1.1}
.featured{background:var(--ivory)}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.product-card{border:1px solid var(--line);background:#fff;transition:.2s}.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.product-card .product-thumb{aspect-ratio:1/1.05;background:linear-gradient(135deg,#edf1e6,#f6e3e2);display:grid;place-items:center;text-align:center}.product-card .product-thumb span{font:32px "Parisienne";color:var(--rose-dark)}.product-card .product-body{text-align:center;padding:15px}.product-card h3{margin:0;font:600 20px "Cormorant Garamond";color:var(--sage-dark)}.product-card .price{color:var(--rose-dark);font-weight:700;margin:4px 0 12px}
.occasions{background:var(--cream)}.occasion-grid{display:grid;grid-template-columns:repeat(6,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.occasion-grid a{text-align:center;padding:28px 10px;border-right:1px solid var(--line)}.occasion-grid a:last-child{border-right:0}.occasion-grid .emoji{display:block;font-size:28px;color:var(--gold)}.occasion-grid strong{display:block;font:600 20px "Cormorant Garamond";color:var(--sage-dark)}.occasion-grid small{font-size:9px;color:var(--rose-dark);text-transform:uppercase}
.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.choice-panel{padding:52px;min-height:315px;display:flex;flex-direction:column;justify-content:center}.choice-panel.ready{background:#edf1e6}.choice-panel.personal{background:#f6e3e2}.choice-panel h2{font:600 60px "Cormorant Garamond";margin:0;color:var(--sage-dark)}.choice-panel.personal h2{color:var(--rose-dark)}.choice-panel p:not(.eyebrow){max-width:440px;color:#68645f}
.reviews{background:var(--sage);color:#fff}.reviews .section-heading h2{color:#fff}.reviews .eyebrow{color:#f5e6bb}.review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.review-card{background:rgba(255,255,255,.94);color:var(--ink);padding:30px;text-align:center;min-height:210px}.stars{color:var(--gold);letter-spacing:.1em}.review-card p{font:18px/1.35 "Cormorant Garamond"}.review-card cite{font-size:10px;color:var(--rose-dark);text-transform:uppercase;letter-spacing:.1em;font-style:normal}
.instagram{background:var(--ivory)}.insta-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.insta-grid a{aspect-ratio:1;display:grid;place-items:center;font-size:45px}.i1{background:#edf1e6}.i2{background:#f4e1df}.i3{background:#efe9db}.i4{background:#e5ecdc}.i5{background:#f6e8e5}.i6{background:#e8efdf}
.benefits{border-top:1px solid var(--gold-pale);border-bottom:1px solid var(--gold-pale);background:#fffaf3}.benefit-grid{display:grid;grid-template-columns:repeat(5,1fr)}.benefit-grid>div{text-align:center;padding:21px 10px;border-right:1px solid var(--gold-pale)}.benefit-grid>div:last-child{border-right:0}.benefit-grid span{display:block;color:var(--rose);font-size:24px}.benefit-grid strong{display:block;font:600 17px "Cormorant Garamond";color:var(--sage-dark)}.benefit-grid small{font-size:9px;color:#77736b}
.newsletter{background:var(--rose-pale);padding:62px 0}.newsletter-inner{display:flex;justify-content:space-between;align-items:center;gap:40px}.newsletter .script{font-size:43px}.newsletter h2{font:600 48px "Cormorant Garamond";color:var(--sage-dark);margin:0}.newsletter p{color:#6d6962}.signup{display:flex;min-width:min(460px,100%)}.signup input{flex:1;border:1px solid #dcc9c8;padding:14px 17px;background:#fff;outline:none}.signup button{border:0;background:var(--rose);color:#fff;padding:0 24px;text-transform:uppercase;font-size:10px;letter-spacing:.1em}
.site-footer{background:var(--sage-dark);color:#fff;padding:62px 0 0}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.4fr;gap:42px;padding-bottom:48px}.site-footer h3{font:600 22px "Cormorant Garamond";color:#f4e5c0;margin:0 0 13px}.site-footer a,.site-footer p{font-size:11px;color:#e8eadf}.footer-col a{display:block;margin:7px 0}.footer-brand .brand-script{font-size:45px;color:#f0d0cf}.footer-brand .brand-name{color:#fff;font-size:20px}.socials{display:flex;gap:8px;margin-top:18px}.socials a{width:32px;height:32px;border:1px solid #b9c1aa;border-radius:50%;display:grid;place-items:center}.footer-bottom{border-top:1px solid rgba(255,255,255,.15);min-height:55px;display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#d4d8ca}
.woocommerce .woocommerce-breadcrumb{color:var(--muted);font-size:11px}.woocommerce .woocommerce-ordering select,.woocommerce form .form-row select,.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{border:1px solid var(--line);padding:11px;background:#fff}.woocommerce ul.products li.product a img{border-radius:3px}.woocommerce ul.products li.product .price{color:var(--rose-dark)}.woocommerce span.onsale{background:var(--rose);border-radius:50%;min-width:45px;min-height:45px;padding:0;display:grid;place-items:center}.woocommerce-message,.woocommerce-info{border-top-color:var(--sage)}.woocommerce-message::before,.woocommerce-info::before{color:var(--sage)}
.site-content{min-height:50vh;padding:55px 0}.page-title{font:600 55px "Cormorant Garamond";color:var(--sage-dark);text-align:center;margin:0 0 35px}
@media(max-width:1000px){.category-grid{grid-template-columns:repeat(4,1fr);gap:24px 12px}.product-grid{grid-template-columns:repeat(2,1fr)}.occasion-grid{grid-template-columns:repeat(3,1fr)}.occasion-grid a:nth-child(-n+3){border-bottom:1px solid var(--line)}.occasion-grid a:nth-child(3){border-right:0}.benefit-grid{grid-template-columns:repeat(3,1fr)}.benefit-grid>div:nth-child(3){border-right:0}.benefit-grid>div:nth-child(-n+3){border-bottom:1px solid var(--gold-pale)}.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.container{width:min(100% - 28px,1160px)}.header-main{grid-template-columns:auto 1fr auto;min-height:100px}.header-search{display:none}.menu-toggle{display:block}.brand-script{font-size:38px}.brand-name{font-size:17px}.brand-tagline{font-size:6px}.main-nav{display:none}.main-nav.open{display:flex;position:absolute;left:0;right:0;top:100%;background:var(--ivory);flex-direction:column;gap:0;border-bottom:1px solid var(--line);padding:8px 0}.main-nav.open a{padding:12px}.hero-grid{grid-template-columns:1fr}.hero-copy{text-align:center;padding:65px 0 15px}.hero-text{margin-left:auto;margin-right:auto}.buttons{justify-content:center}.hero-art{min-height:350px}.hero-products{transform:scale(.75)}.about-grid,.custom-grid,.choice-grid{grid-template-columns:1fr;gap:30px}.about-art{min-height:310px}.polaroids{transform:scale(.82);margin-top:-20px}.choice-panel{padding:38px}.review-grid{grid-template-columns:1fr}.insta-grid{grid-template-columns:repeat(3,1fr)}.benefit-grid{grid-template-columns:repeat(2,1fr)}.benefit-grid>div{border-right:1px solid var(--gold-pale)!important;border-bottom:1px solid var(--gold-pale)}.benefit-grid>div:nth-child(even){border-right:0!important}.benefit-grid>div:last-child{grid-column:1/-1;border-right:0!important}.newsletter-inner{flex-direction:column;text-align:center}.signup{min-width:0;width:100%}}
@media(max-width:480px){.category-grid{grid-template-columns:repeat(2,1fr)}.category-card .circle{width:92px;height:92px}.product-grid{gap:10px}.hero h1{font-size:49px}.hero-products{transform:scale(.64)}.polaroids{transform:scale(.67);margin-left:-45px;margin-right:-45px}.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column;justify-content:center;gap:5px;padding:12px;text-align:center}}
