/* Universal Box Sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --primary-dark: #1a202c; /* Deep charcoal for main elements */
  --secondary-dark: #2d3748; /* Slightly lighter charcoal for accents */
  --text-light: #edf2f7; /* Off-white for text on dark backgrounds */
  --text-dark: #2d3748; /* Dark grey for text on light backgrounds */
  --background-light: #f7fafc; /* Very light grey for page background */
  --accent-color: #4299e1; /* Modern blue for highlights */
  --hover-color: #3182ce; /* Darker blue on hover */
  --border-color: #e2e8f0; /* Light grey for borders */
  --card-bg: #ffffff; /* White for card backgrounds */
  --shadow-light: rgba(0, 0, 0, 0.05);
  --shadow-medium: rgba(0, 0, 0, 0.1);
  --shadow-strong: rgba(0, 0, 0, 0.15);
}

body {
  font-family: "Inter", sans-serif; /* Modern, clean font */
  margin: 0;
  padding: 0;
  background-color: var(--background-light);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1280px; /* Slightly wider container */
  margin: 0 auto;
  padding: 0 30px; /* Increased padding */
}

/* Header */
.header {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 20px 0; /* More vertical padding */
  box-shadow: 0 2px 10px var(--shadow-light); /* Subtle shadow */
  position: relative; /* For hamburger menu positioning */
  z-index: 100; /* Ensure header is on top */
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Allows items to wrap on smaller screens */
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.4em; /* Slightly larger logo text */
  gap: 10px;
}

.logo img {
  margin-right: 5px;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.nav li {
  margin: 0 20px; /* Increased spacing */
}

.nav a {
  color: var(--text-light);
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
  font-weight: 500; /* Medium weight for navigation */
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px; /* Position underline slightly below text */
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav a:hover {
  color: var(--accent-color);
}

.nav a:hover::after {
  width: 100%;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 25px; /* Increased spacing */
}

.icon-link {
  color: var(--text-light);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  background: none; /* For button icons */
  border: none;
  cursor: pointer;
  padding: 0;
}

.icon-link:hover {
  color: var(--accent-color);
}

.icon-link .icon {
  width: 26px; /* Slightly larger icons */
  height: 26px;
}

.cart-icon .cart-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: var(--accent-color);
  color: var(--text-light);
  border-radius: 50%;
  padding: 4px 8px;
  font-size: 0.8em;
  min-width: 12px;
  text-align: center;
  font-weight: bold;
  box-shadow: 0 2px 5px var(--shadow-light);
}

.lang-toggle-button {
  background-color: var(--secondary-dark);
  color: var(--text-light);
  border: none;
  padding: 10px 18px; /* More padding */
  border-radius: 8px; /* More rounded */
  cursor: pointer;
  font-size: 0.95em;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 5px var(--shadow-light);
}

.lang-toggle-button:hover {
  background-color: var(--hover-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px var(--shadow-medium);
}

/* Hamburger Menu */
.hamburger-menu {
  display: none; /* Hidden by default on desktop */
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200; /* Above nav-links when active */
}

.hamburger-menu .bar {
  width: 100%;
  height: 3px;
  background-color: var(--text-light);
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

.hamburger-menu.active .bar:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* Mobile Navigation */
.nav-links {
  /* Default desktop styles */
}

/* Hero Section */
.hero-section {
  background-image: url("public/images/hero-background.png");
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  text-align: center;
  padding: 140px 30px; /* More vertical padding */
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.75)); /* Gradient overlay */
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1000px; /* Wider content area */
}

.hero-content h1 {
  font-size: 3.8em; /* Even larger heading */
  margin-bottom: 40px;
  line-height: 1.2;
  font-weight: 800;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4); /* Stronger text shadow */
}

.shop-now-button {
  background-color: var(--accent-color); /* Accent color for primary button */
  color: var(--text-light);
  padding: 18px 40px; /* Larger button */
  border: none;
  border-radius: 10px; /* More rounded */
  font-size: 1.2em;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 15px var(--shadow-medium);
  display: inline-block; /* Ensure it behaves like a block for padding/margin */
}

