/*
Theme Name: soledad
Theme URI: https://pencidesign.net/
Description: A Multipurpose, Newspaper, Blog & WooCommerce WordPress Theme
Author: PenciDesign
Author URI: https://pencidesign.net/
Version: 8.5.1
Requires PHP: 7.1
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Tags: black, green, white, light, one-column, two-columns, three-columns, right-sidebar, left-sidebar, fluid-layout, responsive-layout, custom-header, custom-menu, featured-images, post-formats, translation-ready
Text Domain: soledad
Domain Path: /languages
*/
/*
 * Silence is gold
 */

/* The main css file is located in "themes/soledad/main.css" */
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper .zoomImg {
    display: none !important;
}

/* Paksa grid produk WooCommerce Soledad selalu rata kiri */
ul.products.penci-quickshop-support {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important; /* ini kunci supaya produk ke-4 pindah ke kiri */
}

/* 3 produk per baris (ubah calc sesuai kebutuhan) */
ul.products.penci-quickshop-support li.product {
  flex: 0 0 calc(24% - 5px) !important;
  margin: 0 10px 10px 0 !important;
}

.woocommerce ul.products li.product {
	border: 1px solid #ddd; /* Ganti dengan warna dan ketebalan border yang diinginkan */
	padding: 10px; /* Opsional: Tambahkan padding agar border tidak terlalu dekat dengan produk */
	border-radius: 10px; /* Atur radius sesuai keinginan */
	width: 22%; /* Atur lebar sesuai keinginan */
	text-align: center !important; /* Ratakan teks */
	margin: 0 auto;             /* Tengah secara otomatis */
	justify-content: start !important;  /*pastikan rata kiri */
}

/* Tablet: 2 produk per baris */
@media (max-width: 768px) {
  ul.products.penci-quickshop-support li.product {
    flex: 0 0 calc(50% - 15px) !important;
	margin: 0 7.5px 20px 10px !important; /* jarak antar item */
  }
  ul.products.penci-quickshop-support li.product:nth-child(2n) {
    margin-right: 0 !important;
  }
}

/* Mobile: 1 produk per baris */
@media (max-width: 480px) {
  ul.products.penci-quickshop-support li.product {
    flex: 0 0 100% !important;
    margin-right: 0 !important;
  }
}

.product {
  /* margin-bottom: 20px;  Atur jarak bawah */
   margin-right: 5px; /* Atur jarak kanan */
}

.ha-navigation-menu-wrapper {
	padding-top: 25px;
    height: 35px;
}
	
.container.penci-breadcrumb {
	padding-bottom: 15px;
}

ul.button.wc-custom-button-view-product,
.button.wc-custom-button-view-product {
    display: none !important;
}

.woocommerce ul.products li.product a.button {	
  /* display: none !important; Sembunyikan tombol add to cart di halaman katalog */
  background-color: #ffffff; /* White text */
  color: #000000; /* Red background  */
  border-style: solid;
  display: flex; /* justify-content dan align-items, tidak berfungsi kecuali display:flex dipakai.*/
  margin: 0 auto;
  text-align: center;	
  border-radius: 5px; /* Sesuaikan nilai ini untuk mengubah tingkat kebulatan */	
  /* Add other styles like hover effects, borders, etc. */	
  justify-content: center;
  align-items: center;
  text-align: center !important;	
}

.woocommerce div.product form.cart .button {
  display: block;
  margin: 0 auto;
  text-align: center;
}

.woocommerce ul.products li.product a.button:hover {
  background-color: #cc0000; /* Darker red on hover */
  color: #ffffff; /* White text  */
  border-style: solid;	
  border-radius: 5px; /* Sesuaikan nilai ini untuk mengubah tingkat kebulatan */
  border-color:	#cc0000;
}
