/* ==============================================
  STYLING KUSTOM UNTUK SEARCH BAR
==============================================
*/

/* Container utama search bar */
.custom-header-search .searchform {
  display: flex !important;
  width: 100% !important;
}

/* Hapus div wrapper yang tidak perlu */
.custom-header-search .searchform > div {
  display: flex !important;
  width: 100% !important;
}

/* Input field untuk mengetik */
.custom-header-search input#s {
  width: 100% !important;
  border: 1px solid transparent !important;
  border-radius: 8px 0 0 8px !important; /* Sudut bulat di kiri */
  padding: 10px 10px !important;
  font-size: 16px !important;
  color: #333 !important;
  margin: 0 !important;
  height: 44px !important; /* Samakan tinggi dengan tombol */
  transition: box-shadow 0.2s ease-in-out !important;
}

/* Efek saat input field diklik/di-fokus */
.custom-header-search input#s:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4) !important;
  z-index: 2 !important;
}

/* Tombol submit */
.custom-header-search input#searchsubmit {
  /* Sembunyikan teks "Search" */
  text-indent: -9999px !important;

  /* Styling tombol */
  background-color: white !important;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23888888" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>') !important;
  background-repeat: no-repeat !important;
  background-position: center !important;

  border: none !important;
  border-radius: 0 8px 8px 0 !important; /* Sudut bulat di kanan */
  width: 50px !important;
  height: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease-in-out !important;
}

/* Efek hover pada tombol submit */
.custom-header-search input#searchsubmit:hover {
  background-color: #f5f5f5 !important;
}

/* ==============================================
  STYLING KUSTOM UNTUK WOOCOMMERCE PRODUCT FILTER (DENGAN !IMPORTANT)
==============================================
*/

/* Variabel warna agar mudah diubah */
:root {
  --filter-accent-blue: #3b82f6; /* Biru modern */
  --filter-accent-blue-hover: #2563eb;
  --filter-text-color: #333;
  --filter-border-color: #ddd;
}

/* Tombol utama "Filter products" */
.wc-block-product-filters__open-overlay {
  background-color: #f7f7f7 !important;
  border: 1px solid var(--filter-border-color) !important;
  border-radius: 8px !important;
  padding: 8px 16px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--filter-text-color) !important;
  cursor: pointer !important;
  transition: all 0.2s ease-in-out !important;
}

.wc-block-product-filters__open-overlay:hover {
  background-color: #e9e9e9 !important;
  border-color: #ccc !important;
}

/* Styling untuk Overlay/Popup Filter */
.wc-block-product-filters__overlay-header {
  border-bottom: 1px solid var(--filter-border-color) !important;
  padding: 1rem 1.5rem !important;
}

.wc-block-product-filters__overlay-content h2.wp-block-heading {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: var(--filter-text-color) !important;
}

.wc-block-product-filters__overlay-content h3.wp-block-heading {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--filter-text-color) !important;
  margin-top: 1.5rem !important;
  margin-bottom: 1rem !important;
  border-bottom: 1px solid #eee !important;
  padding-bottom: 0.5rem !important;
}

/* Styling Checkbox */
.wc-block-product-filter-checkbox-list__input {
  accent-color: var(--filter-accent-blue) !important;
  width: 18px !important;
  height: 18px !important;
}

.wc-block-product-filter-checkbox-list__label {
  font-size: 16px !important;
  color: #555 !important;
}

/* Styling Price Slider */
.wc-block-product-filter-price-slider__range .range-bar {
  background-color: var(--filter-accent-blue) !important;
  height: 4px !important;
}

.wc-block-product-filter-price-slider__range
  input[type="range"]::-webkit-slider-thumb {
  background-color: var(--filter-accent-blue) !important;
  border: 2px solid white !important;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2) !important;
}

.wc-block-product-filter-price-slider__range
  input[type="range"]::-moz-range-thumb {
  background-color: var(--filter-accent-blue) !important;
  border: 2px solid white !important;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2) !important;
}

/* Tombol "Clear filters" dan "Apply" */
.wc-block-product-filter-clear-button .wp-block-button__link,
.wc-block-product-filters__apply {
  border-radius: 8px !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
  transition: all 0.2s ease-in-out !important;
  text-align: center !important;
  width: 100% !important;
}

/* Tombol Clear */
.wc-block-product-filter-clear-button .wp-block-button__link {
  background-color: transparent !important;
  border: 1px solid var(--filter-border-color) !important;
  color: #777 !important;
}

