/* OneDigitalite site-wide skin: brand palette, typography, header & menus, footer.
   Loaded after the theme's own stylesheets so it overrides them without editing them. */

:root {
  --color-1: #0E0B33;           /* ink */
  --color-4: #5B3CF5;           /* brand violet */
  --color-7: #241F66;
  --color-12: rgba(91, 60, 245, .18);
  --color-15: rgba(91, 60, 245, .32);
  --od-ink: #0E0B33;
  --od-text: #3D3B5C;
  --od-muted: #5E5C7A;
  --od-line: #E7E6F2;
  --od-soft: #F6F5FC;
  --od-violet: #5B3CF5;
  --od-violet-ink: #4A2FE0;
  --od-violet-soft: #E9E4FF;
}

body,
.btn, input, select, textarea, button {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
body { color: var(--od-text); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { color: var(--od-ink); letter-spacing: -0.01em; }

/* Brand buttons across the theme */
.btn-primary,
.btn.btn-primary {
  background-color: var(--od-violet) !important;
  border-color: var(--od-violet) !important;
  color: #fff !important;
  border-radius: 10px;
  font-weight: 700;
}
.btn-primary:hover, .btn-primary:focus { background-color: var(--od-violet-ink) !important; border-color: var(--od-violet-ink) !important; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #9F8CFB; outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }

/* ------------------------------------------------------------------ */
/* Top utility bar                                                     */
/* ------------------------------------------------------------------ */
.sub-header { background: var(--od-ink) !important; padding: 6px 0 !important; font-size: 13px; }
.sub-header, .sub-header a, .sub-header .icon a, .sub-header i { color: #C9C7E3 !important; }
.sub-header a:hover { color: #fff !important; }
.sub-header .nice-select { background: transparent !important; border: 0 !important; color: #fff !important; font-size: 13px; height: 28px; line-height: 28px; }
.sub-header .nice-select::after { border-color: #C9C7E3 !important; }
.sub-header .nice-select .list { color: var(--od-ink); }

/* ------------------------------------------------------------------ */
/* Main header                                                         */
/* ------------------------------------------------------------------ */
.menubar { background: #fff; border-bottom: 1px solid var(--od-line); position: sticky; top: 0; z-index: 1030; }
.menubar .navbar { padding-top: 12px !important; padding-bottom: 12px !important; }
.menubar .logo img, .menubar .navbar-brand img { height: 40px !important; width: auto !important; max-width: none !important; }
.menubar .navbar-collapse { gap: 18px; align-items: center; }

.od-nav { display: flex; align-items: center; gap: 14px; flex: 1 1 auto; min-width: 0; margin-left: 20px; }

/* Explore button */
.od-explore { position: relative; }
.od-explore-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px; border-radius: 10px;
  background: var(--od-soft); border: 1px solid var(--od-line); color: var(--od-ink);
  font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s;
}
.od-explore-btn:hover, .od-explore.is-open .od-explore-btn { background: var(--od-violet-soft); border-color: #C9BEFF; }
.od-caret { transition: transform .2s; }
.od-explore.is-open .od-caret, .od-more.is-open .od-caret { transform: rotate(180deg); }

/* Mega menu panel */
.od-mega {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 1050;
  width: 340px; background: #fff; border: 1px solid var(--od-line); border-radius: 16px;
  box-shadow: 0 24px 60px -20px rgba(14, 11, 51, .35);
  padding: 10px; display: none;
}
.od-explore.is-open .od-mega { display: block; }
@media (hover: hover) and (min-width: 992px) {
  .od-explore:hover .od-mega { display: block; }
  /* hover bridge so the pointer can travel from button to panel */
  .od-explore::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
}
.od-mega-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px 10px; border-bottom: 1px solid var(--od-line); margin-bottom: 6px; }
.od-mega-head span { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--od-muted); }
.od-mega-head a { font-size: 13px; font-weight: 700; color: var(--od-violet-ink) !important; }
.od-mega-list { list-style: none; margin: 0; padding: 0; max-height: 60vh; overflow-y: auto; }
.od-mega-item { position: static; }
.od-mega-item > a {
  display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px;
  color: var(--od-ink) !important; font-weight: 600; font-size: 15px; text-decoration: none;
}
.od-mega-item > a:hover, .od-mega-item:focus-within > a, .od-mega-item.has-sub:hover > a { background: var(--od-soft); color: var(--od-violet-ink) !important; }
.od-mega-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--od-violet-soft); color: #3A22B8; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; flex: 0 0 34px; }
.od-mega-name { flex: 1; }
.od-mega-arrow { color: var(--od-muted); }
.od-mega-sub {
  display: none; position: absolute; top: -1px; left: calc(100% - 4px);
  width: 300px; min-height: calc(100% + 2px); background: #fff;
  border: 1px solid var(--od-line); border-radius: 0 16px 16px 0;
  box-shadow: 18px 24px 60px -24px rgba(14, 11, 51, .3); padding: 16px;
}
.od-mega-item.has-sub:hover > .od-mega-sub, .od-mega-item.has-sub:focus-within > .od-mega-sub { display: block; }
.od-mega-sub-title { display: block; font-weight: 800; color: var(--od-ink); font-size: 16px; margin: 2px 4px 10px; }
.od-mega-sub ul { list-style: none; margin: 0; padding: 0; }
.od-mega-sub li a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--od-text) !important; font-size: 14px; font-weight: 500; }
.od-mega-sub li a:hover { background: var(--od-soft); color: var(--od-violet-ink) !important; }
.od-mega-sub-all { display: inline-block; margin: 10px 10px 0; font-size: 13px; font-weight: 700; color: var(--od-violet-ink) !important; }
.od-mega-empty { padding: 14px 10px; margin: 0; color: var(--od-muted); font-size: 14px; }

/* Search pill */
.od-search {
  flex: 1 1 260px; max-width: 420px; display: flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 14px; border: 1px solid var(--od-line); border-radius: 10px; background: #fff; color: var(--od-muted);
  transition: border-color .15s, box-shadow .15s;
}
.od-search:focus-within { border-color: var(--od-violet); box-shadow: 0 0 0 4px rgba(91, 60, 245, .12); }
.od-search input { border: 0; outline: none; background: transparent; width: 100%; font-size: 15px; color: var(--od-ink); }
.od-search input:focus-visible { outline: none; }

/* Primary links */
.od-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.od-links > li > a, .od-more > button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 10px;
  color: var(--od-ink) !important; font-weight: 600; font-size: 15px; background: none; border: 0; cursor: pointer; white-space: nowrap; text-decoration: none;
  position: relative;
}
.od-links > li > a:hover, .od-more > button:hover { background: var(--od-soft); color: var(--od-violet-ink) !important; }
.od-links > li > a.is-active::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--od-violet); }
.od-more { position: relative; }
.od-dropdown {
  display: none; position: absolute; top: calc(100% + 8px); right: 0; z-index: 1050; min-width: 220px;
  list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--od-line); border-radius: 14px;
  box-shadow: 0 24px 60px -20px rgba(14, 11, 51, .35);
}
.od-more.is-open .od-dropdown { display: block; }
@media (hover: hover) and (min-width: 992px) {
  .od-more:hover .od-dropdown { display: block; }
  .od-more::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
}
.od-dropdown a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--od-text) !important; font-weight: 600; font-size: 14px; }
.od-dropdown a:hover { background: var(--od-soft); color: var(--od-violet-ink) !important; }

