/* Blockart header: logo bar, search, mega menu (desktop) and slide-in drawer (mobile).
   Loaded after style.css and media.css, so these rules win. Breakpoint: 1024px. */

.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

/* ---------- logo bar ---------- */
.ba-header .header_logobar { padding: 22px 0 6px; }
.ba-hbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; position: relative; }
.ba-hmail a { color: var(--PColor); font-size: var(--font9); }
.ba-hlogo { text-align: center; }
.ba-hlogo img { width: auto; height: auto; max-width: 100%; }
.ba-hactions { justify-self: end; margin: 0 !important; padding: 0 !important; }
.ba-header .bag_signin_list { display: flex; align-items: center; gap: 26px; margin: 0; }
.ba-header .bag_signin_list > li { padding-left: 0 !important; position: relative; }
.ba-header .bag_signin_list > li > a::before,
.ba-header .bag_signin_list > li > button::before { content: none !important; }
.ba-header .bag_signin_list > li > a,
.ba-header .bag_signin_list > li > button { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; padding: 4px 0; font-size: var(--font9); color: var(--PColor); cursor: pointer; line-height: 1.2; font-family: inherit; text-transform: uppercase; }
.ba-header .bag_signin_list > li > a:hover,
.ba-header .bag_signin_list > li > button:hover { color: #c2185b !important; }
.ba-header .header_search::after { content: '\f002'; font-family: "Font Awesome 5 Free"; font-weight: 900; order: -1; }
.ba-header .num_total_BX { top: -10px; right: -12px; }
#main-menu-toggle.ba-burger, .ba-burger { display: none; }

/* ---------- search ---------- */
.ba-header .contentt { position: absolute; top: calc(100% + 10px); right: -10px; left: auto; margin: 0; width: 380px; max-width: calc(100vw - 24px); background: #fff; padding: 10px; box-shadow: 0 10px 30px rgb(0 0 0 / 18%); border-radius: 10px; z-index: 1200; display: flex; align-items: center; gap: 8px; }
.ba-header .contentt[hidden] { display: none !important; }
.ba-search-field { position: relative; flex: 1; min-width: 0; }
.ba-header .contentt .form-control { height: 44px; padding: 8px 12px; font-size: 16px; border: 1px solid #d9c9cf; border-radius: 8px; width: 100%; }
.ba-header .contentt .form-control:focus { border-color: var(--PColor); box-shadow: 0 0 0 3px rgb(81 58 71 / 15%); outline: 0; }
.ba-header .search_icn { position: static !important; flex: none; width: 44px; height: 44px; line-height: 44px; border-radius: 8px; border: 0; background: var(--PColor); color: #fff !important; cursor: pointer; }
.ba-header .search_icn:hover { background: #c2185b; }
.ba-search-close { display: none; flex: none; width: 36px; height: 44px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--PColor); cursor: pointer; }
.ba-header .bf-suggest { left: 0; right: auto; width: calc(100% + 104px); max-width: calc(100vw - 24px); }
.ba-header input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

/* ---------- desktop nav + mega menu ---------- */
.ba-header { position: relative; z-index: 1040; }
.ba-nav { display: block; position: relative; z-index: 50; }
.ba-nav-drawer-head, .ba-nav-extra, .ba-nav-overlay { display: none; }
.ba-nav-container { max-width: 1476px; }
.ba-nav-list { display: flex; justify-content: center; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.ba-nav-item { position: static; list-style: none; }
.ba-nav-row { display: flex; align-items: center; }
.ba-nav-link { display: block; padding: 22px 16px; font-size: var(--font10); text-transform: uppercase; color: var(--PColor); white-space: nowrap; position: relative; }
.ba-nav-link:hover, .ba-nav-item:focus-within > .ba-nav-row > .ba-nav-link, .ba-nav-item.is-open > .ba-nav-row > .ba-nav-link { color: #c2185b; }
.ba-nav-link::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 14px; height: 2px; background: var(--SColor); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.ba-nav-item:hover > .ba-nav-row > .ba-nav-link::after, .ba-nav-item.is-open > .ba-nav-row > .ba-nav-link::after { transform: scaleX(1); }
.ba-nav .Hoffers_arrow::after { content: none; }
.ba-nav-row > .ba-nav-link { padding-right: 4px; }
.ba-nav-row > .ba-nav-link::after { right: 4px; }
.ba-nav-toggle { width: 24px; height: 30px; margin: 0 8px 0 0; border: 0; background: none; cursor: pointer; color: var(--PColor); padding: 0; }
.ba-nav-toggle::before { content: '\f078'; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 10px; display: inline-block; transition: transform .2s; }
.ba-nav-item.is-open .ba-nav-toggle::before { transform: rotate(180deg); }

.ba-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid #f0dfe4; box-shadow: 0 24px 40px -18px rgb(43 31 38 / 35%); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; z-index: 1000; }
.ba-nav-item.is-open > .ba-mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (min-width: 1025px) and (hover: hover) {
  .ba-nav-item.ba-has-mega:hover > .ba-mega { opacity: 1; visibility: visible; transform: none; transition-delay: .08s; }
}
.ba-mega-grid { max-width: 1314px; margin: 0 auto; padding: 28px 24px 32px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) 1.2fr; gap: 24px; }
.ba-mega-h { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0 0 10px; margin: 0 0 8px; border-bottom: 1px solid #f0dfe4; font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--PColor); cursor: default; }
.ba-mega-h2 { margin-top: 18px; }
.ba-mega-col ul { list-style: none; margin: 0; padding: 0; }
.ba-mega-col li a { display: block; padding: 6px 0; font-size: 14px; color: #3b2b34; line-height: 1.35; }
.ba-mega-col li a:hover, .ba-mega-col li a:focus { color: #c2185b; text-decoration: underline; }
.ba-mega-all { font-weight: 600; color: var(--PColor) !important; }
.ba-mega-promo { background: var(--BGColor); border-radius: 12px; padding: 20px; align-self: start; }
.ba-mega-promo-t { font-size: 17px; font-weight: 600; color: var(--PColor); margin: 0 0 8px; }
.ba-mega-promo-d { font-size: 14px; color: #3b2b34; margin: 0 0 14px; line-height: 1.5; }
.ba-mega-promo-btn { display: inline-block; background: var(--PColor); color: #fff !important; padding: 9px 16px; border-radius: 6px; font-size: 14px; }
.ba-mega-promo-btn:hover { background: #c2185b; }
.ba-mega-promo-link { display: block; margin-top: 10px; font-size: 14px; color: var(--PColor); text-decoration: underline; }
/* small dropdowns (Kurti, Bedsheets): sit under their own menu item */
.ba-nav-item.ba-mega-sm { position: relative; }
.ba-mega-sm > .ba-mega { left: 0; right: auto; min-width: 250px; border-radius: 0 0 10px 10px; }
.ba-mega-sm .ba-mega-grid { display: block; padding: 14px 20px 16px; }

/* ---------- mobile + tablet: drawer ---------- */
@media (max-width: 1024px) {
  html.ba-nav-open, html.ba-nav-open body { overflow: hidden !important; }
  body.show_menu { position: static; }
  .ba-header { position: relative; z-index: 1040; }
  .ba-header .header_logobar { padding: 10px 0; }
  .ba-header .header_logobar .container { max-width: 100%; padding: 0 12px; }
  .ba-hbar { grid-template-columns: auto 1fr auto; gap: 8px; }
  .ba-hmail { display: none !important; }
  .ba-hlogo { text-align: left !important; }
  .ba-hlogo img { height: 40px; width: auto; max-height: 40px; }
  #main-menu-toggle.ba-burger, .ba-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 11px; border: 0; border-radius: 8px; background: var(--PColor); cursor: pointer; }
  #main-menu-toggle.ba-burger { position: relative; right: auto; top: auto; z-index: 1; }
  .ba-header .bag_signin_list, .ba-hactions { position: static !important; }
  .ba-burger span { display: block; height: 2px; background: #fff; border-radius: 2px; }
  .ba-header .bag_signin_list { gap: 4px; }
  .ba-header .bag_signin_list > li > a,
  .ba-header .bag_signin_list > li > button { min-width: 40px; min-height: 44px; justify-content: center; font-size: 18px; padding: 0 6px; }
  .ba-hlabel { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; }
  .ba-header .num_total_BX { top: 2px; right: -2px; width: 18px; height: 18px; line-height: 18px; font-size: 11px; }
  /* search drops down full width under the logo bar */
  .ba-hsearch { position: static !important; }
  .ba-header .contentt { position: absolute; left: 0; right: 0; top: calc(100% + 8px); width: auto; max-width: none; border-radius: 0 0 10px 10px; padding: 10px 12px; }
  .ba-search-close { display: block; }
  .ba-header .bf-suggest { width: calc(100vw - 24px); max-height: 65vh; overflow-y: auto; }
  #user_login { right: 0; left: auto; }

  .ba-nav { padding: 0 !important; min-height: 0; }
  .ba-nav.Jcustomnav::after { display: none; }
  .ba-nav-overlay { display: block; position: fixed; inset: 0; background: rgb(0 0 0 / 45%); opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s linear .25s; z-index: 2000; }
  .ba-nav-drawer { position: fixed; top: 0; left: 0; bottom: 0; width: min(86vw, 380px); background: #fff; z-index: 2001; transform: translateX(-102%); transition: transform .3s ease; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; visibility: hidden; }
  html.ba-nav-open .ba-nav-overlay { opacity: 1; visibility: visible; transition-delay: 0s; }
  html.ba-nav-open .ba-nav-drawer { transform: none; visibility: visible; box-shadow: 0 0 40px rgb(0 0 0 / 25%); }
  .ba-nav-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 18px; background: var(--PColor); color: #fff; position: sticky; top: 0; z-index: 2; }
  .ba-nav-drawer-title { font-size: 16px; text-transform: uppercase; letter-spacing: .1em; }
  .ba-nav-close { width: 44px; height: 44px; border: 0; background: none; color: #fff; font-size: 32px; line-height: 1; cursor: pointer; }
  .ba-nav-container { max-width: 100% !important; padding: 0 !important; }
  .ba-nav-list { display: block; }
  .ba-nav-item { border-bottom: 1px solid #f1e6ea; position: static !important; }
  .ba-nav-row { justify-content: space-between; }
  .ba-nav-link, .ba-nav-row > .ba-nav-link { flex: 1; padding: 15px 18px; font-size: 15px; white-space: normal; }
  .ba-nav-link::after { display: none; }
  .ba-nav-toggle { width: 52px; height: 50px; margin: 0; border-left: 1px solid #f1e6ea; }
  .ba-nav-toggle::before { font-size: 13px; }
  .ba-mega, .ba-mega-sm > .ba-mega { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; min-width: 0; border-radius: 0; background: #fbf5f6; transition: none; }
  .ba-nav-item.is-open > .ba-mega { display: block; }
  .ba-mega-grid, .ba-mega-sm .ba-mega-grid { display: block; padding: 0; }
  .ba-mega-col { border-top: 1px solid #f1e6ea; }
  .ba-mega-h { position: relative; margin: 0; padding: 14px 52px 14px 28px; border: 0; font-size: 13.5px; cursor: pointer; }
  .ba-mega-h::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 20px; font-weight: 400; }
  .ba-mega-h[aria-expanded="true"]::after { content: '\2212'; }
  .ba-mega-h2 { border-top: 1px solid #f1e6ea; }
  .ba-mega-h + ul { display: none; padding: 0 0 8px; }
  .ba-mega-h[aria-expanded="true"] + ul { display: block; }
  .ba-mega-open ul { display: block; padding: 4px 0 8px; }
  .ba-mega-col li a { padding: 10px 18px 10px 40px; font-size: 14.5px; }
  .ba-mega-promo { margin: 12px 16px 16px; }
  .ba-nav-extra { display: block; list-style: none; margin: 8px 0 0; padding: 8px 0 30px; }
  .ba-nav-extra a { display: flex; align-items: center; gap: 10px; padding: 12px 18px; font-size: 14.5px; color: var(--PColor); }
  .ba-nav-extra i { width: 18px; text-align: center; }
  /* the old absolutely positioned toggle wrapper */
  header .coll { position: static; max-width: none; }
}
@media (max-width: 380px) {
  .ba-hlogo img { height: 34px; }
  .ba-header .bag_signin_list > li > a, .ba-header .bag_signin_list > li > button { min-width: 36px; font-size: 17px; padding: 0 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .ba-mega, .ba-nav-drawer, .ba-nav-overlay, .ba-nav-link::after { transition: none !important; }
}
.ba-nav-item.jaipur_store_css { position: relative; }
@media (max-width: 1024px) {
  .ba-nav-item.jaipur_store_css { position: relative !important; }
  .ba-nav-item.jaipur_store_css::before, .ba-nav-item.jaipur_store_css::after { display: none; }
}

/* ---------- accessibility and readability fixes (PageSpeed: contrast, link styling, skip link) ---------- */
.ba-skip { position: absolute; left: 8px; top: -60px; z-index: 3000; background: var(--PColor); color: #fff !important; padding: 10px 16px; border-radius: 6px; font-size: 15px; }
.ba-skip:focus { top: 8px; }
#main-content:focus { outline: none; }
/* white text on the pink offer bar was below the 4.5:1 contrast minimum */
.topofferbar { background: #c2185b; }
.topofferbar .m-scroll a { text-decoration: underline; }
/* pink text on light backgrounds: a deeper pink that is readable */
.Hactive_link, .ba-nav .Hactive_link { color: #c2185b !important; }
.footlinks_ttileBX span { color: #c2185b; }
.footer_new_happy_bx ul li a { color: #c2185b; }
.new-linkH_Billing { animation: none; }
/* links inside running text are underlined, so they are not told apart by colour alone */
main p a:not([class]), .ba-cd p a, .ba-cd li a, .blockart_FLast p a, .bloginn_content p a, .bf-sg-fix a { text-decoration: underline; text-underline-offset: 2px; }
.blockart_FLast .ba-flast-h { font-size: var(--font11); color: var(--PColor); font-weight: 500; position: relative; text-transform: uppercase; margin: 0; line-height: 1.4; }
.footlinks_ttileBX[role="button"]:focus-visible { outline: 2px solid var(--PColor); outline-offset: 2px; }

/* ---------- v2 fixes ---------- */
/* logo bar (account menu, search, suggestions) must sit above the nav bar below it */
.ba-header .header_logobar { position: relative; z-index: 60; }

/* account menu: wide enough for one line per item, aligned to the right edge */
.ba-header #user_login { position: absolute; top: calc(100% + 12px); right: -10px; left: auto; z-index: 1300; min-width: 220px; max-width: none; padding: 8px 0; border-radius: 10px; box-shadow: 0 14px 34px rgb(43 31 38 / 22%); background: #fff; animation: none; }
.ba-header #user_login::after { left: auto; right: 22px; }
.ba-header #user_login li { padding: 0 !important; }
.ba-header #user_login li a { display: flex; align-items: center; gap: 10px; padding: 10px 18px; font-size: 15px; color: #3b2b34; white-space: nowrap; text-transform: none; }
.ba-header #user_login li a:hover { background: #fbf1f4; color: #c2185b !important; }
.ba-header #user_login li a i { width: 18px; text-align: center; color: var(--PColor); }
.ba-header #user_login li:last-child { border-top: 1px solid #f1e6ea; margin-top: 4px; }

/* home top categories: photo fills the round frame */
.Head_cat_IMGBX { overflow: visible; }
.Head_cat_IMGBX img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* search suggestions: same width as the search panel, centred under it */
.ba-search-field { position: static; }
.ba-header .contentt .bf-suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; width: auto; max-width: none; max-height: min(70vh, 520px); overflow-y: auto; border-radius: 10px; }
.ba-header .bf-suggest a { min-width: 0; }
.ba-header .bf-suggest .bf-sg-name { flex: 1; min-width: 0; }
.ba-header .bf-suggest .bf-sg-price, .ba-header .bf-suggest small { flex: none; }

/* menu icons: shown in the mobile drawer, hidden in the desktop bar */
.ba-ico { display: none; }
@media (max-width: 1024px) {
  .ba-header .bag_signin_list > li.ba-haccount { position: static !important; }
  .ba-header #user_login { top: calc(100% + 8px); right: 0; left: auto; width: min(280px, calc(100vw - 24px)); min-width: 0; }
  .ba-header #user_login::after { display: none; }
  .ba-header .contentt .bf-suggest { width: auto; max-height: 65vh; }
  .ba-ico { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; margin-right: 12px; border-radius: 50%; background: #fbeef2; color: #c2185b; font-size: 15px; }
  .ba-nav-link { display: flex; align-items: center; }
  .ba-nav-item.is-open > .ba-nav-row .ba-ico { background: #c2185b; color: #fff; }
  .ba-mega-h i { width: 18px; margin-right: 8px; color: #c2185b; text-align: center; }
}
@media (min-width: 1025px) { .ba-mega-h i { display: none; } }
/* mobile: the drawer lives inside the nav, so the nav must sit above the logo bar */
@media (max-width: 1024px) { .ba-nav { z-index: 70; } }

/* breadcrumb: the arrow sits on the same line as the text and no longer depends on the icon font */
ul.custom_breadC { display: flex; flex-wrap: wrap; align-items: center; row-gap: 4px;margin: 10px 0 4px; }
.custom_breadC li { display: inline-flex !important; align-items: center; padding-right: 0 !important; margin-right: 0 !important; position: static !important; line-height: 1.4; }
.custom_breadC li::after { content: '\203A' !important; position: static !important; top: auto !important; right: auto !important; margin: 0 10px; font-family: inherit !important; font-weight: 400 !important; font-size: 18px !important; line-height: 1; color: #6f6168 !important; }
.custom_breadC li:last-child::after { display: none; }
.custom_breadC li:last-child a, .custom_breadC li:last-child span { color: #c2185b; }
