@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');
:root{--ink:#34313b;--primary:#79638f;--surface:#f5f1f8;--background:#fff;--on-primary:#fff;--on-surface:#34313b;--on-background:#34313b;--muted:#736c7c;--line:#e7e1ec;--accent:#80618e}*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--ink);font-family:Vazirmatn,Tahoma,sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button,a{cursor:pointer}a{color:inherit;text-decoration:none}button{border:0;background:none;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.demo{text-align:center;background:var(--primary);color:white;padding:8px;font-size:11px}.topline{display:flex;justify-content:space-between;padding:10px 6%;background:var(--surface);font-size:11px;color:var(--muted)}header{display:flex;align-items:center;gap:45px;padding:18px 6%}.brand{display:flex;align-items:center;gap:10px;min-width:175px}.brand img{width:62px;height:65px;object-fit:contain}.brand span{font-size:26px;font-weight:700}.brand small{display:block;font-family:Georgia,serif;font-size:11px;letter-spacing:4px}.search{display:flex;max-width:510px;flex:1;border-bottom:1px solid #bbc1b8}.search input{border:0;background:none;padding:13px;width:100%;outline-offset:0}.search button{font-size:26px}.head-actions{display:flex;gap:20px;align-items:center;font-size:12px}.head-actions b{background:var(--surface);padding:2px 7px;border-radius:50%}nav{display:flex;justify-content:center;gap:34px;padding:17px 20px;border-block:1px solid var(--line);font-size:13px}nav a:hover{color:var(--accent)}main{min-height:65vh}.hero{margin:26px 5%;display:grid;grid-template-columns:1fr 1fr;background:var(--surface);min-height:470px;overflow:hidden}.hero-copy{padding:65px 13%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;position:relative}.eyebrow{font-size:11px;letter-spacing:3px;color:var(--accent);font-weight:600}.hero h1{font-size:46px;line-height:1.7;font-weight:400;margin:14px 0}.hero p{color:var(--muted);line-height:2.1;max-width:330px}.hero-image{position:relative;min-height:470px;background:var(--surface)}.hero-image img{width:100%;height:100%;position:absolute;object-fit:cover;object-position:center 32%}.hero-image span{position:absolute;bottom:24px;left:24px;color:white;letter-spacing:5px;font:16px Georgia}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;padding:13px 26px;background:var(--primary);color:white;margin-top:12px;gap:16px}.secondary{background:white;color:var(--ink);border:1px solid var(--line)}.benefits{display:flex;justify-content:space-evenly;margin:30px 6% 45px;padding:17px;border-bottom:1px solid var(--line);gap:20px;font-size:12px}.benefits span{color:var(--muted);font-size:11px;display:block;margin-top:5px}.section{margin:52px 6%}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.section-head h2{font-size:24px;font-weight:500;margin:0}.section-head p{color:var(--muted);font-size:12px}.section-head a{font-size:12px;border-bottom:1px solid}.categories{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.category{background:var(--surface);position:relative;height:280px;overflow:hidden}.category img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.category:hover img{transform:scale(1.04)}.category span{position:absolute;bottom:15px;right:15px;left:15px;background:#ffffffeb;padding:12px;display:flex;justify-content:space-between}.products{display:grid;grid-template-columns:repeat(4,1fr);gap:28px 20px}.product{display:block}.product-image{height:330px;background:var(--surface);position:relative;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.product:hover img{transform:scale(1.035)}.tag{position:absolute;top:12px;right:12px;background:#fff;padding:5px 9px;font-size:10px}.tag.sale{background:var(--primary);color:white}.product-meta{font-size:10px;color:var(--muted);margin-top:13px}.product h3{font-size:14px;font-weight:500;margin:6px 0}.price{font-weight:600;font-size:13px}.price small{font-size:10px;font-weight:400}.old{color:#999;text-decoration:line-through;font-size:11px;margin-inline-end:8px}.swatches{display:flex;gap:5px;margin-top:10px}.swatches i{width:10px;height:10px;border-radius:50%;border:1px solid #aaa}.editorial{display:grid;grid-template-columns:1fr 1fr;background:var(--primary);color:white;min-height:320px}.editorial>div{padding:50px}.editorial h2{font-size:30px;font-weight:400}.editorial p{line-height:2;color:inherit}.editorial-art{background:var(--surface);display:flex;align-items:center;justify-content:center}.editorial-art img{height:270px;width:270px;object-fit:contain;mix-blend-mode:multiply}.journal{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.article{padding:30px;background:var(--surface)}.article small{color:var(--accent)}.article h3{font-weight:500;line-height:2}.article p{color:var(--muted);line-height:2}.page{padding:35px 6% 60px}.breadcrumb{color:var(--muted);font-size:12px;margin-bottom:25px}.filters{display:flex;gap:12px;flex-wrap:wrap;align-items:center;padding:20px;background:var(--surface);margin-bottom:25px}.filters input,.filters select,.field{border:1px solid var(--line);padding:10px;background:white;max-width:100%}.filters input{width:150px}.empty{padding:60px;text-align:center;color:var(--muted)}.detail{display:grid;grid-template-columns:1fr 1fr;gap:60px}.detail-photo{width:100%;height:650px;object-fit:cover;background:var(--surface)}.detail h1{font-weight:500;font-size:28px}.detail p{line-height:2.2;color:var(--muted)}.detail label{display:block;margin:20px 0 8px}.choices{display:flex;gap:8px;flex-wrap:wrap}.choices button{border:1px solid var(--line);padding:8px 17px}.choices button.selected{border-color:var(--primary);background:var(--surface)}.notice{background:var(--surface);padding:14px;line-height:2;font-size:12px;color:var(--muted)}.detail .price{font-size:22px}.detail input[type=number]{width:80px}.cart-row{display:grid;grid-template-columns:80px 1fr auto auto;gap:25px;align-items:center;border-bottom:1px solid var(--line);padding:20px 0}.cart-row img{width:80px;height:100px;object-fit:cover}.cart-row h3{font-weight:500}.cart-row input{width:65px}.summary{background:var(--surface);padding:25px;margin-top:30px;max-width:450px;margin-inline-start:auto}.summary>p{display:flex;justify-content:space-between}.panel-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.panel-tabs button{padding:10px 20px;border:1px solid var(--line)}.panel-tabs .active{background:var(--primary);color:white}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.stat{border:1px solid var(--line);padding:25px}.stat b{font-size:27px;display:block;margin-top:15px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:start;margin:25px 0;white-space:nowrap}th,td{padding:16px;border-bottom:1px solid var(--line);text-align:start}th{background:var(--surface);font-weight:500}.form{max-width:620px;display:grid;gap:14px}.form label{display:grid;gap:8px}.form textarea{min-height:120px}.form .primary{justify-self:start}.badge{background:var(--surface);padding:4px 10px;font-size:11px}footer{background:var(--surface);padding:45px 6%;display:grid;grid-template-columns:2fr 1fr 1.2fr 1fr;gap:30px;line-height:2}footer h2{font-size:28px;margin-top:0}footer h3{font-size:14px}footer p,footer small{color:var(--muted);font-size:12px}footer a,footer small{display:block}.chat-toggle{position:fixed;bottom:22px;left:24px;background:var(--primary);color:white;padding:14px 20px;border-radius:30px;box-shadow:0 5px 20px #0002;z-index:8}.chat{position:fixed;bottom:85px;left:24px;width:340px;background:white;box-shadow:0 8px 50px #0003;z-index:10;border:1px solid var(--line)}.chat-head{background:var(--primary);color:white;padding:17px;display:flex;justify-content:space-between}.chat .notice{margin:12px}.chat #messages{padding:12px;max-height:240px;overflow:auto}.chat #messages p{background:var(--surface);padding:10px;line-height:2}.chat form{display:flex;border-top:1px solid var(--line);padding:10px}.chat input{width:100%;border:0;padding:8px}.chat form button{color:var(--primary)}#toast{position:fixed;bottom:25px;right:25px;background:var(--ink);color:white;padding:15px 25px;z-index:20;display:none;max-width:80vw}.mobile-only{display:none}[hidden]{display:none!important}html[dir=ltr] .hero h1{line-height:1.3}html[dir=ltr] body{font-family:Vazirmatn,Arial,sans-serif}
@media(min-width:1600px){body{max-width:1600px;margin:auto}.hero{min-height:550px}}@media(max-width:1000px){header{gap:20px;padding-inline:4%}.head-actions{gap:9px}.brand{min-width:140px}nav{gap:20px;justify-content:flex-start;overflow:auto;white-space:nowrap}.hero h1{font-size:35px}.products{grid-template-columns:repeat(3,1fr)}.product-image{height:290px}.category{height:220px}.detail{gap:30px}.stats{grid-template-columns:repeat(2,1fr)}footer{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.topline{display:none}header{flex-wrap:wrap;justify-content:space-between;gap:12px}.brand img{width:45px;height:50px}.brand span{font-size:22px}.search{order:3;flex-basis:100%;max-width:none}.head-actions{font-size:11px}.demo{font-size:10px;padding:8px 15px}nav{font-size:12px;padding:13px 5%;gap:24px}.hero{margin:15px 4%;grid-template-columns:1fr;min-height:0}.hero-copy{padding:30px 8%}.hero h1{font-size:34px;margin:10px 0}.hero p{font-size:12px;margin:0}.hero-image{min-height:310px}.hero-image img{object-position:center 35%}.benefits{display:grid;grid-template-columns:1fr 1fr;margin:15px 4% 30px;gap:20px;font-size:11px}.section{margin:35px 4%}.section-head h2{font-size:20px}.categories{grid-template-columns:repeat(2,1fr);gap:12px}.category{height:230px}.products{grid-template-columns:repeat(2,1fr);gap:24px 12px}.product-image{height:250px}.product h3{font-size:12px}.price{font-size:12px}.editorial{grid-template-columns:1fr}.editorial>div{padding:28px}.editorial-art{display:none}.journal{grid-template-columns:1fr}.page{padding:25px 4% 50px}.detail{grid-template-columns:1fr;gap:20px}.detail-photo{height:450px}.detail h1{font-size:23px}.cart-row{grid-template-columns:60px 1fr auto;gap:12px}.cart-row img{width:60px;height:80px}.cart-row .price{grid-column:2}.stats{gap:10px}.stat{padding:17px}.stat b{font-size:23px}footer{grid-template-columns:1fr 1fr;padding:30px 5%;gap:20px}footer>div:first-child{grid-column:1/-1}.chat{left:4%;width:92%;bottom:80px}.chat-toggle{left:15px;bottom:15px;font-size:12px}.filters{gap:8px;padding:12px}.filters input{width:115px}.filters select{max-width:100%}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Brand colour system and theme editor */
body{background:var(--background)}
.demo,.primary,.tag.sale,.editorial,.panel-tabs .active,.chat-toggle,.chat-head{color:var(--on-primary)}
.secondary{background:var(--background);color:var(--ink)}
.topline,.head-actions b,.category,.product-image,.article,.filters,.notice,.detail-photo,.summary,.badge,th,.chat #messages p,footer{color:var(--on-surface)}
.hero{color:var(--on-surface)}
.hero p,.article p,.notice,.topline,footer p,footer small{color:inherit;opacity:.8}
.chat,.field,.filters input,.filters select,.tag{background:var(--background);color:var(--ink)}
.hero-image img,.category img,.product-image img,.detail-photo{filter:grayscale(.4) hue-rotate(235deg)}
.theme-settings{margin-top:38px;padding:26px;border:1px solid var(--line);border-radius:10px;max-width:850px;white-space:normal}
.theme-settings h2{margin-top:0;font-weight:500}
.theme-settings p{line-height:2;color:var(--muted)}
.theme-presets,.theme-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:20px 0}
.theme-presets button{display:flex;align-items:center;gap:10px;padding:12px 16px;border:1px solid var(--line);border-radius:7px}
.theme-presets button[aria-pressed=true]{border:2px solid var(--primary);background:var(--surface);color:var(--on-surface)}
.theme-presets i{width:20px;height:20px;border-radius:50%;background:var(--preset-color)}
#theme-mode{font-size:12px;color:var(--muted)}
.theme-colors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.theme-colors label{display:grid;gap:9px;font-size:12px}
.theme-colors label>span{display:flex;align-items:center;gap:12px;border:1px solid var(--line);padding:10px}
.theme-colors input{width:48px;height:34px;padding:0;border:0;background:none;cursor:pointer}
.theme-colors output{font:12px monospace}
.theme-preview{margin-top:24px;padding:25px;background:var(--surface);color:var(--on-surface);display:flex;flex-wrap:wrap;gap:20px;align-items:center;border-radius:8px}
.theme-preview>span{font-size:11px;flex-basis:100%}
.theme-preview .primary,.theme-actions .primary,.theme-actions .secondary{margin:0}
@media(max-width:650px){.theme-settings{padding:16px}.theme-colors{grid-template-columns:1fr}.theme-actions>*{width:100%}}
/* Preserve original fabric and beadwork colours. */
.hero-image img,.category img,.product-image img,.detail-photo{filter:none}
.atelier-hero{min-height:660px}.atelier-hero .hero-image{min-height:660px}.atelier-hero .hero-image img{object-fit:contain;object-position:center;background:var(--surface)}
.hero-note{margin-top:20px;color:var(--muted);line-height:2}
.atelier-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.atelier-steps>div{padding:25px;border-top:1px solid var(--line)}.atelier-steps>div>span{font:32px Georgia;color:var(--accent)}.atelier-steps h3{font-size:17px;font-weight:500}.atelier-steps p{line-height:2;color:var(--muted)}
.quote-price{color:var(--accent);font-size:12px;line-height:2}.product-caption{font-size:11px;color:var(--muted);line-height:1.8}.product-image{height:auto;aspect-ratio:2/3}.product-image img{object-position:top center}
.accessories-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:820px}.accessories-grid .product-image{aspect-ratio:1}.accessories-grid img{object-fit:contain}
.atelier-feature{display:grid;grid-template-columns:1fr 1fr;background:var(--surface);align-items:center}.atelier-feature>img{width:100%;max-height:660px;object-fit:cover;object-position:center 25%}.atelier-feature>div{padding:45px}.atelier-feature h2{font-size:28px;font-weight:500;line-height:1.8}.atelier-feature p{line-height:2.2}
.gallery{display:flex;gap:10px;margin-top:14px}.gallery button{padding:0;border:1px solid var(--line)}.gallery img{display:block;width:80px;height:90px;object-fit:cover}.detail-photo{height:auto;max-height:850px;object-fit:contain}.detail .form{gap:10px}.detail .form label{margin:6px 0}.detail .form input,.detail .form select{width:100%}.detail .form fieldset{border:1px solid var(--line);padding:15px;margin:0}.detail .form legend{font-size:11px;line-height:2}.measurement-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.detail .form textarea{min-height:85px}.draft-item{display:grid;grid-template-columns:160px 1fr;gap:30px;padding:25px 0;border-bottom:1px solid var(--line)}.draft-item>img{width:160px;height:230px;object-fit:cover;object-position:top}.draft-details{display:grid;gap:8px;line-height:1.9;font-size:12px;overflow-wrap:anywhere;white-space:pre-wrap}.draft-item h3{font-weight:500}
@media(max-width:650px){.atelier-hero{min-height:0}.atelier-hero .hero-image{min-height:540px}.atelier-steps{grid-template-columns:1fr;gap:0}.atelier-steps>div{padding:20px 5px}.atelier-feature{grid-template-columns:1fr}.atelier-feature>img{max-height:500px;object-fit:contain}.atelier-feature>div{padding:25px}.atelier-feature h2{font-size:23px}.draft-item{grid-template-columns:90px 1fr;gap:15px}.draft-item>img{width:90px;height:140px}.draft-item h3{font-size:14px}.product-image{height:auto}.detail-photo{height:auto}}
/* Crossfade editorial slideshow, using the original atelier photography. */
.atelier-slideshow{position:relative;margin:26px 5%;height:650px;background:var(--surface);overflow:hidden;color:var(--on-surface);isolation:isolate}
.atelier-slide{position:absolute;inset:0;display:grid;grid-template-columns:1fr 1fr;opacity:0;visibility:hidden;transition:opacity 1s ease,visibility 1s;pointer-events:none}
.atelier-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:1}
.slide-copy{padding:65px 12% 100px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;z-index:1;background:var(--surface)}
.slide-copy h1{font-size:43px;font-weight:400;line-height:1.8;margin:20px 0 12px;transform:translateY(18px);opacity:0;transition:transform .9s ease .15s,opacity .9s ease .15s}
.is-active .slide-copy h1{transform:translateY(0);opacity:1}
.slide-copy p{line-height:2.2;font-size:14px;max-width:360px;opacity:.8}.slide-copy small{font-size:10px;margin-top:18px;line-height:2;opacity:.7}
.slide-copy .eyebrow{font-size:10px;letter-spacing:2px}.slide-image{overflow:hidden;background:var(--surface);height:100%}.slide-image img{height:100%;width:100%;object-fit:cover;object-position:center 27%;transform:scale(1.045);transition:transform 7.5s linear}.is-active .slide-image img{transform:scale(1)}.accessory-slide img{object-position:center;object-fit:contain}
.slide-controls{position:absolute;z-index:3;bottom:25px;inset-inline-start:5%;display:flex;align-items:center;gap:13px;padding:8px 12px;background:var(--surface);color:var(--on-surface)}
.slide-controls>button{width:32px;height:32px;font-size:19px;border:1px solid var(--line)}.slide-dots{display:flex;gap:12px;direction:ltr}.slide-dots button{padding:5px 0;min-width:28px;border-bottom:2px solid transparent;font-size:11px;opacity:.5}.slide-dots button[aria-current=true]{opacity:1;border-color:var(--accent);color:var(--accent)}.slide-line{width:25px;height:1px;background:var(--accent);opacity:.3}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
html[dir=ltr] .slide-copy h1{line-height:1.35;font-size:44px}html[dir=ltr] .brand span{font-size:18px;letter-spacing:1px}html[dir=ltr] .brand small{font-size:9px;letter-spacing:2px}html[dir=ltr] nav{gap:23px}
@media(max-width:1000px){.atelier-slideshow{height:590px}.slide-copy{padding-inline:8%}.slide-copy h1,html[dir=ltr] .slide-copy h1{font-size:34px}.slide-copy .eyebrow{letter-spacing:1px;font-size:9px}.slide-controls{gap:7px}}
@media(max-width:650px){.atelier-slideshow{height:850px;margin:15px 4%}.atelier-slide{grid-template-columns:1fr;grid-template-rows:330px 520px}.slide-copy{padding:24px 7% 50px;justify-content:flex-start}.slide-copy h1,html[dir=ltr] .slide-copy h1{font-size:30px;line-height:1.55;margin:10px 0 5px}.slide-copy p{font-size:12px;line-height:1.9;margin:4px 0}.slide-copy small{display:none}.slide-copy .primary{padding:10px 18px;font-size:12px;margin-top:10px}.slide-controls{bottom:auto;top:290px;inset-inline-start:5%;padding:5px 8px}.slide-image img{object-fit:contain;object-position:center top}.slide-dots{gap:8px}html[dir=ltr] .brand span{font-size:15px}html[dir=ltr] nav{gap:22px}}
@media(prefers-reduced-motion:reduce){.atelier-slide,.slide-copy h1,.slide-image img{transition:none!important;transform:none!important}}

