/* DjimlyStore Digital v2.40.16 — Affiliate Store premium onboarding stabilization. */

/* Any affiliate/Growth modal owns the whole viewport; restore nav automatically when body class is removed. */
html body.djs-affiliate-sheet-open-v24006 #djs-portal #djs-global-bottom-nav,
html body.djs-affiliate-role-open-v24013 #djs-portal #djs-global-bottom-nav{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* STEP 1 — reference-style three category cards with user-provided premium assets. */
html body #djs-portal .djs-store-type-grid-v24016{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:stretch!important;
}
html body #djs-portal .djs-store-type-grid-v24016>button{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  align-items:center!important;
  min-width:0!important;
  min-height:208px!important;
  padding:15px 9px 14px!important;
  border:1.5px solid #d7e3f2!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,#fff 0%,#f7fbff 100%)!important;
  box-shadow:0 12px 32px rgba(20,78,145,.07)!important;
  text-align:center!important;
  overflow:hidden!important;
}
html body #djs-portal .djs-store-type-grid-v24016>button:nth-child(2){background:linear-gradient(180deg,#fff 0%,#f8f5ff 100%)!important}
html body #djs-portal .djs-store-type-grid-v24016>button:nth-child(3){background:linear-gradient(180deg,#fff 0%,#fff7fa 100%)!important}
html body #djs-portal .djs-store-type-grid-v24016>button.is-selected{
  border-color:#1677ff!important;
  background:linear-gradient(180deg,#f5faff 0%,#eaf4ff 100%)!important;
  box-shadow:0 0 0 3px rgba(22,119,255,.10),0 16px 36px rgba(22,119,255,.15)!important;
}
html body #djs-portal .djs-store-type-art-v24016{
  width:100%!important;
  height:112px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0 0 8px!important;
  border-radius:20px!important;
  background:radial-gradient(circle at 50% 35%,rgba(115,189,255,.22),rgba(231,245,255,.38) 56%,transparent 75%)!important;
}
html body #djs-portal .djs-store-type-art-v24016 img{
  width:104px!important;
  height:104px!important;
  max-width:92%!important;
  object-fit:contain!important;
  filter:drop-shadow(0 10px 14px rgba(28,92,180,.15))!important;
}
html body #djs-portal .djs-store-type-grid-v24016>button>div{min-width:0!important;width:100%!important}
html body #djs-portal .djs-store-type-grid-v24016 b{font-size:16px!important;line-height:1.15!important;color:#0b1526!important}
html body #djs-portal .djs-store-type-grid-v24016 small{
  margin-top:5px!important;
  display:block!important;
  font-size:10px!important;
  line-height:1.35!important;
  color:#66778b!important;
}
html body #djs-portal .djs-store-type-grid-v24016>button>i{
  position:absolute!important;
  right:10px!important;
  top:10px!important;
  font-size:22px!important;
}

/* STEP 3 — priority product confirmation, matching the cleaner reference layout. */
html body #djs-portal .djs-store-priority-v24016{display:grid;gap:27px;padding:4px 2px 10px!important;color:#0b1526}
html body #djs-portal .djs-store-priority-head-v24016{text-align:center;padding:0 8px}
html body #djs-portal .djs-store-priority-head-v24016>small{font-size:10px;font-weight:950;letter-spacing:.13em;color:#1677ff}
html body #djs-portal .djs-store-priority-head-v24016 h2{margin:10px 0 6px;font-size:29px;line-height:1.08;letter-spacing:-.03em}
html body #djs-portal .djs-store-priority-head-v24016 p{margin:0;color:#77869a;font-size:13px}
html body #djs-portal .djs-store-featured-v24016 h3,
html body #djs-portal .djs-store-priority-section-v24016 h3{margin:0 0 12px;font-size:19px;line-height:1.2}
html body #djs-portal .djs-store-featured-row-v24016{display:flex;align-items:center;gap:15px}
html body #djs-portal .djs-store-featured-art-v24016{width:94px;height:94px;flex:0 0 94px;display:grid;place-items:center;border-radius:18px;overflow:hidden;background:#edf5ff;box-shadow:0 8px 25px rgba(20,73,130,.10)}
html body #djs-portal .djs-store-featured-art-v24016 img{width:100%;height:100%;object-fit:cover}
html body #djs-portal .djs-store-featured-row-v24016>div{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
html body #djs-portal .djs-store-featured-row-v24016 b{font-size:23px;line-height:1.1;white-space:normal}
html body #djs-portal .djs-store-featured-row-v24016 small{margin:7px 0;color:#5f7085;font-size:12px;text-transform:none}
html body #djs-portal .djs-store-featured-row-v24016 button{border:0;background:none;padding:2px 0;color:#1677ff;font-weight:900;font-size:12px}
html body #djs-portal .djs-store-priority-section-v24016{padding-top:1px}
html body #djs-portal .djs-store-priority-section-v24016 ul{display:grid;gap:10px;margin:0;padding:0;list-style:none}
html body #djs-portal .djs-store-priority-section-v24016 li{display:flex;align-items:center;gap:9px;color:#667085;font-size:14px;line-height:1.35}
html body #djs-portal .djs-store-priority-section-v24016 li>.ms{color:#1677ff;font-size:20px;font-variation-settings:'FILL' 1}
html body #djs-portal .djs-store-reputation-v24016{display:flex;gap:12px;flex-wrap:wrap}
html body #djs-portal .djs-store-reputation-v24016>span{min-width:145px;padding-right:16px;border-right:1px solid #e4e9ef}
html body #djs-portal .djs-store-reputation-v24016>span:last-child{border-right:0}
html body #djs-portal .djs-store-reputation-v24016 b{display:block;font-size:14px}
html body #djs-portal .djs-store-reputation-v24016 small{display:block;margin-top:3px;color:#8a96a7;font-size:11px}
html body #djs-portal .djs-store-commission-pill-v24016{display:inline-flex;align-items:center;gap:7px;border:0;border-radius:10px;background:#eaf9ed;color:#28a745;padding:10px 12px;font-weight:900;font-size:13px}
html body #djs-portal .djs-store-commission-pill-v24016 .ms{font-size:18px}

