.product-image-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    width: min(88vw, 860px);
    max-width: 860px;
    margin: 0;
    padding: 24px;
    border: 0;
    border-radius: 16px;
    background: #fff;
    transform: translate(-50%, -50%);
}

.product-image-dialog::backdrop {
    background: rgba(0, 0, 0, 0.65);
}

.product-image-dialog .dialog-close-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: #222;
    font-size: 32px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
}

.product-image-dialog .dialog-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

#productImageDialogImg {
    width: min(80vw, 800px);
    height: min(80vw, 800px);
    max-height: calc(100vh - 240px);
    border-radius: 12px;
    object-fit: contain;
}

.dialog-product-title {
    color: #111;
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    text-align: center;
}

.prod-name-btn {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