.wc-block-product-filter-clear-button .wp-block-button__link:hover {
  background-color: #f5f5f5 !important;
  border-color: #bbb !important;
}

/* Tombol Apply */
.wc-block-product-filters__apply {
  background-color: var(--filter-accent-blue) !important;
  color: white !important;
  border: none !important;
}

.wc-block-product-filters__apply:hover {
  background-color: var(--filter-accent-blue-hover) !important;
}

.wc-block-product-filters__overlay-footer {
  border-top: 1px solid var(--filter-border-color) !important;
  padding: 1rem 1.5rem !important;
}

/* ==============================================
  STYLING KUSTOM UNTUK DROPDOWN ORDERING
==============================================
*/

/* Container untuk dropdown */
.woocommerce-ordering {
  position: relative !important; /* Diperlukan untuk posisi ikon panah kustom */
  width: 250px !important; /* Atur lebar sesuai kebutuhan */
  float: right !important; /* Posisikan di kanan */
  margin-bottom: 20px !important;
}

/* Dropdown select itu sendiri */
.woocommerce-ordering .orderby {
  /* Reset tampilan default browser */
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;

  /* Styling kustom */
  background-color: #f7f7f7 !important;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%233b82f6" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>') !important; /* Ikon panah biru kustom */
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;

  border: 1px solid var(--filter-border-color) !important;
  border-radius: 8px !important;
  padding: 10px 30px 10px 15px !important; /* Padding kanan lebih besar untuk ikon */
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--filter-text-color) !important;
  width: 100% !important;
  cursor: pointer !important;
  transition: all 0.2s ease-in-out !important;
}

/* Efek saat dropdown di-hover atau di-fokus */
.woocommerce-ordering .orderby:hover,
.woocommerce-ordering .orderby:focus {
  border-color: var(--filter-accent-blue) !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2) !important;
  outline: none !important;
}

/* ==============================================
  STYLING KUSTOM UNTUK DAFTAR PRODUK (DENGAN GRID)
==============================================
*/
/* Sembunyikan pseudo-elements dari tema yang mengganggu grid */
ul.products::before,
ul.products::after {
  display: none !important;
}
/* Container utama untuk semua produk */
ul.products {
  display: grid !important;
  grid-template-columns: repeat(
    3,
    1fr
  ) !important; /* Paksa 3 kolom yang sama lebarnya */
  gap: 25px !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Reset dan styling untuk setiap item produk */
ul.products li.product {
  /* Reset properti tema yang berkonflik */
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;

  /* Styling Kartu */
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* Efek hover pada kartu produk */
ul.products li.product:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1) !important;
}

/* Link produk */
ul.products li.product .woocommerce-LoopProduct-link {
  text-decoration: none !important;
  color: inherit !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

/* Gambar produk */
ul.products li.product img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  margin: 0 !important;
}

/* Judul produk */
ul.products li.product h2.woocommerce-loop-product__title {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #333 !important;
  margin: 15px 0 10px 0 !important;
  padding: 0 15px !important;
  text-align: center !important;
}

/* Harga produk */
ul.products li.product span.price {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--filter-accent-blue) !important;
  margin-top: auto !important;
  padding: 0 15px 20px 15px !important;
  display: block !important;
  text-align: center !important;
}

/* Harga asli yang dicoret */
ul.products li.product span.price del {
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #999 !important;
  margin-right: 8px !important;
}

/* Badge "Sale!" */
ul.products li.product span.onsale {
  background-color: var(--filter-accent-blue) !important;
  color: white !important;
  border-radius: 0 0 8px 0 !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  padding: 5px 12px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  z-index: 2 !important;
}

/* Sembunyikan elemen bawaan tema yang tidak perlu */
ul.products li.product .et_overlay {
  display: none !important;
}

/* TARGET: single product */
/* ==============================================
  STYLING KUSTOM UNTUK BREADCRUMB
==============================================
*/

