:root {
  --primary: #a45b5b;
  --secondary: #333;
  --text-dark: #444;
  --text-light: #f4f4f4;
  --brown: #8B4513;
  --white: #fff;
  --gray: #ccc;
  --dark-gray: #666;
  --black: #181717;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: var(--text-light);
}
.container, .container1 {
  display: flex;
  height: 100vh;
}
.main-content {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  max-width: 1200px;
  margin: auto;
  background-color: #d6f0ff;
}
#welcome-section {
  padding: 20px 0;
}
#welcome-section h1 {
  color: var(--secondary);
  font-size: 2.5em;
  margin-bottom: 10px;
}
#welcome-section p {
  font-size: 1.2em;
  color: var(--brown);
  font-weight: bold;
}
#about-section {
  margin: auto 0;
  padding: 40px 0;
}
#about-section h2 {
  color: var(--dark-gray);
  font-size: 1.8em;
  margin-bottom: 20px;
}
#about-section p {
  color: var(--text-dark);
  line-height: 1.6;
  max-width: 800px;
  margin-bottom: 15px;
}
.sidebar {
  width: 110px !important;
  overflow: hidden;
  height: 700px;
  background-color: var(--secondary);
  color: var(--white);
  padding: 20px;
}
.sidebar h2 {
  margin-top: 0;
  color: var(--text-light);
}
.sidebar ul {
  list-style: none;
  padding: 0;
}
.sidebar li {
  margin: 15px 0;
}
.sidebar a, .submenu a {
  color: var(--white);
  text-decoration: none;
}
.sidebar a:hover, .submenu a:hover {
  text-decoration: underline;
}
.product-list, .product-grid, .products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}
.product, .product-item, .product-card, .product-card1 {
  border: 1px solid var(--gray);
  padding: 15px;
  text-align: center;
  background-color: var(--white);
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.product:hover, .product-item:hover, .product-card:hover, .product-card1:hover {
  transform: scale(1.03) translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}
.product img, .product-item img, .product-card img, .product-card1 img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.product-card img {
  height: 250px;
  border-bottom: 1px solid #3d2727;
}
.product-card1 img {
  height: 300px;
  object-fit: contain;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  background-color: var(--white);
}
.product h2, .product-card h2, .product-card1 h2 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin: 15px 10px 5px;
}
.price {
  text-align: center;
  margin-top: 8px;
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--black);
  margin-bottom: 20px;
}
.add-to-cart, button {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  padding: 15px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
  transition: background-color 0.3s ease;
  width: 100%;
}
.add-to-cart:hover, button:hover {
  background-color: var(--primary);
}
:is(#accessories-collection, #dresses-collection, #Jeans-collection, #leather-collection, #jakets-collection, #Tops-collection) h1 {
  padding: 40px 20px;
  text-align: center;
  background-color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--primary);
}
.form {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: var(--primary);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.form-box {
  background-color: var(--white);
  padding: 40px;
  border-radius: 10px;
  width: 350px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.form-box h2 {
  text-align: center;
  color: var(--secondary);
}
label {
  display: block;
  margin-top: 15px;
  margin-bottom: 5px;
  color: var(--secondary);
}
input[type="email"], input[type="password"] {
  width: 100%;
  padding: 15px;
  margin-bottom: 5px;
  border: 1px solid var(--gray);
  border-radius: 5px;
}
.show-password {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.links {
  text-align: center;
  margin-top: 15px;
}
.links a {
  color: #007399;
  text-decoration: none;
}
.links a:hover {
  text-decoration: underline;
}
.dropdown {
  position: relative;
}
.dropdown-label {
  display: block;
  color: var(--white);
  cursor: pointer;
}
.submenu {
  display: none;
  list-style: none;
  padding-left: 15px;
  margin-top: 10px;
}
.submenu li {
  margin: 8px 0;
}
.submenu a {
  font-size: 14px;
  color: #ddd;
  text-decoration: none;
}
#toggle-products:checked + .dropdown-label + .submenu {
  display: block;
}
footer {
    
  bottom: 0;
  left: 0;
  width: 100%;
  color: white;
  display: flex;
  justify-content: space-around; /* يوزع العناصر بشكل أفقي */
  align-items: center;
  height: 60px;
  font-size: 14px;
  z-index: 1000;
  padding: 0 20px;
  background-color: #333;
 

}


.footer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

  max-width: 100%;
  margin: auto;
  padding: 0 50px;
}

.footer-section {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-direction: row;
  white-space: nowrap;
}

.footer-section h3 {
  margin: 0 ;
  color: #f8f8f8;
  font-size: 20px;
  align-self: left;

}
.footer-section h5 {
  margin: 0;
  color: #f8f8f8;
  font-size: 15px;
  align-self: center;

}

.footer-section a {
  color: var(--gray);
  text-decoration: none;
  text-align: center;
  font-size: 15px;
  margin-left: 5px;
}






.message {
  color: green;
  margin-top: 10px;
  font-weight: bold;
  padding: 5px;
  background-color: #f0fff0;
  border-radius: 4px;
}
#login {
  padding: 5px;
  width: 20px;
}
