
/* =========================================================
   MEHFARO - COMPACT BRAND HEADER
========================================================= */

.main-header .header-inner {
  gap: 15px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}


.mf-header-brand-copy {
  flex: 1 1 390px;
  min-width: 0;
  max-width: 560px;

  padding-left: 16px;

  border-left:
    1px solid rgba(184, 134, 11, .24);
}


.mf-header-kicker {
  display: block;

  margin-bottom: 3px;

  color: #b47b08;

  font-size: 8px;
  font-weight: 900;

  letter-spacing: .17em;

  white-space: nowrap;
}


.mf-header-title {
  display: block;

  color: #172025;

  font-size: clamp(18px, 1.7vw, 27px);
  font-weight: 950;

  line-height: .98;

  letter-spacing: -.035em;
}


.mf-header-title span {
  color: #168b84;
}


.mf-header-description {
  max-width: 540px;

  margin:
    5px 0 0;

  color: #4a5559;

  font-size: 10.5px;
  font-weight: 600;

  line-height: 1.35;
}


/* =========================================================
   HERO IS NOW ONLY FOR LIVE PROMOTION / VIDEO
========================================================= */

.hero.mf-commerce-hero {
  min-height: 0 !important;

  padding:
    16px 5vw 20px !important;

  gap:
    14px !important;
}


.hero.mf-commerce-hero
.hero-content,

.hero.mf-commerce-hero
.hero-visual,

.hero.mf-commerce-hero
.hero-watermark {
  display: none !important;
}


/* PROMOTION + VIDEO TOGETHER */

.hero.mf-commerce-hero.mf-has-promotions.mf-has-video {
  grid-template-columns:
    repeat(2, minmax(0, 1fr))
    !important;
}


.hero.mf-commerce-hero.mf-has-promotions.mf-has-video
.mf-hero-promo-slot {
  grid-column:
    1 !important;
}


.hero.mf-commerce-hero.mf-has-promotions.mf-has-video
.mf-hero-video-slot {
  grid-column:
    2 !important;
}


/* ONLY PROMOTION */

.hero.mf-commerce-hero.mf-has-promotions:not(.mf-has-video) {
  grid-template-columns:
    minmax(0, 1fr)
    !important;
}


.hero.mf-commerce-hero.mf-has-promotions:not(.mf-has-video)
.mf-hero-promo-slot {
  grid-column:
    1 !important;
}


/* ONLY VIDEO */

.hero.mf-commerce-hero.mf-has-video:not(.mf-has-promotions) {
  grid-template-columns:
    minmax(0, 1fr)
    !important;
}


.hero.mf-commerce-hero.mf-has-video:not(.mf-has-promotions)
.mf-hero-video-slot {
  grid-column:
    1 !important;
}


/* NO LIVE PROMOTION / VIDEO = NO EMPTY HERO */

.hero.mf-commerce-hero:not(.mf-has-promotions):not(.mf-has-video) {
  display:
    none !important;
}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 980px) {

  .main-header .header-inner {
    display: grid !important;

    grid-template-columns:
      auto 1fr auto;

    gap:
      7px 10px !important;
  }


  .main-header .brand {
    grid-column:
      1;

    grid-row:
      1;
  }


  .main-header .header-actions {
    grid-column:
      3;

    grid-row:
      1;
  }


  .mf-header-brand-copy {
    grid-column:
      1 / -1;

    grid-row:
      2;

    max-width:
      none;

    padding:
      8px 2px 2px;

    border-left:
      0;

    border-top:
      1px solid rgba(184,134,11,.18);
  }


  .mf-header-title {
    font-size:
      20px;
  }


  .mf-header-description {
    margin-top:
      4px;

    font-size:
      10px;
  }


  .hero.mf-commerce-hero.mf-has-promotions.mf-has-video {
    grid-template-columns:
      1fr !important;
  }


  .hero.mf-commerce-hero.mf-has-promotions.mf-has-video
  .mf-hero-promo-slot,

  .hero.mf-commerce-hero.mf-has-promotions.mf-has-video
  .mf-hero-video-slot {
    grid-column:
      1 !important;
  }

}


@media (max-width: 520px) {

  .mf-header-kicker {
    font-size:
      7px;
  }


  .mf-header-title {
    font-size:
      18px;
  }


  .mf-header-description {
    font-size:
      9px;
  }


  .hero.mf-commerce-hero {
    padding:
      10px 10px 15px
      !important;
  }

}

/* =========================================================
   MEHFARO HEADER COPY CENTER FIX V3
========================================================= */