/* SOCIALS — premium brand cards and unmistakable selection state. */
html body #djs-portal .djs-store-social-grid-v24016{gap:13px!important}
html body #djs-portal .djs-store-social-grid-v24016>button{
  min-height:132px!important;
  border:1.5px solid #dbe6f2!important;
  border-radius:23px!important;
  background:linear-gradient(180deg,#fff,#f9fbfe)!important;
  box-shadow:0 10px 28px rgba(25,72,125,.06)!important;
  transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease,background .15s ease!important;
}
html body #djs-portal .djs-store-social-grid-v24016>button:active{transform:scale(.98)!important}
html body #djs-portal .djs-store-social-grid-v24016>button.is-selected{
  border-color:#1677ff!important;
  background:linear-gradient(180deg,#f7fbff,#eaf4ff)!important;
  box-shadow:0 0 0 3px rgba(22,119,255,.09),0 14px 30px rgba(22,119,255,.13)!important;
}
html body #djs-portal .djs-store-social-grid-v24016 .djs-social-logo-v24013{width:56px!important;height:56px!important;display:grid!important;place-items:center!important}
html body #djs-portal .djs-social-brand-img-v24016{width:54px!important;height:54px!important;display:block!important;object-fit:contain!important;border-radius:15px!important;box-shadow:0 7px 18px rgba(15,23,42,.10)!important}
html body #djs-portal .djs-store-social-grid-v24016 b{font-size:13px!important;color:#0c1728!important}
html body #djs-portal .djs-store-social-grid-v24016>button>i{right:9px!important;top:9px!important;width:24px!important;height:24px!important;border-radius:50%!important;background:#fff!important;box-shadow:0 3px 10px rgba(20,65,115,.10)!important}

/* Selected social detail fields are mandatory unless the user skipped the social step entirely. */
html body #djs-portal .djs-store-social-field-v24016{position:relative!important;margin-bottom:14px!important}
html body #djs-portal .djs-store-social-field-v24016>span{gap:9px!important}
html body #djs-portal .djs-store-social-field-v24016>span .djs-social-brand-img-v24016{width:30px!important;height:30px!important;border-radius:9px!important;box-shadow:none!important}
html body #djs-portal .djs-store-social-field-v24016 input.is-error-v24016{border-color:#e5484d!important;background:#fff8f8!important;box-shadow:0 0 0 3px rgba(229,72,77,.08)!important}
html body #djs-portal .djs-store-social-error-v24016{min-height:17px!important;display:block!important;margin-top:5px!important;color:#d92d20!important;font-size:10px!important;font-weight:800!important}

/* The progress bar should align visually with the content instead of touching both screen edges. */
html body #djs-portal .djs-affiliate-store-progress-v24013{
  width:calc(100% - 28px)!important;
  margin:0 14px!important;
  border-radius:999px!important;
  overflow:hidden!important;
}
html body #djs-portal .djs-affiliate-store-progress-v24013>span{border-radius:999px!important}

@media(max-width:430px){
  html body #djs-portal .djs-store-type-grid-v24016{gap:8px!important}
  html body #djs-portal .djs-store-type-grid-v24016>button{min-height:190px!important;padding:10px 6px 12px!important;border-radius:20px!important}
  html body #djs-portal .djs-store-type-art-v24016{height:101px!important}
  html body #djs-portal .djs-store-type-art-v24016 img{width:94px!important;height:94px!important}
  html body #djs-portal .djs-store-type-grid-v24016 b{font-size:14px!important}
  html body #djs-portal .djs-store-type-grid-v24016 small{font-size:9px!important}
  html body #djs-portal .djs-store-priority-head-v24016 h2{font-size:27px!important}
  html body #djs-portal .djs-store-featured-row-v24016 b{font-size:21px!important}
  html body #djs-portal .djs-store-social-grid-v24016>button{min-height:118px!important;border-radius:20px!important}
  html body #djs-portal .djs-social-brand-img-v24016{width:47px!important;height:47px!important}
}