/* Container utama breadcrumb */
.woocommerce-breadcrumb {
  background-color: #f8f9fa !important; /* Latar belakang abu-abu muda */
  border-radius: 8px !important;
  padding: 12px 20px !important;
  font-size: 14px !important;
  margin-bottom: 25px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

/* Link di dalam breadcrumb (Home, SSD, dll.) */
.woocommerce-breadcrumb a {
  color: var(--filter-accent-blue) !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: color 0.2s ease-in-out !important;
}

.woocommerce-breadcrumb a:hover {
  color: var(--filter-accent-blue-hover) !important;
  text-decoration: underline !important;
}

/* Item terakhir (halaman saat ini) yang bukan link */
.woocommerce-breadcrumb {
  color: #6c757d !important; /* Warna teks abu-abu untuk item terakhir */
}

/* Mengganti pemisah "/" dengan ikon panah (chevron) */
.woocommerce-breadcrumb .delimiter,
.woocommerce-breadcrumb::before {
  display: none !important; /* Sembunyikan pemisah default */
}

.woocommerce-breadcrumb a::after {
  content: ">" !important; /* Ikon panah sebagai pemisah */
  margin-left: 8px !important;
  color: #adb5bd !important; /* Warna abu-abu untuk pemisah */
  font-weight: normal !important;
}

/* ==============================================
  STYLING KUSTOM UNTUK HALAMAN DETAIL PRODUK
==============================================
*/

/* Layout Utama Dua Kolom */
div.product .woocommerce-product-gallery {
  width: 48% !important;
  float: left !important;
}

div.product .summary.entry-summary {
  width: 48% !important;
  float: right !important;
  margin: 0 !important;
}

/* Galeri Gambar Produk */
.woocommerce-product-gallery {
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 15px !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
}

.woocommerce-product-gallery img {
  border-radius: 8px !important;
}

/* Tombol Zoom Gambar */
.woocommerce-product-gallery__trigger {
  background-color: rgba(0, 0, 0, 0.5) !important;
  border-radius: 50% !important;
  color: white !important;
}

/* Judul Produk */
.summary .product_title {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #1a202c !important;
  margin-bottom: 10px !important;
}

/* Harga Produk */
.summary p.price {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: var(--filter-accent-blue) !important;
  margin-bottom: 20px !important;
}

.summary p.price del {
  font-size: 18px !important;
  color: #a0aec0 !important;
}

/* Form "Add to Cart" */
form.cart {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 15px !important;
  margin-bottom: 20px !important;
  background-color: #f8f9fa !important;
  padding: 20px !important;
  border-radius: 8px !important;
}

/* Input Kuantitas */
form.cart .quantity {
  display: flex !important;
  align-items: center !important;
  border: 1px solid #cbd5e0 !important;
  border-radius: 8px !important;
}

form.cart input.qty {
  width: 60px !important;
  text-align: center !important;
  border: none !important;
  background: white !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  height: 48px !important;
  padding: 0 5px !important;
}

/* Tombol "Add to cart" */
form.cart .single_add_to_cart_button {
  flex-grow: 1 !important; /* Membuat tombol mengisi sisa ruang */
  background-color: var(--filter-accent-blue) !important;
  color: white !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 20px !important;
  height: 50px !important;
  line-height: 26px !important;
  transition: background-color 0.2s ease-in-out !important;
}

form.cart .single_add_to_cart_button:hover {
  background-color: var(--filter-accent-blue-hover) !important;
}

/* Info Kategori Produk (Product Meta) */
.product_meta {
  border-top: 1px solid #e2e8f0 !important;
  padding-top: 15px !important;
  font-size: 14px !important;
}

.product_meta .posted_in {
  display: block !important;
}

.product_meta .posted_in a {
  background-color: #edf2f7 !important;
  color: #4a5568 !important;
  padding: 4px 10px !important;
  border-radius: 15px !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
}

.product_meta .posted_in a:hover {
  background-color: #e2e8f0 !important;
  color: #2d3748 !important;
}

/* Badge "Sale!" */
div.product span.onsale {
  background-color: var(--filter-accent-blue) !important;
  border-radius: 50% !important;
  min-width: 50px !important;
  min-height: 50px !important;
  line-height: 50px !important;
}

/* ==============================================
  STYLING KUSTOM UNTUK TAB PRODUK (LENGKAP)
==============================================
*/

/* Wrapper utama untuk tab dan panel */
.woocommerce-tabs.wc-tabs-wrapper {
  margin-bottom: 30px !important;
}

/* Container untuk tombol-tombol tab */
ul.tabs.wc-tabs {
  list-style: none !important;
  padding: 0 10px !important; /* Beri sedikit padding agar tidak menempel di tepi */
  margin: 0 !important;
  display: flex !important;
  gap: 5px !important;
  border-bottom: 1px solid #e2e8f0 !important; /* Garis bawah utama */
}

/* Reset style default dari setiap item tab */
ul.tabs.wc-tabs::before,
ul.tabs.wc-tabs li {
  border: none !important;
  background: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Tombol tab individual */
ul.tabs.wc-tabs li a {
  background-color: transparent !important;
  color: #4a5568 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  padding: 12px 25px !important;
  border-radius: 8px 8px 0 0 !important;
  text-decoration: none !important;
  display: block !important;
  border: 1px solid transparent !important;
  border-bottom: none !important;
  position: relative !important;
  bottom: -1px !important; /* Sedikit ke bawah agar menyatu dengan garis */
  transition: all 0.2s ease-in-out !important;
}

/* Efek hover pada tab yang tidak aktif */
ul.tabs.wc-tabs li:not(.active) a:hover {
  background-color: #f8f9fa !important;
  color: #2d3748 !important;
}

/* Styling untuk tab yang sedang aktif */
ul.tabs.wc-tabs li.active a {
  background-color: white !important;
  color: var(--filter-accent-blue) !important;
  border-color: #e2e8f0 !important;
  border-bottom-color: white !important; /* Menutupi garis bawah container */
}

/* Panel konten (deskripsi, review, dll.) */
.woocommerce-Tabs-panel {
  background-color: white !important;
  border: 1px solid #e2e8f0 !important;
  border-top: none !important; /* Hapus border atas karena sudah ada dari container tab */
  padding: 25px !important;
  border-radius: 0 0 12px 12px !important; /* Sudut bulat di bawah */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03) !important;
}

/* Inline | http://localhost/wordpress/product/ssd-512-ddr-r/ */

body.woocommerce div.product .woocommerce-tabs ul.tabs,
body.woocommerce #content-area div.product .woocommerce-tabs ul.tabs {
  background: transparent !important;
}

