/* Flipkart-style store header (appears when the header snippet is active) */
html body.yf-has-hdr #header { display: none !important; }
html body .yfh { position: sticky; top: 0; z-index: 999; background: #ffffff; color: #111827; box-shadow: 0 2px 8px rgba(17, 24, 39, .08); }
html body .yfh a { text-decoration: none; }

/* Row 1: category tabs + quick links */
html body .yfh__strip { border-bottom: 1px solid #f1f5f9; }
html body .yfh__strip-in { max-width: 1500px; margin: 0 auto; padding: 10px 24px 8px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
html body .yfh__tabs { display: flex; gap: 12px; }
html body .yfh__pill { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 24px; font-size: 14px; font-weight: 700; font-style: italic; color: #374151; background: #f3f4f6; border-radius: 12px; transition: background .15s ease, color .15s ease; }
html body .yfh__pill svg { color: #2563eb; }
html body .yfh__pill:hover { background: #e0ecff; color: #1d4ed8; }
html body .yfh__pill.is-active { background: #dbeafe; color: #1d4ed8; }
html body .yfh__quick { display: flex; align-items: center; gap: 22px; }
html body .yfh__quick a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #111827; }
html body .yfh__quick a svg { color: #2563eb; }
html body .yfh__quick a:hover { color: #2563eb; }

/* Row 2: logo, search, account, more, cart */
html body .yfh__main { max-width: 1500px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 22px; }
html body .yfh__logo { flex: none; display: flex; align-items: center; }
html body .yfh__logo img { display: block; height: 52px; width: auto; }
html body .yfh__search { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; height: 48px; padding: 0 6px 0 4px; background: #ffffff; border: 2px solid #3b82f6; border-radius: 12px; transition: box-shadow .15s ease; }
html body .yfh__search:focus-within { box-shadow: 0 0 0 4px rgba(59, 130, 246, .18); }
html body .yfh__search button { flex: none; width: 44px; height: 100%; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; color: #4b5563; background: transparent; border: 0; border-radius: 0; cursor: pointer; }
html body .yfh__search input[type="search"] { flex: 1 1 auto; min-width: 0; height: 100%; margin: 0; padding: 0 8px 0 0; font-size: 16px; color: #111827; background: transparent; border: 0; border-radius: 0; box-shadow: none; outline: 0; }
html body .yfh__dd { position: relative; flex: none; }
html body .yfh__ddbtn { display: inline-flex; align-items: center; gap: 8px; height: 44px; margin: 0; padding: 0 12px; font-size: 15px; font-weight: 600; color: #111827; background: transparent; border: 0; border-radius: 10px; cursor: pointer; }
html body .yfh__ddbtn svg:last-child { transition: transform .15s ease; }
html body .yfh__dd:hover .yfh__ddbtn, html body .yfh__dd:focus-within .yfh__ddbtn { color: #2563eb; background: #eff6ff; }
html body .yfh__dd:hover .yfh__ddbtn svg:last-child, html body .yfh__dd:focus-within .yfh__ddbtn svg:last-child { transform: rotate(180deg); }
html body .yfh__ddmenu { display: none; position: absolute; top: 100%; right: 0; z-index: 1001; min-width: 210px; padding: 8px 0; background: #ffffff; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 14px 34px rgba(17, 24, 39, .16); }
html body .yfh__dd:hover .yfh__ddmenu, html body .yfh__dd:focus-within .yfh__ddmenu { display: block; }
html body .yfh__ddmenu a { display: block; padding: 10px 18px; font-size: 14px; color: #111827; }
html body .yfh__ddmenu a:hover { background: #eff6ff; color: #2563eb; }
html body .yfh__cart { flex: none; display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; font-size: 15px; font-weight: 600; color: #111827; border-radius: 10px; transition: background .15s ease, color .15s ease; }
html body .yfh__cart:hover { background: #eff6ff; color: #2563eb; }
html body .yfh__carticon { position: relative; display: inline-flex; }
html body .yfh__carticon b { position: absolute; top: -9px; right: -10px; min-width: 20px; height: 20px; padding: 0 5px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #ffffff; background: #ef4444; border: 2px solid #ffffff; border-radius: 999px; }

/* Row 3: all categories + category links */
html body .yfh__nav { border-top: 1px solid #eef2f7; background: #ffffff; }
html body .yfh__nav-in { max-width: 1500px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 6px; }
html body .yfh__all { position: relative; flex: none; }
html body .yfh__allbtn { display: inline-flex; align-items: center; gap: 8px; height: 44px; margin: 0; padding: 0 14px 0 0; font-size: 14px; font-weight: 700; color: #111827; background: transparent; border: 0; border-radius: 0; cursor: pointer; }
html body .yfh__allbtn svg:first-child { color: #2563eb; }
html body .yfh__allbtn:hover, html body .yfh__all.is-open .yfh__allbtn { color: #2563eb; }
html body .yfh__links { display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; }
html body .yfh__links::-webkit-scrollbar { display: none; }
html body .yfh__links a { flex: none; padding: 11px 14px; font-size: 14px; font-weight: 500; color: #374151; border-bottom: 3px solid transparent; transition: color .15s ease, border-color .15s ease; }
html body .yfh__links a:hover { color: #2563eb; border-bottom-color: #2563eb; }

/* "All categories" panel: same menu as the old Shop dropdown */
html body .yfh__panel { display: none; position: absolute; top: 100%; left: 0; z-index: 1000; width: min(1100px, calc(100vw - 48px)); max-height: 78vh; overflow-y: auto; padding: 26px 32px; background: #ffffff; color: #111827; border: 1px solid #e5e7eb; border-radius: 0 0 12px 12px; box-shadow: 0 18px 40px rgba(17, 24, 39, .18); }
html body .yfh__all.is-open .yfh__panel { display: block; }
html body .yfh__panel .menu { list-style: none; margin: 0; padding: 0; }
html body .yfh__panel .menu > li:not(.yf-mega) { display: none; }
html body .yfh__panel .menu > li.yf-mega > a, html body .yfh__panel .ct-toggle-dropdown-desktop, html body .yfh__panel .ct-toggle-dropdown-desktop-ghost, html body .yfh__panel .ct-toggle-dropdown-mobile { display: none !important; }
html body .yfh__panel .menu > li.yf-mega > .sub-menu { position: static !important; opacity: 1 !important; visibility: visible !important; transform: none !important; display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: auto auto; grid-auto-flow: column; gap: 22px 36px; align-items: start; width: auto !important; margin: 0 !important; padding: 0 !important; list-style: none; background: transparent !important; box-shadow: none !important; }
html body .yfh__panel .menu > li.yf-mega > .sub-menu > li { display: block !important; width: 100% !important; margin: 0; padding: 0 !important; }
html body .yfh__panel #menu-item-6359 { order: 1; } html body .yfh__panel #menu-item-6360 { order: 2; } html body .yfh__panel #menu-item-6361 { order: 3; } html body .yfh__panel #menu-item-6362 { order: 4; } html body .yfh__panel #menu-item-6363 { order: 5; }
html body .yfh__panel #menu-item-6365 { order: 6; } html body .yfh__panel #menu-item-6364 { order: 7; } html body .yfh__panel #menu-item-6366 { order: 8; } html body .yfh__panel #menu-item-6367 { order: 9; } html body .yfh__panel #menu-item-6368 { order: 10; }
html body .yfh__panel #menu-item-6369, html body .yfh__panel #menu-item-6370 { display: none !important; }
html body .yfh__panel .menu > li.yf-mega > .sub-menu > li > a { display: block !important; margin: 0 0 6px !important; padding: 0 0 6px !important; font-size: 14px; font-weight: 700; line-height: 1.3; color: #111827 !important; text-transform: none !important; border-bottom: 2px solid #60a5fa; }
html body .yfh__panel .sub-menu .sub-menu { position: static !important; opacity: 1 !important; visibility: visible !important; transform: none !important; display: block !important; width: 100% !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; list-style: none; background: transparent !important; box-shadow: none !important; }
html body .yfh__panel .sub-menu .sub-menu li { display: block !important; width: 100% !important; }
html body .yfh__panel .sub-menu .sub-menu a { display: block !important; padding: 3px 0 !important; font-size: 13.5px; font-weight: 400; line-height: 1.35; color: #4b5563 !important; text-transform: none !important; white-space: nowrap; }
html body .yfh__panel .sub-menu .sub-menu a:hover { color: #2563eb !important; }

@media (max-width: 999px) {
	html body .yfh__panel { display: none !important; }
	html body .yfh__strip-in { padding: 8px 16px 6px; }
	html body .yfh__pill { height: 38px; padding: 0 16px; font-size: 13px; }
	html body .yfh__quick { display: none; }
	html body .yfh__main { flex-wrap: wrap; gap: 10px 8px; padding: 10px 16px; }
	html body .yfh__logo img { height: 42px; }
	html body .yfh__logo { margin-right: auto; }
	html body .yfh__search { order: 9; flex: 1 1 100%; height: 44px; }
	html body .yfh__dd:nth-of-type(2) { display: none; }
	html body .yfh__ddbtn span { display: none; }
	html body .yfh__cart span:last-child { display: none; }
	html body .yfh__nav-in { padding: 0 8px 0 16px; }
}
