/* ========================================= */
/*            DARK MODE STYLES               */
/* ========================================= */
body.dark-mode {
  background-color: #121212;
  color: #ffffff;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

.dark-mode h1, 
.dark-mode h2, 
.dark-mode h3, 
.dark-mode h4, 
.dark-mode h5, 
.dark-mode h6 {
  color: #e0e0e0;
}

.dark-mode legend {
  padding: 7px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #555;
}

.dark-mode #top, 
.dark-mode #menu, 
.dark-mode .header, 
.dark-mode .footer {
  background-color: #1f1f1f;
  border-color: #333;
}

.dark-mode #cart .dropdown-menu {
  background: #333;
  color: #fff;
}

.dark-mode #cart .dropdown-menu li a {
  color: #ccc;
}

.dark-mode #cart .dropdown-menu li a:hover {
  background-color: #555;
}

.dark-mode a {
  color: #bb86fc;
}

.dark-mode .breadcrumb {
  background-color: #1f1f1f;
  border-color: #333;
}

.dark-mode .price {
  background: rgba(6, 109, 49, 0.6);
}

.dark-mode footer {
  background-color: #202020;
  border-top: 10px solid #8f7a47;
  color: #e2e2e2;
}

.dark-mode footer a {
  color: #ccc;
  text-decoration: none;
}

.dark-mode footer a:hover {
  color: #fff;
}

#darkModeToggle {
  background: #000;
  color: #fff;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s ease-in-out;
}

#darkModeToggle:hover {
  background: #333;
}

body.dark-mode #darkModeToggle {
  background: #fff;
  color: #000;
}

body.dark-mode #darkModeToggle:hover {
  background: #ddd;
}



/* ========================================= */
/*        GLOBAL HEADINGS & LEGEND STYLES    */
/* ========================================= */
h1, h2, h3, h4, h5, h6 {
  color: #444;
}

legend {
  padding: 7px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}

label {
  font-size: 12px;
  font-weight: normal;
}

/* ========================================= */
/*      CHROME BUTTON OUTLINE FIX            */
/* ========================================= */
button:focus {
  outline: none !important;
}

/* ========================================= */
/*             CONTAINER STYLES              */
/* ========================================= */
#container {
  width: 100%;
  min-height: 100%;
  position: absolute;
  margin-bottom: 300px;
}

/* Content bottom padding */
#content, #column-left, #column-right {
  padding-bottom: 730px;
}

@media (min-width: 576px) {
  #content, #column-left, #column-right {
    padding-bottom: 400px;
  }
}

/* ========================================= */
/*               ALERT STYLES                */
/* ========================================= */
#alert {
  z-index: 9999;
  position: fixed;
  top: 30%;
  left: 50%;
  width: 400px;
  margin-left: -200px;
}

@media (min-width: 992px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}
@media (min-width: 1140px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}
@media (min-width: 1320px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}

#alert .alert {
  margin-bottom: 15px;
}

/* Alert Box Shadow Effects */
#alert .alert-primary {
  box-shadow: 0 0 0 5px rgb(var(--bs-primary-rgb), 0.1);
}
#alert .alert-secondary {
  box-shadow: 0 0 0 5px rgb(var(--bs-secondary-rgb), 0.1);
}
#alert .alert-success {
  box-shadow: 0 0 0 5px rgb(var(--bs-success-rgb), 0.1);
}
#alert .alert-warning {
  box-shadow: 0 0 0 5px rgb(var(--bs-warning-rgb), 0.1);
}
#alert .alert-danger {
  box-shadow: 0 0 0 5px rgb(var(--bs-danger-rgb), 0.1);
}
#alert .alert-info {
  box-shadow: 0 0 0 5px rgb(var(--bs-info-rgb), 0.1);
}
#alert .alert-light {
  box-shadow: 0 0 0 5px rgb(var(--bs-light-rgb), 0.1);
}
#alert .alert-dark {
  box-shadow: 0 0 0 5px rgb(var(--bs-dark-rgb), 0.1);
}

/* ========================================= */
/*               TOP BAR STYLES              */
/* ========================================= */
#top {
  border-bottom: 1px solid var(--bs-border-color);
  border-bottom: 20px solid #8f7a47;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 5px;
}

