/* HeaderFontIcons — icon font from original Asian Paints site */
@font-face {
  font-family: HeaderFontIcons;
  src: url('/eds/fonts/header-font-icons.woff2') format('woff2');
  font-display: swap;
  unicode-range: U+E000-E00F;
}

/* Header Block Styles */

/* Override EDS wrapper to allow megamenu dropdown to paint outside header bounds */
.header-wrapper {
  overflow: visible !important;
  contain: none !important;
}

.header {
  /* Asian Paints nav L1 hover underline (yellow → red → purple) */
  --header-nav-underline-gradient: linear-gradient(91.16deg, #feb940 1.46%, #ee4137 51.38%, #431a80);
  --header-brand-bg: #000;
  --header-white: #fefefd;
  --header-border: #cacbcc;
  --header-text-dark: #1a1a1a;
  --header-nav-text: #2f2f2f;
  --header-text-gray: #666;
  --header-text-light: #888;
  --header-search-underline: #b0b1b3;
  --header-yellow: #f5a623;
  --header-max-width: 1440px;
  --header-brand-height: 40px;
  --header-main-height: 60px;
  --header-nav-height: 40px;
  --header-logo-slot-width: clamp(204px, calc(15vw - 12px), 275.39px);
  --header-search-width-fluid: clamp(345px, calc(20vw - 20px), 459px);
  --header-action-gap: clamp(14.3906px, calc(1.5vw - 7.2094px), 21.5312px);
  --header-cta-gap: clamp(14.5px, calc(23.5vw - 323.9px), 126.359px);
}

/* ========================================
   ROW 0: BRAND BAR (Dark Blue)
   ======================================== */
.header .header-brands {
  background-color: var(--header-brand-bg);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: var(--header-brand-height);
}

/* Asian Paints B2B link on the right of the brand bar */
.header .brand-b2b {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

@media (max-width: 991px) {
  .header .brand-b2b {
    background: #232426;
  }
}

.header .brand-b2b picture,
.header .brand-b2b img {
  display: block;
  height: auto;
  max-height: calc(var(--header-brand-height) - 16px);
  width: auto;
}

.header.desktop-scrolled .header-brands {
  transform: translateY(calc(-1 * var(--header-brand-height)));
  pointer-events: none;
}

.header.desktop-scrolled .header-sticky {
  top: 0;
}

.header .header-brands-inner {
  display: flex;
  justify-content: center;
  align-items: stretch;
  width: max-content;
  margin: 0 auto;
  height: 100%;
}

.header .brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 129px;
  height: 100%;
  padding: 0;
  text-decoration: none;
  transition: background-color 0.2s ease;
  border-radius: 4px 4px 0 0;
  overflow: hidden;
  box-sizing: border-box;
}

.header .brand-item-picture-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.header .brand-item-picture-desktop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.header .brand-item-picture-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.header .brand-item:nth-child(1) {
  margin-right: 25px;
}

.header .brand-item:nth-child(2) {
  margin-right: 10px;
}

.header .brand-item.active {
  background-color: #fff;
}

.header .brand-item.active img {
  padding: 0 5px;
}

.header .brand-item img {
  display: block;
  width: 129px;
  max-width: 129px;
  height: auto;
  object-fit: contain;
}


/* ========================================
   STICKY WRAPPER (Rows 1 + 2)
   ======================================== */
.header .header-sticky {
  position: fixed;
  top: var(--header-brand-height);
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-white);
}

/* ========================================
   ROW 1: MAIN HEADER (Logo, Search, Actions, CTA)
   ======================================== */
.header .header-main {
  background-color: var(--header-white);
  height: var(--header-main-height);
}

.header .header-main-inner {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0 40px;
  gap: 0;
  height: 100%;
  box-sizing: border-box;
}

/* Logo */
.header .header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  width: var(--header-logo-slot-width);
}

/* stylelint-disable-next-line no-descending-specificity */
.header .header-logo img {
  display: block;
  width: 160px;
  height: 31px;
  object-fit: contain;
}

/* Search bar */
.header .header-search {
  display: flex;
  align-items: center;
  flex: 0 0 var(--header-search-width-fluid);
  width: var(--header-search-width-fluid);
  max-width: var(--header-search-width-fluid);
  height: 41px;
  margin-left: 40px;
  border: none;
  border-bottom: 0.5px solid var(--header-search-underline);
  box-sizing: border-box;
  padding: 0;
  position: relative;

  @media (min-width: 1440px) {
    margin-left: 5px;
  }
}

.header .search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.header .search-icon::before {
  content: '\e005';
  /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword */
  font-family: HeaderFontIcons;
  font-size: 22px;
  color: rgb(93 79 67 / 92.5%);
  font-weight: 500;
  font-style: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* stylelint-disable-next-line no-descending-specificity */
.header .search-icon img {
  display: none;
}

.header .search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: #8c8e90;
  outline: none;
  padding: 0;
  font-family: inherit;
}

.header .search-input::placeholder {
  color: #8c8e90;
}

.header .camera-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  margin-left: auto;
  width: 24px;
  height: 25px;
  overflow: visible;
}

.header .camera-btn::before {
  content: '';
  display: inline-block;
  width: 21px;
  height: 21px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='-1 -1 26 26' fill='none' stroke='%23111827' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 19a2 2 0 01-2 2H3a2 2 0 01-2-2V8a2 2 0 012-2h4l2-3h6l2 3h4a2 2 0 012 2z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  color: #111827;
}

/* stylelint-disable-next-line no-descending-specificity */
.header .camera-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.5;
}

/* Action icons */
.header .header-actions {
  display: flex;
  align-items: center;
  gap: var(--header-action-gap);
  margin-left: auto;
  margin-right: 9px;
}

.header .action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  text-decoration: none;
  color: var(--header-text-dark);
  border-radius: 0;
  transition: background 0.2s ease;
  position: relative;
}

@media (min-width: 1280px) and (max-width: 1365px) {
  .header .header-search {}
}

