/* Base Variation Buttons Layout */
.variation-buttons {
    display: flex;
    flex-wrap: wrap;
}

/* Individual Button Styling */
.variation-button {
    margin: 5px;
    padding: 10px 20px;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    cursor: pointer;
    transition: all 0.3s;
}

.variation-button:hover {
    background-color: #e0e0e0;
}

.variation-button.active {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

/* Smart Bundle Variation Buttons */
#global-variation-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#global-variation-buttons .variation-button {
    margin-right: 10px;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: transparent;
    border: none;
    color: #f75a00;
    cursor: pointer;
    box-shadow: 0 0 0 1px #f75a00 !important;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
    font-family: "neue-haas-grotesk-text", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    opacity: 0.6;
}

#global-variation-buttons .variation-button:hover {
    box-shadow: 0 0 0 2px #f75a00 !important;
    opacity: 1;
}

#global-variation-buttons .variation-button.active {
    box-shadow: 0 0 0 2px #f75a00 !important;
    opacity: 1;
    background-color: transparent;
    color: #f75a00;
}

.variation-label {
    font-weight: 400;
    text-align: left;
    color: #f75a00;
    padding-bottom: 13px;
}

/* License Block */
.license_block {
    margin-top: 15px;
}

.license_block a {
    color: #f75a00;
    text-decoration: none;
}

.license_block a:hover {
    text-decoration: underline;
}

/* Global Tooltip Styling */
.wvb-tooltip {
    position: fixed;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 9999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s;
    pointer-events: none;
    max-width: 250px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(5px);
}

.wvb-tooltip:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    margin-left: -8px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid rgba(0, 0, 0, 0.8);
}

.wvb-tooltip-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Bundle product tooltips */
#global-variation-tooltip {
    background-color: #f75a00;
    border: 0;
    border-radius: 13px;
    box-shadow: none;
    color: #fff6f3;
    font-family: "neue-haas-grotesk-text", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    line-height: 19px;
    padding: 12px 16px;
    z-index: 9999999;
}

#global-variation-tooltip:after {
    border-top: 8px solid #f75a00;
}

/* Hide tooltips on mobile devices */
@media (max-width: 768px) {
    .wvb-tooltip, 
    #global-variation-tooltip {
        display: none !important;
    }
}
