.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button {
	background-color: #333 !important;
}
.woocommerce-shipping-totals {
		display: block !important;
    width: 100% !important;
}
.woocommerce-shipping-totals th,
.woocommerce-shipping-totals td {
    display: block !important;
    width: 100% !important;
		border: none !important;
}

.woocommerce ul#shipping_method {
	font-size: 18px;
	color: #007bff;
}

.woocommerce .star-rating span::before {
	color: #ffa300;
}

.cusrev-custom-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Kondisi belum ada review */
.cusrev-no-review .star-rating::before {
    color: #ffa300;
    /* warna outline */
}

.cusrev-no-review .star-rating span {
    display: none;
}

.real-stok .stock {
    padding: 1px 5px !important;
}
.out-of-stock {
    color: #db2b03 !important;
    text-transform: uppercase !important;
}
/* .stock-wrapper {
    color: #2a8b2a;
    font-weight: 600;
    margin-bottom: 10px;
} */

/* Kondisi ada review */
.cusrev-custom-count {
    font-size: 13px;
    color: #666;
}

/* WRAPPER */
.bc-thankyou-wrapper {
    margin: 30px auto;
    padding: 25px;
    background-color: #ff !important;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    font-family: "Inter", Arial, sans-serif;
}

/* TITLE */
.bc-thankyou-wrapper h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 5px;
}

/* STATUS BADGE */
.bc-status {
    display: inline-block;
    padding: 4px 10px;
    font-size: 13px;
    background-color: #ffd45c !important;
    color: #5a4400;
    border-radius: 6px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* DATE */
.bc-thankyou-wrapper > p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

/* HR */
.bc-thankyou-wrapper hr {
    margin: 20px 0;
}

/* PRODUK LIST */
.bc-product {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}
.bc-product .left {
    font-size: 15px;
    font-weight: 600;
}
.bc-product .right {
    font-size: 15px;
    font-weight: 700;
}

/* SUMMARY */
.bc-summary p {
    font-size: 15px;
    margin: 4px 0;
    display: flex;
    justify-content: space-between;
}
.bc-summary p strong {
    font-weight: 600;
}
.bc-summary p:last-child {
    font-size: 18px;
    font-weight: 700;
    margin-top: 10px;
}

/* BUTTON PRIMARY (Biru Besar) */
.bc-primary {
    display: inline-block;
    width: 100%;
    text-align: center;
    background-color: #1e88ff;
    color: #fff !important;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none !important;
    margin-top: 15px;
    transition: 0.2s;
}
.bc-primary:hover {
    background: #0d6fe6;
}

/* CANCEL LINK */
.bc-cancel {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    color: #c90000;
    font-weight: 600;
}

/* SHIPPING BOX */
.bc-shipping-box {
    background: #fafafa;
    border: 1px solid #e5e5e5;
    padding: 15px;
    border-radius: 8px;
}
.bc-shipping-box h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px;
}
.bc-shipping-box p {
    margin: 3px 0;
    color: #444;
    font-size: 14px;
}
body.woocommerce-order-received .woocommerce-order-overview {
    display: none !important;
}

.wc-buybox .qty-wrapper {
    margin-bottom: 10px;
}

.wc-dual-buttons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.wc-dual-buttons button {
    padding: 12px 25px;
    color: #fff;
    font-weight: bold;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    flex: 1;
}

/* Merah */
.btn-buy-now {
    background-color: #d9534f !important;
}
.btn-buy-now:hover {
    background-color: #c9302c !important;
}

/* Hijau */
.btn-add-cart {
    background-color: #5cb85c !important;
}
.btn-add-cart:hover {
    background-color: #4cae4c !important;
}

.woocommerce-Price-amount {font-weight: bold;}
.woocommerce-review-link {
	color:#888;
	font-size: 13px;
}

.review-box-container {
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 10px;
    background: #fff;
}

.review-summary {
    text-align: center;
    margin-bottom: 20px;
}

.review-summary .avg-rating {
    font-size: 50px;
    font-weight: bold;
}

.review-summary .stars {
    margin: 10px 0;
}

.review-summary .total-reviews {
    color: #666;
}

.review-breakdown .break-item {
    display: flex;
    align-items: center;
    margin: 6px 0;
}

.review-breakdown .star-label {
    width: 30px;
}

.review-breakdown .bar {
    flex: 1;
    height: 8px;
    background: #f0f0f0;
    margin: 0 10px;
    border-radius: 4px;
}

.review-breakdown .bar-fill {
    height: 8px;
    background: #f9a825;
    border-radius: 4px;
}

.review-breakdown .count {
    width: 40px;
    text-align: right;
}

.review-list .review-item {
    border-top: 1px solid #eee;
    padding: 15px 0;
}

.review-item .review-author {
    font-size: 14px;
    font-weight: bold;
}

.review-item .review-date {
    font-size: 12px;
    color: #888;
}

.review-stars {
    margin: 5px 0;
}

