/* v18.10.99 · Design menu polish (CEO review, 14 Nov 2026) */

/* Design tab: the four category cards get a picture, like the Home tiles */
.unav-card[data-act]{position:relative;padding-inline-start:106px!important;min-height:100px;justify-content:center}
.unav-card[data-act]::before{content:"";position:absolute;inset-inline-start:12px;top:50%;transform:translateY(-50%);width:80px;height:80px;
  border-radius:14px;background:#e9dcc6 center/cover no-repeat;box-shadow:0 6px 14px -8px rgba(60,20,30,.45)}
.unav-card[data-act=style]::before{background-image:url(/media/site/tile-abaya)}
.unav-card[data-act=food]::before{background-image:url(/media/site/tile-cake)}
.unav-card[data-act=fitness]::before{background-image:url(/media/site/tile-fitness)}
.unav-card[data-act=property]::before{background-image:url(/media/site/tile-majlis)}
/* v18.10.112: Design → Cakes & sweets; Studio → studio and content ideas */
.unav-card[data-act=cakes]::before{background-image:url(/media/site/tile-cake)}
.unav-card[data-act=creator]::before{background-image:url(/media/site/tile-perfume)}
.unav-card[data-act=foodideas]::before{background-image:url(/media/site/tile-cake)}
.unav-card[data-act=fitideas]::before{background-image:url(/media/site/tile-fitness)}

/* Fashion banner: our own abaya photo in a rounded frame */
.uc-preview-frame.ud-photo{aspect-ratio:4/3;border-radius:18px;overflow:hidden;background:#e9dcc6!important}
.uc-preview-frame.ud-photo>img{object-fit:cover!important;width:100%;height:100%;animation:none!important}

/* One type system on all four Design pages: Big Shoulders for section titles, Inter for everything else (Georgia and Arial removed) */
#smart-fashion-selector,#smart-fashion-selector button,#smart-fashion-selector select,#smart-fashion-selector input,
#smart-fashion-selector textarea,#smart-fashion-selector label,#page-style .udw-legacy-fashion,
:is(#page-style,#page-food,#page-fitness,#page-property) .udw-studio,
:is(#page-style,#page-food,#page-fitness,#page-property) .udw-studio :is(button,select,input,textarea,label),
#page-property .udw-decor-intro{font-family:Inter,system-ui,"Segoe UI",Tahoma,sans-serif!important}
html:not([lang=ar]) :is(#page-style,#page-food,#page-fitness,#page-property) h2{font-family:"Big Shoulders Display",Impact,Inter,sans-serif!important;font-weight:800!important;letter-spacing:.005em}
:is(#page-style,#page-food,#page-fitness,#page-property) :is(h3,h4){font-family:Inter,system-ui,"Segoe UI",Tahoma,sans-serif!important;font-weight:700}

/* The preview caption was dark text on a dark band over the photo: on phones it sits under the photo instead */
@media (max-width:640px){#smart-fashion-selector .ss-preview-caption{position:static!important;background:none!important;padding:8px 2px 0!important;
  font-size:12.5px!important;line-height:1.45!important}}

/* Folded advanced section (phones) */
.ud-fold-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:56px;margin:0 0 4px;padding:12px 16px;
  border:1px solid #eadfcd;border-radius:16px;background:#fff;color:#1d1a1f;font:600 15px/1.35 Inter,system-ui,sans-serif;text-align:start;cursor:pointer}
.ud-fold-bar span{flex:0 0 auto;color:#7a1f33;font-weight:800}
#udw-style.ud-folded>:not(.ud-fold-bar){display:none!important}

/* "Create my design" bar (phones) */
#ud-create-bar{position:fixed;left:12px;right:64px;z-index:60;min-height:52px;border:0;border-radius:999px;background:#7a1f33;color:#fff;
  font:800 16px/1 Inter,system-ui,sans-serif;box-shadow:0 14px 30px -12px rgba(60,20,30,.7);opacity:0;transform:translateY(16px);
  pointer-events:none;transition:opacity .2s,transform .2s}
#ud-create-bar.on{opacity:1;transform:none;pointer-events:auto}
@media (min-width:641px){#ud-create-bar{display:none}}

@media (max-width:640px){
  /* Category and idea pickers: a tidy two-column grid instead of uneven blocks */
  .urp .u-gw-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  .urp .u-gw-tile{width:auto!important;height:auto!important;min-height:76px;aspect-ratio:auto!important;flex:none!important;margin:0!important}
  .urp .u-gw-tile:not(.is-word){aspect-ratio:1/1!important;min-height:0}
  .urp .u-gw-tile.is-word .u-gw-word{left:12px!important;right:12px!important;top:auto!important;bottom:10px!important;font-size:13px!important;
    line-height:1.2!important;word-break:normal!important;overflow-wrap:break-word!important;white-space:normal!important}
  .urp .u-gw-tile .u-gw-tick{top:6px!important;right:6px!important;left:auto!important;width:22px;height:22px;font-size:13px}
  .urp .u-gw-tile.is-on{outline:3px solid #F3EBDD!important;outline-offset:-3px}
  .urp .u-gw-tile.is-product{aspect-ratio:4/5!important}
  .urp .u-gw-tile.is-product>img{padding:8px 8px 40px!important;object-fit:contain!important}
  .urp .u-gw-tile .u-gw-cap small,.urp .u-gw-tile .u-gw-cap em{display:none!important}
  .urp .u-gw-tile .u-gw-cap{padding:16px 10px 9px!important}.urp .u-gw-tile .u-gw-cap b{font-size:13px!important;line-height:1.2!important}
  /* Categories: one row you swipe, so the ideas and the Generate button stay close to the top */
  .urp [id^=urp-cat3d] .u-gw-grid{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:4px}
  .urp [id^=urp-cat3d] .u-gw-grid::-webkit-scrollbar{display:none}
  .urp [id^=urp-cat3d] .u-gw-tile{flex:0 0 118px!important;width:118px!important;aspect-ratio:4/5!important;scroll-snap-align:start}

  /* Bigger tap targets */
  #page-style .style-create-card{min-height:44px!important}
  #udhen-simple-consent,:is(#page-style,#page-food,#page-fitness,#page-property) input[type=checkbox]{width:24px!important;height:24px!important;flex:0 0 24px;min-width:24px}
  #smart-fashion-selector .u-progress{grid-template-columns:repeat(var(--choice-count,8),max-content)!important}
  #smart-fashion-selector .u-progress button{min-height:48px}
  #smart-fashion-selector .u-progress span{overflow:visible!important;text-overflow:clip!important;max-width:none!important}
}

/* v18.10.100 · Simple flow on phones: "More options" bar and the folded full designer */
.ud-more-bar{flex-wrap:wrap;margin:12px 0;border-color:#d9c6a8;background:#fffaf1}
.ud-more-bar b{flex:1 1 70%}.ud-more-bar small{order:3;flex:1 1 100%;color:#5b5560;font-weight:500;font-size:13px}
.ud-more-hidden,.ud-more-bar[hidden]{display:none!important}
/* "Your own idea" box and colour chips in the idea panel */
.urp-own{margin-top:14px;padding-top:14px;border-top:1px solid #eadfcd}
.urp-cols{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 10px;align-items:center}
.urp-cols .urp-lab{flex:1 1 100%;margin:0}
.urp-cols button{min-height:40px;padding:6px 12px;border-radius:999px;border:1px solid #d9c6a8;background:#fff;color:#1d1a1f;font:600 13.5px/1 Inter,system-ui,sans-serif;cursor:pointer}
.urp-cols button[aria-pressed=true]{background:#7a1f33;border-color:#7a1f33;color:#fff}
/* v18.10.103 details (accent) colour: a gold ring marks the choice, so it reads as "the small touches", not a second main colour */
.urp-cols-det{margin-top:2px}
.urp-cols .urp-lab{color:#575c76 !important}
.urp-cols-det button[aria-pressed=true]{background:#fff;border:2px solid #8c2440;color:#8c2440;box-shadow:inset 0 0 0 2px #d8b56a}

/* v18.10.101 · The maker's answer to a design picture (Marketplace › Quotes) */
.ust-can{border:1px solid #eadfcd;border-radius:14px;padding:12px 14px;margin:10px 0;background:#fffaf1}
.ust-can legend{font-weight:800;padding:0 6px;color:#7a1f33}
.ust-can-o{display:flex;align-items:center;gap:10px;min-height:44px;font-weight:600;cursor:pointer}
.ust-can-o input{width:22px;height:22px;accent-color:#7a1f33}
.ust-can .ust-qc{width:100%;margin-top:6px}
.ust-can-a{display:flex;flex-direction:column;gap:2px;margin:6px 0;padding:8px 12px;border-radius:12px;background:#eef7ee;border:1px solid #cfe5cf}
.ust-can-a[data-c=changes]{background:#fff6e5;border-color:#f0d9a8}.ust-can-a[data-c=no]{background:#fbecee;border-color:#efc9cf}
.ust-can-a span{font-size:14px;color:#3b3742}
/* v18.10.113: plans page in QAR — annual price line and maker plans */
#page-billing .plan-year{font-size:13px;color:#6b5a52;margin:-4px 0 8px}
#page-billing .maker-plans{margin:6px 0 8px;padding-inline-start:18px;line-height:1.6}
#page-billing .maker-plans b{color:#7a1f33}
