






body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: #0a7d9d;  
}

.container {
  display: flex;
  max-width: 1200px;
  margin: 20px auto;
  background: white;
  padding: 20px;
  gap: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Added box-shadow */
}


.product-images {
  flex: 1;
}

.main-img {
  width: 100%;
  border-radius: 10px;
}

.thumbnail-group {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.thumbnail-group img {
  width: 60px;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  border: 1px solid #ccc;
}

.product-details {
  flex: 1;
}

.tag {
  background: #eee;
  color: #333;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  text-align: center;
}

h1 {
  margin-top: 10px;
  font-size: 35px;
  color: #0a7d9d;
}

.rating {
  margin: 10px 0;
  color: #fbb034;
}

.price {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  margin: 10px 0;
}

.price .old {
  text-decoration: line-through;
  color: gray;
  font-size: 18px;
}

.options label {
  display: block;
  margin-top: 20px;
  font-weight: bold;
}

.color-options {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.color {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #ccc;
  cursor: pointer;
}

.color1 {
  background-color: #f4f0e9;
}

.color2 {
  background-color: #000;
}

.quantity {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.quantity button {
  width: 30px;
  height: 30px;
  font-size: 18px;
  border-radius: 20px;
}

/* Smooth transitions for all buttons */
button {
  transition: all 0.3s ease;
}

/* Hover effect for size buttons */
.sizes button:hover {
  background-color: #f0f0f0;
  border-color: #0a7d9d;
  transform: scale(1.05);
}

/* Hover effect for BUY IT NOW button */
.actions .buy:hover {
  background-color: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Hover effect for ADD TO CART button */
.actions .add-cart:hover {
  background-color: #f7f7f7;
  transform: translateY(-2px);
  border-color: #333;
}

/* Hover effect for quantity buttons */
.quantity button:hover {
  background-color: #eee;
  transform: scale(1.1);
}

.quantity input {
  width: 40px;
  text-align: center;
}

.sizes {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.sizes button {
  padding: 8px 14px;
  border: 1px solid #ccc;
  background: none;
  cursor: pointer;
}

.actions {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  
}

.actions .buy,
.actions .add-cart {
  padding: 12px 20px;
  font-size: 16px;
  text-align: center;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  text-decoration: none;
  color: #000;
  width: 50%;
}

.actions .buy {
  background-color: #0a7d9d;
  color: white;
  width: 50%;
  text-align: center;
}

.actions .add-cart {
  background: white;
  border: 1px solid #0a7d9d;
  width: 50%;
  text-align: center;
}

.meta {
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}

.socials {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  font-size: 20px;
}

.socials a {
  color: inherit; 
  text-decoration: none;
}


/* Navbar */
.navbar {
  background: #eee;
  border-bottom: 1px solid #eee;
  padding: 15px 30px;
  font-family: 'Arial', sans-serif;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  height: 60px;
  background-color: #eee;
  border-radius: 20px;
}

.logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #0a7d9d;
  font-weight: 500;
  font-size: 20px;
}

.nav-links a:hover {
  color: #007bff; 
  text-decoration: underline; 
}

.nav-links a.active {
  font-weight: bold;
  color: #0a7d9d;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-icons i {
  font-size: 20px;
  color: #fff;
  cursor: pointer;
}

.cart-btn {
  background-color: #f4f4f4;
  border: none;
  padding: 8px 15px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

/* product details */
.extra-details {
  margin-top: 30px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}

.extra-details h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.extra-details ul {
  padding-left: 20px;
  list-style-type: disc;
}

.extra-details li {
  margin-bottom: 6px;
}

/* hamburger menu */
/* Hamburger button */
.hamburger {
  background: none;
  border: none;
  font-size: 1.4rem;
  display: none;
  cursor: pointer;
  color: #333;
}


/* mobile view */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    padding: 15px;
    gap: 20px;
  }

  .product-details {
    display: flex;
    flex-direction: column;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
    position: absolute;
    top: 70px;
    left: 0;
    padding: 10px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    z-index: 999;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
    border-bottom: 1px solid #eee;
  }

  .navbar-container {
    position: relative;
    flex-wrap: wrap;
  }

  .nav-icons {
    display: none;
  }

  .product-details h1 {
    font-size: 22px;
  }

  .price {
    flex-direction: column;
    align-items: flex-start;
  }

  .sizes {
    flex-wrap: wrap;
  }

  .actions {
    order: -1; 
    margin-top: 0;
    margin-bottom: 15px; 
    gap: 10px;
  }

  .actions .buy,
  .actions .add-cart {
    width: 80%;
  }

  .thumbnail-group {
    justify-content: center;
    flex-wrap: wrap;
  }

  .extra-details h2 {
    font-size: 1rem;
  }

  .extra-details {
    font-size: 0.9rem;
  }

  .logo {
    height: 50px;
  }

  .logo img {
    height: auto;
    max-height: 50px;
  }
}

@media (max-width: 480px) {
  .container {
    flex-direction: column;
    padding: 15px;
    gap: 20px;
  }

  .product-details {
    display: flex;
    flex-direction: column;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
    position: absolute;
    top: 70px;
    left: 0;
    padding: 10px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    z-index: 999;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
    border-bottom: 1px solid #eee;
  }

  .navbar-container {
    position: relative;
    flex-wrap: wrap;
  }

  .nav-icons {
    display: none;
  }

  .product-details h1 {
    font-size: 22px;
  }

  .price {
    flex-direction: column;
    align-items: flex-start;
  }

  .sizes {
    flex-wrap: wrap;
  }

  .actions {
    order: -1; 
    margin-top: 0;
    margin-bottom: 15px; 
    gap: 10px;
  }

  .actions .buy,
  .actions .add-cart {
    width: 80%;
  }

  .thumbnail-group {
    justify-content: center;
    flex-wrap: wrap;
  }

  .extra-details h2 {
    font-size: 1rem;
  }

  .extra-details {
    font-size: 0.9rem;
  }

  .logo {
    height: 50px;
  }

  .logo img {
    height: auto;
    max-height: 50px;
  }
}