#top ul.list-inline {
  margin-bottom: 0;
}

#top .list-inline-item > a, 
#top .list-inline-item .dropdown > a {
  font-size: 1.1em;
  color: var(--bs-gray-600);
  line-height: 40px;
  vertical-align: middle;
  padding: 10px 0px 5px 0px;
}

/* ========================================= */
/*                  LOGO                     */
/* ========================================= */
#logo {
  text-align: center;
  margin: 7px 0 7px 0;
}

#logo img {
  max-width: 70px;
  height: auto;
  padding: 5px 0;
  margin: 0 auto;
  display: block;
}

@media (min-width: 768px) {
  #logo {
    text-align: left;
  }
}

/* ========================================= */
/*              SEARCH STYLES                */
/* ========================================= */
#search {
  margin-bottom: 10px;
}

#search .form-control-lg {
  height: 40px;
  font-size: 12px;
  line-height: 20px;
  padding: 0 10px;
}

#search .btn-lg {
  font-size: 15px;
  line-height: 18px;
  padding: 0.57rem 35px;
  text-shadow: 0 1px 0 #FFF;
}

@media (max-width: 768px) {
  .search-container {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }
}

/* ========================================= */
/*                CART STYLES                */
/* ========================================= */
#cart {
  margin-bottom: 10px;
  position: relative;
}

#cart .img-thumbnail {
  min-width: 100px;
}

#cart .btn-lg {
  font-size: 15px;
  line-height: 18px;
  padding: 14px 35px;
}

#cart .dropdown-menu {
  background: #98e889;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: auto;
  min-width: 500px;
  max-width: 500%;
  box-sizing: border-box;
  overflow-y: auto;
  z-index: 1000;
}

#cart .dropdown-menu.show {
  display: block;
}

#cart .dropdown-menu li {
  padding: 10px;
  min-width: auto;
  white-space: nowrap;
}

#cart .dropdown-menu li a {
  text-decoration: none;
  color: #333;
  display: block;
}

#cart .dropdown-menu li a:hover {
  background-color: #f3dede;
}

#cart.show .dropdown-menu {
  max-height: 800px;
  overflow-y: auto;
}

@media (max-width: 768px) {
  #cart .dropdown-menu li {
    min-width: 100%;
  }
}

/* ========================================= */
/*             GLASS NAVBAR STYLE            */
/* ========================================= */
.glass-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1030;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.2); /* Light transparent */
}

/* Push content down to prevent it from hiding under navbar */
body {
  padding-top: 50px; /* Adjust to the exact navbar height */
  overflow-x: hidden; /* Prevent horizontal scrolling caused by large elements */
}
 


/* ========================================= */
/*               MENU BAR STYLE              */
/* ========================================= */

#menu {
  background-color: rgba(255, 255, 255, 0.2); /* Light transparent */
  background-repeat: repeat-x;
  border: 2px solid #8f7a47;
  border-color: #8f7a47 #8f7a47 #8f7a47;
  min-height: 40px;
  border-radius: 4px;
  padding: 0 1rem;
  margin-bottom: 20px;
}


#menu .navbar-nav {
  justify-content: center;
  gap: 50px;
}



#menu .navbar-nav > li > a:hover {
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

#menu .dropdown-inner {
  display: flex;
  flex-direction: row;
}

#menu .dropdown-inner ul {
  min-width: 200px;
}

@media (min-width: 960px) {
  #menu .dropdown:hover .dropdown-menu {
    display: block;
  }
}

#category {
  float: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 40px;
  color: #000;
}

#menu .navbar-toggler i {
  color: #000;
  font-size: 0.9em;
}

/* ========================================= */
/*       NAVBAR CONTAINER & RESPONSIVE       */
/* ========================================= */

.navbar {
  padding: 10px 15px;
  border-radius: 10px;
  padding: 10px 15px;
  min-height: 10px;
  max-height: 50px;
  background-color: rgba(255, 255, 255, 0.2); /* Light transparent */
  border-bottom: 2px solid #8f7a47;
}

