/**
 * PeakAura - Main Stylesheet
 */

/* ===== CSS Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: #111;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

a {
  color: #2E8B57; /* Sea Green */
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #38A169; /* Lighter Green */
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
}

button {
  cursor: pointer;
}

/* ===== Utilities ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1rem;
  padding-left: 1rem;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

/* ===== Typography ===== */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

h5 {
  font-size: 1.125rem;
  font-weight: 600;
}

h6 {
  font-size: 1rem;
  font-weight: 600;
}

.page-title {
  margin-bottom: 1.5rem;
  color: #111;
  text-align: center;
}

.section-title {
  margin-bottom: 1rem;
  text-align: center;
  font-size: 2rem;
  color: #111;
}

.section-subtitle {
  margin-bottom: 2rem;
  text-align: center;
  font-size: 1.125rem;
  color: #666;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-primary {
  background-color: #2E8B57; /* Sea Green */
  color: #fff;
  border-color: #2E8B57;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: #246747; /* Darker Sea Green */
  border-color: #246747;
  color: #fff;
}

.btn-secondary {
  background-color: #38A169; /* Green */
  color: #fff;
  border-color: #38A169;
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: #2F855A; /* Darker Green */
  border-color: #2F855A;
  color: #fff;
}

.btn-outline {
  background-color: transparent;
  color: #2E8B57;
  border-color: #2E8B57;
}

.btn-outline:hover, .btn-outline:focus {
  background-color: #2E8B57;
  color: #fff;
}

.btn-text {
  background-color: transparent;
  color: #2E8B57; /* Sea Green */
  border-color: transparent;
  padding: 0.5rem;
}

.btn-text:hover, .btn-text:focus {
  color: #38A169; /* Lighter Green */
  text-decoration: underline;
}

.btn-link {
  background: none;
  border: none;
  padding: 0;
  color: #2E8B57; /* Sea Green */
  text-decoration: underline;
  cursor: pointer;
}

.btn-link:hover {
  color: #38A169; /* Lighter Green */
}

/* ===== Forms ===== */
.form-group {
  margin-bottom: 1rem;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.5rem;
  margin-left: -0.5rem;
}

.form-row .form-group {
  padding-right: 0.5rem;
  padding-left: 0.5rem;
  flex: 1;
}

