/* New Header Component Styles - Built from scratch */

/* Header Structure */
.new-header {
  position: relative;
  z-index: 9998;
}

/* Black bar at top */
.new-blackbar {
  background: #000;
  padding: 8px 0;
  text-align: center;
}

.new-text-block {
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
}

/* Navigation bar */
.new-navbar {
  background: #aa1826;
  padding: 1rem 0;
  position: relative;
  z-index: 9999;
}

.new-navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo styling */
.new-logo img {
  height: auto;
  max-width: 131px;
}

/* Navigation right section */
.new-nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}



/* Cart icon styling */
.new-cart-icon {
  display: flex;
  align-items: center;
}

.new-cart-toggle {
  cursor: pointer;
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 50%;
  background: none;
  border: none;
  color: white;
}

.new-cart-toggle:hover {
  background: rgba(255,255,255,0.1);
}

.new-cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #aa1826;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  border: 2px solid white;
}

/* Contact icon styling */
.new-contact-icon {
  display: flex;
  align-items: center;
}

.new-contact-toggle {
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 50%;
  background: none;
  border: none;
  color: white;
  text-decoration: none;
}

.new-contact-toggle:hover {
  background: rgba(255,255,255,0.1);
}

/* Cart sidebar styling */
.new-cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: white;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  z-index: 99999;
  transition: right 0.3s ease;
  overflow-y: auto;
  display: block !important;
}

.new-cart-open {
  right: 0 !important;
}

.new-cart-content {
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.new-cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.new-cart-title {
  margin: 0;
  font-family: 'Playfair Display', serif;
  color: #333;
  font-size: 1.5rem;
}

.new-close-cart {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 5px;
  transition: color 0.3s ease;
}

.new-close-cart:hover {
  color: #333;
}

.new-cart-items {
  flex: 1;
  overflow-y: auto;
  padding-top: 20px;
}

.new-cart-empty {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.new-cart-empty p {
  margin: 0 0 10px 0;
}

.new-cart-empty p:last-child {
  font-size: 0.9rem;
}

.new-cart-item {
  border-bottom: 1px solid #f0f0f0;
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.new-cart-item-info {
  flex: 1;
}

.new-cart-item-title {
  margin: 0 0 5px 0;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: #333;
}

.new-cart-item-price {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.new-cart-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.new-cart-item-total {
  font-weight: 600;
  color: #aa1826;
}

.new-cart-item-remove {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  font-size: 18px;
  padding: 5px;
  transition: color 0.3s ease;
}

.new-cart-item-remove:hover {
  color: #666;
}

.new-cart-footer {
  border-top: 2px solid #f0f0f0;
  padding-top: 20px;
  margin-top: 20px;
}

.new-cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.new-cart-total-label {
  font-weight: 600;
  font-size: 1.1rem;
}

.new-cart-total-amount {
  font-weight: 700;
  font-size: 1.3rem;
  color: #aa1826;
}

.new-checkout-btn {
  width: 100%;
  background: #aa1826;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-bottom: 10px;
}

.new-checkout-btn:hover {
  background: #8b141f;
}

.new-continue-shopping {
  width: 100%;
  background: #f8f8f8;
  color: #333;
  border: 2px solid #e0e0e0;
  padding: 12px;
  border-radius: 8px;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.new-continue-shopping:hover {
  background: #e8e8e8;
  border-color: #ccc;
}

/* Responsive Design */
@media screen and (max-width: 991px) {
  .new-navbar-container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media screen and (max-width: 767px) {
  .new-cart-sidebar {
    width: 100%;
    right: -100%;
  }
  
  .new-navbar-container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media screen and (max-width: 479px) {
  .new-text-block {
    font-size: 0.8rem;
  }
  
  .new-navbar {
    padding: 0.8rem 0;
  }
  
  .new-logo img {
    max-width: 100px;
  }
  
  .new-navbar-container {
    padding-left: 10px;
    padding-right: 10px;
  }
} 