/*
Theme Name: Elessi Theme Child
Theme URI: https://elessi.nasatheme.com
Description: This is a child theme for Elessi Theme
Author: NasaTheme team
Author URI: https://nasatheme.com
Template: elessi-theme
Version: 1.0
*/


/*************** ADD YOUR CUSTOM CSS IN THIS AREA ***************/



/* Sesuaikan posisi tombol di template produk simple */
.custom-buttons-container-simple {
    margin-bottom: 5px;
}

.custom-buttons-container-simple label {
    display: block; /* Ensure the label takes up the full width */
    margin-top: 15px;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 85%;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: default;
}

.custom-buttons-container-simple .button {
    margin-left: 8px; /* Add margin between buttons */
    padding: 10px 20px; /* Adjust padding as needed */
    text-align: center; /* Center text horizontally */
    display: inline-flex; /* Use inline-flex to center text both horizontally and vertically */
    align-items: center; /* Center text vertically */
    justify-content: center; /* Center text horizontally */
    vertical-align: middle; /* Ensure alignment in case of line height issues */
}

.custom-buttons-container-simple .button:first-of-type {
    margin-left: 0; /* Remove left margin from the first button */
}

.custom-buttons-container-simple a {
    display: inline-block; /* Ensure buttons stay inline */
}

.product-info .cart  {
    margin-bottom: 0px; /* Misalnya, mengatur margin bawah menjadi 10px */
}


/* Sesuaikan posisi tombol di template produk variabel */
.woocommerce-variation-add-to-cart.variations_button .custom-buttons-container {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-buttons-container .button {
    margin-left: 3px; /* Jarak antar tombol */
}

.custom-buttons-container .button:first-child {
    margin-left: -1px; /* Hilangkan margin kiri pada tombol pertama */
}

.custom-buttons-container label {
    margin-top: 15px;
    margin-bottom: 10px;
    margin-left: 3px;
    font-weight: 700;
    font-size: 85%;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: default;
}

/* Styles untuk custom-button-1 */
.button.alt.custom-button-1 {
    background-color: #EE4D2D; /* Warna default */
    color: white; /* Warna teks default */
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Untuk efek transisi */
}

.button.alt.custom-button-1:hover {
    background-color: #BD2C0F; /* Warna saat hover */
}

/* Styles untuk custom-button-2 */
.button.alt.custom-button-2 {
    background-color: #42b549; /* Warna default */
    color: white; /* Warna teks default */
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Untuk efek transisi */
}

.button.alt.custom-button-2:hover {
    background-color: #2D7B31; /* Warna saat hover */
}



.important-links-container {
    margin-top: 30px;
    margin-bottom: 30px;
    font-family: 'Nunito', sans-serif;
}

.important-links-container label {
    display: block;
    margin-left: 0;
    margin-bottom: 15px;
    color: #777456;
    font-weight: bold;
}

.important-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-left: 0;
}

.important-links a {
    color: #f76b6a;
    text-decoration: none;
    margin-right: 10px;
    font-family: 'Nunito', sans-serif;
    font-weight: bold;
}

.important-links a:hover {
    color: #f54543;
    text-decoration: underline;
    font-weight: bold;
}

.separator {
    margin-right: 10px;
    color: #777456;
}


/* Custom deskripsi */
  .product-info2 {
    display: flex;
    flex-wrap: wrap;
    margin: 0px;
  }
  
  .info-section2 {
    flex: 1;
    min-width: 250px;
    border: 1px solid #efefef;
    padding: 10px;
    background-color: #fafafa;
  }
  
  .info-section2 a {
  text-decoration: underline; /* Menambahkan garis bawah pada link */
}

.info-section2 ul li {
  overflow-wrap: break-word;
  word-break: normal;
  white-space: normal;
  hyphens: auto;
  padding-left: 22px; /* Indent the first line */
  text-indent: -22px; /* Negative indent for the first line */
}

  @media (max-width: 500px) {
    .info-section {
      flex-basis: 100%;
    }
  }

/* show sold */
.custom-units-sold {
    color: #777456;
    font-size: 14px;
    font-weight: normal;
    margin-top: 10px; 
}
