.vv-pde-content {
    position: relative;
    overflow: hidden;
    transition: max-height .35s ease;
}

.vv-pde-content.vv-pde-is-collapsed::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--vv-pde-fade-height, 85px);
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255,255,255,0), var(--vv-pde-fade-color, #fff) 88%);
}

/* Controls are separate from the clipped content so theme markup is preserved. */
.vv-pde-short-controls,
.vv-pde-long-controls {
    display: block;
    width: 100%;
    clear: both;
}

/* Give the information that follows the short description more breathing room. */
.vv-pde-short-controls {
    margin-top: 4px;
    margin-bottom: 32px;
}

.vv-pde-long-controls {
    margin-top: 8px;
    margin-bottom: 32px;
}

/* The long WooCommerce description panel itself is clipped. No inner wrapper
   is injected, which avoids breaking Shoptimizer's tab/section DOM. */
.vv-pde-long-host {
    position: relative;
}

.vv-pde-toggle {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    padding: 7px 0;
    margin: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 600;
    line-height: 1.35;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    float: none !important;
    position: static !important;
    clear: both;
}

.vv-pde-toggle:hover,
.vv-pde-toggle:focus {
    text-decoration: underline;
}

.vv-pde-toggle::after {
    content: "⌄";
    font-size: .95em;
    transform: translateY(-1px);
}

.vv-pde-expanded .vv-pde-toggle::after,
.vv-pde-long-controls.vv-pde-expanded .vv-pde-toggle::after {
    content: "⌃";
}

@media (prefers-reduced-motion: reduce) {
    .vv-pde-content {
        transition: none;
    }
}
