/* * {
  border: 1px solid red;
} */
.display-hidden {
  display: none;
}

.header-padding {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.wp-block-navigation-item__content {
  position: relative;
  text-decoration-line: none;
  transition-property: 0.4s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.15s;
}

.wp-block-navigation-item__content::before {
  content: "";
  position: absolute;
  width: calc(0.25rem * 0);
  height: calc(0.25rem * 1);
  background-color: var(--wp--preset--color--primary-1);
  bottom: calc(0.25rem * -2);
  left: calc(0.25rem * 0);
  transition-property: width 0.4s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.15s;
}

.wp-block-navigation-item__content:hover::before {
  width: 100%;
}

.wp-block-navigation-item__label:hover {
  color: var(--wp--preset--color--primary-1);
}

.box-shadow-lg {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.box-shadow-md {
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.hidden-overflow {
  overflow: hidden;
}

.float-pricing-label {
  position: absolute;
  right: calc(0.25rem * 0);
  top: calc(0.25rem * 0);
}

.float-icon-left-top {
  position: absolute;
  left: calc(0.25rem * 0);
  top: calc(0.25rem * 0);
  translate: -50% -50%;
}

.float-icon-right-top {
  position: absolute;
  right: calc(0.25rem * 0);
  top: calc(0.25rem * 0);
  translate: 50% -50%;
}

.position-relative {
  position: relative;
}

.full-width {
  width: 100%;
}

.check-list-list-style {
  list-style-image: url(../images/icons/check-list-image.svg);
}

.list-inside {
  list-style-position: inside;
}

.wp-block-list {
  padding-left: 0;
}

.square-group {
  width: calc(0.25rem * 16);
  height: calc(0.25rem * 16);
}

.wp-block-categories-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.wp-block-categories-list .cat-item {
  background-color: #f2f3f5; /* abu muda */
  border-radius: 9999px; /* pill */
  padding: 6px 14px;
  font-size: 14px;
  transition: background-color 0.2s, color 0.2s;
}

.wp-block-categories-list .cat-item a {
  text-decoration: none;
  color: var(--wp--preset--color--black); /* hitam */
}

.wp-block-categories-list .cat-item:hover {
  background-color: var(--wp--preset--color--primary-1);
}

.wp-block-categories-list .cat-item:hover a {
  color: var(--wp--preset--color--white);
}

.wp-block-categories-list .current-cat {
  background-color: var(--wp--preset--color--primary-1);
}

.wp-block-categories-list .current-cat a {
  color: var(--wp--preset--color--white);
}

/* Kontainer pagination */
.wp-block-query-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 1rem 0;
  background: #f9fafb; /* jika ingin warna latar abu muda */
}

/* Tombol panah */
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid #d1d5db;
  background: var(--wp--preset--color--white);
  font-size: 18px;
  color: var(--wp--preset--color--black);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.wp-block-query-pagination-previous {
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
}

.wp-block-query-pagination-next {
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.wp-block-query-pagination-previous:hover,
.wp-block-query-pagination-next:hover {
  background: #f3f4f6;
}

/* Kontainer angka */
.wp-block-query-pagination-numbers {
  display: flex;
  align-items: center;
}

.page-numbers,
.page-numbers.dots {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-top: 1px solid #d1d5db;
  border-bottom: 1px solid #d1d5db;
  border-left: 1px solid #d1d5db;
  background: var(--wp--preset--color--white);
  color: var(--wp--preset--color--black);
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.page-numbers:last-child,
.wp-block-query-pagination-numbers a:last-of-type {
  border-right: 1px solid #d1d5db;
}

.page-numbers:hover:not(.current):not(.dots) {
  background: #f3f4f6;
}

/* Halaman aktif */
.page-numbers.current {
  background: var(--wp--preset--color--primary-1); /* biru sesuai gambar */
  color: var(--wp--preset--color--white);
  border-color: var(--wp--preset--color--primary-1);
}

/* Dot (...) styling agar seimbang */
.page-numbers.dots {
  cursor: default;
}

.avatar-24 {
  border-radius: 100%;
}

.wp-block-woocommerce-product-template {
  overflow-x: auto;
  width: 100%;
  flex-wrap: nowrap !important;
}

.wc-block-product {
  flex-shrink: 0 !important;
}

/* Base style for all prices */
.wp-block-woocommerce-product-price .woocommerce-Price-amount.amount {
  color: var(--wp--preset--color--yellow-600); /* Your desired color */
  font-weight: bold; /* Your desired font weight */
  font-size: 1em; /* Your desired font size */
}

/* Style for the original price (before discount) */
.wp-block-woocommerce-product-price del .woocommerce-Price-amount.amount {
  color: #e31b23; /* Lighter color for original price */
  font-weight: normal; /* Normal font weight */
  font-size: 0.9em; /* Slightly smaller font if desired */
}

/* Style for the discounted price (after discount) - same as regular price */
.wp-block-woocommerce-product-price ins .woocommerce-Price-amount.amount {
  color: var(--wp--preset--color--yellow-600); /* Same as regular price */
  font-weight: bold; /* Same as regular price */
  font-size: 1em; /* Same as regular price */
  text-decoration: none; /* Remove default underline from ins tag */
}

/* Optional: Add space between original and discounted prices */
.wp-block-woocommerce-product-price del {
  margin-right: 8px;
}

.line-clamp-2 {
  display: -webkit-box !important;
  line-clamp: 2 !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.line-clamp-2 a {
  display: -webkit-box !important;
  line-clamp: 2 !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.text-balanced {
  text-wrap: balance;
}

.text-balanced a {
  text-wrap: balance;
}

.wc-block-product{
	box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.woosw-btn {
	display:none;
}

.full-height {
  height: 100%;
}

.self-stretch {
  align-self: stretch !important;
}

.wp-block-woocommerce-product-details {
	font-size: 1rem !important;
}

.text-rem {
	font-size: 1rem !important;
}