.model-description{white-space:pre-wrap;overflow-wrap:anywhere}
/* Phase 2 customer requests */
.customer-login{max-width:520px;padding:24px;border:1px solid var(--line);background:var(--background)}.customer-login h2{font-size:20px;font-weight:500}.customer-login p{font-size:12px;line-height:2}.customer-login input{width:100%}.customer-login .form{gap:14px}.request-checkout{margin-top:35px;border-top:1px solid var(--line);padding-top:25px;max-width:650px}.request-checkout .form{gap:17px}.request-checkout .form>label{display:grid;gap:9px}.request-checkout input:not([type=checkbox]){width:100%}.request-checkout .consent{display:block!important;font-size:12px;line-height:2.2}.request-checkout .consent input{margin-inline-end:8px;accent-color:var(--primary)}.customer-request{border:1px solid var(--line);padding:24px;margin:18px 0;max-width:850px}.request-title{display:flex;gap:20px;justify-content:space-between;flex-wrap:wrap;align-items:center}.customer-request>p{color:var(--muted);font-size:12px;line-height:2}.customer-page h1{font-size:28px;font-weight:500}.customer-page h2{font-weight:500}.customer-request .secondary{margin-top:0}.form-error{color:#a22f43;background:#fff0f2;padding:12px;line-height:2;font-size:12px}.form-error:empty{display:none}.customer-login button:disabled,.request-checkout button:disabled{opacity:.5;cursor:wait}#requestDialog .draft-item{grid-template-columns:110px 1fr}#requestDialog .draft-item>img{width:110px;height:170px}#requestDialog .notice{font-size:12px}.page>.badge{display:inline-block}
@media(max-width:650px){.customer-login,.customer-request{padding:18px}.customer-page h1{font-size:22px}.request-title{gap:12px}.request-checkout{max-width:100%}}
.finance-panel{margin:32px 0;padding:clamp(20px,4vw,40px);border:1px solid var(--line,#ded9e5);border-radius:20px;background:var(--surface,#f5f1fa)}.finance-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;margin:22px 0}.finance-grid>div{display:flex;flex-direction:column;gap:8px;padding:20px;border-radius:12px;background:var(--background,#fff)}.finance-grid strong{font-size:1.15rem}.finance-panel .form{max-width:620px}.receipt-card{padding:20px;margin:15px 0;border:1px solid #dcd5e5;border-radius:12px;background:#fff;color:#24212b}.receipt-card .badge{margin:8px}.finance-panel .consent{display:flex;gap:12px;align-items:flex-start}.finance-panel .consent input{width:auto;margin-top:6px}.finance-panel .field{width:100%}

