/*
Theme Name: Queen of Stitches
Author: Rehan
Description: Royal purple and gold alteration studio theme with an editable Elementor starter page, Customizer brand controls and WhatsApp contact.
Version: 2.0.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: queen-of-stitches
Tags: custom-logo, custom-colors, custom-menu, full-width-template
*/

/* Brand tokens: change the palette here. No CSS framework or build step required. */
:root{--purple:#2e1065;--purple-light:#4c1d95;--gold:#c9a765;--ivory:#faf7f1;--ink:#302637;--muted:#716778;--line:#e4dddf;--white:#fff;--radius:4px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:95px}body{margin:0;color:var(--ink);background:var(--ivory);font:16px/1.7 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit}button{font:inherit}a,button{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--gold);outline-offset:5px}h1,h2,h3,p{margin:0}h1,h2,h3,.wordmark{font-family:Georgia,"Times New Roman",serif;font-weight:400}h1{font-size:clamp(3.1rem,5.6vw,5.5rem);line-height:1.05;letter-spacing:-.045em}h2{font-size:clamp(2.2rem,3.6vw,3.4rem);line-height:1.15;letter-spacing:-.03em}h3{font-size:1.55rem;line-height:1.25}img{display:block;width:100%;object-fit:cover}.wrap{width:min(1180px,90%);margin:auto}.eyebrow{display:block;font-size:.69rem;letter-spacing:.22em;text-transform:uppercase;font-weight:650;color:var(--purple-light);margin-bottom:20px}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:12px 23px;border:1px solid transparent;border-radius:var(--radius);text-decoration:none;font-weight:600;font-size:.85rem;cursor:pointer;transition:background .2s,transform .2s}.button:hover{transform:translateY(-2px)}.primary{background:var(--purple);color:white}.primary:hover{background:var(--purple-light)}.outline{border-color:var(--line);background:transparent}.outline:hover{background:white}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.announcement{background:var(--purple);color:#eee4f8;text-align:center;font-size:.7rem;letter-spacing:.12em;padding:9px 15px}.header{position:sticky;top:0;z-index:10;background:rgba(250,247,241,.97);border-bottom:1px solid var(--line)}.header-row{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{text-decoration:none;display:flex;align-items:center;gap:12px;color:var(--purple)}.crown{width:36px;height:36px;color:var(--gold)}.wordmark{font-size:1.5rem;line-height:1.2}.brand small{display:block;font-size:.55rem;text-transform:uppercase;letter-spacing:.26em;margin-top:5px}.nav{display:flex;align-items:center;gap:28px}.nav a{text-decoration:none;font-size:.8rem}.nav a:hover{color:var(--purple-light)}.menu-toggle{display:none;background:none;border:1px solid var(--line);padding:8px 12px;border-radius:4px}.hero{display:grid;grid-template-columns:1fr 1fr;gap:7%;align-items:center;padding:72px 0 64px}.hero h1 em{color:var(--purple-light);font-weight:400}.hero-copy>p{max-width:440px;color:var(--muted);margin-top:24px}.hero-note{font-size:.72rem;margin-top:20px!important}.hero-image{position:relative;padding:14px 14px 0 0}.hero-image:before{content:"";position:absolute;inset:0 0 40px 40px;border:1px solid var(--gold);z-index:-1}.hero-image img{height:510px;border-radius:140px 4px 4px 4px;object-position:45% center}.image-caption{background:var(--purple);color:white;margin:-48px 24px 0;position:relative;padding:18px 24px;border-left:3px solid var(--gold);font-family:Georgia,serif;font-size:1.15rem}.image-caption small{display:block;font: .6rem system-ui;letter-spacing:.15em;color:#ded0ed;margin-top:5px;text-transform:uppercase}.qualities{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:22px 0;display:flex;justify-content:space-around;gap:20px;font-size:.78rem;color:var(--purple)}.qualities span:before{content:"✧";color:#9a783c;margin-right:10px}.section{padding:88px 0}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:50px;margin-bottom:38px}.section-heading p{color:var(--muted);max-width:340px;font-size:.9rem}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}.service img{height:230px;border-radius:var(--radius);margin-bottom:24px}.service .index{color:#95733e;font-size:.65rem;letter-spacing:.16em;display:block;margin-bottom:12px}.service p{font-size:.87rem;color:var(--muted);margin-top:14px}.service ul{padding:0;list-style:none;margin:18px 0 0;font-size:.76rem;line-height:2;color:var(--purple)}.service li:before{content:"—";color:#9a783c;margin-right:10px}.story{background:var(--purple);color:white;position:relative}.story-grid{display:grid;grid-template-columns:1fr 1fr;gap:10%;align-items:center}.story .eyebrow{color:var(--gold)}.story h2 em{color:var(--gold)}.story p{color:#e0d6eb;font-size:.94rem;margin-bottom:18px}.story .signature{font:italic 1.3rem Georgia,serif;color:var(--gold);margin-top:24px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:36px;margin-top:40px}.step{border-top:1px solid var(--line);padding-top:22px}.step>span{font:italic 1.8rem Georgia;color:#987740}.step h3{font-size:1.3rem;margin:12px 0}.step p{font-size:.86rem;color:var(--muted)}.visit{padding-top:0}.visit-card{border:1px solid var(--line);background:white;display:grid;grid-template-columns:1fr 1fr}.visit-info{padding:48px}.visit-info p{color:var(--muted);margin-top:22px;font-size:.9rem}.visit-info address{font-style:normal;margin-top:25px}.text-link{display:inline-block;color:var(--purple);font-size:.85rem;text-underline-offset:5px;margin-top:20px}.hours{padding:48px;background:#f1ecf4}.hours h3{margin-bottom:20px}table{border-collapse:collapse;width:100%;font-size:.8rem}td{padding:10px 0;border-bottom:1px solid #ded6e4}td:last-child{text-align:right}details{margin-top:20px;font-size:.75rem;color:var(--muted)}summary{cursor:pointer;color:var(--purple)}details p{margin-top:10px}.footer{border-top:1px solid var(--line);padding:30px 0 90px}.footer-row{display:flex;justify-content:space-between;gap:24px;align-items:center;font-size:.72rem;color:var(--muted)}.footer-links{display:flex;gap:24px}.floating-contact{position:fixed;bottom:22px;right:24px;z-index:20;box-shadow:0 6px 24px #2e106530;background:var(--purple);color:white;border:1px solid var(--gold)}.wa-icon{width:20px;height:20px;fill:currentColor;flex-shrink:0}dialog{border:1px solid var(--gold);border-radius:8px;padding:30px;max-width:min(430px,90vw);color:var(--ink);background:var(--ivory)}dialog::backdrop{background:#160d27aa}dialog h2{font-size:1.7rem}dialog p{margin-top:16px;font-size:.9rem}.skip{position:absolute;left:15px;top:-100px;background:white;padding:10px;z-index:100}.skip:focus{top:10px}
@media(min-width:1500px){.hero{padding-top:90px}}@media(max-width:900px){.nav{gap:16px}.header .button{padding:10px 14px}.hero{gap:5%}.hero-image img{height:450px}.visit-info,.hours{padding:32px}.service img{height:190px}}
@media(max-width:700px){html{scroll-padding-top:90px}.announcement{font-size:.59rem}.header-row{min-height:76px}.wordmark{font-size:1.2rem}.crown{width:28px}.menu-toggle{display:block}.nav{display:none;position:absolute;top:100%;left:0;right:0;padding:24px 5%;background:var(--ivory);border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;gap:20px}.nav.is-open{display:flex}.hero{grid-template-columns:1fr;padding:44px 0;gap:35px}.hero-copy>p{font-size:.92rem}.hero-image img{height:330px;border-top-left-radius:100px}.hero-image{max-width:540px}.qualities{flex-wrap:wrap;gap:12px 24px;justify-content:center;font-size:.69rem}.section{padding:58px 0}.section-heading{display:block;margin-bottom:28px}.section-heading p{margin-top:20px}.service-grid,.story-grid,.steps,.visit-card{grid-template-columns:1fr}.service-grid{gap:35px}.service img{height:240px;margin-bottom:18px}.service ul{display:flex;flex-wrap:wrap;gap:0 16px}.story-grid{gap:28px}.steps{gap:26px}.step p{max-width:440px}.visit{padding-top:0}.visit-info,.hours{padding:30px 24px}.footer-row{align-items:start;flex-direction:column}.footer-links{flex-wrap:wrap;gap:18px}.floating-contact{bottom:16px;right:16px;min-height:46px;padding:10px 18px}.hero .actions .button{flex:1}.image-caption{margin-left:18px;margin-right:18px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}

/* Elementor widgets inherit the brand palette; per-widget styling can override. */
.qos-elementor .elementor-widget-heading .elementor-heading-title{font-family:Georgia,serif;color:var(--purple);font-weight:400;line-height:1.12;letter-spacing:-.025em}
.qos-elementor .qos-hero-title .elementor-heading-title{font-size:clamp(3.1rem,5.6vw,5.5rem)}
.qos-elementor .qos-light .elementor-heading-title,.qos-elementor .qos-light .elementor-widget-text-editor{color:var(--ivory)}
.qos-elementor .elementor-widget-button .elementor-button{background:var(--purple);color:white;border-radius:var(--radius);padding:16px 25px;font:600 .85rem system-ui}
.qos-elementor .elementor-widget-button .elementor-button:hover{background:var(--purple-light)}
.qos-elementor .elementor-widget.elementor-widget-text-editor{font-family:inherit;color:var(--muted)}
.qos-elementor .qos-eyebrow .elementor-widget-container{color:var(--purple-light);font-size:.7rem;letter-spacing:.18em;text-transform:uppercase}
.qos-elementor .qos-light .qos-eyebrow .elementor-widget-container{color:var(--gold)}
.qos-elementor .qos-hero-photo img{height:510px;object-fit:cover;border-radius:140px 4px 4px 4px}
.qos-elementor .qos-service-photo img{height:230px;object-fit:cover;border-radius:4px}
.qos-elementor .qos-story-band{background:var(--purple)}
.qos-content{min-height:45vh;padding:64px 0}.qos-content img{height:auto}.qos-content h1{font-size:3rem;margin-bottom:24px}.qos-content p{margin-bottom:20px}.custom-logo{width:auto;max-width:220px;max-height:62px}.admin-bar .header{top:32px}
@media(max-width:782px){.admin-bar .header{top:46px}}
@media(max-width:600px){.admin-bar .header{top:0}.qos-elementor .qos-hero-photo img{height:330px}.qos-elementor .e-con{--padding-left:20px;--padding-right:20px}}
.qos-menu{display:flex;list-style:none;gap:24px;padding:0;margin:0}.qos-menu li{position:relative}.qos-menu .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:180px;list-style:none;background:var(--ivory);padding:16px;border:1px solid var(--line)}.qos-menu li:hover>.sub-menu,.qos-menu li:focus-within>.sub-menu{display:block}.qos-menu .sub-menu a{display:block;padding:7px}.qos-content article{margin-bottom:40px} .qos-content ul{list-style:disc;padding-left:24px}
@media(max-width:700px){.qos-menu{flex-direction:column;gap:18px}.qos-menu .sub-menu{position:static;display:block;border:0;padding:8px 16px}}

/* 1.0.1: outrank Elementor kit defaults without !important. Widget-specific
   Elementor selectors remain more specific, retaining visual customization. */
.qos-elementor .elementor-widget-heading h2.elementor-heading-title{font-size:clamp(2.2rem,3.6vw,3.4rem)}
.qos-elementor .elementor-widget-heading h3.elementor-heading-title{font-size:1.55rem}
.qos-elementor .elementor-widget-heading .elementor-heading-title em{color:var(--purple-light);font-weight:400}
.qos-elementor .qos-light .elementor-widget-heading .elementor-heading-title em{color:var(--gold)}
.qos-elementor .elementor-widget.elementor-widget-text-editor{font-size:1rem;line-height:1.7;font-weight:400}
.qos-elementor .elementor-widget-text-editor.qos-eyebrow{font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;color:var(--purple-light)}
.qos-elementor .qos-light .elementor-widget-text-editor.qos-eyebrow{color:var(--gold)}
.qos-elementor .qos-light .elementor-widget.elementor-widget-text-editor{color:var(--ivory)}
/* Complete site 2.0 — muted brand purple, warm cream, editorial rhythm. */
:root{--purple:#543563;--purple-light:#76518a;--gold:#c5aa76;--ivory:#faf5e9;--qos-heading-font:Georgia,"Times New Roman",serif}
body{overflow-wrap:break-word}h1,h2,h3,h4,h5,h6,.wordmark{font-family:var(--qos-heading-font);color:var(--purple)}
.qos-brand-logo{width:92px;height:92px;object-fit:contain;flex-shrink:0}.header-row{min-height:112px}.brand{gap:8px}.brand small{letter-spacing:.17em}.header .nav{gap:22px}.header{background:var(--ivory)}
.qos-elementor .elementor-widget-heading .elementor-heading-title{font-family:var(--qos-heading-font)}
.qos-elementor .qos-real-photo img{width:100%;height:390px;object-fit:cover;border-radius:6px 80px 6px 6px}
.qos-elementor .qos-hero-photo img{object-position:center;height:510px;border-radius:120px 6px 6px 6px}
.qos-elementor .qos-service-photo img{height:230px}
.qos-elementor .qos-light h1,.qos-elementor .qos-light h2,.qos-elementor .qos-light h3{color:var(--ivory)}
.qos-elementor .qos-light .elementor-widget-button .elementor-button{background:var(--ivory);color:var(--purple)}
.qos-elementor .qos-hero{align-items:center}.qos-elementor .e-con{min-width:0}
.qos-page-heading{max-width:900px;margin:0 0 44px}.qos-page-heading h1{font-size:clamp(2.65rem,5vw,4.7rem);line-height:1.1}.qos-page-heading>p{max-width:650px;margin-top:24px;color:var(--muted)}
.qos-page .entry-content{max-width:850px}.qos-page .entry-content:has(.qos-contact-grid){max-width:none}.qos-content h2{font-size:clamp(1.8rem,3vw,2.6rem);margin:38px 0 18px}.qos-content h3{margin:28px 0 14px}.qos-content .entry-content p{margin-bottom:22px}.qos-content .entry-content ul,.qos-content .entry-content ol{margin:20px 0 30px;padding-left:24px}.qos-content .entry-content li{margin:8px 0}.qos-content .entry-content a:not(.button){color:var(--purple);text-decoration-thickness:1px;text-underline-offset:4px}.qos-content blockquote{border-left:3px solid var(--gold);margin:30px 0;padding:16px 28px;background:white}.qos-content figure{margin:30px 0}.qos-content table{width:100%}.qos-content img{max-width:100%;height:auto}.qos-lead{font-size:1.2rem;color:var(--purple);line-height:1.65}.qos-content .wp-block-button__link{background:var(--purple);color:white;border-radius:4px;padding:14px 24px}.alignwide{max-width:1180px}
.qos-journal{padding-top:65px;padding-bottom:70px}.qos-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.qos-post-card{background:#fffdf8;border:1px solid var(--line);border-radius:6px;overflow:hidden;display:flex;flex-direction:column;margin:0!important}.qos-post-card>a>img{height:220px;object-fit:cover}.qos-card-art{position:relative;min-height:200px;display:flex;justify-content:space-between;align-items:end;padding:28px;background:#eee5ef;color:var(--purple);overflow:hidden;border-bottom:1px solid var(--line)}.qos-card-art:after{content:"";position:absolute;inset:18px;border:1px solid #76518a40;border-radius:80px 0 0 0;pointer-events:none}.qos-card-art span{font:italic 7rem/.9 Georgia,serif;color:#76518a45}.qos-card-art i{font:italic 1rem Georgia,serif;position:relative;max-width:100px}.qos-post-card:nth-child(3n+2) .qos-card-art{background:#e9e3d5}.qos-post-card:nth-child(3n+3) .qos-card-art{background:#e4dbe9}.qos-card-body{padding:26px;display:flex;flex-direction:column;flex:1}.qos-card-body .eyebrow{font-size:.61rem;margin-bottom:16px}.qos-card-body h2,.qos-card-body h3{font-size:1.5rem;line-height:1.3;margin:0 0 16px}.qos-card-body h2 a,.qos-card-body h3 a{text-decoration:none}.qos-card-body h2 a:hover,.qos-card-body h3 a:hover{text-decoration:underline;text-underline-offset:4px}.qos-card-body p{font-size:.85rem;line-height:1.75;color:var(--muted);margin:0 0 18px}.qos-card-body>.text-link{margin-top:auto;padding-top:12px}
.qos-article{max-width:830px}.qos-article .entry-content{font-size:1.03rem;line-height:1.85}.qos-article .entry-content h2{line-height:1.2;scroll-margin-top:130px}.qos-byline{font-size:.76rem!important;letter-spacing:.02em}.qos-breadcrumb{font-size:.76rem;margin-bottom:34px;color:var(--muted)}.qos-answer{background:#eee6ef;border-left:3px solid var(--purple-light);border-radius:0 5px 5px 0;padding:24px 28px;margin-bottom:35px}.qos-answer>strong{display:block;color:var(--purple);font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;margin-bottom:12px}.qos-answer p:last-child{margin:0}.post-navigation{padding:30px 0;border-top:1px solid var(--line);margin-top:45px}.nav-links{display:flex;justify-content:space-between;gap:30px}.nav-links>div{max-width:47%}.nav-links a{color:var(--purple)}.pagination{margin-top:35px}.page-numbers{padding:8px 12px}
.qos-cta{display:flex;align-items:center;justify-content:space-between;gap:40px;margin-top:20px;margin-bottom:70px;padding:50px;background:#eee5ef;border:1px solid #76518a28;border-radius:5px}.qos-cta h2{font-size:clamp(2rem,3.5vw,3.2rem)}.qos-cta p{font-size:.9rem;color:var(--muted);margin-top:20px}.qos-cta .actions{max-width:280px;margin:0;flex-direction:column}.qos-cta .eyebrow{margin-bottom:18px}
.qos-faq details{border-bottom:1px solid var(--line);padding:20px 0;margin:0;font-size:.95rem}.qos-faq summary{font:1.2rem Georgia,serif;color:var(--purple);padding-right:20px}.qos-faq details p{margin:16px 0 0;max-width:850px}.qos-contact-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:55px}.qos-contact-details{font-size:.9rem}.qos-contact-details h2{font-size:2rem;margin:0 0 24px}.qos-contact-details h3{margin-top:30px}.qos-contact-details address{line-height:1.9}.qos-contact-details>p{margin-top:24px}.qos-studio-photo{width:100%;object-fit:cover;max-height:450px;border-radius:5px;margin:28px 0}.qos-form-panel{background:white;padding:32px;border:1px solid var(--line);border-radius:6px}.qos-form-panel h2{font:2rem/1.2 Georgia,serif;color:var(--purple);margin:0 0 18px}.qos-form-panel>p{font-size:.9rem;color:var(--muted);margin-bottom:24px}.qos-form label{display:block;font-size:.8rem;color:var(--ink)}.qos-form input:not([type=checkbox]),.qos-form select,.qos-form textarea{display:block;width:100%;padding:12px;border:1px solid #d8ccde;border-radius:4px;font:16px/1.5 system-ui;background:#fffdfa;color:var(--ink);margin:8px 0 20px}.qos-form input:focus,.qos-form select:focus,.qos-form textarea:focus{outline:2px solid var(--purple-light);outline-offset:2px}.qos-form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}.qos-form textarea{resize:vertical;min-height:150px}.qos-consent{display:flex!important;align-items:start;gap:10px;line-height:1.6}.qos-consent input{margin-top:5px;accent-color:var(--purple);width:18px;height:18px;flex-shrink:0}.qos-small{font-size:.73rem!important;color:var(--muted);line-height:1.7;margin:18px 0 24px}.qos-notice{padding:16px;border-left:3px solid var(--purple);background:#eee5ef;font-size:.85rem;margin-bottom:24px}.qos-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.screen-reader-text{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.qos-mobile-cta{display:none}.footer{padding-bottom:55px}.floating-contact{bottom:22px}.qos-content .wp-block-columns{gap:36px}
@media(max-width:1100px){.header .nav{gap:15px}.wordmark{font-size:1.25rem}.brand small{font-size:.49rem}.header .button{padding:10px 14px}.qos-brand-logo{width:70px;height:70px}.header-row{min-height:94px}}
@media(max-width:960px){.menu-toggle{display:block}.header .nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--ivory);padding:25px 5%;border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;gap:20px}.header .nav.is-open{display:flex}.qos-menu{flex-direction:column;gap:20px}.qos-menu .sub-menu{position:static;display:block;border:0}.qos-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.qos-contact-grid{gap:30px}}
@media(max-width:700px){.qos-post-grid,.qos-contact-grid{grid-template-columns:1fr}.qos-cta{flex-direction:column;align-items:stretch;padding:30px 24px;margin-bottom:45px;gap:28px}.qos-cta .actions{max-width:none}.qos-form-panel{padding:24px 18px}.qos-form-row{grid-template-columns:1fr;gap:0}.qos-brand-logo{width:62px;height:62px}.header-row{min-height:82px}.wordmark{font-size:1.2rem}.brand small{font-size:.46rem}.qos-content{padding:42px 0}.qos-page-heading{margin-bottom:32px}.qos-page-heading>p{font-size:.93rem}.qos-article .entry-content{font-size:1rem}.qos-answer{padding:20px}.qos-card-art{min-height:175px}.qos-card-body{padding:24px}.qos-elementor .qos-real-photo img{height:300px}.qos-elementor .qos-hero-photo img{height:330px}.qos-mobile-cta{position:fixed;bottom:0;left:0;right:0;z-index:30;display:grid;grid-template-columns:1fr 1.3fr;background:var(--purple);padding-bottom:env(safe-area-inset-bottom,0px);border-top:1px solid var(--gold)}.qos-mobile-cta a{display:flex;min-height:54px;align-items:center;justify-content:center;padding:12px 8px;text-decoration:none;color:white;font-size:.74rem;font-weight:600}.qos-mobile-cta a:last-child{background:var(--purple-light)}.floating-contact{bottom:calc(70px + env(safe-area-inset-bottom,0px));right:12px;padding:8px 14px;min-height:42px;font-size:.73rem}.footer{padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}.footer-links{row-gap:12px}.qos-journal{padding-top:45px}.qos-contact-details .actions{gap:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.brand-area{display:flex;align-items:center;gap:12px}.brand-area .custom-logo{width:82px;height:82px;max-height:82px;object-fit:contain}.brand-area .custom-logo-link{display:block;flex-shrink:0}
@media(max-width:700px){.brand-area{gap:6px}.brand-area .custom-logo{width:62px;height:62px;max-height:62px}}