.shop-now-button:hover {
  background-color: var(--hover-color);
  transform: translateY(-4px); /* More pronounced lift */
  box-shadow: 0 8px 20px var(--shadow-strong);
}

/* Categories Section */
.categories-section {
  padding: 80px 30px; /* More padding */
}

.categories-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px; /* More space below header */
}

.categories-header h2 {
  font-size: 2.6em; /* Larger heading */
  margin: 0;
  color: var(--primary-dark);
  font-weight: 700;
}

.view-all-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05em;
}

.view-all-link:hover {
  color: var(--hover-color);
  transform: translateX(5px);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Slightly larger min-width */
  gap: 40px; /* Increased gap */
}

.category-card {
  background-color: var(--card-bg);
  border-radius: 12px; /* Even more rounded */
  box-shadow: 0 8px 20px var(--shadow-light); /* Softer, deeper shadow */
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  border: 1px solid var(--border-color); /* Subtle border */
}

.category-card:hover {
  transform: translateY(-10px); /* More pronounced lift */
  box-shadow: 0 12px 30px var(--shadow-medium);
  border-color: var(--accent-color); /* Accent border on hover */
}

.category-card img {
  width: 100%;
  height: 340px; /* Taller images */
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border-color);
}

.category-card h3 {
  font-size: 1.5em;
  margin: 28px 0;
  color: var(--text-dark);
  font-weight: 600;
}

/* Footer */
.footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 50px 0 20px; /* More vertical padding, less at bottom for copyright */
  margin-top: 70px;
  box-shadow: 0 -2px 10px var(--shadow-light);
}

.footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px; /* Spacing between footer sections */
  padding-bottom: 40px; /* Space above copyright */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle separator */
  margin-bottom: 20px;
}

.footer-section h3 {
  font-size: 1.3em;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--accent-color); /* Highlight section titles */
}

.footer-section p,
.footer-section li {
  font-size: 0.95em;
  line-height: 1.8;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-color);
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icons a {
  color: var(--text-light);
  transition: color 0.3s ease, transform 0.2s ease;
}

.social-icons a:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
}

.social-icons .icon {
  width: 28px;
  height: 28px;
}

.footer-bottom {
  text-align: center;
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.7);
}

.footer-legal-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal-links a:hover {
  color: var(--accent-color);
}

.footer-legal-links .separator {
  color: rgba(255, 255, 255, 0.5);
}

/* Other Pages Content (General) */
.page-content {
  padding: 80px 30px;
  min-height: 60vh; /* Ensure content pushes footer down on all pages */
}

.page-content h1 {
  font-size: 3em;
  margin-bottom: 30px;
  color: var(--primary-dark);
  font-weight: 700;
  text-align: center; /* Center align main headings on other pages */
}

.page-content p {
  font-size: 1.2em;
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 900px; /* Constrain paragraph width for readability */
  margin-left: auto;
  margin-right: auto;
}

.policy-section h2 {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 15px;
  color: var(--primary-dark);
  font-weight: 600;
}

.policy-section p {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 15px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Shop Page Specific Styles */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.product-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 8px 20px var(--shadow-light);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px var(--shadow-medium);
  border-color: var(--accent-color);
}

.product-card img {
  width: 100%;
  height: 300px; /* Consistent image height */
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border-color);
}

.product-card h3 {
  font-size: 1.4em;
  margin: 20px 15px 10px;
  color: var(--text-dark);
  font-weight: 600;
}

.product-card p {
  font-size: 0.95em;
  color: #666;
  margin: 0 15px 15px;
  flex-grow: 1; /* Allows description to take available space */
}

.product-card .price {
  font-size: 1.6em;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 20px;
  display: block; /* Ensures it takes full width */
}

.add-to-cart-button {
  background-color: var(--accent-color);
  color: var(--text-light);
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 0 15px 20px; /* Margin for button */
}

