.accessory-box-0487da5e {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
    /* Removed default padding here if added previously, to be controlled by Elementor */
}

.accessory-box-0487da5e.has-pdf-popup {
    cursor: pointer;
}

.accessory-box-0487da5e.has-pdf-popup:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.accessory-image-0487da5e img {
    width: 100%;
    height: auto;
    display: block;
}

.accessory-content-0487da5e {
    padding: 20px 0 0 0; /* Padding moved to box, so content padding adjusts */
}

.accessory-category-0487da5e {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-weight: bold;
}

.accessory-title-0487da5e {
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.accessory-desc-0487da5e {
    margin: 0;
    color: #666;
}

/* Custom Modal Styles */
.accessory-modal-overlay-0487da5e {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.accessory-modal-overlay-0487da5e.active {
    opacity: 1;
    visibility: visible;
}

.accessory-modal-content-0487da5e {
    width: 90%;
    max-width: 1000px;
    height: 80vh;
    background: #fff;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.accessory-modal-close-0487da5e {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    color: #333;
    cursor: pointer;
    line-height: 1;
    z-index: 2;
    background: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.accessory-modal-content-0487da5e iframe {
    width: 100%;
    height: 100%;
    border: none;
    flex-grow: 1;
}