/*
Theme Name: Ecophysis
Description: A modern WordPress theme for eco-friendly businesses and organizations. Features clean design, responsive layout, and specialized menus for main header, shop, and shop footer.
Version: 1.0.0
Author: Ecophysis Team
Text Domain: ecophysis
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Bar */
.top-bar {
  background-color: #333;
  color: white;
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-bar-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.top-bar-links a:hover {
  color: #a8d5a8;
}

.language-selector {
  cursor: pointer;
}

.cart-icon {
  position: relative;
  color: white;
  text-decoration: none;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #ff4444;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Header Styles */
.site-header {
  background-color: #2c5530;
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.site-header.shop-header {
  background-color: white;
  color: #333;
  border-bottom: 1px solid #eee;
}

.site-header.shop-header .site-title a {
  color: #2c5530;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tagline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #666;
}

.bee-icon {
  font-size: 1.2rem;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  font-size: 2rem;
  font-weight: bold;
  text-decoration: none;
  color: white;
}

.site-title:hover {
  color: #a8d5a8;
}

/* Main Navigation */
.main-navigation {
  display: flex;
  list-style: none;
}

.main-navigation li {
  margin-left: 2rem;
}

.main-navigation a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.main-navigation a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Shop Menu */
.shop-menu {
  background-color: #4a7c59;
  padding: 0.5rem 0;
}

.shop-menu .container {
  display: flex;
  justify-content: center;
}

.shop-navigation {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.shop-navigation a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.shop-navigation a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Main Content */
.site-main {
  min-height: 60vh;
  padding: 2rem 0;
}

.content-area {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

/* Footer */
.site-footer {
  background-color: #1a3d1f;
  color: white;
  padding: 2rem 0;
  margin-top: 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-widget h3 {
  margin-bottom: 1rem;
  color: #a8d5a8;
}

.footer-widget ul {
  list-style: none;
}

.footer-widget ul li {
  margin-bottom: 0.5rem;
}

.footer-widget a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-widget a:hover {
  color: #a8d5a8;
}

/* Shop Footer Menu */
.shop-footer-menu {
  background-color: #2c5530;
  padding: 1rem 0;
  border-top: 1px solid #4a7c59;
}

.shop-footer-menu .container {
  display: flex;
  justify-content: center;
}

.shop-footer-navigation {
  display: flex;
  list-style: none;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.shop-footer-navigation a {
  color: #a8d5a8;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.shop-footer-navigation a:hover {
  background-color: rgba(168, 213, 168, 0.1);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.menu-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.menu-toggle-icon {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 20px;
  height: 15px;
}

.menu-toggle-icon span {
  display: block;
  height: 2px;
  background-color: white;
  transition: all 0.3s ease;
}

.menu-toggle.active .menu-toggle-icon span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .menu-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .menu-toggle-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .top-bar .container {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .top-bar-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .menu-toggle {
    display: block;
  }

  .site-header .container {
    flex-direction: column;
    gap: 1rem;
  }

  .logo-section {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .main-navigation {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
    background-color: rgba(44, 85, 48, 0.95);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
  }

  .main-navigation.active {
    display: flex;
  }

  .main-navigation li {
    margin: 0.5rem 0;
  }

  .shop-navigation {
    flex-direction: column;
    gap: 1rem;
  }

  .shop-footer-navigation {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 2rem;
}

/* Eco-friendly color scheme */
.eco-primary {
  color: #2c5530;
}

.eco-secondary {
  color: #4a7c59;
}

.eco-accent {
  color: #a8d5a8;
}

.bg-eco-primary {
  background-color: #2c5530;
}

.bg-eco-secondary {
  background-color: #4a7c59;
}

.bg-eco-accent {
  background-color: #a8d5a8;
}

/* Filter Chips Styles */
.filter-navbar {
  width: 100%;
  margin-bottom: 20px;
}

.filter-navbar .nav {
  gap: 10px;
  align-items: center;
}

.filter-navbar .nav li {
  background-color: #fff;
  border: 1px solid #fbba00;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 400;
  border-radius: 8px;
}

.filter-navbar .nav li button.clear-filter {
  font-size: 16px;
  margin: 0;
  padding: 0;
  background-color: transparent;
  border: none;
  color: #666;
  transition: color 0.2s ease;
  cursor: pointer;
}

.filter-navbar .nav li button.clear-filter:hover {
  color: #fbba00;
  transform: scale(1.1);
}

.filter-navbar .nav li button.clear-filter .bi::before {
  vertical-align: middle;
}

.filter-navbar .nav li.clear-nav {
  border: 0;
  background-color: transparent;
}

.filter-navbar .nav li.clear-nav button.clear-navBtn {
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--text-color-main);
  margin: 0;
  border-radius: 0;
  color: #12100b;
  font-weight: 500;
  transition: all 0.2s ease;
}

.filter-navbar .nav li.clear-nav button.clear-navBtn:hover {
  color: #fbba00;
  border-bottom-color: #fbba00;
}

.filter-navbar .nav li span {
  color: #12100b;
  font-weight: 500;
}

.filter-navbar .nav li.clear-nav button.clear-navBtn:hover,
.filter-navbar .nav li button.clear-filter:hover {
  color: #676767;
}

.is-processing {
  opacity: 0.6;
  cursor: not-allowed;
}
.updating {
  opacity: 0.6;
  pointer-events: none;
}

.custom-notice {
  background-color: #fff;
  padding: 16px 40px;
  letter-spacing: -0.5px;
  box-shadow: 0px 3px 20px 0px #0000000f;
  margin-top: 20px;
}
.custom-notice a {
  float: right;
}

.custom-notice.success {
  border-left: 8px solid #7bb82e;
}

.custom-notice.error {
  border-left: 8px solid #d63638;
}

.custom-notice.info {
  border-left: 8px solid #72aee6;
}

.show-password-input {
  top: 33% !important;
}

.lsf-messages {
  margin-bottom: 16px;
}
.lsf-message {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
}
.lsf-error {
  background: #fde8e8;
  border: 1px solid #f5b5b5;
  color: #8a1f1f;
}
.lsf-success {
  background: #e8f7ed;
  border: 1px solid #b6e2c1;
  color: #1d6b3a;
}
.lsf-notice {
  background: #eef4ff;
  border: 1px solid #c9d8ff;
  color: #1b3a7a;
}

.old-price .woocommerce-Price-currencySymbol,
.old-price .woocommerce-Price-amount {
  color: #ff635a !important;
  font-size: 18px;
  line-height: 100%;
}

.comment-form .stars {
  display: none !important;
}

.btn.btn-main:hover span,
.btn.btn-main-dark:hover span {
  transform: none !important;
}
.tab-pra p {
  margin-bottom: 0px !important;
}

a.ic-btn.remove-coupen {
  color: #e80c0c !important;
  text-decoration: none !important;
}

.checkout-inner .copen-area .copen-banner .copen-btn {
  text-decoration: none !important;
}
@media (max-width: 992px) {
  .nav-item-quantity {
    width: 100% !important;
  }
}

.select2-container .select2-dropdown,
.select2-container .select2-selection {
  padding: 12px 18px !important;
  background-color: #fff !important;
  border: 1px solid #12100b33 !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  border-radius: 0 !important;
  font-family: "Karla", sans-serif !important;
  margin-bottom: 0px !important;
}
.select2-container {
  margin-bottom: 30px !important;
}
.select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 1.5 !important;
  padding: 0px !important;
}
.input-text {
  padding: 12px 18px !important;
  background-color: #fff !important;
  border: 1px solid #12100b33 !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  border-radius: 0 !important;
  font-family: "Karla", sans-serif !important;
  margin-bottom: 30px !important;
  line-height: 1.5 !important;
}
.cc-success-content:focus-visible,
.cc-error-content:focus-visible {
  outline: none !important;
}
.cc-content {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cc-success-content .bi {
  color: #7bb82e;
  /* font-size: 28px; */
}
.cc-error-content .bi {
  color: #d63638;
  /* font-size: 28px; */
}
.cc-info-content .bi {
  color: #72aee6;
  /* font-size: 28px; */
}
.custom-notice {
  background-color: #fff;
  padding: 16px 40px!important;
  letter-spacing: -0.5px!important;
  box-shadow: 0px 3px 20px 0px #0000000f!important;
  font-family: "Karla", sans-serif!important;
  font-weight: 700!important;
  font-size: 16px!important;
}
.cc-content span {
  width: 100%!important;
}
.cc-content span a {
  float: right!important;
}
.disabled-star {
  opacity: 0.3!important;
}