/* Right side: quick links, icons, auth buttons */
.menubar .right-menubar { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.od-quick { font-weight: 600; font-size: 15px; color: var(--od-ink) !important; padding: 0 10px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 10px; white-space: nowrap; }
.od-quick:hover { background: var(--od-soft); color: var(--od-violet-ink) !important; }
.menubar .right-menubar > a[href*="login"] {
  margin-left: 6px !important; font-weight: 700; color: var(--od-ink) !important; min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 10px;
}
.menubar .right-menubar > a[href*="login"]:hover { background: var(--od-soft); }
.menubar .right-menubar > a.ctBtn, .menubar .right-menubar > a[href*="sign_up"] {
  margin-left: 4px !important; background: var(--od-violet) !important; color: #fff !important; border: 0 !important;
  font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px !important; border-radius: 10px !important; box-shadow: none !important;
}
.menubar .right-menubar > a.ctBtn:hover, .menubar .right-menubar > a[href*="sign_up"]:hover { background: var(--od-violet-ink) !important; }
.menubar .wisth_tgl_2div > a, .menubar .menu_pro_tgl {
  width: 42px; height: 42px; border-radius: 10px; display: inline-flex !important; align-items: center; justify-content: center; margin-top: 0 !important; transition: background .15s;
}
.menubar .wisth_tgl_2div > a:hover { background: var(--od-soft); }
.menubar .menu_number { background: var(--od-violet) !important; color: #fff !important; font-weight: 700; }
.menubar .menu_pro_tgl img { width: 38px !important; height: 38px !important; border-radius: 999px; object-fit: cover; border: 2px solid var(--od-violet-soft); }

/* Cart / wishlist / profile dropdowns */
.menubar .menu_pro_wish, .menubar .menu_pro_tgl_bg {
  border: 1px solid var(--od-line) !important; border-radius: 16px !important; box-shadow: 0 24px 60px -20px rgba(14, 11, 51, .35) !important; overflow: hidden;
}
.menubar .menu_pro_tgl_bg .user-images { background: var(--od-soft); border-bottom: 1px solid var(--od-line); }
.menubar .menu_pro_tgl_bg .user-info h4 { font-weight: 800; color: var(--od-ink); }
.menubar .user-dropdown-menu-item a { border-radius: 8px; font-weight: 600; color: var(--od-text) !important; }
.menubar .user-dropdown-menu-item a:hover { background: var(--od-soft) !important; color: var(--od-violet-ink) !important; }
.menubar .user-dropdown-menu-item a:hover svg path { stroke: var(--od-violet-ink); }
.menubar .menu_pro_btn .btn { width: 100%; }

/* Tighter fit on mid-size desktops */
@media (min-width: 992px) and (max-width: 1199px) {
  .od-nav { gap: 8px; margin-left: 10px; }
  .od-links > li > a, .od-more > button { padding: 0 8px; font-size: 14px; }
  .od-search { flex-basis: 160px; }
  .od-quick { display: none; }
}

/* Mobile (theme switches to its offcanvas below 992px) */
@media (max-width: 991px) {
  .od-nav { display: none; }
  .menubar .menu-offcanves .btn-bar { color: var(--od-ink) !important; font-size: 24px !important; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--od-line); margin-right: 0 !important; }
  .menubar .menu-offcanves .m-search-icon { width: 44px; height: 44px; display: inline-flex !important; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--od-line); color: var(--od-ink); }
  .offcanvas { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
  .offcanvas .btn-toggle-list, .offcanvas a { color: var(--od-ink); font-weight: 600; }
  .offcanvas .ctBtn, .offcanvas a[href*="sign_up"] { background: var(--od-violet) !important; color: #fff !important; border-radius: 10px !important; }
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */
.od-footer { background: var(--od-ink); color: #C9C7E3; font-size: 15px; }
.od-footer a { color: #C9C7E3; text-decoration: none; }
.od-footer a:hover { color: #fff; }
.od-footer-top { display: flex; flex-wrap: wrap; gap: 40px 48px; padding: 64px 0 40px; }
.od-footer-brand { flex: 2 1 320px; display: flex; flex-direction: column; gap: 18px; max-width: 420px; }
.od-footer-logo img { height: 44px; width: auto; }
.od-footer-brand p { margin: 0; line-height: 1.6; }
.od-footer-news label { display: block; color: #fff; font-weight: 700; margin-bottom: 8px; }
.od-footer-news-row { display: flex; flex-wrap: wrap; gap: 8px; }
.od-footer-news input {
  flex: 1 1 200px; min-height: 46px; border-radius: 10px; border: 1px solid #2C2770; background: #1A1650; color: #fff; padding: 0 14px; font-size: 15px;
}
.od-footer-news input::placeholder { color: #8F8CB8; }
.od-footer-news button { min-height: 46px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--od-violet); color: #fff; font-weight: 700; cursor: pointer; }
.od-footer-news button:hover { background: var(--od-violet-ink); }
.od-footer-social { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.od-footer-social a { width: 44px; height: 44px; border-radius: 10px; border: 1px solid #2C2770; display: inline-flex; align-items: center; justify-content: center; }
.od-footer-social a:hover { background: #1A1650; }
.od-footer-col { flex: 1 1 160px; }
.od-footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin: 0 0 16px; letter-spacing: 0; }
.od-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.od-footer-contact { margin-top: 22px !important; padding-top: 18px !important; border-top: 1px solid #2C2770; }
.od-footer-bottom { border-top: 1px solid #2C2770; padding: 20px 0 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px; }
.od-footer-bottom p { margin: 0; color: #8F8CB8; }

/* Cookie consent */
#cookieConsentContainer.cookieConsentContainer {
  background: #fff !important; color: var(--od-text) !important; opacity: 1 !important;
  border: 1px solid var(--od-line); border-radius: 16px !important; box-shadow: 0 24px 60px -20px rgba(14, 11, 51, .35);
  max-width: 420px;
}
#cookieConsentContainer .cookieDesc p, #cookieConsentContainer .cookieDesc { color: var(--od-text) !important; font-size: 14px; line-height: 1.55; }
#cookieConsentContainer .link-cookie-policy { color: var(--od-violet-ink) !important; font-weight: 700; }
#cookieConsentContainer .cookieButton a, #cookieConsentContainer .cookieButton button {
  background: var(--od-ink) !important; color: #fff !important; border-radius: 10px !important; font-weight: 700; border: 0 !important;
}
#cookieConsentContainer .cookieButton a:hover, #cookieConsentContainer .cookieButton button:hover { background: var(--od-violet) !important; }

/* Right-side alignment: beat the theme's `.menubar .right-menubar a { display:block; margin-top:2px }` */
.menubar .right-menubar .od-quick,
.menubar .right-menubar .od-lang > button { display: inline-flex; align-items: center; margin: 0; }
.menubar .right-menubar .od-dropdown a { display: block; margin: 0; }
.menubar .right-menubar .wisth_tgl_div, .menubar .right-menubar .menu_pro_tgl_div { display: flex; align-items: center; }

/* Language switcher (desktop) */
.od-lang { position: relative; }
.od-lang > button {
  gap: 6px; min-height: 42px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--od-line);
  background: #fff; color: var(--od-ink); font-weight: 700; font-size: 13px; cursor: pointer; letter-spacing: .04em;
}
.od-lang > button:hover, .od-lang.is-open > button { background: var(--od-soft); }
.od-lang.is-open .od-dropdown { display: block; }
.od-lang .od-dropdown { min-width: 180px; max-height: 60vh; overflow-y: auto; }
.od-dropdown a.is-active { color: var(--od-violet-ink) !important; background: var(--od-violet-soft); }

/* Language switcher (mobile offcanvas) */
.od-m-lang { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--od-line); }
.od-m-lang label { font-weight: 700; color: var(--od-ink); margin: 0; }
.od-m-lang select { min-height: 40px; border: 1px solid var(--od-line); border-radius: 10px; padding: 0 10px; background: #fff; color: var(--od-ink); font-weight: 600; }

/* With the utility bar gone the sticky header sits at the very top */
.menubar { top: 0; }

/* Sticky header: pin the <header> itself (a sticky child can't outlive its wrapper) */
header:has(> .menubar) { position: sticky; top: 0; z-index: 1030; background: #fff; }
header:has(> .menubar) .menubar { position: static; }

/* Notifications (toastr): compact branded cards just below the sticky header */
#toast-container.toast-top-right { top: calc(var(--od-header-h, 96px) + 12px); right: 20px; }
#toast-container > div {
  width: 340px; max-width: calc(100vw - 32px); opacity: 1; padding: 14px 40px 14px 52px; border-radius: 14px;
  background-color: #fff; background-position: 16px center; background-size: 22px; color: #0E0B33;
  border: 1px solid #E7E6F2; border-left: 4px solid #5B3CF5; box-shadow: 0 18px 40px -16px rgba(14, 11, 51, .35);
  font: 600 14px/1.45 'Plus Jakarta Sans', system-ui, sans-serif;
}
#toast-container > div:hover { box-shadow: 0 18px 40px -12px rgba(14, 11, 51, .45); }
#toast-container > .toast-success { border-left-color: #0E9F6E; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E9F6E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M7.5 12.5l3 3 6-6.5'/%3E%3C/svg%3E") !important; }
#toast-container > .toast-error { border-left-color: #E11D48; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E11D48' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 7v6M12 16.5v.5'/%3E%3C/svg%3E") !important; }
#toast-container > .toast-info, #toast-container > .toast-warning { border-left-color: #5B3CF5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B3CF5' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 11v6M12 7.5v.5'/%3E%3C/svg%3E") !important; }
#toast-container .toast-close-button { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); color: #8A88A6; text-shadow: none; opacity: 1; font-weight: 400; font-size: 20px; }
#toast-container .toast-close-button:hover { color: #0E0B33; }
@media (max-width: 575px) {
  #toast-container.toast-top-right { left: 16px; right: 16px; top: calc(var(--od-header-h, 72px) + 8px); }
  #toast-container > div { width: 100%; max-width: none; }
}

/* Header search suggestions (od-search-suggest.js) */
.oss { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 1060; background: #fff; border: 1px solid #E7E6F2; border-radius: 16px; padding: 6px; box-shadow: 0 24px 50px -20px rgba(14,11,51,.35); }
.oss-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; color: #0E0B33; text-decoration: none; }
.oss-item:hover, .oss-item.is-active, .oss-all.is-active { background: #F6F5FC; }
.oss-item img { flex: none; width: 64px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: #F6F5FC; }
.oss-item span { min-width: 0; display: flex; flex-direction: column; }
.oss-item b { font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oss-item small { font-size: 12.5px; color: #5B3CF5; font-weight: 700; }
.oss-all { display: block; margin-top: 4px; padding: 10px; border-top: 1px solid #F0EFF7; border-radius: 0 0 10px 10px; text-align: center; color: #5B3CF5; font-weight: 700; font-size: 13.5px; text-decoration: none; }
.oss-empty { padding: 14px; text-align: center; color: #8A88A6; font-size: 13.5px; }
