/* Header & Navigation */
.site-header {
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  position: relative;
  z-index: 1000;
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo h1 {
  margin: 0;
  color: var(--primary-color);
  font-size: 28px;
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-links {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.main-links li a {
  color: var(--secondary-color);
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.main-links li a:hover {
  color: var(--primary-color);
}

.main-links li.active a {
  color: var(--primary-color);
}

.contact-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.contact-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  color: var(--secondary-color);
}

.cart-icon {
  position: relative;
  color: var(--primary-color);
  margin-left: 10px;
}

.cart-icon:hover {
  color: var(--primary-color);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-size: 10px;
  font-weight: bold;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main Navigation */
.main-navigation {
  background-color: var(--secondary-color);
}

.nav-menu {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  height: 50px;
}

.nav-menu li {
  display: flex;
}

.nav-menu li a {
  display: flex;
  align-items: center;
  color: white;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  height: 100%;
  transition: background-color 0.3s;
}

.nav-menu li a:hover,
.nav-menu li.active a {
  background-color: rgba(255, 255, 255, 0.1);
  border-bottom: 3px solid var(--primary-color);
}

/* Mobile Header & Navigation */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-top-bar {
  height: 5px;
  background-color: var(--primary-color);
  width: 100%;
}

.mobile-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
}

.mobile-logo img {
  height: 40px;
  width: auto;
}

.mobile-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.mobile-cart {
  color: var(--secondary-color);
  position: relative;
}

.mobile-cart .cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
}

.menu-button {
  background-color: var(--primary-color);
  border: none;
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 8px 15px;
  border-radius: 4px;
  margin-top:5px;
  margin-bottom:5px;
}

.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1001;
}

.menu-overlay.active {
  display: block;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background-color: white;
  z-index: 1002;
  overflow-y: auto;
  transition: right 0.3s ease;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}

.mobile-menu-drawer.active {
  right: 0;
}

.drawer-section {
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
}

/* Contact section in drawer */
.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  gap: 10px;
}

.contact-item svg {
  color: var(--primary-color);
  flex-shrink: 0;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.location, .phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.location svg, .phone svg {
  color: var(--primary-color);
}

/* Mobile navigation menu */
.mobile-navigation {
  width: 100%;
}

.mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-menu li {
  margin-bottom: 5px;
}

.mobile-nav-menu a {
  display: block;
  padding: 12px 0;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
  padding-left: 10px;
}

.mobile-nav-menu a:hover {
  color: var(--primary-color);
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 0 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 0;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  color: var(--text-light);
}

.breadcrumb-list li:not(:last-child)::after {
  content: '›';
  margin: 0 8px;
  color: var(--text-light);
}

.breadcrumb-list a {
  color: var(--text-light);
  text-decoration: none;
}

.breadcrumb-list a:hover {
  color: var(--primary-color);
}

.breadcrumb-list .active {
  color: var(--text-color);
  font-weight: 500;
}

/* Footer */
.site-footer {
  background-color: var(--gray-800);
  color: var(--gray-300);
  padding-top: 50px;
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.widget-title {
  color: white;
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.widget-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--gray-300);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  background-color: var(--gray-900);
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
}

/* Back to top */
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 99;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}