@media (width >=992px) {

  .header .header-actions>.action-btn:hover,
  .header .header-actions>.action-btn:focus-visible {
    background: linear-gradient(90.85deg, #f6edff 2.92%, #ffe9ea 61.17%, #fef4e1 98.14%);
    border-radius: 50%;
  }

  .header .profile-dropdown-wrapper .profile-auth-link:hover,
  .header .profile-dropdown-wrapper .profile-auth-link:focus-visible {
    background: linear-gradient(90.85deg, #f6edff 2.92%, #ffe9ea 61.17%, #fef4e1 98.14%);
    border-radius: 50%;
  }

  .header .action-btn .icon-tooltip-text,
  .header .profile-dropdown-wrapper .profile-auth-link .icon-tooltip-text {
    visibility: hidden;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    z-index: 1200;
    width: auto;
    height: auto;
    padding: 5px 10px;
    border-radius: 3px;
    background-color: #fdf3e4;
    color: #000;
    font-family: Manrope, var(--body-font-family, 'Helvetica Neue', helvetica, ubuntu, roboto, noto, arial, sans-serif);
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    letter-spacing: 0;
    text-align: center;
    white-space: normal;
    pointer-events: none;
    transform: translateX(-50%);
  }

  .header .action-btn .icon-tooltip-text::after,
  .header .profile-dropdown-wrapper .profile-auth-link .icon-tooltip-text::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #fdf3e4;
  }

  .header .action-btn:hover .icon-tooltip-text,
  .header .action-btn:focus-visible .icon-tooltip-text,
  .header .profile-dropdown-wrapper .profile-auth-link:hover .icon-tooltip-text,
  .header .profile-dropdown-wrapper .profile-auth-link:focus-visible .icon-tooltip-text {
    visibility: visible;
  }

  .header .action-btn .icon-tooltip-text-stacked {
    padding: 6px 12px 7px;
    background-color: #fef6eb;
    color: #2f2f2f;
    font-weight: 500;
    line-height: 1.2;
    box-shadow: 0 1px 4px rgb(0 0 0 / 6%);
  }

  .header .action-btn .icon-tooltip-text-stacked::after {
    border-color: transparent transparent #fef6eb;
  }

  .header .action-btn .icon-tooltip-text-stacked .icon-tooltip-line {
    display: block;
  }
}

/* stylelint-disable-next-line no-descending-specificity */
.header .action-btn img {
  width: auto;
  max-width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Store & profile: use HeaderFontIcons like original site */
.header .action-btn.store-btn,
.header .action-btn.profile-btn {
  position: relative;
}

.header .action-btn.store-btn::before {
  content: '\e006';
  /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword */
  font-family: HeaderFontIcons;
  font-size: 24px;
  font-weight: 500;
  font-style: normal;
  line-height: 1;
  color: rgb(93 79 67 / 92.5%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.header .action-btn.profile-btn::before {
  content: '\e004';
  /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword */
  font-family: HeaderFontIcons;
  font-size: 24px;
  font-weight: 500;
  font-style: normal;
  line-height: 1;
  color: rgb(93 79 67 / 92.5%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hide font icon when logged in, show image instead */
.header .action-btn.profile-btn.logged-in::before {
  display: none;
}

.header .action-btn.store-btn img,
.header .action-btn.profile-btn img {
  display: none;
}

.header .action-btn.profile-btn.logged-in img {
  display: flex;
}

.header .profile-dropdown-wrapper,
.header .profile-dropdown-wrapper .profile-auth-link {
  width: 40px;
  height: 40px;
}

.header .action-btn.cart-btn {
  width: 34px;
}

/* Profile dropdown */
.header .profile-dropdown-wrapper {
  position: relative;
}

.header .profile-dropdown-wrapper .profile-auth-link {
  position: relative;
}

.header .header-actions>.profile-dropdown-wrapper {
  margin-right: 6px;
}

.header .profile-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--header-border);
  border-radius: 5px;
  box-shadow: 0 4px 16px #0000001A;
  padding: 12px;
  z-index: 1100;
}

.header .profile-dropdown.active {
  display: block;
}

.header .profile-dropdown-greeting {
  font-size: 14px;
  font-weight: 500;
  color: var(--header-text-dark);
  margin: 0;
  padding-bottom: 12px;
  /* border-bottom: 1px solid var(--header-border); */
}

.header .profile-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  color: var(--header-text-dark);
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.header .profile-dropdown-item:hover {
  cursor: pointer;
  background: linear-gradient(90.85deg, #f6edff 2.92%, #ffe9ea 61.17%, #fef4e1 98.14%);
  border: 1px solid #cccccc66;
  border-radius: 10px;
}

.header .profile-dropdown-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.header .profile-dropdown-icon svg {
  width: 20px;
  height: 20px;
}

.header .profile-dropdown-signout {
  display: block;
  width: calc(100% - 40px);
  margin: 12px 20px 0;
  padding: 10px 16px;
  background: #fff;
  border: 2px solid var(--header-text-dark);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--header-text-dark);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  margin: 0;
  margin-top: 8px;
  border: 1px solid #232426;
  border-radius: 20px;
  padding: 14px 20px;
  font-width: 700;
  display: inline-flex;
  gap: 10px;
  height: 38px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.header .profile-dropdown-signout:hover {
  background: #fff7e8;
}

/* Cart badge */
.header .cart-badge {
  position: absolute;
  top: 6px;
  right: 0;
  background: #7345b2;
  color: white;
  font-size: 8px;
  font-weight: 600;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}

/* CTA button */
.header .header-cta {
  flex-shrink: 0;
  /* margin-left: var(--header-cta-gap); */
  margin-left: 1.3%;
}

.header .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #fcaf17;
  color: #232426;
  padding: 5.5px 20px;
  border-radius: 45px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
  white-space: nowrap;
  transition: background-color 0.25s ease;
  box-sizing: border-box;
  cursor: pointer;
}

.header .cta-btn:hover {
  background: #fdbf45;
}

.header .cta-btn.trigger-exit-intent-popup-form {
  background: #fcaf17;
  letter-spacing: normal;
  color: #232426;
}

.header .cta-btn.trigger-exit-intent-popup-form:hover {
  background: #fdbf45;
}

/* Mobile search icon (hidden on desktop) */
.header .mobile-search-btn {
  display: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.header .mobile-search-btn::before {
  content: '\e005';
  /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword */
  font-family: HeaderFontIcons;
  font-size: 22px;
  color: rgb(93 79 67 / 92.5%);
  font-weight: 500;
  font-style: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* stylelint-disable-next-line no-descending-specificity */
.header .mobile-search-btn img {
  display: none;
}

.header .mobile-home-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
}

.header .mobile-home-btn::before {
  content: '';
  display: block;
  width: 26px;
  height: 25px;
  background-image: url('/eds/icons/home-icon-desktop.svg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* Hamburger (hidden on desktop) */
.header .nav-hamburger {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
}

.header .hamburger-icon,
.header .hamburger-cross {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.header .hamburger-icon {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--header-text-dark);
}

.header .hamburger-icon::before,
.header .hamburger-icon::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--header-text-dark);
  left: 0;
}

.header .hamburger-icon::before {
  top: -6px;
}

.header .hamburger-icon::after {
  bottom: -6px;
}

.header .hamburger-cross {
  display: none;
  width: 25px;
  height: 25px;
}

.header .hamburger-cross::before,
.header .hamburger-cross::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 2px;
  background: var(--header-text-dark);
  top: 50%;
  left: 0;
}

.header .hamburger-cross::before {
  transform: rotate(45deg);
}

.header .hamburger-cross::after {
  transform: rotate(-45deg);
}

/* Hamburger open state: swap icon for cross */
.header .nav-hamburger.is-open .hamburger-icon {
  display: none;
}

.header .nav-hamburger.is-open .hamburger-cross {
  display: block;
}

/* ========================================
   ROW 2: NAVIGATION BAR
   ======================================== */
.header .header-nav-bar {
  background-color: var(--header-white);
  height: var(--header-nav-height);
  min-height: var(--header-nav-height);
  max-height: var(--header-nav-height);
  border-top: 1px solid #efefef;
  padding: 0;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.header .header-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 0;
  height: 100%;
  box-sizing: border-box;
}

.header .nav-left {
  display: flex;
  align-items: center;
  flex: 0 0 calc(50% + 30px);
  width: calc(50% + 30px);
}

/* Main navigation */
.header .main-nav {
  display: flex;
  align-items: center;
  width: 100%;
  margin-left: 17px;
}

.header .nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.header .nav-item {
  position: relative;
}

.header .nav-link {
  display: block;
  padding: 11px 8px;
  text-decoration: none;
  color: var(--header-nav-text);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  height: auto;
  line-height: 12.46px;
  position: relative;
  transition: color 0.2s ease;
}

/* Gradient underline on hover (Asian Paints main nav) */
.header .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 8px;
  right: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--header-nav-underline-gradient);
  transform: scaleX(0);
  transition: transform 0.2s ease;
  transform-origin: center;
}

.header .nav-item:hover>.nav-link::after,
.header .nav-item.active>.nav-link::after {
  transform: scaleX(1);
}

/* Home item in nav list */
.header .nav-item.nav-home .nav-link {
  display: block;
  width: 20px;
  height: 19px;
  margin-left: 28px;
  padding: 0;
  line-height: normal;
}

.header .nav-item.nav-home {
  display: flex;
  align-items: center;
  flex: 0 0 65px;
  height: 23px;
  margin-right: -4px;
  width: 65px;
}

.header .nav-item.nav-home .nav-link::before {
  content: '';
  display: block;
  width: 20px;
  height: 19px;
  background-image: url('/eds/icons/home-icon-desktop.svg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.header .nav-item.nav-home .nav-link::after {
  display: none;
}

/* Dropdown chevron (hidden — source doesn't show chevrons on desktop nav items) */
.header .nav-chevron {
  display: none;
}

/* Back button: hidden on desktop, shown on mobile */
.header .dropdown-back {
  display: none;
}

/* Megamenu dropdown panel */
.header .nav-dropdown {
  position: absolute;
  top: 36px;
  left: -30px;
  background: var(--header-white);
  border-radius: 0 0 10px 10px;
  box-shadow: 4px 4px 16px 0 rgb(0 0 0 / 10%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
  min-width: 200px;
}

.header .nav-item-1>.nav-dropdown,
.header .nav-item-2>.nav-dropdown {
  left: -40px;
}

.header .nav-item.has-dropdown.active>.nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header .dropdown-inner {
  display: flex;
  padding: 0;
  gap: 0;
  padding: 0px 30px 15px;
}

.header .dropdown-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: max-content;
  min-width: 0;
}

.header .dropdown-column:not(:last-child) {
  padding-right: 28px;
}

.header .dropdown-column-wide {
  min-width: max-content;
}

.header .dropdown-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  color: #8e9093;
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
  padding: 14px 0 6px 17px;
  white-space: nowrap;
}

.header .dropdown-links {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header .dropdown-links-split {
  display: flex;
  gap: 28px;
  align-items: start;
  width: max-content;
}

.header .dropdown-column-no-title>.dropdown-links,
.header .dropdown-column-no-title>.dropdown-links-split {
  padding-top: 20px;
}

.header .dropdown-links li {
  margin: 0;
}

.header .dropdown-links a {
  display: block;
  padding: 10px 12px 10px 17px;
  color: #2e2f31;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  border: 1px solid transparent;
  border-radius: 10px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.header .dropdown-links a:hover {
  color: #232426;
  background: linear-gradient(90.85deg, #f6edff 2.92%, #ffe9ea 61.17%, #fef4e1 98.14%);
  border-color: #ccc6;
}

/* New badge */
.header .new-badge {
  display: inline-block;
  background: #00c853;
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 3px;
  border-radius: 2px;
  margin-left: 3px;
  vertical-align: middle;
  line-height: 1.2;
}

/* Secondary navigation (right side of nav bar) */
.header .nav-right {
  display: flex;
  align-items: center;
  flex: 0 0 calc(50% - 30px);
  width: calc(50% - 30px);
  justify-content: flex-end;
}

.header .secondary-nav {
  width: 100%;
}

.header .secondary-nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0 40px 0 0;
  width: 100%;
  box-sizing: border-box;
}

/* stylelint-disable-next-line no-descending-specificity */
.header .secondary-nav-list a {
  display: block;
  padding: 13px 8px;
  color: var(--header-nav-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  height: auto;
  line-height: 12.46px;
  position: relative;
  transition: color 0.2s ease;
}

.header .secondary-nav-list a::after {
  content: '';
  position: absolute;
  bottom: -0.5px;
  left: 8px;
  right: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--header-nav-underline-gradient);
  transform: scaleX(0);
  transition: transform 0.2s ease;
  transform-origin: center;
}

.header .secondary-nav-list a:hover::after {
  transform: scaleX(1);
}

/* ========================================
   BODY padding for fixed header
   ======================================== */
body.nav-open {
  overflow: hidden;
}

/* ========================================
   MOBILE STYLES (< 992px)
   ======================================== */
@media (width <=991px) {
  .header {
    --header-brand-bg: #000;
    /* On mobile the brand bar stacks two rows:
       - B2B strip on top (--header-b2b-height)
       - Brand logos row below (40px)
       --header-brand-height therefore includes both. */
    --header-b2b-height: 28px;
    --header-brand-height: calc(40px + var(--header-b2b-height));
    --header-main-height: 56px;
  }

  /* Stack B2B row above the brand-logos row on mobile */
  .header .header-brands {
    display: flex;
    flex-direction: column;
  }

  body.nav-open .header-main-inner {
    align-items: end;
  }

  .header .header-brands,
  .header .header-sticky,
  .header .mobile-search-panel {
    transition:
      top 0.2s ease,
      transform 0.2s ease;
  }

  .header .header-brands,
  .header .header-sticky,
  .header .header-main,
  .header .header-main-inner {
    width: 100vw;
    width: 100dvw;
    max-width: 100%;
  }

  .header .header-brands-inner {
    width: 100%;
    max-width: 100%;
    margin: 0;
    height: 40px;
    justify-content: flex-start;
    overflow: hidden;
  }

  /* B2B occupies its own top row on mobile — full width, centered.
     `order: -1` lifts it above `.header-brands-inner` in the column
     regardless of DOM order (JS prepends the inner list). */
  .header .brand-b2b {
    position: static;
    transform: none;
    top: auto;
    right: auto;
    order: -1;
    width: 100%;
    height: var(--header-b2b-height);
    justify-content: center;
    padding: 0 12px;
  }

  .header .brand-b2b picture,
  .header .brand-b2b img {
    max-height: calc(var(--header-b2b-height) - 11px);
  }

  .header .brand-item {
    flex: 0 0 auto;
    padding: 0;
  }

  .header .brand-item-picture-desktop {
    display: none;
  }

  .header .brand-item-picture-mobile {
    display: inline-flex;
  }

  .header .brand-item:nth-child(1) {
    width: 130px;
    margin-right: 0;
  }

  .header .brand-item:nth-child(2) {
    width: 148px;
    margin-right: 0;
    padding: 0 10px;
  }

  .header .brand-item:nth-child(3) {
    width: 55px;
    overflow: visible;
  }

  .header .brand-item img {
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: contain;
  }

  .header .brand-item:nth-child(3) img {
    width: 129px;
    height: 55px;
    max-width: none;
    object-fit: contain;
  }

  .header .brand-item:not(.active) img {
    filter: brightness(0) invert(1);
  }

  .header .header-main-inner {
    padding: 0 16px;
    gap: 0;
  }

  .header .header-logo {
    display: none;
  }

  .header .nav-hamburger {
    display: flex;
    order: -1;
    width: 40px;
    height: 40px;
    padding: 0;
  }

  .header .header-search {
    display: none;
  }

  .header .mobile-search-btn {
    display: flex;
  }

  .header .header-actions {
    margin-left: auto;
    gap: 6px;
  }

  .header .icon-tooltip-text {
    display: none !important;
  }

  .header .action-btn {
    width: 40px;
    height: 40px;
  }

  /* stylelint-disable-next-line no-descending-specificity */
  .header .action-btn img {
    width: 24px;
    height: 24px;
  }

  /* Floating CTA in mobile  */
  @media (width <=991px) {
    .header .header-cta {
      display: block;
      position: fixed;
      right: 65px;
      bottom: 32px;
      z-index: 1500;
      margin-left: 0;
    }

    .header .cta-btn {
      width: auto;
      min-width: 156px;
      height: 32px;
      padding: 10px 18px;
      box-shadow: 0 6px 18px rgb(0 0 0 / 22%);
    }

    body.nav-open .header .header-cta {
      display: none;
    }
  }

  body.nav-open .header .header-actions {
    display: none;
  }

  body.nav-open .header .mobile-home-btn {
    display: flex;
    margin-left: auto;
  }

  .header .header-nav-bar {
    display: none;
    position: fixed;
    inset: calc(var(--header-brand-height) + var(--header-main-height)) 0 0;
    width: 100vw;
    width: 100dvw;
    min-height: calc(100dvh - var(--header-brand-height) - var(--header-main-height));
    background: var(--header-white);
    overflow: hidden auto;
    scrollbar-width: none;
    z-index: 999;
    border-top: none;
    box-sizing: border-box;
  }

  .header .header-nav-bar.mobile-open {
    display: block;
  }

  .header.mobile-scrolled .header-brands {
    transform: translateY(calc(-1 * var(--header-brand-height)));
    pointer-events: none;
  }

  .header.mobile-scrolled .header-sticky {
    top: 0;
  }

  .header.mobile-scrolled .header-nav-bar {
    inset: var(--header-main-height) 0 0;
    min-height: calc(100dvh - var(--header-main-height));
  }

  .header .header-nav-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    min-height: 100%;
    overflow: visible;
    position: relative;
    box-sizing: border-box;
  }

  .header .nav-left,
  .header .nav-right {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    flex-shrink: 0;
    transition: visibility 0s 0.25s;
  }

  .header .nav-left {
    padding-top: 34px;
    box-sizing: border-box;
  }

  .header .nav-right {
    margin-top: auto;
    justify-content: unset;
    margin-left: 17px;
  }

  .header .nav-right .secondary-nav .secondary-nav-list li {
    width: 92%;
  }

  .header .nav-right .secondary-nav .secondary-nav-list li a {
    padding-left: 0;
  }

  .header .header-nav-inner.has-active-panel .nav-right {
    visibility: hidden;
    pointer-events: none;
  }

  .header .main-nav,
  .header .secondary-nav {
    width: 100%;
  }

  .header .nav-list,
  .header .secondary-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }

  .header .nav-item.nav-home {
    display: none;
  }

  .header .nav-item {
    border-bottom: 1px solid var(--header-border);
    width: 92%;
  }

  .header .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 53px;
    padding: 12px 0;
    box-sizing: border-box;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    color: #000;
    width: auto;
  }

  .header .nav-link::after {
    display: none;
  }

  .header .nav-item.has-dropdown .nav-chevron {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid #756d61;
    border-bottom: 1.5px solid #756d61;
    transform: rotate(-45deg);
    flex-shrink: 0;
    margin-left: auto;
    margin-right: 7px;
  }

  /* stylelint-disable-next-line no-descending-specificity */
  .header .nav-item>.nav-dropdown {
    position: fixed;
    inset: calc(var(--header-brand-height) + var(--header-main-height)) 0 0;
    left: 0;
    width: 100vw;
    width: 100dvw;
    min-width: 0;
    min-height: calc(100dvh - var(--header-brand-height) - var(--header-main-height));
    box-shadow: none;
    opacity: 1;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.25s ease-in-out;
    background: var(--header-white);
    z-index: 2;
    overflow: hidden auto;
    scrollbar-width: none;
    pointer-events: none;
    box-sizing: border-box;
  }

  .header .nav-item.has-dropdown.active>.nav-dropdown {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .header .dropdown-back {
    display: flex;
    align-items: center;
    min-height: 53px;
    padding: 28px 0 16px;
    margin: 0 17px;
    box-sizing: border-box;
    font-family: Manrope, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 34px;
    color: var(--header-text-dark);
    cursor: pointer;
    border-bottom: none;
  }

  .header .dropdown-back .back-arrow {
    font-size: 24px;
    margin-right: 10px;
    line-height: 1;
    font-weight: 500;
    ;
  }

  .header .dropdown-inner {
    flex-direction: column;
    padding: 0;
    gap: 0;
  }

  .header .dropdown-column {
    padding: 0 16px 16px;
    border-bottom: 1px solid var(--header-border);
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .header .dropdown-column:last-child {
    border-bottom: none;
  }

  .header .dropdown-links-split {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .header .dropdown-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 16px;
    padding: 8px 0 0;
    color: #8c8e90;
    text-transform: none;
    letter-spacing: normal;
    line-height: 21px;
    position: sticky;
    top: 0;
    background: var(--header-white);
    z-index: 1;
  }

  .header .dropdown-links {
    width: 100%;
  }

  .header .dropdown-links a {
    display: block;
    position: relative;
    padding: 0 0 20px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #232426;
    width: 100%;
    border: none;
    border-radius: 0;
    background: none;
  }

  /* stylelint-disable-next-line no-descending-specificity */
  .header .dropdown-links a:hover {
    background: none;
    border-color: transparent;
  }

  .header .dropdown-links a::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 5px;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid var(--header-text-dark);
    border-bottom: 1.5px solid var(--header-text-dark);
    transform: translateY(-50%) rotate(-45deg);
  }

  .header .secondary-nav-list {
    /* padding-top: 104px; */
    padding-top: 0;
    border-top: none;
  }

  .header .secondary-nav-list li {
    border-bottom: 1px solid var(--header-border);
  }

  /* stylelint-disable-next-line no-descending-specificity */
  .header .secondary-nav-list a {
    min-height: 53px;
    padding: 14px 16px 13px;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
    color: var(--header-text-dark);
  }

  .header .secondary-nav-list a::after {
    display: none;
  }

  .header .header-nav-bar::-webkit-scrollbar,
  .header .nav-dropdown::-webkit-scrollbar {
    display: none;
  }
}

/* ========================================
   VISUAL SEARCH MODAL (matches Asian Paints desktop-container)
   ======================================== */
.header .vs-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgb(0 0 0 / 50%);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.header .vs-modal-overlay.active {
  display: flex;
}

.header .vs-modal {
  background: #fff;
  width: 554px;
  position: relative;
  padding: 45px 55px;
  border-radius: 8px !important;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, .25);
  /* top: clears close btn; sides: gap to drop zone */
}

.header .vs-modal-header {
  position: absolute;
  top: 22px;
  right: 26px;
  border: 0;
  background: transparent;
  z-index: 1;
}

.header .vs-modal-close img {
  width: 24px;
  height: 24px;
}

.header .vs-modal-close:hover {
  color: #111;
}

/* Grey dotted border (Asian Paints --dotted-border-url) */
.header .vs-dropzone {
  /* border: 2px dotted #c9c9c9; */
  /* border-radius: 10px; */
  /* padding: 20px; */
  text-align: center;
  /* transition: border-color 0.2s, background-color 0.2s; */
  /* margin-top: 24px; */
  /* gap between dialog border and drop zone top */
  background-image: url('../../icons/grey-dotted-border.svg');
  padding: 35px 50px 25px;
}

.header .vs-dropzone.dragover {
  border-color: #1e7fd4;
  background: rgb(30 127 212 / 3%);
}

.header .vs-title {
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
  color: #1d1d1f;
  margin: 0;
  padding-bottom: 5px;
}

/* Drag-drop GIF area (Asian Paints drag-drop-image) */
.header .vs-upload-icon {
  margin: 0 auto;
  width: 120px;
  height: 100px;
  background-image: var(--drag-image-url);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: top;
}

.header .vs-drag-text {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin: 0 0 8px;
}

.header .vs-or {
  font-size: 20px;
  font-weight: 700;
  color: #a7a7a7;
  margin: 0;
  padding-bottom: 20px;
}

/* Browse button: pill-shaped, thin black border, search icon (Asian Paints browse-image-section) */
.header .vs-browse-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #000;
  border-radius: 45px;
  padding: 14px 20px;


  text-transform: none;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background-color 0.2s;

}

