/* ============================================================================
   TAVISHI GENERAL AND PETRO TRADING - Corporate 3-Tier Header Stylesheet
   1. Slim Top Contact & Social Bar (#0B151B)
   2. White Corporate Branding & Contact Header (#FFFFFF)
   3. Sticky Dark Navy Main Navigation Bar (#0B151B) + Mobile Drawer
   ============================================================================ */

/* Top Scroll Progress Indicator */
.scroll-progress-track {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  z-index: 80;
  pointer-events: none;
}
.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #FFC400 0%, #FFE066 60%, #FFC400 100%);
  transform-origin: left center;
  transition: width 60ms linear;
}

/* 1. Slim Top Contact & Social Bar */
.top-contact-bar {
  background: #0B151B;
  color: #E2E8F0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
}
.top-contact-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}
.top-contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  min-width: 0;
}
.top-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #E2E8F0;
  transition: color 0.18s ease;
  white-space: nowrap;
}
.top-contact-item svg {
  width: 14px;
  height: 14px;
  color: #FFC400;
  flex-shrink: 0;
}
.top-contact-item:hover {
  color: #FFC400;
}
.top-social-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.top-whatsapp-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: #E2E8F0;
  font-size: 11px;
  font-weight: 600;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.top-whatsapp-pill svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.top-whatsapp-pill:hover {
  background: #FFC400;
  color: #07151D;
}
.top-social-btn {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: #E2E8F0;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.top-social-btn svg {
  width: 14px;
  height: 14px;
}
.top-social-btn:hover {
  background: #FFC400;
  color: #07151D;
}

@media (max-width: 479px) {
	
	.btn-enquiry-mobile{ display:none !important;}
  .top-contact-inner {
    justify-content:center;
	/*justify-content: space-between;*/
    gap: 6px 10px;
  }
  .top-whatsapp-label {
    display: none;
  }
  .top-whatsapp-pill {
    width: 24px;
    height: 24px;
    padding: 0;
    justify-content: center;
  }
  .top-contact-item {
    font-size: 11px;
  }
}

/* 2. White Top Corporate Branding Header */
.corporate-header {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
}
.corporate-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
@media (min-width: 640px) {
  .corporate-header-inner {
    padding-top: 15px;
    padding-bottom: 15px;
    gap: 24px;
  }
}
.corporate-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}
.corporate-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}
.corporate-logo-svg {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .corporate-logo-img,
  .corporate-logo-svg {
    width: 56px;
    height: 56px;
  }
}
.corporate-brand-text {
  min-width: 0;
}
.corporate-wordmark {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #07151D;
  line-height: 1.05;
}
@media (min-width: 640px) {
  .corporate-wordmark {
    font-size: 25px;
  }
}
.corporate-subtitle {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0D202B;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 640px) {
  .corporate-subtitle {
    font-size: 11.5px;
    letter-spacing: 0.14em;
  }
}
.corporate-tagline {
  display: none;
  font-size: 12px;
  color: #475569;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 470px;
}
@media (min-width: 768px) {
  .corporate-tagline {
    display: block;
  }
}

/* Desktop Right Cluster: Business Info + Send Your Enquiry CTA */
.corporate-right-desktop {
  display: none;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .corporate-right-desktop {
    display: flex;
  }
}
.corporate-info-grid {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 7px 20px;
  padding-right: 20px;
  border-right: 1px solid #E2E8F0;
  font-size: 12px;
  color: #333333;
}
.corporate-info-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #333333;
  transition: color 0.18s ease;
}
.corporate-info-item strong {
  color: #07151D;
  font-weight: 600;
}
a.corporate-info-item:hover {
  color: #07151D;
}
.info-icon-badge {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-icon-badge.dark {
  background: #07151D;
  color: #FFC400;
}
.info-icon-badge.light {
  background: #F7F8FA;
  border: 1px solid #E2E8F0;
  color: #07151D;
}
.info-icon-badge svg {
  width: 13px;
  height: 13px;
}

.btn-header-enquiry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 6px;
  background: #FFC400;
  color: #07151D;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(7, 21, 29, 0.08);
  transition: background-color 0.2s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease;
}
.btn-header-enquiry:hover {
  background: #E5B000;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(7, 21, 29, 0.14);
}
.btn-header-enquiry svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.btn-header-enquiry .enquiry-arrow {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-header-enquiry:hover .enquiry-arrow {
  transform: translateX(4px);
}

/* Mobile Header Actions (< 1024px) */
.corporate-right-mobile {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .corporate-right-mobile {
    display: none;
  }
}
.btn-enquiry-mobile {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border-radius: 6px;
  background: #FFC400;
  color: #07151D;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.btn-enquiry-mobile svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
@media (max-width: 420px) {
  .btn-enquiry-full-label {
    display: none;
  }
  .btn-enquiry-short-label {
    display: inline;
  }
}
@media (min-width: 421px) {
  .btn-enquiry-short-label {
    display: none;
  }
}
.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  border: 1px solid #CBD5E1;
  background: #F7F8FA;
  color: #07151D;
  cursor: pointer;
  transition: background-color 0.18s ease;
}
.mobile-menu-btn:hover {
  background: #E2E8F0;
}
.mobile-menu-btn svg {
  width: 20px;
  height: 20px;
}

/* 3. Sticky Dark Navy Main Navigation Bar (#0B151B) */
.main-navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #0B151B;
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.28s ease,
              background-color 0.28s ease;
}
.main-navbar.is-sticky {
  background: rgba(11, 21, 27, 0.98);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(7, 21, 29, 0.35);
  border-bottom-color: rgba(255, 196, 0, 0.28);
}
.main-navbar-inner {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.desktop-nav-links {
  display: none;
  align-items: center;
  gap: 6px;
}
@media (min-width: 1024px) {
  .desktop-nav-links {
    display: flex;
  }
}

.nav-item-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: 5px;
  font-size: 13.5px;
  font-weight: 600;
  color: #FFFFFF;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav-item-link:hover {
  color: #FFC400;
  background: rgba(255, 255, 255, 0.06);
}
.nav-item-link.active {
  background: #FFC400;
  color: #07151D;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.nav-item-link.active:hover {
  background: #E5B000;
  color: #07151D;
}