.navbar-dark .nav-link {
  color: #000 !important;
}

.navbar-dark .navbar-toggler,
.navbar-toggler {
  border-color: #000;
}

.navbar .container {
  flex-wrap: wrap;
}

/* ========================================= */
/*              NAV CONTROL             */
/* ========================================= */
.navbar-collapse {
  flex-grow: 1;
  justify-content: center;
  border-radius: 10px;
  padding: 10px 15px;
  min-height: 30px;
  max-height: 40px;
}

body.dark-mode .navbar-collapse {
  background-color: #000;
}

.navbar-collapse .nav-link {
  color: #000 !important;
}

body.dark-mode .navbar-collapse .nav-link {
  color: #fff !important;
}

/* Mobile Nav */
@media (max-width: 991px) {
  .navbar-nav {
    flex-direction: column;
    gap: 10px;
  }
}

/* Category Toggle Button Styling */
.navbar-toggler.category-toggler {
  background-color: #000;
  color: #000;
  border: 1px solid #000;
  padding: 8px 12px;
  font-size: 14px;
  transition: all 0.3s ease-in-out;
}

.navbar-toggler.category-toggler i {
  color: #fff;
}

body.dark-mode .navbar-toggler.category-toggler {
  background-color: #fff;
  color: #fff;
  border: 1px solid #fff;
}

body.dark-mode .navbar-toggler.category-toggler i {
  color: #fff;
}

@media (max-width: 991px) {
  #menu .dropdown-menu {
    bottom: 100% !important;
    top: auto !important;
    margin-bottom: 10px;
    border-radius: 10px;
  }
}