.header .vs-browse-btn span.vs-browse-label {
  font-size: 14px;
  font-weight: 700;
  line-height: 140%;
  color: #000;
}

.header .vs-browse-btn:hover {
  background: #f8f8f8;
}

.header .vs-browse-icon {
  display: flex;
  /* align-items: center;
  color: #222; */
}

.header .vs-browse-icon img {
  width: 20px;
  height: 20px;
  filter: invert(1);
}

.header .vs-file-input {
  display: none;
}

.header .vs-hint {
  margin: 0 0;
  font-size: 12px;
  font-weight: 500;
  line-height: normal;
  color: #a7a7a7;
  padding-top: 35px;
}

/* ========================================
   MOCK LOGIN MODAL (localhost only)
   ======================================== */
.header .mock-login-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgb(0 0 0 / 50%);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.header .mock-login-overlay.active {
  display: flex;
}

.header .mock-login-card {
  background: #fff;
  border-radius: 12px;
  width: 400px;
  max-width: 90vw;
  position: relative;
  padding: 32px 28px;
}

.header .mock-login-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: #666;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.header .mock-login-close:hover {
  color: #333;
}

.header .mock-login-title {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 24px;
  background: linear-gradient(135deg, #7c3aed 0%, #ea580c 100%);
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header .mock-login-card label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

.header .mock-login-input-wrap {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}

.header .mock-login-country {
  padding: 12px 16px;
  background: #f5f5f5;
  font-size: 16px;
  color: #333;
  border-right: 1px solid #ddd;
}

.header .mock-login-input {
  flex: 1;
  border: none;
  padding: 12px 16px;
  font-size: 16px;
  outline: none;
}

.header .mock-login-error {
  font-size: 12px;
  color: #dc2626;
  margin: -12px 0 12px;
}

.header .mock-login-proceed {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #f5a623 0%, #f5d623 100%);
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  margin-bottom: 20px;
}

.header .mock-login-proceed:hover {
  opacity: 0.95;
}

.header .mock-login-or {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin: 0 0 16px;
}

.header .mock-login-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 24px;
}

.header .mock-login-google:hover {
  background: #f9f9f9;
}

.header .mock-login-google-icon {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #4285f4, #ea4335);
  color: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

.header .mock-login-brands {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.header .mock-login-ap {
  color: #7c3aed;
  font-weight: 600;
}

.header .mock-login-asianpaints {
  color: #ea580c;
  font-weight: 600;
}

.header .mock-login-step-2 .mock-login-otp-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 16px;
}

.header .mock-login-step-2 .mock-login-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 12px;
}

.header .mock-login-edit-mobile {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 0;
  background: none;
  border: none;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  text-decoration: underline;
}

.header .mock-login-edit-mobile:hover {
  color: #333;
}

/* ========================================
   CART MODAL (Dropdown from cart icon)
   ======================================== */
.header .cart-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
}

