body.woocommerce-checkout td.product-name dl.variation p {
    margin-bottom: 1rem !important;
}



/* General Styles */
.wapf-wrapper {
    display: flex;
}

.wapf-text-fields, .wapf-true-false-fields {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Align labels next to fields */
.wapf-field-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wapf-field-label {
    min-width: 150px; /* Adjust width as needed */
    font-weight: bold;
}

.wapf-field-input input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    flex: 1; /* Take up remaining space */
}

/* Modern Checkbox Styling */
.wapf-checkbox input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #007BFF;
    border-radius: 3px;
    display: inline-block;
    position: relative;
    cursor: pointer;
}


.wapf-product-totals .wapf--inner>div {
    max-width: 300px;
}
/* Remove dot underline from required fields */
abbr.required {
    text-decoration: none; /* Removes the dotted underline */
    border: none; /* Ensures no border styles are applied */
    font-size: inherit; /* Matches the surrounding text size */
    color: #d9534f; /* Optional: Red color for the star */
}
.woocommerce div.product form.cart .button {
    min-width: 100px;
}

.custom-product-page {
    max-width: 100%; /* Keeps it within the container's width */
    width: auto; /* Prevents it from spanning beyond content */
    margin: 0 auto; /* Centers the div within the parent */
    padding: 0 15px; /* Adds padding to align with the margins */
    box-sizing: border-box; /* Ensures padding is included in width calculations */
}
@media (max-width: 768px) {
    .custom-product-page {
        padding: 0 10px; /* Adjust padding for smaller screens */
        margin: 0 auto; /* Re-apply centering for narrow viewports */
    }
}

/* Custom styling for true/false fields */
.wapf-true-false-fields .wapf-field-container {
    display: flex;
    align-items: center; /* Align checkbox and label vertically */
    gap: 10px; /* Space between checkbox and label */
}

/* Ensure the checkbox is aligned left and label is to the right */
.wapf-true-false-fields .wapf-field-container input[type="checkbox"] {
    margin-right: 10px; /* Space between checkbox and label */
    order: -1; /* This ensures the checkbox appears before the label */
    flex-shrink: 0; /* Prevent checkbox from shrinking */
}

/* Keep labels with checkboxes in the same row */
.wapf-true-false-fields .wapf-field-container label {
    display: inline-block;
    white-space: nowrap; /* Prevent label from wrapping */
}

/* Optional: Style the checkbox */
.wapf-checkbox input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #007BFF;
    border-radius: 3px;
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.wapf-checkbox input[type="checkbox"]:checked::before {
    content: '✔';
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wapf input[type=text], .wapf input[type=email] {
    min-width: 250px;
}

/* Container for the entire form */
.wapf-wrapper {
  display: flex;
  flex-wrap: wrap;
}

/* Container for text fields (left side) */
.wapf-text-fields {
  flex: 1;
  margin-right: 20px; /* Space between the text fields and checkboxes */
  max-width: 450px;
}

/* Container for true/false fields (right side) */
.wapf-true-false-fields {
  flex: 1;
  max-width: 200px;
}

/* Align checkboxes and labels */
.wapf-field-container.wapf-field-true-false {
  display: flex;
  align-items: center;
  flex-direction: row-reverse !important;
}

.wapf-checkbox {
  display: flex;
  align-items: center;
  margin-left: 10px; /* Space between checkbox and label */
}

.wapf-input-label {
  display: flex;
  align-items: center;
}

.wapf-input {
  margin-left: 5px;
}

/* Adjust the container to place the input before the label */
.wapf-field-container .wapf-field-label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.wapf-field-container .wapf-field-input {
    display: flex;
    flex-direction: row-reverse !important;  /* This will move the input to the left of the label */
    align-items: center;
}

.wapf-field-container .wapf-checkbox input[type="checkbox"] {
    order: -1 !important;  /* Ensures the input is placed before the label */
}

.wapf-field-label label {
    margin-bottom: 0px;
}

.wapf-field-container {
    padding: 0 5px 5px 5px !important; 
}






/* Enhanced cart badge */
.NGMC-cart .cart-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 6px 12px;
    background-color: #4CAF50; /* A fresh, modern green color */
    color: #fff; /* White text for contrast */
    font-size: 14px; /* Slightly larger font size */
    font-weight: bold;
    border-radius: 18px; /* Larger, more rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Slightly stronger shadow */
    line-height: 1.2;
    vertical-align: middle;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transition for hover effects */
}