@media (max-width: 980px) {

  .main-header .header-inner {
    display: grid !important;

    grid-template-columns:
      auto
      minmax(0, 1fr)
      auto !important;

    align-items:
      center !important;

    gap:
      10px !important;

    padding-top:
      8px !important;

    padding-bottom:
      8px !important;
  }


  .main-header .brand {
    grid-column:
      1 !important;

    grid-row:
      1 !important;

    align-self:
      center !important;
  }


  .mf-header-brand-copy {
    grid-column:
      2 !important;

    grid-row:
      1 !important;

    align-self:
      center !important;

    min-width:
      0 !important;

    max-width:
      none !important;

    margin:
      0 !important;

    padding:
      0 8px 0 10px !important;

    border-top:
      0 !important;

    border-left:
      1px solid rgba(184,134,11,.25) !important;
  }


  .main-header .header-actions {
    grid-column:
      3 !important;

    grid-row:
      1 !important;

    align-self:
      center !important;
  }


  .mf-header-kicker {
    margin:
      0 0 2px !important;

    font-size:
      7px !important;

    line-height:
      1.15 !important;

    letter-spacing:
      .13em !important;
  }


  .mf-header-title {
    margin:
      0 !important;

    font-size:
      clamp(14px, 2.8vw, 20px) !important;

    line-height:
      1 !important;

    white-space:
      normal !important;
  }


  .mf-header-description {
    margin:
      4px 0 0 !important;

    max-width:
      100% !important;

    font-size:
      8.5px !important;

    line-height:
      1.25 !important;
  }

}


/* EXTRA SMALL PHONE */

@media (max-width: 480px) {

  .main-header .header-inner {
    gap:
      6px !important;
  }


  .mehfaro-main-logo {
    max-width:
      92px !important;
  }


  .mf-header-brand-copy {
    padding-left:
      7px !important;
  }


  .mf-header-kicker {
    font-size:
      6px !important;
  }


  .mf-header-title {
    font-size:
      13px !important;
  }


  .mf-header-description {
    font-size:
      7.5px !important;

    line-height:
      1.18 !important;
  }

}


/* MEHFARO HEADER KICKER SIZE FIX V4 */

.mf-header-kicker {
  font-size: 10px !important;
  font-weight: 950 !important;
  letter-spacing: .16em !important;
  line-height: 1.2 !important;
  margin-bottom: 4px !important;
  color: #b47b08 !important;
}

@media (max-width: 980px) {
  .mf-header-kicker {
    font-size: 9px !important;
  }
}

@media (max-width: 480px) {
  .mf-header-kicker {
    font-size: 8px !important;
    letter-spacing: .13em !important;
  }
}


/* MEHFARO BRAND HEADING V5 */

.mf-header-kicker {
  font-size: 20px !important;
  font-weight: 950 !important;
  letter-spacing: .08em !important;
  line-height: 1 !important;
  margin-bottom: 5px !important;
  color: #b47b08 !important;
}

.mf-header-title {
  font-size: 17px !important;
}

@media (max-width: 980px) {
  .mf-header-kicker {
    font-size: 19px !important;
  }

  .mf-header-title {
    font-size: 16px !important;
  }
}

@media (max-width: 480px) {
  .mf-header-kicker {
    font-size: 16px !important;
    letter-spacing: .06em !important;
  }

  .mf-header-title {
    font-size: 14px !important;
  }
}



/* MEHFARO RESPONSIVE HEADER GRID V6 */


/* =========================================================
   DESKTOP
   Logo | Brand Copy              | Cart
        | Navigation | Search
========================================================= */