label {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.required {
  color: #DC2626;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="search"],
select,
textarea {
  display: block;
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #D1D5DB;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
select:focus,
textarea:focus {
  color: #333;
  background-color: #fff;
  border-color: #3B82F6;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.password-input {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6B7280;
  cursor: pointer;
}

.password-requirements {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #6B7280;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin-right: 0.5rem;
}

.form-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.form-error {
  margin-top: 0.25rem;
  color: #DC2626;
  font-size: 0.875rem;
}

/* ===== Header & Navigation ===== */
header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.header-sticky {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-up {
  transform: translateY(-100%);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo img {
  height: 40px;
}

.main-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu li {
  margin-left: 1.5rem;
}

.main-menu a {
  color: #333;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.main-menu a:hover, .main-menu a.active {
  color: #2E8B57; /* Sea Green */
}

.main-menu a:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #2E8B57; /* Sea Green */
  transition: width 0.3s ease;
}

.main-menu a:hover:before, .main-menu a.active:before {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
}

.account-icon, .cart-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #333;
  border-radius: 50%;
  margin-left: 0.5rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.account-icon:hover, .cart-icon:hover {
  background-color: #F3F4F6;
  color: #1E40AF;
}

.cart-icon {
  position: relative;
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background-color: #2E8B57; /* Sea Green */
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50%;
  transform: translate(25%, -25%);
}

.cart-count.pulse {
  animation: pulse 0.5s cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulse {
  0%, 100% {
    transform: translate(25%, -25%) scale(1);
  }
  50% {
    transform: translate(25%, -25%) scale(1.25);
  }
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #333;
  font-size: 1.5rem;
  cursor: pointer;
}

.account-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1000;
  display: none;
  min-width: 200px;
  padding: 0.5rem 0;
  background-color: #fff;
  border-radius: 0.25rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-top: 0.5rem;
}

.account-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: #333;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu a:hover {
  background-color: #F3F4F6;
  color: #1E40AF;
}

/* ===== Cart Drawer ===== */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background-color: #fff;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #E5E7EB;
}

.cart-drawer-header h3 {
  margin: 0;
}

.cart-drawer-close {
  background: none;
  border: none;
  color: #6B7280;
  font-size: 1.5rem;
  cursor: pointer;
}

.cart-content {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.loading {
  text-align: center;
  padding: 2rem 0;
  color: #6B7280;
}

.empty-cart {
  text-align: center;
  padding: 2rem 0;
}

.cart-items {
  margin-bottom: 1rem;
}

.cart-item {
  display: flex;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #E5E7EB;
}

.cart-item-image {
  width: 60px;
  height: 60px;
  margin-right: 1rem;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.cart-item-subscription {
  font-size: 0.875rem;
  color: #6B7280;
  margin-bottom: 0.25rem;
}

.cart-item-price {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.cart-quantity-selector {
  display: flex;
  align-items: center;
  margin-right: 1rem;
}

.quantity-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F3F4F6;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.cart-quantity-selector input {
  width: 40px;
  text-align: center;
  border: 1px solid #E5E7EB;
  margin: 0 0.25rem;
}

.cart-remove-item {
  background: none;
  border: none;
  color: #6B7280;
  cursor: pointer;
}

.cart-totals {
  padding: 1rem 0;
  border-top: 1px solid #E5E7EB;
}

.cart-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.cart-label {
  color: #6B7280;
}

.cart-total {
  font-weight: 600;
  font-size: 1.125rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #E5E7EB;
}

.cart-actions {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
}

/* ===== Flash Messages ===== */
.flash-messages {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  max-width: 90%;
  width: 400px;
}

.flash-message {
  margin-bottom: 0.5rem;
  border-radius: 0.25rem;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  animation: slideDown 0.3s ease forwards;
}

.flash-message.hiding {
  animation: slideUp 0.3s ease forwards;
}

.flash-content {
  display: flex;
  align-items: center;
  padding: 1rem;
}

.flash-icon {
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

.flash-message-text {
  flex: 1;
}

.close-flash {
  background: none;
  border: none;
  color: inherit;
  font-size: 1.25rem;
  opacity: 0.7;
  cursor: pointer;
}

.close-flash:hover {
  opacity: 1;
}

.flash-success {
  background-color: #10B981;
  color: #fff;
}

.flash-error {
  background-color: #EF4444;
  color: #fff;
}

.flash-info {
  background-color: #3B82F6;
  color: #fff;
}

.flash-warning {
  background-color: #F59E0B;
  color: #fff;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}

/* ===== Notifications ===== */
.notifications {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 2000;
  max-width: 90%;
  width: 350px;
}

.notification {
  margin-bottom: 0.5rem;
  background-color: #fff;
  border-radius: 0.25rem;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.notification.active {
  transform: translateX(0);
  opacity: 1;
}

.notification-content {
  display: flex;
  align-items: center;
  padding: 1rem;
}

.notification-message {
  flex: 1;
}

.notification-close {
  background: none;
  border: none;
  color: #6B7280;
  font-size: 1.25rem;
  cursor: pointer;
}

.notification-success {
  border-left: 4px solid #10B981;
}

.notification-error {
  border-left: 4px solid #EF4444;
}

.notification-info {
  border-left: 4px solid #3B82F6;
}

/* ===== Hero Section ===== */
.hero {
  padding: 4rem 0;
  background-color: #F0FFF4; /* Light Green Background */
  background-image: linear-gradient(to bottom right, #F0FFF4, #D1FAE5);
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1.5" fill="%232E8B57" opacity="0.1"/></svg>');
  background-size: 50px 50px;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  padding-right: 2rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #2E8B57; /* Sea Green */
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #4B5563;
}

.hero-cta {
  display: flex;
  gap: 1rem;
}

.hero-image-wrapper {
  flex: 1;
  max-width: 900px;
  position: relative;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.hero-image img {
  max-width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: perspective(1000px) rotateY(-10deg);
}

.hero-badges {
  position: absolute;
  top: 10%;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-badge {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.hero-badge img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

/* ===== Featured Products ===== */
.featured-products {
  padding: 4rem 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.product-card {
  background-color: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.product-image {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 250px;
  background-color: #F9FAFB;
  border-bottom: 1px solid #E5E7EB;
}

.product-image img {
  max-height: 100%;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  margin-bottom: 0.5rem;
  color: #111;
  font-size: 1.25rem;
}

.product-info p {
  margin-bottom: 1rem;
  color: #6B7280;
  font-size: 0.875rem;
}

.product-price {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #2E8B57; /* Sea Green */
}

.product-actions {
  display: flex;
  gap: 0.5rem;
}

.section-footer {
  text-align: center;
}

/* ===== Bundles Section ===== */
.bundles {
  padding: 4rem 0;
  background-color: #F7F8FA;
}

.bundles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.bundle-card {
  background-color: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.bundle-image {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 250px;
  position: relative;
  background-color: #F9FAFB;
  border-bottom: 1px solid #E5E7EB;
}

.bundle-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.375rem 0.75rem;
  background-color: #EF4444;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
}

.bundle-info {
  padding: 1.5rem;
}

.bundle-info h3 {
  margin-bottom: 0.5rem;
  color: #111;
}

.bundle-info p {
  margin-bottom: 1rem;
  color: #6B7280;
}

.bundle-pricing {
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.original-price {
  color: #6B7280;
  text-decoration: line-through;
  font-size: 1rem;
}

.sale-price {
  color: #2E8B57; /* Sea Green */
  font-size: 1.25rem;
  font-weight: 600;
}

.savings {
  color: #EF4444;
  font-size: 0.875rem;
  font-weight: 500;
}

.bundle-actions {
  display: flex;
  gap: 0.5rem;
}

/* ===== Benefits Section ===== */
.benefits {
  padding: 4rem 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background-color: #F9FAFB;
  border-radius: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: #D1FAE5; /* Light Green */
  color: #2E8B57; /* Sea Green */
  font-size: 2rem;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.benefit-content h3 {
  margin-bottom: 1rem;
  color: #111;
  font-size: 1.25rem;
}

.benefit-content p {
  color: #6B7280;
}

/* ===== Subscription Section ===== */
.subscription {
  padding: 4rem 0;
}

.subscription-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.subscription-image {
  flex: 1;
  max-width: 500px;
}

.subscription-info {
  flex: 1;
}

.benefits-list {
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.benefits-list .benefit-item {
  flex-direction: row;
  text-align: left;
  padding: 1.5rem;
}

.benefits-list .benefit-icon {
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
  margin-right: 1rem;
  margin-bottom: 0;
  flex-shrink: 0;
  background-color: #D1FAE5; /* Light Green */
  color: #2E8B57; /* Sea Green */
}

/* ===== Testimonials Section ===== */
.testimonials {
  padding: 4rem 0;
  background-color: #F7F8FA;
}

.testimonials-slider {
  position: relative;
  margin-bottom: 1.5rem;
}

.testimonial-card {
  display: flex;
  background-color: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  display: none; /* Hidden by default, shown via JS */
}

.testimonial-image {
  flex: 0 0 200px;
  height: 300px;
  background-color: #F3F4F6;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.rating {
  margin-bottom: 1rem;
  color: #F59E0B;
}

.testimonial-text {
  flex: 1;
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
  color: #4B5563;
}

.testimonial-author {
  font-weight: 600;
  color: #111;
}

.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-nav {
  background: none;
  border: none;
  color: #6B7280;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s ease;
}

.testimonial-nav:hover {
  color: #1E40AF;
}

.testimonial-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 1rem;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: #D1D5DB;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #1E40AF;
}

/* ===== Referral Section ===== */
.referral {
  padding: 4rem 0;
}

.referral-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.referral-info {
  flex: 1;
}

.referral-image {
  flex: 1;
  max-width: 500px;
}

.referral-steps {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #1E40AF;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  border-radius: 50%;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 0.5rem;
  color: #111;
}

/* ===== CTA Section ===== */
.cta {
  padding: 4rem 0;
  background-color: #2E8B57; /* Sea Green */
  color: #fff;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta h2 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.cta p {
  margin-bottom: 2rem;
  font-size: 1.25rem;
  opacity: 0.9;
}

/* ===== Footer ===== */
footer {
  background-color: #1F2937;
  color: #F9FAFB;
  padding: 4rem 0 2rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-column h3 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo img {
  max-height: 40px;
}

.footer-column p {
  margin-bottom: 1.5rem;
  color: #D1D5DB;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #374151;
  color: #F9FAFB;
  border-radius: 50%;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  background-color: #fff;
  color: #1E40AF;
  transform: translateY(-3px);
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column ul a {
  color: #D1D5DB;
  transition: color 0.3s ease;
}

.footer-column ul a:hover {
  color: #fff;
}

.newsletter-form {
  display: flex;
  margin-top: 1rem;
}

.newsletter-form input[type="email"] {
  flex: 1;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
}

.newsletter-form button {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  font-size: 0.875rem;
}

.payment-methods {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.payment-methods span {
  margin-right: 0.5rem;
}

.payment-methods i {
  font-size: 1.5rem;
  color: #D1D5DB;
}

.copyright {
  color: #9CA3AF;
  margin-bottom: 1rem;
}

.copyright a {
  color: #D1D5DB;
  font-weight: 500;
}

.copyright a:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: #D1D5DB;
}

.footer-links a:hover {
  color: #fff;
}

/* ===== Auth Pages ===== */
.auth-page {
  padding: 4rem 0;
  background-color: #F7F8FA;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
}

.auth-container {
  max-width: 500px;
  margin: 0 auto;
  padding: 2rem;
  background-color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header h1 {
  margin-bottom: 0.5rem;
  color: #111;
}

.auth-header p {
  color: #6B7280;
}

.auth-form {
  margin-bottom: 1.5rem;
}

.auth-footer {
  text-align: center;
  border-top: 1px solid #E5E7EB;
  padding-top: 1.5rem;
}

.auth-footer p {
  margin-bottom: 0;
  color: #6B7280;
}

.auth-footer a {
  color: #1E40AF;
  font-weight: 500;
}

.forgot-password {
  text-align: right;
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

.forgot-password a {
  color: #1E40AF;
}

.remember-me {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

/* ===== Cart Page ===== */
.cart-page {
  padding: 2rem 0 4rem;
}

.cart-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.cart-header {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr 40px;
  padding: 1rem 0;
  border-bottom: 1px solid #E5E7EB;
  font-weight: 600;
  color: #111;
}

.cart-item {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr 40px;
  padding: 1.5rem 0;
  border-bottom: 1px solid #E5E7EB;
  align-items: center;
}

.cart-item-details {
  display: flex;
  align-items: center;
}

.item-image {
  width: 80px;
  height: 80px;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.item-name {
  margin-bottom: 0.25rem;
}

.item-name a {
  color: #111;
  font-weight: 500;
}

.item-subscription {
  margin-bottom: 0.5rem;
}

.subscription-tag {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background-color: #DBEAFE;
  color: #1E40AF;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  margin-bottom: 0.25rem;
}

.subscription-interval {
  font-size: 0.875rem;
  color: #6B7280;
}

.interval-form {
  display: flex;
  align-items: center;
}

.interval-form label {
  margin-right: 0.5rem;
  margin-bottom: 0;
}

.interval-form select {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

.item-discount {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.regular-price {
  color: #6B7280;
  text-decoration: line-through;
  margin-right: 0.5rem;
}

.savings {
  color: #EF4444;
}

.bundle-savings {
  font-size: 0.875rem;
  color: #EF4444;
}

.subscription-toggle {
  margin-top: 0.5rem;
}

.quantity-selector {
  display: flex;
  align-items: center;
}

.quantity-selector input {
  width: 50px;
  text-align: center;
  margin: 0 0.25rem;
}

.update-btn {
  display: none;
}

.remove-btn {
  background: none;
  border: none;
  color: #6B7280;
  font-size: 1.25rem;
  cursor: pointer;
}

.cart-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}

.cart-summary {
  background-color: #F9FAFB;
  border-radius: 0.5rem;
  padding: 1.5rem;
  position: sticky;
  top: 100px;
}

.cart-summary h2 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.cart-coupon {
  margin-bottom: 1.5rem;
}

.coupon-input {
  display: flex;
}

.coupon-input input {
  flex: 1;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
}

.coupon-input button {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.summary-lines {
  margin-bottom: 1.5rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  color: #6B7280;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #E5E7EB;
  font-size: 1.25rem;
  font-weight: 600;
  color: #111;
}

.free-shipping {
  color: #10B981;
  font-weight: 500;
}

.free-shipping-message {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: #ECFDF5;
  border-radius: 0.25rem;
  color: #10B981;
  display: flex;
  align-items: center;
}

.free-shipping-message i {
  margin-right: 0.5rem;
  font-size: 1.25rem;
}

.checkout-btn {
  margin-bottom: 1rem;
}

.secure-checkout {
  text-align: center;
  margin-bottom: 1rem;
  color: #6B7280;
  font-size: 0.875rem;
}

.secure-checkout i {
  margin-right: 0.25rem;
}

.payment-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: #9CA3AF;
  font-size: 1.5rem;
}

.empty-cart {
  padding: 4rem 0;
  text-align: center;
}

.empty-cart-message {
  max-width: 500px;
  margin: 0 auto;
}

.empty-cart-message i {
  font-size: 4rem;
  color: #D1D5DB;
  margin-bottom: 1.5rem;
}

.empty-cart-message h2 {
  margin-bottom: 1rem;
  color: #111;
}

.empty-cart-message p {
  margin-bottom: 1.5rem;
  color: #6B7280;
}

/* ===== Product Detail Page ===== */
.product-detail-page {
  padding: 2rem 0 4rem;
}

.breadcrumbs {
  margin-bottom: 2rem;
}

.breadcrumbs ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs li {
  font-size: 0.875rem;
  color: #6B7280;
}

.breadcrumbs li:not(:last-child)::after {
  content: '/';
  margin: 0 0.5rem;
  color: #D1D5DB;
}

.breadcrumbs a {
  color: #6B7280;
}

.breadcrumbs a:hover {
  color: #1E40AF;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.product-gallery {
  position: sticky;
  top: 100px;
}

.main-image {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: #F9FAFB;
  border-radius: 0.5rem;
  height: 400px;
}

.main-image img {
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.main-image img:hover {
  transform: scale(1.05);
}

.thumbnails {
  display: flex;
  gap: 1rem;
}

.thumbnail {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F9FAFB;
  border: 2px solid transparent;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.thumbnail.active {
  border-color: #1E40AF;
}

.thumbnail img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.product-title {
  margin-bottom: 0.5rem;
  color: #111;
  font-size: 2.5rem;
}

.product-subtitle {
  margin-bottom: 1rem;
  color: #6B7280;
  font-size: 1.25rem;
}

.product-rating {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.stars {
  color: #F59E0B;
  margin-right: 0.5rem;
}

.rating-value {
  margin-right: 0.5rem;
  font-weight: 500;
}

.rating-count {
  color: #6B7280;
  font-size: 0.875rem;
}

.product-price {
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  font-weight: 600;
  color: #1E40AF;
}

.product-description {
  margin-bottom: 2rem;
  color: #4B5563;
  line-height: 1.7;
}

#add-to-cart-form {
  margin-bottom: 2rem;
}

.purchase-options {
  margin-bottom: 1.5rem;
}

.purchase-options h3 {
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.option-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.option-button {
  position: relative;
  padding: 1rem;
  background-color: #F9FAFB;
  border: 2px solid #E5E7EB;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.option-button.active {
  border-color: #1E40AF;
}

.option-button input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.option-content {
  display: flex;
  flex-direction: column;
}

.option-title {
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #111;
}

.option-price {
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: #1E40AF;
}

.option-description {
  font-size: 0.875rem;
  color: #6B7280;
}

.subscription-details {
  padding: 1rem;
  background-color: #F0F9FF;
  border-radius: 0.5rem;
}

.subscription-interval {
  display: flex;
  align-items: center;
}

.subscription-interval label {
  margin-right: 0.5rem;
  margin-bottom: 0;
}

.add-to-cart-row {
  display: flex;
  gap: 1rem;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid #D1D5DB;
  border-radius: 0.25rem;
  overflow: hidden;
  height: 50px;
}

.quantity-btn {
  width: 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F3F4F6;
  border: none;
  transition: background-color 0.3s ease;
}

.quantity-btn:hover {
  background-color: #E5E7EB;
}

.quantity-selector input {
  width: 60px;
  height: 100%;
  text-align: center;
  border: none;
  border-left: 1px solid #D1D5DB;
  border-right: 1px solid #D1D5DB;
}

.add-to-cart-row .btn {
  flex: 1;
}

.product-meta {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.meta-item {
  display: flex;
  align-items: flex-start;
  padding: 1rem;
  background-color: #F9FAFB;
  border-radius: 0.5rem;
}

.meta-item i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #DBEAFE;
  color: #1E40AF;
  font-size: 1.25rem;
  border-radius: 50%;
  margin-right: 1rem;
  flex-shrink: 0;
}

.meta-title {
  margin-bottom: 0.25rem;
  font-weight: 500;
  color: #111;
}

.meta-description {
  font-size: 0.875rem;
  color: #6B7280;
}

.product-tabs {
  margin-bottom: 4rem;
}

.tab-buttons {
  display: flex;
  border-bottom: 1px solid #E5E7EB;
  margin-bottom: 2rem;
  overflow-x: auto;
}

.tab-btn {
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: #6B7280;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}

.tab-btn:hover {
  color: #1E40AF;
}

.tab-btn.active {
  color: #1E40AF;
  border-color: #1E40AF;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.tab-pane h2 {
  margin-bottom: 2rem;
  text-align: center;
}

.ingredients-list, .benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.ingredient-item {
  display: flex;
  background-color: #F9FAFB;
  border-radius: 0.5rem;
  overflow: hidden;
}

.ingredient-image {
  flex: 0 0 100px;
  height: 100%;
  background-color: #E5E7EB;
}

.ingredient-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ingredient-info {
  flex: 1;
  padding: 1.5rem;
}

.ingredient-info h3 {
  margin-bottom: 0.75rem;
  color: #111;
}

.ingredient-info p {
  color: #6B7280;
  font-size: 0.875rem;
}

.directions-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.facts-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #E5E7EB;
}

.facts-table th, .facts-table td {
  padding: 0.75rem;
  border: 1px solid #E5E7EB;
}

.facts-table th {
  background-color: #F9FAFB;
  font-weight: 600;
  text-align: left;
}

.facts-note {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #6B7280;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid #E5E7EB;
  border-radius: 0.5rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background-color: #F9FAFB;
  cursor: pointer;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #111;
}

.faq-toggle {
  font-size: 1.25rem;
  color: #6B7280;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  display: none;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.reviews-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.average-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
}

.rating-number {
  font-size: 3rem;
  font-weight: 600;
  color: #111;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.reviews-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.reviews-sort {
  display: flex;
  align-items: center;
}

.reviews-sort label {
  margin-right: 0.5rem;
  margin-bottom: 0;
}

.reviews-list {
  margin-bottom: 2rem;
}

.review-item {
  padding: 1.5rem;
  border: 1px solid #E5E7EB;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.review-stars {
  margin-right: 1rem;
}

.review-stars i.active {
  color: #F59E0B;
}

.review-title {
  font-weight: 600;
  color: #111;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #6B7280;
}

.verified-badge {
  display: inline-block;
  padding: 0.125rem 0.375rem;
  background-color: #DBEAFE;
  color: #1E40AF;
  font-size: 0.75rem;
  border-radius: 9999px;
  margin-left: 0.5rem;
}

.review-content {
  margin-bottom: 1rem;
  color: #4B5563;
}

.review-feedback {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: #6B7280;
}

.review-feedback span {
  margin-right: 0.5rem;
}

.btn-helpful {
  background: none;
  border: 1px solid #D1D5DB;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  color: #6B7280;
  margin-right: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-helpful:hover {
  background-color: #F9FAFB;
}

.btn-helpful.active {
  background-color: #DBEAFE;
  color: #1E40AF;
  border-color: #1E40AF;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  background-color: #fff;
  border: 1px solid #D1D5DB;
  border-radius: 0.25rem;
  color: #6B7280;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.pagination-btn:hover:not(.disabled) {
  background-color: #F9FAFB;
  color: #1E40AF;
  border-color: #1E40AF;
}

.pagination-btn.active {
  background-color: #1E40AF;
  color: #fff;
  border-color: #1E40AF;
}

.pagination-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.no-reviews {
  text-align: center;
  padding: 2rem;
  background-color: #F9FAFB;
  border-radius: 0.5rem;
  color: #6B7280;
}

.related-products {
  margin-bottom: 4rem;
}

.related-products h2 {
  margin-bottom: 2rem;
  text-align: center;
}

/* ===== Media Queries ===== */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
    padding-right: 0;
    margin-bottom: 2rem;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .subscription-content, .referral-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .subscription-image, .referral-image {
    max-width: 100%;
    order: -1;
  }
  
  .product-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .product-gallery {
    position: static;
  }
  
  .directions-content {
    grid-template-columns: 1fr;
  }
  
  .reviews-header {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .reviews-controls {
    align-items: center;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .option-buttons {
    grid-template-columns: 1fr;
  }
  
  .cart-grid {
    grid-template-columns: 1fr;
  }
  
  .cart-header {
    display: none;
  }
  
  .cart-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .cart-item-price, .cart-item-quantity, .cart-item-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .cart-item-price:before {
    content: 'Price:';
    color: #6B7280;
  }
  
  .cart-item-quantity:before {
    content: 'Quantity:';
    color: #6B7280;
  }
  
  .cart-item-total:before {
    content: 'Total:';
    color: #6B7280;
  }
  
  .cart-item-remove {
    text-align: right;
  }
  
  .update-btn {
    display: inline-block;
  }
}

@media (max-width: 576px) {
  .main-menu {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .header-content.mobile-menu-active .main-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  .header-content.mobile-menu-active .main-menu li {
    margin: 0;
    padding: 0.75rem 0;
    border-bottom: 1px solid #E5E7EB;
  }
  
  .header-content.mobile-menu-active .main-menu li:last-child {
    border-bottom: none;
  }
}


.account-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1000;
  display: none;
  min-width: 200px;
  padding: 0.5rem 0;
  background-color: #fff;
  border-radius: 0.25rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-top: 0.5rem;
}

/* This is the key fix - create a larger clickable area */
.account-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 10px; /* Gap between icon and dropdown */
}

/* Show dropdown on hover of either the account icon or the dropdown itself */
.account-dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
  display: block;
  animation: fadeInDown 0.3s ease forwards;
}