.product-details__select-size .select-box select, .cart-page__shipping-input-box .select-box select, .product__showing-sort .select-box select{
    background-color: rgba(var(--mediplace-base-rgb), .10);
    color: var(--mediplace-gray);
    font-size: 15px;
    font-weight: 400;
    height: 40px;
    padding: 0 40px 0 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    width: 100%;
    appearance: none;          /* ⭐ removes default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

/* Custom arrow */
.product-details__select-size .select-box, .cart-page__shipping-input-box .select-box, .product__showing-sort .select-box {
    position: relative;
    display: inline-block;
}

.product-details__select-size .select-box::after, .cart-page__shipping-input-box .select-box::after, .product__showing-sort .select-box::after {
    content: "▼";
    font-size: 12px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #555;
}

/*completed events img popup css*/

.gallery-popup {
    display: none; /* JS toggles this to flex */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gallery-popup .gallery-title {
    color: #fff;
    margin-bottom: 15px;
    text-align: center;
}

.gallery-popup #galleryImage {
    max-width: 85vw;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.gallery-popup .close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.gallery-popup .gallery-controls {
    margin-top: 20px;
}

.gallery-popup .gallery-controls button {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: none;
    font-size: 24px;
    padding: 10px 18px;
    margin: 0 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease;
}

.gallery-popup .gallery-controls button:hover {
    background: rgba(255, 255, 255, 0.35);
}

/*end here*/

