/**
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License version 3.0
* that is bundled with this package in the file LICENSE.md
* It is also available through the world-wide-web at this URL:
* https://opensource.org/license/osl-3-0-php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to support@qloapps.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this module to a newer
* versions in the future. If you wish to customize this module for your needs
* please refer to https://store.webkul.com/customisation-guidelines for more information.
*
* @author Webkul IN
* @copyright Since 2010 Webkul
* @license https://opensource.org/license/osl-3-0-php Open Software License version 3.0
*/

.nav_toggle {
  background-color: transparent;
  border: none;
  position: relative;
  padding: 11px 10px;
  margin: 4px 0;
}

.nav_toggle .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background-color: #333;
}

@media (max-width: 767px) {
  .nav_toggle .icon-bar {
    background-color: #333;
  }
}

.nav_toggle .icon-bar + .icon-bar {
  margin-top: 4px;
}

.wk-navigation-top-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
}

.wk-navigation-top-actions > .header-top-item {
  margin-left: 30px;
}

.wk-navigation-top-actions .header-top-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 17px;
  color: var(--on-secondary);
}

.wk-navigation-top-actions .header-top-link:hover,
.wk-navigation-top-actions .header-top-link:focus {
  color: var(--on-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--on-secondary);
}

.wk-navigation-top-actions .wk-become-seller-btn-label {
  color: var(--on-secondary);
}

.wk-navigation-top-actions .wk-become-seller-btn:hover,
.wk-navigation-top-actions .wk-become-seller-btn:focus {
  background-color: transparent;
  color: var(--on-secondary);
}

.wk-navigation-top-actions .wk-become-seller-btn:hover .wk-become-seller-btn-label,
.wk-navigation-top-actions .wk-become-seller-btn:focus .wk-become-seller-btn-label {
  color: var(--on-secondary);
}

@media (min-width: 768px) {
  .wk-navigation-top-actions {
    display: contents;
  }

  .wk-become-seller-item {
    order: 2;
  }

  .wk-nav-toggle-item {
    order: -2;
  }

  .wk-nav-style .wk-nav-item-block-4 {
    display: none !important;
  }
}

.wk-nav-style .navigation-link {
  font-size: 18px !important;
  font-weight: 400;
}

.wk-nav-style .navigation-become-seller {
  padding-top: 6px;
}

.wk-nav-style .navigation-link-desc {
  margin: 0;
  padding: 0 0 10px;
  color: #777;
  font-size: 14px;
  line-height: 1.45;
}

.wk-nav-style .wk-nav-item .navigation-link-desc {
  display: block;
  padding-left: 15px;
  padding-right: 15px;
  margin-right: 20px;
  box-sizing: border-box;
}

.wk-nav-style .wk-nav-item-block-4 {
  display: none !important;
}

.wk-nav-style .wk-mobile-only-nav-item {
  display: none !important;
}

@media (max-width: 1199px),
  (min-width: 768px) and (max-width: 1366px) and (hover: none) and (pointer: coarse) {
  .wk-become-seller-item {
    display: none !important;
  }

  .wk-nav-style .wk-mobile-only-nav-item {
    display: list-item !important;
  }
}

@media (max-width: 767px) {
  .wk-nav-style .wk-nav-item-block-4 {
    display: list-item !important;
  }
}

.wk-nav-style {
  padding: 0 15px 20px;
  margin-top: 20px;
}

.wk-nav-style .nav-separator {
  border: 0 !important;
  margin: 0 !important;
}

.wk-nav-style .nav-separator:hover,
.wk-nav-style .nav-separator:focus,
.wk-nav-style .nav-separator.active {
  border: 0 !important;
}

.wk-nav-style .nav-separator > hr {
  margin: 5px 15px;
  border-top: 1px solid #ccc;
}

@media (min-width: 768px) {
  .wk-nav-style .first-nav-separator {
    display: none;
  }
}

#menu_cont {
  width: 285px;
  position: fixed;
  top: 0px;
  bottom: 0px;
  right: 0px;
  z-index: 2000;
  background-color: #ffffff;
  padding-top: 10px;
}

.close_navbar {
  font-size: 20px;
  color: #ffffff;
  cursor: pointer;
  background-color: var(--primary-base);
  height: 50px;
  padding: 15px;
  text-align: center;
  width: 50px;
}

.menu_cont_left {
  overflow-y: scroll;
  transform: translate(0px);
  transition: all 0.3s ease-out 0s;
}

.menu_cont_right {
  transform: translate(295px);
  transition: all 0.3s ease-out 0s;
}

a.navigation-link:focus {
  outline: none;
}

/* Mobile Modal Styles (Language & Currency) */
.axiv-mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 10000;
}

.axiv-mobile-modal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  font-family: inherit;
  text-align: left;
}

.axiv-mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #e6e6e6;
  background: var(--on-primary);
  color: black;
}

.axiv-mobile-close {
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 5px;
}

.axiv-mobile-body {
  display: flex;
  padding: 16px 24px 20px;
  overflow: hidden;
  gap: 24px;
  flex-direction: column;
  flex: 1;
}

.axiv-mobile-list-container {
  flex: 1;
  overflow-y: auto;
}

.axiv-mobile-list-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.axiv-mobile-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid transparent;
  font-size: 15px;
  color: #333;
}

.axiv-mobile-option img {
  width: 20px;
  height: 14px;
}

.axiv-mobile-option:hover {
  background: #f5f5f5;
  border-color: #e0e0e0;
}

.axiv-mobile-selected {
  background: #eef6ff;
  border-color: #c7dbff;
}

/* Become a seller modal (opened from the header "Become a seller" button) */
html.wk-bs-modal-open {
  overflow: hidden;
}

.wk-bs-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
}

.wk-bs-modal-box {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: auto;
}

.wk-bs-modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #333;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.wk-bs-modal-close:hover,
.wk-bs-modal-close:focus {
  background: #f5f5f5;
}

.wk-bs-modal-loading {
  background: #fff;
  border-radius: 14px;
  padding: 60px 30px;
  text-align: center;
  color: #6c7a77;
  font-size: 15px;
}

.wk-bs-modal-box .wk-become-seller {
  margin: 0 auto;
}

/* Desktop override for currency/language modal */
@media (min-width: 768px) {
  .axiv-mobile-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 960px;
    height: auto;
    max-height: 80vh;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }

  .axiv-mobile-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 12px;
  }
}

@media (max-width: 767px) {
  .wk-navigation-top-actions {
    gap: 6px;
  }

  .wk-navigation-top-actions > .header-top-item {
    margin-left: 0;
  }
}