.header .cart-modal-overlay .cart-item-remove:hover {
  background: linear-gradient(90.85deg, #f6edff 2.92%, #ffe9ea 61.17%, #fef4e1 98.14%);
}

.header .cart-modal-overlay.active {
  display: block;
}

.header .cart-modal .mini-cart-shade {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 150ms ease, visibility 150ms ease;
  z-index: 1998;
  border-radius: 10px;
}

.header .cart-modal.mini-cart-shade--show .mini-cart-shade {
  opacity: 1;
  visibility: visible;
}

.header .mini-cart-shade--textArea {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
}

.header .mini-cart-shade--textArea .rotating {
  display: inline-block;
  animation: mini-cart-rotate 1s linear infinite;
}

@keyframes mini-cart-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.header .cart-modal {
  position: fixed;
  top: var(--cart-top, 100px);
  right: var(--cart-right, 60px);
  left: auto;
  background-color: #fff;
  border-radius: 10px;
  width: 440px;
  height: 450px;
  /* padding: 30px 16px 16px 30px; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: -4px 4px 16px 0 rgb(0 0 0 / 25%);
  z-index: 1999;
}

.header .cart-modal::after {
  content: '';
  position: absolute;
  right: 25px;
  bottom: calc(100% - 7px);
  width: 13px;
  height: 13px;
  background-color: #fff;
  transform: rotate(45deg);
  border-top-left-radius: 2px;
}

.header .cart-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 20px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  display: none;
}

.header .cart-modal-close:hover {
  color: #333;
}

/* stylelint-disable-next-line no-descending-specificity */
.header img.cart-modal-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
}

.header .cart-modal-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 27.32px;
  color: #2f2f2f;
  margin: 0;
  padding: 30px 0;
}

.header .cart-modal-shop {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #232426;
  padding: 14px 20px;
  border: 1px solid #232426;
  border-radius: 45px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  height: 38px;
  box-sizing: border-box;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.header .cart-modal-shop::after {
  content: '';
  display: inline-block;
  width: 17px;
  height: 20px;
  background: url('/eds/icons/arrow-icon-new.svg') no-repeat center / contain;
  filter: contrast(1000%) invert(100%) sepia(100%) saturate(10000%) hue-rotate(90deg);
}

.header .cart-modal-shop:hover {
  background: #fff7e8;
  border-color: #232426;
  color: #232426;
}

@media (width <=991px) {
  .header .cart-modal {
    width: 342px;
    height: 448px;
    /* padding: 18px 12px 16px 16px; */
  }

  .header .cart-modal::after {
    right: 33px;
  }

  .header.mobile-scrolled .cart-modal-overlay .cart-modal {
    top: 50px !important;
  }

  .header.block.mobile-scrolled .nav-item>.nav-dropdown {
    margin-top: -40px;
  }
}

.header.desktop-scrolled .cart-modal-overlay .cart-modal {
  top: 55px !important;
}

/* ========================================
   MOBILE SEARCH PANEL
   ======================================== */
.header .mobile-search-panel {
  display: none;
  position: fixed;
  top: var(--header-brand-height);
  left: 0;
  right: 0;
  background: #fff;
  z-index: 1002;
  padding: 12px 16px;
  box-shadow: 0 4px 12px rgb(0 0 0 / 15%);
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.header .mobile-search-panel.active {
  display: flex;
}

@media (width <=991px) {
  .header.mobile-scrolled .mobile-search-panel {
    top: 0;
  }
}

.header .mobile-search-panel .search-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* stylelint-disable-next-line no-descending-specificity */
.header .mobile-search-panel .search-icon img {
  width: 20px;
  height: 20px;
  opacity: 0.5;
}

.header .mobile-search-panel .search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 16px;
  color: var(--header-text-dark);
  outline: none;
  padding: 0;
  font-family: inherit;
}

.header .mobile-search-panel .search-input::placeholder {
  color: var(--header-text-light);
}

/* stylelint-disable-next-line no-descending-specificity */
.header .mobile-search-panel .camera-btn {
  width: 24px;
  height: 24px;
}

.header .mobile-search-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  flex-shrink: 0;
}

