/* 🔒 Hide price below product title */
.woocommerce .product-name .amount {
    display: none !important;
}

/* 🔒 Hide quantity box in cart */
.woocommerce-cart .quantity,
.woocommerce .quantity input.qty,
.woocommerce .cart .quantity {
    display: none !important;
}

/* 🧼 Clean cart item layout */
.woocommerce table.shop_table td.product-name {
    font-size: 16px;
    line-height: 1.5;
}

.woocommerce table.shop_table td.product-name dl.variation {
    margin: 8px 0;
    padding-left: 10px;
    border-left: 2px solid #ffc529;
    font-size: 15px;
}

.woocommerce table.shop_table td.product-name dl.variation dt {
    font-weight: bold;
    margin-bottom: 4px;
}

.woocommerce table.shop_table td.product-name dl.variation dd {
    margin: 0 0 8px 0;
}

/* 💰 Emphasize total per item */
.woocommerce table.shop_table td.product-name dl.variation dd:has(> strong),
.woocommerce table.shop_table td.product-name .woocommerce-Price-amount {
    font-weight: bold;
    color: #000;
}

/* 🪄 Tidy up cart totals box */
.woocommerce-cart .cart_totals {
    background: #fff9e6;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #ffc529;
}

.woocommerce-cart .cart_totals h2 {
    font-size: 22px;
    margin-bottom: 16px;
    font-weight: bold;
}

.woocommerce-cart .cart_totals table {
    font-size: 16px;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background: #ffc529 !important;
    color: black !important;
    font-weight: bold;
    border-radius: 8px;
}


/* Hide price below product name in cart */
.woocommerce-cart td.product-price,
.woocommerce-cart td.product-subtotal,
.woocommerce td.product-price {
    display: none !important;
}

/* Hide quantity selector in cart */
.woocommerce .quantity,
.woocommerce-cart .quantity,
.woocommerce .cart .quantity {
    display: none !important;
}

/*==============================
💡 CUSTOM CART UI — DurianBB
================================ 
*/

/* ✅ Custom Cart UI Styles */
.custom-cart-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.custom-cart-items {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-item-box {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.25rem;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.cart-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.product-image img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.product-title {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
}

.remove-item {
  color: #c00;
  text-decoration: none;
  font-size: 0.9rem;
}

.ticket-details {
  padding-left: 0.5rem;
  font-size: 0.95rem;
  color: #333;
}

.ticket-details div {
  margin-bottom: 4px;
}

.item-total {
  font-weight: bold;
  margin-top: 0.75rem;
  font-size: 1rem;
}

.custom-cart-summary {
  flex: 1;
  min-width: 300px;
}

.cart-summary-box {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1.25rem;
  background: #fafafa;
}

.cart-summary-box h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.cart-totals {
  width: 100%;
  font-size: 1rem;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.cart-totals td {
  padding: 6px 0;
}

.checkout-btn {
  display: block;
  background: #111;
  color: #fff;
  text-align: center;
  padding: 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 768px) {
  .custom-cart-wrapper {
    flex-direction: column;
  }
}

/* Hide title + default price only for Product ID 2045 */
.postid-2045 .product_title.entry-title,
.postid-2045 .summary .price {
    display: none !important;
}

/* Hide related products on all single product pages */
.related.products {
    display: none !important;
}

/* Hide default WC Add to Cart button for product 2201 and 2295 */
.single-product.postid-2201 button.single_add_to_cart_button[name="add-to-cart"][value="2201"],
.single-product.postid-2295 button.single_add_to_cart_button[name="add-to-cart"][value="2295"] {
    display: none !important;
}

/* Hide promo banners on both product pages */
.postid-2201 .promo-banner,
.postid-2295 .promo-banner {
    display: none !important;
}

/* Hide product title on both product pages */
.postid-2201 .product_title.entry-title,
.postid-2295 .product_title.entry-title {
    display: none !important;
}

/* Hide Jetpack related posts on both product pages */
.postid-2201 #jp-relatedposts,
.postid-2295 #jp-relatedposts {
    display: none !important;
    visibility: hidden !important;
}

/* Icon styling (global, unchanged) */
.icon-approve,
.icon-reject,
.icon-delete,
.icon-resend {
    display: block;
    width: 20px;
    height: 20px;
    fill: currentColor; /* makes SVG inherit text color */
}

/* Hover styles for admin/action links */
a[title="Approve"]:hover { background:#218838 !important; }
a[title="Reject"]:hover { background:#e65100 !important; }
a[title="Resend Ticket"]:hover { background:#1976d2 !important; }
a[title="Move to Deleted"]:hover,
a[title="Remove Permanently"]:hover { background:#b71c1c !important; }

/* Hide zoom icon */
.woocommerce-product-gallery__trigger {
	display: none !important;
}

/* Disable zoom interaction */
.woocommerce-product-gallery__image img {
	pointer-events: none !important;
	cursor: default !important;
}

/* Hide zoom overlay image */
.zoomImg {
	display: none !important;
}