.review-content {
    margin-bottom: 10px;
    color: #444;
}

.review-images img {
    max-width: 100px;
    border-radius: 6px;
    margin-top: 10px;
}
.custom-product-card {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 8px;
    background: #fff;
    transition: 0.3s;
}

.custom-product-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.custom-product-card .product-img img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.custom-product-card .product-price {
    margin-top: 10px;
    color: #000;
}

.custom-product-card .product-title {
    font-size: 12px;
    color: #0e63c4;
    text-decoration: none;
    display: block;
    margin: 5px 0 10px;
}

.custom-product-card .product-rating {
    font-size: 14px;
    margin: 5px 0;
}

.custom-product-card .product-rating .star-rating {
    float: none !important;
    display: inline-block !important;
}

.custom-product-card .rating-count {
    font-size: 12px;
    color: #888;
    margin-left: 3px;
}

.custom-product-card .product-share {
    margin-top: 15px;
    color: #888;
    font-size: 14px;
    cursor: pointer;
}

.custom-product-card .product-share i {
    margin-right: 5px;
}
button[name="apply_coupon"], #place_order, .wp-element-button { background-color: #007bff !important}

#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
    background: rgb(0 204 255 / 14%) !important;
    border-radius: 5px;
}
.woocommerce-Price-amount {font-weight: normal !important;}
.woocommerce-order > p:nth-of-type(2) {
    display: none;
}
.bank-info-col {
    font-size: 12px !important;
}

/* SHIPPING */
.shipping-method-wrap {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.shipping-title {
    font-size: 14px !important;
    /* font-weight: normal !important; */
    color: #333 !important;
    margin-bottom: 5px;
}

.shipping-desc {
    font-size: 12px;
    color: #666;
}
.framed-Slider .bx-wrapper .bx-pager {
    padding-top: 0 !important;
    bottom: 10px !important;
}
.framed-Slider .bx-wrapper {margin: 0 auto !important;}
.framed-Slider .bx-wrapper .bx-pager.bx-default-pager button {background: rgba(0, 0, 0, 0.3) !important;}
.framed-Slider .bx-wrapper .bx-pager.bx-default-pager button.active {background: #1e3fae !important;}

.bc-product-card {
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    background: #fff;
    transition: 0.3s;
}
.bc-product-card:hover { transform: translateY(-3px); }

.bc-product-img { position: relative; text-align:center; background:#f9f9f9; }
.bc-product-img img { 
    width: 100%;
    max-height: 500px;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.bc-badge-new {
    position:absolute;
    top:12px;
    right:12px;
    background:#00c853;
    color:#fff;
    padding:4px 10px;
    font-size:12px;
    border-radius:4px;
    font-weight:bold;
}

.bc-product-info { padding:10px; }
.bc-price { font-size: 14px; margin-bottom:5px; }
.bc-title { color:#0073aa; font-size:12px; margin-bottom:8px; }

.bc-rating { font-size: 12px; display:flex; align-items:center; gap:4px; margin-bottom:10px; }
.bc-review-count { font-size:14px; color:#666; }


.bc-btn {
    font-size: 12px;
    background:#007bff;
    color:#fff;
    padding: 5px 15px;
}
.bc-btn:hover { background:#005ce6; }

.bc-btn-share {text-align: left !important; font-size: 12px; color:#9ca3af;}
.bc-btn-share:hover {color:#4b5563;}

/* Desktop: 2 kolom */
.form-row-first, .form-row-last {
    width: 48%;
    float: left;
}

/* RESPONSIVE */    
@media only screen and (max-width: 768px) {
    .form-row-first, .form-row-last {
        width: 100%;
        float: none;
    }

    .woocommerce-shipping-totals {
        min-width: 400px !important;
    }

	.framed-shop .fl-post-column, .bc-product-info {padding: 6px !important;}
    /* 	.bc-price {font-size: 15px !important;}
	.bc-title {font-size: 14px !important;}
	.bc-btn {font-size: 12px !important;} */

    .framed-Slider .fl-slide-content {
        position: absolute;
        top: 0;
        left: 0;
        padding: 10px !important;
        width: 100% !important;
        height: 100% !important;
    }
    .framed-button .fl-button-group-button,
    .framed-button .fl-button-wrap,
    .framed-button .fl-button-group-button a {
        width: 100% !important;
    }
    .bc-btn {
        text-align: center;
        padding: 5px !important;
    }
    .bc-btn-share {text-align: left;}
    .bc-product-info { padding:8px; }
}

/* Custom BACS Instructions Styling */
.bc-custom-instructions {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.bc-custom-instructions .bc-bank-description {
    margin-bottom: 15px;
    font-size: 14px;
    color: #6c757d;
}

.bc-custom-instructions .bc-bank-instructions-text {
    font-size: 14px;
    line-height: 1.6;
}

.bc-custom-instructions p {
    margin-bottom: 10px;
}

.bc-custom-instructions p:last-child {
    margin-bottom: 0;
}