.custom-design-page .custom-price-breakdown {
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: 12px 14px;
    background: #fafafa;
}

.custom-design-page .custom-price-breakdown p {
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    color: #111;
    line-height: 1.8;
}

.custom-design-page .custom-price-breakdown p.total {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px dashed #d4d4d4;
    font-weight: 700;
}

.custom-upload-block {
    border: 1px dashed #cfcfcf;
    border-radius: 14px;
    padding: 14px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom-upload-head h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #111;
}

.custom-upload-head p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4a4a4a;
}

.custom-upload-block input[type="file"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
}

.custom-file-picker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    border: 1px solid #111;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 700;
    color: #111;
    cursor: pointer;
    background: #fff;
}

.custom-file-picker:hover {
    background: #f5f5f5;
}

.custom-preview-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
    width: min(100%, 360px);
}

.custom-preview-card {
    position: relative;
}

.custom-preview {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
}

.custom-preview-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(17, 17, 17, 0.78);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.custom-preview-remove i {
    font-size: 15px;
    line-height: 1;
}

.custom-preview-remove:hover {
    background: #111;
}