/* ========================================
   PROFILE BUTTON & GREETING
   ======================================== */
.header .profile-btn {
  position: relative;
}

.header .profile-btn.logged-in img {
  filter: none;
}

.header .profile-greeting {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: -10px;
  background: var(--header-brand-bg);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1020;
}

.header .profile-greeting::before {
  content: '';
  position: absolute;
  top: -4px;
  right: 16px;
  width: 8px;
  height: 8px;
  background: var(--header-brand-bg);
  transform: rotate(45deg);
}

.header .profile-greeting.visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   CART ITEMS LIST (Non-empty cart)
   ======================================== */
.header .cart-modal.has-items {
  align-items: stretch;
  justify-content: flex-start;

  @media (min-width: 992px) and (max-height: 600px) {
    height: 430px;
  }
}

.header .cart-modal.has-items .cart-modal-icon {
  display: none;
}

.header .cart-modal.has-items .cart-modal-title {
  font-size: 16px;
  line-height: 21.86px;
  letter-spacing: 1px;
  font-weight: 800;
  text-transform: uppercase;
  /* padding: 0 0 10px; */
  text-align: left;
  padding: 30px 16px 16px 30px;

  @media (width <=991px) {
    padding: 18px 12px 0px 16px;
  }
}

.header .cart-items-list {
  text-align: left;
  overflow-y: auto;
  flex: 1;
  padding: 0 16px 16px 25px;
  max-height: calc(100% - 10px);
  padding-right: 16px;
  height: 307px;
  margin-right: 16px;

  overflow-y: auto;
  overflow-x: hidden;

  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: #a9a9a9 #f5f5f5;

  @media (width <=991px) {
    padding: 0px 12px 16px 16px;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
    margin-right: 0px;
  }

}


.header .cart-items-list {
  /* important: do not keep scrollbar-color here */
  scrollbar-width: auto;
  scrollbar-color: auto;
}

/* Chrome / Edge / Safari */
.header .cart-items-list::-webkit-scrollbar {
  width: 4px !important;
  background-color: white;

  @media (width <=991px) {
    display: none !important;
  }
}

/* Remove top and bottom arrow/button edges */
.header .cart-items-list::-webkit-scrollbar-button,
.header .cart-items-list::-webkit-scrollbar-button:single-button,
.header .cart-items-list::-webkit-scrollbar-button:vertical:decrement,
.header .cart-items-list::-webkit-scrollbar-button:vertical:increment {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
  background: transparent !important;
}

/* Full scrollbar placeholder / track bg */
.header .cart-items-list::-webkit-scrollbar-track {
  background-color: #a9a9a95c !important;
  border-radius: 100px !important;
  box-shadow: none !important;
}

.header .cart-items-list::-webkit-scrollbar-track-piece {
  background-color: #a9a9a95c !important;

}

/* Scroll thumb */
.header .cart-items-list::-webkit-scrollbar-thumb {
  background-color: #a9a9a9 !important;
  border-radius: 100px !important;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
}

/* Firefox only */
@supports (-moz-appearance: none) {
  .header .cart-items-list {
    scrollbar-width: thin;
    scrollbar-color: #a9a9a9 #a9a9a95c;
  }
}



@media (min-width: 320px) and (max-width:991px) {
  .header .cart-items-list::-webkit-scrollbar {
    width: 0
  }
}

.header .cart-items-list:empty {
  display: none;
}

.header .cart-item-row {
  display: grid;
  grid-template-columns: 75px 1fr 32px;
  grid-template-rows: auto auto;
  gap: 16px 16px;
  align-items: start;
  padding: 20px 0;
  /* border-bottom: none; */
  row-gap: 0;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0;
}

.header .cart-item-image {
  grid-row: 1 / 3;
  display: block;
  /* width: 72px;
  height: 104px; */
  cursor: pointer;
  width: auto;
  height: 82px;
  transform: translate(-3px, 0px);
}

.header .cart-item-image img {
  width: 100%;
  height: 100%;
}

.header .cart-item-details {
  display: flex;
  flex-direction: column;
  gap: 38px;
  width: 95%;
}

.header .cart-item-details .cart-item-name {
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
}

.header .cart-item-name {
  color: #000;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.header .cart-item-price {
  font-size: 14px;
  font-weight: 700;
  line-height: 15.4px;
  margin-bottom: 0;
  color: #000;
}

.header .cart-item-remove {
  cursor: pointer;
  height: 24px;
  width: 24px;
  border: 1px solid #efefef;
  border-radius: 100px;
  cursor: pointer;
}

.header .cart-item-remove::after {
  content: "";
  background: url('/eds/icons/delete-icon.svg') no-repeat;
  display: block;
  height: 18px;
  width: auto;
  background-position: center;
}

.header .cart-item-qty-control {
  grid-column: 2 / 4;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
  /* min-width: 120px; */
  height: 36px;
  padding: 0 14px;
  border: 1px solid #eee;
  border-radius: 6px;
  border: 1px solid #eee;
  transform: translate(0px, -20px);
  width: 96px;
  padding: 2px 4px;
}

.header .cart-item-qty-control button {
  border: none;
  background: none;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  color: #222;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
}

.header .cart-item-qty-control button:hover {
  background: linear-gradient(90.85deg, #f6edff 2.92%, #ffe9ea 61.17%, #fef4e1 98.14%);
}

.header .cart-item-row:last-child {
  border-bottom: none;
}

.header .cart-item-name {
  color: #000;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  line-height: 17.76px;
}

.header .cart-item-qty {
  color: #000;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 15.4px;
}

.header .cart-modal-total {
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  background-color: #fff;
  min-height: 82px;
  padding: 16px 24px;
  box-shadow: -4px 4px 16px 0 rgb(0 0 0 / 20%);
  border-radius: 10px;
  flex-shrink: 0;
}

.header .cart-total-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.header .cart-modal-total .cart-modal-shop {
  margin-left: auto;
  min-width: 142px;
  justify-content: center;
}

.header .cart-modal-total.visible {
  display: flex;
}

.header .cart-modal-total .total-label {
  font-size: 14px;
  font-weight: 500;
  line-height: 19.12px;
  color: #000;
}

.header .cart-modal-total .total-price {
  font-size: 20px;
  line-height: 22px;
  font-weight: 700;
  color: #000;
}

/* ========================================
   VISUAL SEARCH: STATUS & ERROR MESSAGES
   ======================================== */
.header .vs-status {
  font-size: 14px;
  color: var(--header-brand-bg);
  margin: 12px 0 0;
  font-weight: 600;
}

.header .vs-error {
  font-size: 13px;
  color: #e74c3c;
  margin: 10px 0 0;
  font-weight: 500;
}

/* ========================================
   SEARCH DIALOG (Full-screen overlay)
   ======================================== */
.header .search-dialog-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgb(17 24 39 / 34%);
  z-index: 2000;
  align-items: flex-start;
  justify-content: center;
  padding: 10px 12px 12px;
  overflow-y: auto;
}

.header .search-dialog-overlay.active {
  display: flex;
}

body.search-dialog-open {
  overflow: hidden;
}

/* Match Asian Paints modal-body: 860px, padding 14px 40px 14px 14px */
.header .search-dialog {
  position: relative;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 14px;
  width: min(860px, calc(100vw - 24px));
  max-height: min(620px, calc(100vh - 20px));
  overflow: auto;
  box-shadow: 0 10px 28px rgb(16 24 40 / 22%);
  padding: 14px 40px 14px 14px;
  box-sizing: border-box;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  line-height: 22px;
  color: #222;
}

/* Search bar: Asian Paints header-unification-globalsearch - height 40px, margin 5px 28px 0, border 1px #222, radius 45px */
.header .sd-search-bar {
  display: flex;
  align-items: center;
  height: 40px;
  margin: 5px 28px 0;
  padding: 0 16px;
  gap: 10px;
  max-width: 750px;
  border: 1px solid #222;
  border-radius: 45px;
  position: sticky;
  top: 10px;
  background: #fff;
  z-index: 3;
  box-sizing: border-box;
}

.header .sd-search-icon {
  display: flex;
  flex-shrink: 0;
  color: #3f3f46;
}

/* stylelint-disable-next-line no-descending-specificity */
.header .sd-search-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentcolor;
}

.header .sd-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  color: #222;
  outline: none;
  padding: 0;
  font-family: Manrope, sans-serif;
}

.header .sd-search-input::placeholder {
  color: #8f8f8f;
}

.header .sd-camera-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 26px;
  height: 26px;
  padding: 0;
  flex-shrink: 0;
}

.header .sd-camera-btn::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='-1 -1 26 26' fill='none' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 19a2 2 0 01-2 2H3a2 2 0 01-2-2V8a2 2 0 012-2h4l2-3h6l2 3h4a2 2 0 012 2z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.header .sd-close-btn {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: #444;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
}

