body {
  margin: 0;
  font-family: 'Noto Sans Arabic', 'Inter', sans-serif;
  line-height: 1.6;
  background-color: #f8fafc;
  color: #333;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  font-weight: bold;
  font-size: 24px;
  color: #2E7D32; /* Agricultural green */
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #555;
  font-weight: 500;
  transition: color 0.2s ease-in-out;
}

.nav-links a:hover {
  color: #2E7D32;
}

.home-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Hero Carousel */
.hero-carousel-section {
  width: 100%;
  max-width: 1400px;
  margin: 20px auto 40px auto;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
}

/* Hide scrollbar */
.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-image {
  flex: 0 0 100%;
  width: 100%;
  height: auto; /* Let the image keep its natural aspect ratio */
  object-fit: contain;
  scroll-snap-align: start;
  background-color: #f8fafc;
}


.btn {
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: #2E7D32;
  color: white;
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.btn-primary:hover {
  background-color: #1B5E20;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.btn-secondary {
  background-color: white;
  color: #2E7D32;
  border: 2px solid #2E7D32;
}

.btn-secondary:hover {
  background-color: #F1F8E9;
  transform: translateY(-2px);
}



@media (max-width: 900px) {
  .hero-section {
    flex-direction: column-reverse;
    text-align: center;
    padding: 20px;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

/* Trusted Companies Section */
.trusted-companies-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
  background-color: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.companies-header h2 {
  font-size: 1.8rem;
  color: #1a1a1a;
  margin: 0 0 30px 0;
}

.companies-scroll-container {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.companies-scroll-container::-webkit-scrollbar {
  display: none;
}

.companies-track {
  display: flex;
  gap: 40px;
  align-items: center;
  width: max-content;
}

.company-logo-card {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  cursor: pointer;
  filter: grayscale(100%) opacity(0.7);
}

.company-logo-card:hover {
  transform: scale(1.05);
  filter: grayscale(0%) opacity(1);
}

.company-logo {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

/* Testimonial Section */
.testimonial-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 60px 20px;
  text-align: center;
}

.testimonial-header h2 {
  font-size: 2.2rem;
  color: #1a1a1a;
  margin: 0 0 10px 0;
}

.testimonial-header p {
  color: #666;
  font-size: 1.1rem;
  margin: 0 0 50px 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: white;
  border-radius: 16px;
  padding: 40px 30px 30px 30px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  text-align: left;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-image-wrapper {
  position: absolute;
  top: -25px;
  left: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid #2ecc71;
  background: white;
  overflow: hidden;
}

.testimonial-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-quote {
  font-style: italic;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.testimonial-name {
  font-size: 1.1rem;
  color: #1a1a1a;
  margin: 0 0 5px 0;
}

.testimonial-role {
  font-size: 0.9rem;
  color: #2ecc71;
  font-weight: 500;
}

/* Footer Section */
.footer-section {
  background-color: #213225;
  color: white;
  padding: 60px 20px 20px 20px;
  margin-top: 60px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-logo-text {
  font-size: 1.8rem;
  margin: 0 0 15px 0;
}

.text-white { color: white; }
.text-primary { color: #2ecc71; }

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  color: white;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

.footer-links-group h4, .footer-contact h4 {
  color: white;
  font-size: 1rem;
  letter-spacing: 1px;
  margin: 0 0 20px 0;
}

.footer-links-group ul, .contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-group li {
  margin-bottom: 12px;
}

.footer-links-group a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links-group a:hover {
  color: white;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: rgba(255,255,255,0.7);
}

.contact-list a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

.contact-list i {
  color: #2ecc71;
  font-size: 1.2rem;
}

.footer-divider {
  max-width: 1200px;
  margin: 40px auto 20px auto;
  height: 1px;
  background: rgba(255,255,255,0.1);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  color: rgba(255,255,255,0.6);
  margin: 0;
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Header Section */
.app-header {
  background: white;
  border-bottom: 1px solid rgba(46, 204, 113, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
}

.header-logo:hover {
  opacity: 0.9;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.text-dark { color: #1a1a1a; }

.nav-links {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-link {
  color: #1a1a1a;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.nav-link:hover {
  background: rgba(46, 204, 113, 0.1);
  color: #2ecc71;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-icon-wrapper {
  position: relative;
  cursor: pointer;
  color: #1a1a1a;
  display: flex;
  align-items: center;
}

.cart-icon-wrapper i {
  font-size: 1.5rem;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #2ecc71;
  color: white;
  font-size: 0.65rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 10px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-login {
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-outline-primary {
  background: transparent;
  border: 1px solid #2ecc71;
  color: #2ecc71;
}

.btn-outline-primary:hover {
  background: rgba(46, 204, 113, 0.1);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
}

/* Products Page */
.products-page {
  width: 100%;
}

.products-header-banner {
  background: linear-gradient(135deg, #1b5e20 0%, #2ecc71 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 40px;
}

.products-header-content h1 {
  font-size: 2.5rem;
  margin: 0 0 10px 0;
}

.products-header-content p {
  opacity: 0.9;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.products-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 60px 20px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.products-sidebar {
  flex: 0 0 280px;
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  position: sticky;
  top: 100px;
}

.filter-group {
  margin-bottom: 30px;
}

.filter-group h3 {
  font-size: 1.1rem;
  color: #1a1a1a;
  margin: 0 0 15px 0;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
}

.form-control {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: #2ecc71;
}

.filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-list li {
  margin-bottom: 12px;
}

.filter-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #444;
  font-size: 0.95rem;
}

.filter-list input[type="checkbox"] {
  accent-color: #2ecc71;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.products-main {
  flex: 1;
}

.products-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  background: white;
  padding: 15px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.sort-select {
  width: auto;
  min-width: 180px;
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 12px;
  color: #666;
}

@media (max-width: 900px) {
  .products-layout {
    flex-direction: column;
  }
  
  .products-sidebar {
    width: 100%;
    position: static;
    flex: auto;
  }
}

/* Categories Page */
.categories-page-wrapper {
  background-color: #EAF7EA;
  min-height: calc(100vh - 80px);
  padding: 40px 20px;
}

.categories-page-header {
  text-align: center;
  margin-bottom: 40px;
}

.categories-page-header h1 {
  font-size: 2.2rem;
  color: #1a1a1a;
  margin: 0 0 10px 0;
}

.categories-page-header p {
  color: #666;
  font-size: 1.1rem;
}

.categories-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.category-detailed-card {
  background: white;
  border-radius: 12px;
  border: 1px solid #E0E0E0;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.category-detailed-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.category-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  border-bottom: 1px solid #EAEAEA;
}

.category-card-link:hover .category-card-content h3 {
  color: #2ecc71;
}

.category-card-inner {
  display: flex;
  align-items: center;
  padding: 15px;
  gap: 15px;
}

.category-card-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f8f9fa;
}

.category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card-content {
  flex: 1;
}

.category-card-content h3 {
  margin: 0 0 5px 0;
  color: #1a1a1a;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.category-card-content .sub-count {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
}

.subcategories-dropdown {
  padding: 15px;
  background: #fafafa;
  flex: 1;
}

.subcategories-dropdown h4 {
  margin: 0 0 10px 0;
  font-size: 0.9rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.subcategories-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.subcategories-list li {
  margin-bottom: 8px;
}

.subcategories-list li:last-child {
  margin-bottom: 0;
}

.subcategories-list a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #444;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.subcategories-list a:hover {
  color: #2ecc71;
}

/* About Page */
.about-hero {
  background: linear-gradient(135deg, #1b5e20 0%, #2ecc71 100%);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.about-hero h1 {
  font-size: 2.8rem;
  margin: 0 0 15px 0;
}

.about-hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.about-section {
  margin-bottom: 40px;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.about-section h2 {
  color: #1a1a1a;
  margin: 0 0 20px 0;
  font-size: 1.8rem;
  border-bottom: 2px solid #2ecc71;
  display: inline-block;
  padding-bottom: 5px;
}

.about-section p {
  color: #555;
  line-height: 1.7;
  font-size: 1.05rem;
}

.about-section ul {
  color: #555;
  line-height: 1.7;
  font-size: 1.05rem;
  padding-left: 20px;
}

.about-section li {
  margin-bottom: 10px;
}

/* Contact Page */
.contact-hero {
  background: linear-gradient(135deg, #1b5e20 0%, #2ecc71 100%);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.contact-hero h1 {
  font-size: 2.8rem;
  margin: 0 0 15px 0;
}

.contact-hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

.contact-content {
  max-width: 1000px;
  margin: -40px auto 60px auto;
  padding: 0 20px;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.contact-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-card i {
  font-size: 2.5rem;
  color: #2ecc71;
  margin-bottom: 15px;
}

.contact-card h3 {
  margin: 0 0 10px 0;
  color: #1a1a1a;
}

.contact-card a {
  color: #666;
  text-decoration: none;
}

.contact-card a:hover {
  color: #2ecc71;
}

.contact-form-section {
  background: white;
  padding: 50px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.contact-form-section h2 {
  margin: 0 0 30px 0;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #1a1a1a;
}

/* Auth Pages (Login & Signup) */
.auth-page {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  padding: 40px 20px;
}

.auth-container {
  background: white;
  width: 100%;
  max-width: 450px;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-header h2 {
  font-size: 2rem;
  color: #1a1a1a;
  margin: 0 0 10px 0;
}

.auth-header p {
  color: #666;
  margin: 0;
}

.auth-error {
  background: #fee2e2;
  color: #dc2626;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  text-align: center;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.forgot-password {
  font-size: 0.85rem;
  color: #2ecc71;
  text-decoration: none;
}

.btn-block {
  width: 100%;
  display: block;
}

.auth-btn {
  padding: 12px;
  font-size: 1.05rem;
  margin-top: 10px;
}

.auth-footer {
  text-align: center;
  margin-top: 25px;
  font-size: 0.95rem;
  color: #666;
}

.auth-footer a {
  text-decoration: none;
  font-weight: 600;
}

.user-profile-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #1a1a1a;
}

.user-profile-btn i {
  font-size: 1.5rem;
  color: #2ecc71;
}

.ml-2 {
  margin-left: 8px;
}

.btn-outline-danger {
  background: transparent;
  border: 1px solid #e74c3c;
  color: #e74c3c;
}

.btn-outline-danger:hover {
  background: #e74c3c;
  color: white;
}

/* Cart Page */
.cart-page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  min-height: calc(100vh - 80px);
}

.cart-page-header {
  margin-bottom: 30px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 20px;
}

.cart-page-header h1 {
  font-size: 2.2rem;
  color: #1a1a1a;
  margin: 0 0 5px 0;
}

.cart-page-header p {
  color: #666;
  margin: 0;
}

.cart-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.cart-items-list {
  flex: 1;
}

.cart-item-card {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  gap: 20px;
}

.cart-item-image {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
}

.cart-item-category {
  font-size: 0.8rem;
  color: #2ecc71;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.cart-item-details h3 {
  margin: 5px 0 10px 0;
  font-size: 1.1rem;
  color: #1a1a1a;
}

.cart-item-price {
  font-weight: 600;
  color: #333;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f8f9fa;
  padding: 5px 15px;
  border-radius: 20px;
}

.btn-qty {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 5px;
}

.btn-qty:hover {
  color: #2ecc71;
}

.qty-value {
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.btn-remove-item {
  background: none;
  border: none;
  color: #e74c3c;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px;
  transition: opacity 0.2s;
}

.btn-remove-item:hover {
  opacity: 0.7;
}

.cart-summary {
  flex: 0 0 350px;
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  position: sticky;
  top: 100px;
}

.cart-summary h2 {
  margin: 0 0 20px 0;
  font-size: 1.3rem;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 15px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  color: #555;
}

.summary-total {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 15px;
}

.checkout-btn {
  margin-top: 25px;
  padding: 15px;
  font-size: 1.1rem;
}

.empty-cart {
  text-align: center;
  padding: 80px 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.empty-cart i {
  font-size: 4rem;
  color: #ddd;
  margin-bottom: 20px;
}

.empty-cart h2 {
  margin: 0 0 10px 0;
  color: #1a1a1a;
}

.empty-cart p {
  color: #666;
  margin-bottom: 30px;
}

@media (max-width: 900px) {
  .cart-content {
    flex-direction: column;
  }
  .cart-summary {
    width: 100%;
    position: static;
    flex: auto;
    box-sizing: border-box;
  }
}

/* Checkout Page */
.checkout-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  min-height: calc(100vh - 80px);
}

.checkout-page h1 {
  font-size: 2.2rem;
  color: #1a1a1a;
  margin: 0 0 30px 0;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 20px;
}

.checkout-unauth {
  text-align: center;
  padding-top: 100px;
}

.checkout-unauth h2 {
  color: #e74c3c;
  margin-bottom: 15px;
}

.checkout-unauth p {
  color: #666;
  margin-bottom: 25px;
}

.checkout-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.shipping-details-section {
  flex: 1;
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.shipping-details-section h2 {
  font-size: 1.5rem;
  color: #1a1a1a;
  margin: 0 0 25px 0;
}

.shipping-form textarea.form-control {
  resize: vertical;
}

.place-order-btn {
  margin-top: 30px;
  padding: 15px;
  font-size: 1.1rem;
}

.checkout-summary {
  flex: 0 0 400px;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 30px;
  border: 1px solid #eee;
}

.checkout-summary h2 {
  font-size: 1.3rem;
  margin: 0 0 20px 0;
  border-bottom: 2px solid #ddd;
  padding-bottom: 15px;
}

.checkout-items-list {
  margin-bottom: 20px;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #444;
}

.checkout-item .item-price {
  font-weight: 600;
  color: #1a1a1a;
}

/* Success Page */
.success-page {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background-color: #f8f9fa;
}

.success-container {
  background: white;
  padding: 60px 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.success-icon {
  font-size: 5rem;
  color: #2ecc71;
  margin-bottom: 20px;
}

.success-container h1 {
  color: #1a1a1a;
  margin: 0 0 15px 0;
}

.success-container p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
}

.mt-4 {
  margin-top: 30px;
}

@media (max-width: 900px) {
  .checkout-container {
    flex-direction: column;
  }
  .checkout-summary {
    width: 100%;
    flex: auto;
    box-sizing: border-box;
  }
}

/* --- Premium Header Styles Override --- */
.app-header {
  display: block !important; /* Override old flex behavior causing shrinkage */
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(46, 204, 113, 0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  padding: 0 !important;
}

.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Remove default link underlines */
.logo-link,
.cart-link,
.nav-link-item,
.login-link {
  text-decoration: none !important;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.2s ease;
  margin-right: 30px;
}

.header-logo:hover {
  transform: scale(1.02);
}

.logo-img {
  height: 65px; /* Slightly bigger for better readability */
  width: auto;
  object-fit: contain;
  border-radius: 0 !important; /* Force remove circular cropping */
  box-shadow: none !important;
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.5px;
}

.text-primary {
  color: #2ecc71;
}

.text-dark {
  color: #1a1a1a;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link-item span {
  font-size: 1.05rem;
  font-weight: 500;
  color: #4a4a4a;
  position: relative;
  padding: 5px 0;
  transition: color 0.2s ease;
}

.nav-link-item span::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #2ecc71;
  transition: width 0.3s ease;
}

.nav-link-item:hover span {
  color: #2ecc71;
}

.nav-link-item:hover span::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #f8f9fa;
  color: #1a1a1a;
  transition: all 0.2s ease;
  text-decoration: none;
}

.cart-icon-wrapper:hover {
  background-color: #eaf7ea;
  color: #2ecc71;
  transform: translateY(-2px);
}

.cart-icon-wrapper i {
  font-size: 1.5rem;
}

.cart-badge {
  position: absolute;
  top: 0px;
  right: -2px;
  background-color: #e74c3c;
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 12px;
  border: 2px solid white;
}

.btn-login {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px !important;
  border-radius: 20px !important;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.2) !important;
}

.lang-toggle {
  border-radius: 8px !important;
  padding: 8px 12px !important;
  font-weight: 600 !important;
  color: #666 !important;
  border-color: #e0e0e0 !important;
}

.lang-toggle:hover {
  background: #f0f0f0 !important;
  color: #1a1a1a !important;
}

/* Track Order Page */
.track-order-page {
  max-width: 800px;
  margin: 0 auto;
}

.track-input-section {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.order-details-card {
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
  background: white;
}

.order-details-card .card-body p {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

/* Order Success enhancements */
.order-id-display {
  background: #f1f5f9;
  padding: 10px 20px;
  border-radius: 6px;
  margin: 15px auto;
  display: inline-block;
  font-size: 1.2rem;
  border: 1px dashed #cbd5e1;
}

.action-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}
