:root{
  --app-bg: #f7f9ff;
  --app-surface: #ffffff;
  --app-surface-soft: #f5f7fd;
  --app-border: #e2e8f4;
  --app-border-strong: #cfd9ee;
  --app-text: #091127;
  --app-muted: #64708a;
  --app-primary: #455aff;
  --app-primary-strong: #3346df;
  --app-radius-sm: 10px;
  --app-radius: 14px;
  --app-radius-lg: 20px;
  --app-shadow: 0 14px 34px rgba(21, 32, 67, 0.08);
}

html,
body{
  background: linear-gradient(180deg, #f9fbff 0%, #fdfdff 45%, #f7f9ff 100%);
  color: var(--app-text);
}

body.app-body{
  min-height: 100vh;
}

.app-main{
  min-height: calc(100vh - 152px);
}

.app-content-shell{
  padding-inline: clamp(12px, 2.2vw, 24px);
}

.app-shell-card{
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius-lg);
  box-shadow: var(--app-shadow);
}

.app-soft-card{
  background: var(--app-surface-soft);
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius);
}

.text-wrap-anywhere,
.text-break-anywhere{
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
  outline: 2px solid rgba(69, 90, 255, 0.4);
  outline-offset: 2px;
}

/* Shared header / nav */
#header{
  position: sticky;
  top: 0;
  z-index: 1040;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(226, 232, 244, 0.9);
}

.APP_NAV{
  padding-block: 0.35rem;
}

.APP_NAV .navbar-brand{
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: 0.25rem;
  margin-right: 1rem;
}

.APP_NAV .navbar-brand img{
  width: auto;
  height: 36px;
  max-width: min(170px, 42vw);
  object-fit: contain;
}