.header .sd-close-btn:hover {
  color: #1f1f1f;
}

/* Content area: unbxd-as-wrapper 750px, columns unbxd-as-maincontent ~365px + unbxd-as-sidecontent ~353px */
.header .sd-content {
  display: flex;
  margin: 24px 28px 0;
  max-width: 750px;
  padding: 0;
  gap: 18px;
  box-sizing: border-box;
}

.header .sd-left {
  flex: 1 1 365px;
  min-width: 200px;
  max-width: 365px;
  padding: 10px 0;
  box-sizing: border-box;
}

.header .sd-right {
  flex: 1 1 353px;
  min-width: 0;
  max-width: 353px;
  padding: 10px;
  box-sizing: border-box;
}

/* Section titles: Asian Paints unbxd-as-header - 14px, bold, dark. Use 800 + #111 for prominence */

/* (Manrope may use same file for all weights → synthetic bold; darker color helps differentiation) */
.header .sd-section-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 14px;
  color: #111;
  margin: 0 8px 4px 0;
  padding: 0 0 5px;
  font-family: Manrope, sans-serif;
}

.header .sd-section {
  margin-bottom: 14px;
}

.header .sd-section:last-child {
  margin-bottom: 0;
}

.header .search-dialog.sd-query-mode .sd-trending-section,
.header .search-dialog.sd-query-mode .sd-quicklinks-section {
  display: none;
}

/* AP query mode: main suggestions column narrower, side best-results wider */
@media (width >=992px) {
  .header .header-nav-bar {
    box-shadow: 0 4px 16px -2px rgb(16 24 40 / 10%);
  }

  .header .search-dialog.sd-query-mode .sd-content {
    max-width: 750px;
    gap: 18px;
    align-items: stretch;
  }

  .header .search-dialog.sd-query-mode .sd-left {
    flex: 0 0 250px;
    max-width: 250px;
    min-width: 0;
    padding: 0;
    margin: 0;
  }

  .header .search-dialog.sd-query-mode .sd-right {
    flex: 1 1 auto;
    max-width: none;
    min-width: 460px;
    padding: 0;
    margin: 0;
  }

  .header .search-dialog.sd-query-mode .sd-suggestions-section .sd-section-title,
  .header .search-dialog.sd-query-mode .sd-right>.sd-section-title {
    margin: 0 0 10px;
    padding: 0 0 8px;
  }

  .header .search-dialog.sd-query-mode .sd-suggestions-list,
  .header .search-dialog.sd-query-mode .sd-best-results-grid {
    margin-top: 6px;
  }

  .header .search-dialog.sd-query-mode .sd-best-results-grid {
    gap: 12px;
  }

  .header .search-dialog.sd-query-mode .sd-product-card {
    min-height: 203px;
  }

  .header .search-dialog.sd-query-mode .sd-product-card img {
    aspect-ratio: 221 / 130;
    min-height: 130px;
    margin-bottom: 8px;
  }
}

/* Trending query tags: unbxd-as-topqueries show-inline */
.header .sd-trending-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 5px;
}

.header .sd-trending-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #c9c9c9;
  border-radius: 8px;
  min-height: 27px;
  margin: 5px 0;
  padding: 4px 10px;
  font-size: 14px;
  font-weight: 500;
  color: #222;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
  white-space: nowrap;
  line-height: 18px;
}

.header .sd-trending-tag:hover {
  border-color: #7a7a7a;
  color: #1f2937;
  background: #fafafa;
}

.header .sd-trending-tag svg {
  flex-shrink: 0;
  width: 10px;
  height: 7px;
  margin-top: 0;
}

/* stylelint-disable-next-line no-descending-specificity */
.header .sd-trending-tag svg path {
  stroke: #4b5563;
}

/* Suggestions list: unbxd-as-keywordsuggestions - no border after section title */
.header .sd-suggestions-list {
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
  border-top: none;
}

/* unbxd-as-keywordsuggestions */
/* stylelint-disable-next-line no-descending-specificity */
.header .sd-suggestions-list a {
  display: block;
  padding: 6px 0;
  color: #222;
  text-decoration: none;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  transition: color 0.15s;
}

.header .sd-suggestions-list a strong {
  font-weight: 600;
  color: #111;
}

.header .sd-suggestion-category {
  list-style: none;
  margin: 12px 0 4px;
  padding: 0 0 6px;
  border-bottom: 1px solid #e5e5e5;
  font-size: 14px;
  line-height: 16px;
  font-weight: 600;
  color: #2f2f2f;
}

.header .sd-suggestion-category:first-child {
  margin-top: 0;
}

/* No border after last category to avoid extra line */
.header .sd-suggestion-category-last {
  border-bottom: none;
  padding-bottom: 0;
}

.header .sd-suggestion-item {
  list-style: none;
}

.header .sd-suggestions-list a:hover {
  color: var(--header-brand-bg);
}

/* Quick links: quick-links-container - flex wrap, column-gap 10px, row-gap 10px, height 140px, font 16px/18px */
.header .sd-quicklinks-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid #d9d9d9;
}

/* Asian Paints: icon and text on same line (horizontal) */
.header .sd-quicklink-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex: 1 1 calc(50% - 5px);
  min-width: 140px;
  min-height: 50px;
  padding: 10px 12px;
  border: 1px solid #dadada;
  border-radius: 10px;
  text-decoration: none;
  color: #222;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.header .sd-quicklink-card:hover {
  border-color: #b9b9b9;
  box-shadow: 0 2px 8px rgb(0 0 0 / 6%);
}

/* Icons: original uses 27x27 SVG for first, 29x29/26x29 for others - use ~26px */
/* stylelint-disable no-descending-specificity */
.header .sd-quicklink-card .icon img,
.header .sd-quicklink-card img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 1;
}

/* stylelint-enable no-descending-specificity */

/* Best Results: unbxd-as-popular-product min-height 143px */
.header .sd-best-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.header .sd-product-card {
  display: flex;
  flex-direction: column;
  min-height: 143px;
  text-decoration: none;
  cursor: pointer;
}

/* stylelint-disable-next-line no-descending-specificity */
.header .sd-product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 6px;
  background: #f2f2f2;
}

.header .sd-product-name {
  font-size: 14px;
  font-weight: 600;
  color: #222;
  line-height: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.header .sd-product-code {
  font-size: 12px;
  font-weight: 500;
  color: #666;
  margin-top: 2px;
  line-height: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* See all results */
.header .sd-see-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  min-width: 140px;
  font-size: 12px;
  font-weight: 500;
  color: #222;
  text-decoration: none;
  padding: 0;
  border: 1px solid #c8c8c8;
  border-radius: 45px;
  transition: border-color 0.2s;
  margin-top: 4px;
}

.header .sd-see-all:hover {
  border-color: #757575;
}

/* Location-aware NLP results (dealer/contractor) */
.header .sd-location-results {
  display: none;
  margin: 0 22px 22px;
  border-top: 1px solid #e2e2e2;
  padding: 18px 0 0;
}

.header .sd-location-results.active {
  display: block;
}

.header .sd-location-title {
  margin: 0 0 10px;
}

.header .sd-location-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.header .sd-location-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 88px;
  border: 1px solid #dadada;
  border-radius: 12px;
  padding: 12px 14px;
  text-decoration: none;
  color: #2f2f2f;
}

.header .sd-location-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 2px;
}

.header .sd-location-meta {
  font-size: 13px;
  color: #666;
  line-height: 1.3;
  margin-bottom: 6px;
}

.header .sd-location-rating {
  font-size: 13px;
  color: #2f2f2f;
  line-height: 1.25;
}

.header .sd-location-empty {
  display: none;
  font-size: 14px;
  color: #666;
  margin: 0 0 10px;
  line-height: 1.35;
}

.header .sd-location-explore {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #d96f26;
  text-decoration: none;
}

/* stylelint-disable-next-line no-descending-specificity */
.header .sd-location-explore:hover {
  text-decoration: underline;
}

/* Search dialog mobile */
@media (width <=991px) {
  .header .search-dialog-overlay {
    padding: 0;
    align-items: stretch;
  }

  .header .search-dialog {
    width: 100%;
    max-width: 100%;
    max-height: 100vh;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }

  .header .sd-search-bar {
    height: 40px;
    margin: 5px 14px 0;
    max-width: none;
  }

  .header .sd-content {
    flex-direction: column;
    margin: 20px 14px 0;
    max-width: none;
    padding: 10px 0;
  }

  .header .sd-left,
  .header .sd-right {
    flex: none;
    max-width: none;
  }

  .header .sd-section-title {
    font-size: 14px;
  }

  .header .sd-suggestions-list a {
    font-size: 14px;
  }

  .header .sd-quicklink-card {
    font-size: 13px;
  }

  .header .sd-product-name {
    font-size: 13px;
  }

  .header .sd-product-code {
    font-size: 12px;
  }

  .header .sd-see-all {
    font-size: 14px;
  }

  .header .sd-location-title {
    margin-bottom: 10px;
  }

  .header .sd-location-name {
    font-size: 15px;
  }

  .header .sd-location-meta,
  .header .sd-location-rating,
  .header .sd-location-empty,
  .header .sd-location-explore {
    font-size: 13px;
  }

  .header .sd-best-results-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  /* stylelint-disable-next-line no-duplicate-selectors */
  .header .sd-quicklink-card {
    flex: 1 1 calc(50% - 5px);
  }

  .header .sd-location-results {
    margin: 0 16px 16px;
    padding-top: 14px;
  }

  .header .sd-location-list {
    grid-template-columns: 1fr;
  }
}

