/* End of file */

/* Alternative Edition Styles */
.wce-edition-selector {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    background: #f9f9f9;
}

.wce-radio-wrapper {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.wce-alternative-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.wce-alternative-gallery {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    align-items: flex-start;
}

.wce-gallery-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 80px;
}

.wce-gallery-thumb {
    cursor: pointer;
    border: 2px solid transparent;
    padding: 2px;
}

.wce-gallery-thumb.active,
.wce-gallery-thumb:hover {
    border-color: #007cba;
}

.wce-gallery-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.wce-gallery-main {
    flex: 1;
    position: relative; /* Added for magnifier positioning */
    overflow: hidden; /* Hide overflow for the main image */
}

.wce-gallery-main-image {
    width: 100%;
    height: auto;
    display: block;
    /* Removed transition and zoomed class as new magnifier will handle it */
}

/* New styles for the magnifier lens */
.wce-magnifier-lens {
    position: absolute;
    border: 1px solid #ccc;
    background-repeat: no-repeat;
    cursor: crosshair;
    width: 150px; /* Size of the lens */
    height: 150px; /* Size of the lens */
    border-radius: 50%; /* Make it round */
    box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.85),
                0 0 7px 7px rgba(0, 0, 0, 0.25),
                inset 0 0 40px 2px rgba(0, 0, 0, 0.1);
    display: none; /* Hidden by default */
    z-index: 9999; /* Ensure it's on top */
    pointer-events: none; /* Allow mouse events to pass through to the main image */
}


/* Discount display */
.wce-discount {
    color: #27ae60;
    font-weight: bold;
    margin: 10px 0;
}

/* New styles for emphasized price and inline discount */
.wce-price-info {
    display: flex; /* Use flexbox to align price and discount */
    align-items: baseline; /* Align text baselines */
    gap: 10px; /* Space between price and discount */
    margin: 10px 0;
    font-size: 1.2em; /* Slightly larger for emphasis */
}

.wce-alternative-price-emphasized {
    font-size: 1.5em; /* Make the alternative price significantly larger */
    font-weight: bold;
    color: #27ae60; /* Green for the new price */
}

.wce-discount-inline {
    font-size: 0.9em; /* Smaller font for the discount text */
    color: #555; /* A bit subdued */
    font-weight: normal;
}


/* Styles for the archive page promotion */
.wce-archive-promotion {
    background-color: #e6f7ff; /* Light blue background */
    color: #0056b3; /* Darker blue text */
    border: 1px solid #99d9ff; /* Blue border */
    padding: 8px 12px;
    margin-top: 10px;
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
    font-size: 0.9em;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.wce-archive-promotion .wce-promotion-text {
    /* Default styling for the main promotion text */
    color: #0056b3;
}

.wce-archive-promotion .wce-promotion-discount {
    /* Styling for the discount part in archives */
    color: #27ae60; /* Green for discount */
    font-weight: bold;
}