.add-to-cart-button:hover {
  background-color: var(--hover-color);
  transform: translateY(-2px);
}

/* About Page Specific Styles */
.about-section {
  margin-top: 40px;
}

/* Contact Form Specific Styles */
.contact-form {
  max-width: 700px; /* Wider form */
  margin: 50px auto 0; /* Center the form */
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px var(--shadow-light);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 30px;
}

.form-group label {
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1.1em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea,
.form-group input[type="password"] {
  /* Added password input */
  width: 100%;
  padding: 16px; /* Larger input fields */
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1.05em;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus,
.form-group input[type="password"]:focus {
  /* Added password input */
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(66, 153, 225, 0.25); /* Stronger focus ring */
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form button[type="submit"] {
  background-color: var(--accent-color);
  color: var(--text-light);
  padding: 16px 35px;
  border: none;
  border-radius: 10px;
  font-size: 1.15em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px var(--shadow-medium);
}

.contact-form button[type="submit"]:hover {
  background-color: var(--hover-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px var(--shadow-strong);
}

/* Blog Page Specific Styles */
.blog-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.blog-post-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 8px 20px var(--shadow-light);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.blog-post-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px var(--shadow-medium);
  border-color: var(--accent-color);
}

.blog-post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border-color);
}

.blog-post-card h3 {
  font-size: 1.4em;
  margin: 20px 15px 10px;
  color: var(--text-dark);
  font-weight: 600;
}

.blog-post-card p {
  font-size: 0.95em;
  color: #666;
  margin: 0 15px 15px;
  flex-grow: 1;
}

.read-more-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease, transform 0.2s ease;
  display: inline-flex; /* Use inline-flex for gap */
  align-items: center;
  gap: 5px;
  margin: 0 15px 20px;
}

.read-more-link:hover {
  color: var(--hover-color);
  transform: translateX(3px);
}