@media (width <=600px) {
  .header .sd-content {
    padding: 10px 0;
    gap: 14px;
  }

  .header .sd-trending-tag {
    min-height: 28px;
    font-size: 12px;
  }

  .header .sd-best-results-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .header .sd-quicklink-card {
    flex: 1 1 100%;
    min-width: 100%;
  }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
/* stylelint-disable-next-line no-descending-specificity */
.header a:focus-visible,
.header button:focus-visible {
  outline: 2px solid var(--header-brand-bg);
  outline-offset: 2px;
}

/* ========================================
   PRINT
   ======================================== */
@media print {

  .header .header-brands,
  .header .header-actions,
  .header .header-cta,
  .header .header-search,
  .header .nav-hamburger,
  .header .nav-right {
    display: none !important;
  }
}

/* Mirrors Bootstrap 5.3's _modal.scss .modal base rule verbatim. Bootstrap
   CSS is deferred until first user interaction (see loadDelayed in
   scripts.js), so elements below that carry Bootstrap's own .modal class
   render unstyled by this rule until it arrives. Declaring it here too
   means it's already in effect at first paint. */
.modal {
  --bs-modal-zindex: 1055;
  --bs-modal-width: 500px;
  --bs-modal-padding: 1rem;
  --bs-modal-margin: 0.5rem;
  --bs-modal-color: ;
  --bs-modal-bg: var(--bs-body-bg);
  --bs-modal-border-color: var(--bs-border-color-translucent);
  --bs-modal-border-width: var(--bs-border-width);
  --bs-modal-border-radius: var(--bs-border-radius-lg);
  --bs-modal-box-shadow: var(--bs-box-shadow-sm);
  --bs-modal-inner-border-radius: calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));
  --bs-modal-header-padding-x: 1rem;
  --bs-modal-header-padding-y: 1rem;
  --bs-modal-header-padding: 1rem 1rem;
  --bs-modal-header-border-color: var(--bs-border-color);
  --bs-modal-header-border-width: var(--bs-border-width);
  --bs-modal-title-line-height: 1.5;
  --bs-modal-footer-gap: 0.5rem;
  --bs-modal-footer-bg: ;
  --bs-modal-footer-border-color: var(--bs-border-color);
  --bs-modal-footer-border-width: var(--bs-border-width);
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--bs-modal-zindex);
  display: none;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
}

@media (min-width: 576px) {
  .modal {
    --bs-modal-margin: 1.75rem;
    --bs-modal-box-shadow: var(--bs-box-shadow);
  }
}

/* ui-styles-for-login-guest-modal */
.login-guest-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
}

.login-guest-modal-overlay.active {
  display: flex;
}

.login-guest-modal-overlay .login-guest-modal {
  min-width: 440px;

  @media (min-width: 320px) and (max-width: 575px) {
    width: 90%;
    min-width: unset;
  }

  @media (min-width: 576px) and (max-width: 991px) {
    width: 50%;
    min-width: 440px;
  }
}

.login-guest-modal-overlay .login-guest-modal .modal-content {
  position: relative;
  background: rgb(255, 255, 255);
  padding: 24px;
  border: none;
  border-radius: 10px;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
}

.login-guest-modal-overlay .login-guest-modal .modal-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 15px;
}

.login-guest-modal-overlay .login-guest-modal .modal-header .close-icon {
  position: absolute;
  right: 6px;
  background: transparent;
  border: none;
}

.login-guest-modal .modal-header .close-icon .header-popup-close-icon::after {
  content: '';
  background-image: url('/eds/icons/close.svg');
  width: 22px;
  height: 13px;
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
  display: block;
  filter: invert(1);
}

.login-guest-modal-overlay .login-guest-modal .modal-title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
  line-height: 1.1;
}

.login-guest-modal-overlay .login-guest-modal .line-break-text {
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  margin: 10px 0;
}

.login-guest-modal-overlay .modal-body .ctaComp button {
  border-radius: 99px;
  background-color: #fcaf17;
  color: #232426;
  border: none;
  box-shadow: none;
  font-size: 16px;
  font-weight: 700;
  height: 44px;
  padding: 0;
  width: 100%;
}

.login-guest-modal-overlay .modal-body .ctaComp button span img {
  filter: invert(1);
}

.login-guest-modal-overlay .modal-body .ctaComp button:hover {
  background-color: #fdbf45;
}

.login-guest-modal-overlay .modal-body .ctaComp.whiteBtn button {
  background-color: #fff;
  color: #232426;
  border: 1px solid #232426;
}

.login-guest-modal-overlay .modal-body .ctaComp.whiteBtn button:hover {
  background-color: #fff7e8;
}

body.modal-open {
  overflow: hidden;
}

/* GuestDeliveryAddressModal */
#guestLoginModal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  /* align-items: center; */
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.55);
}

#guestLoginModal.active {
  display: flex;
  overflow-x: hidden;
  overflow-y: auto;
}

#guestLoginModal .modal-dialog {
  /* width: min(680px, 100%);
  max-height: calc(100vh - 32px); */
  /* overflow-y: auto; */
  max-width: 500px;
  margin: 1.75rem auto;

  @media (max-width: 991px) {
    width: 100%;
    margin: .5rem;
  }
}

#guestLoginModal .modal-content {
  background: #fff;
  border-radius: 0.3rem;
  overflow: hidden;
}

#guestLoginModal .modal-header {
  display: flex;
  align-items: center;
  background: #fcedd6;
  min-height: 42px;
  padding: 5px 14px;
  justify-content: space-between;
  border-bottom: 1px solid #e9ecef;
  border-top-left-radius: .3rem;
  border-top-right-radius: .3rem;
}

#guestLoginModal .modal-header .heading {
  min-height: 30px;
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem;
  display: flex;
  align-items: center;
  padding-left: 10px;
  font-size: 14px;
  font-weight: 800;
}

#guestLoginModal .modal-header .iconLinks__close {
  /* transform: translate(0, 5px); */
}

#guestLoginModal .guest-login-close-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

#guestLoginModal .closeIcon::before {
  content: "×";
  display: inline-block;
  font-size: 32px;
  line-height: 1;
  font-weight: 400;
  color: #000000a3;
}

#guestLoginModal .form-section {
  background: #fff;
  height: auto;
}

#guestLoginModal .form-section .step-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 18px 10px;
  padding-bottom: 5px;
}

#guestLoginModal .form-section .step-section .form-item {
  position: relative;
  display: flex;
  flex-direction: column;
}

#guestLoginModal .form-section .step-section .form-item .input-label {
  position: absolute;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  top: 14px;
  margin: 0;
  left: 16px;
  cursor: text;
  transition: 0.3s;
  color: #75787b;
}

#guestLoginModal .form-section .step-section .form-item .input-label.top {
  top: -10px;
  font-size: 12px;
  line-height: 18px;
  cursor: default;
  transition: 0.3s;
  background-color: #fff;
  padding: 0 4px;
}

#guestLoginModal .form-section .step-section .form-item .form-control {
  padding: 14px 16px;
  color: #000;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  border: 1px solid #75787b;
  border-radius: 6px;
  box-shadow: none;
}

#guestLoginModal .form-section .step-section .form-item .form-control:focus {
  border: 1px solid #000;
  box-shadow: none;
  outline: none;
}

#guestLoginModal .form-section .step-section .form-item .form-control:read-only {
  background-color: #fff;
}

#guestLoginModal .form-section .step-section .form-item .form-control.custom-select-control {
  cursor: pointer;
  padding: 14px 28px 14px 16px;
}

#guestLoginModal .form-section .step-section .form-item .form-control.custom-select-control:focus {
  border-color: #8c8e90;
  border-style: solid;
  border-width: 1px 1px 0;
}

#guestLoginModal .form-section .step-section .form-item .form-control.custom-select-control:not(:read-only) {
  cursor: text;
}

#guestLoginModal .form-section .step-section .form-item .form-control.custom-select-control::placeholder {
  color: transparent;
}

#guestLoginModal .form-section .step-section .form-item .form-control.custom-select-control.active-placeholder::placeholder {
  color: #4a4a4c;
}

#guestLoginModal .form-section .step-section .form-item .form-control.active-placeholder+.form-dropdown__custom-variant--icon::before {
  transform: rotate(180deg);
}

#guestLoginModal .form-section .step-section .form-item input {
  height: auto;
  width: 100%;
  max-height: 53px;
}

#guestLoginModal .form-section .step-section .form-item .error-msg {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: -0.006em;
  text-align: left;
  color: #ff4d00;
  display: flex;
  align-items: center;
  gap: 3px;
}

#guestLoginModal .form-section .step-section .form-item.has-error .input-label {
  color: #ff4d00;
}

#guestLoginModal .form-section .step-section .form-item.has-error .form-control {
  border: 1px solid #ff4d00;
}

#guestLoginModal .form-section .step-section .form-item.has-default-value input {
  padding-left: 50px;
}

