/* DjimlyStore Digital v2.39.57 — production/desktop authority layer */

/* Maintenance surfaces */
.djs-maintenance57{width:min(720px,calc(100% - 28px));margin:clamp(28px,8vh,90px) auto;padding:clamp(26px,5vw,48px);border:1px solid #e1edf5;border-radius:30px;background:linear-gradient(145deg,#fff,#f5fbff);box-shadow:0 24px 70px rgba(16,64,92,.10);text-align:center;color:#102536}
.djs-maintenance57 .ms{display:grid;place-items:center;width:70px;height:70px;margin:0 auto 18px;border-radius:22px;background:#e8f6ff;color:#249bdd;font-size:36px}
.djs-maintenance57 h2{margin:0 0 8px;font-size:clamp(24px,4vw,38px);letter-spacing:-.04em}.djs-maintenance57 p{margin:0 auto 20px;max-width:520px;color:#6e8595;line-height:1.6}.djs-maintenance57 button{min-width:190px;height:48px;border:0;border-radius:16px;background:#168fd2;color:#fff;font-weight:850}

/* Guest storefront */
#djs-portal.djs-guest-mode #djs-global-bottom-nav{display:flex!important}
#djs-portal.djs-guest-mode .djs-header-wallet{min-width:116px}
#djs-portal.djs-guest-mode .djs-header-wallet b{font-size:0}
#djs-portal.djs-guest-mode .djs-header-wallet b:after{content:'Connexion';font-size:12px}

/* VIP final polish */
#djs-screen-vip .djs-vip44-level-card{min-height:150px!important;padding:14px 15px 13px!important;border-radius:18px!important}
#djs-screen-vip .djs-vip44-upgrade-copy{min-height:46px!important;margin:9px 0 8px!important;line-height:1.25!important}
#djs-screen-vip .djs-vip44-card-actions{bottom:13px!important;right:14px!important}
#djs-screen-vip .djs-vip44-details{height:40px!important;min-width:132px!important;background:#eef8ff!important;color:#126f9f!important;border:1px solid #cdeafb!important;box-shadow:none!important}
#djs-screen-vip .djs-vip44-level-card.is-elite .djs-vip44-details{background:#f4d676!important;color:#1d1708!important;border-color:#e1bd52!important}
#djs-screen-vip .djs-vip44-level-card:after{display:none!important}
#djs-screen-vip .djs-vip44-shell[data-tier="5"] .djs-vip44-member>strong,
#djs-screen-vip .djs-vip44-shell[data-tier="5"] .djs-vip44-node,
#djs-screen-vip .djs-vip44-shell[data-tier="5"] .djs-vip44-node span,
#djs-screen-vip .djs-vip44-shell[data-tier="5"] .djs-vip44-avatar-level{color:#fff4c5!important}
#djs-screen-vip .djs-vip44-shell[data-tier="5"] .djs-vip44-node-crown{color:#f4d36d!important}

/* Fast taps: visual response happens before network work. */
#djs-portal button,#djs-portal [role="button"],#djs-portal [data-nav]{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
#djs-portal button:active,#djs-portal [data-nav]:active{transform:scale(.985);transition:transform .06s linear}
#djs-portal img{content-visibility:auto}

/* True desktop application shell */
@media (min-width:1024px){
  html.djs-fullscreen-active,body.djs-fullscreen-active{background:#f4f7fa!important;overflow:hidden!important}
  #djs-portal{--djs-desktop-max:1500px;--djs-side:218px;background:#f4f7fa!important}
  #djs-portal .djs-screen{background:#f4f7fa!important}
  #djs-portal .djs-scroller{padding-bottom:36px!important;scrollbar-gutter:stable}
  #djs-portal .djs-content-wrap{width:min(var(--djs-desktop-max),calc(100vw - 72px))!important;max-width:none!important;margin-inline:auto!important;padding-left:28px!important;padding-right:28px!important}

  /* mobile dock never floats around desktop */
  #djs-global-bottom-nav,#djs-portal .djs-bottom-nav,#djs-portal .djs-legacy-screen-nav{display:none!important}

  /* desktop headers */
  #djs-portal .djs-topbar,#djs-portal .djs-back-bar,#djs-portal .djs-account-reference-topbar,#djs-portal .djs-account-page-head,#djs-portal .djs-mc-header{height:72px!important;min-height:72px!important;padding:10px 30px!important;background:rgba(255,255,255,.96)!important;border-bottom:1px solid #e5ecf2!important;box-shadow:0 5px 22px rgba(18,47,68,.045)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
  #djs-portal .djs-desktop-header-nav{display:flex!important;align-items:center;justify-content:center;gap:4px;flex:1;margin:0 20px}
  #djs-portal .djs-desktop-nav-item{height:44px;padding:0 13px;border:0;border-radius:13px;background:transparent;color:#607482;display:flex;align-items:center;gap:7px;font-size:12px;cursor:pointer}
  #djs-portal .djs-desktop-nav-item .ms{font-size:19px}.djs-desktop-nav-item.active{background:#eaf7ff!important;color:#1689c9!important}
  #djs-portal .djs-back-title{font-size:18px!important;min-width:160px}

  /* Store uses the screen instead of a phone-sized column */
  #djs-screen-store .djs-store-top-wrap{padding-top:18px!important}
  #djs-screen-store .djs-store-search-bar{width:min(720px,55vw);margin:0 auto}
  #djs-screen-store .djs-preview-banner{width:min(1280px,calc(100vw - 120px))!important;height:clamp(240px,27vw,390px)!important;max-height:390px!important;margin:18px auto 20px!important;border-radius:28px!important;overflow:hidden}
  #djs-screen-store .djs-preview-banner-track,#djs-screen-store .djs-preview-banner-slide,#djs-screen-store .djs-preview-banner-img{height:100%!important}
  #djs-screen-store .djs-preview-banner-img{object-fit:cover!important}
  #djs-screen-store .djs-preview-cats-row{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important;overflow:visible!important}
  #djs-screen-store .djs-preview-cat-tile{min-width:0!important;width:auto!important;min-height:94px!important;padding:12px!important;border-radius:20px!important}
  #djs-screen-store .djs-preview-cat-icon{width:48px!important;height:48px!important;min-width:48px!important}
  #djs-screen-store .djs-preview-poster-row{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:16px!important;overflow:visible!important}
  #djs-screen-store .djs-preview-poster-row>*{min-width:0!important;width:auto!important;max-width:none!important}
  #djs-screen-store .djs-product-grid{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:16px!important}
  #djs-screen-store .djs-product-card,#djs-screen-store .djs-product-grid>*{min-width:0!important;max-width:none!important}
  #djs-screen-store .djs-cat-row{justify-content:flex-start!important;overflow:visible!important;flex-wrap:wrap!important}
  #djs-screen-store .djs-section-title{margin-top:28px!important;font-size:19px!important}

  /* Account dashboard */
  #djs-screen-home .djs-account-v2396{width:min(1380px,calc(100vw - 90px))!important;max-width:none!important;margin:0 auto!important;padding:34px!important;display:grid!important;grid-template-columns:minmax(300px,.9fr) minmax(520px,1.7fr)!important;gap:22px!important;align-items:start}
  #djs-screen-home .djs-account-reference-profile{grid-column:1;grid-row:1/span 2;margin:0!important;border-radius:28px!important;min-height:235px!important}
  #djs-screen-home .djs-account-reference-balances{grid-column:2;grid-row:1;display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:14px!important;margin:0!important}
  #djs-screen-home .djs-account-reference-balances>button{min-height:116px!important;border-radius:24px!important}
  #djs-screen-home .djs-account-quick-access-modern{grid-column:2;grid-row:2;margin:0!important}
  #djs-screen-home .djs-account-quick-rail{display:grid!important;grid-template-columns:repeat(6,1fr)!important;overflow:visible!important;gap:10px!important}
  #djs-screen-home .djs-account-quick-item{width:auto!important;min-width:0!important}
  #djs-screen-home .djs-account-link-list,#djs-screen-home .djs-account-reference-recommendations{grid-column:1/-1!important}
  #djs-screen-home .djs-account-link-list{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:12px!important;background:transparent!important}
  #djs-screen-home .djs-account-link-row{border:1px solid #e5edf3!important;border-radius:18px!important;background:#fff!important}
  #djs-screen-home .djs-account-ref-product-grid{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:14px!important;overflow:visible!important}

  /* Cart is a native 2-column checkout workspace */
  #djs-screen-cart .djs-cart-desktop-bar{display:flex!important}
  #djs-screen-cart .djs-cart-reference-wrap{display:grid!important;grid-template-columns:minmax(0,1.7fr) minmax(330px,.75fr)!important;gap:24px!important;align-items:start!important;padding-top:28px!important}
  #djs-screen-cart .djs-cart-reference-title{grid-column:1/-1!important}
  #djs-screen-cart #djs-cart-items{grid-column:1!important}
  #djs-screen-cart .djs-cart-reference-actions{grid-column:2!important;grid-row:2!important;position:sticky!important;top:92px!important;border-radius:24px!important;box-shadow:0 16px 40px rgba(18,54,76,.08)!important}

  /* Orders / points */
  #djs-screen-orders .djs-content-wrap{padding-top:24px!important}
  #djs-screen-orders .djs-orders-filters,#djs-screen-orders .djs-orders-filter-bar{display:flex!important;align-items:center!important;gap:10px!important;min-height:60px!important;padding:10px 14px!important;border-radius:18px!important}
  #djs-screen-points .djs-content-wrap{width:min(1280px,calc(100vw - 100px))!important;padding-top:26px!important}
  #djs-screen-points .djs-points-v21832{max-width:none!important}
  #djs-screen-points .djs-points-reward-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}

  /* Message center: never trap desktop customers */
  #djs-screen-chat{width:100%!important;max-width:none!important;margin:0!important}
  #djs-screen-chat .djs-mc-header{padding-left:28px!important;padding-right:28px!important}
  #djs-screen-chat .djs-mc-desktop-home{display:inline-flex!important;width:42px;height:42px;border:1px solid #dfeaf1;border-radius:13px;background:#fff;align-items:center;justify-content:center;color:#294c61;margin-right:8px}
  #djs-screen-chat .djs-mc-body{width:min(1380px,calc(100vw - 84px))!important;margin:22px auto!important;border:1px solid #e4edf3!important;border-radius:24px!important;background:#fff!important;box-shadow:0 18px 55px rgba(18,50,70,.06)!important;overflow:auto!important}

  /* Generic cards should not become giant stretched mobile slabs */
  #djs-portal .djs-card{border-radius:22px!important}
  #djs-portal .djs-screen:not(#djs-screen-store):not(#djs-screen-home) .djs-content-wrap{max-width:1380px!important}
  #djs-screen-exchange iframe{width:min(1480px,calc(100vw - 60px))!important;margin:18px auto 28px!important;border-radius:26px!important;box-shadow:0 20px 60px rgba(7,25,39,.13)!important}
}

@media (min-width:1280px){
 #djs-screen-store .djs-product-grid,#djs-screen-store .djs-preview-poster-row{grid-template-columns:repeat(8,minmax(0,1fr))!important}
}
@media (min-width:1024px) and (max-width:1180px){
 #djs-screen-store .djs-product-grid,#djs-screen-store .djs-preview-poster-row{grid-template-columns:repeat(5,minmax(0,1fr))!important}
 #djs-screen-home .djs-account-v2396{grid-template-columns:1fr!important}
 #djs-screen-home .djs-account-reference-profile,#djs-screen-home .djs-account-reference-balances,#djs-screen-home .djs-account-quick-access-modern{grid-column:1!important;grid-row:auto!important}
}
.djs57-team-node{padding:14px;margin:10px 0;border:1px solid #e0edf5;border-radius:18px;background:#fff}.djs57-team-head{display:grid;grid-template-columns:38px 1fr auto;gap:9px;align-items:center}.djs57-team-head>.ms{width:38px;height:38px;display:grid;place-items:center;border-radius:13px;background:#eaf7ff;color:#168dcc}.djs57-team-head b,.djs57-team-head small{display:block}.djs57-team-head small{color:#78909f;font-size:10px}.djs57-team-head em{font-style:normal;font-size:9px;font-weight:850;color:#168dcc;background:#eaf7ff;padding:6px 8px;border-radius:999px}.djs57-team-progress{height:6px;margin:10px 0;background:#edf3f6;border-radius:999px;overflow:hidden}.djs57-team-progress i{display:block;height:100%;background:linear-gradient(90deg,#5bc5f8,#168dcc);border-radius:inherit}.djs57-team-children{display:grid;gap:6px;margin:8px 0 0 22px}.djs57-team-children>div{display:grid;grid-template-columns:24px 1fr auto;gap:6px;align-items:center;padding:7px 9px;border-radius:12px;background:#f7fbfd}.djs57-team-children b{font-size:11px}.djs57-team-children small{font-size:9px;color:#78909f}

.djs-mc-desktop-home{display:none}
