@font-face{font-family:RoshanArabic;src:url("fonts/Tajawal-Regular.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:RoshanArabic;src:url("fonts/Tajawal-Medium.ttf") format("truetype");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:RoshanArabic;src:url("fonts/Tajawal-Bold.ttf") format("truetype");font-weight:700;font-style:normal;font-display:swap}
/* Roshan's forest-and-gold signature, softened with rose and warm ivory. */
:root{--paper:#fcf8f5;--surface:#fffdfc;--ink:#263e35;--gold:#927044;--muted:#7c6f6b;--line:#eee2dd;--rose:#a45e70;--rose-soft:#f6e6e8;--shadow:0 12px 40px #7a4e6010}
body.dark{--paper:#211b20;--surface:#2e262c;--ink:#f4ece9;--gold:#d8b57e;--muted:#c4afb5;--line:#473940;--rose:#efb5c4;--rose-soft:#4c303c}
body{background:radial-gradient(ellipse at 100% 0,#f8e7e680,transparent 550px),var(--paper);letter-spacing:0}.dark{background:var(--paper)}.top{background:var(--paper);padding-block:13px}.brand span{letter-spacing:2.6px}.icon{background:var(--surface);border-radius:50%}.theme-mini{background:none}.search{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);height:54px}.camera-search{border-radius:50%;background:var(--rose-soft);color:var(--rose)}
.hero:not(.showcase){background:#f3e1df url('beauty-hero.svg') left bottom/43% auto no-repeat;color:#263e35;padding:27px 22px;min-height:220px;border:1px solid #e6ccc4;border-radius:26px;overflow:hidden}.hero:not(.showcase):after{display:none}.hero:not(.showcase) .eyebrow{color:#795d50;letter-spacing:1px}.hero:not(.showcase) h1{font-size:25px;max-width:58%;line-height:1.55;font-weight:500;margin:10px 0}.hero:not(.showcase) p{max-width:60%;color:#6e5b58;font-size:11px}.hero:not(.showcase) button{border-radius:24px;color:#fff;background:#304a3c;padding:8px 17px;border:0}.dark .hero:not(.showcase){filter:brightness(.85)}
.section-head h2{font-size:19px;font-weight:600}.eyebrow{color:var(--gold)}.brand-rail{gap:18px;padding-block:5px 9px}.brand-rail .brand-tile{flex:0 0 83px;align-items:center}.brand-image,.brand-grid .brand-image{width:82px;height:82px;padding:0;border-radius:50%;border:1px solid var(--line);outline:4px solid var(--surface);background:var(--surface);overflow:hidden}.brand-tile img{width:100%;height:100%;border-radius:50%;object-fit:cover}.brand-tile .brand-wordmark{font-size:12px;padding:5px}.brand-grid .brand-tile{justify-items:center}.brand-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.brand-tile b{font-size:11px;color:var(--ink)}
.consultation-banner{display:flex;align-items:center;gap:13px;padding:16px 18px;width:100%;border:1px solid var(--line);border-radius:21px;background:linear-gradient(110deg,var(--surface),var(--rose-soft));color:var(--ink);text-align:right;margin:21px 0}.consultation-spark{font-family:Georgia,serif;font-size:37px;line-height:1;color:var(--rose)}.consultation-banner>span:nth-child(2){display:flex;flex-direction:column;gap:2px}.consultation-banner small{font-size:9px;color:var(--rose)}.consultation-banner strong{font-size:17px;font-weight:500}.consultation-banner em{font-style:normal;font-size:10px;color:var(--muted)}.consultation-banner>b{margin-right:auto;font-size:22px;font-weight:400}
.category-image{background:#f4e8e2;border-radius:22px}.routine-category .category-image{background:#e9eee5}.offers-banner{border:1px solid #e6cabb;border-radius:25px}.offers-banner>span{max-width:78%}.offers-banner strong{font-weight:500;font-size:24px}.offers-banner b{background:#6d3f4e}.offers-banner small{color:#735b57}
.product{border-radius:24px;border:1px solid var(--line);box-shadow:0 6px 18px #8b555905}.product-cover{border-radius:23px 23px 0 0;background:radial-gradient(ellipse at center,#fff,#f4eae5);padding:18px 15px 9px;aspect-ratio:1}.product-info{padding:12px}.product-info small{color:var(--muted)}.product h3{font-weight:500;font-size:12px}.product .add{border-radius:50%;background:var(--rose-soft);color:var(--rose);width:36px;height:36px;min-height:36px;flex-basis:36px}.favorite.selected svg{fill:var(--rose);stroke:var(--rose)}.deal-badge{background:#724b59}.routine-label{background:#65775e}.rating-link{color:var(--gold)}.shade-note{font-size:9px;color:var(--muted);display:block;margin-bottom:6px}.shade-card-action{background:none;border-top:1px solid var(--line);color:var(--rose);width:100%;padding:9px 0 0;font-size:10px;min-height:35px}.product .price{font-size:12px}.product .price small{font-size:8px;display:block;font-weight:400}.product-cover>img{mix-blend-mode:multiply}.sold-out{opacity:1}.notify-stock{color:var(--rose)}.chip.active{background:#304a3c;color:#fff}.dark .chip.active{background:var(--rose-soft);color:var(--rose)}
.primary{background:#304a3c;color:#fff;border-radius:17px}.primary.gold{background:#724b59}.primary:disabled{opacity:.5}.card{border:1px solid var(--line);background:var(--surface);border-radius:24px}.bottom{background:var(--surface);border:1px solid var(--line);box-shadow:0 12px 36px #75415518}.bottom button.active{color:var(--rose)}.bottom button.active>span{background:var(--rose-soft);box-shadow:0 0 0 8px var(--rose-soft);border-radius:50%}.dark .bottom{background:var(--surface)}.dark .bottom button.active>span{background:var(--rose-soft);box-shadow:0 0 0 8px var(--rose-soft)}.field select,.chat-picker~input{width:100%;border:1px solid var(--line);border-radius:13px;color:var(--ink);background:var(--paper);font:inherit;min-height:49px;padding:10px 12px}.required-mark{color:var(--rose);font-size:10px;font-weight:500}.sheet{background:var(--paper);max-height:91vh}.grade-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:13px 0}.shade-option{border:1px solid var(--line);border-radius:15px;padding:7px;background:var(--surface);min-width:0;display:flex;flex-direction:column;align-items:center;gap:5px;color:var(--ink)}.shade-option img,.shade-option .placeholder{width:48px;height:48px;object-fit:contain;border-radius:10px}.shade-option span{font-size:11px;overflow-wrap:anywhere}.shade-option small{font-size:8px;color:var(--muted)}.grade-links .shade-option.selected{border:2px solid var(--rose);background:var(--rose-soft)}.shade-unavailable{opacity:.7}.chosen-shade{font-size:12px}.shade-selection{padding:14px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}
.story-card{flex-basis:88%;max-width:390px}.story-comparison{position:relative;aspect-ratio:1;overflow:hidden;border-radius:22px;direction:ltr;isolation:isolate;background:var(--surface)}.story-card .story-comparison{border-radius:20px 20px 0 0}.story-comparison>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}.comparison-before{clip-path:inset(0 0 0 var(--split))}.comparison-label{position:absolute;top:15px;color:#263e35;background:#fffcf5e8;padding:5px 13px;border-radius:20px;font-size:11px;z-index:2;pointer-events:none}.label-before{right:15px}.label-after{left:15px}.comparison-line{position:absolute;left:var(--split);top:0;bottom:0;width:2px;background:#fff;box-shadow:0 0 7px #0003;pointer-events:none;z-index:3}.comparison-line>b{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#755661;box-shadow:0 4px 14px #0002;font-size:21px;font-weight:400}.comparison-slider{position:absolute;inset:0;margin:0;opacity:0;width:100%;height:100%;cursor:ew-resize;z-index:4;touch-action:pan-y}.story-comparison:focus-within{outline:2px solid var(--rose);outline-offset:3px}.story-discover{padding:13px 15px;margin:6px 14px 16px;width:calc(100% - 28px);display:flex;justify-content:space-between;background:var(--rose-soft);color:var(--rose);border-radius:14px;font-size:12px}.story-narrative p{white-space:pre-wrap;line-height:2.1;font-size:13px}.story-narrative h2{font-size:18px}
.chat-welcome{font-size:12px;color:var(--muted);line-height:1.9}.chat-messages{height:clamp(240px,48vh,560px);overflow-y:auto;display:flex;flex-direction:column;gap:13px;padding:12px 3px;scroll-behavior:smooth;overscroll-behavior:contain}.chat-message{max-width:88%;padding:12px 14px;border-radius:18px;border:1px solid var(--line);overflow-wrap:anywhere;flex-shrink:0}.from-me{align-self:flex-start;background:var(--rose-soft);border-bottom-right-radius:5px}.from-team{align-self:flex-end;background:var(--surface);border-bottom-left-radius:5px}.chat-message>small{color:var(--muted);font-size:9px}.chat-message p{white-space:pre-wrap;font-size:13px;margin:6px 0}.chat-image{display:block;max-width:100%;max-height:360px;object-fit:contain;border-radius:12px;margin-top:7px}.chat-product{display:flex;gap:11px;align-items:center;margin-top:7px}.chat-product>img,.chat-product>.placeholder{width:68px;height:80px;object-fit:contain;flex-shrink:0;border-radius:12px}.chat-product b{font-size:12px}.chat-product .price{font-size:11px;display:block;margin:6px 0}.chat-product button{border-radius:11px;padding:7px 9px;background:var(--ink);color:var(--surface);font-size:10px}.chat-product button:disabled{opacity:.5}.chat-composer{background:var(--surface);border:1px solid var(--line);border-radius:19px;padding:11px;margin-top:15px}.chat-composer textarea{width:100%;padding:10px;border:0;background:var(--surface);color:var(--ink);font:inherit;font-size:12px;resize:vertical;min-height:65px}.chat-tools{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.chat-tools button{font:inherit;font-size:10px;padding:8px 7px;background:var(--paper);color:var(--ink);min-height:38px;border-radius:11px;border:1px solid var(--line);display:flex;gap:4px;align-items:center}.chat-tools button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5}.chat-tools button.primary{margin-right:auto;background:#724b59;color:#fff;padding:8px 13px}.chat-empty{padding:45px 18px;text-align:center;color:var(--muted)}.chat-empty span{font-size:38px;color:var(--rose)}.chat-empty h3{font-size:17px;font-weight:500;color:var(--ink)}.chat-empty p{font-size:12px}.chat-picker{max-height:55vh;overflow:auto;margin-top:14px}.chat-picker button{display:flex;align-items:center;gap:12px;padding:12px;width:100%;background:var(--surface);color:var(--ink);border-bottom:1px solid var(--line);text-align:right}.chat-picker img,.chat-picker .placeholder{width:50px;height:60px;object-fit:contain}.chat-picker span{font-size:13px}#chatProductSearch{width:100%;border:1px solid var(--line);background:var(--surface);color:var(--ink);padding:14px;border-radius:13px}
@media(max-width:359px){.hero:not(.showcase){padding:22px 17px;min-height:212px}.hero:not(.showcase) h1{font-size:23px}.product-info{padding:10px}.chat-tools{gap:4px}.chat-tools button{font-size:9px;padding-inline:6px}.brand-rail{gap:15px}.brand-rail .brand-tile{flex-basis:77px}.brand-image{width:76px;height:76px}.offers-banner strong{font-size:21px}}
@media(min-width:720px){.hero:not(.showcase){min-height:290px;background-size:auto 100%;padding:35px 40px}.hero:not(.showcase) h1{font-size:42px;max-width:60%}.hero:not(.showcase) p{font-size:15px;max-width:58%}.hero:not(.showcase) button{font-size:14px}.brand-rail .brand-tile{flex-basis:104px}.brand-image,.brand-grid .brand-image{width:100px;height:100px}.brand-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.consultation-banner{padding:23px}.consultation-banner strong{font-size:23px}.story-card{flex-basis:340px}.story-comparison:not(.story-card .story-comparison){max-width:570px;margin:auto}.chat-composer,.chat-messages,.chat-welcome{max-width:720px;margin-inline:auto}.chat-message{max-width:75%}.grid.list-view .product{grid-template-columns:135px minmax(0,1fr)} }
@media(prefers-reduced-motion:reduce){.chat-messages{scroll-behavior:auto}}

.chat-pending-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}

/* Keep the conversation composer above the navigation on phone screens. */
main.consultation-screen{height:calc(100vh - 192px);height:calc(100dvh - 192px);min-height:390px;padding-bottom:0;display:flex;flex-direction:column;max-width:760px}.consultation-screen .section-head{flex-shrink:0;margin:15px 0 5px}.consultation-screen .section-head h1{font-size:24px}.consultation-screen .chat-welcome{margin:7px 0 11px;flex-shrink:0}.consultation-screen .chat-messages{height:auto;min-height:130px;flex:1;width:100%;margin:0}.consultation-screen .chat-composer{flex-shrink:0;width:100%;margin-top:10px}.consultation-screen .chat-composer textarea{min-height:52px}.consultation-screen .chat-pending-actions{flex-shrink:0;font-size:10px}
@media(max-height:650px){main.consultation-screen{min-height:320px}.consultation-screen .chat-welcome{display:none}.consultation-screen .section-head h1{font-size:20px}}

body,button,input,select,textarea{font-family:RoshanArabic,Tahoma,Arial,sans-serif}