#guestLoginModal .form-section .step-section .form-item .default-unit {
  position: absolute;
  right: 0;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

#guestLoginModal .form-section .step-section .form-item .default-value {
  position: absolute;
  top: 14px;
  margin: 0;
  left: 16px;
  cursor: text;
  transition: 0.3s;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  color: #75787b;
}

#guestLoginModal .form-section .step-section .two-column-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

#guestLoginModal .form-section .step-section .w-50 {
  width: 47% !important;
}

#guestLoginModal .form-section .customer-info-section .submit-user-info-button {
  display: flex;
  justify-content: start;
}

#guestLoginModal .form-section .customer-info-section .submit-user-info-button .animated-arrow-button {
  text-align: right;
  /* margin-top: 25px; */
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  padding: 10px 30px;
  min-height: 34px;
  color: #1e1e1e !important;
  border-radius: 20px;
  cursor: pointer !important;
  width: fit-content;
  text-decoration: none;
  background: #fcaf17 !important;
  border: 0;
  margin-top: -12px;
}

#guestLoginModal .form-section .customer-info-section .submit-user-info-button .animated-arrow-button:disabled,
#guestLoginModal .form-section .customer-info-section .submit-user-info-button .animated-arrow-button[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

#guestLoginModal .form-section .customer-info-section .submit-user-info-button .animated-arrow-button.is-loading {
  opacity: 0.8;
  pointer-events: none;
}

#guestLoginModal .form-section .customer-info-section .info-msg {
  font-size: 12px;
  color: red;
  margin-bottom: -5px;
}

#guestLoginModal .form-section .d-none,
#guestLoginModal .d-none {
  display: none !important;
}

body.modal-open {
  overflow: hidden;
}

@media (min-width: 320px) and (max-width: 991px) {
  #guestLoginModal .form-section .step-section {
    gap: 18px;
  }

  #guestLoginModal .form-section .customer-info-section .submit-user-info-button .animated-arrow-button {
    margin-top: -6px;
  }
}

@media (max-width: 767px) {
  #guestLoginModal .form-section .step-section .two-column-row {
    flex-direction: column;
    gap: 18px;
  }

  #guestLoginModal .form-section .step-section .w-50 {
    width: 100% !important;
  }
}

.vs-modal-overlay .mobile-container .file-format-validation {
  width: 100%;
  padding-top: 10px;
  text-align: center;
  color: #a7a7a7
}

.vs-modal-overlay .upload-progress-section {
  width: 100%;
  min-height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-image: var(--dotted-border-url);
  border: none;
  background-color: #e2f9eb;
  padding: 75px 25px 25px;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
}

@media (min-width: 992px) {
  .vs-modal-overlay .upload-progress-section {
    justify-content: space-between
  }
}

@media (min-width: 320px) and (max-width:991px) {
  .vs-modal-overlay .upload-progress-section {
    /* padding:25px 20px 36px;
        background: #fff;
        border-radius: 8px 8px 0 0!important;
        border: none;
        top: -18px */
  }
}

.vs-modal-overlay.upload-progress-section .upload-progress-image-section {
  width: 100%;
  border-radius: 10px;
}

@media (min-width: 320px) and (max-width:991px) {
  .vs-modal-overlay.upload-progress-section .upload-progress-image-section {
    padding-bottom: 45px
  }
}

.vs-modal-overlay .upload-progress-section .upload-progress-image-section .upload-progress-image {
  width: 100px;
  height: 100px;
  background-position: top;
  background-image: var(--upload-progress-image-url);
  background-size: 100%;
  background-repeat: no-repeat;
  margin: 0 auto;
  padding-bottom: 20px;

}

.vs-modal-overlay.upload-progress-section .upload-progress-image-section .upload-progress-title {
  width: 100%;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  color: #1d1d1f;
  text-align: center
}

.vs-modal-overlay .upload-progress-section .upload-progress-bar-section {
  text-align: left
}

.vs-modal-overlay .upload-progress-section .upload-progress-bar-section .selected-image-name {
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  color: #000;
  padding-bottom: 12px
}

@media (min-width: 320px) and (max-width:991px) {
  .vs-modal-overlay .upload-progress-section .upload-progress-bar-section .selected-image-name {
    font-size: 14px
  }
}

.vs-modal-overlay .upload-progress-section .upload-progress-bar-section .progress {
  height: 6px;
  background: #fff;
  border-radius: 40px
}

@media (min-width: 320px) and (max-width:991px) {
  .vs-modal-overlay .upload-progress-section .upload-progress-bar-section .progress {
    background: #efefef
  }
}

.vs-modal-overlay .upload-progress-section .upload-progress-bar-section .progress .progress-bar {
  background: #00c853;
  transition: width .25s
}

.header .vs-dropzone {
  position: relative;
}

/* MOBILE>................................ */
/* Keep mobile content hidden by default */
.vs-modal .mobile-container,
.vs-modal .vs-capture-input {
  display: none;
}

/* Mobile visual search bottom sheet */
@media (max-width: 991px) {
  .vs-modal-overlay.active.vs-mobile-open {
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  .vs-modal-overlay.vs-mobile-open .vs-modal {
    width: 100%;
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    background: #fff;
    border-radius: 12px 12px 0 0;
    padding: 40px 20px 28px;
    position: relative;
    max-width: 100vw;
  }

  .vs-modal-overlay.vs-mobile-open .vs-modal-header {
    position: absolute;
    top: 16px;
    right: 20px;
    z-index: 2;
  }

  .vs-modal-overlay.vs-mobile-open .vs-modal-close {
    border: 0;
    background: transparent;
    font-size: 32px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
  }

  /* Initial mobile state: hide desktop dropzone, show mobile options */
  .vs-modal-overlay.vs-mobile-open .vs-modal:not(.is-uploading) .vs-dropzone {
    display: none !important;
  }

  .vs-modal-overlay.vs-mobile-open .vs-modal:not(.is-uploading) .mobile-container {
    display: block;
  }

  /* Uploading state: reuse same progress bar section from desktop */
  .vs-modal-overlay.vs-mobile-open .vs-modal.is-uploading .mobile-container {
    display: none !important;
  }

  .vs-modal-overlay.vs-mobile-open .vs-modal.is-uploading .vs-dropzone {
    display: block !important;
  }

  .vs-modal-overlay.vs-mobile-open .vs-modal.is-uploading .vs-title,
  .vs-modal-overlay.vs-mobile-open .vs-modal.is-uploading .vs-upload-icon,
  .vs-modal-overlay.vs-mobile-open .vs-modal.is-uploading .vs-drag-text,
  .vs-modal-overlay.vs-mobile-open .vs-modal.is-uploading .vs-or,
  .vs-modal-overlay.vs-mobile-open .vs-modal.is-uploading .vs-browse-btn,
  .vs-modal-overlay.vs-mobile-open .vs-modal.is-uploading .vs-file-input,
  .vs-modal-overlay.vs-mobile-open .vs-modal.is-uploading .vs-hint,
  .vs-modal-overlay.vs-mobile-open .vs-modal.is-uploading .vs-status,
  .vs-modal-overlay.vs-mobile-open .vs-modal.is-uploading .vs-error {
    display: none !important;
  }

  .vs-modal-overlay.vs-mobile-open .vs-modal.is-uploading .upload-progress-section {
    display: flex !important;
    flex-direction: column;
    /* gap: 24px; */
    min-height: auto;
    padding: 28px 6px 20px;
    justify-content: center;
    background: transparent;
  }

  .vs-modal-overlay.vs-mobile-open .upload-progress-image-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-bottom: 52px;
  }

  .vs-modal-overlay.vs-mobile-open .upload-progress-image {
    width: 72px;
    height: 56px;
    background-image: var(--upload-progress-image-url);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .vs-modal-overlay.vs-mobile-open .upload-progress-title {
    font-size: 20px;
    font-weight: 400;
  }

  .vs-modal-overlay.vs-mobile-open .selected-image-name {
    margin-bottom: 12px;
    font-size: 16px;
    word-break: break-word;
  }

  .vs-modal-overlay.vs-mobile-open .progress {
    width: 100%;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: #eee;
  }

  .vs-modal-overlay.vs-mobile-open .progress-bar {
    height: 100%;
    width: 0%;
    background: #00c853;
    transition: width 0.25s ease;
  }

  .mobile-container .search-title {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 700;
  }

  .mobile-container .recm-title {
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.35;
  }

  .choose-photo-section,
  .click-photo-section {
    min-height: 64px;
    margin-bottom: 20px;
    padding: 0 20px;
    border: 1px solid #222;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
  }

  .choose-photo-heading p,
  .click-photo-heading p {
    margin: 0;
    font-size: 16px;
    text-align: center;
  }

  .image-icon img,
  .camera-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
  }

  .mobile-container .image-format {
    margin-top: 4px;
    font-size: 12px;
    color: #555;
    text-align: center;
  }

  .vs-mobile-error {
    margin-top: 12px;
    color: #d00;
    font-size: 13px;
    text-align: center;
  }

  .vs-modal-overlay.vs-mobile-open .vs-modal {
    height: calc(50dvh - 48px);
  }

  .vs-modal-overlay.vs-mobile-open .vs-modal .vs-dropzone {
    border: none;
  }
}