/* ============================= */
/* Core Wrapper */
/* ============================= */

.photoez-wrapper {
    background: #0f0f12;
    padding: 50px 40px 120px 40px;
    color: #ffffff;
    min-height: 100vh;
}

/* ============================= */
/* Pricing Banner */
/* ============================= */

.photoez-pricing-banner {
    background: #1a1a1f;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
    border: 1px solid #222;
    color: #ffffff;
}

/* ============================= */
/* Gallery Grid */
/* ============================= */

.photoez-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.photoez-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px;
}

.photoez-item img {
    width: 100%;
    display: block;
}

.photoez-select {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #ffffff;
}

.photoez-item.selected .photoez-select {
    background: #00fffb;
    border-color: #00fffb;
    box-shadow: 0 0 12px rgba(0,255,251,.6);
}

.photoez-item.selected img {
    opacity: 0.65;
}

/* ============================= */
/* Floating Checkout Bar */
/* ============================= */

.photoez-checkout-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: #111111 !important;
    border-top: 3px solid #00fffb !important;
    padding: 20px 40px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    z-index: 2147483647 !important;
    box-sizing: border-box;
}

.photoez-checkout-bar,
.photoez-checkout-bar * {
    color: #ffffff !important;
    font-size: 16px !important;
}

.photoez-checkout-bar .photoez-total {
    color: #00fffb !important;
    font-weight: 700 !important;
}

.photoez-checkout-bar button {
    background: #00fffb !important;
    border: none !important;
    padding: 10px 22px !important;
    font-weight: 600 !important;
    color: #000000 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
}

.photoez-checkout-bar button:disabled {
    opacity: .4 !important;
    cursor: not-allowed !important;
}

/* ============================= */
/* Lightbox */
/* ============================= */

.photoez-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 999999;
    justify-content: center;
    align-items: center;
}

.photoez-lightbox-inner {
    position: relative;
    text-align: center;
    display: inline-block;
    padding-bottom: 80px; /* room for counter + close */
}

.photoez-lightbox img {
    max-width: 90vw;
    max-height: 75vh;
    border-radius: 8px;
    display: block;
}

/* ============================= */
/* Lightbox Arrows */
/* ============================= */

.photoez-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #ffffff;
    cursor: pointer;
    user-select: none;
    padding: 10px;
}

.photoez-arrow:hover {
    color: #00fffb;
}

.photoez-arrow.left { left: -60px; }
.photoez-arrow.right { right: -60px; }

/* ============================= */
/* Image Counter */
/* ============================= */

.photoez-counter-overlay {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: #bbbbbb;
}

/* ============================= */
/* Close Button */
/* ============================= */

.photoez-close {
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 16px;
    color: #ffffff;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 1px;
}

.photoez-close:hover {
    color: #00fffb;
}