/* Products Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-caret {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}
.nav-dropdown.open .nav-dropdown-caret,
.nav-dropdown:hover .nav-dropdown-caret {
  transform: rotate(180deg);
}
.nav-dropdown-panel {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  padding-top: 6px;
  width: 280px;
  z-index: 60;
}
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown.open .nav-dropdown-panel {
  display: block;
}
.nav-dropdown-menu {
  background: #0D202B;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 6px 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  animation: headerDropdownFadeIn 200ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 13.5px;
  color: #E2E8F0;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.nav-dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #FFC400;
}
.nav-dropdown-menu a.active {
  color: #FFC400;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
}
.nav-dropdown-menu a.dropdown-all {
  color: #FFC400;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Quick Strip inside Sticky Navbar (< 1024px) */
.mobile-nav-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 10px;
}
@media (min-width: 1024px) {
  .mobile-nav-strip {
    display: none;
  }
}
.mobile-strip-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-strip-brand .gold {
  color: #FFC400;
}
.mobile-strip-location {
  color: #94A3B8;
  font-weight: 400;
  display: none;
}
@media (min-width: 560px) {
  .mobile-strip-location {
    display: inline;
  }
}
.mobile-strip-activities {
  font-size: 11px;
  color: #CBD5E1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-strip-sticky-controls {
  display: none;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.main-navbar.is-sticky .mobile-strip-activities {
  display: none;
}
.main-navbar.is-sticky .mobile-strip-sticky-controls {
  display: flex;
}
.sticky-mini-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 4px;
  background: #FFC400;
  color: #07151D;
  font-size: 11px;
  font-weight: 700;
}
.sticky-mini-menu-btn {
  width: 32px;
  height: 32px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Global Header Product Search */
.header-search {
  position: relative;
  display: none;
  width: 230px;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .header-search {
    display: block;
  }
}
.header-search-input-wrap {
  position: relative;
}
.header-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: #94A3B8;
  pointer-events: none;
}
.header-search-input {
  width: 100%;
  padding: 7px 12px 7px 32px;
  font-size: 13px;
  font-family: inherit;
  color: #FFFFFF;
  background: #0D202B;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
}
.header-search-input::placeholder {
  color: #94A3B8;
}
.header-search-input:focus {
  outline: none;
  border-color: #FFC400;
}
.header-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 340px;
  max-width: calc(100vw - 32px);
  max-height: 380px;
  overflow-y: auto;
  background: #0D202B;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.48);
  z-index: 65;
  animation: headerDropdownFadeIn 200ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.search-group-label {
  padding: 6px 14px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94A3B8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  font-size: 13px;
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.search-result-item:hover {
  background: rgba(255, 255, 255, 0.08);
}
.search-result-thumb {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}
.search-result-sub {
  font-size: 11px;
  color: #94A3B8;
}
.search-view-all {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #FFC400;
  background: rgba(7, 21, 29, 0.78);
}
.search-view-all:hover {
  background: rgba(255, 255, 255, 0.08);
}
.search-empty {
  padding: 14px;
  font-size: 12px;
  color: #CBD5E1;
  text-align: center;
}

/* Mobile Drawer Menu */
.mobile-drawer {
  background: #0D202B;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 16px 20px;
  max-height: 82vh;
  overflow-y: auto;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  animation: headerDropdownFadeIn 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@media (min-width: 1024px) {
  .mobile-drawer {
    display: none !important;
  }
}
.mobile-search {
  position: relative;
  margin-bottom: 12px;
}
.mobile-search .header-search-input {
  background: #07151D;
  padding-top: 9px;
  padding-bottom: 9px;
}
.mobile-search .header-search-dropdown {
  left: 0;
  right: 0;
  width: 100%;
}
.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav-link {
  display: block;
  padding: 11px 14px;
  border-radius: 6px;
  font-size: 14.5px;
  font-weight: 600;
  color: #FFFFFF;
}
.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
}
.mobile-nav-link.active {
  background: #FFC400;
  color: #07151D;
}
.mobile-products-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 6px;
  font-size: 14.5px;
  font-weight: 600;
  color: #FFFFFF;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.mobile-products-trigger.active {
  background: #FFC400;
  color: #07151D;
}
.mobile-products-trigger svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}
.mobile-products-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.mobile-products-sub {
  margin: 4px 0 6px 12px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-sublink {
  display: block;
  padding: 8px 10px;
  font-size: 13px;
  color: #CBD5E1;
  border-radius: 4px;
}
.mobile-sublink:hover {
  color: #FFC400;
  background: rgba(255, 255, 255, 0.04);
}
.mobile-sublink.all-link {
  color: #FFC400;
  font-weight: 700;
}
.mobile-drawer-cta-wrap {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-drawer-cta {
  width: 100%;
  justify-content: center;
}

@keyframes headerDropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