/* Hover effect */
.NGMC-cart .cart-badge:hover {
    background-color: #45a049; /* A darker shade of green for hover */
    transform: translateY(-2px); /* Slight lift on hover */
}

.product-quantity {
    display: none;
}
.woocommerce table.shop_table td {
    line-height: 0.5em !important;
}

.woocommerce form .form-row {
    margin-top: 1px !important;
    margin-bottom: 1px !important;
}

.woocommerce-page .input-text {
    padding: .4rem 1.1rem;
}

.woocommerce-page label {
    margin-bottom: 2px;
}

.product-meta-label {
    min-width: 100px;
}

.product-meta-row {
    margin-bottom: -5px;
}

.wc-block-components-notice-banner__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.wc-block-components-notice-banner__content p {
    margin: 0;
    flex-grow: 1;
}
.ngmc-wc-forward {
    background-color: #38a169; /* WooCommerce green */
    color: white !important;
    text-decoration: none;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    text-transform: uppercase;
    margin-left: 10px;
}
.ngmc-wc-forward:hover {
    background-color: #2f855a; /* Darker green */
}
@media (max-width: 768px) {
    .wc-block-components-notice-banner__content {
        flex-direction: column;
        gap: 10px;
    }
    .ngmc-wc-forward {
        width: 100%;
        text-align: center;
    }
}

.woocommerce table.shop_table td.product-name {
    line-height: 0.9em !important;
    font-weight: bold;
    font-family: 'Open Sans';
    color: #1564af;
    font-size: 16px;
}

.woocommerce td.product-name dl.variation {
    line-height: 0.5em !important;
    font-size: 14px !important;
    color:#333;
}

.woocommerce td.product-name dl.variation dd p {
    font-weight: 400 !important;
}

.woocommerce-page table.shop_table th.product-name {
    min-width: 800px !important;
}

.wc-block-cart-items .wc-block-cart-items__header tr {
    border-bottom: 2px solid #333 !important; /* Darker line color */
}

.wc-block-cart-item__image a{
    display: none;
}
/* 
.wc-block-cart-items__header-image span, td .wc-block-cart-item__image{
    max-width: 1px;
} */

table .wc-block-cart-items th .wc-block-cart-items__header-image {
    max-width: 1px !important;
}

/* Target the image column and reduce its width */
.wc-block-cart-item__image {
    width: 20px; /* Adjust to your preferred size */
    height: auto; /* Ensure the height is proportional */
}

/* Optionally, hide the image column if you want */
.wc-block-cart-item__image,.wc-block-cart-items__header-product {
    display: none;
}
.wc-block-cart-item__wrap {
    min-width: 300px;
    }

a.wc-block-components-product-name {
    color: #1564af !important;
    font-family: 'Open Sans';
    font-weight: bold;
    font-size: 16px;
}

.wc-block-cart-item__product .wc-block-cart-item__wrap .wc-block-cart-item__prices, .wc-block-components-sale-badge {
    display: none !important;
}

.wc-block-components-product-metadata__description p {
    font-size: 16px;
}

.woocommerce-page form .form-row .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0.3em;    
}

.woocommerce-page form .form-row input.input-text { 
    padding: 0.3em;
}

/* .woocommerce-page form .form-row label {
    font-size: 16px;
    margin-bottom: 0.2em;
} */