body.woocommerce .woocommerce-tabs {
  border: none !important;
}

/* TARGET: CART */
.page-id-970 #main-header {
  display: none !important;
}

/* ==============================================
  STYLING KUSTOM UNTUK TABEL KERANJANG BELANJA (CART)
==============================================
*/

/* Container utama tabel */
.wc-block-cart-items {
  width: 100% !important;
  border-collapse: collapse !important; /* Menghilangkan jarak antar border */
  font-family: inherit !important;
}

/* Header tabel (Product, Details, Total) */
.wc-block-cart-items__header {
  border-bottom: 2px solid #e2e8f0 !important;
}

.wc-block-cart-items__header th {
  text-align: left !important;
  padding: 15px 10px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #4a5568 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

/* Setiap baris produk */
.wc-block-cart-items__row {
  border-bottom: 1px solid #e2e8f0 !important;
}

/* Gambar produk */
.wc-block-cart-item__image img {
  width: 80px !important;
  height: 80px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

/* Sel yang berisi gambar, detail, dan total */
.wc-block-cart-items__row td {
  padding: 20px 10px !important;
  vertical-align: middle !important;
}

/* Judul produk */
a.wc-block-components-product-name {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #1a202c !important;
  text-decoration: none !important;
}

a.wc-block-components-product-name:hover {
  color: var(--filter-accent-blue) !important;
}

/* Harga produk */
.wc-block-cart-item__prices .price {
  font-size: 16px !important;
  color: #718096 !important;
  margin-top: 5px !important;
}

.wc-block-cart-item__prices .price ins {
  color: #1a202c !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

/* Input Kuantitas (+/-) */
.wc-block-components-quantity-selector {
  display: flex !important;
  border: 1px solid #cbd5e0 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  width: 120px !important; /* Lebar total input */
  margin-top: 15px !important;
}

.wc-block-components-quantity-selector__input {
  width: 50px !important;
  text-align: center !important;
  border: none !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

.wc-block-components-quantity-selector__button {
  width: 35px !important;
  background-color: #f8f9fa !important;
  border: none !important;
  font-size: 20px !important;
  font-weight: bold !important;
  cursor: pointer !important;
  color: #718096 !important;
}

.wc-block-components-quantity-selector__button:hover {
  background-color: #e2e8f0 !important;
}

/* Tombol "Remove item" */
.wc-block-cart-item__remove-link {
  display: block !important;
  margin-top: 10px !important;
  font-size: 13px !important;
  color: #e53e3e !important;
  text-decoration: none !important;
  font-weight: 500 !important;
}

.wc-block-cart-item__remove-link:hover {
  text-decoration: underline !important;
}

/* Total harga per item */
.wc-block-cart-item__total .price {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #1a202c !important;
}

/* ==============================================
  STYLING KUSTOM UNTUK RINGKASAN TOTAL BELANJA (CART TOTALS)
==============================================
*/

/* Container utama (sidebar) */
.wc-block-cart__sidebar {
  background-color: #f8f9fa !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 25px !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
}

/* Judul "Cart totals" */
.wc-block-cart__totals-title {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #1a202c !important;
  margin-top: 0 !important;
  margin-bottom: 20px !important;
  padding-bottom: 15px !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

/* Setiap baris item total (misal: Subtotal, Shipping) */
.wc-block-components-totals-item {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 10px !important;
  font-size: 16px !important;
}

.wc-block-components-totals-item__label {
  color: #4a5568 !important;
}

.wc-block-components-totals-item__value {
  font-weight: 600 !important;
  color: #1a202c !important;
}

/* Baris total akhir yang paling bawah */
.wc-block-components-totals-footer-item {
  font-size: 20px !important;
  font-weight: 700 !important;
  border-top: 1px solid #e2e8f0 !important;
  padding-top: 20px !important;
  margin-top: 20px !important;
}

.wc-block-components-totals-footer-item
  .wc-block-components-totals-item__label {
  color: #1a202c !important;
}

.wc-block-components-totals-footer-item
  .wc-block-components-totals-item__value {
  color: var(--filter-accent-blue) !important;
}

/* Tombol "Proceed to Checkout" */
.wc-block-cart__submit-button {
  background-color: var(--filter-accent-blue) !important;
  color: white !important;
  width: 100% !important;
  text-align: center !important;
  padding: 15px 20px !important;
  border-radius: 8px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  line-height: 1.5 !important;
  margin-top: 20px !important;
  transition: background-color 0.2s ease-in-out !important;
}

.wc-block-cart__submit-button:hover {
  background-color: var(--filter-accent-blue-hover) !important;
}

/* Styling untuk bagian kupon */
.wc-block-components-totals-coupon .wc-block-components-panel__button {
  font-weight: 600 !important;
  color: var(--filter-accent-blue) !important;
}

/* target: checkout */
.page-id-971 #main-header {
  display: none !important;
}
.page-id-971 #sidebar {
  display: none !important;
}

.page-id-971 #left-area {
  /* width: 79.125%; */
  width: 100% !important;
}

.page-id-971 .et_right_sidebar #main-content .container::before {
  /* right: 20.875% !important; */
  display: none !important;
}

/* Inline | http://localhost/wordpress/product/ssd-512-ddr-r/ */

.page-id-971 #main-content .container::before {
  display: none !important;
}