@media (min-width: 900px) {

  .main-header .header-inner {
    display: grid !important;

    grid-template-columns:
      auto
      minmax(300px, 1fr)
      minmax(230px, 360px)
      auto !important;

    grid-template-areas:
      "logo copy copy actions"
      "logo nav  search actions" !important;

    grid-template-rows:
      auto auto !important;

    align-items:
      center !important;

    column-gap:
      16px !important;

    row-gap:
      8px !important;

    padding-top:
      10px !important;

    padding-bottom:
      10px !important;
  }


  .main-header .brand {
    grid-area:
      logo !important;

    align-self:
      center !important;
  }


  .mf-header-brand-copy {
    grid-area:
      copy !important;

    width:
      100% !important;

    max-width:
      none !important;

    min-width:
      0 !important;

    margin:
      0 !important;

    padding:
      0 0 4px 16px !important;

    border-top:
      0 !important;

    border-left:
      1px solid rgba(184,134,11,.25) !important;
  }


  .mf-header-kicker {
    font-size:
      18px !important;

    line-height:
      1 !important;

    margin-bottom:
      4px !important;
  }


  .mf-header-title {
    font-size:
      16px !important;

    line-height:
      1.05 !important;
  }


  .mf-header-description {
    max-width:
      680px !important;

    margin-top:
      4px !important;

    font-size:
      9.5px !important;

    line-height:
      1.3 !important;
  }


  .main-header .desktop-nav {
    grid-area:
      nav !important;

    display:
      flex !important;

    align-items:
      center !important;

    justify-content:
      flex-start !important;

    flex-wrap:
      nowrap !important;

    gap:
      clamp(14px, 2vw, 28px) !important;

    min-width:
      0 !important;

    padding-left:
      16px !important;
  }


  .main-header .desktop-nav a {
    font-size:
      14px !important;

    font-weight:
      850 !important;

    white-space:
      nowrap !important;
  }


  .main-header .commerce-search-panel {
    grid-area:
      search !important;

    display:
      block !important;

    width:
      100% !important;

    min-width:
      0 !important;

    max-width:
      none !important;

    margin:
      0 !important;

    padding:
      0 !important;
  }


  .main-header .commerce-search-panel
  .search-wrapper {
    width:
      100% !important;

    margin:
      0 !important;
  }


  .main-header .commerce-search-panel
  input {
    width:
      100% !important;

    min-width:
      0 !important;
  }


  .main-header .header-actions {
    grid-area:
      actions !important;

    align-self:
      center !important;
  }


  /*
   * Desktop par search already permanently visible hai,
   * isliye search icon aur hamburger ki zarurat nahi.
   */
  .main-header .search-toggle,
  .main-header .menu-toggle {
    display:
      none !important;
  }

}


/* =========================================================
   SMALL LAPTOP / TABLET
========================================================= */

@media (min-width: 700px) and (max-width: 899px) {

  .main-header .header-inner {
    display:
      grid !important;

    grid-template-columns:
      auto 1fr auto !important;

    grid-template-areas:
      "logo copy actions"
      "logo nav  actions"
      "search search search" !important;

    gap:
      8px 12px !important;

    align-items:
      center !important;

    padding:
      9px 4vw !important;
  }


  .main-header .brand {
    grid-area:
      logo !important;
  }


  .mf-header-brand-copy {
    grid-area:
      copy !important;

    padding:
      0 0 3px 12px !important;

    border-top:
      0 !important;

    border-left:
      1px solid rgba(184,134,11,.22) !important;
  }


  .mf-header-kicker {
    font-size:
      15px !important;
  }


  .mf-header-title {
    font-size:
      14px !important;
  }


  .mf-header-description {
    font-size:
      8.5px !important;
  }


  .main-header .desktop-nav {
    grid-area:
      nav !important;

    display:
      flex !important;

    gap:
      16px !important;

    padding-left:
      12px !important;
  }


  .main-header .desktop-nav a {
    font-size:
      12px !important;
  }


  .main-header .commerce-search-panel {
    grid-area:
      search !important;

    display:
      block !important;

    width:
      100% !important;

    max-width:
      none !important;

    margin:
      2px 0 0 !important;
  }


  .main-header .header-actions {
    grid-area:
      actions !important;
  }


  .main-header .search-toggle,
  .main-header .menu-toggle {
    display:
      none !important;
  }

}


/* =========================================================
   MOBILE
   Navigation returns to hamburger.
========================================================= */

@media (max-width: 699px) {

  .main-header .desktop-nav {
    display:
      none !important;
  }


  .main-header .menu-toggle,
  .main-header .search-toggle {
    display:
      grid !important;
  }


  .main-header .commerce-search-panel:not(.active):not(.open):not(.show) {
    display:
      none !important;
  }


  .main-header .commerce-search-panel.active,
  .main-header .commerce-search-panel.open,
  .main-header .commerce-search-panel.show {
    display:
      block !important;
  }

}

/* MEHFARO HEADER DESCRIPTION PROFESSIONAL WEIGHT V1 */
.mf-header-description {
  color: #2f3a3e !important;
  font-weight: 800 !important;
  letter-spacing: .005em !important;
  line-height: 1.32 !important;
}

/* Keep compact header balanced on tablet/mobile */
@media (max-width: 980px) {
  .mf-header-description {
    font-weight: 800 !important;
  }
}

@media (max-width: 520px) {
  .mf-header-description {
    font-weight: 800 !important;
  }
}

/* MEHFARO HEADER DESCRIPTION SIZE V2 */
.mf-header-description {
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  color: #263136 !important;
  letter-spacing: .002em !important;
}

@media (max-width: 980px) {
  .mf-header-description {
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.32 !important;
  }
}

@media (max-width: 520px) {
  .mf-header-description {
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.30 !important;
  }
}

