.woocommerce div.product div.images {
    width: 100%;
    max-width: 100% !important;
    margin: 0 auto;
    padding: 0;
}

.woocommerce div.product div.images .flex-control-thumbs li{
    width:12%!important;
}

.woocommerce div.product div.images img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    display: block;
    object-fit: contain;
    border-radius: 5px;
    overflow:hidden!important;
}

.woocommerce-product-gallery__trigger {
    right: 15px;
    top: 15px;
}

.flex-control-nav.flex-control-thumbs li {
    padding-right: 15px;
}

.flex-control-nav.flex-control-thumbs {
    margin-top: 15px!important;
}

.flex-control-nav.flex-control-thumbs li img {
    border-radius: 5px;
} 

.custom-price {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.custom-title {
    font-size: 23px;
    font-weight: 600;
    margin-bottom: 10px;
}

.custom-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.custom-rating .star-rating {
    margin: 0 !important;
    color: orange;
}

.custom-review-count {
    color: #aaa;
}

.custom-description {
    font-size: 16px;
    color: #777;
    margin-bottom: 10px;
}

.custom-atc-wrap {
    margin-bottom: 15px;
    border-bottom: 1px solid #efefef;
    padding-bottom: 25px;
}

.product-meta li {
    list-style: none;
    font-size: 16px;
    line-height: 2;
}

.product-share a {
    font-size: 14px;
    color: #797979;
    padding-right: 10px;
}

.woocommerce-variation-add-to-cart {
    display: flex;
    align-items: center;
    width: 100%;
}

.quantity-input-wrapper {
    background: #efefefdd;
    padding: 8px 25px;
    margin-right: 5px;
}

.quantity-input-wrapper button {
    border: none;
    font-size: 22px;
}

.quantity-input-wrapper input {
    border: none!important;
    background: none;
    width: 80px;
    font-size: 18px;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

input[type=number] {
  -moz-appearance: textfield;
}

.single_add_to_cart_button {
    width: 100%;
    border-radius: 0px!important;
    padding: 17px!important;
    font-weight: 500!important;
    background: black!important;
}

.variations_form.cart {
    display: block!important;
}

.custom-atc-wrap .cart {
    display: flex;
}

.variations {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0px 20px;
}

.variations label {
    padding: 0;
    width: 30px;
    font-size: 14px;
    font-weight: 600;
}

.variations select {
    width: 100%;
    border: 1px solid #efefef;
    padding: 12px;
    border-radius: 5px;
    text-transform: uppercase;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Inter', sans-serif!important;
}

.variations select:focus {
    outline: none;
}

.product-meta strong {
    font-weight: 600;
}

.product-meta a {
    font-weight: normal;
    padding-left: 5px;
}

.section-title {
    margin-bottom: 10px;
    font-size: 17px;
}

.product-bottom {
    border-top: 1px solid #ececec;
    padding-top: 25px;
}

.product-bottom {
    border-top: 1px solid #ececec;
    padding-top: 25px;
}

.description p {
    margin-bottom: 20px;
    color: #555555;
}

.description h1,h2,h3,h4,h5,h6 {
    margin-bottom: 12px;
    font-size: 17px;
}

.description li p {
    margin-bottom: 0px;
}

.description li {
    list-style: none;
    color: #555555;
    display: flex;
    line-height: 24px;
}

.description li:before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 600;
    font-size: 14px;
    color: #555555;
    padding-right: 10px;
    margin-top: 2px;
}

.description ul,ol {
    margin-bottom: 20px;
}

.comment-form {
}

.attribute-table {
    width: 100%;
    border-spacing: 0;
    border: 1px solid #ddd;
}

th.woocommerce-product-attributes-item__label {
    border: 1px solid #ddd;
    text-align: left;
    padding: 6px 16px;
}

.woocommerce-product-attributes-item__value {
    border: 1px solid #ddd;
    padding: 6px 16px;
    font-size: 15px;
}

#additional-info-content {
    margin-bottom: 20px;
}

.comment-form-rating label {
    font-size: 18px;
    font-weight: 600;
}

.stars {
    margin-bottom: 0px!important;
    font-size: 16px;
}

.woocommerce #review_form #respond p {
    margin: 0;
}

.comment-reply-title {
    padding-bottom: 0px;
    font-weight: 500;
    font-size: 16px;
    border-top: 1px solid #f1f1f1;
    padding-top: 30px;
}

.comment-form-comment label {
    margin-bottom: 5px;
}

.form-submit input {
    background: #000!important;
    padding: 15px 35px!important;
    color: #fff!important;
    font-weight: 500!important;
    border-radius: 0!important;
}

.commentlist li {
    list-style: none;
}

.star-rating {
    float: none!important;
    padding-bottom: 10px;
    font-size: 14px!important;
    color: orange;
}

.meta strong {
    font-weight: 600;
}

.meta {
    padding-bottom: 5px;
}


.product-tabs {
  max-width: 800px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
}

.tab-buttons {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.tab-btn {
  cursor: pointer;
  font-weight: bold;
  background: none;
  padding-bottom: 15px;
  border: none;
  border-bottom: 2px solid #dddddd00;
  font-size: 18px;
}

.tab-btn.active {
    border-bottom: 2px solid #000000;
}

.product-section {
  display: none;
}

.product-section.active {
  display: block!important;
}

.product-section {
  display: none!important;
}

.product-section.description {
  display: block;  
}

/* Product Grid Styling */
.custom-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);  
  gap: 30px;
}

@media (max-width: 768px) {
  .custom-product-grid {
    grid-template-columns: repeat(1, 1fr);  
  }
}

@media (max-width: 480px) {
  .custom-product-grid {
    grid-template-columns: 1fr;  
  }
}


.custom-product-card {
  background: #fff;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
}

.product-content {
  padding: 24px 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 20px;
  background: #f8f8f8;
}

.author {
  font-size: 15px;
  color: #777;
  margin-bottom: 10px;
}

.author a {
  font-weight: 500;
}

.product-title {
  font-size: 20px;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
  padding: 5px 0;
  margin: 0;
}

.product-title a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #ffb400;
}

.product-rating i {
  color: #ffb400;
  font-size: 14px;
}

.product-rating span {
  font-size: 13px;
  color: #666;
}

.sale-ratting {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-rating.has-rating i {
  color: #ffb400; 
}

.product-rating.no-rating i {
  color: #ddd;
}

.price-badge {
    font-size: 15px;
    font-weight: 600;
    margin-left: 5px;
}

.content-bottom {
    display: flex;
    align-items: center;
}

.product-ratting-wrap {
    margin-right: 5px;
}

.related-title {
    margin-bottom: 30px;
    font-size: 20px;
}

.quantity-label {
    font-weight: 600;
}

.comment_container {
    display: flex;
    gap: 15px;
}

.comment-avatar img {
    border-radius: 2px;
    margin-top: 7px;
}

h2.woocommerce-Reviews-title {
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 16px;
    margin-top: 15px;
}

.commentlist {
    margin-bottom: 15px;
}

.form-submit {
    margin-top: 30px!important;
}

.product.type-product {
    padding-bottom: 30px;
}

.product.type-product img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
}

.downloadable-product .related-title {
}