/* ========================================= */
/*        LOGIN HOVER DROPDOWN STYLES        */
/* ========================================= */
.login-hover .dropdown-menu {
  display: none;
  position: absolute;
  margin-top: 5px;
  min-width: 150px;
  z-index: 1000;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.login-hover:hover .dropdown-menu {
  display: block;
}

/* ========================================= */
/*            PRODUCT LIST STYLES            */
/* ========================================= */
.product-thumb {
  border: 1px solid #ddd;
  position: relative;
  height: 100%;
}

.product-thumb .image {
  text-align: center;
}

.product-thumb .image a:hover {
  opacity: 0.8;
}

.product-thumb .description {
  padding: 15px;
  margin-bottom: 45px;
}

.product-thumb .description h4 {
  font-weight: bold;
}

.product-thumb .button {
  display: flex;
  position: absolute;
  width: 100%;
  bottom: 0;
}

.product-thumb .button button {
  width: 33.33%;
  border: none;
  border-top: 1px solid var(--bs-border-color);
  background-color: var(--bs-tertiary-bg);
  color: var(--bs-gray-600);
  line-height: 38px;
  text-align: center;
}

.product-thumb .button button:hover {
  color: var(--bs-gray-600);
  background-color: #ddd;
  text-decoration: none;
  cursor: pointer;
}

.product-thumb .button button + button {
  border-left: 1px solid var(--bs-border-color);
}

@media (min-width: 960px) {
  .product-list .product-thumb {
    display: flex;
  }

  .product-list .product-thumb .image {
    flex-direction: column;
    margin-bottom: 0;
  }

  .product-list .product-thumb .content {
    flex-direction: column;
    flex: 75%;
    position: relative;
  }

  .product-list .product-thumb .button {
    border-left: 1px solid #ddd;
    width: calc(100% - 15px);
    margin-left: 15px;
  }
}

/* Product Title Color */
.product-thumb h4 a {
  color: #000000;
  font-weight: 400;
}

/* ========================================= */
/*            PRODUCT PRICE STYLES           */
/* ========================================= */
.price {
  color: #202120;
  font-weight: bold;
  font-size: 20px;
  font-family: Arial, sans-serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  background: linear-gradient(to bottom, #f7f7f7, #f0f0f0);
  padding: 5px 10px;
  border-radius: 5px;
  display: inline-block;
  border: 1px solid #e0e0e0;
}

.price .currency-symbol {
  font-size: 16px;
  color: #555;
  margin-right: 2px;
}

.price-new {
  font-weight: 600;
}

.price-old {
  color: #dc512c;
  text-decoration: line-through;
}

.price-tax {
  color: #673c3c;
  font-size: 12px;
  display: block;
}

/* ========================================= */
/*               PRODUCT RATING              */
/* ========================================= */
.rating .fa-stack {
  width: 20px;
}

.rating .fa-star {
  color: #999;
  font-size: 15px;
}

.rating .fa-star {
  color: #FC0;
  font-size: 15px;
}

.rating .fa-star + .fa-star {
  color: #E69500;
}
/* ========================================= */
/*              HEADER  STYLES                */
/* ========================================= */

.main-header {
  background: #fff;
  border-bottom: 5px solid #00c853;
}


/* ========================================= */
/*              FOOTER STYLES                */
/* ========================================= */
footer {
  border: 1px solid #000000;
  position: absolute;
  bottom: -1px;
  width: 100%;
  padding-top: 30px;
  background-color: #303030;
  border-top: 10px solid #8f7a47;
  color: #e2e2e2;
}

footer hr {
  border-top: none;
  border-bottom: 1px solid #666;
}

footer a {
  color: #ccc;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

footer h5 {
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* ========================================= */
/*             BREADCRUMB STYLES             */
/* ========================================= */
.breadcrumb {
  margin: 0 0 20px 0;
  padding: 8px 0;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  background-color: var(--bs-tertiary-bg);
}

.breadcrumb i {
  font-size: 15px;
}

.breadcrumb > li.breadcrumb-item {
  text-shadow: 0 1px 0 #FFF;
  padding: 0 20px;
  position: relative;
  white-space: nowrap;
}

.breadcrumb > li.breadcrumb-item > a {
  text-decoration: none;
}

.breadcrumb > li.breadcrumb-item:after {
  content: "";
  display: block;
  position: absolute;
  top: -3px;
  right: -5px;
  width: 26px;
  height: 26px;
  border-right: 1px solid var(--bs-border-color);
  border-bottom: 1px solid var(--bs-border-color);
  transform: rotate(-45deg);
}

.breadcrumb > li.breadcrumb-item + li:before {
  content: "";
  padding: 0;
}

/* ========================================= */
/*             BLOG THUMB STYLES             */
/* ========================================= */
.blog-thumb {
  border: 1px solid #ddd;
  margin-bottom: 15px;
}

.blog-thumb h4 {
  font-weight: bold;
}

.blog-thumb .image {
  text-align: center;
  margin-bottom: 15px;
}

.blog-thumb .image a:hover {
  opacity: 0.8;
}

.blog-thumb .description {
  padding: 15px;
}

/* ========================================= */
/*           COOKIE BANNER STYLE             */
/* ========================================= */
#cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 9999;
  opacity: 0.95;
  color: #ecf0f1;
  background: #343a40;
}

#cookie div {
  font-size: 16px;
  color: #FFFFFF;
}

/* ========================================= */
/*         DARK MODE - NAVBAR STYLES         */
/* ========================================= */
.dark-mode .navbar {
  background-color: #1f1f1f !important;
  border-bottom: 1px solid #333;
}

.dark-mode .navbar .nav-link {
  color: #ffffff !important;
}

.dark-mode .navbar .nav-link:hover {
  color: #bbbbbb !important;
}

.dark-mode .navbar-toggler-icon {
  filter: invert(1);
}

.dark-mode .btn-outline-light {
  border-color: #ffffff !important;
  color: #ffffff !important;
}

.dark-mode .btn-outline-light:hover {
  background-color: #444 !important;
  color: #ffffff !important;
}

/* ========================================= */
/*        MOBILE RESPONSIVENESS TWEAKS      */
/* ========================================= */
@media (max-width: 991.98px) {
  .search-container {
    margin-top: 10px;
    text-align: center;
  }

  #cart {
    margin-top: 10px;
    text-align: center;
  }

  #logo img {
    max-width: 120px;
  }
}

/* Currency & Language Dropdown (Header) */
.currency-language {
  flex-direction: column;
  align-items: center;
  display: flex;
  gap: 10px;
}

.currency-language span {
  color: #000 !important;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
