.brxe-block::-webkit-scrollbar {
	display: none;
}

.brxe-block {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.kd-grid-container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
	padding: 15px;
	padding-bottom: 80px;
}

.kd-product-card {
	border: 1px solid #eee;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.kd-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	cursor: pointer;
}

.kd-card-body {
	padding: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-direction: row;
	flex-wrap: nowrap;
}

.kd-store-name-wrapper {
	display: flex;
	flex-direction: row;
	gap: 5px;
	align-items: center;
}

.kd-store-name {
	font-size: 0.8em;
	font-weight: 700;
	color: #9c27b0;
}

.kd-title {
	font-size: 14px;
	font-weight: bold;
	margin: 5px 0;
}

.kd-modal-description {
	color: #888;
	font-size: 12px;
}

.kd-price,
.woocommerce-Price-amount.amount {
	font-size: 1em;
	color: #128718;
	font-weight: 600;
}

.kd-price del,
.kd-price del .woocommerce-Price-amount.amount {
	color: #999;
	opacity: 0.7;
}

.kd-price.kd-variasi {
	font-size: 18px;
}

.kd-store-icon {
	font-size: 14px;
}

.kd-btn-add {
	color: #2196f3;
	fill: #2196f3;
	font-size: 30px;
}

.kd-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	justify-content: flex-end;
	background: rgba(0, 0, 0, 0.6);
	z-index: 999;
	display: flex;
	align-items: flex-end;
}

.kd-modal-content {
	background: #fcfcfc;
	width: 100%;
	height: 100%;
	padding: 0 20px;
	overflow-y: auto;
	animation: slideUp 0.3s ease-out;
	position: relative;
	margin: 0 auto;
}

#kd-modal-body {
	padding: 20px 0;
	display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

#kd-product-image {
	width: 100%;
	max-width: 400px;
	height: auto;
	aspect-ratio: 1 / 1;
	flex-shrink: 0;
}

#kd-product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
}

@keyframes slideUp {
	from {
		transform: translateY(100%);
	}

	to {
		transform: translateY(0);
	}
}

#kd-select-overlay {
	display: none;
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.3);
	z-index: 1000;
}

#kd-modal-select {
	position: fixed;
	bottom: 0;
	width: 100%;
	max-width: 767px;
	max-height: 95%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	background: #fcfcfc;
	padding: 50px 20px;
	border-top-left-radius: 30px;
	border-top-right-radius: 30px;
	box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
	z-index: 1001;
	transition: transform 0.3s ease;
	transform: translateY(100%);
	overflow-y: auto;
}

.kd-simple-product-controls {
	position: relative;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	background: #fff;
	padding: 20px 0;
	z-index: 1001;
}

.kd-close-modal {
	position: absolute;
	top: 15px;
	right: 15px;
	border: none;
	background: none;
	cursor: pointer;
}

.kd-option-group {
	margin-bottom: 15px;
	width: 100%;
}

.kd-option-title {
	display: block;
	font-weight: bold;
	text-transform: capitalize;
	margin-bottom: 8px;
}

.kd-radio-wrapper {
	position: relative;
	width: 100%;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 15px;
	overflow: hidden;
}

.kd-radio-label {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 12px;
	margin: 0;
	cursor: pointer;
	font-size: 13px;
	user-select: none;
}

.kd-badge-add {
	background: #128718;
	color: #fff;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	font-size: 20px;
	padding-bottom: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #fff;
	font-weight: 900;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	flex-shrink: 0;
}

.kd-badge-add.has-qty {
	background: #fff;
	color: #128718;
	border: 2px solid #128718;
	font-size: 12px;
	padding: 0;
}

.kd-po-subtext {
	margin-top: 4px;
	font-size: 12px;
	color: #7f8c8d;
	line-height: 1.3;
}

textarea#kd-item-note {
	margin: 10px 0;
	border-radius: 7px;
}

input[type="radio"]:checked+.kd-radio-label {
	background: #e0f7fa;
	border-color: #00bcd4;
	color: #006064;
}

input[type="radio"] {
	display: none;
}

#kd-floating-cart {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background: #fff;
	padding: 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
	z-index: 990;
}

.kd-btn,
.button.checkout.wc-forward {
	background: #128718;
	color: #fff;
	padding: 10px 20px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: bold;
}

.kd-btn-checkout {
	padding: 10px 20px;
}

.kd-btn-atc {
	padding: 15px 30px;
	border-radius: 100px;
	border: none;
	background: rgb(0, 0, 0);
	color: rgb(255, 255, 255);
	font-weight: 700;
	font-size: 16px;
	min-width: 180px;
	box-shadow: rgba(0, 0, 0, 0.15) 0px 10px 20px;
	text-align: center;
}

