/**
* 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: #000;
}

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

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

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

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

#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;
}

/* 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;
  }
}