.APP_HOME_LOADER{
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(7px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
  z-index: 1085;
}

.APP_HOME_LOADER.is-active{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.APP_HOME_LOADER_BOX{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 30px 38px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.16);
  border: 1px solid rgba(69, 90, 255, 0.14);
}

.APP_HOME_LOADER_MARK{
  position: relative;
  width: 86px;
  height: 86px;
  display: block;
}

.APP_HOME_LOADER_ICON{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center center;
}

.APP_HOME_LOADER_ICON_BW{
  filter: grayscale(1) brightness(0.38) contrast(1.08);
  opacity: 1;
  animation: app-home-favicon-bw 2.2s steps(6, end) infinite;
}

.APP_HOME_LOADER_ICON_COLOR{
  filter: saturate(1.12) brightness(1.02);
  opacity: 0;
  animation: app-home-favicon-color 2.2s steps(6, end) infinite;
}

@keyframes app-home-favicon-bw{
  0%{
    opacity: 1;
    transform: scale(0.92);
  }
  25%{
    opacity: 0.88;
    transform: scale(0.95);
  }
  50%{
    opacity: 0.68;
    transform: scale(0.98);
  }
  75%{
    opacity: 0.4;
    transform: scale(1.01);
  }
  100%{
    opacity: 0.12;
    transform: scale(1.04);
  }
}

@keyframes app-home-favicon-color{
  0%{
    opacity: 0.02;
    transform: scale(0.88);
  }
  25%{
    opacity: 0.16;
    transform: scale(0.92);
  }
  50%{
    opacity: 0.42;
    transform: scale(0.96);
  }
  75%{
    opacity: 0.72;
    transform: scale(1.01);
  }
  100%{
    opacity: 1;
    transform: scale(1.06);
  }
}

.APP_NAV .navbar-toggler{
  border: 1px solid var(--app-border-strong);
  border-radius: 12px;
  padding: 0.45rem 0.55rem;
  position: relative;
}

.APP_NAV .navbar-toggler:focus{
  box-shadow: 0 0 0 0.18rem rgba(69, 90, 255, 0.18);
}

.APP_NAV_MENU{
  gap: 0.35rem;
}

.APP_NAV_MENU .nav-link{
  font-family: "lexr", sans-serif;
  color: #213056;
  font-size: 13px;
  line-height: 1.2;
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  white-space: normal;
}

.APP_NAV_MENU .nav-link:hover,
.APP_NAV_MENU .nav-link:focus-visible{
  color: #132142;
  background: #f2f5ff;
}

.APP_NAV_BADGE{
  background: #eef2ff;
  border: 1px solid #d8e0fb;
}

.APP_NAV_ACTIONS{
  display:flex;
  align-items:center;
  gap:12px;
  margin-left:16px;
  flex:0 0 auto;
}

.APP_HEADER_CART_WRAP{
  position:relative;
  flex:0 0 auto;
}

.APP_NAV_ACTIONS .CART1{
  min-height:52px;
  border-radius:16px;
  padding:12px 16px;
}

.APP_NAV_ACTIONS .COUNT1{
  min-width:18px;
}

.APP_HEADER_CART_PANEL{
  top:calc(100% + 10px);
  right:0;
  left:auto;
}

.APP_NAV_PROFILE{
  flex:0 0 auto;
}

.APP_NAV_PROFILE .PROFILE_AUTH_SLOT{
  width:auto;
}

.APP_NAV_PROFILE .PROFILE_BTN{
  min-height:52px;
  width:auto;
  min-width:120px;
  max-width:min(220px, 28vw);
  border-radius:16px;
  background:#455AFF;
  color:#FFF;
  border:none;
  padding:0 16px;
  gap:10px;
  justify-content:center;
}

.APP_NAV_PROFILE .PROFILE_BTN:hover{
  background:#364BD8;
  border:none;
}

.APP_NAV_PROFILE .PROFILE_BTN_LABEL{
  max-width:calc(100% - 16px);
}

.APP_NAV_PROFILE .PROFILE_CARET{
  color:#FFF;
}

.APP_NAV_TOGGLER_BADGE{
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ff4d4f;
  color: #fff;
  border: 2px solid #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.APP_MOBILE_CONTEXT{
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-top: 1px solid var(--app-border);
  margin-top: 0.25rem;
  padding-top: 0.65rem;
}

.APP_MOBILE_CONTEXT:empty{
  display: none;
}

.APP_MOBILE_CONTEXT_SECTION{
  border: 1px solid #e6ecfb;
  border-radius: 12px;
  background: #fafcff;
  padding: 0.45rem;
}

.APP_MOBILE_CONTEXT_LABEL{
  font-family: "lexr", sans-serif;
  font-size: 11px;
  color: #6f7b96;
  margin-bottom: 0.4rem;
}

.APP_MOBILE_CONTEXT_CRUMB{
  background: #fff;
}

.APP_MOBILE_CONTEXT_CRUMB .CFG_BREADCRUMB{
  margin: 0;
}

.APP_MOBILE_CATEGORY_LIST{
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.APP_MOBILE_CATEGORY_LINK{
  display: block;
  width: 100%;
  border-radius: 10px;
  border: 1px solid #e1e7fb;
  background: #fff;
  color: #1e2b4f;
  padding: 0.55rem 0.7rem;
  font-family: "lexr", sans-serif;
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.APP_MOBILE_CATEGORY_LINK:hover{
  color: #1e2b4f !important;
  background: #f3f6ff;
}

.APP_MOBILE_CATEGORY_LINK.ACT2{
  border-color: #455aff;
  background: #eef2ff;
  color: #2d40da;
}

.APP_MOBILE_ACTIONS{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.APP_MOBILE_ACTION_BTN{
  min-height: 44px;
  border-radius: 11px;
  border: 1px solid #dbe4fb;
  background: #fff;
  color: #1f2d52;
  font-family: "lexr", sans-serif;
  font-size: 13px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  padding: 0.5rem 0.65rem;
  position: relative;
}

.APP_MOBILE_ACTION_BTN:hover{
  color: #1f2d52 !important;
  background: #f5f8ff;
}

.APP_MOBILE_ACTION_BTN .APP_MOBILE_CART_COUNT{
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #455aff;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  padding: 0 4px;
}

@media (max-width: 991.98px){
  .APP_NAV{
    flex-wrap:wrap;
    gap:0.5rem;
  }

  .APP_NAV_ACTIONS{
    display:none !important;
  }

  .APP_NAV .navbar-toggler{
    order:2;
    margin-left:auto;
  }

  .APP_NAV .navbar-collapse{
    order:3;
    width:100%;
  }

  .APP_NAV_ACTIONS .CART1{
    min-height:46px;
    padding:10px 12px;
    border-radius:14px;
  }

  .APP_NAV_ACTIONS .CART1 > span:not(.COUNT1){
    display:none;
  }

  .APP_NAV_PROFILE .PROFILE_BTN{
    min-height:46px;
    min-width:92px;
    max-width:120px;
    padding:0 12px;
  }

  .APP_NAV_PROFILE .PROFILE_BTN_LABEL{
    display:block;
    max-width:76px;
  }

  .APP_NAV_PROFILE .PROFILE_CARET{
    margin-left:0;
  }

  .APP_HEADER_CART_PANEL,
  .APP_NAV_PROFILE .PROFILE_MENU{
    right:0;
    left:auto;
  }

  .APP_NAV .navbar-collapse{
    margin-top: 0.75rem;
    border: 1px solid var(--app-border);
    border-radius: 14px;
    background: #fff;
    padding: 0.5rem;
    box-shadow: 0 10px 28px rgba(16, 27, 56, 0.08);
  }

  .APP_NAV_MENU .nav-link{
    padding: 0.75rem 0.8rem;
  }
}

/* Profile dropdown (moved from header inline styles) */
.PROFILE_WRAP{ position:relative; }
.PROFILE_BTN{
  font-family:'lexr', sans-serif;
  border:1px solid #DCE2F2;
  background:#FFF;
  border-radius:999px;
  padding:6px 10px 6px 8px;
  display:flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  min-width:56px;
  justify-content:center;
}
.PROFILE_BTN:hover{ border-color:#98A8D8; }
.PROFILE_BTN_LABEL{
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.PROFILE_AUTH_SLOT{
  width:100%;
}
.PROFILE_AUTH_SLOT .PROFILE_BTN{
  min-height: 50px;
  width:100%;
  border-radius:15px;
  background:#455AFF;
  color:#FFF;
  border:none;
  padding:0 14px;
  gap:10px;
  justify-content:center;
}
.PROFILE_AUTH_SLOT .PROFILE_BTN:hover{
  background:#364BD8;
  border:none;
}
.PROFILE_AUTH_SLOT .PROFILE_BTN_LABEL{
  max-width:calc(100% - 18px);
}
.PROFILE_AUTH_SLOT .PROFILE_CARET{
  color:#FFF;
}
.PROFILE_AVATAR{
  width:32px;
  height:32px;
  border-radius:50%;
  background:#455AFF;
  color:#FFF;
  font-size:12px;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.PROFILE_AVATAR img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.PROFILE_CARET{
  font-size:12px;
  color:#3A4C82;
}
.PROFILE_MENU{
  font-family:'lexr', sans-serif;
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  width:min(280px, calc(100vw - 24px));
  background:#FFF;
  border:1px solid #E2E8F4;
  border-radius:12px;
  box-shadow:0 12px 28px rgba(26,42,90,.15);
  padding:8px;
  z-index:1200;
  display:none;
}
.PROFILE_MENU.open{ display:block; }
.PROFILE_MENU_HEAD{
  padding:10px 12px 8px;
  border-bottom:1px solid #EEF2FA;
  margin-bottom:6px;
}
.PROFILE_MENU_NAME{
  font-size:13px;
  font-family:'lexb', sans-serif;
  font-weight:700;
  color:#1B2B57;
  line-height:1.2;
  word-break:break-word;
}
.PROFILE_MENU_EMAIL{
  font-size:12px;
  color:#68718A;
  word-break:break-word;
}
.PROFILE_MENU_ITEM{
  display:flex;
  width:100%;
  padding:10px 12px;
  border-radius:8px;
  color:#1F2F5A;
  text-decoration:none;
  font-size:13px;
  line-height:1.2;
  background:transparent;
  border:none;
  text-align:left;
}
.PROFILE_MENU_ITEM:hover{
  background:#F3F6FF;
  color:#1F2F5A;
}
.PROFILE_MENU_DIV{
  height:1px;
  background:#EEF2FA;
  margin:6px 0;
}

/* Footer */
.APP_FOOTER{
  margin-top: 1rem;
  border-top: 1px solid var(--app-border);
  background: rgba(255,255,255,0.8);
}

.APP_FOOTER_INNER{
  padding-block: 0.9rem;
  color: var(--app-muted);
  font-family: "lexr", sans-serif;
  font-size: 12px;
}

/* Buttons + forms polish */
.BUT4,
.BUT5,
.BUT7,
.LOGIN1,
.SENDR1,
.CLEAR1{
  min-height: 52px;
  line-height: 1.2;
}

.BUT4,
.BUT5,
.BUT7,
.LOGIN1,
.SENDR1,
.CLEAR1,
.BUT1,
.BUT2,
.BUT3{
  text-wrap: balance;
}

button.BUT5,
button.LOGIN1,
button.CLEAR1,
button.BUT4{
  border: none;
}

input,
select,
textarea{
  min-height: 44px;
}

textarea{
  min-height: 96px;
}

/* Auth pages */
.AUTH_PAGE{
  padding-block: clamp(10px, 2vw, 18px);
}

.AUTH_PAGE .AUTH_SHELL{
  max-width: 520px;
}

.AUTH_PAGE .AUTH_PANEL{
  background: #fff;
  border: 1px solid var(--app-border);
  border-radius: 18px;
  box-shadow: var(--app-shadow);
  padding: clamp(18px, 2vw, 28px);
}

.AUTH_PAGE .AUTH_PANEL .AUTH_TITLE{
  display:flex;
  align-items:center;
  gap: 0.75rem;
  line-height: 1.2;
}

.AUTH_PAGE .AUTH_PANEL .AUTH_TITLE img{
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.AUTH_PAGE .AUTH_FIELD_LABEL{
  display:block;
  font-family: "lexr", sans-serif;
  font-size: 12px;
  color: var(--app-muted);
  margin-bottom: 6px;
}

.AUTH_PAGE input,
.AUTH_PAGE textarea{
  background:#F2F4F8;
  border:1px solid transparent;
  border-radius:12px;
  padding:11px 12px;
  width:100%;
}

.AUTH_PAGE input:focus,
.AUTH_PAGE textarea:focus{
  border-color:#c9d4fb;
  background:#fff;
}

.AUTH_PAGE .LOGIN1{
  border-radius: 14px;
  font-weight: 500;
  min-height: 56px;
}

.AUTH_PAGE .SSO_BTN{
  min-height: 44px;
}

.AUTH_PAGE .PASSWORD_FIELD_WRAP{
  position: relative;
}

.AUTH_PAGE #togglePassword{
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:none;
  background: transparent;
  border-radius: 8px;
  color: #33426c;
}

.AUTH_PAGE #togglePassword:hover{
  background: rgba(69, 90, 255, 0.08);
}

/* Home / landing */
.HOME_PAGE{
  padding-inline: clamp(6px, 2vw, 20px);
}

.HOME_PAGE .HOME_ROW{
  align-items: stretch;
}

.HOME_PAGE .BOX1{
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  box-shadow: 0 14px 30px rgba(16, 27, 56, 0.05);
  background: #fff;
}

.HOME_PAGE .BOX1 .PBLUE[style*="font-size:38px"]{
  font-size: clamp(28px, 5vw, 38px) !important;
  line-height: 1.1;
}

.HOME_PAGE .DOT{
  flex: 0 0 auto;
}

/* Cart page */
.CART_PAGE{
  padding-inline: clamp(8px, 2vw, 20px);
}

.CART_PAGE .CART_PAGE_SHELL{
  max-width: 1100px;
}

.CART_PAGE .CART_PAGE_ACTIONS{
  row-gap: 10px;
}

.CART_PAGE .CART_PAGE_ACTIONS .CLEAR1,
.CART_PAGE .CART_PAGE_ACTIONS .BUT4{
  width: 100%;
  min-height: 54px;
  border-radius: 14px;
}

/* Request / checkout form */
.REQUEST_PAGE{
  padding-inline: clamp(8px, 2vw, 20px);
}

.REQUEST_PAGE .REQUEST_FORM_COL{
  max-width: 920px;
}

.REQUEST_PAGE .BOX6{
  background: #fff;
  box-shadow: var(--app-shadow);
  border-color: var(--app-border);
  padding: clamp(16px, 4vw, 36px) !important;
}

.REQUEST_PAGE label{
  display:block;
  margin-bottom: 0.35rem;
  color:#223057;
  font-family:"lexr", sans-serif;
  font-size: 13px;
  line-height: 1.25;
}

.REQUEST_PAGE label span{
  color:#d92b45;
}

.REQUEST_PAGE input:not([type="checkbox"]),
.REQUEST_PAGE textarea{
  background:#F2F4F8;
  border:1px solid transparent;
  border-radius:12px;
  padding:11px 12px;
  width:100%;
}

.REQUEST_PAGE input:not([type="checkbox"]):focus,
.REQUEST_PAGE textarea:focus{
  background:#fff;
  border-color:#c8d4fb;
}

.REQUEST_PAGE textarea.MESSAGE{
  min-height: 120px;
  resize: vertical;
}

.REQUEST_PAGE .REQUEST_CONSENT_ROW{
  align-items: flex-start !important;
  gap: 0.65rem;
}

.REQUEST_PAGE .REQUEST_CONSENT_ROW .CHECK{
  margin-top: 2px;
  width: 20px !important;
  height: 20px !important;
  flex: 0 0 auto;
}

.REQUEST_PAGE .BUT5{
  min-height: 56px;
  border-radius: 14px;
  font-size: 16px !important;
}

/* Configurator flow pages (case/custom/packaging/overview) */
.CFG_PAGE{
  padding-inline: clamp(8px, 1.8vw, 20px);
}

.CFG_PAGE .APP_SIDEBAR_BORDER{
  padding-top: 0.25rem;
}

.CFG_PAGE .BOX5,
.CFG_PAGE .BOX6,
.CFG_PAGE .BOX7{
  box-shadow: 0 8px 20px rgba(14, 26, 56, 0.04);
}

.CFG_PAGE .BOX5,
.CFG_PAGE .PROG_STAGE_CARD,
.CFG_PAGE .PROG_STAGE_PLACEHOLDER{
  min-height: 84px;
}

.CFG_PAGE .BUT2,
.CFG_PAGE .BUT3,
.CFG_PAGE .BUT4,
.CFG_PAGE .BUT5{
  min-height: 52px;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  padding: 14px 16px !important;
  line-height: 1.2;
}

.CFG_PAGE .BUT7{
  width: 100% !important;
  max-width: 320px;
  min-height: 58px;
  padding: 14px 16px;
  text-align: center;
  white-space: normal;
}

.CFG_PAGE .CHVIT{
  font-size: clamp(18px, 2.3vw, 25px) !important;
  bottom: clamp(20px, 5vw, 52px) !important;
  line-height: 1.15;
}

.CFG_PAGE .CFG_BREADCRUMB{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  min-width: 0;
}

.CFG_PAGE .CFG_BREADCRUMB_PREFIX,
.CFG_PAGE .CFG_BREADCRUMB_LABEL{
  line-height: 1.35;
  text-decoration: none !important;
}

.CFG_PAGE .CFG_BREADCRUMB_PREFIX{
  color: #445AFB !important;
  flex: 0 1 auto;
  font-family: "lexm", sans-serif;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce){
  .APP_HOME_LOADER,
  .APP_HOME_LOADER_ICON,
  .APP_HOME_LOADER_ICON_BW,
  .APP_HOME_LOADER_ICON_COLOR{
    transition: none !important;
    animation: none !important;
  }
}

.CFG_PAGE .CFG_BREADCRUMB_TRIGGER{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.CFG_PAGE .CFG_BREADCRUMB_TRIGGER img{
  flex: 0 0 auto;
}

.CFG_PAGE .CFG_BREADCRUMB_LABEL{
  color: #091127;
  font-family: "lexm", sans-serif;
  font-weight: 500;
  flex: 0 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.CFG_PAGE .CFG_BREADCRUMB .FORM_SWITCH{
  flex: 0 0 auto;
}

.CFG_PAGE .CFG_PROGRESS_HEAD{
  border-radius: 10px;
}

.CFG_PAGE .FORM_SWITCH_MENU{
  width: min(260px, calc(100vw - 32px));
}

.CFG_PAGE .APP_DYNAMIC_SWAP{
  position: relative;
  min-height: 64px;
}

.CFG_PAGE .APP_DYNAMIC_SWAP.APP_DYNAMIC_SWAP_LOADING{
  pointer-events: none;
}

.CFG_PAGE .APP_DYNAMIC_SWAP.APP_DYNAMIC_SWAP_LOADING::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(69, 90, 255, 0.05), rgba(69, 90, 255, 0.12), rgba(69, 90, 255, 0.05));
  border-radius: 14px;
  z-index: 1;
  pointer-events: none;
}

.CFG_PAGE .APP_DYNAMIC_SWAP.APP_DYNAMIC_SWAP_LOADING::after{
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 2px solid rgba(69, 90, 255, 0.22);
  border-top-color: #455AFF;
  animation: app-spin 0.8s linear infinite;
  z-index: 2;
  pointer-events: none;
}

.CFG_PAGE .APP_DYNAMIC_SWAP.APP_DYNAMIC_SWAP_LOADING > *{
  opacity: 0.42;
  transform: translateY(4px);
  filter: saturate(0.88);
  transition: opacity 0.16s ease, transform 0.16s ease, filter 0.16s ease;
}

.CFG_PAGE .APP_DYNAMIC_SWAP .APP_REVEAL_ITEM{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.34s ease, transform 0.34s ease;
  transition-delay: var(--app-reveal-delay, 0ms);
  will-change: opacity, transform;
}

.CFG_PAGE .APP_DYNAMIC_SWAP .APP_REVEAL_ITEM.APP_REVEAL_VISIBLE{
  opacity: 1;
  transform: translateY(0);
}

.CFG_PAGE .APP_DYNAMIC_SWAP .APP_REVEAL_ITEM.APP_REVEAL_EXIT{
  opacity: 0;
  transform: translateY(-10px);
  transition-duration: 0.14s;
  transition-delay: 0ms !important;
}

.CFG_PAGE .APP_DYNAMIC_SWAP .APP_REVEAL_ITEM.APP_REVEAL_PENDING{
  opacity: 0;
}

.CFG_PAGE .ALLFLAVOR{
  max-height: min(70vh, 520px);
  overflow: auto;
}

.CFG_PAGE .ITEMCON1{
  scrollbar-width: thin;
}

.CFG_PAGE .CART1,
.CFG_PAGE .PROFILE_AUTH_SLOT .PROFILE_BTN{
  min-height: 79px !important;
  height: 79px !important;
}

.CFG_PAGE .CFG_TOP_ACTIONS .PROFILE_AUTH_SLOT{
  display: block;
  width: 100%;
  height: 100%;
}

.CFG_PAGE .CFG_TOP_ACTIONS > [class*="col-"]{
  display: flex;
}

.CFG_PAGE .CFG_TOP_ACTIONS > [class*="col-"] > .PROFILE_AUTH_SLOT{
  flex: 1 1 auto;
}

.CFG_PAGE .CFG_TOP_ACTIONS .PROFILE_AUTH_SLOT .PROFILE_BTN{
  width: 100%;
  height: 100% !important;
}

.CFG_PAGE .CART1{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f2f4fb;
  border: 1px solid var(--app-border);
}

.CFG_PAGE .COUNT1{
  min-width: 20px;
  text-align: center;
}

.CFG_PAGE .row.SIZES{
  row-gap: 0;
}

.CFG_PAGE .row.SIZES > a{
  display: block;
}

.CFG_PAGE .row.SIZES .BOX6{
  min-height: 90px !important;
  height: auto !important;
  padding: 10px;
  text-align: center;
}

.CFG_PAGE .swal2-popup,
.CFG_PAGE .modal-content{
  border-radius: 18px;
}

body[page="overview"] .CFG_PAGE .BOX7 > .row[style*="height:50vh"],
body[page="saveforlater"] .BOX7 > .row[style*="height:50vh"]{
  height: auto !important;
  min-height: clamp(260px, 45vh, 420px);
  padding: clamp(12px, 3vw, 24px);
}

body[page="overview"] .CFG_PAGE .BOX7 .BUT7,
body[page="saveforlater"] .BOX7 .BUT7{
  width: 100% !important;
  max-width: none;
}

body[page="case"] .PRODUCT_TITLE_ROW > span:first-child,
body[page="custom"] #SEL_LIST,
body[page="custom"] #PROG_CUSTOM_OTHER,
body[page="overview"] .KEY_INGREDIENTS_TXT,
body[page="packaging"] .PACK_SIZE_DISPLAY,
body[page="packaging"] .PACK_NAME_DISPLAY{
  overflow-wrap: anywhere;
  word-break: break-word;
}

@keyframes app-spin{
  to{ transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce){
  .CFG_PAGE .APP_DYNAMIC_SWAP.APP_DYNAMIC_SWAP_LOADING::after{
    animation: none !important;
  }

  .CFG_PAGE .APP_DYNAMIC_SWAP.APP_DYNAMIC_SWAP_LOADING > *,
  .CFG_PAGE .APP_DYNAMIC_SWAP .APP_REVEAL_ITEM{
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Responsive adjustments */
@media (max-width: 1199.98px){
  .CFG_PAGE .CART2{
    width: min(560px, calc(100vw - 20px));
    right: 0;
    left: auto;
  }
}

@media (max-width: 991.98px){
  .CFG_PAGE{
    padding-inline: 8px;
  }

  .CFG_PAGE .APP_SIDEBAR_BORDER{
    margin-bottom: 0.5rem;
  }

  .CFG_PAGE .CFG_BREADCRUMB{
    font-size: 13px;
    gap: 6px;
    align-items: flex-start;
  }

  .CFG_PAGE .CFG_BREADCRUMB_PREFIX,
  .CFG_PAGE .CFG_BREADCRUMB_LABEL{
    font-size: 13px !important;
  }

  .CFG_PAGE .CFG_BREADCRUMB_TRIGGER{
    gap: 6px;
  }

  .CFG_PAGE .CHVIT{
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding-inline: 12px !important;
  }

  .CFG_PAGE .APP_SIDEBAR_BORDER > .row,
  .CFG_PAGE > .row > [class*="col-lg-9"] > .row{
    row-gap: 0.35rem;
  }

  .CFG_PAGE .row.g-2.align-items-stretch{
    row-gap: 0.5rem;
  }

  .CFG_PAGE .CFG_PROGRESS_HEAD{
    display: none !important;
  }

  .CFG_PAGE .CFG_PROGRESS_ROW > .col-sm-3:not(:last-child){
    display: none !important;
  }

  .CFG_PAGE .CFG_PROGRESS_ROW > .col-sm-3:last-child{
    flex: 0 0 100%;
    max-width: 100%;
  }

  .CFG_PAGE .CART1,
  .CFG_PAGE .PROFILE_AUTH_SLOT .PROFILE_BTN{
    height: auto !important;
    min-height: 54px !important;
  }

  .CFG_PAGE.CFG_MOBILE_ACTIONS_IN_NAV .CFG_TOP_ACTIONS .CART1,
  .CFG_PAGE.CFG_MOBILE_ACTIONS_IN_NAV .CFG_TOP_ACTIONS .PROFILE_AUTH_SLOT{
    display: none !important;
  }

  .CFG_PAGE.CFG_MOBILE_CONTEXT_READY .CFG_CATEGORY_ITEM{
    display: none !important;
  }

  .CFG_PAGE .row.mt-3.mb-5 > [class*="col-sm-"],
  .CFG_PAGE .row.mt-3.mb-5 > [class*="col-"]{
    margin-bottom: 0.5rem;
  }

  .CFG_PAGE .CART2{
    position: fixed !important;
    inset: 0 !important;
    width: auto !important;
    max-width: none !important;
    border-radius: 0 !important;
    padding: 14px !important;
    overflow: hidden;
    z-index: 1100 !important;
  }

  .CFG_PAGE .ITEMCON1{
    max-height: calc(100vh - 230px) !important;
  }

  .CFG_PAGE .CART2 .SENDR1,
  .CFG_PAGE .CART2 .CLEAR1{
    min-height: 54px !important;
    border-radius: 14px !important;
    padding: 12px 14px !important;
  }

  .CFG_PAGE .swiper-button-prev,
  .CFG_PAGE .swiper-button-next{
    width: 36px;
    height: 36px;
  }

  body[page="packaging"] .CFG_PAGE .row.SIZES > a{
    width: 50%;
  }
}

@media (max-width: 767.98px){
  .AUTH_PAGE .AUTH_PANEL{
    padding: 16px;
    border-radius: 16px;
  }

  .AUTH_PAGE .LOGIN1{
    min-height: 52px;
  }

  .CART_PAGE .CART_PAGE_ACTIONS > [class*="col-"]{
    width: 100%;
  }

  .REQUEST_PAGE .REQUEST_FORM_COL{
    padding-inline: 4px !important;
  }

  .REQUEST_PAGE .BOX6{
    border-radius: 16px;
  }

  .CFG_PAGE .BUT4,
  .CFG_PAGE .BUT5,
  .CFG_PAGE .BUT7{
    width: 100%;
    justify-content: center;
  }

  .CFG_PAGE .row.SIZES > a{
    width: 50%;
  }

  .CFG_PAGE .CART1,
  .CFG_PAGE .PROFILE_AUTH_SLOT .PROFILE_BTN{
    height: auto !important;
    min-height: 48px !important;
  }
}

@media (max-width: 575.98px){
  .APP_NAV .navbar-brand img{
    height: 32px;
  }

  .APP_MOBILE_ACTIONS{
    grid-template-columns: 1fr;
  }

  .PROFILE_MENU{
    right: auto;
    left: 0;
  }

  .CFG_PAGE .CART_META_ROW{
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 8px;
  }

  .CFG_PAGE .CITEM1{
    padding: 12px 42px 12px 12px;
  }

  .CFG_PAGE .CITEM1 .TRASH1{
    right: 8px;
    width: 26px;
    height: 26px;
  }

  .CFG_PAGE .row.SIZES > a{
    width: 100%;
  }

  .CFG_PAGE .row.SIZES .BOX6{
    min-height: 64px !important;
  }

body[page="overview"] .CFG_PAGE .BOX7,
  body[page="saveforlater"] .BOX7{
    border-radius: 16px;
  }
}

body.PROFILE_MODAL_ACTIVE{
  overflow: hidden;
}

.PROFILE_MODAL{
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.PROFILE_MODAL.open{
  display: block;
}

.PROFILE_MODAL_BACKDROP{
  position: absolute;
  inset: 0;
  background: rgba(9, 17, 39, 0.48);
  backdrop-filter: blur(4px);
}

.PROFILE_MODAL_DIALOG{
  position: relative;
  width: min(760px, calc(100vw - 28px));
  max-height: calc(100vh - 36px);
  margin: 18px auto;
  background: #ffffff;
  border: 1px solid #dce5f8;
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(11, 19, 44, 0.24);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.PROFILE_MODAL_CLOSE_BTN{
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 999px;
  background: #eef2ff;
  color: #24376f;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.PROFILE_MODAL_HEAD{
  padding: 24px 72px 18px 24px;
  border-bottom: 1px solid #e8eefb;
  background: linear-gradient(180deg, #f9fbff 0%, #f4f7ff 100%);
}

.PROFILE_MODAL_EYEBROW{
  font-family: "lexr", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #667085;
  margin-bottom: 6px;
}

.PROFILE_MODAL_TITLE{
  font-family: "Inter", Arial, sans-serif;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
  color: #12224d;
}

.PROFILE_MODAL_BODY{
  padding: 24px;
  overflow: auto;
}

.PROFILE_MODAL_LOADING{
  font-family: "lexr", sans-serif;
  font-size: 14px;
  color: #667085;
}

.PROFILE_MODAL_PANEL{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.PROFILE_MODAL_PANEL_INTRO{
  font-family: "lexr", sans-serif;
  font-size: 14px;
  color: #5b6480;
}

.PROFILE_MODAL_ALERT{
  border: 1px solid #f1c4c4;
  background: #fff4f4;
  color: #b42318;
  border-radius: 14px;
  padding: 12px 14px;
  font-family: "lexr", sans-serif;
  font-size: 13px;
}

.ACCOUNT_CARD{
  font-family: "lexr", sans-serif;
  background: #ffffff;
  border: 1px solid #e5ebf8;
  border-radius: 18px;
  padding: 18px;
}

.PROFILE_MODAL_CARD{
  box-shadow: 0 8px 22px rgba(14, 26, 56, 0.05);
}

.INPUT_ACC{
  font-family: "lexr", sans-serif;
  width: 100%;
  border: 1px solid transparent;
  background: #f2f4f8;
  border-radius: 12px;
  padding: 11px 12px;
  color: #101828;
}

.INPUT_ACC:focus{
  background: #ffffff;
  border-color: #bfd0ff;
}

.TWOFA_IP_WHITELIST{
  min-height: 110px;
  resize: vertical;
}

.BTN_ACC{
  font-family: "lexr", sans-serif;
  border: none;
  background: #455aff;
  color: #ffffff;
  border-radius: 12px;
  padding: 10px 15px;
  font-size: 14px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.BTN_ACC:hover{
  color: #ffffff !important;
  background: #3346df;
}

.BTN_ACC_DARK{
  background: #2e3a66;
}

.BTN_ACC_DARK:hover{
  background: #263257;
}

.ACCOUNT_AVATAR_PREVIEW{
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #eaf0ff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.ACCOUNT_PROFILE_IMG{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ACCOUNT_PROFILE_FALLBACK{
  font-family: "Inter", Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #2a3b75;
}

.PROFILE_MODAL .ORDER_LIST{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.PROFILE_MODAL .ORDER_CARD{
  background: #ffffff;
  border: 1px solid #e2e8f4;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 18px rgba(14, 26, 56, 0.04);
}

.PROFILE_MODAL .ORDER_ROW{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.PROFILE_MODAL .ORDER_META{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.PROFILE_MODAL .ORDER_META_ITEM{
  background: #f9fafb;
  border: 1px solid #eaecf0;
  border-radius: 999px;
  padding: 4px 10px;
  color: #344054;
}

.PROFILE_MODAL .ORDER_CODES{
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 640px;
}

.PROFILE_MODAL .ORDER_CODE{
  padding: 6px 10px;
  border-radius: 10px;
  background: #f8faff;
  border: 1px solid #e6ecfa;
  width: fit-content;
  max-width: 100%;
}

.PROFILE_MODAL .ORDER_BTN{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 12px;
  background: #455aff;
  color: #ffffff;
  text-decoration: none;
  border: none;
  font-size: 15px;
  white-space: nowrap;
}

.PROFILE_MODAL .ORDER_BTN:hover{
  color: #ffffff !important;
  background: #3346df;
}

.PROFILE_MODAL .ORDER_BTN:disabled{
  opacity: 0.75;
  cursor: not-allowed;
}

@media (max-width: 767.98px){
  .PROFILE_MODAL_DIALOG{
    width: min(100vw - 16px, 100vw);
    max-height: calc(100vh - 16px);
    margin: 8px auto;
    border-radius: 18px;
  }

  .PROFILE_MODAL_HEAD{
    padding: 20px 58px 16px 18px;
  }

  .PROFILE_MODAL_TITLE{
    font-size: 22px;
  }

  .PROFILE_MODAL_BODY{
    padding: 18px;
  }

  .PROFILE_MODAL .ORDER_ROW{
    grid-template-columns: 1fr;
  }

  .PROFILE_MODAL .ORDER_BTN{
    width: 100%;
  }
}
