.phasma-3d-trigger {
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    background: var(--phasma-btn-bg, rgba(255, 255, 255, 0.85));
    color: var(--phasma-btn-text, #111);
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
    white-space: nowrap;
    gap: 5px;
}

.phasma-3d-trigger:hover {
    transform: scale(1.04);
    background: inherit;
    color: inherit;
}

.phasma-3d-icon {
    vertical-align: middle;
    height: 1em;
    width: auto;
}

.woocommerce-product-gallery {
    position: relative;
}

.woocommerce-product-gallery__wrapper {
    position: relative;
}

.phasma-3d-viewer {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: #FCFCF8;
    border-radius: inherit;
    overflow: hidden;
}

.phasma-3d-viewer.active {
    display: block;
}

.phasma-3d-viewer phasma-viewer {
    width: 100%;
    height: 100%;
    display: block;
}

.phasma-3d-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 101;
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    padding: 0;
}

.phasma-3d-close:hover {
    background: inherit;
}

.phasma-3d-viewer .phasma-3d-close .phasma-close-icon {
    vertical-align: middle;
    height: 24px !important;
    width: auto;
}

.phasma-anim-btn {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 101;
	background: #fff !important;
    color: black !important;
    border: none;
    border-radius: 30px;
    padding: 5px 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.phasma-anim-btn:hover {
    transform: scale(1.04);
    background: inherit;
}