/* ==============================================
  STYLING KUSTOM UNTUK HALAMAN CHECKOUT
==============================================
*/

/* Mengatur layout utama */
.wc-block-checkout__main {
    font-family: inherit !important;
}

/* Styling untuk setiap langkah (Contact, Shipping, Payment) */
.wc-block-components-checkout-step {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 25px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
}

/* Judul setiap langkah */
.wc-block-components-checkout-step__title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    margin-bottom: 5px !important;
}

/* Deskripsi di bawah judul */
.wc-block-components-checkout-step__description {
    font-size: 14px !important;
    color: #718096 !important;
    margin-bottom: 20px !important;
}

/* Styling untuk semua input field dan select dropdown */
.wc-block-components-text-input input,
.wc-blocks-components-select__select {
    width: 100% !important;
    border: 1px solid #cbd5e0 !important;
    border-radius: 8px !important;
    padding: 12px 15px !important;
    font-size: 16px !important;
    height: 50px !important;
    background-color: #f8f9fa !important;
    transition: all 0.2s ease-in-out !important;
}

/* Efek saat input field di-fokus */
.wc-block-components-text-input input:focus,
.wc-blocks-components-select__select:focus {
    outline: none !important;
    border-color: var(--filter-accent-blue) !important;
    background-color: white !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
}

/* Styling untuk label input */
.wc-block-components-text-input label,
.wc-blocks-components-select__label {
    font-weight: 500 !important;
    color: #4a5568 !important;
}

/* Tombol "Place Order" */
.wc-block-components-checkout-place-order-button {
    background-color: var(--filter-accent-blue) !important;
    color: white !important;
    width: 100% !important;
    text-align: center !important;
    padding: 15px 20px !important;
    border-radius: 8px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    margin-top: 20px !important;
    transition: background-color 0.2s ease-in-out !important;
}

.wc-block-components-checkout-place-order-button:hover {
    background-color: var(--filter-accent-blue-hover) !important;
}