#kd-toast {
	visibility: hidden;
	min-width: 250px;
	background-color: #333;
	color: #fff;
	text-align: center;
	border-radius: 4px;
	padding: 12px;
	position: fixed;
	z-index: 1000;
	left: 50%;
	bottom: 80px;
	transform: translateX(-50%);
	opacity: 0.7;
}

#kd-toast.show {
	visibility: visible;
	animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

#kd-atc-form {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.kd-btn-qty {
	width: 30px;
	height: 30px;
	background: #2196f3;
	color: #fff;
	border-radius: 50%;
	font-size: 20px;
	text-align: center;
}

#kd-price-satuan {
	font-size: 1em;
	color: #23282d;
	font-weight: 700;
	text-align: center;
	margin-bottom: 10px;
}

@media (max-width: 478px) {
	.kd-grid-container {
		grid-template-columns: 1fr !important;
	}
}

/*Content Placeholder*/
.skeleton-wrapper {
	width: 100%;
}

.skeleton-row {
	display: flex;
	align-items: flex-start;
}

.skeleton-row:last-child {
	margin-bottom: 0 !important;
}

.skeleton-col {
	display: flex;
	flex-direction: column;
}

.skeleton-align-right {
	align-items: flex-end;
}

.skeleton-item {
	background: #e2e8f0;
	flex-shrink: 0;
	position: relative;
	overflow: hidden;
}

.skeleton-item::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-image: linear-gradient(90deg,
			rgba(255, 255, 255, 0) 0,
			rgba(255, 255, 255, 0.4) 20%,
			rgba(255, 255, 255, 0.7) 60%,
			rgba(255, 255, 255, 0));
	transform: translateX(-100%);
	animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
	100% {
		transform: translateX(100%);
	}
}

/* PO Info Styles - Modern Card Layout */
.kd-modal-card {
	background: #fff;
	border: 1px solid #f0f0f0;
	border-radius: 16px;
	padding: 15px;
	margin-bottom: 20px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
	width: 100%;
	box-sizing: border-box;
}

.kd-card-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 10px;
}

.kd-card-col {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.kd-card-text-right {
	text-align: right;
	align-items: flex-end;
}

.kd-po-badge {
	font-size: 10px;
	font-weight: 800;
	text-align: center;
	padding: 6px 14px;
	border-radius: 50px;
	color: #fff;
	display: inline-block;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	width: max-content;
}

.kd-po-status-open {
	background: #128718;
}

.kd-po-status-next {
	background: #f59e0b;
}

.kd-card-divider {
	height: 1px;
	background: #f0f0f0;
	margin: 12px 0;
	width: 100%;
}

.kd-card-label {
	font-size: 11px;
	color: #999;
	font-weight: 600;
	margin-bottom: 3px;
	text-transform: uppercase;
}

.kd-card-value {
	font-size: 13px;
	font-weight: 700;
	color: #222;
}

.kd-po-next-batch-note {
	margin-top: 10px;
	padding: 10px;
	background: #fff9eb;
	border-radius: 8px;
	font-size: 12px;
	color: #92400e;
	font-weight: 600;
	line-height: 1.4;
	border: 1px solid #fee2e2;
}

.kd-product {
	position: relative;
}

/* Mini Cart */
.button.wc-forward:not(.checkout) {
  display: none;
}

.woocommerce-mini-cart-item a:not(.remove) {
  display: block;
}

.cart-detail.off-canvas.right .woocommerce-mini-cart__total {
  font-size: 16px;
}

a.remove.remove_from_cart_button {
  padding: 2px 8px 4px;
  background-color: #a7aaad;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  color: #fff;
  top: 35%;
  align-content: center;
  text-align: center;
}

.cart-detail {
  max-width: 767px;
}

.cart-detail img {
  border-radius: 7px;
}

.cart-detail li .variation {
  display: flex;
  gap: 5px;
  font-size: 12px;
}

.cart-detail .woocommerce-mini-cart__buttons {
  margin: 0; 
}

.bricks-mini-cart-close {
  width: calc(100% - 60px);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 10px;
  margin-top: -60px;
  margin-left: 30px;
  position: static;
  background: #e9e9e9;
  border-radius: 7px;
  padding: 15px;
  color: #424242;
}

.bricks-mini-cart-close::after {
  content: "Lanjut Belanja";
  color: #616161;
}

.mini-cart-vendor-subtotals {
	padding: 10px 0;
	font-size: 13px;
}

.mini-cart-vendor-subtotals summary::-webkit-details-marker {
	display: none;
}

.mini-cart-vendor-subtotals details[open] .vsa-toggle {
	transform: rotate(180deg);
}

.mini-cart-vendor-subtotals .vsa-table tr+tr td {
	border-top: 1px dashed #e7eaf0;
}

@media (max-width: 478px) {
  .bricks-mini-cart-close {
    width: calc(100% - 30px);
    margin-left: 15px;
  }
}