body {
  background: #f0f0f0 !important;
}
#main {
  background-color: #F0F0F0 !important;
}
.custom-product-page {
  margin-top: 20px;
}
.mils-tags {
  padding-bottom: 2em;
}
.mils-tags span.tagged_as {
  display: block;
  padding: 5px 15px;
  width: max-content;
  background-color: #ADADAD;
  border-radius: .4em;
}
.mils-tags span.tagged_as a {
  color: #fff;
  font-weight: 600;
  font-size: 1.3em;
  letter-spacing: 1.2px;
}
.mils-tags span.tagged_as a:hover {
  color: #fff;
}
.product-title-container h1.entry-title {
  font-weight: 700;
  color: #505050;
  font-size: 3em;
  margin-bottom: 1em;
}
.product-title-container .is-divider {
  display: none !important;
}
.price-wrapper .price.product-page-price {
  line-height: 2em;
}
span.woocommerce-Price-amount.amount {
  font-weight: 500;
  font-size: 1.8em;
  color: #505050;
}
.breadcrumbs a {
  font-weight: 500;
  font-size: 1.2em;
}
.product-short-description {
  display: none !important;
}
.cfvsw-product-page table.variations .label label {
  font-weight: 500;
  font-size: 1.3em;
  letter-spacing: 1.2px;
}
.cfvsw-swatches-option.cfvsw-label-option {
  padding: 10px 20px;
  border-radius: .6em !important;
}
table.variations {
  border-spacing: 0em 1em;
}
.ux-quantity {
  border: 1px solid rgba(0, 0, 0, .5);
  border-radius: .4em;
  overflow: hidden;
  padding: 5px 20px;
  background: #fff;
  margin: 0 !important;
}
.ux-quantity input, .quantity .button.minus, .quantity .button.plus {
  border-style: none !important;
  background-color: #fff;
  box-shadow: none !important;
}
.current .breadcrumb-step, [data-icon-label]:after, .button#place_order, .button.checkout, .checkout-button, .single_add_to_cart_button.button, .sticky-add-to-cart-select-options-button {
  text-decoration: none;
  text-transform: none;
  font-weight: 400;
  padding: 5px 30px;
  border-radius: .4em;
  overflow: hidden;
}
*[display="false"] {
  display: none !important;
}
.woocommerce-variation-add-to-cart {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: max-content 1fr max-content;
  grid-gap: 1em;
}
.yith-wcwl-add-to-wishlist {
  margin: 0;
  width: max-content;
  margin: 0;
  padding: 5px 15px;
  display: grid;
  justify-items: center;
  align-items: center;
  background-color: #D4D4D4;
  border-radius: .5em;
}
.yith-wcwl-add-to-wishlist span {
  display: none;
}
.single_add_to_cart_button {
  margin: 0 !important;
  background-color: #2F3133 !important;
}
.yith-wcwl-add-button .add_to_wishlist svg.yith-wcwl-icon-svg, .yith-wcwl-add-button .add_to_wishlist img {
  margin: 0;
}
.cfvsw-label-option, .cfvsw-image-option {
  border: 1px solid #00000000;
}
.cfvsw-swatches-option:not( .cfvsw-swatches-disabled, .cfvsw-swatches-out-of-stock ):hover {
  border-color: #000000c7;
}

/* Sembunyikan Tabs Bawaan Flatsome */
.product-footer .woocommerce-tabs.wc-tabs-wrapper,
.woocommerce-tabs.wc-tabs-wrapper.tabbed-content {
    display: none !important;
}

/* Container Utama */
.woocommerce-tabs-accordion.custom-accordion {
    margin-top: 30px;
    border-top: 2px solid #c8c8c8;
    border-bottom: 2px solid #c8c8c8;
    border-radius: 5px;
    overflow: hidden;
    width: 100%;
    clear: both;
}

/* Item Wrapper */
.woocommerce-tabs-accordion .accordion-item {
    border-bottom: 2px solid #c8c8c8;
    background: #ffffff00;
}

.woocommerce-tabs-accordion .accordion-item:last-child {
    border-bottom: none;
}

/* Header (Judul) */
.woocommerce-tabs-accordion .accordion-header {
    background-color: #fcfcfc00;
    padding: 20px 20px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    outline: none;

}

/* Hover Effect */
.woocommerce-tabs-accordion .accordion-header:hover {
    background-color: #ffffff00;
}

/* Remove default marker */
.woocommerce-tabs-accordion .accordion-header::-webkit-details-marker {
    display: none;
}
/* Panah Chevron (Kanan) menggunakan CSS Border */
.accordion-arrow {
    width: 8px;
    height: 8px;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    transform: rotate(45deg); /* Membentuk panah ke bawah */
    transition: transform 0.3s ease;
    margin-right: 5px;
}

/* STATE: OPEN (Saat Terbuka) */
.woocommerce-tabs-accordion .accordion-item[open] .accordion-arrow {
    transform: rotate(-135deg); /* Memutar panah ke atas */
    border-color: #333;
}

/* Ubah warna header saat terbuka */
.woocommerce-tabs-accordion .accordion-item[open] .accordion-header {
    background-color: #ffffff00;
    border-bottom: 1px solid #f0f0f0;
}

/* Konten dengan Animasi Slide Down */
.woocommerce-tabs-accordion .accordion-content {
    padding: 20px;
    background: #ffffff00;

    line-height: 1.6;
    color: #555;
    /* Animasi */
    animation: slideDown 0.4s ease-out;
    transform-origin: top;
}

/* Keyframes untuk efek smooth opening */
@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fix untuk Judul Ganda di Description/Reviews */
.woocommerce-tabs-accordion .accordion-content > h2:first-child,
.woocommerce-tabs-accordion .accordion-content > h3:first-child {
    display: none;
}
.is-sticky-column {
    top: 90px !important; 
}
.accordion-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.accordion-title-wrapper .material-icons {
    font-size: 20px;
    color: #555;
    line-height: 1;
    display: inline-block;
}

.accordion-header:hover .accordion-title-wrapper .material-icons,
.accordion-item[open] .accordion-title-wrapper .material-icons {
    color: #333;
}

accordion-title-wrapper .custom-svg-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Styling SVG */
.accordion-title-wrapper .custom-svg-icon svg {
    width: 1.125em; /* Ukuran relatif terhadap teks (kira-kira 18px) */
    height: 1.125em;
    stroke-width: 2px; /* Ketebalan garis, sesuaikan jika perlu */
    transition: all 0.3s ease;
    color: #555; /* Warna default (abu-abu) */
}

.accordion-title-wrapper i {
    font-size: 1.125em;
}

/* Styling Wrapper Icon */
.accordion-title-wrapper .custom-svg-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin-right: 2px; /* Sedikit penyesuaian jarak */
}

/* Styling SVG (Ukuran & Garis) */
.accordion-title-wrapper .custom-svg-icon svg {
    width: 30px;
    height: 30px;
    stroke-width: 1.3px;
    transition: all 0.3s ease;
    color: #555;   /* Warna default (Abu-abu) */
}
.accordion-title-text {
    font-size: 1.3em;
    font-weight: 500;
}

@media (max-width: 767px) {
  .product-title-container h1.entry-title {
    font-size: 1.6em;
  }
  .product-page-price {
    font-size: .8em
  }
}