/* Link "Return to Cart" */
.wc-block-components-checkout-return-to-cart-button {
    color: var(--filter-accent-blue) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

/* TARGET: my account */

/* ==============================================
  STYLING KUSTOM UNTUK HALAMAN MY ACCOUNT
==============================================
*/

/* Layout utama dua kolom */
.woocommerce-account .woocommerce {
    display: flex !important;
    gap: 30px !important;
    align-items: flex-start !important;
}

/* Sidebar Navigasi */
.woocommerce-MyAccount-navigation {
    width: 250px !important; /* Lebar sidebar navigasi */
    flex-shrink: 0 !important;
    background-color: #f8f9fa !important;
    border-radius: 12px !important;
    padding: 15px !important;
    border: 1px solid #e2e8f0 !important;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-MyAccount-navigation ul li {
    margin: 0 !important;
}

/* Tombol/link di navigasi */
.woocommerce-MyAccount-navigation ul li a {
    display: block !important;
    padding: 12px 20px !important;
    color: #4a5568 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out !important;
}

/* Efek hover pada link navigasi */
.woocommerce-MyAccount-navigation ul li:not(.is-active) a:hover {
    background-color: #e2e8f0 !important;
    color: #1a202c !important;
}

/* Link navigasi yang sedang aktif */
.woocommerce-MyAccount-navigation ul li.is-active a {
    background-color: var(--filter-accent-blue) !important;
    color: white !important;
}

/* Konten di sebelah kanan */
.woocommerce-MyAccount-content {
    flex-grow: 1 !important; /* Mengisi sisa ruang */
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 30px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
}

.woocommerce-MyAccount-content p {
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #4a5568 !important;
}

.woocommerce-MyAccount-content a {
    color: var(--filter-accent-blue) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.woocommerce-MyAccount-content a:hover {
    text-decoration: underline !important;
}

/* Responsive untuk mobile */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        flex-direction: column !important;
    }
    .woocommerce-MyAccount-navigation {
        width: 100% !important;
    }
}

/* login */
/* ==============================================
  STYLING KUSTOM UNTUK HALAMAN LOGIN & REGISTER
==============================================
*/

/* Container utama untuk dua kolom */
#customer_login {
    display: flex !important;
    gap: 30px !important;
    align-items: flex-start !important;
    max-width: 900px !important; /* Atur lebar maksimum */
    margin: 40px auto !important;
}

/* Styling untuk setiap kolom (Login dan Register) */
#customer_login .u-column1,
#customer_login .u-column2 {
    flex: 1 !important; /* Membuat kedua kolom sama lebarnya */
    width: 100% !important; /* Menimpa lebar default */
    float: none !important;
    
    /* Styling Kartu */
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 35px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
}

/* Judul "Login" dan "Register" */
#customer_login h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
    margin-top: 0 !important;
    margin-bottom: 25px !important;
    text-align: center !important;
    color: #1a202c !important;
}

/* Input field (berlaku untuk kedua form) */
#customer_login .input-text {
    width: 100% !important;
    border: 1px solid #cbd5e0 !important;
    border-radius: 8px !important;
    padding: 12px 15px !important;
    font-size: 16px !important;
    height: 50px !important;
    background-color: #f8f9fa !important;
    transition: all 0.2s ease-in-out !important;
}

/* Efek saat input field di-fokus */
#customer_login .input-text:focus {
    outline: none !important;
    border-color: var(--filter-accent-blue) !important;
    background-color: white !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
}

/* Tombol "Log in" dan "Register" */
#customer_login .button {
    width: 100% !important;
    background-color: var(--filter-accent-blue) !important;
    color: white !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 20px !important;
    height: 50px !important;
    margin-top: 10px !important;
    transition: background-color 0.2s ease-in-out !important;
}

#customer_login .button:hover {
    background-color: var(--filter-accent-blue-hover) !important;
}

/* Responsive untuk mobile */
@media (max-width: 768px) {
    #customer_login {
        flex-direction: column !important;
    }
}



#customer_login .u-column1, #customer_login .u-column2 {
  border: none !important;
  padding: 0px !important;
  box-shadow: none !important;
}


.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
  /* border-color: #eeeeee; */
}

/* woocommerce.css | http://localhost/wordpress/wp-content/plugins/woocommerce/assets/css/woocommerce.css?ver=10.1.0 */

.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
  border: none !important;
}

#customer_login .u-column1, #customer_login .u-column2 {
    border: none !important;
    padding: 0px !important;
    box-shadow: none !important;
}


.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
    border: none !important;
    padding: 20px;
}




.wc-block-product-filter-price-slider .text input[type="text"] {
	 max-width: 100% !important; 
}