/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    background: #f4f7f9;
    color: #333;
    padding-bottom: 60px;
  }
  
  /* Section Title */
  .section-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 40px 20px 20px;
    color: #2c3e50;
    position: relative;
  }
  
  .section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #00b894, #6c5ce7);
    margin-top: 8px;
    border-radius: 2px;
  }
  
  /* Product Grid */
  .product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 0 30px;
  }
  
  /* Product Card */
  .product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    width: 350px;
    max-width: 470px;
  }
  
  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  }
  
  /* Product Image */
  .image-container {
    height: 250px;
    overflow: hidden;
    position: relative;
  }
  
  .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  
  .product-card:hover .image-container img {
    transform: scale(1.05);
  }
  
  /* Heart Icon */
  .deleteProductIcon, .editProductIcon {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ffffffcc;
    padding: 6px;
    font-size: 18px;
    transition: background 0.3s;
    border-radius: 10px;
  }
  .editProductIcon{
    left: 12px;
    width: 50px;
  }
  .editProductIcon:hover {
    background: #00f521;
    color: white;
  }
  .deleteProductIcon:hover {
    background: #f50000;
    color: white;
  }
  
  /* Text Sections */
  .product-name {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 15px 0;
    color: #2d3436;
    min-height: 50px;
    display: flex;
    justify-content: space-between;
    width: 1005;
  }
  
  .price {
    padding: 10px 15px 0;
    font-size: 1rem;
    font-weight: bold;
    color: #2ecc71;
  }
  
  .original-price {
    text-decoration: line-through;
    color: #888;
    margin-right: 6px;
  }
  
  .discount-price {
    color: #e74c3c;
  }
  
  .discount {
    color: #e67e22;
    font-size: 0.9rem;
    margin-left: 4px;
  }
  
  .color {
    padding: 5px 15px;
    font-size: 0.9rem;
    color: #555;
  }
  .productLabel{
    position: relative;
    left: 20px;
  }
  
  /* Select */
  .size-selector {
    margin: 10px 15px 0;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #f8f8f8;
    transition: border-color 0.3s;
    margin-bottom: 20px;
  }
  
  .size-selector:focus {
    border-color: #6c5ce7;
    outline: none;
  }
  
  /* Button */
  .add-to-bag {
    border: solid black 2px;
    margin: 15px;
    padding: 10px;
    background-color: black;
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .add-to-bag:hover {
    transform: scale(1.03);
    background-color: white;
    color: black;
    box-shadow: 5px 5px 15px black;
  }
  .addProductButton{
    background-color: black;
    color: white;
    border: none;
    border-radius: 10px;
    height: 50px;
    width: 250px;
    position: fixed;
    top: 90%;
    left: 85%;
    font-size: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  .addProductButton:hover{
    color: black;
    background-color: white;
    box-shadow: 0 0 10px black;
  }
/* Compact Product Options Layout */
.product-options {
  padding: 10px 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stockAmount {
  font-size: 0.95rem;
  color: #555;
  font-weight: 500;
  padding-left: 5px;
}

.stockAmount .stock-count {
  font-weight: 300;
}

.option-group {
  display: flex;
  flex-direction: column;
}

.productLabel {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 4px;
}

.size-selector {
 border-radius: 6px;
  border: 1px solid #ccc;
  background: #f8f8f8;
  font-size: 0.9rem;
  width: 50px;
}
.productDetails{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.detail{
  display: flex;
  flex-direction: column;
  justify-content: left;
}
.stockInfo{
  position: relative;
  left: 30px;
}