/* Cart Page Specific Styles */
.cart-items-container {
  margin-top: 40px;
  background-color: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 8px 20px var(--shadow-light);
  border: 1px solid var(--border-color);
  padding: 20px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-details h3 {
  font-size: 1.2em;
  margin: 0 0 5px;
  color: var(--primary-dark);
}

.cart-item-details .price {
  font-size: 1.1em;
  color: var(--accent-color);
  font-weight: 600;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-item-actions input[type="number"] {
  width: 60px;
  padding: 8px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  text-align: center;
  font-size: 1em;
}

.remove-item-button {
  background-color: #e74c3c; /* Red for remove */
  color: var(--text-light);
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.remove-item-button:hover {
  background-color: #c0392b;
}

#empty-cart-message {
  text-align: center;
  padding: 40px 20px;
  font-size: 1.2em;
  color: #777;
}

.cart-summary {
  background-color: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 8px 20px var(--shadow-light);
  border: 1px solid var(--border-color);
  padding: 25px;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.cart-total {
  font-size: 1.8em;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
}

.cart-total #cart-total-price {
  color: var(--accent-color);
}

.checkout-button {
  background-color: var(--accent-color);
  color: var(--text-light);
  padding: 15px 30px;
  border: none;
  border-radius: 10px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.checkout-button:hover {
  background-color: var(--hover-color);
  transform: translateY(-2px);
}

/* Modal Styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.6); /* Black w/ opacity */
  backdrop-filter: blur(5px); /* Frosted glass effect */
  -webkit-backdrop-filter: blur(5px); /* Safari support */
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: var(--card-bg);
  margin: auto;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px var(--shadow-strong);
  position: relative;
  width: 90%;
  max-width: 500px;
  animation: fadeIn 0.3s ease-out;
}

.close-button {
  color: #aaa;
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
  color: var(--primary-dark);
  text-decoration: none;
}

.modal-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

.modal-tab {
  background: none;
  border: none;
  padding: 15px 25px;
  font-size: 1.1em;
  font-weight: 600;
  color: #777;
  cursor: pointer;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  border-bottom: 3px solid transparent;
}

.modal-tab.active {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

.auth-form {
  display: none; /* Hidden by default */
}

.auth-form.active {
  display: block;
}

.auth-form h2 {
  text-align: center;
  color: var(--primary-dark);
  margin-bottom: 25px;
  font-size: 2em;
}

.auth-form .form-group {
  margin-bottom: 20px;
}

.auth-form button[type="submit"] {
  width: 100%;
  background-color: var(--accent-color);
  color: var(--text-light);
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.auth-form button[type="submit"]:hover {
  background-color: var(--hover-color);
  transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3.2em;
  }
  .categories-header h2,
  .page-content h1 {
    font-size: 2.4em;
  }
  .product-grid,
  .blog-post-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .footer .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Adjust for smaller screens */
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  .header .container {
    flex-wrap: nowrap; /* Prevent wrapping in header on smaller screens */
    justify-content: space-between;
  }

  .nav {
    display: none; /* Hide desktop nav */
    position: fixed;
    top: 0;
    left: -100%; /* Start off-screen */
    width: 70%; /* Mobile menu width */
    height: 100%;
    background-color: var(--primary-dark);
    padding-top: 100px; /* Space for header */
    box-shadow: 2px 0 10px var(--shadow-medium);
    transition: left 0.3s ease-in-out;
    z-index: 150; /* Below hamburger, above content */
  }

  .nav.active {
    left: 0; /* Slide in */
    display: flex; /* Make it visible when active */
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start; /* Align links to the left */
    gap: 25px; /* More space between links */
    padding: 0 30px;
  }

  .nav-links li {
    width: 100%; /* Full width links */
  }

  .nav-links a {
    font-size: 1.3em; /* Larger links */
    padding: 10px 0;
    display: block; /* Make entire area clickable */
    width: 100%;
  }

  .nav-links a::after {
    bottom: -2px; /* Adjust underline position */
  }

  .hamburger-menu {
    display: flex; /* Show hamburger menu */
  }

  .header-icons {
    gap: 15px; /* Adjust gap for icons */
  }

  .hero-content h1 {
    font-size: 2.5em;
  }

  .shop-now-button {
    padding: 15px 35px;
    font-size: 1.1em;
  }

  .categories-header {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  .categories-header h2,
  .page-content h1 {
    font-size: 2.2em;
  }

  .category-grid,
  .product-grid,
  .blog-post-grid {
    grid-template-columns: 1fr; /* Single column on smaller screens */
  }

  .page-content p {
    font-size: 1.1em;
  }

  .contact-form {
    padding: 30px;
  }

  .cart-item {
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
  }

  .cart-item img {
    margin-bottom: 10px;
  }

  .cart-item-actions {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }

  .cart-summary {
    align-items: center;
  }

  .modal-content {
    padding: 20px;
  }

  .modal-tab {
    padding: 12px 15px;
    font-size: 1em;
  }

  .footer .footer-grid {
    grid-template-columns: 1fr; /* Stack footer sections vertically */
    text-align: center;
  }

  .footer-section ul {
    align-items: center; /* Center list items */
  }

  .social-icons {
    justify-content: center; /* Center social icons */
  }

  .footer-legal-links {
    flex-direction: column;
    gap: 5px;
  }

  .footer-legal-links .separator {
    display: none; /* Hide separator on small screens */
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  .hero-content h1 {
    font-size: 2em;
  }
  .shop-now-button {
    padding: 14px 30px;
    font-size: 1em;
  }
  .categories-header h2,
  .page-content h1 {
    font-size: 1.8em;
  }
  .page-content p {
    font-size: 1em;
  }
  .logo {
    font-size: 1.2em;
  }
  .header-icons {
    gap: 15px;
  }
  .icon-link .icon {
    width: 22px;
    height: 22px;
  }
  .lang-toggle-button {
    padding: 8px 12px;
    font-size: 0.85em;
  }
  .nav {
    width: 85%; /* Wider mobile menu on very small screens */
  }
}



.logo img{
  height: 50px;
}