body {
    background: #fafafa;
}   
.container {
       display: flex;
       gap: 20px;
       margin-top: 30px;
   
   }

   
   .product-detail {
       flex-basis: 75%;

       padding: 20px 0;
       border-radius: 5px;

       
   }

   .product-top {
       display: flex;
       gap: 30px;
   }

   .product-images {
       flex: 1;
   
   }

   .main-img {
       width: 100%;
       border-radius: 5px;
       border:1px solid #eee;
   }

   .thumbs {
       display: flex;
       gap: 10px;
       margin-top: 10px;
   }

   .thumbs img {
       width: 70px;
       height: 70px;
       border-radius: 5px;
       object-fit: cover;
       cursor: pointer;
       border: 1px solid #ddd;
   }

   .product-info {
       flex: 1;
   }

   .product-info h2 {
       margin: 0 0 10px;
 font-family: "Libertinus Sans", sans-serif;
       color: #2b2b2b !important;
       font-size: 31px;
       line-height: 32px;
       text-transform: uppercase;
       font-weight: 400;
   }



   .product-info p {
       color: #7a7a7a;
   }

   .product-info-table {
       width: 100%;
       border-collapse: collapse;

       font-size: 15px;
 
   }

   .product-info-table td {
       padding: 8px 4px;
       vertical-align: top;
             color: #7a7a7a;
   }

   .product-info-table td b {
       font-weight: 500;
   }

   .product-info-table td:first-child {
       font-weight: bold;
       width: 30%;
       text-align: left;
       color: #7a7a7a;
   }

   .product-info-table td:last-child {
       text-align: justify;
   }

   .price {
       font-size: 22px;
       color: #2b2b2b;
       font-weight: 600;
       padding-top: 20px;
   }

   .old-price {
       text-decoration: line-through;
       color: #7a7a7a;
       margin-left: 8px;
       font-size: 16px;
       font-weight: 500;
   }

   .options {
    margin: 15px 0 25px 0;
    font-family: Arial, sans-serif;
}
.options p{
    letter-spacing: 2px;
}
.color-selection-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 10px;
}

.color-selection-header .line {
    border: none;
    border-top: 1px solid #999;
    width: 20px;
}

.color-selection-header .selected-color-name {
    text-transform: lowercase;
    font-size: 14px;
    color: #555;
}

.color-options {
    display: flex;
    gap: 10px;
}

.color-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #bbb;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    padding: 2px; /* This creates the gap */
}


.color-box input[type="radio"] {
    display: none;
}

.color-box {

    background-clip: content-box;

}

.color-box input[type="radio"]:checked+label {
    border: 1.5px solid #2b2b2b;
}

.color-box:has(input[type="radio"]:checked) {
    border: 1.5px solid #2b2b2b;
    transform: scale(1.1);
}


.options {
    margin-top: 15px;
}

.options p {
    font-size: 14px;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 10px;
}

/* Size box styling */
.size-options {
    display: flex;
    gap: 10px;
}

.size-box {
    display: block;
    padding: 10px 20px;
    border: 1px solid #ccc;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-align: center;
    font-size: 14px;
    font-family: Arial, sans-serif;
    color: #555;
}

.size-box input[type="radio"] {
    display: none;
}

.size-box:has(input[type="radio"]:checked) {
    border: 2px solid #333;
}

/* Quantity control styling */
.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    width: fit-content;
}

.quantity-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
    width: 30px;
    height: 38px;
    color: #555;
}
.plus:hover, .minus:hover{
 background-color: #eee;
}
.quantity-control input {
    width: 30px;
    text-align: center;
    border: none;
    background-color: transparent;
    font-size: 14px;
    font-family: Arial, sans-serif;
    outline: none;
}

/* Add to Cart button and Wishlist button styling */
.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.add-to-cart {
    flex-grow: 1;
    background-color: #C18F2C;
    color: #fff;
    padding: 15px 20px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 2px;
    transition: background-color 0.2s ease-in-out;
}

.add-to-cart:hover {
    background-color: #C79729;
}

.wishlist-btn {
    background-color: transparent;
    border: 1px solid #ccc;
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.wishlist-btn:hover {
    background-color: #eee;
}


   .delivery {
       flex-basis: 25%;
       
   }


.accordion {
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.expandable-section + .expandable-section {
  border-top: 1px solid #ddd;
}

.section-header {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 16px;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 500;
  color: #2b2b2b;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-header .icon {
  transition: transform 0.2s ease-in-out;
}

.section-header[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

.expandable-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 16px;
  color: #2b2b2b;
  line-height: 1.6;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.section-header[aria-expanded="true"] + .expandable-content {
  max-height: 500px; /* large enough to fit contents */
  padding: 16px;
}

.expandable-content p {
  margin: 0 0 10px;
}

   

@media screen and (max-width: 1024px) {
    .container {
        flex-direction: column;
    }
    .product-detail, .delivery {
        flex-basis: 100%;
    }
    .product-top {
        flex-direction: column;
    }
    .thumbs img {
        width: 60px;
        height: 60px;
    }
}

@media screen and (max-width: 768px) {
    .product-info h2 {
        font-size: 24px;
    }
    .color-box {
        width: 35px;
        height: 35px;
    }
    .size-box {
        padding: 8px 15px;
        font-size: 13px;
    }
    .quantity-btn {
        width: 28px;
        height: 35px;
    }
    .quantity-control input {
        width: 28px;
    }
}

@media screen and (max-width: 480px) {
    .thumbs img {
        width: 50px;
        height: 50px;
    }
    .product-info h2 {
        font-size: 20px;
    }
    .add-to-cart {
        padding: 12px 15px;
        font-size: 13px;
    }
    .wishlist-btn {
        padding: 12px;
    }
}
