/* Base Layout (Desktop & General) */
.page-header.type23 {
  width: 100% !important;
  border-top: none !important;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  z-index: 1000;
  position: relative;
}

.page-header.type23 .header.content.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100% !important;
  max-width: 100% !important;
  padding: 5px 63px;
  gap: 20px;
}

/* Columns */
.page-header.type23 .header-col.header-left {
  flex-shrink: 0;
}

.page-header.type23 .header-col.header-center {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.page-header.type23 .header-col.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  flex-shrink: 0;
}

/* Logo */
.page-header.type23 .logo {
  margin: 0;
}

.page-header.type23 .logo img {
  max-height: 75px;
  /* Adjust as needed */
  width: auto;
}

/* Center Menu (Desktop) */
.page-header.type23 .navigation {
  background: transparent;
  font-weight: 600;
}

.page-header.type23 .navigation ul {
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.page-header.type23 .navigation ul li.level0>a {
  /* color: #000000 !important; */
  font-size: 14px;
}

/* Right Icons */
/* Common Icon Block Styles (Profile, Bag Label) */
.custom-header-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none !important;
  gap: 2px;
}

.custom-header-icon a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #000000 !important;
  text-decoration: none !important;
}

.custom-header-icon i {
  font-size: 24px;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  margin-bottom: 2px;
  display: block;
}

.custom-header-icon .icon-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: capitalize;
  line-height: 1.2;
  color: #000000;
}

.page-header.type23 .minicart-wrapper {
  margin: 0;
}

.page-header.type23 .minicart-wrapper .action.showcart::before {
  font-size: 24px;
  color: #000000;
}

/* Hamburger Toggle (Default Styles) */
.page-header.type23 .nav-toggle.custom-menu-toggle {
  position: relative;
}

/* .page-header.type23 .nav-toggle.custom-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #000000;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  text-indent: -9999px;
  transition: all 0.3s;
} */

.page-header.type23 .nav-toggle.custom-menu-toggle::before,
.page-header.type23 .nav-toggle.custom-menu-toggle::after,
.page-header.type23 .nav-toggle.custom-menu-toggle::marker {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #000;
}

.page-header.type23 .nav-toggle.custom-menu-toggle::before {
  top: 0;
}

.page-header.type23 .nav-toggle.custom-menu-toggle::after {
  bottom: 0;
}

