/* Custom Variation Boxes Styling - iHerb Style */
.custom-variation-boxes {
    margin: 20px 0;
    font-family: inherit;
}

.variation-label {
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.variation-box-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variation-box {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    min-width: 80px;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.variation-box:hover {
    border-color: #0073aa;
    color: #0073aa;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 115, 170, 0.15);
}

.variation-box.active {
    border-color: #0073aa;
    background: #0073aa;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
}

.variation-box.active:after {
    content: '✓';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: #4caf50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .variation-box {
        padding: 10px 16px;
        font-size: 13px;
        min-width: 70px;
    }

    .variation-box-wrapper {
        gap: 6px;
    }
}

/* Special styling for different attribute types */
.custom-variation-boxes[data-attribute*='color'] .variation-box,
.custom-variation-boxes[data-attribute*='colour'] .variation-box {
    min-width: 100px;
}

.custom-variation-boxes[data-attribute*='size'] .variation-box {
    min-width: 60px;
    font-weight: 600;
}

.custom-variation-boxes[data-attribute*='flavor'] .variation-box,
.custom-variation-boxes[data-attribute*='flavour'] .variation-box {
    min-width: 120px;
    position: relative;
}

/* Hide original variation elements but keep them functional */
.variations {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Ensure reset button is still visible if needed */
.reset_variations {
    display: inline-block !important;
    margin-top: 10px;
    font-size: 12px;
    color: #666;
    text-decoration: underline;
    cursor: pointer;
}

.reset_variations:hover {
    color: #0073aa;
}

/* Style for disabled/unavailable variations */
.variation-box.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
    border-color: #ddd;
}

.variation-box.disabled:hover {
    transform: none;
    border-color: #ddd;
    color: #999;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* Hide woobt bundle summary pricing */
.woobt-summary {
    display: none !important;
}

/* Hide original product page price */
.product-page-price {
    display: none !important;
}

/* Hide variation labels */
.variation-label {
    display: none !important;
}

/* Hide woobt additional and total price displays */
.woobt-additional,
.woobt-total {
    display: none !important;
}

/* Style the variation price display */
.woocommerce-variation-price {
    border-top: none !important;
    font-size: 1.4em !important;
}

/* Hide duplicate price containers that might be created outside of .woocommerce-variation */
.single_variation_wrap > .woocommerce-variation-price {
    display: none !important;
}

/* Ensure only one price is shown */
.woocommerce-variation .woocommerce-variation-price {
    display: block !important;
}

/* Hide WooCommerce elements that should not appear in main form area */
.product-variations .quantity,
.product-variations .single_add_to_cart_button,
.product-variations form.cart .quantity,
.product-variations form.cart .single_add_to_cart_button,
.variations_form .quantity,
.variations_form .single_add_to_cart_button {
    display: none !important;
}

/* Hide any stray quantity selectors and buttons in the main content */
.entry-summary .quantity:not(.quantity-selector .quantity),
.entry-summary .single_add_to_cart_button:not(#custom-add-to-cart),
.product-summary .quantity:not(.quantity-selector .quantity),
.product-summary .single_add_to_cart_button:not(#custom-add-to-cart) {
    display: none !important;
}

/* Product Layout Restructure */
.product-main-info {
    padding-right: 20px;
}

.product-brand {
    margin: 10px 0;
}

.brand-label {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

/* WhatsApp Contact Card */
.whatsapp-contact-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.whatsapp-contact-card h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
}

.whatsapp-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #4caf50;
    color: white !important;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.whatsapp-contact-btn:hover {
    background: #128c7e;
    /* Darker WhatsApp green */
}

/* Product Separator */
.product-separator {
    margin: 30px 0;
    border: none;
    border-top: 1px solid #e9ecef;
}

/* Addon Options Section */
.addon-options-section {
    margin-top: 20px;
}

.addon-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

/* Pricing Sidebar */
.product-pricing-sidebar {
    padding-left: 20px;
}

.pricing-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 20px;
}

.membership-price-section {
    background: #f8f9fa;
    color: #333;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
    border: 1px solid #e9ecef;
}

/* Green styling for members - they pay the membership price */
body.logged-in .membership-price-section {
    background: #0db25e24;
    border: 1px solid #12b361;
}

.membership-price-section .price-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.membership-price-container {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.membership-discount {
    background: #4caf50;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}

.membership-price {
    font-size: 28px;
    font-weight: bold;
    margin: 10px 0;
}

.membership-note {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.regular-price-section {
    margin-bottom: 20px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.regular-price-section .price-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.regular-price {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 10px 0;
}

.stock-status {
    color: #4caf50;
    font-size: 14px;
    font-weight: 500;
    margin: 5px 0;
}

.delivery-info {
    color: #666;
    font-size: 13px;
    margin-bottom: 15px;
}

.quantity-cart-section {
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
}

.quantity-selector {
    margin-bottom: 15px;
}

/* Fix quantity selector layout */
.quantity-selector .ux-quantity {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    overflow: hidden;
    background: white;
}

.quantity-selector .ux-quantity__button {
    flex: 0 0 40px;
    height: 40px;
    border: none !important;
    background: #f8f9fa !important;
    color: #333 !important;
    font-size: 18px !important;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0 !important;
}

.quantity-selector .ux-quantity__button:hover {
    background: #e9ecef !important;
}

.quantity-selector .ux-quantity__button--minus {
    order: 1;
}

.quantity-selector .ux-quantity__button--plus {
    order: 3;
}

.quantity-selector .qty {
    order: 2;
    flex: 1;
    text-align: center !important;
    border: none !important;
    background: white !important;
    height: 40px;
    font-size: 16px;
    font-weight: 500;
    margin: 0 !important;
    padding: 0 10px !important;
}

#custom-add-to-cart {
    width: 100%;
    background: #7b68ee;
    border: none;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#custom-add-to-cart:hover {
    background: #6a5acd;
    transform: translateY(-1px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .product-main-info,
    .product-pricing-sidebar {
        padding: 0;
        margin-bottom: 20px;
    }

    .pricing-card {
        position: relative;
        top: auto;
    }

    .membership-price {
        font-size: 24px;
    }

    .regular-price {
        font-size: 20px;
    }
}

/* Hide original WooCommerce elements that we've restructured */
.product-variations
    .variations_form
    .single_variation_wrap
    .woocommerce-variation-add-to-cart {
    display: none !important;
}

.product-variations .woocommerce-variation-add-to-cart .quantity,
.product-variations
    .woocommerce-variation-add-to-cart
    .single_add_to_cart_button {
    display: none !important;
}

/* Hide the old variation price display completely */
.product-variations .single_variation_wrap {
    display: none !important;
}

.product-variations .woocommerce-variation {
    display: none !important;
}

.product-variations .woocommerce-variation-price {
    display: none !important;
}

/* Move woobt content to our designated area */
.woobt-wrap {
    /* Will be moved by JavaScript */
}

/* AJAX Add to Cart Button States */
#custom-add-to-cart.loading {
    background: #999 !important;
    color: white !important;
    cursor: wait !important;
    opacity: 0.8;
    position: relative;
}

#custom-add-to-cart.added {
    background: #4caf50 !important;
    color: white !important;
    border-color: #4caf50 !important;
}

#custom-add-to-cart.error {
    background: #f44336 !important;
    color: white !important;
    border-color: #f44336 !important;
}

/* Styling for N/A price state */
.no-price {
    color: #999;
    font-style: italic;
    font-size: 18px;
}

#custom-add-to-cart:disabled,
#custom-add-to-cart.disabled {
    background: #ccc !important;
    color: #666 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Loading animation for button */
#custom-add-to-cart.loading:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 15px;
    margin-top: -8px;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Active Price Indicators */
.membership-price-section.active-price,
.regular-price-section.active-price {
    border: 2px solid #4caf50 !important;
    background: rgba(76, 175, 80, 0.08) !important;
    position: relative;
}

.membership-price-section.active-price::before,
.regular-price-section.active-price::before {
    content: '會員價格';
    position: absolute;
    top: -12px;
    left: 15px;
    background: #4caf50;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* Tooltip styles */
.tooltip-trigger {
    color: #4caf50;
    font-size: 16px;
    margin-left: 5px;
    cursor: pointer;
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.tooltip-text {
    visibility: hidden;
    position: absolute;
    width: max-content;
    max-width: 220px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.4;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    white-space: nowrap;
    z-index: 1000;
}

.tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.tooltip-trigger:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.price-label {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Registration Badge Styles */
.registration-badge-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.registration-badge {
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: white;
    padding: 7px 21px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(76, 175, 80, 0.3);
    animation: gentlePulse 2s ease-in-out infinite;
    margin-left: 8px;
}

@keyframes gentlePulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 2px 6px rgba(76, 175, 80, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
    }
}

.registration-badge.hidden {
    display: none;
}

.has-border {
    border-radius: 30px !important;
    box-shadow: 1px 1px 5px 2px #b7b7b7 !important;
}

/* Checkout Account Option in Main Column */
.checkout-account-option {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.checkout-account-option:hover {
    border-color: #4caf50;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.1);
}

.checkout-account-option label {
    display: flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.checkout-account-option input[type='checkbox'] {
    margin-right: 10px;
    transform: scale(1.1);
}

.checkout-account-option .option-description {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
    line-height: 1.4;
    padding-left: 25px;
}

.checkout-account-option.active {
    border-color: #4caf50;
    background: rgba(76, 175, 80, 0.05);
}

.checkout-account-option.active label {
    color: #4caf50;
    font-weight: 600;
}

/* Checkout Layout */
.checkout-sidebar {
    position: sticky;
    top: 150px;
}

/* Hide default checkout options that are now in main column */
.woocommerce-checkout .create-account,
.woocommerce-checkout .woocommerce-account-fields,
.woocommerce-checkout .woocommerce-billing-fields #createaccount,
.woocommerce-checkout .woocommerce-billing-fields label[for='createaccount'] {
    display: none !important;
}

/* Ensure our custom checkout option is visible */
.checkout-account-option {
    display: block !important;
}

/* Shop Header Bar Sorting */
.sort-dropdown-container {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.sort-dropdown-container .flex-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.sort-dropdown-container .woocommerce-result-count {
    font-size: 12px;
    color: #666;
    margin: 0;
    padding: 0;
    text-align: center;
}

.sort-dropdown-container .woocommerce-result-count.hide-for-medium {
    display: block !important;
}

.sort-dropdown-container .woocommerce-ordering {
    margin: 0;
}

.sort-dropdown-container .woocommerce-ordering select {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    background: white;
    color: #333;
    min-width: 180px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-dropdown-container .woocommerce-ordering select:hover {
    border-color: #0073aa;
}

.sort-dropdown-container .woocommerce-ordering select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

/* Shop Header Bar Layout */
.shop-header-bar-inside {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.category-filtering-contain {
    flex: 0 0 auto;
}

.sort-dropdown-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.view-mode-switcher {
    flex: 0 0 auto;
}

/* Mobile responsiveness for header bar */
@media (max-width: 768px) {
    .shop-header-bar-inside {
        flex-wrap: wrap;
        gap: 10px;
    }

    .sort-dropdown-container {
        order: 3;
        flex: 1 1 100%;
        justify-content: flex-start;
        margin-right: 0;
        margin-top: 10px;
    }

    .sort-dropdown-container .flex-col {
        width: 100%;
        align-items: stretch;
    }

    .sort-dropdown-container .woocommerce-result-count {
        text-align: left;
        font-size: 11px;
        margin-bottom: 5px;
    }

    .sort-dropdown-container .woocommerce-ordering select {
        width: 100%;
        min-width: auto;
    }

    .category-filtering-contain {
        order: 1;
    }

    .view-mode-switcher {
        order: 2;
    }
}

@media (max-width: 480px) {
    .sort-dropdown-container .woocommerce-ordering select {
        padding: 6px 10px;
        font-size: 13px;
    }

    .sort-dropdown-container .woocommerce-result-count {
        font-size: 10px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .checkout-sidebar-options {
        margin: 10px 0;
        padding: 15px;
    }

    .sidebar-option {
        padding: 10px;
    }

    .checkout-sidebar {
        position: relative;
        top: auto;
    }
}

/* Health Survey Styles */
.survey-page {
    padding: 40px 0;
    background: white;
    min-height: 100vh;
}

.survey-header {
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.survey-title {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.survey-subtitle {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.survey-progress {
    max-width: 400px;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #ecf0f1;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0cb15d, #10d16a);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.progress-text {
    color: #34495e;
    font-weight: 600;
}

.survey-form {
    max-width: 800px;
    margin: 0 auto;
}

.question-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.question-card.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.question-card h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 600;
    line-height: 1.4;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-label {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border: 2px solid #ecf0f1;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: #fafbfc;
}

.option-label:hover {
    border-color: #0cb15d;
    background: #f8fff9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(12, 177, 93, 0.15);
}

.option-label input[type='radio'],
.option-label input[type='checkbox'] {
    margin-right: 15px;
    margin-bottom: 0px;
    transform: scale(1.2);
    accent-color: #0cb15d;
}

.option-label input:checked + .option-text {
    color: #0a9b50;
    font-weight: 600;
}

.option-label:has(input:checked) {
    border-color: #0cb15d;
    background: linear-gradient(135deg, #e8f5e8 0%, #f8fff9 100%);
    box-shadow: 0 4px 12px rgba(12, 177, 93, 0.2);
}

.option-text {
    font-size: 1rem;
    color: #34495e;
    line-height: 1.4;
}

.email-input {
    margin-top: 20px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.survey-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.nav-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-btn {
    background: #95a5a6;
    color: white;
}

.prev-btn:not(:disabled):hover {
    background: #7f8c8d;
    transform: translateY(-2px);
}

.prev-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.next-btn,
.submit-btn {
    background: linear-gradient(135deg, #0cb15d, #10d16a);
    color: white;
}

.next-btn:hover,
.submit-btn:hover {
    background: linear-gradient(135deg, #0a9b50, #0cb15d);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(12, 177, 93, 0.3);
}

.survey-results {
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.results-header {
    text-align: center;
    margin-bottom: 40px;
}

.results-header h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 15px;
}

.health-scores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.score-card {
    text-align: center;
    padding: 25px;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.score-card.high-risk {
    border-color: #e74c3c;
    background: linear-gradient(135deg, #ffeaea 0%, #ffe0e0 100%);
}

.score-card.medium-risk {
    border-color: #f39c12;
    background: linear-gradient(135deg, #fff8e1 0%, #ffe0b2 100%);
}

.score-card.low-risk {
    border-color: #27ae60;
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
}

.score-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.score-card h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.score-value {
    font-size: 2rem;
    font-weight: 700;
    color: #0cb15d;
    margin-bottom: 5px;
}

.score-level {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 15px;
    display: inline-block;
}

.score-level.maintain {
    background: #d4edda;
    color: #155724;
}

.score-level.strengthen {
    background: #fff3cd;
    color: #856404;
}

.score-level.urgent {
    background: #f8d7da;
    color: #721c24;
}

.product-recommendations h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.recommended-product {
    border: 1px solid #ecf0f1;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.recommended-product:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.recommended-product img {
    max-width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.recommended-product h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.recommended-product .price {
    color: #e74c3c;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.recommended-product .add-to-cart {
    background: #0cb15d;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.recommended-product .add-to-cart:hover {
    background: #0a9b50;
}

.disclaimer {
    margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #0cb15d;
}

.disclaimer h4 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.disclaimer p,
.disclaimer li {
    color: #5a6c7d;
    line-height: 1.6;
}

.disclaimer ul {
    margin: 15px 0;
    padding-left: 20px;
}

/* Mobile Responsive for Survey */
@media (max-width: 768px) {
    .survey-title {
        font-size: 2rem;
    }

    .question-card {
        padding: 25px;
        margin-bottom: 15px;
    }

    .question-card h3 {
        font-size: 1.2rem;
    }

    .option-label {
        padding: 12px 15px;
    }

    .health-scores {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .survey-navigation {
        flex-direction: column;
        gap: 15px;
    }

    .nav-btn {
        width: 100%;
        padding: 15px;
    }
}

/* NutriHealth Navigation Menu Styles */
.menu-item.has-dropdown {
    position: relative;
}

.nav-top-link:hover {
    color: #0cb15d !important;
    text-decoration: none;
}

/* Dropdown Menu */
.menu-item.has-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.menu-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f5f5f5;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: #0cb15d;
    color: white;
    text-decoration: none;
}

/* Adjust dropdown position for right-aligned items */
.menu-item.has-dropdown:nth-last-child(-n + 3) .dropdown-menu {
    right: 0;
    left: auto;
}

/* Hover effects for better UX */
.menu-item.has-dropdown::after {
    content: '▼';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #999;
    transition: transform 0.3s ease;
}

.menu-item.has-dropdown:hover::after {
    transform: translateY(-50%) rotate(180deg);
    color: #0cb15d;
}

/* End NutriHealth Navigation Menu Styles */

/* Product Category Icons Shortcode */
.category-icons-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    margin: 40px 0;
}

.category-icon-item a {
    text-decoration: none;
    color: #333;
    display: inline-block;
    transition: transform 0.3s ease;
}

.category-icon-item a:hover {
    transform: translateY(-5px);
}

.category-icon-item img {
    width: 250px;
    height: 250px;
    object-fit: contain;
    margin-bottom: 15px;
}

.category-icon-item p {
    font-weight: 500;
    font-size: 1rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .category-icons-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .category-icon-item img {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 768px) {
    .category-icons-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 25px;
        margin: 30px 0;
    }

    .category-icon-item {
        width: 100%;
    }

    .category-icon-item img {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .category-icons-container {
        gap: 20px;
    }

    .category-icon-item img {
        width: 150px;
        height: 150px;
    }

    .category-icon-item p {
        font-size: 0.9rem;
    }
}

/* End Product Category Icons Shortcode */

/* Volume Pricing and Membership Pricing Enhancements */
.checkout-note {
    font-size: 12px;
    color: #666;
    font-weight: normal;
    margin-left: 5px;
}

.membership-price-container .checkout-note {
    display: block;
    margin-top: 2px;
    margin-left: 0;
}

/* Volume pricing hover effects */
.volume-option {
    cursor: pointer;
    user-select: none;
}

.volume-option td {
    font-size: 1.1em;
}

.volume-pricing-section {
    margin: 20px 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
}

.volume-pricing-table h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

/* Two column grid layout */
.volume-pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.volume-column {
    flex: 1;
}

.volume-prices {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.volume-prices td:first-child,
th:first-child {
    padding-left: 12px;
}

.volume-prices th {
    background: #f8f8f8;
    border-bottom: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
    font-weight: bold;
    color: #333;
    font-size: 12px;
}

.volume-prices td {
    border-bottom: 1px solid #eee;
    padding: 12px 15px;
    vertical-align: top;
}

.volume-prices tr:last-child td {
    border-bottom: none;
}

.volume-prices tr.volume-option {
    cursor: pointer;
    transition: all 0.3s ease;
}

.volume-prices tr.volume-option:hover {
    background: #f5f5f5;
}

.volume-prices tr.volume-option.selected {
    background: #f0f8f0;
    border-left: 3px solid #4caf50;
}

/* Price row layout - puts savings on same line */
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.total-price {
    font-weight: bold;
    font-size: 19px;
    color: #333;
    flex: 1;
}

.avg-price-bracket {
    font-size: 13px;
    color: #666;
    font-weight: normal;
}

.savings-amount {
    padding-right: 13px;
    font-size: 15px;
    color: #e74c3c;
    font-weight: bold;
    white-space: nowrap;
}

@media (max-width: 768px) {
    /* Hide addon options section on mobile (only show in modal) */
    .addon-options-section {
        display: none !important;
    }

    /* But keep it visible in the mobile modal */
    .mobile-options-panel .addon-options-section {
        display: block !important;
    }

    /* Stack columns on mobile */
    .volume-pricing-grid {
        grid-template-columns: 1fr;
        gap: 0;
        /* Remove gap to connect tables */
    }

    /* Connect the two tables visually */
    .volume-pricing-grid .volume-column:first-child .volume-prices {
        border-bottom: none;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .volume-pricing-grid .volume-column:last-child .volume-prices {
        border-top: none;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    /* Hide the header of the second table */
    .volume-pricing-grid .volume-column:last-child .volume-prices thead,
    .volume-pricing-grid .volume-column:last-child .volume-prices th {
        display: none;
    }

    .volume-prices th,
    .volume-prices td {
        padding: 10px 12px;
        font-size: 17px;
    }

    .total-price {
        font-size: 20px;
    }

    .avg-price-bracket {
        font-size: 18px;
    }

    .savings-amount {
        font-size: 17px;
    }

    .price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

.volume-option:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.25);
}

.volume-option.selected {
    transform: translateY(-1px);
}

/* Enhanced membership discount styling */
.membership-discount {
    font-size: 12px;
    font-weight: bold;
    color: #e74c3c;
    background: #fff5f5;
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
}

/* Hide membership section for logged in users */
body.logged-in .membership-price-section {
    display: none !important;
}

/* Mobile Options Panel Enhancements */
.mobile-options-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 9999;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.mobile-options-panel.active {
    transform: translateY(0);
}

.mobile-options-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
}

.mobile-options-panel-overlay.active {
    opacity: 1;
    visibility: visible;
}

.panel-header {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    flex-shrink: 0;
}

.panel-product-info {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.panel-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.panel-price-stock {
    flex: 1;
}

.panel-price-stock .price {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.panel-price-stock .stock {
    font-size: 14px;
    color: #4caf50;
}

.close-panel-button {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    border: none;
    background: #f44336;
    color: white;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-content-wrapper {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    padding-bottom: 0;
}

.panel-footer {
    padding: 20px;
    border-top: 1px solid #e9ecef;
    background: white;
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
}

.panel-footer .quantity-selector {
    margin-bottom: 15px;
}

.panel-footer .quantity-selector .ux-quantity {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    overflow: hidden;
    background: white;
}

.panel-footer .quantity-selector .ux-quantity__button {
    flex: 0 0 40px;
    height: 40px;
    border: none !important;
    background: #f8f9fa !important;
    color: #333 !important;
    font-size: 18px !important;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0 !important;
}

.panel-footer .quantity-selector .ux-quantity__button:hover {
    background: #e9ecef !important;
}

.panel-footer .quantity-selector .ux-quantity__button--minus {
    order: 1;
}

.panel-footer .quantity-selector .ux-quantity__button--plus {
    order: 3;
}

.panel-footer .quantity-selector .qty {
    order: 2;
    flex: 1;
    text-align: center !important;
    border: none !important;
    background: white !important;
    height: 40px;
    font-size: 16px;
    font-weight: 500;
    margin: 0 !important;
    padding: 0 10px !important;
}

.panel-footer #panel-add-to-cart-btn {
    width: 100%;
    background: #7b68ee;
    border: none;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    color: white;
    transition: all 0.3s ease;
}

.panel-footer #panel-add-to-cart-btn:hover {
    background: #6a5acd;
}

/* Mobile Volume Pricing - Single Column Layout */
.mobile-options-panel .volume-pricing-grid {
    display: block !important;
}

.mobile-options-panel .volume-column {
    width: 100% !important;
    margin-bottom: 0 !important;
}

.mobile-options-panel .volume-prices {
    width: 100%;
    border-collapse: collapse;
}

.mobile-options-panel .volume-prices th,
.mobile-options-panel .volume-prices td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.mobile-options-panel .volume-prices th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.mobile-options-panel .volume-option {
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-options-panel .volume-option:hover {
    background: #f8f9fa;
}

.mobile-options-panel .volume-option.selected {
    background: #e8f5e8;
    border-left: 4px solid #4caf50;
}

.mobile-options-panel .volume-option.selected td {
    color: #2e7d32;
    font-weight: 500;
}

/* Mobile Addon Options */
.mobile-options-panel .addon-options-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.mobile-options-panel .addon-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

/* Ensure mobile panel content doesn't get cut off */
@media (max-width: 849px) {
    .mobile-options-panel {
        max-height: 90vh;
    }

    .panel-content-wrapper {
        max-height: calc(90vh - 200px);
    }
}

/* Mobile Bundle Scroll Container */
.mobile-bundle-scroll-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mobile-bundle-scroll-container::-webkit-scrollbar {
    display: none;
}

.mobile-bundle-scroll-container .bundle-product-square {
    flex: 0 0 140px;
    min-width: 140px;
    max-width: 140px;
    margin: 0;
}

/* Style for the mobile sticky button */
.single_open_modal_btn {
    background: #7b68ee;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.single_open_modal_btn:hover {
    background: #6a5acd;
    transform: translateY(-1px);
}

.single_open_modal_btn:active {
    transform: translateY(0);
}

/* Hide mobile panel on desktop */
@media (min-width: 850px) {
    .mobile-options-panel,
    .mobile-options-panel-overlay,
    .mobile-sticky-actions {
        display: none !important;
    }
}

.panel-product-info {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.panel-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.panel-price-stock {
    flex: 1;
}

.panel-price-stock .price {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.panel-price-stock .stock {
    font-size: 14px;
    color: #4caf50;
}

.close-panel-button {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    border: none;
    background: #f44336;
    color: white;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-content-wrapper {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    padding-bottom: 0;
}

.panel-footer {
    padding: 20px;
    border-top: 1px solid #e9ecef;
    background: white;
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
}

.panel-footer .quantity-selector {
    margin-bottom: 15px;
}

.panel-footer .quantity-selector .ux-quantity {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    overflow: hidden;
    background: white;
}

.panel-footer .quantity-selector .ux-quantity__button {
    flex: 0 0 40px;
    height: 40px;
    border: none !important;
    background: #f8f9fa !important;
    color: #333 !important;
    font-size: 18px !important;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0 !important;
}

.panel-footer .quantity-selector .ux-quantity__button:hover {
    background: #e9ecef !important;
}

.panel-footer .quantity-selector .ux-quantity__button--minus {
    order: 1;
}

.panel-footer .quantity-selector .ux-quantity__button--plus {
    order: 3;
}

.panel-footer .quantity-selector .qty {
    order: 2;
    flex: 1;
    text-align: center !important;
    border: none !important;
    background: white !important;
    height: 40px;
    font-size: 16px;
    font-weight: 500;
    margin: 0 !important;
    padding: 0 10px !important;
}

.panel-footer #panel-add-to-cart-btn {
    width: 100%;
    background: #7b68ee;
    border: none;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    color: white;
    transition: all 0.3s ease;
}

.panel-footer #panel-add-to-cart-btn:hover {
    background: #6a5acd;
}

/* Mobile Volume Pricing - Single Column Layout */
.mobile-options-panel .volume-pricing-grid {
    display: block !important;
}

.mobile-options-panel .volume-column {
    width: 100% !important;
    margin-bottom: 0 !important;
}

.mobile-options-panel .volume-prices {
    width: 100%;
    border-collapse: collapse;
}

.mobile-options-panel .volume-prices th,
.mobile-options-panel .volume-prices td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.mobile-options-panel .volume-prices th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.mobile-options-panel .volume-option {
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-options-panel .volume-option:hover {
    background: #f8f9fa;
}

.mobile-options-panel .volume-option.selected {
    background: #e8f5e8;
    border-left: 4px solid #4caf50;
}

.mobile-options-panel .volume-option.selected td {
    color: #2e7d32;
    font-weight: 500;
}

/* Mobile Addon Options */
.mobile-options-panel .addon-options-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.mobile-options-panel .addon-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

/* Ensure mobile panel content doesn't get cut off */
@media (max-width: 849px) {
    .mobile-options-panel {
        max-height: 90vh;
    }

    .panel-content-wrapper {
        max-height: calc(90vh - 200px);
    }
}

/* Hide mobile panel on desktop */
@media (min-width: 850px) {
    .mobile-options-panel,
    .mobile-options-panel-overlay,
    .mobile-sticky-actions {
        display: none !important;
    }
}

/* Fix fo

/* Hide owl navigation and dots in mobile modal */
.mobile-options-panel .owl-nav,
.mobile-options-panel .owl-dots,
.mobile-addon-options .owl-nav,
.mobile-addon-options .owl-dots {
    display: none !important;
}

/* Ensure owl nav and dots are hidden in mobile context */
@media (max-width: 849px) {
    .mobile-options-panel .owl-nav,
    .mobile-options-panel .owl-dots,
    .mobile-addon-options .owl-nav,
    .mobile-addon-options .owl-dots,
    .panel-content-wrapper .owl-nav,
    .panel-content-wrapper .owl-dots {
        display: none !important;
    }
}

/* Additional specificity to ensure nav and dots are hidden */
.mobile-options-panel .bundle-products-container .owl-nav,
.mobile-options-panel .bundle-products-container .owl-dots,
.mobile-options-panel .product-bundle-shortcode .owl-nav,
.mobile-options-panel .product-bundle-shortcode .owl-dots {
    display: none !important;
}

/* Mobile P
roduct Layout Reordering */
@media (max-width: 849px) {
    .product-main-info {
        display: flex;
        flex-direction: column;
    }

    /* Mobile order: Image, Title, Buy Options, Description */
    .product-title-section {
        order: 1 !important;
        margin-bottom: 20px;
    }

    .product-options-section {
        order: 2 !important;
        margin-bottom: 20px;
    }

    .product-description-section {
        order: 3 !important;
    }

    /* Ensure proper spacing on mobile */
    .product-title-section h1 {
        margin-bottom: 10px;
        font-size: 1.4em;
        line-height: 1.3;
    }

    .product-brand {
        margin-bottom: 15px;
    }

    /* Volume pricing and variations styling for mobile */
    .product-options-section .volume-pricing-section {
        margin-bottom: 20px;
    }

    .product-options-section .product-variations {
        margin-bottom: 20px;
    }

    .product-options-section .addon-options-section {
        margin-bottom: 20px;
    }

    /* Description styling for mobile */
    .product-description-section {
        padding-top: 20px;
        border-top: 1px solid #e9ecef;
    }

    .product-description-section
        .woocommerce-product-details__short-description {
        font-size: 14px;
        line-height: 1.6;
        color: #666;
    }
}

/* Desktop layout remains unchanged */
@media (min-width: 850px) {
    .product-main-info {
        display: block;
    }

    .product-title-section,
    .product-options-section,
    .product-description-section {
        order: initial !important;
    }
}
/* Discount Warning Modal Styles */
.discount-warning-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.discount-warning-modal.active {
    display: block;
    opacity: 1;
}

.discount-warning-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.discount-warning-modal.active .discount-warning-content {
    transform: translateY(0);
    opacity: 1;
}

.discount-warning-content h3 {
    color: #e74c3c;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-modal:hover {
    color: #333;
}

.modal-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    gap: 15px;
}

.modal-buttons button {
    flex: 1;
    padding: 12px 15px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#keep-discount {
    background-color: #4caf50;
    color: white;
    border: none;
}

#keep-discount:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

#remove-discount {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

#remove-discount:hover {
    background-color: #e9ecef;
}

@media (max-width: 768px) {
    .discount-warning-content {
        width: 95%;
        padding: 20px;
        margin: 30% auto;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    .modal-buttons button {
        margin-bottom: 10px;
    }
}

/* Make the registration badge more prominent */
.registration-badge {
    animation: gentlePulse 2s ease-in-out infinite;
}

.checkout-account-option.active {
    border: 2px solid #4caf50;
    background: rgba(76, 175, 80, 0.05);
}