/* Nymobil Tabs CSS */
.nymobil-tabs-container {
    margin-bottom: 20px;
}

.nymobil-tabs-header {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}

.nymobil-tab-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nymobil-tab-pane {
    display: none;
    animation: nymobilFadeIn 0.3s ease-in-out;
}

.nymobil-tab-pane.active {
    display: block;
}

@keyframes nymobilFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Container for the tab buttons - updated to full width */
.nymobil-tab-header {
    display: flex;
    /* Changed from inline-flex to flex for full-width distribution */
    width: 100%;
    /* Spans the full width of the parent container */
    border-radius: 12px;
    overflow: hidden;
    padding: 20px 4px;
    box-sizing: border-box;
    gap: 20px;
}

/* Base button styling - updated to distribute evenly */
.nymobil-tab-header button {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    border: none;
    background: transparent;
    padding: 12px 20px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-align: left;
}

/* First button - rounded left corners */
.nymobil-tab-header button:first-child {
    border-radius: 8px;
}

/* Last button - rounded right corners */
.nymobil-tab-header button:last-child {
    border-radius: 8px;
}

/* Hover State */
.nymobil-tab-header button:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

/* Active State - Updated to Orange UX look */
.nymobil-tab-header button {

    color: #000000;
    font-weight: 900;
    border-radius: 8px;
    border: 2px solid lightgray;
}

/* Active State - Target .is-active with a modern Orange UX look */
.nymobil-tab-header button.is-active {
    background-color: #ffffff;
    /* Vibrant modern orange */
    color: #000000;
    border: 2px solid #00A4E5;
    /* White text for crisp readability */
}

/* ─── Icon + label row (line 1) ─── */
.nymobil-tab-label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: inherit;
}

.nymobil-tab-icon {
    width: 20px;
    height: 20px;
    color: #888;
    flex-shrink: 0;
}

.nymobil-tab-header button.is-active .nymobil-tab-icon {
    color: #00A4E5;
}

/* ─── Price block (line 2) ─── */
.nymobil-tab-header button span[id$="-price"] {
    display: block;
    line-height: 1.3;
    text-align: left;
}

.nymobil-tab-header button span[id$="-price"] strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #111;
}

.nymobil-tab-header button span[id$="-price"] em {
    display: block;
    font-style: normal;
    font-size: 15px;
    font-weight: 400;
    margin-top: 2px;
}

/* 1. Add to Cart Button */
form.cart button.single_add_to_cart_button.button.alt.added {
    display: inline-flex !important;
    align-items: center !important;
    /* Centers text vertically */
    justify-content: center !important;
    height: 48px !important;
    /* Explicit matching height */
    padding: 0 24px !important;
    /* Side breathing room */
    margin: 0 12px 0 0 !important;
    /* Space between button and link */
    border-radius: 30px !important;
    /* Rounded pill style */
    white-space: nowrap !important;
    width: auto !important;
}

/* 2. View Cart Link */
form.cart a.added_to_cart.wc-forward {
    display: inline-flex !important;
    align-items: center !important;
    /* Centers text vertically */
    justify-content: center !important;
    height: 48px !important;
    /* Matches button height perfectly */
    padding: 0 24px !important;
    /* Matches button padding */
    margin: 0 !important;
    border-radius: 30px !important;
    /* Matches button roundness */
    white-space: nowrap !important;
    width: auto !important;
}