/* Middle line */
.page-header.type23 .nav-toggle.custom-menu-toggle {
  background: linear-gradient(#000 0 0) center / 100% 2px no-repeat;
}


/* Hide specific minicart elements (Text, Arrow, Counter) */
.page-header.type23 .minicart-wrapper .action.showcart::after {
  display: none !important;
  /* Hide Arrow */
}

.page-header.type23 .minicart-wrapper .action.showcart .text,
.page-header.type23 .minicart-wrapper .action.showcart .counter.qty,
.page-header.type23 .minicart-wrapper .action.showcart .price-label,
.page-header.type23 .minicart-wrapper .action.showcart .price,
.page-header.type23 .minicart-wrapper .action.showcart .total-price,
.page-header.type23 .minicart-wrapper .showcart.action-subtotal .cart-subtotal {
  display: none !important;
}

/* Ensure Icon is visible */
.page-header.type23 .minicart-wrapper .action.showcart i {
  display: block !important;
  font-size: 24px;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  color: #000000;
  margin-bottom: 2px;
}

.page-header.type23 .minicart-wrapper .action.showcart {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-header.type23 .minicart-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

*/

/* Disable Magento tab collapsing */
.section-items.nav-sections-items {
  overflow: visible !important;
}

/* .nav-sections-item-content#store\.account::before {
  content: "← Back";
  display: block;
  padding: 14px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 1px solid #eee;
} */




/* Profile Dropdown - Hide unwanted elements */
/* Hide FITTER INDIA welcome text */
.page-header.type23 .panel.header.my-account .header.links .block-customer-welcome {
  display: none !important;
}

.page-header.type23 .panel.header.my-account .header.links .custom-html {
  display: none !important;
}

/* Hide Compare section */
.page-header.type23 .panel.header.my-account .header.links .compare {
  display: none !important;
}

.page-header.type23 .panel.header.my-account .header.links [class*="compare"] {
  display: none !important;
}

.page-header.type23 .panel.header.my-account .header.links .greet.welcome {
  display: none !important;
}

.page-header.type23 .panel.header.my-account .header.links .customer-welcome .action.switch:after {
  display: none !important;
}

.page-header.type23 .panel.header.my-account .header.links .customer-welcome .action.switch .group {
  padding-top: 3px;
}

.page-header.type23 .panel.header.my-account .header.links .customer-welcome .action.switch .group span {
  color: #000000;
  font-weight: 600;
  padding-top: 19px;
}

.widget .widget-title {
  padding-bottom: 20px !important;
}

/* Catalog Product View page ui */
.catalog-product-view .page-main,
.checkout-cart-index .page-main,
.checkout-index-index .page-main,
.customer-account-index .page-main,
.sales-order-history-index .page-main,
.wishlist-index-index .page-main,
.customer-address-index .page-main,
.customer-downloadable-index .page-main,
.customer-account-index .page-main,
.customer-wishlist-index .page-main,
.vault-cards-listaction .page-main,
.review-customer-index .page-main,
.customer-rewards-index .page-main,
.customer-rewards-transaction .page-main,
.mobilelogin-index-updatemobil .page-main,
.rmasystem-index-index .page-main,
.marketplaceeventmanager-customer-eventlist .page-main {
  margin-left: 11% !important;
}

.catalog-product-view .product-info-price {
  display: none !important;
}

.catalog-product-view .field.required .label {
  font-size: 16px !important;
}

.catalog-product-view .wk-seller-block .wk-seller-card-container .wk-seller-card-row {
  font-size: 15px !important;
}

/* Fix login popup z-index issue - modal should appear above header */
.modal-popup.modal-slide {
  z-index: 1001 !important;
}

.modal-popup.modal-slide .modal-inner-wrap {
  z-index: 1002 !important;
}

.modals-overlay {
  z-index: 1000 !important;
}

.checkout-payment-method .payment-method-content > .actions-toolbar > .primary .action.primary {
  padding: 10px !important;
}
/* Mobile / Tablet Responsive */
@media (max-width: 991px) {

  /* Mobile Header Layout - Myntra Style */
  .page-header.type23 .header.content.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    gap: 10px;
  }

  /* LEFT: Hamburger Menu */
  .page-header.type23 .header-col.header-left {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    order: 1;
  }

  .page-header.type23 .nav-toggle.custom-menu-toggle {
    display: block !important;
    width: 24px;
    height: 20px;
    margin: 0;
    padding: 0;
  }

  /* CENTER: Logo */
  .page-header.type23 .header-col.header-center {
    display: flex !important;
    flex: 1 1 auto;
    justify-content: center;
    order: 2;
  }

  .page-header.type23 .logo {
    margin: 0;
    text-align: center;
  }

  .page-header.type23 .logo img {
    max-height: 45px;
    width: auto;
  }

  /* RIGHT: Icons (Search, Wishlist, Bag) */
  .page-header.type23 .header-col.header-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    order: 3;
  }

  /* Search Icon */
  .page-header.type23 .header-col.header-right .search-area {
    margin: 0;
  }

  .page-header.type23 .header-col.header-right .search-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
  }

  .page-header.type23 .header-col.header-right .search-toggle-icon i {
    font-size: 22px;
    color: #000000;
  }

  /* Wishlist Icon */
  .page-header.type23 .header-col.header-right .custom-header-icon {
    margin: 0;
    padding: 0;
  }

  .page-header.type23 .header-col.header-right .custom-header-icon i {
    font-size: 22px;
    margin-bottom: 0;
  }

  .page-header.type23 .header-col.header-right .custom-header-icon .icon-label {
    display: none;
  }

  /* Bag/Cart Icon */
  .page-header.type23 .minicart-wrapper {
    margin: 0;
  }

  .page-header.type23 .minicart-wrapper .action.showcart {
    padding: 0;
    margin: 0;
  }

  .page-header.type23 .minicart-wrapper .action.showcart i {
    font-size: 22px;
    margin-bottom: 0;
  }

  .page-header.type23 .header.content.header-row {
    width: 91% !important;
  }

  /* MOBILE MENU: Stack menu items vertically */
  .nav-sections .navigation ul {
    display: block !important;
  }

  .nav-sections .navigation ul li {
    width: 100% !important;
    float: none !important;
  }

  .nav-sections .navigation ul li a {
    display: block;
    width: 100%;
  }

  .catalog-product-view .page-main,
  .checkout-cart-index .page-main,
  .checkout-index-index .page-main,
  .customer-account-index .page-main,
  .sales-order-history-index .page-main,
  .wishlist-index-index .page-main,
  .customer-address-index .page-main,
  .customer-downloadable-index .page-main,
  .customer-account-index .page-main,
  .customer-wishlist-index .page-main,
  .vault-cards-listaction .page-main,
  .review-customer-index .page-main,
  .customer-rewards-index .page-main,
  .customer-rewards-transaction .page-main,
  .mobilelogin-index-updatemobil .page-main,
  .rmasystem-index-index .page-main,
  .marketplaceeventmanager-customer-eventlist .page-main {
    margin-left: 5% !important;
  }

  .footer-bottom address {
    margin-top: 10px;
    flex: none !important;
  }
  .cart.table-wrapper .product-item-name {
    padding-left: 84px !important;
  }
  .checkout-index-index #contact-form {
    width: 100% !important;
  }
  .checkout-index-index .actions-toolbar > .primary .action 
  {
    width: 112% !important;
  }

  /* Hide Account tab & panel ONLY */
  /* .nav-sections-item-title[aria-controls="store.account"],
  .nav-sections-item-content#store\.account {
    display: none !important;
  } */

  /* FORCE Menu panel to be visible */
  /* .nav-sections-item-content#store\.menu {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
  } */

  /* Force Menu tab to active state */
  /* .nav-sections-item-title[aria-controls="store.menu"] {
    display: none !important;
    /* optional: hide "Menu" label */
}