/* Hide category page title and remove surrounding white space */
.archive .page-hero-section,
.archive .page-header,
.archive .entry-title,
.archive .page-title-section {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  visibility: hidden;
}

.archive .content-area {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
#mobile-drawer .kadence-menu li a {
    justify-content: center;
    text-align: center;
}

/* Add internal padding to the cart page elements for better spacing */

/* Targets the main cart items table */
.woocommerce-cart-form {
    padding-left: 15px !important; 
    padding-right: 15px !important;
}

/* Targets the cart totals and payment section */
.cart-collaterals {
    padding-left: 15px !important; 
    padding-right: 15px !important;
}

/* Targets the overall container for extra safety */
.woocommerce-cart .entry-content {
    padding-left: 15px !important; 
    padding-right: 15px !important;
}

/* Optional: You can try increasing the pixel value (e.g., 20px or 30px) if 15px is too subtle. */

/* Alternative CSS to target the main form sections, usually effective */

/* Adds space above and below the entire 'Shipping options' box */
.shipping_address + .shipping_options {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Adds space inside the list items themselves */
#shipping_method li {
    padding: 10px 0; /* 10px top/bottom padding, 0 left/right */
    margin-bottom: 5px; /* Adds space between options */
}

/* Custom CSS to add padding to the left and right sides of the main checkout content area */
.woocommerce-checkout .woocommerce-form-row {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Fallback: Targeting the overall form wrap */
.woocommerce-checkout form {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Custom CSS to right-align the price in the entire Order Summary Table */

/* Targets the price column for all totals (subtotal, shipping, tax, total) */
.woocommerce-checkout-review-order-table td.product-total {
    text-align: right !important;
}

/* Specific rule for the shipping row to ensure the price is in the second column */
.woocommerce-checkout-review-order-table tr.shipping td:last-child {
    text-align: right !important;
}

/* 1. ONLY target links inside an image caption */
figcaption a, 
.wp-block-image figcaption a,
.kadence-advanced-image figcaption a {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* 2. Ensure those caption links stay white even after clicking */
figcaption a:visited,
figcaption a:hover {
    color: #ffffff !important;
}

/* 3. DO NOT affect any other links on the site */
/* (This empty space ensures the code stays contained to captions) */